import { z } from "zod";
import { TriggerInboxPropertySchema } from "../../../types/properties";
import { TriggerMessageItemSchema, } from "../../../schemas/TriggerMessage";
export const ListTriggerInboxMessagesSchema = z
    .object({
    inbox: TriggerInboxPropertySchema,
    pageSize: z
        .number()
        .int()
        .min(1)
        .optional()
        .describe("Number of messages per page"),
    maxItems: z
        .number()
        .int()
        .min(1)
        .optional()
        .describe("Maximum total items to return across all pages"),
    cursor: z.string().optional().describe("Pagination cursor"),
})
    .describe("List messages in a trigger inbox (no payload, status-only)");
export const ListTriggerInboxMessagesApiResponseSchema = z.object({
    next: z.string().nullable().optional(),
    previous: z.string().nullable().optional(),
    results: z.array(TriggerMessageItemSchema),
});
export { TriggerMessageItemSchema };
