Variable ZDesktopSignRequestBodyConst
ZDesktopSignRequestBody: ZodObject<
{
batchId: ZodOptional<ZodString>;
documents: ZodArray<
ZodObject<
{
content: ZodString;
filename: ZodOptional<ZodString>;
mimeType: ZodString;
xdcParameters: ZodOptional<ZodRecord<ZodString, ZodUnknown>>;
},
"strip",
ZodTypeAny,
{
content: string;
filename?: string;
mimeType: string;
xdcParameters?: Record<string, unknown>;
},
{
content: string;
filename?: string;
mimeType: string;
xdcParameters?: Record<string, unknown>;
},
>,
"many",
>;
parameters: ZodOptional<ZodRecord<ZodString, ZodUnknown>>;
presentation: ZodOptional<ZodRecord<ZodString, ZodUnknown>>;
},
"strip",
ZodTypeAny,
{
batchId?: string;
documents: {
content: string;
filename?: string;
mimeType: string;
xdcParameters?: Record<string, unknown>;
}[];
parameters?: Record<string, unknown>;
presentation?: Record<string, unknown>;
},
{
batchId?: string;
documents: {
content: string;
filename?: string;
mimeType: string;
xdcParameters?: Record<string, unknown>;
}[];
parameters?: Record<string, unknown>;
presentation?: Record<string, unknown>;
},
> = ...
SignRequestBody (
POST /api/v1/sign). Deliberately loose – only the keys are checked against the type, the desktop app validates the details.