Variable CommitmentVerificationConst
CommitmentVerification: ZodObject<{
commitmentData: ZodOptional<ZodObject<{
hash: ZodString;
hashType: ZodLiteral<"sha-256">;
signaturesCount: ZodOptional<ZodNumber>;
}, "strip", ZodTypeAny, {
hash: string;
hashType: "sha-256";
signaturesCount: undefined | number;
}, {
hash: string;
hashType: "sha-256";
signaturesCount: undefined | number;
}>>;
commitsTo: ZodOptional<ZodObject<{
hashes: ZodArray<ZodObject<{
hash: ZodString;
hashType: ZodString;
}, "strip", ZodTypeAny, {
hash: string;
hashType: string;
}, {
hash: string;
hashType: string;
}>, "many">;
observableEntropy: ZodOptional<ZodString>;
timestamps: ZodObject<{
submitWindowMilliseconds: ZodOptional<ZodNumber>;
submittedAfter: ZodOptional<ZodEffects<ZodString, string, string>>;
submittedAt: ZodEffects<ZodString, string, string>;
submittedBefore: ZodOptional<ZodArray<ZodString, "many">>;
}, "strip", ZodTypeAny, {
submitWindowMilliseconds: undefined | number;
submittedAfter: undefined | string;
submittedAt: string;
submittedBefore: undefined | string[];
}, {
submitWindowMilliseconds: undefined | number;
submittedAfter: undefined | string;
submittedAt: string;
submittedBefore: undefined | string[];
}>;
}, "strip", ZodTypeAny, {
hashes: ({ hash: string; hashType: string; })[];
observableEntropy: undefined | string;
timestamps: { submittedAfter?: string | undefined; submittedBefore?: string[] | undefined; submitWindowMilliseconds?: number | undefined; submittedAt: string; };
}, {
hashes: ({ hash: string; hashType: string; })[];
observableEntropy: undefined | string;
timestamps: { submittedAfter?: string | undefined; submittedBefore?: string[] | undefined; submitWindowMilliseconds?: number | undefined; submittedAt: string; };
}>>;
error: ZodOptional<ZodString>;
id: ZodOptional<ZodEffects<ZodString, string, string>>;
idData: ZodOptional<ZodObject<{
test: ZodBoolean;
timestamp: ZodString;
ulid: ZodString;
}, "strip", ZodTypeAny, {
test: boolean;
timestamp: string;
ulid: string;
}, {
test: boolean;
timestamp: string;
ulid: string;
}>>;
item: ZodOptional<ZodObject<{
hash: ZodString;
hashType: ZodLiteral<"sha-256">;
}, "strip", ZodTypeAny, {
hash: string;
hashType: "sha-256";
}, {
hash: string;
hashType: "sha-256";
}>>;
itemData: ZodOptional<ZodObject<{
hash: ZodString;
hashType: ZodUnion<[ZodLiteral<"sha1">, ZodLiteral<"sha-256">, ZodLiteral<"sha-384">, ZodLiteral<"sha-512">]>;
signaturesCount: ZodOptional<ZodNumber>;
}, "strip", ZodTypeAny, {
hash: string;
hashType: "sha1" | "sha-256" | "sha-384" | "sha-512";
signaturesCount: undefined | number;
}, {
hash: string;
hashType: "sha1" | "sha-256" | "sha-384" | "sha-512";
signaturesCount: undefined | number;
}>>;
proofs: ZodOptional<ZodArray<ZodObject<{
inputHash: ZodString;
merkleRoot: ZodString;
}, "strict", ZodTypeAny, {
inputHash: string;
merkleRoot: string;
}, {
inputHash: string;
merkleRoot: string;
}>, "many">>;
transactions: ZodOptional<ZodArray<ZodObject<{
error: ZodOptional<ZodString>;
intent: ZodUnion<[ZodLiteral<"bitcoin">, ZodLiteral<"ethereum">, ZodLiteral<"stellar">, ZodLiteral<"twitter">]>;
timestamp: ZodOptional<ZodEffects<ZodString, string, string>>;
transaction: ZodDiscriminatedUnion<"intent", Primitive, ZodObject<extendShape<{
inputHash: ZodString;
}, {
hash: ZodString;
intent: ZodLiteral<"bitcoin">;
}>, "strict", ZodTypeAny, {
hash: string;
inputHash: string;
intent: "bitcoin";
}, {
hash: string;
inputHash: string;
intent: "bitcoin";
}> | ZodObject<extendShape<{
inputHash: ZodString;
}, {
hash: ZodString;
intent: ZodLiteral<"ethereum">;
}>, "strict", ZodTypeAny, {
hash: string;
inputHash: string;
intent: "ethereum";
}, {
hash: string;
inputHash: string;
intent: "ethereum";
}> | ZodObject<extendShape<{
inputHash: ZodString;
}, {
hash: ZodString;
intent: ZodLiteral<"stellar">;
ledger: ZodNumber;
}>, "strict", ZodTypeAny, {
hash: string;
inputHash: string;
intent: "stellar";
ledger: number;
}, {
hash: string;
inputHash: string;
intent: "stellar";
ledger: number;
}> | ZodObject<extendShape<{
inputHash: ZodString;
}, {
id: ZodString;
intent: ZodLiteral<"twitter">;
}>, "strict", ZodTypeAny, {
id: string;
inputHash: string;
intent: "twitter";
}, {
id: string;
inputHash: string;
intent: "twitter";
}>>;
urls: ZodOptional<ZodObject<{
human: ZodOptional<ZodArray<ZodString, "many">>;
machine: ZodOptional<ZodArray<ZodString, "many">>;
}, "strip", ZodTypeAny, {
human: undefined | string[];
machine: undefined | string[];
}, {
human: undefined | string[];
machine: undefined | string[];
}>>;
verified: ZodBoolean;
}, "strict", ZodTypeAny, {
error: undefined | string;
intent: "bitcoin" | "ethereum" | "stellar" | "twitter";
timestamp: undefined | string;
transaction: ({ hash: string; inputHash: string; intent: "bitcoin"; }) | ({ hash: string; inputHash: string; intent: "ethereum"; }) | ({ hash: string; inputHash: string; intent: "stellar"; ledger: number; }) | ({ id: string; inputHash: string; intent: "twitter"; });
urls: undefined | {
human: undefined | string[];
machine: undefined | string[];
};
verified: boolean;
}, {
error: undefined | string;
intent: "bitcoin" | "ethereum" | "stellar" | "twitter";
timestamp: undefined | string;
transaction: ({ hash: string; inputHash: string; intent: "bitcoin"; }) | ({ hash: string; inputHash: string; intent: "ethereum"; }) | ({ hash: string; inputHash: string; intent: "stellar"; ledger: number; }) | ({ id: string; inputHash: string; intent: "twitter"; });
urls: undefined | {
human: undefined | string[];
machine: undefined | string[];
};
verified: boolean;
}>, "many">>;
verified: ZodBoolean;
}, "strict", ZodTypeAny, {
commitmentData: undefined | {
hash: string;
hashType: "sha-256";
signaturesCount: undefined | number;
};
commitsTo: undefined | {
hashes: ({ hash: string; hashType: string; })[];
observableEntropy: undefined | string;
timestamps: { submittedAfter?: string | undefined; submittedBefore?: string[] | undefined; submitWindowMilliseconds?: number | undefined; submittedAt: string; };
};
error: undefined | string;
id: undefined | string;
idData: undefined | {
test: boolean;
timestamp: string;
ulid: string;
};
item: undefined | {
hash: string;
hashType: "sha-256";
};
itemData: undefined | {
hash: string;
hashType: "sha1" | "sha-256" | "sha-384" | "sha-512";
signaturesCount: undefined | number;
};
proofs: undefined | ({ inputHash: string; merkleRoot: string; })[];
transactions: undefined | ({ error?: string | undefined; timestamp?: string | undefined; urls?: { machine?: string[] | undefined; human?: string[] | undefined; } | undefined; intent: "bitcoin" | "ethereum" | "stellar" | "twitter"; verified: boolean; transaction: { hash: string; inputHash: string; intent: "bitcoin"; } | { hash: string; inputHash: string; intent: "ethereum"; } | { hash: string; inputHash: string; intent: "stellar"; ledger: number; } | { id: string; inputHash: string; intent: "twitter"; }; })[];
verified: boolean;
}, {
commitmentData: undefined | {
hash: string;
hashType: "sha-256";
signaturesCount: undefined | number;
};
commitsTo: undefined | {
hashes: ({ hash: string; hashType: string; })[];
observableEntropy: undefined | string;
timestamps: { submittedAfter?: string | undefined; submittedBefore?: string[] | undefined; submitWindowMilliseconds?: number | undefined; submittedAt: string; };
};
error: undefined | string;
id: undefined | string;
idData: undefined | {
test: boolean;
timestamp: string;
ulid: string;
};
item: undefined | {
hash: string;
hashType: "sha-256";
};
itemData: undefined | {
hash: string;
hashType: "sha1" | "sha-256" | "sha-384" | "sha-512";
signaturesCount: undefined | number;
};
proofs: undefined | ({ inputHash: string; merkleRoot: string; })[];
transactions: undefined | ({ error?: string | undefined; timestamp?: string | undefined; urls?: { machine?: string[] | undefined; human?: string[] | undefined; } | undefined; intent: "bitcoin" | "ethereum" | "stellar" | "twitter"; verified: boolean; transaction: { hash: string; inputHash: string; intent: "bitcoin"; } | { hash: string; inputHash: string; intent: "ethereum"; } | { hash: string; inputHash: string; intent: "stellar"; ledger: number; } | { id: string; inputHash: string; intent: "twitter"; }; })[];
verified: boolean;
}> = ...