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