@prismatic-io/components-mailchimp 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,2486 @@
1
+ //#region src/types.d.ts
2
+ interface WebhookEvents {
3
+ subscribe: boolean;
4
+ unsubscribe: boolean;
5
+ profile: boolean;
6
+ cleaned: boolean;
7
+ upemail: boolean;
8
+ campaign: boolean;
9
+ }
10
+ interface WebhookSources {
11
+ user: boolean;
12
+ admin: boolean;
13
+ api: boolean;
14
+ }
15
+ interface MailchimpWebhook {
16
+ id: string;
17
+ url: string;
18
+ events: WebhookEvents;
19
+ sources: WebhookSources;
20
+ list_id: string;
21
+ }
22
+ //#endregion
23
+ //#region node_modules/axios/index.d.ts
24
+ type UppercaseMethod = 'GET' | 'DELETE' | 'HEAD' | 'OPTIONS' | 'POST' | 'PUT' | 'PATCH' | 'PURGE' | 'LINK' | 'UNLINK' | 'QUERY';
25
+ type Method = (UppercaseMethod | Lowercase<UppercaseMethod>) & {};
26
+ type ResponseType = 'arraybuffer' | 'blob' | 'document' | 'json' | 'text' | 'stream' | 'formdata';
27
+ //#endregion
28
+ //#region npm-dist/.entry.d.ts
29
+ declare const _default: import("@prismatic-io/spectral").CallableComponent<{
30
+ key: "mailchimp";
31
+ public: true;
32
+ documentationUrl: "https://prismatic.io/docs/components/mailchimp/";
33
+ display: {
34
+ category: "Application Connectors";
35
+ label: string;
36
+ description: string;
37
+ iconPath: string;
38
+ };
39
+ actions: {
40
+ addWebhook: import("@prismatic-io/spectral").ActionDefinition<{
41
+ connection: {
42
+ label: string;
43
+ type: "connection";
44
+ required: true;
45
+ comments: string;
46
+ };
47
+ listId: {
48
+ label: string;
49
+ type: "string";
50
+ required: true;
51
+ placeholder: string;
52
+ example: string;
53
+ comments: string;
54
+ dataSource: string;
55
+ clean: (value: unknown, defaultValue?: string) => string;
56
+ };
57
+ webhookUrl: {
58
+ label: string;
59
+ type: "string";
60
+ required: true;
61
+ placeholder: string;
62
+ example: string;
63
+ comments: string;
64
+ clean: (value: unknown, defaultValue?: string) => string;
65
+ };
66
+ webhookEvents: {
67
+ label: string;
68
+ type: "string";
69
+ model: {
70
+ label: string;
71
+ value: string;
72
+ }[];
73
+ collection: "valuelist";
74
+ required: true;
75
+ comments: string;
76
+ clean: (values: unknown) => WebhookEvents;
77
+ };
78
+ webhookSources: {
79
+ label: string;
80
+ type: "string";
81
+ model: {
82
+ label: string;
83
+ value: string;
84
+ }[];
85
+ collection: "valuelist";
86
+ required: true;
87
+ comments: string;
88
+ clean: (values: unknown) => WebhookSources;
89
+ };
90
+ }, import("@prismatic-io/spectral").ConfigVarResultCollection, boolean, {
91
+ data: MailchimpWebhook;
92
+ }>;
93
+ deleteWebhook: import("@prismatic-io/spectral").ActionDefinition<{
94
+ connection: {
95
+ label: string;
96
+ type: "connection";
97
+ required: true;
98
+ comments: string;
99
+ };
100
+ listId: {
101
+ label: string;
102
+ type: "string";
103
+ required: true;
104
+ placeholder: string;
105
+ example: string;
106
+ comments: string;
107
+ dataSource: string;
108
+ clean: (value: unknown, defaultValue?: string) => string;
109
+ };
110
+ webhookId: {
111
+ label: string;
112
+ type: "string";
113
+ required: true;
114
+ placeholder: string;
115
+ example: string;
116
+ comments: string;
117
+ dataSource: string;
118
+ clean: (value: unknown, defaultValue?: string) => string;
119
+ };
120
+ }, import("@prismatic-io/spectral").ConfigVarResultCollection, boolean, {
121
+ data: {
122
+ success: boolean;
123
+ message: string;
124
+ };
125
+ }>;
126
+ getWebhook: import("@prismatic-io/spectral").ActionDefinition<{
127
+ connection: {
128
+ label: string;
129
+ type: "connection";
130
+ required: true;
131
+ comments: string;
132
+ };
133
+ listId: {
134
+ label: string;
135
+ type: "string";
136
+ required: true;
137
+ placeholder: string;
138
+ example: string;
139
+ comments: string;
140
+ dataSource: string;
141
+ clean: (value: unknown, defaultValue?: string) => string;
142
+ };
143
+ webhookId: {
144
+ label: string;
145
+ type: "string";
146
+ required: true;
147
+ placeholder: string;
148
+ example: string;
149
+ comments: string;
150
+ dataSource: string;
151
+ clean: (value: unknown, defaultValue?: string) => string;
152
+ };
153
+ }, import("@prismatic-io/spectral").ConfigVarResultCollection, boolean, {
154
+ data: MailchimpWebhook;
155
+ }>;
156
+ listWebhooks: import("@prismatic-io/spectral").ActionDefinition<{
157
+ connection: {
158
+ label: string;
159
+ type: "connection";
160
+ required: true;
161
+ comments: string;
162
+ };
163
+ listId: {
164
+ label: string;
165
+ type: "string";
166
+ required: true;
167
+ placeholder: string;
168
+ example: string;
169
+ comments: string;
170
+ dataSource: string;
171
+ clean: (value: unknown, defaultValue?: string) => string;
172
+ };
173
+ }, import("@prismatic-io/spectral").ConfigVarResultCollection, boolean, {
174
+ data: MailchimpWebhook[];
175
+ }>;
176
+ updateWebhook: import("@prismatic-io/spectral").ActionDefinition<{
177
+ connection: {
178
+ label: string;
179
+ type: "connection";
180
+ required: true;
181
+ comments: string;
182
+ };
183
+ listId: {
184
+ label: string;
185
+ type: "string";
186
+ required: true;
187
+ placeholder: string;
188
+ example: string;
189
+ comments: string;
190
+ dataSource: string;
191
+ clean: (value: unknown, defaultValue?: string) => string;
192
+ };
193
+ webhookId: {
194
+ label: string;
195
+ type: "string";
196
+ required: true;
197
+ placeholder: string;
198
+ example: string;
199
+ comments: string;
200
+ dataSource: string;
201
+ clean: (value: unknown, defaultValue?: string) => string;
202
+ };
203
+ webhookUrl: {
204
+ label: string;
205
+ type: "string";
206
+ required: true;
207
+ placeholder: string;
208
+ example: string;
209
+ comments: string;
210
+ clean: (value: unknown, defaultValue?: string) => string;
211
+ };
212
+ webhookEvents: {
213
+ label: string;
214
+ type: "string";
215
+ model: {
216
+ label: string;
217
+ value: string;
218
+ }[];
219
+ collection: "valuelist";
220
+ required: true;
221
+ comments: string;
222
+ clean: (values: unknown) => WebhookEvents;
223
+ };
224
+ webhookSources: {
225
+ label: string;
226
+ type: "string";
227
+ model: {
228
+ label: string;
229
+ value: string;
230
+ }[];
231
+ collection: "valuelist";
232
+ required: true;
233
+ comments: string;
234
+ clean: (values: unknown) => WebhookSources;
235
+ };
236
+ }, import("@prismatic-io/spectral").ConfigVarResultCollection, boolean, {
237
+ data: MailchimpWebhook;
238
+ }>;
239
+ ping: import("@prismatic-io/spectral").ActionDefinition<{
240
+ connection: {
241
+ label: string;
242
+ type: "connection";
243
+ required: true;
244
+ comments: string;
245
+ };
246
+ }, import("@prismatic-io/spectral").ConfigVarResultCollection, boolean, {
247
+ data: any;
248
+ }>;
249
+ listCampaigns: import("@prismatic-io/spectral").ActionDefinition<{
250
+ count: {
251
+ label: string;
252
+ type: "string";
253
+ required: false;
254
+ placeholder: string;
255
+ example: string;
256
+ comments: string;
257
+ clean: (value: unknown) => number | undefined;
258
+ };
259
+ offset: {
260
+ label: string;
261
+ type: "string";
262
+ required: false;
263
+ placeholder: string;
264
+ example: string;
265
+ comments: string;
266
+ clean: (value: unknown) => number | undefined;
267
+ };
268
+ fetchAll: {
269
+ label: string;
270
+ type: "boolean";
271
+ required: false;
272
+ default: string;
273
+ comments: string;
274
+ clean: (value: unknown, defaultValue?: boolean) => boolean;
275
+ };
276
+ connection: {
277
+ label: string;
278
+ type: "connection";
279
+ required: true;
280
+ comments: string;
281
+ };
282
+ }, import("@prismatic-io/spectral").ConfigVarResultCollection, boolean, {
283
+ data: Record<string, unknown>;
284
+ }>;
285
+ sendCampaign: import("@prismatic-io/spectral").ActionDefinition<{
286
+ campaignId: {
287
+ required: true;
288
+ label: string;
289
+ type: "string";
290
+ placeholder: string;
291
+ example: string;
292
+ comments: string;
293
+ dataSource: string;
294
+ clean: (value: unknown) => string | undefined;
295
+ };
296
+ connection: {
297
+ label: string;
298
+ type: "connection";
299
+ required: true;
300
+ comments: string;
301
+ };
302
+ }, import("@prismatic-io/spectral").ConfigVarResultCollection, boolean, {
303
+ data: any;
304
+ }>;
305
+ getMember: import("@prismatic-io/spectral").ActionDefinition<{
306
+ listId: {
307
+ label: string;
308
+ type: "string";
309
+ required: true;
310
+ placeholder: string;
311
+ example: string;
312
+ comments: string;
313
+ dataSource: string;
314
+ clean: (value: unknown, defaultValue?: string) => string;
315
+ };
316
+ subscriberHash: {
317
+ label: string;
318
+ type: "string";
319
+ required: true;
320
+ placeholder: string;
321
+ example: string;
322
+ comments: string;
323
+ dataSource: string;
324
+ };
325
+ connection: {
326
+ label: string;
327
+ type: "connection";
328
+ required: true;
329
+ comments: string;
330
+ };
331
+ }, import("@prismatic-io/spectral").ConfigVarResultCollection, boolean, {
332
+ data: any;
333
+ }>;
334
+ deleteMember: import("@prismatic-io/spectral").ActionDefinition<{
335
+ listId: {
336
+ label: string;
337
+ type: "string";
338
+ required: true;
339
+ placeholder: string;
340
+ example: string;
341
+ comments: string;
342
+ dataSource: string;
343
+ clean: (value: unknown, defaultValue?: string) => string;
344
+ };
345
+ subscriberHash: {
346
+ label: string;
347
+ type: "string";
348
+ required: true;
349
+ placeholder: string;
350
+ example: string;
351
+ comments: string;
352
+ dataSource: string;
353
+ };
354
+ connection: {
355
+ label: string;
356
+ type: "connection";
357
+ required: true;
358
+ comments: string;
359
+ };
360
+ }, import("@prismatic-io/spectral").ConfigVarResultCollection, boolean, {
361
+ data: any;
362
+ }>;
363
+ updateMember: import("@prismatic-io/spectral").ActionDefinition<{
364
+ skipMerged: {
365
+ label: string;
366
+ type: "boolean";
367
+ required: false;
368
+ default: string;
369
+ comments: string;
370
+ clean: (value: unknown, defaultValue?: boolean) => boolean;
371
+ };
372
+ listId: {
373
+ label: string;
374
+ type: "string";
375
+ required: true;
376
+ placeholder: string;
377
+ example: string;
378
+ comments: string;
379
+ dataSource: string;
380
+ clean: (value: unknown, defaultValue?: string) => string;
381
+ };
382
+ subscriberHash: {
383
+ label: string;
384
+ type: "string";
385
+ required: true;
386
+ placeholder: string;
387
+ example: string;
388
+ comments: string;
389
+ dataSource: string;
390
+ };
391
+ email: {
392
+ required: false;
393
+ label: string;
394
+ type: "string";
395
+ placeholder: string;
396
+ example: string;
397
+ comments: string;
398
+ clean: (value: unknown, defaultValue?: string) => string;
399
+ };
400
+ language: {
401
+ required: false;
402
+ label: string;
403
+ type: "string";
404
+ placeholder: string;
405
+ example: string;
406
+ comments: string;
407
+ clean: (value: unknown, defaultValue?: string) => string;
408
+ };
409
+ status: {
410
+ required: false;
411
+ label: string;
412
+ type: "string";
413
+ placeholder: string;
414
+ example: string;
415
+ comments: string;
416
+ clean: (value: unknown, defaultValue?: string) => string;
417
+ };
418
+ emailType: {
419
+ label: string;
420
+ type: "string";
421
+ required: false;
422
+ placeholder: string;
423
+ example: string;
424
+ comments: string;
425
+ clean: (value: unknown, defaultValue?: string) => string;
426
+ };
427
+ mergeFields: {
428
+ label: string;
429
+ type: "string";
430
+ collection: "keyvaluelist";
431
+ required: false;
432
+ comments: string;
433
+ example: string;
434
+ placeholder: string;
435
+ clean: (values: unknown) => Record<string, unknown>;
436
+ };
437
+ interests: {
438
+ label: string;
439
+ type: "string";
440
+ collection: "keyvaluelist";
441
+ required: false;
442
+ comments: string;
443
+ example: string;
444
+ placeholder: string;
445
+ clean: (values: unknown) => Record<string, unknown>;
446
+ };
447
+ vip: {
448
+ label: string;
449
+ type: "boolean";
450
+ required: false;
451
+ default: string;
452
+ comments: string;
453
+ clean: (value: unknown, defaultValue?: boolean) => boolean;
454
+ };
455
+ marketingPermissionsArray: {
456
+ label: string;
457
+ type: "code";
458
+ language: "json";
459
+ required: false;
460
+ comments: string;
461
+ example: string;
462
+ clean: (value: unknown) => string | undefined;
463
+ };
464
+ connection: {
465
+ label: string;
466
+ type: "connection";
467
+ required: true;
468
+ comments: string;
469
+ };
470
+ }, import("@prismatic-io/spectral").ConfigVarResultCollection, boolean, {
471
+ data: any;
472
+ }>;
473
+ archiveMember: import("@prismatic-io/spectral").ActionDefinition<{
474
+ listId: {
475
+ label: string;
476
+ type: "string";
477
+ required: true;
478
+ placeholder: string;
479
+ example: string;
480
+ comments: string;
481
+ dataSource: string;
482
+ clean: (value: unknown, defaultValue?: string) => string;
483
+ };
484
+ subscriberHash: {
485
+ label: string;
486
+ type: "string";
487
+ required: true;
488
+ placeholder: string;
489
+ example: string;
490
+ comments: string;
491
+ dataSource: string;
492
+ };
493
+ connection: {
494
+ label: string;
495
+ type: "connection";
496
+ required: true;
497
+ comments: string;
498
+ };
499
+ }, import("@prismatic-io/spectral").ConfigVarResultCollection, boolean, {
500
+ data: any;
501
+ }>;
502
+ listMembers: import("@prismatic-io/spectral").ActionDefinition<{
503
+ listId: {
504
+ label: string;
505
+ type: "string";
506
+ required: true;
507
+ placeholder: string;
508
+ example: string;
509
+ comments: string;
510
+ dataSource: string;
511
+ clean: (value: unknown, defaultValue?: string) => string;
512
+ };
513
+ count: {
514
+ label: string;
515
+ type: "string";
516
+ required: false;
517
+ placeholder: string;
518
+ example: string;
519
+ comments: string;
520
+ clean: (value: unknown) => number | undefined;
521
+ };
522
+ offset: {
523
+ label: string;
524
+ type: "string";
525
+ required: false;
526
+ placeholder: string;
527
+ example: string;
528
+ comments: string;
529
+ clean: (value: unknown) => number | undefined;
530
+ };
531
+ fetchAll: {
532
+ label: string;
533
+ type: "boolean";
534
+ required: false;
535
+ default: string;
536
+ comments: string;
537
+ clean: (value: unknown, defaultValue?: boolean) => boolean;
538
+ };
539
+ connection: {
540
+ label: string;
541
+ type: "connection";
542
+ required: true;
543
+ comments: string;
544
+ };
545
+ }, import("@prismatic-io/spectral").ConfigVarResultCollection, boolean, {
546
+ data: Record<string, unknown>;
547
+ }>;
548
+ addMember: import("@prismatic-io/spectral").ActionDefinition<{
549
+ listId: {
550
+ label: string;
551
+ type: "string";
552
+ required: true;
553
+ placeholder: string;
554
+ example: string;
555
+ comments: string;
556
+ dataSource: string;
557
+ clean: (value: unknown, defaultValue?: string) => string;
558
+ };
559
+ email: {
560
+ label: string;
561
+ type: "string";
562
+ required: true;
563
+ placeholder: string;
564
+ example: string;
565
+ comments: string;
566
+ clean: (value: unknown, defaultValue?: string) => string;
567
+ };
568
+ language: {
569
+ required: false;
570
+ label: string;
571
+ type: "string";
572
+ placeholder: string;
573
+ example: string;
574
+ comments: string;
575
+ clean: (value: unknown, defaultValue?: string) => string;
576
+ };
577
+ status: {
578
+ label: string;
579
+ type: "string";
580
+ required: true;
581
+ placeholder: string;
582
+ example: string;
583
+ comments: string;
584
+ clean: (value: unknown, defaultValue?: string) => string;
585
+ };
586
+ emailType: {
587
+ label: string;
588
+ type: "string";
589
+ required: false;
590
+ placeholder: string;
591
+ example: string;
592
+ comments: string;
593
+ clean: (value: unknown, defaultValue?: string) => string;
594
+ };
595
+ mergeFields: {
596
+ label: string;
597
+ type: "string";
598
+ collection: "keyvaluelist";
599
+ required: false;
600
+ comments: string;
601
+ example: string;
602
+ placeholder: string;
603
+ clean: (values: unknown) => Record<string, unknown>;
604
+ };
605
+ tags: {
606
+ label: string;
607
+ type: "string";
608
+ collection: "valuelist";
609
+ required: false;
610
+ comments: string;
611
+ example: string;
612
+ placeholder: string;
613
+ };
614
+ interests: {
615
+ label: string;
616
+ type: "string";
617
+ collection: "keyvaluelist";
618
+ required: false;
619
+ comments: string;
620
+ example: string;
621
+ placeholder: string;
622
+ clean: (values: unknown) => Record<string, unknown>;
623
+ };
624
+ vip: {
625
+ label: string;
626
+ type: "boolean";
627
+ required: false;
628
+ default: string;
629
+ comments: string;
630
+ clean: (value: unknown, defaultValue?: boolean) => boolean;
631
+ };
632
+ connection: {
633
+ label: string;
634
+ type: "connection";
635
+ required: true;
636
+ comments: string;
637
+ };
638
+ }, import("@prismatic-io/spectral").ConfigVarResultCollection, boolean, {
639
+ data: any;
640
+ }>;
641
+ deleteList: import("@prismatic-io/spectral").ActionDefinition<{
642
+ listId: {
643
+ label: string;
644
+ type: "string";
645
+ required: true;
646
+ placeholder: string;
647
+ example: string;
648
+ comments: string;
649
+ dataSource: string;
650
+ clean: (value: unknown, defaultValue?: string) => string;
651
+ };
652
+ connection: {
653
+ label: string;
654
+ type: "connection";
655
+ required: true;
656
+ comments: string;
657
+ };
658
+ }, import("@prismatic-io/spectral").ConfigVarResultCollection, boolean, {
659
+ data: any;
660
+ }>;
661
+ getListsInfo: import("@prismatic-io/spectral").ActionDefinition<{
662
+ offset: {
663
+ label: string;
664
+ type: "string";
665
+ required: false;
666
+ placeholder: string;
667
+ example: string;
668
+ comments: string;
669
+ clean: (value: unknown) => number | undefined;
670
+ };
671
+ count: {
672
+ label: string;
673
+ type: "string";
674
+ required: false;
675
+ placeholder: string;
676
+ example: string;
677
+ comments: string;
678
+ clean: (value: unknown) => number | undefined;
679
+ };
680
+ fetchAll: {
681
+ label: string;
682
+ type: "boolean";
683
+ required: false;
684
+ default: string;
685
+ comments: string;
686
+ clean: (value: unknown, defaultValue?: boolean) => boolean;
687
+ };
688
+ connection: {
689
+ label: string;
690
+ type: "connection";
691
+ required: true;
692
+ comments: string;
693
+ };
694
+ }, import("@prismatic-io/spectral").ConfigVarResultCollection, boolean, {
695
+ data: Record<string, unknown>;
696
+ }>;
697
+ addList: import("@prismatic-io/spectral").ActionDefinition<{
698
+ company: {
699
+ required: false;
700
+ label: string;
701
+ type: "string";
702
+ placeholder: string;
703
+ example: string;
704
+ comments: string;
705
+ clean: (value: unknown, defaultValue?: string) => string;
706
+ };
707
+ address1: {
708
+ required: true;
709
+ label: string;
710
+ type: "string";
711
+ placeholder: string;
712
+ example: string;
713
+ comments: string;
714
+ clean: (value: unknown, defaultValue?: string) => string;
715
+ };
716
+ address2: {
717
+ label: string;
718
+ type: "string";
719
+ required: false;
720
+ placeholder: string;
721
+ example: string;
722
+ comments: string;
723
+ clean: (value: unknown, defaultValue?: string) => string;
724
+ };
725
+ city: {
726
+ required: true;
727
+ label: string;
728
+ type: "string";
729
+ placeholder: string;
730
+ example: string;
731
+ comments: string;
732
+ clean: (value: unknown, defaultValue?: string) => string;
733
+ };
734
+ state: {
735
+ label: string;
736
+ type: "string";
737
+ required: false;
738
+ placeholder: string;
739
+ example: string;
740
+ comments: string;
741
+ clean: (value: unknown, defaultValue?: string) => string;
742
+ };
743
+ postalCode: {
744
+ label: string;
745
+ type: "string";
746
+ required: false;
747
+ placeholder: string;
748
+ example: string;
749
+ comments: string;
750
+ clean: (value: unknown, defaultValue?: string) => string;
751
+ };
752
+ phone: {
753
+ label: string;
754
+ type: "string";
755
+ required: false;
756
+ placeholder: string;
757
+ example: string;
758
+ comments: string;
759
+ clean: (value: unknown, defaultValue?: string) => string;
760
+ };
761
+ country: {
762
+ required: true;
763
+ label: string;
764
+ type: "string";
765
+ placeholder: string;
766
+ example: string;
767
+ comments: string;
768
+ clean: (value: unknown, defaultValue?: string) => string;
769
+ };
770
+ name: {
771
+ label: string;
772
+ type: "string";
773
+ required: true;
774
+ placeholder: string;
775
+ example: string;
776
+ comments: string;
777
+ };
778
+ fromEmail: {
779
+ label: string;
780
+ type: "string";
781
+ required: true;
782
+ placeholder: string;
783
+ example: string;
784
+ comments: string;
785
+ };
786
+ fromName: {
787
+ label: string;
788
+ type: "string";
789
+ required: true;
790
+ placeholder: string;
791
+ example: string;
792
+ comments: string;
793
+ };
794
+ subject: {
795
+ label: string;
796
+ type: "string";
797
+ required: true;
798
+ placeholder: string;
799
+ example: string;
800
+ comments: string;
801
+ };
802
+ language: {
803
+ label: string;
804
+ type: "string";
805
+ required: true;
806
+ placeholder: string;
807
+ example: string;
808
+ comments: string;
809
+ clean: (value: unknown, defaultValue?: string) => string;
810
+ };
811
+ marketingPermissions: {
812
+ required: false;
813
+ label: string;
814
+ type: "boolean";
815
+ default: string;
816
+ comments: string;
817
+ clean: (value: unknown, defaultValue?: boolean) => boolean;
818
+ };
819
+ emailTypeOption: {
820
+ label: string;
821
+ type: "boolean";
822
+ required: true;
823
+ comments: string;
824
+ clean: (value: unknown, defaultValue?: boolean) => boolean;
825
+ };
826
+ permissionReminder: {
827
+ label: string;
828
+ type: "string";
829
+ required: true;
830
+ placeholder: string;
831
+ example: string;
832
+ comments: string;
833
+ };
834
+ connection: {
835
+ label: string;
836
+ type: "connection";
837
+ required: true;
838
+ comments: string;
839
+ };
840
+ }, import("@prismatic-io/spectral").ConfigVarResultCollection, boolean, {
841
+ data: any;
842
+ }>;
843
+ getList: import("@prismatic-io/spectral").ActionDefinition<{
844
+ listId: {
845
+ label: string;
846
+ type: "string";
847
+ required: true;
848
+ placeholder: string;
849
+ example: string;
850
+ comments: string;
851
+ dataSource: string;
852
+ clean: (value: unknown, defaultValue?: string) => string;
853
+ };
854
+ connection: {
855
+ label: string;
856
+ type: "connection";
857
+ required: true;
858
+ comments: string;
859
+ };
860
+ }, import("@prismatic-io/spectral").ConfigVarResultCollection, boolean, {
861
+ data: any;
862
+ }>;
863
+ updateList: import("@prismatic-io/spectral").ActionDefinition<{
864
+ listId: {
865
+ label: string;
866
+ type: "string";
867
+ required: true;
868
+ placeholder: string;
869
+ example: string;
870
+ comments: string;
871
+ dataSource: string;
872
+ clean: (value: unknown, defaultValue?: string) => string;
873
+ };
874
+ company: {
875
+ required: false;
876
+ label: string;
877
+ type: "string";
878
+ placeholder: string;
879
+ example: string;
880
+ comments: string;
881
+ clean: (value: unknown, defaultValue?: string) => string;
882
+ };
883
+ address1: {
884
+ required: true;
885
+ label: string;
886
+ type: "string";
887
+ placeholder: string;
888
+ example: string;
889
+ comments: string;
890
+ clean: (value: unknown, defaultValue?: string) => string;
891
+ };
892
+ address2: {
893
+ label: string;
894
+ type: "string";
895
+ required: false;
896
+ placeholder: string;
897
+ example: string;
898
+ comments: string;
899
+ clean: (value: unknown, defaultValue?: string) => string;
900
+ };
901
+ city: {
902
+ required: true;
903
+ label: string;
904
+ type: "string";
905
+ placeholder: string;
906
+ example: string;
907
+ comments: string;
908
+ clean: (value: unknown, defaultValue?: string) => string;
909
+ };
910
+ state: {
911
+ label: string;
912
+ type: "string";
913
+ required: false;
914
+ placeholder: string;
915
+ example: string;
916
+ comments: string;
917
+ clean: (value: unknown, defaultValue?: string) => string;
918
+ };
919
+ postalCode: {
920
+ label: string;
921
+ type: "string";
922
+ required: false;
923
+ placeholder: string;
924
+ example: string;
925
+ comments: string;
926
+ clean: (value: unknown, defaultValue?: string) => string;
927
+ };
928
+ phone: {
929
+ label: string;
930
+ type: "string";
931
+ required: false;
932
+ placeholder: string;
933
+ example: string;
934
+ comments: string;
935
+ clean: (value: unknown, defaultValue?: string) => string;
936
+ };
937
+ country: {
938
+ required: true;
939
+ label: string;
940
+ type: "string";
941
+ placeholder: string;
942
+ example: string;
943
+ comments: string;
944
+ clean: (value: unknown, defaultValue?: string) => string;
945
+ };
946
+ name: {
947
+ label: string;
948
+ type: "string";
949
+ required: true;
950
+ placeholder: string;
951
+ example: string;
952
+ comments: string;
953
+ };
954
+ fromEmail: {
955
+ label: string;
956
+ type: "string";
957
+ required: true;
958
+ placeholder: string;
959
+ example: string;
960
+ comments: string;
961
+ };
962
+ fromName: {
963
+ label: string;
964
+ type: "string";
965
+ required: true;
966
+ placeholder: string;
967
+ example: string;
968
+ comments: string;
969
+ };
970
+ subject: {
971
+ label: string;
972
+ type: "string";
973
+ required: true;
974
+ placeholder: string;
975
+ example: string;
976
+ comments: string;
977
+ };
978
+ language: {
979
+ label: string;
980
+ type: "string";
981
+ required: true;
982
+ placeholder: string;
983
+ example: string;
984
+ comments: string;
985
+ clean: (value: unknown, defaultValue?: string) => string;
986
+ };
987
+ marketingPermissions: {
988
+ required: false;
989
+ label: string;
990
+ type: "boolean";
991
+ default: string;
992
+ comments: string;
993
+ clean: (value: unknown, defaultValue?: boolean) => boolean;
994
+ };
995
+ emailTypeOption: {
996
+ label: string;
997
+ type: "boolean";
998
+ required: true;
999
+ comments: string;
1000
+ clean: (value: unknown, defaultValue?: boolean) => boolean;
1001
+ };
1002
+ permissionReminder: {
1003
+ label: string;
1004
+ type: "string";
1005
+ required: true;
1006
+ placeholder: string;
1007
+ example: string;
1008
+ comments: string;
1009
+ };
1010
+ connection: {
1011
+ label: string;
1012
+ type: "connection";
1013
+ required: true;
1014
+ comments: string;
1015
+ };
1016
+ }, import("@prismatic-io/spectral").ConfigVarResultCollection, boolean, {
1017
+ data: any;
1018
+ }>;
1019
+ listStores: import("@prismatic-io/spectral").ActionDefinition<{
1020
+ connection: {
1021
+ label: string;
1022
+ type: "connection";
1023
+ required: true;
1024
+ comments: string;
1025
+ };
1026
+ }, import("@prismatic-io/spectral").ConfigVarResultCollection, boolean, {
1027
+ data: any;
1028
+ }>;
1029
+ getProductInfo: import("@prismatic-io/spectral").ActionDefinition<{
1030
+ storeId: {
1031
+ required: true;
1032
+ label: string;
1033
+ type: "string";
1034
+ placeholder: string;
1035
+ example: string;
1036
+ comments: string;
1037
+ dataSource: string;
1038
+ clean: (value: unknown, defaultValue?: string) => string;
1039
+ };
1040
+ productId: {
1041
+ label: string;
1042
+ type: "string";
1043
+ required: true;
1044
+ placeholder: string;
1045
+ example: string;
1046
+ comments: string;
1047
+ dataSource: string;
1048
+ clean: (value: unknown, defaultValue?: string) => string;
1049
+ };
1050
+ connection: {
1051
+ label: string;
1052
+ type: "connection";
1053
+ required: true;
1054
+ comments: string;
1055
+ };
1056
+ }, import("@prismatic-io/spectral").ConfigVarResultCollection, boolean, {
1057
+ data: any;
1058
+ }>;
1059
+ getStore: import("@prismatic-io/spectral").ActionDefinition<{
1060
+ storeId: {
1061
+ required: true;
1062
+ label: string;
1063
+ type: "string";
1064
+ placeholder: string;
1065
+ example: string;
1066
+ comments: string;
1067
+ dataSource: string;
1068
+ clean: (value: unknown, defaultValue?: string) => string;
1069
+ };
1070
+ connection: {
1071
+ label: string;
1072
+ type: "connection";
1073
+ required: true;
1074
+ comments: string;
1075
+ };
1076
+ }, import("@prismatic-io/spectral").ConfigVarResultCollection, boolean, {
1077
+ data: any;
1078
+ }>;
1079
+ addCustomer: import("@prismatic-io/spectral").ActionDefinition<{
1080
+ storeId: {
1081
+ required: true;
1082
+ label: string;
1083
+ type: "string";
1084
+ placeholder: string;
1085
+ example: string;
1086
+ comments: string;
1087
+ dataSource: string;
1088
+ clean: (value: unknown, defaultValue?: string) => string;
1089
+ };
1090
+ customerId: {
1091
+ required: true;
1092
+ label: string;
1093
+ type: "string";
1094
+ placeholder: string;
1095
+ example: string;
1096
+ comments: string;
1097
+ dataSource: string;
1098
+ clean: (value: unknown) => string | undefined;
1099
+ };
1100
+ email: {
1101
+ required: true;
1102
+ label: string;
1103
+ type: "string";
1104
+ placeholder: string;
1105
+ example: string;
1106
+ comments: string;
1107
+ clean: (value: unknown, defaultValue?: string) => string;
1108
+ };
1109
+ optInStatus: {
1110
+ label: string;
1111
+ type: "boolean";
1112
+ required: true;
1113
+ default: string;
1114
+ comments: string;
1115
+ clean: (value: unknown, defaultValue?: boolean) => boolean;
1116
+ };
1117
+ company: {
1118
+ label: string;
1119
+ type: "string";
1120
+ required: false;
1121
+ placeholder: string;
1122
+ example: string;
1123
+ comments: string;
1124
+ clean: (value: unknown, defaultValue?: string) => string;
1125
+ };
1126
+ firstName: {
1127
+ label: string;
1128
+ type: "string";
1129
+ required: false;
1130
+ placeholder: string;
1131
+ example: string;
1132
+ comments: string;
1133
+ clean: (value: unknown, defaultValue?: string) => string;
1134
+ };
1135
+ lastName: {
1136
+ label: string;
1137
+ type: "string";
1138
+ required: false;
1139
+ placeholder: string;
1140
+ example: string;
1141
+ comments: string;
1142
+ clean: (value: unknown, defaultValue?: string) => string;
1143
+ };
1144
+ address1: {
1145
+ label: string;
1146
+ type: "string";
1147
+ required: false;
1148
+ placeholder: string;
1149
+ example: string;
1150
+ comments: string;
1151
+ clean: (value: unknown, defaultValue?: string) => string;
1152
+ };
1153
+ address2: {
1154
+ label: string;
1155
+ type: "string";
1156
+ required: false;
1157
+ placeholder: string;
1158
+ example: string;
1159
+ comments: string;
1160
+ clean: (value: unknown, defaultValue?: string) => string;
1161
+ };
1162
+ city: {
1163
+ label: string;
1164
+ type: "string";
1165
+ required: false;
1166
+ placeholder: string;
1167
+ example: string;
1168
+ comments: string;
1169
+ clean: (value: unknown, defaultValue?: string) => string;
1170
+ };
1171
+ countryCode: {
1172
+ label: string;
1173
+ type: "string";
1174
+ required: false;
1175
+ placeholder: string;
1176
+ example: string;
1177
+ comments: string;
1178
+ clean: (value: unknown, defaultValue?: string) => string;
1179
+ };
1180
+ provinceCode: {
1181
+ label: string;
1182
+ type: "string";
1183
+ required: false;
1184
+ placeholder: string;
1185
+ example: string;
1186
+ comments: string;
1187
+ clean: (value: unknown, defaultValue?: string) => string;
1188
+ };
1189
+ postalCode: {
1190
+ label: string;
1191
+ type: "string";
1192
+ required: false;
1193
+ placeholder: string;
1194
+ example: string;
1195
+ comments: string;
1196
+ clean: (value: unknown, defaultValue?: string) => string;
1197
+ };
1198
+ province: {
1199
+ label: string;
1200
+ type: "string";
1201
+ required: false;
1202
+ placeholder: string;
1203
+ example: string;
1204
+ comments: string;
1205
+ clean: (value: unknown, defaultValue?: string) => string;
1206
+ };
1207
+ country: {
1208
+ label: string;
1209
+ type: "string";
1210
+ required: false;
1211
+ placeholder: string;
1212
+ example: string;
1213
+ comments: string;
1214
+ clean: (value: unknown, defaultValue?: string) => string;
1215
+ };
1216
+ connection: {
1217
+ label: string;
1218
+ type: "connection";
1219
+ required: true;
1220
+ comments: string;
1221
+ };
1222
+ }, import("@prismatic-io/spectral").ConfigVarResultCollection, boolean, {
1223
+ data: any;
1224
+ }>;
1225
+ deleteCustomer: import("@prismatic-io/spectral").ActionDefinition<{
1226
+ storeId: {
1227
+ required: true;
1228
+ label: string;
1229
+ type: "string";
1230
+ placeholder: string;
1231
+ example: string;
1232
+ comments: string;
1233
+ dataSource: string;
1234
+ clean: (value: unknown, defaultValue?: string) => string;
1235
+ };
1236
+ customerId: {
1237
+ required: true;
1238
+ label: string;
1239
+ type: "string";
1240
+ placeholder: string;
1241
+ example: string;
1242
+ comments: string;
1243
+ dataSource: string;
1244
+ clean: (value: unknown) => string | undefined;
1245
+ };
1246
+ connection: {
1247
+ label: string;
1248
+ type: "connection";
1249
+ required: true;
1250
+ comments: string;
1251
+ };
1252
+ }, import("@prismatic-io/spectral").ConfigVarResultCollection, boolean, {
1253
+ data: any;
1254
+ }>;
1255
+ updateCustomer: import("@prismatic-io/spectral").ActionDefinition<{
1256
+ storeId: {
1257
+ required: true;
1258
+ label: string;
1259
+ type: "string";
1260
+ placeholder: string;
1261
+ example: string;
1262
+ comments: string;
1263
+ dataSource: string;
1264
+ clean: (value: unknown, defaultValue?: string) => string;
1265
+ };
1266
+ customerId: {
1267
+ required: true;
1268
+ label: string;
1269
+ type: "string";
1270
+ placeholder: string;
1271
+ example: string;
1272
+ comments: string;
1273
+ dataSource: string;
1274
+ clean: (value: unknown) => string | undefined;
1275
+ };
1276
+ optInStatus: {
1277
+ label: string;
1278
+ type: "boolean";
1279
+ required: true;
1280
+ default: string;
1281
+ comments: string;
1282
+ clean: (value: unknown, defaultValue?: boolean) => boolean;
1283
+ };
1284
+ company: {
1285
+ label: string;
1286
+ type: "string";
1287
+ required: false;
1288
+ placeholder: string;
1289
+ example: string;
1290
+ comments: string;
1291
+ clean: (value: unknown, defaultValue?: string) => string;
1292
+ };
1293
+ firstName: {
1294
+ label: string;
1295
+ type: "string";
1296
+ required: false;
1297
+ placeholder: string;
1298
+ example: string;
1299
+ comments: string;
1300
+ clean: (value: unknown, defaultValue?: string) => string;
1301
+ };
1302
+ lastName: {
1303
+ label: string;
1304
+ type: "string";
1305
+ required: false;
1306
+ placeholder: string;
1307
+ example: string;
1308
+ comments: string;
1309
+ clean: (value: unknown, defaultValue?: string) => string;
1310
+ };
1311
+ address1: {
1312
+ label: string;
1313
+ type: "string";
1314
+ required: false;
1315
+ placeholder: string;
1316
+ example: string;
1317
+ comments: string;
1318
+ clean: (value: unknown, defaultValue?: string) => string;
1319
+ };
1320
+ address2: {
1321
+ label: string;
1322
+ type: "string";
1323
+ required: false;
1324
+ placeholder: string;
1325
+ example: string;
1326
+ comments: string;
1327
+ clean: (value: unknown, defaultValue?: string) => string;
1328
+ };
1329
+ city: {
1330
+ label: string;
1331
+ type: "string";
1332
+ required: false;
1333
+ placeholder: string;
1334
+ example: string;
1335
+ comments: string;
1336
+ clean: (value: unknown, defaultValue?: string) => string;
1337
+ };
1338
+ province: {
1339
+ label: string;
1340
+ type: "string";
1341
+ required: false;
1342
+ placeholder: string;
1343
+ example: string;
1344
+ comments: string;
1345
+ clean: (value: unknown, defaultValue?: string) => string;
1346
+ };
1347
+ provinceCode: {
1348
+ label: string;
1349
+ type: "string";
1350
+ required: false;
1351
+ placeholder: string;
1352
+ example: string;
1353
+ comments: string;
1354
+ clean: (value: unknown, defaultValue?: string) => string;
1355
+ };
1356
+ postalCode: {
1357
+ label: string;
1358
+ type: "string";
1359
+ required: false;
1360
+ placeholder: string;
1361
+ example: string;
1362
+ comments: string;
1363
+ clean: (value: unknown, defaultValue?: string) => string;
1364
+ };
1365
+ country: {
1366
+ label: string;
1367
+ type: "string";
1368
+ required: false;
1369
+ placeholder: string;
1370
+ example: string;
1371
+ comments: string;
1372
+ clean: (value: unknown, defaultValue?: string) => string;
1373
+ };
1374
+ countryCode: {
1375
+ label: string;
1376
+ type: "string";
1377
+ required: false;
1378
+ placeholder: string;
1379
+ example: string;
1380
+ comments: string;
1381
+ clean: (value: unknown, defaultValue?: string) => string;
1382
+ };
1383
+ connection: {
1384
+ label: string;
1385
+ type: "connection";
1386
+ required: true;
1387
+ comments: string;
1388
+ };
1389
+ }, import("@prismatic-io/spectral").ConfigVarResultCollection, boolean, {
1390
+ data: any;
1391
+ }>;
1392
+ listCustomers: import("@prismatic-io/spectral").ActionDefinition<{
1393
+ storeId: {
1394
+ required: true;
1395
+ label: string;
1396
+ type: "string";
1397
+ placeholder: string;
1398
+ example: string;
1399
+ comments: string;
1400
+ dataSource: string;
1401
+ clean: (value: unknown, defaultValue?: string) => string;
1402
+ };
1403
+ count: {
1404
+ label: string;
1405
+ type: "string";
1406
+ required: false;
1407
+ placeholder: string;
1408
+ example: string;
1409
+ comments: string;
1410
+ clean: (value: unknown) => number | undefined;
1411
+ };
1412
+ offset: {
1413
+ label: string;
1414
+ type: "string";
1415
+ required: false;
1416
+ placeholder: string;
1417
+ example: string;
1418
+ comments: string;
1419
+ clean: (value: unknown) => number | undefined;
1420
+ };
1421
+ fetchAll: {
1422
+ label: string;
1423
+ type: "boolean";
1424
+ required: false;
1425
+ default: string;
1426
+ comments: string;
1427
+ clean: (value: unknown, defaultValue?: boolean) => boolean;
1428
+ };
1429
+ connection: {
1430
+ label: string;
1431
+ type: "connection";
1432
+ required: true;
1433
+ comments: string;
1434
+ };
1435
+ }, import("@prismatic-io/spectral").ConfigVarResultCollection, boolean, {
1436
+ data: Record<string, unknown>;
1437
+ }>;
1438
+ getCustomerInfo: import("@prismatic-io/spectral").ActionDefinition<{
1439
+ storeId: {
1440
+ required: true;
1441
+ label: string;
1442
+ type: "string";
1443
+ placeholder: string;
1444
+ example: string;
1445
+ comments: string;
1446
+ dataSource: string;
1447
+ clean: (value: unknown, defaultValue?: string) => string;
1448
+ };
1449
+ customerId: {
1450
+ required: true;
1451
+ label: string;
1452
+ type: "string";
1453
+ placeholder: string;
1454
+ example: string;
1455
+ comments: string;
1456
+ dataSource: string;
1457
+ clean: (value: unknown) => string | undefined;
1458
+ };
1459
+ connection: {
1460
+ label: string;
1461
+ type: "connection";
1462
+ required: true;
1463
+ comments: string;
1464
+ };
1465
+ }, import("@prismatic-io/spectral").ConfigVarResultCollection, boolean, {
1466
+ data: any;
1467
+ }>;
1468
+ listProducts: import("@prismatic-io/spectral").ActionDefinition<{
1469
+ storeId: {
1470
+ required: true;
1471
+ label: string;
1472
+ type: "string";
1473
+ placeholder: string;
1474
+ example: string;
1475
+ comments: string;
1476
+ dataSource: string;
1477
+ clean: (value: unknown, defaultValue?: string) => string;
1478
+ };
1479
+ count: {
1480
+ label: string;
1481
+ type: "string";
1482
+ required: false;
1483
+ placeholder: string;
1484
+ example: string;
1485
+ comments: string;
1486
+ clean: (value: unknown) => number | undefined;
1487
+ };
1488
+ offset: {
1489
+ label: string;
1490
+ type: "string";
1491
+ required: false;
1492
+ placeholder: string;
1493
+ example: string;
1494
+ comments: string;
1495
+ clean: (value: unknown) => number | undefined;
1496
+ };
1497
+ fetchAll: {
1498
+ label: string;
1499
+ type: "boolean";
1500
+ required: false;
1501
+ default: string;
1502
+ comments: string;
1503
+ clean: (value: unknown, defaultValue?: boolean) => boolean;
1504
+ };
1505
+ connection: {
1506
+ label: string;
1507
+ type: "connection";
1508
+ required: true;
1509
+ comments: string;
1510
+ };
1511
+ }, import("@prismatic-io/spectral").ConfigVarResultCollection, boolean, {
1512
+ data: Record<string, unknown>;
1513
+ }>;
1514
+ deleteProduct: import("@prismatic-io/spectral").ActionDefinition<{
1515
+ storeId: {
1516
+ required: true;
1517
+ label: string;
1518
+ type: "string";
1519
+ placeholder: string;
1520
+ example: string;
1521
+ comments: string;
1522
+ dataSource: string;
1523
+ clean: (value: unknown, defaultValue?: string) => string;
1524
+ };
1525
+ productId: {
1526
+ label: string;
1527
+ type: "string";
1528
+ required: true;
1529
+ placeholder: string;
1530
+ example: string;
1531
+ comments: string;
1532
+ dataSource: string;
1533
+ clean: (value: unknown, defaultValue?: string) => string;
1534
+ };
1535
+ connection: {
1536
+ label: string;
1537
+ type: "connection";
1538
+ required: true;
1539
+ comments: string;
1540
+ };
1541
+ }, import("@prismatic-io/spectral").ConfigVarResultCollection, boolean, {
1542
+ data: any;
1543
+ }>;
1544
+ listOrders: import("@prismatic-io/spectral").ActionDefinition<{
1545
+ storeId: {
1546
+ required: true;
1547
+ label: string;
1548
+ type: "string";
1549
+ placeholder: string;
1550
+ example: string;
1551
+ comments: string;
1552
+ dataSource: string;
1553
+ clean: (value: unknown, defaultValue?: string) => string;
1554
+ };
1555
+ count: {
1556
+ label: string;
1557
+ type: "string";
1558
+ required: false;
1559
+ placeholder: string;
1560
+ example: string;
1561
+ comments: string;
1562
+ clean: (value: unknown) => number | undefined;
1563
+ };
1564
+ offset: {
1565
+ label: string;
1566
+ type: "string";
1567
+ required: false;
1568
+ placeholder: string;
1569
+ example: string;
1570
+ comments: string;
1571
+ clean: (value: unknown) => number | undefined;
1572
+ };
1573
+ fetchAll: {
1574
+ label: string;
1575
+ type: "boolean";
1576
+ required: false;
1577
+ default: string;
1578
+ comments: string;
1579
+ clean: (value: unknown, defaultValue?: boolean) => boolean;
1580
+ };
1581
+ connection: {
1582
+ label: string;
1583
+ type: "connection";
1584
+ required: true;
1585
+ comments: string;
1586
+ };
1587
+ }, import("@prismatic-io/spectral").ConfigVarResultCollection, boolean, {
1588
+ data: Record<string, unknown>;
1589
+ }>;
1590
+ deleteOrder: import("@prismatic-io/spectral").ActionDefinition<{
1591
+ orderId: {
1592
+ required: true;
1593
+ label: string;
1594
+ type: "string";
1595
+ placeholder: string;
1596
+ example: string;
1597
+ comments: string;
1598
+ dataSource: string;
1599
+ };
1600
+ storeId: {
1601
+ required: true;
1602
+ label: string;
1603
+ type: "string";
1604
+ placeholder: string;
1605
+ example: string;
1606
+ comments: string;
1607
+ dataSource: string;
1608
+ clean: (value: unknown, defaultValue?: string) => string;
1609
+ };
1610
+ connection: {
1611
+ label: string;
1612
+ type: "connection";
1613
+ required: true;
1614
+ comments: string;
1615
+ };
1616
+ }, import("@prismatic-io/spectral").ConfigVarResultCollection, boolean, {
1617
+ data: any;
1618
+ }>;
1619
+ getOrderInfo: import("@prismatic-io/spectral").ActionDefinition<{
1620
+ storeId: {
1621
+ required: true;
1622
+ label: string;
1623
+ type: "string";
1624
+ placeholder: string;
1625
+ example: string;
1626
+ comments: string;
1627
+ dataSource: string;
1628
+ clean: (value: unknown, defaultValue?: string) => string;
1629
+ };
1630
+ orderId: {
1631
+ required: true;
1632
+ label: string;
1633
+ type: "string";
1634
+ placeholder: string;
1635
+ example: string;
1636
+ comments: string;
1637
+ dataSource: string;
1638
+ };
1639
+ connection: {
1640
+ label: string;
1641
+ type: "connection";
1642
+ required: true;
1643
+ comments: string;
1644
+ };
1645
+ }, import("@prismatic-io/spectral").ConfigVarResultCollection, boolean, {
1646
+ data: any;
1647
+ }>;
1648
+ listAccountOrders: import("@prismatic-io/spectral").ActionDefinition<{
1649
+ connection: {
1650
+ label: string;
1651
+ type: "connection";
1652
+ required: true;
1653
+ comments: string;
1654
+ };
1655
+ count: {
1656
+ label: string;
1657
+ type: "string";
1658
+ required: false;
1659
+ placeholder: string;
1660
+ example: string;
1661
+ comments: string;
1662
+ clean: (value: unknown) => number | undefined;
1663
+ };
1664
+ offset: {
1665
+ label: string;
1666
+ type: "string";
1667
+ required: false;
1668
+ placeholder: string;
1669
+ example: string;
1670
+ comments: string;
1671
+ clean: (value: unknown) => number | undefined;
1672
+ };
1673
+ fetchAll: {
1674
+ label: string;
1675
+ type: "boolean";
1676
+ required: false;
1677
+ default: string;
1678
+ comments: string;
1679
+ clean: (value: unknown, defaultValue?: boolean) => boolean;
1680
+ };
1681
+ }, import("@prismatic-io/spectral").ConfigVarResultCollection, boolean, {
1682
+ data: Record<string, unknown>;
1683
+ }>;
1684
+ deleteOrderLineItem: import("@prismatic-io/spectral").ActionDefinition<{
1685
+ orderId: {
1686
+ required: true;
1687
+ label: string;
1688
+ type: "string";
1689
+ placeholder: string;
1690
+ example: string;
1691
+ comments: string;
1692
+ dataSource: string;
1693
+ };
1694
+ storeId: {
1695
+ required: true;
1696
+ label: string;
1697
+ type: "string";
1698
+ placeholder: string;
1699
+ example: string;
1700
+ comments: string;
1701
+ dataSource: string;
1702
+ clean: (value: unknown, defaultValue?: string) => string;
1703
+ };
1704
+ lineId: {
1705
+ required: true;
1706
+ label: string;
1707
+ type: "string";
1708
+ placeholder: string;
1709
+ example: string;
1710
+ comments: string;
1711
+ dataSource: string;
1712
+ };
1713
+ connection: {
1714
+ label: string;
1715
+ type: "connection";
1716
+ required: true;
1717
+ comments: string;
1718
+ };
1719
+ }, import("@prismatic-io/spectral").ConfigVarResultCollection, boolean, {
1720
+ data: any;
1721
+ }>;
1722
+ getOrderLineItem: import("@prismatic-io/spectral").ActionDefinition<{
1723
+ orderId: {
1724
+ required: true;
1725
+ label: string;
1726
+ type: "string";
1727
+ placeholder: string;
1728
+ example: string;
1729
+ comments: string;
1730
+ dataSource: string;
1731
+ };
1732
+ storeId: {
1733
+ required: true;
1734
+ label: string;
1735
+ type: "string";
1736
+ placeholder: string;
1737
+ example: string;
1738
+ comments: string;
1739
+ dataSource: string;
1740
+ clean: (value: unknown, defaultValue?: string) => string;
1741
+ };
1742
+ lineId: {
1743
+ label: string;
1744
+ type: "string";
1745
+ required: true;
1746
+ placeholder: string;
1747
+ example: string;
1748
+ comments: string;
1749
+ dataSource: string;
1750
+ };
1751
+ connection: {
1752
+ label: string;
1753
+ type: "connection";
1754
+ required: true;
1755
+ comments: string;
1756
+ };
1757
+ }, import("@prismatic-io/spectral").ConfigVarResultCollection, boolean, {
1758
+ data: any;
1759
+ }>;
1760
+ listOrderLineItems: import("@prismatic-io/spectral").ActionDefinition<{
1761
+ storeId: {
1762
+ required: true;
1763
+ label: string;
1764
+ type: "string";
1765
+ placeholder: string;
1766
+ example: string;
1767
+ comments: string;
1768
+ dataSource: string;
1769
+ clean: (value: unknown, defaultValue?: string) => string;
1770
+ };
1771
+ orderId: {
1772
+ required: true;
1773
+ label: string;
1774
+ type: "string";
1775
+ placeholder: string;
1776
+ example: string;
1777
+ comments: string;
1778
+ dataSource: string;
1779
+ };
1780
+ count: {
1781
+ label: string;
1782
+ type: "string";
1783
+ required: false;
1784
+ placeholder: string;
1785
+ example: string;
1786
+ comments: string;
1787
+ clean: (value: unknown) => number | undefined;
1788
+ };
1789
+ offset: {
1790
+ label: string;
1791
+ type: "string";
1792
+ required: false;
1793
+ placeholder: string;
1794
+ example: string;
1795
+ comments: string;
1796
+ clean: (value: unknown) => number | undefined;
1797
+ };
1798
+ fetchAll: {
1799
+ label: string;
1800
+ type: "boolean";
1801
+ required: false;
1802
+ default: string;
1803
+ comments: string;
1804
+ clean: (value: unknown, defaultValue?: boolean) => boolean;
1805
+ };
1806
+ connection: {
1807
+ label: string;
1808
+ type: "connection";
1809
+ required: true;
1810
+ comments: string;
1811
+ };
1812
+ }, import("@prismatic-io/spectral").ConfigVarResultCollection, boolean, {
1813
+ data: Record<string, unknown>;
1814
+ }>;
1815
+ deleteCart: import("@prismatic-io/spectral").ActionDefinition<{
1816
+ storeId: {
1817
+ required: true;
1818
+ label: string;
1819
+ type: "string";
1820
+ placeholder: string;
1821
+ example: string;
1822
+ comments: string;
1823
+ dataSource: string;
1824
+ clean: (value: unknown, defaultValue?: string) => string;
1825
+ };
1826
+ cartId: {
1827
+ label: string;
1828
+ type: "string";
1829
+ required: true;
1830
+ placeholder: string;
1831
+ example: string;
1832
+ comments: string;
1833
+ dataSource: string;
1834
+ };
1835
+ connection: {
1836
+ label: string;
1837
+ type: "connection";
1838
+ required: true;
1839
+ comments: string;
1840
+ };
1841
+ }, import("@prismatic-io/spectral").ConfigVarResultCollection, boolean, {
1842
+ data: any;
1843
+ }>;
1844
+ listCarts: import("@prismatic-io/spectral").ActionDefinition<{
1845
+ storeId: {
1846
+ required: true;
1847
+ label: string;
1848
+ type: "string";
1849
+ placeholder: string;
1850
+ example: string;
1851
+ comments: string;
1852
+ dataSource: string;
1853
+ clean: (value: unknown, defaultValue?: string) => string;
1854
+ };
1855
+ offset: {
1856
+ label: string;
1857
+ type: "string";
1858
+ required: false;
1859
+ placeholder: string;
1860
+ example: string;
1861
+ comments: string;
1862
+ clean: (value: unknown) => number | undefined;
1863
+ };
1864
+ count: {
1865
+ label: string;
1866
+ type: "string";
1867
+ required: false;
1868
+ placeholder: string;
1869
+ example: string;
1870
+ comments: string;
1871
+ clean: (value: unknown) => number | undefined;
1872
+ };
1873
+ fetchAll: {
1874
+ label: string;
1875
+ type: "boolean";
1876
+ required: false;
1877
+ default: string;
1878
+ comments: string;
1879
+ clean: (value: unknown, defaultValue?: boolean) => boolean;
1880
+ };
1881
+ connection: {
1882
+ label: string;
1883
+ type: "connection";
1884
+ required: true;
1885
+ comments: string;
1886
+ };
1887
+ }, import("@prismatic-io/spectral").ConfigVarResultCollection, boolean, {
1888
+ data: Record<string, unknown>;
1889
+ }>;
1890
+ getCart: import("@prismatic-io/spectral").ActionDefinition<{
1891
+ storeId: {
1892
+ required: true;
1893
+ label: string;
1894
+ type: "string";
1895
+ placeholder: string;
1896
+ example: string;
1897
+ comments: string;
1898
+ dataSource: string;
1899
+ clean: (value: unknown, defaultValue?: string) => string;
1900
+ };
1901
+ cartId: {
1902
+ label: string;
1903
+ type: "string";
1904
+ required: true;
1905
+ placeholder: string;
1906
+ example: string;
1907
+ comments: string;
1908
+ dataSource: string;
1909
+ };
1910
+ connection: {
1911
+ label: string;
1912
+ type: "connection";
1913
+ required: true;
1914
+ comments: string;
1915
+ };
1916
+ }, import("@prismatic-io/spectral").ConfigVarResultCollection, boolean, {
1917
+ data: any;
1918
+ }>;
1919
+ deleteCartLineItem: import("@prismatic-io/spectral").ActionDefinition<{
1920
+ storeId: {
1921
+ required: true;
1922
+ label: string;
1923
+ type: "string";
1924
+ placeholder: string;
1925
+ example: string;
1926
+ comments: string;
1927
+ dataSource: string;
1928
+ clean: (value: unknown, defaultValue?: string) => string;
1929
+ };
1930
+ cartId: {
1931
+ label: string;
1932
+ type: "string";
1933
+ required: true;
1934
+ placeholder: string;
1935
+ example: string;
1936
+ comments: string;
1937
+ dataSource: string;
1938
+ };
1939
+ lineId: {
1940
+ label: string;
1941
+ type: "string";
1942
+ required: true;
1943
+ placeholder: string;
1944
+ example: string;
1945
+ comments: string;
1946
+ dataSource: string;
1947
+ };
1948
+ connection: {
1949
+ label: string;
1950
+ type: "connection";
1951
+ required: true;
1952
+ comments: string;
1953
+ };
1954
+ }, import("@prismatic-io/spectral").ConfigVarResultCollection, boolean, {
1955
+ data: any;
1956
+ }>;
1957
+ getCartLineItem: import("@prismatic-io/spectral").ActionDefinition<{
1958
+ storeId: {
1959
+ required: true;
1960
+ label: string;
1961
+ type: "string";
1962
+ placeholder: string;
1963
+ example: string;
1964
+ comments: string;
1965
+ dataSource: string;
1966
+ clean: (value: unknown, defaultValue?: string) => string;
1967
+ };
1968
+ cartId: {
1969
+ label: string;
1970
+ type: "string";
1971
+ required: true;
1972
+ placeholder: string;
1973
+ example: string;
1974
+ comments: string;
1975
+ dataSource: string;
1976
+ };
1977
+ lineId: {
1978
+ label: string;
1979
+ type: "string";
1980
+ required: true;
1981
+ placeholder: string;
1982
+ example: string;
1983
+ comments: string;
1984
+ dataSource: string;
1985
+ };
1986
+ connection: {
1987
+ label: string;
1988
+ type: "connection";
1989
+ required: true;
1990
+ comments: string;
1991
+ };
1992
+ }, import("@prismatic-io/spectral").ConfigVarResultCollection, boolean, {
1993
+ data: any;
1994
+ }>;
1995
+ listCartLineItem: import("@prismatic-io/spectral").ActionDefinition<{
1996
+ storeId: {
1997
+ required: true;
1998
+ label: string;
1999
+ type: "string";
2000
+ placeholder: string;
2001
+ example: string;
2002
+ comments: string;
2003
+ dataSource: string;
2004
+ clean: (value: unknown, defaultValue?: string) => string;
2005
+ };
2006
+ cartId: {
2007
+ label: string;
2008
+ type: "string";
2009
+ required: true;
2010
+ placeholder: string;
2011
+ example: string;
2012
+ comments: string;
2013
+ dataSource: string;
2014
+ };
2015
+ count: {
2016
+ label: string;
2017
+ type: "string";
2018
+ required: false;
2019
+ placeholder: string;
2020
+ example: string;
2021
+ comments: string;
2022
+ clean: (value: unknown) => number | undefined;
2023
+ };
2024
+ offset: {
2025
+ label: string;
2026
+ type: "string";
2027
+ required: false;
2028
+ placeholder: string;
2029
+ example: string;
2030
+ comments: string;
2031
+ clean: (value: unknown) => number | undefined;
2032
+ };
2033
+ fetchAll: {
2034
+ label: string;
2035
+ type: "boolean";
2036
+ required: false;
2037
+ default: string;
2038
+ comments: string;
2039
+ clean: (value: unknown, defaultValue?: boolean) => boolean;
2040
+ };
2041
+ connection: {
2042
+ label: string;
2043
+ type: "connection";
2044
+ required: true;
2045
+ comments: string;
2046
+ };
2047
+ }, import("@prismatic-io/spectral").ConfigVarResultCollection, boolean, {
2048
+ data: Record<string, unknown>;
2049
+ }>;
2050
+ rawRequest: import("@prismatic-io/spectral").ActionDefinition<{
2051
+ url: {
2052
+ comments: string;
2053
+ example: string;
2054
+ label: string;
2055
+ placeholder: string;
2056
+ type: "string";
2057
+ required: true;
2058
+ clean: (value: unknown) => string;
2059
+ };
2060
+ method: {
2061
+ label: string;
2062
+ type: "string";
2063
+ required: true;
2064
+ model: {
2065
+ label: Method;
2066
+ value: Method;
2067
+ }[];
2068
+ comments: string;
2069
+ clean: (value: unknown) => string;
2070
+ };
2071
+ data: {
2072
+ label: string;
2073
+ placeholder: string;
2074
+ type: "string";
2075
+ required: false;
2076
+ comments: string;
2077
+ example: string;
2078
+ };
2079
+ formData: {
2080
+ label: string;
2081
+ placeholder: string;
2082
+ type: "string";
2083
+ collection: "keyvaluelist";
2084
+ required: false;
2085
+ comments: string;
2086
+ example: string;
2087
+ };
2088
+ fileData: {
2089
+ label: string;
2090
+ placeholder: string;
2091
+ type: "string";
2092
+ collection: "keyvaluelist";
2093
+ required: false;
2094
+ comments: string;
2095
+ example: string;
2096
+ };
2097
+ fileDataFileNames: {
2098
+ label: string;
2099
+ placeholder: string;
2100
+ type: "string";
2101
+ collection: "keyvaluelist";
2102
+ required: false;
2103
+ comments: string;
2104
+ clean: (values: any) => Record<string, string> | undefined;
2105
+ };
2106
+ queryParams: {
2107
+ label: string;
2108
+ placeholder: string;
2109
+ type: "string";
2110
+ collection: "keyvaluelist";
2111
+ required: false;
2112
+ comments: string;
2113
+ };
2114
+ headers: {
2115
+ label: string;
2116
+ placeholder: string;
2117
+ type: "string";
2118
+ collection: "keyvaluelist";
2119
+ required: false;
2120
+ comments: string;
2121
+ example: string;
2122
+ };
2123
+ responseType: {
2124
+ label: string;
2125
+ placeholder: string;
2126
+ type: "string";
2127
+ default: string;
2128
+ required: true;
2129
+ comments: string;
2130
+ model: {
2131
+ label: ResponseType;
2132
+ value: ResponseType;
2133
+ }[];
2134
+ clean: (value: unknown) => ResponseType;
2135
+ };
2136
+ timeout: {
2137
+ label: string;
2138
+ type: "string";
2139
+ required: false;
2140
+ comments: string;
2141
+ example: string;
2142
+ clean: (value: unknown) => number;
2143
+ };
2144
+ retryDelayMS: {
2145
+ label: string;
2146
+ placeholder: string;
2147
+ type: "string";
2148
+ required: false;
2149
+ comments: string;
2150
+ default: string;
2151
+ clean: (value: unknown) => number;
2152
+ };
2153
+ retryAllErrors: {
2154
+ label: string;
2155
+ type: "boolean";
2156
+ default: string;
2157
+ required: false;
2158
+ comments: string;
2159
+ clean: (value: unknown) => boolean;
2160
+ };
2161
+ maxRetries: {
2162
+ label: string;
2163
+ placeholder: string;
2164
+ type: "string";
2165
+ required: false;
2166
+ comments: string;
2167
+ default: string;
2168
+ clean: (value: unknown) => number;
2169
+ };
2170
+ useExponentialBackoff: {
2171
+ label: string;
2172
+ type: "boolean";
2173
+ default: string;
2174
+ required: false;
2175
+ comments: string;
2176
+ clean: (value: unknown) => boolean;
2177
+ };
2178
+ connection: {
2179
+ label: string;
2180
+ type: "connection";
2181
+ required: true;
2182
+ comments: string;
2183
+ };
2184
+ }, import("@prismatic-io/spectral").ConfigVarResultCollection, boolean, {
2185
+ data: any;
2186
+ }>;
2187
+ };
2188
+ connections: (import("@prismatic-io/spectral").KeyedConnection<{
2189
+ oauth2Type: import("@prismatic-io/spectral").OAuth2Type.AuthorizationCode;
2190
+ key: "oauth2";
2191
+ display: {
2192
+ label: string;
2193
+ description: string;
2194
+ };
2195
+ inputs: {
2196
+ authorizeUrl: {
2197
+ label: string;
2198
+ placeholder: string;
2199
+ type: "string";
2200
+ required: true;
2201
+ shown: false;
2202
+ comments: string;
2203
+ default: string;
2204
+ };
2205
+ tokenUrl: {
2206
+ label: string;
2207
+ placeholder: string;
2208
+ type: "string";
2209
+ required: true;
2210
+ shown: false;
2211
+ comments: string;
2212
+ default: string;
2213
+ };
2214
+ scopes: {
2215
+ label: string;
2216
+ placeholder: string;
2217
+ type: "string";
2218
+ required: false;
2219
+ shown: false;
2220
+ comments: string;
2221
+ default: string;
2222
+ };
2223
+ clientId: {
2224
+ label: string;
2225
+ placeholder: string;
2226
+ type: "string";
2227
+ required: true;
2228
+ shown: true;
2229
+ comments: string;
2230
+ example: string;
2231
+ };
2232
+ clientSecret: {
2233
+ label: string;
2234
+ placeholder: string;
2235
+ type: "password";
2236
+ required: true;
2237
+ shown: true;
2238
+ comments: string;
2239
+ example: string;
2240
+ };
2241
+ debugRequest: {
2242
+ label: string;
2243
+ comments: string;
2244
+ type: "boolean";
2245
+ default: string;
2246
+ };
2247
+ };
2248
+ }, "oauth2"> | import("@prismatic-io/spectral").KeyedConnection<{
2249
+ key: "apiKey";
2250
+ display: {
2251
+ label: string;
2252
+ description: string;
2253
+ };
2254
+ inputs: {
2255
+ apiKey: {
2256
+ label: string;
2257
+ placeholder: string;
2258
+ type: "password";
2259
+ required: true;
2260
+ shown: true;
2261
+ comments: string;
2262
+ example: string;
2263
+ };
2264
+ debugRequest: {
2265
+ label: string;
2266
+ comments: string;
2267
+ type: "boolean";
2268
+ default: string;
2269
+ };
2270
+ };
2271
+ }, "apiKey">)[];
2272
+ dataSources: {
2273
+ selectList: import("@prismatic-io/spectral").DataSourceDefinition<{
2274
+ connection: {
2275
+ label: string;
2276
+ type: "connection";
2277
+ required: true;
2278
+ comments: string;
2279
+ };
2280
+ }, import("@prismatic-io/spectral").ConfigVarResultCollection, "picklist">;
2281
+ selectStore: import("@prismatic-io/spectral").DataSourceDefinition<{
2282
+ connection: {
2283
+ label: string;
2284
+ type: "connection";
2285
+ required: true;
2286
+ comments: string;
2287
+ };
2288
+ }, import("@prismatic-io/spectral").ConfigVarResultCollection, "picklist">;
2289
+ selectCampaign: import("@prismatic-io/spectral").DataSourceDefinition<{
2290
+ connection: {
2291
+ label: string;
2292
+ type: "connection";
2293
+ required: true;
2294
+ comments: string;
2295
+ };
2296
+ }, import("@prismatic-io/spectral").ConfigVarResultCollection, "picklist">;
2297
+ selectCustomer: import("@prismatic-io/spectral").DataSourceDefinition<{
2298
+ connection: {
2299
+ label: string;
2300
+ type: "connection";
2301
+ required: true;
2302
+ comments: string;
2303
+ };
2304
+ storeId: {
2305
+ required: true;
2306
+ dataSource: any;
2307
+ label: string;
2308
+ type: "string";
2309
+ placeholder: string;
2310
+ example: string;
2311
+ comments: string;
2312
+ clean: (value: unknown, defaultValue?: string) => string;
2313
+ };
2314
+ }, import("@prismatic-io/spectral").ConfigVarResultCollection, "picklist">;
2315
+ selectProduct: import("@prismatic-io/spectral").DataSourceDefinition<{
2316
+ connection: {
2317
+ label: string;
2318
+ type: "connection";
2319
+ required: true;
2320
+ comments: string;
2321
+ };
2322
+ storeId: {
2323
+ required: true;
2324
+ dataSource: any;
2325
+ label: string;
2326
+ type: "string";
2327
+ placeholder: string;
2328
+ example: string;
2329
+ comments: string;
2330
+ clean: (value: unknown, defaultValue?: string) => string;
2331
+ };
2332
+ }, import("@prismatic-io/spectral").ConfigVarResultCollection, "picklist">;
2333
+ selectMember: import("@prismatic-io/spectral").DataSourceDefinition<{
2334
+ connection: {
2335
+ label: string;
2336
+ type: "connection";
2337
+ required: true;
2338
+ comments: string;
2339
+ };
2340
+ listId: {
2341
+ dataSource: any;
2342
+ label: string;
2343
+ type: "string";
2344
+ required: true;
2345
+ placeholder: string;
2346
+ example: string;
2347
+ comments: string;
2348
+ clean: (value: unknown, defaultValue?: string) => string;
2349
+ };
2350
+ }, import("@prismatic-io/spectral").ConfigVarResultCollection, "picklist">;
2351
+ selectOrder: import("@prismatic-io/spectral").DataSourceDefinition<{
2352
+ connection: {
2353
+ label: string;
2354
+ type: "connection";
2355
+ required: true;
2356
+ comments: string;
2357
+ };
2358
+ storeId: {
2359
+ required: true;
2360
+ dataSource: any;
2361
+ label: string;
2362
+ type: "string";
2363
+ placeholder: string;
2364
+ example: string;
2365
+ comments: string;
2366
+ clean: (value: unknown, defaultValue?: string) => string;
2367
+ };
2368
+ }, import("@prismatic-io/spectral").ConfigVarResultCollection, "picklist">;
2369
+ selectOrderLineItem: import("@prismatic-io/spectral").DataSourceDefinition<{
2370
+ connection: {
2371
+ label: string;
2372
+ type: "connection";
2373
+ required: true;
2374
+ comments: string;
2375
+ };
2376
+ storeId: {
2377
+ required: true;
2378
+ dataSource: any;
2379
+ label: string;
2380
+ type: "string";
2381
+ placeholder: string;
2382
+ example: string;
2383
+ comments: string;
2384
+ clean: (value: unknown, defaultValue?: string) => string;
2385
+ };
2386
+ orderId: {
2387
+ dataSource: any;
2388
+ label: string;
2389
+ type: "string";
2390
+ required: false;
2391
+ placeholder: string;
2392
+ example: string;
2393
+ comments: string;
2394
+ };
2395
+ }, import("@prismatic-io/spectral").ConfigVarResultCollection, "picklist">;
2396
+ selectCart: import("@prismatic-io/spectral").DataSourceDefinition<{
2397
+ connection: {
2398
+ label: string;
2399
+ type: "connection";
2400
+ required: true;
2401
+ comments: string;
2402
+ };
2403
+ storeId: {
2404
+ required: true;
2405
+ dataSource: any;
2406
+ label: string;
2407
+ type: "string";
2408
+ placeholder: string;
2409
+ example: string;
2410
+ comments: string;
2411
+ clean: (value: unknown, defaultValue?: string) => string;
2412
+ };
2413
+ }, import("@prismatic-io/spectral").ConfigVarResultCollection, "picklist">;
2414
+ selectWebhook: import("@prismatic-io/spectral").DataSourceDefinition<{
2415
+ connection: {
2416
+ label: string;
2417
+ type: "connection";
2418
+ required: true;
2419
+ comments: string;
2420
+ };
2421
+ listId: {
2422
+ dataSource: any;
2423
+ label: string;
2424
+ type: "string";
2425
+ required: true;
2426
+ placeholder: string;
2427
+ example: string;
2428
+ comments: string;
2429
+ clean: (value: unknown, defaultValue?: string) => string;
2430
+ };
2431
+ }, import("@prismatic-io/spectral").ConfigVarResultCollection, "picklist">;
2432
+ };
2433
+ triggers: {
2434
+ listEventsWebhook: import("@prismatic-io/spectral").TriggerDefinition<{
2435
+ connection: {
2436
+ label: string;
2437
+ type: "connection";
2438
+ required: true;
2439
+ comments: string;
2440
+ };
2441
+ listId: {
2442
+ label: string;
2443
+ type: "string";
2444
+ required: true;
2445
+ placeholder: string;
2446
+ example: string;
2447
+ comments: string;
2448
+ dataSource: string;
2449
+ clean: (value: unknown, defaultValue?: string) => string;
2450
+ };
2451
+ webhookEvents: {
2452
+ label: string;
2453
+ type: "string";
2454
+ model: {
2455
+ label: string;
2456
+ value: string;
2457
+ }[];
2458
+ collection: "valuelist";
2459
+ required: true;
2460
+ comments: string;
2461
+ clean: (values: unknown) => WebhookEvents;
2462
+ };
2463
+ webhookSources: {
2464
+ label: string;
2465
+ type: "string";
2466
+ model: {
2467
+ label: string;
2468
+ value: string;
2469
+ }[];
2470
+ collection: "valuelist";
2471
+ required: true;
2472
+ comments: string;
2473
+ clean: (values: unknown) => WebhookSources;
2474
+ };
2475
+ }, import("@prismatic-io/spectral").ConfigVarResultCollection, false, {
2476
+ payload: import("@prismatic-io/spectral").TriggerPayload<Record<string, unknown>>;
2477
+ }, import("@prismatic-io/spectral").Inputs>;
2478
+ webhook: import("@prismatic-io/spectral").TriggerDefinition<{}, import("@prismatic-io/spectral").ConfigVarResultCollection, boolean, {
2479
+ payload: import("@prismatic-io/spectral").TriggerPayload<Record<string, unknown>>;
2480
+ }, import("@prismatic-io/spectral").Inputs>;
2481
+ };
2482
+ hooks: {
2483
+ error: (error: unknown) => unknown;
2484
+ };
2485
+ }>;
2486
+ export = _default;