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