import { z } from "zod";
import { AppPropertySchema, ActionPropertySchema, ConnectionPropertySchema, InputsPropertySchema, } from "../../../types/properties";
export const ListTriggerInputFieldsSchema = z
    .object({
    app: AppPropertySchema,
    action: ActionPropertySchema,
    connection: ConnectionPropertySchema.optional().describe("Connection alias or connection ID. Required if the trigger needs a connection to determine available fields."),
    inputs: InputsPropertySchema.optional().describe("Current input values that may affect available fields"),
    pageSize: z
        .number()
        .min(1)
        .optional()
        .describe("Number of input fields per page"),
    maxItems: z
        .number()
        .min(1)
        .optional()
        .describe("Maximum total items to return across all pages"),
    cursor: z.string().optional().describe("Cursor to start from"),
})
    .describe("Get the input fields required for a specific trigger");
