import { z } from 'zod'; import { CredentialType } from '@bubblelab/shared-schemas'; export declare const ZendeskParamsSchema: z.ZodDiscriminatedUnion<"operation", [z.ZodObject<{ operation: z.ZodLiteral<"list_tickets">; status: z.ZodOptional>; sort_by: z.ZodDefault>>; sort_order: z.ZodDefault>>; page: z.ZodDefault>; per_page: z.ZodDefault>; credentials: z.ZodOptional, z.ZodString>>; }, "strip", z.ZodTypeAny, { operation: "list_tickets"; page: number; per_page: number; sort_by: "status" | "priority" | "created_at" | "updated_at"; sort_order: "desc" | "asc"; status?: "pending" | "open" | "closed" | "new" | "hold" | "solved" | undefined; credentials?: Partial> | undefined; }, { operation: "list_tickets"; status?: "pending" | "open" | "closed" | "new" | "hold" | "solved" | undefined; credentials?: Partial> | undefined; page?: number | undefined; per_page?: number | undefined; sort_by?: "status" | "priority" | "created_at" | "updated_at" | undefined; sort_order?: "desc" | "asc" | undefined; }>, z.ZodObject<{ operation: z.ZodLiteral<"get_ticket">; ticket_id: z.ZodString; credentials: z.ZodOptional, z.ZodString>>; }, "strip", z.ZodTypeAny, { operation: "get_ticket"; ticket_id: string; credentials?: Partial> | undefined; }, { operation: "get_ticket"; ticket_id: string; credentials?: Partial> | undefined; }>, z.ZodObject<{ operation: z.ZodLiteral<"create_ticket">; subject: z.ZodString; body: z.ZodString; requester_email: z.ZodOptional; requester_name: z.ZodOptional; assignee_id: z.ZodOptional; priority: z.ZodOptional>; type: z.ZodOptional>; tags: z.ZodOptional>; custom_fields: z.ZodOptional, z.ZodNull]>; }, "strip", z.ZodTypeAny, { value: string | number | boolean | string[] | null; id: number; }, { value: string | number | boolean | string[] | null; id: number; }>, "many">>; uploads: z.ZodOptional>; credentials: z.ZodOptional, z.ZodString>>; }, "strip", z.ZodTypeAny, { operation: "create_ticket"; body: string; subject: string; type?: "question" | "task" | "problem" | "incident" | undefined; credentials?: Partial> | undefined; tags?: string[] | undefined; priority?: "low" | "high" | "urgent" | "normal" | undefined; custom_fields?: { value: string | number | boolean | string[] | null; id: number; }[] | undefined; requester_email?: string | undefined; requester_name?: string | undefined; assignee_id?: number | undefined; uploads?: string[] | undefined; }, { operation: "create_ticket"; body: string; subject: string; type?: "question" | "task" | "problem" | "incident" | undefined; credentials?: Partial> | undefined; tags?: string[] | undefined; priority?: "low" | "high" | "urgent" | "normal" | undefined; custom_fields?: { value: string | number | boolean | string[] | null; id: number; }[] | undefined; requester_email?: string | undefined; requester_name?: string | undefined; assignee_id?: number | undefined; uploads?: string[] | undefined; }>, z.ZodObject<{ operation: z.ZodLiteral<"update_ticket">; ticket_id: z.ZodString; comment: z.ZodOptional; public: z.ZodDefault>; status: z.ZodOptional>; priority: z.ZodOptional>; assignee_id: z.ZodOptional; tags: z.ZodOptional>; custom_fields: z.ZodOptional, z.ZodNull]>; }, "strip", z.ZodTypeAny, { value: string | number | boolean | string[] | null; id: number; }, { value: string | number | boolean | string[] | null; id: number; }>, "many">>; uploads: z.ZodOptional>; credentials: z.ZodOptional, z.ZodString>>; }, "strip", z.ZodTypeAny, { operation: "update_ticket"; public: boolean; ticket_id: string; status?: "pending" | "open" | "closed" | "new" | "hold" | "solved" | undefined; credentials?: Partial> | undefined; tags?: string[] | undefined; priority?: "low" | "high" | "urgent" | "normal" | undefined; comment?: string | undefined; custom_fields?: { value: string | number | boolean | string[] | null; id: number; }[] | undefined; assignee_id?: number | undefined; uploads?: string[] | undefined; }, { operation: "update_ticket"; ticket_id: string; status?: "pending" | "open" | "closed" | "new" | "hold" | "solved" | undefined; credentials?: Partial> | undefined; tags?: string[] | undefined; priority?: "low" | "high" | "urgent" | "normal" | undefined; public?: boolean | undefined; comment?: string | undefined; custom_fields?: { value: string | number | boolean | string[] | null; id: number; }[] | undefined; assignee_id?: number | undefined; uploads?: string[] | undefined; }>, z.ZodObject<{ operation: z.ZodLiteral<"list_ticket_comments">; ticket_id: z.ZodString; sort_order: z.ZodDefault>>; page: z.ZodDefault>; per_page: z.ZodDefault>; credentials: z.ZodOptional, z.ZodString>>; }, "strip", z.ZodTypeAny, { operation: "list_ticket_comments"; page: number; per_page: number; sort_order: "desc" | "asc"; ticket_id: string; credentials?: Partial> | undefined; }, { operation: "list_ticket_comments"; ticket_id: string; credentials?: Partial> | undefined; page?: number | undefined; per_page?: number | undefined; sort_order?: "desc" | "asc" | undefined; }>, z.ZodObject<{ operation: z.ZodLiteral<"list_users">; query: z.ZodOptional; role: z.ZodOptional>; page: z.ZodDefault>; per_page: z.ZodDefault>; credentials: z.ZodOptional, z.ZodString>>; }, "strip", z.ZodTypeAny, { operation: "list_users"; page: number; per_page: number; credentials?: Partial> | undefined; role?: "agent" | "end-user" | "admin" | undefined; query?: string | undefined; }, { operation: "list_users"; credentials?: Partial> | undefined; role?: "agent" | "end-user" | "admin" | undefined; query?: string | undefined; page?: number | undefined; per_page?: number | undefined; }>, z.ZodObject<{ operation: z.ZodLiteral<"get_user">; user_id: z.ZodString; credentials: z.ZodOptional, z.ZodString>>; }, "strip", z.ZodTypeAny, { operation: "get_user"; user_id: string; credentials?: Partial> | undefined; }, { operation: "get_user"; user_id: string; credentials?: Partial> | undefined; }>, z.ZodObject<{ operation: z.ZodLiteral<"list_organizations">; query: z.ZodOptional; page: z.ZodDefault>; per_page: z.ZodDefault>; credentials: z.ZodOptional, z.ZodString>>; }, "strip", z.ZodTypeAny, { operation: "list_organizations"; page: number; per_page: number; credentials?: Partial> | undefined; query?: string | undefined; }, { operation: "list_organizations"; credentials?: Partial> | undefined; query?: string | undefined; page?: number | undefined; per_page?: number | undefined; }>, z.ZodObject<{ operation: z.ZodLiteral<"get_organization">; organization_id: z.ZodString; credentials: z.ZodOptional, z.ZodString>>; }, "strip", z.ZodTypeAny, { operation: "get_organization"; organization_id: string; credentials?: Partial> | undefined; }, { operation: "get_organization"; organization_id: string; credentials?: Partial> | undefined; }>, z.ZodObject<{ operation: z.ZodLiteral<"search">; query: z.ZodString; sort_by: z.ZodOptional>; sort_order: z.ZodDefault>>; page: z.ZodDefault>; per_page: z.ZodDefault>; credentials: z.ZodOptional, z.ZodString>>; }, "strip", z.ZodTypeAny, { query: string; operation: "search"; page: number; per_page: number; sort_order: "desc" | "asc"; credentials?: Partial> | undefined; sort_by?: "status" | "priority" | "created_at" | "updated_at" | "ticket_type" | undefined; }, { query: string; operation: "search"; credentials?: Partial> | undefined; page?: number | undefined; per_page?: number | undefined; sort_by?: "status" | "priority" | "created_at" | "updated_at" | "ticket_type" | undefined; sort_order?: "desc" | "asc" | undefined; }>, z.ZodObject<{ operation: z.ZodLiteral<"list_articles">; query: z.ZodOptional; section_id: z.ZodOptional; category_id: z.ZodOptional; locale: z.ZodOptional; page: z.ZodDefault>; per_page: z.ZodDefault>; credentials: z.ZodOptional, z.ZodString>>; }, "strip", z.ZodTypeAny, { operation: "list_articles"; page: number; per_page: number; credentials?: Partial> | undefined; query?: string | undefined; locale?: string | undefined; section_id?: string | undefined; category_id?: string | undefined; }, { operation: "list_articles"; credentials?: Partial> | undefined; query?: string | undefined; page?: number | undefined; locale?: string | undefined; per_page?: number | undefined; section_id?: string | undefined; category_id?: string | undefined; }>, z.ZodObject<{ operation: z.ZodLiteral<"get_article">; article_id: z.ZodString; locale: z.ZodOptional; credentials: z.ZodOptional, z.ZodString>>; }, "strip", z.ZodTypeAny, { operation: "get_article"; article_id: string; credentials?: Partial> | undefined; locale?: string | undefined; }, { operation: "get_article"; article_id: string; credentials?: Partial> | undefined; locale?: string | undefined; }>, z.ZodObject<{ operation: z.ZodLiteral<"list_ticket_fields">; credentials: z.ZodOptional, z.ZodString>>; }, "strip", z.ZodTypeAny, { operation: "list_ticket_fields"; credentials?: Partial> | undefined; }, { operation: "list_ticket_fields"; credentials?: Partial> | undefined; }>, z.ZodObject<{ operation: z.ZodLiteral<"create_ticket_field">; type: z.ZodEnum<["text", "textarea", "checkbox", "date", "integer", "decimal", "regexp", "partialcreditcard", "multiselect", "tagger", "lookup"]>; title: z.ZodString; description: z.ZodOptional; required: z.ZodOptional; active: z.ZodDefault>; custom_field_options: z.ZodOptional, "many">>; tag: z.ZodOptional; regexp_for_validation: z.ZodOptional; credentials: z.ZodOptional, z.ZodString>>; }, "strip", z.ZodTypeAny, { type: "integer" | "date" | "text" | "checkbox" | "lookup" | "textarea" | "decimal" | "regexp" | "partialcreditcard" | "multiselect" | "tagger"; title: string; operation: "create_ticket_field"; active: boolean; description?: string | undefined; required?: boolean | undefined; credentials?: Partial> | undefined; custom_field_options?: { value: string; name: string; }[] | undefined; tag?: string | undefined; regexp_for_validation?: string | undefined; }, { type: "integer" | "date" | "text" | "checkbox" | "lookup" | "textarea" | "decimal" | "regexp" | "partialcreditcard" | "multiselect" | "tagger"; title: string; operation: "create_ticket_field"; description?: string | undefined; required?: boolean | undefined; credentials?: Partial> | undefined; active?: boolean | undefined; custom_field_options?: { value: string; name: string; }[] | undefined; tag?: string | undefined; regexp_for_validation?: string | undefined; }>, z.ZodObject<{ operation: z.ZodLiteral<"delete_ticket_field">; ticket_field_id: z.ZodString; credentials: z.ZodOptional, z.ZodString>>; }, "strip", z.ZodTypeAny, { operation: "delete_ticket_field"; ticket_field_id: string; credentials?: Partial> | undefined; }, { operation: "delete_ticket_field"; ticket_field_id: string; credentials?: Partial> | undefined; }>, z.ZodObject<{ operation: z.ZodLiteral<"list_macros">; active: z.ZodOptional; category: z.ZodOptional; include: z.ZodOptional>; page: z.ZodDefault>; per_page: z.ZodDefault>; credentials: z.ZodOptional, z.ZodString>>; }, "strip", z.ZodTypeAny, { operation: "list_macros"; page: number; per_page: number; credentials?: Partial> | undefined; include?: "usage_7d" | "usage_24h" | "usage_30d" | undefined; category?: string | undefined; active?: boolean | undefined; }, { operation: "list_macros"; credentials?: Partial> | undefined; include?: "usage_7d" | "usage_24h" | "usage_30d" | undefined; page?: number | undefined; category?: string | undefined; per_page?: number | undefined; active?: boolean | undefined; }>, z.ZodObject<{ operation: z.ZodLiteral<"get_macro">; macro_id: z.ZodString; credentials: z.ZodOptional, z.ZodString>>; }, "strip", z.ZodTypeAny, { operation: "get_macro"; macro_id: string; credentials?: Partial> | undefined; }, { operation: "get_macro"; macro_id: string; credentials?: Partial> | undefined; }>, z.ZodObject<{ operation: z.ZodLiteral<"apply_macro">; ticket_id: z.ZodString; macro_id: z.ZodString; credentials: z.ZodOptional, z.ZodString>>; }, "strip", z.ZodTypeAny, { operation: "apply_macro"; ticket_id: string; macro_id: string; credentials?: Partial> | undefined; }, { operation: "apply_macro"; ticket_id: string; macro_id: string; credentials?: Partial> | undefined; }>, z.ZodObject<{ operation: z.ZodLiteral<"create_macro">; title: z.ZodString; actions: z.ZodArray, z.ZodNull]>; }, "strip", z.ZodTypeAny, { value: string | number | boolean | string[] | null; field: string; }, { value: string | number | boolean | string[] | null; field: string; }>, "many">; active: z.ZodDefault>; description: z.ZodOptional; restriction: z.ZodOptional; ids: z.ZodOptional>; }, "strip", z.ZodTypeAny, { type: string; id?: number | undefined; ids?: number[] | undefined; }, { type: string; id?: number | undefined; ids?: number[] | undefined; }>>; credentials: z.ZodOptional, z.ZodString>>; }, "strip", z.ZodTypeAny, { title: string; operation: "create_macro"; actions: { value: string | number | boolean | string[] | null; field: string; }[]; active: boolean; description?: string | undefined; credentials?: Partial> | undefined; restriction?: { type: string; id?: number | undefined; ids?: number[] | undefined; } | undefined; }, { title: string; operation: "create_macro"; actions: { value: string | number | boolean | string[] | null; field: string; }[]; description?: string | undefined; credentials?: Partial> | undefined; active?: boolean | undefined; restriction?: { type: string; id?: number | undefined; ids?: number[] | undefined; } | undefined; }>, z.ZodObject<{ operation: z.ZodLiteral<"update_macro">; macro_id: z.ZodString; title: z.ZodOptional; actions: z.ZodOptional, z.ZodNull]>; }, "strip", z.ZodTypeAny, { value: string | number | boolean | string[] | null; field: string; }, { value: string | number | boolean | string[] | null; field: string; }>, "many">>; active: z.ZodOptional; description: z.ZodOptional; restriction: z.ZodOptional; ids: z.ZodOptional>; }, "strip", z.ZodTypeAny, { type: string; id?: number | undefined; ids?: number[] | undefined; }, { type: string; id?: number | undefined; ids?: number[] | undefined; }>>; credentials: z.ZodOptional, z.ZodString>>; }, "strip", z.ZodTypeAny, { operation: "update_macro"; macro_id: string; description?: string | undefined; title?: string | undefined; credentials?: Partial> | undefined; actions?: { value: string | number | boolean | string[] | null; field: string; }[] | undefined; active?: boolean | undefined; restriction?: { type: string; id?: number | undefined; ids?: number[] | undefined; } | undefined; }, { operation: "update_macro"; macro_id: string; description?: string | undefined; title?: string | undefined; credentials?: Partial> | undefined; actions?: { value: string | number | boolean | string[] | null; field: string; }[] | undefined; active?: boolean | undefined; restriction?: { type: string; id?: number | undefined; ids?: number[] | undefined; } | undefined; }>, z.ZodObject<{ operation: z.ZodLiteral<"delete_macro">; macro_id: z.ZodString; credentials: z.ZodOptional, z.ZodString>>; }, "strip", z.ZodTypeAny, { operation: "delete_macro"; macro_id: string; credentials?: Partial> | undefined; }, { operation: "delete_macro"; macro_id: string; credentials?: Partial> | undefined; }>, z.ZodObject<{ operation: z.ZodLiteral<"search_macros">; query: z.ZodString; active: z.ZodOptional; include: z.ZodOptional>; page: z.ZodDefault>; per_page: z.ZodDefault>; credentials: z.ZodOptional, z.ZodString>>; }, "strip", z.ZodTypeAny, { query: string; operation: "search_macros"; page: number; per_page: number; credentials?: Partial> | undefined; include?: "usage_7d" | "usage_24h" | "usage_30d" | undefined; active?: boolean | undefined; }, { query: string; operation: "search_macros"; credentials?: Partial> | undefined; include?: "usage_7d" | "usage_24h" | "usage_30d" | undefined; page?: number | undefined; per_page?: number | undefined; active?: boolean | undefined; }>, z.ZodObject<{ operation: z.ZodLiteral<"upload_attachment">; filename: z.ZodString; content: z.ZodString; content_type: z.ZodOptional; credentials: z.ZodOptional, z.ZodString>>; }, "strip", z.ZodTypeAny, { content: string; operation: "upload_attachment"; filename: string; credentials?: Partial> | undefined; content_type?: string | undefined; }, { content: string; operation: "upload_attachment"; filename: string; credentials?: Partial> | undefined; content_type?: string | undefined; }>]>; export declare const ZendeskResultSchema: z.ZodDiscriminatedUnion<"operation", [z.ZodObject<{ operation: z.ZodLiteral<"list_tickets">; success: z.ZodBoolean; tickets: z.ZodOptional; description: z.ZodOptional; status: z.ZodOptional; priority: z.ZodNullable>; type: z.ZodNullable>; requester_id: z.ZodOptional; assignee_id: z.ZodNullable>; organization_id: z.ZodNullable>; tags: z.ZodOptional>; custom_fields: z.ZodOptional, z.ZodNull]>>; }, "strip", z.ZodTypeAny, { value: string | number | boolean | string[] | null; id: number; }, { value: string | number | boolean | string[] | null; id: number; }>, "many">>; created_at: z.ZodOptional; updated_at: z.ZodOptional; }, "strip", z.ZodTypeAny, { id: number; type?: string | null | undefined; description?: string | undefined; status?: string | undefined; tags?: string[] | undefined; priority?: string | null | undefined; subject?: string | undefined; created_at?: string | undefined; updated_at?: string | undefined; custom_fields?: { value: string | number | boolean | string[] | null; id: number; }[] | undefined; assignee_id?: number | null | undefined; organization_id?: number | null | undefined; requester_id?: number | undefined; }, { id: number; type?: string | null | undefined; description?: string | undefined; status?: string | undefined; tags?: string[] | undefined; priority?: string | null | undefined; subject?: string | undefined; created_at?: string | undefined; updated_at?: string | undefined; custom_fields?: { value: string | number | boolean | string[] | null; id: number; }[] | undefined; assignee_id?: number | null | undefined; organization_id?: number | null | undefined; requester_id?: number | undefined; }>, "many">>; count: z.ZodOptional; next_page: z.ZodNullable>; error: z.ZodString; }, "strip", z.ZodTypeAny, { error: string; success: boolean; operation: "list_tickets"; count?: number | undefined; tickets?: { id: number; type?: string | null | undefined; description?: string | undefined; status?: string | undefined; tags?: string[] | undefined; priority?: string | null | undefined; subject?: string | undefined; created_at?: string | undefined; updated_at?: string | undefined; custom_fields?: { value: string | number | boolean | string[] | null; id: number; }[] | undefined; assignee_id?: number | null | undefined; organization_id?: number | null | undefined; requester_id?: number | undefined; }[] | undefined; next_page?: string | null | undefined; }, { error: string; success: boolean; operation: "list_tickets"; count?: number | undefined; tickets?: { id: number; type?: string | null | undefined; description?: string | undefined; status?: string | undefined; tags?: string[] | undefined; priority?: string | null | undefined; subject?: string | undefined; created_at?: string | undefined; updated_at?: string | undefined; custom_fields?: { value: string | number | boolean | string[] | null; id: number; }[] | undefined; assignee_id?: number | null | undefined; organization_id?: number | null | undefined; requester_id?: number | undefined; }[] | undefined; next_page?: string | null | undefined; }>, z.ZodObject<{ operation: z.ZodLiteral<"get_ticket">; success: z.ZodBoolean; ticket: z.ZodOptional; description: z.ZodOptional; status: z.ZodOptional; priority: z.ZodNullable>; type: z.ZodNullable>; requester_id: z.ZodOptional; assignee_id: z.ZodNullable>; organization_id: z.ZodNullable>; tags: z.ZodOptional>; custom_fields: z.ZodOptional, z.ZodNull]>>; }, "strip", z.ZodTypeAny, { value: string | number | boolean | string[] | null; id: number; }, { value: string | number | boolean | string[] | null; id: number; }>, "many">>; created_at: z.ZodOptional; updated_at: z.ZodOptional; }, "strip", z.ZodTypeAny, { id: number; type?: string | null | undefined; description?: string | undefined; status?: string | undefined; tags?: string[] | undefined; priority?: string | null | undefined; subject?: string | undefined; created_at?: string | undefined; updated_at?: string | undefined; custom_fields?: { value: string | number | boolean | string[] | null; id: number; }[] | undefined; assignee_id?: number | null | undefined; organization_id?: number | null | undefined; requester_id?: number | undefined; }, { id: number; type?: string | null | undefined; description?: string | undefined; status?: string | undefined; tags?: string[] | undefined; priority?: string | null | undefined; subject?: string | undefined; created_at?: string | undefined; updated_at?: string | undefined; custom_fields?: { value: string | number | boolean | string[] | null; id: number; }[] | undefined; assignee_id?: number | null | undefined; organization_id?: number | null | undefined; requester_id?: number | undefined; }>>; error: z.ZodString; }, "strip", z.ZodTypeAny, { error: string; success: boolean; operation: "get_ticket"; ticket?: { id: number; type?: string | null | undefined; description?: string | undefined; status?: string | undefined; tags?: string[] | undefined; priority?: string | null | undefined; subject?: string | undefined; created_at?: string | undefined; updated_at?: string | undefined; custom_fields?: { value: string | number | boolean | string[] | null; id: number; }[] | undefined; assignee_id?: number | null | undefined; organization_id?: number | null | undefined; requester_id?: number | undefined; } | undefined; }, { error: string; success: boolean; operation: "get_ticket"; ticket?: { id: number; type?: string | null | undefined; description?: string | undefined; status?: string | undefined; tags?: string[] | undefined; priority?: string | null | undefined; subject?: string | undefined; created_at?: string | undefined; updated_at?: string | undefined; custom_fields?: { value: string | number | boolean | string[] | null; id: number; }[] | undefined; assignee_id?: number | null | undefined; organization_id?: number | null | undefined; requester_id?: number | undefined; } | undefined; }>, z.ZodObject<{ operation: z.ZodLiteral<"create_ticket">; success: z.ZodBoolean; ticket: z.ZodOptional; description: z.ZodOptional; status: z.ZodOptional; priority: z.ZodNullable>; type: z.ZodNullable>; requester_id: z.ZodOptional; assignee_id: z.ZodNullable>; organization_id: z.ZodNullable>; tags: z.ZodOptional>; custom_fields: z.ZodOptional, z.ZodNull]>>; }, "strip", z.ZodTypeAny, { value: string | number | boolean | string[] | null; id: number; }, { value: string | number | boolean | string[] | null; id: number; }>, "many">>; created_at: z.ZodOptional; updated_at: z.ZodOptional; }, "strip", z.ZodTypeAny, { id: number; type?: string | null | undefined; description?: string | undefined; status?: string | undefined; tags?: string[] | undefined; priority?: string | null | undefined; subject?: string | undefined; created_at?: string | undefined; updated_at?: string | undefined; custom_fields?: { value: string | number | boolean | string[] | null; id: number; }[] | undefined; assignee_id?: number | null | undefined; organization_id?: number | null | undefined; requester_id?: number | undefined; }, { id: number; type?: string | null | undefined; description?: string | undefined; status?: string | undefined; tags?: string[] | undefined; priority?: string | null | undefined; subject?: string | undefined; created_at?: string | undefined; updated_at?: string | undefined; custom_fields?: { value: string | number | boolean | string[] | null; id: number; }[] | undefined; assignee_id?: number | null | undefined; organization_id?: number | null | undefined; requester_id?: number | undefined; }>>; error: z.ZodString; }, "strip", z.ZodTypeAny, { error: string; success: boolean; operation: "create_ticket"; ticket?: { id: number; type?: string | null | undefined; description?: string | undefined; status?: string | undefined; tags?: string[] | undefined; priority?: string | null | undefined; subject?: string | undefined; created_at?: string | undefined; updated_at?: string | undefined; custom_fields?: { value: string | number | boolean | string[] | null; id: number; }[] | undefined; assignee_id?: number | null | undefined; organization_id?: number | null | undefined; requester_id?: number | undefined; } | undefined; }, { error: string; success: boolean; operation: "create_ticket"; ticket?: { id: number; type?: string | null | undefined; description?: string | undefined; status?: string | undefined; tags?: string[] | undefined; priority?: string | null | undefined; subject?: string | undefined; created_at?: string | undefined; updated_at?: string | undefined; custom_fields?: { value: string | number | boolean | string[] | null; id: number; }[] | undefined; assignee_id?: number | null | undefined; organization_id?: number | null | undefined; requester_id?: number | undefined; } | undefined; }>, z.ZodObject<{ operation: z.ZodLiteral<"update_ticket">; success: z.ZodBoolean; ticket: z.ZodOptional; description: z.ZodOptional; status: z.ZodOptional; priority: z.ZodNullable>; type: z.ZodNullable>; requester_id: z.ZodOptional; assignee_id: z.ZodNullable>; organization_id: z.ZodNullable>; tags: z.ZodOptional>; custom_fields: z.ZodOptional, z.ZodNull]>>; }, "strip", z.ZodTypeAny, { value: string | number | boolean | string[] | null; id: number; }, { value: string | number | boolean | string[] | null; id: number; }>, "many">>; created_at: z.ZodOptional; updated_at: z.ZodOptional; }, "strip", z.ZodTypeAny, { id: number; type?: string | null | undefined; description?: string | undefined; status?: string | undefined; tags?: string[] | undefined; priority?: string | null | undefined; subject?: string | undefined; created_at?: string | undefined; updated_at?: string | undefined; custom_fields?: { value: string | number | boolean | string[] | null; id: number; }[] | undefined; assignee_id?: number | null | undefined; organization_id?: number | null | undefined; requester_id?: number | undefined; }, { id: number; type?: string | null | undefined; description?: string | undefined; status?: string | undefined; tags?: string[] | undefined; priority?: string | null | undefined; subject?: string | undefined; created_at?: string | undefined; updated_at?: string | undefined; custom_fields?: { value: string | number | boolean | string[] | null; id: number; }[] | undefined; assignee_id?: number | null | undefined; organization_id?: number | null | undefined; requester_id?: number | undefined; }>>; error: z.ZodString; }, "strip", z.ZodTypeAny, { error: string; success: boolean; operation: "update_ticket"; ticket?: { id: number; type?: string | null | undefined; description?: string | undefined; status?: string | undefined; tags?: string[] | undefined; priority?: string | null | undefined; subject?: string | undefined; created_at?: string | undefined; updated_at?: string | undefined; custom_fields?: { value: string | number | boolean | string[] | null; id: number; }[] | undefined; assignee_id?: number | null | undefined; organization_id?: number | null | undefined; requester_id?: number | undefined; } | undefined; }, { error: string; success: boolean; operation: "update_ticket"; ticket?: { id: number; type?: string | null | undefined; description?: string | undefined; status?: string | undefined; tags?: string[] | undefined; priority?: string | null | undefined; subject?: string | undefined; created_at?: string | undefined; updated_at?: string | undefined; custom_fields?: { value: string | number | boolean | string[] | null; id: number; }[] | undefined; assignee_id?: number | null | undefined; organization_id?: number | null | undefined; requester_id?: number | undefined; } | undefined; }>, z.ZodObject<{ operation: z.ZodLiteral<"list_ticket_comments">; success: z.ZodBoolean; comments: z.ZodOptional; html_body: z.ZodOptional; public: z.ZodOptional; author_id: z.ZodOptional; attachments: z.ZodOptional, "many">>; created_at: z.ZodOptional; }, "strip", z.ZodTypeAny, { id: number; attachments?: { id: number; size: number; file_name: string; content_type: string; content_url: string; }[] | undefined; public?: boolean | undefined; body?: string | undefined; created_at?: string | undefined; html_body?: string | undefined; author_id?: number | undefined; }, { id: number; attachments?: { id: number; size: number; file_name: string; content_type: string; content_url: string; }[] | undefined; public?: boolean | undefined; body?: string | undefined; created_at?: string | undefined; html_body?: string | undefined; author_id?: number | undefined; }>, "many">>; count: z.ZodOptional; next_page: z.ZodNullable>; error: z.ZodString; }, "strip", z.ZodTypeAny, { error: string; success: boolean; operation: "list_ticket_comments"; count?: number | undefined; comments?: { id: number; attachments?: { id: number; size: number; file_name: string; content_type: string; content_url: string; }[] | undefined; public?: boolean | undefined; body?: string | undefined; created_at?: string | undefined; html_body?: string | undefined; author_id?: number | undefined; }[] | undefined; next_page?: string | null | undefined; }, { error: string; success: boolean; operation: "list_ticket_comments"; count?: number | undefined; comments?: { id: number; attachments?: { id: number; size: number; file_name: string; content_type: string; content_url: string; }[] | undefined; public?: boolean | undefined; body?: string | undefined; created_at?: string | undefined; html_body?: string | undefined; author_id?: number | undefined; }[] | undefined; next_page?: string | null | undefined; }>, z.ZodObject<{ operation: z.ZodLiteral<"list_users">; success: z.ZodBoolean; users: z.ZodOptional; email: z.ZodOptional; role: z.ZodOptional; organization_id: z.ZodNullable>; active: z.ZodOptional; created_at: z.ZodOptional; }, "strip", z.ZodTypeAny, { id: number; name?: string | undefined; email?: string | undefined; role?: string | undefined; created_at?: string | undefined; active?: boolean | undefined; organization_id?: number | null | undefined; }, { id: number; name?: string | undefined; email?: string | undefined; role?: string | undefined; created_at?: string | undefined; active?: boolean | undefined; organization_id?: number | null | undefined; }>, "many">>; count: z.ZodOptional; next_page: z.ZodNullable>; error: z.ZodString; }, "strip", z.ZodTypeAny, { error: string; success: boolean; operation: "list_users"; count?: number | undefined; users?: { id: number; name?: string | undefined; email?: string | undefined; role?: string | undefined; created_at?: string | undefined; active?: boolean | undefined; organization_id?: number | null | undefined; }[] | undefined; next_page?: string | null | undefined; }, { error: string; success: boolean; operation: "list_users"; count?: number | undefined; users?: { id: number; name?: string | undefined; email?: string | undefined; role?: string | undefined; created_at?: string | undefined; active?: boolean | undefined; organization_id?: number | null | undefined; }[] | undefined; next_page?: string | null | undefined; }>, z.ZodObject<{ operation: z.ZodLiteral<"get_user">; success: z.ZodBoolean; user: z.ZodOptional; email: z.ZodOptional; role: z.ZodOptional; organization_id: z.ZodNullable>; active: z.ZodOptional; created_at: z.ZodOptional; }, "strip", z.ZodTypeAny, { id: number; name?: string | undefined; email?: string | undefined; role?: string | undefined; created_at?: string | undefined; active?: boolean | undefined; organization_id?: number | null | undefined; }, { id: number; name?: string | undefined; email?: string | undefined; role?: string | undefined; created_at?: string | undefined; active?: boolean | undefined; organization_id?: number | null | undefined; }>>; error: z.ZodString; }, "strip", z.ZodTypeAny, { error: string; success: boolean; operation: "get_user"; user?: { id: number; name?: string | undefined; email?: string | undefined; role?: string | undefined; created_at?: string | undefined; active?: boolean | undefined; organization_id?: number | null | undefined; } | undefined; }, { error: string; success: boolean; operation: "get_user"; user?: { id: number; name?: string | undefined; email?: string | undefined; role?: string | undefined; created_at?: string | undefined; active?: boolean | undefined; organization_id?: number | null | undefined; } | undefined; }>, z.ZodObject<{ operation: z.ZodLiteral<"list_organizations">; success: z.ZodBoolean; organizations: z.ZodOptional; domain_names: z.ZodOptional>; external_id: z.ZodNullable>; created_at: z.ZodOptional; }, "strip", z.ZodTypeAny, { id: number; name?: string | undefined; created_at?: string | undefined; domain_names?: string[] | undefined; external_id?: string | null | undefined; }, { id: number; name?: string | undefined; created_at?: string | undefined; domain_names?: string[] | undefined; external_id?: string | null | undefined; }>, "many">>; count: z.ZodOptional; next_page: z.ZodNullable>; error: z.ZodString; }, "strip", z.ZodTypeAny, { error: string; success: boolean; operation: "list_organizations"; count?: number | undefined; next_page?: string | null | undefined; organizations?: { id: number; name?: string | undefined; created_at?: string | undefined; domain_names?: string[] | undefined; external_id?: string | null | undefined; }[] | undefined; }, { error: string; success: boolean; operation: "list_organizations"; count?: number | undefined; next_page?: string | null | undefined; organizations?: { id: number; name?: string | undefined; created_at?: string | undefined; domain_names?: string[] | undefined; external_id?: string | null | undefined; }[] | undefined; }>, z.ZodObject<{ operation: z.ZodLiteral<"get_organization">; success: z.ZodBoolean; organization: z.ZodOptional; domain_names: z.ZodOptional>; external_id: z.ZodNullable>; created_at: z.ZodOptional; }, "strip", z.ZodTypeAny, { id: number; name?: string | undefined; created_at?: string | undefined; domain_names?: string[] | undefined; external_id?: string | null | undefined; }, { id: number; name?: string | undefined; created_at?: string | undefined; domain_names?: string[] | undefined; external_id?: string | null | undefined; }>>; error: z.ZodString; }, "strip", z.ZodTypeAny, { error: string; success: boolean; operation: "get_organization"; organization?: { id: number; name?: string | undefined; created_at?: string | undefined; domain_names?: string[] | undefined; external_id?: string | null | undefined; } | undefined; }, { error: string; success: boolean; operation: "get_organization"; organization?: { id: number; name?: string | undefined; created_at?: string | undefined; domain_names?: string[] | undefined; external_id?: string | null | undefined; } | undefined; }>, z.ZodObject<{ operation: z.ZodLiteral<"search">; success: z.ZodBoolean; results: z.ZodOptional, "many">>; count: z.ZodOptional; next_page: z.ZodNullable>; error: z.ZodString; }, "strip", z.ZodTypeAny, { error: string; success: boolean; operation: "search"; count?: number | undefined; results?: Record[] | undefined; next_page?: string | null | undefined; }, { error: string; success: boolean; operation: "search"; count?: number | undefined; results?: Record[] | undefined; next_page?: string | null | undefined; }>, z.ZodObject<{ operation: z.ZodLiteral<"list_ticket_fields">; success: z.ZodBoolean; ticket_fields: z.ZodOptional>; active: z.ZodOptional; required: z.ZodOptional; custom_field_options: z.ZodNullable, "many">>>; }, "strip", z.ZodTypeAny, { type: string; title: string; id: number; description?: string | null | undefined; required?: boolean | undefined; active?: boolean | undefined; custom_field_options?: { value: string; name: string; }[] | null | undefined; }, { type: string; title: string; id: number; description?: string | null | undefined; required?: boolean | undefined; active?: boolean | undefined; custom_field_options?: { value: string; name: string; }[] | null | undefined; }>, "many">>; error: z.ZodString; }, "strip", z.ZodTypeAny, { error: string; success: boolean; operation: "list_ticket_fields"; ticket_fields?: { type: string; title: string; id: number; description?: string | null | undefined; required?: boolean | undefined; active?: boolean | undefined; custom_field_options?: { value: string; name: string; }[] | null | undefined; }[] | undefined; }, { error: string; success: boolean; operation: "list_ticket_fields"; ticket_fields?: { type: string; title: string; id: number; description?: string | null | undefined; required?: boolean | undefined; active?: boolean | undefined; custom_field_options?: { value: string; name: string; }[] | null | undefined; }[] | undefined; }>, z.ZodObject<{ operation: z.ZodLiteral<"create_ticket_field">; success: z.ZodBoolean; ticket_field: z.ZodOptional; required: z.ZodOptional; custom_field_options: z.ZodNullable, "many">>>; }, "strip", z.ZodTypeAny, { type: string; title: string; id: number; required?: boolean | undefined; active?: boolean | undefined; custom_field_options?: { value: string; name: string; }[] | null | undefined; }, { type: string; title: string; id: number; required?: boolean | undefined; active?: boolean | undefined; custom_field_options?: { value: string; name: string; }[] | null | undefined; }>>; error: z.ZodString; }, "strip", z.ZodTypeAny, { error: string; success: boolean; operation: "create_ticket_field"; ticket_field?: { type: string; title: string; id: number; required?: boolean | undefined; active?: boolean | undefined; custom_field_options?: { value: string; name: string; }[] | null | undefined; } | undefined; }, { error: string; success: boolean; operation: "create_ticket_field"; ticket_field?: { type: string; title: string; id: number; required?: boolean | undefined; active?: boolean | undefined; custom_field_options?: { value: string; name: string; }[] | null | undefined; } | undefined; }>, z.ZodObject<{ operation: z.ZodLiteral<"delete_ticket_field">; success: z.ZodBoolean; error: z.ZodString; }, "strip", z.ZodTypeAny, { error: string; success: boolean; operation: "delete_ticket_field"; }, { error: string; success: boolean; operation: "delete_ticket_field"; }>, z.ZodObject<{ operation: z.ZodLiteral<"list_articles">; success: z.ZodBoolean; articles: z.ZodOptional; body: z.ZodOptional; locale: z.ZodOptional; section_id: z.ZodOptional; author_id: z.ZodOptional; draft: z.ZodOptional; created_at: z.ZodOptional; updated_at: z.ZodOptional; }, "strip", z.ZodTypeAny, { id: number; title?: string | undefined; body?: string | undefined; created_at?: string | undefined; draft?: boolean | undefined; locale?: string | undefined; updated_at?: string | undefined; section_id?: number | undefined; author_id?: number | undefined; }, { id: number; title?: string | undefined; body?: string | undefined; created_at?: string | undefined; draft?: boolean | undefined; locale?: string | undefined; updated_at?: string | undefined; section_id?: number | undefined; author_id?: number | undefined; }>, "many">>; count: z.ZodOptional; next_page: z.ZodNullable>; error: z.ZodString; }, "strip", z.ZodTypeAny, { error: string; success: boolean; operation: "list_articles"; count?: number | undefined; next_page?: string | null | undefined; articles?: { id: number; title?: string | undefined; body?: string | undefined; created_at?: string | undefined; draft?: boolean | undefined; locale?: string | undefined; updated_at?: string | undefined; section_id?: number | undefined; author_id?: number | undefined; }[] | undefined; }, { error: string; success: boolean; operation: "list_articles"; count?: number | undefined; next_page?: string | null | undefined; articles?: { id: number; title?: string | undefined; body?: string | undefined; created_at?: string | undefined; draft?: boolean | undefined; locale?: string | undefined; updated_at?: string | undefined; section_id?: number | undefined; author_id?: number | undefined; }[] | undefined; }>, z.ZodObject<{ operation: z.ZodLiteral<"get_article">; success: z.ZodBoolean; article: z.ZodOptional; body: z.ZodOptional; locale: z.ZodOptional; section_id: z.ZodOptional; author_id: z.ZodOptional; draft: z.ZodOptional; created_at: z.ZodOptional; updated_at: z.ZodOptional; }, "strip", z.ZodTypeAny, { id: number; title?: string | undefined; body?: string | undefined; created_at?: string | undefined; draft?: boolean | undefined; locale?: string | undefined; updated_at?: string | undefined; section_id?: number | undefined; author_id?: number | undefined; }, { id: number; title?: string | undefined; body?: string | undefined; created_at?: string | undefined; draft?: boolean | undefined; locale?: string | undefined; updated_at?: string | undefined; section_id?: number | undefined; author_id?: number | undefined; }>>; error: z.ZodString; }, "strip", z.ZodTypeAny, { error: string; success: boolean; operation: "get_article"; article?: { id: number; title?: string | undefined; body?: string | undefined; created_at?: string | undefined; draft?: boolean | undefined; locale?: string | undefined; updated_at?: string | undefined; section_id?: number | undefined; author_id?: number | undefined; } | undefined; }, { error: string; success: boolean; operation: "get_article"; article?: { id: number; title?: string | undefined; body?: string | undefined; created_at?: string | undefined; draft?: boolean | undefined; locale?: string | undefined; updated_at?: string | undefined; section_id?: number | undefined; author_id?: number | undefined; } | undefined; }>, z.ZodObject<{ operation: z.ZodLiteral<"list_macros">; success: z.ZodBoolean; macros: z.ZodOptional; description: z.ZodNullable>; active: z.ZodOptional; actions: z.ZodOptional, z.ZodNull]>>; }, "strip", z.ZodTypeAny, { value: string | number | boolean | string[] | null; field: string; }, { value: string | number | boolean | string[] | null; field: string; }>, "many">>; restriction: z.ZodNullable; id: z.ZodOptional; ids: z.ZodOptional>; }, "strip", z.ZodTypeAny, { type?: string | undefined; id?: number | undefined; ids?: number[] | undefined; }, { type?: string | undefined; id?: number | undefined; ids?: number[] | undefined; }>>>; created_at: z.ZodOptional; updated_at: z.ZodOptional; }, "strip", z.ZodTypeAny, { id: number; description?: string | null | undefined; title?: string | undefined; created_at?: string | undefined; actions?: { value: string | number | boolean | string[] | null; field: string; }[] | undefined; updated_at?: string | undefined; active?: boolean | undefined; restriction?: { type?: string | undefined; id?: number | undefined; ids?: number[] | undefined; } | null | undefined; }, { id: number; description?: string | null | undefined; title?: string | undefined; created_at?: string | undefined; actions?: { value: string | number | boolean | string[] | null; field: string; }[] | undefined; updated_at?: string | undefined; active?: boolean | undefined; restriction?: { type?: string | undefined; id?: number | undefined; ids?: number[] | undefined; } | null | undefined; }>, "many">>; count: z.ZodOptional; next_page: z.ZodNullable>; error: z.ZodString; }, "strip", z.ZodTypeAny, { error: string; success: boolean; operation: "list_macros"; count?: number | undefined; next_page?: string | null | undefined; macros?: { id: number; description?: string | null | undefined; title?: string | undefined; created_at?: string | undefined; actions?: { value: string | number | boolean | string[] | null; field: string; }[] | undefined; updated_at?: string | undefined; active?: boolean | undefined; restriction?: { type?: string | undefined; id?: number | undefined; ids?: number[] | undefined; } | null | undefined; }[] | undefined; }, { error: string; success: boolean; operation: "list_macros"; count?: number | undefined; next_page?: string | null | undefined; macros?: { id: number; description?: string | null | undefined; title?: string | undefined; created_at?: string | undefined; actions?: { value: string | number | boolean | string[] | null; field: string; }[] | undefined; updated_at?: string | undefined; active?: boolean | undefined; restriction?: { type?: string | undefined; id?: number | undefined; ids?: number[] | undefined; } | null | undefined; }[] | undefined; }>, z.ZodObject<{ operation: z.ZodLiteral<"get_macro">; success: z.ZodBoolean; macro: z.ZodOptional; description: z.ZodNullable>; active: z.ZodOptional; actions: z.ZodOptional, z.ZodNull]>>; }, "strip", z.ZodTypeAny, { value: string | number | boolean | string[] | null; field: string; }, { value: string | number | boolean | string[] | null; field: string; }>, "many">>; restriction: z.ZodNullable; id: z.ZodOptional; ids: z.ZodOptional>; }, "strip", z.ZodTypeAny, { type?: string | undefined; id?: number | undefined; ids?: number[] | undefined; }, { type?: string | undefined; id?: number | undefined; ids?: number[] | undefined; }>>>; created_at: z.ZodOptional; updated_at: z.ZodOptional; }, "strip", z.ZodTypeAny, { id: number; description?: string | null | undefined; title?: string | undefined; created_at?: string | undefined; actions?: { value: string | number | boolean | string[] | null; field: string; }[] | undefined; updated_at?: string | undefined; active?: boolean | undefined; restriction?: { type?: string | undefined; id?: number | undefined; ids?: number[] | undefined; } | null | undefined; }, { id: number; description?: string | null | undefined; title?: string | undefined; created_at?: string | undefined; actions?: { value: string | number | boolean | string[] | null; field: string; }[] | undefined; updated_at?: string | undefined; active?: boolean | undefined; restriction?: { type?: string | undefined; id?: number | undefined; ids?: number[] | undefined; } | null | undefined; }>>; error: z.ZodString; }, "strip", z.ZodTypeAny, { error: string; success: boolean; operation: "get_macro"; macro?: { id: number; description?: string | null | undefined; title?: string | undefined; created_at?: string | undefined; actions?: { value: string | number | boolean | string[] | null; field: string; }[] | undefined; updated_at?: string | undefined; active?: boolean | undefined; restriction?: { type?: string | undefined; id?: number | undefined; ids?: number[] | undefined; } | null | undefined; } | undefined; }, { error: string; success: boolean; operation: "get_macro"; macro?: { id: number; description?: string | null | undefined; title?: string | undefined; created_at?: string | undefined; actions?: { value: string | number | boolean | string[] | null; field: string; }[] | undefined; updated_at?: string | undefined; active?: boolean | undefined; restriction?: { type?: string | undefined; id?: number | undefined; ids?: number[] | undefined; } | null | undefined; } | undefined; }>, z.ZodObject<{ operation: z.ZodLiteral<"apply_macro">; success: z.ZodBoolean; result: z.ZodOptional>; comment: z.ZodOptional; html_body: z.ZodOptional; public: z.ZodOptional; scoped_body: z.ZodOptional, "many">>; }, "strip", z.ZodTypeAny, { public?: boolean | undefined; body?: string | undefined; html_body?: string | undefined; scoped_body?: string[][] | undefined; }, { public?: boolean | undefined; body?: string | undefined; html_body?: string | undefined; scoped_body?: string[][] | undefined; }>>; }, "strip", z.ZodTypeAny, { ticket?: Record | undefined; comment?: { public?: boolean | undefined; body?: string | undefined; html_body?: string | undefined; scoped_body?: string[][] | undefined; } | undefined; }, { ticket?: Record | undefined; comment?: { public?: boolean | undefined; body?: string | undefined; html_body?: string | undefined; scoped_body?: string[][] | undefined; } | undefined; }>>; error: z.ZodString; }, "strip", z.ZodTypeAny, { error: string; success: boolean; operation: "apply_macro"; result?: { ticket?: Record | undefined; comment?: { public?: boolean | undefined; body?: string | undefined; html_body?: string | undefined; scoped_body?: string[][] | undefined; } | undefined; } | undefined; }, { error: string; success: boolean; operation: "apply_macro"; result?: { ticket?: Record | undefined; comment?: { public?: boolean | undefined; body?: string | undefined; html_body?: string | undefined; scoped_body?: string[][] | undefined; } | undefined; } | undefined; }>, z.ZodObject<{ operation: z.ZodLiteral<"create_macro">; success: z.ZodBoolean; macro: z.ZodOptional; description: z.ZodNullable>; active: z.ZodOptional; actions: z.ZodOptional, z.ZodNull]>>; }, "strip", z.ZodTypeAny, { value: string | number | boolean | string[] | null; field: string; }, { value: string | number | boolean | string[] | null; field: string; }>, "many">>; restriction: z.ZodNullable; id: z.ZodOptional; ids: z.ZodOptional>; }, "strip", z.ZodTypeAny, { type?: string | undefined; id?: number | undefined; ids?: number[] | undefined; }, { type?: string | undefined; id?: number | undefined; ids?: number[] | undefined; }>>>; created_at: z.ZodOptional; updated_at: z.ZodOptional; }, "strip", z.ZodTypeAny, { id: number; description?: string | null | undefined; title?: string | undefined; created_at?: string | undefined; actions?: { value: string | number | boolean | string[] | null; field: string; }[] | undefined; updated_at?: string | undefined; active?: boolean | undefined; restriction?: { type?: string | undefined; id?: number | undefined; ids?: number[] | undefined; } | null | undefined; }, { id: number; description?: string | null | undefined; title?: string | undefined; created_at?: string | undefined; actions?: { value: string | number | boolean | string[] | null; field: string; }[] | undefined; updated_at?: string | undefined; active?: boolean | undefined; restriction?: { type?: string | undefined; id?: number | undefined; ids?: number[] | undefined; } | null | undefined; }>>; error: z.ZodString; }, "strip", z.ZodTypeAny, { error: string; success: boolean; operation: "create_macro"; macro?: { id: number; description?: string | null | undefined; title?: string | undefined; created_at?: string | undefined; actions?: { value: string | number | boolean | string[] | null; field: string; }[] | undefined; updated_at?: string | undefined; active?: boolean | undefined; restriction?: { type?: string | undefined; id?: number | undefined; ids?: number[] | undefined; } | null | undefined; } | undefined; }, { error: string; success: boolean; operation: "create_macro"; macro?: { id: number; description?: string | null | undefined; title?: string | undefined; created_at?: string | undefined; actions?: { value: string | number | boolean | string[] | null; field: string; }[] | undefined; updated_at?: string | undefined; active?: boolean | undefined; restriction?: { type?: string | undefined; id?: number | undefined; ids?: number[] | undefined; } | null | undefined; } | undefined; }>, z.ZodObject<{ operation: z.ZodLiteral<"update_macro">; success: z.ZodBoolean; macro: z.ZodOptional; description: z.ZodNullable>; active: z.ZodOptional; actions: z.ZodOptional, z.ZodNull]>>; }, "strip", z.ZodTypeAny, { value: string | number | boolean | string[] | null; field: string; }, { value: string | number | boolean | string[] | null; field: string; }>, "many">>; restriction: z.ZodNullable; id: z.ZodOptional; ids: z.ZodOptional>; }, "strip", z.ZodTypeAny, { type?: string | undefined; id?: number | undefined; ids?: number[] | undefined; }, { type?: string | undefined; id?: number | undefined; ids?: number[] | undefined; }>>>; created_at: z.ZodOptional; updated_at: z.ZodOptional; }, "strip", z.ZodTypeAny, { id: number; description?: string | null | undefined; title?: string | undefined; created_at?: string | undefined; actions?: { value: string | number | boolean | string[] | null; field: string; }[] | undefined; updated_at?: string | undefined; active?: boolean | undefined; restriction?: { type?: string | undefined; id?: number | undefined; ids?: number[] | undefined; } | null | undefined; }, { id: number; description?: string | null | undefined; title?: string | undefined; created_at?: string | undefined; actions?: { value: string | number | boolean | string[] | null; field: string; }[] | undefined; updated_at?: string | undefined; active?: boolean | undefined; restriction?: { type?: string | undefined; id?: number | undefined; ids?: number[] | undefined; } | null | undefined; }>>; error: z.ZodString; }, "strip", z.ZodTypeAny, { error: string; success: boolean; operation: "update_macro"; macro?: { id: number; description?: string | null | undefined; title?: string | undefined; created_at?: string | undefined; actions?: { value: string | number | boolean | string[] | null; field: string; }[] | undefined; updated_at?: string | undefined; active?: boolean | undefined; restriction?: { type?: string | undefined; id?: number | undefined; ids?: number[] | undefined; } | null | undefined; } | undefined; }, { error: string; success: boolean; operation: "update_macro"; macro?: { id: number; description?: string | null | undefined; title?: string | undefined; created_at?: string | undefined; actions?: { value: string | number | boolean | string[] | null; field: string; }[] | undefined; updated_at?: string | undefined; active?: boolean | undefined; restriction?: { type?: string | undefined; id?: number | undefined; ids?: number[] | undefined; } | null | undefined; } | undefined; }>, z.ZodObject<{ operation: z.ZodLiteral<"delete_macro">; success: z.ZodBoolean; error: z.ZodString; }, "strip", z.ZodTypeAny, { error: string; success: boolean; operation: "delete_macro"; }, { error: string; success: boolean; operation: "delete_macro"; }>, z.ZodObject<{ operation: z.ZodLiteral<"search_macros">; success: z.ZodBoolean; macros: z.ZodOptional; description: z.ZodNullable>; active: z.ZodOptional; actions: z.ZodOptional, z.ZodNull]>>; }, "strip", z.ZodTypeAny, { value: string | number | boolean | string[] | null; field: string; }, { value: string | number | boolean | string[] | null; field: string; }>, "many">>; restriction: z.ZodNullable; id: z.ZodOptional; ids: z.ZodOptional>; }, "strip", z.ZodTypeAny, { type?: string | undefined; id?: number | undefined; ids?: number[] | undefined; }, { type?: string | undefined; id?: number | undefined; ids?: number[] | undefined; }>>>; created_at: z.ZodOptional; updated_at: z.ZodOptional; }, "strip", z.ZodTypeAny, { id: number; description?: string | null | undefined; title?: string | undefined; created_at?: string | undefined; actions?: { value: string | number | boolean | string[] | null; field: string; }[] | undefined; updated_at?: string | undefined; active?: boolean | undefined; restriction?: { type?: string | undefined; id?: number | undefined; ids?: number[] | undefined; } | null | undefined; }, { id: number; description?: string | null | undefined; title?: string | undefined; created_at?: string | undefined; actions?: { value: string | number | boolean | string[] | null; field: string; }[] | undefined; updated_at?: string | undefined; active?: boolean | undefined; restriction?: { type?: string | undefined; id?: number | undefined; ids?: number[] | undefined; } | null | undefined; }>, "many">>; count: z.ZodOptional; next_page: z.ZodNullable>; error: z.ZodString; }, "strip", z.ZodTypeAny, { error: string; success: boolean; operation: "search_macros"; count?: number | undefined; next_page?: string | null | undefined; macros?: { id: number; description?: string | null | undefined; title?: string | undefined; created_at?: string | undefined; actions?: { value: string | number | boolean | string[] | null; field: string; }[] | undefined; updated_at?: string | undefined; active?: boolean | undefined; restriction?: { type?: string | undefined; id?: number | undefined; ids?: number[] | undefined; } | null | undefined; }[] | undefined; }, { error: string; success: boolean; operation: "search_macros"; count?: number | undefined; next_page?: string | null | undefined; macros?: { id: number; description?: string | null | undefined; title?: string | undefined; created_at?: string | undefined; actions?: { value: string | number | boolean | string[] | null; field: string; }[] | undefined; updated_at?: string | undefined; active?: boolean | undefined; restriction?: { type?: string | undefined; id?: number | undefined; ids?: number[] | undefined; } | null | undefined; }[] | undefined; }>, z.ZodObject<{ operation: z.ZodLiteral<"upload_attachment">; success: z.ZodBoolean; upload: z.ZodOptional; }, "strip", z.ZodTypeAny, { token: string; attachment: { id: number; size: number; file_name: string; content_type: string; content_url: string; }; }, { token: string; attachment: { id: number; size: number; file_name: string; content_type: string; content_url: string; }; }>>; error: z.ZodString; }, "strip", z.ZodTypeAny, { error: string; success: boolean; operation: "upload_attachment"; upload?: { token: string; attachment: { id: number; size: number; file_name: string; content_type: string; content_url: string; }; } | undefined; }, { error: string; success: boolean; operation: "upload_attachment"; upload?: { token: string; attachment: { id: number; size: number; file_name: string; content_type: string; content_url: string; }; } | undefined; }>]>; export type ZendeskParams = z.output; export type ZendeskParamsInput = z.input; export type ZendeskResult = z.output; //# sourceMappingURL=zendesk.schema.d.ts.map