Variable eventSubscriptionClaimSchemaConst
eventSubscriptionClaimSchema: ZodObject<
{
data: ZodArray<
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;
},
>,
"many",
>;
dropped_events_total: ZodNumber;
dropped_through_position: ZodNumber;
has_more: ZodBoolean;
queue_epoch: ZodNumber;
},
"strip",
ZodTypeAny,
{
data: {
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;
}[];
dropped_events_total: number;
dropped_through_position: number;
has_more: boolean;
queue_epoch: number;
},
{
data: {
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;
}[];
dropped_events_total: number;
dropped_through_position: number;
has_more: boolean;
queue_epoch: number;
},
> = ...
Runtime validator for EventSubscriptionClaim.