import { ServiceBubble } from '../../../types/service-bubble-class.js'; import type { BubbleContext } from '../../../types/bubble.js'; import { CredentialType } from '@bubblelab/shared-schemas'; import { type ZendeskParamsInput, type ZendeskResult } from './zendesk.schema.js'; /** * Zendesk Service Bubble * * Zendesk integration for managing tickets, users, organizations, and help center articles. * * Features: * - Create, retrieve, update, and list tickets * - List and read ticket comments / replies * - List and retrieve users and organizations * - Unified search across all Zendesk resources * - Help Center article management * * Security Features: * - OAuth 2.0 authentication with Zendesk * - Subdomain-scoped API access * - Secure credential handling */ export declare class ZendeskBubble extends ServiceBubble> { static readonly type: "service"; static readonly service = "zendesk"; static readonly authType: "oauth"; static readonly bubbleName = "zendesk"; static readonly schema: import("zod").ZodDiscriminatedUnion<"operation", [import("zod").ZodObject<{ operation: import("zod").ZodLiteral<"list_tickets">; status: import("zod").ZodOptional>; sort_by: import("zod").ZodDefault>>; sort_order: import("zod").ZodDefault>>; page: import("zod").ZodDefault>; per_page: import("zod").ZodDefault>; credentials: import("zod").ZodOptional, import("zod").ZodString>>; }, "strip", import("zod").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; }>, import("zod").ZodObject<{ operation: import("zod").ZodLiteral<"get_ticket">; ticket_id: import("zod").ZodString; credentials: import("zod").ZodOptional, import("zod").ZodString>>; }, "strip", import("zod").ZodTypeAny, { operation: "get_ticket"; ticket_id: string; credentials?: Partial> | undefined; }, { operation: "get_ticket"; ticket_id: string; credentials?: Partial> | undefined; }>, import("zod").ZodObject<{ operation: import("zod").ZodLiteral<"create_ticket">; subject: import("zod").ZodString; body: import("zod").ZodString; requester_email: import("zod").ZodOptional; requester_name: import("zod").ZodOptional; assignee_id: import("zod").ZodOptional; priority: import("zod").ZodOptional>; type: import("zod").ZodOptional>; tags: import("zod").ZodOptional>; custom_fields: import("zod").ZodOptional, import("zod").ZodNull]>; }, "strip", import("zod").ZodTypeAny, { value: string | number | boolean | string[] | null; id: number; }, { value: string | number | boolean | string[] | null; id: number; }>, "many">>; uploads: import("zod").ZodOptional>; credentials: import("zod").ZodOptional, import("zod").ZodString>>; }, "strip", import("zod").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; }>, import("zod").ZodObject<{ operation: import("zod").ZodLiteral<"update_ticket">; ticket_id: import("zod").ZodString; comment: import("zod").ZodOptional; public: import("zod").ZodDefault>; status: import("zod").ZodOptional>; priority: import("zod").ZodOptional>; assignee_id: import("zod").ZodOptional; tags: import("zod").ZodOptional>; custom_fields: import("zod").ZodOptional, import("zod").ZodNull]>; }, "strip", import("zod").ZodTypeAny, { value: string | number | boolean | string[] | null; id: number; }, { value: string | number | boolean | string[] | null; id: number; }>, "many">>; uploads: import("zod").ZodOptional>; credentials: import("zod").ZodOptional, import("zod").ZodString>>; }, "strip", import("zod").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; }>, import("zod").ZodObject<{ operation: import("zod").ZodLiteral<"list_ticket_comments">; ticket_id: import("zod").ZodString; sort_order: import("zod").ZodDefault>>; page: import("zod").ZodDefault>; per_page: import("zod").ZodDefault>; credentials: import("zod").ZodOptional, import("zod").ZodString>>; }, "strip", import("zod").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; }>, import("zod").ZodObject<{ operation: import("zod").ZodLiteral<"list_users">; query: import("zod").ZodOptional; role: import("zod").ZodOptional>; page: import("zod").ZodDefault>; per_page: import("zod").ZodDefault>; credentials: import("zod").ZodOptional, import("zod").ZodString>>; }, "strip", import("zod").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; }>, import("zod").ZodObject<{ operation: import("zod").ZodLiteral<"get_user">; user_id: import("zod").ZodString; credentials: import("zod").ZodOptional, import("zod").ZodString>>; }, "strip", import("zod").ZodTypeAny, { operation: "get_user"; user_id: string; credentials?: Partial> | undefined; }, { operation: "get_user"; user_id: string; credentials?: Partial> | undefined; }>, import("zod").ZodObject<{ operation: import("zod").ZodLiteral<"list_organizations">; query: import("zod").ZodOptional; page: import("zod").ZodDefault>; per_page: import("zod").ZodDefault>; credentials: import("zod").ZodOptional, import("zod").ZodString>>; }, "strip", import("zod").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; }>, import("zod").ZodObject<{ operation: import("zod").ZodLiteral<"get_organization">; organization_id: import("zod").ZodString; credentials: import("zod").ZodOptional, import("zod").ZodString>>; }, "strip", import("zod").ZodTypeAny, { operation: "get_organization"; organization_id: string; credentials?: Partial> | undefined; }, { operation: "get_organization"; organization_id: string; credentials?: Partial> | undefined; }>, import("zod").ZodObject<{ operation: import("zod").ZodLiteral<"search">; query: import("zod").ZodString; sort_by: import("zod").ZodOptional>; sort_order: import("zod").ZodDefault>>; page: import("zod").ZodDefault>; per_page: import("zod").ZodDefault>; credentials: import("zod").ZodOptional, import("zod").ZodString>>; }, "strip", import("zod").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; }>, import("zod").ZodObject<{ operation: import("zod").ZodLiteral<"list_articles">; query: import("zod").ZodOptional; section_id: import("zod").ZodOptional; category_id: import("zod").ZodOptional; locale: import("zod").ZodOptional; page: import("zod").ZodDefault>; per_page: import("zod").ZodDefault>; credentials: import("zod").ZodOptional, import("zod").ZodString>>; }, "strip", import("zod").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; }>, import("zod").ZodObject<{ operation: import("zod").ZodLiteral<"get_article">; article_id: import("zod").ZodString; locale: import("zod").ZodOptional; credentials: import("zod").ZodOptional, import("zod").ZodString>>; }, "strip", import("zod").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; }>, import("zod").ZodObject<{ operation: import("zod").ZodLiteral<"list_ticket_fields">; credentials: import("zod").ZodOptional, import("zod").ZodString>>; }, "strip", import("zod").ZodTypeAny, { operation: "list_ticket_fields"; credentials?: Partial> | undefined; }, { operation: "list_ticket_fields"; credentials?: Partial> | undefined; }>, import("zod").ZodObject<{ operation: import("zod").ZodLiteral<"create_ticket_field">; type: import("zod").ZodEnum<["text", "textarea", "checkbox", "date", "integer", "decimal", "regexp", "partialcreditcard", "multiselect", "tagger", "lookup"]>; title: import("zod").ZodString; description: import("zod").ZodOptional; required: import("zod").ZodOptional; active: import("zod").ZodDefault>; custom_field_options: import("zod").ZodOptional, "many">>; tag: import("zod").ZodOptional; regexp_for_validation: import("zod").ZodOptional; credentials: import("zod").ZodOptional, import("zod").ZodString>>; }, "strip", import("zod").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; }>, import("zod").ZodObject<{ operation: import("zod").ZodLiteral<"delete_ticket_field">; ticket_field_id: import("zod").ZodString; credentials: import("zod").ZodOptional, import("zod").ZodString>>; }, "strip", import("zod").ZodTypeAny, { operation: "delete_ticket_field"; ticket_field_id: string; credentials?: Partial> | undefined; }, { operation: "delete_ticket_field"; ticket_field_id: string; credentials?: Partial> | undefined; }>, import("zod").ZodObject<{ operation: import("zod").ZodLiteral<"list_macros">; active: import("zod").ZodOptional; category: import("zod").ZodOptional; include: import("zod").ZodOptional>; page: import("zod").ZodDefault>; per_page: import("zod").ZodDefault>; credentials: import("zod").ZodOptional, import("zod").ZodString>>; }, "strip", import("zod").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; }>, import("zod").ZodObject<{ operation: import("zod").ZodLiteral<"get_macro">; macro_id: import("zod").ZodString; credentials: import("zod").ZodOptional, import("zod").ZodString>>; }, "strip", import("zod").ZodTypeAny, { operation: "get_macro"; macro_id: string; credentials?: Partial> | undefined; }, { operation: "get_macro"; macro_id: string; credentials?: Partial> | undefined; }>, import("zod").ZodObject<{ operation: import("zod").ZodLiteral<"apply_macro">; ticket_id: import("zod").ZodString; macro_id: import("zod").ZodString; credentials: import("zod").ZodOptional, import("zod").ZodString>>; }, "strip", import("zod").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; }>, import("zod").ZodObject<{ operation: import("zod").ZodLiteral<"create_macro">; title: import("zod").ZodString; actions: import("zod").ZodArray, import("zod").ZodNull]>; }, "strip", import("zod").ZodTypeAny, { value: string | number | boolean | string[] | null; field: string; }, { value: string | number | boolean | string[] | null; field: string; }>, "many">; active: import("zod").ZodDefault>; description: import("zod").ZodOptional; restriction: import("zod").ZodOptional; ids: import("zod").ZodOptional>; }, "strip", import("zod").ZodTypeAny, { type: string; id?: number | undefined; ids?: number[] | undefined; }, { type: string; id?: number | undefined; ids?: number[] | undefined; }>>; credentials: import("zod").ZodOptional, import("zod").ZodString>>; }, "strip", import("zod").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; }>, import("zod").ZodObject<{ operation: import("zod").ZodLiteral<"update_macro">; macro_id: import("zod").ZodString; title: import("zod").ZodOptional; actions: import("zod").ZodOptional, import("zod").ZodNull]>; }, "strip", import("zod").ZodTypeAny, { value: string | number | boolean | string[] | null; field: string; }, { value: string | number | boolean | string[] | null; field: string; }>, "many">>; active: import("zod").ZodOptional; description: import("zod").ZodOptional; restriction: import("zod").ZodOptional; ids: import("zod").ZodOptional>; }, "strip", import("zod").ZodTypeAny, { type: string; id?: number | undefined; ids?: number[] | undefined; }, { type: string; id?: number | undefined; ids?: number[] | undefined; }>>; credentials: import("zod").ZodOptional, import("zod").ZodString>>; }, "strip", import("zod").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; }>, import("zod").ZodObject<{ operation: import("zod").ZodLiteral<"delete_macro">; macro_id: import("zod").ZodString; credentials: import("zod").ZodOptional, import("zod").ZodString>>; }, "strip", import("zod").ZodTypeAny, { operation: "delete_macro"; macro_id: string; credentials?: Partial> | undefined; }, { operation: "delete_macro"; macro_id: string; credentials?: Partial> | undefined; }>, import("zod").ZodObject<{ operation: import("zod").ZodLiteral<"search_macros">; query: import("zod").ZodString; active: import("zod").ZodOptional; include: import("zod").ZodOptional>; page: import("zod").ZodDefault>; per_page: import("zod").ZodDefault>; credentials: import("zod").ZodOptional, import("zod").ZodString>>; }, "strip", import("zod").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; }>, import("zod").ZodObject<{ operation: import("zod").ZodLiteral<"upload_attachment">; filename: import("zod").ZodString; content: import("zod").ZodString; content_type: import("zod").ZodOptional; credentials: import("zod").ZodOptional, import("zod").ZodString>>; }, "strip", import("zod").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; }>]>; static readonly resultSchema: import("zod").ZodDiscriminatedUnion<"operation", [import("zod").ZodObject<{ operation: import("zod").ZodLiteral<"list_tickets">; success: import("zod").ZodBoolean; tickets: import("zod").ZodOptional; description: import("zod").ZodOptional; status: import("zod").ZodOptional; priority: import("zod").ZodNullable>; type: import("zod").ZodNullable>; requester_id: import("zod").ZodOptional; assignee_id: import("zod").ZodNullable>; organization_id: import("zod").ZodNullable>; tags: import("zod").ZodOptional>; custom_fields: import("zod").ZodOptional, import("zod").ZodNull]>>; }, "strip", import("zod").ZodTypeAny, { value: string | number | boolean | string[] | null; id: number; }, { value: string | number | boolean | string[] | null; id: number; }>, "many">>; created_at: import("zod").ZodOptional; updated_at: import("zod").ZodOptional; }, "strip", import("zod").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: import("zod").ZodOptional; next_page: import("zod").ZodNullable>; error: import("zod").ZodString; }, "strip", import("zod").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; }>, import("zod").ZodObject<{ operation: import("zod").ZodLiteral<"get_ticket">; success: import("zod").ZodBoolean; ticket: import("zod").ZodOptional; description: import("zod").ZodOptional; status: import("zod").ZodOptional; priority: import("zod").ZodNullable>; type: import("zod").ZodNullable>; requester_id: import("zod").ZodOptional; assignee_id: import("zod").ZodNullable>; organization_id: import("zod").ZodNullable>; tags: import("zod").ZodOptional>; custom_fields: import("zod").ZodOptional, import("zod").ZodNull]>>; }, "strip", import("zod").ZodTypeAny, { value: string | number | boolean | string[] | null; id: number; }, { value: string | number | boolean | string[] | null; id: number; }>, "many">>; created_at: import("zod").ZodOptional; updated_at: import("zod").ZodOptional; }, "strip", import("zod").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: import("zod").ZodString; }, "strip", import("zod").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; }>, import("zod").ZodObject<{ operation: import("zod").ZodLiteral<"create_ticket">; success: import("zod").ZodBoolean; ticket: import("zod").ZodOptional; description: import("zod").ZodOptional; status: import("zod").ZodOptional; priority: import("zod").ZodNullable>; type: import("zod").ZodNullable>; requester_id: import("zod").ZodOptional; assignee_id: import("zod").ZodNullable>; organization_id: import("zod").ZodNullable>; tags: import("zod").ZodOptional>; custom_fields: import("zod").ZodOptional, import("zod").ZodNull]>>; }, "strip", import("zod").ZodTypeAny, { value: string | number | boolean | string[] | null; id: number; }, { value: string | number | boolean | string[] | null; id: number; }>, "many">>; created_at: import("zod").ZodOptional; updated_at: import("zod").ZodOptional; }, "strip", import("zod").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: import("zod").ZodString; }, "strip", import("zod").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; }>, import("zod").ZodObject<{ operation: import("zod").ZodLiteral<"update_ticket">; success: import("zod").ZodBoolean; ticket: import("zod").ZodOptional; description: import("zod").ZodOptional; status: import("zod").ZodOptional; priority: import("zod").ZodNullable>; type: import("zod").ZodNullable>; requester_id: import("zod").ZodOptional; assignee_id: import("zod").ZodNullable>; organization_id: import("zod").ZodNullable>; tags: import("zod").ZodOptional>; custom_fields: import("zod").ZodOptional, import("zod").ZodNull]>>; }, "strip", import("zod").ZodTypeAny, { value: string | number | boolean | string[] | null; id: number; }, { value: string | number | boolean | string[] | null; id: number; }>, "many">>; created_at: import("zod").ZodOptional; updated_at: import("zod").ZodOptional; }, "strip", import("zod").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: import("zod").ZodString; }, "strip", import("zod").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; }>, import("zod").ZodObject<{ operation: import("zod").ZodLiteral<"list_ticket_comments">; success: import("zod").ZodBoolean; comments: import("zod").ZodOptional; html_body: import("zod").ZodOptional; public: import("zod").ZodOptional; author_id: import("zod").ZodOptional; attachments: import("zod").ZodOptional, "many">>; created_at: import("zod").ZodOptional; }, "strip", import("zod").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: import("zod").ZodOptional; next_page: import("zod").ZodNullable>; error: import("zod").ZodString; }, "strip", import("zod").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; }>, import("zod").ZodObject<{ operation: import("zod").ZodLiteral<"list_users">; success: import("zod").ZodBoolean; users: import("zod").ZodOptional; email: import("zod").ZodOptional; role: import("zod").ZodOptional; organization_id: import("zod").ZodNullable>; active: import("zod").ZodOptional; created_at: import("zod").ZodOptional; }, "strip", import("zod").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: import("zod").ZodOptional; next_page: import("zod").ZodNullable>; error: import("zod").ZodString; }, "strip", import("zod").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; }>, import("zod").ZodObject<{ operation: import("zod").ZodLiteral<"get_user">; success: import("zod").ZodBoolean; user: import("zod").ZodOptional; email: import("zod").ZodOptional; role: import("zod").ZodOptional; organization_id: import("zod").ZodNullable>; active: import("zod").ZodOptional; created_at: import("zod").ZodOptional; }, "strip", import("zod").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: import("zod").ZodString; }, "strip", import("zod").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; }>, import("zod").ZodObject<{ operation: import("zod").ZodLiteral<"list_organizations">; success: import("zod").ZodBoolean; organizations: import("zod").ZodOptional; domain_names: import("zod").ZodOptional>; external_id: import("zod").ZodNullable>; created_at: import("zod").ZodOptional; }, "strip", import("zod").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: import("zod").ZodOptional; next_page: import("zod").ZodNullable>; error: import("zod").ZodString; }, "strip", import("zod").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; }>, import("zod").ZodObject<{ operation: import("zod").ZodLiteral<"get_organization">; success: import("zod").ZodBoolean; organization: import("zod").ZodOptional; domain_names: import("zod").ZodOptional>; external_id: import("zod").ZodNullable>; created_at: import("zod").ZodOptional; }, "strip", import("zod").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: import("zod").ZodString; }, "strip", import("zod").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; }>, import("zod").ZodObject<{ operation: import("zod").ZodLiteral<"search">; success: import("zod").ZodBoolean; results: import("zod").ZodOptional, "many">>; count: import("zod").ZodOptional; next_page: import("zod").ZodNullable>; error: import("zod").ZodString; }, "strip", import("zod").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; }>, import("zod").ZodObject<{ operation: import("zod").ZodLiteral<"list_ticket_fields">; success: import("zod").ZodBoolean; ticket_fields: import("zod").ZodOptional>; active: import("zod").ZodOptional; required: import("zod").ZodOptional; custom_field_options: import("zod").ZodNullable, "many">>>; }, "strip", import("zod").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: import("zod").ZodString; }, "strip", import("zod").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; }>, import("zod").ZodObject<{ operation: import("zod").ZodLiteral<"create_ticket_field">; success: import("zod").ZodBoolean; ticket_field: import("zod").ZodOptional; required: import("zod").ZodOptional; custom_field_options: import("zod").ZodNullable, "many">>>; }, "strip", import("zod").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: import("zod").ZodString; }, "strip", import("zod").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; }>, import("zod").ZodObject<{ operation: import("zod").ZodLiteral<"delete_ticket_field">; success: import("zod").ZodBoolean; error: import("zod").ZodString; }, "strip", import("zod").ZodTypeAny, { error: string; success: boolean; operation: "delete_ticket_field"; }, { error: string; success: boolean; operation: "delete_ticket_field"; }>, import("zod").ZodObject<{ operation: import("zod").ZodLiteral<"list_articles">; success: import("zod").ZodBoolean; articles: import("zod").ZodOptional; body: import("zod").ZodOptional; locale: import("zod").ZodOptional; section_id: import("zod").ZodOptional; author_id: import("zod").ZodOptional; draft: import("zod").ZodOptional; created_at: import("zod").ZodOptional; updated_at: import("zod").ZodOptional; }, "strip", import("zod").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: import("zod").ZodOptional; next_page: import("zod").ZodNullable>; error: import("zod").ZodString; }, "strip", import("zod").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; }>, import("zod").ZodObject<{ operation: import("zod").ZodLiteral<"get_article">; success: import("zod").ZodBoolean; article: import("zod").ZodOptional; body: import("zod").ZodOptional; locale: import("zod").ZodOptional; section_id: import("zod").ZodOptional; author_id: import("zod").ZodOptional; draft: import("zod").ZodOptional; created_at: import("zod").ZodOptional; updated_at: import("zod").ZodOptional; }, "strip", import("zod").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: import("zod").ZodString; }, "strip", import("zod").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; }>, import("zod").ZodObject<{ operation: import("zod").ZodLiteral<"list_macros">; success: import("zod").ZodBoolean; macros: import("zod").ZodOptional; description: import("zod").ZodNullable>; active: import("zod").ZodOptional; actions: import("zod").ZodOptional, import("zod").ZodNull]>>; }, "strip", import("zod").ZodTypeAny, { value: string | number | boolean | string[] | null; field: string; }, { value: string | number | boolean | string[] | null; field: string; }>, "many">>; restriction: import("zod").ZodNullable; id: import("zod").ZodOptional; ids: import("zod").ZodOptional>; }, "strip", import("zod").ZodTypeAny, { type?: string | undefined; id?: number | undefined; ids?: number[] | undefined; }, { type?: string | undefined; id?: number | undefined; ids?: number[] | undefined; }>>>; created_at: import("zod").ZodOptional; updated_at: import("zod").ZodOptional; }, "strip", import("zod").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: import("zod").ZodOptional; next_page: import("zod").ZodNullable>; error: import("zod").ZodString; }, "strip", import("zod").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; }>, import("zod").ZodObject<{ operation: import("zod").ZodLiteral<"get_macro">; success: import("zod").ZodBoolean; macro: import("zod").ZodOptional; description: import("zod").ZodNullable>; active: import("zod").ZodOptional; actions: import("zod").ZodOptional, import("zod").ZodNull]>>; }, "strip", import("zod").ZodTypeAny, { value: string | number | boolean | string[] | null; field: string; }, { value: string | number | boolean | string[] | null; field: string; }>, "many">>; restriction: import("zod").ZodNullable; id: import("zod").ZodOptional; ids: import("zod").ZodOptional>; }, "strip", import("zod").ZodTypeAny, { type?: string | undefined; id?: number | undefined; ids?: number[] | undefined; }, { type?: string | undefined; id?: number | undefined; ids?: number[] | undefined; }>>>; created_at: import("zod").ZodOptional; updated_at: import("zod").ZodOptional; }, "strip", import("zod").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: import("zod").ZodString; }, "strip", import("zod").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; }>, import("zod").ZodObject<{ operation: import("zod").ZodLiteral<"apply_macro">; success: import("zod").ZodBoolean; result: import("zod").ZodOptional>; comment: import("zod").ZodOptional; html_body: import("zod").ZodOptional; public: import("zod").ZodOptional; scoped_body: import("zod").ZodOptional, "many">>; }, "strip", import("zod").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", import("zod").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: import("zod").ZodString; }, "strip", import("zod").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; }>, import("zod").ZodObject<{ operation: import("zod").ZodLiteral<"create_macro">; success: import("zod").ZodBoolean; macro: import("zod").ZodOptional; description: import("zod").ZodNullable>; active: import("zod").ZodOptional; actions: import("zod").ZodOptional, import("zod").ZodNull]>>; }, "strip", import("zod").ZodTypeAny, { value: string | number | boolean | string[] | null; field: string; }, { value: string | number | boolean | string[] | null; field: string; }>, "many">>; restriction: import("zod").ZodNullable; id: import("zod").ZodOptional; ids: import("zod").ZodOptional>; }, "strip", import("zod").ZodTypeAny, { type?: string | undefined; id?: number | undefined; ids?: number[] | undefined; }, { type?: string | undefined; id?: number | undefined; ids?: number[] | undefined; }>>>; created_at: import("zod").ZodOptional; updated_at: import("zod").ZodOptional; }, "strip", import("zod").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: import("zod").ZodString; }, "strip", import("zod").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; }>, import("zod").ZodObject<{ operation: import("zod").ZodLiteral<"update_macro">; success: import("zod").ZodBoolean; macro: import("zod").ZodOptional; description: import("zod").ZodNullable>; active: import("zod").ZodOptional; actions: import("zod").ZodOptional, import("zod").ZodNull]>>; }, "strip", import("zod").ZodTypeAny, { value: string | number | boolean | string[] | null; field: string; }, { value: string | number | boolean | string[] | null; field: string; }>, "many">>; restriction: import("zod").ZodNullable; id: import("zod").ZodOptional; ids: import("zod").ZodOptional>; }, "strip", import("zod").ZodTypeAny, { type?: string | undefined; id?: number | undefined; ids?: number[] | undefined; }, { type?: string | undefined; id?: number | undefined; ids?: number[] | undefined; }>>>; created_at: import("zod").ZodOptional; updated_at: import("zod").ZodOptional; }, "strip", import("zod").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: import("zod").ZodString; }, "strip", import("zod").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; }>, import("zod").ZodObject<{ operation: import("zod").ZodLiteral<"delete_macro">; success: import("zod").ZodBoolean; error: import("zod").ZodString; }, "strip", import("zod").ZodTypeAny, { error: string; success: boolean; operation: "delete_macro"; }, { error: string; success: boolean; operation: "delete_macro"; }>, import("zod").ZodObject<{ operation: import("zod").ZodLiteral<"search_macros">; success: import("zod").ZodBoolean; macros: import("zod").ZodOptional; description: import("zod").ZodNullable>; active: import("zod").ZodOptional; actions: import("zod").ZodOptional, import("zod").ZodNull]>>; }, "strip", import("zod").ZodTypeAny, { value: string | number | boolean | string[] | null; field: string; }, { value: string | number | boolean | string[] | null; field: string; }>, "many">>; restriction: import("zod").ZodNullable; id: import("zod").ZodOptional; ids: import("zod").ZodOptional>; }, "strip", import("zod").ZodTypeAny, { type?: string | undefined; id?: number | undefined; ids?: number[] | undefined; }, { type?: string | undefined; id?: number | undefined; ids?: number[] | undefined; }>>>; created_at: import("zod").ZodOptional; updated_at: import("zod").ZodOptional; }, "strip", import("zod").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: import("zod").ZodOptional; next_page: import("zod").ZodNullable>; error: import("zod").ZodString; }, "strip", import("zod").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; }>, import("zod").ZodObject<{ operation: import("zod").ZodLiteral<"upload_attachment">; success: import("zod").ZodBoolean; upload: import("zod").ZodOptional; }, "strip", import("zod").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: import("zod").ZodString; }, "strip", import("zod").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; }>]>; static readonly shortDescription = "Zendesk integration for tickets, comments, users, and help center"; static readonly longDescription = "\n Zendesk customer support integration for ticket management and help center.\n\n Features:\n - Create, retrieve, update, and list support tickets\n - List ticket comments and add replies (public or internal notes)\n - List and retrieve users and organizations\n - Unified search across tickets, users, and organizations\n - Help Center article listing and retrieval\n\n Use cases:\n - Automated ticket triage and response\n - Customer support workflow automation\n - Help center content management\n - Support analytics and reporting\n\n Security Features:\n - OAuth 2.0 authentication with Zendesk\n - Subdomain-scoped API access\n - Secure credential handling and validation\n "; static readonly alias = "support"; constructor(params?: T, context?: BubbleContext); testCredential(): Promise; /** * Zendesk credential format: * Base64-encoded JSON: { accessToken, subdomain } * The subdomain identifies which Zendesk instance to access. */ private parseCredentials; protected chooseCredential(): string | undefined; private makeZendeskApiRequest; protected performAction(context?: BubbleContext): Promise>; private listTickets; private getTicket; private createTicket; private updateTicket; private listTicketFields; private createTicketField; private deleteTicketField; private listTicketComments; private listUsers; private getUser; private listOrganizations; private getOrganization; private search; private listArticles; private getArticle; private listMacros; private getMacro; private applyMacro; private createMacro; private updateMacro; private deleteMacro; private searchMacros; private static readonly MIME_TYPES; private inferContentType; private uploadAttachment; private mapTicket; private mapComment; private mapUser; private mapOrganization; private mapMacro; private mapArticle; } //# sourceMappingURL=zendesk.d.ts.map