Variable eventSubscriptionQueueEntrySchemaConst
eventSubscriptionQueueEntrySchema: 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: ZodOptional<ZodString>;
receive_count: ZodNumber;
sequence: ZodNumber;
state: ZodEnum<["available", "leased"]>;
},
"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;
receive_count: number;
sequence: number;
state: "available"
| "leased";
},
{
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;
receive_count: number;
sequence: number;
state: "available"
| "leased";
},
> = ...
Runtime validator for EventSubscriptionQueueEntry.