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