@prismatic-io/components-zendesk 0.0.0-stage → 0.0.1

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.
@@ -0,0 +1,4470 @@
1
+ //#region node_modules/axios/index.d.ts
2
+ type UppercaseMethod = 'GET' | 'DELETE' | 'HEAD' | 'OPTIONS' | 'POST' | 'PUT' | 'PATCH' | 'PURGE' | 'LINK' | 'UNLINK' | 'QUERY';
3
+ type Method = (UppercaseMethod | Lowercase<UppercaseMethod>) & {};
4
+ type ResponseType = 'arraybuffer' | 'blob' | 'document' | 'json' | 'text' | 'stream' | 'formdata';
5
+ //#endregion
6
+ //#region src/types/articleAttachments.d.ts
7
+ interface ArticleAttachments {
8
+ article_attachments: ArticleAttachment[];
9
+ }
10
+ interface ArticleAttachment {
11
+ article_id: number;
12
+ content_type: string;
13
+ content_url: string;
14
+ file_name: string;
15
+ id: number;
16
+ inline: boolean;
17
+ size: number;
18
+ }
19
+ //#endregion
20
+ //#region src/types/articles.d.ts
21
+ interface Article {
22
+ author_id: number;
23
+ body: string;
24
+ comments_disabled: boolean;
25
+ content_tag_ids?: number[];
26
+ created_at: string;
27
+ draft: boolean;
28
+ edited_at: string;
29
+ html_url?: string;
30
+ id: number;
31
+ label_names?: string[];
32
+ locale: string;
33
+ outdated_locales?: string[];
34
+ permission_group_id?: number;
35
+ position?: number;
36
+ promoted: boolean;
37
+ section_id?: number;
38
+ source_locale: string;
39
+ title: string;
40
+ updated_at: string;
41
+ url: string;
42
+ user_segment_id?: number;
43
+ vote_count?: number;
44
+ vote_sum?: number;
45
+ }
46
+ //#endregion
47
+ //#region src/types/categories.d.ts
48
+ interface Category {
49
+ description: string;
50
+ id: number;
51
+ locale: string;
52
+ name: string;
53
+ }
54
+ //#endregion
55
+ //#region src/types/pagination.d.ts
56
+ interface Links {
57
+ first: string;
58
+ last: string;
59
+ prev: string;
60
+ next: string;
61
+ }
62
+ interface Meta {
63
+ has_more: boolean;
64
+ after_cursor: string;
65
+ before_cursor: string;
66
+ }
67
+ type PaginatedResponse<T> = Record<string, T[]> & {
68
+ meta: Meta;
69
+ } & {
70
+ links: Links;
71
+ };
72
+ //#endregion
73
+ //#region src/types/posts.d.ts
74
+ interface Post {
75
+ author_id?: number;
76
+ closed?: boolean;
77
+ comment_count?: number;
78
+ content_tag_ids?: number[];
79
+ created_at?: string;
80
+ details?: string;
81
+ featured?: boolean;
82
+ follower_count?: number;
83
+ html_url?: string;
84
+ id: number;
85
+ non_author_editor_id?: number;
86
+ non_author_updated_at?: string;
87
+ pinned?: boolean;
88
+ status?: string;
89
+ title: string;
90
+ topic_id?: number;
91
+ updated_at?: string;
92
+ url?: string;
93
+ vote_count?: number;
94
+ vote_sum?: number;
95
+ }
96
+ //#endregion
97
+ //#region src/types/sections.d.ts
98
+ interface Section {
99
+ id: number;
100
+ description: string;
101
+ locale: string;
102
+ name: string;
103
+ position?: number;
104
+ category_id?: number;
105
+ }
106
+ //#endregion
107
+ //#region src/types/subscriptions.d.ts
108
+ interface Subscription {
109
+ content_id?: number;
110
+ content_type?: string;
111
+ created_at?: string;
112
+ id: number;
113
+ locale: string;
114
+ updated_at?: string;
115
+ user_id?: number;
116
+ include_comments?: boolean;
117
+ source_locale?: string;
118
+ url?: string;
119
+ }
120
+ interface SubscriptionResponse {
121
+ subscription: Subscription;
122
+ }
123
+ //#endregion
124
+ //#region src/types/topics.d.ts
125
+ interface Topic {
126
+ id: number;
127
+ manageable_by?: string;
128
+ position?: number;
129
+ user_segment_id?: number;
130
+ description?: string;
131
+ name: string;
132
+ html_url?: string;
133
+ url?: string;
134
+ }
135
+ //#endregion
136
+ //#region npm-dist/.entry.d.ts
137
+ declare const _default: import("@prismatic-io/spectral").CallableComponent<{
138
+ key: "zendesk";
139
+ public: true;
140
+ documentationUrl: "https://prismatic.io/docs/components/zendesk/";
141
+ display: {
142
+ label: string;
143
+ category: "Application Connectors";
144
+ description: string;
145
+ iconPath: string;
146
+ };
147
+ actions: {
148
+ createWebhook: import("@prismatic-io/spectral").ActionDefinition<{
149
+ zendeskConnection: {
150
+ label: string;
151
+ type: "connection";
152
+ required: true;
153
+ comments: string;
154
+ };
155
+ callbackUrl: {
156
+ label: string;
157
+ type: "string";
158
+ placeholder: string;
159
+ required: true;
160
+ comments: string;
161
+ clean: (value: unknown, defaultValue?: string) => string;
162
+ };
163
+ name: {
164
+ label: string;
165
+ type: "string";
166
+ placeholder: string;
167
+ required: true;
168
+ comments: string;
169
+ clean: (value: unknown, defaultValue?: string) => string;
170
+ };
171
+ events: {
172
+ label: string;
173
+ type: "string";
174
+ required: true;
175
+ collection: "valuelist";
176
+ model: {
177
+ label: string;
178
+ value: string;
179
+ }[];
180
+ comments: string;
181
+ clean: (value: unknown) => string[] | undefined;
182
+ };
183
+ allowDuplicates: {
184
+ comments: string;
185
+ label: string;
186
+ type: "boolean";
187
+ required: true;
188
+ default: string;
189
+ clean: (value: unknown, defaultValue?: boolean) => boolean;
190
+ };
191
+ }, import("@prismatic-io/spectral").ConfigVarResultCollection, boolean, {
192
+ data: any;
193
+ }>;
194
+ deleteInstanceWebhooks: import("@prismatic-io/spectral").ActionDefinition<{
195
+ zendeskConnection: {
196
+ label: string;
197
+ type: "connection";
198
+ required: true;
199
+ comments: string;
200
+ };
201
+ }, import("@prismatic-io/spectral").ConfigVarResultCollection, boolean, {
202
+ data: null;
203
+ }>;
204
+ deleteWebhook: import("@prismatic-io/spectral").ActionDefinition<{
205
+ zendeskConnection: {
206
+ label: string;
207
+ type: "connection";
208
+ required: true;
209
+ comments: string;
210
+ };
211
+ webhookId: {
212
+ comments: string;
213
+ example: string;
214
+ label: string;
215
+ type: "string";
216
+ placeholder: string;
217
+ required: true;
218
+ clean: (value: unknown, defaultValue?: string) => string;
219
+ };
220
+ }, import("@prismatic-io/spectral").ConfigVarResultCollection, boolean, {
221
+ data: any;
222
+ }>;
223
+ listWebhooks: import("@prismatic-io/spectral").ActionDefinition<{
224
+ zendeskConnection: {
225
+ label: string;
226
+ type: "connection";
227
+ required: true;
228
+ comments: string;
229
+ };
230
+ showOnlyInstanceWebhooks: {
231
+ label: string;
232
+ type: "boolean";
233
+ default: string;
234
+ comments: string;
235
+ clean: (value: unknown, defaultValue?: boolean) => boolean;
236
+ };
237
+ }, import("@prismatic-io/spectral").ConfigVarResultCollection, boolean, {
238
+ data: unknown;
239
+ }>;
240
+ createWebhookTrigger: import("@prismatic-io/spectral").ActionDefinition<{
241
+ connection: {
242
+ label: string;
243
+ type: "connection";
244
+ required: true;
245
+ comments: string;
246
+ };
247
+ title: {
248
+ label: string;
249
+ type: "string";
250
+ placeholder: string;
251
+ required: true;
252
+ comments: string;
253
+ clean: (value: unknown, defaultValue?: string) => string;
254
+ };
255
+ webhookId: {
256
+ comments: string;
257
+ example: string;
258
+ label: string;
259
+ type: "string";
260
+ placeholder: string;
261
+ required: true;
262
+ clean: (value: unknown, defaultValue?: string) => string;
263
+ };
264
+ messageBody: {
265
+ label: string;
266
+ type: "code";
267
+ language: "json";
268
+ required: true;
269
+ default: string;
270
+ comments: string;
271
+ clean: (value: unknown, defaultValue?: string) => string;
272
+ };
273
+ conditions: {
274
+ label: string;
275
+ type: "code";
276
+ language: "json";
277
+ required: true;
278
+ default: string;
279
+ comments: string;
280
+ clean: (value: unknown) => object;
281
+ };
282
+ allowDuplicates: {
283
+ comments: string;
284
+ label: string;
285
+ type: "boolean";
286
+ required: true;
287
+ default: string;
288
+ clean: (value: unknown, defaultValue?: boolean) => boolean;
289
+ };
290
+ }, import("@prismatic-io/spectral").ConfigVarResultCollection, boolean, {
291
+ data: any;
292
+ }>;
293
+ listTriggers: import("@prismatic-io/spectral").ActionDefinition<{
294
+ connection: {
295
+ label: string;
296
+ type: "connection";
297
+ required: true;
298
+ comments: string;
299
+ };
300
+ }, import("@prismatic-io/spectral").ConfigVarResultCollection, boolean, {
301
+ data: unknown;
302
+ }>;
303
+ rawRequest: import("@prismatic-io/spectral").ActionDefinition<{
304
+ url: {
305
+ comments: string;
306
+ example: string;
307
+ label: string;
308
+ placeholder: string;
309
+ type: "string";
310
+ required: true;
311
+ clean: (value: unknown) => string;
312
+ };
313
+ data: {
314
+ label: string;
315
+ placeholder: string;
316
+ type: "string";
317
+ required: false;
318
+ comments: string;
319
+ example: string;
320
+ };
321
+ method: {
322
+ label: string;
323
+ type: "string";
324
+ required: true;
325
+ model: {
326
+ label: Method;
327
+ value: Method;
328
+ }[];
329
+ comments: string;
330
+ clean: (value: unknown) => string;
331
+ };
332
+ formData: {
333
+ label: string;
334
+ placeholder: string;
335
+ type: "string";
336
+ collection: "keyvaluelist";
337
+ required: false;
338
+ comments: string;
339
+ example: string;
340
+ };
341
+ fileData: {
342
+ label: string;
343
+ placeholder: string;
344
+ type: "string";
345
+ collection: "keyvaluelist";
346
+ required: false;
347
+ comments: string;
348
+ example: string;
349
+ };
350
+ fileDataFileNames: {
351
+ label: string;
352
+ placeholder: string;
353
+ type: "string";
354
+ collection: "keyvaluelist";
355
+ required: false;
356
+ comments: string;
357
+ clean: (values: any) => Record<string, string> | undefined;
358
+ };
359
+ queryParams: {
360
+ label: string;
361
+ placeholder: string;
362
+ type: "string";
363
+ collection: "keyvaluelist";
364
+ required: false;
365
+ comments: string;
366
+ };
367
+ headers: {
368
+ label: string;
369
+ placeholder: string;
370
+ type: "string";
371
+ collection: "keyvaluelist";
372
+ required: false;
373
+ comments: string;
374
+ example: string;
375
+ };
376
+ responseType: {
377
+ label: string;
378
+ placeholder: string;
379
+ type: "string";
380
+ default: string;
381
+ required: true;
382
+ comments: string;
383
+ model: {
384
+ label: ResponseType;
385
+ value: ResponseType;
386
+ }[];
387
+ clean: (value: unknown) => ResponseType;
388
+ };
389
+ timeout: {
390
+ label: string;
391
+ type: "string";
392
+ required: false;
393
+ comments: string;
394
+ example: string;
395
+ clean: (value: unknown) => number;
396
+ };
397
+ retryDelayMS: {
398
+ label: string;
399
+ placeholder: string;
400
+ type: "string";
401
+ required: false;
402
+ comments: string;
403
+ default: string;
404
+ clean: (value: unknown) => number;
405
+ };
406
+ retryAllErrors: {
407
+ label: string;
408
+ type: "boolean";
409
+ default: string;
410
+ required: false;
411
+ comments: string;
412
+ clean: (value: unknown) => boolean;
413
+ };
414
+ maxRetries: {
415
+ label: string;
416
+ placeholder: string;
417
+ type: "string";
418
+ required: false;
419
+ comments: string;
420
+ default: string;
421
+ clean: (value: unknown) => number;
422
+ };
423
+ useExponentialBackoff: {
424
+ label: string;
425
+ type: "boolean";
426
+ default: string;
427
+ required: false;
428
+ comments: string;
429
+ clean: (value: unknown) => boolean;
430
+ };
431
+ connection: {
432
+ label: string;
433
+ type: "connection";
434
+ required: true;
435
+ comments: string;
436
+ };
437
+ }, import("@prismatic-io/spectral").ConfigVarResultCollection, boolean, {
438
+ data: any;
439
+ }>;
440
+ listArticleSubscriptions: import("@prismatic-io/spectral").ActionDefinition<{
441
+ zendeskConnection: {
442
+ label: string;
443
+ type: "connection";
444
+ required: true;
445
+ comments: string;
446
+ };
447
+ locale: {
448
+ required: boolean;
449
+ comments: string;
450
+ clean: (value: unknown) => string | undefined;
451
+ label: string;
452
+ type: "string";
453
+ default: string;
454
+ model: {
455
+ label: string;
456
+ value: string;
457
+ }[];
458
+ };
459
+ articleId: {
460
+ label: string;
461
+ type: "string";
462
+ example: string;
463
+ placeholder: string;
464
+ required: true;
465
+ comments: string;
466
+ clean: (value: unknown, defaultValue?: string) => string;
467
+ dataSource: string;
468
+ };
469
+ pagination: {
470
+ label: string;
471
+ comments: string;
472
+ inputs: {
473
+ cursor: {
474
+ label: string;
475
+ type: "string";
476
+ required: false;
477
+ example: string;
478
+ placeholder: string;
479
+ comments: string;
480
+ clean: (value: unknown) => string | undefined;
481
+ };
482
+ pageLimit: {
483
+ label: string;
484
+ type: "string";
485
+ required: false;
486
+ example: string;
487
+ placeholder: string;
488
+ comments: string;
489
+ clean: (value: unknown) => number | undefined;
490
+ };
491
+ };
492
+ } & {
493
+ type: "structuredObject";
494
+ };
495
+ }, import("@prismatic-io/spectral").ConfigVarResultCollection, boolean, {
496
+ data: PaginatedResponse<{
497
+ subscriptions: Subscription[];
498
+ }> | {
499
+ subscriptions: Subscription[];
500
+ };
501
+ }>;
502
+ getArticleSubscription: import("@prismatic-io/spectral").ActionDefinition<{
503
+ zendeskConnection: {
504
+ label: string;
505
+ type: "connection";
506
+ required: true;
507
+ comments: string;
508
+ };
509
+ locale: {
510
+ required: boolean;
511
+ model: undefined;
512
+ default: undefined;
513
+ comments: string;
514
+ clean: (value: unknown) => string | undefined;
515
+ label: string;
516
+ type: "string";
517
+ };
518
+ articleId: {
519
+ label: string;
520
+ type: "string";
521
+ example: string;
522
+ placeholder: string;
523
+ required: true;
524
+ comments: string;
525
+ clean: (value: unknown, defaultValue?: string) => string;
526
+ dataSource: string;
527
+ };
528
+ subscriptionId: {
529
+ dataSource: string;
530
+ label: string;
531
+ type: "string";
532
+ required: true;
533
+ example: string;
534
+ placeholder: string;
535
+ comments: string;
536
+ clean: (value: unknown, defaultValue?: number) => number;
537
+ };
538
+ }, import("@prismatic-io/spectral").ConfigVarResultCollection, boolean, {
539
+ data: SubscriptionResponse;
540
+ }>;
541
+ createArticleSubscription: import("@prismatic-io/spectral").ActionDefinition<{
542
+ zendeskConnection: {
543
+ label: string;
544
+ type: "connection";
545
+ required: true;
546
+ comments: string;
547
+ };
548
+ locale: {
549
+ required: boolean;
550
+ model: undefined;
551
+ default: undefined;
552
+ comments: string;
553
+ clean: (value: unknown) => string | undefined;
554
+ label: string;
555
+ type: "string";
556
+ };
557
+ articleId: {
558
+ label: string;
559
+ type: "string";
560
+ example: string;
561
+ placeholder: string;
562
+ required: true;
563
+ comments: string;
564
+ clean: (value: unknown, defaultValue?: string) => string;
565
+ dataSource: string;
566
+ };
567
+ userId: {
568
+ comments: string;
569
+ required: boolean;
570
+ label: string;
571
+ type: "string";
572
+ example: string;
573
+ placeholder: string;
574
+ clean: (value: unknown) => number | undefined;
575
+ dataSource: string;
576
+ };
577
+ }, import("@prismatic-io/spectral").ConfigVarResultCollection, boolean, {
578
+ data: {
579
+ subscription: {
580
+ locale: string;
581
+ user_id?: number;
582
+ content_id?: string | number | undefined;
583
+ content_type?: string;
584
+ created_at?: string;
585
+ id: number;
586
+ updated_at?: string;
587
+ include_comments?: boolean;
588
+ source_locale?: string;
589
+ url?: string;
590
+ };
591
+ };
592
+ }>;
593
+ deleteArticleSubscription: import("@prismatic-io/spectral").ActionDefinition<{
594
+ zendeskConnection: {
595
+ label: string;
596
+ type: "connection";
597
+ required: true;
598
+ comments: string;
599
+ };
600
+ locale: {
601
+ required: boolean;
602
+ model: undefined;
603
+ default: undefined;
604
+ comments: string;
605
+ clean: (value: unknown) => string | undefined;
606
+ label: string;
607
+ type: "string";
608
+ };
609
+ articleId: {
610
+ label: string;
611
+ type: "string";
612
+ example: string;
613
+ placeholder: string;
614
+ required: true;
615
+ comments: string;
616
+ clean: (value: unknown, defaultValue?: string) => string;
617
+ dataSource: string;
618
+ };
619
+ subscriptionId: {
620
+ dataSource: string;
621
+ label: string;
622
+ type: "string";
623
+ required: true;
624
+ example: string;
625
+ placeholder: string;
626
+ comments: string;
627
+ clean: (value: unknown, defaultValue?: number) => number;
628
+ };
629
+ }, import("@prismatic-io/spectral").ConfigVarResultCollection, boolean, {
630
+ data: any;
631
+ }>;
632
+ listSectionSubscriptions: import("@prismatic-io/spectral").ActionDefinition<{
633
+ zendeskConnection: {
634
+ label: string;
635
+ type: "connection";
636
+ required: true;
637
+ comments: string;
638
+ };
639
+ locale: {
640
+ required: boolean;
641
+ comments: string;
642
+ clean: (value: unknown) => string | undefined;
643
+ label: string;
644
+ type: "string";
645
+ default: string;
646
+ model: {
647
+ label: string;
648
+ value: string;
649
+ }[];
650
+ };
651
+ sectionId: {
652
+ label: string;
653
+ type: "string";
654
+ example: string;
655
+ placeholder: string;
656
+ required: true;
657
+ comments: string;
658
+ clean: (value: unknown, defaultValue?: number) => number;
659
+ dataSource: string;
660
+ };
661
+ pagination: {
662
+ label: string;
663
+ comments: string;
664
+ inputs: {
665
+ cursor: {
666
+ label: string;
667
+ type: "string";
668
+ required: false;
669
+ example: string;
670
+ placeholder: string;
671
+ comments: string;
672
+ clean: (value: unknown) => string | undefined;
673
+ };
674
+ pageLimit: {
675
+ label: string;
676
+ type: "string";
677
+ required: false;
678
+ example: string;
679
+ placeholder: string;
680
+ comments: string;
681
+ clean: (value: unknown) => number | undefined;
682
+ };
683
+ };
684
+ } & {
685
+ type: "structuredObject";
686
+ };
687
+ }, import("@prismatic-io/spectral").ConfigVarResultCollection, boolean, {
688
+ data: PaginatedResponse<{
689
+ subscriptions: Subscription[];
690
+ }> | {
691
+ subscriptions: Subscription[];
692
+ };
693
+ }>;
694
+ getSectionSubscription: import("@prismatic-io/spectral").ActionDefinition<{
695
+ zendeskConnection: {
696
+ label: string;
697
+ type: "connection";
698
+ required: true;
699
+ comments: string;
700
+ };
701
+ locale: {
702
+ required: boolean;
703
+ comments: string;
704
+ clean: (value: unknown) => string | undefined;
705
+ label: string;
706
+ type: "string";
707
+ default: string;
708
+ model: {
709
+ label: string;
710
+ value: string;
711
+ }[];
712
+ };
713
+ sectionId: {
714
+ label: string;
715
+ type: "string";
716
+ example: string;
717
+ placeholder: string;
718
+ required: true;
719
+ comments: string;
720
+ clean: (value: unknown, defaultValue?: number) => number;
721
+ dataSource: string;
722
+ };
723
+ subscriptionId: {
724
+ dataSource: string;
725
+ label: string;
726
+ type: "string";
727
+ required: true;
728
+ example: string;
729
+ placeholder: string;
730
+ comments: string;
731
+ clean: (value: unknown, defaultValue?: number) => number;
732
+ };
733
+ }, import("@prismatic-io/spectral").ConfigVarResultCollection, boolean, {
734
+ data: SubscriptionResponse;
735
+ }>;
736
+ createSectionSubscription: import("@prismatic-io/spectral").ActionDefinition<{
737
+ zendeskConnection: {
738
+ label: string;
739
+ type: "connection";
740
+ required: true;
741
+ comments: string;
742
+ };
743
+ sectionId: {
744
+ label: string;
745
+ type: "string";
746
+ example: string;
747
+ placeholder: string;
748
+ required: true;
749
+ comments: string;
750
+ clean: (value: unknown, defaultValue?: number) => number;
751
+ dataSource: string;
752
+ };
753
+ userId: {
754
+ comments: string;
755
+ required: boolean;
756
+ label: string;
757
+ type: "string";
758
+ example: string;
759
+ placeholder: string;
760
+ clean: (value: unknown) => number | undefined;
761
+ dataSource: string;
762
+ };
763
+ locale: {
764
+ required: boolean;
765
+ model: undefined;
766
+ default: undefined;
767
+ comments: string;
768
+ clean: (value: unknown) => string | undefined;
769
+ label: string;
770
+ type: "string";
771
+ };
772
+ includeComments: {
773
+ label: string;
774
+ type: "boolean";
775
+ required: false;
776
+ comments: string;
777
+ clean: (value: unknown, defaultValue?: boolean) => boolean;
778
+ };
779
+ }, import("@prismatic-io/spectral").ConfigVarResultCollection, boolean, {
780
+ data: {
781
+ subscription: {
782
+ locale: string;
783
+ user_id?: number;
784
+ content_id?: number;
785
+ content_type?: string;
786
+ created_at?: string;
787
+ id: number;
788
+ updated_at?: string;
789
+ include_comments?: boolean;
790
+ source_locale?: string;
791
+ url?: string;
792
+ };
793
+ };
794
+ }>;
795
+ deleteSectionSubscription: import("@prismatic-io/spectral").ActionDefinition<{
796
+ zendeskConnection: {
797
+ label: string;
798
+ type: "connection";
799
+ required: true;
800
+ comments: string;
801
+ };
802
+ locale: {
803
+ required: boolean;
804
+ comments: string;
805
+ clean: (value: unknown) => string | undefined;
806
+ label: string;
807
+ type: "string";
808
+ default: string;
809
+ model: {
810
+ label: string;
811
+ value: string;
812
+ }[];
813
+ };
814
+ sectionId: {
815
+ label: string;
816
+ type: "string";
817
+ example: string;
818
+ placeholder: string;
819
+ required: true;
820
+ comments: string;
821
+ clean: (value: unknown, defaultValue?: number) => number;
822
+ dataSource: string;
823
+ };
824
+ subscriptionId: {
825
+ dataSource: string;
826
+ label: string;
827
+ type: "string";
828
+ required: true;
829
+ example: string;
830
+ placeholder: string;
831
+ comments: string;
832
+ clean: (value: unknown, defaultValue?: number) => number;
833
+ };
834
+ }, import("@prismatic-io/spectral").ConfigVarResultCollection, boolean, {
835
+ data: null;
836
+ }>;
837
+ listPostSubscriptions: import("@prismatic-io/spectral").ActionDefinition<{
838
+ zendeskConnection: {
839
+ label: string;
840
+ type: "connection";
841
+ required: true;
842
+ comments: string;
843
+ };
844
+ postId: {
845
+ label: string;
846
+ type: "string";
847
+ required: true;
848
+ example: string;
849
+ placeholder: string;
850
+ comments: string;
851
+ clean: (value: unknown, defaultValue?: number) => number;
852
+ dataSource: string;
853
+ };
854
+ pagination: {
855
+ label: string;
856
+ comments: string;
857
+ inputs: {
858
+ cursor: {
859
+ label: string;
860
+ type: "string";
861
+ required: false;
862
+ example: string;
863
+ placeholder: string;
864
+ comments: string;
865
+ clean: (value: unknown) => string | undefined;
866
+ };
867
+ pageLimit: {
868
+ label: string;
869
+ type: "string";
870
+ required: false;
871
+ example: string;
872
+ placeholder: string;
873
+ comments: string;
874
+ clean: (value: unknown) => number | undefined;
875
+ };
876
+ };
877
+ } & {
878
+ type: "structuredObject";
879
+ };
880
+ }, import("@prismatic-io/spectral").ConfigVarResultCollection, boolean, {
881
+ data: PaginatedResponse<{
882
+ subscriptions: Subscription[];
883
+ }> | {
884
+ subscriptions: Subscription[];
885
+ };
886
+ }>;
887
+ createPostSubscription: import("@prismatic-io/spectral").ActionDefinition<{
888
+ zendeskConnection: {
889
+ label: string;
890
+ type: "connection";
891
+ required: true;
892
+ comments: string;
893
+ };
894
+ postId: {
895
+ label: string;
896
+ type: "string";
897
+ required: true;
898
+ example: string;
899
+ placeholder: string;
900
+ comments: string;
901
+ clean: (value: unknown, defaultValue?: number) => number;
902
+ dataSource: string;
903
+ };
904
+ userId: {
905
+ comments: string;
906
+ required: boolean;
907
+ label: string;
908
+ type: "string";
909
+ example: string;
910
+ placeholder: string;
911
+ clean: (value: unknown) => number | undefined;
912
+ dataSource: string;
913
+ };
914
+ }, import("@prismatic-io/spectral").ConfigVarResultCollection, boolean, {
915
+ data: {
916
+ subscription: {
917
+ user_id?: number;
918
+ content_id?: number;
919
+ content_type?: string;
920
+ created_at?: string;
921
+ id: number;
922
+ locale: string;
923
+ updated_at?: string;
924
+ include_comments?: boolean;
925
+ source_locale?: string;
926
+ url?: string;
927
+ };
928
+ };
929
+ }>;
930
+ deletePostSubscription: import("@prismatic-io/spectral").ActionDefinition<{
931
+ zendeskConnection: {
932
+ label: string;
933
+ type: "connection";
934
+ required: true;
935
+ comments: string;
936
+ };
937
+ postId: {
938
+ label: string;
939
+ type: "string";
940
+ required: true;
941
+ example: string;
942
+ placeholder: string;
943
+ comments: string;
944
+ clean: (value: unknown, defaultValue?: number) => number;
945
+ dataSource: string;
946
+ };
947
+ subscriptionId: {
948
+ dataSource: string;
949
+ label: string;
950
+ type: "string";
951
+ required: true;
952
+ example: string;
953
+ placeholder: string;
954
+ comments: string;
955
+ clean: (value: unknown, defaultValue?: number) => number;
956
+ };
957
+ }, import("@prismatic-io/spectral").ConfigVarResultCollection, boolean, {
958
+ data: any;
959
+ }>;
960
+ getPostSubscription: import("@prismatic-io/spectral").ActionDefinition<{
961
+ postId: {
962
+ label: string;
963
+ type: "string";
964
+ required: true;
965
+ example: string;
966
+ placeholder: string;
967
+ comments: string;
968
+ clean: (value: unknown, defaultValue?: number) => number;
969
+ dataSource: string;
970
+ };
971
+ subscriptionId: {
972
+ dataSource: string;
973
+ label: string;
974
+ type: "string";
975
+ required: true;
976
+ example: string;
977
+ placeholder: string;
978
+ comments: string;
979
+ clean: (value: unknown, defaultValue?: number) => number;
980
+ };
981
+ zendeskConnection: {
982
+ label: string;
983
+ type: "connection";
984
+ required: true;
985
+ comments: string;
986
+ };
987
+ }, import("@prismatic-io/spectral").ConfigVarResultCollection, boolean, {
988
+ data: SubscriptionResponse;
989
+ }>;
990
+ createTopicSubscription: import("@prismatic-io/spectral").ActionDefinition<{
991
+ zendeskConnection: {
992
+ label: string;
993
+ type: "connection";
994
+ required: true;
995
+ comments: string;
996
+ };
997
+ topicId: {
998
+ label: string;
999
+ type: "string";
1000
+ required: true;
1001
+ example: string;
1002
+ placeholder: string;
1003
+ comments: string;
1004
+ clean: (value: unknown, defaultValue?: number) => number;
1005
+ dataSource: string;
1006
+ };
1007
+ userId: {
1008
+ comments: string;
1009
+ required: boolean;
1010
+ label: string;
1011
+ type: "string";
1012
+ example: string;
1013
+ placeholder: string;
1014
+ clean: (value: unknown) => number | undefined;
1015
+ dataSource: string;
1016
+ };
1017
+ includeComments: {
1018
+ label: string;
1019
+ type: "boolean";
1020
+ required: false;
1021
+ comments: string;
1022
+ clean: (value: unknown, defaultValue?: boolean) => boolean;
1023
+ };
1024
+ }, import("@prismatic-io/spectral").ConfigVarResultCollection, boolean, {
1025
+ data: {
1026
+ subscription: {
1027
+ user_id?: number;
1028
+ content_id?: number;
1029
+ content_type?: string;
1030
+ created_at?: string;
1031
+ id: number;
1032
+ locale: string;
1033
+ updated_at?: string;
1034
+ include_comments?: boolean;
1035
+ source_locale?: string;
1036
+ url?: string;
1037
+ };
1038
+ };
1039
+ }>;
1040
+ getTopicSubscription: import("@prismatic-io/spectral").ActionDefinition<{
1041
+ zendeskConnection: {
1042
+ label: string;
1043
+ type: "connection";
1044
+ required: true;
1045
+ comments: string;
1046
+ };
1047
+ topicId: {
1048
+ label: string;
1049
+ type: "string";
1050
+ required: true;
1051
+ example: string;
1052
+ placeholder: string;
1053
+ comments: string;
1054
+ clean: (value: unknown, defaultValue?: number) => number;
1055
+ dataSource: string;
1056
+ };
1057
+ subscriptionId: {
1058
+ dataSource: string;
1059
+ label: string;
1060
+ type: "string";
1061
+ required: true;
1062
+ example: string;
1063
+ placeholder: string;
1064
+ comments: string;
1065
+ clean: (value: unknown, defaultValue?: number) => number;
1066
+ };
1067
+ }, import("@prismatic-io/spectral").ConfigVarResultCollection, boolean, {
1068
+ data: SubscriptionResponse;
1069
+ }>;
1070
+ listTopicSubscriptions: import("@prismatic-io/spectral").ActionDefinition<{
1071
+ zendeskConnection: {
1072
+ label: string;
1073
+ type: "connection";
1074
+ required: true;
1075
+ comments: string;
1076
+ };
1077
+ topicId: {
1078
+ label: string;
1079
+ type: "string";
1080
+ required: true;
1081
+ example: string;
1082
+ placeholder: string;
1083
+ comments: string;
1084
+ clean: (value: unknown, defaultValue?: number) => number;
1085
+ dataSource: string;
1086
+ };
1087
+ pagination: {
1088
+ label: string;
1089
+ comments: string;
1090
+ inputs: {
1091
+ cursor: {
1092
+ label: string;
1093
+ type: "string";
1094
+ required: false;
1095
+ example: string;
1096
+ placeholder: string;
1097
+ comments: string;
1098
+ clean: (value: unknown) => string | undefined;
1099
+ };
1100
+ pageLimit: {
1101
+ label: string;
1102
+ type: "string";
1103
+ required: false;
1104
+ example: string;
1105
+ placeholder: string;
1106
+ comments: string;
1107
+ clean: (value: unknown) => number | undefined;
1108
+ };
1109
+ };
1110
+ } & {
1111
+ type: "structuredObject";
1112
+ };
1113
+ }, import("@prismatic-io/spectral").ConfigVarResultCollection, boolean, {
1114
+ data: PaginatedResponse<{
1115
+ subscriptions: Subscription[];
1116
+ }> | {
1117
+ subscriptions: Subscription[];
1118
+ };
1119
+ }>;
1120
+ deleteTopicSubscription: import("@prismatic-io/spectral").ActionDefinition<{
1121
+ zendeskConnection: {
1122
+ label: string;
1123
+ type: "connection";
1124
+ required: true;
1125
+ comments: string;
1126
+ };
1127
+ topicId: {
1128
+ label: string;
1129
+ type: "string";
1130
+ required: true;
1131
+ example: string;
1132
+ placeholder: string;
1133
+ comments: string;
1134
+ clean: (value: unknown, defaultValue?: number) => number;
1135
+ dataSource: string;
1136
+ };
1137
+ subscriptionId: {
1138
+ dataSource: string;
1139
+ label: string;
1140
+ type: "string";
1141
+ required: true;
1142
+ example: string;
1143
+ placeholder: string;
1144
+ comments: string;
1145
+ clean: (value: unknown, defaultValue?: number) => number;
1146
+ };
1147
+ }, import("@prismatic-io/spectral").ConfigVarResultCollection, boolean, {
1148
+ data: any;
1149
+ }>;
1150
+ createPost: import("@prismatic-io/spectral").ActionDefinition<{
1151
+ zendeskConnection: {
1152
+ label: string;
1153
+ type: "connection";
1154
+ required: true;
1155
+ comments: string;
1156
+ };
1157
+ topicId: {
1158
+ comments: string;
1159
+ required: boolean;
1160
+ clean: (value: unknown) => number | undefined;
1161
+ label: string;
1162
+ type: "string";
1163
+ example: string;
1164
+ placeholder: string;
1165
+ dataSource: string;
1166
+ };
1167
+ postTitle: {
1168
+ label: string;
1169
+ type: "string";
1170
+ required: true;
1171
+ example: string;
1172
+ placeholder: string;
1173
+ comments: string;
1174
+ clean: (value: unknown, defaultValue?: string) => string;
1175
+ };
1176
+ postDetails: {
1177
+ label: string;
1178
+ type: "string";
1179
+ required: false;
1180
+ placeholder: string;
1181
+ comments: string;
1182
+ clean: (value: unknown) => string | undefined;
1183
+ };
1184
+ isPostFeatured: {
1185
+ label: string;
1186
+ type: "boolean";
1187
+ required: false;
1188
+ comments: string;
1189
+ clean: (value: unknown, defaultValue?: boolean) => boolean;
1190
+ };
1191
+ isPostPinned: {
1192
+ label: string;
1193
+ type: "boolean";
1194
+ required: false;
1195
+ comments: string;
1196
+ clean: (value: unknown, defaultValue?: boolean) => boolean;
1197
+ };
1198
+ postStatus: {
1199
+ label: string;
1200
+ type: "string";
1201
+ required: false;
1202
+ model: {
1203
+ label: string;
1204
+ value: string;
1205
+ }[];
1206
+ comments: string;
1207
+ clean: (value: unknown) => string | undefined;
1208
+ };
1209
+ notifySubscribers: {
1210
+ label: string;
1211
+ type: "boolean";
1212
+ required: false;
1213
+ comments: string;
1214
+ clean: (value: unknown, defaultValue?: boolean) => boolean;
1215
+ };
1216
+ contentTagIds: {
1217
+ label: string;
1218
+ type: "string";
1219
+ collection: "valuelist";
1220
+ required: false;
1221
+ placeholder: string;
1222
+ comments: string;
1223
+ clean: (value: unknown) => string[] | undefined;
1224
+ };
1225
+ }, import("@prismatic-io/spectral").ConfigVarResultCollection, boolean, {
1226
+ data: unknown;
1227
+ }>;
1228
+ deletePost: import("@prismatic-io/spectral").ActionDefinition<{
1229
+ zendeskConnection: {
1230
+ label: string;
1231
+ type: "connection";
1232
+ required: true;
1233
+ comments: string;
1234
+ };
1235
+ postId: {
1236
+ label: string;
1237
+ type: "string";
1238
+ required: true;
1239
+ example: string;
1240
+ placeholder: string;
1241
+ comments: string;
1242
+ clean: (value: unknown, defaultValue?: number) => number;
1243
+ dataSource: string;
1244
+ };
1245
+ }, import("@prismatic-io/spectral").ConfigVarResultCollection, boolean, {
1246
+ data: any;
1247
+ }>;
1248
+ getPost: import("@prismatic-io/spectral").ActionDefinition<{
1249
+ zendeskConnection: {
1250
+ label: string;
1251
+ type: "connection";
1252
+ required: true;
1253
+ comments: string;
1254
+ };
1255
+ postId: {
1256
+ label: string;
1257
+ type: "string";
1258
+ required: true;
1259
+ example: string;
1260
+ placeholder: string;
1261
+ comments: string;
1262
+ clean: (value: unknown, defaultValue?: number) => number;
1263
+ dataSource: string;
1264
+ };
1265
+ }, import("@prismatic-io/spectral").ConfigVarResultCollection, boolean, {
1266
+ data: {
1267
+ post: Post;
1268
+ };
1269
+ }>;
1270
+ listPosts: import("@prismatic-io/spectral").ActionDefinition<{
1271
+ zendeskConnection: {
1272
+ label: string;
1273
+ type: "connection";
1274
+ required: true;
1275
+ comments: string;
1276
+ };
1277
+ filterBy: {
1278
+ label: string;
1279
+ type: "string";
1280
+ required: true;
1281
+ model: {
1282
+ label: string;
1283
+ value: string;
1284
+ }[];
1285
+ comments: string;
1286
+ clean: (value: unknown, defaultValue?: string) => string;
1287
+ };
1288
+ topicId: {
1289
+ required: boolean;
1290
+ clean: (value: unknown) => number | undefined;
1291
+ label: string;
1292
+ type: "string";
1293
+ example: string;
1294
+ placeholder: string;
1295
+ comments: string;
1296
+ dataSource: string;
1297
+ };
1298
+ sortBy: {
1299
+ model: {
1300
+ label: string;
1301
+ value: string;
1302
+ }[];
1303
+ label: string;
1304
+ type: "string";
1305
+ required: false;
1306
+ placeholder: string;
1307
+ comments: string;
1308
+ clean: (value: unknown) => string | undefined;
1309
+ };
1310
+ fetchAll: {
1311
+ label: string;
1312
+ type: "boolean";
1313
+ required: false;
1314
+ default: string;
1315
+ comments: string;
1316
+ clean: (value: unknown, defaultValue?: boolean) => boolean;
1317
+ };
1318
+ pagination: {
1319
+ label: string;
1320
+ comments: string;
1321
+ inputs: {
1322
+ cursor: {
1323
+ label: string;
1324
+ type: "string";
1325
+ required: false;
1326
+ example: string;
1327
+ placeholder: string;
1328
+ comments: string;
1329
+ clean: (value: unknown) => string | undefined;
1330
+ };
1331
+ pageLimit: {
1332
+ label: string;
1333
+ type: "string";
1334
+ required: false;
1335
+ example: string;
1336
+ placeholder: string;
1337
+ comments: string;
1338
+ clean: (value: unknown) => number | undefined;
1339
+ };
1340
+ };
1341
+ } & {
1342
+ type: "structuredObject";
1343
+ };
1344
+ }, import("@prismatic-io/spectral").ConfigVarResultCollection, boolean, {
1345
+ data: unknown;
1346
+ }>;
1347
+ updatePost: import("@prismatic-io/spectral").ActionDefinition<{
1348
+ zendeskConnection: {
1349
+ label: string;
1350
+ type: "connection";
1351
+ required: true;
1352
+ comments: string;
1353
+ };
1354
+ postId: {
1355
+ label: string;
1356
+ type: "string";
1357
+ required: true;
1358
+ example: string;
1359
+ placeholder: string;
1360
+ comments: string;
1361
+ clean: (value: unknown, defaultValue?: number) => number;
1362
+ dataSource: string;
1363
+ };
1364
+ postTitle: {
1365
+ required: boolean;
1366
+ clean: (value: unknown) => string | undefined;
1367
+ label: string;
1368
+ type: "string";
1369
+ example: string;
1370
+ placeholder: string;
1371
+ comments: string;
1372
+ };
1373
+ postDetails: {
1374
+ label: string;
1375
+ type: "string";
1376
+ required: false;
1377
+ placeholder: string;
1378
+ comments: string;
1379
+ clean: (value: unknown) => string | undefined;
1380
+ };
1381
+ postStatus: {
1382
+ label: string;
1383
+ type: "string";
1384
+ required: false;
1385
+ model: {
1386
+ label: string;
1387
+ value: string;
1388
+ }[];
1389
+ comments: string;
1390
+ clean: (value: unknown) => string | undefined;
1391
+ };
1392
+ topicId: {
1393
+ required: boolean;
1394
+ clean: (value: unknown) => number | undefined;
1395
+ label: string;
1396
+ type: "string";
1397
+ example: string;
1398
+ placeholder: string;
1399
+ comments: string;
1400
+ dataSource: string;
1401
+ };
1402
+ moderationFlags: {
1403
+ label: string;
1404
+ comments: string;
1405
+ inputs: {
1406
+ isPostFeatured: {
1407
+ label: string | {
1408
+ key: string;
1409
+ value: string;
1410
+ };
1411
+ comments: string | undefined;
1412
+ type: "string";
1413
+ required: false;
1414
+ model: {
1415
+ label: string;
1416
+ value: string;
1417
+ }[];
1418
+ clean: (value: unknown) => boolean | undefined;
1419
+ };
1420
+ isPostPinned: {
1421
+ label: string | {
1422
+ key: string;
1423
+ value: string;
1424
+ };
1425
+ comments: string | undefined;
1426
+ type: "string";
1427
+ required: false;
1428
+ model: {
1429
+ label: string;
1430
+ value: string;
1431
+ }[];
1432
+ clean: (value: unknown) => boolean | undefined;
1433
+ };
1434
+ isPostClosed: {
1435
+ label: string | {
1436
+ key: string;
1437
+ value: string;
1438
+ };
1439
+ comments: string | undefined;
1440
+ type: "string";
1441
+ required: false;
1442
+ model: {
1443
+ label: string;
1444
+ value: string;
1445
+ }[];
1446
+ clean: (value: unknown) => boolean | undefined;
1447
+ };
1448
+ };
1449
+ } & {
1450
+ type: "structuredObject";
1451
+ };
1452
+ contentTagIds: {
1453
+ label: string;
1454
+ type: "string";
1455
+ collection: "valuelist";
1456
+ required: false;
1457
+ placeholder: string;
1458
+ comments: string;
1459
+ clean: (value: unknown) => string[] | undefined;
1460
+ };
1461
+ }, import("@prismatic-io/spectral").ConfigVarResultCollection, boolean, {
1462
+ data: {
1463
+ post: {
1464
+ content_tag_ids?: string[] | number[] | undefined;
1465
+ featured?: boolean;
1466
+ title: string;
1467
+ id: number;
1468
+ author_id?: number;
1469
+ closed?: boolean;
1470
+ comment_count?: number;
1471
+ created_at?: string;
1472
+ details?: string;
1473
+ follower_count?: number;
1474
+ html_url?: string;
1475
+ non_author_editor_id?: number;
1476
+ non_author_updated_at?: string;
1477
+ pinned?: boolean;
1478
+ status?: string;
1479
+ topic_id?: number;
1480
+ updated_at?: string;
1481
+ url?: string;
1482
+ vote_count?: number;
1483
+ vote_sum?: number;
1484
+ };
1485
+ };
1486
+ }>;
1487
+ createTopic: import("@prismatic-io/spectral").ActionDefinition<{
1488
+ zendeskConnection: {
1489
+ label: string;
1490
+ type: "connection";
1491
+ required: true;
1492
+ comments: string;
1493
+ };
1494
+ topicName: {
1495
+ label: string;
1496
+ type: "string";
1497
+ required: true;
1498
+ example: string;
1499
+ placeholder: string;
1500
+ comments: string;
1501
+ clean: (value: unknown, defaultValue?: string) => string;
1502
+ };
1503
+ topicDescription: {
1504
+ label: string;
1505
+ type: "string";
1506
+ required: false;
1507
+ example: string;
1508
+ placeholder: string;
1509
+ comments: string;
1510
+ clean: (value: unknown) => string | undefined;
1511
+ };
1512
+ }, import("@prismatic-io/spectral").ConfigVarResultCollection, boolean, {
1513
+ data: {
1514
+ topic: {
1515
+ description?: string;
1516
+ name: string;
1517
+ id: number;
1518
+ manageable_by?: string;
1519
+ position?: number;
1520
+ user_segment_id?: number;
1521
+ html_url?: string;
1522
+ url?: string;
1523
+ };
1524
+ };
1525
+ }>;
1526
+ deleteTopic: import("@prismatic-io/spectral").ActionDefinition<{
1527
+ zendeskConnection: {
1528
+ label: string;
1529
+ type: "connection";
1530
+ required: true;
1531
+ comments: string;
1532
+ };
1533
+ topicId: {
1534
+ label: string;
1535
+ type: "string";
1536
+ required: true;
1537
+ example: string;
1538
+ placeholder: string;
1539
+ comments: string;
1540
+ clean: (value: unknown, defaultValue?: number) => number;
1541
+ dataSource: string;
1542
+ };
1543
+ }, import("@prismatic-io/spectral").ConfigVarResultCollection, boolean, {
1544
+ data: any;
1545
+ }>;
1546
+ updateTopic: import("@prismatic-io/spectral").ActionDefinition<{
1547
+ zendeskConnection: {
1548
+ label: string;
1549
+ type: "connection";
1550
+ required: true;
1551
+ comments: string;
1552
+ };
1553
+ topicId: {
1554
+ label: string;
1555
+ type: "string";
1556
+ required: true;
1557
+ example: string;
1558
+ placeholder: string;
1559
+ comments: string;
1560
+ clean: (value: unknown, defaultValue?: number) => number;
1561
+ dataSource: string;
1562
+ };
1563
+ topicName: {
1564
+ label: string;
1565
+ type: "string";
1566
+ required: true;
1567
+ example: string;
1568
+ placeholder: string;
1569
+ comments: string;
1570
+ clean: (value: unknown, defaultValue?: string) => string;
1571
+ };
1572
+ userSegmentId: {
1573
+ required: boolean;
1574
+ comments: string;
1575
+ clean: (value: unknown) => number | undefined;
1576
+ label: string;
1577
+ type: "string";
1578
+ example: string;
1579
+ placeholder: string;
1580
+ dataSource: string;
1581
+ };
1582
+ position: {
1583
+ comments: string;
1584
+ label: string;
1585
+ type: "string";
1586
+ required: false;
1587
+ placeholder: string;
1588
+ example: string;
1589
+ clean: (value: unknown) => number | undefined;
1590
+ };
1591
+ topicDescription: {
1592
+ label: string;
1593
+ type: "string";
1594
+ required: false;
1595
+ example: string;
1596
+ placeholder: string;
1597
+ comments: string;
1598
+ clean: (value: unknown) => string | undefined;
1599
+ };
1600
+ manageableBy: {
1601
+ label: string;
1602
+ type: "string";
1603
+ required: false;
1604
+ model: {
1605
+ label: string;
1606
+ value: string;
1607
+ }[];
1608
+ comments: string;
1609
+ clean: (value: unknown) => string | undefined;
1610
+ };
1611
+ }, import("@prismatic-io/spectral").ConfigVarResultCollection, boolean, {
1612
+ data: {
1613
+ topic: {
1614
+ description?: string;
1615
+ name: string;
1616
+ id: number;
1617
+ manageable_by?: string;
1618
+ position?: number;
1619
+ user_segment_id?: number;
1620
+ html_url?: string;
1621
+ url?: string;
1622
+ };
1623
+ };
1624
+ }>;
1625
+ getTopic: import("@prismatic-io/spectral").ActionDefinition<{
1626
+ zendeskConnection: {
1627
+ label: string;
1628
+ type: "connection";
1629
+ required: true;
1630
+ comments: string;
1631
+ };
1632
+ topicId: {
1633
+ label: string;
1634
+ type: "string";
1635
+ required: true;
1636
+ example: string;
1637
+ placeholder: string;
1638
+ comments: string;
1639
+ clean: (value: unknown, defaultValue?: number) => number;
1640
+ dataSource: string;
1641
+ };
1642
+ }, import("@prismatic-io/spectral").ConfigVarResultCollection, boolean, {
1643
+ data: {
1644
+ topic: Topic;
1645
+ };
1646
+ }>;
1647
+ listTopics: import("@prismatic-io/spectral").ActionDefinition<{
1648
+ zendeskConnection: {
1649
+ label: string;
1650
+ type: "connection";
1651
+ required: true;
1652
+ comments: string;
1653
+ };
1654
+ fetchAll: {
1655
+ label: string;
1656
+ type: "boolean";
1657
+ required: false;
1658
+ default: string;
1659
+ comments: string;
1660
+ clean: (value: unknown, defaultValue?: boolean) => boolean;
1661
+ };
1662
+ pagination: {
1663
+ label: string;
1664
+ comments: string;
1665
+ inputs: {
1666
+ cursor: {
1667
+ label: string;
1668
+ type: "string";
1669
+ required: false;
1670
+ example: string;
1671
+ placeholder: string;
1672
+ comments: string;
1673
+ clean: (value: unknown) => string | undefined;
1674
+ };
1675
+ pageLimit: {
1676
+ label: string;
1677
+ type: "string";
1678
+ required: false;
1679
+ example: string;
1680
+ placeholder: string;
1681
+ comments: string;
1682
+ clean: (value: unknown) => number | undefined;
1683
+ };
1684
+ };
1685
+ } & {
1686
+ type: "structuredObject";
1687
+ };
1688
+ }, import("@prismatic-io/spectral").ConfigVarResultCollection, boolean, {
1689
+ data: unknown;
1690
+ }>;
1691
+ createSection: import("@prismatic-io/spectral").ActionDefinition<{
1692
+ zendeskConnection: {
1693
+ label: string;
1694
+ type: "connection";
1695
+ required: true;
1696
+ comments: string;
1697
+ };
1698
+ locale: {
1699
+ label: string;
1700
+ type: "string";
1701
+ required: true;
1702
+ comments: string;
1703
+ default: string;
1704
+ model: {
1705
+ label: string;
1706
+ value: string;
1707
+ }[];
1708
+ clean: (value: unknown, defaultValue?: string) => string;
1709
+ };
1710
+ categoryId: {
1711
+ label: string;
1712
+ type: "string";
1713
+ required: true;
1714
+ example: string;
1715
+ placeholder: string;
1716
+ comments: string;
1717
+ clean: (value: unknown, defaultValue?: number) => number;
1718
+ dataSource: string;
1719
+ };
1720
+ sectionName: {
1721
+ label: string;
1722
+ type: "string";
1723
+ required: true;
1724
+ example: string;
1725
+ placeholder: string;
1726
+ comments: string;
1727
+ clean: (value: unknown, defaultValue?: string) => string;
1728
+ };
1729
+ sectionDescription: {
1730
+ label: string;
1731
+ type: "string";
1732
+ required: false;
1733
+ example: string;
1734
+ placeholder: string;
1735
+ comments: string;
1736
+ clean: (value: unknown) => string | undefined;
1737
+ };
1738
+ position: {
1739
+ comments: string;
1740
+ label: string;
1741
+ type: "string";
1742
+ required: false;
1743
+ placeholder: string;
1744
+ example: string;
1745
+ clean: (value: unknown) => number | undefined;
1746
+ };
1747
+ }, import("@prismatic-io/spectral").ConfigVarResultCollection, boolean, {
1748
+ data: {
1749
+ section: {
1750
+ position?: number;
1751
+ locale: string;
1752
+ description: string;
1753
+ name: string;
1754
+ id: number;
1755
+ category_id?: number;
1756
+ };
1757
+ };
1758
+ }>;
1759
+ getSection: import("@prismatic-io/spectral").ActionDefinition<{
1760
+ zendeskConnection: {
1761
+ label: string;
1762
+ type: "connection";
1763
+ required: true;
1764
+ comments: string;
1765
+ };
1766
+ locale: {
1767
+ label: string;
1768
+ type: "string";
1769
+ required: true;
1770
+ comments: string;
1771
+ default: string;
1772
+ model: {
1773
+ label: string;
1774
+ value: string;
1775
+ }[];
1776
+ clean: (value: unknown, defaultValue?: string) => string;
1777
+ };
1778
+ sectionId: {
1779
+ label: string;
1780
+ type: "string";
1781
+ example: string;
1782
+ placeholder: string;
1783
+ required: true;
1784
+ comments: string;
1785
+ clean: (value: unknown, defaultValue?: number) => number;
1786
+ dataSource: string;
1787
+ };
1788
+ }, import("@prismatic-io/spectral").ConfigVarResultCollection, boolean, {
1789
+ data: {
1790
+ section: Section;
1791
+ };
1792
+ }>;
1793
+ listSections: import("@prismatic-io/spectral").ActionDefinition<{
1794
+ zendeskConnection: {
1795
+ label: string;
1796
+ type: "connection";
1797
+ required: true;
1798
+ comments: string;
1799
+ };
1800
+ locale: {
1801
+ label: string;
1802
+ type: "string";
1803
+ required: true;
1804
+ comments: string;
1805
+ default: string;
1806
+ model: {
1807
+ label: string;
1808
+ value: string;
1809
+ }[];
1810
+ clean: (value: unknown, defaultValue?: string) => string;
1811
+ };
1812
+ fetchAll: {
1813
+ label: string;
1814
+ type: "boolean";
1815
+ required: false;
1816
+ default: string;
1817
+ comments: string;
1818
+ clean: (value: unknown, defaultValue?: boolean) => boolean;
1819
+ };
1820
+ pageLimit: {
1821
+ label: string;
1822
+ type: "string";
1823
+ required: false;
1824
+ example: string;
1825
+ placeholder: string;
1826
+ comments: string;
1827
+ clean: (value: unknown) => number | undefined;
1828
+ };
1829
+ filters: {
1830
+ label: string;
1831
+ comments: string;
1832
+ inputs: {
1833
+ categoryId: {
1834
+ comments: string;
1835
+ required: false;
1836
+ clean: (value: unknown) => number | undefined;
1837
+ label: string;
1838
+ type: "string";
1839
+ example: string;
1840
+ placeholder: string;
1841
+ dataSource: string;
1842
+ };
1843
+ sortBy: {
1844
+ model: {
1845
+ label: string;
1846
+ value: string;
1847
+ }[];
1848
+ label: string;
1849
+ type: "string";
1850
+ required: false;
1851
+ placeholder: string;
1852
+ comments: string;
1853
+ clean: (value: unknown) => string | undefined;
1854
+ };
1855
+ sortOrder: {
1856
+ label: string;
1857
+ type: "string";
1858
+ required: false;
1859
+ example: string;
1860
+ model: {
1861
+ label: string;
1862
+ value: string;
1863
+ }[];
1864
+ comments: string;
1865
+ clean: (value: unknown) => string | undefined;
1866
+ };
1867
+ };
1868
+ } & {
1869
+ type: "structuredObject";
1870
+ };
1871
+ }, import("@prismatic-io/spectral").ConfigVarResultCollection, boolean, {
1872
+ data: unknown;
1873
+ }>;
1874
+ updateSection: import("@prismatic-io/spectral").ActionDefinition<{
1875
+ zendeskConnection: {
1876
+ label: string;
1877
+ type: "connection";
1878
+ required: true;
1879
+ comments: string;
1880
+ };
1881
+ locale: {
1882
+ label: string;
1883
+ type: "string";
1884
+ required: true;
1885
+ comments: string;
1886
+ default: string;
1887
+ model: {
1888
+ label: string;
1889
+ value: string;
1890
+ }[];
1891
+ clean: (value: unknown, defaultValue?: string) => string;
1892
+ };
1893
+ sectionId: {
1894
+ label: string;
1895
+ type: "string";
1896
+ example: string;
1897
+ placeholder: string;
1898
+ required: true;
1899
+ comments: string;
1900
+ clean: (value: unknown, defaultValue?: number) => number;
1901
+ dataSource: string;
1902
+ };
1903
+ sectionName: {
1904
+ required: boolean;
1905
+ comments: string;
1906
+ clean: (value: unknown) => string | undefined;
1907
+ label: string;
1908
+ type: "string";
1909
+ example: string;
1910
+ placeholder: string;
1911
+ };
1912
+ sectionDescription: {
1913
+ comments: string;
1914
+ label: string;
1915
+ type: "string";
1916
+ required: false;
1917
+ example: string;
1918
+ placeholder: string;
1919
+ clean: (value: unknown) => string | undefined;
1920
+ };
1921
+ position: {
1922
+ comments: string;
1923
+ label: string;
1924
+ type: "string";
1925
+ required: false;
1926
+ placeholder: string;
1927
+ example: string;
1928
+ clean: (value: unknown) => number | undefined;
1929
+ };
1930
+ categoryId: {
1931
+ required: boolean;
1932
+ comments: string;
1933
+ clean: (value: unknown) => number | undefined;
1934
+ label: string;
1935
+ type: "string";
1936
+ example: string;
1937
+ placeholder: string;
1938
+ dataSource: string;
1939
+ };
1940
+ parentSectionId: {
1941
+ comments: string;
1942
+ label: string;
1943
+ type: "string";
1944
+ required: false;
1945
+ example: string;
1946
+ placeholder: string;
1947
+ clean: (value: unknown) => number | undefined;
1948
+ };
1949
+ }, import("@prismatic-io/spectral").ConfigVarResultCollection, boolean, {
1950
+ data: {
1951
+ section: {
1952
+ position?: number;
1953
+ locale: string;
1954
+ description: string;
1955
+ name: string;
1956
+ id: number;
1957
+ category_id?: number;
1958
+ };
1959
+ };
1960
+ }>;
1961
+ deleteSection: import("@prismatic-io/spectral").ActionDefinition<{
1962
+ zendeskConnection: {
1963
+ label: string;
1964
+ type: "connection";
1965
+ required: true;
1966
+ comments: string;
1967
+ };
1968
+ locale: {
1969
+ label: string;
1970
+ type: "string";
1971
+ required: true;
1972
+ comments: string;
1973
+ default: string;
1974
+ model: {
1975
+ label: string;
1976
+ value: string;
1977
+ }[];
1978
+ clean: (value: unknown, defaultValue?: string) => string;
1979
+ };
1980
+ sectionId: {
1981
+ label: string;
1982
+ type: "string";
1983
+ example: string;
1984
+ placeholder: string;
1985
+ required: true;
1986
+ comments: string;
1987
+ clean: (value: unknown, defaultValue?: number) => number;
1988
+ dataSource: string;
1989
+ };
1990
+ }, import("@prismatic-io/spectral").ConfigVarResultCollection, boolean, {
1991
+ data: any;
1992
+ }>;
1993
+ unifiedSearch: import("@prismatic-io/spectral").ActionDefinition<{
1994
+ zendeskConnection: {
1995
+ label: string;
1996
+ type: "connection";
1997
+ required: true;
1998
+ comments: string;
1999
+ };
2000
+ searchQuery: {
2001
+ label: string;
2002
+ type: "string";
2003
+ required: true;
2004
+ placeholder: string;
2005
+ example: string;
2006
+ comments: string;
2007
+ clean: (value: unknown, defaultValue?: string) => string;
2008
+ };
2009
+ locales: {
2010
+ label: string;
2011
+ type: "string";
2012
+ required: true;
2013
+ collection: "valuelist";
2014
+ example: string;
2015
+ placeholder: string;
2016
+ comments: string;
2017
+ clean: (value: unknown) => string | undefined;
2018
+ };
2019
+ pagination: {
2020
+ label: string;
2021
+ comments: string;
2022
+ inputs: {
2023
+ cursor: {
2024
+ label: string;
2025
+ type: "string";
2026
+ required: false;
2027
+ example: string;
2028
+ placeholder: string;
2029
+ comments: string;
2030
+ clean: (value: unknown) => string | undefined;
2031
+ };
2032
+ pageLimit: {
2033
+ label: string;
2034
+ type: "string";
2035
+ required: false;
2036
+ example: string;
2037
+ placeholder: string;
2038
+ comments: string;
2039
+ clean: (value: unknown) => number | undefined;
2040
+ };
2041
+ };
2042
+ } & {
2043
+ type: "structuredObject";
2044
+ };
2045
+ brandIds: {
2046
+ label: string;
2047
+ type: "string";
2048
+ required: false;
2049
+ collection: "valuelist";
2050
+ example: string;
2051
+ placeholder: string;
2052
+ comments: string;
2053
+ clean: (value: unknown) => string | undefined;
2054
+ };
2055
+ categoryIds: {
2056
+ label: string;
2057
+ type: "string";
2058
+ required: false;
2059
+ collection: "valuelist";
2060
+ example: string;
2061
+ placeholder: string;
2062
+ comments: string;
2063
+ clean: (value: unknown) => string | undefined;
2064
+ };
2065
+ contentTypes: {
2066
+ label: string;
2067
+ type: "string";
2068
+ required: false;
2069
+ collection: "valuelist";
2070
+ model: {
2071
+ label: string;
2072
+ value: string;
2073
+ }[];
2074
+ comments: string;
2075
+ clean: (value: unknown) => string | undefined;
2076
+ };
2077
+ externalSourceIds: {
2078
+ label: string;
2079
+ type: "string";
2080
+ required: false;
2081
+ collection: "valuelist";
2082
+ example: string;
2083
+ placeholder: string;
2084
+ comments: string;
2085
+ clean: (value: unknown) => string | undefined;
2086
+ };
2087
+ sectionIds: {
2088
+ label: string;
2089
+ type: "string";
2090
+ required: false;
2091
+ collection: "valuelist";
2092
+ example: string;
2093
+ placeholder: string;
2094
+ comments: string;
2095
+ clean: (value: unknown) => string | undefined;
2096
+ };
2097
+ topicIds: {
2098
+ label: string;
2099
+ type: "string";
2100
+ required: false;
2101
+ collection: "valuelist";
2102
+ example: string;
2103
+ placeholder: string;
2104
+ comments: string;
2105
+ clean: (value: unknown) => string | undefined;
2106
+ };
2107
+ }, import("@prismatic-io/spectral").ConfigVarResultCollection, boolean, {
2108
+ data: unknown;
2109
+ }>;
2110
+ searchArticles: import("@prismatic-io/spectral").ActionDefinition<{
2111
+ zendeskConnection: {
2112
+ label: string;
2113
+ type: "connection";
2114
+ required: true;
2115
+ comments: string;
2116
+ };
2117
+ searchQuery: {
2118
+ label: string;
2119
+ type: "string";
2120
+ required: true;
2121
+ placeholder: string;
2122
+ example: string;
2123
+ comments: string;
2124
+ clean: (value: unknown, defaultValue?: string) => string;
2125
+ };
2126
+ filterLocale: {
2127
+ required: boolean;
2128
+ comments: string;
2129
+ label: string;
2130
+ type: "string";
2131
+ collection: "valuelist";
2132
+ example: string;
2133
+ placeholder: string;
2134
+ clean: (value: unknown) => string | undefined;
2135
+ };
2136
+ brandIds: {
2137
+ label: string;
2138
+ type: "string";
2139
+ required: false;
2140
+ collection: "valuelist";
2141
+ example: string;
2142
+ placeholder: string;
2143
+ comments: string;
2144
+ clean: (value: unknown) => string | undefined;
2145
+ };
2146
+ categoryIds: {
2147
+ label: string;
2148
+ type: "string";
2149
+ required: false;
2150
+ collection: "valuelist";
2151
+ example: string;
2152
+ placeholder: string;
2153
+ comments: string;
2154
+ clean: (value: unknown) => string | undefined;
2155
+ };
2156
+ filters: {
2157
+ label: string;
2158
+ comments: string;
2159
+ inputs: {
2160
+ filterSectionId: {
2161
+ label: string;
2162
+ type: "string";
2163
+ required: false;
2164
+ example: string;
2165
+ placeholder: string;
2166
+ comments: string;
2167
+ clean: (value: unknown) => number | undefined;
2168
+ };
2169
+ shouldFilterMultibrand: {
2170
+ label: string;
2171
+ type: "boolean";
2172
+ required: false;
2173
+ comments: string;
2174
+ clean: (value: unknown, defaultValue?: boolean) => boolean;
2175
+ };
2176
+ sortBy: {
2177
+ model: {
2178
+ label: string;
2179
+ value: string;
2180
+ }[];
2181
+ label: string;
2182
+ type: "string";
2183
+ required: false;
2184
+ placeholder: string;
2185
+ comments: string;
2186
+ clean: (value: unknown) => string | undefined;
2187
+ };
2188
+ sortOrder: {
2189
+ label: string;
2190
+ type: "string";
2191
+ required: false;
2192
+ example: string;
2193
+ model: {
2194
+ label: string;
2195
+ value: string;
2196
+ }[];
2197
+ comments: string;
2198
+ clean: (value: unknown) => string | undefined;
2199
+ };
2200
+ };
2201
+ } & {
2202
+ type: "structuredObject";
2203
+ };
2204
+ dateRangeFilters: {
2205
+ label: string;
2206
+ comments: string;
2207
+ inputs: {
2208
+ filterCreatedAt: {
2209
+ label: string;
2210
+ type: "string";
2211
+ required: false;
2212
+ example: string;
2213
+ placeholder: string;
2214
+ comments: string;
2215
+ clean: (value: unknown) => string | undefined;
2216
+ };
2217
+ filterCreatedAfter: {
2218
+ label: string;
2219
+ type: "string";
2220
+ required: false;
2221
+ example: string;
2222
+ placeholder: string;
2223
+ comments: string;
2224
+ clean: (value: unknown) => string | undefined;
2225
+ };
2226
+ filterCreatedBefore: {
2227
+ label: string;
2228
+ type: "string";
2229
+ required: false;
2230
+ example: string;
2231
+ placeholder: string;
2232
+ comments: string;
2233
+ clean: (value: unknown) => string | undefined;
2234
+ };
2235
+ filterUpdatedAt: {
2236
+ label: string;
2237
+ type: "string";
2238
+ required: false;
2239
+ example: string;
2240
+ placeholder: string;
2241
+ comments: string;
2242
+ clean: (value: unknown) => string | undefined;
2243
+ };
2244
+ filterUpdatedAfter: {
2245
+ label: string;
2246
+ type: "string";
2247
+ required: false;
2248
+ example: string;
2249
+ placeholder: string;
2250
+ comments: string;
2251
+ clean: (value: unknown) => string | undefined;
2252
+ };
2253
+ filterUpdatedBefore: {
2254
+ label: string;
2255
+ type: "string";
2256
+ required: false;
2257
+ example: string;
2258
+ placeholder: string;
2259
+ comments: string;
2260
+ clean: (value: unknown) => string | undefined;
2261
+ };
2262
+ };
2263
+ } & {
2264
+ type: "structuredObject";
2265
+ };
2266
+ filterLabelNames: {
2267
+ label: string;
2268
+ type: "string";
2269
+ required: false;
2270
+ collection: "valuelist";
2271
+ example: string;
2272
+ placeholder: string;
2273
+ comments: string;
2274
+ clean: (value: unknown) => string | undefined;
2275
+ };
2276
+ }, import("@prismatic-io/spectral").ConfigVarResultCollection, boolean, {
2277
+ data: unknown;
2278
+ }>;
2279
+ searchPosts: import("@prismatic-io/spectral").ActionDefinition<{
2280
+ zendeskConnection: {
2281
+ label: string;
2282
+ type: "connection";
2283
+ required: true;
2284
+ comments: string;
2285
+ };
2286
+ searchQuery: {
2287
+ label: string;
2288
+ type: "string";
2289
+ required: true;
2290
+ placeholder: string;
2291
+ example: string;
2292
+ comments: string;
2293
+ clean: (value: unknown, defaultValue?: string) => string;
2294
+ };
2295
+ filters: {
2296
+ label: string;
2297
+ comments: string;
2298
+ inputs: {
2299
+ topicId: {
2300
+ required: false;
2301
+ comments: string;
2302
+ clean: (value: unknown) => number | undefined;
2303
+ label: string;
2304
+ type: "string";
2305
+ example: string;
2306
+ placeholder: string;
2307
+ dataSource: string;
2308
+ };
2309
+ sortBy: {
2310
+ model: {
2311
+ label: string;
2312
+ value: string;
2313
+ }[];
2314
+ label: string;
2315
+ type: "string";
2316
+ required: false;
2317
+ placeholder: string;
2318
+ comments: string;
2319
+ clean: (value: unknown) => string | undefined;
2320
+ };
2321
+ sortOrder: {
2322
+ label: string;
2323
+ type: "string";
2324
+ required: false;
2325
+ example: string;
2326
+ model: {
2327
+ label: string;
2328
+ value: string;
2329
+ }[];
2330
+ comments: string;
2331
+ clean: (value: unknown) => string | undefined;
2332
+ };
2333
+ };
2334
+ } & {
2335
+ type: "structuredObject";
2336
+ };
2337
+ dateRangeFilters: {
2338
+ label: string;
2339
+ comments: string;
2340
+ inputs: {
2341
+ filterCreatedAt: {
2342
+ label: string;
2343
+ type: "string";
2344
+ required: false;
2345
+ example: string;
2346
+ placeholder: string;
2347
+ comments: string;
2348
+ clean: (value: unknown) => string | undefined;
2349
+ };
2350
+ filterCreatedAfter: {
2351
+ label: string;
2352
+ type: "string";
2353
+ required: false;
2354
+ example: string;
2355
+ placeholder: string;
2356
+ comments: string;
2357
+ clean: (value: unknown) => string | undefined;
2358
+ };
2359
+ filterCreatedBefore: {
2360
+ label: string;
2361
+ type: "string";
2362
+ required: false;
2363
+ example: string;
2364
+ placeholder: string;
2365
+ comments: string;
2366
+ clean: (value: unknown) => string | undefined;
2367
+ };
2368
+ filterUpdatedAt: {
2369
+ label: string;
2370
+ type: "string";
2371
+ required: false;
2372
+ example: string;
2373
+ placeholder: string;
2374
+ comments: string;
2375
+ clean: (value: unknown) => string | undefined;
2376
+ };
2377
+ filterUpdatedAfter: {
2378
+ label: string;
2379
+ type: "string";
2380
+ required: false;
2381
+ example: string;
2382
+ placeholder: string;
2383
+ comments: string;
2384
+ clean: (value: unknown) => string | undefined;
2385
+ };
2386
+ filterUpdatedBefore: {
2387
+ label: string;
2388
+ type: "string";
2389
+ required: false;
2390
+ example: string;
2391
+ placeholder: string;
2392
+ comments: string;
2393
+ clean: (value: unknown) => string | undefined;
2394
+ };
2395
+ };
2396
+ } & {
2397
+ type: "structuredObject";
2398
+ };
2399
+ }, import("@prismatic-io/spectral").ConfigVarResultCollection, boolean, {
2400
+ data: unknown;
2401
+ }>;
2402
+ listArticleAttachments: import("@prismatic-io/spectral").ActionDefinition<{
2403
+ zendeskConnection: {
2404
+ label: string;
2405
+ type: "connection";
2406
+ required: true;
2407
+ comments: string;
2408
+ };
2409
+ locale: {
2410
+ required: boolean;
2411
+ comments: string;
2412
+ clean: (value: unknown) => string | undefined;
2413
+ label: string;
2414
+ type: "string";
2415
+ default: string;
2416
+ model: {
2417
+ label: string;
2418
+ value: string;
2419
+ }[];
2420
+ };
2421
+ articleId: {
2422
+ label: string;
2423
+ type: "string";
2424
+ example: string;
2425
+ placeholder: string;
2426
+ required: true;
2427
+ comments: string;
2428
+ clean: (value: unknown, defaultValue?: string) => string;
2429
+ dataSource: string;
2430
+ };
2431
+ fetchAll: {
2432
+ label: string;
2433
+ type: "boolean";
2434
+ required: false;
2435
+ default: string;
2436
+ comments: string;
2437
+ clean: (value: unknown, defaultValue?: boolean) => boolean;
2438
+ };
2439
+ pageLimit: {
2440
+ label: string;
2441
+ type: "string";
2442
+ required: false;
2443
+ example: string;
2444
+ placeholder: string;
2445
+ comments: string;
2446
+ clean: (value: unknown) => number | undefined;
2447
+ };
2448
+ }, import("@prismatic-io/spectral").ConfigVarResultCollection, boolean, {
2449
+ data: ArticleAttachments | PaginatedResponse<ArticleAttachments>;
2450
+ }>;
2451
+ getArticleAttachment: import("@prismatic-io/spectral").ActionDefinition<{
2452
+ zendeskConnection: {
2453
+ label: string;
2454
+ type: "connection";
2455
+ required: true;
2456
+ comments: string;
2457
+ };
2458
+ locale: {
2459
+ required: boolean;
2460
+ comments: string;
2461
+ clean: (value: unknown) => string | undefined;
2462
+ label: string;
2463
+ type: "string";
2464
+ default: string;
2465
+ model: {
2466
+ label: string;
2467
+ value: string;
2468
+ }[];
2469
+ };
2470
+ articleId: {
2471
+ label: string;
2472
+ type: "string";
2473
+ example: string;
2474
+ placeholder: string;
2475
+ required: true;
2476
+ comments: string;
2477
+ clean: (value: unknown, defaultValue?: string) => string;
2478
+ dataSource: string;
2479
+ };
2480
+ articleAttachmentId: {
2481
+ label: string;
2482
+ type: "string";
2483
+ required: true;
2484
+ example: string;
2485
+ placeholder: string;
2486
+ comments: string;
2487
+ clean: (value: unknown, defaultValue?: number) => number;
2488
+ };
2489
+ }, import("@prismatic-io/spectral").ConfigVarResultCollection, boolean, {
2490
+ data: {
2491
+ article_attachment: ArticleAttachment;
2492
+ };
2493
+ }>;
2494
+ createArticleAttachment: import("@prismatic-io/spectral").ActionDefinition<{
2495
+ zendeskConnection: {
2496
+ label: string;
2497
+ type: "connection";
2498
+ required: true;
2499
+ comments: string;
2500
+ };
2501
+ locale: {
2502
+ required: boolean;
2503
+ comments: string;
2504
+ clean: (value: unknown) => string | undefined;
2505
+ label: string;
2506
+ type: "string";
2507
+ default: string;
2508
+ model: {
2509
+ label: string;
2510
+ value: string;
2511
+ }[];
2512
+ };
2513
+ articleId: {
2514
+ label: string;
2515
+ type: "string";
2516
+ example: string;
2517
+ placeholder: string;
2518
+ required: true;
2519
+ comments: string;
2520
+ clean: (value: unknown, defaultValue?: string) => string;
2521
+ dataSource: string;
2522
+ };
2523
+ file: {
2524
+ comments: string;
2525
+ required: boolean;
2526
+ label: string;
2527
+ type: "data";
2528
+ clean: (value: unknown) => import("@prismatic-io/spectral").DataPayload | undefined;
2529
+ };
2530
+ fileName: {
2531
+ example: string;
2532
+ placeholder: string;
2533
+ label: string;
2534
+ type: "string";
2535
+ required: false;
2536
+ comments: string;
2537
+ clean: (value: unknown) => string | undefined;
2538
+ };
2539
+ inline: {
2540
+ label: string;
2541
+ type: "boolean";
2542
+ required: false;
2543
+ comments: string;
2544
+ clean: (value: unknown, defaultValue?: boolean) => boolean;
2545
+ };
2546
+ }, import("@prismatic-io/spectral").ConfigVarResultCollection, boolean, {
2547
+ data: {
2548
+ article_attachment: {
2549
+ inline: boolean;
2550
+ file_name: string;
2551
+ article_id: string | number;
2552
+ content_type: string;
2553
+ content_url: string;
2554
+ id: number;
2555
+ size: number;
2556
+ };
2557
+ };
2558
+ }>;
2559
+ deleteArticleAttachment: import("@prismatic-io/spectral").ActionDefinition<{
2560
+ zendeskConnection: {
2561
+ label: string;
2562
+ type: "connection";
2563
+ required: true;
2564
+ comments: string;
2565
+ };
2566
+ articleAttachmentId: {
2567
+ label: string;
2568
+ type: "string";
2569
+ required: true;
2570
+ example: string;
2571
+ placeholder: string;
2572
+ comments: string;
2573
+ clean: (value: unknown, defaultValue?: number) => number;
2574
+ };
2575
+ }, import("@prismatic-io/spectral").ConfigVarResultCollection, boolean, {
2576
+ data: any;
2577
+ }>;
2578
+ createCategory: import("@prismatic-io/spectral").ActionDefinition<{
2579
+ zendeskConnection: {
2580
+ label: string;
2581
+ type: "connection";
2582
+ required: true;
2583
+ comments: string;
2584
+ };
2585
+ categoryName: {
2586
+ required: boolean;
2587
+ clean: (value: unknown) => string | undefined;
2588
+ label: string;
2589
+ type: "string";
2590
+ example: string;
2591
+ placeholder: string;
2592
+ comments: string;
2593
+ };
2594
+ categoryDescription: {
2595
+ required: boolean;
2596
+ clean: (value: unknown) => string | undefined;
2597
+ label: string;
2598
+ type: "string";
2599
+ example: string;
2600
+ placeholder: string;
2601
+ comments: string;
2602
+ };
2603
+ locale: {
2604
+ label: string;
2605
+ type: "string";
2606
+ required: true;
2607
+ comments: string;
2608
+ default: string;
2609
+ model: {
2610
+ label: string;
2611
+ value: string;
2612
+ }[];
2613
+ clean: (value: unknown, defaultValue?: string) => string;
2614
+ };
2615
+ position: {
2616
+ comments: string;
2617
+ label: string;
2618
+ type: "string";
2619
+ required: false;
2620
+ placeholder: string;
2621
+ example: string;
2622
+ clean: (value: unknown) => number | undefined;
2623
+ };
2624
+ }, import("@prismatic-io/spectral").ConfigVarResultCollection, boolean, {
2625
+ data: {
2626
+ category: {
2627
+ locale: string;
2628
+ description: string;
2629
+ name: string;
2630
+ id: number;
2631
+ };
2632
+ };
2633
+ }>;
2634
+ deleteCategory: import("@prismatic-io/spectral").ActionDefinition<{
2635
+ zendeskConnection: {
2636
+ label: string;
2637
+ type: "connection";
2638
+ required: true;
2639
+ comments: string;
2640
+ };
2641
+ locale: {
2642
+ required: boolean;
2643
+ comments: string;
2644
+ clean: (value: unknown) => string | undefined;
2645
+ label: string;
2646
+ type: "string";
2647
+ default: string;
2648
+ model: {
2649
+ label: string;
2650
+ value: string;
2651
+ }[];
2652
+ };
2653
+ categoryId: {
2654
+ label: string;
2655
+ type: "string";
2656
+ required: true;
2657
+ example: string;
2658
+ placeholder: string;
2659
+ comments: string;
2660
+ clean: (value: unknown, defaultValue?: number) => number;
2661
+ dataSource: string;
2662
+ };
2663
+ }, import("@prismatic-io/spectral").ConfigVarResultCollection, boolean, {
2664
+ data: any;
2665
+ }>;
2666
+ getCategory: import("@prismatic-io/spectral").ActionDefinition<{
2667
+ zendeskConnection: {
2668
+ label: string;
2669
+ type: "connection";
2670
+ required: true;
2671
+ comments: string;
2672
+ };
2673
+ locale: {
2674
+ label: string;
2675
+ type: "string";
2676
+ required: true;
2677
+ comments: string;
2678
+ default: string;
2679
+ model: {
2680
+ label: string;
2681
+ value: string;
2682
+ }[];
2683
+ clean: (value: unknown, defaultValue?: string) => string;
2684
+ };
2685
+ categoryId: {
2686
+ label: string;
2687
+ type: "string";
2688
+ required: true;
2689
+ example: string;
2690
+ placeholder: string;
2691
+ comments: string;
2692
+ clean: (value: unknown, defaultValue?: number) => number;
2693
+ dataSource: string;
2694
+ };
2695
+ }, import("@prismatic-io/spectral").ConfigVarResultCollection, boolean, {
2696
+ data: {
2697
+ category: Category;
2698
+ };
2699
+ }>;
2700
+ listCategories: import("@prismatic-io/spectral").ActionDefinition<{
2701
+ zendeskConnection: {
2702
+ label: string;
2703
+ type: "connection";
2704
+ required: true;
2705
+ comments: string;
2706
+ };
2707
+ locale: {
2708
+ label: string;
2709
+ type: "string";
2710
+ required: true;
2711
+ comments: string;
2712
+ default: string;
2713
+ model: {
2714
+ label: string;
2715
+ value: string;
2716
+ }[];
2717
+ clean: (value: unknown, defaultValue?: string) => string;
2718
+ };
2719
+ fetchAll: {
2720
+ label: string;
2721
+ type: "boolean";
2722
+ required: false;
2723
+ default: string;
2724
+ comments: string;
2725
+ clean: (value: unknown, defaultValue?: boolean) => boolean;
2726
+ };
2727
+ pageLimit: {
2728
+ label: string;
2729
+ type: "string";
2730
+ required: false;
2731
+ example: string;
2732
+ placeholder: string;
2733
+ comments: string;
2734
+ clean: (value: unknown) => number | undefined;
2735
+ };
2736
+ sortBy: {
2737
+ model: {
2738
+ label: string;
2739
+ value: string;
2740
+ }[];
2741
+ label: string;
2742
+ type: "string";
2743
+ required: false;
2744
+ placeholder: string;
2745
+ comments: string;
2746
+ clean: (value: unknown) => string | undefined;
2747
+ };
2748
+ sortOrder: {
2749
+ label: string;
2750
+ type: "string";
2751
+ required: false;
2752
+ example: string;
2753
+ model: {
2754
+ label: string;
2755
+ value: string;
2756
+ }[];
2757
+ comments: string;
2758
+ clean: (value: unknown) => string | undefined;
2759
+ };
2760
+ }, import("@prismatic-io/spectral").ConfigVarResultCollection, boolean, {
2761
+ data: PaginatedResponse<{
2762
+ categories: Category[];
2763
+ }> | {
2764
+ categories: Category[];
2765
+ };
2766
+ }>;
2767
+ updateCategory: import("@prismatic-io/spectral").ActionDefinition<{
2768
+ zendeskConnection: {
2769
+ label: string;
2770
+ type: "connection";
2771
+ required: true;
2772
+ comments: string;
2773
+ };
2774
+ locale: {
2775
+ required: boolean;
2776
+ comments: string;
2777
+ clean: (value: unknown) => string | undefined;
2778
+ label: string;
2779
+ type: "string";
2780
+ default: string;
2781
+ model: {
2782
+ label: string;
2783
+ value: string;
2784
+ }[];
2785
+ };
2786
+ categoryId: {
2787
+ label: string;
2788
+ type: "string";
2789
+ required: true;
2790
+ example: string;
2791
+ placeholder: string;
2792
+ comments: string;
2793
+ clean: (value: unknown, defaultValue?: number) => number;
2794
+ dataSource: string;
2795
+ };
2796
+ categoryName: {
2797
+ required: boolean;
2798
+ comments: string;
2799
+ clean: (value: unknown) => string | undefined;
2800
+ label: string;
2801
+ type: "string";
2802
+ example: string;
2803
+ placeholder: string;
2804
+ };
2805
+ categoryDescription: {
2806
+ required: boolean;
2807
+ comments: string;
2808
+ clean: (value: unknown) => string | undefined;
2809
+ label: string;
2810
+ type: "string";
2811
+ example: string;
2812
+ placeholder: string;
2813
+ };
2814
+ position: {
2815
+ comments: string;
2816
+ label: string;
2817
+ type: "string";
2818
+ required: false;
2819
+ placeholder: string;
2820
+ example: string;
2821
+ clean: (value: unknown) => number | undefined;
2822
+ };
2823
+ }, import("@prismatic-io/spectral").ConfigVarResultCollection, boolean, {
2824
+ data: {
2825
+ category: {
2826
+ locale: string;
2827
+ description: string;
2828
+ name: string;
2829
+ id: number;
2830
+ };
2831
+ };
2832
+ }>;
2833
+ listArticles: import("@prismatic-io/spectral").ActionDefinition<{
2834
+ zendeskConnection: {
2835
+ label: string;
2836
+ type: "connection";
2837
+ required: true;
2838
+ comments: string;
2839
+ };
2840
+ locale: {
2841
+ comments: string;
2842
+ label: string;
2843
+ type: "string";
2844
+ required: true;
2845
+ default: string;
2846
+ model: {
2847
+ label: string;
2848
+ value: string;
2849
+ }[];
2850
+ clean: (value: unknown, defaultValue?: string) => string;
2851
+ };
2852
+ fetchAll: {
2853
+ label: string;
2854
+ type: "boolean";
2855
+ required: false;
2856
+ default: string;
2857
+ comments: string;
2858
+ clean: (value: unknown, defaultValue?: boolean) => boolean;
2859
+ };
2860
+ pagination: {
2861
+ label: string;
2862
+ comments: string;
2863
+ inputs: {
2864
+ cursor: {
2865
+ label: string;
2866
+ type: "string";
2867
+ required: false;
2868
+ example: string;
2869
+ placeholder: string;
2870
+ comments: string;
2871
+ clean: (value: unknown) => string | undefined;
2872
+ };
2873
+ pageLimit: {
2874
+ label: string;
2875
+ type: "string";
2876
+ required: false;
2877
+ example: string;
2878
+ placeholder: string;
2879
+ comments: string;
2880
+ clean: (value: unknown) => number | undefined;
2881
+ };
2882
+ };
2883
+ } & {
2884
+ type: "structuredObject";
2885
+ };
2886
+ filters: {
2887
+ label: string;
2888
+ comments: string;
2889
+ inputs: {
2890
+ sortBy: {
2891
+ comments: string;
2892
+ model: {
2893
+ label: string;
2894
+ value: string;
2895
+ }[];
2896
+ label: string;
2897
+ type: "string";
2898
+ required: false;
2899
+ placeholder: string;
2900
+ clean: (value: unknown) => string | undefined;
2901
+ };
2902
+ sortOrder: {
2903
+ label: string;
2904
+ type: "string";
2905
+ required: false;
2906
+ example: string;
2907
+ model: {
2908
+ label: string;
2909
+ value: string;
2910
+ }[];
2911
+ comments: string;
2912
+ clean: (value: unknown) => string | undefined;
2913
+ };
2914
+ startTime: {
2915
+ comments: string;
2916
+ label: string;
2917
+ type: "string";
2918
+ required: false;
2919
+ example: string;
2920
+ placeholder: string;
2921
+ clean: (value: unknown) => number | undefined;
2922
+ };
2923
+ };
2924
+ } & {
2925
+ type: "structuredObject";
2926
+ };
2927
+ articleLabels: {
2928
+ label: string;
2929
+ type: "string";
2930
+ required: false;
2931
+ collection: "valuelist";
2932
+ placeholder: string;
2933
+ example: string;
2934
+ comments: string;
2935
+ clean: (value: unknown) => string | undefined;
2936
+ };
2937
+ }, import("@prismatic-io/spectral").ConfigVarResultCollection, boolean, {
2938
+ data: PaginatedResponse<{
2939
+ articles: Article[];
2940
+ }> | {
2941
+ articles: Article[];
2942
+ };
2943
+ }>;
2944
+ showArticle: import("@prismatic-io/spectral").ActionDefinition<{
2945
+ zendeskConnection: {
2946
+ label: string;
2947
+ type: "connection";
2948
+ required: true;
2949
+ comments: string;
2950
+ };
2951
+ locale: {
2952
+ comments: string;
2953
+ label: string;
2954
+ type: "string";
2955
+ required: true;
2956
+ default: string;
2957
+ model: {
2958
+ label: string;
2959
+ value: string;
2960
+ }[];
2961
+ clean: (value: unknown, defaultValue?: string) => string;
2962
+ };
2963
+ articleId: {
2964
+ label: string;
2965
+ type: "string";
2966
+ example: string;
2967
+ placeholder: string;
2968
+ required: true;
2969
+ comments: string;
2970
+ clean: (value: unknown, defaultValue?: string) => string;
2971
+ dataSource: string;
2972
+ };
2973
+ }, import("@prismatic-io/spectral").ConfigVarResultCollection, boolean, {
2974
+ data: {
2975
+ article: Article;
2976
+ };
2977
+ }>;
2978
+ createArticle: import("@prismatic-io/spectral").ActionDefinition<{
2979
+ zendeskConnection: {
2980
+ label: string;
2981
+ type: "connection";
2982
+ required: true;
2983
+ comments: string;
2984
+ };
2985
+ locale: {
2986
+ label: string;
2987
+ type: "string";
2988
+ required: true;
2989
+ comments: string;
2990
+ default: string;
2991
+ model: {
2992
+ label: string;
2993
+ value: string;
2994
+ }[];
2995
+ clean: (value: unknown, defaultValue?: string) => string;
2996
+ };
2997
+ sectionId: {
2998
+ label: string;
2999
+ type: "string";
3000
+ example: string;
3001
+ placeholder: string;
3002
+ required: true;
3003
+ comments: string;
3004
+ clean: (value: unknown, defaultValue?: number) => number;
3005
+ dataSource: string;
3006
+ };
3007
+ articleTitle: {
3008
+ required: boolean;
3009
+ label: string;
3010
+ type: "string";
3011
+ example: string;
3012
+ placeholder: string;
3013
+ comments: string;
3014
+ clean: (value: unknown) => string | undefined;
3015
+ };
3016
+ userSegmentId: {
3017
+ label: string;
3018
+ type: "string";
3019
+ example: string;
3020
+ placeholder: string;
3021
+ required: true;
3022
+ comments: string;
3023
+ clean: (value: unknown, defaultValue?: number) => number;
3024
+ dataSource: string;
3025
+ };
3026
+ permissionGroupId: {
3027
+ label: string;
3028
+ type: "string";
3029
+ example: string;
3030
+ placeholder: string;
3031
+ required: true;
3032
+ comments: string;
3033
+ clean: (value: unknown, defaultValue?: number) => number;
3034
+ dataSource: string;
3035
+ };
3036
+ articleBody: {
3037
+ label: string;
3038
+ type: "string";
3039
+ example: string;
3040
+ placeholder: string;
3041
+ required: false;
3042
+ comments: string;
3043
+ clean: (value: unknown) => string | undefined;
3044
+ };
3045
+ isDraft: {
3046
+ label: string;
3047
+ type: "boolean";
3048
+ required: false;
3049
+ comments: string;
3050
+ clean: (value: unknown, defaultValue?: boolean) => boolean;
3051
+ };
3052
+ notifySubscribers: {
3053
+ label: string;
3054
+ type: "boolean";
3055
+ required: false;
3056
+ comments: string;
3057
+ clean: (value: unknown, defaultValue?: boolean) => boolean;
3058
+ };
3059
+ }, import("@prismatic-io/spectral").ConfigVarResultCollection, boolean, {
3060
+ data: any;
3061
+ }>;
3062
+ updateArticle: import("@prismatic-io/spectral").ActionDefinition<{
3063
+ zendeskConnection: {
3064
+ label: string;
3065
+ type: "connection";
3066
+ required: true;
3067
+ comments: string;
3068
+ };
3069
+ locale: {
3070
+ required: boolean;
3071
+ clean: (value: unknown) => string | undefined;
3072
+ label: string;
3073
+ type: "string";
3074
+ comments: string;
3075
+ default: string;
3076
+ model: {
3077
+ label: string;
3078
+ value: string;
3079
+ }[];
3080
+ };
3081
+ articleId: {
3082
+ label: string;
3083
+ type: "string";
3084
+ example: string;
3085
+ placeholder: string;
3086
+ required: true;
3087
+ comments: string;
3088
+ clean: (value: unknown, defaultValue?: string) => string;
3089
+ dataSource: string;
3090
+ };
3091
+ assignmentIds: {
3092
+ label: string;
3093
+ comments: string;
3094
+ inputs: {
3095
+ sectionId: {
3096
+ required: false;
3097
+ clean: (value: unknown) => number | undefined;
3098
+ label: string;
3099
+ type: "string";
3100
+ example: string;
3101
+ placeholder: string;
3102
+ comments: string;
3103
+ dataSource: string;
3104
+ };
3105
+ authorId: {
3106
+ label: string;
3107
+ type: "string";
3108
+ required: false;
3109
+ example: string;
3110
+ placeholder: string;
3111
+ comments: string;
3112
+ clean: (value: unknown) => number | undefined;
3113
+ };
3114
+ permissionGroupId: {
3115
+ required: false;
3116
+ clean: (value: unknown) => number | undefined;
3117
+ label: string;
3118
+ type: "string";
3119
+ example: string;
3120
+ placeholder: string;
3121
+ comments: string;
3122
+ dataSource: string;
3123
+ };
3124
+ userSegmentId: {
3125
+ required: false;
3126
+ clean: (value: unknown) => number | undefined;
3127
+ label: string;
3128
+ type: "string";
3129
+ example: string;
3130
+ placeholder: string;
3131
+ comments: string;
3132
+ dataSource: string;
3133
+ };
3134
+ };
3135
+ } & {
3136
+ type: "structuredObject";
3137
+ };
3138
+ articleTitle: {
3139
+ label: string;
3140
+ type: "string";
3141
+ example: string;
3142
+ placeholder: string;
3143
+ required: false;
3144
+ comments: string;
3145
+ clean: (value: unknown) => string | undefined;
3146
+ };
3147
+ articleBody: {
3148
+ label: string;
3149
+ type: "string";
3150
+ example: string;
3151
+ placeholder: string;
3152
+ required: false;
3153
+ comments: string;
3154
+ clean: (value: unknown) => string | undefined;
3155
+ };
3156
+ displayOptions: {
3157
+ label: string;
3158
+ comments: string;
3159
+ inputs: {
3160
+ promoted: {
3161
+ label: string | {
3162
+ key: string;
3163
+ value: string;
3164
+ };
3165
+ comments: string | undefined;
3166
+ type: "string";
3167
+ required: false;
3168
+ model: {
3169
+ label: string;
3170
+ value: string;
3171
+ }[];
3172
+ clean: (value: unknown) => boolean | undefined;
3173
+ };
3174
+ position: {
3175
+ label: string;
3176
+ type: "string";
3177
+ required: false;
3178
+ comments: string;
3179
+ placeholder: string;
3180
+ example: string;
3181
+ clean: (value: unknown) => number | undefined;
3182
+ };
3183
+ commentsDisabled: {
3184
+ label: string | {
3185
+ key: string;
3186
+ value: string;
3187
+ };
3188
+ comments: string | undefined;
3189
+ type: "string";
3190
+ required: false;
3191
+ model: {
3192
+ label: string;
3193
+ value: string;
3194
+ }[];
3195
+ clean: (value: unknown) => boolean | undefined;
3196
+ };
3197
+ };
3198
+ } & {
3199
+ type: "structuredObject";
3200
+ };
3201
+ contentTagIds: {
3202
+ label: string;
3203
+ type: "string";
3204
+ collection: "valuelist";
3205
+ required: false;
3206
+ placeholder: string;
3207
+ comments: string;
3208
+ clean: (value: unknown) => string[] | undefined;
3209
+ };
3210
+ labelNames: {
3211
+ label: string;
3212
+ type: "string";
3213
+ collection: "valuelist";
3214
+ required: false;
3215
+ placeholder: string;
3216
+ comments: string;
3217
+ clean: (value: unknown) => string[] | undefined;
3218
+ };
3219
+ }, import("@prismatic-io/spectral").ConfigVarResultCollection, boolean, {
3220
+ data: any;
3221
+ }>;
3222
+ associateAttachmentsInBulkToArticle: import("@prismatic-io/spectral").ActionDefinition<{
3223
+ zendeskConnection: {
3224
+ label: string;
3225
+ type: "connection";
3226
+ required: true;
3227
+ comments: string;
3228
+ };
3229
+ locale: {
3230
+ label: string;
3231
+ type: "string";
3232
+ required: true;
3233
+ comments: string;
3234
+ default: string;
3235
+ model: {
3236
+ label: string;
3237
+ value: string;
3238
+ }[];
3239
+ clean: (value: unknown, defaultValue?: string) => string;
3240
+ };
3241
+ articleId: {
3242
+ label: string;
3243
+ type: "string";
3244
+ example: string;
3245
+ placeholder: string;
3246
+ required: true;
3247
+ comments: string;
3248
+ clean: (value: unknown, defaultValue?: string) => string;
3249
+ dataSource: string;
3250
+ };
3251
+ attachmentIds: {
3252
+ label: string;
3253
+ type: "string";
3254
+ collection: "valuelist";
3255
+ required: true;
3256
+ placeholder: string;
3257
+ comments: string;
3258
+ clean: (value: unknown) => string[] | undefined;
3259
+ };
3260
+ }, import("@prismatic-io/spectral").ConfigVarResultCollection, boolean, {
3261
+ data: any;
3262
+ }>;
3263
+ createUser: import("@prismatic-io/spectral").ActionDefinition<{
3264
+ userName: {
3265
+ label: string;
3266
+ type: "string";
3267
+ required: true;
3268
+ comments: string;
3269
+ example: string;
3270
+ placeholder: string;
3271
+ clean: (value: unknown, defaultValue?: string) => string;
3272
+ };
3273
+ userEmail: {
3274
+ label: string;
3275
+ type: "string";
3276
+ required: true;
3277
+ comments: string;
3278
+ example: string;
3279
+ placeholder: string;
3280
+ clean: (value: unknown, defaultValue?: string) => string;
3281
+ };
3282
+ accountSettings: {
3283
+ label: string;
3284
+ comments: string;
3285
+ inputs: {
3286
+ userRole: {
3287
+ label: string;
3288
+ type: "string";
3289
+ required: false;
3290
+ comments: string;
3291
+ model: ({
3292
+ label: string;
3293
+ value: "admin";
3294
+ } | {
3295
+ label: string;
3296
+ value: "agent";
3297
+ } | {
3298
+ label: string;
3299
+ value: "end-user";
3300
+ })[];
3301
+ clean: (value: unknown) => string | undefined;
3302
+ };
3303
+ isModerator: {
3304
+ label: string;
3305
+ type: "boolean";
3306
+ required: false;
3307
+ comments: string;
3308
+ clean: (value: unknown, defaultValue?: boolean) => boolean;
3309
+ };
3310
+ isVerified: {
3311
+ label: string;
3312
+ type: "boolean";
3313
+ required: false;
3314
+ comments: string;
3315
+ clean: (value: unknown, defaultValue?: boolean) => boolean;
3316
+ };
3317
+ };
3318
+ } & {
3319
+ type: "structuredObject";
3320
+ };
3321
+ userPhone: {
3322
+ label: string;
3323
+ type: "string";
3324
+ required: false;
3325
+ comments: string;
3326
+ example: string;
3327
+ placeholder: string;
3328
+ clean: (value: unknown) => string | undefined;
3329
+ };
3330
+ externalId: {
3331
+ label: string;
3332
+ type: "string";
3333
+ required: false;
3334
+ placeholder: string;
3335
+ comments: string;
3336
+ clean: (value: unknown) => string | undefined;
3337
+ };
3338
+ profileDetails: {
3339
+ label: string;
3340
+ comments: string;
3341
+ inputs: {
3342
+ userAlias: {
3343
+ label: string;
3344
+ type: "string";
3345
+ required: false;
3346
+ comments: string;
3347
+ example: string;
3348
+ placeholder: string;
3349
+ clean: (value: unknown) => string | undefined;
3350
+ };
3351
+ userNotes: {
3352
+ label: string;
3353
+ type: "string";
3354
+ required: false;
3355
+ comments: string;
3356
+ example: string;
3357
+ placeholder: string;
3358
+ clean: (value: unknown) => string | undefined;
3359
+ };
3360
+ userDetails: {
3361
+ label: string;
3362
+ type: "string";
3363
+ required: false;
3364
+ comments: string;
3365
+ example: string;
3366
+ placeholder: string;
3367
+ clean: (value: unknown) => string | undefined;
3368
+ };
3369
+ };
3370
+ } & {
3371
+ type: "structuredObject";
3372
+ };
3373
+ organizationId: {
3374
+ label: string;
3375
+ type: "string";
3376
+ required: false;
3377
+ placeholder: string;
3378
+ comments: string;
3379
+ clean: (value: unknown) => number | undefined;
3380
+ };
3381
+ zendeskConnection: {
3382
+ label: string;
3383
+ type: "connection";
3384
+ required: true;
3385
+ comments: string;
3386
+ };
3387
+ }, import("@prismatic-io/spectral").ConfigVarResultCollection, boolean, {
3388
+ data: unknown;
3389
+ }>;
3390
+ deleteUser: import("@prismatic-io/spectral").ActionDefinition<{
3391
+ userId: {
3392
+ label: string;
3393
+ type: "string";
3394
+ required: false;
3395
+ example: string;
3396
+ placeholder: string;
3397
+ comments: string;
3398
+ clean: (value: unknown) => number | undefined;
3399
+ dataSource: string;
3400
+ };
3401
+ zendeskConnection: {
3402
+ label: string;
3403
+ type: "connection";
3404
+ required: true;
3405
+ comments: string;
3406
+ };
3407
+ }, import("@prismatic-io/spectral").ConfigVarResultCollection, boolean, {
3408
+ data: string;
3409
+ }>;
3410
+ listUsers: import("@prismatic-io/spectral").ActionDefinition<{
3411
+ zendeskConnection: {
3412
+ label: string;
3413
+ type: "connection";
3414
+ required: true;
3415
+ comments: string;
3416
+ };
3417
+ }, import("@prismatic-io/spectral").ConfigVarResultCollection, boolean, {
3418
+ data: {
3419
+ id: number;
3420
+ name: string;
3421
+ }[];
3422
+ }>;
3423
+ searchUsers: import("@prismatic-io/spectral").ActionDefinition<{
3424
+ externalId: {
3425
+ comments: string;
3426
+ label: string;
3427
+ type: "string";
3428
+ required: false;
3429
+ placeholder: string;
3430
+ clean: (value: unknown) => string | undefined;
3431
+ };
3432
+ query: {
3433
+ label: string;
3434
+ type: "string";
3435
+ required: false;
3436
+ placeholder: string;
3437
+ comments: string;
3438
+ clean: (value: unknown) => string | undefined;
3439
+ };
3440
+ zendeskConnection: {
3441
+ label: string;
3442
+ type: "connection";
3443
+ required: true;
3444
+ comments: string;
3445
+ };
3446
+ }, import("@prismatic-io/spectral").ConfigVarResultCollection, boolean, {
3447
+ data: ({
3448
+ id: number;
3449
+ name: string;
3450
+ notes: string;
3451
+ } | {
3452
+ id: number;
3453
+ name: string;
3454
+ notes?: undefined;
3455
+ })[];
3456
+ }>;
3457
+ showUser: import("@prismatic-io/spectral").ActionDefinition<{
3458
+ userId: {
3459
+ label: string;
3460
+ type: "string";
3461
+ required: false;
3462
+ example: string;
3463
+ placeholder: string;
3464
+ comments: string;
3465
+ clean: (value: unknown) => number | undefined;
3466
+ dataSource: string;
3467
+ };
3468
+ zendeskConnection: {
3469
+ label: string;
3470
+ type: "connection";
3471
+ required: true;
3472
+ comments: string;
3473
+ };
3474
+ }, import("@prismatic-io/spectral").ConfigVarResultCollection, boolean, {
3475
+ data: unknown;
3476
+ }>;
3477
+ updateUser: import("@prismatic-io/spectral").ActionDefinition<{
3478
+ userId: {
3479
+ required: boolean;
3480
+ label: string;
3481
+ type: "string";
3482
+ example: string;
3483
+ placeholder: string;
3484
+ comments: string;
3485
+ clean: (value: unknown) => number | undefined;
3486
+ dataSource: string;
3487
+ };
3488
+ accountSettings: {
3489
+ label: string;
3490
+ comments: string;
3491
+ inputs: {
3492
+ userRole: {
3493
+ label: string;
3494
+ type: "string";
3495
+ required: false;
3496
+ comments: string;
3497
+ model: ({
3498
+ label: string;
3499
+ value: "admin";
3500
+ } | {
3501
+ label: string;
3502
+ value: "agent";
3503
+ } | {
3504
+ label: string;
3505
+ value: "end-user";
3506
+ })[];
3507
+ clean: (value: unknown) => string | undefined;
3508
+ };
3509
+ isModerator: {
3510
+ label: string | {
3511
+ key: string;
3512
+ value: string;
3513
+ };
3514
+ comments: string | undefined;
3515
+ type: "string";
3516
+ required: false;
3517
+ model: {
3518
+ label: string;
3519
+ value: string;
3520
+ }[];
3521
+ clean: (value: unknown) => boolean | undefined;
3522
+ };
3523
+ isVerified: {
3524
+ label: string | {
3525
+ key: string;
3526
+ value: string;
3527
+ };
3528
+ comments: string | undefined;
3529
+ type: "string";
3530
+ required: false;
3531
+ model: {
3532
+ label: string;
3533
+ value: string;
3534
+ }[];
3535
+ clean: (value: unknown) => boolean | undefined;
3536
+ };
3537
+ };
3538
+ } & {
3539
+ type: "structuredObject";
3540
+ };
3541
+ contactInfo: {
3542
+ label: string;
3543
+ comments: string;
3544
+ inputs: {
3545
+ userName: {
3546
+ required: false;
3547
+ clean: (value: unknown) => string | undefined;
3548
+ label: string;
3549
+ type: "string";
3550
+ comments: string;
3551
+ example: string;
3552
+ placeholder: string;
3553
+ };
3554
+ userEmail: {
3555
+ required: false;
3556
+ clean: (value: unknown) => string | undefined;
3557
+ label: string;
3558
+ type: "string";
3559
+ comments: string;
3560
+ example: string;
3561
+ placeholder: string;
3562
+ };
3563
+ userPhone: {
3564
+ label: string;
3565
+ type: "string";
3566
+ required: false;
3567
+ comments: string;
3568
+ example: string;
3569
+ placeholder: string;
3570
+ clean: (value: unknown) => string | undefined;
3571
+ };
3572
+ };
3573
+ } & {
3574
+ type: "structuredObject";
3575
+ };
3576
+ externalId: {
3577
+ label: string;
3578
+ type: "string";
3579
+ required: false;
3580
+ placeholder: string;
3581
+ comments: string;
3582
+ clean: (value: unknown) => string | undefined;
3583
+ };
3584
+ profileDetails: {
3585
+ label: string;
3586
+ comments: string;
3587
+ inputs: {
3588
+ userAlias: {
3589
+ label: string;
3590
+ type: "string";
3591
+ required: false;
3592
+ comments: string;
3593
+ example: string;
3594
+ placeholder: string;
3595
+ clean: (value: unknown) => string | undefined;
3596
+ };
3597
+ userNotes: {
3598
+ label: string;
3599
+ type: "string";
3600
+ required: false;
3601
+ comments: string;
3602
+ example: string;
3603
+ placeholder: string;
3604
+ clean: (value: unknown) => string | undefined;
3605
+ };
3606
+ userDetails: {
3607
+ label: string;
3608
+ type: "string";
3609
+ required: false;
3610
+ comments: string;
3611
+ example: string;
3612
+ placeholder: string;
3613
+ clean: (value: unknown) => string | undefined;
3614
+ };
3615
+ userTimeZone: {
3616
+ label: string;
3617
+ type: "string";
3618
+ required: false;
3619
+ comments: string;
3620
+ example: string;
3621
+ placeholder: string;
3622
+ clean: (value: unknown) => string | undefined;
3623
+ };
3624
+ };
3625
+ } & {
3626
+ type: "structuredObject";
3627
+ };
3628
+ organizationId: {
3629
+ label: string;
3630
+ type: "string";
3631
+ required: false;
3632
+ placeholder: string;
3633
+ comments: string;
3634
+ clean: (value: unknown) => number | undefined;
3635
+ };
3636
+ zendeskConnection: {
3637
+ label: string;
3638
+ type: "connection";
3639
+ required: true;
3640
+ comments: string;
3641
+ };
3642
+ }, import("@prismatic-io/spectral").ConfigVarResultCollection, boolean, {
3643
+ data: unknown;
3644
+ }>;
3645
+ createTicket: import("@prismatic-io/spectral").ActionDefinition<{
3646
+ requesterName: {
3647
+ label: string;
3648
+ type: "string";
3649
+ example: string;
3650
+ placeholder: string;
3651
+ required: true;
3652
+ comments: string;
3653
+ clean: (value: unknown, defaultValue?: string) => string;
3654
+ };
3655
+ requesterEmail: {
3656
+ label: string;
3657
+ type: "string";
3658
+ example: string;
3659
+ placeholder: string;
3660
+ required: true;
3661
+ comments: string;
3662
+ clean: (value: unknown, defaultValue?: string) => string;
3663
+ };
3664
+ assigneeId: {
3665
+ label: string;
3666
+ type: "string";
3667
+ example: string;
3668
+ placeholder: string;
3669
+ required: false;
3670
+ comments: string;
3671
+ clean: (value: unknown) => string | undefined;
3672
+ };
3673
+ recipientEmail: {
3674
+ label: string;
3675
+ type: "string";
3676
+ example: string;
3677
+ placeholder: string;
3678
+ required: false;
3679
+ comments: string;
3680
+ clean: (value: unknown) => string | undefined;
3681
+ };
3682
+ ticketSubject: {
3683
+ label: string;
3684
+ type: "string";
3685
+ required: false;
3686
+ example: string;
3687
+ placeholder: string;
3688
+ comments: string;
3689
+ clean: (value: unknown) => string | undefined;
3690
+ };
3691
+ classification: {
3692
+ label: string;
3693
+ comments: string;
3694
+ inputs: {
3695
+ ticketPriority: {
3696
+ label: string;
3697
+ type: "string";
3698
+ required: false;
3699
+ model: ({
3700
+ label: string;
3701
+ value: "high";
3702
+ } | {
3703
+ label: string;
3704
+ value: "low";
3705
+ } | {
3706
+ label: string;
3707
+ value: "normal";
3708
+ } | {
3709
+ label: string;
3710
+ value: "urgent";
3711
+ })[];
3712
+ comments: string;
3713
+ clean: (value: unknown) => string | undefined;
3714
+ };
3715
+ ticketStatus: {
3716
+ label: string;
3717
+ type: "string";
3718
+ required: false;
3719
+ model: ({
3720
+ label: string;
3721
+ value: "closed";
3722
+ } | {
3723
+ label: string;
3724
+ value: "hold";
3725
+ } | {
3726
+ label: string;
3727
+ value: "new";
3728
+ } | {
3729
+ label: string;
3730
+ value: "open";
3731
+ } | {
3732
+ label: string;
3733
+ value: "pending";
3734
+ } | {
3735
+ label: string;
3736
+ value: "solved";
3737
+ })[];
3738
+ comments: string;
3739
+ clean: (value: unknown) => string | undefined;
3740
+ };
3741
+ ticketType: {
3742
+ label: string;
3743
+ type: "string";
3744
+ required: false;
3745
+ model: ({
3746
+ label: string;
3747
+ value: "incident";
3748
+ } | {
3749
+ label: string;
3750
+ value: "problem";
3751
+ } | {
3752
+ label: string;
3753
+ value: "question";
3754
+ } | {
3755
+ label: string;
3756
+ value: "task";
3757
+ })[];
3758
+ comments: string;
3759
+ clean: (value: unknown) => string | undefined;
3760
+ };
3761
+ };
3762
+ } & {
3763
+ type: "structuredObject";
3764
+ };
3765
+ ticketComment: {
3766
+ label: string;
3767
+ type: "string";
3768
+ example: string;
3769
+ placeholder: string;
3770
+ required: false;
3771
+ comments: string;
3772
+ clean: (value: unknown) => string | undefined;
3773
+ };
3774
+ ticketCommentHTML: {
3775
+ label: string;
3776
+ type: "string";
3777
+ example: string;
3778
+ placeholder: string;
3779
+ required: false;
3780
+ comments: string;
3781
+ clean: (value: unknown) => string | undefined;
3782
+ };
3783
+ tags: {
3784
+ label: string;
3785
+ type: "string";
3786
+ example: string;
3787
+ placeholder: string;
3788
+ required: false;
3789
+ collection: "valuelist";
3790
+ comments: string;
3791
+ clean: (value: unknown) => string[] | undefined;
3792
+ };
3793
+ requesterOrganization: {
3794
+ label: string;
3795
+ type: "string";
3796
+ required: false;
3797
+ example: string;
3798
+ placeholder: string;
3799
+ comments: string;
3800
+ clean: (value: unknown) => number | undefined;
3801
+ };
3802
+ followers: {
3803
+ label: string;
3804
+ type: "string";
3805
+ required: false;
3806
+ example: string;
3807
+ placeholder: string;
3808
+ collection: "valuelist";
3809
+ comments: string;
3810
+ clean: (value: unknown) => string[] | undefined;
3811
+ };
3812
+ zendeskConnection: {
3813
+ label: string;
3814
+ type: "connection";
3815
+ required: true;
3816
+ comments: string;
3817
+ };
3818
+ externalId: {
3819
+ label: string;
3820
+ type: "string";
3821
+ required: false;
3822
+ placeholder: string;
3823
+ comments: string;
3824
+ clean: (value: unknown) => string | undefined;
3825
+ };
3826
+ }, import("@prismatic-io/spectral").ConfigVarResultCollection, boolean, {
3827
+ data: unknown;
3828
+ }>;
3829
+ deleteTicket: import("@prismatic-io/spectral").ActionDefinition<{
3830
+ ticketId: {
3831
+ label: string;
3832
+ type: "string";
3833
+ example: string;
3834
+ placeholder: string;
3835
+ required: true;
3836
+ comments: string;
3837
+ clean: (value: unknown) => number | undefined;
3838
+ dataSource: string;
3839
+ };
3840
+ zendeskConnection: {
3841
+ label: string;
3842
+ type: "connection";
3843
+ required: true;
3844
+ comments: string;
3845
+ };
3846
+ }, import("@prismatic-io/spectral").ConfigVarResultCollection, boolean, {
3847
+ data: string;
3848
+ }>;
3849
+ getByExternalId: import("@prismatic-io/spectral").ActionDefinition<{
3850
+ zendeskConnection: {
3851
+ label: string;
3852
+ type: "connection";
3853
+ required: true;
3854
+ comments: string;
3855
+ };
3856
+ externalId: {
3857
+ label: string;
3858
+ type: "string";
3859
+ required: false;
3860
+ placeholder: string;
3861
+ comments: string;
3862
+ clean: (value: unknown) => string | undefined;
3863
+ };
3864
+ }, import("@prismatic-io/spectral").ConfigVarResultCollection, boolean, {
3865
+ data: unknown;
3866
+ }>;
3867
+ listTickets: import("@prismatic-io/spectral").ActionDefinition<{
3868
+ zendeskConnection: {
3869
+ label: string;
3870
+ type: "connection";
3871
+ required: true;
3872
+ comments: string;
3873
+ };
3874
+ }, import("@prismatic-io/spectral").ConfigVarResultCollection, boolean, {
3875
+ data: unknown;
3876
+ }>;
3877
+ listTicketsByUser: import("@prismatic-io/spectral").ActionDefinition<{
3878
+ userId: {
3879
+ required: boolean;
3880
+ clean: (value: unknown, defaultValue?: number) => number;
3881
+ label: string;
3882
+ type: "string";
3883
+ example: string;
3884
+ placeholder: string;
3885
+ comments: string;
3886
+ dataSource: string;
3887
+ };
3888
+ zendeskConnection: {
3889
+ label: string;
3890
+ type: "connection";
3891
+ required: true;
3892
+ comments: string;
3893
+ };
3894
+ }, import("@prismatic-io/spectral").ConfigVarResultCollection, boolean, {
3895
+ data: unknown;
3896
+ }>;
3897
+ listTicketsToUser: import("@prismatic-io/spectral").ActionDefinition<{
3898
+ userId: {
3899
+ required: boolean;
3900
+ clean: (value: unknown, defaultValue?: number) => number;
3901
+ label: string;
3902
+ type: "string";
3903
+ example: string;
3904
+ placeholder: string;
3905
+ comments: string;
3906
+ dataSource: string;
3907
+ };
3908
+ zendeskConnection: {
3909
+ label: string;
3910
+ type: "connection";
3911
+ required: true;
3912
+ comments: string;
3913
+ };
3914
+ }, import("@prismatic-io/spectral").ConfigVarResultCollection, boolean, {
3915
+ data: unknown;
3916
+ }>;
3917
+ showTicket: import("@prismatic-io/spectral").ActionDefinition<{
3918
+ ticketId: {
3919
+ required: boolean;
3920
+ clean: (value: unknown, defaultValue?: number) => number;
3921
+ label: string;
3922
+ type: "string";
3923
+ example: string;
3924
+ placeholder: string;
3925
+ comments: string;
3926
+ dataSource: string;
3927
+ };
3928
+ zendeskConnection: {
3929
+ label: string;
3930
+ type: "connection";
3931
+ required: true;
3932
+ comments: string;
3933
+ };
3934
+ }, import("@prismatic-io/spectral").ConfigVarResultCollection, boolean, {
3935
+ data: unknown;
3936
+ }>;
3937
+ updateTicket: import("@prismatic-io/spectral").ActionDefinition<{
3938
+ ticketId: {
3939
+ label: string;
3940
+ type: "string";
3941
+ example: string;
3942
+ placeholder: string;
3943
+ required: true;
3944
+ comments: string;
3945
+ clean: (value: unknown) => number | undefined;
3946
+ dataSource: string;
3947
+ };
3948
+ ticketComment: {
3949
+ label: string;
3950
+ type: "string";
3951
+ example: string;
3952
+ placeholder: string;
3953
+ required: false;
3954
+ comments: string;
3955
+ clean: (value: unknown) => string | undefined;
3956
+ };
3957
+ ticketCommentHTML: {
3958
+ label: string;
3959
+ type: "string";
3960
+ example: string;
3961
+ placeholder: string;
3962
+ required: false;
3963
+ comments: string;
3964
+ clean: (value: unknown) => string | undefined;
3965
+ };
3966
+ file: {
3967
+ label: string;
3968
+ type: "data";
3969
+ required: false;
3970
+ comments: string;
3971
+ clean: (value: unknown) => import("@prismatic-io/spectral").DataPayload | undefined;
3972
+ };
3973
+ fileName: {
3974
+ label: string;
3975
+ type: "string";
3976
+ required: false;
3977
+ placeholder: string;
3978
+ comments: string;
3979
+ clean: (value: unknown) => string | undefined;
3980
+ };
3981
+ classification: {
3982
+ label: string;
3983
+ comments: string;
3984
+ inputs: {
3985
+ ticketPriority: {
3986
+ label: string;
3987
+ type: "string";
3988
+ required: false;
3989
+ model: ({
3990
+ label: string;
3991
+ value: "high";
3992
+ } | {
3993
+ label: string;
3994
+ value: "low";
3995
+ } | {
3996
+ label: string;
3997
+ value: "normal";
3998
+ } | {
3999
+ label: string;
4000
+ value: "urgent";
4001
+ })[];
4002
+ comments: string;
4003
+ clean: (value: unknown) => string | undefined;
4004
+ };
4005
+ ticketStatus: {
4006
+ label: string;
4007
+ type: "string";
4008
+ required: false;
4009
+ model: ({
4010
+ label: string;
4011
+ value: "closed";
4012
+ } | {
4013
+ label: string;
4014
+ value: "hold";
4015
+ } | {
4016
+ label: string;
4017
+ value: "new";
4018
+ } | {
4019
+ label: string;
4020
+ value: "open";
4021
+ } | {
4022
+ label: string;
4023
+ value: "pending";
4024
+ } | {
4025
+ label: string;
4026
+ value: "solved";
4027
+ })[];
4028
+ comments: string;
4029
+ clean: (value: unknown) => string | undefined;
4030
+ };
4031
+ ticketType: {
4032
+ label: string;
4033
+ type: "string";
4034
+ required: false;
4035
+ model: ({
4036
+ label: string;
4037
+ value: "incident";
4038
+ } | {
4039
+ label: string;
4040
+ value: "problem";
4041
+ } | {
4042
+ label: string;
4043
+ value: "question";
4044
+ } | {
4045
+ label: string;
4046
+ value: "task";
4047
+ })[];
4048
+ comments: string;
4049
+ clean: (value: unknown) => string | undefined;
4050
+ };
4051
+ };
4052
+ } & {
4053
+ type: "structuredObject";
4054
+ };
4055
+ assigneeEmail: {
4056
+ required: boolean;
4057
+ clean: (value: unknown) => string | undefined;
4058
+ label: string;
4059
+ type: "string";
4060
+ example: string;
4061
+ placeholder: string;
4062
+ comments: string;
4063
+ };
4064
+ assigneeId: {
4065
+ required: boolean;
4066
+ label: string;
4067
+ type: "string";
4068
+ example: string;
4069
+ placeholder: string;
4070
+ comments: string;
4071
+ clean: (value: unknown) => string | undefined;
4072
+ };
4073
+ tags: {
4074
+ label: string;
4075
+ type: "string";
4076
+ example: string;
4077
+ placeholder: string;
4078
+ required: false;
4079
+ collection: "valuelist";
4080
+ comments: string;
4081
+ clean: (value: unknown) => string[] | undefined;
4082
+ };
4083
+ ticketSubject: {
4084
+ label: string;
4085
+ type: "string";
4086
+ required: false;
4087
+ example: string;
4088
+ placeholder: string;
4089
+ comments: string;
4090
+ clean: (value: unknown) => string | undefined;
4091
+ };
4092
+ requesterOrganization: {
4093
+ label: string;
4094
+ type: "string";
4095
+ required: false;
4096
+ example: string;
4097
+ placeholder: string;
4098
+ comments: string;
4099
+ clean: (value: unknown) => number | undefined;
4100
+ };
4101
+ zendeskConnection: {
4102
+ label: string;
4103
+ type: "connection";
4104
+ required: true;
4105
+ comments: string;
4106
+ };
4107
+ }, import("@prismatic-io/spectral").ConfigVarResultCollection, boolean, {
4108
+ data: unknown;
4109
+ }>;
4110
+ };
4111
+ connections: (import("@prismatic-io/spectral").KeyedConnection<{
4112
+ oauth2Type: import("@prismatic-io/spectral").OAuth2Type.AuthorizationCode;
4113
+ key: "oauth2DynamicInputs";
4114
+ display: {
4115
+ label: string;
4116
+ description: string;
4117
+ };
4118
+ oauth2PkceMethod: import("@prismatic-io/spectral").OAuth2PkceMethod.S256;
4119
+ inputs: {
4120
+ domain: {
4121
+ label: string;
4122
+ placeholder: string;
4123
+ type: "string";
4124
+ required: true;
4125
+ shown: true;
4126
+ comments: string;
4127
+ example: string;
4128
+ };
4129
+ clientId: {
4130
+ label: string;
4131
+ placeholder: string;
4132
+ type: "string";
4133
+ required: true;
4134
+ shown: true;
4135
+ comments: string;
4136
+ };
4137
+ clientSecret: {
4138
+ label: string;
4139
+ placeholder: string;
4140
+ type: "password";
4141
+ required: true;
4142
+ shown: true;
4143
+ comments: string;
4144
+ };
4145
+ scopes: {
4146
+ label: string;
4147
+ placeholder: string;
4148
+ type: "string";
4149
+ required: true;
4150
+ shown: true;
4151
+ comments: string;
4152
+ default: string;
4153
+ };
4154
+ } & Partial<import("@prismatic-io/spectral").OAuth2AuthorizationCodeInputs> & {
4155
+ [key: string]: import("@prismatic-io/spectral").ConnectionInput;
4156
+ } & {
4157
+ tokenUrl: import("@prismatic-io/spectral").ConnectionTemplateInputField;
4158
+ authorizeUrl: import("@prismatic-io/spectral").ConnectionTemplateInputField;
4159
+ } & {
4160
+ [key: string]: import("@prismatic-io/spectral").ConnectionTemplateInputField;
4161
+ };
4162
+ }, "oauth2DynamicInputs"> | import("@prismatic-io/spectral").KeyedConnection<{
4163
+ key: "apiToken";
4164
+ display: {
4165
+ label: string;
4166
+ description: string;
4167
+ };
4168
+ inputs: Record<string, import("@prismatic-io/spectral").ConnectionInput> & {
4169
+ [key: string]: import("@prismatic-io/spectral").ConnectionTemplateInputField;
4170
+ };
4171
+ }, "apiToken"> | import("@prismatic-io/spectral").KeyedConnection<{
4172
+ oauth2Type: import("@prismatic-io/spectral").OAuth2Type.AuthorizationCode;
4173
+ key: "oauth2";
4174
+ display: {
4175
+ label: string;
4176
+ description: string;
4177
+ };
4178
+ oauth2PkceMethod: import("@prismatic-io/spectral").OAuth2PkceMethod.S256;
4179
+ inputs: {
4180
+ authorizeUrl: {
4181
+ label: string;
4182
+ placeholder: string;
4183
+ type: "string";
4184
+ required: true;
4185
+ shown: true;
4186
+ comments: string;
4187
+ example: string;
4188
+ default: string;
4189
+ };
4190
+ tokenUrl: {
4191
+ label: string;
4192
+ placeholder: string;
4193
+ type: "string";
4194
+ required: true;
4195
+ shown: true;
4196
+ comments: string;
4197
+ example: string;
4198
+ default: string;
4199
+ };
4200
+ clientId: {
4201
+ label: string;
4202
+ placeholder: string;
4203
+ type: "string";
4204
+ required: true;
4205
+ shown: true;
4206
+ comments: string;
4207
+ };
4208
+ clientSecret: {
4209
+ label: string;
4210
+ placeholder: string;
4211
+ type: "password";
4212
+ required: true;
4213
+ shown: true;
4214
+ comments: string;
4215
+ };
4216
+ scopes: {
4217
+ label: string;
4218
+ placeholder: string;
4219
+ type: "string";
4220
+ required: true;
4221
+ shown: true;
4222
+ comments: string;
4223
+ example: string;
4224
+ default: string;
4225
+ };
4226
+ };
4227
+ }, "oauth2">)[];
4228
+ triggers: {
4229
+ webhook: import("@prismatic-io/spectral").TriggerDefinition<{
4230
+ connection: {
4231
+ label: string;
4232
+ type: "connection";
4233
+ required: true;
4234
+ comments: string;
4235
+ };
4236
+ }, import("@prismatic-io/spectral").ConfigVarResultCollection, boolean, {
4237
+ payload: import("@prismatic-io/spectral").TriggerPayload<Record<string, unknown>>;
4238
+ }, import("@prismatic-io/spectral").Inputs>;
4239
+ pollChangesTrigger: import("@prismatic-io/spectral").PollingTriggerDefinition<{
4240
+ connection: {
4241
+ label: string;
4242
+ type: "connection";
4243
+ required: true;
4244
+ comments: string;
4245
+ };
4246
+ lookBackDate: {
4247
+ label: string;
4248
+ placeholder: string;
4249
+ type: "string";
4250
+ required: false;
4251
+ comments: string;
4252
+ example: string;
4253
+ clean: (value: unknown) => string | undefined;
4254
+ };
4255
+ showNewRecords: {
4256
+ label: string;
4257
+ type: "boolean";
4258
+ required: false;
4259
+ default: string;
4260
+ comments: string;
4261
+ clean: (value: unknown, defaultValue?: boolean) => boolean;
4262
+ };
4263
+ showUpdatedRecords: {
4264
+ label: string;
4265
+ type: "boolean";
4266
+ required: false;
4267
+ default: string;
4268
+ comments: string;
4269
+ clean: (value: unknown, defaultValue?: boolean) => boolean;
4270
+ };
4271
+ }, import("@prismatic-io/spectral").ConfigVarResultCollection, import("@prismatic-io/spectral").TriggerPayload<Record<string, unknown>>, boolean, {
4272
+ payload: import("@prismatic-io/spectral").TriggerPayload;
4273
+ polledNoChanges: boolean;
4274
+ }, import("@prismatic-io/spectral").Inputs>;
4275
+ };
4276
+ dataSources: {
4277
+ listArticlesDataSource: import("@prismatic-io/spectral").DataSourceDefinition<{
4278
+ zendeskConnection: {
4279
+ label: string;
4280
+ type: "connection";
4281
+ required: true;
4282
+ comments: string;
4283
+ };
4284
+ locale: {
4285
+ label: string;
4286
+ type: "string";
4287
+ required: true;
4288
+ comments: string;
4289
+ default: string;
4290
+ model: {
4291
+ label: string;
4292
+ value: string;
4293
+ }[];
4294
+ clean: (value: unknown, defaultValue?: string) => string;
4295
+ };
4296
+ }, import("@prismatic-io/spectral").ConfigVarResultCollection, "picklist">;
4297
+ listCategoriesDataSource: import("@prismatic-io/spectral").DataSourceDefinition<{
4298
+ zendeskConnection: {
4299
+ label: string;
4300
+ type: "connection";
4301
+ required: true;
4302
+ comments: string;
4303
+ };
4304
+ locale: {
4305
+ label: string;
4306
+ type: "string";
4307
+ required: true;
4308
+ comments: string;
4309
+ default: string;
4310
+ model: {
4311
+ label: string;
4312
+ value: string;
4313
+ }[];
4314
+ clean: (value: unknown, defaultValue?: string) => string;
4315
+ };
4316
+ }, import("@prismatic-io/spectral").ConfigVarResultCollection, "picklist">;
4317
+ listPermissionGroupsDataSource: import("@prismatic-io/spectral").DataSourceDefinition<{
4318
+ zendeskConnection: {
4319
+ label: string;
4320
+ type: "connection";
4321
+ required: true;
4322
+ comments: string;
4323
+ };
4324
+ }, import("@prismatic-io/spectral").ConfigVarResultCollection, "picklist">;
4325
+ listSectionsDataSource: import("@prismatic-io/spectral").DataSourceDefinition<{
4326
+ zendeskConnection: {
4327
+ label: string;
4328
+ type: "connection";
4329
+ required: true;
4330
+ comments: string;
4331
+ };
4332
+ locale: {
4333
+ label: string;
4334
+ type: "string";
4335
+ required: true;
4336
+ comments: string;
4337
+ default: string;
4338
+ model: {
4339
+ label: string;
4340
+ value: string;
4341
+ }[];
4342
+ clean: (value: unknown, defaultValue?: string) => string;
4343
+ };
4344
+ }, import("@prismatic-io/spectral").ConfigVarResultCollection, "picklist">;
4345
+ listTagsDataSource: import("@prismatic-io/spectral").DataSourceDefinition<{
4346
+ zendeskConnection: {
4347
+ label: string;
4348
+ type: "connection";
4349
+ required: true;
4350
+ comments: string;
4351
+ };
4352
+ }, import("@prismatic-io/spectral").ConfigVarResultCollection, "picklist">;
4353
+ listUserSegmentsDataSource: import("@prismatic-io/spectral").DataSourceDefinition<{
4354
+ zendeskConnection: {
4355
+ label: string;
4356
+ type: "connection";
4357
+ required: true;
4358
+ comments: string;
4359
+ };
4360
+ }, import("@prismatic-io/spectral").ConfigVarResultCollection, "picklist">;
4361
+ selectArticleSubscription: import("@prismatic-io/spectral").DataSourceDefinition<{
4362
+ zendeskConnection: {
4363
+ label: string;
4364
+ type: "connection";
4365
+ required: true;
4366
+ comments: string;
4367
+ };
4368
+ articleId: {
4369
+ dataSource: undefined;
4370
+ label: string;
4371
+ type: "string";
4372
+ example: string;
4373
+ placeholder: string;
4374
+ required: true;
4375
+ comments: string;
4376
+ clean: (value: unknown, defaultValue?: string) => string;
4377
+ };
4378
+ }, import("@prismatic-io/spectral").ConfigVarResultCollection, "picklist">;
4379
+ selectPost: import("@prismatic-io/spectral").DataSourceDefinition<{
4380
+ zendeskConnection: {
4381
+ label: string;
4382
+ type: "connection";
4383
+ required: true;
4384
+ comments: string;
4385
+ };
4386
+ }, import("@prismatic-io/spectral").ConfigVarResultCollection, "picklist">;
4387
+ selectPostSubscription: import("@prismatic-io/spectral").DataSourceDefinition<{
4388
+ zendeskConnection: {
4389
+ label: string;
4390
+ type: "connection";
4391
+ required: true;
4392
+ comments: string;
4393
+ };
4394
+ postId: {
4395
+ dataSource: undefined;
4396
+ label: string;
4397
+ type: "string";
4398
+ required: true;
4399
+ example: string;
4400
+ placeholder: string;
4401
+ comments: string;
4402
+ clean: (value: unknown, defaultValue?: number) => number;
4403
+ };
4404
+ }, import("@prismatic-io/spectral").ConfigVarResultCollection, "picklist">;
4405
+ selectSectionSubscription: import("@prismatic-io/spectral").DataSourceDefinition<{
4406
+ zendeskConnection: {
4407
+ label: string;
4408
+ type: "connection";
4409
+ required: true;
4410
+ comments: string;
4411
+ };
4412
+ sectionId: {
4413
+ dataSource: undefined;
4414
+ label: string;
4415
+ type: "string";
4416
+ example: string;
4417
+ placeholder: string;
4418
+ required: true;
4419
+ comments: string;
4420
+ clean: (value: unknown, defaultValue?: number) => number;
4421
+ };
4422
+ }, import("@prismatic-io/spectral").ConfigVarResultCollection, "picklist">;
4423
+ selectTicket: import("@prismatic-io/spectral").DataSourceDefinition<{
4424
+ zendeskConnection: {
4425
+ label: string;
4426
+ type: "connection";
4427
+ required: true;
4428
+ comments: string;
4429
+ };
4430
+ }, import("@prismatic-io/spectral").ConfigVarResultCollection, "picklist">;
4431
+ selectTopic: import("@prismatic-io/spectral").DataSourceDefinition<{
4432
+ zendeskConnection: {
4433
+ label: string;
4434
+ type: "connection";
4435
+ required: true;
4436
+ comments: string;
4437
+ };
4438
+ }, import("@prismatic-io/spectral").ConfigVarResultCollection, "picklist">;
4439
+ selectTopicSubscription: import("@prismatic-io/spectral").DataSourceDefinition<{
4440
+ zendeskConnection: {
4441
+ label: string;
4442
+ type: "connection";
4443
+ required: true;
4444
+ comments: string;
4445
+ };
4446
+ topicId: {
4447
+ dataSource: undefined;
4448
+ label: string;
4449
+ type: "string";
4450
+ required: true;
4451
+ example: string;
4452
+ placeholder: string;
4453
+ comments: string;
4454
+ clean: (value: unknown, defaultValue?: number) => number;
4455
+ };
4456
+ }, import("@prismatic-io/spectral").ConfigVarResultCollection, "picklist">;
4457
+ selectUser: import("@prismatic-io/spectral").DataSourceDefinition<{
4458
+ zendeskConnection: {
4459
+ label: string;
4460
+ type: "connection";
4461
+ required: true;
4462
+ comments: string;
4463
+ };
4464
+ }, import("@prismatic-io/spectral").ConfigVarResultCollection, "picklist">;
4465
+ };
4466
+ hooks: {
4467
+ error: (error: unknown) => unknown;
4468
+ };
4469
+ }>;
4470
+ export = _default;