@bubblelab/bubble-core 0.1.231 → 0.1.233
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.
- package/dist/bubble-bundle.d.ts +10 -10
- package/dist/bubbles/service-bubble/ashby/ashby.d.ts +2 -2
- package/dist/bubbles/service-bubble/ashby/ashby.schema.d.ts +2 -2
- package/dist/bubbles/service-bubble/slack/slack.d.ts.map +1 -1
- package/dist/bubbles/service-bubble/slack/slack.js +9 -2
- package/dist/bubbles/service-bubble/slack/slack.js.map +1 -1
- package/dist/bubbles/service-bubble/zendesk/zendesk.d.ts +371 -0
- package/dist/bubbles/service-bubble/zendesk/zendesk.d.ts.map +1 -1
- package/dist/bubbles/service-bubble/zendesk/zendesk.js +80 -0
- package/dist/bubbles/service-bubble/zendesk/zendesk.js.map +1 -1
- package/dist/bubbles/service-bubble/zendesk/zendesk.schema.d.ts +368 -0
- package/dist/bubbles/service-bubble/zendesk/zendesk.schema.d.ts.map +1 -1
- package/dist/bubbles/service-bubble/zendesk/zendesk.schema.js +163 -0
- package/dist/bubbles/service-bubble/zendesk/zendesk.schema.js.map +1 -1
- package/dist/bubbles.json +594 -2
- package/package.json +2 -2
|
@@ -46,6 +46,16 @@ export declare const ZendeskParamsSchema: z.ZodDiscriminatedUnion<"operation", [
|
|
|
46
46
|
priority: z.ZodOptional<z.ZodEnum<["urgent", "high", "normal", "low"]>>;
|
|
47
47
|
type: z.ZodOptional<z.ZodEnum<["problem", "incident", "question", "task"]>>;
|
|
48
48
|
tags: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
49
|
+
custom_fields: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
50
|
+
id: z.ZodNumber;
|
|
51
|
+
value: z.ZodUnion<[z.ZodString, z.ZodNumber, z.ZodBoolean, z.ZodArray<z.ZodString, "many">, z.ZodNull]>;
|
|
52
|
+
}, "strip", z.ZodTypeAny, {
|
|
53
|
+
value: string | number | boolean | string[] | null;
|
|
54
|
+
id: number;
|
|
55
|
+
}, {
|
|
56
|
+
value: string | number | boolean | string[] | null;
|
|
57
|
+
id: number;
|
|
58
|
+
}>, "many">>;
|
|
49
59
|
credentials: z.ZodOptional<z.ZodRecord<z.ZodNativeEnum<typeof CredentialType>, z.ZodString>>;
|
|
50
60
|
}, "strip", z.ZodTypeAny, {
|
|
51
61
|
operation: "create_ticket";
|
|
@@ -55,6 +65,10 @@ export declare const ZendeskParamsSchema: z.ZodDiscriminatedUnion<"operation", [
|
|
|
55
65
|
credentials?: Partial<Record<CredentialType, string>> | undefined;
|
|
56
66
|
priority?: "low" | "high" | "urgent" | "normal" | undefined;
|
|
57
67
|
tags?: string[] | undefined;
|
|
68
|
+
custom_fields?: {
|
|
69
|
+
value: string | number | boolean | string[] | null;
|
|
70
|
+
id: number;
|
|
71
|
+
}[] | undefined;
|
|
58
72
|
requester_email?: string | undefined;
|
|
59
73
|
requester_name?: string | undefined;
|
|
60
74
|
assignee_id?: number | undefined;
|
|
@@ -66,6 +80,10 @@ export declare const ZendeskParamsSchema: z.ZodDiscriminatedUnion<"operation", [
|
|
|
66
80
|
credentials?: Partial<Record<CredentialType, string>> | undefined;
|
|
67
81
|
priority?: "low" | "high" | "urgent" | "normal" | undefined;
|
|
68
82
|
tags?: string[] | undefined;
|
|
83
|
+
custom_fields?: {
|
|
84
|
+
value: string | number | boolean | string[] | null;
|
|
85
|
+
id: number;
|
|
86
|
+
}[] | undefined;
|
|
69
87
|
requester_email?: string | undefined;
|
|
70
88
|
requester_name?: string | undefined;
|
|
71
89
|
assignee_id?: number | undefined;
|
|
@@ -78,6 +96,16 @@ export declare const ZendeskParamsSchema: z.ZodDiscriminatedUnion<"operation", [
|
|
|
78
96
|
priority: z.ZodOptional<z.ZodEnum<["urgent", "high", "normal", "low"]>>;
|
|
79
97
|
assignee_id: z.ZodOptional<z.ZodNumber>;
|
|
80
98
|
tags: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
99
|
+
custom_fields: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
100
|
+
id: z.ZodNumber;
|
|
101
|
+
value: z.ZodUnion<[z.ZodString, z.ZodNumber, z.ZodBoolean, z.ZodArray<z.ZodString, "many">, z.ZodNull]>;
|
|
102
|
+
}, "strip", z.ZodTypeAny, {
|
|
103
|
+
value: string | number | boolean | string[] | null;
|
|
104
|
+
id: number;
|
|
105
|
+
}, {
|
|
106
|
+
value: string | number | boolean | string[] | null;
|
|
107
|
+
id: number;
|
|
108
|
+
}>, "many">>;
|
|
81
109
|
credentials: z.ZodOptional<z.ZodRecord<z.ZodNativeEnum<typeof CredentialType>, z.ZodString>>;
|
|
82
110
|
}, "strip", z.ZodTypeAny, {
|
|
83
111
|
operation: "update_ticket";
|
|
@@ -88,6 +116,10 @@ export declare const ZendeskParamsSchema: z.ZodDiscriminatedUnion<"operation", [
|
|
|
88
116
|
priority?: "low" | "high" | "urgent" | "normal" | undefined;
|
|
89
117
|
tags?: string[] | undefined;
|
|
90
118
|
comment?: string | undefined;
|
|
119
|
+
custom_fields?: {
|
|
120
|
+
value: string | number | boolean | string[] | null;
|
|
121
|
+
id: number;
|
|
122
|
+
}[] | undefined;
|
|
91
123
|
assignee_id?: number | undefined;
|
|
92
124
|
}, {
|
|
93
125
|
operation: "update_ticket";
|
|
@@ -98,6 +130,10 @@ export declare const ZendeskParamsSchema: z.ZodDiscriminatedUnion<"operation", [
|
|
|
98
130
|
tags?: string[] | undefined;
|
|
99
131
|
public?: boolean | undefined;
|
|
100
132
|
comment?: string | undefined;
|
|
133
|
+
custom_fields?: {
|
|
134
|
+
value: string | number | boolean | string[] | null;
|
|
135
|
+
id: number;
|
|
136
|
+
}[] | undefined;
|
|
101
137
|
assignee_id?: number | undefined;
|
|
102
138
|
}>, z.ZodObject<{
|
|
103
139
|
operation: z.ZodLiteral<"list_ticket_comments">;
|
|
@@ -249,6 +285,75 @@ export declare const ZendeskParamsSchema: z.ZodDiscriminatedUnion<"operation", [
|
|
|
249
285
|
article_id: string;
|
|
250
286
|
credentials?: Partial<Record<CredentialType, string>> | undefined;
|
|
251
287
|
locale?: string | undefined;
|
|
288
|
+
}>, z.ZodObject<{
|
|
289
|
+
operation: z.ZodLiteral<"list_ticket_fields">;
|
|
290
|
+
credentials: z.ZodOptional<z.ZodRecord<z.ZodNativeEnum<typeof CredentialType>, z.ZodString>>;
|
|
291
|
+
}, "strip", z.ZodTypeAny, {
|
|
292
|
+
operation: "list_ticket_fields";
|
|
293
|
+
credentials?: Partial<Record<CredentialType, string>> | undefined;
|
|
294
|
+
}, {
|
|
295
|
+
operation: "list_ticket_fields";
|
|
296
|
+
credentials?: Partial<Record<CredentialType, string>> | undefined;
|
|
297
|
+
}>, z.ZodObject<{
|
|
298
|
+
operation: z.ZodLiteral<"create_ticket_field">;
|
|
299
|
+
type: z.ZodEnum<["text", "textarea", "checkbox", "date", "integer", "decimal", "regexp", "partialcreditcard", "multiselect", "tagger", "lookup"]>;
|
|
300
|
+
title: z.ZodString;
|
|
301
|
+
description: z.ZodOptional<z.ZodString>;
|
|
302
|
+
required: z.ZodOptional<z.ZodBoolean>;
|
|
303
|
+
active: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
|
|
304
|
+
custom_field_options: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
305
|
+
name: z.ZodString;
|
|
306
|
+
value: z.ZodString;
|
|
307
|
+
}, "strip", z.ZodTypeAny, {
|
|
308
|
+
value: string;
|
|
309
|
+
name: string;
|
|
310
|
+
}, {
|
|
311
|
+
value: string;
|
|
312
|
+
name: string;
|
|
313
|
+
}>, "many">>;
|
|
314
|
+
tag: z.ZodOptional<z.ZodString>;
|
|
315
|
+
regexp_for_validation: z.ZodOptional<z.ZodString>;
|
|
316
|
+
credentials: z.ZodOptional<z.ZodRecord<z.ZodNativeEnum<typeof CredentialType>, z.ZodString>>;
|
|
317
|
+
}, "strip", z.ZodTypeAny, {
|
|
318
|
+
type: "integer" | "date" | "text" | "checkbox" | "lookup" | "textarea" | "decimal" | "regexp" | "partialcreditcard" | "multiselect" | "tagger";
|
|
319
|
+
title: string;
|
|
320
|
+
operation: "create_ticket_field";
|
|
321
|
+
active: boolean;
|
|
322
|
+
description?: string | undefined;
|
|
323
|
+
required?: boolean | undefined;
|
|
324
|
+
credentials?: Partial<Record<CredentialType, string>> | undefined;
|
|
325
|
+
custom_field_options?: {
|
|
326
|
+
value: string;
|
|
327
|
+
name: string;
|
|
328
|
+
}[] | undefined;
|
|
329
|
+
tag?: string | undefined;
|
|
330
|
+
regexp_for_validation?: string | undefined;
|
|
331
|
+
}, {
|
|
332
|
+
type: "integer" | "date" | "text" | "checkbox" | "lookup" | "textarea" | "decimal" | "regexp" | "partialcreditcard" | "multiselect" | "tagger";
|
|
333
|
+
title: string;
|
|
334
|
+
operation: "create_ticket_field";
|
|
335
|
+
description?: string | undefined;
|
|
336
|
+
required?: boolean | undefined;
|
|
337
|
+
credentials?: Partial<Record<CredentialType, string>> | undefined;
|
|
338
|
+
active?: boolean | undefined;
|
|
339
|
+
custom_field_options?: {
|
|
340
|
+
value: string;
|
|
341
|
+
name: string;
|
|
342
|
+
}[] | undefined;
|
|
343
|
+
tag?: string | undefined;
|
|
344
|
+
regexp_for_validation?: string | undefined;
|
|
345
|
+
}>, z.ZodObject<{
|
|
346
|
+
operation: z.ZodLiteral<"delete_ticket_field">;
|
|
347
|
+
ticket_field_id: z.ZodString;
|
|
348
|
+
credentials: z.ZodOptional<z.ZodRecord<z.ZodNativeEnum<typeof CredentialType>, z.ZodString>>;
|
|
349
|
+
}, "strip", z.ZodTypeAny, {
|
|
350
|
+
operation: "delete_ticket_field";
|
|
351
|
+
ticket_field_id: string;
|
|
352
|
+
credentials?: Partial<Record<CredentialType, string>> | undefined;
|
|
353
|
+
}, {
|
|
354
|
+
operation: "delete_ticket_field";
|
|
355
|
+
ticket_field_id: string;
|
|
356
|
+
credentials?: Partial<Record<CredentialType, string>> | undefined;
|
|
252
357
|
}>]>;
|
|
253
358
|
export declare const ZendeskResultSchema: z.ZodDiscriminatedUnion<"operation", [z.ZodObject<{
|
|
254
359
|
operation: z.ZodLiteral<"list_tickets">;
|
|
@@ -264,6 +369,16 @@ export declare const ZendeskResultSchema: z.ZodDiscriminatedUnion<"operation", [
|
|
|
264
369
|
assignee_id: z.ZodNullable<z.ZodOptional<z.ZodNumber>>;
|
|
265
370
|
organization_id: z.ZodNullable<z.ZodOptional<z.ZodNumber>>;
|
|
266
371
|
tags: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
372
|
+
custom_fields: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
373
|
+
id: z.ZodNumber;
|
|
374
|
+
value: z.ZodNullable<z.ZodUnion<[z.ZodString, z.ZodNumber, z.ZodBoolean, z.ZodArray<z.ZodString, "many">, z.ZodNull]>>;
|
|
375
|
+
}, "strip", z.ZodTypeAny, {
|
|
376
|
+
value: string | number | boolean | string[] | null;
|
|
377
|
+
id: number;
|
|
378
|
+
}, {
|
|
379
|
+
value: string | number | boolean | string[] | null;
|
|
380
|
+
id: number;
|
|
381
|
+
}>, "many">>;
|
|
267
382
|
created_at: z.ZodOptional<z.ZodString>;
|
|
268
383
|
updated_at: z.ZodOptional<z.ZodString>;
|
|
269
384
|
}, "strip", z.ZodTypeAny, {
|
|
@@ -276,6 +391,10 @@ export declare const ZendeskResultSchema: z.ZodDiscriminatedUnion<"operation", [
|
|
|
276
391
|
subject?: string | undefined;
|
|
277
392
|
created_at?: string | undefined;
|
|
278
393
|
updated_at?: string | undefined;
|
|
394
|
+
custom_fields?: {
|
|
395
|
+
value: string | number | boolean | string[] | null;
|
|
396
|
+
id: number;
|
|
397
|
+
}[] | undefined;
|
|
279
398
|
assignee_id?: number | null | undefined;
|
|
280
399
|
organization_id?: number | null | undefined;
|
|
281
400
|
requester_id?: number | undefined;
|
|
@@ -289,6 +408,10 @@ export declare const ZendeskResultSchema: z.ZodDiscriminatedUnion<"operation", [
|
|
|
289
408
|
subject?: string | undefined;
|
|
290
409
|
created_at?: string | undefined;
|
|
291
410
|
updated_at?: string | undefined;
|
|
411
|
+
custom_fields?: {
|
|
412
|
+
value: string | number | boolean | string[] | null;
|
|
413
|
+
id: number;
|
|
414
|
+
}[] | undefined;
|
|
292
415
|
assignee_id?: number | null | undefined;
|
|
293
416
|
organization_id?: number | null | undefined;
|
|
294
417
|
requester_id?: number | undefined;
|
|
@@ -311,6 +434,10 @@ export declare const ZendeskResultSchema: z.ZodDiscriminatedUnion<"operation", [
|
|
|
311
434
|
subject?: string | undefined;
|
|
312
435
|
created_at?: string | undefined;
|
|
313
436
|
updated_at?: string | undefined;
|
|
437
|
+
custom_fields?: {
|
|
438
|
+
value: string | number | boolean | string[] | null;
|
|
439
|
+
id: number;
|
|
440
|
+
}[] | undefined;
|
|
314
441
|
assignee_id?: number | null | undefined;
|
|
315
442
|
organization_id?: number | null | undefined;
|
|
316
443
|
requester_id?: number | undefined;
|
|
@@ -331,6 +458,10 @@ export declare const ZendeskResultSchema: z.ZodDiscriminatedUnion<"operation", [
|
|
|
331
458
|
subject?: string | undefined;
|
|
332
459
|
created_at?: string | undefined;
|
|
333
460
|
updated_at?: string | undefined;
|
|
461
|
+
custom_fields?: {
|
|
462
|
+
value: string | number | boolean | string[] | null;
|
|
463
|
+
id: number;
|
|
464
|
+
}[] | undefined;
|
|
334
465
|
assignee_id?: number | null | undefined;
|
|
335
466
|
organization_id?: number | null | undefined;
|
|
336
467
|
requester_id?: number | undefined;
|
|
@@ -350,6 +481,16 @@ export declare const ZendeskResultSchema: z.ZodDiscriminatedUnion<"operation", [
|
|
|
350
481
|
assignee_id: z.ZodNullable<z.ZodOptional<z.ZodNumber>>;
|
|
351
482
|
organization_id: z.ZodNullable<z.ZodOptional<z.ZodNumber>>;
|
|
352
483
|
tags: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
484
|
+
custom_fields: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
485
|
+
id: z.ZodNumber;
|
|
486
|
+
value: z.ZodNullable<z.ZodUnion<[z.ZodString, z.ZodNumber, z.ZodBoolean, z.ZodArray<z.ZodString, "many">, z.ZodNull]>>;
|
|
487
|
+
}, "strip", z.ZodTypeAny, {
|
|
488
|
+
value: string | number | boolean | string[] | null;
|
|
489
|
+
id: number;
|
|
490
|
+
}, {
|
|
491
|
+
value: string | number | boolean | string[] | null;
|
|
492
|
+
id: number;
|
|
493
|
+
}>, "many">>;
|
|
353
494
|
created_at: z.ZodOptional<z.ZodString>;
|
|
354
495
|
updated_at: z.ZodOptional<z.ZodString>;
|
|
355
496
|
}, "strip", z.ZodTypeAny, {
|
|
@@ -362,6 +503,10 @@ export declare const ZendeskResultSchema: z.ZodDiscriminatedUnion<"operation", [
|
|
|
362
503
|
subject?: string | undefined;
|
|
363
504
|
created_at?: string | undefined;
|
|
364
505
|
updated_at?: string | undefined;
|
|
506
|
+
custom_fields?: {
|
|
507
|
+
value: string | number | boolean | string[] | null;
|
|
508
|
+
id: number;
|
|
509
|
+
}[] | undefined;
|
|
365
510
|
assignee_id?: number | null | undefined;
|
|
366
511
|
organization_id?: number | null | undefined;
|
|
367
512
|
requester_id?: number | undefined;
|
|
@@ -375,6 +520,10 @@ export declare const ZendeskResultSchema: z.ZodDiscriminatedUnion<"operation", [
|
|
|
375
520
|
subject?: string | undefined;
|
|
376
521
|
created_at?: string | undefined;
|
|
377
522
|
updated_at?: string | undefined;
|
|
523
|
+
custom_fields?: {
|
|
524
|
+
value: string | number | boolean | string[] | null;
|
|
525
|
+
id: number;
|
|
526
|
+
}[] | undefined;
|
|
378
527
|
assignee_id?: number | null | undefined;
|
|
379
528
|
organization_id?: number | null | undefined;
|
|
380
529
|
requester_id?: number | undefined;
|
|
@@ -394,6 +543,10 @@ export declare const ZendeskResultSchema: z.ZodDiscriminatedUnion<"operation", [
|
|
|
394
543
|
subject?: string | undefined;
|
|
395
544
|
created_at?: string | undefined;
|
|
396
545
|
updated_at?: string | undefined;
|
|
546
|
+
custom_fields?: {
|
|
547
|
+
value: string | number | boolean | string[] | null;
|
|
548
|
+
id: number;
|
|
549
|
+
}[] | undefined;
|
|
397
550
|
assignee_id?: number | null | undefined;
|
|
398
551
|
organization_id?: number | null | undefined;
|
|
399
552
|
requester_id?: number | undefined;
|
|
@@ -412,6 +565,10 @@ export declare const ZendeskResultSchema: z.ZodDiscriminatedUnion<"operation", [
|
|
|
412
565
|
subject?: string | undefined;
|
|
413
566
|
created_at?: string | undefined;
|
|
414
567
|
updated_at?: string | undefined;
|
|
568
|
+
custom_fields?: {
|
|
569
|
+
value: string | number | boolean | string[] | null;
|
|
570
|
+
id: number;
|
|
571
|
+
}[] | undefined;
|
|
415
572
|
assignee_id?: number | null | undefined;
|
|
416
573
|
organization_id?: number | null | undefined;
|
|
417
574
|
requester_id?: number | undefined;
|
|
@@ -430,6 +587,16 @@ export declare const ZendeskResultSchema: z.ZodDiscriminatedUnion<"operation", [
|
|
|
430
587
|
assignee_id: z.ZodNullable<z.ZodOptional<z.ZodNumber>>;
|
|
431
588
|
organization_id: z.ZodNullable<z.ZodOptional<z.ZodNumber>>;
|
|
432
589
|
tags: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
590
|
+
custom_fields: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
591
|
+
id: z.ZodNumber;
|
|
592
|
+
value: z.ZodNullable<z.ZodUnion<[z.ZodString, z.ZodNumber, z.ZodBoolean, z.ZodArray<z.ZodString, "many">, z.ZodNull]>>;
|
|
593
|
+
}, "strip", z.ZodTypeAny, {
|
|
594
|
+
value: string | number | boolean | string[] | null;
|
|
595
|
+
id: number;
|
|
596
|
+
}, {
|
|
597
|
+
value: string | number | boolean | string[] | null;
|
|
598
|
+
id: number;
|
|
599
|
+
}>, "many">>;
|
|
433
600
|
created_at: z.ZodOptional<z.ZodString>;
|
|
434
601
|
updated_at: z.ZodOptional<z.ZodString>;
|
|
435
602
|
}, "strip", z.ZodTypeAny, {
|
|
@@ -442,6 +609,10 @@ export declare const ZendeskResultSchema: z.ZodDiscriminatedUnion<"operation", [
|
|
|
442
609
|
subject?: string | undefined;
|
|
443
610
|
created_at?: string | undefined;
|
|
444
611
|
updated_at?: string | undefined;
|
|
612
|
+
custom_fields?: {
|
|
613
|
+
value: string | number | boolean | string[] | null;
|
|
614
|
+
id: number;
|
|
615
|
+
}[] | undefined;
|
|
445
616
|
assignee_id?: number | null | undefined;
|
|
446
617
|
organization_id?: number | null | undefined;
|
|
447
618
|
requester_id?: number | undefined;
|
|
@@ -455,6 +626,10 @@ export declare const ZendeskResultSchema: z.ZodDiscriminatedUnion<"operation", [
|
|
|
455
626
|
subject?: string | undefined;
|
|
456
627
|
created_at?: string | undefined;
|
|
457
628
|
updated_at?: string | undefined;
|
|
629
|
+
custom_fields?: {
|
|
630
|
+
value: string | number | boolean | string[] | null;
|
|
631
|
+
id: number;
|
|
632
|
+
}[] | undefined;
|
|
458
633
|
assignee_id?: number | null | undefined;
|
|
459
634
|
organization_id?: number | null | undefined;
|
|
460
635
|
requester_id?: number | undefined;
|
|
@@ -474,6 +649,10 @@ export declare const ZendeskResultSchema: z.ZodDiscriminatedUnion<"operation", [
|
|
|
474
649
|
subject?: string | undefined;
|
|
475
650
|
created_at?: string | undefined;
|
|
476
651
|
updated_at?: string | undefined;
|
|
652
|
+
custom_fields?: {
|
|
653
|
+
value: string | number | boolean | string[] | null;
|
|
654
|
+
id: number;
|
|
655
|
+
}[] | undefined;
|
|
477
656
|
assignee_id?: number | null | undefined;
|
|
478
657
|
organization_id?: number | null | undefined;
|
|
479
658
|
requester_id?: number | undefined;
|
|
@@ -492,6 +671,10 @@ export declare const ZendeskResultSchema: z.ZodDiscriminatedUnion<"operation", [
|
|
|
492
671
|
subject?: string | undefined;
|
|
493
672
|
created_at?: string | undefined;
|
|
494
673
|
updated_at?: string | undefined;
|
|
674
|
+
custom_fields?: {
|
|
675
|
+
value: string | number | boolean | string[] | null;
|
|
676
|
+
id: number;
|
|
677
|
+
}[] | undefined;
|
|
495
678
|
assignee_id?: number | null | undefined;
|
|
496
679
|
organization_id?: number | null | undefined;
|
|
497
680
|
requester_id?: number | undefined;
|
|
@@ -510,6 +693,16 @@ export declare const ZendeskResultSchema: z.ZodDiscriminatedUnion<"operation", [
|
|
|
510
693
|
assignee_id: z.ZodNullable<z.ZodOptional<z.ZodNumber>>;
|
|
511
694
|
organization_id: z.ZodNullable<z.ZodOptional<z.ZodNumber>>;
|
|
512
695
|
tags: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
696
|
+
custom_fields: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
697
|
+
id: z.ZodNumber;
|
|
698
|
+
value: z.ZodNullable<z.ZodUnion<[z.ZodString, z.ZodNumber, z.ZodBoolean, z.ZodArray<z.ZodString, "many">, z.ZodNull]>>;
|
|
699
|
+
}, "strip", z.ZodTypeAny, {
|
|
700
|
+
value: string | number | boolean | string[] | null;
|
|
701
|
+
id: number;
|
|
702
|
+
}, {
|
|
703
|
+
value: string | number | boolean | string[] | null;
|
|
704
|
+
id: number;
|
|
705
|
+
}>, "many">>;
|
|
513
706
|
created_at: z.ZodOptional<z.ZodString>;
|
|
514
707
|
updated_at: z.ZodOptional<z.ZodString>;
|
|
515
708
|
}, "strip", z.ZodTypeAny, {
|
|
@@ -522,6 +715,10 @@ export declare const ZendeskResultSchema: z.ZodDiscriminatedUnion<"operation", [
|
|
|
522
715
|
subject?: string | undefined;
|
|
523
716
|
created_at?: string | undefined;
|
|
524
717
|
updated_at?: string | undefined;
|
|
718
|
+
custom_fields?: {
|
|
719
|
+
value: string | number | boolean | string[] | null;
|
|
720
|
+
id: number;
|
|
721
|
+
}[] | undefined;
|
|
525
722
|
assignee_id?: number | null | undefined;
|
|
526
723
|
organization_id?: number | null | undefined;
|
|
527
724
|
requester_id?: number | undefined;
|
|
@@ -535,6 +732,10 @@ export declare const ZendeskResultSchema: z.ZodDiscriminatedUnion<"operation", [
|
|
|
535
732
|
subject?: string | undefined;
|
|
536
733
|
created_at?: string | undefined;
|
|
537
734
|
updated_at?: string | undefined;
|
|
735
|
+
custom_fields?: {
|
|
736
|
+
value: string | number | boolean | string[] | null;
|
|
737
|
+
id: number;
|
|
738
|
+
}[] | undefined;
|
|
538
739
|
assignee_id?: number | null | undefined;
|
|
539
740
|
organization_id?: number | null | undefined;
|
|
540
741
|
requester_id?: number | undefined;
|
|
@@ -554,6 +755,10 @@ export declare const ZendeskResultSchema: z.ZodDiscriminatedUnion<"operation", [
|
|
|
554
755
|
subject?: string | undefined;
|
|
555
756
|
created_at?: string | undefined;
|
|
556
757
|
updated_at?: string | undefined;
|
|
758
|
+
custom_fields?: {
|
|
759
|
+
value: string | number | boolean | string[] | null;
|
|
760
|
+
id: number;
|
|
761
|
+
}[] | undefined;
|
|
557
762
|
assignee_id?: number | null | undefined;
|
|
558
763
|
organization_id?: number | null | undefined;
|
|
559
764
|
requester_id?: number | undefined;
|
|
@@ -572,6 +777,10 @@ export declare const ZendeskResultSchema: z.ZodDiscriminatedUnion<"operation", [
|
|
|
572
777
|
subject?: string | undefined;
|
|
573
778
|
created_at?: string | undefined;
|
|
574
779
|
updated_at?: string | undefined;
|
|
780
|
+
custom_fields?: {
|
|
781
|
+
value: string | number | boolean | string[] | null;
|
|
782
|
+
id: number;
|
|
783
|
+
}[] | undefined;
|
|
575
784
|
assignee_id?: number | null | undefined;
|
|
576
785
|
organization_id?: number | null | undefined;
|
|
577
786
|
requester_id?: number | undefined;
|
|
@@ -865,6 +1074,165 @@ export declare const ZendeskResultSchema: z.ZodDiscriminatedUnion<"operation", [
|
|
|
865
1074
|
count?: number | undefined;
|
|
866
1075
|
results?: Record<string, unknown>[] | undefined;
|
|
867
1076
|
next_page?: string | null | undefined;
|
|
1077
|
+
}>, z.ZodObject<{
|
|
1078
|
+
operation: z.ZodLiteral<"list_ticket_fields">;
|
|
1079
|
+
success: z.ZodBoolean;
|
|
1080
|
+
ticket_fields: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
1081
|
+
id: z.ZodNumber;
|
|
1082
|
+
type: z.ZodString;
|
|
1083
|
+
title: z.ZodString;
|
|
1084
|
+
description: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
|
1085
|
+
active: z.ZodOptional<z.ZodBoolean>;
|
|
1086
|
+
required: z.ZodOptional<z.ZodBoolean>;
|
|
1087
|
+
custom_field_options: z.ZodNullable<z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
1088
|
+
name: z.ZodString;
|
|
1089
|
+
value: z.ZodString;
|
|
1090
|
+
}, "strip", z.ZodTypeAny, {
|
|
1091
|
+
value: string;
|
|
1092
|
+
name: string;
|
|
1093
|
+
}, {
|
|
1094
|
+
value: string;
|
|
1095
|
+
name: string;
|
|
1096
|
+
}>, "many">>>;
|
|
1097
|
+
}, "strip", z.ZodTypeAny, {
|
|
1098
|
+
type: string;
|
|
1099
|
+
title: string;
|
|
1100
|
+
id: number;
|
|
1101
|
+
description?: string | null | undefined;
|
|
1102
|
+
required?: boolean | undefined;
|
|
1103
|
+
active?: boolean | undefined;
|
|
1104
|
+
custom_field_options?: {
|
|
1105
|
+
value: string;
|
|
1106
|
+
name: string;
|
|
1107
|
+
}[] | null | undefined;
|
|
1108
|
+
}, {
|
|
1109
|
+
type: string;
|
|
1110
|
+
title: string;
|
|
1111
|
+
id: number;
|
|
1112
|
+
description?: string | null | undefined;
|
|
1113
|
+
required?: boolean | undefined;
|
|
1114
|
+
active?: boolean | undefined;
|
|
1115
|
+
custom_field_options?: {
|
|
1116
|
+
value: string;
|
|
1117
|
+
name: string;
|
|
1118
|
+
}[] | null | undefined;
|
|
1119
|
+
}>, "many">>;
|
|
1120
|
+
error: z.ZodString;
|
|
1121
|
+
}, "strip", z.ZodTypeAny, {
|
|
1122
|
+
error: string;
|
|
1123
|
+
success: boolean;
|
|
1124
|
+
operation: "list_ticket_fields";
|
|
1125
|
+
ticket_fields?: {
|
|
1126
|
+
type: string;
|
|
1127
|
+
title: string;
|
|
1128
|
+
id: number;
|
|
1129
|
+
description?: string | null | undefined;
|
|
1130
|
+
required?: boolean | undefined;
|
|
1131
|
+
active?: boolean | undefined;
|
|
1132
|
+
custom_field_options?: {
|
|
1133
|
+
value: string;
|
|
1134
|
+
name: string;
|
|
1135
|
+
}[] | null | undefined;
|
|
1136
|
+
}[] | undefined;
|
|
1137
|
+
}, {
|
|
1138
|
+
error: string;
|
|
1139
|
+
success: boolean;
|
|
1140
|
+
operation: "list_ticket_fields";
|
|
1141
|
+
ticket_fields?: {
|
|
1142
|
+
type: string;
|
|
1143
|
+
title: string;
|
|
1144
|
+
id: number;
|
|
1145
|
+
description?: string | null | undefined;
|
|
1146
|
+
required?: boolean | undefined;
|
|
1147
|
+
active?: boolean | undefined;
|
|
1148
|
+
custom_field_options?: {
|
|
1149
|
+
value: string;
|
|
1150
|
+
name: string;
|
|
1151
|
+
}[] | null | undefined;
|
|
1152
|
+
}[] | undefined;
|
|
1153
|
+
}>, z.ZodObject<{
|
|
1154
|
+
operation: z.ZodLiteral<"create_ticket_field">;
|
|
1155
|
+
success: z.ZodBoolean;
|
|
1156
|
+
ticket_field: z.ZodOptional<z.ZodObject<{
|
|
1157
|
+
id: z.ZodNumber;
|
|
1158
|
+
type: z.ZodString;
|
|
1159
|
+
title: z.ZodString;
|
|
1160
|
+
active: z.ZodOptional<z.ZodBoolean>;
|
|
1161
|
+
required: z.ZodOptional<z.ZodBoolean>;
|
|
1162
|
+
custom_field_options: z.ZodNullable<z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
1163
|
+
name: z.ZodString;
|
|
1164
|
+
value: z.ZodString;
|
|
1165
|
+
}, "strip", z.ZodTypeAny, {
|
|
1166
|
+
value: string;
|
|
1167
|
+
name: string;
|
|
1168
|
+
}, {
|
|
1169
|
+
value: string;
|
|
1170
|
+
name: string;
|
|
1171
|
+
}>, "many">>>;
|
|
1172
|
+
}, "strip", z.ZodTypeAny, {
|
|
1173
|
+
type: string;
|
|
1174
|
+
title: string;
|
|
1175
|
+
id: number;
|
|
1176
|
+
required?: boolean | undefined;
|
|
1177
|
+
active?: boolean | undefined;
|
|
1178
|
+
custom_field_options?: {
|
|
1179
|
+
value: string;
|
|
1180
|
+
name: string;
|
|
1181
|
+
}[] | null | undefined;
|
|
1182
|
+
}, {
|
|
1183
|
+
type: string;
|
|
1184
|
+
title: string;
|
|
1185
|
+
id: number;
|
|
1186
|
+
required?: boolean | undefined;
|
|
1187
|
+
active?: boolean | undefined;
|
|
1188
|
+
custom_field_options?: {
|
|
1189
|
+
value: string;
|
|
1190
|
+
name: string;
|
|
1191
|
+
}[] | null | undefined;
|
|
1192
|
+
}>>;
|
|
1193
|
+
error: z.ZodString;
|
|
1194
|
+
}, "strip", z.ZodTypeAny, {
|
|
1195
|
+
error: string;
|
|
1196
|
+
success: boolean;
|
|
1197
|
+
operation: "create_ticket_field";
|
|
1198
|
+
ticket_field?: {
|
|
1199
|
+
type: string;
|
|
1200
|
+
title: string;
|
|
1201
|
+
id: number;
|
|
1202
|
+
required?: boolean | undefined;
|
|
1203
|
+
active?: boolean | undefined;
|
|
1204
|
+
custom_field_options?: {
|
|
1205
|
+
value: string;
|
|
1206
|
+
name: string;
|
|
1207
|
+
}[] | null | undefined;
|
|
1208
|
+
} | undefined;
|
|
1209
|
+
}, {
|
|
1210
|
+
error: string;
|
|
1211
|
+
success: boolean;
|
|
1212
|
+
operation: "create_ticket_field";
|
|
1213
|
+
ticket_field?: {
|
|
1214
|
+
type: string;
|
|
1215
|
+
title: string;
|
|
1216
|
+
id: number;
|
|
1217
|
+
required?: boolean | undefined;
|
|
1218
|
+
active?: boolean | undefined;
|
|
1219
|
+
custom_field_options?: {
|
|
1220
|
+
value: string;
|
|
1221
|
+
name: string;
|
|
1222
|
+
}[] | null | undefined;
|
|
1223
|
+
} | undefined;
|
|
1224
|
+
}>, z.ZodObject<{
|
|
1225
|
+
operation: z.ZodLiteral<"delete_ticket_field">;
|
|
1226
|
+
success: z.ZodBoolean;
|
|
1227
|
+
error: z.ZodString;
|
|
1228
|
+
}, "strip", z.ZodTypeAny, {
|
|
1229
|
+
error: string;
|
|
1230
|
+
success: boolean;
|
|
1231
|
+
operation: "delete_ticket_field";
|
|
1232
|
+
}, {
|
|
1233
|
+
error: string;
|
|
1234
|
+
success: boolean;
|
|
1235
|
+
operation: "delete_ticket_field";
|
|
868
1236
|
}>, z.ZodObject<{
|
|
869
1237
|
operation: z.ZodLiteral<"list_articles">;
|
|
870
1238
|
success: z.ZodBoolean;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"zendesk.schema.d.ts","sourceRoot":"","sources":["../../../../src/bubbles/service-bubble/zendesk/zendesk.schema.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AACxB,OAAO,EAAE,cAAc,EAAE,MAAM,2BAA2B,CAAC;
|
|
1
|
+
{"version":3,"file":"zendesk.schema.d.ts","sourceRoot":"","sources":["../../../../src/bubbles/service-bubble/zendesk/zendesk.schema.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AACxB,OAAO,EAAE,cAAc,EAAE,MAAM,2BAA2B,CAAC;AAuB3D,eAAO,MAAM,mBAAmB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;IAsY9B,CAAC;AAgGH,eAAO,MAAM,mBAAmB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;IA8M9B,CAAC;AAEH,MAAM,MAAM,aAAa,GAAG,CAAC,CAAC,MAAM,CAAC,OAAO,mBAAmB,CAAC,CAAC;AACjE,MAAM,MAAM,kBAAkB,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,mBAAmB,CAAC,CAAC;AACrE,MAAM,MAAM,aAAa,GAAG,CAAC,CAAC,MAAM,CAAC,OAAO,mBAAmB,CAAC,CAAC"}
|