@rlvt/workflows-openapi-client 1.0.195 → 1.0.198
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.
- package/build/api.d.ts +132 -134
- package/build/api.js +1 -1
- package/build/definitions.d.ts +104 -68
- package/build/definitions.js +1 -1
- package/package.json +1 -1
package/build/api.d.ts
CHANGED
|
@@ -35,16 +35,19 @@ export default class {
|
|
|
35
35
|
message: string;
|
|
36
36
|
data: {
|
|
37
37
|
description?: string | undefined;
|
|
38
|
+
name: string;
|
|
39
|
+
categories: string[];
|
|
38
40
|
readonly id: string & {
|
|
39
41
|
readonly?: "__readonly" | undefined;
|
|
40
42
|
};
|
|
41
43
|
readonly companyId?: (string & {
|
|
42
44
|
readonly?: "__readonly" | undefined;
|
|
43
45
|
}) | undefined;
|
|
44
|
-
|
|
46
|
+
metadata?: {
|
|
47
|
+
[x: string]: unknown;
|
|
48
|
+
} | undefined;
|
|
45
49
|
icon: string;
|
|
46
50
|
slug?: string | undefined;
|
|
47
|
-
categories: string[];
|
|
48
51
|
feature?: string | undefined;
|
|
49
52
|
template: {
|
|
50
53
|
nodes: {
|
|
@@ -54,16 +57,16 @@ export default class {
|
|
|
54
57
|
};
|
|
55
58
|
type: string;
|
|
56
59
|
paths: {
|
|
57
|
-
id: string;
|
|
58
60
|
options: {
|
|
59
61
|
[x: string]: unknown;
|
|
60
62
|
};
|
|
63
|
+
id: string;
|
|
61
64
|
}[];
|
|
62
65
|
} | {
|
|
63
|
-
|
|
66
|
+
options: {
|
|
64
67
|
[x: string]: unknown;
|
|
65
68
|
};
|
|
66
|
-
|
|
69
|
+
metadata: {
|
|
67
70
|
[x: string]: unknown;
|
|
68
71
|
};
|
|
69
72
|
type: string;
|
|
@@ -80,9 +83,6 @@ export default class {
|
|
|
80
83
|
};
|
|
81
84
|
};
|
|
82
85
|
};
|
|
83
|
-
metadata?: {
|
|
84
|
-
[x: string]: unknown;
|
|
85
|
-
} | undefined;
|
|
86
86
|
}[];
|
|
87
87
|
}, any>>;
|
|
88
88
|
listTemplateCategories: (params: Record<string, never>, options?: AxiosRequestConfig<any> | undefined) => Promise<import("axios").AxiosResponse<{
|
|
@@ -115,12 +115,15 @@ export default class {
|
|
|
115
115
|
message: string;
|
|
116
116
|
data: {
|
|
117
117
|
description?: string | undefined;
|
|
118
|
-
readonly
|
|
118
|
+
readonly status: (WorkflowStatus.DRAFT & {
|
|
119
119
|
readonly?: "__readonly" | undefined;
|
|
120
|
-
}
|
|
121
|
-
readonly companyId: string & {
|
|
120
|
+
}) | (WorkflowStatus.PUBLISHING & {
|
|
122
121
|
readonly?: "__readonly" | undefined;
|
|
123
|
-
}
|
|
122
|
+
}) | (WorkflowStatus.PUBLISHED & {
|
|
123
|
+
readonly?: "__readonly" | undefined;
|
|
124
|
+
}) | (WorkflowStatus.ERROR & {
|
|
125
|
+
readonly?: "__readonly" | undefined;
|
|
126
|
+
});
|
|
124
127
|
name: string;
|
|
125
128
|
readonly createdAt: Date & {
|
|
126
129
|
readonly?: "__readonly" | undefined;
|
|
@@ -128,10 +131,11 @@ export default class {
|
|
|
128
131
|
readonly updatedAt: Date & {
|
|
129
132
|
readonly?: "__readonly" | undefined;
|
|
130
133
|
};
|
|
134
|
+
resourceGroupIds: string[];
|
|
135
|
+
readonly id: string & {
|
|
136
|
+
readonly?: "__readonly" | undefined;
|
|
137
|
+
};
|
|
131
138
|
versions: {
|
|
132
|
-
metadata?: {
|
|
133
|
-
[x: string]: unknown;
|
|
134
|
-
} | undefined;
|
|
135
139
|
readonly createdAt: Date & {
|
|
136
140
|
readonly?: "__readonly" | undefined;
|
|
137
141
|
};
|
|
@@ -168,6 +172,9 @@ export default class {
|
|
|
168
172
|
node: string;
|
|
169
173
|
}[];
|
|
170
174
|
};
|
|
175
|
+
metadata?: {
|
|
176
|
+
[x: string]: unknown;
|
|
177
|
+
} | undefined;
|
|
171
178
|
readonly state: (WorkflowVersionState.DRAFT & {
|
|
172
179
|
readonly?: "__readonly" | undefined;
|
|
173
180
|
}) | (WorkflowVersionState.LIVE & {
|
|
@@ -197,7 +204,9 @@ export default class {
|
|
|
197
204
|
};
|
|
198
205
|
};
|
|
199
206
|
}[];
|
|
200
|
-
|
|
207
|
+
readonly companyId: string & {
|
|
208
|
+
readonly?: "__readonly" | undefined;
|
|
209
|
+
};
|
|
201
210
|
variableProfileId?: string | undefined;
|
|
202
211
|
parameterValues: {
|
|
203
212
|
[x: string]: ({
|
|
@@ -216,15 +225,6 @@ export default class {
|
|
|
216
225
|
[x: string]: string;
|
|
217
226
|
};
|
|
218
227
|
}[] | undefined;
|
|
219
|
-
readonly status: (WorkflowStatus.DRAFT & {
|
|
220
|
-
readonly?: "__readonly" | undefined;
|
|
221
|
-
}) | (WorkflowStatus.PUBLISHING & {
|
|
222
|
-
readonly?: "__readonly" | undefined;
|
|
223
|
-
}) | (WorkflowStatus.PUBLISHED & {
|
|
224
|
-
readonly?: "__readonly" | undefined;
|
|
225
|
-
}) | (WorkflowStatus.ERROR & {
|
|
226
|
-
readonly?: "__readonly" | undefined;
|
|
227
|
-
});
|
|
228
228
|
}[];
|
|
229
229
|
}, any>>;
|
|
230
230
|
create: (params: Record<string, never>, data: {
|
|
@@ -240,12 +240,15 @@ export default class {
|
|
|
240
240
|
message: string;
|
|
241
241
|
data: {
|
|
242
242
|
description?: string | undefined;
|
|
243
|
-
readonly
|
|
243
|
+
readonly status: (WorkflowStatus.DRAFT & {
|
|
244
244
|
readonly?: "__readonly" | undefined;
|
|
245
|
-
}
|
|
246
|
-
readonly companyId: string & {
|
|
245
|
+
}) | (WorkflowStatus.PUBLISHING & {
|
|
247
246
|
readonly?: "__readonly" | undefined;
|
|
248
|
-
}
|
|
247
|
+
}) | (WorkflowStatus.PUBLISHED & {
|
|
248
|
+
readonly?: "__readonly" | undefined;
|
|
249
|
+
}) | (WorkflowStatus.ERROR & {
|
|
250
|
+
readonly?: "__readonly" | undefined;
|
|
251
|
+
});
|
|
249
252
|
name: string;
|
|
250
253
|
readonly createdAt: Date & {
|
|
251
254
|
readonly?: "__readonly" | undefined;
|
|
@@ -253,10 +256,11 @@ export default class {
|
|
|
253
256
|
readonly updatedAt: Date & {
|
|
254
257
|
readonly?: "__readonly" | undefined;
|
|
255
258
|
};
|
|
259
|
+
resourceGroupIds: string[];
|
|
260
|
+
readonly id: string & {
|
|
261
|
+
readonly?: "__readonly" | undefined;
|
|
262
|
+
};
|
|
256
263
|
versions: {
|
|
257
|
-
metadata?: {
|
|
258
|
-
[x: string]: unknown;
|
|
259
|
-
} | undefined;
|
|
260
264
|
readonly createdAt: Date & {
|
|
261
265
|
readonly?: "__readonly" | undefined;
|
|
262
266
|
};
|
|
@@ -293,6 +297,9 @@ export default class {
|
|
|
293
297
|
node: string;
|
|
294
298
|
}[];
|
|
295
299
|
};
|
|
300
|
+
metadata?: {
|
|
301
|
+
[x: string]: unknown;
|
|
302
|
+
} | undefined;
|
|
296
303
|
readonly state: (WorkflowVersionState.DRAFT & {
|
|
297
304
|
readonly?: "__readonly" | undefined;
|
|
298
305
|
}) | (WorkflowVersionState.LIVE & {
|
|
@@ -322,7 +329,9 @@ export default class {
|
|
|
322
329
|
};
|
|
323
330
|
};
|
|
324
331
|
}[];
|
|
325
|
-
|
|
332
|
+
readonly companyId: string & {
|
|
333
|
+
readonly?: "__readonly" | undefined;
|
|
334
|
+
};
|
|
326
335
|
variableProfileId?: string | undefined;
|
|
327
336
|
parameterValues: {
|
|
328
337
|
[x: string]: ({
|
|
@@ -341,15 +350,6 @@ export default class {
|
|
|
341
350
|
[x: string]: string;
|
|
342
351
|
};
|
|
343
352
|
}[] | undefined;
|
|
344
|
-
readonly status: (WorkflowStatus.DRAFT & {
|
|
345
|
-
readonly?: "__readonly" | undefined;
|
|
346
|
-
}) | (WorkflowStatus.PUBLISHING & {
|
|
347
|
-
readonly?: "__readonly" | undefined;
|
|
348
|
-
}) | (WorkflowStatus.PUBLISHED & {
|
|
349
|
-
readonly?: "__readonly" | undefined;
|
|
350
|
-
}) | (WorkflowStatus.ERROR & {
|
|
351
|
-
readonly?: "__readonly" | undefined;
|
|
352
|
-
});
|
|
353
353
|
};
|
|
354
354
|
}, any>>;
|
|
355
355
|
get: (params: {
|
|
@@ -364,12 +364,15 @@ export default class {
|
|
|
364
364
|
message: string;
|
|
365
365
|
data: {
|
|
366
366
|
description?: string | undefined;
|
|
367
|
-
readonly
|
|
367
|
+
readonly status: (WorkflowStatus.DRAFT & {
|
|
368
368
|
readonly?: "__readonly" | undefined;
|
|
369
|
-
}
|
|
370
|
-
readonly companyId: string & {
|
|
369
|
+
}) | (WorkflowStatus.PUBLISHING & {
|
|
371
370
|
readonly?: "__readonly" | undefined;
|
|
372
|
-
}
|
|
371
|
+
}) | (WorkflowStatus.PUBLISHED & {
|
|
372
|
+
readonly?: "__readonly" | undefined;
|
|
373
|
+
}) | (WorkflowStatus.ERROR & {
|
|
374
|
+
readonly?: "__readonly" | undefined;
|
|
375
|
+
});
|
|
373
376
|
name: string;
|
|
374
377
|
readonly createdAt: Date & {
|
|
375
378
|
readonly?: "__readonly" | undefined;
|
|
@@ -377,10 +380,11 @@ export default class {
|
|
|
377
380
|
readonly updatedAt: Date & {
|
|
378
381
|
readonly?: "__readonly" | undefined;
|
|
379
382
|
};
|
|
383
|
+
resourceGroupIds: string[];
|
|
384
|
+
readonly id: string & {
|
|
385
|
+
readonly?: "__readonly" | undefined;
|
|
386
|
+
};
|
|
380
387
|
versions: {
|
|
381
|
-
metadata?: {
|
|
382
|
-
[x: string]: unknown;
|
|
383
|
-
} | undefined;
|
|
384
388
|
readonly createdAt: Date & {
|
|
385
389
|
readonly?: "__readonly" | undefined;
|
|
386
390
|
};
|
|
@@ -417,6 +421,9 @@ export default class {
|
|
|
417
421
|
node: string;
|
|
418
422
|
}[];
|
|
419
423
|
};
|
|
424
|
+
metadata?: {
|
|
425
|
+
[x: string]: unknown;
|
|
426
|
+
} | undefined;
|
|
420
427
|
readonly state: (WorkflowVersionState.DRAFT & {
|
|
421
428
|
readonly?: "__readonly" | undefined;
|
|
422
429
|
}) | (WorkflowVersionState.LIVE & {
|
|
@@ -446,7 +453,9 @@ export default class {
|
|
|
446
453
|
};
|
|
447
454
|
};
|
|
448
455
|
}[];
|
|
449
|
-
|
|
456
|
+
readonly companyId: string & {
|
|
457
|
+
readonly?: "__readonly" | undefined;
|
|
458
|
+
};
|
|
450
459
|
variableProfileId?: string | undefined;
|
|
451
460
|
parameterValues: {
|
|
452
461
|
[x: string]: ({
|
|
@@ -465,25 +474,19 @@ export default class {
|
|
|
465
474
|
[x: string]: string;
|
|
466
475
|
};
|
|
467
476
|
}[] | undefined;
|
|
468
|
-
readonly status: (WorkflowStatus.DRAFT & {
|
|
469
|
-
readonly?: "__readonly" | undefined;
|
|
470
|
-
}) | (WorkflowStatus.PUBLISHING & {
|
|
471
|
-
readonly?: "__readonly" | undefined;
|
|
472
|
-
}) | (WorkflowStatus.PUBLISHED & {
|
|
473
|
-
readonly?: "__readonly" | undefined;
|
|
474
|
-
}) | (WorkflowStatus.ERROR & {
|
|
475
|
-
readonly?: "__readonly" | undefined;
|
|
476
|
-
});
|
|
477
477
|
};
|
|
478
478
|
}, any>>;
|
|
479
479
|
update: (params: {
|
|
480
480
|
id: string;
|
|
481
481
|
}, data: {
|
|
482
482
|
description?: string | undefined;
|
|
483
|
-
readonly
|
|
483
|
+
readonly status?: (WorkflowStatus.DRAFT & {
|
|
484
484
|
readonly?: "__readonly" | undefined;
|
|
485
|
-
}) |
|
|
486
|
-
|
|
485
|
+
}) | (WorkflowStatus.PUBLISHING & {
|
|
486
|
+
readonly?: "__readonly" | undefined;
|
|
487
|
+
}) | (WorkflowStatus.PUBLISHED & {
|
|
488
|
+
readonly?: "__readonly" | undefined;
|
|
489
|
+
}) | (WorkflowStatus.ERROR & {
|
|
487
490
|
readonly?: "__readonly" | undefined;
|
|
488
491
|
}) | undefined;
|
|
489
492
|
name?: string | undefined;
|
|
@@ -493,10 +496,11 @@ export default class {
|
|
|
493
496
|
readonly updatedAt?: (Date & {
|
|
494
497
|
readonly?: "__readonly" | undefined;
|
|
495
498
|
}) | undefined;
|
|
499
|
+
resourceGroupIds?: string[] | undefined;
|
|
500
|
+
readonly id?: (string & {
|
|
501
|
+
readonly?: "__readonly" | undefined;
|
|
502
|
+
}) | undefined;
|
|
496
503
|
versions?: {
|
|
497
|
-
metadata?: {
|
|
498
|
-
[x: string]: unknown;
|
|
499
|
-
} | undefined;
|
|
500
504
|
definition: {
|
|
501
505
|
nodes: {
|
|
502
506
|
[x: string]: {
|
|
@@ -527,8 +531,13 @@ export default class {
|
|
|
527
531
|
node: string;
|
|
528
532
|
}[];
|
|
529
533
|
};
|
|
534
|
+
metadata?: {
|
|
535
|
+
[x: string]: unknown;
|
|
536
|
+
} | undefined;
|
|
530
537
|
}[] | undefined;
|
|
531
|
-
|
|
538
|
+
readonly companyId?: (string & {
|
|
539
|
+
readonly?: "__readonly" | undefined;
|
|
540
|
+
}) | undefined;
|
|
532
541
|
variableProfileId?: string | undefined;
|
|
533
542
|
parameterValues?: {
|
|
534
543
|
[x: string]: ({
|
|
@@ -547,19 +556,7 @@ export default class {
|
|
|
547
556
|
[x: string]: string;
|
|
548
557
|
};
|
|
549
558
|
}[] | undefined;
|
|
550
|
-
readonly status?: (WorkflowStatus.DRAFT & {
|
|
551
|
-
readonly?: "__readonly" | undefined;
|
|
552
|
-
}) | (WorkflowStatus.PUBLISHING & {
|
|
553
|
-
readonly?: "__readonly" | undefined;
|
|
554
|
-
}) | (WorkflowStatus.PUBLISHED & {
|
|
555
|
-
readonly?: "__readonly" | undefined;
|
|
556
|
-
}) | (WorkflowStatus.ERROR & {
|
|
557
|
-
readonly?: "__readonly" | undefined;
|
|
558
|
-
}) | undefined;
|
|
559
559
|
} & {
|
|
560
|
-
metadata?: {
|
|
561
|
-
[x: string]: unknown;
|
|
562
|
-
} | undefined;
|
|
563
560
|
readonly createdAt?: (Date & {
|
|
564
561
|
readonly?: "__readonly" | undefined;
|
|
565
562
|
}) | undefined;
|
|
@@ -596,6 +593,9 @@ export default class {
|
|
|
596
593
|
node: string;
|
|
597
594
|
}[];
|
|
598
595
|
} | undefined;
|
|
596
|
+
metadata?: {
|
|
597
|
+
[x: string]: unknown;
|
|
598
|
+
} | undefined;
|
|
599
599
|
readonly state?: (WorkflowVersionState.DRAFT & {
|
|
600
600
|
readonly?: "__readonly" | undefined;
|
|
601
601
|
}) | (WorkflowVersionState.LIVE & {
|
|
@@ -633,12 +633,15 @@ export default class {
|
|
|
633
633
|
message: string;
|
|
634
634
|
data: {
|
|
635
635
|
description?: string | undefined;
|
|
636
|
-
readonly
|
|
636
|
+
readonly status: (WorkflowStatus.DRAFT & {
|
|
637
637
|
readonly?: "__readonly" | undefined;
|
|
638
|
-
}
|
|
639
|
-
readonly companyId: string & {
|
|
638
|
+
}) | (WorkflowStatus.PUBLISHING & {
|
|
640
639
|
readonly?: "__readonly" | undefined;
|
|
641
|
-
}
|
|
640
|
+
}) | (WorkflowStatus.PUBLISHED & {
|
|
641
|
+
readonly?: "__readonly" | undefined;
|
|
642
|
+
}) | (WorkflowStatus.ERROR & {
|
|
643
|
+
readonly?: "__readonly" | undefined;
|
|
644
|
+
});
|
|
642
645
|
name: string;
|
|
643
646
|
readonly createdAt: Date & {
|
|
644
647
|
readonly?: "__readonly" | undefined;
|
|
@@ -646,10 +649,11 @@ export default class {
|
|
|
646
649
|
readonly updatedAt: Date & {
|
|
647
650
|
readonly?: "__readonly" | undefined;
|
|
648
651
|
};
|
|
652
|
+
resourceGroupIds: string[];
|
|
653
|
+
readonly id: string & {
|
|
654
|
+
readonly?: "__readonly" | undefined;
|
|
655
|
+
};
|
|
649
656
|
versions: {
|
|
650
|
-
metadata?: {
|
|
651
|
-
[x: string]: unknown;
|
|
652
|
-
} | undefined;
|
|
653
657
|
readonly createdAt: Date & {
|
|
654
658
|
readonly?: "__readonly" | undefined;
|
|
655
659
|
};
|
|
@@ -686,6 +690,9 @@ export default class {
|
|
|
686
690
|
node: string;
|
|
687
691
|
}[];
|
|
688
692
|
};
|
|
693
|
+
metadata?: {
|
|
694
|
+
[x: string]: unknown;
|
|
695
|
+
} | undefined;
|
|
689
696
|
readonly state: (WorkflowVersionState.DRAFT & {
|
|
690
697
|
readonly?: "__readonly" | undefined;
|
|
691
698
|
}) | (WorkflowVersionState.LIVE & {
|
|
@@ -715,7 +722,9 @@ export default class {
|
|
|
715
722
|
};
|
|
716
723
|
};
|
|
717
724
|
}[];
|
|
718
|
-
|
|
725
|
+
readonly companyId: string & {
|
|
726
|
+
readonly?: "__readonly" | undefined;
|
|
727
|
+
};
|
|
719
728
|
variableProfileId?: string | undefined;
|
|
720
729
|
parameterValues: {
|
|
721
730
|
[x: string]: ({
|
|
@@ -734,15 +743,6 @@ export default class {
|
|
|
734
743
|
[x: string]: string;
|
|
735
744
|
};
|
|
736
745
|
}[] | undefined;
|
|
737
|
-
readonly status: (WorkflowStatus.DRAFT & {
|
|
738
|
-
readonly?: "__readonly" | undefined;
|
|
739
|
-
}) | (WorkflowStatus.PUBLISHING & {
|
|
740
|
-
readonly?: "__readonly" | undefined;
|
|
741
|
-
}) | (WorkflowStatus.PUBLISHED & {
|
|
742
|
-
readonly?: "__readonly" | undefined;
|
|
743
|
-
}) | (WorkflowStatus.ERROR & {
|
|
744
|
-
readonly?: "__readonly" | undefined;
|
|
745
|
-
});
|
|
746
746
|
};
|
|
747
747
|
}, any>>;
|
|
748
748
|
delete: (params: {
|
|
@@ -754,7 +754,7 @@ export default class {
|
|
|
754
754
|
datetime: string;
|
|
755
755
|
code?: number | undefined;
|
|
756
756
|
message: string;
|
|
757
|
-
data:
|
|
757
|
+
data: unknown;
|
|
758
758
|
}, any>>;
|
|
759
759
|
duplicate: (params: Record<string, never>, data: {
|
|
760
760
|
sourceId: string;
|
|
@@ -767,12 +767,15 @@ export default class {
|
|
|
767
767
|
message: string;
|
|
768
768
|
data: {
|
|
769
769
|
description?: string | undefined;
|
|
770
|
-
readonly
|
|
770
|
+
readonly status: (WorkflowStatus.DRAFT & {
|
|
771
771
|
readonly?: "__readonly" | undefined;
|
|
772
|
-
}
|
|
773
|
-
readonly companyId: string & {
|
|
772
|
+
}) | (WorkflowStatus.PUBLISHING & {
|
|
774
773
|
readonly?: "__readonly" | undefined;
|
|
775
|
-
}
|
|
774
|
+
}) | (WorkflowStatus.PUBLISHED & {
|
|
775
|
+
readonly?: "__readonly" | undefined;
|
|
776
|
+
}) | (WorkflowStatus.ERROR & {
|
|
777
|
+
readonly?: "__readonly" | undefined;
|
|
778
|
+
});
|
|
776
779
|
name: string;
|
|
777
780
|
readonly createdAt: Date & {
|
|
778
781
|
readonly?: "__readonly" | undefined;
|
|
@@ -780,10 +783,11 @@ export default class {
|
|
|
780
783
|
readonly updatedAt: Date & {
|
|
781
784
|
readonly?: "__readonly" | undefined;
|
|
782
785
|
};
|
|
786
|
+
resourceGroupIds: string[];
|
|
787
|
+
readonly id: string & {
|
|
788
|
+
readonly?: "__readonly" | undefined;
|
|
789
|
+
};
|
|
783
790
|
versions: {
|
|
784
|
-
metadata?: {
|
|
785
|
-
[x: string]: unknown;
|
|
786
|
-
} | undefined;
|
|
787
791
|
readonly createdAt: Date & {
|
|
788
792
|
readonly?: "__readonly" | undefined;
|
|
789
793
|
};
|
|
@@ -820,6 +824,9 @@ export default class {
|
|
|
820
824
|
node: string;
|
|
821
825
|
}[];
|
|
822
826
|
};
|
|
827
|
+
metadata?: {
|
|
828
|
+
[x: string]: unknown;
|
|
829
|
+
} | undefined;
|
|
823
830
|
readonly state: (WorkflowVersionState.DRAFT & {
|
|
824
831
|
readonly?: "__readonly" | undefined;
|
|
825
832
|
}) | (WorkflowVersionState.LIVE & {
|
|
@@ -849,7 +856,9 @@ export default class {
|
|
|
849
856
|
};
|
|
850
857
|
};
|
|
851
858
|
}[];
|
|
852
|
-
|
|
859
|
+
readonly companyId: string & {
|
|
860
|
+
readonly?: "__readonly" | undefined;
|
|
861
|
+
};
|
|
853
862
|
variableProfileId?: string | undefined;
|
|
854
863
|
parameterValues: {
|
|
855
864
|
[x: string]: ({
|
|
@@ -868,15 +877,6 @@ export default class {
|
|
|
868
877
|
[x: string]: string;
|
|
869
878
|
};
|
|
870
879
|
}[] | undefined;
|
|
871
|
-
readonly status: (WorkflowStatus.DRAFT & {
|
|
872
|
-
readonly?: "__readonly" | undefined;
|
|
873
|
-
}) | (WorkflowStatus.PUBLISHING & {
|
|
874
|
-
readonly?: "__readonly" | undefined;
|
|
875
|
-
}) | (WorkflowStatus.PUBLISHED & {
|
|
876
|
-
readonly?: "__readonly" | undefined;
|
|
877
|
-
}) | (WorkflowStatus.ERROR & {
|
|
878
|
-
readonly?: "__readonly" | undefined;
|
|
879
|
-
});
|
|
880
880
|
};
|
|
881
881
|
}, any>>;
|
|
882
882
|
publish: (params: {
|
|
@@ -890,12 +890,15 @@ export default class {
|
|
|
890
890
|
message: string;
|
|
891
891
|
data: {
|
|
892
892
|
description?: string | undefined;
|
|
893
|
-
readonly
|
|
893
|
+
readonly status: (WorkflowStatus.DRAFT & {
|
|
894
894
|
readonly?: "__readonly" | undefined;
|
|
895
|
-
}
|
|
896
|
-
readonly companyId: string & {
|
|
895
|
+
}) | (WorkflowStatus.PUBLISHING & {
|
|
897
896
|
readonly?: "__readonly" | undefined;
|
|
898
|
-
}
|
|
897
|
+
}) | (WorkflowStatus.PUBLISHED & {
|
|
898
|
+
readonly?: "__readonly" | undefined;
|
|
899
|
+
}) | (WorkflowStatus.ERROR & {
|
|
900
|
+
readonly?: "__readonly" | undefined;
|
|
901
|
+
});
|
|
899
902
|
name: string;
|
|
900
903
|
readonly createdAt: Date & {
|
|
901
904
|
readonly?: "__readonly" | undefined;
|
|
@@ -903,10 +906,11 @@ export default class {
|
|
|
903
906
|
readonly updatedAt: Date & {
|
|
904
907
|
readonly?: "__readonly" | undefined;
|
|
905
908
|
};
|
|
909
|
+
resourceGroupIds: string[];
|
|
910
|
+
readonly id: string & {
|
|
911
|
+
readonly?: "__readonly" | undefined;
|
|
912
|
+
};
|
|
906
913
|
versions: {
|
|
907
|
-
metadata?: {
|
|
908
|
-
[x: string]: unknown;
|
|
909
|
-
} | undefined;
|
|
910
914
|
readonly createdAt: Date & {
|
|
911
915
|
readonly?: "__readonly" | undefined;
|
|
912
916
|
};
|
|
@@ -943,6 +947,9 @@ export default class {
|
|
|
943
947
|
node: string;
|
|
944
948
|
}[];
|
|
945
949
|
};
|
|
950
|
+
metadata?: {
|
|
951
|
+
[x: string]: unknown;
|
|
952
|
+
} | undefined;
|
|
946
953
|
readonly state: (WorkflowVersionState.DRAFT & {
|
|
947
954
|
readonly?: "__readonly" | undefined;
|
|
948
955
|
}) | (WorkflowVersionState.LIVE & {
|
|
@@ -972,7 +979,9 @@ export default class {
|
|
|
972
979
|
};
|
|
973
980
|
};
|
|
974
981
|
}[];
|
|
975
|
-
|
|
982
|
+
readonly companyId: string & {
|
|
983
|
+
readonly?: "__readonly" | undefined;
|
|
984
|
+
};
|
|
976
985
|
variableProfileId?: string | undefined;
|
|
977
986
|
parameterValues: {
|
|
978
987
|
[x: string]: ({
|
|
@@ -991,15 +1000,6 @@ export default class {
|
|
|
991
1000
|
[x: string]: string;
|
|
992
1001
|
};
|
|
993
1002
|
}[] | undefined;
|
|
994
|
-
readonly status: (WorkflowStatus.DRAFT & {
|
|
995
|
-
readonly?: "__readonly" | undefined;
|
|
996
|
-
}) | (WorkflowStatus.PUBLISHING & {
|
|
997
|
-
readonly?: "__readonly" | undefined;
|
|
998
|
-
}) | (WorkflowStatus.PUBLISHED & {
|
|
999
|
-
readonly?: "__readonly" | undefined;
|
|
1000
|
-
}) | (WorkflowStatus.ERROR & {
|
|
1001
|
-
readonly?: "__readonly" | undefined;
|
|
1002
|
-
});
|
|
1003
1003
|
};
|
|
1004
1004
|
}, any>>;
|
|
1005
1005
|
};
|
|
@@ -1023,9 +1023,7 @@ export default class {
|
|
|
1023
1023
|
datetime: string;
|
|
1024
1024
|
code?: number | undefined;
|
|
1025
1025
|
message: string;
|
|
1026
|
-
data:
|
|
1027
|
-
[key: string]: string[];
|
|
1028
|
-
};
|
|
1026
|
+
data: unknown;
|
|
1029
1027
|
}, any>>;
|
|
1030
1028
|
listWorkflowsWithContent: (params: {
|
|
1031
1029
|
id: string;
|
|
@@ -1047,7 +1045,7 @@ export default class {
|
|
|
1047
1045
|
datetime: string;
|
|
1048
1046
|
code?: number | undefined;
|
|
1049
1047
|
message: string;
|
|
1050
|
-
data:
|
|
1048
|
+
data: unknown;
|
|
1051
1049
|
}, any>>;
|
|
1052
1050
|
};
|
|
1053
1051
|
}
|
package/build/api.js
CHANGED
|
@@ -107,4 +107,4 @@ function pick(obj, ...keys) {
|
|
|
107
107
|
});
|
|
108
108
|
return ret;
|
|
109
109
|
}
|
|
110
|
-
//# sourceMappingURL=data:application/json;base64,
|
|
110
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiYXBpLmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vYXBpLnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiI7QUFBQSxvQkFBb0I7QUFDcEIsb0JBQW9COzs7Ozs7Ozs7Ozs7Ozs7QUFFcEIsa0RBQWlFO0FBR2pFLGdEQUE4QjtBQUU5QjtJQUdJLFlBQVksZ0JBQW9EO1FBQzVELElBQUksQ0FBQyxLQUFLLEdBQUcsY0FBYyxJQUFJLGdCQUFnQjtZQUMzQyxDQUFDLENBQUMsZ0JBQWdCO1lBQ2xCLENBQUMsQ0FBQyxlQUFLLENBQUMsTUFBTSxDQUFDLGdCQUFnQixDQUFDLENBQUE7SUFDeEMsQ0FBQztJQUVPLHFCQUFxQixDQUFDLE1BSzdCLEVBQUUsT0FBNEI7UUFDM0IsT0FBTyxJQUFJLENBQUMsS0FBSyxDQUFDLEdBQUcsQ0FDakIsc0JBQXNCLEVBQ3RCLE1BQU0sQ0FBQyxNQUFNLENBQ1QsRUFBRSxFQUNGO1lBQ0ksTUFBTSxFQUFFLElB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UMsR0FBRyxDQUFDLElBQUksQ0FBQyxJQUFJLENBQUM7U0FDM0IsQ0FBQztJQUNOLENBQUM7SUFFRCxJQUFJLEtBQUs7UUFDTCxPQUFPO1lBQ0gsbUJBQW1CLEVBQUUsSUFBSSxDQUFDLHdCQUF3QixDQUFDLElBQUksQ0FBQyxJQUFJLENBQUM7WUFDN0Qsd0JBQXdCLEVBQUUsSUFBSSxDQUFDLDZCQUE2QixDQUFDLElBQUksQ0FBQyxJQUFJLENBQUM7WUFDdkUsMEJBQTBCLEVBQUUsSUFBSSxDQUFDLCtCQUErQixDQUFDLElBQUksQ0FBQyxJQUFJLENBQUM7U0FDOUUsQ0FBQztJQUNOLENBQUM7Q0FDSjtBQTNMRCw0QkEyTEM7QUFFRCxTQUFTLElBQUksQ0FBdUIsR0FBTSxFQUFFLEdBQUcsSUFBUztJQUNwRCxNQUFNLEdBQUcsR0FBZSxFQUFnQixDQUFDO0lBQ3pDLElBQUksQ0FBQyxPQUFPLENBQUMsR0FBRyxDQUFDLEVBQUU7UUFDZixJQUFJLEdBQUcsSUFBSSxNQUFNLENBQUMsSUFBSSxDQUFDLEdBQUcsQ0FBQyxDQUFDLFFBQVEsQ0FBQyxHQUFhLENBQUM7WUFDL0MsR0FBRyxDQUFDLEdBQUcsQ0FBQyxHQUFHLEdBQUcsQ0FBQyxHQUFHLENBQUMsQ0FBQztJQUM1QixDQUFDLENBQUMsQ0FBQztJQUNILE9BQU8sR0FBRyxDQUFDO0FBQ2YsQ0FBQyJ9
|
package/build/definitions.d.ts
CHANGED
|
@@ -67,12 +67,63 @@ export declare type SerializedWorkflowTemplate = {
|
|
|
67
67
|
};
|
|
68
68
|
};
|
|
69
69
|
export declare type WorkflowTemplate = SerializedWorkflowTemplate;
|
|
70
|
+
export declare type PartialResponse_WorkflowTemplate = {
|
|
71
|
+
paginationCount: number;
|
|
72
|
+
paginationPage: number;
|
|
73
|
+
paginationLimit: number;
|
|
74
|
+
status: "success";
|
|
75
|
+
program: string;
|
|
76
|
+
version: string;
|
|
77
|
+
datetime: string;
|
|
78
|
+
code?: number;
|
|
79
|
+
message: string;
|
|
80
|
+
data: WorkflowTemplate[];
|
|
81
|
+
};
|
|
82
|
+
export declare type SuccessResponse_string = {
|
|
83
|
+
status: "success";
|
|
84
|
+
program: string;
|
|
85
|
+
version: string;
|
|
86
|
+
datetime: string;
|
|
87
|
+
code?: number;
|
|
88
|
+
message: string;
|
|
89
|
+
data: string[];
|
|
90
|
+
};
|
|
91
|
+
export declare type LegacyWorkflow = {
|
|
92
|
+
entrypoints: {
|
|
93
|
+
type: "email" | "raw" | "mobile-push-image" | "mobile-app-image" | "web-image";
|
|
94
|
+
node: string;
|
|
95
|
+
}[];
|
|
96
|
+
nodes: {
|
|
97
|
+
[key: string]: {
|
|
98
|
+
name: string;
|
|
99
|
+
config: {
|
|
100
|
+
[key: string]: AnyValue;
|
|
101
|
+
};
|
|
102
|
+
dependencies: string[];
|
|
103
|
+
metadata: {
|
|
104
|
+
[key: string]: AnyValue;
|
|
105
|
+
};
|
|
106
|
+
} | {
|
|
107
|
+
name: string;
|
|
108
|
+
edges: {
|
|
109
|
+
node: string;
|
|
110
|
+
config: {
|
|
111
|
+
[key: string]: AnyValue;
|
|
112
|
+
};
|
|
113
|
+
}[];
|
|
114
|
+
dependencies: string[];
|
|
115
|
+
metadata: {
|
|
116
|
+
[key: string]: AnyValue;
|
|
117
|
+
};
|
|
118
|
+
};
|
|
119
|
+
};
|
|
120
|
+
};
|
|
70
121
|
export declare enum WorkflowVersionState {
|
|
71
122
|
DRAFT = "draft",
|
|
72
123
|
LIVE = "live",
|
|
73
124
|
INACTIVE = "inactive"
|
|
74
125
|
}
|
|
75
|
-
export declare type
|
|
126
|
+
export declare type WorkflowAnalyze_Without_OutputsForEntrypoint_EntrypointsForNode_DatasForEntrypoint = {
|
|
76
127
|
entrypointsByBranchesForDataNode: {
|
|
77
128
|
[key: string]: {
|
|
78
129
|
branch: string;
|
|
@@ -84,43 +135,14 @@ export declare type Omit_WorkflowAnalyze_outputsForEntrypoint_or_entrypointsForN
|
|
|
84
135
|
defaultBranches: string[];
|
|
85
136
|
};
|
|
86
137
|
export declare type LegacyWorkflowVersion = {
|
|
87
|
-
definition:
|
|
88
|
-
entrypoints: {
|
|
89
|
-
type: "email" | "raw" | "mobile-push-image" | "mobile-app-image" | "web-image";
|
|
90
|
-
node: string;
|
|
91
|
-
}[];
|
|
92
|
-
nodes: {
|
|
93
|
-
[key: string]: {
|
|
94
|
-
name: string;
|
|
95
|
-
config: {
|
|
96
|
-
[key: string]: AnyValue;
|
|
97
|
-
};
|
|
98
|
-
dependencies: string[];
|
|
99
|
-
metadata: {
|
|
100
|
-
[key: string]: AnyValue;
|
|
101
|
-
};
|
|
102
|
-
} | {
|
|
103
|
-
name: string;
|
|
104
|
-
edges: {
|
|
105
|
-
node: string;
|
|
106
|
-
config: {
|
|
107
|
-
[key: string]: AnyValue;
|
|
108
|
-
};
|
|
109
|
-
}[];
|
|
110
|
-
dependencies: string[];
|
|
111
|
-
metadata: {
|
|
112
|
-
[key: string]: AnyValue;
|
|
113
|
-
};
|
|
114
|
-
};
|
|
115
|
-
};
|
|
116
|
-
};
|
|
138
|
+
definition: LegacyWorkflow;
|
|
117
139
|
metadata?: {
|
|
118
140
|
[key: string]: AnyValue;
|
|
119
141
|
};
|
|
120
142
|
readonly createdAt: (Date) & readonlyP;
|
|
121
143
|
readonly updatedAt: (Date) & readonlyP;
|
|
122
144
|
readonly state: (WorkflowVersionState) & readonlyP;
|
|
123
|
-
readonly analyze: (
|
|
145
|
+
readonly analyze: (WorkflowAnalyze_Without_OutputsForEntrypoint_EntrypointsForNode_DatasForEntrypoint & {
|
|
124
146
|
outputsForEntrypoint: {
|
|
125
147
|
[key: string]: string[];
|
|
126
148
|
};
|
|
@@ -167,12 +189,51 @@ export declare type LegacyWorkflowDocument = {
|
|
|
167
189
|
readonly createdAt: (Date) & readonlyP;
|
|
168
190
|
readonly updatedAt: (Date) & readonlyP;
|
|
169
191
|
};
|
|
170
|
-
export declare type
|
|
192
|
+
export declare type PartialResponse_LegacyWorkflowDocument = {
|
|
193
|
+
paginationCount: number;
|
|
194
|
+
paginationPage: number;
|
|
195
|
+
paginationLimit: number;
|
|
196
|
+
status: "success";
|
|
197
|
+
program: string;
|
|
198
|
+
version: string;
|
|
199
|
+
datetime: string;
|
|
200
|
+
code?: number;
|
|
201
|
+
message: string;
|
|
202
|
+
data: LegacyWorkflowDocument[];
|
|
203
|
+
};
|
|
204
|
+
export declare type InternalResponse = {
|
|
205
|
+
program: string;
|
|
206
|
+
version: string;
|
|
207
|
+
datetime: string;
|
|
208
|
+
status: string;
|
|
209
|
+
code?: number;
|
|
210
|
+
message: string;
|
|
211
|
+
data: {};
|
|
212
|
+
};
|
|
213
|
+
export declare type SuccessResponse_LegacyWorkflowDocument = {
|
|
214
|
+
status: "success";
|
|
215
|
+
program: string;
|
|
216
|
+
version: string;
|
|
217
|
+
datetime: string;
|
|
218
|
+
code?: number;
|
|
219
|
+
message: string;
|
|
220
|
+
data: LegacyWorkflowDocument;
|
|
221
|
+
};
|
|
222
|
+
export declare type LegacyWorkflowDocument_With_Name_Description_ResourceGroupIds = {
|
|
171
223
|
name: string;
|
|
172
224
|
description?: string;
|
|
173
225
|
resourceGroupIds: string[];
|
|
174
226
|
};
|
|
175
|
-
export declare type
|
|
227
|
+
export declare type SuccessResponse = {
|
|
228
|
+
status: "success";
|
|
229
|
+
program: string;
|
|
230
|
+
version: string;
|
|
231
|
+
datetime: string;
|
|
232
|
+
code?: number;
|
|
233
|
+
message: string;
|
|
234
|
+
data: {};
|
|
235
|
+
};
|
|
236
|
+
export declare type LegacyWorkflowDocument_Partial = {
|
|
176
237
|
versions?: LegacyWorkflowVersion[];
|
|
177
238
|
readonly companyId?: (string) & readonlyP;
|
|
178
239
|
name?: string;
|
|
@@ -201,44 +262,15 @@ export declare type Partial_LegacyWorkflowDocument = {
|
|
|
201
262
|
readonly createdAt?: (Date) & readonlyP;
|
|
202
263
|
readonly updatedAt?: (Date) & readonlyP;
|
|
203
264
|
};
|
|
204
|
-
export declare type
|
|
205
|
-
definition?:
|
|
206
|
-
entrypoints: {
|
|
207
|
-
type: "email" | "raw" | "mobile-push-image" | "mobile-app-image" | "web-image";
|
|
208
|
-
node: string;
|
|
209
|
-
}[];
|
|
210
|
-
nodes: {
|
|
211
|
-
[key: string]: {
|
|
212
|
-
name: string;
|
|
213
|
-
config: {
|
|
214
|
-
[key: string]: AnyValue;
|
|
215
|
-
};
|
|
216
|
-
dependencies: string[];
|
|
217
|
-
metadata: {
|
|
218
|
-
[key: string]: AnyValue;
|
|
219
|
-
};
|
|
220
|
-
} | {
|
|
221
|
-
name: string;
|
|
222
|
-
edges: {
|
|
223
|
-
node: string;
|
|
224
|
-
config: {
|
|
225
|
-
[key: string]: AnyValue;
|
|
226
|
-
};
|
|
227
|
-
}[];
|
|
228
|
-
dependencies: string[];
|
|
229
|
-
metadata: {
|
|
230
|
-
[key: string]: AnyValue;
|
|
231
|
-
};
|
|
232
|
-
};
|
|
233
|
-
};
|
|
234
|
-
};
|
|
265
|
+
export declare type LegacyWorkflowVersion_Partial = {
|
|
266
|
+
definition?: LegacyWorkflow;
|
|
235
267
|
metadata?: {
|
|
236
268
|
[key: string]: AnyValue;
|
|
237
269
|
};
|
|
238
270
|
readonly createdAt?: (Date) & readonlyP;
|
|
239
271
|
readonly updatedAt?: (Date) & readonlyP;
|
|
240
272
|
readonly state?: (WorkflowVersionState) & readonlyP;
|
|
241
|
-
readonly analyze?: (
|
|
273
|
+
readonly analyze?: (WorkflowAnalyze_Without_OutputsForEntrypoint_EntrypointsForNode_DatasForEntrypoint & {
|
|
242
274
|
outputsForEntrypoint: {
|
|
243
275
|
[key: string]: string[];
|
|
244
276
|
};
|
|
@@ -250,7 +282,11 @@ export declare type Partial_LegacyWorkflowVersion = {
|
|
|
250
282
|
};
|
|
251
283
|
}) & readonlyP;
|
|
252
284
|
};
|
|
253
|
-
export declare type
|
|
254
|
-
|
|
285
|
+
export declare type Error = {
|
|
286
|
+
path: string;
|
|
287
|
+
message: string;
|
|
288
|
+
payload?: {
|
|
289
|
+
[key: string]: AnyValue;
|
|
290
|
+
};
|
|
255
291
|
};
|
|
256
292
|
export {};
|
package/build/definitions.js
CHANGED
|
@@ -16,4 +16,4 @@ var WorkflowStatus;
|
|
|
16
16
|
WorkflowStatus["PUBLISHED"] = "published";
|
|
17
17
|
WorkflowStatus["ERROR"] = "error";
|
|
18
18
|
})(WorkflowStatus = exports.WorkflowStatus || (exports.WorkflowStatus = {}));
|
|
19
|
-
//# sourceMappingURL=data:application/json;base64,
|
|
19
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiZGVmaW5pdGlvbnMuanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi9kZWZpbml0aW9ucy50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiO0FBQUEsb0JBQW9CO0FBQ3BCLG9CQUFvQjs7O0FBdUlwQixJQUFZLG9CQUlYO0FBSkQsV0FBWSxvQkFBb0I7SUFDNUIsdUNBQWUsQ0FBQTtJQUNmLHFDQUFhLENBQUE7SUFDYiw2Q0FBcUIsQ0FBQTtBQUN6QixDQUFDLEVBSlcsb0JBQW9CLEdBQXBCLDRCQUFvQixLQUFwQiw0QkFBb0IsUUFJL0I7QUFrQ0QsSUFBWSxjQUtYO0FBTEQsV0FBWSxjQUFjO0lBQ3RCLGlDQUFlLENBQUE7SUFDZiwyQ0FBeUIsQ0FBQTtJQUN6Qix5Q0FBdUIsQ0FBQTtJQUN2QixpQ0FBZSxDQUFBO0FBQ25CLENBQUMsRUFMVyxjQUFjLEdBQWQsc0JBQWMsS0FBZCxzQkFBYyxRQUt6QiJ9
|
package/package.json
CHANGED