@prismatic-io/components-asana 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,4044 @@
1
+ //#region src/types/resources.d.ts
2
+ interface Workspace {
3
+ gid: string;
4
+ name: string;
5
+ resource_type: string;
6
+ }
7
+ interface User {
8
+ gid: string;
9
+ name: string;
10
+ email: string;
11
+ resource_type: string;
12
+ workspaces: Workspace[];
13
+ }
14
+ interface Team {
15
+ gid: string;
16
+ name: string;
17
+ resource_type: string;
18
+ }
19
+ type Task = {
20
+ gid: string;
21
+ assignee: Record<string, unknown> | null;
22
+ assignee_status: string;
23
+ completed: boolean;
24
+ completed_at: null | string;
25
+ created_at: string;
26
+ custom_fields: Record<string, unknown>[];
27
+ dependencies: Record<string, unknown>[];
28
+ dependents: Record<string, unknown>[];
29
+ due_at: null | string;
30
+ due_on: null | string;
31
+ followers: Record<string, unknown>[];
32
+ html_notes: string;
33
+ is_rendered_as_separator: boolean;
34
+ liked: boolean;
35
+ likes: Record<string, unknown>[];
36
+ memberships: Record<string, unknown>[];
37
+ modified_at: string;
38
+ name: string;
39
+ notes: string;
40
+ num_likes: number;
41
+ num_subtasks: number;
42
+ parent: Record<string, unknown> | null;
43
+ projects: Record<string, unknown>[];
44
+ resource_type: string;
45
+ start_on: null | string;
46
+ tags: Record<string, unknown>[];
47
+ resource_subtype: string;
48
+ workspace: Record<string, unknown>;
49
+ };
50
+ interface Tag {
51
+ gid: string;
52
+ name: string;
53
+ color: string;
54
+ created_at: string;
55
+ resource_type: string;
56
+ }
57
+ //#endregion
58
+ //#region node_modules/axios/index.d.ts
59
+ type UppercaseMethod = 'GET' | 'DELETE' | 'HEAD' | 'OPTIONS' | 'POST' | 'PUT' | 'PATCH' | 'PURGE' | 'LINK' | 'UNLINK' | 'QUERY';
60
+ type Method = (UppercaseMethod | Lowercase<UppercaseMethod>) & {};
61
+ type ResponseType = 'arraybuffer' | 'blob' | 'document' | 'json' | 'text' | 'stream' | 'formdata';
62
+ //#endregion
63
+ //#region npm-dist/.entry.d.ts
64
+ declare const _default: import("@prismatic-io/spectral").CallableComponent<{
65
+ key: "asana";
66
+ public: true;
67
+ documentationUrl: "https://prismatic.io/docs/components/asana/";
68
+ display: {
69
+ category: "Application Connectors";
70
+ label: string;
71
+ description: string;
72
+ iconPath: string;
73
+ };
74
+ actions: {
75
+ addUser: import("@prismatic-io/spectral").ActionDefinition<{
76
+ asanaConnection: {
77
+ label: string;
78
+ type: "connection";
79
+ required: true;
80
+ comments: string;
81
+ };
82
+ userId: {
83
+ label: string;
84
+ type: "string";
85
+ example: string;
86
+ placeholder: string;
87
+ comments: string;
88
+ required: true;
89
+ dataSource: string;
90
+ clean: (value: unknown) => string;
91
+ };
92
+ workspaceId: {
93
+ label: string;
94
+ type: "string";
95
+ example: string;
96
+ placeholder: string;
97
+ comments: string;
98
+ required: true;
99
+ dataSource: string;
100
+ clean: (value: unknown) => string;
101
+ };
102
+ }, import("@prismatic-io/spectral").ConfigVarResultCollection, boolean, {
103
+ data: any;
104
+ }>;
105
+ findWorkspaceByName: import("@prismatic-io/spectral").ActionDefinition<{
106
+ asanaConnection: {
107
+ label: string;
108
+ type: "connection";
109
+ required: true;
110
+ comments: string;
111
+ };
112
+ workspaceName: {
113
+ label: string;
114
+ type: "string";
115
+ example: string;
116
+ placeholder: string;
117
+ comments: string;
118
+ required: true;
119
+ clean: (value: unknown, defaultValue?: string) => string;
120
+ };
121
+ }, import("@prismatic-io/spectral").ConfigVarResultCollection, boolean, {
122
+ data: Workspace;
123
+ }>;
124
+ getWorkspace: import("@prismatic-io/spectral").ActionDefinition<{
125
+ asanaConnection: {
126
+ label: string;
127
+ type: "connection";
128
+ required: true;
129
+ comments: string;
130
+ };
131
+ workspaceId: {
132
+ label: string;
133
+ type: "string";
134
+ example: string;
135
+ placeholder: string;
136
+ comments: string;
137
+ required: true;
138
+ dataSource: string;
139
+ clean: (value: unknown) => string;
140
+ };
141
+ }, import("@prismatic-io/spectral").ConfigVarResultCollection, boolean, {
142
+ data: any;
143
+ }>;
144
+ listWorkspaces: import("@prismatic-io/spectral").ActionDefinition<{
145
+ asanaConnection: {
146
+ label: string;
147
+ type: "connection";
148
+ required: true;
149
+ comments: string;
150
+ };
151
+ pagination: {
152
+ label: string;
153
+ required: boolean;
154
+ comments: string;
155
+ inputs: {
156
+ limit: {
157
+ label: string;
158
+ type: "string";
159
+ example: string;
160
+ placeholder: string;
161
+ comments: string;
162
+ required: false;
163
+ clean: (value: unknown) => number | undefined;
164
+ };
165
+ offset: {
166
+ label: string;
167
+ type: "string";
168
+ example: string;
169
+ placeholder: string;
170
+ comments: string;
171
+ required: false;
172
+ clean: (value: unknown) => string | undefined;
173
+ };
174
+ };
175
+ } & {
176
+ type: "structuredObject";
177
+ };
178
+ }, import("@prismatic-io/spectral").ConfigVarResultCollection, boolean, {
179
+ data: any;
180
+ }>;
181
+ createWebhook: import("@prismatic-io/spectral").ActionDefinition<{
182
+ asanaConnection: {
183
+ label: string;
184
+ type: "connection";
185
+ required: true;
186
+ comments: string;
187
+ };
188
+ endpoint: {
189
+ label: string;
190
+ comments: string;
191
+ type: "string";
192
+ example: string;
193
+ placeholder: string;
194
+ required: true;
195
+ clean: (value: unknown, defaultValue?: string) => string;
196
+ };
197
+ resourceId: {
198
+ label: string;
199
+ comments: string;
200
+ type: "string";
201
+ example: string;
202
+ placeholder: string;
203
+ required: true;
204
+ clean: (value: unknown) => string;
205
+ };
206
+ filter: {
207
+ label: string;
208
+ type: "code";
209
+ language: "json";
210
+ default: string;
211
+ required: false;
212
+ comments: string;
213
+ clean: (value: unknown) => object | undefined;
214
+ };
215
+ }, import("@prismatic-io/spectral").ConfigVarResultCollection, boolean, {
216
+ data: any;
217
+ } | undefined>;
218
+ deleteInstanceWebhooks: import("@prismatic-io/spectral").ActionDefinition<{
219
+ asanaConnection: {
220
+ label: string;
221
+ type: "connection";
222
+ required: true;
223
+ comments: string;
224
+ };
225
+ workspaceId: {
226
+ label: string;
227
+ type: "string";
228
+ example: string;
229
+ placeholder: string;
230
+ comments: string;
231
+ required: true;
232
+ dataSource: string;
233
+ clean: (value: unknown) => string;
234
+ };
235
+ }, import("@prismatic-io/spectral").ConfigVarResultCollection, boolean, {
236
+ data: {};
237
+ }>;
238
+ deleteWebhook: import("@prismatic-io/spectral").ActionDefinition<{
239
+ asanaConnection: {
240
+ label: string;
241
+ type: "connection";
242
+ required: true;
243
+ comments: string;
244
+ };
245
+ webhookId: {
246
+ label: string;
247
+ type: "string";
248
+ example: string;
249
+ placeholder: string;
250
+ comments: string;
251
+ required: true;
252
+ clean: (value: unknown) => string;
253
+ };
254
+ }, import("@prismatic-io/spectral").ConfigVarResultCollection, boolean, {
255
+ data: any;
256
+ }>;
257
+ listWebhooks: import("@prismatic-io/spectral").ActionDefinition<{
258
+ asanaConnection: {
259
+ label: string;
260
+ type: "connection";
261
+ required: true;
262
+ comments: string;
263
+ };
264
+ workspaceId: {
265
+ label: string;
266
+ type: "string";
267
+ example: string;
268
+ placeholder: string;
269
+ comments: string;
270
+ required: true;
271
+ dataSource: string;
272
+ clean: (value: unknown) => string;
273
+ };
274
+ showOnlyInstanceWebhooks: {
275
+ label: string;
276
+ comments: string;
277
+ type: "boolean";
278
+ default: string;
279
+ clean: (value: unknown, defaultValue?: boolean) => boolean;
280
+ };
281
+ pagination: {
282
+ label: string;
283
+ required: boolean;
284
+ comments: string;
285
+ inputs: {
286
+ limit: {
287
+ label: string;
288
+ type: "string";
289
+ example: string;
290
+ placeholder: string;
291
+ comments: string;
292
+ required: false;
293
+ clean: (value: unknown) => number | undefined;
294
+ };
295
+ offset: {
296
+ label: string;
297
+ type: "string";
298
+ example: string;
299
+ placeholder: string;
300
+ comments: string;
301
+ required: false;
302
+ clean: (value: unknown) => string | undefined;
303
+ };
304
+ };
305
+ } & {
306
+ type: "structuredObject";
307
+ };
308
+ }, import("@prismatic-io/spectral").ConfigVarResultCollection, boolean, {
309
+ data: any;
310
+ }>;
311
+ findUserByNameOrEmail: import("@prismatic-io/spectral").ActionDefinition<{
312
+ asanaConnection: {
313
+ label: string;
314
+ type: "connection";
315
+ required: true;
316
+ comments: string;
317
+ };
318
+ userName: {
319
+ label: string;
320
+ type: "string";
321
+ example: string;
322
+ placeholder: string;
323
+ required: false;
324
+ comments: string;
325
+ clean: (value: unknown) => string | undefined;
326
+ };
327
+ userEmail: {
328
+ label: string;
329
+ type: "string";
330
+ example: string;
331
+ placeholder: string;
332
+ required: false;
333
+ comments: string;
334
+ clean: (value: unknown) => string | undefined;
335
+ };
336
+ workspaceId: {
337
+ label: string;
338
+ type: "string";
339
+ example: string;
340
+ placeholder: string;
341
+ comments: string;
342
+ required: true;
343
+ dataSource: string;
344
+ clean: (value: unknown) => string;
345
+ };
346
+ optFields: {
347
+ default: string;
348
+ label: string;
349
+ type: "string";
350
+ required: false;
351
+ example: string;
352
+ placeholder: string;
353
+ comments: string;
354
+ clean: (value: unknown) => string;
355
+ };
356
+ }, import("@prismatic-io/spectral").ConfigVarResultCollection, boolean, {
357
+ data: User;
358
+ }>;
359
+ getCurrentUser: import("@prismatic-io/spectral").ActionDefinition<{
360
+ asanaConnection: {
361
+ label: string;
362
+ type: "connection";
363
+ required: true;
364
+ comments: string;
365
+ };
366
+ }, import("@prismatic-io/spectral").ConfigVarResultCollection, boolean, {
367
+ data: any;
368
+ }>;
369
+ getUsers: import("@prismatic-io/spectral").ActionDefinition<{
370
+ asanaConnection: {
371
+ label: string;
372
+ type: "connection";
373
+ required: true;
374
+ comments: string;
375
+ };
376
+ userId: {
377
+ label: string;
378
+ type: "string";
379
+ example: string;
380
+ placeholder: string;
381
+ comments: string;
382
+ required: true;
383
+ dataSource: string;
384
+ clean: (value: unknown) => string;
385
+ };
386
+ }, import("@prismatic-io/spectral").ConfigVarResultCollection, boolean, {
387
+ data: any;
388
+ }>;
389
+ listUsers: import("@prismatic-io/spectral").ActionDefinition<{
390
+ asanaConnection: {
391
+ label: string;
392
+ type: "connection";
393
+ required: true;
394
+ comments: string;
395
+ };
396
+ optFields: {
397
+ default: string;
398
+ label: string;
399
+ type: "string";
400
+ required: false;
401
+ example: string;
402
+ placeholder: string;
403
+ comments: string;
404
+ clean: (value: unknown) => string;
405
+ };
406
+ pagination: {
407
+ label: string;
408
+ required: boolean;
409
+ comments: string;
410
+ inputs: {
411
+ limit: {
412
+ label: string;
413
+ type: "string";
414
+ example: string;
415
+ placeholder: string;
416
+ comments: string;
417
+ required: false;
418
+ clean: (value: unknown) => number | undefined;
419
+ };
420
+ offset: {
421
+ label: string;
422
+ type: "string";
423
+ example: string;
424
+ placeholder: string;
425
+ comments: string;
426
+ required: false;
427
+ clean: (value: unknown) => string | undefined;
428
+ };
429
+ };
430
+ } & {
431
+ type: "structuredObject";
432
+ };
433
+ workspaceId: {
434
+ required: boolean;
435
+ clean: (value: unknown) => string | undefined;
436
+ comments: string;
437
+ label: string;
438
+ type: "string";
439
+ example: string;
440
+ placeholder: string;
441
+ dataSource: string;
442
+ };
443
+ }, import("@prismatic-io/spectral").ConfigVarResultCollection, boolean, {
444
+ data: any;
445
+ }>;
446
+ listUsersInTeam: import("@prismatic-io/spectral").ActionDefinition<{
447
+ asanaConnection: {
448
+ label: string;
449
+ type: "connection";
450
+ required: true;
451
+ comments: string;
452
+ };
453
+ limit: {
454
+ label: string;
455
+ type: "string";
456
+ example: string;
457
+ placeholder: string;
458
+ comments: string;
459
+ required: false;
460
+ clean: (value: unknown) => number | undefined;
461
+ };
462
+ offset: {
463
+ label: string;
464
+ type: "string";
465
+ example: string;
466
+ placeholder: string;
467
+ comments: string;
468
+ required: false;
469
+ clean: (value: unknown) => string | undefined;
470
+ };
471
+ teamId: {
472
+ label: string;
473
+ type: "string";
474
+ example: string;
475
+ placeholder: string;
476
+ comments: string;
477
+ required: true;
478
+ dataSource: string;
479
+ clean: (value: unknown) => string;
480
+ };
481
+ workspaceId: {
482
+ required: boolean;
483
+ clean: (value: unknown) => string | undefined;
484
+ label: string;
485
+ type: "string";
486
+ example: string;
487
+ placeholder: string;
488
+ comments: string;
489
+ dataSource: string;
490
+ };
491
+ }, import("@prismatic-io/spectral").ConfigVarResultCollection, boolean, {
492
+ data: any;
493
+ }>;
494
+ addUserToTeam: import("@prismatic-io/spectral").ActionDefinition<{
495
+ asanaConnection: {
496
+ label: string;
497
+ type: "connection";
498
+ required: true;
499
+ comments: string;
500
+ };
501
+ teamId: {
502
+ label: string;
503
+ type: "string";
504
+ example: string;
505
+ placeholder: string;
506
+ comments: string;
507
+ required: true;
508
+ dataSource: string;
509
+ clean: (value: unknown) => string;
510
+ };
511
+ userId: {
512
+ label: string;
513
+ type: "string";
514
+ example: string;
515
+ placeholder: string;
516
+ comments: string;
517
+ required: true;
518
+ dataSource: string;
519
+ clean: (value: unknown) => string;
520
+ };
521
+ }, import("@prismatic-io/spectral").ConfigVarResultCollection, boolean, {
522
+ data: any;
523
+ }>;
524
+ createTeam: import("@prismatic-io/spectral").ActionDefinition<{
525
+ asanaConnection: {
526
+ label: string;
527
+ type: "connection";
528
+ required: true;
529
+ comments: string;
530
+ };
531
+ organizationId: {
532
+ label: string;
533
+ type: "string";
534
+ example: string;
535
+ placeholder: string;
536
+ comments: string;
537
+ required: true;
538
+ clean: (value: unknown) => string;
539
+ };
540
+ teamDescription: {
541
+ label: string;
542
+ type: "string";
543
+ example: string;
544
+ placeholder: string;
545
+ comments: string;
546
+ required: false;
547
+ clean: (value: unknown) => string | undefined;
548
+ };
549
+ teamName: {
550
+ label: string;
551
+ type: "string";
552
+ example: string;
553
+ placeholder: string;
554
+ comments: string;
555
+ required: true;
556
+ clean: (value: unknown, defaultValue?: string) => string;
557
+ };
558
+ }, import("@prismatic-io/spectral").ConfigVarResultCollection, boolean, {
559
+ data: any;
560
+ }>;
561
+ findTeamByName: import("@prismatic-io/spectral").ActionDefinition<{
562
+ asanaConnection: {
563
+ label: string;
564
+ type: "connection";
565
+ required: true;
566
+ comments: string;
567
+ };
568
+ teamName: {
569
+ label: string;
570
+ type: "string";
571
+ example: string;
572
+ placeholder: string;
573
+ required: true;
574
+ comments: string;
575
+ clean: (value: unknown, defaultValue?: string) => string;
576
+ };
577
+ workspaceId: {
578
+ label: string;
579
+ type: "string";
580
+ example: string;
581
+ placeholder: string;
582
+ comments: string;
583
+ required: true;
584
+ dataSource: string;
585
+ clean: (value: unknown) => string;
586
+ };
587
+ }, import("@prismatic-io/spectral").ConfigVarResultCollection, boolean, {
588
+ data: Team;
589
+ }>;
590
+ getTeam: import("@prismatic-io/spectral").ActionDefinition<{
591
+ asanaConnection: {
592
+ label: string;
593
+ type: "connection";
594
+ required: true;
595
+ comments: string;
596
+ };
597
+ teamId: {
598
+ label: string;
599
+ type: "string";
600
+ example: string;
601
+ placeholder: string;
602
+ comments: string;
603
+ required: true;
604
+ dataSource: string;
605
+ clean: (value: unknown) => string;
606
+ };
607
+ }, import("@prismatic-io/spectral").ConfigVarResultCollection, boolean, {
608
+ data: any;
609
+ }>;
610
+ listTeams: import("@prismatic-io/spectral").ActionDefinition<{
611
+ asanaConnection: {
612
+ label: string;
613
+ type: "connection";
614
+ required: true;
615
+ comments: string;
616
+ };
617
+ workspaceId: {
618
+ label: string;
619
+ type: "string";
620
+ example: string;
621
+ placeholder: string;
622
+ comments: string;
623
+ required: true;
624
+ dataSource: string;
625
+ clean: (value: unknown) => string;
626
+ };
627
+ }, import("@prismatic-io/spectral").ConfigVarResultCollection, boolean, {
628
+ data: any;
629
+ }>;
630
+ addFollowersToTask: import("@prismatic-io/spectral").ActionDefinition<{
631
+ asanaConnection: {
632
+ label: string;
633
+ type: "connection";
634
+ required: true;
635
+ comments: string;
636
+ };
637
+ followersList: {
638
+ label: string;
639
+ type: "string";
640
+ example: string;
641
+ collection: "valuelist";
642
+ placeholder: string;
643
+ comments: string;
644
+ required: false;
645
+ clean: (value: unknown) => string[];
646
+ };
647
+ optFields: {
648
+ default: string;
649
+ label: string;
650
+ type: "string";
651
+ required: false;
652
+ example: string;
653
+ placeholder: string;
654
+ comments: string;
655
+ clean: (value: unknown) => string;
656
+ };
657
+ taskId: {
658
+ label: string;
659
+ type: "string";
660
+ example: string;
661
+ placeholder: string;
662
+ comments: string;
663
+ required: true;
664
+ dataSource: string;
665
+ clean: (value: unknown) => string;
666
+ };
667
+ }, import("@prismatic-io/spectral").ConfigVarResultCollection, boolean, {
668
+ data: any;
669
+ }>;
670
+ addTagToTask: import("@prismatic-io/spectral").ActionDefinition<{
671
+ asanaConnection: {
672
+ label: string;
673
+ type: "connection";
674
+ required: true;
675
+ comments: string;
676
+ };
677
+ optFields: {
678
+ default: string;
679
+ label: string;
680
+ type: "string";
681
+ required: false;
682
+ example: string;
683
+ placeholder: string;
684
+ comments: string;
685
+ clean: (value: unknown) => string;
686
+ };
687
+ tagId: {
688
+ label: string;
689
+ type: "string";
690
+ example: string;
691
+ placeholder: string;
692
+ comments: string;
693
+ required: true;
694
+ dataSource: string;
695
+ clean: (value: unknown) => string;
696
+ };
697
+ taskId: {
698
+ label: string;
699
+ type: "string";
700
+ example: string;
701
+ placeholder: string;
702
+ comments: string;
703
+ required: true;
704
+ dataSource: string;
705
+ clean: (value: unknown) => string;
706
+ };
707
+ }, import("@prismatic-io/spectral").ConfigVarResultCollection, boolean, {
708
+ data: any;
709
+ }>;
710
+ createTask: import("@prismatic-io/spectral").ActionDefinition<{
711
+ asanaConnection: {
712
+ label: string;
713
+ type: "connection";
714
+ required: true;
715
+ comments: string;
716
+ };
717
+ approvalStatus: {
718
+ label: string;
719
+ type: "string";
720
+ example: string;
721
+ model: {
722
+ label: string;
723
+ value: string;
724
+ }[];
725
+ comments: string;
726
+ required: true;
727
+ clean: (value: unknown) => string | undefined;
728
+ };
729
+ assigneeId: {
730
+ label: string;
731
+ type: "string";
732
+ example: string;
733
+ placeholder: string;
734
+ comments: string;
735
+ required: false;
736
+ clean: (value: unknown) => string | undefined;
737
+ };
738
+ assigneeSectionId: {
739
+ label: string;
740
+ type: "string";
741
+ example: string;
742
+ placeholder: string;
743
+ comments: string;
744
+ required: false;
745
+ clean: (value: unknown) => string | undefined;
746
+ };
747
+ followersList: {
748
+ label: string;
749
+ type: "string";
750
+ example: string;
751
+ collection: "valuelist";
752
+ placeholder: string;
753
+ comments: string;
754
+ required: false;
755
+ clean: (value: unknown) => string[];
756
+ };
757
+ htmlNotes: {
758
+ label: string;
759
+ type: "code";
760
+ language: "html";
761
+ comments: string;
762
+ example: string;
763
+ required: false;
764
+ clean: (value: unknown) => string | undefined;
765
+ };
766
+ name: {
767
+ label: string;
768
+ type: "string";
769
+ comments: string;
770
+ example: string;
771
+ placeholder: string;
772
+ required: false;
773
+ clean: (value: unknown) => string | undefined;
774
+ };
775
+ notes: {
776
+ label: string;
777
+ type: "text";
778
+ comments: string;
779
+ example: string;
780
+ placeholder: string;
781
+ required: false;
782
+ clean: (value: unknown) => string | undefined;
783
+ };
784
+ optFields: {
785
+ default: string;
786
+ label: string;
787
+ type: "string";
788
+ required: false;
789
+ example: string;
790
+ placeholder: string;
791
+ comments: string;
792
+ clean: (value: unknown) => string;
793
+ };
794
+ parentId: {
795
+ label: string;
796
+ type: "string";
797
+ example: string;
798
+ placeholder: string;
799
+ comments: string;
800
+ required: false;
801
+ clean: (value: unknown) => string | undefined;
802
+ };
803
+ projectList: {
804
+ label: string;
805
+ type: "string";
806
+ example: string;
807
+ collection: "valuelist";
808
+ placeholder: string;
809
+ comments: string;
810
+ required: false;
811
+ clean: (value: unknown) => string[] | undefined;
812
+ };
813
+ resourceSubtype: {
814
+ label: string;
815
+ type: "string";
816
+ example: string;
817
+ placeholder: string;
818
+ comments: string;
819
+ required: false;
820
+ clean: (value: unknown) => string | undefined;
821
+ };
822
+ scheduling: {
823
+ label: string;
824
+ required: boolean;
825
+ comments: string;
826
+ inputs: {
827
+ dueAt: {
828
+ label: string;
829
+ type: "string";
830
+ example: string;
831
+ placeholder: string;
832
+ comments: string;
833
+ required: false;
834
+ clean: (value: unknown) => Date | undefined;
835
+ };
836
+ dueOn: {
837
+ label: string;
838
+ type: "string";
839
+ comments: string;
840
+ example: string;
841
+ placeholder: string;
842
+ required: false;
843
+ clean: (value: unknown) => Date | undefined;
844
+ };
845
+ startAt: {
846
+ label: string;
847
+ type: "string";
848
+ comments: string;
849
+ example: string;
850
+ placeholder: string;
851
+ required: false;
852
+ clean: (value: unknown) => string | undefined;
853
+ };
854
+ startOn: {
855
+ label: string;
856
+ type: "string";
857
+ comments: string;
858
+ example: string;
859
+ placeholder: string;
860
+ required: false;
861
+ clean: (value: unknown) => Date | undefined;
862
+ };
863
+ };
864
+ } & {
865
+ type: "structuredObject";
866
+ };
867
+ taskStatus: {
868
+ label: string;
869
+ required: boolean;
870
+ comments: string;
871
+ inputs: {
872
+ assigneeStatus: {
873
+ label: string;
874
+ type: "string";
875
+ example: string;
876
+ placeholder: string;
877
+ comments: string;
878
+ required: false;
879
+ clean: (value: unknown) => string | undefined;
880
+ };
881
+ completedBy: {
882
+ label: string;
883
+ type: "string";
884
+ example: string;
885
+ placeholder: string;
886
+ comments: string;
887
+ required: false;
888
+ clean: (value: unknown) => string | undefined;
889
+ };
890
+ isCompleted: {
891
+ label: string;
892
+ type: "string";
893
+ model: {
894
+ label: string;
895
+ value: string;
896
+ }[];
897
+ default: string;
898
+ comments: string;
899
+ required: false;
900
+ clean: (value: unknown) => boolean | undefined;
901
+ };
902
+ isLiked: {
903
+ label: string;
904
+ type: "string";
905
+ model: {
906
+ label: string;
907
+ value: string;
908
+ }[];
909
+ default: string;
910
+ required: false;
911
+ comments: string;
912
+ clean: (value: unknown) => boolean | undefined;
913
+ };
914
+ };
915
+ } & {
916
+ type: "structuredObject";
917
+ };
918
+ workspaceId: {
919
+ required: boolean;
920
+ clean: (value: unknown) => string | undefined;
921
+ label: string;
922
+ type: "string";
923
+ example: string;
924
+ placeholder: string;
925
+ comments: string;
926
+ dataSource: string;
927
+ };
928
+ }, import("@prismatic-io/spectral").ConfigVarResultCollection, boolean, {
929
+ data: any;
930
+ }>;
931
+ deleteTask: import("@prismatic-io/spectral").ActionDefinition<{
932
+ asanaConnection: {
933
+ label: string;
934
+ type: "connection";
935
+ required: true;
936
+ comments: string;
937
+ };
938
+ taskId: {
939
+ label: string;
940
+ type: "string";
941
+ example: string;
942
+ placeholder: string;
943
+ comments: string;
944
+ required: true;
945
+ dataSource: string;
946
+ clean: (value: unknown) => string;
947
+ };
948
+ }, import("@prismatic-io/spectral").ConfigVarResultCollection, boolean, {
949
+ data: any;
950
+ }>;
951
+ getTask: import("@prismatic-io/spectral").ActionDefinition<{
952
+ asanaConnection: {
953
+ label: string;
954
+ type: "connection";
955
+ required: true;
956
+ comments: string;
957
+ };
958
+ optFields: {
959
+ default: string;
960
+ label: string;
961
+ type: "string";
962
+ required: false;
963
+ example: string;
964
+ placeholder: string;
965
+ comments: string;
966
+ clean: (value: unknown) => string;
967
+ };
968
+ taskId: {
969
+ label: string;
970
+ type: "string";
971
+ example: string;
972
+ placeholder: string;
973
+ comments: string;
974
+ required: true;
975
+ dataSource: string;
976
+ clean: (value: unknown) => string;
977
+ };
978
+ }, import("@prismatic-io/spectral").ConfigVarResultCollection, boolean, {
979
+ data: any;
980
+ }>;
981
+ listTasks: import("@prismatic-io/spectral").ActionDefinition<{
982
+ asanaConnection: {
983
+ label: string;
984
+ type: "connection";
985
+ required: true;
986
+ comments: string;
987
+ };
988
+ assigneeId: {
989
+ required: boolean;
990
+ label: string;
991
+ type: "string";
992
+ example: string;
993
+ placeholder: string;
994
+ comments: string;
995
+ clean: (value: unknown) => string | undefined;
996
+ };
997
+ optFields: {
998
+ default: string;
999
+ label: string;
1000
+ type: "string";
1001
+ required: false;
1002
+ example: string;
1003
+ placeholder: string;
1004
+ comments: string;
1005
+ clean: (value: unknown) => string;
1006
+ };
1007
+ pagination: {
1008
+ label: string;
1009
+ required: boolean;
1010
+ comments: string;
1011
+ inputs: {
1012
+ limit: {
1013
+ label: string;
1014
+ type: "string";
1015
+ example: string;
1016
+ placeholder: string;
1017
+ comments: string;
1018
+ required: false;
1019
+ clean: (value: unknown) => number | undefined;
1020
+ };
1021
+ offset: {
1022
+ label: string;
1023
+ type: "string";
1024
+ example: string;
1025
+ placeholder: string;
1026
+ comments: string;
1027
+ required: false;
1028
+ clean: (value: unknown) => string | undefined;
1029
+ };
1030
+ };
1031
+ } & {
1032
+ type: "structuredObject";
1033
+ };
1034
+ projectId: {
1035
+ required: boolean;
1036
+ clean: (value: unknown) => string | undefined;
1037
+ label: string;
1038
+ type: "string";
1039
+ comments: string;
1040
+ example: string;
1041
+ placeholder: string;
1042
+ dataSource: string;
1043
+ };
1044
+ workspaceId: {
1045
+ required: boolean;
1046
+ clean: (value: unknown) => string | undefined;
1047
+ label: string;
1048
+ type: "string";
1049
+ example: string;
1050
+ placeholder: string;
1051
+ comments: string;
1052
+ dataSource: string;
1053
+ };
1054
+ }, import("@prismatic-io/spectral").ConfigVarResultCollection, boolean, {
1055
+ data: any;
1056
+ }>;
1057
+ removeAssigneeFromTask: import("@prismatic-io/spectral").ActionDefinition<{
1058
+ asanaConnection: {
1059
+ label: string;
1060
+ type: "connection";
1061
+ required: true;
1062
+ comments: string;
1063
+ };
1064
+ taskId: {
1065
+ label: string;
1066
+ type: "string";
1067
+ example: string;
1068
+ placeholder: string;
1069
+ comments: string;
1070
+ required: true;
1071
+ dataSource: string;
1072
+ clean: (value: unknown) => string;
1073
+ };
1074
+ }, import("@prismatic-io/spectral").ConfigVarResultCollection, boolean, {
1075
+ data: any;
1076
+ }>;
1077
+ removeFollowersFromTask: import("@prismatic-io/spectral").ActionDefinition<{
1078
+ asanaConnection: {
1079
+ label: string;
1080
+ type: "connection";
1081
+ required: true;
1082
+ comments: string;
1083
+ };
1084
+ followersList: {
1085
+ label: string;
1086
+ type: "string";
1087
+ example: string;
1088
+ collection: "valuelist";
1089
+ placeholder: string;
1090
+ comments: string;
1091
+ required: false;
1092
+ clean: (value: unknown) => string[];
1093
+ };
1094
+ optFields: {
1095
+ default: string;
1096
+ label: string;
1097
+ type: "string";
1098
+ required: false;
1099
+ example: string;
1100
+ placeholder: string;
1101
+ comments: string;
1102
+ clean: (value: unknown) => string;
1103
+ };
1104
+ taskId: {
1105
+ label: string;
1106
+ type: "string";
1107
+ example: string;
1108
+ placeholder: string;
1109
+ comments: string;
1110
+ required: true;
1111
+ dataSource: string;
1112
+ clean: (value: unknown) => string;
1113
+ };
1114
+ }, import("@prismatic-io/spectral").ConfigVarResultCollection, boolean, {
1115
+ data: any;
1116
+ }>;
1117
+ removeTagFromTask: import("@prismatic-io/spectral").ActionDefinition<{
1118
+ asanaConnection: {
1119
+ label: string;
1120
+ type: "connection";
1121
+ required: true;
1122
+ comments: string;
1123
+ };
1124
+ tagId: {
1125
+ label: string;
1126
+ type: "string";
1127
+ example: string;
1128
+ placeholder: string;
1129
+ comments: string;
1130
+ required: true;
1131
+ dataSource: string;
1132
+ clean: (value: unknown) => string;
1133
+ };
1134
+ taskId: {
1135
+ label: string;
1136
+ type: "string";
1137
+ example: string;
1138
+ placeholder: string;
1139
+ comments: string;
1140
+ required: true;
1141
+ dataSource: string;
1142
+ clean: (value: unknown) => string;
1143
+ };
1144
+ }, import("@prismatic-io/spectral").ConfigVarResultCollection, boolean, {
1145
+ data: any;
1146
+ }>;
1147
+ updateTask: import("@prismatic-io/spectral").ActionDefinition<{
1148
+ asanaConnection: {
1149
+ label: string;
1150
+ type: "connection";
1151
+ required: true;
1152
+ comments: string;
1153
+ };
1154
+ assigneeId: {
1155
+ required: boolean;
1156
+ label: string;
1157
+ type: "string";
1158
+ example: string;
1159
+ placeholder: string;
1160
+ comments: string;
1161
+ clean: (value: unknown) => string | undefined;
1162
+ };
1163
+ assigneeSectionId: {
1164
+ label: string;
1165
+ type: "string";
1166
+ example: string;
1167
+ placeholder: string;
1168
+ comments: string;
1169
+ required: false;
1170
+ clean: (value: unknown) => string | undefined;
1171
+ };
1172
+ htmlNotes: {
1173
+ label: string;
1174
+ type: "code";
1175
+ language: "html";
1176
+ comments: string;
1177
+ example: string;
1178
+ required: false;
1179
+ clean: (value: unknown) => string | undefined;
1180
+ };
1181
+ name: {
1182
+ label: string;
1183
+ type: "string";
1184
+ comments: string;
1185
+ example: string;
1186
+ placeholder: string;
1187
+ required: false;
1188
+ clean: (value: unknown) => string | undefined;
1189
+ };
1190
+ notes: {
1191
+ label: string;
1192
+ type: "text";
1193
+ comments: string;
1194
+ example: string;
1195
+ placeholder: string;
1196
+ required: false;
1197
+ clean: (value: unknown) => string | undefined;
1198
+ };
1199
+ optFields: {
1200
+ default: string;
1201
+ label: string;
1202
+ type: "string";
1203
+ required: false;
1204
+ example: string;
1205
+ placeholder: string;
1206
+ comments: string;
1207
+ clean: (value: unknown) => string;
1208
+ };
1209
+ parentId: {
1210
+ label: string;
1211
+ type: "string";
1212
+ example: string;
1213
+ placeholder: string;
1214
+ comments: string;
1215
+ required: false;
1216
+ clean: (value: unknown) => string | undefined;
1217
+ };
1218
+ resourceSubtype: {
1219
+ label: string;
1220
+ type: "string";
1221
+ example: string;
1222
+ placeholder: string;
1223
+ comments: string;
1224
+ required: false;
1225
+ clean: (value: unknown) => string | undefined;
1226
+ };
1227
+ scheduling: {
1228
+ label: string;
1229
+ required: boolean;
1230
+ comments: string;
1231
+ inputs: {
1232
+ dueAt: {
1233
+ label: string;
1234
+ type: "string";
1235
+ example: string;
1236
+ placeholder: string;
1237
+ comments: string;
1238
+ required: false;
1239
+ clean: (value: unknown) => Date | undefined;
1240
+ };
1241
+ dueOn: {
1242
+ label: string;
1243
+ type: "string";
1244
+ comments: string;
1245
+ example: string;
1246
+ placeholder: string;
1247
+ required: false;
1248
+ clean: (value: unknown) => Date | undefined;
1249
+ };
1250
+ startAt: {
1251
+ label: string;
1252
+ type: "string";
1253
+ comments: string;
1254
+ example: string;
1255
+ placeholder: string;
1256
+ required: false;
1257
+ clean: (value: unknown) => string | undefined;
1258
+ };
1259
+ startOn: {
1260
+ label: string;
1261
+ type: "string";
1262
+ comments: string;
1263
+ example: string;
1264
+ placeholder: string;
1265
+ required: false;
1266
+ clean: (value: unknown) => Date | undefined;
1267
+ };
1268
+ };
1269
+ } & {
1270
+ type: "structuredObject";
1271
+ };
1272
+ taskId: {
1273
+ label: string;
1274
+ type: "string";
1275
+ example: string;
1276
+ placeholder: string;
1277
+ comments: string;
1278
+ required: true;
1279
+ dataSource: string;
1280
+ clean: (value: unknown) => string;
1281
+ };
1282
+ taskStatus: {
1283
+ label: string;
1284
+ required: boolean;
1285
+ comments: string;
1286
+ inputs: {
1287
+ approvalStatus: {
1288
+ required: false;
1289
+ label: string;
1290
+ type: "string";
1291
+ example: string;
1292
+ model: {
1293
+ label: string;
1294
+ value: string;
1295
+ }[];
1296
+ comments: string;
1297
+ clean: (value: unknown) => string | undefined;
1298
+ };
1299
+ assigneeStatus: {
1300
+ label: string;
1301
+ type: "string";
1302
+ example: string;
1303
+ placeholder: string;
1304
+ comments: string;
1305
+ required: false;
1306
+ clean: (value: unknown) => string | undefined;
1307
+ };
1308
+ completedBy: {
1309
+ label: string;
1310
+ type: "string";
1311
+ example: string;
1312
+ placeholder: string;
1313
+ comments: string;
1314
+ required: false;
1315
+ clean: (value: unknown) => string | undefined;
1316
+ };
1317
+ isCompleted: {
1318
+ label: string;
1319
+ type: "string";
1320
+ model: {
1321
+ label: string;
1322
+ value: string;
1323
+ }[];
1324
+ default: string;
1325
+ comments: string;
1326
+ required: false;
1327
+ clean: (value: unknown) => boolean | undefined;
1328
+ };
1329
+ isLiked: {
1330
+ label: string;
1331
+ type: "string";
1332
+ model: {
1333
+ label: string;
1334
+ value: string;
1335
+ }[];
1336
+ default: string;
1337
+ required: false;
1338
+ comments: string;
1339
+ clean: (value: unknown) => boolean | undefined;
1340
+ };
1341
+ };
1342
+ } & {
1343
+ type: "structuredObject";
1344
+ };
1345
+ workspaceId: {
1346
+ required: boolean;
1347
+ clean: (value: unknown) => string | undefined;
1348
+ label: string;
1349
+ type: "string";
1350
+ example: string;
1351
+ placeholder: string;
1352
+ comments: string;
1353
+ dataSource: string;
1354
+ };
1355
+ }, import("@prismatic-io/spectral").ConfigVarResultCollection, boolean, {
1356
+ data: any;
1357
+ }>;
1358
+ createTag: import("@prismatic-io/spectral").ActionDefinition<{
1359
+ asanaConnection: {
1360
+ label: string;
1361
+ type: "connection";
1362
+ required: true;
1363
+ comments: string;
1364
+ };
1365
+ color: {
1366
+ label: string;
1367
+ type: "string";
1368
+ model: {
1369
+ label: "dark-pink" | "dark-green" | "dark-blue" | "dark-red" | "dark-teal" | "dark-brown" | "dark-orange" | "dark-purple" | "dark-warm-gray" | "light-pink" | "light-green" | "light-blue" | "light-red" | "light-teal" | "light-orange" | "light-purple" | "light-warm-gray" | "light-yellow";
1370
+ value: "dark-pink" | "dark-green" | "dark-blue" | "dark-red" | "dark-teal" | "dark-brown" | "dark-orange" | "dark-purple" | "dark-warm-gray" | "light-pink" | "light-green" | "light-blue" | "light-red" | "light-teal" | "light-orange" | "light-purple" | "light-warm-gray" | "light-yellow";
1371
+ }[];
1372
+ default: string;
1373
+ comments: string;
1374
+ required: true;
1375
+ clean: (value: unknown, defaultValue?: string) => string;
1376
+ };
1377
+ followersList: {
1378
+ label: string;
1379
+ type: "string";
1380
+ example: string;
1381
+ collection: "valuelist";
1382
+ placeholder: string;
1383
+ comments: string;
1384
+ required: false;
1385
+ clean: (value: unknown) => string[];
1386
+ };
1387
+ name: {
1388
+ label: string;
1389
+ type: "string";
1390
+ comments: string;
1391
+ example: string;
1392
+ placeholder: string;
1393
+ required: false;
1394
+ clean: (value: unknown) => string | undefined;
1395
+ };
1396
+ notes: {
1397
+ label: string;
1398
+ type: "text";
1399
+ comments: string;
1400
+ example: string;
1401
+ placeholder: string;
1402
+ required: false;
1403
+ clean: (value: unknown) => string | undefined;
1404
+ };
1405
+ optFields: {
1406
+ default: string;
1407
+ label: string;
1408
+ type: "string";
1409
+ required: false;
1410
+ example: string;
1411
+ placeholder: string;
1412
+ comments: string;
1413
+ clean: (value: unknown) => string;
1414
+ };
1415
+ workspaceId: {
1416
+ label: string;
1417
+ type: "string";
1418
+ example: string;
1419
+ placeholder: string;
1420
+ comments: string;
1421
+ required: true;
1422
+ dataSource: string;
1423
+ clean: (value: unknown) => string;
1424
+ };
1425
+ }, import("@prismatic-io/spectral").ConfigVarResultCollection, boolean, {
1426
+ data: any;
1427
+ }>;
1428
+ deleteTag: import("@prismatic-io/spectral").ActionDefinition<{
1429
+ asanaConnection: {
1430
+ label: string;
1431
+ type: "connection";
1432
+ required: true;
1433
+ comments: string;
1434
+ };
1435
+ pagination: {
1436
+ label: string;
1437
+ required: boolean;
1438
+ comments: string;
1439
+ inputs: {
1440
+ limit: {
1441
+ label: string;
1442
+ type: "string";
1443
+ example: string;
1444
+ placeholder: string;
1445
+ comments: string;
1446
+ required: false;
1447
+ clean: (value: unknown) => number | undefined;
1448
+ };
1449
+ offset: {
1450
+ label: string;
1451
+ type: "string";
1452
+ example: string;
1453
+ placeholder: string;
1454
+ comments: string;
1455
+ required: false;
1456
+ clean: (value: unknown) => string | undefined;
1457
+ };
1458
+ };
1459
+ } & {
1460
+ type: "structuredObject";
1461
+ };
1462
+ tagId: {
1463
+ label: string;
1464
+ type: "string";
1465
+ example: string;
1466
+ placeholder: string;
1467
+ comments: string;
1468
+ required: true;
1469
+ dataSource: string;
1470
+ clean: (value: unknown) => string;
1471
+ };
1472
+ }, import("@prismatic-io/spectral").ConfigVarResultCollection, boolean, {
1473
+ data: any;
1474
+ }>;
1475
+ findTagByName: import("@prismatic-io/spectral").ActionDefinition<{
1476
+ asanaConnection: {
1477
+ label: string;
1478
+ type: "connection";
1479
+ required: true;
1480
+ comments: string;
1481
+ };
1482
+ tagName: {
1483
+ label: string;
1484
+ type: "string";
1485
+ example: string;
1486
+ placeholder: string;
1487
+ required: true;
1488
+ comments: string;
1489
+ clean: (value: unknown, defaultValue?: string) => string;
1490
+ };
1491
+ workspaceId: {
1492
+ label: string;
1493
+ type: "string";
1494
+ example: string;
1495
+ placeholder: string;
1496
+ comments: string;
1497
+ required: true;
1498
+ dataSource: string;
1499
+ clean: (value: unknown) => string;
1500
+ };
1501
+ optFields: {
1502
+ default: string;
1503
+ label: string;
1504
+ type: "string";
1505
+ required: false;
1506
+ example: string;
1507
+ placeholder: string;
1508
+ comments: string;
1509
+ clean: (value: unknown) => string;
1510
+ };
1511
+ }, import("@prismatic-io/spectral").ConfigVarResultCollection, boolean, {
1512
+ data: Tag;
1513
+ }>;
1514
+ getTag: import("@prismatic-io/spectral").ActionDefinition<{
1515
+ asanaConnection: {
1516
+ label: string;
1517
+ type: "connection";
1518
+ required: true;
1519
+ comments: string;
1520
+ };
1521
+ optFields: {
1522
+ default: string;
1523
+ label: string;
1524
+ type: "string";
1525
+ required: false;
1526
+ example: string;
1527
+ placeholder: string;
1528
+ comments: string;
1529
+ clean: (value: unknown) => string;
1530
+ };
1531
+ tagId: {
1532
+ label: string;
1533
+ type: "string";
1534
+ example: string;
1535
+ placeholder: string;
1536
+ comments: string;
1537
+ required: true;
1538
+ dataSource: string;
1539
+ clean: (value: unknown) => string;
1540
+ };
1541
+ }, import("@prismatic-io/spectral").ConfigVarResultCollection, boolean, {
1542
+ data: any;
1543
+ }>;
1544
+ listTags: import("@prismatic-io/spectral").ActionDefinition<{
1545
+ asanaConnection: {
1546
+ label: string;
1547
+ type: "connection";
1548
+ required: true;
1549
+ comments: string;
1550
+ };
1551
+ optFields: {
1552
+ default: string;
1553
+ label: string;
1554
+ type: "string";
1555
+ required: false;
1556
+ example: string;
1557
+ placeholder: string;
1558
+ comments: string;
1559
+ clean: (value: unknown) => string;
1560
+ };
1561
+ pagination: {
1562
+ label: string;
1563
+ required: boolean;
1564
+ comments: string;
1565
+ inputs: {
1566
+ limit: {
1567
+ label: string;
1568
+ type: "string";
1569
+ example: string;
1570
+ placeholder: string;
1571
+ comments: string;
1572
+ required: false;
1573
+ clean: (value: unknown) => number | undefined;
1574
+ };
1575
+ offset: {
1576
+ label: string;
1577
+ type: "string";
1578
+ example: string;
1579
+ placeholder: string;
1580
+ comments: string;
1581
+ required: false;
1582
+ clean: (value: unknown) => string | undefined;
1583
+ };
1584
+ };
1585
+ } & {
1586
+ type: "structuredObject";
1587
+ };
1588
+ workspaceId: {
1589
+ label: string;
1590
+ type: "string";
1591
+ example: string;
1592
+ placeholder: string;
1593
+ comments: string;
1594
+ required: true;
1595
+ dataSource: string;
1596
+ clean: (value: unknown) => string;
1597
+ };
1598
+ }, import("@prismatic-io/spectral").ConfigVarResultCollection, boolean, {
1599
+ data: any;
1600
+ }>;
1601
+ listTagsInTask: import("@prismatic-io/spectral").ActionDefinition<{
1602
+ asanaConnection: {
1603
+ label: string;
1604
+ type: "connection";
1605
+ required: true;
1606
+ comments: string;
1607
+ };
1608
+ optFields: {
1609
+ default: string;
1610
+ label: string;
1611
+ type: "string";
1612
+ required: false;
1613
+ example: string;
1614
+ placeholder: string;
1615
+ comments: string;
1616
+ clean: (value: unknown) => string;
1617
+ };
1618
+ pagination: {
1619
+ label: string;
1620
+ required: boolean;
1621
+ comments: string;
1622
+ inputs: {
1623
+ limit: {
1624
+ label: string;
1625
+ type: "string";
1626
+ example: string;
1627
+ placeholder: string;
1628
+ comments: string;
1629
+ required: false;
1630
+ clean: (value: unknown) => number | undefined;
1631
+ };
1632
+ offset: {
1633
+ label: string;
1634
+ type: "string";
1635
+ example: string;
1636
+ placeholder: string;
1637
+ comments: string;
1638
+ required: false;
1639
+ clean: (value: unknown) => string | undefined;
1640
+ };
1641
+ };
1642
+ } & {
1643
+ type: "structuredObject";
1644
+ };
1645
+ taskId: {
1646
+ label: string;
1647
+ type: "string";
1648
+ example: string;
1649
+ placeholder: string;
1650
+ comments: string;
1651
+ required: true;
1652
+ dataSource: string;
1653
+ clean: (value: unknown) => string;
1654
+ };
1655
+ }, import("@prismatic-io/spectral").ConfigVarResultCollection, boolean, {
1656
+ data: any;
1657
+ }>;
1658
+ updateTag: import("@prismatic-io/spectral").ActionDefinition<{
1659
+ asanaConnection: {
1660
+ label: string;
1661
+ type: "connection";
1662
+ required: true;
1663
+ comments: string;
1664
+ };
1665
+ color: {
1666
+ label: string;
1667
+ type: "string";
1668
+ model: {
1669
+ label: "dark-pink" | "dark-green" | "dark-blue" | "dark-red" | "dark-teal" | "dark-brown" | "dark-orange" | "dark-purple" | "dark-warm-gray" | "light-pink" | "light-green" | "light-blue" | "light-red" | "light-teal" | "light-orange" | "light-purple" | "light-warm-gray" | "light-yellow";
1670
+ value: "dark-pink" | "dark-green" | "dark-blue" | "dark-red" | "dark-teal" | "dark-brown" | "dark-orange" | "dark-purple" | "dark-warm-gray" | "light-pink" | "light-green" | "light-blue" | "light-red" | "light-teal" | "light-orange" | "light-purple" | "light-warm-gray" | "light-yellow";
1671
+ }[];
1672
+ default: string;
1673
+ comments: string;
1674
+ required: true;
1675
+ clean: (value: unknown, defaultValue?: string) => string;
1676
+ };
1677
+ name: {
1678
+ label: string;
1679
+ type: "string";
1680
+ comments: string;
1681
+ example: string;
1682
+ placeholder: string;
1683
+ required: false;
1684
+ clean: (value: unknown) => string | undefined;
1685
+ };
1686
+ notes: {
1687
+ label: string;
1688
+ type: "text";
1689
+ comments: string;
1690
+ example: string;
1691
+ placeholder: string;
1692
+ required: false;
1693
+ clean: (value: unknown) => string | undefined;
1694
+ };
1695
+ optFields: {
1696
+ default: string;
1697
+ label: string;
1698
+ type: "string";
1699
+ required: false;
1700
+ example: string;
1701
+ placeholder: string;
1702
+ comments: string;
1703
+ clean: (value: unknown) => string;
1704
+ };
1705
+ tagId: {
1706
+ label: string;
1707
+ type: "string";
1708
+ example: string;
1709
+ placeholder: string;
1710
+ comments: string;
1711
+ required: true;
1712
+ dataSource: string;
1713
+ clean: (value: unknown) => string;
1714
+ };
1715
+ }, import("@prismatic-io/spectral").ConfigVarResultCollection, boolean, {
1716
+ data: any;
1717
+ }>;
1718
+ listSubtasks: import("@prismatic-io/spectral").ActionDefinition<{
1719
+ asanaConnection: {
1720
+ label: string;
1721
+ type: "connection";
1722
+ required: true;
1723
+ comments: string;
1724
+ };
1725
+ taskId: {
1726
+ label: string;
1727
+ type: "string";
1728
+ example: string;
1729
+ placeholder: string;
1730
+ comments: string;
1731
+ required: true;
1732
+ dataSource: string;
1733
+ clean: (value: unknown) => string;
1734
+ };
1735
+ listAllNestedSubtasks: {
1736
+ label: string;
1737
+ type: "boolean";
1738
+ required: false;
1739
+ default: string;
1740
+ comments: string;
1741
+ clean: (value: unknown, defaultValue?: boolean) => boolean;
1742
+ };
1743
+ optFields: {
1744
+ default: string;
1745
+ label: string;
1746
+ type: "string";
1747
+ required: false;
1748
+ example: string;
1749
+ placeholder: string;
1750
+ comments: string;
1751
+ clean: (value: unknown) => string;
1752
+ };
1753
+ pagination: {
1754
+ label: string;
1755
+ required: boolean;
1756
+ comments: string;
1757
+ inputs: {
1758
+ limit: {
1759
+ label: string;
1760
+ type: "string";
1761
+ example: string;
1762
+ placeholder: string;
1763
+ comments: string;
1764
+ required: false;
1765
+ clean: (value: unknown) => number | undefined;
1766
+ };
1767
+ offset: {
1768
+ label: string;
1769
+ type: "string";
1770
+ example: string;
1771
+ placeholder: string;
1772
+ comments: string;
1773
+ required: false;
1774
+ clean: (value: unknown) => string | undefined;
1775
+ };
1776
+ };
1777
+ } & {
1778
+ type: "structuredObject";
1779
+ };
1780
+ }, import("@prismatic-io/spectral").ConfigVarResultCollection, boolean, {
1781
+ data: {
1782
+ data: Task[];
1783
+ };
1784
+ }>;
1785
+ createStatusUpdate: import("@prismatic-io/spectral").ActionDefinition<{
1786
+ asanaConnection: {
1787
+ label: string;
1788
+ type: "connection";
1789
+ required: true;
1790
+ comments: string;
1791
+ };
1792
+ parent: {
1793
+ label: string;
1794
+ comments: string;
1795
+ type: "string";
1796
+ example: string;
1797
+ placeholder: string;
1798
+ required: true;
1799
+ clean: (value: unknown) => string;
1800
+ };
1801
+ statusUpdateTitle: {
1802
+ label: string;
1803
+ type: "string";
1804
+ comments: string;
1805
+ example: string;
1806
+ required: true;
1807
+ clean: (value: unknown, defaultValue?: string) => string;
1808
+ };
1809
+ statusUpdateText: {
1810
+ label: string;
1811
+ type: "string";
1812
+ comments: string;
1813
+ example: string;
1814
+ required: true;
1815
+ clean: (value: unknown, defaultValue?: string) => string;
1816
+ };
1817
+ statusType: {
1818
+ label: string;
1819
+ comments: string;
1820
+ type: "string";
1821
+ default: string;
1822
+ required: true;
1823
+ model: {
1824
+ label: string;
1825
+ value: string;
1826
+ }[];
1827
+ clean: (value: unknown, defaultValue?: string) => string;
1828
+ };
1829
+ pagination: {
1830
+ label: string;
1831
+ required: boolean;
1832
+ comments: string;
1833
+ inputs: {
1834
+ limit: {
1835
+ label: string;
1836
+ type: "string";
1837
+ example: string;
1838
+ placeholder: string;
1839
+ comments: string;
1840
+ required: false;
1841
+ clean: (value: unknown) => number | undefined;
1842
+ };
1843
+ offset: {
1844
+ label: string;
1845
+ type: "string";
1846
+ example: string;
1847
+ placeholder: string;
1848
+ comments: string;
1849
+ required: false;
1850
+ clean: (value: unknown) => string | undefined;
1851
+ };
1852
+ };
1853
+ } & {
1854
+ type: "structuredObject";
1855
+ };
1856
+ }, import("@prismatic-io/spectral").ConfigVarResultCollection, boolean, {
1857
+ data: any;
1858
+ }>;
1859
+ deleteStatus: import("@prismatic-io/spectral").ActionDefinition<{
1860
+ asanaConnection: {
1861
+ label: string;
1862
+ type: "connection";
1863
+ required: true;
1864
+ comments: string;
1865
+ };
1866
+ statusId: {
1867
+ label: string;
1868
+ type: "string";
1869
+ example: string;
1870
+ placeholder: string;
1871
+ comments: string;
1872
+ required: true;
1873
+ clean: (value: unknown) => string;
1874
+ };
1875
+ }, import("@prismatic-io/spectral").ConfigVarResultCollection, boolean, {
1876
+ data: any;
1877
+ }>;
1878
+ getStatusesForObject: import("@prismatic-io/spectral").ActionDefinition<{
1879
+ asanaConnection: {
1880
+ label: string;
1881
+ type: "connection";
1882
+ required: true;
1883
+ comments: string;
1884
+ };
1885
+ optFields: {
1886
+ default: string;
1887
+ label: string;
1888
+ type: "string";
1889
+ required: false;
1890
+ example: string;
1891
+ placeholder: string;
1892
+ comments: string;
1893
+ clean: (value: unknown) => string;
1894
+ };
1895
+ pagination: {
1896
+ label: string;
1897
+ required: boolean;
1898
+ comments: string;
1899
+ inputs: {
1900
+ limit: {
1901
+ label: string;
1902
+ type: "string";
1903
+ example: string;
1904
+ placeholder: string;
1905
+ comments: string;
1906
+ required: false;
1907
+ clean: (value: unknown) => number | undefined;
1908
+ };
1909
+ offset: {
1910
+ label: string;
1911
+ type: "string";
1912
+ example: string;
1913
+ placeholder: string;
1914
+ comments: string;
1915
+ required: false;
1916
+ clean: (value: unknown) => string | undefined;
1917
+ };
1918
+ };
1919
+ } & {
1920
+ type: "structuredObject";
1921
+ };
1922
+ parent: {
1923
+ label: string;
1924
+ comments: string;
1925
+ type: "string";
1926
+ example: string;
1927
+ placeholder: string;
1928
+ required: true;
1929
+ clean: (value: unknown) => string;
1930
+ };
1931
+ }, import("@prismatic-io/spectral").ConfigVarResultCollection, boolean, {
1932
+ data: any;
1933
+ }>;
1934
+ getStatusUpdate: import("@prismatic-io/spectral").ActionDefinition<{
1935
+ asanaConnection: {
1936
+ label: string;
1937
+ type: "connection";
1938
+ required: true;
1939
+ comments: string;
1940
+ };
1941
+ statusId: {
1942
+ label: string;
1943
+ type: "string";
1944
+ example: string;
1945
+ placeholder: string;
1946
+ comments: string;
1947
+ required: true;
1948
+ clean: (value: unknown) => string;
1949
+ };
1950
+ }, import("@prismatic-io/spectral").ConfigVarResultCollection, boolean, {
1951
+ data: any;
1952
+ }>;
1953
+ addTaskToSection: import("@prismatic-io/spectral").ActionDefinition<{
1954
+ asanaConnection: {
1955
+ label: string;
1956
+ type: "connection";
1957
+ required: true;
1958
+ comments: string;
1959
+ };
1960
+ insertAfter: {
1961
+ label: string;
1962
+ type: "string";
1963
+ example: string;
1964
+ placeholder: string;
1965
+ comments: string;
1966
+ required: false;
1967
+ clean: (value: unknown) => string | undefined;
1968
+ };
1969
+ insertBefore: {
1970
+ label: string;
1971
+ type: "string";
1972
+ example: string;
1973
+ placeholder: string;
1974
+ comments: string;
1975
+ required: false;
1976
+ clean: (value: unknown) => string | undefined;
1977
+ };
1978
+ sectionId: {
1979
+ label: string;
1980
+ type: "string";
1981
+ example: string;
1982
+ placeholder: string;
1983
+ comments: string;
1984
+ required: true;
1985
+ dataSource: string;
1986
+ clean: (value: unknown) => string;
1987
+ };
1988
+ taskId: {
1989
+ label: string;
1990
+ type: "string";
1991
+ example: string;
1992
+ placeholder: string;
1993
+ comments: string;
1994
+ required: true;
1995
+ dataSource: string;
1996
+ clean: (value: unknown) => string;
1997
+ };
1998
+ }, import("@prismatic-io/spectral").ConfigVarResultCollection, boolean, {
1999
+ data: any;
2000
+ }>;
2001
+ createSection: import("@prismatic-io/spectral").ActionDefinition<{
2002
+ asanaConnection: {
2003
+ label: string;
2004
+ type: "connection";
2005
+ required: true;
2006
+ comments: string;
2007
+ };
2008
+ insertAfter: {
2009
+ label: string;
2010
+ type: "string";
2011
+ example: string;
2012
+ placeholder: string;
2013
+ comments: string;
2014
+ required: false;
2015
+ clean: (value: unknown) => string | undefined;
2016
+ };
2017
+ insertBefore: {
2018
+ label: string;
2019
+ type: "string";
2020
+ example: string;
2021
+ placeholder: string;
2022
+ comments: string;
2023
+ required: false;
2024
+ clean: (value: unknown) => string | undefined;
2025
+ };
2026
+ optFields: {
2027
+ default: string;
2028
+ label: string;
2029
+ type: "string";
2030
+ required: false;
2031
+ example: string;
2032
+ placeholder: string;
2033
+ comments: string;
2034
+ clean: (value: unknown) => string;
2035
+ };
2036
+ projectId: {
2037
+ label: string;
2038
+ type: "string";
2039
+ comments: string;
2040
+ example: string;
2041
+ placeholder: string;
2042
+ required: true;
2043
+ dataSource: string;
2044
+ clean: (value: unknown) => string;
2045
+ };
2046
+ sectionName: {
2047
+ label: string;
2048
+ type: "string";
2049
+ example: string;
2050
+ placeholder: string;
2051
+ comments: string;
2052
+ required: true;
2053
+ clean: (value: unknown, defaultValue?: string) => string;
2054
+ };
2055
+ }, import("@prismatic-io/spectral").ConfigVarResultCollection, boolean, {
2056
+ data: any;
2057
+ }>;
2058
+ deleteSection: import("@prismatic-io/spectral").ActionDefinition<{
2059
+ asanaConnection: {
2060
+ label: string;
2061
+ type: "connection";
2062
+ required: true;
2063
+ comments: string;
2064
+ };
2065
+ sectionId: {
2066
+ label: string;
2067
+ type: "string";
2068
+ example: string;
2069
+ placeholder: string;
2070
+ comments: string;
2071
+ required: true;
2072
+ dataSource: string;
2073
+ clean: (value: unknown) => string;
2074
+ };
2075
+ }, import("@prismatic-io/spectral").ConfigVarResultCollection, boolean, {
2076
+ data: any;
2077
+ }>;
2078
+ getSection: import("@prismatic-io/spectral").ActionDefinition<{
2079
+ asanaConnection: {
2080
+ label: string;
2081
+ type: "connection";
2082
+ required: true;
2083
+ comments: string;
2084
+ };
2085
+ sectionId: {
2086
+ label: string;
2087
+ type: "string";
2088
+ example: string;
2089
+ placeholder: string;
2090
+ comments: string;
2091
+ required: true;
2092
+ dataSource: string;
2093
+ clean: (value: unknown) => string;
2094
+ };
2095
+ }, import("@prismatic-io/spectral").ConfigVarResultCollection, boolean, {
2096
+ data: any;
2097
+ }>;
2098
+ listSections: import("@prismatic-io/spectral").ActionDefinition<{
2099
+ asanaConnection: {
2100
+ label: string;
2101
+ type: "connection";
2102
+ required: true;
2103
+ comments: string;
2104
+ };
2105
+ optFields: {
2106
+ default: string;
2107
+ label: string;
2108
+ type: "string";
2109
+ required: false;
2110
+ example: string;
2111
+ placeholder: string;
2112
+ comments: string;
2113
+ clean: (value: unknown) => string;
2114
+ };
2115
+ pagination: {
2116
+ label: string;
2117
+ required: boolean;
2118
+ comments: string;
2119
+ inputs: {
2120
+ limit: {
2121
+ label: string;
2122
+ type: "string";
2123
+ example: string;
2124
+ placeholder: string;
2125
+ comments: string;
2126
+ required: false;
2127
+ clean: (value: unknown) => number | undefined;
2128
+ };
2129
+ offset: {
2130
+ label: string;
2131
+ type: "string";
2132
+ example: string;
2133
+ placeholder: string;
2134
+ comments: string;
2135
+ required: false;
2136
+ clean: (value: unknown) => string | undefined;
2137
+ };
2138
+ };
2139
+ } & {
2140
+ type: "structuredObject";
2141
+ };
2142
+ projectId: {
2143
+ label: string;
2144
+ type: "string";
2145
+ comments: string;
2146
+ example: string;
2147
+ placeholder: string;
2148
+ required: true;
2149
+ dataSource: string;
2150
+ clean: (value: unknown) => string;
2151
+ };
2152
+ }, import("@prismatic-io/spectral").ConfigVarResultCollection, boolean, {
2153
+ data: any;
2154
+ }>;
2155
+ updateSection: import("@prismatic-io/spectral").ActionDefinition<{
2156
+ asanaConnection: {
2157
+ label: string;
2158
+ type: "connection";
2159
+ required: true;
2160
+ comments: string;
2161
+ };
2162
+ insertAfter: {
2163
+ label: string;
2164
+ type: "string";
2165
+ example: string;
2166
+ placeholder: string;
2167
+ comments: string;
2168
+ required: false;
2169
+ clean: (value: unknown) => string | undefined;
2170
+ };
2171
+ insertBefore: {
2172
+ label: string;
2173
+ type: "string";
2174
+ example: string;
2175
+ placeholder: string;
2176
+ comments: string;
2177
+ required: false;
2178
+ clean: (value: unknown) => string | undefined;
2179
+ };
2180
+ optFields: {
2181
+ default: string;
2182
+ label: string;
2183
+ type: "string";
2184
+ required: false;
2185
+ example: string;
2186
+ placeholder: string;
2187
+ comments: string;
2188
+ clean: (value: unknown) => string;
2189
+ };
2190
+ sectionId: {
2191
+ label: string;
2192
+ type: "string";
2193
+ example: string;
2194
+ placeholder: string;
2195
+ comments: string;
2196
+ required: true;
2197
+ dataSource: string;
2198
+ clean: (value: unknown) => string;
2199
+ };
2200
+ sectionName: {
2201
+ label: string;
2202
+ type: "string";
2203
+ example: string;
2204
+ placeholder: string;
2205
+ comments: string;
2206
+ required: true;
2207
+ clean: (value: unknown, defaultValue?: string) => string;
2208
+ };
2209
+ }, import("@prismatic-io/spectral").ConfigVarResultCollection, boolean, {
2210
+ data: any;
2211
+ }>;
2212
+ addCustomFieldToProject: import("@prismatic-io/spectral").ActionDefinition<{
2213
+ asanaConnection: {
2214
+ label: string;
2215
+ type: "connection";
2216
+ required: true;
2217
+ comments: string;
2218
+ };
2219
+ fieldId: {
2220
+ label: string;
2221
+ type: "string";
2222
+ example: string;
2223
+ placeholder: string;
2224
+ comments: string;
2225
+ required: true;
2226
+ dataSource: string;
2227
+ clean: (value: unknown) => string;
2228
+ };
2229
+ insertAfter: {
2230
+ label: string;
2231
+ type: "string";
2232
+ example: string;
2233
+ placeholder: string;
2234
+ comments: string;
2235
+ required: false;
2236
+ clean: (value: unknown) => string | undefined;
2237
+ };
2238
+ insertBefore: {
2239
+ label: string;
2240
+ type: "string";
2241
+ example: string;
2242
+ placeholder: string;
2243
+ comments: string;
2244
+ required: false;
2245
+ clean: (value: unknown) => string | undefined;
2246
+ };
2247
+ isImportant: {
2248
+ label: string;
2249
+ type: "boolean";
2250
+ default: string;
2251
+ comments: string;
2252
+ required: true;
2253
+ clean: (value: unknown, defaultValue?: boolean) => boolean;
2254
+ };
2255
+ projectId: {
2256
+ label: string;
2257
+ type: "string";
2258
+ comments: string;
2259
+ example: string;
2260
+ placeholder: string;
2261
+ required: true;
2262
+ dataSource: string;
2263
+ clean: (value: unknown) => string;
2264
+ };
2265
+ }, import("@prismatic-io/spectral").ConfigVarResultCollection, boolean, {
2266
+ data: any;
2267
+ }>;
2268
+ addUserToProject: import("@prismatic-io/spectral").ActionDefinition<{
2269
+ asanaConnection: {
2270
+ label: string;
2271
+ type: "connection";
2272
+ required: true;
2273
+ comments: string;
2274
+ };
2275
+ members: {
2276
+ label: string;
2277
+ type: "string";
2278
+ example: string;
2279
+ placeholder: string;
2280
+ comments: string;
2281
+ required: false;
2282
+ collection: "valuelist";
2283
+ clean: (value: unknown) => string[];
2284
+ };
2285
+ optFields: {
2286
+ default: string;
2287
+ label: string;
2288
+ type: "string";
2289
+ required: false;
2290
+ example: string;
2291
+ placeholder: string;
2292
+ comments: string;
2293
+ clean: (value: unknown) => string;
2294
+ };
2295
+ projectId: {
2296
+ label: string;
2297
+ type: "string";
2298
+ comments: string;
2299
+ example: string;
2300
+ placeholder: string;
2301
+ required: true;
2302
+ dataSource: string;
2303
+ clean: (value: unknown) => string;
2304
+ };
2305
+ }, import("@prismatic-io/spectral").ConfigVarResultCollection, boolean, {
2306
+ data: any;
2307
+ }>;
2308
+ createProjects: import("@prismatic-io/spectral").ActionDefinition<{
2309
+ asanaConnection: {
2310
+ label: string;
2311
+ type: "connection";
2312
+ required: true;
2313
+ comments: string;
2314
+ };
2315
+ defaultView: {
2316
+ label: string;
2317
+ type: "string";
2318
+ comments: string;
2319
+ model: {
2320
+ label: string;
2321
+ value: string;
2322
+ }[];
2323
+ default: string;
2324
+ required: true;
2325
+ clean: (value: unknown, defaultValue?: string) => string;
2326
+ };
2327
+ owner: {
2328
+ label: string;
2329
+ type: "string";
2330
+ comments: string;
2331
+ example: string;
2332
+ placeholder: string;
2333
+ required: true;
2334
+ clean: (value: unknown) => string;
2335
+ };
2336
+ team: {
2337
+ required: boolean;
2338
+ clean: (value: unknown) => string;
2339
+ label: string;
2340
+ type: "string";
2341
+ comments: string;
2342
+ example: string;
2343
+ placeholder: string;
2344
+ };
2345
+ name: {
2346
+ label: string;
2347
+ type: "string";
2348
+ comments: string;
2349
+ example: string;
2350
+ placeholder: string;
2351
+ required: false;
2352
+ clean: (value: unknown) => string | undefined;
2353
+ };
2354
+ notes: {
2355
+ label: string;
2356
+ type: "text";
2357
+ comments: string;
2358
+ example: string;
2359
+ placeholder: string;
2360
+ required: false;
2361
+ clean: (value: unknown) => string | undefined;
2362
+ };
2363
+ htmlNotes: {
2364
+ label: string;
2365
+ type: "code";
2366
+ language: "html";
2367
+ comments: string;
2368
+ example: string;
2369
+ required: false;
2370
+ clean: (value: unknown) => string | undefined;
2371
+ };
2372
+ dueOn: {
2373
+ label: string;
2374
+ type: "string";
2375
+ comments: string;
2376
+ example: string;
2377
+ placeholder: string;
2378
+ required: false;
2379
+ clean: (value: unknown) => Date | undefined;
2380
+ };
2381
+ startOn: {
2382
+ label: string;
2383
+ type: "string";
2384
+ comments: string;
2385
+ example: string;
2386
+ placeholder: string;
2387
+ required: false;
2388
+ clean: (value: unknown) => Date | undefined;
2389
+ };
2390
+ followers: {
2391
+ label: string;
2392
+ type: "string";
2393
+ comments: string;
2394
+ example: string;
2395
+ placeholder: string;
2396
+ required: false;
2397
+ clean: (value: unknown) => string | undefined;
2398
+ };
2399
+ projectSettings: {
2400
+ label: string;
2401
+ required: boolean;
2402
+ comments: string;
2403
+ inputs: {
2404
+ archived: {
2405
+ label: string;
2406
+ type: "boolean";
2407
+ comments: string;
2408
+ required: false;
2409
+ clean: (value: unknown, defaultValue?: boolean) => boolean;
2410
+ };
2411
+ privacySetting: {
2412
+ label: string;
2413
+ type: "string";
2414
+ comments: string;
2415
+ required: false;
2416
+ model: {
2417
+ label: string;
2418
+ value: string;
2419
+ }[];
2420
+ clean: (value: unknown, defaultValue?: string) => string;
2421
+ };
2422
+ projectColor: {
2423
+ label: string;
2424
+ type: "string";
2425
+ model: {
2426
+ label: "dark-pink" | "dark-green" | "dark-blue" | "dark-red" | "dark-teal" | "dark-brown" | "dark-orange" | "dark-purple" | "dark-warm-gray" | "light-pink" | "light-green" | "light-blue" | "light-red" | "light-teal" | "light-orange" | "light-purple" | "light-warm-gray" | "light-yellow";
2427
+ value: "dark-pink" | "dark-green" | "dark-blue" | "dark-red" | "dark-teal" | "dark-brown" | "dark-orange" | "dark-purple" | "dark-warm-gray" | "light-pink" | "light-green" | "light-blue" | "light-red" | "light-teal" | "light-orange" | "light-purple" | "light-warm-gray" | "light-yellow";
2428
+ }[];
2429
+ default: string;
2430
+ comments: string;
2431
+ required: false;
2432
+ clean: (value: unknown) => string | undefined;
2433
+ };
2434
+ };
2435
+ } & {
2436
+ type: "structuredObject";
2437
+ };
2438
+ optFields: {
2439
+ default: string;
2440
+ label: string;
2441
+ type: "string";
2442
+ required: false;
2443
+ example: string;
2444
+ placeholder: string;
2445
+ comments: string;
2446
+ clean: (value: unknown) => string;
2447
+ };
2448
+ workspaceId: {
2449
+ required: boolean;
2450
+ clean: (value: unknown) => string | undefined;
2451
+ comments: string;
2452
+ label: string;
2453
+ type: "string";
2454
+ example: string;
2455
+ placeholder: string;
2456
+ dataSource: string;
2457
+ };
2458
+ }, import("@prismatic-io/spectral").ConfigVarResultCollection, boolean, {
2459
+ data: any;
2460
+ }>;
2461
+ deleteProjects: import("@prismatic-io/spectral").ActionDefinition<{
2462
+ asanaConnection: {
2463
+ label: string;
2464
+ type: "connection";
2465
+ required: true;
2466
+ comments: string;
2467
+ };
2468
+ projectId: {
2469
+ label: string;
2470
+ type: "string";
2471
+ comments: string;
2472
+ example: string;
2473
+ placeholder: string;
2474
+ required: true;
2475
+ dataSource: string;
2476
+ clean: (value: unknown) => string;
2477
+ };
2478
+ }, import("@prismatic-io/spectral").ConfigVarResultCollection, boolean, {
2479
+ data: any;
2480
+ }>;
2481
+ getProject: import("@prismatic-io/spectral").ActionDefinition<{
2482
+ asanaConnection: {
2483
+ label: string;
2484
+ type: "connection";
2485
+ required: true;
2486
+ comments: string;
2487
+ };
2488
+ optFields: {
2489
+ default: string;
2490
+ label: string;
2491
+ type: "string";
2492
+ required: false;
2493
+ example: string;
2494
+ placeholder: string;
2495
+ comments: string;
2496
+ clean: (value: unknown) => string;
2497
+ };
2498
+ projectId: {
2499
+ label: string;
2500
+ type: "string";
2501
+ comments: string;
2502
+ example: string;
2503
+ placeholder: string;
2504
+ required: true;
2505
+ dataSource: string;
2506
+ clean: (value: unknown) => string;
2507
+ };
2508
+ }, import("@prismatic-io/spectral").ConfigVarResultCollection, boolean, {
2509
+ data: any;
2510
+ }>;
2511
+ listProjects: import("@prismatic-io/spectral").ActionDefinition<{
2512
+ asanaConnection: {
2513
+ label: string;
2514
+ type: "connection";
2515
+ required: true;
2516
+ comments: string;
2517
+ };
2518
+ optFields: {
2519
+ default: string;
2520
+ label: string;
2521
+ type: "string";
2522
+ required: false;
2523
+ example: string;
2524
+ placeholder: string;
2525
+ comments: string;
2526
+ clean: (value: unknown) => string;
2527
+ };
2528
+ pagination: {
2529
+ label: string;
2530
+ required: boolean;
2531
+ comments: string;
2532
+ inputs: {
2533
+ limit: {
2534
+ label: string;
2535
+ type: "string";
2536
+ example: string;
2537
+ placeholder: string;
2538
+ comments: string;
2539
+ required: false;
2540
+ clean: (value: unknown) => number | undefined;
2541
+ };
2542
+ offset: {
2543
+ label: string;
2544
+ type: "string";
2545
+ example: string;
2546
+ placeholder: string;
2547
+ comments: string;
2548
+ required: false;
2549
+ clean: (value: unknown) => string | undefined;
2550
+ };
2551
+ };
2552
+ } & {
2553
+ type: "structuredObject";
2554
+ };
2555
+ workspaceId: {
2556
+ required: boolean;
2557
+ clean: (value: unknown) => string | undefined;
2558
+ label: string;
2559
+ type: "string";
2560
+ example: string;
2561
+ placeholder: string;
2562
+ comments: string;
2563
+ dataSource: string;
2564
+ };
2565
+ }, import("@prismatic-io/spectral").ConfigVarResultCollection, boolean, {
2566
+ data: any;
2567
+ }>;
2568
+ removeCustomFieldFromProject: import("@prismatic-io/spectral").ActionDefinition<{
2569
+ asanaConnection: {
2570
+ label: string;
2571
+ type: "connection";
2572
+ required: true;
2573
+ comments: string;
2574
+ };
2575
+ fieldId: {
2576
+ label: string;
2577
+ type: "string";
2578
+ example: string;
2579
+ placeholder: string;
2580
+ comments: string;
2581
+ required: true;
2582
+ dataSource: string;
2583
+ clean: (value: unknown) => string;
2584
+ };
2585
+ projectId: {
2586
+ label: string;
2587
+ type: "string";
2588
+ comments: string;
2589
+ example: string;
2590
+ placeholder: string;
2591
+ required: true;
2592
+ dataSource: string;
2593
+ clean: (value: unknown) => string;
2594
+ };
2595
+ }, import("@prismatic-io/spectral").ConfigVarResultCollection, boolean, {
2596
+ data: any;
2597
+ }>;
2598
+ updateProject: import("@prismatic-io/spectral").ActionDefinition<{
2599
+ asanaConnection: {
2600
+ label: string;
2601
+ type: "connection";
2602
+ required: true;
2603
+ comments: string;
2604
+ };
2605
+ dueOn: {
2606
+ label: string;
2607
+ type: "string";
2608
+ comments: string;
2609
+ example: string;
2610
+ placeholder: string;
2611
+ required: false;
2612
+ clean: (value: unknown) => Date | undefined;
2613
+ };
2614
+ followers: {
2615
+ label: string;
2616
+ type: "string";
2617
+ comments: string;
2618
+ example: string;
2619
+ placeholder: string;
2620
+ required: false;
2621
+ clean: (value: unknown) => string | undefined;
2622
+ };
2623
+ htmlNotes: {
2624
+ label: string;
2625
+ type: "code";
2626
+ language: "html";
2627
+ comments: string;
2628
+ example: string;
2629
+ required: false;
2630
+ clean: (value: unknown) => string | undefined;
2631
+ };
2632
+ name: {
2633
+ label: string;
2634
+ type: "string";
2635
+ comments: string;
2636
+ example: string;
2637
+ placeholder: string;
2638
+ required: false;
2639
+ clean: (value: unknown) => string | undefined;
2640
+ };
2641
+ notes: {
2642
+ label: string;
2643
+ type: "text";
2644
+ comments: string;
2645
+ example: string;
2646
+ placeholder: string;
2647
+ required: false;
2648
+ clean: (value: unknown) => string | undefined;
2649
+ };
2650
+ owner: {
2651
+ required: boolean;
2652
+ clean: (value: unknown) => string | undefined;
2653
+ label: string;
2654
+ type: "string";
2655
+ comments: string;
2656
+ example: string;
2657
+ placeholder: string;
2658
+ };
2659
+ projectId: {
2660
+ label: string;
2661
+ type: "string";
2662
+ comments: string;
2663
+ example: string;
2664
+ placeholder: string;
2665
+ required: true;
2666
+ dataSource: string;
2667
+ clean: (value: unknown) => string;
2668
+ };
2669
+ projectSettings: {
2670
+ label: string;
2671
+ required: boolean;
2672
+ comments: string;
2673
+ inputs: {
2674
+ archived: {
2675
+ label: string;
2676
+ type: "boolean";
2677
+ comments: string;
2678
+ required: false;
2679
+ clean: (value: unknown, defaultValue?: boolean) => boolean;
2680
+ };
2681
+ defaultView: {
2682
+ required: false;
2683
+ default: string;
2684
+ label: string;
2685
+ type: "string";
2686
+ comments: string;
2687
+ model: {
2688
+ label: string;
2689
+ value: string;
2690
+ }[];
2691
+ clean: (value: unknown, defaultValue?: string) => string;
2692
+ };
2693
+ privacySetting: {
2694
+ label: string;
2695
+ type: "string";
2696
+ comments: string;
2697
+ required: false;
2698
+ model: {
2699
+ label: string;
2700
+ value: string;
2701
+ }[];
2702
+ clean: (value: unknown, defaultValue?: string) => string;
2703
+ };
2704
+ projectColor: {
2705
+ label: string;
2706
+ type: "string";
2707
+ model: {
2708
+ label: "dark-pink" | "dark-green" | "dark-blue" | "dark-red" | "dark-teal" | "dark-brown" | "dark-orange" | "dark-purple" | "dark-warm-gray" | "light-pink" | "light-green" | "light-blue" | "light-red" | "light-teal" | "light-orange" | "light-purple" | "light-warm-gray" | "light-yellow";
2709
+ value: "dark-pink" | "dark-green" | "dark-blue" | "dark-red" | "dark-teal" | "dark-brown" | "dark-orange" | "dark-purple" | "dark-warm-gray" | "light-pink" | "light-green" | "light-blue" | "light-red" | "light-teal" | "light-orange" | "light-purple" | "light-warm-gray" | "light-yellow";
2710
+ }[];
2711
+ default: string;
2712
+ comments: string;
2713
+ required: false;
2714
+ clean: (value: unknown) => string | undefined;
2715
+ };
2716
+ };
2717
+ } & {
2718
+ type: "structuredObject";
2719
+ };
2720
+ startOn: {
2721
+ label: string;
2722
+ type: "string";
2723
+ comments: string;
2724
+ example: string;
2725
+ placeholder: string;
2726
+ required: false;
2727
+ clean: (value: unknown) => Date | undefined;
2728
+ };
2729
+ team: {
2730
+ label: string;
2731
+ type: "string";
2732
+ comments: string;
2733
+ example: string;
2734
+ placeholder: string;
2735
+ required: false;
2736
+ clean: (value: unknown) => string | undefined;
2737
+ };
2738
+ }, import("@prismatic-io/spectral").ConfigVarResultCollection, boolean, {
2739
+ data: any;
2740
+ }>;
2741
+ addCustomFieldToPortfolio: import("@prismatic-io/spectral").ActionDefinition<{
2742
+ asanaConnection: {
2743
+ label: string;
2744
+ type: "connection";
2745
+ required: true;
2746
+ comments: string;
2747
+ };
2748
+ fieldId: {
2749
+ label: string;
2750
+ type: "string";
2751
+ example: string;
2752
+ placeholder: string;
2753
+ comments: string;
2754
+ required: true;
2755
+ dataSource: string;
2756
+ clean: (value: unknown) => string;
2757
+ };
2758
+ insertAfter: {
2759
+ label: string;
2760
+ type: "string";
2761
+ example: string;
2762
+ placeholder: string;
2763
+ comments: string;
2764
+ required: false;
2765
+ clean: (value: unknown) => string | undefined;
2766
+ };
2767
+ insertBefore: {
2768
+ label: string;
2769
+ type: "string";
2770
+ example: string;
2771
+ placeholder: string;
2772
+ comments: string;
2773
+ required: false;
2774
+ clean: (value: unknown) => string | undefined;
2775
+ };
2776
+ isImportant: {
2777
+ label: string;
2778
+ type: "boolean";
2779
+ default: string;
2780
+ comments: string;
2781
+ required: true;
2782
+ clean: (value: unknown, defaultValue?: boolean) => boolean;
2783
+ };
2784
+ portfolioId: {
2785
+ label: string;
2786
+ type: "string";
2787
+ example: string;
2788
+ placeholder: string;
2789
+ comments: string;
2790
+ required: true;
2791
+ dataSource: string;
2792
+ clean: (value: unknown) => string;
2793
+ };
2794
+ }, import("@prismatic-io/spectral").ConfigVarResultCollection, boolean, {
2795
+ data: any;
2796
+ }>;
2797
+ addUserToPortfolio: import("@prismatic-io/spectral").ActionDefinition<{
2798
+ asanaConnection: {
2799
+ label: string;
2800
+ type: "connection";
2801
+ required: true;
2802
+ comments: string;
2803
+ };
2804
+ members: {
2805
+ label: string;
2806
+ type: "string";
2807
+ example: string;
2808
+ placeholder: string;
2809
+ comments: string;
2810
+ required: false;
2811
+ collection: "valuelist";
2812
+ clean: (value: unknown) => string[];
2813
+ };
2814
+ portfolioId: {
2815
+ label: string;
2816
+ type: "string";
2817
+ example: string;
2818
+ placeholder: string;
2819
+ comments: string;
2820
+ required: true;
2821
+ dataSource: string;
2822
+ clean: (value: unknown) => string;
2823
+ };
2824
+ }, import("@prismatic-io/spectral").ConfigVarResultCollection, boolean, {
2825
+ data: any;
2826
+ }>;
2827
+ createPortfolio: import("@prismatic-io/spectral").ActionDefinition<{
2828
+ asanaConnection: {
2829
+ label: string;
2830
+ type: "connection";
2831
+ required: true;
2832
+ comments: string;
2833
+ };
2834
+ color: {
2835
+ label: string;
2836
+ type: "string";
2837
+ model: {
2838
+ label: "dark-pink" | "dark-green" | "dark-blue" | "dark-red" | "dark-teal" | "dark-brown" | "dark-orange" | "dark-purple" | "dark-warm-gray" | "light-pink" | "light-green" | "light-blue" | "light-red" | "light-teal" | "light-orange" | "light-purple" | "light-warm-gray" | "light-yellow";
2839
+ value: "dark-pink" | "dark-green" | "dark-blue" | "dark-red" | "dark-teal" | "dark-brown" | "dark-orange" | "dark-purple" | "dark-warm-gray" | "light-pink" | "light-green" | "light-blue" | "light-red" | "light-teal" | "light-orange" | "light-purple" | "light-warm-gray" | "light-yellow";
2840
+ }[];
2841
+ default: string;
2842
+ comments: string;
2843
+ required: true;
2844
+ clean: (value: unknown, defaultValue?: string) => string;
2845
+ };
2846
+ isPublic: {
2847
+ label: string;
2848
+ type: "boolean";
2849
+ comments: string;
2850
+ required: true;
2851
+ clean: (value: unknown, defaultValue?: boolean) => boolean;
2852
+ };
2853
+ members: {
2854
+ label: string;
2855
+ type: "string";
2856
+ example: string;
2857
+ placeholder: string;
2858
+ comments: string;
2859
+ required: false;
2860
+ collection: "valuelist";
2861
+ clean: (value: unknown) => string[];
2862
+ };
2863
+ portfolioName: {
2864
+ label: string;
2865
+ type: "string";
2866
+ example: string;
2867
+ placeholder: string;
2868
+ comments: string;
2869
+ required: true;
2870
+ clean: (value: unknown, defaultValue?: string) => string;
2871
+ };
2872
+ workspaceId: {
2873
+ label: string;
2874
+ type: "string";
2875
+ example: string;
2876
+ placeholder: string;
2877
+ comments: string;
2878
+ required: true;
2879
+ dataSource: string;
2880
+ clean: (value: unknown) => string;
2881
+ };
2882
+ }, import("@prismatic-io/spectral").ConfigVarResultCollection, boolean, {
2883
+ data: any;
2884
+ }>;
2885
+ deletePortfolio: import("@prismatic-io/spectral").ActionDefinition<{
2886
+ asanaConnection: {
2887
+ label: string;
2888
+ type: "connection";
2889
+ required: true;
2890
+ comments: string;
2891
+ };
2892
+ portfolioId: {
2893
+ label: string;
2894
+ type: "string";
2895
+ example: string;
2896
+ placeholder: string;
2897
+ comments: string;
2898
+ required: true;
2899
+ dataSource: string;
2900
+ clean: (value: unknown) => string;
2901
+ };
2902
+ }, import("@prismatic-io/spectral").ConfigVarResultCollection, boolean, {
2903
+ data: any;
2904
+ }>;
2905
+ getPortfolio: import("@prismatic-io/spectral").ActionDefinition<{
2906
+ asanaConnection: {
2907
+ label: string;
2908
+ type: "connection";
2909
+ required: true;
2910
+ comments: string;
2911
+ };
2912
+ portfolioId: {
2913
+ label: string;
2914
+ type: "string";
2915
+ example: string;
2916
+ placeholder: string;
2917
+ comments: string;
2918
+ required: true;
2919
+ dataSource: string;
2920
+ clean: (value: unknown) => string;
2921
+ };
2922
+ }, import("@prismatic-io/spectral").ConfigVarResultCollection, boolean, {
2923
+ data: any;
2924
+ }>;
2925
+ listPortfolios: import("@prismatic-io/spectral").ActionDefinition<{
2926
+ asanaConnection: {
2927
+ label: string;
2928
+ type: "connection";
2929
+ required: true;
2930
+ comments: string;
2931
+ };
2932
+ pagination: {
2933
+ label: string;
2934
+ required: boolean;
2935
+ comments: string;
2936
+ inputs: {
2937
+ limit: {
2938
+ label: string;
2939
+ type: "string";
2940
+ example: string;
2941
+ placeholder: string;
2942
+ comments: string;
2943
+ required: false;
2944
+ clean: (value: unknown) => number | undefined;
2945
+ };
2946
+ offset: {
2947
+ label: string;
2948
+ type: "string";
2949
+ example: string;
2950
+ placeholder: string;
2951
+ comments: string;
2952
+ required: false;
2953
+ clean: (value: unknown) => string | undefined;
2954
+ };
2955
+ };
2956
+ } & {
2957
+ type: "structuredObject";
2958
+ };
2959
+ workspaceId: {
2960
+ label: string;
2961
+ type: "string";
2962
+ example: string;
2963
+ placeholder: string;
2964
+ comments: string;
2965
+ required: true;
2966
+ dataSource: string;
2967
+ clean: (value: unknown) => string;
2968
+ };
2969
+ }, import("@prismatic-io/spectral").ConfigVarResultCollection, boolean, {
2970
+ data: any;
2971
+ }>;
2972
+ removeCustomFieldFromPortfolio: import("@prismatic-io/spectral").ActionDefinition<{
2973
+ asanaConnection: {
2974
+ label: string;
2975
+ type: "connection";
2976
+ required: true;
2977
+ comments: string;
2978
+ };
2979
+ fieldId: {
2980
+ label: string;
2981
+ type: "string";
2982
+ example: string;
2983
+ placeholder: string;
2984
+ comments: string;
2985
+ required: true;
2986
+ dataSource: string;
2987
+ clean: (value: unknown) => string;
2988
+ };
2989
+ portfolioId: {
2990
+ label: string;
2991
+ type: "string";
2992
+ example: string;
2993
+ placeholder: string;
2994
+ comments: string;
2995
+ required: true;
2996
+ dataSource: string;
2997
+ clean: (value: unknown) => string;
2998
+ };
2999
+ }, import("@prismatic-io/spectral").ConfigVarResultCollection, boolean, {
3000
+ data: any;
3001
+ }>;
3002
+ removeUserFromPortfolio: import("@prismatic-io/spectral").ActionDefinition<{
3003
+ asanaConnection: {
3004
+ label: string;
3005
+ type: "connection";
3006
+ required: true;
3007
+ comments: string;
3008
+ };
3009
+ members: {
3010
+ label: string;
3011
+ type: "string";
3012
+ example: string;
3013
+ placeholder: string;
3014
+ comments: string;
3015
+ required: false;
3016
+ collection: "valuelist";
3017
+ clean: (value: unknown) => string[];
3018
+ };
3019
+ optFields: {
3020
+ default: string;
3021
+ label: string;
3022
+ type: "string";
3023
+ required: false;
3024
+ example: string;
3025
+ placeholder: string;
3026
+ comments: string;
3027
+ clean: (value: unknown) => string;
3028
+ };
3029
+ portfolioId: {
3030
+ label: string;
3031
+ type: "string";
3032
+ example: string;
3033
+ placeholder: string;
3034
+ comments: string;
3035
+ required: true;
3036
+ dataSource: string;
3037
+ clean: (value: unknown) => string;
3038
+ };
3039
+ }, import("@prismatic-io/spectral").ConfigVarResultCollection, boolean, {
3040
+ data: any;
3041
+ }>;
3042
+ updatePortfolio: import("@prismatic-io/spectral").ActionDefinition<{
3043
+ asanaConnection: {
3044
+ label: string;
3045
+ type: "connection";
3046
+ required: true;
3047
+ comments: string;
3048
+ };
3049
+ color: {
3050
+ required: boolean;
3051
+ clean: (value: unknown) => string | undefined;
3052
+ label: string;
3053
+ type: "string";
3054
+ model: {
3055
+ label: "dark-pink" | "dark-green" | "dark-blue" | "dark-red" | "dark-teal" | "dark-brown" | "dark-orange" | "dark-purple" | "dark-warm-gray" | "light-pink" | "light-green" | "light-blue" | "light-red" | "light-teal" | "light-orange" | "light-purple" | "light-warm-gray" | "light-yellow";
3056
+ value: "dark-pink" | "dark-green" | "dark-blue" | "dark-red" | "dark-teal" | "dark-brown" | "dark-orange" | "dark-purple" | "dark-warm-gray" | "light-pink" | "light-green" | "light-blue" | "light-red" | "light-teal" | "light-orange" | "light-purple" | "light-warm-gray" | "light-yellow";
3057
+ }[];
3058
+ default: string;
3059
+ comments: string;
3060
+ };
3061
+ isPublic: {
3062
+ label: string;
3063
+ type: "boolean";
3064
+ comments: string;
3065
+ required: true;
3066
+ clean: (value: unknown, defaultValue?: boolean) => boolean;
3067
+ };
3068
+ portfolioId: {
3069
+ label: string;
3070
+ type: "string";
3071
+ example: string;
3072
+ placeholder: string;
3073
+ comments: string;
3074
+ required: true;
3075
+ dataSource: string;
3076
+ clean: (value: unknown) => string;
3077
+ };
3078
+ portfolioName: {
3079
+ required: boolean;
3080
+ clean: (value: unknown) => string | undefined;
3081
+ label: string;
3082
+ type: "string";
3083
+ example: string;
3084
+ placeholder: string;
3085
+ comments: string;
3086
+ };
3087
+ workspaceId: {
3088
+ required: boolean;
3089
+ clean: (value: unknown) => string | undefined;
3090
+ label: string;
3091
+ type: "string";
3092
+ example: string;
3093
+ placeholder: string;
3094
+ comments: string;
3095
+ dataSource: string;
3096
+ };
3097
+ }, import("@prismatic-io/spectral").ConfigVarResultCollection, boolean, {
3098
+ data: any;
3099
+ }>;
3100
+ rawRequest: import("@prismatic-io/spectral").ActionDefinition<{
3101
+ url: {
3102
+ comments: string;
3103
+ example: string;
3104
+ label: string;
3105
+ placeholder: string;
3106
+ type: "string";
3107
+ required: true;
3108
+ clean: (value: unknown) => string;
3109
+ };
3110
+ method: {
3111
+ label: string;
3112
+ type: "string";
3113
+ required: true;
3114
+ model: {
3115
+ label: Method;
3116
+ value: Method;
3117
+ }[];
3118
+ comments: string;
3119
+ clean: (value: unknown) => string;
3120
+ };
3121
+ data: {
3122
+ label: string;
3123
+ placeholder: string;
3124
+ type: "string";
3125
+ required: false;
3126
+ comments: string;
3127
+ example: string;
3128
+ };
3129
+ formData: {
3130
+ label: string;
3131
+ placeholder: string;
3132
+ type: "string";
3133
+ collection: "keyvaluelist";
3134
+ required: false;
3135
+ comments: string;
3136
+ example: string;
3137
+ };
3138
+ fileData: {
3139
+ label: string;
3140
+ placeholder: string;
3141
+ type: "string";
3142
+ collection: "keyvaluelist";
3143
+ required: false;
3144
+ comments: string;
3145
+ example: string;
3146
+ };
3147
+ fileDataFileNames: {
3148
+ label: string;
3149
+ placeholder: string;
3150
+ type: "string";
3151
+ collection: "keyvaluelist";
3152
+ required: false;
3153
+ comments: string;
3154
+ clean: (values: any) => Record<string, string> | undefined;
3155
+ };
3156
+ queryParams: {
3157
+ label: string;
3158
+ placeholder: string;
3159
+ type: "string";
3160
+ collection: "keyvaluelist";
3161
+ required: false;
3162
+ comments: string;
3163
+ };
3164
+ headers: {
3165
+ label: string;
3166
+ placeholder: string;
3167
+ type: "string";
3168
+ collection: "keyvaluelist";
3169
+ required: false;
3170
+ comments: string;
3171
+ example: string;
3172
+ };
3173
+ responseType: {
3174
+ label: string;
3175
+ placeholder: string;
3176
+ type: "string";
3177
+ default: string;
3178
+ required: true;
3179
+ comments: string;
3180
+ model: {
3181
+ label: ResponseType;
3182
+ value: ResponseType;
3183
+ }[];
3184
+ clean: (value: unknown) => ResponseType;
3185
+ };
3186
+ timeout: {
3187
+ label: string;
3188
+ type: "string";
3189
+ required: false;
3190
+ comments: string;
3191
+ example: string;
3192
+ clean: (value: unknown) => number;
3193
+ };
3194
+ retryDelayMS: {
3195
+ label: string;
3196
+ placeholder: string;
3197
+ type: "string";
3198
+ required: false;
3199
+ comments: string;
3200
+ default: string;
3201
+ clean: (value: unknown) => number;
3202
+ };
3203
+ retryAllErrors: {
3204
+ label: string;
3205
+ type: "boolean";
3206
+ default: string;
3207
+ required: false;
3208
+ comments: string;
3209
+ clean: (value: unknown) => boolean;
3210
+ };
3211
+ maxRetries: {
3212
+ label: string;
3213
+ placeholder: string;
3214
+ type: "string";
3215
+ required: false;
3216
+ comments: string;
3217
+ default: string;
3218
+ clean: (value: unknown) => number;
3219
+ };
3220
+ useExponentialBackoff: {
3221
+ label: string;
3222
+ type: "boolean";
3223
+ default: string;
3224
+ required: false;
3225
+ comments: string;
3226
+ clean: (value: unknown) => boolean;
3227
+ };
3228
+ connection: {
3229
+ label: string;
3230
+ type: "connection";
3231
+ required: true;
3232
+ comments: string;
3233
+ };
3234
+ }, import("@prismatic-io/spectral").ConfigVarResultCollection, boolean, {
3235
+ data: any;
3236
+ }>;
3237
+ listPortfolioItems: import("@prismatic-io/spectral").ActionDefinition<{
3238
+ asanaConnection: {
3239
+ label: string;
3240
+ type: "connection";
3241
+ required: true;
3242
+ comments: string;
3243
+ };
3244
+ portfolioId: {
3245
+ label: string;
3246
+ type: "string";
3247
+ example: string;
3248
+ placeholder: string;
3249
+ comments: string;
3250
+ required: true;
3251
+ dataSource: string;
3252
+ clean: (value: unknown) => string;
3253
+ };
3254
+ pagination: {
3255
+ label: string;
3256
+ required: boolean;
3257
+ comments: string;
3258
+ inputs: {
3259
+ limit: {
3260
+ label: string;
3261
+ type: "string";
3262
+ example: string;
3263
+ placeholder: string;
3264
+ comments: string;
3265
+ required: false;
3266
+ clean: (value: unknown) => number | undefined;
3267
+ };
3268
+ offset: {
3269
+ label: string;
3270
+ type: "string";
3271
+ example: string;
3272
+ placeholder: string;
3273
+ comments: string;
3274
+ required: false;
3275
+ clean: (value: unknown) => string | undefined;
3276
+ };
3277
+ };
3278
+ } & {
3279
+ type: "structuredObject";
3280
+ };
3281
+ }, import("@prismatic-io/spectral").ConfigVarResultCollection, boolean, {
3282
+ data: any;
3283
+ }>;
3284
+ removePortfolioItem: import("@prismatic-io/spectral").ActionDefinition<{
3285
+ asanaConnection: {
3286
+ label: string;
3287
+ type: "connection";
3288
+ required: true;
3289
+ comments: string;
3290
+ };
3291
+ itemId: {
3292
+ label: string;
3293
+ type: "string";
3294
+ example: string;
3295
+ placeholder: string;
3296
+ comments: string;
3297
+ required: true;
3298
+ clean: (value: unknown) => string;
3299
+ };
3300
+ portfolioId: {
3301
+ label: string;
3302
+ type: "string";
3303
+ example: string;
3304
+ placeholder: string;
3305
+ comments: string;
3306
+ required: true;
3307
+ dataSource: string;
3308
+ clean: (value: unknown) => string;
3309
+ };
3310
+ }, import("@prismatic-io/spectral").ConfigVarResultCollection, boolean, {
3311
+ data: any;
3312
+ }>;
3313
+ getCustomField: import("@prismatic-io/spectral").ActionDefinition<{
3314
+ asanaConnection: {
3315
+ label: string;
3316
+ type: "connection";
3317
+ required: true;
3318
+ comments: string;
3319
+ };
3320
+ fieldId: {
3321
+ label: string;
3322
+ type: "string";
3323
+ example: string;
3324
+ placeholder: string;
3325
+ comments: string;
3326
+ required: true;
3327
+ dataSource: string;
3328
+ clean: (value: unknown) => string;
3329
+ };
3330
+ optFields: {
3331
+ default: string;
3332
+ label: string;
3333
+ type: "string";
3334
+ required: false;
3335
+ example: string;
3336
+ placeholder: string;
3337
+ comments: string;
3338
+ clean: (value: unknown) => string;
3339
+ };
3340
+ }, import("@prismatic-io/spectral").ConfigVarResultCollection, boolean, {
3341
+ data: any;
3342
+ }>;
3343
+ listCustomFields: import("@prismatic-io/spectral").ActionDefinition<{
3344
+ asanaConnection: {
3345
+ label: string;
3346
+ type: "connection";
3347
+ required: true;
3348
+ comments: string;
3349
+ };
3350
+ workspaceId: {
3351
+ label: string;
3352
+ type: "string";
3353
+ example: string;
3354
+ placeholder: string;
3355
+ comments: string;
3356
+ required: true;
3357
+ dataSource: string;
3358
+ clean: (value: unknown) => string;
3359
+ };
3360
+ optFields: {
3361
+ default: string;
3362
+ label: string;
3363
+ type: "string";
3364
+ required: false;
3365
+ example: string;
3366
+ placeholder: string;
3367
+ comments: string;
3368
+ clean: (value: unknown) => string;
3369
+ };
3370
+ pagination: {
3371
+ label: string;
3372
+ required: boolean;
3373
+ comments: string;
3374
+ inputs: {
3375
+ limit: {
3376
+ label: string;
3377
+ type: "string";
3378
+ example: string;
3379
+ placeholder: string;
3380
+ comments: string;
3381
+ required: false;
3382
+ clean: (value: unknown) => number | undefined;
3383
+ };
3384
+ offset: {
3385
+ label: string;
3386
+ type: "string";
3387
+ example: string;
3388
+ placeholder: string;
3389
+ comments: string;
3390
+ required: false;
3391
+ clean: (value: unknown) => string | undefined;
3392
+ };
3393
+ };
3394
+ } & {
3395
+ type: "structuredObject";
3396
+ };
3397
+ }, import("@prismatic-io/spectral").ConfigVarResultCollection, boolean, {
3398
+ data: any;
3399
+ }>;
3400
+ attachFileToTask: import("@prismatic-io/spectral").ActionDefinition<{
3401
+ asanaConnection: {
3402
+ label: string;
3403
+ type: "connection";
3404
+ required: true;
3405
+ comments: string;
3406
+ };
3407
+ file: {
3408
+ label: string;
3409
+ comments: string;
3410
+ type: "data";
3411
+ required: true;
3412
+ clean: (value: unknown) => import("@prismatic-io/spectral").DataPayload;
3413
+ };
3414
+ fileName: {
3415
+ label: string;
3416
+ comments: string;
3417
+ type: "string";
3418
+ required: true;
3419
+ example: string;
3420
+ clean: (value: unknown, defaultValue?: string) => string;
3421
+ };
3422
+ taskId: {
3423
+ label: string;
3424
+ type: "string";
3425
+ example: string;
3426
+ placeholder: string;
3427
+ comments: string;
3428
+ required: true;
3429
+ dataSource: string;
3430
+ clean: (value: unknown) => string;
3431
+ };
3432
+ }, import("@prismatic-io/spectral").ConfigVarResultCollection, boolean, {
3433
+ data: any;
3434
+ }>;
3435
+ deleteAttachment: import("@prismatic-io/spectral").ActionDefinition<{
3436
+ asanaConnection: {
3437
+ label: string;
3438
+ type: "connection";
3439
+ required: true;
3440
+ comments: string;
3441
+ };
3442
+ attachmentId: {
3443
+ label: string;
3444
+ type: "string";
3445
+ example: string;
3446
+ placeholder: string;
3447
+ comments: string;
3448
+ required: true;
3449
+ dataSource: string;
3450
+ clean: (value: unknown) => string;
3451
+ };
3452
+ }, import("@prismatic-io/spectral").ConfigVarResultCollection, boolean, {
3453
+ data: any;
3454
+ }>;
3455
+ getAttachment: import("@prismatic-io/spectral").ActionDefinition<{
3456
+ asanaConnection: {
3457
+ label: string;
3458
+ type: "connection";
3459
+ required: true;
3460
+ comments: string;
3461
+ };
3462
+ attachmentId: {
3463
+ label: string;
3464
+ type: "string";
3465
+ example: string;
3466
+ placeholder: string;
3467
+ comments: string;
3468
+ required: true;
3469
+ dataSource: string;
3470
+ clean: (value: unknown) => string;
3471
+ };
3472
+ optFields: {
3473
+ default: string;
3474
+ label: string;
3475
+ type: "string";
3476
+ required: false;
3477
+ example: string;
3478
+ placeholder: string;
3479
+ comments: string;
3480
+ clean: (value: unknown) => string;
3481
+ };
3482
+ }, import("@prismatic-io/spectral").ConfigVarResultCollection, boolean, {
3483
+ data: any;
3484
+ }>;
3485
+ listAttachments: import("@prismatic-io/spectral").ActionDefinition<{
3486
+ asanaConnection: {
3487
+ label: string;
3488
+ type: "connection";
3489
+ required: true;
3490
+ comments: string;
3491
+ };
3492
+ taskId: {
3493
+ label: string;
3494
+ type: "string";
3495
+ example: string;
3496
+ placeholder: string;
3497
+ comments: string;
3498
+ required: true;
3499
+ dataSource: string;
3500
+ clean: (value: unknown) => string;
3501
+ };
3502
+ pagination: {
3503
+ label: string;
3504
+ required: boolean;
3505
+ comments: string;
3506
+ inputs: {
3507
+ limit: {
3508
+ label: string;
3509
+ type: "string";
3510
+ example: string;
3511
+ placeholder: string;
3512
+ comments: string;
3513
+ required: false;
3514
+ clean: (value: unknown) => number | undefined;
3515
+ };
3516
+ offset: {
3517
+ label: string;
3518
+ type: "string";
3519
+ example: string;
3520
+ placeholder: string;
3521
+ comments: string;
3522
+ required: false;
3523
+ clean: (value: unknown) => string | undefined;
3524
+ };
3525
+ };
3526
+ } & {
3527
+ type: "structuredObject";
3528
+ };
3529
+ }, import("@prismatic-io/spectral").ConfigVarResultCollection, boolean, {
3530
+ data: any;
3531
+ }>;
3532
+ };
3533
+ triggers: {
3534
+ projectTasksTrigger: import("@prismatic-io/spectral").TriggerDefinition<{
3535
+ asanaConnection: {
3536
+ label: string;
3537
+ type: "connection";
3538
+ required: true;
3539
+ comments: string;
3540
+ };
3541
+ projectId: {
3542
+ label: string;
3543
+ type: "string";
3544
+ comments: string;
3545
+ example: string;
3546
+ placeholder: string;
3547
+ required: true;
3548
+ dataSource: string;
3549
+ clean: (value: unknown) => string;
3550
+ };
3551
+ triggerWhenAdded: {
3552
+ comments: string;
3553
+ label: string;
3554
+ type: "boolean";
3555
+ default: string;
3556
+ required: true;
3557
+ clean: (value: unknown, defaultValue?: boolean) => boolean;
3558
+ };
3559
+ triggerWhenChanged: {
3560
+ comments: string;
3561
+ label: string;
3562
+ type: "boolean";
3563
+ default: string;
3564
+ required: true;
3565
+ clean: (value: unknown, defaultValue?: boolean) => boolean;
3566
+ };
3567
+ triggerWhenDeleted: {
3568
+ comments: string;
3569
+ label: string;
3570
+ type: "boolean";
3571
+ default: string;
3572
+ required: true;
3573
+ clean: (value: unknown, defaultValue?: boolean) => boolean;
3574
+ };
3575
+ triggerWhenRemoved: {
3576
+ comments: string;
3577
+ label: string;
3578
+ type: "boolean";
3579
+ default: string;
3580
+ required: true;
3581
+ clean: (value: unknown, defaultValue?: boolean) => boolean;
3582
+ };
3583
+ triggerWhenUndeleted: {
3584
+ comments: string;
3585
+ label: string;
3586
+ type: "boolean";
3587
+ default: string;
3588
+ required: true;
3589
+ clean: (value: unknown, defaultValue?: boolean) => boolean;
3590
+ };
3591
+ }, import("@prismatic-io/spectral").ConfigVarResultCollection, true, {
3592
+ payload: import("@prismatic-io/spectral").TriggerPayload;
3593
+ branch: string;
3594
+ }, import("@prismatic-io/spectral").Inputs>;
3595
+ workspaceProjectsTrigger: import("@prismatic-io/spectral").TriggerDefinition<{
3596
+ asanaConnection: {
3597
+ label: string;
3598
+ type: "connection";
3599
+ required: true;
3600
+ comments: string;
3601
+ };
3602
+ workspaceId: {
3603
+ label: string;
3604
+ type: "string";
3605
+ example: string;
3606
+ placeholder: string;
3607
+ comments: string;
3608
+ required: true;
3609
+ dataSource: string;
3610
+ clean: (value: unknown) => string;
3611
+ };
3612
+ triggerWhenAdded: {
3613
+ comments: string;
3614
+ label: string;
3615
+ type: "boolean";
3616
+ default: string;
3617
+ required: true;
3618
+ clean: (value: unknown, defaultValue?: boolean) => boolean;
3619
+ };
3620
+ triggerWhenChanged: {
3621
+ comments: string;
3622
+ label: string;
3623
+ type: "boolean";
3624
+ default: string;
3625
+ required: true;
3626
+ clean: (value: unknown, defaultValue?: boolean) => boolean;
3627
+ };
3628
+ triggerWhenDeleted: {
3629
+ comments: string;
3630
+ label: string;
3631
+ type: "boolean";
3632
+ default: string;
3633
+ required: true;
3634
+ clean: (value: unknown, defaultValue?: boolean) => boolean;
3635
+ };
3636
+ triggerWhenRemoved: {
3637
+ comments: string;
3638
+ label: string;
3639
+ type: "boolean";
3640
+ default: string;
3641
+ required: true;
3642
+ clean: (value: unknown, defaultValue?: boolean) => boolean;
3643
+ };
3644
+ triggerWhenUndeleted: {
3645
+ comments: string;
3646
+ label: string;
3647
+ type: "boolean";
3648
+ default: string;
3649
+ required: true;
3650
+ clean: (value: unknown, defaultValue?: boolean) => boolean;
3651
+ };
3652
+ }, import("@prismatic-io/spectral").ConfigVarResultCollection, true, {
3653
+ payload: import("@prismatic-io/spectral").TriggerPayload;
3654
+ branch: string;
3655
+ }, import("@prismatic-io/spectral").Inputs>;
3656
+ storiesTrigger: import("@prismatic-io/spectral").TriggerDefinition<{
3657
+ asanaConnection: {
3658
+ label: string;
3659
+ type: "connection";
3660
+ required: true;
3661
+ comments: string;
3662
+ };
3663
+ projectId: {
3664
+ label: string;
3665
+ type: "string";
3666
+ comments: string;
3667
+ example: string;
3668
+ placeholder: string;
3669
+ required: true;
3670
+ dataSource: string;
3671
+ clean: (value: unknown) => string;
3672
+ };
3673
+ triggerWhenAdded: {
3674
+ comments: string;
3675
+ label: string;
3676
+ type: "boolean";
3677
+ default: string;
3678
+ required: true;
3679
+ clean: (value: unknown, defaultValue?: boolean) => boolean;
3680
+ };
3681
+ triggerWhenChanged: {
3682
+ comments: string;
3683
+ label: string;
3684
+ type: "boolean";
3685
+ default: string;
3686
+ required: true;
3687
+ clean: (value: unknown, defaultValue?: boolean) => boolean;
3688
+ };
3689
+ triggerWhenDeleted: {
3690
+ comments: string;
3691
+ label: string;
3692
+ type: "boolean";
3693
+ default: string;
3694
+ required: true;
3695
+ clean: (value: unknown, defaultValue?: boolean) => boolean;
3696
+ };
3697
+ triggerWhenRemoved: {
3698
+ comments: string;
3699
+ label: string;
3700
+ type: "boolean";
3701
+ default: string;
3702
+ required: true;
3703
+ clean: (value: unknown, defaultValue?: boolean) => boolean;
3704
+ };
3705
+ triggerWhenUndeleted: {
3706
+ comments: string;
3707
+ label: string;
3708
+ type: "boolean";
3709
+ default: string;
3710
+ required: true;
3711
+ clean: (value: unknown, defaultValue?: boolean) => boolean;
3712
+ };
3713
+ }, import("@prismatic-io/spectral").ConfigVarResultCollection, true, {
3714
+ payload: import("@prismatic-io/spectral").TriggerPayload;
3715
+ branch: string;
3716
+ }, import("@prismatic-io/spectral").Inputs>;
3717
+ webhook: import("@prismatic-io/spectral").TriggerDefinition<{}, import("@prismatic-io/spectral").ConfigVarResultCollection, true, {
3718
+ payload: import("@prismatic-io/spectral").TriggerPayload<Record<string, unknown>>;
3719
+ branch: string;
3720
+ }, import("@prismatic-io/spectral").Inputs>;
3721
+ pollChangesTrigger: import("@prismatic-io/spectral").PollingTriggerDefinition<{
3722
+ asanaConnection: {
3723
+ label: string;
3724
+ type: "connection";
3725
+ required: true;
3726
+ comments: string;
3727
+ };
3728
+ projectId: {
3729
+ label: string;
3730
+ type: "string";
3731
+ comments: string;
3732
+ example: string;
3733
+ placeholder: string;
3734
+ required: true;
3735
+ dataSource: string;
3736
+ clean: (value: unknown) => string;
3737
+ };
3738
+ lookBackDate: {
3739
+ label: string;
3740
+ placeholder: string;
3741
+ type: "string";
3742
+ required: false;
3743
+ comments: string;
3744
+ example: string;
3745
+ clean: (value: unknown) => string;
3746
+ };
3747
+ showNewRecords: {
3748
+ label: string;
3749
+ type: "boolean";
3750
+ required: false;
3751
+ default: string;
3752
+ clean: (value: unknown, defaultValue?: boolean) => boolean;
3753
+ comments: string;
3754
+ };
3755
+ showUpdatedRecords: {
3756
+ label: string;
3757
+ type: "boolean";
3758
+ required: false;
3759
+ default: string;
3760
+ clean: (value: unknown, defaultValue?: boolean) => boolean;
3761
+ comments: string;
3762
+ };
3763
+ }, import("@prismatic-io/spectral").ConfigVarResultCollection, import("@prismatic-io/spectral").TriggerPayload<Record<string, unknown>>, boolean, {
3764
+ payload: import("@prismatic-io/spectral").TriggerPayload;
3765
+ polledNoChanges: boolean;
3766
+ }, import("@prismatic-io/spectral").Inputs>;
3767
+ };
3768
+ dataSources: {
3769
+ selectWorkspace: import("@prismatic-io/spectral").DataSourceDefinition<{
3770
+ connection: {
3771
+ label: string;
3772
+ type: "connection";
3773
+ required: true;
3774
+ comments: string;
3775
+ };
3776
+ }, import("@prismatic-io/spectral").ConfigVarResultCollection, "picklist">;
3777
+ selectUser: import("@prismatic-io/spectral").DataSourceDefinition<{
3778
+ connection: {
3779
+ label: string;
3780
+ type: "connection";
3781
+ required: true;
3782
+ comments: string;
3783
+ };
3784
+ workspaceId: {
3785
+ required: boolean;
3786
+ dataSource: undefined;
3787
+ clean: (value: unknown) => string | undefined;
3788
+ label: string;
3789
+ type: "string";
3790
+ example: string;
3791
+ placeholder: string;
3792
+ comments: string;
3793
+ };
3794
+ }, import("@prismatic-io/spectral").ConfigVarResultCollection, "picklist">;
3795
+ selectTeam: import("@prismatic-io/spectral").DataSourceDefinition<{
3796
+ connection: {
3797
+ label: string;
3798
+ type: "connection";
3799
+ required: true;
3800
+ comments: string;
3801
+ };
3802
+ workspaceId: {
3803
+ dataSource: undefined;
3804
+ label: string;
3805
+ type: "string";
3806
+ example: string;
3807
+ placeholder: string;
3808
+ comments: string;
3809
+ required: true;
3810
+ clean: (value: unknown) => string;
3811
+ };
3812
+ }, import("@prismatic-io/spectral").ConfigVarResultCollection, "picklist">;
3813
+ selectTask: import("@prismatic-io/spectral").DataSourceDefinition<{
3814
+ connection: {
3815
+ label: string;
3816
+ type: "connection";
3817
+ required: true;
3818
+ comments: string;
3819
+ };
3820
+ project: {
3821
+ required: boolean;
3822
+ clean: (value: unknown) => string | undefined;
3823
+ dataSource: undefined;
3824
+ label: string;
3825
+ type: "string";
3826
+ comments: string;
3827
+ example: string;
3828
+ placeholder: string;
3829
+ };
3830
+ workspace: {
3831
+ required: boolean;
3832
+ clean: (value: unknown) => string | undefined;
3833
+ dataSource: undefined;
3834
+ comments: string;
3835
+ label: string;
3836
+ type: "string";
3837
+ example: string;
3838
+ placeholder: string;
3839
+ };
3840
+ assignee: {
3841
+ comments: string;
3842
+ label: string;
3843
+ type: "string";
3844
+ example: string;
3845
+ placeholder: string;
3846
+ required: false;
3847
+ clean: (value: unknown) => string | undefined;
3848
+ };
3849
+ }, import("@prismatic-io/spectral").ConfigVarResultCollection, "picklist">;
3850
+ selectTag: import("@prismatic-io/spectral").DataSourceDefinition<{
3851
+ connection: {
3852
+ label: string;
3853
+ type: "connection";
3854
+ required: true;
3855
+ comments: string;
3856
+ };
3857
+ workspaceId: {
3858
+ dataSource: undefined;
3859
+ label: string;
3860
+ type: "string";
3861
+ example: string;
3862
+ placeholder: string;
3863
+ comments: string;
3864
+ required: true;
3865
+ clean: (value: unknown) => string;
3866
+ };
3867
+ }, import("@prismatic-io/spectral").ConfigVarResultCollection, "picklist">;
3868
+ selectSection: import("@prismatic-io/spectral").DataSourceDefinition<{
3869
+ connection: {
3870
+ label: string;
3871
+ type: "connection";
3872
+ required: true;
3873
+ comments: string;
3874
+ };
3875
+ projectId: {
3876
+ dataSource: undefined;
3877
+ label: string;
3878
+ type: "string";
3879
+ comments: string;
3880
+ example: string;
3881
+ placeholder: string;
3882
+ required: true;
3883
+ clean: (value: unknown) => string;
3884
+ };
3885
+ }, import("@prismatic-io/spectral").ConfigVarResultCollection, "picklist">;
3886
+ selectProject: import("@prismatic-io/spectral").DataSourceDefinition<{
3887
+ connection: {
3888
+ label: string;
3889
+ type: "connection";
3890
+ required: true;
3891
+ comments: string;
3892
+ };
3893
+ workspace: {
3894
+ required: boolean;
3895
+ clean: (value: unknown) => string | undefined;
3896
+ dataSource: undefined;
3897
+ label: string;
3898
+ type: "string";
3899
+ example: string;
3900
+ placeholder: string;
3901
+ comments: string;
3902
+ };
3903
+ team: {
3904
+ required: boolean;
3905
+ clean: (value: unknown) => string | undefined;
3906
+ dataSource: undefined;
3907
+ label: string;
3908
+ type: "string";
3909
+ example: string;
3910
+ placeholder: string;
3911
+ comments: string;
3912
+ };
3913
+ }, import("@prismatic-io/spectral").ConfigVarResultCollection, "picklist">;
3914
+ selectPortfolio: import("@prismatic-io/spectral").DataSourceDefinition<{
3915
+ connection: {
3916
+ label: string;
3917
+ type: "connection";
3918
+ required: true;
3919
+ comments: string;
3920
+ };
3921
+ workspaceId: {
3922
+ required: boolean;
3923
+ dataSource: undefined;
3924
+ clean: (value: unknown) => string | undefined;
3925
+ label: string;
3926
+ type: "string";
3927
+ example: string;
3928
+ placeholder: string;
3929
+ comments: string;
3930
+ };
3931
+ }, import("@prismatic-io/spectral").ConfigVarResultCollection, "picklist">;
3932
+ selectCustomField: import("@prismatic-io/spectral").DataSourceDefinition<{
3933
+ connection: {
3934
+ label: string;
3935
+ type: "connection";
3936
+ required: true;
3937
+ comments: string;
3938
+ };
3939
+ workspaceId: {
3940
+ dataSource: undefined;
3941
+ label: string;
3942
+ type: "string";
3943
+ example: string;
3944
+ placeholder: string;
3945
+ comments: string;
3946
+ required: true;
3947
+ clean: (value: unknown) => string;
3948
+ };
3949
+ }, import("@prismatic-io/spectral").ConfigVarResultCollection, "picklist">;
3950
+ selectAttachment: import("@prismatic-io/spectral").DataSourceDefinition<{
3951
+ connection: {
3952
+ label: string;
3953
+ type: "connection";
3954
+ required: true;
3955
+ comments: string;
3956
+ };
3957
+ taskId: {
3958
+ dataSource: undefined;
3959
+ label: string;
3960
+ type: "string";
3961
+ example: string;
3962
+ placeholder: string;
3963
+ comments: string;
3964
+ required: true;
3965
+ clean: (value: unknown) => string;
3966
+ };
3967
+ }, import("@prismatic-io/spectral").ConfigVarResultCollection, "picklist">;
3968
+ };
3969
+ hooks: {
3970
+ error: (error: unknown) => unknown;
3971
+ };
3972
+ connections: (import("@prismatic-io/spectral").KeyedConnection<{
3973
+ oauth2Type: import("@prismatic-io/spectral").OAuth2Type.AuthorizationCode;
3974
+ key: "oauth2";
3975
+ display: {
3976
+ label: string;
3977
+ description: string;
3978
+ };
3979
+ inputs: {
3980
+ authorizeUrl: {
3981
+ label: string;
3982
+ placeholder: string;
3983
+ type: "string";
3984
+ required: true;
3985
+ shown: false;
3986
+ comments: string;
3987
+ default: string;
3988
+ };
3989
+ tokenUrl: {
3990
+ label: string;
3991
+ placeholder: string;
3992
+ type: "string";
3993
+ required: true;
3994
+ shown: false;
3995
+ comments: string;
3996
+ default: string;
3997
+ };
3998
+ scopes: {
3999
+ label: string;
4000
+ placeholder: string;
4001
+ example: string;
4002
+ type: "string";
4003
+ required: false;
4004
+ shown: true;
4005
+ comments: string;
4006
+ default: string;
4007
+ };
4008
+ clientId: {
4009
+ label: string;
4010
+ placeholder: string;
4011
+ type: "string";
4012
+ required: true;
4013
+ shown: true;
4014
+ comments: string;
4015
+ };
4016
+ clientSecret: {
4017
+ label: string;
4018
+ placeholder: string;
4019
+ type: "password";
4020
+ required: true;
4021
+ shown: true;
4022
+ comments: string;
4023
+ };
4024
+ };
4025
+ }, "oauth2"> | import("@prismatic-io/spectral").KeyedConnection<{
4026
+ key: "apiKey";
4027
+ display: {
4028
+ label: string;
4029
+ description: string;
4030
+ };
4031
+ inputs: {
4032
+ apiKey: {
4033
+ label: string;
4034
+ placeholder: string;
4035
+ type: "password";
4036
+ required: true;
4037
+ shown: true;
4038
+ comments: string;
4039
+ example: string;
4040
+ };
4041
+ };
4042
+ }, "apiKey">)[];
4043
+ }>;
4044
+ export = _default;