@prismatic-io/components-ms-planner 0.0.0-stage → 0.0.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -0,0 +1,1891 @@
1
+ //#region node_modules/axios/index.d.ts
2
+ type UppercaseMethod = 'GET' | 'DELETE' | 'HEAD' | 'OPTIONS' | 'POST' | 'PUT' | 'PATCH' | 'PURGE' | 'LINK' | 'UNLINK' | 'QUERY';
3
+ type Method = (UppercaseMethod | Lowercase<UppercaseMethod>) & {};
4
+ type ResponseType = 'arraybuffer' | 'blob' | 'document' | 'json' | 'text' | 'stream' | 'formdata';
5
+ //#endregion
6
+ //#region node_modules/@microsoft/microsoft-graph-types/microsoft-graph.d.ts
7
+ type NullableOption<T> = T | null;
8
+ type PlannerContainerType = "group" | "unknownFutureValue" | "roster";
9
+ type PlannerPreviewType = "automatic" | "noPreview" | "checklist" | "description" | "reference";
10
+ interface Entity {
11
+ // The unique idenfier for an entity. Read-only.
12
+ id?: string;
13
+ }
14
+ interface PlannerBucket extends Entity {
15
+ // Name of the bucket.
16
+ name?: string;
17
+ /**
18
+ * Hint used to order items of this type in a list view. For details about the supported format, see Using order hints in
19
+ * Planner.
20
+ */
21
+ orderHint?: NullableOption<string>; // Plan ID to which the bucket belongs.
22
+ planId?: NullableOption<string>; // Read-only. Nullable. The collection of tasks in the bucket.
23
+ tasks?: NullableOption<PlannerTask[]>;
24
+ }
25
+ interface PlannerPlan extends Entity {
26
+ /**
27
+ * Identifies the container of the plan. Specify only the url, the containerId and type, or all properties. After it is
28
+ * set, this property can’t be updated. Required.
29
+ */
30
+ container?: NullableOption<PlannerPlanContainer>; // Read-only. The user who created the plan.
31
+ createdBy?: NullableOption<IdentitySet>;
32
+ /**
33
+ * Read-only. Date and time at which the plan is created. The Timestamp type represents date and time information using
34
+ * ISO 8601 format and is always in UTC time. For example, midnight UTC on Jan 1, 2014 is 2014-01-01T00:00:00Z
35
+ */
36
+ createdDateTime?: NullableOption<string>;
37
+ owner?: NullableOption<string>; // Required. Title of the plan.
38
+ title?: string; // Read-only. Nullable. Collection of buckets in the plan.
39
+ buckets?: NullableOption<PlannerBucket[]>; // Read-only. Nullable. Additional details about the plan.
40
+ details?: NullableOption<PlannerPlanDetails>; // Read-only. Nullable. Collection of tasks in the plan.
41
+ tasks?: NullableOption<PlannerTask[]>;
42
+ }
43
+ interface PlannerTask extends Entity {
44
+ // Number of checklist items with value set to false, representing incomplete items.
45
+ activeChecklistItemCount?: NullableOption<number>; // The categories to which the task has been applied. See applied Categories for possible values.
46
+ appliedCategories?: NullableOption<PlannerAppliedCategories>; // Hint used to order items of this type in a list view. The format is defined as outlined here.
47
+ assigneePriority?: NullableOption<string>; // The set of assignees the task is assigned to.
48
+ assignments?: NullableOption<PlannerAssignments>;
49
+ /**
50
+ * Bucket ID to which the task belongs. The bucket needs to be in the plan that the task is in. It is 28 characters long
51
+ * and case-sensitive. Format validation is done on the service.
52
+ */
53
+ bucketId?: NullableOption<string>; // Number of checklist items that are present on the task.
54
+ checklistItemCount?: NullableOption<number>; // Identity of the user that completed the task.
55
+ completedBy?: NullableOption<IdentitySet>;
56
+ /**
57
+ * Read-only. Date and time at which the 'percentComplete' of the task is set to '100'. The Timestamp type represents date
58
+ * and time information using ISO 8601 format and is always in UTC time. For example, midnight UTC on Jan 1, 2014 is
59
+ * 2014-01-01T00:00:00Z
60
+ */
61
+ completedDateTime?: NullableOption<string>; // Thread ID of the conversation on the task. This is the ID of the conversation thread object created in the group.
62
+ conversationThreadId?: NullableOption<string>; // Identity of the user that created the task.
63
+ createdBy?: NullableOption<IdentitySet>;
64
+ /**
65
+ * Read-only. Date and time at which the task is created. The Timestamp type represents date and time information using
66
+ * ISO 8601 format and is always in UTC time. For example, midnight UTC on Jan 1, 2014 is 2014-01-01T00:00:00Z
67
+ */
68
+ createdDateTime?: NullableOption<string>;
69
+ /**
70
+ * Date and time at which the task is due. The Timestamp type represents date and time information using ISO 8601 format
71
+ * and is always in UTC time. For example, midnight UTC on Jan 1, 2014 is 2014-01-01T00:00:00Z
72
+ */
73
+ dueDateTime?: NullableOption<string>; // Read-only. Value is true if the details object of the task has a non-empty description and false otherwise.
74
+ hasDescription?: NullableOption<boolean>; // Hint used to order items of this type in a list view. The format is defined as outlined here.
75
+ orderHint?: NullableOption<string>; // Percentage of task completion. When set to 100, the task is considered completed.
76
+ percentComplete?: NullableOption<number>; // Plan ID to which the task belongs.
77
+ planId?: NullableOption<string>;
78
+ /**
79
+ * This sets the type of preview that shows up on the task. The possible values are: automatic, noPreview, checklist,
80
+ * description, reference.
81
+ */
82
+ previewType?: NullableOption<PlannerPreviewType>;
83
+ /**
84
+ * Priority of the task. The valid range of values is between 0 and 10, with the increasing value being lower priority (0
85
+ * has the highest priority and 10 has the lowest priority). Currently, Planner interprets values 0 and 1 as 'urgent', 2,
86
+ * 3 and 4 as 'important', 5, 6, and 7 as 'medium', and 8, 9, and 10 as 'low'. Additionally, Planner sets the value 1 for
87
+ * 'urgent', 3 for 'important', 5 for 'medium', and 9 for 'low'.
88
+ */
89
+ priority?: NullableOption<number>; // Number of external references that exist on the task.
90
+ referenceCount?: NullableOption<number>;
91
+ /**
92
+ * Date and time at which the task starts. The Timestamp type represents date and time information using ISO 8601 format
93
+ * and is always in UTC time. For example, midnight UTC on Jan 1, 2014 is 2014-01-01T00:00:00Z
94
+ */
95
+ startDateTime?: NullableOption<string>; // Title of the task.
96
+ title?: string; // Read-only. Nullable. Used to render the task correctly in the task board view when grouped by assignedTo.
97
+ assignedToTaskBoardFormat?: NullableOption<PlannerAssignedToTaskBoardTaskFormat>; // Read-only. Nullable. Used to render the task correctly in the task board view when grouped by bucket.
98
+ bucketTaskBoardFormat?: NullableOption<PlannerBucketTaskBoardTaskFormat>; // Read-only. Nullable. Additional details about the task.
99
+ details?: NullableOption<PlannerTaskDetails>; // Read-only. Nullable. Used to render the task correctly in the task board view when grouped by progress.
100
+ progressTaskBoardFormat?: NullableOption<PlannerProgressTaskBoardTaskFormat>;
101
+ }
102
+ interface PlannerAssignedToTaskBoardTaskFormat extends Entity {
103
+ /**
104
+ * Dictionary of hints used to order tasks on the AssignedTo view of the Task Board. The key of each entry is one of the
105
+ * users the task is assigned to and the value is the order hint. The format of each value is defined as outlined here.
106
+ */
107
+ orderHintsByAssignee?: NullableOption<PlannerOrderHintsByAssignee>;
108
+ /**
109
+ * Hint value used to order the task on the AssignedTo view of the Task Board when the task is not assigned to anyone, or
110
+ * if the orderHintsByAssignee dictionary does not provide an order hint for the user the task is assigned to. The format
111
+ * is defined as outlined here.
112
+ */
113
+ unassignedOrderHint?: NullableOption<string>;
114
+ }
115
+ interface PlannerBucketTaskBoardTaskFormat extends Entity {
116
+ /**
117
+ * Hint used to order tasks in the bucket view of the task board. For details about the supported format, see Using order
118
+ * hints in Planner.
119
+ */
120
+ orderHint?: NullableOption<string>;
121
+ }
122
+ interface PlannerPlanDetails extends Entity {
123
+ // An object that specifies the descriptions of the 25 categories that can be associated with tasks in the plan.
124
+ categoryDescriptions?: NullableOption<PlannerCategoryDescriptions>;
125
+ /**
126
+ * Set of user IDs that this plan is shared with. If you are leveraging Microsoft 365 groups, use the Groups API to manage
127
+ * group membership to share the group's plan. You can also add existing members of the group to this collection, although
128
+ * it is not required for them to access the plan owned by the group.
129
+ */
130
+ sharedWith?: NullableOption<PlannerUserIds>;
131
+ }
132
+ interface PlannerProgressTaskBoardTaskFormat extends Entity {
133
+ /**
134
+ * Hint value used to order the task on the progress view of the task board. For details about the supported format, see
135
+ * Using order hints in Planner.
136
+ */
137
+ orderHint?: NullableOption<string>;
138
+ }
139
+ interface PlannerTaskDetails extends Entity {
140
+ // The collection of checklist items on the task.
141
+ checklist?: NullableOption<PlannerChecklistItems>; // Description of the task.
142
+ description?: NullableOption<string>;
143
+ /**
144
+ * This sets the type of preview that shows up on the task. The possible values are: automatic, noPreview, checklist,
145
+ * description, reference. When set to automatic the displayed preview is chosen by the app viewing the task.
146
+ */
147
+ previewType?: NullableOption<PlannerPreviewType>; // The collection of references on the task.
148
+ references?: NullableOption<PlannerExternalReferences>;
149
+ }
150
+ // tslint:disable-next-line: interface-name
151
+ interface Identity {
152
+ /**
153
+ * The display name of the identity. Note that this might not always be available or up to date. For example, if a user
154
+ * changes their display name, the API might show the new value in a future response, but the items associated with the
155
+ * user won't show up as having changed when using delta.
156
+ */
157
+ displayName?: NullableOption<string>; // Unique identifier for the identity.
158
+ id?: NullableOption<string>;
159
+ }
160
+ // tslint:disable-next-line: interface-name
161
+ interface IdentitySet {
162
+ // Optional. The application associated with this action.
163
+ application?: NullableOption<Identity>; // Optional. The device associated with this action.
164
+ device?: NullableOption<Identity>; // Optional. The user associated with this action.
165
+ user?: NullableOption<Identity>;
166
+ }
167
+ // tslint:disable-next-line: no-empty-interface
168
+ interface PlannerAppliedCategories {}
169
+ // tslint:disable-next-line: no-empty-interface
170
+ interface PlannerAssignments {}
171
+ interface PlannerCategoryDescriptions {
172
+ // The label associated with Category 1
173
+ category1?: NullableOption<string>; // The label associated with Category 10
174
+ category10?: NullableOption<string>; // The label associated with Category 11
175
+ category11?: NullableOption<string>; // The label associated with Category 12
176
+ category12?: NullableOption<string>; // The label associated with Category 13
177
+ category13?: NullableOption<string>; // The label associated with Category 14
178
+ category14?: NullableOption<string>; // The label associated with Category 15
179
+ category15?: NullableOption<string>; // The label associated with Category 16
180
+ category16?: NullableOption<string>; // The label associated with Category 17
181
+ category17?: NullableOption<string>; // The label associated with Category 18
182
+ category18?: NullableOption<string>; // The label associated with Category 19
183
+ category19?: NullableOption<string>; // The label associated with Category 2
184
+ category2?: NullableOption<string>; // The label associated with Category 20
185
+ category20?: NullableOption<string>; // The label associated with Category 21
186
+ category21?: NullableOption<string>; // The label associated with Category 22
187
+ category22?: NullableOption<string>; // The label associated with Category 23
188
+ category23?: NullableOption<string>; // The label associated with Category 24
189
+ category24?: NullableOption<string>; // The label associated with Category 25
190
+ category25?: NullableOption<string>; // The label associated with Category 3
191
+ category3?: NullableOption<string>; // The label associated with Category 4
192
+ category4?: NullableOption<string>; // The label associated with Category 5
193
+ category5?: NullableOption<string>; // The label associated with Category 6
194
+ category6?: NullableOption<string>; // The label associated with Category 7
195
+ category7?: NullableOption<string>; // The label associated with Category 8
196
+ category8?: NullableOption<string>; // The label associated with Category 9
197
+ category9?: NullableOption<string>;
198
+ }
199
+ // tslint:disable-next-line: no-empty-interface
200
+ interface PlannerChecklistItems {}
201
+ // tslint:disable-next-line: no-empty-interface
202
+ interface PlannerExternalReferences {}
203
+ // tslint:disable-next-line: no-empty-interface
204
+ interface PlannerOrderHintsByAssignee {}
205
+ interface PlannerPlanContainer {
206
+ // The identifier of the resource that contains the plan. Optional.
207
+ containerId?: NullableOption<string>;
208
+ /**
209
+ * The type of the resource that contains the plan. For supported types, see the previous table. Possible values are:
210
+ * group, unknownFutureValue, roster. Note that you must use the Prefer: include-unknown-enum-members request header to
211
+ * get the following value in this evolvable enum: roster. Optional.
212
+ */
213
+ type?: NullableOption<PlannerContainerType>; // The full canonical URL of the container. Optional.
214
+ url?: NullableOption<string>;
215
+ }
216
+ // tslint:disable-next-line: no-empty-interface
217
+ interface PlannerUserIds {}
218
+ //#endregion
219
+ //#region src/types/graph.d.ts
220
+ interface Etagged {
221
+ "@odata.etag"?: string;
222
+ }
223
+ //#endregion
224
+ //#region npm-dist/.entry.d.ts
225
+ declare const _default: import("@prismatic-io/spectral").CallableComponent<{
226
+ key: "ms-planner";
227
+ public: true;
228
+ documentationUrl: "https://prismatic.io/docs/components/ms-planner/";
229
+ display: {
230
+ label: string;
231
+ description: string;
232
+ iconPath: string;
233
+ category: "Application Connectors";
234
+ };
235
+ hooks: {
236
+ error: (error: unknown) => unknown;
237
+ };
238
+ actions: {
239
+ rawRequest: import("@prismatic-io/spectral").ActionDefinition<{
240
+ url: {
241
+ comments: string;
242
+ example: string;
243
+ label: string;
244
+ placeholder: string;
245
+ type: "string";
246
+ required: true;
247
+ clean: (value: unknown) => string;
248
+ };
249
+ method: {
250
+ label: string;
251
+ type: "string";
252
+ required: true;
253
+ model: {
254
+ label: Method;
255
+ value: Method;
256
+ }[];
257
+ comments: string;
258
+ clean: (value: unknown) => string;
259
+ };
260
+ data: {
261
+ label: string;
262
+ placeholder: string;
263
+ type: "string";
264
+ required: false;
265
+ comments: string;
266
+ example: string;
267
+ };
268
+ formData: {
269
+ label: string;
270
+ placeholder: string;
271
+ type: "string";
272
+ collection: "keyvaluelist";
273
+ required: false;
274
+ comments: string;
275
+ example: string;
276
+ };
277
+ fileData: {
278
+ label: string;
279
+ placeholder: string;
280
+ type: "string";
281
+ collection: "keyvaluelist";
282
+ required: false;
283
+ comments: string;
284
+ example: string;
285
+ };
286
+ fileDataFileNames: {
287
+ label: string;
288
+ placeholder: string;
289
+ type: "string";
290
+ collection: "keyvaluelist";
291
+ required: false;
292
+ comments: string;
293
+ clean: (values: any) => Record<string, string> | undefined;
294
+ };
295
+ queryParams: {
296
+ label: string;
297
+ placeholder: string;
298
+ type: "string";
299
+ collection: "keyvaluelist";
300
+ required: false;
301
+ comments: string;
302
+ };
303
+ headers: {
304
+ label: string;
305
+ placeholder: string;
306
+ type: "string";
307
+ collection: "keyvaluelist";
308
+ required: false;
309
+ comments: string;
310
+ example: string;
311
+ };
312
+ responseType: {
313
+ label: string;
314
+ placeholder: string;
315
+ type: "string";
316
+ default: string;
317
+ required: true;
318
+ comments: string;
319
+ model: {
320
+ label: ResponseType;
321
+ value: ResponseType;
322
+ }[];
323
+ clean: (value: unknown) => ResponseType;
324
+ };
325
+ timeout: {
326
+ label: string;
327
+ type: "string";
328
+ required: false;
329
+ comments: string;
330
+ example: string;
331
+ clean: (value: unknown) => number;
332
+ };
333
+ retryDelayMS: {
334
+ label: string;
335
+ placeholder: string;
336
+ type: "string";
337
+ required: false;
338
+ comments: string;
339
+ default: string;
340
+ clean: (value: unknown) => number;
341
+ };
342
+ retryAllErrors: {
343
+ label: string;
344
+ type: "boolean";
345
+ default: string;
346
+ required: false;
347
+ comments: string;
348
+ clean: (value: unknown) => boolean;
349
+ };
350
+ maxRetries: {
351
+ label: string;
352
+ placeholder: string;
353
+ type: "string";
354
+ required: false;
355
+ comments: string;
356
+ default: string;
357
+ clean: (value: unknown) => number;
358
+ };
359
+ useExponentialBackoff: {
360
+ label: string;
361
+ type: "boolean";
362
+ default: string;
363
+ required: false;
364
+ comments: string;
365
+ clean: (value: unknown) => boolean;
366
+ };
367
+ connection: {
368
+ label: string;
369
+ type: "connection";
370
+ required: true;
371
+ comments: string;
372
+ };
373
+ }, import("@prismatic-io/spectral").ConfigVarResultCollection, boolean, {
374
+ data: any;
375
+ }>;
376
+ listTasksInPlan: import("@prismatic-io/spectral").ActionDefinition<{
377
+ connection: {
378
+ label: string;
379
+ type: "connection";
380
+ required: true;
381
+ comments: string;
382
+ };
383
+ groupId: {
384
+ label: string;
385
+ type: "string";
386
+ required: false;
387
+ dataSource: string;
388
+ example: string;
389
+ placeholder: string;
390
+ comments: string;
391
+ clean: (value: unknown) => string | undefined;
392
+ };
393
+ planId: {
394
+ label: string;
395
+ type: "string";
396
+ required: true;
397
+ dataSource: string;
398
+ example: string;
399
+ placeholder: string;
400
+ comments: string;
401
+ clean: (value: unknown, defaultValue?: string) => string;
402
+ };
403
+ }, import("@prismatic-io/spectral").ConfigVarResultCollection, boolean, {
404
+ data: unknown;
405
+ }>;
406
+ listTasksInBucket: import("@prismatic-io/spectral").ActionDefinition<{
407
+ connection: {
408
+ label: string;
409
+ type: "connection";
410
+ required: true;
411
+ comments: string;
412
+ };
413
+ groupId: {
414
+ label: string;
415
+ type: "string";
416
+ required: false;
417
+ dataSource: string;
418
+ example: string;
419
+ placeholder: string;
420
+ comments: string;
421
+ clean: (value: unknown) => string | undefined;
422
+ };
423
+ planId: {
424
+ label: string;
425
+ type: "string";
426
+ required: true;
427
+ dataSource: string;
428
+ example: string;
429
+ placeholder: string;
430
+ comments: string;
431
+ clean: (value: unknown, defaultValue?: string) => string;
432
+ };
433
+ bucketId: {
434
+ label: string;
435
+ type: "string";
436
+ required: true;
437
+ dataSource: string;
438
+ example: string;
439
+ placeholder: string;
440
+ comments: string;
441
+ clean: (value: unknown, defaultValue?: string) => string;
442
+ };
443
+ }, import("@prismatic-io/spectral").ConfigVarResultCollection, boolean, {
444
+ data: unknown;
445
+ }>;
446
+ listTasksForUser: import("@prismatic-io/spectral").ActionDefinition<{
447
+ connection: {
448
+ label: string;
449
+ type: "connection";
450
+ required: true;
451
+ comments: string;
452
+ };
453
+ }, import("@prismatic-io/spectral").ConfigVarResultCollection, boolean, {
454
+ data: unknown;
455
+ }>;
456
+ getTask: import("@prismatic-io/spectral").ActionDefinition<{
457
+ connection: {
458
+ label: string;
459
+ type: "connection";
460
+ required: true;
461
+ comments: string;
462
+ };
463
+ groupId: {
464
+ label: string;
465
+ type: "string";
466
+ required: false;
467
+ dataSource: string;
468
+ example: string;
469
+ placeholder: string;
470
+ comments: string;
471
+ clean: (value: unknown) => string | undefined;
472
+ };
473
+ planId: {
474
+ label: string;
475
+ type: "string";
476
+ required: true;
477
+ dataSource: string;
478
+ example: string;
479
+ placeholder: string;
480
+ comments: string;
481
+ clean: (value: unknown, defaultValue?: string) => string;
482
+ };
483
+ taskId: {
484
+ label: string;
485
+ type: "string";
486
+ required: true;
487
+ dataSource: string;
488
+ example: string;
489
+ placeholder: string;
490
+ comments: string;
491
+ clean: (value: unknown, defaultValue?: string) => string;
492
+ };
493
+ }, import("@prismatic-io/spectral").ConfigVarResultCollection, boolean, {
494
+ data: PlannerTask & Etagged;
495
+ }>;
496
+ createTask: import("@prismatic-io/spectral").ActionDefinition<{
497
+ connection: {
498
+ label: string;
499
+ type: "connection";
500
+ required: true;
501
+ comments: string;
502
+ };
503
+ groupId: {
504
+ label: string;
505
+ type: "string";
506
+ required: false;
507
+ dataSource: string;
508
+ example: string;
509
+ placeholder: string;
510
+ comments: string;
511
+ clean: (value: unknown) => string | undefined;
512
+ };
513
+ planId: {
514
+ label: string;
515
+ type: "string";
516
+ required: true;
517
+ dataSource: string;
518
+ example: string;
519
+ placeholder: string;
520
+ comments: string;
521
+ clean: (value: unknown, defaultValue?: string) => string;
522
+ };
523
+ title: {
524
+ label: string;
525
+ type: "string";
526
+ required: true;
527
+ example: string;
528
+ placeholder: string;
529
+ comments: string;
530
+ clean: (value: unknown, defaultValue?: string) => string;
531
+ };
532
+ bucketId: {
533
+ comments: string;
534
+ required: false;
535
+ clean: (value: unknown) => string | undefined;
536
+ label: string;
537
+ type: "string";
538
+ dataSource: string;
539
+ example: string;
540
+ placeholder: string;
541
+ };
542
+ assignment: {
543
+ label: string;
544
+ required: boolean;
545
+ comments: string;
546
+ inputs: {
547
+ assignTo: {
548
+ label: string;
549
+ type: "string";
550
+ required: false;
551
+ collection: "valuelist";
552
+ dataSource: string;
553
+ example: string;
554
+ placeholder: string;
555
+ comments: string;
556
+ clean: (value: unknown) => string[] | undefined;
557
+ };
558
+ unassign: {
559
+ label: string;
560
+ type: "string";
561
+ required: false;
562
+ collection: "valuelist";
563
+ dataSource: string;
564
+ example: string;
565
+ placeholder: string;
566
+ comments: string;
567
+ clean: (value: unknown) => string[] | undefined;
568
+ };
569
+ };
570
+ } & {
571
+ type: "structuredObject";
572
+ };
573
+ schedule: {
574
+ label: string;
575
+ required: boolean;
576
+ comments: string;
577
+ inputs: {
578
+ startDateTime: {
579
+ label: string;
580
+ type: "string";
581
+ required: false;
582
+ example: string;
583
+ placeholder: string;
584
+ comments: string;
585
+ clean: (value: unknown) => string | undefined;
586
+ };
587
+ dueDateTime: {
588
+ label: string;
589
+ type: "string";
590
+ required: false;
591
+ example: string;
592
+ placeholder: string;
593
+ comments: string;
594
+ clean: (value: unknown) => string | undefined;
595
+ };
596
+ };
597
+ } & {
598
+ type: "structuredObject";
599
+ };
600
+ priority: {
601
+ label: string;
602
+ type: "string";
603
+ required: false;
604
+ example: string;
605
+ placeholder: string;
606
+ model: {
607
+ label: string;
608
+ value: string;
609
+ }[];
610
+ comments: string;
611
+ clean: (value: unknown) => number | undefined;
612
+ };
613
+ percentComplete: {
614
+ label: string;
615
+ type: "string";
616
+ required: false;
617
+ example: string;
618
+ placeholder: string;
619
+ comments: string;
620
+ clean: (value: unknown) => number | undefined;
621
+ };
622
+ categories: {
623
+ label: string;
624
+ required: boolean;
625
+ comments: string;
626
+ inputs: {
627
+ applyCategories: {
628
+ label: string;
629
+ type: "string";
630
+ required: false;
631
+ collection: "valuelist";
632
+ model: {
633
+ label: string;
634
+ value: string;
635
+ }[];
636
+ placeholder: string;
637
+ comments: string;
638
+ clean: (value: unknown) => string[] | undefined;
639
+ };
640
+ removeCategories: {
641
+ label: string;
642
+ type: "string";
643
+ required: false;
644
+ collection: "valuelist";
645
+ model: {
646
+ label: string;
647
+ value: string;
648
+ }[];
649
+ placeholder: string;
650
+ comments: string;
651
+ clean: (value: unknown) => string[] | undefined;
652
+ };
653
+ };
654
+ } & {
655
+ type: "structuredObject";
656
+ };
657
+ description: {
658
+ label: string;
659
+ type: "text";
660
+ required: false;
661
+ example: string;
662
+ placeholder: string;
663
+ comments: string;
664
+ clean: (value: unknown) => string | undefined;
665
+ };
666
+ }, import("@prismatic-io/spectral").ConfigVarResultCollection, boolean, {
667
+ data: unknown;
668
+ }>;
669
+ updateTask: import("@prismatic-io/spectral").ActionDefinition<{
670
+ connection: {
671
+ label: string;
672
+ type: "connection";
673
+ required: true;
674
+ comments: string;
675
+ };
676
+ groupId: {
677
+ label: string;
678
+ type: "string";
679
+ required: false;
680
+ dataSource: string;
681
+ example: string;
682
+ placeholder: string;
683
+ comments: string;
684
+ clean: (value: unknown) => string | undefined;
685
+ };
686
+ planId: {
687
+ label: string;
688
+ type: "string";
689
+ required: true;
690
+ dataSource: string;
691
+ example: string;
692
+ placeholder: string;
693
+ comments: string;
694
+ clean: (value: unknown, defaultValue?: string) => string;
695
+ };
696
+ taskId: {
697
+ label: string;
698
+ type: "string";
699
+ required: true;
700
+ dataSource: string;
701
+ example: string;
702
+ placeholder: string;
703
+ comments: string;
704
+ clean: (value: unknown, defaultValue?: string) => string;
705
+ };
706
+ title: {
707
+ required: false;
708
+ placeholder: string;
709
+ comments: string;
710
+ clean: (value: unknown) => string | undefined;
711
+ label: string;
712
+ type: "string";
713
+ example: string;
714
+ };
715
+ bucketId: {
716
+ required: false;
717
+ comments: string;
718
+ clean: (value: unknown) => string | undefined;
719
+ label: string;
720
+ type: "string";
721
+ dataSource: string;
722
+ example: string;
723
+ placeholder: string;
724
+ };
725
+ assignment: {
726
+ label: string;
727
+ required: boolean;
728
+ comments: string;
729
+ inputs: {
730
+ assignTo: {
731
+ label: string;
732
+ type: "string";
733
+ required: false;
734
+ collection: "valuelist";
735
+ dataSource: string;
736
+ example: string;
737
+ placeholder: string;
738
+ comments: string;
739
+ clean: (value: unknown) => string[] | undefined;
740
+ };
741
+ unassign: {
742
+ label: string;
743
+ type: "string";
744
+ required: false;
745
+ collection: "valuelist";
746
+ dataSource: string;
747
+ example: string;
748
+ placeholder: string;
749
+ comments: string;
750
+ clean: (value: unknown) => string[] | undefined;
751
+ };
752
+ };
753
+ } & {
754
+ type: "structuredObject";
755
+ };
756
+ schedule: {
757
+ label: string;
758
+ required: boolean;
759
+ comments: string;
760
+ inputs: {
761
+ startDateTime: {
762
+ label: string;
763
+ type: "string";
764
+ required: false;
765
+ example: string;
766
+ placeholder: string;
767
+ comments: string;
768
+ clean: (value: unknown) => string | undefined;
769
+ };
770
+ dueDateTime: {
771
+ label: string;
772
+ type: "string";
773
+ required: false;
774
+ example: string;
775
+ placeholder: string;
776
+ comments: string;
777
+ clean: (value: unknown) => string | undefined;
778
+ };
779
+ };
780
+ } & {
781
+ type: "structuredObject";
782
+ };
783
+ priority: {
784
+ label: string;
785
+ type: "string";
786
+ required: false;
787
+ example: string;
788
+ placeholder: string;
789
+ model: {
790
+ label: string;
791
+ value: string;
792
+ }[];
793
+ comments: string;
794
+ clean: (value: unknown) => number | undefined;
795
+ };
796
+ percentComplete: {
797
+ label: string;
798
+ type: "string";
799
+ required: false;
800
+ example: string;
801
+ placeholder: string;
802
+ comments: string;
803
+ clean: (value: unknown) => number | undefined;
804
+ };
805
+ categories: {
806
+ label: string;
807
+ required: boolean;
808
+ comments: string;
809
+ inputs: {
810
+ applyCategories: {
811
+ label: string;
812
+ type: "string";
813
+ required: false;
814
+ collection: "valuelist";
815
+ model: {
816
+ label: string;
817
+ value: string;
818
+ }[];
819
+ placeholder: string;
820
+ comments: string;
821
+ clean: (value: unknown) => string[] | undefined;
822
+ };
823
+ removeCategories: {
824
+ label: string;
825
+ type: "string";
826
+ required: false;
827
+ collection: "valuelist";
828
+ model: {
829
+ label: string;
830
+ value: string;
831
+ }[];
832
+ placeholder: string;
833
+ comments: string;
834
+ clean: (value: unknown) => string[] | undefined;
835
+ };
836
+ };
837
+ } & {
838
+ type: "structuredObject";
839
+ };
840
+ conversationThreadId: {
841
+ label: string;
842
+ type: "string";
843
+ required: false;
844
+ example: string;
845
+ placeholder: string;
846
+ comments: string;
847
+ clean: (value: unknown) => string | undefined;
848
+ };
849
+ etag: {
850
+ label: string;
851
+ type: "string";
852
+ required: false;
853
+ example: string;
854
+ placeholder: string;
855
+ comments: string;
856
+ clean: (value: unknown) => string | undefined;
857
+ };
858
+ }, import("@prismatic-io/spectral").ConfigVarResultCollection, boolean, {
859
+ data: unknown;
860
+ }>;
861
+ deleteTask: import("@prismatic-io/spectral").ActionDefinition<{
862
+ connection: {
863
+ label: string;
864
+ type: "connection";
865
+ required: true;
866
+ comments: string;
867
+ };
868
+ groupId: {
869
+ label: string;
870
+ type: "string";
871
+ required: false;
872
+ dataSource: string;
873
+ example: string;
874
+ placeholder: string;
875
+ comments: string;
876
+ clean: (value: unknown) => string | undefined;
877
+ };
878
+ planId: {
879
+ label: string;
880
+ type: "string";
881
+ required: true;
882
+ dataSource: string;
883
+ example: string;
884
+ placeholder: string;
885
+ comments: string;
886
+ clean: (value: unknown, defaultValue?: string) => string;
887
+ };
888
+ taskId: {
889
+ label: string;
890
+ type: "string";
891
+ required: true;
892
+ dataSource: string;
893
+ example: string;
894
+ placeholder: string;
895
+ comments: string;
896
+ clean: (value: unknown, defaultValue?: string) => string;
897
+ };
898
+ etag: {
899
+ label: string;
900
+ type: "string";
901
+ required: false;
902
+ example: string;
903
+ placeholder: string;
904
+ comments: string;
905
+ clean: (value: unknown) => string | undefined;
906
+ };
907
+ }, import("@prismatic-io/spectral").ConfigVarResultCollection, boolean, {
908
+ data: unknown;
909
+ }>;
910
+ getTaskDetails: import("@prismatic-io/spectral").ActionDefinition<{
911
+ connection: {
912
+ label: string;
913
+ type: "connection";
914
+ required: true;
915
+ comments: string;
916
+ };
917
+ groupId: {
918
+ label: string;
919
+ type: "string";
920
+ required: false;
921
+ dataSource: string;
922
+ example: string;
923
+ placeholder: string;
924
+ comments: string;
925
+ clean: (value: unknown) => string | undefined;
926
+ };
927
+ planId: {
928
+ label: string;
929
+ type: "string";
930
+ required: true;
931
+ dataSource: string;
932
+ example: string;
933
+ placeholder: string;
934
+ comments: string;
935
+ clean: (value: unknown, defaultValue?: string) => string;
936
+ };
937
+ taskId: {
938
+ label: string;
939
+ type: "string";
940
+ required: true;
941
+ dataSource: string;
942
+ example: string;
943
+ placeholder: string;
944
+ comments: string;
945
+ clean: (value: unknown, defaultValue?: string) => string;
946
+ };
947
+ }, import("@prismatic-io/spectral").ConfigVarResultCollection, boolean, {
948
+ data: PlannerTaskDetails & Etagged;
949
+ }>;
950
+ updateTaskDetails: import("@prismatic-io/spectral").ActionDefinition<{
951
+ connection: {
952
+ label: string;
953
+ type: "connection";
954
+ required: true;
955
+ comments: string;
956
+ };
957
+ groupId: {
958
+ label: string;
959
+ type: "string";
960
+ required: false;
961
+ dataSource: string;
962
+ example: string;
963
+ placeholder: string;
964
+ comments: string;
965
+ clean: (value: unknown) => string | undefined;
966
+ };
967
+ planId: {
968
+ label: string;
969
+ type: "string";
970
+ required: true;
971
+ dataSource: string;
972
+ example: string;
973
+ placeholder: string;
974
+ comments: string;
975
+ clean: (value: unknown, defaultValue?: string) => string;
976
+ };
977
+ taskId: {
978
+ label: string;
979
+ type: "string";
980
+ required: true;
981
+ dataSource: string;
982
+ example: string;
983
+ placeholder: string;
984
+ comments: string;
985
+ clean: (value: unknown, defaultValue?: string) => string;
986
+ };
987
+ description: {
988
+ label: string;
989
+ type: "text";
990
+ required: false;
991
+ example: string;
992
+ placeholder: string;
993
+ comments: string;
994
+ clean: (value: unknown) => string | undefined;
995
+ };
996
+ checklist: {
997
+ label: string;
998
+ required: boolean;
999
+ comments: string;
1000
+ inputs: {
1001
+ addItems: {
1002
+ label: string;
1003
+ type: "string";
1004
+ required: false;
1005
+ collection: "keyvaluelist";
1006
+ example: string;
1007
+ placeholder: string;
1008
+ comments: string;
1009
+ clean: (value: unknown) => {
1010
+ title: string;
1011
+ isChecked: boolean;
1012
+ }[] | undefined;
1013
+ };
1014
+ removeItemIds: {
1015
+ label: string;
1016
+ type: "string";
1017
+ required: false;
1018
+ collection: "valuelist";
1019
+ example: string;
1020
+ placeholder: string;
1021
+ comments: string;
1022
+ clean: (value: unknown) => string[] | undefined;
1023
+ };
1024
+ };
1025
+ } & {
1026
+ type: "structuredObject";
1027
+ };
1028
+ references: {
1029
+ label: string;
1030
+ required: boolean;
1031
+ comments: string;
1032
+ inputs: {
1033
+ addReferences: {
1034
+ label: string;
1035
+ type: "string";
1036
+ required: false;
1037
+ collection: "keyvaluelist";
1038
+ example: string;
1039
+ placeholder: string;
1040
+ comments: string;
1041
+ clean: (value: unknown) => {
1042
+ url: string;
1043
+ alias: string;
1044
+ }[] | undefined;
1045
+ };
1046
+ removeReferenceUrls: {
1047
+ label: string;
1048
+ type: "string";
1049
+ required: false;
1050
+ collection: "valuelist";
1051
+ example: string;
1052
+ placeholder: string;
1053
+ comments: string;
1054
+ clean: (value: unknown) => string[] | undefined;
1055
+ };
1056
+ };
1057
+ } & {
1058
+ type: "structuredObject";
1059
+ };
1060
+ previewType: {
1061
+ label: string;
1062
+ type: "string";
1063
+ required: false;
1064
+ example: string;
1065
+ placeholder: string;
1066
+ model: {
1067
+ label: string;
1068
+ value: string;
1069
+ }[];
1070
+ comments: string;
1071
+ clean: (value: unknown) => string | undefined;
1072
+ };
1073
+ etag: {
1074
+ label: string;
1075
+ example: string;
1076
+ placeholder: string;
1077
+ comments: string;
1078
+ type: "string";
1079
+ required: false;
1080
+ clean: (value: unknown) => string | undefined;
1081
+ };
1082
+ }, import("@prismatic-io/spectral").ConfigVarResultCollection, boolean, {
1083
+ data: unknown;
1084
+ }>;
1085
+ completeTask: import("@prismatic-io/spectral").ActionDefinition<{
1086
+ connection: {
1087
+ label: string;
1088
+ type: "connection";
1089
+ required: true;
1090
+ comments: string;
1091
+ };
1092
+ groupId: {
1093
+ label: string;
1094
+ type: "string";
1095
+ required: false;
1096
+ dataSource: string;
1097
+ example: string;
1098
+ placeholder: string;
1099
+ comments: string;
1100
+ clean: (value: unknown) => string | undefined;
1101
+ };
1102
+ planId: {
1103
+ label: string;
1104
+ type: "string";
1105
+ required: true;
1106
+ dataSource: string;
1107
+ example: string;
1108
+ placeholder: string;
1109
+ comments: string;
1110
+ clean: (value: unknown, defaultValue?: string) => string;
1111
+ };
1112
+ taskId: {
1113
+ label: string;
1114
+ type: "string";
1115
+ required: true;
1116
+ dataSource: string;
1117
+ example: string;
1118
+ placeholder: string;
1119
+ comments: string;
1120
+ clean: (value: unknown, defaultValue?: string) => string;
1121
+ };
1122
+ etag: {
1123
+ label: string;
1124
+ type: "string";
1125
+ required: false;
1126
+ example: string;
1127
+ placeholder: string;
1128
+ comments: string;
1129
+ clean: (value: unknown) => string | undefined;
1130
+ };
1131
+ }, import("@prismatic-io/spectral").ConfigVarResultCollection, boolean, {
1132
+ data: unknown;
1133
+ }>;
1134
+ assignTask: import("@prismatic-io/spectral").ActionDefinition<{
1135
+ connection: {
1136
+ label: string;
1137
+ type: "connection";
1138
+ required: true;
1139
+ comments: string;
1140
+ };
1141
+ groupId: {
1142
+ label: string;
1143
+ type: "string";
1144
+ required: false;
1145
+ dataSource: string;
1146
+ example: string;
1147
+ placeholder: string;
1148
+ comments: string;
1149
+ clean: (value: unknown) => string | undefined;
1150
+ };
1151
+ planId: {
1152
+ label: string;
1153
+ type: "string";
1154
+ required: true;
1155
+ dataSource: string;
1156
+ example: string;
1157
+ placeholder: string;
1158
+ comments: string;
1159
+ clean: (value: unknown, defaultValue?: string) => string;
1160
+ };
1161
+ taskId: {
1162
+ label: string;
1163
+ type: "string";
1164
+ required: true;
1165
+ dataSource: string;
1166
+ example: string;
1167
+ placeholder: string;
1168
+ comments: string;
1169
+ clean: (value: unknown, defaultValue?: string) => string;
1170
+ };
1171
+ assignment: {
1172
+ comments: string;
1173
+ label: string;
1174
+ required: boolean;
1175
+ inputs: {
1176
+ assignTo: {
1177
+ label: string;
1178
+ type: "string";
1179
+ required: false;
1180
+ collection: "valuelist";
1181
+ dataSource: string;
1182
+ example: string;
1183
+ placeholder: string;
1184
+ comments: string;
1185
+ clean: (value: unknown) => string[] | undefined;
1186
+ };
1187
+ unassign: {
1188
+ label: string;
1189
+ type: "string";
1190
+ required: false;
1191
+ collection: "valuelist";
1192
+ dataSource: string;
1193
+ example: string;
1194
+ placeholder: string;
1195
+ comments: string;
1196
+ clean: (value: unknown) => string[] | undefined;
1197
+ };
1198
+ };
1199
+ type: "structuredObject";
1200
+ };
1201
+ etag: {
1202
+ label: string;
1203
+ type: "string";
1204
+ required: false;
1205
+ example: string;
1206
+ placeholder: string;
1207
+ comments: string;
1208
+ clean: (value: unknown) => string | undefined;
1209
+ };
1210
+ }, import("@prismatic-io/spectral").ConfigVarResultCollection, boolean, {
1211
+ data: unknown;
1212
+ }>;
1213
+ moveTaskToBucket: import("@prismatic-io/spectral").ActionDefinition<{
1214
+ connection: {
1215
+ label: string;
1216
+ type: "connection";
1217
+ required: true;
1218
+ comments: string;
1219
+ };
1220
+ groupId: {
1221
+ label: string;
1222
+ type: "string";
1223
+ required: false;
1224
+ dataSource: string;
1225
+ example: string;
1226
+ placeholder: string;
1227
+ comments: string;
1228
+ clean: (value: unknown) => string | undefined;
1229
+ };
1230
+ planId: {
1231
+ label: string;
1232
+ type: "string";
1233
+ required: true;
1234
+ dataSource: string;
1235
+ example: string;
1236
+ placeholder: string;
1237
+ comments: string;
1238
+ clean: (value: unknown, defaultValue?: string) => string;
1239
+ };
1240
+ taskId: {
1241
+ label: string;
1242
+ type: "string";
1243
+ required: true;
1244
+ dataSource: string;
1245
+ example: string;
1246
+ placeholder: string;
1247
+ comments: string;
1248
+ clean: (value: unknown, defaultValue?: string) => string;
1249
+ };
1250
+ bucketId: {
1251
+ label: string;
1252
+ type: "string";
1253
+ required: true;
1254
+ dataSource: string;
1255
+ example: string;
1256
+ placeholder: string;
1257
+ comments: string;
1258
+ clean: (value: unknown, defaultValue?: string) => string;
1259
+ };
1260
+ etag: {
1261
+ label: string;
1262
+ type: "string";
1263
+ required: false;
1264
+ example: string;
1265
+ placeholder: string;
1266
+ comments: string;
1267
+ clean: (value: unknown) => string | undefined;
1268
+ };
1269
+ }, import("@prismatic-io/spectral").ConfigVarResultCollection, boolean, {
1270
+ data: unknown;
1271
+ }>;
1272
+ listBucketsInPlan: import("@prismatic-io/spectral").ActionDefinition<{
1273
+ connection: {
1274
+ label: string;
1275
+ type: "connection";
1276
+ required: true;
1277
+ comments: string;
1278
+ };
1279
+ groupId: {
1280
+ label: string;
1281
+ type: "string";
1282
+ required: false;
1283
+ dataSource: string;
1284
+ example: string;
1285
+ placeholder: string;
1286
+ comments: string;
1287
+ clean: (value: unknown) => string | undefined;
1288
+ };
1289
+ planId: {
1290
+ label: string;
1291
+ type: "string";
1292
+ required: true;
1293
+ dataSource: string;
1294
+ example: string;
1295
+ placeholder: string;
1296
+ comments: string;
1297
+ clean: (value: unknown, defaultValue?: string) => string;
1298
+ };
1299
+ }, import("@prismatic-io/spectral").ConfigVarResultCollection, boolean, {
1300
+ data: unknown;
1301
+ }>;
1302
+ getBucket: import("@prismatic-io/spectral").ActionDefinition<{
1303
+ connection: {
1304
+ label: string;
1305
+ type: "connection";
1306
+ required: true;
1307
+ comments: string;
1308
+ };
1309
+ groupId: {
1310
+ label: string;
1311
+ type: "string";
1312
+ required: false;
1313
+ dataSource: string;
1314
+ example: string;
1315
+ placeholder: string;
1316
+ comments: string;
1317
+ clean: (value: unknown) => string | undefined;
1318
+ };
1319
+ planId: {
1320
+ label: string;
1321
+ type: "string";
1322
+ required: true;
1323
+ dataSource: string;
1324
+ example: string;
1325
+ placeholder: string;
1326
+ comments: string;
1327
+ clean: (value: unknown, defaultValue?: string) => string;
1328
+ };
1329
+ bucketId: {
1330
+ label: string;
1331
+ type: "string";
1332
+ required: true;
1333
+ dataSource: string;
1334
+ example: string;
1335
+ placeholder: string;
1336
+ comments: string;
1337
+ clean: (value: unknown, defaultValue?: string) => string;
1338
+ };
1339
+ }, import("@prismatic-io/spectral").ConfigVarResultCollection, boolean, {
1340
+ data: PlannerBucket & Etagged;
1341
+ }>;
1342
+ createBucket: import("@prismatic-io/spectral").ActionDefinition<{
1343
+ connection: {
1344
+ label: string;
1345
+ type: "connection";
1346
+ required: true;
1347
+ comments: string;
1348
+ };
1349
+ groupId: {
1350
+ label: string;
1351
+ type: "string";
1352
+ required: false;
1353
+ dataSource: string;
1354
+ example: string;
1355
+ placeholder: string;
1356
+ comments: string;
1357
+ clean: (value: unknown) => string | undefined;
1358
+ };
1359
+ planId: {
1360
+ label: string;
1361
+ type: "string";
1362
+ required: true;
1363
+ dataSource: string;
1364
+ example: string;
1365
+ placeholder: string;
1366
+ comments: string;
1367
+ clean: (value: unknown, defaultValue?: string) => string;
1368
+ };
1369
+ name: {
1370
+ label: string;
1371
+ type: "string";
1372
+ required: true;
1373
+ example: string;
1374
+ placeholder: string;
1375
+ comments: string;
1376
+ clean: (value: unknown, defaultValue?: string) => string;
1377
+ };
1378
+ }, import("@prismatic-io/spectral").ConfigVarResultCollection, boolean, {
1379
+ data: unknown;
1380
+ }>;
1381
+ updateBucket: import("@prismatic-io/spectral").ActionDefinition<{
1382
+ connection: {
1383
+ label: string;
1384
+ type: "connection";
1385
+ required: true;
1386
+ comments: string;
1387
+ };
1388
+ groupId: {
1389
+ label: string;
1390
+ type: "string";
1391
+ required: false;
1392
+ dataSource: string;
1393
+ example: string;
1394
+ placeholder: string;
1395
+ comments: string;
1396
+ clean: (value: unknown) => string | undefined;
1397
+ };
1398
+ planId: {
1399
+ label: string;
1400
+ type: "string";
1401
+ required: true;
1402
+ dataSource: string;
1403
+ example: string;
1404
+ placeholder: string;
1405
+ comments: string;
1406
+ clean: (value: unknown, defaultValue?: string) => string;
1407
+ };
1408
+ bucketId: {
1409
+ label: string;
1410
+ type: "string";
1411
+ required: true;
1412
+ dataSource: string;
1413
+ example: string;
1414
+ placeholder: string;
1415
+ comments: string;
1416
+ clean: (value: unknown, defaultValue?: string) => string;
1417
+ };
1418
+ name: {
1419
+ label: string;
1420
+ type: "string";
1421
+ required: true;
1422
+ example: string;
1423
+ placeholder: string;
1424
+ comments: string;
1425
+ clean: (value: unknown, defaultValue?: string) => string;
1426
+ };
1427
+ etag: {
1428
+ label: string;
1429
+ type: "string";
1430
+ required: false;
1431
+ example: string;
1432
+ placeholder: string;
1433
+ comments: string;
1434
+ clean: (value: unknown) => string | undefined;
1435
+ };
1436
+ }, import("@prismatic-io/spectral").ConfigVarResultCollection, boolean, {
1437
+ data: unknown;
1438
+ }>;
1439
+ deleteBucket: import("@prismatic-io/spectral").ActionDefinition<{
1440
+ connection: {
1441
+ label: string;
1442
+ type: "connection";
1443
+ required: true;
1444
+ comments: string;
1445
+ };
1446
+ groupId: {
1447
+ label: string;
1448
+ type: "string";
1449
+ required: false;
1450
+ dataSource: string;
1451
+ example: string;
1452
+ placeholder: string;
1453
+ comments: string;
1454
+ clean: (value: unknown) => string | undefined;
1455
+ };
1456
+ planId: {
1457
+ label: string;
1458
+ type: "string";
1459
+ required: true;
1460
+ dataSource: string;
1461
+ example: string;
1462
+ placeholder: string;
1463
+ comments: string;
1464
+ clean: (value: unknown, defaultValue?: string) => string;
1465
+ };
1466
+ bucketId: {
1467
+ label: string;
1468
+ type: "string";
1469
+ required: true;
1470
+ dataSource: string;
1471
+ example: string;
1472
+ placeholder: string;
1473
+ comments: string;
1474
+ clean: (value: unknown, defaultValue?: string) => string;
1475
+ };
1476
+ etag: {
1477
+ label: string;
1478
+ type: "string";
1479
+ required: false;
1480
+ example: string;
1481
+ placeholder: string;
1482
+ comments: string;
1483
+ clean: (value: unknown) => string | undefined;
1484
+ };
1485
+ }, import("@prismatic-io/spectral").ConfigVarResultCollection, boolean, {
1486
+ data: unknown;
1487
+ }>;
1488
+ listPlansInGroup: import("@prismatic-io/spectral").ActionDefinition<{
1489
+ connection: {
1490
+ label: string;
1491
+ type: "connection";
1492
+ required: true;
1493
+ comments: string;
1494
+ };
1495
+ groupId: {
1496
+ required: true;
1497
+ placeholder: string;
1498
+ comments: string;
1499
+ clean: (value: unknown, defaultValue?: string) => string;
1500
+ label: string;
1501
+ type: "string";
1502
+ dataSource: string;
1503
+ example: string;
1504
+ };
1505
+ }, import("@prismatic-io/spectral").ConfigVarResultCollection, boolean, {
1506
+ data: unknown;
1507
+ }>;
1508
+ listPlansForUser: import("@prismatic-io/spectral").ActionDefinition<{
1509
+ connection: {
1510
+ label: string;
1511
+ type: "connection";
1512
+ required: true;
1513
+ comments: string;
1514
+ };
1515
+ }, import("@prismatic-io/spectral").ConfigVarResultCollection, boolean, {
1516
+ data: unknown;
1517
+ }>;
1518
+ getPlan: import("@prismatic-io/spectral").ActionDefinition<{
1519
+ connection: {
1520
+ label: string;
1521
+ type: "connection";
1522
+ required: true;
1523
+ comments: string;
1524
+ };
1525
+ groupId: {
1526
+ label: string;
1527
+ type: "string";
1528
+ required: false;
1529
+ dataSource: string;
1530
+ example: string;
1531
+ placeholder: string;
1532
+ comments: string;
1533
+ clean: (value: unknown) => string | undefined;
1534
+ };
1535
+ planId: {
1536
+ label: string;
1537
+ type: "string";
1538
+ required: true;
1539
+ dataSource: string;
1540
+ example: string;
1541
+ placeholder: string;
1542
+ comments: string;
1543
+ clean: (value: unknown, defaultValue?: string) => string;
1544
+ };
1545
+ }, import("@prismatic-io/spectral").ConfigVarResultCollection, boolean, {
1546
+ data: PlannerPlan & Etagged;
1547
+ }>;
1548
+ createPlan: import("@prismatic-io/spectral").ActionDefinition<{
1549
+ connection: {
1550
+ label: string;
1551
+ type: "connection";
1552
+ required: true;
1553
+ comments: string;
1554
+ };
1555
+ groupId: {
1556
+ required: true;
1557
+ placeholder: string;
1558
+ comments: string;
1559
+ clean: (value: unknown, defaultValue?: string) => string;
1560
+ label: string;
1561
+ type: "string";
1562
+ dataSource: string;
1563
+ example: string;
1564
+ };
1565
+ title: {
1566
+ label: string;
1567
+ type: "string";
1568
+ required: true;
1569
+ example: string;
1570
+ placeholder: string;
1571
+ comments: string;
1572
+ clean: (value: unknown, defaultValue?: string) => string;
1573
+ };
1574
+ }, import("@prismatic-io/spectral").ConfigVarResultCollection, boolean, {
1575
+ data: unknown;
1576
+ }>;
1577
+ updatePlan: import("@prismatic-io/spectral").ActionDefinition<{
1578
+ connection: {
1579
+ label: string;
1580
+ type: "connection";
1581
+ required: true;
1582
+ comments: string;
1583
+ };
1584
+ groupId: {
1585
+ label: string;
1586
+ type: "string";
1587
+ required: false;
1588
+ dataSource: string;
1589
+ example: string;
1590
+ placeholder: string;
1591
+ comments: string;
1592
+ clean: (value: unknown) => string | undefined;
1593
+ };
1594
+ planId: {
1595
+ label: string;
1596
+ type: "string";
1597
+ required: true;
1598
+ dataSource: string;
1599
+ example: string;
1600
+ placeholder: string;
1601
+ comments: string;
1602
+ clean: (value: unknown, defaultValue?: string) => string;
1603
+ };
1604
+ title: {
1605
+ label: string;
1606
+ type: "string";
1607
+ required: true;
1608
+ example: string;
1609
+ placeholder: string;
1610
+ comments: string;
1611
+ clean: (value: unknown, defaultValue?: string) => string;
1612
+ };
1613
+ etag: {
1614
+ label: string;
1615
+ type: "string";
1616
+ required: false;
1617
+ example: string;
1618
+ placeholder: string;
1619
+ comments: string;
1620
+ clean: (value: unknown) => string | undefined;
1621
+ };
1622
+ }, import("@prismatic-io/spectral").ConfigVarResultCollection, boolean, {
1623
+ data: unknown;
1624
+ }>;
1625
+ deletePlan: import("@prismatic-io/spectral").ActionDefinition<{
1626
+ connection: {
1627
+ label: string;
1628
+ type: "connection";
1629
+ required: true;
1630
+ comments: string;
1631
+ };
1632
+ groupId: {
1633
+ label: string;
1634
+ type: "string";
1635
+ required: false;
1636
+ dataSource: string;
1637
+ example: string;
1638
+ placeholder: string;
1639
+ comments: string;
1640
+ clean: (value: unknown) => string | undefined;
1641
+ };
1642
+ planId: {
1643
+ label: string;
1644
+ type: "string";
1645
+ required: true;
1646
+ dataSource: string;
1647
+ example: string;
1648
+ placeholder: string;
1649
+ comments: string;
1650
+ clean: (value: unknown, defaultValue?: string) => string;
1651
+ };
1652
+ etag: {
1653
+ label: string;
1654
+ type: "string";
1655
+ required: false;
1656
+ example: string;
1657
+ placeholder: string;
1658
+ comments: string;
1659
+ clean: (value: unknown) => string | undefined;
1660
+ };
1661
+ }, import("@prismatic-io/spectral").ConfigVarResultCollection, boolean, {
1662
+ data: unknown;
1663
+ }>;
1664
+ getPlanDetails: import("@prismatic-io/spectral").ActionDefinition<{
1665
+ connection: {
1666
+ label: string;
1667
+ type: "connection";
1668
+ required: true;
1669
+ comments: string;
1670
+ };
1671
+ groupId: {
1672
+ label: string;
1673
+ type: "string";
1674
+ required: false;
1675
+ dataSource: string;
1676
+ example: string;
1677
+ placeholder: string;
1678
+ comments: string;
1679
+ clean: (value: unknown) => string | undefined;
1680
+ };
1681
+ planId: {
1682
+ label: string;
1683
+ type: "string";
1684
+ required: true;
1685
+ dataSource: string;
1686
+ example: string;
1687
+ placeholder: string;
1688
+ comments: string;
1689
+ clean: (value: unknown, defaultValue?: string) => string;
1690
+ };
1691
+ }, import("@prismatic-io/spectral").ConfigVarResultCollection, boolean, {
1692
+ data: PlannerPlanDetails & Etagged;
1693
+ }>;
1694
+ updatePlanDetails: import("@prismatic-io/spectral").ActionDefinition<{
1695
+ connection: {
1696
+ label: string;
1697
+ type: "connection";
1698
+ required: true;
1699
+ comments: string;
1700
+ };
1701
+ groupId: {
1702
+ label: string;
1703
+ type: "string";
1704
+ required: false;
1705
+ dataSource: string;
1706
+ example: string;
1707
+ placeholder: string;
1708
+ comments: string;
1709
+ clean: (value: unknown) => string | undefined;
1710
+ };
1711
+ planId: {
1712
+ label: string;
1713
+ type: "string";
1714
+ required: true;
1715
+ dataSource: string;
1716
+ example: string;
1717
+ placeholder: string;
1718
+ comments: string;
1719
+ clean: (value: unknown, defaultValue?: string) => string;
1720
+ };
1721
+ categoryDescriptions: {
1722
+ label: string;
1723
+ type: "string";
1724
+ required: false;
1725
+ collection: "keyvaluelist";
1726
+ example: string;
1727
+ placeholder: string;
1728
+ comments: string;
1729
+ clean: (value: unknown) => Record<string, string> | undefined;
1730
+ };
1731
+ sharing: {
1732
+ label: string;
1733
+ required: boolean;
1734
+ comments: string;
1735
+ inputs: {
1736
+ shareWith: {
1737
+ label: string;
1738
+ type: "string";
1739
+ required: false;
1740
+ collection: "valuelist";
1741
+ dataSource: string;
1742
+ example: string;
1743
+ placeholder: string;
1744
+ comments: string;
1745
+ clean: (value: unknown) => string[] | undefined;
1746
+ };
1747
+ unshareWith: {
1748
+ label: string;
1749
+ type: "string";
1750
+ required: false;
1751
+ collection: "valuelist";
1752
+ dataSource: string;
1753
+ example: string;
1754
+ placeholder: string;
1755
+ comments: string;
1756
+ clean: (value: unknown) => string[] | undefined;
1757
+ };
1758
+ };
1759
+ } & {
1760
+ type: "structuredObject";
1761
+ };
1762
+ etag: {
1763
+ label: string;
1764
+ example: string;
1765
+ placeholder: string;
1766
+ comments: string;
1767
+ type: "string";
1768
+ required: false;
1769
+ clean: (value: unknown) => string | undefined;
1770
+ };
1771
+ }, import("@prismatic-io/spectral").ConfigVarResultCollection, boolean, {
1772
+ data: unknown;
1773
+ }>;
1774
+ };
1775
+ triggers: {
1776
+ pollChangesTrigger: import("@prismatic-io/spectral").PollingTriggerDefinition<{
1777
+ connection: {
1778
+ label: string;
1779
+ type: "connection";
1780
+ required: true;
1781
+ comments: string;
1782
+ };
1783
+ groupId: {
1784
+ label: string;
1785
+ type: "string";
1786
+ required: false;
1787
+ dataSource: string;
1788
+ example: string;
1789
+ placeholder: string;
1790
+ comments: string;
1791
+ clean: (value: unknown) => string | undefined;
1792
+ };
1793
+ planId: {
1794
+ label: string;
1795
+ type: "string";
1796
+ required: true;
1797
+ dataSource: string;
1798
+ example: string;
1799
+ placeholder: string;
1800
+ comments: string;
1801
+ clean: (value: unknown, defaultValue?: string) => string;
1802
+ };
1803
+ lookBackDate: {
1804
+ label: string;
1805
+ placeholder: string;
1806
+ type: "string";
1807
+ required: false;
1808
+ comments: string;
1809
+ example: string;
1810
+ clean: (value: unknown) => string;
1811
+ };
1812
+ }, import("@prismatic-io/spectral").ConfigVarResultCollection, import("@prismatic-io/spectral").TriggerPayload<Record<string, unknown>>, boolean, {
1813
+ payload: import("@prismatic-io/spectral").TriggerPayload;
1814
+ polledNoChanges: boolean;
1815
+ }, import("@prismatic-io/spectral").Inputs>;
1816
+ };
1817
+ dataSources: {
1818
+ selectGroup: import("@prismatic-io/spectral").DataSourceDefinition<{
1819
+ connection: {
1820
+ label: string;
1821
+ type: "connection";
1822
+ required: true;
1823
+ comments: string;
1824
+ };
1825
+ }, import("@prismatic-io/spectral").ConfigVarResultCollection, "picklist">;
1826
+ selectPlan: import("@prismatic-io/spectral").DataSourceDefinition<{
1827
+ connection: {
1828
+ label: string;
1829
+ type: "connection";
1830
+ required: true;
1831
+ comments: string;
1832
+ };
1833
+ groupId: {
1834
+ dataSource: undefined;
1835
+ label: string;
1836
+ type: "string";
1837
+ required: false;
1838
+ example: string;
1839
+ placeholder: string;
1840
+ comments: string;
1841
+ clean: (value: unknown) => string | undefined;
1842
+ };
1843
+ }, import("@prismatic-io/spectral").ConfigVarResultCollection, "picklist">;
1844
+ selectBucket: import("@prismatic-io/spectral").DataSourceDefinition<{
1845
+ connection: {
1846
+ label: string;
1847
+ type: "connection";
1848
+ required: true;
1849
+ comments: string;
1850
+ };
1851
+ planId: {
1852
+ dataSource: undefined;
1853
+ label: string;
1854
+ type: "string";
1855
+ required: true;
1856
+ example: string;
1857
+ placeholder: string;
1858
+ comments: string;
1859
+ clean: (value: unknown, defaultValue?: string) => string;
1860
+ };
1861
+ }, import("@prismatic-io/spectral").ConfigVarResultCollection, "picklist">;
1862
+ selectTask: import("@prismatic-io/spectral").DataSourceDefinition<{
1863
+ connection: {
1864
+ label: string;
1865
+ type: "connection";
1866
+ required: true;
1867
+ comments: string;
1868
+ };
1869
+ planId: {
1870
+ dataSource: undefined;
1871
+ label: string;
1872
+ type: "string";
1873
+ required: true;
1874
+ example: string;
1875
+ placeholder: string;
1876
+ comments: string;
1877
+ clean: (value: unknown, defaultValue?: string) => string;
1878
+ };
1879
+ }, import("@prismatic-io/spectral").ConfigVarResultCollection, "picklist">;
1880
+ selectUser: import("@prismatic-io/spectral").DataSourceDefinition<{
1881
+ connection: {
1882
+ label: string;
1883
+ type: "connection";
1884
+ required: true;
1885
+ comments: string;
1886
+ };
1887
+ }, import("@prismatic-io/spectral").ConfigVarResultCollection, "picklist">;
1888
+ };
1889
+ connections: any[];
1890
+ }>;
1891
+ export = _default;