import { z } from 'zod'; /** * Action type enum matching the internal Zapier API */ declare const ActionTypeSchema: z.ZodEnum<{ filter: "filter"; read: "read"; read_bulk: "read_bulk"; run: "run"; search: "search"; search_and_write: "search_and_write"; search_or_write: "search_or_write"; write: "write"; }>; type ActionType = z.infer; /** * Base Action schema matching the internal API response from /api/v4/implementations/ */ declare const ActionSchema: z.ZodObject<{ id: z.ZodOptional; type: z.ZodEnum<{ filter: "filter"; read: "read"; read_bulk: "read_bulk"; run: "run"; search: "search"; search_and_write: "search_and_write"; search_or_write: "search_or_write"; write: "write"; }>; key: z.ZodString; name: z.ZodString; description: z.ZodString; is_important: z.ZodOptional; is_hidden: z.ZodOptional; selected_api: z.ZodOptional; }, z.core.$strip>; type Action = z.infer; /** * Normalized action item returned by the list actions endpoint * * Transforms API response fields: * - name → title * - type → action_type * - selected_api → app_key + app_version (parsed) * * Adds computed fields: * - type: "action" (literal type identifier) * - app_key: Extracted from selected_api (e.g., "SlackCLIAPI@1.0.0" → "SlackCLIAPI") * - app_version: Extracted from selected_api (e.g., "SlackCLIAPI@1.0.0" → "1.0.0") */ declare const ActionItemSchema: z.ZodObject<{ id: z.ZodOptional; key: z.ZodString; description: z.ZodString; is_important: z.ZodOptional; is_hidden: z.ZodOptional; app_key: z.ZodString; app_version: z.ZodOptional; action_type: z.ZodEnum<{ filter: "filter"; read: "read"; read_bulk: "read_bulk"; run: "run"; search: "search"; search_and_write: "search_and_write"; search_or_write: "search_or_write"; write: "write"; }>; title: z.ZodString; type: z.ZodLiteral<"action">; }, z.core.$strip>; type ActionItem = z.infer; /** * Implementation schema with actions array for the /api/v4/implementations/ response */ declare const ImplementationWithActionsSchema: z.ZodObject<{ selected_api: z.ZodString; app_id: z.ZodOptional; auth_type: z.ZodOptional; actions: z.ZodOptional; type: z.ZodEnum<{ filter: "filter"; read: "read"; read_bulk: "read_bulk"; run: "run"; search: "search"; search_and_write: "search_and_write"; search_or_write: "search_or_write"; write: "write"; }>; key: z.ZodString; name: z.ZodString; description: z.ZodString; is_important: z.ZodOptional; is_hidden: z.ZodOptional; selected_api: z.ZodOptional; }, z.core.$strip>>>; is_deprecated: z.ZodOptional; is_private_only: z.ZodOptional; is_invite_only: z.ZodOptional; is_beta: z.ZodDefault>; is_premium: z.ZodDefault>; name: z.ZodOptional; slug: z.ZodOptional; }, z.core.$strip>; type ImplementationWithActions = z.infer; /** * Response schema for the /api/v4/implementations/ endpoint */ declare const ImplementationsWithActionsResponseSchema: z.ZodObject<{ count: z.ZodNumber; next: z.ZodOptional>; previous: z.ZodOptional>; results: z.ZodArray; auth_type: z.ZodOptional; actions: z.ZodOptional; type: z.ZodEnum<{ filter: "filter"; read: "read"; read_bulk: "read_bulk"; run: "run"; search: "search"; search_and_write: "search_and_write"; search_or_write: "search_or_write"; write: "write"; }>; key: z.ZodString; name: z.ZodString; description: z.ZodString; is_important: z.ZodOptional; is_hidden: z.ZodOptional; selected_api: z.ZodOptional; }, z.core.$strip>>>; is_deprecated: z.ZodOptional; is_private_only: z.ZodOptional; is_invite_only: z.ZodOptional; is_beta: z.ZodDefault>; is_premium: z.ZodDefault>; name: z.ZodOptional; slug: z.ZodOptional; }, z.core.$strip>>; }, z.core.$strip>; type ImplementationsWithActionsResponse = z.infer; /** * Query parameters for listing actions */ declare const ListActionsQuerySchema: z.ZodObject<{ appKey: z.ZodOptional; app_key: z.ZodOptional; actionType: z.ZodOptional>; action_type: z.ZodOptional>; }, z.core.$strip>; /** * Response schema for listActions */ declare const ListActionsResponseSchema: z.ZodObject<{ data: z.ZodArray; key: z.ZodString; description: z.ZodString; is_important: z.ZodOptional; is_hidden: z.ZodOptional; app_key: z.ZodString; app_version: z.ZodOptional; action_type: z.ZodEnum<{ filter: "filter"; read: "read"; read_bulk: "read_bulk"; run: "run"; search: "search"; search_and_write: "search_and_write"; search_or_write: "search_or_write"; write: "write"; }>; title: z.ZodString; type: z.ZodLiteral<"action">; }, z.core.$strip>>; }, z.core.$strip>; /** * TypeScript types for request and response */ type ListActionsQuery = z.infer; type ListActionsResponse = z.infer; export { type Action, type ActionItem, ActionItemSchema, ActionSchema, type ActionType, ActionTypeSchema, type ImplementationWithActions, ImplementationWithActionsSchema, type ImplementationsWithActionsResponse, ImplementationsWithActionsResponseSchema, type ListActionsQuery, ListActionsQuerySchema, type ListActionsResponse, ListActionsResponseSchema };