Variable solutionAutomationTemplateDetailsSchemaConst
solutionAutomationTemplateDetailsSchema: ZodObject<
{
automation_type: ZodOptional<ZodNullable<ZodString>>;
invoke_contract: ZodOptional<
ZodNullable<
ZodObject<
{
input_schema: ZodOptional<
ZodNullable<
ZodRecord<
ZodString,
ZodType<(...) | (...), ZodTypeDef, (...) | (...)>,
>,
>,
>;
participants: ZodOptional<
ZodNullable<
ZodArray<
ZodObject<
{ description: ...; name: ...; required: ...; type: ... },
"strip",
ZodTypeAny,
{ description?: ...; name: ...; required: ...; type: ... },
{ description?: ...; name: ...; required: ...; type: ... },
>,
"many",
>,
>,
>;
prefills: ZodObject<
{
participants: ZodOptional<
ZodRecord<ZodString, ZodType<(...), (...), (...)>>,
>;
payload: ZodOptional<
ZodRecord<ZodString, ZodType<(...), (...), (...)>>,
>;
},
"strip",
ZodTypeAny,
{
participants?: Record<string, (...) | (...)>;
payload?: Record<string, (...) | (...)>;
},
{
participants?: Record<string, (...) | (...)>;
payload?: Record<string, (...) | (...)>;
},
>;
},
"strip",
ZodTypeAny,
{
input_schema?: Record<string, {} | null>
| null;
participants?:
| {
description?: string
| null;
name: string;
required: boolean;
type: string;
}[]
| null;
prefills: {
participants?: Record<string, {} | null>;
payload?: Record<string, {} | null>;
};
},
{
input_schema?: Record<string, {} | null>
| null;
participants?:
| {
description?: string
| null;
name: string;
required: boolean;
type: string;
}[]
| null;
prefills: {
participants?: Record<string, {} | null>;
payload?: Record<string, {} | null>;
};
},
>,
>,
>;
type: ZodLiteral<"automation">;
},
"strip",
ZodTypeAny,
{
automation_type?: string
| null;
invoke_contract?:
| {
input_schema?: Record<string, {} | null>
| null;
participants?:
| {
description?: string
| null;
name: string;
required: boolean;
type: string;
}[]
| null;
prefills: {
participants?: Record<string, {} | null>;
payload?: Record<string, {} | null>;
};
}
| null;
type: "automation";
},
{
automation_type?: string
| null;
invoke_contract?:
| {
input_schema?: Record<string, {} | null>
| null;
participants?:
| {
description?: string
| null;
name: string;
required: boolean;
type: string;
}[]
| null;
prefills: {
participants?: Record<string, {} | null>;
payload?: Record<string, {} | null>;
};
}
| null;
type: "automation";
},
> = ...
Runtime validator for SolutionAutomationTemplateDetails.