@bubblelab/bubble-core 0.1.219 → 0.1.221

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (30) hide show
  1. package/dist/bubble-bundle.d.ts +66 -27
  2. package/dist/bubble-factory.d.ts.map +1 -1
  3. package/dist/bubble-factory.js +22 -46
  4. package/dist/bubble-factory.js.map +1 -1
  5. package/dist/bubbles/service-bubble/slack/slack-table-blocks.d.ts +1 -0
  6. package/dist/bubbles/service-bubble/slack/slack-table-blocks.d.ts.map +1 -1
  7. package/dist/bubbles/service-bubble/slack/slack-table-blocks.js +1 -0
  8. package/dist/bubbles/service-bubble/slack/slack-table-blocks.js.map +1 -1
  9. package/dist/bubbles/service-bubble/slack/slack.d.ts.map +1 -1
  10. package/dist/bubbles/service-bubble/slack/slack.js +23 -22
  11. package/dist/bubbles/service-bubble/slack/slack.js.map +1 -1
  12. package/dist/bubbles/service-bubble/zendesk/index.d.ts +3 -0
  13. package/dist/bubbles/service-bubble/zendesk/index.d.ts.map +1 -0
  14. package/dist/bubbles/service-bubble/zendesk/index.js +3 -0
  15. package/dist/bubbles/service-bubble/zendesk/index.js.map +1 -0
  16. package/dist/bubbles/service-bubble/zendesk/zendesk.d.ts +1065 -0
  17. package/dist/bubbles/service-bubble/zendesk/zendesk.d.ts.map +1 -0
  18. package/dist/bubbles/service-bubble/zendesk/zendesk.js +531 -0
  19. package/dist/bubbles/service-bubble/zendesk/zendesk.js.map +1 -0
  20. package/dist/bubbles/service-bubble/zendesk/zendesk.schema.d.ts +1008 -0
  21. package/dist/bubbles/service-bubble/zendesk/zendesk.schema.d.ts.map +1 -0
  22. package/dist/bubbles/service-bubble/zendesk/zendesk.schema.js +473 -0
  23. package/dist/bubbles/service-bubble/zendesk/zendesk.schema.js.map +1 -0
  24. package/dist/bubbles/tool-bubble/reddit-scrape-tool.d.ts +4 -4
  25. package/dist/bubbles.json +1523 -2
  26. package/dist/index.d.ts +2 -0
  27. package/dist/index.d.ts.map +1 -1
  28. package/dist/index.js +1 -0
  29. package/dist/index.js.map +1 -1
  30. package/package.json +2 -2
@@ -0,0 +1,1065 @@
1
+ import { ServiceBubble } from '../../../types/service-bubble-class.js';
2
+ import type { BubbleContext } from '../../../types/bubble.js';
3
+ import { CredentialType } from '@bubblelab/shared-schemas';
4
+ import { type ZendeskParamsInput, type ZendeskResult } from './zendesk.schema.js';
5
+ /**
6
+ * Zendesk Service Bubble
7
+ *
8
+ * Zendesk integration for managing tickets, users, organizations, and help center articles.
9
+ *
10
+ * Features:
11
+ * - Create, retrieve, update, and list tickets
12
+ * - List and read ticket comments / replies
13
+ * - List and retrieve users and organizations
14
+ * - Unified search across all Zendesk resources
15
+ * - Help Center article management
16
+ *
17
+ * Security Features:
18
+ * - OAuth 2.0 authentication with Zendesk
19
+ * - Subdomain-scoped API access
20
+ * - Secure credential handling
21
+ */
22
+ export declare class ZendeskBubble<T extends ZendeskParamsInput = ZendeskParamsInput> extends ServiceBubble<T, Extract<ZendeskResult, {
23
+ operation: T['operation'];
24
+ }>> {
25
+ static readonly type: "service";
26
+ static readonly service = "zendesk";
27
+ static readonly authType: "oauth";
28
+ static readonly bubbleName = "zendesk";
29
+ static readonly schema: import("zod").ZodDiscriminatedUnion<"operation", [import("zod").ZodObject<{
30
+ operation: import("zod").ZodLiteral<"list_tickets">;
31
+ status: import("zod").ZodOptional<import("zod").ZodEnum<["new", "open", "pending", "hold", "solved", "closed"]>>;
32
+ sort_by: import("zod").ZodDefault<import("zod").ZodOptional<import("zod").ZodEnum<["created_at", "updated_at", "priority", "status"]>>>;
33
+ sort_order: import("zod").ZodDefault<import("zod").ZodOptional<import("zod").ZodEnum<["asc", "desc"]>>>;
34
+ page: import("zod").ZodDefault<import("zod").ZodOptional<import("zod").ZodNumber>>;
35
+ per_page: import("zod").ZodDefault<import("zod").ZodOptional<import("zod").ZodNumber>>;
36
+ credentials: import("zod").ZodOptional<import("zod").ZodRecord<import("zod").ZodNativeEnum<typeof CredentialType>, import("zod").ZodString>>;
37
+ }, "strip", import("zod").ZodTypeAny, {
38
+ operation: "list_tickets";
39
+ page: number;
40
+ per_page: number;
41
+ sort_by: "status" | "priority" | "created_at" | "updated_at";
42
+ sort_order: "asc" | "desc";
43
+ status?: "pending" | "open" | "closed" | "new" | "hold" | "solved" | undefined;
44
+ credentials?: Partial<Record<CredentialType, string>> | undefined;
45
+ }, {
46
+ operation: "list_tickets";
47
+ status?: "pending" | "open" | "closed" | "new" | "hold" | "solved" | undefined;
48
+ credentials?: Partial<Record<CredentialType, string>> | undefined;
49
+ page?: number | undefined;
50
+ per_page?: number | undefined;
51
+ sort_by?: "status" | "priority" | "created_at" | "updated_at" | undefined;
52
+ sort_order?: "asc" | "desc" | undefined;
53
+ }>, import("zod").ZodObject<{
54
+ operation: import("zod").ZodLiteral<"get_ticket">;
55
+ ticket_id: import("zod").ZodString;
56
+ credentials: import("zod").ZodOptional<import("zod").ZodRecord<import("zod").ZodNativeEnum<typeof CredentialType>, import("zod").ZodString>>;
57
+ }, "strip", import("zod").ZodTypeAny, {
58
+ operation: "get_ticket";
59
+ ticket_id: string;
60
+ credentials?: Partial<Record<CredentialType, string>> | undefined;
61
+ }, {
62
+ operation: "get_ticket";
63
+ ticket_id: string;
64
+ credentials?: Partial<Record<CredentialType, string>> | undefined;
65
+ }>, import("zod").ZodObject<{
66
+ operation: import("zod").ZodLiteral<"create_ticket">;
67
+ subject: import("zod").ZodString;
68
+ body: import("zod").ZodString;
69
+ requester_email: import("zod").ZodOptional<import("zod").ZodString>;
70
+ requester_name: import("zod").ZodOptional<import("zod").ZodString>;
71
+ assignee_id: import("zod").ZodOptional<import("zod").ZodNumber>;
72
+ priority: import("zod").ZodOptional<import("zod").ZodEnum<["urgent", "high", "normal", "low"]>>;
73
+ type: import("zod").ZodOptional<import("zod").ZodEnum<["problem", "incident", "question", "task"]>>;
74
+ tags: import("zod").ZodOptional<import("zod").ZodArray<import("zod").ZodString, "many">>;
75
+ credentials: import("zod").ZodOptional<import("zod").ZodRecord<import("zod").ZodNativeEnum<typeof CredentialType>, import("zod").ZodString>>;
76
+ }, "strip", import("zod").ZodTypeAny, {
77
+ operation: "create_ticket";
78
+ body: string;
79
+ subject: string;
80
+ type?: "question" | "task" | "problem" | "incident" | undefined;
81
+ credentials?: Partial<Record<CredentialType, string>> | undefined;
82
+ tags?: string[] | undefined;
83
+ priority?: "low" | "high" | "urgent" | "normal" | undefined;
84
+ requester_email?: string | undefined;
85
+ requester_name?: string | undefined;
86
+ assignee_id?: number | undefined;
87
+ }, {
88
+ operation: "create_ticket";
89
+ body: string;
90
+ subject: string;
91
+ type?: "question" | "task" | "problem" | "incident" | undefined;
92
+ credentials?: Partial<Record<CredentialType, string>> | undefined;
93
+ tags?: string[] | undefined;
94
+ priority?: "low" | "high" | "urgent" | "normal" | undefined;
95
+ requester_email?: string | undefined;
96
+ requester_name?: string | undefined;
97
+ assignee_id?: number | undefined;
98
+ }>, import("zod").ZodObject<{
99
+ operation: import("zod").ZodLiteral<"update_ticket">;
100
+ ticket_id: import("zod").ZodString;
101
+ comment: import("zod").ZodOptional<import("zod").ZodString>;
102
+ public: import("zod").ZodDefault<import("zod").ZodOptional<import("zod").ZodBoolean>>;
103
+ status: import("zod").ZodOptional<import("zod").ZodEnum<["new", "open", "pending", "hold", "solved", "closed"]>>;
104
+ priority: import("zod").ZodOptional<import("zod").ZodEnum<["urgent", "high", "normal", "low"]>>;
105
+ assignee_id: import("zod").ZodOptional<import("zod").ZodNumber>;
106
+ tags: import("zod").ZodOptional<import("zod").ZodArray<import("zod").ZodString, "many">>;
107
+ credentials: import("zod").ZodOptional<import("zod").ZodRecord<import("zod").ZodNativeEnum<typeof CredentialType>, import("zod").ZodString>>;
108
+ }, "strip", import("zod").ZodTypeAny, {
109
+ operation: "update_ticket";
110
+ public: boolean;
111
+ ticket_id: string;
112
+ status?: "pending" | "open" | "closed" | "new" | "hold" | "solved" | undefined;
113
+ credentials?: Partial<Record<CredentialType, string>> | undefined;
114
+ tags?: string[] | undefined;
115
+ priority?: "low" | "high" | "urgent" | "normal" | undefined;
116
+ comment?: string | undefined;
117
+ assignee_id?: number | undefined;
118
+ }, {
119
+ operation: "update_ticket";
120
+ ticket_id: string;
121
+ status?: "pending" | "open" | "closed" | "new" | "hold" | "solved" | undefined;
122
+ credentials?: Partial<Record<CredentialType, string>> | undefined;
123
+ tags?: string[] | undefined;
124
+ priority?: "low" | "high" | "urgent" | "normal" | undefined;
125
+ public?: boolean | undefined;
126
+ comment?: string | undefined;
127
+ assignee_id?: number | undefined;
128
+ }>, import("zod").ZodObject<{
129
+ operation: import("zod").ZodLiteral<"list_ticket_comments">;
130
+ ticket_id: import("zod").ZodString;
131
+ sort_order: import("zod").ZodDefault<import("zod").ZodOptional<import("zod").ZodEnum<["asc", "desc"]>>>;
132
+ page: import("zod").ZodDefault<import("zod").ZodOptional<import("zod").ZodNumber>>;
133
+ per_page: import("zod").ZodDefault<import("zod").ZodOptional<import("zod").ZodNumber>>;
134
+ credentials: import("zod").ZodOptional<import("zod").ZodRecord<import("zod").ZodNativeEnum<typeof CredentialType>, import("zod").ZodString>>;
135
+ }, "strip", import("zod").ZodTypeAny, {
136
+ operation: "list_ticket_comments";
137
+ page: number;
138
+ per_page: number;
139
+ sort_order: "asc" | "desc";
140
+ ticket_id: string;
141
+ credentials?: Partial<Record<CredentialType, string>> | undefined;
142
+ }, {
143
+ operation: "list_ticket_comments";
144
+ ticket_id: string;
145
+ credentials?: Partial<Record<CredentialType, string>> | undefined;
146
+ page?: number | undefined;
147
+ per_page?: number | undefined;
148
+ sort_order?: "asc" | "desc" | undefined;
149
+ }>, import("zod").ZodObject<{
150
+ operation: import("zod").ZodLiteral<"list_users">;
151
+ query: import("zod").ZodOptional<import("zod").ZodString>;
152
+ role: import("zod").ZodOptional<import("zod").ZodEnum<["end-user", "agent", "admin"]>>;
153
+ page: import("zod").ZodDefault<import("zod").ZodOptional<import("zod").ZodNumber>>;
154
+ per_page: import("zod").ZodDefault<import("zod").ZodOptional<import("zod").ZodNumber>>;
155
+ credentials: import("zod").ZodOptional<import("zod").ZodRecord<import("zod").ZodNativeEnum<typeof CredentialType>, import("zod").ZodString>>;
156
+ }, "strip", import("zod").ZodTypeAny, {
157
+ operation: "list_users";
158
+ page: number;
159
+ per_page: number;
160
+ credentials?: Partial<Record<CredentialType, string>> | undefined;
161
+ role?: "agent" | "end-user" | "admin" | undefined;
162
+ query?: string | undefined;
163
+ }, {
164
+ operation: "list_users";
165
+ credentials?: Partial<Record<CredentialType, string>> | undefined;
166
+ role?: "agent" | "end-user" | "admin" | undefined;
167
+ query?: string | undefined;
168
+ page?: number | undefined;
169
+ per_page?: number | undefined;
170
+ }>, import("zod").ZodObject<{
171
+ operation: import("zod").ZodLiteral<"get_user">;
172
+ user_id: import("zod").ZodString;
173
+ credentials: import("zod").ZodOptional<import("zod").ZodRecord<import("zod").ZodNativeEnum<typeof CredentialType>, import("zod").ZodString>>;
174
+ }, "strip", import("zod").ZodTypeAny, {
175
+ operation: "get_user";
176
+ user_id: string;
177
+ credentials?: Partial<Record<CredentialType, string>> | undefined;
178
+ }, {
179
+ operation: "get_user";
180
+ user_id: string;
181
+ credentials?: Partial<Record<CredentialType, string>> | undefined;
182
+ }>, import("zod").ZodObject<{
183
+ operation: import("zod").ZodLiteral<"list_organizations">;
184
+ query: import("zod").ZodOptional<import("zod").ZodString>;
185
+ page: import("zod").ZodDefault<import("zod").ZodOptional<import("zod").ZodNumber>>;
186
+ per_page: import("zod").ZodDefault<import("zod").ZodOptional<import("zod").ZodNumber>>;
187
+ credentials: import("zod").ZodOptional<import("zod").ZodRecord<import("zod").ZodNativeEnum<typeof CredentialType>, import("zod").ZodString>>;
188
+ }, "strip", import("zod").ZodTypeAny, {
189
+ operation: "list_organizations";
190
+ page: number;
191
+ per_page: number;
192
+ credentials?: Partial<Record<CredentialType, string>> | undefined;
193
+ query?: string | undefined;
194
+ }, {
195
+ operation: "list_organizations";
196
+ credentials?: Partial<Record<CredentialType, string>> | undefined;
197
+ query?: string | undefined;
198
+ page?: number | undefined;
199
+ per_page?: number | undefined;
200
+ }>, import("zod").ZodObject<{
201
+ operation: import("zod").ZodLiteral<"get_organization">;
202
+ organization_id: import("zod").ZodString;
203
+ credentials: import("zod").ZodOptional<import("zod").ZodRecord<import("zod").ZodNativeEnum<typeof CredentialType>, import("zod").ZodString>>;
204
+ }, "strip", import("zod").ZodTypeAny, {
205
+ operation: "get_organization";
206
+ organization_id: string;
207
+ credentials?: Partial<Record<CredentialType, string>> | undefined;
208
+ }, {
209
+ operation: "get_organization";
210
+ organization_id: string;
211
+ credentials?: Partial<Record<CredentialType, string>> | undefined;
212
+ }>, import("zod").ZodObject<{
213
+ operation: import("zod").ZodLiteral<"search">;
214
+ query: import("zod").ZodString;
215
+ sort_by: import("zod").ZodOptional<import("zod").ZodEnum<["updated_at", "created_at", "priority", "status", "ticket_type"]>>;
216
+ sort_order: import("zod").ZodDefault<import("zod").ZodOptional<import("zod").ZodEnum<["asc", "desc"]>>>;
217
+ page: import("zod").ZodDefault<import("zod").ZodOptional<import("zod").ZodNumber>>;
218
+ per_page: import("zod").ZodDefault<import("zod").ZodOptional<import("zod").ZodNumber>>;
219
+ credentials: import("zod").ZodOptional<import("zod").ZodRecord<import("zod").ZodNativeEnum<typeof CredentialType>, import("zod").ZodString>>;
220
+ }, "strip", import("zod").ZodTypeAny, {
221
+ query: string;
222
+ operation: "search";
223
+ page: number;
224
+ per_page: number;
225
+ sort_order: "asc" | "desc";
226
+ credentials?: Partial<Record<CredentialType, string>> | undefined;
227
+ sort_by?: "status" | "priority" | "created_at" | "updated_at" | "ticket_type" | undefined;
228
+ }, {
229
+ query: string;
230
+ operation: "search";
231
+ credentials?: Partial<Record<CredentialType, string>> | undefined;
232
+ page?: number | undefined;
233
+ per_page?: number | undefined;
234
+ sort_by?: "status" | "priority" | "created_at" | "updated_at" | "ticket_type" | undefined;
235
+ sort_order?: "asc" | "desc" | undefined;
236
+ }>, import("zod").ZodObject<{
237
+ operation: import("zod").ZodLiteral<"list_articles">;
238
+ query: import("zod").ZodOptional<import("zod").ZodString>;
239
+ section_id: import("zod").ZodOptional<import("zod").ZodString>;
240
+ category_id: import("zod").ZodOptional<import("zod").ZodString>;
241
+ locale: import("zod").ZodOptional<import("zod").ZodString>;
242
+ page: import("zod").ZodDefault<import("zod").ZodOptional<import("zod").ZodNumber>>;
243
+ per_page: import("zod").ZodDefault<import("zod").ZodOptional<import("zod").ZodNumber>>;
244
+ credentials: import("zod").ZodOptional<import("zod").ZodRecord<import("zod").ZodNativeEnum<typeof CredentialType>, import("zod").ZodString>>;
245
+ }, "strip", import("zod").ZodTypeAny, {
246
+ operation: "list_articles";
247
+ page: number;
248
+ per_page: number;
249
+ credentials?: Partial<Record<CredentialType, string>> | undefined;
250
+ query?: string | undefined;
251
+ locale?: string | undefined;
252
+ section_id?: string | undefined;
253
+ category_id?: string | undefined;
254
+ }, {
255
+ operation: "list_articles";
256
+ credentials?: Partial<Record<CredentialType, string>> | undefined;
257
+ query?: string | undefined;
258
+ locale?: string | undefined;
259
+ page?: number | undefined;
260
+ per_page?: number | undefined;
261
+ section_id?: string | undefined;
262
+ category_id?: string | undefined;
263
+ }>, import("zod").ZodObject<{
264
+ operation: import("zod").ZodLiteral<"get_article">;
265
+ article_id: import("zod").ZodString;
266
+ locale: import("zod").ZodOptional<import("zod").ZodString>;
267
+ credentials: import("zod").ZodOptional<import("zod").ZodRecord<import("zod").ZodNativeEnum<typeof CredentialType>, import("zod").ZodString>>;
268
+ }, "strip", import("zod").ZodTypeAny, {
269
+ operation: "get_article";
270
+ article_id: string;
271
+ credentials?: Partial<Record<CredentialType, string>> | undefined;
272
+ locale?: string | undefined;
273
+ }, {
274
+ operation: "get_article";
275
+ article_id: string;
276
+ credentials?: Partial<Record<CredentialType, string>> | undefined;
277
+ locale?: string | undefined;
278
+ }>]>;
279
+ static readonly resultSchema: import("zod").ZodDiscriminatedUnion<"operation", [import("zod").ZodObject<{
280
+ operation: import("zod").ZodLiteral<"list_tickets">;
281
+ success: import("zod").ZodBoolean;
282
+ tickets: import("zod").ZodOptional<import("zod").ZodArray<import("zod").ZodObject<{
283
+ id: import("zod").ZodNumber;
284
+ subject: import("zod").ZodOptional<import("zod").ZodString>;
285
+ description: import("zod").ZodOptional<import("zod").ZodString>;
286
+ status: import("zod").ZodOptional<import("zod").ZodString>;
287
+ priority: import("zod").ZodNullable<import("zod").ZodOptional<import("zod").ZodString>>;
288
+ type: import("zod").ZodNullable<import("zod").ZodOptional<import("zod").ZodString>>;
289
+ requester_id: import("zod").ZodOptional<import("zod").ZodNumber>;
290
+ assignee_id: import("zod").ZodNullable<import("zod").ZodOptional<import("zod").ZodNumber>>;
291
+ organization_id: import("zod").ZodNullable<import("zod").ZodOptional<import("zod").ZodNumber>>;
292
+ tags: import("zod").ZodOptional<import("zod").ZodArray<import("zod").ZodString, "many">>;
293
+ created_at: import("zod").ZodOptional<import("zod").ZodString>;
294
+ updated_at: import("zod").ZodOptional<import("zod").ZodString>;
295
+ }, "strip", import("zod").ZodTypeAny, {
296
+ id: number;
297
+ type?: string | null | undefined;
298
+ description?: string | undefined;
299
+ status?: string | undefined;
300
+ tags?: string[] | undefined;
301
+ priority?: string | null | undefined;
302
+ subject?: string | undefined;
303
+ created_at?: string | undefined;
304
+ updated_at?: string | undefined;
305
+ assignee_id?: number | null | undefined;
306
+ organization_id?: number | null | undefined;
307
+ requester_id?: number | undefined;
308
+ }, {
309
+ id: number;
310
+ type?: string | null | undefined;
311
+ description?: string | undefined;
312
+ status?: string | undefined;
313
+ tags?: string[] | undefined;
314
+ priority?: string | null | undefined;
315
+ subject?: string | undefined;
316
+ created_at?: string | undefined;
317
+ updated_at?: string | undefined;
318
+ assignee_id?: number | null | undefined;
319
+ organization_id?: number | null | undefined;
320
+ requester_id?: number | undefined;
321
+ }>, "many">>;
322
+ count: import("zod").ZodOptional<import("zod").ZodNumber>;
323
+ next_page: import("zod").ZodNullable<import("zod").ZodOptional<import("zod").ZodString>>;
324
+ error: import("zod").ZodString;
325
+ }, "strip", import("zod").ZodTypeAny, {
326
+ error: string;
327
+ success: boolean;
328
+ operation: "list_tickets";
329
+ count?: number | undefined;
330
+ tickets?: {
331
+ id: number;
332
+ type?: string | null | undefined;
333
+ description?: string | undefined;
334
+ status?: string | undefined;
335
+ tags?: string[] | undefined;
336
+ priority?: string | null | undefined;
337
+ subject?: string | undefined;
338
+ created_at?: string | undefined;
339
+ updated_at?: string | undefined;
340
+ assignee_id?: number | null | undefined;
341
+ organization_id?: number | null | undefined;
342
+ requester_id?: number | undefined;
343
+ }[] | undefined;
344
+ next_page?: string | null | undefined;
345
+ }, {
346
+ error: string;
347
+ success: boolean;
348
+ operation: "list_tickets";
349
+ count?: number | undefined;
350
+ tickets?: {
351
+ id: number;
352
+ type?: string | null | undefined;
353
+ description?: string | undefined;
354
+ status?: string | undefined;
355
+ tags?: string[] | undefined;
356
+ priority?: string | null | undefined;
357
+ subject?: string | undefined;
358
+ created_at?: string | undefined;
359
+ updated_at?: string | undefined;
360
+ assignee_id?: number | null | undefined;
361
+ organization_id?: number | null | undefined;
362
+ requester_id?: number | undefined;
363
+ }[] | undefined;
364
+ next_page?: string | null | undefined;
365
+ }>, import("zod").ZodObject<{
366
+ operation: import("zod").ZodLiteral<"get_ticket">;
367
+ success: import("zod").ZodBoolean;
368
+ ticket: import("zod").ZodOptional<import("zod").ZodObject<{
369
+ id: import("zod").ZodNumber;
370
+ subject: import("zod").ZodOptional<import("zod").ZodString>;
371
+ description: import("zod").ZodOptional<import("zod").ZodString>;
372
+ status: import("zod").ZodOptional<import("zod").ZodString>;
373
+ priority: import("zod").ZodNullable<import("zod").ZodOptional<import("zod").ZodString>>;
374
+ type: import("zod").ZodNullable<import("zod").ZodOptional<import("zod").ZodString>>;
375
+ requester_id: import("zod").ZodOptional<import("zod").ZodNumber>;
376
+ assignee_id: import("zod").ZodNullable<import("zod").ZodOptional<import("zod").ZodNumber>>;
377
+ organization_id: import("zod").ZodNullable<import("zod").ZodOptional<import("zod").ZodNumber>>;
378
+ tags: import("zod").ZodOptional<import("zod").ZodArray<import("zod").ZodString, "many">>;
379
+ created_at: import("zod").ZodOptional<import("zod").ZodString>;
380
+ updated_at: import("zod").ZodOptional<import("zod").ZodString>;
381
+ }, "strip", import("zod").ZodTypeAny, {
382
+ id: number;
383
+ type?: string | null | undefined;
384
+ description?: string | undefined;
385
+ status?: string | undefined;
386
+ tags?: string[] | undefined;
387
+ priority?: string | null | undefined;
388
+ subject?: string | undefined;
389
+ created_at?: string | undefined;
390
+ updated_at?: string | undefined;
391
+ assignee_id?: number | null | undefined;
392
+ organization_id?: number | null | undefined;
393
+ requester_id?: number | undefined;
394
+ }, {
395
+ id: number;
396
+ type?: string | null | undefined;
397
+ description?: string | undefined;
398
+ status?: string | undefined;
399
+ tags?: string[] | undefined;
400
+ priority?: string | null | undefined;
401
+ subject?: string | undefined;
402
+ created_at?: string | undefined;
403
+ updated_at?: string | undefined;
404
+ assignee_id?: number | null | undefined;
405
+ organization_id?: number | null | undefined;
406
+ requester_id?: number | undefined;
407
+ }>>;
408
+ error: import("zod").ZodString;
409
+ }, "strip", import("zod").ZodTypeAny, {
410
+ error: string;
411
+ success: boolean;
412
+ operation: "get_ticket";
413
+ ticket?: {
414
+ id: number;
415
+ type?: string | null | undefined;
416
+ description?: string | undefined;
417
+ status?: string | undefined;
418
+ tags?: string[] | undefined;
419
+ priority?: string | null | undefined;
420
+ subject?: string | undefined;
421
+ created_at?: string | undefined;
422
+ updated_at?: string | undefined;
423
+ assignee_id?: number | null | undefined;
424
+ organization_id?: number | null | undefined;
425
+ requester_id?: number | undefined;
426
+ } | undefined;
427
+ }, {
428
+ error: string;
429
+ success: boolean;
430
+ operation: "get_ticket";
431
+ ticket?: {
432
+ id: number;
433
+ type?: string | null | undefined;
434
+ description?: string | undefined;
435
+ status?: string | undefined;
436
+ tags?: string[] | undefined;
437
+ priority?: string | null | undefined;
438
+ subject?: string | undefined;
439
+ created_at?: string | undefined;
440
+ updated_at?: string | undefined;
441
+ assignee_id?: number | null | undefined;
442
+ organization_id?: number | null | undefined;
443
+ requester_id?: number | undefined;
444
+ } | undefined;
445
+ }>, import("zod").ZodObject<{
446
+ operation: import("zod").ZodLiteral<"create_ticket">;
447
+ success: import("zod").ZodBoolean;
448
+ ticket: import("zod").ZodOptional<import("zod").ZodObject<{
449
+ id: import("zod").ZodNumber;
450
+ subject: import("zod").ZodOptional<import("zod").ZodString>;
451
+ description: import("zod").ZodOptional<import("zod").ZodString>;
452
+ status: import("zod").ZodOptional<import("zod").ZodString>;
453
+ priority: import("zod").ZodNullable<import("zod").ZodOptional<import("zod").ZodString>>;
454
+ type: import("zod").ZodNullable<import("zod").ZodOptional<import("zod").ZodString>>;
455
+ requester_id: import("zod").ZodOptional<import("zod").ZodNumber>;
456
+ assignee_id: import("zod").ZodNullable<import("zod").ZodOptional<import("zod").ZodNumber>>;
457
+ organization_id: import("zod").ZodNullable<import("zod").ZodOptional<import("zod").ZodNumber>>;
458
+ tags: import("zod").ZodOptional<import("zod").ZodArray<import("zod").ZodString, "many">>;
459
+ created_at: import("zod").ZodOptional<import("zod").ZodString>;
460
+ updated_at: import("zod").ZodOptional<import("zod").ZodString>;
461
+ }, "strip", import("zod").ZodTypeAny, {
462
+ id: number;
463
+ type?: string | null | undefined;
464
+ description?: string | undefined;
465
+ status?: string | undefined;
466
+ tags?: string[] | undefined;
467
+ priority?: string | null | undefined;
468
+ subject?: string | undefined;
469
+ created_at?: string | undefined;
470
+ updated_at?: string | undefined;
471
+ assignee_id?: number | null | undefined;
472
+ organization_id?: number | null | undefined;
473
+ requester_id?: number | undefined;
474
+ }, {
475
+ id: number;
476
+ type?: string | null | undefined;
477
+ description?: string | undefined;
478
+ status?: string | undefined;
479
+ tags?: string[] | undefined;
480
+ priority?: string | null | undefined;
481
+ subject?: string | undefined;
482
+ created_at?: string | undefined;
483
+ updated_at?: string | undefined;
484
+ assignee_id?: number | null | undefined;
485
+ organization_id?: number | null | undefined;
486
+ requester_id?: number | undefined;
487
+ }>>;
488
+ error: import("zod").ZodString;
489
+ }, "strip", import("zod").ZodTypeAny, {
490
+ error: string;
491
+ success: boolean;
492
+ operation: "create_ticket";
493
+ ticket?: {
494
+ id: number;
495
+ type?: string | null | undefined;
496
+ description?: string | undefined;
497
+ status?: string | undefined;
498
+ tags?: string[] | undefined;
499
+ priority?: string | null | undefined;
500
+ subject?: string | undefined;
501
+ created_at?: string | undefined;
502
+ updated_at?: string | undefined;
503
+ assignee_id?: number | null | undefined;
504
+ organization_id?: number | null | undefined;
505
+ requester_id?: number | undefined;
506
+ } | undefined;
507
+ }, {
508
+ error: string;
509
+ success: boolean;
510
+ operation: "create_ticket";
511
+ ticket?: {
512
+ id: number;
513
+ type?: string | null | undefined;
514
+ description?: string | undefined;
515
+ status?: string | undefined;
516
+ tags?: string[] | undefined;
517
+ priority?: string | null | undefined;
518
+ subject?: string | undefined;
519
+ created_at?: string | undefined;
520
+ updated_at?: string | undefined;
521
+ assignee_id?: number | null | undefined;
522
+ organization_id?: number | null | undefined;
523
+ requester_id?: number | undefined;
524
+ } | undefined;
525
+ }>, import("zod").ZodObject<{
526
+ operation: import("zod").ZodLiteral<"update_ticket">;
527
+ success: import("zod").ZodBoolean;
528
+ ticket: import("zod").ZodOptional<import("zod").ZodObject<{
529
+ id: import("zod").ZodNumber;
530
+ subject: import("zod").ZodOptional<import("zod").ZodString>;
531
+ description: import("zod").ZodOptional<import("zod").ZodString>;
532
+ status: import("zod").ZodOptional<import("zod").ZodString>;
533
+ priority: import("zod").ZodNullable<import("zod").ZodOptional<import("zod").ZodString>>;
534
+ type: import("zod").ZodNullable<import("zod").ZodOptional<import("zod").ZodString>>;
535
+ requester_id: import("zod").ZodOptional<import("zod").ZodNumber>;
536
+ assignee_id: import("zod").ZodNullable<import("zod").ZodOptional<import("zod").ZodNumber>>;
537
+ organization_id: import("zod").ZodNullable<import("zod").ZodOptional<import("zod").ZodNumber>>;
538
+ tags: import("zod").ZodOptional<import("zod").ZodArray<import("zod").ZodString, "many">>;
539
+ created_at: import("zod").ZodOptional<import("zod").ZodString>;
540
+ updated_at: import("zod").ZodOptional<import("zod").ZodString>;
541
+ }, "strip", import("zod").ZodTypeAny, {
542
+ id: number;
543
+ type?: string | null | undefined;
544
+ description?: string | undefined;
545
+ status?: string | undefined;
546
+ tags?: string[] | undefined;
547
+ priority?: string | null | undefined;
548
+ subject?: string | undefined;
549
+ created_at?: string | undefined;
550
+ updated_at?: string | undefined;
551
+ assignee_id?: number | null | undefined;
552
+ organization_id?: number | null | undefined;
553
+ requester_id?: number | undefined;
554
+ }, {
555
+ id: number;
556
+ type?: string | null | undefined;
557
+ description?: string | undefined;
558
+ status?: string | undefined;
559
+ tags?: string[] | undefined;
560
+ priority?: string | null | undefined;
561
+ subject?: string | undefined;
562
+ created_at?: string | undefined;
563
+ updated_at?: string | undefined;
564
+ assignee_id?: number | null | undefined;
565
+ organization_id?: number | null | undefined;
566
+ requester_id?: number | undefined;
567
+ }>>;
568
+ error: import("zod").ZodString;
569
+ }, "strip", import("zod").ZodTypeAny, {
570
+ error: string;
571
+ success: boolean;
572
+ operation: "update_ticket";
573
+ ticket?: {
574
+ id: number;
575
+ type?: string | null | undefined;
576
+ description?: string | undefined;
577
+ status?: string | undefined;
578
+ tags?: string[] | undefined;
579
+ priority?: string | null | undefined;
580
+ subject?: string | undefined;
581
+ created_at?: string | undefined;
582
+ updated_at?: string | undefined;
583
+ assignee_id?: number | null | undefined;
584
+ organization_id?: number | null | undefined;
585
+ requester_id?: number | undefined;
586
+ } | undefined;
587
+ }, {
588
+ error: string;
589
+ success: boolean;
590
+ operation: "update_ticket";
591
+ ticket?: {
592
+ id: number;
593
+ type?: string | null | undefined;
594
+ description?: string | undefined;
595
+ status?: string | undefined;
596
+ tags?: string[] | undefined;
597
+ priority?: string | null | undefined;
598
+ subject?: string | undefined;
599
+ created_at?: string | undefined;
600
+ updated_at?: string | undefined;
601
+ assignee_id?: number | null | undefined;
602
+ organization_id?: number | null | undefined;
603
+ requester_id?: number | undefined;
604
+ } | undefined;
605
+ }>, import("zod").ZodObject<{
606
+ operation: import("zod").ZodLiteral<"list_ticket_comments">;
607
+ success: import("zod").ZodBoolean;
608
+ comments: import("zod").ZodOptional<import("zod").ZodArray<import("zod").ZodObject<{
609
+ id: import("zod").ZodNumber;
610
+ body: import("zod").ZodOptional<import("zod").ZodString>;
611
+ html_body: import("zod").ZodOptional<import("zod").ZodString>;
612
+ public: import("zod").ZodOptional<import("zod").ZodBoolean>;
613
+ author_id: import("zod").ZodOptional<import("zod").ZodNumber>;
614
+ created_at: import("zod").ZodOptional<import("zod").ZodString>;
615
+ }, "strip", import("zod").ZodTypeAny, {
616
+ id: number;
617
+ public?: boolean | undefined;
618
+ body?: string | undefined;
619
+ created_at?: string | undefined;
620
+ html_body?: string | undefined;
621
+ author_id?: number | undefined;
622
+ }, {
623
+ id: number;
624
+ public?: boolean | undefined;
625
+ body?: string | undefined;
626
+ created_at?: string | undefined;
627
+ html_body?: string | undefined;
628
+ author_id?: number | undefined;
629
+ }>, "many">>;
630
+ count: import("zod").ZodOptional<import("zod").ZodNumber>;
631
+ next_page: import("zod").ZodNullable<import("zod").ZodOptional<import("zod").ZodString>>;
632
+ error: import("zod").ZodString;
633
+ }, "strip", import("zod").ZodTypeAny, {
634
+ error: string;
635
+ success: boolean;
636
+ operation: "list_ticket_comments";
637
+ count?: number | undefined;
638
+ comments?: {
639
+ id: number;
640
+ public?: boolean | undefined;
641
+ body?: string | undefined;
642
+ created_at?: string | undefined;
643
+ html_body?: string | undefined;
644
+ author_id?: number | undefined;
645
+ }[] | undefined;
646
+ next_page?: string | null | undefined;
647
+ }, {
648
+ error: string;
649
+ success: boolean;
650
+ operation: "list_ticket_comments";
651
+ count?: number | undefined;
652
+ comments?: {
653
+ id: number;
654
+ public?: boolean | undefined;
655
+ body?: string | undefined;
656
+ created_at?: string | undefined;
657
+ html_body?: string | undefined;
658
+ author_id?: number | undefined;
659
+ }[] | undefined;
660
+ next_page?: string | null | undefined;
661
+ }>, import("zod").ZodObject<{
662
+ operation: import("zod").ZodLiteral<"list_users">;
663
+ success: import("zod").ZodBoolean;
664
+ users: import("zod").ZodOptional<import("zod").ZodArray<import("zod").ZodObject<{
665
+ id: import("zod").ZodNumber;
666
+ name: import("zod").ZodOptional<import("zod").ZodString>;
667
+ email: import("zod").ZodOptional<import("zod").ZodString>;
668
+ role: import("zod").ZodOptional<import("zod").ZodString>;
669
+ organization_id: import("zod").ZodNullable<import("zod").ZodOptional<import("zod").ZodNumber>>;
670
+ active: import("zod").ZodOptional<import("zod").ZodBoolean>;
671
+ created_at: import("zod").ZodOptional<import("zod").ZodString>;
672
+ }, "strip", import("zod").ZodTypeAny, {
673
+ id: number;
674
+ name?: string | undefined;
675
+ email?: string | undefined;
676
+ role?: string | undefined;
677
+ created_at?: string | undefined;
678
+ active?: boolean | undefined;
679
+ organization_id?: number | null | undefined;
680
+ }, {
681
+ id: number;
682
+ name?: string | undefined;
683
+ email?: string | undefined;
684
+ role?: string | undefined;
685
+ created_at?: string | undefined;
686
+ active?: boolean | undefined;
687
+ organization_id?: number | null | undefined;
688
+ }>, "many">>;
689
+ count: import("zod").ZodOptional<import("zod").ZodNumber>;
690
+ next_page: import("zod").ZodNullable<import("zod").ZodOptional<import("zod").ZodString>>;
691
+ error: import("zod").ZodString;
692
+ }, "strip", import("zod").ZodTypeAny, {
693
+ error: string;
694
+ success: boolean;
695
+ operation: "list_users";
696
+ users?: {
697
+ id: number;
698
+ name?: string | undefined;
699
+ email?: string | undefined;
700
+ role?: string | undefined;
701
+ created_at?: string | undefined;
702
+ active?: boolean | undefined;
703
+ organization_id?: number | null | undefined;
704
+ }[] | undefined;
705
+ count?: number | undefined;
706
+ next_page?: string | null | undefined;
707
+ }, {
708
+ error: string;
709
+ success: boolean;
710
+ operation: "list_users";
711
+ users?: {
712
+ id: number;
713
+ name?: string | undefined;
714
+ email?: string | undefined;
715
+ role?: string | undefined;
716
+ created_at?: string | undefined;
717
+ active?: boolean | undefined;
718
+ organization_id?: number | null | undefined;
719
+ }[] | undefined;
720
+ count?: number | undefined;
721
+ next_page?: string | null | undefined;
722
+ }>, import("zod").ZodObject<{
723
+ operation: import("zod").ZodLiteral<"get_user">;
724
+ success: import("zod").ZodBoolean;
725
+ user: import("zod").ZodOptional<import("zod").ZodObject<{
726
+ id: import("zod").ZodNumber;
727
+ name: import("zod").ZodOptional<import("zod").ZodString>;
728
+ email: import("zod").ZodOptional<import("zod").ZodString>;
729
+ role: import("zod").ZodOptional<import("zod").ZodString>;
730
+ organization_id: import("zod").ZodNullable<import("zod").ZodOptional<import("zod").ZodNumber>>;
731
+ active: import("zod").ZodOptional<import("zod").ZodBoolean>;
732
+ created_at: import("zod").ZodOptional<import("zod").ZodString>;
733
+ }, "strip", import("zod").ZodTypeAny, {
734
+ id: number;
735
+ name?: string | undefined;
736
+ email?: string | undefined;
737
+ role?: string | undefined;
738
+ created_at?: string | undefined;
739
+ active?: boolean | undefined;
740
+ organization_id?: number | null | undefined;
741
+ }, {
742
+ id: number;
743
+ name?: string | undefined;
744
+ email?: string | undefined;
745
+ role?: string | undefined;
746
+ created_at?: string | undefined;
747
+ active?: boolean | undefined;
748
+ organization_id?: number | null | undefined;
749
+ }>>;
750
+ error: import("zod").ZodString;
751
+ }, "strip", import("zod").ZodTypeAny, {
752
+ error: string;
753
+ success: boolean;
754
+ operation: "get_user";
755
+ user?: {
756
+ id: number;
757
+ name?: string | undefined;
758
+ email?: string | undefined;
759
+ role?: string | undefined;
760
+ created_at?: string | undefined;
761
+ active?: boolean | undefined;
762
+ organization_id?: number | null | undefined;
763
+ } | undefined;
764
+ }, {
765
+ error: string;
766
+ success: boolean;
767
+ operation: "get_user";
768
+ user?: {
769
+ id: number;
770
+ name?: string | undefined;
771
+ email?: string | undefined;
772
+ role?: string | undefined;
773
+ created_at?: string | undefined;
774
+ active?: boolean | undefined;
775
+ organization_id?: number | null | undefined;
776
+ } | undefined;
777
+ }>, import("zod").ZodObject<{
778
+ operation: import("zod").ZodLiteral<"list_organizations">;
779
+ success: import("zod").ZodBoolean;
780
+ organizations: import("zod").ZodOptional<import("zod").ZodArray<import("zod").ZodObject<{
781
+ id: import("zod").ZodNumber;
782
+ name: import("zod").ZodOptional<import("zod").ZodString>;
783
+ domain_names: import("zod").ZodOptional<import("zod").ZodArray<import("zod").ZodString, "many">>;
784
+ external_id: import("zod").ZodNullable<import("zod").ZodOptional<import("zod").ZodString>>;
785
+ created_at: import("zod").ZodOptional<import("zod").ZodString>;
786
+ }, "strip", import("zod").ZodTypeAny, {
787
+ id: number;
788
+ name?: string | undefined;
789
+ created_at?: string | undefined;
790
+ domain_names?: string[] | undefined;
791
+ external_id?: string | null | undefined;
792
+ }, {
793
+ id: number;
794
+ name?: string | undefined;
795
+ created_at?: string | undefined;
796
+ domain_names?: string[] | undefined;
797
+ external_id?: string | null | undefined;
798
+ }>, "many">>;
799
+ count: import("zod").ZodOptional<import("zod").ZodNumber>;
800
+ next_page: import("zod").ZodNullable<import("zod").ZodOptional<import("zod").ZodString>>;
801
+ error: import("zod").ZodString;
802
+ }, "strip", import("zod").ZodTypeAny, {
803
+ error: string;
804
+ success: boolean;
805
+ operation: "list_organizations";
806
+ count?: number | undefined;
807
+ next_page?: string | null | undefined;
808
+ organizations?: {
809
+ id: number;
810
+ name?: string | undefined;
811
+ created_at?: string | undefined;
812
+ domain_names?: string[] | undefined;
813
+ external_id?: string | null | undefined;
814
+ }[] | undefined;
815
+ }, {
816
+ error: string;
817
+ success: boolean;
818
+ operation: "list_organizations";
819
+ count?: number | undefined;
820
+ next_page?: string | null | undefined;
821
+ organizations?: {
822
+ id: number;
823
+ name?: string | undefined;
824
+ created_at?: string | undefined;
825
+ domain_names?: string[] | undefined;
826
+ external_id?: string | null | undefined;
827
+ }[] | undefined;
828
+ }>, import("zod").ZodObject<{
829
+ operation: import("zod").ZodLiteral<"get_organization">;
830
+ success: import("zod").ZodBoolean;
831
+ organization: import("zod").ZodOptional<import("zod").ZodObject<{
832
+ id: import("zod").ZodNumber;
833
+ name: import("zod").ZodOptional<import("zod").ZodString>;
834
+ domain_names: import("zod").ZodOptional<import("zod").ZodArray<import("zod").ZodString, "many">>;
835
+ external_id: import("zod").ZodNullable<import("zod").ZodOptional<import("zod").ZodString>>;
836
+ created_at: import("zod").ZodOptional<import("zod").ZodString>;
837
+ }, "strip", import("zod").ZodTypeAny, {
838
+ id: number;
839
+ name?: string | undefined;
840
+ created_at?: string | undefined;
841
+ domain_names?: string[] | undefined;
842
+ external_id?: string | null | undefined;
843
+ }, {
844
+ id: number;
845
+ name?: string | undefined;
846
+ created_at?: string | undefined;
847
+ domain_names?: string[] | undefined;
848
+ external_id?: string | null | undefined;
849
+ }>>;
850
+ error: import("zod").ZodString;
851
+ }, "strip", import("zod").ZodTypeAny, {
852
+ error: string;
853
+ success: boolean;
854
+ operation: "get_organization";
855
+ organization?: {
856
+ id: number;
857
+ name?: string | undefined;
858
+ created_at?: string | undefined;
859
+ domain_names?: string[] | undefined;
860
+ external_id?: string | null | undefined;
861
+ } | undefined;
862
+ }, {
863
+ error: string;
864
+ success: boolean;
865
+ operation: "get_organization";
866
+ organization?: {
867
+ id: number;
868
+ name?: string | undefined;
869
+ created_at?: string | undefined;
870
+ domain_names?: string[] | undefined;
871
+ external_id?: string | null | undefined;
872
+ } | undefined;
873
+ }>, import("zod").ZodObject<{
874
+ operation: import("zod").ZodLiteral<"search">;
875
+ success: import("zod").ZodBoolean;
876
+ results: import("zod").ZodOptional<import("zod").ZodArray<import("zod").ZodRecord<import("zod").ZodString, import("zod").ZodUnknown>, "many">>;
877
+ count: import("zod").ZodOptional<import("zod").ZodNumber>;
878
+ next_page: import("zod").ZodNullable<import("zod").ZodOptional<import("zod").ZodString>>;
879
+ error: import("zod").ZodString;
880
+ }, "strip", import("zod").ZodTypeAny, {
881
+ error: string;
882
+ success: boolean;
883
+ operation: "search";
884
+ count?: number | undefined;
885
+ results?: Record<string, unknown>[] | undefined;
886
+ next_page?: string | null | undefined;
887
+ }, {
888
+ error: string;
889
+ success: boolean;
890
+ operation: "search";
891
+ count?: number | undefined;
892
+ results?: Record<string, unknown>[] | undefined;
893
+ next_page?: string | null | undefined;
894
+ }>, import("zod").ZodObject<{
895
+ operation: import("zod").ZodLiteral<"list_articles">;
896
+ success: import("zod").ZodBoolean;
897
+ articles: import("zod").ZodOptional<import("zod").ZodArray<import("zod").ZodObject<{
898
+ id: import("zod").ZodNumber;
899
+ title: import("zod").ZodOptional<import("zod").ZodString>;
900
+ body: import("zod").ZodOptional<import("zod").ZodString>;
901
+ locale: import("zod").ZodOptional<import("zod").ZodString>;
902
+ section_id: import("zod").ZodOptional<import("zod").ZodNumber>;
903
+ author_id: import("zod").ZodOptional<import("zod").ZodNumber>;
904
+ draft: import("zod").ZodOptional<import("zod").ZodBoolean>;
905
+ created_at: import("zod").ZodOptional<import("zod").ZodString>;
906
+ updated_at: import("zod").ZodOptional<import("zod").ZodString>;
907
+ }, "strip", import("zod").ZodTypeAny, {
908
+ id: number;
909
+ title?: string | undefined;
910
+ body?: string | undefined;
911
+ created_at?: string | undefined;
912
+ draft?: boolean | undefined;
913
+ locale?: string | undefined;
914
+ updated_at?: string | undefined;
915
+ section_id?: number | undefined;
916
+ author_id?: number | undefined;
917
+ }, {
918
+ id: number;
919
+ title?: string | undefined;
920
+ body?: string | undefined;
921
+ created_at?: string | undefined;
922
+ draft?: boolean | undefined;
923
+ locale?: string | undefined;
924
+ updated_at?: string | undefined;
925
+ section_id?: number | undefined;
926
+ author_id?: number | undefined;
927
+ }>, "many">>;
928
+ count: import("zod").ZodOptional<import("zod").ZodNumber>;
929
+ next_page: import("zod").ZodNullable<import("zod").ZodOptional<import("zod").ZodString>>;
930
+ error: import("zod").ZodString;
931
+ }, "strip", import("zod").ZodTypeAny, {
932
+ error: string;
933
+ success: boolean;
934
+ operation: "list_articles";
935
+ count?: number | undefined;
936
+ next_page?: string | null | undefined;
937
+ articles?: {
938
+ id: number;
939
+ title?: string | undefined;
940
+ body?: string | undefined;
941
+ created_at?: string | undefined;
942
+ draft?: boolean | undefined;
943
+ locale?: string | undefined;
944
+ updated_at?: string | undefined;
945
+ section_id?: number | undefined;
946
+ author_id?: number | undefined;
947
+ }[] | undefined;
948
+ }, {
949
+ error: string;
950
+ success: boolean;
951
+ operation: "list_articles";
952
+ count?: number | undefined;
953
+ next_page?: string | null | undefined;
954
+ articles?: {
955
+ id: number;
956
+ title?: string | undefined;
957
+ body?: string | undefined;
958
+ created_at?: string | undefined;
959
+ draft?: boolean | undefined;
960
+ locale?: string | undefined;
961
+ updated_at?: string | undefined;
962
+ section_id?: number | undefined;
963
+ author_id?: number | undefined;
964
+ }[] | undefined;
965
+ }>, import("zod").ZodObject<{
966
+ operation: import("zod").ZodLiteral<"get_article">;
967
+ success: import("zod").ZodBoolean;
968
+ article: import("zod").ZodOptional<import("zod").ZodObject<{
969
+ id: import("zod").ZodNumber;
970
+ title: import("zod").ZodOptional<import("zod").ZodString>;
971
+ body: import("zod").ZodOptional<import("zod").ZodString>;
972
+ locale: import("zod").ZodOptional<import("zod").ZodString>;
973
+ section_id: import("zod").ZodOptional<import("zod").ZodNumber>;
974
+ author_id: import("zod").ZodOptional<import("zod").ZodNumber>;
975
+ draft: import("zod").ZodOptional<import("zod").ZodBoolean>;
976
+ created_at: import("zod").ZodOptional<import("zod").ZodString>;
977
+ updated_at: import("zod").ZodOptional<import("zod").ZodString>;
978
+ }, "strip", import("zod").ZodTypeAny, {
979
+ id: number;
980
+ title?: string | undefined;
981
+ body?: string | undefined;
982
+ created_at?: string | undefined;
983
+ draft?: boolean | undefined;
984
+ locale?: string | undefined;
985
+ updated_at?: string | undefined;
986
+ section_id?: number | undefined;
987
+ author_id?: number | undefined;
988
+ }, {
989
+ id: number;
990
+ title?: string | undefined;
991
+ body?: string | undefined;
992
+ created_at?: string | undefined;
993
+ draft?: boolean | undefined;
994
+ locale?: string | undefined;
995
+ updated_at?: string | undefined;
996
+ section_id?: number | undefined;
997
+ author_id?: number | undefined;
998
+ }>>;
999
+ error: import("zod").ZodString;
1000
+ }, "strip", import("zod").ZodTypeAny, {
1001
+ error: string;
1002
+ success: boolean;
1003
+ operation: "get_article";
1004
+ article?: {
1005
+ id: number;
1006
+ title?: string | undefined;
1007
+ body?: string | undefined;
1008
+ created_at?: string | undefined;
1009
+ draft?: boolean | undefined;
1010
+ locale?: string | undefined;
1011
+ updated_at?: string | undefined;
1012
+ section_id?: number | undefined;
1013
+ author_id?: number | undefined;
1014
+ } | undefined;
1015
+ }, {
1016
+ error: string;
1017
+ success: boolean;
1018
+ operation: "get_article";
1019
+ article?: {
1020
+ id: number;
1021
+ title?: string | undefined;
1022
+ body?: string | undefined;
1023
+ created_at?: string | undefined;
1024
+ draft?: boolean | undefined;
1025
+ locale?: string | undefined;
1026
+ updated_at?: string | undefined;
1027
+ section_id?: number | undefined;
1028
+ author_id?: number | undefined;
1029
+ } | undefined;
1030
+ }>]>;
1031
+ static readonly shortDescription = "Zendesk integration for tickets, comments, users, and help center";
1032
+ 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 ";
1033
+ static readonly alias = "support";
1034
+ constructor(params?: T, context?: BubbleContext);
1035
+ testCredential(): Promise<boolean>;
1036
+ /**
1037
+ * Zendesk credential format:
1038
+ * Base64-encoded JSON: { accessToken, subdomain }
1039
+ * The subdomain identifies which Zendesk instance to access.
1040
+ */
1041
+ private parseCredentials;
1042
+ protected chooseCredential(): string | undefined;
1043
+ private makeZendeskApiRequest;
1044
+ protected performAction(context?: BubbleContext): Promise<Extract<ZendeskResult, {
1045
+ operation: T['operation'];
1046
+ }>>;
1047
+ private listTickets;
1048
+ private getTicket;
1049
+ private createTicket;
1050
+ private updateTicket;
1051
+ private listTicketComments;
1052
+ private listUsers;
1053
+ private getUser;
1054
+ private listOrganizations;
1055
+ private getOrganization;
1056
+ private search;
1057
+ private listArticles;
1058
+ private getArticle;
1059
+ private mapTicket;
1060
+ private mapComment;
1061
+ private mapUser;
1062
+ private mapOrganization;
1063
+ private mapArticle;
1064
+ }
1065
+ //# sourceMappingURL=zendesk.d.ts.map