import { z } from "zod";
import { ListClientCredentialsQuerySchema as ListClientCredentialsQueryBase } from "@zapier/zapier-sdk-core/v0/schemas/client-credentials";
export const ListClientCredentialsQuerySchema = ListClientCredentialsQueryBase.omit({
    offset: true,
    page_size: true,
})
    .extend({
    // Override pageSize to make optional
    pageSize: z
        .number()
        .min(1)
        .optional()
        .describe("Number of credentials per page"),
    // SDK specific property for pagination/iterable helpers
    maxItems: z
        .number()
        .min(1)
        .optional()
        .describe("Maximum total items to return across all pages"),
    // SDK specific property for pagination/iterable helpers
    cursor: z.string().optional().describe("Cursor to start from"),
})
    .describe("List client credentials for the authenticated user");
