Variable eventSubscriptionDeliverySchemaConst
eventSubscriptionDeliverySchema: ZodObject<
{
delivery_id: ZodString;
event: ZodObject<
{
agent: ZodOptional<ZodString>;
created_at: ZodString;
event_name: ZodString;
id: ZodString;
idempotency_key: ZodOptional<ZodString>;
org: ZodOptional<ZodString>;
payload: ZodRecord<ZodString, ZodType<{} | null, ZodTypeDef, {} | null>>;
sandbox: ZodOptional<ZodString>;
team: ZodOptional<ZodString>;
user: ZodOptional<ZodString>;
},
"strip",
ZodTypeAny,
{
agent?: string;
created_at: string;
event_name: string;
id: string;
idempotency_key?: string;
org?: string;
payload: Record<string, {} | null>;
sandbox?: string;
team?: string;
user?: string;
},
{
agent?: string;
created_at: string;
event_name: string;
id: string;
idempotency_key?: string;
org?: string;
payload: Record<string, {} | null>;
sandbox?: string;
team?: string;
user?: string;
},
>;
lease_expires_at: ZodString;
receipt_handle: ZodString;
receive_count: ZodNumber;
sequence: ZodNumber;
},
"strip",
ZodTypeAny,
{
delivery_id: string;
event: {
agent?: string;
created_at: string;
event_name: string;
id: string;
idempotency_key?: string;
org?: string;
payload: Record<string, {} | null>;
sandbox?: string;
team?: string;
user?: string;
};
lease_expires_at: string;
receipt_handle: string;
receive_count: number;
sequence: number;
},
{
delivery_id: string;
event: {
agent?: string;
created_at: string;
event_name: string;
id: string;
idempotency_key?: string;
org?: string;
payload: Record<string, {} | null>;
sandbox?: string;
team?: string;
user?: string;
};
lease_expires_at: string;
receipt_handle: string;
receive_count: number;
sequence: number;
},
> = ...
Runtime validator for EventSubscriptionDelivery.