@prismatic-io/components-ms-sharepoint 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,1855 @@
1
+ //#region node_modules/axios/index.d.ts
2
+ type UppercaseMethod = 'GET' | 'DELETE' | 'HEAD' | 'OPTIONS' | 'POST' | 'PUT' | 'PATCH' | 'PURGE' | 'LINK' | 'UNLINK' | 'QUERY';
3
+ type Method = (UppercaseMethod | Lowercase<UppercaseMethod>) & {};
4
+ type ResponseType = 'arraybuffer' | 'blob' | 'document' | 'json' | 'text' | 'stream' | 'formdata';
5
+ //#endregion
6
+ //#region ../../packages/ms-utils/dist/interfaces/Subscriptions.d.ts
7
+ interface GraphSubscription {
8
+ id?: string;
9
+ resource: string;
10
+ changeType: string;
11
+ notificationUrl: string;
12
+ expirationDateTime: string;
13
+ clientState?: string;
14
+ latestSupportedTlsVersion?: string;
15
+ creatorId?: string;
16
+ }
17
+ //#endregion
18
+ //#region src/actions/enums.d.ts
19
+ declare enum TriggerBranches {
20
+ Notification = "Notification",
21
+ URLValidation = "URL Validation"
22
+ }
23
+ //#endregion
24
+ //#region src/interfaces.d.ts
25
+ interface DriveItem {
26
+ id: string;
27
+ name: string;
28
+ folder?: {
29
+ childCount: number;
30
+ };
31
+ file?: {
32
+ mimeType: string;
33
+ };
34
+ size?: number;
35
+ webUrl?: string;
36
+ lastModifiedDateTime?: string;
37
+ createdDateTime?: string;
38
+ deleted?: {
39
+ state: string;
40
+ };
41
+ parentReference: {
42
+ driveId: string;
43
+ id: string;
44
+ path: string;
45
+ };
46
+ }
47
+ interface SiteDeltaCursor extends Record<string, unknown> {
48
+ remaining: string[];
49
+ nextLink?: string;
50
+ }
51
+ interface PollSiteChangesSeparatedChanges {
52
+ deleted?: DriveItem[];
53
+ added?: DriveItem[];
54
+ updated?: DriveItem[];
55
+ moved?: DriveItem[];
56
+ }
57
+ interface PollSiteChangesResult {
58
+ [key: string]: PollSiteChangesSeparatedChanges;
59
+ }
60
+ //#endregion
61
+ //#region npm-dist/.entry.d.ts
62
+ declare const _default: import("@prismatic-io/spectral").CallableComponent<{
63
+ key: "ms-sharepoint";
64
+ public: true;
65
+ documentationUrl: "https://prismatic.io/docs/components/ms-sharepoint/";
66
+ display: {
67
+ category: "Application Connectors";
68
+ label: string;
69
+ description: string;
70
+ iconPath: string;
71
+ };
72
+ hooks: {
73
+ error: (error: unknown) => unknown;
74
+ };
75
+ actions: {
76
+ listItems: import("@prismatic-io/spectral").ActionDefinition<{
77
+ connection: {
78
+ label: string;
79
+ type: "connection";
80
+ required: true;
81
+ comments: string;
82
+ };
83
+ siteId: {
84
+ required: boolean;
85
+ label: string;
86
+ type: "string";
87
+ placeholder: string;
88
+ comments: string;
89
+ dataSource: string;
90
+ example: string;
91
+ };
92
+ driveId: {
93
+ comments: string;
94
+ label: string;
95
+ type: "string";
96
+ required: true;
97
+ placeholder: string;
98
+ example: string;
99
+ dataSource: string;
100
+ clean: (value: unknown, defaultValue?: string) => string;
101
+ };
102
+ folderId: {
103
+ comments: string;
104
+ required: boolean;
105
+ label: string;
106
+ placeholder: string;
107
+ type: "string";
108
+ example: string;
109
+ dataSource: string;
110
+ clean: (value: unknown) => string;
111
+ };
112
+ }, import("@prismatic-io/spectral").ConfigVarResultCollection, boolean, {
113
+ data: any;
114
+ }>;
115
+ searchItems: import("@prismatic-io/spectral").ActionDefinition<{
116
+ connection: {
117
+ label: string;
118
+ type: "connection";
119
+ required: true;
120
+ comments: string;
121
+ };
122
+ siteId: {
123
+ comments: string;
124
+ label: string;
125
+ type: "string";
126
+ required: true;
127
+ placeholder: string;
128
+ dataSource: string;
129
+ example: string;
130
+ };
131
+ query: {
132
+ comments: string;
133
+ label: string;
134
+ type: "string";
135
+ required: true;
136
+ example: string;
137
+ placeholder: string;
138
+ clean: (value: unknown, defaultValue?: string) => string;
139
+ };
140
+ }, import("@prismatic-io/spectral").ConfigVarResultCollection, boolean, {
141
+ data: Record<string, unknown[]>;
142
+ }>;
143
+ checkItemExists: import("@prismatic-io/spectral").ActionDefinition<{
144
+ connection: {
145
+ label: string;
146
+ type: "connection";
147
+ required: true;
148
+ comments: string;
149
+ };
150
+ siteId: {
151
+ comments: string;
152
+ label: string;
153
+ type: "string";
154
+ required: true;
155
+ placeholder: string;
156
+ dataSource: string;
157
+ example: string;
158
+ };
159
+ driveId: {
160
+ comments: string;
161
+ label: string;
162
+ type: "string";
163
+ required: true;
164
+ placeholder: string;
165
+ example: string;
166
+ dataSource: string;
167
+ clean: (value: unknown, defaultValue?: string) => string;
168
+ };
169
+ itemPath: {
170
+ comments: string;
171
+ label: string;
172
+ type: "string";
173
+ required: true;
174
+ example: string;
175
+ placeholder: string;
176
+ clean: (value: unknown, defaultValue?: string) => string;
177
+ };
178
+ }, import("@prismatic-io/spectral").ConfigVarResultCollection, boolean, {
179
+ data: {
180
+ exists: boolean;
181
+ message: string;
182
+ item: any;
183
+ };
184
+ } | {
185
+ data: {
186
+ exists: boolean;
187
+ message: string;
188
+ item?: undefined;
189
+ };
190
+ }>;
191
+ moveFile: import("@prismatic-io/spectral").ActionDefinition<{
192
+ connection: {
193
+ label: string;
194
+ type: "connection";
195
+ required: true;
196
+ comments: string;
197
+ };
198
+ siteId: {
199
+ required: boolean;
200
+ label: string;
201
+ type: "string";
202
+ placeholder: string;
203
+ comments: string;
204
+ dataSource: string;
205
+ example: string;
206
+ };
207
+ listId: {
208
+ required: boolean;
209
+ label: string;
210
+ type: "string";
211
+ placeholder: string;
212
+ comments: string;
213
+ example: string;
214
+ dataSource: string;
215
+ };
216
+ driveId: {
217
+ comments: string;
218
+ label: string;
219
+ type: "string";
220
+ required: true;
221
+ placeholder: string;
222
+ example: string;
223
+ dataSource: string;
224
+ clean: (value: unknown, defaultValue?: string) => string;
225
+ };
226
+ itemId: {
227
+ comments: string;
228
+ label: string;
229
+ type: "string";
230
+ required: true;
231
+ placeholder: string;
232
+ dataSource: string;
233
+ example: string;
234
+ };
235
+ parentItemId: {
236
+ label: string;
237
+ comments: string;
238
+ type: "string";
239
+ required: true;
240
+ placeholder: string;
241
+ example: string;
242
+ clean: (value: unknown, defaultValue?: string) => string;
243
+ };
244
+ }, import("@prismatic-io/spectral").ConfigVarResultCollection, boolean, {
245
+ data: any;
246
+ }>;
247
+ createFolder: import("@prismatic-io/spectral").ActionDefinition<{
248
+ connection: {
249
+ label: string;
250
+ type: "connection";
251
+ required: true;
252
+ comments: string;
253
+ };
254
+ siteId: {
255
+ comments: string;
256
+ label: string;
257
+ type: "string";
258
+ required: true;
259
+ placeholder: string;
260
+ dataSource: string;
261
+ example: string;
262
+ };
263
+ driveId: {
264
+ comments: string;
265
+ label: string;
266
+ type: "string";
267
+ required: true;
268
+ placeholder: string;
269
+ example: string;
270
+ dataSource: string;
271
+ clean: (value: unknown, defaultValue?: string) => string;
272
+ };
273
+ parentItemId: {
274
+ comments: string;
275
+ label: string;
276
+ type: "string";
277
+ required: true;
278
+ placeholder: string;
279
+ example: string;
280
+ clean: (value: unknown, defaultValue?: string) => string;
281
+ };
282
+ folderName: {
283
+ comments: string;
284
+ label: string;
285
+ type: "string";
286
+ required: true;
287
+ example: string;
288
+ placeholder: string;
289
+ clean: (value: unknown, defaultValue?: string) => string;
290
+ };
291
+ }, import("@prismatic-io/spectral").ConfigVarResultCollection, boolean, {
292
+ data: any;
293
+ }>;
294
+ renameFolder: import("@prismatic-io/spectral").ActionDefinition<{
295
+ connection: {
296
+ label: string;
297
+ type: "connection";
298
+ required: true;
299
+ comments: string;
300
+ };
301
+ siteId: {
302
+ comments: string;
303
+ label: string;
304
+ type: "string";
305
+ required: true;
306
+ placeholder: string;
307
+ dataSource: string;
308
+ example: string;
309
+ };
310
+ driveId: {
311
+ comments: string;
312
+ label: string;
313
+ type: "string";
314
+ required: true;
315
+ placeholder: string;
316
+ example: string;
317
+ dataSource: string;
318
+ clean: (value: unknown, defaultValue?: string) => string;
319
+ };
320
+ folderId: {
321
+ comments: string;
322
+ required: boolean;
323
+ label: string;
324
+ placeholder: string;
325
+ type: "string";
326
+ example: string;
327
+ dataSource: string;
328
+ clean: (value: unknown) => string;
329
+ };
330
+ folderName: {
331
+ comments: string;
332
+ label: string;
333
+ type: "string";
334
+ required: true;
335
+ example: string;
336
+ placeholder: string;
337
+ clean: (value: unknown, defaultValue?: string) => string;
338
+ };
339
+ }, import("@prismatic-io/spectral").ConfigVarResultCollection, boolean, {
340
+ data: any;
341
+ }>;
342
+ rawRequest: import("@prismatic-io/spectral").ActionDefinition<{
343
+ url: {
344
+ comments: string;
345
+ example: string;
346
+ label: string;
347
+ placeholder: string;
348
+ type: "string";
349
+ required: true;
350
+ clean: (value: unknown) => string;
351
+ };
352
+ method: {
353
+ label: string;
354
+ type: "string";
355
+ required: true;
356
+ model: {
357
+ label: Method;
358
+ value: Method;
359
+ }[];
360
+ comments: string;
361
+ clean: (value: unknown) => string;
362
+ };
363
+ data: {
364
+ label: string;
365
+ placeholder: string;
366
+ type: "string";
367
+ required: false;
368
+ comments: string;
369
+ example: string;
370
+ };
371
+ formData: {
372
+ label: string;
373
+ placeholder: string;
374
+ type: "string";
375
+ collection: "keyvaluelist";
376
+ required: false;
377
+ comments: string;
378
+ example: string;
379
+ };
380
+ fileData: {
381
+ label: string;
382
+ placeholder: string;
383
+ type: "string";
384
+ collection: "keyvaluelist";
385
+ required: false;
386
+ comments: string;
387
+ example: string;
388
+ };
389
+ fileDataFileNames: {
390
+ label: string;
391
+ placeholder: string;
392
+ type: "string";
393
+ collection: "keyvaluelist";
394
+ required: false;
395
+ comments: string;
396
+ clean: (values: any) => Record<string, string> | undefined;
397
+ };
398
+ queryParams: {
399
+ label: string;
400
+ placeholder: string;
401
+ type: "string";
402
+ collection: "keyvaluelist";
403
+ required: false;
404
+ comments: string;
405
+ };
406
+ headers: {
407
+ label: string;
408
+ placeholder: string;
409
+ type: "string";
410
+ collection: "keyvaluelist";
411
+ required: false;
412
+ comments: string;
413
+ example: string;
414
+ };
415
+ responseType: {
416
+ label: string;
417
+ placeholder: string;
418
+ type: "string";
419
+ default: string;
420
+ required: true;
421
+ comments: string;
422
+ model: {
423
+ label: ResponseType;
424
+ value: ResponseType;
425
+ }[];
426
+ clean: (value: unknown) => ResponseType;
427
+ };
428
+ timeout: {
429
+ label: string;
430
+ type: "string";
431
+ required: false;
432
+ comments: string;
433
+ example: string;
434
+ clean: (value: unknown) => number;
435
+ };
436
+ retryDelayMS: {
437
+ label: string;
438
+ placeholder: string;
439
+ type: "string";
440
+ required: false;
441
+ comments: string;
442
+ default: string;
443
+ clean: (value: unknown) => number;
444
+ };
445
+ retryAllErrors: {
446
+ label: string;
447
+ type: "boolean";
448
+ default: string;
449
+ required: false;
450
+ comments: string;
451
+ clean: (value: unknown) => boolean;
452
+ };
453
+ maxRetries: {
454
+ label: string;
455
+ placeholder: string;
456
+ type: "string";
457
+ required: false;
458
+ comments: string;
459
+ default: string;
460
+ clean: (value: unknown) => number;
461
+ };
462
+ useExponentialBackoff: {
463
+ label: string;
464
+ type: "boolean";
465
+ default: string;
466
+ required: false;
467
+ comments: string;
468
+ clean: (value: unknown) => boolean;
469
+ };
470
+ connection: {
471
+ label: string;
472
+ type: "connection";
473
+ required: true;
474
+ comments: string;
475
+ };
476
+ }, import("@prismatic-io/spectral").ConfigVarResultCollection, boolean, {
477
+ data: any;
478
+ }>;
479
+ listChanges: import("@prismatic-io/spectral").ActionDefinition<{
480
+ connection: {
481
+ label: string;
482
+ type: "connection";
483
+ required: true;
484
+ comments: string;
485
+ };
486
+ deltaURL: {
487
+ label: string;
488
+ type: "string";
489
+ required: true;
490
+ placeholder: string;
491
+ comments: string;
492
+ example: string;
493
+ default: string;
494
+ clean: (value: unknown, defaultValue?: string) => string;
495
+ };
496
+ $select: {
497
+ label: string;
498
+ type: "string";
499
+ required: false;
500
+ placeholder: string;
501
+ comments: string;
502
+ example: string;
503
+ clean: (value: unknown, defaultValue?: string) => string;
504
+ };
505
+ $expand: {
506
+ label: string;
507
+ type: "string";
508
+ required: false;
509
+ placeholder: string;
510
+ comments: string;
511
+ example: string;
512
+ clean: (value: unknown, defaultValue?: string) => string;
513
+ };
514
+ $top: {
515
+ label: string;
516
+ type: "string";
517
+ required: false;
518
+ placeholder: string;
519
+ comments: string;
520
+ example: string;
521
+ clean: (value: unknown, defaultValue?: string) => string;
522
+ };
523
+ fetchAll: {
524
+ label: string;
525
+ type: "boolean";
526
+ required: false;
527
+ comments: string;
528
+ clean: (value: unknown, defaultValue?: boolean) => boolean;
529
+ };
530
+ }, import("@prismatic-io/spectral").ConfigVarResultCollection, boolean, {
531
+ data: any;
532
+ }>;
533
+ createSubscription: import("@prismatic-io/spectral").ActionDefinition<{
534
+ connection: {
535
+ label: string;
536
+ type: "connection";
537
+ required: true;
538
+ comments: string;
539
+ };
540
+ changeType: {
541
+ label: string;
542
+ type: "string";
543
+ required: true;
544
+ placeholder: string;
545
+ comments: string;
546
+ example: string;
547
+ default: string;
548
+ clean: (value: unknown, defaultValue?: string) => string;
549
+ };
550
+ notificationUrl: {
551
+ label: string;
552
+ type: "string";
553
+ required: true;
554
+ placeholder: string;
555
+ comments: string;
556
+ example: string;
557
+ clean: (value: unknown, defaultValue?: string) => string;
558
+ };
559
+ resource: {
560
+ label: string;
561
+ type: "string";
562
+ required: true;
563
+ placeholder: string;
564
+ comments: string;
565
+ example: string;
566
+ clean: (value: unknown, defaultValue?: string) => string;
567
+ };
568
+ expirationDateTime: {
569
+ label: string;
570
+ type: "string";
571
+ required: true;
572
+ placeholder: string;
573
+ comments: string;
574
+ example: string;
575
+ clean: (input: unknown) => string;
576
+ };
577
+ clientState: {
578
+ label: string;
579
+ type: "string";
580
+ required: false;
581
+ placeholder: string;
582
+ comments: string;
583
+ example: string;
584
+ clean: (value: unknown, defaultValue?: string) => string;
585
+ };
586
+ allowDuplicates: {
587
+ label: string;
588
+ type: "boolean";
589
+ required: false;
590
+ default: string;
591
+ comments: string;
592
+ clean: (value: unknown, defaultValue?: boolean) => boolean;
593
+ };
594
+ }, import("@prismatic-io/spectral").ConfigVarResultCollection, boolean, {
595
+ data: GraphSubscription;
596
+ }>;
597
+ deleteAllInstanceSubscriptions: import("@prismatic-io/spectral").ActionDefinition<{
598
+ connection: {
599
+ label: string;
600
+ type: "connection";
601
+ required: true;
602
+ comments: string;
603
+ };
604
+ notificationUrl: {
605
+ comments: string;
606
+ required: boolean;
607
+ label: string;
608
+ type: "string";
609
+ placeholder: string;
610
+ example: string;
611
+ clean: (value: unknown, defaultValue?: string) => string;
612
+ };
613
+ }, import("@prismatic-io/spectral").ConfigVarResultCollection, boolean, {
614
+ data: {
615
+ subscriptionsRemoved: string[];
616
+ count: number;
617
+ };
618
+ }>;
619
+ deleteSubscription: import("@prismatic-io/spectral").ActionDefinition<{
620
+ connection: {
621
+ label: string;
622
+ type: "connection";
623
+ required: true;
624
+ comments: string;
625
+ };
626
+ subscriptionId: {
627
+ label: string;
628
+ type: "string";
629
+ required: true;
630
+ placeholder: string;
631
+ comments: string;
632
+ example: string;
633
+ dataSource: string;
634
+ clean: (value: unknown, defaultValue?: string) => string;
635
+ };
636
+ }, import("@prismatic-io/spectral").ConfigVarResultCollection, boolean, {
637
+ data: any;
638
+ }>;
639
+ listSubscriptions: import("@prismatic-io/spectral").ActionDefinition<{
640
+ connection: {
641
+ label: string;
642
+ type: "connection";
643
+ required: true;
644
+ comments: string;
645
+ };
646
+ showInstanceSubscriptions: {
647
+ label: string;
648
+ type: "boolean";
649
+ required: false;
650
+ default: string;
651
+ comments: string;
652
+ clean: (value: unknown, defaultValue?: boolean) => boolean;
653
+ };
654
+ }, import("@prismatic-io/spectral").ConfigVarResultCollection, boolean, {
655
+ data: {
656
+ value: {
657
+ [key: string]: unknown;
658
+ notificationUrl: string;
659
+ }[];
660
+ "@odata.context": string;
661
+ };
662
+ }>;
663
+ renewSubscription: import("@prismatic-io/spectral").ActionDefinition<{
664
+ connection: {
665
+ label: string;
666
+ type: "connection";
667
+ required: true;
668
+ comments: string;
669
+ };
670
+ subscriptionId: {
671
+ label: string;
672
+ type: "string";
673
+ required: true;
674
+ placeholder: string;
675
+ comments: string;
676
+ example: string;
677
+ dataSource: string;
678
+ clean: (value: unknown, defaultValue?: string) => string;
679
+ };
680
+ expirationDays: {
681
+ label: string;
682
+ type: "string";
683
+ placeholder: string;
684
+ comments: string;
685
+ example: string;
686
+ default: string;
687
+ required: false;
688
+ clean: (value: unknown) => number;
689
+ };
690
+ }, import("@prismatic-io/spectral").ConfigVarResultCollection, boolean, {
691
+ data: GraphSubscription;
692
+ }>;
693
+ getCurrentUser: import("@prismatic-io/spectral").ActionDefinition<{
694
+ connection: {
695
+ label: string;
696
+ type: "connection";
697
+ required: true;
698
+ comments: string;
699
+ };
700
+ }, import("@prismatic-io/spectral").ConfigVarResultCollection, boolean, {
701
+ data: any;
702
+ }>;
703
+ createSiteListSubscription: import("@prismatic-io/spectral").ActionDefinition<{
704
+ connection: {
705
+ label: string;
706
+ type: "connection";
707
+ required: true;
708
+ comments: string;
709
+ };
710
+ siteId: {
711
+ label: string;
712
+ type: "string";
713
+ required: true;
714
+ placeholder: string;
715
+ comments: string;
716
+ dataSource: string;
717
+ example: string;
718
+ };
719
+ listId: {
720
+ label: string;
721
+ type: "string";
722
+ required: true;
723
+ placeholder: string;
724
+ comments: string;
725
+ example: string;
726
+ dataSource: string;
727
+ };
728
+ notificationUrl: {
729
+ label: string;
730
+ type: "string";
731
+ required: true;
732
+ comments: string;
733
+ clean: (value: unknown, defaultValue?: string) => string;
734
+ };
735
+ expirationDateTime: {
736
+ label: string;
737
+ type: "string";
738
+ required: false;
739
+ comments: string;
740
+ clean: (rawValue: unknown) => string;
741
+ };
742
+ allowDuplicates: {
743
+ label: string;
744
+ type: "boolean";
745
+ required: false;
746
+ default: string;
747
+ comments: string;
748
+ clean: (value: unknown, defaultValue?: boolean) => boolean;
749
+ };
750
+ }, import("@prismatic-io/spectral").ConfigVarResultCollection, boolean, {
751
+ data: any;
752
+ }>;
753
+ updateSiteListSubscriptionExpiration: import("@prismatic-io/spectral").ActionDefinition<{
754
+ connection: {
755
+ label: string;
756
+ type: "connection";
757
+ required: true;
758
+ comments: string;
759
+ };
760
+ subscriptionId: {
761
+ label: string;
762
+ type: "string";
763
+ required: true;
764
+ comments: string;
765
+ dataSource: string;
766
+ clean: (value: unknown, defaultValue?: string) => string;
767
+ };
768
+ expirationDateTime: {
769
+ label: string;
770
+ type: "string";
771
+ required: false;
772
+ comments: string;
773
+ clean: (rawValue: unknown) => string;
774
+ };
775
+ }, import("@prismatic-io/spectral").ConfigVarResultCollection, boolean, {
776
+ data: any;
777
+ }>;
778
+ listSharedDocuments: import("@prismatic-io/spectral").ActionDefinition<{
779
+ connection: {
780
+ label: string;
781
+ type: "connection";
782
+ required: true;
783
+ comments: string;
784
+ };
785
+ }, import("@prismatic-io/spectral").ConfigVarResultCollection, boolean, {
786
+ data: any;
787
+ }>;
788
+ listSites: import("@prismatic-io/spectral").ActionDefinition<{
789
+ connection: {
790
+ label: string;
791
+ type: "connection";
792
+ required: true;
793
+ comments: string;
794
+ };
795
+ pageLimit: {
796
+ label: string;
797
+ type: "string";
798
+ required: false;
799
+ placeholder: string;
800
+ example: string;
801
+ comments: string;
802
+ clean: (value: unknown, defaultValue?: number) => number;
803
+ };
804
+ pageToken: {
805
+ label: string;
806
+ type: "string";
807
+ required: false;
808
+ placeholder: string;
809
+ example: string;
810
+ comments: string;
811
+ clean: (value: unknown, defaultValue?: string) => string;
812
+ };
813
+ fetchAll: {
814
+ label: string;
815
+ type: "boolean";
816
+ required: false;
817
+ comments: string;
818
+ clean: (value: unknown, defaultValue?: boolean) => boolean;
819
+ };
820
+ }, import("@prismatic-io/spectral").ConfigVarResultCollection, boolean, {
821
+ data: any;
822
+ }>;
823
+ listFollowedSites: import("@prismatic-io/spectral").ActionDefinition<{
824
+ connection: {
825
+ label: string;
826
+ type: "connection";
827
+ required: true;
828
+ comments: string;
829
+ };
830
+ pageLimit: {
831
+ label: string;
832
+ type: "string";
833
+ required: false;
834
+ placeholder: string;
835
+ example: string;
836
+ comments: string;
837
+ clean: (value: unknown, defaultValue?: number) => number;
838
+ };
839
+ pageToken: {
840
+ label: string;
841
+ type: "string";
842
+ required: false;
843
+ placeholder: string;
844
+ example: string;
845
+ comments: string;
846
+ clean: (value: unknown, defaultValue?: string) => string;
847
+ };
848
+ fetchAll: {
849
+ label: string;
850
+ type: "boolean";
851
+ required: false;
852
+ comments: string;
853
+ clean: (value: unknown, defaultValue?: boolean) => boolean;
854
+ };
855
+ }, import("@prismatic-io/spectral").ConfigVarResultCollection, boolean, {
856
+ data: any;
857
+ }>;
858
+ getRootSite: import("@prismatic-io/spectral").ActionDefinition<{
859
+ connection: {
860
+ label: string;
861
+ type: "connection";
862
+ required: true;
863
+ comments: string;
864
+ };
865
+ }, import("@prismatic-io/spectral").ConfigVarResultCollection, boolean, {
866
+ data: any;
867
+ }>;
868
+ getSite: import("@prismatic-io/spectral").ActionDefinition<{
869
+ connection: {
870
+ label: string;
871
+ type: "connection";
872
+ required: true;
873
+ comments: string;
874
+ };
875
+ siteId: {
876
+ label: string;
877
+ type: "string";
878
+ required: true;
879
+ placeholder: string;
880
+ comments: string;
881
+ dataSource: string;
882
+ example: string;
883
+ };
884
+ }, import("@prismatic-io/spectral").ConfigVarResultCollection, boolean, {
885
+ data: any;
886
+ }>;
887
+ listSiteLists: import("@prismatic-io/spectral").ActionDefinition<{
888
+ connection: {
889
+ label: string;
890
+ type: "connection";
891
+ required: true;
892
+ comments: string;
893
+ };
894
+ siteId: {
895
+ label: string;
896
+ type: "string";
897
+ required: true;
898
+ placeholder: string;
899
+ comments: string;
900
+ dataSource: string;
901
+ example: string;
902
+ };
903
+ fetchAll: {
904
+ label: string;
905
+ type: "boolean";
906
+ required: false;
907
+ comments: string;
908
+ clean: (value: unknown, defaultValue?: boolean) => boolean;
909
+ };
910
+ }, import("@prismatic-io/spectral").ConfigVarResultCollection, boolean, {
911
+ data: any;
912
+ }>;
913
+ getListItemsInSite: import("@prismatic-io/spectral").ActionDefinition<{
914
+ connection: {
915
+ label: string;
916
+ type: "connection";
917
+ required: true;
918
+ comments: string;
919
+ };
920
+ siteId: {
921
+ label: string;
922
+ type: "string";
923
+ required: true;
924
+ placeholder: string;
925
+ comments: string;
926
+ dataSource: string;
927
+ example: string;
928
+ };
929
+ listId: {
930
+ label: string;
931
+ type: "string";
932
+ required: true;
933
+ placeholder: string;
934
+ comments: string;
935
+ example: string;
936
+ dataSource: string;
937
+ };
938
+ pageLimit: {
939
+ label: string;
940
+ type: "string";
941
+ required: false;
942
+ placeholder: string;
943
+ example: string;
944
+ comments: string;
945
+ clean: (value: unknown, defaultValue?: number) => number;
946
+ };
947
+ pageToken: {
948
+ label: string;
949
+ type: "string";
950
+ required: false;
951
+ placeholder: string;
952
+ example: string;
953
+ comments: string;
954
+ clean: (value: unknown, defaultValue?: string) => string;
955
+ };
956
+ optInFields: {
957
+ label: string;
958
+ type: "string";
959
+ required: false;
960
+ placeholder: string;
961
+ example: string;
962
+ comments: string;
963
+ clean: (value: unknown, defaultValue?: string) => string;
964
+ };
965
+ }, import("@prismatic-io/spectral").ConfigVarResultCollection, boolean, {
966
+ data: any;
967
+ }>;
968
+ createItemInSite: import("@prismatic-io/spectral").ActionDefinition<{
969
+ connection: {
970
+ label: string;
971
+ type: "connection";
972
+ required: true;
973
+ comments: string;
974
+ };
975
+ siteId: {
976
+ label: string;
977
+ type: "string";
978
+ required: true;
979
+ placeholder: string;
980
+ comments: string;
981
+ dataSource: string;
982
+ example: string;
983
+ };
984
+ listId: {
985
+ label: string;
986
+ type: "string";
987
+ required: true;
988
+ placeholder: string;
989
+ comments: string;
990
+ example: string;
991
+ dataSource: string;
992
+ };
993
+ fields: {
994
+ label: string;
995
+ type: "string";
996
+ required: true;
997
+ collection: "keyvaluelist";
998
+ placeholder: string;
999
+ comments: string;
1000
+ };
1001
+ }, import("@prismatic-io/spectral").ConfigVarResultCollection, boolean, {
1002
+ data: any;
1003
+ }>;
1004
+ getList: import("@prismatic-io/spectral").ActionDefinition<{
1005
+ connection: {
1006
+ label: string;
1007
+ type: "connection";
1008
+ required: true;
1009
+ comments: string;
1010
+ };
1011
+ siteId: {
1012
+ label: string;
1013
+ type: "string";
1014
+ required: true;
1015
+ placeholder: string;
1016
+ comments: string;
1017
+ dataSource: string;
1018
+ example: string;
1019
+ };
1020
+ listId: {
1021
+ label: string;
1022
+ type: "string";
1023
+ required: true;
1024
+ placeholder: string;
1025
+ comments: string;
1026
+ example: string;
1027
+ dataSource: string;
1028
+ };
1029
+ }, import("@prismatic-io/spectral").ConfigVarResultCollection, boolean, {
1030
+ data: any;
1031
+ }>;
1032
+ getItemInSite: import("@prismatic-io/spectral").ActionDefinition<{
1033
+ connection: {
1034
+ label: string;
1035
+ type: "connection";
1036
+ required: true;
1037
+ comments: string;
1038
+ };
1039
+ siteId: {
1040
+ label: string;
1041
+ type: "string";
1042
+ required: true;
1043
+ placeholder: string;
1044
+ comments: string;
1045
+ dataSource: string;
1046
+ example: string;
1047
+ };
1048
+ listId: {
1049
+ label: string;
1050
+ type: "string";
1051
+ required: true;
1052
+ placeholder: string;
1053
+ comments: string;
1054
+ example: string;
1055
+ dataSource: string;
1056
+ };
1057
+ itemId: {
1058
+ label: string;
1059
+ type: "string";
1060
+ required: true;
1061
+ placeholder: string;
1062
+ comments: string;
1063
+ dataSource: string;
1064
+ example: string;
1065
+ };
1066
+ optInFields: {
1067
+ label: string;
1068
+ type: "string";
1069
+ required: false;
1070
+ placeholder: string;
1071
+ example: string;
1072
+ comments: string;
1073
+ clean: (value: unknown, defaultValue?: string) => string;
1074
+ };
1075
+ }, import("@prismatic-io/spectral").ConfigVarResultCollection, boolean, {
1076
+ data: any;
1077
+ }>;
1078
+ listDrives: import("@prismatic-io/spectral").ActionDefinition<{
1079
+ connection: {
1080
+ label: string;
1081
+ type: "connection";
1082
+ required: true;
1083
+ comments: string;
1084
+ };
1085
+ siteId: {
1086
+ label: string;
1087
+ type: "string";
1088
+ required: true;
1089
+ placeholder: string;
1090
+ comments: string;
1091
+ dataSource: string;
1092
+ example: string;
1093
+ };
1094
+ pageLimit: {
1095
+ label: string;
1096
+ type: "string";
1097
+ required: false;
1098
+ placeholder: string;
1099
+ example: string;
1100
+ comments: string;
1101
+ clean: (value: unknown, defaultValue?: number) => number;
1102
+ };
1103
+ pageToken: {
1104
+ label: string;
1105
+ type: "string";
1106
+ required: false;
1107
+ placeholder: string;
1108
+ example: string;
1109
+ comments: string;
1110
+ clean: (value: unknown, defaultValue?: string) => string;
1111
+ };
1112
+ fetchAll: {
1113
+ label: string;
1114
+ type: "boolean";
1115
+ required: false;
1116
+ comments: string;
1117
+ clean: (value: unknown, defaultValue?: boolean) => boolean;
1118
+ };
1119
+ }, import("@prismatic-io/spectral").ConfigVarResultCollection, boolean, {
1120
+ data: any;
1121
+ }>;
1122
+ getDrive: import("@prismatic-io/spectral").ActionDefinition<{
1123
+ connection: {
1124
+ label: string;
1125
+ type: "connection";
1126
+ required: true;
1127
+ comments: string;
1128
+ };
1129
+ siteId: {
1130
+ required: false;
1131
+ label: string;
1132
+ type: "string";
1133
+ placeholder: string;
1134
+ comments: string;
1135
+ dataSource: string;
1136
+ example: string;
1137
+ };
1138
+ driveId: {
1139
+ label: string;
1140
+ type: "string";
1141
+ required: true;
1142
+ placeholder: string;
1143
+ comments: string;
1144
+ example: string;
1145
+ dataSource: string;
1146
+ clean: (value: unknown, defaultValue?: string) => string;
1147
+ };
1148
+ }, import("@prismatic-io/spectral").ConfigVarResultCollection, boolean, {
1149
+ data: any;
1150
+ }>;
1151
+ getFile: import("@prismatic-io/spectral").ActionDefinition<{
1152
+ connection: {
1153
+ label: string;
1154
+ type: "connection";
1155
+ required: true;
1156
+ comments: string;
1157
+ };
1158
+ siteId: {
1159
+ required: false;
1160
+ label: string;
1161
+ type: "string";
1162
+ placeholder: string;
1163
+ comments: string;
1164
+ dataSource: string;
1165
+ example: string;
1166
+ };
1167
+ listId: {
1168
+ required: false;
1169
+ label: string;
1170
+ type: "string";
1171
+ placeholder: string;
1172
+ comments: string;
1173
+ example: string;
1174
+ dataSource: string;
1175
+ };
1176
+ driveId: {
1177
+ label: string;
1178
+ type: "string";
1179
+ required: true;
1180
+ placeholder: string;
1181
+ comments: string;
1182
+ example: string;
1183
+ dataSource: string;
1184
+ clean: (value: unknown, defaultValue?: string) => string;
1185
+ };
1186
+ itemId: {
1187
+ label: string;
1188
+ type: "string";
1189
+ required: true;
1190
+ placeholder: string;
1191
+ comments: string;
1192
+ dataSource: string;
1193
+ example: string;
1194
+ };
1195
+ }, import("@prismatic-io/spectral").ConfigVarResultCollection, boolean, {
1196
+ data: any;
1197
+ }>;
1198
+ uploadFile: import("@prismatic-io/spectral").ActionDefinition<{
1199
+ connection: {
1200
+ label: string;
1201
+ type: "connection";
1202
+ required: true;
1203
+ comments: string;
1204
+ };
1205
+ siteId: {
1206
+ required: false;
1207
+ label: string;
1208
+ type: "string";
1209
+ placeholder: string;
1210
+ comments: string;
1211
+ dataSource: string;
1212
+ example: string;
1213
+ };
1214
+ driveId: {
1215
+ label: string;
1216
+ type: "string";
1217
+ required: true;
1218
+ placeholder: string;
1219
+ comments: string;
1220
+ example: string;
1221
+ dataSource: string;
1222
+ clean: (value: unknown, defaultValue?: string) => string;
1223
+ };
1224
+ fileName: {
1225
+ label: string;
1226
+ type: "string";
1227
+ required: true;
1228
+ placeholder: string;
1229
+ comments: string;
1230
+ example: string;
1231
+ };
1232
+ fileData: {
1233
+ label: string;
1234
+ type: "data";
1235
+ required: true;
1236
+ comments: string;
1237
+ clean: (value: unknown) => import("@prismatic-io/spectral").DataPayload;
1238
+ };
1239
+ folderId: {
1240
+ label: string;
1241
+ placeholder: string;
1242
+ type: "string";
1243
+ required: false;
1244
+ example: string;
1245
+ comments: string;
1246
+ dataSource: string;
1247
+ clean: (value: unknown) => string;
1248
+ };
1249
+ }, import("@prismatic-io/spectral").ConfigVarResultCollection, boolean, {
1250
+ data: any;
1251
+ }>;
1252
+ updateFile: import("@prismatic-io/spectral").ActionDefinition<{
1253
+ connection: {
1254
+ label: string;
1255
+ type: "connection";
1256
+ required: true;
1257
+ comments: string;
1258
+ };
1259
+ siteId: {
1260
+ required: false;
1261
+ label: string;
1262
+ type: "string";
1263
+ placeholder: string;
1264
+ comments: string;
1265
+ dataSource: string;
1266
+ example: string;
1267
+ };
1268
+ listId: {
1269
+ required: false;
1270
+ label: string;
1271
+ type: "string";
1272
+ placeholder: string;
1273
+ comments: string;
1274
+ example: string;
1275
+ dataSource: string;
1276
+ };
1277
+ driveId: {
1278
+ label: string;
1279
+ type: "string";
1280
+ required: true;
1281
+ placeholder: string;
1282
+ comments: string;
1283
+ example: string;
1284
+ dataSource: string;
1285
+ clean: (value: unknown, defaultValue?: string) => string;
1286
+ };
1287
+ itemId: {
1288
+ label: string;
1289
+ type: "string";
1290
+ required: true;
1291
+ placeholder: string;
1292
+ comments: string;
1293
+ dataSource: string;
1294
+ example: string;
1295
+ };
1296
+ fileData: {
1297
+ label: string;
1298
+ type: "data";
1299
+ required: true;
1300
+ comments: string;
1301
+ clean: (value: unknown) => import("@prismatic-io/spectral").DataPayload;
1302
+ };
1303
+ }, import("@prismatic-io/spectral").ConfigVarResultCollection, boolean, {
1304
+ data: any;
1305
+ }>;
1306
+ downloadFile: import("@prismatic-io/spectral").ActionDefinition<{
1307
+ connection: {
1308
+ label: string;
1309
+ type: "connection";
1310
+ required: true;
1311
+ comments: string;
1312
+ };
1313
+ siteId: {
1314
+ required: false;
1315
+ label: string;
1316
+ type: "string";
1317
+ placeholder: string;
1318
+ comments: string;
1319
+ dataSource: string;
1320
+ example: string;
1321
+ };
1322
+ listId: {
1323
+ required: false;
1324
+ label: string;
1325
+ type: "string";
1326
+ placeholder: string;
1327
+ comments: string;
1328
+ example: string;
1329
+ dataSource: string;
1330
+ };
1331
+ driveId: {
1332
+ label: string;
1333
+ type: "string";
1334
+ required: true;
1335
+ placeholder: string;
1336
+ comments: string;
1337
+ example: string;
1338
+ dataSource: string;
1339
+ clean: (value: unknown, defaultValue?: string) => string;
1340
+ };
1341
+ itemId: {
1342
+ label: string;
1343
+ type: "string";
1344
+ required: true;
1345
+ placeholder: string;
1346
+ comments: string;
1347
+ dataSource: string;
1348
+ example: string;
1349
+ };
1350
+ }, import("@prismatic-io/spectral").ConfigVarResultCollection, boolean, {
1351
+ data: any;
1352
+ contentType: any;
1353
+ }>;
1354
+ getFilesFromDriveFolderWithPagination: import("@prismatic-io/spectral").ActionDefinition<{
1355
+ connection: {
1356
+ label: string;
1357
+ type: "connection";
1358
+ required: true;
1359
+ comments: string;
1360
+ };
1361
+ siteId: {
1362
+ required: false;
1363
+ label: string;
1364
+ type: "string";
1365
+ placeholder: string;
1366
+ comments: string;
1367
+ dataSource: string;
1368
+ example: string;
1369
+ };
1370
+ driveId: {
1371
+ label: string;
1372
+ type: "string";
1373
+ required: true;
1374
+ placeholder: string;
1375
+ comments: string;
1376
+ example: string;
1377
+ dataSource: string;
1378
+ clean: (value: unknown, defaultValue?: string) => string;
1379
+ };
1380
+ folderId: {
1381
+ label: string;
1382
+ placeholder: string;
1383
+ type: "string";
1384
+ required: false;
1385
+ example: string;
1386
+ comments: string;
1387
+ dataSource: string;
1388
+ clean: (value: unknown) => string;
1389
+ };
1390
+ pageLimit: {
1391
+ label: string;
1392
+ type: "string";
1393
+ required: false;
1394
+ placeholder: string;
1395
+ example: string;
1396
+ comments: string;
1397
+ clean: (value: unknown, defaultValue?: number) => number;
1398
+ };
1399
+ pageToken: {
1400
+ label: string;
1401
+ type: "string";
1402
+ required: false;
1403
+ placeholder: string;
1404
+ example: string;
1405
+ comments: string;
1406
+ clean: (value: unknown, defaultValue?: string) => string;
1407
+ };
1408
+ fetchAll: {
1409
+ label: string;
1410
+ type: "boolean";
1411
+ required: false;
1412
+ comments: string;
1413
+ clean: (value: unknown, defaultValue?: boolean) => boolean;
1414
+ };
1415
+ }, import("@prismatic-io/spectral").ConfigVarResultCollection, boolean, {
1416
+ data: any;
1417
+ }>;
1418
+ getFilesFromDriveWithPagination: import("@prismatic-io/spectral").ActionDefinition<{
1419
+ connection: {
1420
+ label: string;
1421
+ type: "connection";
1422
+ required: true;
1423
+ comments: string;
1424
+ };
1425
+ siteId: {
1426
+ required: false;
1427
+ label: string;
1428
+ type: "string";
1429
+ placeholder: string;
1430
+ comments: string;
1431
+ dataSource: string;
1432
+ example: string;
1433
+ };
1434
+ driveId: {
1435
+ label: string;
1436
+ type: "string";
1437
+ required: true;
1438
+ placeholder: string;
1439
+ comments: string;
1440
+ example: string;
1441
+ dataSource: string;
1442
+ clean: (value: unknown, defaultValue?: string) => string;
1443
+ };
1444
+ pageLimit: {
1445
+ label: string;
1446
+ type: "string";
1447
+ required: false;
1448
+ placeholder: string;
1449
+ example: string;
1450
+ comments: string;
1451
+ clean: (value: unknown, defaultValue?: number) => number;
1452
+ };
1453
+ pageToken: {
1454
+ label: string;
1455
+ type: "string";
1456
+ required: false;
1457
+ placeholder: string;
1458
+ example: string;
1459
+ comments: string;
1460
+ clean: (value: unknown, defaultValue?: string) => string;
1461
+ };
1462
+ fetchAll: {
1463
+ label: string;
1464
+ type: "boolean";
1465
+ required: false;
1466
+ comments: string;
1467
+ clean: (value: unknown, defaultValue?: boolean) => boolean;
1468
+ };
1469
+ recursive: {
1470
+ label: string;
1471
+ type: "boolean";
1472
+ required: false;
1473
+ comments: string;
1474
+ clean: (value: unknown, defaultValue?: boolean) => boolean;
1475
+ };
1476
+ }, import("@prismatic-io/spectral").ConfigVarResultCollection, boolean, {
1477
+ data: any;
1478
+ }>;
1479
+ };
1480
+ triggers: {
1481
+ webhook: import("@prismatic-io/spectral").TriggerDefinition<{}, import("@prismatic-io/spectral").ConfigVarResultCollection, true, {
1482
+ payload: import("@prismatic-io/spectral").TriggerPayload<Record<string, unknown>>;
1483
+ branch: TriggerBranches;
1484
+ }, import("@prismatic-io/spectral").Inputs>;
1485
+ instanceDeployWebhook: import("@prismatic-io/spectral").TriggerDefinition<{
1486
+ connection: {
1487
+ label: string;
1488
+ type: "connection";
1489
+ required: true;
1490
+ comments: string;
1491
+ };
1492
+ resource: {
1493
+ comments: string;
1494
+ label: string;
1495
+ type: "string";
1496
+ required: true;
1497
+ placeholder: string;
1498
+ example: string;
1499
+ clean: (value: unknown, defaultValue?: string) => string;
1500
+ };
1501
+ changeType: {
1502
+ label: string;
1503
+ type: "string";
1504
+ required: true;
1505
+ placeholder: string;
1506
+ comments: string;
1507
+ example: string;
1508
+ default: string;
1509
+ clean: (value: unknown, defaultValue?: string) => string;
1510
+ };
1511
+ clientState: {
1512
+ comments: string;
1513
+ label: string;
1514
+ type: "string";
1515
+ required: false;
1516
+ placeholder: string;
1517
+ example: string;
1518
+ clean: (value: unknown, defaultValue?: string) => string;
1519
+ };
1520
+ expirationDateTime: {
1521
+ required: boolean;
1522
+ comments: string;
1523
+ label: string;
1524
+ type: "string";
1525
+ placeholder: string;
1526
+ example: string;
1527
+ clean: (input: unknown) => string;
1528
+ };
1529
+ }, import("@prismatic-io/spectral").ConfigVarResultCollection, true, {
1530
+ payload: import("@prismatic-io/spectral").TriggerPayload<Record<string, unknown>>;
1531
+ branch: TriggerBranches;
1532
+ }, import("@prismatic-io/spectral").Inputs>;
1533
+ pollSiteChanges: import("@prismatic-io/spectral").PollingTriggerDefinition<{
1534
+ connection: {
1535
+ label: string;
1536
+ type: "connection";
1537
+ required: true;
1538
+ comments: string;
1539
+ };
1540
+ siteId: {
1541
+ label: string;
1542
+ type: "string";
1543
+ required: true;
1544
+ placeholder: string;
1545
+ comments: string;
1546
+ dataSource: string;
1547
+ example: string;
1548
+ };
1549
+ }, import("@prismatic-io/spectral").ConfigVarResultCollection, import("@prismatic-io/spectral").TriggerPayload<Record<string, unknown>>, boolean, {
1550
+ payload: {
1551
+ body: {
1552
+ data: Record<string, unknown>;
1553
+ };
1554
+ headers: {
1555
+ [key: string]: string;
1556
+ };
1557
+ queryParameters: {
1558
+ [key: string]: string;
1559
+ };
1560
+ rawBody: {
1561
+ data: unknown;
1562
+ contentType?: string;
1563
+ };
1564
+ pathFragment: string;
1565
+ webhookUrls: {
1566
+ [key: string]: string;
1567
+ };
1568
+ webhookApiKeys: {
1569
+ [key: string]: string[];
1570
+ };
1571
+ invokeUrl: string;
1572
+ executionId: string;
1573
+ customer: import("@prismatic-io/spectral").CustomerAttributes;
1574
+ instance: import("@prismatic-io/spectral").InstanceAttributes;
1575
+ user: import("@prismatic-io/spectral").UserAttributes;
1576
+ integration: import("@prismatic-io/spectral").IntegrationAttributes;
1577
+ flow: import("@prismatic-io/spectral").FlowAttributes;
1578
+ startedAt: string;
1579
+ globalDebug: boolean;
1580
+ paginationState?: Record<string, unknown> | undefined;
1581
+ };
1582
+ polledNoChanges: true;
1583
+ } | {
1584
+ payload: {
1585
+ paginationState: SiteDeltaCursor | undefined;
1586
+ body: {
1587
+ data: PollSiteChangesResult;
1588
+ };
1589
+ headers: {
1590
+ [key: string]: string;
1591
+ };
1592
+ queryParameters: {
1593
+ [key: string]: string;
1594
+ };
1595
+ rawBody: {
1596
+ data: unknown;
1597
+ contentType?: string;
1598
+ };
1599
+ pathFragment: string;
1600
+ webhookUrls: {
1601
+ [key: string]: string;
1602
+ };
1603
+ webhookApiKeys: {
1604
+ [key: string]: string[];
1605
+ };
1606
+ invokeUrl: string;
1607
+ executionId: string;
1608
+ customer: import("@prismatic-io/spectral").CustomerAttributes;
1609
+ instance: import("@prismatic-io/spectral").InstanceAttributes;
1610
+ user: import("@prismatic-io/spectral").UserAttributes;
1611
+ integration: import("@prismatic-io/spectral").IntegrationAttributes;
1612
+ flow: import("@prismatic-io/spectral").FlowAttributes;
1613
+ startedAt: string;
1614
+ globalDebug: boolean;
1615
+ };
1616
+ polledNoChanges: boolean;
1617
+ }, import("@prismatic-io/spectral").Inputs>;
1618
+ drivePollingTrigger: import("@prismatic-io/spectral").PollingTriggerDefinition<{
1619
+ connection: {
1620
+ label: string;
1621
+ type: "connection";
1622
+ required: true;
1623
+ comments: string;
1624
+ };
1625
+ siteId: {
1626
+ required: false;
1627
+ label: string;
1628
+ type: "string";
1629
+ placeholder: string;
1630
+ comments: string;
1631
+ dataSource: string;
1632
+ example: string;
1633
+ };
1634
+ driveId: {
1635
+ label: string;
1636
+ type: "string";
1637
+ required: true;
1638
+ placeholder: string;
1639
+ comments: string;
1640
+ example: string;
1641
+ dataSource: string;
1642
+ clean: (value: unknown, defaultValue?: string) => string;
1643
+ };
1644
+ }, import("@prismatic-io/spectral").ConfigVarResultCollection, import("@prismatic-io/spectral").TriggerPayload<Record<string, unknown>>, boolean, {
1645
+ payload: {
1646
+ body: {
1647
+ data: PollSiteChangesSeparatedChanges;
1648
+ };
1649
+ headers: {
1650
+ [key: string]: string;
1651
+ };
1652
+ queryParameters: {
1653
+ [key: string]: string;
1654
+ };
1655
+ rawBody: {
1656
+ data: unknown;
1657
+ contentType?: string;
1658
+ };
1659
+ pathFragment: string;
1660
+ webhookUrls: {
1661
+ [key: string]: string;
1662
+ };
1663
+ webhookApiKeys: {
1664
+ [key: string]: string[];
1665
+ };
1666
+ invokeUrl: string;
1667
+ executionId: string;
1668
+ customer: import("@prismatic-io/spectral").CustomerAttributes;
1669
+ instance: import("@prismatic-io/spectral").InstanceAttributes;
1670
+ user: import("@prismatic-io/spectral").UserAttributes;
1671
+ integration: import("@prismatic-io/spectral").IntegrationAttributes;
1672
+ flow: import("@prismatic-io/spectral").FlowAttributes;
1673
+ startedAt: string;
1674
+ globalDebug: boolean;
1675
+ paginationState?: Record<string, unknown> | undefined;
1676
+ };
1677
+ }, import("@prismatic-io/spectral").Inputs>;
1678
+ folderPollingTrigger: import("@prismatic-io/spectral").PollingTriggerDefinition<{
1679
+ connection: {
1680
+ label: string;
1681
+ type: "connection";
1682
+ required: true;
1683
+ comments: string;
1684
+ };
1685
+ siteId: {
1686
+ required: boolean;
1687
+ label: string;
1688
+ type: "string";
1689
+ placeholder: string;
1690
+ comments: string;
1691
+ dataSource: string;
1692
+ example: string;
1693
+ };
1694
+ driveId: {
1695
+ label: string;
1696
+ type: "string";
1697
+ required: true;
1698
+ placeholder: string;
1699
+ comments: string;
1700
+ example: string;
1701
+ dataSource: string;
1702
+ clean: (value: unknown, defaultValue?: string) => string;
1703
+ };
1704
+ folderId: {
1705
+ comments: string;
1706
+ required: boolean;
1707
+ label: string;
1708
+ placeholder: string;
1709
+ type: "string";
1710
+ example: string;
1711
+ dataSource: string;
1712
+ clean: (value: unknown) => string;
1713
+ };
1714
+ includeSubfolders: {
1715
+ label: string;
1716
+ type: "boolean";
1717
+ required: false;
1718
+ default: string;
1719
+ comments: string;
1720
+ clean: (value: unknown, defaultValue?: boolean) => boolean;
1721
+ };
1722
+ }, import("@prismatic-io/spectral").ConfigVarResultCollection, import("@prismatic-io/spectral").TriggerPayload<Record<string, unknown>>, boolean, {
1723
+ payload: {
1724
+ body: {
1725
+ data: PollSiteChangesSeparatedChanges;
1726
+ };
1727
+ headers: {
1728
+ [key: string]: string;
1729
+ };
1730
+ queryParameters: {
1731
+ [key: string]: string;
1732
+ };
1733
+ rawBody: {
1734
+ data: unknown;
1735
+ contentType?: string;
1736
+ };
1737
+ pathFragment: string;
1738
+ webhookUrls: {
1739
+ [key: string]: string;
1740
+ };
1741
+ webhookApiKeys: {
1742
+ [key: string]: string[];
1743
+ };
1744
+ invokeUrl: string;
1745
+ executionId: string;
1746
+ customer: import("@prismatic-io/spectral").CustomerAttributes;
1747
+ instance: import("@prismatic-io/spectral").InstanceAttributes;
1748
+ user: import("@prismatic-io/spectral").UserAttributes;
1749
+ integration: import("@prismatic-io/spectral").IntegrationAttributes;
1750
+ flow: import("@prismatic-io/spectral").FlowAttributes;
1751
+ startedAt: string;
1752
+ globalDebug: boolean;
1753
+ paginationState?: Record<string, unknown> | undefined;
1754
+ };
1755
+ }, import("@prismatic-io/spectral").Inputs>;
1756
+ };
1757
+ connections: any[];
1758
+ dataSources: {
1759
+ listDrives: import("@prismatic-io/spectral").DataSourceDefinition<{
1760
+ connection: {
1761
+ label: string;
1762
+ type: "connection";
1763
+ required: true;
1764
+ comments: string;
1765
+ };
1766
+ siteId: {
1767
+ dataSource: undefined;
1768
+ label: string;
1769
+ type: "string";
1770
+ required: true;
1771
+ placeholder: string;
1772
+ comments: string;
1773
+ example: string;
1774
+ };
1775
+ }, import("@prismatic-io/spectral").ConfigVarResultCollection, "picklist">;
1776
+ listFolders: import("@prismatic-io/spectral").DataSourceDefinition<{
1777
+ connection: {
1778
+ label: string;
1779
+ type: "connection";
1780
+ required: true;
1781
+ comments: string;
1782
+ };
1783
+ driveId: {
1784
+ dataSource: undefined;
1785
+ label: string;
1786
+ type: "string";
1787
+ required: true;
1788
+ placeholder: string;
1789
+ comments: string;
1790
+ example: string;
1791
+ clean: (value: unknown, defaultValue?: string) => string;
1792
+ };
1793
+ }, import("@prismatic-io/spectral").ConfigVarResultCollection, "picklist">;
1794
+ listSites: import("@prismatic-io/spectral").DataSourceDefinition<{
1795
+ connection: {
1796
+ label: string;
1797
+ type: "connection";
1798
+ required: true;
1799
+ comments: string;
1800
+ };
1801
+ }, import("@prismatic-io/spectral").ConfigVarResultCollection, "picklist">;
1802
+ listItemsInSiteList: import("@prismatic-io/spectral").DataSourceDefinition<{
1803
+ connection: {
1804
+ label: string;
1805
+ type: "connection";
1806
+ required: true;
1807
+ comments: string;
1808
+ };
1809
+ siteId: {
1810
+ dataSource: undefined;
1811
+ label: string;
1812
+ type: "string";
1813
+ required: true;
1814
+ placeholder: string;
1815
+ comments: string;
1816
+ example: string;
1817
+ };
1818
+ listId: {
1819
+ dataSource: undefined;
1820
+ label: string;
1821
+ type: "string";
1822
+ required: true;
1823
+ placeholder: string;
1824
+ comments: string;
1825
+ example: string;
1826
+ };
1827
+ }, import("@prismatic-io/spectral").ConfigVarResultCollection, "picklist">;
1828
+ listSubscriptions: import("@prismatic-io/spectral").DataSourceDefinition<{
1829
+ connection: {
1830
+ label: string;
1831
+ type: "connection";
1832
+ required: true;
1833
+ comments: string;
1834
+ };
1835
+ }, import("@prismatic-io/spectral").ConfigVarResultCollection, "picklist">;
1836
+ selectSiteList: import("@prismatic-io/spectral").DataSourceDefinition<{
1837
+ connection: {
1838
+ label: string;
1839
+ type: "connection";
1840
+ required: true;
1841
+ comments: string;
1842
+ };
1843
+ siteId: {
1844
+ dataSource: undefined;
1845
+ label: string;
1846
+ type: "string";
1847
+ required: true;
1848
+ placeholder: string;
1849
+ comments: string;
1850
+ example: string;
1851
+ };
1852
+ }, import("@prismatic-io/spectral").ConfigVarResultCollection, "picklist">;
1853
+ };
1854
+ }>;
1855
+ export = _default;