import { z } from "zod";
import { TriggerInboxItemSchema, TriggerInboxStatusSchema, } from "../../../schemas/TriggerInbox";
export const ListTriggerInboxesSchema = z
    .object({
    name: z
        .string()
        .min(1)
        .optional()
        .describe("Filter by inbox name (exact match). Names are unique per (user, account), so this returns at most one inbox."),
    status: TriggerInboxStatusSchema.optional().describe("Filter by inbox status"),
    pageSize: z
        .number()
        .int()
        .min(1)
        .optional()
        .describe("Number of inboxes per page"),
    maxItems: z
        .number()
        .int()
        .min(1)
        .optional()
        .describe("Maximum total items to return across all pages"),
    cursor: z
        .string()
        .optional()
        .describe("Cursor (offset) to start from for pagination"),
})
    .describe("List all trigger inboxes for the authenticated user");
export const ListTriggerInboxesApiResponseSchema = z.object({
    count: z.number().int(),
    next: z.string().nullable().optional(),
    previous: z.string().nullable().optional(),
    results: z.array(TriggerInboxItemSchema),
});
export { TriggerInboxItemSchema };
