@prismatic-io/components-airtable 0.0.0-stage → 0.1.0

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,1005 @@
1
+ //#region node_modules/axios/index.d.ts
2
+ type UppercaseMethod = 'GET' | 'DELETE' | 'HEAD' | 'OPTIONS' | 'POST' | 'PUT' | 'PATCH' | 'PURGE' | 'LINK' | 'UNLINK' | 'QUERY';
3
+ type Method = (UppercaseMethod | Lowercase<UppercaseMethod>) & {};
4
+ type ResponseType = 'arraybuffer' | 'blob' | 'document' | 'json' | 'text' | 'stream' | 'formdata';
5
+ //#endregion
6
+ //#region src/types/index.d.ts
7
+ interface AirtableBase {
8
+ id: string;
9
+ name: string;
10
+ permissionLevel: string;
11
+ }
12
+ interface AirtableRecord {
13
+ id: string;
14
+ createdTime: string;
15
+ fields: Record<string, unknown>;
16
+ }
17
+ //#endregion
18
+ //#region npm-dist/.entry.d.ts
19
+ declare const _default: import("@prismatic-io/spectral").CallableComponent<{
20
+ key: "airtable";
21
+ documentationUrl: "https://prismatic.io/docs/components/airtable/";
22
+ public: true;
23
+ display: {
24
+ label: string;
25
+ description: string;
26
+ iconPath: string;
27
+ category: "Data Platforms";
28
+ };
29
+ actions: {
30
+ deleteWebhook: import("@prismatic-io/spectral").ActionDefinition<{
31
+ airtableConnection: {
32
+ label: string;
33
+ type: "connection";
34
+ required: true;
35
+ comments: string;
36
+ };
37
+ baseId: {
38
+ label: string;
39
+ type: "string";
40
+ required: false;
41
+ example: string;
42
+ placeholder: string;
43
+ comments: string;
44
+ clean: (value: unknown, defaultValue?: string) => string;
45
+ dataSource: string;
46
+ };
47
+ webhookId: {
48
+ label: string;
49
+ type: "string";
50
+ required: true;
51
+ placeholder: string;
52
+ example: string;
53
+ comments: string;
54
+ dataSource: string;
55
+ clean: (value: unknown, defaultValue?: string) => string;
56
+ };
57
+ }, import("@prismatic-io/spectral").ConfigVarResultCollection, boolean, {
58
+ data: {};
59
+ }>;
60
+ listWebhooks: import("@prismatic-io/spectral").ActionDefinition<{
61
+ airtableConnection: {
62
+ label: string;
63
+ type: "connection";
64
+ required: true;
65
+ comments: string;
66
+ };
67
+ baseId: {
68
+ label: string;
69
+ type: "string";
70
+ required: false;
71
+ example: string;
72
+ placeholder: string;
73
+ comments: string;
74
+ clean: (value: unknown, defaultValue?: string) => string;
75
+ dataSource: string;
76
+ };
77
+ }, import("@prismatic-io/spectral").ConfigVarResultCollection, boolean, {
78
+ data: any;
79
+ }>;
80
+ createWebhook: import("@prismatic-io/spectral").ActionDefinition<{
81
+ airtableConnection: {
82
+ label: string;
83
+ type: "connection";
84
+ required: true;
85
+ comments: string;
86
+ };
87
+ baseId: {
88
+ label: string;
89
+ type: "string";
90
+ required: false;
91
+ example: string;
92
+ placeholder: string;
93
+ comments: string;
94
+ clean: (value: unknown, defaultValue?: string) => string;
95
+ dataSource: string;
96
+ };
97
+ notificationUrl: {
98
+ label: string;
99
+ type: "string";
100
+ required: false;
101
+ placeholder: string;
102
+ example: string;
103
+ comments: string;
104
+ clean: (value: unknown) => string | undefined;
105
+ };
106
+ specification: {
107
+ label: string;
108
+ type: "code";
109
+ language: "json";
110
+ required: true;
111
+ comments: string;
112
+ example: string;
113
+ clean: (value: unknown) => object;
114
+ };
115
+ }, import("@prismatic-io/spectral").ConfigVarResultCollection, boolean, {
116
+ data: any;
117
+ }>;
118
+ refreshWebhook: import("@prismatic-io/spectral").ActionDefinition<{
119
+ airtableConnection: {
120
+ label: string;
121
+ type: "connection";
122
+ required: true;
123
+ comments: string;
124
+ };
125
+ baseId: {
126
+ label: string;
127
+ type: "string";
128
+ required: false;
129
+ example: string;
130
+ placeholder: string;
131
+ comments: string;
132
+ clean: (value: unknown, defaultValue?: string) => string;
133
+ dataSource: string;
134
+ };
135
+ webhookId: {
136
+ label: string;
137
+ type: "string";
138
+ required: true;
139
+ placeholder: string;
140
+ example: string;
141
+ comments: string;
142
+ dataSource: string;
143
+ clean: (value: unknown, defaultValue?: string) => string;
144
+ };
145
+ }, import("@prismatic-io/spectral").ConfigVarResultCollection, boolean, {
146
+ data: any;
147
+ }>;
148
+ rawRequest: import("@prismatic-io/spectral").ActionDefinition<{
149
+ url: {
150
+ comments: string;
151
+ example: string;
152
+ label: string;
153
+ placeholder: string;
154
+ type: "string";
155
+ required: true;
156
+ clean: (value: unknown) => string;
157
+ };
158
+ method: {
159
+ label: string;
160
+ type: "string";
161
+ required: true;
162
+ model: {
163
+ label: Method;
164
+ value: Method;
165
+ }[];
166
+ comments: string;
167
+ clean: (value: unknown) => string;
168
+ };
169
+ data: {
170
+ label: string;
171
+ placeholder: string;
172
+ type: "string";
173
+ required: false;
174
+ comments: string;
175
+ example: string;
176
+ };
177
+ formData: {
178
+ label: string;
179
+ placeholder: string;
180
+ type: "string";
181
+ collection: "keyvaluelist";
182
+ required: false;
183
+ comments: string;
184
+ example: string;
185
+ };
186
+ fileData: {
187
+ label: string;
188
+ placeholder: string;
189
+ type: "string";
190
+ collection: "keyvaluelist";
191
+ required: false;
192
+ comments: string;
193
+ example: string;
194
+ };
195
+ fileDataFileNames: {
196
+ label: string;
197
+ placeholder: string;
198
+ type: "string";
199
+ collection: "keyvaluelist";
200
+ required: false;
201
+ comments: string;
202
+ clean: (values: any) => Record<string, string> | undefined;
203
+ };
204
+ queryParams: {
205
+ label: string;
206
+ placeholder: string;
207
+ type: "string";
208
+ collection: "keyvaluelist";
209
+ required: false;
210
+ comments: string;
211
+ };
212
+ headers: {
213
+ label: string;
214
+ placeholder: string;
215
+ type: "string";
216
+ collection: "keyvaluelist";
217
+ required: false;
218
+ comments: string;
219
+ example: string;
220
+ };
221
+ responseType: {
222
+ label: string;
223
+ placeholder: string;
224
+ type: "string";
225
+ default: string;
226
+ required: true;
227
+ comments: string;
228
+ model: {
229
+ label: ResponseType;
230
+ value: ResponseType;
231
+ }[];
232
+ clean: (value: unknown) => ResponseType;
233
+ };
234
+ timeout: {
235
+ label: string;
236
+ type: "string";
237
+ required: false;
238
+ comments: string;
239
+ example: string;
240
+ clean: (value: unknown) => number;
241
+ };
242
+ retryDelayMS: {
243
+ label: string;
244
+ placeholder: string;
245
+ type: "string";
246
+ required: false;
247
+ comments: string;
248
+ default: string;
249
+ clean: (value: unknown) => number;
250
+ };
251
+ retryAllErrors: {
252
+ label: string;
253
+ type: "boolean";
254
+ default: string;
255
+ required: false;
256
+ comments: string;
257
+ clean: (value: unknown) => boolean;
258
+ };
259
+ maxRetries: {
260
+ label: string;
261
+ placeholder: string;
262
+ type: "string";
263
+ required: false;
264
+ comments: string;
265
+ default: string;
266
+ clean: (value: unknown) => number;
267
+ };
268
+ useExponentialBackoff: {
269
+ label: string;
270
+ type: "boolean";
271
+ default: string;
272
+ required: false;
273
+ comments: string;
274
+ clean: (value: unknown) => boolean;
275
+ };
276
+ connection: {
277
+ label: string;
278
+ type: "connection";
279
+ required: true;
280
+ comments: string;
281
+ };
282
+ }, import("@prismatic-io/spectral").ConfigVarResultCollection, boolean, {
283
+ data: {
284
+ data: {
285
+ tables: {
286
+ id: string;
287
+ name: string;
288
+ primaryFieldId: string;
289
+ fields: {
290
+ id: string;
291
+ name: string;
292
+ type: string;
293
+ }[];
294
+ views: {
295
+ id: string;
296
+ name: string;
297
+ type: string;
298
+ }[];
299
+ }[];
300
+ };
301
+ headers: Record<string, unknown>;
302
+ };
303
+ }>;
304
+ getCurrentUser: import("@prismatic-io/spectral").ActionDefinition<{
305
+ airtableConnection: {
306
+ label: string;
307
+ type: "connection";
308
+ required: true;
309
+ comments: string;
310
+ };
311
+ }, import("@prismatic-io/spectral").ConfigVarResultCollection, boolean, {
312
+ data: any;
313
+ }>;
314
+ createRecord: import("@prismatic-io/spectral").ActionDefinition<{
315
+ airtableConnection: {
316
+ label: string;
317
+ type: "connection";
318
+ required: true;
319
+ comments: string;
320
+ };
321
+ baseId: {
322
+ label: string;
323
+ type: "string";
324
+ required: false;
325
+ example: string;
326
+ placeholder: string;
327
+ comments: string;
328
+ clean: (value: unknown, defaultValue?: string) => string;
329
+ dataSource: string;
330
+ };
331
+ tableName: {
332
+ label: string;
333
+ type: "string";
334
+ required: true;
335
+ example: string;
336
+ placeholder: string;
337
+ comments: string;
338
+ dataSource: string;
339
+ clean: (value: unknown, defaultValue?: string) => string;
340
+ };
341
+ recordFields: {
342
+ label: string;
343
+ type: "string";
344
+ collection: "keyvaluelist";
345
+ required: false;
346
+ placeholder: string;
347
+ comments: string;
348
+ clean: (values: unknown) => Record<string, string>;
349
+ };
350
+ dynamicFields: {
351
+ label: string;
352
+ type: "code";
353
+ language: "json";
354
+ required: false;
355
+ comments: string;
356
+ example: string;
357
+ clean: (values: unknown) => Record<string, unknown>;
358
+ };
359
+ }, import("@prismatic-io/spectral").ConfigVarResultCollection, boolean, {
360
+ data: AirtableRecord;
361
+ }>;
362
+ deleteRecord: import("@prismatic-io/spectral").ActionDefinition<{
363
+ airtableConnection: {
364
+ label: string;
365
+ type: "connection";
366
+ required: true;
367
+ comments: string;
368
+ };
369
+ baseId: {
370
+ label: string;
371
+ type: "string";
372
+ required: false;
373
+ example: string;
374
+ placeholder: string;
375
+ comments: string;
376
+ clean: (value: unknown, defaultValue?: string) => string;
377
+ dataSource: string;
378
+ };
379
+ tableName: {
380
+ label: string;
381
+ type: "string";
382
+ required: true;
383
+ example: string;
384
+ placeholder: string;
385
+ comments: string;
386
+ dataSource: string;
387
+ clean: (value: unknown, defaultValue?: string) => string;
388
+ };
389
+ recordId: {
390
+ label: string;
391
+ type: "string";
392
+ required: true;
393
+ example: string;
394
+ placeholder: string;
395
+ comments: string;
396
+ dataSource: string;
397
+ clean: (value: unknown, defaultValue?: string) => string;
398
+ };
399
+ }, import("@prismatic-io/spectral").ConfigVarResultCollection, boolean, {
400
+ data: any;
401
+ }>;
402
+ getRecord: import("@prismatic-io/spectral").ActionDefinition<{
403
+ airtableConnection: {
404
+ label: string;
405
+ type: "connection";
406
+ required: true;
407
+ comments: string;
408
+ };
409
+ baseId: {
410
+ label: string;
411
+ type: "string";
412
+ required: false;
413
+ example: string;
414
+ placeholder: string;
415
+ comments: string;
416
+ clean: (value: unknown, defaultValue?: string) => string;
417
+ dataSource: string;
418
+ };
419
+ tableName: {
420
+ label: string;
421
+ type: "string";
422
+ required: true;
423
+ example: string;
424
+ placeholder: string;
425
+ comments: string;
426
+ dataSource: string;
427
+ clean: (value: unknown, defaultValue?: string) => string;
428
+ };
429
+ record: {
430
+ label: string;
431
+ type: "string";
432
+ required: true;
433
+ example: string;
434
+ placeholder: string;
435
+ comments: string;
436
+ dataSource: string;
437
+ clean: (value: unknown, defaultValue?: string) => string;
438
+ };
439
+ }, import("@prismatic-io/spectral").ConfigVarResultCollection, boolean, {
440
+ data: AirtableRecord;
441
+ }>;
442
+ listRecords: import("@prismatic-io/spectral").ActionDefinition<{
443
+ airtableConnection: {
444
+ label: string;
445
+ type: "connection";
446
+ required: true;
447
+ comments: string;
448
+ };
449
+ baseId: {
450
+ label: string;
451
+ type: "string";
452
+ required: false;
453
+ example: string;
454
+ placeholder: string;
455
+ comments: string;
456
+ clean: (value: unknown, defaultValue?: string) => string;
457
+ dataSource: string;
458
+ };
459
+ tableName: {
460
+ label: string;
461
+ type: "string";
462
+ required: true;
463
+ example: string;
464
+ placeholder: string;
465
+ comments: string;
466
+ dataSource: string;
467
+ clean: (value: unknown, defaultValue?: string) => string;
468
+ };
469
+ view: {
470
+ label: string;
471
+ type: "string";
472
+ example: string;
473
+ placeholder: string;
474
+ required: false;
475
+ comments: string;
476
+ clean: (value: unknown) => string | undefined;
477
+ };
478
+ fields: {
479
+ label: string;
480
+ type: "string";
481
+ example: string;
482
+ placeholder: string;
483
+ required: false;
484
+ collection: "valuelist";
485
+ comments: string;
486
+ clean: (values: unknown) => string[] | undefined;
487
+ };
488
+ filterByFormula: {
489
+ label: string;
490
+ type: "string";
491
+ example: string;
492
+ placeholder: string;
493
+ required: false;
494
+ comments: string;
495
+ clean: (value: unknown) => string | undefined;
496
+ };
497
+ }, import("@prismatic-io/spectral").ConfigVarResultCollection, boolean, {
498
+ data: AirtableRecord[];
499
+ }>;
500
+ updateRecord: import("@prismatic-io/spectral").ActionDefinition<{
501
+ airtableConnection: {
502
+ label: string;
503
+ type: "connection";
504
+ required: true;
505
+ comments: string;
506
+ };
507
+ baseId: {
508
+ label: string;
509
+ type: "string";
510
+ required: false;
511
+ example: string;
512
+ placeholder: string;
513
+ comments: string;
514
+ clean: (value: unknown, defaultValue?: string) => string;
515
+ dataSource: string;
516
+ };
517
+ tableName: {
518
+ label: string;
519
+ type: "string";
520
+ required: true;
521
+ example: string;
522
+ placeholder: string;
523
+ comments: string;
524
+ dataSource: string;
525
+ clean: (value: unknown, defaultValue?: string) => string;
526
+ };
527
+ record: {
528
+ label: string;
529
+ type: "string";
530
+ required: true;
531
+ example: string;
532
+ placeholder: string;
533
+ comments: string;
534
+ dataSource: string;
535
+ clean: (value: unknown, defaultValue?: string) => string;
536
+ };
537
+ recordFields: {
538
+ label: string;
539
+ type: "string";
540
+ collection: "keyvaluelist";
541
+ required: false;
542
+ placeholder: string;
543
+ comments: string;
544
+ clean: (values: unknown) => Record<string, string>;
545
+ };
546
+ dynamicFields: {
547
+ label: string;
548
+ type: "code";
549
+ language: "json";
550
+ required: false;
551
+ comments: string;
552
+ example: string;
553
+ clean: (values: unknown) => Record<string, unknown>;
554
+ };
555
+ }, import("@prismatic-io/spectral").ConfigVarResultCollection, boolean, {
556
+ data: AirtableRecord;
557
+ }>;
558
+ getBaseSchema: import("@prismatic-io/spectral").ActionDefinition<{
559
+ airtableConnection: {
560
+ label: string;
561
+ type: "connection";
562
+ required: true;
563
+ comments: string;
564
+ };
565
+ baseId: {
566
+ label: string;
567
+ type: "string";
568
+ required: false;
569
+ example: string;
570
+ placeholder: string;
571
+ comments: string;
572
+ clean: (value: unknown, defaultValue?: string) => string;
573
+ dataSource: string;
574
+ };
575
+ }, import("@prismatic-io/spectral").ConfigVarResultCollection, boolean, {
576
+ data: any;
577
+ }>;
578
+ listBases: import("@prismatic-io/spectral").ActionDefinition<{
579
+ airtableConnection: {
580
+ label: string;
581
+ type: "connection";
582
+ required: true;
583
+ comments: string;
584
+ };
585
+ }, import("@prismatic-io/spectral").ConfigVarResultCollection, boolean, {
586
+ data: AirtableBase[];
587
+ }>;
588
+ };
589
+ connections: (import("@prismatic-io/spectral").KeyedConnection<{
590
+ oauth2Type: import("@prismatic-io/spectral").OAuth2Type.AuthorizationCode;
591
+ oauth2PkceMethod: import("@prismatic-io/spectral").OAuth2PkceMethod.S256;
592
+ key: "oauth";
593
+ display: {
594
+ label: string;
595
+ description: string;
596
+ };
597
+ inputs: {
598
+ authorizeUrl: {
599
+ label: string;
600
+ placeholder: string;
601
+ type: "string";
602
+ required: true;
603
+ shown: false;
604
+ comments: string;
605
+ default: string;
606
+ };
607
+ tokenUrl: {
608
+ label: string;
609
+ placeholder: string;
610
+ type: "string";
611
+ required: true;
612
+ shown: false;
613
+ comments: string;
614
+ default: string;
615
+ };
616
+ scopes: {
617
+ label: string;
618
+ placeholder: string;
619
+ type: "string";
620
+ required: true;
621
+ shown: true;
622
+ comments: string;
623
+ default: string;
624
+ };
625
+ clientId: {
626
+ label: string;
627
+ placeholder: string;
628
+ type: "string";
629
+ required: true;
630
+ shown: true;
631
+ comments: string;
632
+ example: string;
633
+ };
634
+ clientSecret: {
635
+ label: string;
636
+ placeholder: string;
637
+ type: "password";
638
+ required: true;
639
+ shown: true;
640
+ comments: string;
641
+ };
642
+ };
643
+ }, "oauth"> | import("@prismatic-io/spectral").KeyedConnection<{
644
+ key: "personalAccessToken";
645
+ display: {
646
+ label: string;
647
+ description: string;
648
+ };
649
+ inputs: {
650
+ apiKey: {
651
+ label: string;
652
+ placeholder: string;
653
+ type: "password";
654
+ required: true;
655
+ shown: true;
656
+ comments: string;
657
+ example: string;
658
+ };
659
+ };
660
+ }, "personalAccessToken"> | import("@prismatic-io/spectral").KeyedConnection<{
661
+ key: "apiKey";
662
+ display: {
663
+ label: string;
664
+ description: string;
665
+ };
666
+ inputs: {
667
+ base: {
668
+ label: string;
669
+ placeholder: string;
670
+ type: "string";
671
+ required: true;
672
+ shown: true;
673
+ comments: string;
674
+ example: string;
675
+ };
676
+ apiKey: {
677
+ label: string;
678
+ placeholder: string;
679
+ type: "password";
680
+ required: true;
681
+ shown: true;
682
+ comments: string;
683
+ example: string;
684
+ };
685
+ };
686
+ }, "apiKey">)[];
687
+ dataSources: {
688
+ selectBase: import("@prismatic-io/spectral").DataSourceDefinition<{
689
+ airtableConnection: {
690
+ label: string;
691
+ type: "connection";
692
+ required: true;
693
+ comments: string;
694
+ };
695
+ includeId: {
696
+ label: string;
697
+ type: "boolean";
698
+ required: false;
699
+ default: string;
700
+ clean: (value: unknown, defaultValue?: boolean) => boolean;
701
+ comments: string;
702
+ };
703
+ }, import("@prismatic-io/spectral").ConfigVarResultCollection, "picklist">;
704
+ selectTable: import("@prismatic-io/spectral").DataSourceDefinition<{
705
+ airtableConnection: {
706
+ label: string;
707
+ type: "connection";
708
+ required: true;
709
+ comments: string;
710
+ };
711
+ baseId: {
712
+ required: boolean;
713
+ dataSource: undefined;
714
+ label: string;
715
+ type: "string";
716
+ example: string;
717
+ placeholder: string;
718
+ comments: string;
719
+ clean: (value: unknown, defaultValue?: string) => string;
720
+ };
721
+ includeId: {
722
+ label: string;
723
+ type: "boolean";
724
+ required: false;
725
+ default: string;
726
+ clean: (value: unknown, defaultValue?: boolean) => boolean;
727
+ comments: string;
728
+ };
729
+ }, import("@prismatic-io/spectral").ConfigVarResultCollection, "picklist">;
730
+ selectWebhook: import("@prismatic-io/spectral").DataSourceDefinition<{
731
+ airtableConnection: {
732
+ label: string;
733
+ type: "connection";
734
+ required: true;
735
+ comments: string;
736
+ };
737
+ baseId: {
738
+ dataSource: undefined;
739
+ label: string;
740
+ type: "string";
741
+ required: false;
742
+ example: string;
743
+ placeholder: string;
744
+ comments: string;
745
+ clean: (value: unknown, defaultValue?: string) => string;
746
+ };
747
+ includeId: {
748
+ label: string;
749
+ type: "boolean";
750
+ required: false;
751
+ default: string;
752
+ clean: (value: unknown, defaultValue?: boolean) => boolean;
753
+ comments: string;
754
+ };
755
+ }, import("@prismatic-io/spectral").ConfigVarResultCollection, "picklist">;
756
+ selectRecord: import("@prismatic-io/spectral").DataSourceDefinition<{
757
+ airtableConnection: {
758
+ label: string;
759
+ type: "connection";
760
+ required: true;
761
+ comments: string;
762
+ };
763
+ baseId: {
764
+ dataSource: undefined;
765
+ label: string;
766
+ type: "string";
767
+ required: false;
768
+ example: string;
769
+ placeholder: string;
770
+ comments: string;
771
+ clean: (value: unknown, defaultValue?: string) => string;
772
+ };
773
+ tableName: {
774
+ dataSource: undefined;
775
+ label: string;
776
+ type: "string";
777
+ required: true;
778
+ example: string;
779
+ placeholder: string;
780
+ comments: string;
781
+ clean: (value: unknown, defaultValue?: string) => string;
782
+ };
783
+ includeId: {
784
+ label: string;
785
+ type: "boolean";
786
+ required: false;
787
+ default: string;
788
+ clean: (value: unknown, defaultValue?: boolean) => boolean;
789
+ comments: string;
790
+ };
791
+ }, import("@prismatic-io/spectral").ConfigVarResultCollection, "picklist">;
792
+ };
793
+ triggers: {
794
+ webhook: import("@prismatic-io/spectral").TriggerDefinition<{}, import("@prismatic-io/spectral").ConfigVarResultCollection, boolean, {
795
+ payload: import("@prismatic-io/spectral").TriggerPayload<Record<string, unknown>>;
796
+ }, import("@prismatic-io/spectral").Inputs>;
797
+ baseChanges: import("@prismatic-io/spectral").TriggerDefinition<{
798
+ airtableConnection: {
799
+ label: string;
800
+ type: "connection";
801
+ required: true;
802
+ comments: string;
803
+ };
804
+ baseId: {
805
+ required: boolean;
806
+ comments: string;
807
+ label: string;
808
+ type: "string";
809
+ example: string;
810
+ placeholder: string;
811
+ clean: (value: unknown, defaultValue?: string) => string;
812
+ dataSource: string;
813
+ };
814
+ dataTypes: {
815
+ label: string;
816
+ type: "string";
817
+ collection: "valuelist";
818
+ required: true;
819
+ default: string[];
820
+ model: {
821
+ label: string;
822
+ value: string;
823
+ }[];
824
+ comments: string;
825
+ clean: (value: unknown) => string[];
826
+ };
827
+ recordChangeScope: {
828
+ label: string;
829
+ type: "string";
830
+ required: false;
831
+ comments: string;
832
+ example: string;
833
+ placeholder: string;
834
+ clean: (value: unknown) => string | undefined;
835
+ };
836
+ }, import("@prismatic-io/spectral").ConfigVarResultCollection, true, {
837
+ payload: {
838
+ body: {
839
+ data: {
840
+ expirationTime: string;
841
+ message: string;
842
+ };
843
+ };
844
+ headers: {
845
+ [key: string]: string;
846
+ };
847
+ queryParameters: {
848
+ [key: string]: string;
849
+ };
850
+ rawBody: {
851
+ data: unknown;
852
+ contentType?: string;
853
+ };
854
+ pathFragment: string;
855
+ webhookUrls: {
856
+ [key: string]: string;
857
+ };
858
+ webhookApiKeys: {
859
+ [key: string]: string[];
860
+ };
861
+ invokeUrl: string;
862
+ executionId: string;
863
+ customer: import("@prismatic-io/spectral").CustomerAttributes;
864
+ instance: import("@prismatic-io/spectral").InstanceAttributes;
865
+ user: import("@prismatic-io/spectral").UserAttributes;
866
+ integration: import("@prismatic-io/spectral").IntegrationAttributes;
867
+ flow: import("@prismatic-io/spectral").FlowAttributes;
868
+ startedAt: string;
869
+ globalDebug: boolean;
870
+ paginationState?: Record<string, unknown> | undefined;
871
+ };
872
+ branch: string;
873
+ } | {
874
+ payload: {
875
+ body: {
876
+ data: {
877
+ notification: unknown;
878
+ payloads: {
879
+ actionMetadata: {
880
+ source: string;
881
+ sourceMetadata: {
882
+ user: {
883
+ email: string;
884
+ id: string;
885
+ permissionLevel: string;
886
+ };
887
+ };
888
+ };
889
+ baseTransactionNumber: number;
890
+ payloadFormat: string;
891
+ timestamp: string;
892
+ }[];
893
+ payloadCount: number;
894
+ cursor: number | undefined;
895
+ };
896
+ };
897
+ headers: {
898
+ [key: string]: string;
899
+ };
900
+ queryParameters: {
901
+ [key: string]: string;
902
+ };
903
+ rawBody: {
904
+ data: unknown;
905
+ contentType?: string;
906
+ };
907
+ pathFragment: string;
908
+ webhookUrls: {
909
+ [key: string]: string;
910
+ };
911
+ webhookApiKeys: {
912
+ [key: string]: string[];
913
+ };
914
+ invokeUrl: string;
915
+ executionId: string;
916
+ customer: import("@prismatic-io/spectral").CustomerAttributes;
917
+ instance: import("@prismatic-io/spectral").InstanceAttributes;
918
+ user: import("@prismatic-io/spectral").UserAttributes;
919
+ integration: import("@prismatic-io/spectral").IntegrationAttributes;
920
+ flow: import("@prismatic-io/spectral").FlowAttributes;
921
+ startedAt: string;
922
+ globalDebug: boolean;
923
+ paginationState?: Record<string, unknown> | undefined;
924
+ };
925
+ branch: string;
926
+ }, import("@prismatic-io/spectral").Inputs>;
927
+ pollChangesTrigger: import("@prismatic-io/spectral").PollingTriggerDefinition<{
928
+ airtableConnection: {
929
+ label: string;
930
+ type: "connection";
931
+ required: true;
932
+ comments: string;
933
+ };
934
+ baseId: {
935
+ required: boolean;
936
+ comments: string;
937
+ label: string;
938
+ type: "string";
939
+ example: string;
940
+ placeholder: string;
941
+ clean: (value: unknown, defaultValue?: string) => string;
942
+ dataSource: string;
943
+ };
944
+ tableName: {
945
+ label: string;
946
+ type: "string";
947
+ required: true;
948
+ example: string;
949
+ placeholder: string;
950
+ comments: string;
951
+ dataSource: string;
952
+ clean: (value: unknown, defaultValue?: string) => string;
953
+ };
954
+ lookBackDate: {
955
+ label: string;
956
+ placeholder: string;
957
+ type: "string";
958
+ required: false;
959
+ comments: string;
960
+ example: string;
961
+ clean: (value: unknown) => string;
962
+ };
963
+ pollView: {
964
+ label: string;
965
+ type: "string";
966
+ example: string;
967
+ placeholder: string;
968
+ required: false;
969
+ comments: string;
970
+ clean: (value: unknown) => string | undefined;
971
+ };
972
+ additionalFilter: {
973
+ label: string;
974
+ type: "string";
975
+ required: false;
976
+ example: string;
977
+ placeholder: string;
978
+ comments: string;
979
+ clean: (value: unknown) => string | undefined;
980
+ };
981
+ showNewRecords: {
982
+ label: string;
983
+ type: "boolean";
984
+ required: false;
985
+ default: string;
986
+ comments: string;
987
+ clean: (value: unknown, defaultValue?: boolean) => boolean;
988
+ };
989
+ showUpdatedRecords: {
990
+ label: string;
991
+ type: "boolean";
992
+ required: false;
993
+ default: string;
994
+ comments: string;
995
+ clean: (value: unknown, defaultValue?: boolean) => boolean;
996
+ };
997
+ }, import("@prismatic-io/spectral").ConfigVarResultCollection, import("@prismatic-io/spectral").TriggerPayload<Record<string, unknown>>, boolean, {
998
+ payload: import("@prismatic-io/spectral").TriggerPayload;
999
+ }, import("@prismatic-io/spectral").Inputs>;
1000
+ };
1001
+ hooks: {
1002
+ error: (error: unknown) => unknown;
1003
+ };
1004
+ }>;
1005
+ export = _default;