Variable agentRoutineRunDeliverySchemaConst
agentRoutineRunDeliverySchema: ZodObject<
{
delivered_at: ZodOptional<ZodString>;
delivered_message: ZodOptional<ZodString>;
last_error: ZodOptional<ZodString>;
message: ZodOptional<ZodString>;
status: ZodEnum<["not_requested", "pending", "delivered", "failed"]>;
thread: ZodOptional<ZodString>;
type: ZodEnum<["none", "thread", "reply"]>;
},
"strip",
ZodTypeAny,
{
delivered_at?: string;
delivered_message?: string;
last_error?: string;
message?: string;
status: "pending"
| "failed"
| "delivered"
| "not_requested";
thread?: string;
type: "thread" | "none" | "reply";
},
{
delivered_at?: string;
delivered_message?: string;
last_error?: string;
message?: string;
status: "pending"
| "failed"
| "delivered"
| "not_requested";
thread?: string;
type: "thread" | "none" | "reply";
},
> = ...
Runtime validator for AgentRoutineRunDelivery.