@bubblelab/bubble-core 0.1.246 → 0.1.248
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 +112 -112
- package/dist/bubbles/service-bubble/agi-inc.d.ts +20 -20
- package/dist/bubbles/service-bubble/ai-agent.d.ts +74 -74
- package/dist/bubbles/service-bubble/ai-agent.d.ts.map +1 -1
- package/dist/bubbles/service-bubble/ai-agent.js +6 -2
- package/dist/bubbles/service-bubble/ai-agent.js.map +1 -1
- package/dist/bubbles/service-bubble/airtable.d.ts +76 -76
- package/dist/bubbles/service-bubble/apify/actors/app-rankings-scraper.d.ts +6 -6
- package/dist/bubbles/service-bubble/apify/actors/instagram-hashtag-scraper.d.ts +2 -2
- package/dist/bubbles/service-bubble/apify/actors/instagram-scraper.d.ts +8 -8
- package/dist/bubbles/service-bubble/apify/actors/linkedin-jobs-scraper.d.ts +2 -2
- package/dist/bubbles/service-bubble/apify/actors/linkedin-posts-search.d.ts +22 -22
- package/dist/bubbles/service-bubble/apify/actors/linkedin-profile-detail.d.ts +38 -38
- package/dist/bubbles/service-bubble/apify/actors/linkedin-profile-posts.d.ts +52 -52
- package/dist/bubbles/service-bubble/apify/actors/tiktok-scraper.d.ts +6 -6
- package/dist/bubbles/service-bubble/apify/actors/twitter-scraper.d.ts +12 -12
- package/dist/bubbles/service-bubble/apify/actors/youtube-scraper.d.ts +12 -12
- package/dist/bubbles/service-bubble/apify/apify-scraper.schema.d.ts +132 -132
- package/dist/bubbles/service-bubble/apify/apify.d.ts +18 -18
- package/dist/bubbles/service-bubble/ashby/ashby.d.ts +2033 -76
- package/dist/bubbles/service-bubble/ashby/ashby.d.ts.map +1 -1
- package/dist/bubbles/service-bubble/ashby/ashby.js +284 -4
- package/dist/bubbles/service-bubble/ashby/ashby.js.map +1 -1
- package/dist/bubbles/service-bubble/ashby/ashby.schema.d.ts +2602 -351
- package/dist/bubbles/service-bubble/ashby/ashby.schema.d.ts.map +1 -1
- package/dist/bubbles/service-bubble/ashby/ashby.schema.js +475 -0
- package/dist/bubbles/service-bubble/ashby/ashby.schema.js.map +1 -1
- package/dist/bubbles/service-bubble/assembled/assembled.d.ts +6 -6
- package/dist/bubbles/service-bubble/assembled/assembled.schema.d.ts +6 -6
- package/dist/bubbles/service-bubble/attio/attio.d.ts +6 -6
- package/dist/bubbles/service-bubble/attio/attio.schema.d.ts +6 -6
- package/dist/bubbles/service-bubble/browserbase/browserbase.d.ts +1 -1
- package/dist/bubbles/service-bubble/browserbase/browserbase.schema.d.ts +1 -1
- package/dist/bubbles/service-bubble/crustdata/crustdata.d.ts +4 -4
- package/dist/bubbles/service-bubble/crustdata/crustdata.schema.d.ts +8 -8
- package/dist/bubbles/service-bubble/firecrawl.d.ts +334 -334
- package/dist/bubbles/service-bubble/followupboss.d.ts +4 -4
- package/dist/bubbles/service-bubble/github.d.ts +60 -60
- package/dist/bubbles/service-bubble/gmail.d.ts +164 -164
- package/dist/bubbles/service-bubble/google-calendar.d.ts +6 -6
- package/dist/bubbles/service-bubble/google-drive.d.ts +4 -4
- package/dist/bubbles/service-bubble/http.d.ts +6 -6
- package/dist/bubbles/service-bubble/hubspot/hubspot.d.ts +2 -2
- package/dist/bubbles/service-bubble/hubspot/hubspot.schema.d.ts +2 -2
- package/dist/bubbles/service-bubble/insforge-db.d.ts +8 -8
- package/dist/bubbles/service-bubble/jira/jira.d.ts +30 -30
- package/dist/bubbles/service-bubble/jira/jira.schema.d.ts +36 -36
- package/dist/bubbles/service-bubble/notion/notion.d.ts +168 -168
- package/dist/bubbles/service-bubble/notion/property-schemas.d.ts +8 -8
- package/dist/bubbles/service-bubble/postgresql.d.ts +8 -8
- package/dist/bubbles/service-bubble/posthog/posthog.d.ts +10 -10
- package/dist/bubbles/service-bubble/posthog/posthog.schema.d.ts +14 -14
- package/dist/bubbles/service-bubble/resend.d.ts +4 -4
- package/dist/bubbles/service-bubble/slack/slack.d.ts +388 -388
- package/dist/bubbles/service-bubble/stripe/stripe.d.ts +24 -24
- package/dist/bubbles/service-bubble/stripe/stripe.schema.d.ts +28 -28
- package/dist/bubbles/service-bubble/xero/xero.d.ts +2 -2
- package/dist/bubbles/service-bubble/xero/xero.schema.d.ts +2 -2
- package/dist/bubbles/service-bubble/zendesk/zendesk.d.ts +870 -20
- package/dist/bubbles/service-bubble/zendesk/zendesk.d.ts.map +1 -1
- package/dist/bubbles/service-bubble/zendesk/zendesk.js +156 -0
- package/dist/bubbles/service-bubble/zendesk/zendesk.js.map +1 -1
- package/dist/bubbles/service-bubble/zendesk/zendesk.schema.d.ts +862 -20
- package/dist/bubbles/service-bubble/zendesk/zendesk.schema.d.ts.map +1 -1
- package/dist/bubbles/service-bubble/zendesk/zendesk.schema.js +261 -0
- package/dist/bubbles/service-bubble/zendesk/zendesk.schema.js.map +1 -1
- package/dist/bubbles/tool-bubble/amazon-shopping-tool/amazon-shopping-tool.d.ts +6 -6
- package/dist/bubbles/tool-bubble/amazon-shopping-tool/amazon-shopping-tool.schema.d.ts +8 -8
- package/dist/bubbles/tool-bubble/app-rankings-tool.d.ts +8 -8
- package/dist/bubbles/tool-bubble/bubbleflow-validation-tool.d.ts +4 -4
- package/dist/bubbles/tool-bubble/chart-js-tool.d.ts +4 -4
- package/dist/bubbles/tool-bubble/company-enrichment-tool.d.ts +20 -20
- package/dist/bubbles/tool-bubble/linkedin-tool.d.ts +384 -384
- package/dist/bubbles/tool-bubble/people-search-tool.d.ts +44 -44
- package/dist/bubbles/tool-bubble/reddit-scrape-tool.d.ts +10 -10
- package/dist/bubbles/tool-bubble/research-agent-tool.d.ts +4 -4
- package/dist/bubbles/tool-bubble/sql-query-tool.d.ts +4 -4
- package/dist/bubbles/tool-bubble/tiktok-tool.d.ts +60 -60
- package/dist/bubbles/tool-bubble/twitter-tool.d.ts +134 -134
- package/dist/bubbles/tool-bubble/yc-scraper-tool.d.ts +8 -8
- package/dist/bubbles/tool-bubble/youtube-tool.d.ts +20 -20
- package/dist/bubbles/workflow-bubble/generate-document.workflow.d.ts +12 -12
- package/dist/bubbles/workflow-bubble/pdf-form-operations.workflow.d.ts +8 -8
- package/dist/bubbles/workflow-bubble/slack-data-assistant.workflow.d.ts +2 -2
- package/dist/bubbles/workflow-bubble/slack-formatter-agent.d.ts +34 -34
- package/dist/bubbles.json +5400 -2152
- package/package.json +2 -2
|
@@ -63,8 +63,8 @@ export declare const ZendeskParamsSchema: z.ZodDiscriminatedUnion<"operation", [
|
|
|
63
63
|
subject: string;
|
|
64
64
|
type?: "question" | "task" | "problem" | "incident" | undefined;
|
|
65
65
|
credentials?: Partial<Record<CredentialType, string>> | undefined;
|
|
66
|
-
priority?: "low" | "high" | "urgent" | "normal" | undefined;
|
|
67
66
|
tags?: string[] | undefined;
|
|
67
|
+
priority?: "low" | "high" | "urgent" | "normal" | undefined;
|
|
68
68
|
custom_fields?: {
|
|
69
69
|
value: string | number | boolean | string[] | null;
|
|
70
70
|
id: number;
|
|
@@ -78,8 +78,8 @@ export declare const ZendeskParamsSchema: z.ZodDiscriminatedUnion<"operation", [
|
|
|
78
78
|
subject: string;
|
|
79
79
|
type?: "question" | "task" | "problem" | "incident" | undefined;
|
|
80
80
|
credentials?: Partial<Record<CredentialType, string>> | undefined;
|
|
81
|
-
priority?: "low" | "high" | "urgent" | "normal" | undefined;
|
|
82
81
|
tags?: string[] | undefined;
|
|
82
|
+
priority?: "low" | "high" | "urgent" | "normal" | undefined;
|
|
83
83
|
custom_fields?: {
|
|
84
84
|
value: string | number | boolean | string[] | null;
|
|
85
85
|
id: number;
|
|
@@ -113,8 +113,8 @@ export declare const ZendeskParamsSchema: z.ZodDiscriminatedUnion<"operation", [
|
|
|
113
113
|
ticket_id: string;
|
|
114
114
|
status?: "pending" | "open" | "closed" | "new" | "hold" | "solved" | undefined;
|
|
115
115
|
credentials?: Partial<Record<CredentialType, string>> | undefined;
|
|
116
|
-
priority?: "low" | "high" | "urgent" | "normal" | undefined;
|
|
117
116
|
tags?: string[] | undefined;
|
|
117
|
+
priority?: "low" | "high" | "urgent" | "normal" | undefined;
|
|
118
118
|
comment?: string | undefined;
|
|
119
119
|
custom_fields?: {
|
|
120
120
|
value: string | number | boolean | string[] | null;
|
|
@@ -126,8 +126,8 @@ export declare const ZendeskParamsSchema: z.ZodDiscriminatedUnion<"operation", [
|
|
|
126
126
|
ticket_id: string;
|
|
127
127
|
status?: "pending" | "open" | "closed" | "new" | "hold" | "solved" | undefined;
|
|
128
128
|
credentials?: Partial<Record<CredentialType, string>> | undefined;
|
|
129
|
-
priority?: "low" | "high" | "urgent" | "normal" | undefined;
|
|
130
129
|
tags?: string[] | undefined;
|
|
130
|
+
priority?: "low" | "high" | "urgent" | "normal" | undefined;
|
|
131
131
|
public?: boolean | undefined;
|
|
132
132
|
comment?: string | undefined;
|
|
133
133
|
custom_fields?: {
|
|
@@ -354,6 +354,214 @@ export declare const ZendeskParamsSchema: z.ZodDiscriminatedUnion<"operation", [
|
|
|
354
354
|
operation: "delete_ticket_field";
|
|
355
355
|
ticket_field_id: string;
|
|
356
356
|
credentials?: Partial<Record<CredentialType, string>> | undefined;
|
|
357
|
+
}>, z.ZodObject<{
|
|
358
|
+
operation: z.ZodLiteral<"list_macros">;
|
|
359
|
+
active: z.ZodOptional<z.ZodBoolean>;
|
|
360
|
+
category: z.ZodOptional<z.ZodString>;
|
|
361
|
+
include: z.ZodOptional<z.ZodEnum<["usage_7d", "usage_24h", "usage_30d"]>>;
|
|
362
|
+
page: z.ZodDefault<z.ZodOptional<z.ZodNumber>>;
|
|
363
|
+
per_page: z.ZodDefault<z.ZodOptional<z.ZodNumber>>;
|
|
364
|
+
credentials: z.ZodOptional<z.ZodRecord<z.ZodNativeEnum<typeof CredentialType>, z.ZodString>>;
|
|
365
|
+
}, "strip", z.ZodTypeAny, {
|
|
366
|
+
operation: "list_macros";
|
|
367
|
+
page: number;
|
|
368
|
+
per_page: number;
|
|
369
|
+
credentials?: Partial<Record<CredentialType, string>> | undefined;
|
|
370
|
+
include?: "usage_7d" | "usage_24h" | "usage_30d" | undefined;
|
|
371
|
+
category?: string | undefined;
|
|
372
|
+
active?: boolean | undefined;
|
|
373
|
+
}, {
|
|
374
|
+
operation: "list_macros";
|
|
375
|
+
credentials?: Partial<Record<CredentialType, string>> | undefined;
|
|
376
|
+
include?: "usage_7d" | "usage_24h" | "usage_30d" | undefined;
|
|
377
|
+
page?: number | undefined;
|
|
378
|
+
category?: string | undefined;
|
|
379
|
+
per_page?: number | undefined;
|
|
380
|
+
active?: boolean | undefined;
|
|
381
|
+
}>, z.ZodObject<{
|
|
382
|
+
operation: z.ZodLiteral<"get_macro">;
|
|
383
|
+
macro_id: z.ZodString;
|
|
384
|
+
credentials: z.ZodOptional<z.ZodRecord<z.ZodNativeEnum<typeof CredentialType>, z.ZodString>>;
|
|
385
|
+
}, "strip", z.ZodTypeAny, {
|
|
386
|
+
operation: "get_macro";
|
|
387
|
+
macro_id: string;
|
|
388
|
+
credentials?: Partial<Record<CredentialType, string>> | undefined;
|
|
389
|
+
}, {
|
|
390
|
+
operation: "get_macro";
|
|
391
|
+
macro_id: string;
|
|
392
|
+
credentials?: Partial<Record<CredentialType, string>> | undefined;
|
|
393
|
+
}>, z.ZodObject<{
|
|
394
|
+
operation: z.ZodLiteral<"apply_macro">;
|
|
395
|
+
ticket_id: z.ZodString;
|
|
396
|
+
macro_id: z.ZodString;
|
|
397
|
+
credentials: z.ZodOptional<z.ZodRecord<z.ZodNativeEnum<typeof CredentialType>, z.ZodString>>;
|
|
398
|
+
}, "strip", z.ZodTypeAny, {
|
|
399
|
+
operation: "apply_macro";
|
|
400
|
+
ticket_id: string;
|
|
401
|
+
macro_id: string;
|
|
402
|
+
credentials?: Partial<Record<CredentialType, string>> | undefined;
|
|
403
|
+
}, {
|
|
404
|
+
operation: "apply_macro";
|
|
405
|
+
ticket_id: string;
|
|
406
|
+
macro_id: string;
|
|
407
|
+
credentials?: Partial<Record<CredentialType, string>> | undefined;
|
|
408
|
+
}>, z.ZodObject<{
|
|
409
|
+
operation: z.ZodLiteral<"create_macro">;
|
|
410
|
+
title: z.ZodString;
|
|
411
|
+
actions: z.ZodArray<z.ZodObject<{
|
|
412
|
+
field: z.ZodString;
|
|
413
|
+
value: z.ZodUnion<[z.ZodString, z.ZodNumber, z.ZodBoolean, z.ZodArray<z.ZodString, "many">, z.ZodNull]>;
|
|
414
|
+
}, "strip", z.ZodTypeAny, {
|
|
415
|
+
value: string | number | boolean | string[] | null;
|
|
416
|
+
field: string;
|
|
417
|
+
}, {
|
|
418
|
+
value: string | number | boolean | string[] | null;
|
|
419
|
+
field: string;
|
|
420
|
+
}>, "many">;
|
|
421
|
+
active: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
|
|
422
|
+
description: z.ZodOptional<z.ZodString>;
|
|
423
|
+
restriction: z.ZodOptional<z.ZodObject<{
|
|
424
|
+
type: z.ZodString;
|
|
425
|
+
id: z.ZodOptional<z.ZodNumber>;
|
|
426
|
+
ids: z.ZodOptional<z.ZodArray<z.ZodNumber, "many">>;
|
|
427
|
+
}, "strip", z.ZodTypeAny, {
|
|
428
|
+
type: string;
|
|
429
|
+
id?: number | undefined;
|
|
430
|
+
ids?: number[] | undefined;
|
|
431
|
+
}, {
|
|
432
|
+
type: string;
|
|
433
|
+
id?: number | undefined;
|
|
434
|
+
ids?: number[] | undefined;
|
|
435
|
+
}>>;
|
|
436
|
+
credentials: z.ZodOptional<z.ZodRecord<z.ZodNativeEnum<typeof CredentialType>, z.ZodString>>;
|
|
437
|
+
}, "strip", z.ZodTypeAny, {
|
|
438
|
+
title: string;
|
|
439
|
+
operation: "create_macro";
|
|
440
|
+
actions: {
|
|
441
|
+
value: string | number | boolean | string[] | null;
|
|
442
|
+
field: string;
|
|
443
|
+
}[];
|
|
444
|
+
active: boolean;
|
|
445
|
+
description?: string | undefined;
|
|
446
|
+
credentials?: Partial<Record<CredentialType, string>> | undefined;
|
|
447
|
+
restriction?: {
|
|
448
|
+
type: string;
|
|
449
|
+
id?: number | undefined;
|
|
450
|
+
ids?: number[] | undefined;
|
|
451
|
+
} | undefined;
|
|
452
|
+
}, {
|
|
453
|
+
title: string;
|
|
454
|
+
operation: "create_macro";
|
|
455
|
+
actions: {
|
|
456
|
+
value: string | number | boolean | string[] | null;
|
|
457
|
+
field: string;
|
|
458
|
+
}[];
|
|
459
|
+
description?: string | undefined;
|
|
460
|
+
credentials?: Partial<Record<CredentialType, string>> | undefined;
|
|
461
|
+
active?: boolean | undefined;
|
|
462
|
+
restriction?: {
|
|
463
|
+
type: string;
|
|
464
|
+
id?: number | undefined;
|
|
465
|
+
ids?: number[] | undefined;
|
|
466
|
+
} | undefined;
|
|
467
|
+
}>, z.ZodObject<{
|
|
468
|
+
operation: z.ZodLiteral<"update_macro">;
|
|
469
|
+
macro_id: z.ZodString;
|
|
470
|
+
title: z.ZodOptional<z.ZodString>;
|
|
471
|
+
actions: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
472
|
+
field: z.ZodString;
|
|
473
|
+
value: z.ZodUnion<[z.ZodString, z.ZodNumber, z.ZodBoolean, z.ZodArray<z.ZodString, "many">, z.ZodNull]>;
|
|
474
|
+
}, "strip", z.ZodTypeAny, {
|
|
475
|
+
value: string | number | boolean | string[] | null;
|
|
476
|
+
field: string;
|
|
477
|
+
}, {
|
|
478
|
+
value: string | number | boolean | string[] | null;
|
|
479
|
+
field: string;
|
|
480
|
+
}>, "many">>;
|
|
481
|
+
active: z.ZodOptional<z.ZodBoolean>;
|
|
482
|
+
description: z.ZodOptional<z.ZodString>;
|
|
483
|
+
restriction: z.ZodOptional<z.ZodObject<{
|
|
484
|
+
type: z.ZodString;
|
|
485
|
+
id: z.ZodOptional<z.ZodNumber>;
|
|
486
|
+
ids: z.ZodOptional<z.ZodArray<z.ZodNumber, "many">>;
|
|
487
|
+
}, "strip", z.ZodTypeAny, {
|
|
488
|
+
type: string;
|
|
489
|
+
id?: number | undefined;
|
|
490
|
+
ids?: number[] | undefined;
|
|
491
|
+
}, {
|
|
492
|
+
type: string;
|
|
493
|
+
id?: number | undefined;
|
|
494
|
+
ids?: number[] | undefined;
|
|
495
|
+
}>>;
|
|
496
|
+
credentials: z.ZodOptional<z.ZodRecord<z.ZodNativeEnum<typeof CredentialType>, z.ZodString>>;
|
|
497
|
+
}, "strip", z.ZodTypeAny, {
|
|
498
|
+
operation: "update_macro";
|
|
499
|
+
macro_id: string;
|
|
500
|
+
description?: string | undefined;
|
|
501
|
+
title?: string | undefined;
|
|
502
|
+
credentials?: Partial<Record<CredentialType, string>> | undefined;
|
|
503
|
+
actions?: {
|
|
504
|
+
value: string | number | boolean | string[] | null;
|
|
505
|
+
field: string;
|
|
506
|
+
}[] | undefined;
|
|
507
|
+
active?: boolean | undefined;
|
|
508
|
+
restriction?: {
|
|
509
|
+
type: string;
|
|
510
|
+
id?: number | undefined;
|
|
511
|
+
ids?: number[] | undefined;
|
|
512
|
+
} | undefined;
|
|
513
|
+
}, {
|
|
514
|
+
operation: "update_macro";
|
|
515
|
+
macro_id: string;
|
|
516
|
+
description?: string | undefined;
|
|
517
|
+
title?: string | undefined;
|
|
518
|
+
credentials?: Partial<Record<CredentialType, string>> | undefined;
|
|
519
|
+
actions?: {
|
|
520
|
+
value: string | number | boolean | string[] | null;
|
|
521
|
+
field: string;
|
|
522
|
+
}[] | undefined;
|
|
523
|
+
active?: boolean | undefined;
|
|
524
|
+
restriction?: {
|
|
525
|
+
type: string;
|
|
526
|
+
id?: number | undefined;
|
|
527
|
+
ids?: number[] | undefined;
|
|
528
|
+
} | undefined;
|
|
529
|
+
}>, z.ZodObject<{
|
|
530
|
+
operation: z.ZodLiteral<"delete_macro">;
|
|
531
|
+
macro_id: z.ZodString;
|
|
532
|
+
credentials: z.ZodOptional<z.ZodRecord<z.ZodNativeEnum<typeof CredentialType>, z.ZodString>>;
|
|
533
|
+
}, "strip", z.ZodTypeAny, {
|
|
534
|
+
operation: "delete_macro";
|
|
535
|
+
macro_id: string;
|
|
536
|
+
credentials?: Partial<Record<CredentialType, string>> | undefined;
|
|
537
|
+
}, {
|
|
538
|
+
operation: "delete_macro";
|
|
539
|
+
macro_id: string;
|
|
540
|
+
credentials?: Partial<Record<CredentialType, string>> | undefined;
|
|
541
|
+
}>, z.ZodObject<{
|
|
542
|
+
operation: z.ZodLiteral<"search_macros">;
|
|
543
|
+
query: z.ZodString;
|
|
544
|
+
active: z.ZodOptional<z.ZodBoolean>;
|
|
545
|
+
include: z.ZodOptional<z.ZodEnum<["usage_7d", "usage_24h", "usage_30d"]>>;
|
|
546
|
+
page: z.ZodDefault<z.ZodOptional<z.ZodNumber>>;
|
|
547
|
+
per_page: z.ZodDefault<z.ZodOptional<z.ZodNumber>>;
|
|
548
|
+
credentials: z.ZodOptional<z.ZodRecord<z.ZodNativeEnum<typeof CredentialType>, z.ZodString>>;
|
|
549
|
+
}, "strip", z.ZodTypeAny, {
|
|
550
|
+
query: string;
|
|
551
|
+
operation: "search_macros";
|
|
552
|
+
page: number;
|
|
553
|
+
per_page: number;
|
|
554
|
+
credentials?: Partial<Record<CredentialType, string>> | undefined;
|
|
555
|
+
include?: "usage_7d" | "usage_24h" | "usage_30d" | undefined;
|
|
556
|
+
active?: boolean | undefined;
|
|
557
|
+
}, {
|
|
558
|
+
query: string;
|
|
559
|
+
operation: "search_macros";
|
|
560
|
+
credentials?: Partial<Record<CredentialType, string>> | undefined;
|
|
561
|
+
include?: "usage_7d" | "usage_24h" | "usage_30d" | undefined;
|
|
562
|
+
page?: number | undefined;
|
|
563
|
+
per_page?: number | undefined;
|
|
564
|
+
active?: boolean | undefined;
|
|
357
565
|
}>]>;
|
|
358
566
|
export declare const ZendeskResultSchema: z.ZodDiscriminatedUnion<"operation", [z.ZodObject<{
|
|
359
567
|
operation: z.ZodLiteral<"list_tickets">;
|
|
@@ -386,8 +594,8 @@ export declare const ZendeskResultSchema: z.ZodDiscriminatedUnion<"operation", [
|
|
|
386
594
|
type?: string | null | undefined;
|
|
387
595
|
description?: string | undefined;
|
|
388
596
|
status?: string | undefined;
|
|
389
|
-
priority?: string | null | undefined;
|
|
390
597
|
tags?: string[] | undefined;
|
|
598
|
+
priority?: string | null | undefined;
|
|
391
599
|
subject?: string | undefined;
|
|
392
600
|
created_at?: string | undefined;
|
|
393
601
|
updated_at?: string | undefined;
|
|
@@ -403,8 +611,8 @@ export declare const ZendeskResultSchema: z.ZodDiscriminatedUnion<"operation", [
|
|
|
403
611
|
type?: string | null | undefined;
|
|
404
612
|
description?: string | undefined;
|
|
405
613
|
status?: string | undefined;
|
|
406
|
-
priority?: string | null | undefined;
|
|
407
614
|
tags?: string[] | undefined;
|
|
615
|
+
priority?: string | null | undefined;
|
|
408
616
|
subject?: string | undefined;
|
|
409
617
|
created_at?: string | undefined;
|
|
410
618
|
updated_at?: string | undefined;
|
|
@@ -429,8 +637,8 @@ export declare const ZendeskResultSchema: z.ZodDiscriminatedUnion<"operation", [
|
|
|
429
637
|
type?: string | null | undefined;
|
|
430
638
|
description?: string | undefined;
|
|
431
639
|
status?: string | undefined;
|
|
432
|
-
priority?: string | null | undefined;
|
|
433
640
|
tags?: string[] | undefined;
|
|
641
|
+
priority?: string | null | undefined;
|
|
434
642
|
subject?: string | undefined;
|
|
435
643
|
created_at?: string | undefined;
|
|
436
644
|
updated_at?: string | undefined;
|
|
@@ -453,8 +661,8 @@ export declare const ZendeskResultSchema: z.ZodDiscriminatedUnion<"operation", [
|
|
|
453
661
|
type?: string | null | undefined;
|
|
454
662
|
description?: string | undefined;
|
|
455
663
|
status?: string | undefined;
|
|
456
|
-
priority?: string | null | undefined;
|
|
457
664
|
tags?: string[] | undefined;
|
|
665
|
+
priority?: string | null | undefined;
|
|
458
666
|
subject?: string | undefined;
|
|
459
667
|
created_at?: string | undefined;
|
|
460
668
|
updated_at?: string | undefined;
|
|
@@ -498,8 +706,8 @@ export declare const ZendeskResultSchema: z.ZodDiscriminatedUnion<"operation", [
|
|
|
498
706
|
type?: string | null | undefined;
|
|
499
707
|
description?: string | undefined;
|
|
500
708
|
status?: string | undefined;
|
|
501
|
-
priority?: string | null | undefined;
|
|
502
709
|
tags?: string[] | undefined;
|
|
710
|
+
priority?: string | null | undefined;
|
|
503
711
|
subject?: string | undefined;
|
|
504
712
|
created_at?: string | undefined;
|
|
505
713
|
updated_at?: string | undefined;
|
|
@@ -515,8 +723,8 @@ export declare const ZendeskResultSchema: z.ZodDiscriminatedUnion<"operation", [
|
|
|
515
723
|
type?: string | null | undefined;
|
|
516
724
|
description?: string | undefined;
|
|
517
725
|
status?: string | undefined;
|
|
518
|
-
priority?: string | null | undefined;
|
|
519
726
|
tags?: string[] | undefined;
|
|
727
|
+
priority?: string | null | undefined;
|
|
520
728
|
subject?: string | undefined;
|
|
521
729
|
created_at?: string | undefined;
|
|
522
730
|
updated_at?: string | undefined;
|
|
@@ -538,8 +746,8 @@ export declare const ZendeskResultSchema: z.ZodDiscriminatedUnion<"operation", [
|
|
|
538
746
|
type?: string | null | undefined;
|
|
539
747
|
description?: string | undefined;
|
|
540
748
|
status?: string | undefined;
|
|
541
|
-
priority?: string | null | undefined;
|
|
542
749
|
tags?: string[] | undefined;
|
|
750
|
+
priority?: string | null | undefined;
|
|
543
751
|
subject?: string | undefined;
|
|
544
752
|
created_at?: string | undefined;
|
|
545
753
|
updated_at?: string | undefined;
|
|
@@ -560,8 +768,8 @@ export declare const ZendeskResultSchema: z.ZodDiscriminatedUnion<"operation", [
|
|
|
560
768
|
type?: string | null | undefined;
|
|
561
769
|
description?: string | undefined;
|
|
562
770
|
status?: string | undefined;
|
|
563
|
-
priority?: string | null | undefined;
|
|
564
771
|
tags?: string[] | undefined;
|
|
772
|
+
priority?: string | null | undefined;
|
|
565
773
|
subject?: string | undefined;
|
|
566
774
|
created_at?: string | undefined;
|
|
567
775
|
updated_at?: string | undefined;
|
|
@@ -604,8 +812,8 @@ export declare const ZendeskResultSchema: z.ZodDiscriminatedUnion<"operation", [
|
|
|
604
812
|
type?: string | null | undefined;
|
|
605
813
|
description?: string | undefined;
|
|
606
814
|
status?: string | undefined;
|
|
607
|
-
priority?: string | null | undefined;
|
|
608
815
|
tags?: string[] | undefined;
|
|
816
|
+
priority?: string | null | undefined;
|
|
609
817
|
subject?: string | undefined;
|
|
610
818
|
created_at?: string | undefined;
|
|
611
819
|
updated_at?: string | undefined;
|
|
@@ -621,8 +829,8 @@ export declare const ZendeskResultSchema: z.ZodDiscriminatedUnion<"operation", [
|
|
|
621
829
|
type?: string | null | undefined;
|
|
622
830
|
description?: string | undefined;
|
|
623
831
|
status?: string | undefined;
|
|
624
|
-
priority?: string | null | undefined;
|
|
625
832
|
tags?: string[] | undefined;
|
|
833
|
+
priority?: string | null | undefined;
|
|
626
834
|
subject?: string | undefined;
|
|
627
835
|
created_at?: string | undefined;
|
|
628
836
|
updated_at?: string | undefined;
|
|
@@ -644,8 +852,8 @@ export declare const ZendeskResultSchema: z.ZodDiscriminatedUnion<"operation", [
|
|
|
644
852
|
type?: string | null | undefined;
|
|
645
853
|
description?: string | undefined;
|
|
646
854
|
status?: string | undefined;
|
|
647
|
-
priority?: string | null | undefined;
|
|
648
855
|
tags?: string[] | undefined;
|
|
856
|
+
priority?: string | null | undefined;
|
|
649
857
|
subject?: string | undefined;
|
|
650
858
|
created_at?: string | undefined;
|
|
651
859
|
updated_at?: string | undefined;
|
|
@@ -666,8 +874,8 @@ export declare const ZendeskResultSchema: z.ZodDiscriminatedUnion<"operation", [
|
|
|
666
874
|
type?: string | null | undefined;
|
|
667
875
|
description?: string | undefined;
|
|
668
876
|
status?: string | undefined;
|
|
669
|
-
priority?: string | null | undefined;
|
|
670
877
|
tags?: string[] | undefined;
|
|
878
|
+
priority?: string | null | undefined;
|
|
671
879
|
subject?: string | undefined;
|
|
672
880
|
created_at?: string | undefined;
|
|
673
881
|
updated_at?: string | undefined;
|
|
@@ -710,8 +918,8 @@ export declare const ZendeskResultSchema: z.ZodDiscriminatedUnion<"operation", [
|
|
|
710
918
|
type?: string | null | undefined;
|
|
711
919
|
description?: string | undefined;
|
|
712
920
|
status?: string | undefined;
|
|
713
|
-
priority?: string | null | undefined;
|
|
714
921
|
tags?: string[] | undefined;
|
|
922
|
+
priority?: string | null | undefined;
|
|
715
923
|
subject?: string | undefined;
|
|
716
924
|
created_at?: string | undefined;
|
|
717
925
|
updated_at?: string | undefined;
|
|
@@ -727,8 +935,8 @@ export declare const ZendeskResultSchema: z.ZodDiscriminatedUnion<"operation", [
|
|
|
727
935
|
type?: string | null | undefined;
|
|
728
936
|
description?: string | undefined;
|
|
729
937
|
status?: string | undefined;
|
|
730
|
-
priority?: string | null | undefined;
|
|
731
938
|
tags?: string[] | undefined;
|
|
939
|
+
priority?: string | null | undefined;
|
|
732
940
|
subject?: string | undefined;
|
|
733
941
|
created_at?: string | undefined;
|
|
734
942
|
updated_at?: string | undefined;
|
|
@@ -750,8 +958,8 @@ export declare const ZendeskResultSchema: z.ZodDiscriminatedUnion<"operation", [
|
|
|
750
958
|
type?: string | null | undefined;
|
|
751
959
|
description?: string | undefined;
|
|
752
960
|
status?: string | undefined;
|
|
753
|
-
priority?: string | null | undefined;
|
|
754
961
|
tags?: string[] | undefined;
|
|
962
|
+
priority?: string | null | undefined;
|
|
755
963
|
subject?: string | undefined;
|
|
756
964
|
created_at?: string | undefined;
|
|
757
965
|
updated_at?: string | undefined;
|
|
@@ -772,8 +980,8 @@ export declare const ZendeskResultSchema: z.ZodDiscriminatedUnion<"operation", [
|
|
|
772
980
|
type?: string | null | undefined;
|
|
773
981
|
description?: string | undefined;
|
|
774
982
|
status?: string | undefined;
|
|
775
|
-
priority?: string | null | undefined;
|
|
776
983
|
tags?: string[] | undefined;
|
|
984
|
+
priority?: string | null | undefined;
|
|
777
985
|
subject?: string | undefined;
|
|
778
986
|
created_at?: string | undefined;
|
|
779
987
|
updated_at?: string | undefined;
|
|
@@ -1369,6 +1577,640 @@ export declare const ZendeskResultSchema: z.ZodDiscriminatedUnion<"operation", [
|
|
|
1369
1577
|
section_id?: number | undefined;
|
|
1370
1578
|
author_id?: number | undefined;
|
|
1371
1579
|
} | undefined;
|
|
1580
|
+
}>, z.ZodObject<{
|
|
1581
|
+
operation: z.ZodLiteral<"list_macros">;
|
|
1582
|
+
success: z.ZodBoolean;
|
|
1583
|
+
macros: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
1584
|
+
id: z.ZodNumber;
|
|
1585
|
+
title: z.ZodOptional<z.ZodString>;
|
|
1586
|
+
description: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
|
1587
|
+
active: z.ZodOptional<z.ZodBoolean>;
|
|
1588
|
+
actions: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
1589
|
+
field: z.ZodString;
|
|
1590
|
+
value: z.ZodNullable<z.ZodUnion<[z.ZodString, z.ZodNumber, z.ZodBoolean, z.ZodArray<z.ZodString, "many">, z.ZodNull]>>;
|
|
1591
|
+
}, "strip", z.ZodTypeAny, {
|
|
1592
|
+
value: string | number | boolean | string[] | null;
|
|
1593
|
+
field: string;
|
|
1594
|
+
}, {
|
|
1595
|
+
value: string | number | boolean | string[] | null;
|
|
1596
|
+
field: string;
|
|
1597
|
+
}>, "many">>;
|
|
1598
|
+
restriction: z.ZodNullable<z.ZodOptional<z.ZodObject<{
|
|
1599
|
+
type: z.ZodOptional<z.ZodString>;
|
|
1600
|
+
id: z.ZodOptional<z.ZodNumber>;
|
|
1601
|
+
ids: z.ZodOptional<z.ZodArray<z.ZodNumber, "many">>;
|
|
1602
|
+
}, "strip", z.ZodTypeAny, {
|
|
1603
|
+
type?: string | undefined;
|
|
1604
|
+
id?: number | undefined;
|
|
1605
|
+
ids?: number[] | undefined;
|
|
1606
|
+
}, {
|
|
1607
|
+
type?: string | undefined;
|
|
1608
|
+
id?: number | undefined;
|
|
1609
|
+
ids?: number[] | undefined;
|
|
1610
|
+
}>>>;
|
|
1611
|
+
created_at: z.ZodOptional<z.ZodString>;
|
|
1612
|
+
updated_at: z.ZodOptional<z.ZodString>;
|
|
1613
|
+
}, "strip", z.ZodTypeAny, {
|
|
1614
|
+
id: number;
|
|
1615
|
+
description?: string | null | undefined;
|
|
1616
|
+
title?: string | undefined;
|
|
1617
|
+
created_at?: string | undefined;
|
|
1618
|
+
actions?: {
|
|
1619
|
+
value: string | number | boolean | string[] | null;
|
|
1620
|
+
field: string;
|
|
1621
|
+
}[] | undefined;
|
|
1622
|
+
updated_at?: string | undefined;
|
|
1623
|
+
active?: boolean | undefined;
|
|
1624
|
+
restriction?: {
|
|
1625
|
+
type?: string | undefined;
|
|
1626
|
+
id?: number | undefined;
|
|
1627
|
+
ids?: number[] | undefined;
|
|
1628
|
+
} | null | undefined;
|
|
1629
|
+
}, {
|
|
1630
|
+
id: number;
|
|
1631
|
+
description?: string | null | undefined;
|
|
1632
|
+
title?: string | undefined;
|
|
1633
|
+
created_at?: string | undefined;
|
|
1634
|
+
actions?: {
|
|
1635
|
+
value: string | number | boolean | string[] | null;
|
|
1636
|
+
field: string;
|
|
1637
|
+
}[] | undefined;
|
|
1638
|
+
updated_at?: string | undefined;
|
|
1639
|
+
active?: boolean | undefined;
|
|
1640
|
+
restriction?: {
|
|
1641
|
+
type?: string | undefined;
|
|
1642
|
+
id?: number | undefined;
|
|
1643
|
+
ids?: number[] | undefined;
|
|
1644
|
+
} | null | undefined;
|
|
1645
|
+
}>, "many">>;
|
|
1646
|
+
count: z.ZodOptional<z.ZodNumber>;
|
|
1647
|
+
next_page: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
|
1648
|
+
error: z.ZodString;
|
|
1649
|
+
}, "strip", z.ZodTypeAny, {
|
|
1650
|
+
error: string;
|
|
1651
|
+
success: boolean;
|
|
1652
|
+
operation: "list_macros";
|
|
1653
|
+
count?: number | undefined;
|
|
1654
|
+
next_page?: string | null | undefined;
|
|
1655
|
+
macros?: {
|
|
1656
|
+
id: number;
|
|
1657
|
+
description?: string | null | undefined;
|
|
1658
|
+
title?: string | undefined;
|
|
1659
|
+
created_at?: string | undefined;
|
|
1660
|
+
actions?: {
|
|
1661
|
+
value: string | number | boolean | string[] | null;
|
|
1662
|
+
field: string;
|
|
1663
|
+
}[] | undefined;
|
|
1664
|
+
updated_at?: string | undefined;
|
|
1665
|
+
active?: boolean | undefined;
|
|
1666
|
+
restriction?: {
|
|
1667
|
+
type?: string | undefined;
|
|
1668
|
+
id?: number | undefined;
|
|
1669
|
+
ids?: number[] | undefined;
|
|
1670
|
+
} | null | undefined;
|
|
1671
|
+
}[] | undefined;
|
|
1672
|
+
}, {
|
|
1673
|
+
error: string;
|
|
1674
|
+
success: boolean;
|
|
1675
|
+
operation: "list_macros";
|
|
1676
|
+
count?: number | undefined;
|
|
1677
|
+
next_page?: string | null | undefined;
|
|
1678
|
+
macros?: {
|
|
1679
|
+
id: number;
|
|
1680
|
+
description?: string | null | undefined;
|
|
1681
|
+
title?: string | undefined;
|
|
1682
|
+
created_at?: string | undefined;
|
|
1683
|
+
actions?: {
|
|
1684
|
+
value: string | number | boolean | string[] | null;
|
|
1685
|
+
field: string;
|
|
1686
|
+
}[] | undefined;
|
|
1687
|
+
updated_at?: string | undefined;
|
|
1688
|
+
active?: boolean | undefined;
|
|
1689
|
+
restriction?: {
|
|
1690
|
+
type?: string | undefined;
|
|
1691
|
+
id?: number | undefined;
|
|
1692
|
+
ids?: number[] | undefined;
|
|
1693
|
+
} | null | undefined;
|
|
1694
|
+
}[] | undefined;
|
|
1695
|
+
}>, z.ZodObject<{
|
|
1696
|
+
operation: z.ZodLiteral<"get_macro">;
|
|
1697
|
+
success: z.ZodBoolean;
|
|
1698
|
+
macro: z.ZodOptional<z.ZodObject<{
|
|
1699
|
+
id: z.ZodNumber;
|
|
1700
|
+
title: z.ZodOptional<z.ZodString>;
|
|
1701
|
+
description: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
|
1702
|
+
active: z.ZodOptional<z.ZodBoolean>;
|
|
1703
|
+
actions: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
1704
|
+
field: z.ZodString;
|
|
1705
|
+
value: z.ZodNullable<z.ZodUnion<[z.ZodString, z.ZodNumber, z.ZodBoolean, z.ZodArray<z.ZodString, "many">, z.ZodNull]>>;
|
|
1706
|
+
}, "strip", z.ZodTypeAny, {
|
|
1707
|
+
value: string | number | boolean | string[] | null;
|
|
1708
|
+
field: string;
|
|
1709
|
+
}, {
|
|
1710
|
+
value: string | number | boolean | string[] | null;
|
|
1711
|
+
field: string;
|
|
1712
|
+
}>, "many">>;
|
|
1713
|
+
restriction: z.ZodNullable<z.ZodOptional<z.ZodObject<{
|
|
1714
|
+
type: z.ZodOptional<z.ZodString>;
|
|
1715
|
+
id: z.ZodOptional<z.ZodNumber>;
|
|
1716
|
+
ids: z.ZodOptional<z.ZodArray<z.ZodNumber, "many">>;
|
|
1717
|
+
}, "strip", z.ZodTypeAny, {
|
|
1718
|
+
type?: string | undefined;
|
|
1719
|
+
id?: number | undefined;
|
|
1720
|
+
ids?: number[] | undefined;
|
|
1721
|
+
}, {
|
|
1722
|
+
type?: string | undefined;
|
|
1723
|
+
id?: number | undefined;
|
|
1724
|
+
ids?: number[] | undefined;
|
|
1725
|
+
}>>>;
|
|
1726
|
+
created_at: z.ZodOptional<z.ZodString>;
|
|
1727
|
+
updated_at: z.ZodOptional<z.ZodString>;
|
|
1728
|
+
}, "strip", z.ZodTypeAny, {
|
|
1729
|
+
id: number;
|
|
1730
|
+
description?: string | null | undefined;
|
|
1731
|
+
title?: string | undefined;
|
|
1732
|
+
created_at?: string | undefined;
|
|
1733
|
+
actions?: {
|
|
1734
|
+
value: string | number | boolean | string[] | null;
|
|
1735
|
+
field: string;
|
|
1736
|
+
}[] | undefined;
|
|
1737
|
+
updated_at?: string | undefined;
|
|
1738
|
+
active?: boolean | undefined;
|
|
1739
|
+
restriction?: {
|
|
1740
|
+
type?: string | undefined;
|
|
1741
|
+
id?: number | undefined;
|
|
1742
|
+
ids?: number[] | undefined;
|
|
1743
|
+
} | null | undefined;
|
|
1744
|
+
}, {
|
|
1745
|
+
id: number;
|
|
1746
|
+
description?: string | null | undefined;
|
|
1747
|
+
title?: string | undefined;
|
|
1748
|
+
created_at?: string | undefined;
|
|
1749
|
+
actions?: {
|
|
1750
|
+
value: string | number | boolean | string[] | null;
|
|
1751
|
+
field: string;
|
|
1752
|
+
}[] | undefined;
|
|
1753
|
+
updated_at?: string | undefined;
|
|
1754
|
+
active?: boolean | undefined;
|
|
1755
|
+
restriction?: {
|
|
1756
|
+
type?: string | undefined;
|
|
1757
|
+
id?: number | undefined;
|
|
1758
|
+
ids?: number[] | undefined;
|
|
1759
|
+
} | null | undefined;
|
|
1760
|
+
}>>;
|
|
1761
|
+
error: z.ZodString;
|
|
1762
|
+
}, "strip", z.ZodTypeAny, {
|
|
1763
|
+
error: string;
|
|
1764
|
+
success: boolean;
|
|
1765
|
+
operation: "get_macro";
|
|
1766
|
+
macro?: {
|
|
1767
|
+
id: number;
|
|
1768
|
+
description?: string | null | undefined;
|
|
1769
|
+
title?: string | undefined;
|
|
1770
|
+
created_at?: string | undefined;
|
|
1771
|
+
actions?: {
|
|
1772
|
+
value: string | number | boolean | string[] | null;
|
|
1773
|
+
field: string;
|
|
1774
|
+
}[] | undefined;
|
|
1775
|
+
updated_at?: string | undefined;
|
|
1776
|
+
active?: boolean | undefined;
|
|
1777
|
+
restriction?: {
|
|
1778
|
+
type?: string | undefined;
|
|
1779
|
+
id?: number | undefined;
|
|
1780
|
+
ids?: number[] | undefined;
|
|
1781
|
+
} | null | undefined;
|
|
1782
|
+
} | undefined;
|
|
1783
|
+
}, {
|
|
1784
|
+
error: string;
|
|
1785
|
+
success: boolean;
|
|
1786
|
+
operation: "get_macro";
|
|
1787
|
+
macro?: {
|
|
1788
|
+
id: number;
|
|
1789
|
+
description?: string | null | undefined;
|
|
1790
|
+
title?: string | undefined;
|
|
1791
|
+
created_at?: string | undefined;
|
|
1792
|
+
actions?: {
|
|
1793
|
+
value: string | number | boolean | string[] | null;
|
|
1794
|
+
field: string;
|
|
1795
|
+
}[] | undefined;
|
|
1796
|
+
updated_at?: string | undefined;
|
|
1797
|
+
active?: boolean | undefined;
|
|
1798
|
+
restriction?: {
|
|
1799
|
+
type?: string | undefined;
|
|
1800
|
+
id?: number | undefined;
|
|
1801
|
+
ids?: number[] | undefined;
|
|
1802
|
+
} | null | undefined;
|
|
1803
|
+
} | undefined;
|
|
1804
|
+
}>, z.ZodObject<{
|
|
1805
|
+
operation: z.ZodLiteral<"apply_macro">;
|
|
1806
|
+
success: z.ZodBoolean;
|
|
1807
|
+
result: z.ZodOptional<z.ZodObject<{
|
|
1808
|
+
ticket: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
1809
|
+
comment: z.ZodOptional<z.ZodObject<{
|
|
1810
|
+
body: z.ZodOptional<z.ZodString>;
|
|
1811
|
+
html_body: z.ZodOptional<z.ZodString>;
|
|
1812
|
+
public: z.ZodOptional<z.ZodBoolean>;
|
|
1813
|
+
scoped_body: z.ZodOptional<z.ZodArray<z.ZodArray<z.ZodString, "many">, "many">>;
|
|
1814
|
+
}, "strip", z.ZodTypeAny, {
|
|
1815
|
+
public?: boolean | undefined;
|
|
1816
|
+
body?: string | undefined;
|
|
1817
|
+
html_body?: string | undefined;
|
|
1818
|
+
scoped_body?: string[][] | undefined;
|
|
1819
|
+
}, {
|
|
1820
|
+
public?: boolean | undefined;
|
|
1821
|
+
body?: string | undefined;
|
|
1822
|
+
html_body?: string | undefined;
|
|
1823
|
+
scoped_body?: string[][] | undefined;
|
|
1824
|
+
}>>;
|
|
1825
|
+
}, "strip", z.ZodTypeAny, {
|
|
1826
|
+
comment?: {
|
|
1827
|
+
public?: boolean | undefined;
|
|
1828
|
+
body?: string | undefined;
|
|
1829
|
+
html_body?: string | undefined;
|
|
1830
|
+
scoped_body?: string[][] | undefined;
|
|
1831
|
+
} | undefined;
|
|
1832
|
+
ticket?: Record<string, unknown> | undefined;
|
|
1833
|
+
}, {
|
|
1834
|
+
comment?: {
|
|
1835
|
+
public?: boolean | undefined;
|
|
1836
|
+
body?: string | undefined;
|
|
1837
|
+
html_body?: string | undefined;
|
|
1838
|
+
scoped_body?: string[][] | undefined;
|
|
1839
|
+
} | undefined;
|
|
1840
|
+
ticket?: Record<string, unknown> | undefined;
|
|
1841
|
+
}>>;
|
|
1842
|
+
error: z.ZodString;
|
|
1843
|
+
}, "strip", z.ZodTypeAny, {
|
|
1844
|
+
error: string;
|
|
1845
|
+
success: boolean;
|
|
1846
|
+
operation: "apply_macro";
|
|
1847
|
+
result?: {
|
|
1848
|
+
comment?: {
|
|
1849
|
+
public?: boolean | undefined;
|
|
1850
|
+
body?: string | undefined;
|
|
1851
|
+
html_body?: string | undefined;
|
|
1852
|
+
scoped_body?: string[][] | undefined;
|
|
1853
|
+
} | undefined;
|
|
1854
|
+
ticket?: Record<string, unknown> | undefined;
|
|
1855
|
+
} | undefined;
|
|
1856
|
+
}, {
|
|
1857
|
+
error: string;
|
|
1858
|
+
success: boolean;
|
|
1859
|
+
operation: "apply_macro";
|
|
1860
|
+
result?: {
|
|
1861
|
+
comment?: {
|
|
1862
|
+
public?: boolean | undefined;
|
|
1863
|
+
body?: string | undefined;
|
|
1864
|
+
html_body?: string | undefined;
|
|
1865
|
+
scoped_body?: string[][] | undefined;
|
|
1866
|
+
} | undefined;
|
|
1867
|
+
ticket?: Record<string, unknown> | undefined;
|
|
1868
|
+
} | undefined;
|
|
1869
|
+
}>, z.ZodObject<{
|
|
1870
|
+
operation: z.ZodLiteral<"create_macro">;
|
|
1871
|
+
success: z.ZodBoolean;
|
|
1872
|
+
macro: z.ZodOptional<z.ZodObject<{
|
|
1873
|
+
id: z.ZodNumber;
|
|
1874
|
+
title: z.ZodOptional<z.ZodString>;
|
|
1875
|
+
description: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
|
1876
|
+
active: z.ZodOptional<z.ZodBoolean>;
|
|
1877
|
+
actions: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
1878
|
+
field: z.ZodString;
|
|
1879
|
+
value: z.ZodNullable<z.ZodUnion<[z.ZodString, z.ZodNumber, z.ZodBoolean, z.ZodArray<z.ZodString, "many">, z.ZodNull]>>;
|
|
1880
|
+
}, "strip", z.ZodTypeAny, {
|
|
1881
|
+
value: string | number | boolean | string[] | null;
|
|
1882
|
+
field: string;
|
|
1883
|
+
}, {
|
|
1884
|
+
value: string | number | boolean | string[] | null;
|
|
1885
|
+
field: string;
|
|
1886
|
+
}>, "many">>;
|
|
1887
|
+
restriction: z.ZodNullable<z.ZodOptional<z.ZodObject<{
|
|
1888
|
+
type: z.ZodOptional<z.ZodString>;
|
|
1889
|
+
id: z.ZodOptional<z.ZodNumber>;
|
|
1890
|
+
ids: z.ZodOptional<z.ZodArray<z.ZodNumber, "many">>;
|
|
1891
|
+
}, "strip", z.ZodTypeAny, {
|
|
1892
|
+
type?: string | undefined;
|
|
1893
|
+
id?: number | undefined;
|
|
1894
|
+
ids?: number[] | undefined;
|
|
1895
|
+
}, {
|
|
1896
|
+
type?: string | undefined;
|
|
1897
|
+
id?: number | undefined;
|
|
1898
|
+
ids?: number[] | undefined;
|
|
1899
|
+
}>>>;
|
|
1900
|
+
created_at: z.ZodOptional<z.ZodString>;
|
|
1901
|
+
updated_at: z.ZodOptional<z.ZodString>;
|
|
1902
|
+
}, "strip", z.ZodTypeAny, {
|
|
1903
|
+
id: number;
|
|
1904
|
+
description?: string | null | undefined;
|
|
1905
|
+
title?: string | undefined;
|
|
1906
|
+
created_at?: string | undefined;
|
|
1907
|
+
actions?: {
|
|
1908
|
+
value: string | number | boolean | string[] | null;
|
|
1909
|
+
field: string;
|
|
1910
|
+
}[] | undefined;
|
|
1911
|
+
updated_at?: string | undefined;
|
|
1912
|
+
active?: boolean | undefined;
|
|
1913
|
+
restriction?: {
|
|
1914
|
+
type?: string | undefined;
|
|
1915
|
+
id?: number | undefined;
|
|
1916
|
+
ids?: number[] | undefined;
|
|
1917
|
+
} | null | undefined;
|
|
1918
|
+
}, {
|
|
1919
|
+
id: number;
|
|
1920
|
+
description?: string | null | undefined;
|
|
1921
|
+
title?: string | undefined;
|
|
1922
|
+
created_at?: string | undefined;
|
|
1923
|
+
actions?: {
|
|
1924
|
+
value: string | number | boolean | string[] | null;
|
|
1925
|
+
field: string;
|
|
1926
|
+
}[] | undefined;
|
|
1927
|
+
updated_at?: string | undefined;
|
|
1928
|
+
active?: boolean | undefined;
|
|
1929
|
+
restriction?: {
|
|
1930
|
+
type?: string | undefined;
|
|
1931
|
+
id?: number | undefined;
|
|
1932
|
+
ids?: number[] | undefined;
|
|
1933
|
+
} | null | undefined;
|
|
1934
|
+
}>>;
|
|
1935
|
+
error: z.ZodString;
|
|
1936
|
+
}, "strip", z.ZodTypeAny, {
|
|
1937
|
+
error: string;
|
|
1938
|
+
success: boolean;
|
|
1939
|
+
operation: "create_macro";
|
|
1940
|
+
macro?: {
|
|
1941
|
+
id: number;
|
|
1942
|
+
description?: string | null | undefined;
|
|
1943
|
+
title?: string | undefined;
|
|
1944
|
+
created_at?: string | undefined;
|
|
1945
|
+
actions?: {
|
|
1946
|
+
value: string | number | boolean | string[] | null;
|
|
1947
|
+
field: string;
|
|
1948
|
+
}[] | undefined;
|
|
1949
|
+
updated_at?: string | undefined;
|
|
1950
|
+
active?: boolean | undefined;
|
|
1951
|
+
restriction?: {
|
|
1952
|
+
type?: string | undefined;
|
|
1953
|
+
id?: number | undefined;
|
|
1954
|
+
ids?: number[] | undefined;
|
|
1955
|
+
} | null | undefined;
|
|
1956
|
+
} | undefined;
|
|
1957
|
+
}, {
|
|
1958
|
+
error: string;
|
|
1959
|
+
success: boolean;
|
|
1960
|
+
operation: "create_macro";
|
|
1961
|
+
macro?: {
|
|
1962
|
+
id: number;
|
|
1963
|
+
description?: string | null | undefined;
|
|
1964
|
+
title?: string | undefined;
|
|
1965
|
+
created_at?: string | undefined;
|
|
1966
|
+
actions?: {
|
|
1967
|
+
value: string | number | boolean | string[] | null;
|
|
1968
|
+
field: string;
|
|
1969
|
+
}[] | undefined;
|
|
1970
|
+
updated_at?: string | undefined;
|
|
1971
|
+
active?: boolean | undefined;
|
|
1972
|
+
restriction?: {
|
|
1973
|
+
type?: string | undefined;
|
|
1974
|
+
id?: number | undefined;
|
|
1975
|
+
ids?: number[] | undefined;
|
|
1976
|
+
} | null | undefined;
|
|
1977
|
+
} | undefined;
|
|
1978
|
+
}>, z.ZodObject<{
|
|
1979
|
+
operation: z.ZodLiteral<"update_macro">;
|
|
1980
|
+
success: z.ZodBoolean;
|
|
1981
|
+
macro: z.ZodOptional<z.ZodObject<{
|
|
1982
|
+
id: z.ZodNumber;
|
|
1983
|
+
title: z.ZodOptional<z.ZodString>;
|
|
1984
|
+
description: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
|
1985
|
+
active: z.ZodOptional<z.ZodBoolean>;
|
|
1986
|
+
actions: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
1987
|
+
field: z.ZodString;
|
|
1988
|
+
value: z.ZodNullable<z.ZodUnion<[z.ZodString, z.ZodNumber, z.ZodBoolean, z.ZodArray<z.ZodString, "many">, z.ZodNull]>>;
|
|
1989
|
+
}, "strip", z.ZodTypeAny, {
|
|
1990
|
+
value: string | number | boolean | string[] | null;
|
|
1991
|
+
field: string;
|
|
1992
|
+
}, {
|
|
1993
|
+
value: string | number | boolean | string[] | null;
|
|
1994
|
+
field: string;
|
|
1995
|
+
}>, "many">>;
|
|
1996
|
+
restriction: z.ZodNullable<z.ZodOptional<z.ZodObject<{
|
|
1997
|
+
type: z.ZodOptional<z.ZodString>;
|
|
1998
|
+
id: z.ZodOptional<z.ZodNumber>;
|
|
1999
|
+
ids: z.ZodOptional<z.ZodArray<z.ZodNumber, "many">>;
|
|
2000
|
+
}, "strip", z.ZodTypeAny, {
|
|
2001
|
+
type?: string | undefined;
|
|
2002
|
+
id?: number | undefined;
|
|
2003
|
+
ids?: number[] | undefined;
|
|
2004
|
+
}, {
|
|
2005
|
+
type?: string | undefined;
|
|
2006
|
+
id?: number | undefined;
|
|
2007
|
+
ids?: number[] | undefined;
|
|
2008
|
+
}>>>;
|
|
2009
|
+
created_at: z.ZodOptional<z.ZodString>;
|
|
2010
|
+
updated_at: z.ZodOptional<z.ZodString>;
|
|
2011
|
+
}, "strip", z.ZodTypeAny, {
|
|
2012
|
+
id: number;
|
|
2013
|
+
description?: string | null | undefined;
|
|
2014
|
+
title?: string | undefined;
|
|
2015
|
+
created_at?: string | undefined;
|
|
2016
|
+
actions?: {
|
|
2017
|
+
value: string | number | boolean | string[] | null;
|
|
2018
|
+
field: string;
|
|
2019
|
+
}[] | undefined;
|
|
2020
|
+
updated_at?: string | undefined;
|
|
2021
|
+
active?: boolean | undefined;
|
|
2022
|
+
restriction?: {
|
|
2023
|
+
type?: string | undefined;
|
|
2024
|
+
id?: number | undefined;
|
|
2025
|
+
ids?: number[] | undefined;
|
|
2026
|
+
} | null | undefined;
|
|
2027
|
+
}, {
|
|
2028
|
+
id: number;
|
|
2029
|
+
description?: string | null | undefined;
|
|
2030
|
+
title?: string | undefined;
|
|
2031
|
+
created_at?: string | undefined;
|
|
2032
|
+
actions?: {
|
|
2033
|
+
value: string | number | boolean | string[] | null;
|
|
2034
|
+
field: string;
|
|
2035
|
+
}[] | undefined;
|
|
2036
|
+
updated_at?: string | undefined;
|
|
2037
|
+
active?: boolean | undefined;
|
|
2038
|
+
restriction?: {
|
|
2039
|
+
type?: string | undefined;
|
|
2040
|
+
id?: number | undefined;
|
|
2041
|
+
ids?: number[] | undefined;
|
|
2042
|
+
} | null | undefined;
|
|
2043
|
+
}>>;
|
|
2044
|
+
error: z.ZodString;
|
|
2045
|
+
}, "strip", z.ZodTypeAny, {
|
|
2046
|
+
error: string;
|
|
2047
|
+
success: boolean;
|
|
2048
|
+
operation: "update_macro";
|
|
2049
|
+
macro?: {
|
|
2050
|
+
id: number;
|
|
2051
|
+
description?: string | null | undefined;
|
|
2052
|
+
title?: string | undefined;
|
|
2053
|
+
created_at?: string | undefined;
|
|
2054
|
+
actions?: {
|
|
2055
|
+
value: string | number | boolean | string[] | null;
|
|
2056
|
+
field: string;
|
|
2057
|
+
}[] | undefined;
|
|
2058
|
+
updated_at?: string | undefined;
|
|
2059
|
+
active?: boolean | undefined;
|
|
2060
|
+
restriction?: {
|
|
2061
|
+
type?: string | undefined;
|
|
2062
|
+
id?: number | undefined;
|
|
2063
|
+
ids?: number[] | undefined;
|
|
2064
|
+
} | null | undefined;
|
|
2065
|
+
} | undefined;
|
|
2066
|
+
}, {
|
|
2067
|
+
error: string;
|
|
2068
|
+
success: boolean;
|
|
2069
|
+
operation: "update_macro";
|
|
2070
|
+
macro?: {
|
|
2071
|
+
id: number;
|
|
2072
|
+
description?: string | null | undefined;
|
|
2073
|
+
title?: string | undefined;
|
|
2074
|
+
created_at?: string | undefined;
|
|
2075
|
+
actions?: {
|
|
2076
|
+
value: string | number | boolean | string[] | null;
|
|
2077
|
+
field: string;
|
|
2078
|
+
}[] | undefined;
|
|
2079
|
+
updated_at?: string | undefined;
|
|
2080
|
+
active?: boolean | undefined;
|
|
2081
|
+
restriction?: {
|
|
2082
|
+
type?: string | undefined;
|
|
2083
|
+
id?: number | undefined;
|
|
2084
|
+
ids?: number[] | undefined;
|
|
2085
|
+
} | null | undefined;
|
|
2086
|
+
} | undefined;
|
|
2087
|
+
}>, z.ZodObject<{
|
|
2088
|
+
operation: z.ZodLiteral<"delete_macro">;
|
|
2089
|
+
success: z.ZodBoolean;
|
|
2090
|
+
error: z.ZodString;
|
|
2091
|
+
}, "strip", z.ZodTypeAny, {
|
|
2092
|
+
error: string;
|
|
2093
|
+
success: boolean;
|
|
2094
|
+
operation: "delete_macro";
|
|
2095
|
+
}, {
|
|
2096
|
+
error: string;
|
|
2097
|
+
success: boolean;
|
|
2098
|
+
operation: "delete_macro";
|
|
2099
|
+
}>, z.ZodObject<{
|
|
2100
|
+
operation: z.ZodLiteral<"search_macros">;
|
|
2101
|
+
success: z.ZodBoolean;
|
|
2102
|
+
macros: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
2103
|
+
id: z.ZodNumber;
|
|
2104
|
+
title: z.ZodOptional<z.ZodString>;
|
|
2105
|
+
description: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
|
2106
|
+
active: z.ZodOptional<z.ZodBoolean>;
|
|
2107
|
+
actions: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
2108
|
+
field: z.ZodString;
|
|
2109
|
+
value: z.ZodNullable<z.ZodUnion<[z.ZodString, z.ZodNumber, z.ZodBoolean, z.ZodArray<z.ZodString, "many">, z.ZodNull]>>;
|
|
2110
|
+
}, "strip", z.ZodTypeAny, {
|
|
2111
|
+
value: string | number | boolean | string[] | null;
|
|
2112
|
+
field: string;
|
|
2113
|
+
}, {
|
|
2114
|
+
value: string | number | boolean | string[] | null;
|
|
2115
|
+
field: string;
|
|
2116
|
+
}>, "many">>;
|
|
2117
|
+
restriction: z.ZodNullable<z.ZodOptional<z.ZodObject<{
|
|
2118
|
+
type: z.ZodOptional<z.ZodString>;
|
|
2119
|
+
id: z.ZodOptional<z.ZodNumber>;
|
|
2120
|
+
ids: z.ZodOptional<z.ZodArray<z.ZodNumber, "many">>;
|
|
2121
|
+
}, "strip", z.ZodTypeAny, {
|
|
2122
|
+
type?: string | undefined;
|
|
2123
|
+
id?: number | undefined;
|
|
2124
|
+
ids?: number[] | undefined;
|
|
2125
|
+
}, {
|
|
2126
|
+
type?: string | undefined;
|
|
2127
|
+
id?: number | undefined;
|
|
2128
|
+
ids?: number[] | undefined;
|
|
2129
|
+
}>>>;
|
|
2130
|
+
created_at: z.ZodOptional<z.ZodString>;
|
|
2131
|
+
updated_at: z.ZodOptional<z.ZodString>;
|
|
2132
|
+
}, "strip", z.ZodTypeAny, {
|
|
2133
|
+
id: number;
|
|
2134
|
+
description?: string | null | undefined;
|
|
2135
|
+
title?: string | undefined;
|
|
2136
|
+
created_at?: string | undefined;
|
|
2137
|
+
actions?: {
|
|
2138
|
+
value: string | number | boolean | string[] | null;
|
|
2139
|
+
field: string;
|
|
2140
|
+
}[] | undefined;
|
|
2141
|
+
updated_at?: string | undefined;
|
|
2142
|
+
active?: boolean | undefined;
|
|
2143
|
+
restriction?: {
|
|
2144
|
+
type?: string | undefined;
|
|
2145
|
+
id?: number | undefined;
|
|
2146
|
+
ids?: number[] | undefined;
|
|
2147
|
+
} | null | undefined;
|
|
2148
|
+
}, {
|
|
2149
|
+
id: number;
|
|
2150
|
+
description?: string | null | undefined;
|
|
2151
|
+
title?: string | undefined;
|
|
2152
|
+
created_at?: string | undefined;
|
|
2153
|
+
actions?: {
|
|
2154
|
+
value: string | number | boolean | string[] | null;
|
|
2155
|
+
field: string;
|
|
2156
|
+
}[] | undefined;
|
|
2157
|
+
updated_at?: string | undefined;
|
|
2158
|
+
active?: boolean | undefined;
|
|
2159
|
+
restriction?: {
|
|
2160
|
+
type?: string | undefined;
|
|
2161
|
+
id?: number | undefined;
|
|
2162
|
+
ids?: number[] | undefined;
|
|
2163
|
+
} | null | undefined;
|
|
2164
|
+
}>, "many">>;
|
|
2165
|
+
count: z.ZodOptional<z.ZodNumber>;
|
|
2166
|
+
next_page: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
|
2167
|
+
error: z.ZodString;
|
|
2168
|
+
}, "strip", z.ZodTypeAny, {
|
|
2169
|
+
error: string;
|
|
2170
|
+
success: boolean;
|
|
2171
|
+
operation: "search_macros";
|
|
2172
|
+
count?: number | undefined;
|
|
2173
|
+
next_page?: string | null | undefined;
|
|
2174
|
+
macros?: {
|
|
2175
|
+
id: number;
|
|
2176
|
+
description?: string | null | undefined;
|
|
2177
|
+
title?: string | undefined;
|
|
2178
|
+
created_at?: string | undefined;
|
|
2179
|
+
actions?: {
|
|
2180
|
+
value: string | number | boolean | string[] | null;
|
|
2181
|
+
field: string;
|
|
2182
|
+
}[] | undefined;
|
|
2183
|
+
updated_at?: string | undefined;
|
|
2184
|
+
active?: boolean | undefined;
|
|
2185
|
+
restriction?: {
|
|
2186
|
+
type?: string | undefined;
|
|
2187
|
+
id?: number | undefined;
|
|
2188
|
+
ids?: number[] | undefined;
|
|
2189
|
+
} | null | undefined;
|
|
2190
|
+
}[] | undefined;
|
|
2191
|
+
}, {
|
|
2192
|
+
error: string;
|
|
2193
|
+
success: boolean;
|
|
2194
|
+
operation: "search_macros";
|
|
2195
|
+
count?: number | undefined;
|
|
2196
|
+
next_page?: string | null | undefined;
|
|
2197
|
+
macros?: {
|
|
2198
|
+
id: number;
|
|
2199
|
+
description?: string | null | undefined;
|
|
2200
|
+
title?: string | undefined;
|
|
2201
|
+
created_at?: string | undefined;
|
|
2202
|
+
actions?: {
|
|
2203
|
+
value: string | number | boolean | string[] | null;
|
|
2204
|
+
field: string;
|
|
2205
|
+
}[] | undefined;
|
|
2206
|
+
updated_at?: string | undefined;
|
|
2207
|
+
active?: boolean | undefined;
|
|
2208
|
+
restriction?: {
|
|
2209
|
+
type?: string | undefined;
|
|
2210
|
+
id?: number | undefined;
|
|
2211
|
+
ids?: number[] | undefined;
|
|
2212
|
+
} | null | undefined;
|
|
2213
|
+
}[] | undefined;
|
|
1372
2214
|
}>]>;
|
|
1373
2215
|
export type ZendeskParams = z.output<typeof ZendeskParamsSchema>;
|
|
1374
2216
|
export type ZendeskParamsInput = z.input<typeof ZendeskParamsSchema>;
|