@rlvt/workflows-openapi-client 1.0.531 → 1.0.533
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 +154 -291
- package/build/api.js +2 -2
- package/build/definitions.d.ts +27 -122
- package/build/definitions.js +1 -1
- package/package.json +1 -1
package/build/api.d.ts
CHANGED
|
@@ -36,42 +36,46 @@ export default class {
|
|
|
36
36
|
readonly companyId?: (string & {
|
|
37
37
|
readonly?: "__readonly" | undefined;
|
|
38
38
|
}) | undefined;
|
|
39
|
-
metadata?: {
|
|
40
|
-
[x: string]: unknown;
|
|
41
|
-
} | undefined;
|
|
42
39
|
icon: string;
|
|
43
40
|
slug?: string | undefined;
|
|
44
41
|
feature?: string | undefined;
|
|
45
42
|
template: {
|
|
46
43
|
nodes: {
|
|
47
44
|
[x: string]: {
|
|
48
|
-
name: string;
|
|
49
45
|
metadata: {
|
|
50
46
|
[x: string]: unknown;
|
|
51
47
|
};
|
|
52
|
-
|
|
48
|
+
type: string;
|
|
49
|
+
paths: {
|
|
50
|
+
options: {
|
|
51
|
+
[x: string]: unknown;
|
|
52
|
+
};
|
|
53
|
+
id: string;
|
|
54
|
+
}[];
|
|
55
|
+
} | {
|
|
56
|
+
options: {
|
|
53
57
|
[x: string]: unknown;
|
|
54
58
|
};
|
|
55
|
-
dependencies: string[];
|
|
56
|
-
} | {
|
|
57
|
-
name: string;
|
|
58
59
|
metadata: {
|
|
59
60
|
[x: string]: unknown;
|
|
60
61
|
};
|
|
61
|
-
|
|
62
|
-
config: {
|
|
63
|
-
[x: string]: unknown;
|
|
64
|
-
};
|
|
65
|
-
node: string;
|
|
66
|
-
}[];
|
|
67
|
-
dependencies: string[];
|
|
62
|
+
type: string;
|
|
68
63
|
};
|
|
69
64
|
};
|
|
70
65
|
entrypoints: {
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
66
|
+
[x: string]: {
|
|
67
|
+
type: "email" | "raw" | "mobile-push-image" | "mobile-app-image" | "web-image" | "mobile-sms-preview";
|
|
68
|
+
};
|
|
69
|
+
};
|
|
70
|
+
edges: {
|
|
71
|
+
[x: string]: {
|
|
72
|
+
to: string;
|
|
73
|
+
};
|
|
74
|
+
};
|
|
74
75
|
};
|
|
76
|
+
metadata?: {
|
|
77
|
+
[x: string]: unknown;
|
|
78
|
+
} | undefined;
|
|
75
79
|
}[];
|
|
76
80
|
paginationCount: number;
|
|
77
81
|
paginationPage: number;
|
|
@@ -133,6 +137,20 @@ export default class {
|
|
|
133
137
|
readonly id: string & {
|
|
134
138
|
readonly?: "__readonly" | undefined;
|
|
135
139
|
};
|
|
140
|
+
analyzeOverrides?: {
|
|
141
|
+
individualizedVertexIds: string[];
|
|
142
|
+
defaultVertexIds: string[];
|
|
143
|
+
customVertexNames: {
|
|
144
|
+
name: string;
|
|
145
|
+
vertexId: string;
|
|
146
|
+
}[];
|
|
147
|
+
} | undefined;
|
|
148
|
+
metadata?: {
|
|
149
|
+
[x: string]: unknown;
|
|
150
|
+
} | undefined;
|
|
151
|
+
readonly state: WorkflowVersionState & {
|
|
152
|
+
readonly?: "__readonly" | undefined;
|
|
153
|
+
};
|
|
136
154
|
definition: {
|
|
137
155
|
nodes: {
|
|
138
156
|
[x: string]: {
|
|
@@ -167,16 +185,6 @@ export default class {
|
|
|
167
185
|
};
|
|
168
186
|
};
|
|
169
187
|
};
|
|
170
|
-
metadata?: {
|
|
171
|
-
[x: string]: unknown;
|
|
172
|
-
} | undefined;
|
|
173
|
-
readonly state: WorkflowVersionState & {
|
|
174
|
-
readonly?: "__readonly" | undefined;
|
|
175
|
-
};
|
|
176
|
-
analyzeOverrides?: {
|
|
177
|
-
individualizedVertexIds: string[];
|
|
178
|
-
defaultVertexIds: string[];
|
|
179
|
-
} | undefined;
|
|
180
188
|
readonly analyze: {
|
|
181
189
|
readonly?: "__readonly" | undefined;
|
|
182
190
|
entrypointsByBranches: {
|
|
@@ -208,13 +216,10 @@ export default class {
|
|
|
208
216
|
}[];
|
|
209
217
|
variableProfileId?: string | undefined;
|
|
210
218
|
parameterValues: {
|
|
211
|
-
[x: string]:
|
|
212
|
-
entrypointIndex: number | null;
|
|
213
|
-
value: string;
|
|
214
|
-
} | {
|
|
215
|
-
value: string;
|
|
219
|
+
[x: string]: {
|
|
216
220
|
entrypointId: string | null;
|
|
217
|
-
|
|
221
|
+
value: string;
|
|
222
|
+
}[];
|
|
218
223
|
};
|
|
219
224
|
readonly urls?: {
|
|
220
225
|
click: string;
|
|
@@ -272,6 +277,20 @@ export default class {
|
|
|
272
277
|
readonly id: string & {
|
|
273
278
|
readonly?: "__readonly" | undefined;
|
|
274
279
|
};
|
|
280
|
+
analyzeOverrides?: {
|
|
281
|
+
individualizedVertexIds: string[];
|
|
282
|
+
defaultVertexIds: string[];
|
|
283
|
+
customVertexNames: {
|
|
284
|
+
name: string;
|
|
285
|
+
vertexId: string;
|
|
286
|
+
}[];
|
|
287
|
+
} | undefined;
|
|
288
|
+
metadata?: {
|
|
289
|
+
[x: string]: unknown;
|
|
290
|
+
} | undefined;
|
|
291
|
+
readonly state: WorkflowVersionState & {
|
|
292
|
+
readonly?: "__readonly" | undefined;
|
|
293
|
+
};
|
|
275
294
|
definition: {
|
|
276
295
|
nodes: {
|
|
277
296
|
[x: string]: {
|
|
@@ -306,16 +325,6 @@ export default class {
|
|
|
306
325
|
};
|
|
307
326
|
};
|
|
308
327
|
};
|
|
309
|
-
metadata?: {
|
|
310
|
-
[x: string]: unknown;
|
|
311
|
-
} | undefined;
|
|
312
|
-
readonly state: WorkflowVersionState & {
|
|
313
|
-
readonly?: "__readonly" | undefined;
|
|
314
|
-
};
|
|
315
|
-
analyzeOverrides?: {
|
|
316
|
-
individualizedVertexIds: string[];
|
|
317
|
-
defaultVertexIds: string[];
|
|
318
|
-
} | undefined;
|
|
319
328
|
readonly analyze: {
|
|
320
329
|
readonly?: "__readonly" | undefined;
|
|
321
330
|
entrypointsByBranches: {
|
|
@@ -347,13 +356,10 @@ export default class {
|
|
|
347
356
|
}[];
|
|
348
357
|
variableProfileId?: string | undefined;
|
|
349
358
|
parameterValues: {
|
|
350
|
-
[x: string]:
|
|
351
|
-
entrypointIndex: number | null;
|
|
352
|
-
value: string;
|
|
353
|
-
} | {
|
|
354
|
-
value: string;
|
|
359
|
+
[x: string]: {
|
|
355
360
|
entrypointId: string | null;
|
|
356
|
-
|
|
361
|
+
value: string;
|
|
362
|
+
}[];
|
|
357
363
|
};
|
|
358
364
|
readonly urls?: {
|
|
359
365
|
click: string;
|
|
@@ -409,6 +415,20 @@ export default class {
|
|
|
409
415
|
readonly id: string & {
|
|
410
416
|
readonly?: "__readonly" | undefined;
|
|
411
417
|
};
|
|
418
|
+
analyzeOverrides?: {
|
|
419
|
+
individualizedVertexIds: string[];
|
|
420
|
+
defaultVertexIds: string[];
|
|
421
|
+
customVertexNames: {
|
|
422
|
+
name: string;
|
|
423
|
+
vertexId: string;
|
|
424
|
+
}[];
|
|
425
|
+
} | undefined;
|
|
426
|
+
metadata?: {
|
|
427
|
+
[x: string]: unknown;
|
|
428
|
+
} | undefined;
|
|
429
|
+
readonly state: WorkflowVersionState & {
|
|
430
|
+
readonly?: "__readonly" | undefined;
|
|
431
|
+
};
|
|
412
432
|
definition: {
|
|
413
433
|
nodes: {
|
|
414
434
|
[x: string]: {
|
|
@@ -443,16 +463,6 @@ export default class {
|
|
|
443
463
|
};
|
|
444
464
|
};
|
|
445
465
|
};
|
|
446
|
-
metadata?: {
|
|
447
|
-
[x: string]: unknown;
|
|
448
|
-
} | undefined;
|
|
449
|
-
readonly state: WorkflowVersionState & {
|
|
450
|
-
readonly?: "__readonly" | undefined;
|
|
451
|
-
};
|
|
452
|
-
analyzeOverrides?: {
|
|
453
|
-
individualizedVertexIds: string[];
|
|
454
|
-
defaultVertexIds: string[];
|
|
455
|
-
} | undefined;
|
|
456
466
|
readonly analyze: {
|
|
457
467
|
readonly?: "__readonly" | undefined;
|
|
458
468
|
entrypointsByBranches: {
|
|
@@ -484,13 +494,10 @@ export default class {
|
|
|
484
494
|
}[];
|
|
485
495
|
variableProfileId?: string | undefined;
|
|
486
496
|
parameterValues: {
|
|
487
|
-
[x: string]:
|
|
488
|
-
entrypointIndex: number | null;
|
|
489
|
-
value: string;
|
|
490
|
-
} | {
|
|
491
|
-
value: string;
|
|
497
|
+
[x: string]: {
|
|
492
498
|
entrypointId: string | null;
|
|
493
|
-
|
|
499
|
+
value: string;
|
|
500
|
+
}[];
|
|
494
501
|
};
|
|
495
502
|
readonly urls?: {
|
|
496
503
|
click: string;
|
|
@@ -513,173 +520,16 @@ export default class {
|
|
|
513
520
|
}, any>>;
|
|
514
521
|
update: (params: {
|
|
515
522
|
id: string;
|
|
516
|
-
}, data:
|
|
517
|
-
readonly status?: (WorkflowStatus & {
|
|
518
|
-
readonly?: "__readonly" | undefined;
|
|
519
|
-
}) | undefined;
|
|
520
|
-
name?: string | undefined;
|
|
521
|
-
readonly updatedAt?: (string & {
|
|
522
|
-
readonly?: "__readonly" | undefined;
|
|
523
|
-
}) | undefined;
|
|
524
|
-
readonly createdAt?: (string & {
|
|
525
|
-
readonly?: "__readonly" | undefined;
|
|
526
|
-
}) | undefined;
|
|
527
|
-
resourceGroupIds?: string[] | undefined;
|
|
528
|
-
description?: string | undefined;
|
|
529
|
-
readonly id?: (string & {
|
|
530
|
-
readonly?: "__readonly" | undefined;
|
|
531
|
-
}) | undefined;
|
|
532
|
-
readonly companyId?: (string & {
|
|
533
|
-
readonly?: "__readonly" | undefined;
|
|
534
|
-
}) | undefined;
|
|
535
|
-
versions?: {
|
|
536
|
-
definition: {
|
|
537
|
-
nodes: {
|
|
538
|
-
[x: string]: {
|
|
539
|
-
name: string;
|
|
540
|
-
metadata: {
|
|
541
|
-
[x: string]: unknown;
|
|
542
|
-
};
|
|
543
|
-
config: {
|
|
544
|
-
[x: string]: unknown;
|
|
545
|
-
};
|
|
546
|
-
dependencies: string[];
|
|
547
|
-
} | {
|
|
548
|
-
name: string;
|
|
549
|
-
metadata: {
|
|
550
|
-
[x: string]: unknown;
|
|
551
|
-
};
|
|
552
|
-
edges: {
|
|
553
|
-
config: {
|
|
554
|
-
[x: string]: unknown;
|
|
555
|
-
};
|
|
556
|
-
node: string;
|
|
557
|
-
}[];
|
|
558
|
-
dependencies: string[];
|
|
559
|
-
};
|
|
560
|
-
};
|
|
561
|
-
entrypoints: {
|
|
562
|
-
node: string;
|
|
563
|
-
type: "email" | "raw" | "mobile-push-image" | "mobile-app-image" | "web-image" | "mobile-sms-preview";
|
|
564
|
-
}[];
|
|
565
|
-
};
|
|
566
|
-
metadata?: {
|
|
567
|
-
[x: string]: unknown;
|
|
568
|
-
} | undefined;
|
|
569
|
-
analyzeOverrides?: {
|
|
570
|
-
individualizedVertexIds: string[];
|
|
571
|
-
defaultVertexIds: string[];
|
|
572
|
-
} | undefined;
|
|
573
|
-
}[] | undefined;
|
|
574
|
-
variableProfileId?: string | undefined;
|
|
575
|
-
parameterValues?: {
|
|
576
|
-
[x: string]: ({
|
|
577
|
-
entrypointIndex: number | null;
|
|
578
|
-
value: string;
|
|
579
|
-
} | {
|
|
580
|
-
value: string;
|
|
581
|
-
entrypointId: string | null;
|
|
582
|
-
})[];
|
|
583
|
-
} | undefined;
|
|
584
|
-
readonly urls?: {
|
|
585
|
-
click: string;
|
|
586
|
-
display: string;
|
|
587
|
-
type: "email" | "raw" | "mobile-push-image" | "mobile-app-image" | "web-image" | "mobile-sms-preview";
|
|
588
|
-
parameters: {
|
|
589
|
-
[x: string]: string;
|
|
590
|
-
};
|
|
591
|
-
}[] | undefined;
|
|
592
|
-
readonly archivedAt?: (string & {
|
|
593
|
-
readonly?: "__readonly" | undefined;
|
|
594
|
-
}) | undefined;
|
|
595
|
-
} & {
|
|
596
|
-
readonly updatedAt?: (string & {
|
|
597
|
-
readonly?: "__readonly" | undefined;
|
|
598
|
-
}) | undefined;
|
|
599
|
-
readonly createdAt?: (string & {
|
|
600
|
-
readonly?: "__readonly" | undefined;
|
|
601
|
-
}) | undefined;
|
|
602
|
-
definition?: {
|
|
603
|
-
nodes: {
|
|
604
|
-
[x: string]: {
|
|
605
|
-
name: string;
|
|
606
|
-
metadata: {
|
|
607
|
-
[x: string]: unknown;
|
|
608
|
-
};
|
|
609
|
-
config: {
|
|
610
|
-
[x: string]: unknown;
|
|
611
|
-
};
|
|
612
|
-
dependencies: string[];
|
|
613
|
-
} | {
|
|
614
|
-
name: string;
|
|
615
|
-
metadata: {
|
|
616
|
-
[x: string]: unknown;
|
|
617
|
-
};
|
|
618
|
-
edges: {
|
|
619
|
-
config: {
|
|
620
|
-
[x: string]: unknown;
|
|
621
|
-
};
|
|
622
|
-
node: string;
|
|
623
|
-
}[];
|
|
624
|
-
dependencies: string[];
|
|
625
|
-
};
|
|
626
|
-
};
|
|
627
|
-
entrypoints: {
|
|
628
|
-
node: string;
|
|
629
|
-
type: "email" | "raw" | "mobile-push-image" | "mobile-app-image" | "web-image" | "mobile-sms-preview";
|
|
630
|
-
}[];
|
|
631
|
-
} | undefined;
|
|
632
|
-
metadata?: {
|
|
633
|
-
[x: string]: unknown;
|
|
634
|
-
} | undefined;
|
|
635
|
-
readonly state?: (WorkflowVersionState & {
|
|
636
|
-
readonly?: "__readonly" | undefined;
|
|
637
|
-
}) | undefined;
|
|
638
|
-
analyzeOverrides?: {
|
|
639
|
-
individualizedVertexIds: string[];
|
|
640
|
-
defaultVertexIds: string[];
|
|
641
|
-
} | undefined;
|
|
642
|
-
readonly analyze?: {
|
|
643
|
-
readonly?: "__readonly" | undefined;
|
|
644
|
-
entrypointsByBranches: {
|
|
645
|
-
branch: string;
|
|
646
|
-
entrypointIds: string[];
|
|
647
|
-
}[];
|
|
648
|
-
branches: string[];
|
|
649
|
-
individualizedBranches: string[];
|
|
650
|
-
defaultBranches: string[];
|
|
651
|
-
usedDatasourceFields: {
|
|
652
|
-
[x: string]: string[];
|
|
653
|
-
};
|
|
654
|
-
branchesInfos: {
|
|
655
|
-
[x: string]: (string | import("./definitions").BranchInfosElementType)[][];
|
|
656
|
-
};
|
|
657
|
-
entrypointsPerDataNodeId: {
|
|
658
|
-
[x: string]: string[];
|
|
659
|
-
};
|
|
660
|
-
entrypointsPerPathId: {
|
|
661
|
-
[x: string]: string[];
|
|
662
|
-
};
|
|
663
|
-
outputsForEntrypoint: {
|
|
664
|
-
[x: string]: string[];
|
|
665
|
-
};
|
|
666
|
-
datasForEntrypoint: {
|
|
667
|
-
[x: string]: string[];
|
|
668
|
-
};
|
|
669
|
-
} | undefined;
|
|
670
|
-
}) | ({
|
|
523
|
+
}, data: {
|
|
671
524
|
name?: string | undefined;
|
|
672
525
|
description?: string | undefined;
|
|
673
526
|
resourceGroupIds?: string[] | undefined;
|
|
674
527
|
variableProfileId?: string | undefined;
|
|
675
528
|
parameterValues?: {
|
|
676
|
-
[key: string]:
|
|
677
|
-
entrypointIndex: number | null;
|
|
678
|
-
value: string;
|
|
679
|
-
} | {
|
|
529
|
+
[key: string]: {
|
|
680
530
|
entrypointId: string | null;
|
|
681
531
|
value: string;
|
|
682
|
-
}
|
|
532
|
+
}[];
|
|
683
533
|
} | undefined;
|
|
684
534
|
} & {
|
|
685
535
|
metadata?: {
|
|
@@ -722,8 +572,12 @@ export default class {
|
|
|
722
572
|
analyzeOverrides?: {
|
|
723
573
|
individualizedVertexIds: string[];
|
|
724
574
|
defaultVertexIds: string[];
|
|
575
|
+
customVertexNames: {
|
|
576
|
+
name: string;
|
|
577
|
+
vertexId: string;
|
|
578
|
+
}[];
|
|
725
579
|
} | undefined;
|
|
726
|
-
}
|
|
580
|
+
}, options?: AxiosRequestConfig<any> | undefined) => Promise<import("axios").AxiosResponse<{
|
|
727
581
|
data: {
|
|
728
582
|
readonly status: WorkflowStatus & {
|
|
729
583
|
readonly?: "__readonly" | undefined;
|
|
@@ -753,6 +607,20 @@ export default class {
|
|
|
753
607
|
readonly id: string & {
|
|
754
608
|
readonly?: "__readonly" | undefined;
|
|
755
609
|
};
|
|
610
|
+
analyzeOverrides?: {
|
|
611
|
+
individualizedVertexIds: string[];
|
|
612
|
+
defaultVertexIds: string[];
|
|
613
|
+
customVertexNames: {
|
|
614
|
+
name: string;
|
|
615
|
+
vertexId: string;
|
|
616
|
+
}[];
|
|
617
|
+
} | undefined;
|
|
618
|
+
metadata?: {
|
|
619
|
+
[x: string]: unknown;
|
|
620
|
+
} | undefined;
|
|
621
|
+
readonly state: WorkflowVersionState & {
|
|
622
|
+
readonly?: "__readonly" | undefined;
|
|
623
|
+
};
|
|
756
624
|
definition: {
|
|
757
625
|
nodes: {
|
|
758
626
|
[x: string]: {
|
|
@@ -787,16 +655,6 @@ export default class {
|
|
|
787
655
|
};
|
|
788
656
|
};
|
|
789
657
|
};
|
|
790
|
-
metadata?: {
|
|
791
|
-
[x: string]: unknown;
|
|
792
|
-
} | undefined;
|
|
793
|
-
readonly state: WorkflowVersionState & {
|
|
794
|
-
readonly?: "__readonly" | undefined;
|
|
795
|
-
};
|
|
796
|
-
analyzeOverrides?: {
|
|
797
|
-
individualizedVertexIds: string[];
|
|
798
|
-
defaultVertexIds: string[];
|
|
799
|
-
} | undefined;
|
|
800
658
|
readonly analyze: {
|
|
801
659
|
readonly?: "__readonly" | undefined;
|
|
802
660
|
entrypointsByBranches: {
|
|
@@ -828,13 +686,10 @@ export default class {
|
|
|
828
686
|
}[];
|
|
829
687
|
variableProfileId?: string | undefined;
|
|
830
688
|
parameterValues: {
|
|
831
|
-
[x: string]:
|
|
832
|
-
entrypointIndex: number | null;
|
|
833
|
-
value: string;
|
|
834
|
-
} | {
|
|
835
|
-
value: string;
|
|
689
|
+
[x: string]: {
|
|
836
690
|
entrypointId: string | null;
|
|
837
|
-
|
|
691
|
+
value: string;
|
|
692
|
+
}[];
|
|
838
693
|
};
|
|
839
694
|
readonly urls?: {
|
|
840
695
|
click: string;
|
|
@@ -898,6 +753,20 @@ export default class {
|
|
|
898
753
|
readonly id: string & {
|
|
899
754
|
readonly?: "__readonly" | undefined;
|
|
900
755
|
};
|
|
756
|
+
analyzeOverrides?: {
|
|
757
|
+
individualizedVertexIds: string[];
|
|
758
|
+
defaultVertexIds: string[];
|
|
759
|
+
customVertexNames: {
|
|
760
|
+
name: string;
|
|
761
|
+
vertexId: string;
|
|
762
|
+
}[];
|
|
763
|
+
} | undefined;
|
|
764
|
+
metadata?: {
|
|
765
|
+
[x: string]: unknown;
|
|
766
|
+
} | undefined;
|
|
767
|
+
readonly state: WorkflowVersionState & {
|
|
768
|
+
readonly?: "__readonly" | undefined;
|
|
769
|
+
};
|
|
901
770
|
definition: {
|
|
902
771
|
nodes: {
|
|
903
772
|
[x: string]: {
|
|
@@ -932,16 +801,6 @@ export default class {
|
|
|
932
801
|
};
|
|
933
802
|
};
|
|
934
803
|
};
|
|
935
|
-
metadata?: {
|
|
936
|
-
[x: string]: unknown;
|
|
937
|
-
} | undefined;
|
|
938
|
-
readonly state: WorkflowVersionState & {
|
|
939
|
-
readonly?: "__readonly" | undefined;
|
|
940
|
-
};
|
|
941
|
-
analyzeOverrides?: {
|
|
942
|
-
individualizedVertexIds: string[];
|
|
943
|
-
defaultVertexIds: string[];
|
|
944
|
-
} | undefined;
|
|
945
804
|
readonly analyze: {
|
|
946
805
|
readonly?: "__readonly" | undefined;
|
|
947
806
|
entrypointsByBranches: {
|
|
@@ -973,13 +832,10 @@ export default class {
|
|
|
973
832
|
}[];
|
|
974
833
|
variableProfileId?: string | undefined;
|
|
975
834
|
parameterValues: {
|
|
976
|
-
[x: string]:
|
|
977
|
-
entrypointIndex: number | null;
|
|
978
|
-
value: string;
|
|
979
|
-
} | {
|
|
980
|
-
value: string;
|
|
835
|
+
[x: string]: {
|
|
981
836
|
entrypointId: string | null;
|
|
982
|
-
|
|
837
|
+
value: string;
|
|
838
|
+
}[];
|
|
983
839
|
};
|
|
984
840
|
readonly urls?: {
|
|
985
841
|
click: string;
|
|
@@ -1032,6 +888,20 @@ export default class {
|
|
|
1032
888
|
readonly id: string & {
|
|
1033
889
|
readonly?: "__readonly" | undefined;
|
|
1034
890
|
};
|
|
891
|
+
analyzeOverrides?: {
|
|
892
|
+
individualizedVertexIds: string[];
|
|
893
|
+
defaultVertexIds: string[];
|
|
894
|
+
customVertexNames: {
|
|
895
|
+
name: string;
|
|
896
|
+
vertexId: string;
|
|
897
|
+
}[];
|
|
898
|
+
} | undefined;
|
|
899
|
+
metadata?: {
|
|
900
|
+
[x: string]: unknown;
|
|
901
|
+
} | undefined;
|
|
902
|
+
readonly state: WorkflowVersionState & {
|
|
903
|
+
readonly?: "__readonly" | undefined;
|
|
904
|
+
};
|
|
1035
905
|
definition: {
|
|
1036
906
|
nodes: {
|
|
1037
907
|
[x: string]: {
|
|
@@ -1066,16 +936,6 @@ export default class {
|
|
|
1066
936
|
};
|
|
1067
937
|
};
|
|
1068
938
|
};
|
|
1069
|
-
metadata?: {
|
|
1070
|
-
[x: string]: unknown;
|
|
1071
|
-
} | undefined;
|
|
1072
|
-
readonly state: WorkflowVersionState & {
|
|
1073
|
-
readonly?: "__readonly" | undefined;
|
|
1074
|
-
};
|
|
1075
|
-
analyzeOverrides?: {
|
|
1076
|
-
individualizedVertexIds: string[];
|
|
1077
|
-
defaultVertexIds: string[];
|
|
1078
|
-
} | undefined;
|
|
1079
939
|
readonly analyze: {
|
|
1080
940
|
readonly?: "__readonly" | undefined;
|
|
1081
941
|
entrypointsByBranches: {
|
|
@@ -1107,13 +967,10 @@ export default class {
|
|
|
1107
967
|
}[];
|
|
1108
968
|
variableProfileId?: string | undefined;
|
|
1109
969
|
parameterValues: {
|
|
1110
|
-
[x: string]:
|
|
1111
|
-
entrypointIndex: number | null;
|
|
1112
|
-
value: string;
|
|
1113
|
-
} | {
|
|
1114
|
-
value: string;
|
|
970
|
+
[x: string]: {
|
|
1115
971
|
entrypointId: string | null;
|
|
1116
|
-
|
|
972
|
+
value: string;
|
|
973
|
+
}[];
|
|
1117
974
|
};
|
|
1118
975
|
readonly urls?: {
|
|
1119
976
|
click: string;
|
|
@@ -1141,6 +998,10 @@ export default class {
|
|
|
1141
998
|
analyzeOverrides?: {
|
|
1142
999
|
individualizedVertexIds: string[];
|
|
1143
1000
|
defaultVertexIds: string[];
|
|
1001
|
+
customVertexNames: {
|
|
1002
|
+
name: string;
|
|
1003
|
+
vertexId: string;
|
|
1004
|
+
}[];
|
|
1144
1005
|
} | undefined;
|
|
1145
1006
|
}, options?: AxiosRequestConfig<any> | undefined) => Promise<import("axios").AxiosResponse<{
|
|
1146
1007
|
data: {
|
|
@@ -1172,6 +1033,20 @@ export default class {
|
|
|
1172
1033
|
readonly id: string & {
|
|
1173
1034
|
readonly?: "__readonly" | undefined;
|
|
1174
1035
|
};
|
|
1036
|
+
analyzeOverrides?: {
|
|
1037
|
+
individualizedVertexIds: string[];
|
|
1038
|
+
defaultVertexIds: string[];
|
|
1039
|
+
customVertexNames: {
|
|
1040
|
+
name: string;
|
|
1041
|
+
vertexId: string;
|
|
1042
|
+
}[];
|
|
1043
|
+
} | undefined;
|
|
1044
|
+
metadata?: {
|
|
1045
|
+
[x: string]: unknown;
|
|
1046
|
+
} | undefined;
|
|
1047
|
+
readonly state: WorkflowVersionState & {
|
|
1048
|
+
readonly?: "__readonly" | undefined;
|
|
1049
|
+
};
|
|
1175
1050
|
definition: {
|
|
1176
1051
|
nodes: {
|
|
1177
1052
|
[x: string]: {
|
|
@@ -1206,16 +1081,6 @@ export default class {
|
|
|
1206
1081
|
};
|
|
1207
1082
|
};
|
|
1208
1083
|
};
|
|
1209
|
-
metadata?: {
|
|
1210
|
-
[x: string]: unknown;
|
|
1211
|
-
} | undefined;
|
|
1212
|
-
readonly state: WorkflowVersionState & {
|
|
1213
|
-
readonly?: "__readonly" | undefined;
|
|
1214
|
-
};
|
|
1215
|
-
analyzeOverrides?: {
|
|
1216
|
-
individualizedVertexIds: string[];
|
|
1217
|
-
defaultVertexIds: string[];
|
|
1218
|
-
} | undefined;
|
|
1219
1084
|
readonly analyze: {
|
|
1220
1085
|
readonly?: "__readonly" | undefined;
|
|
1221
1086
|
entrypointsByBranches: {
|
|
@@ -1247,13 +1112,10 @@ export default class {
|
|
|
1247
1112
|
}[];
|
|
1248
1113
|
variableProfileId?: string | undefined;
|
|
1249
1114
|
parameterValues: {
|
|
1250
|
-
[x: string]:
|
|
1251
|
-
entrypointIndex: number | null;
|
|
1252
|
-
value: string;
|
|
1253
|
-
} | {
|
|
1254
|
-
value: string;
|
|
1115
|
+
[x: string]: {
|
|
1255
1116
|
entrypointId: string | null;
|
|
1256
|
-
|
|
1117
|
+
value: string;
|
|
1118
|
+
}[];
|
|
1257
1119
|
};
|
|
1258
1120
|
readonly urls?: {
|
|
1259
1121
|
click: string;
|
|
@@ -1279,6 +1141,7 @@ export default class {
|
|
|
1279
1141
|
run: (params: {
|
|
1280
1142
|
id: string;
|
|
1281
1143
|
indexOrId: string | number;
|
|
1144
|
+
userFromPath?: string | undefined;
|
|
1282
1145
|
'rlvt-u'?: string | string[] | undefined;
|
|
1283
1146
|
mode?: "debug" | "click" | "display" | "ui-debug" | undefined;
|
|
1284
1147
|
'no-cache'?: boolean | undefined;
|
package/build/api.js
CHANGED
|
@@ -64,7 +64,7 @@ class default_1 {
|
|
|
64
64
|
return this.axios.post("/workflows/{id}/versions/{versionId}".replace(/{id}/, String(params["id"])).replace(/{versionId}/, String(params["versionId"])), data, options);
|
|
65
65
|
}
|
|
66
66
|
run(params, options) {
|
|
67
|
-
return this.axios.get("/workflows/run/{id}/{indexOrId}".replace(/{id}/, String(params["id"])).replace(/{indexOrId}/, String(params["indexOrId"])), Object.assign({}, {
|
|
67
|
+
return this.axios.get("/workflows/run/{id}/{indexOrId}/{userFromPath?}".replace(/{id}/, String(params["id"])).replace(/{indexOrId}/, String(params["indexOrId"])).replace(/{userFromPath}/, String(params["userFromPath"])), Object.assign({}, {
|
|
68
68
|
params: pick(params, "rlvt-u", "mode", "no-cache", "dry-run"),
|
|
69
69
|
}, options));
|
|
70
70
|
}
|
|
@@ -119,4 +119,4 @@ function pick(obj, ...keys) {
|
|
|
119
119
|
});
|
|
120
120
|
return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FBRyxDQUFDLEVBQUU7UUFDZixJQUFJLEdBQUcsSUFBSSxNQUFNLENBQUMsSUFBSSxDQUFDLEdBQUcsQ0FBQyxDQUFDLFFBQVEsQ0FBQyxHQUFhLENBQUM7WUFDL0MsR0FBRyxDQUFDLEdBQUcsQ0FBQyxHQUFHLEdBQUcsQ0FBQyxHQUFHLENBQUMsQ0FBQztJQUM1QixDQUFDLENBQUMsQ0FBQztJQUNILE9BQU8sR0FBRyxDQUFDO0FBQ2YsQ0FBQyJ9
|
package/build/definitions.d.ts
CHANGED
|
@@ -18,35 +18,39 @@ export declare type WithoutWriteonly<T> = T extends any ? T extends Primitive ?
|
|
|
18
18
|
[key in keyof Pick<T, PropsWithoutWriteonly<T>>]: Pick<T, PropsWithoutWriteonly<T>>[key] extends any ? WithoutWriteonly<Pick<T, PropsWithoutWriteonly<T>>[key]> : never;
|
|
19
19
|
} : never;
|
|
20
20
|
export declare type AnyValue = unknown | null;
|
|
21
|
-
export declare type
|
|
22
|
-
entrypoints: {
|
|
23
|
-
type: "email" | "raw" | "mobile-push-image" | "mobile-app-image" | "web-image" | "mobile-sms-preview";
|
|
24
|
-
node: string;
|
|
25
|
-
}[];
|
|
21
|
+
export declare type Workflow = {
|
|
26
22
|
nodes: {
|
|
27
23
|
[key: string]: {
|
|
28
|
-
|
|
29
|
-
config: {
|
|
30
|
-
[key: string]: AnyValue;
|
|
31
|
-
};
|
|
32
|
-
dependencies: string[];
|
|
24
|
+
type: string;
|
|
33
25
|
metadata: {
|
|
34
26
|
[key: string]: AnyValue;
|
|
35
27
|
};
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
node: string;
|
|
40
|
-
config: {
|
|
28
|
+
paths: {
|
|
29
|
+
id: string;
|
|
30
|
+
options: {
|
|
41
31
|
[key: string]: AnyValue;
|
|
42
32
|
};
|
|
43
33
|
}[];
|
|
44
|
-
|
|
34
|
+
} | {
|
|
35
|
+
type: string;
|
|
36
|
+
options: {
|
|
37
|
+
[key: string]: AnyValue;
|
|
38
|
+
};
|
|
45
39
|
metadata: {
|
|
46
40
|
[key: string]: AnyValue;
|
|
47
41
|
};
|
|
48
42
|
};
|
|
49
43
|
};
|
|
44
|
+
entrypoints: {
|
|
45
|
+
[key: string]: {
|
|
46
|
+
type: "email" | "raw" | "mobile-push-image" | "mobile-app-image" | "web-image" | "mobile-sms-preview";
|
|
47
|
+
};
|
|
48
|
+
};
|
|
49
|
+
edges: {
|
|
50
|
+
[key: string]: {
|
|
51
|
+
to: string;
|
|
52
|
+
};
|
|
53
|
+
};
|
|
50
54
|
};
|
|
51
55
|
export declare type SerializedWorkflowTemplate = {
|
|
52
56
|
readonly id: (string) & readonlyP;
|
|
@@ -57,7 +61,7 @@ export declare type SerializedWorkflowTemplate = {
|
|
|
57
61
|
description?: string;
|
|
58
62
|
categories: string[];
|
|
59
63
|
feature?: string;
|
|
60
|
-
template:
|
|
64
|
+
template: Workflow;
|
|
61
65
|
metadata?: {
|
|
62
66
|
[key: string]: AnyValue;
|
|
63
67
|
};
|
|
@@ -89,43 +93,13 @@ export declare enum WorkflowVersionState {
|
|
|
89
93
|
LIVE = "live",
|
|
90
94
|
INACTIVE = "inactive"
|
|
91
95
|
}
|
|
92
|
-
export declare type Workflow = {
|
|
93
|
-
nodes: {
|
|
94
|
-
[key: string]: {
|
|
95
|
-
type: string;
|
|
96
|
-
metadata: {
|
|
97
|
-
[key: string]: AnyValue;
|
|
98
|
-
};
|
|
99
|
-
paths: {
|
|
100
|
-
id: string;
|
|
101
|
-
options: {
|
|
102
|
-
[key: string]: AnyValue;
|
|
103
|
-
};
|
|
104
|
-
}[];
|
|
105
|
-
} | {
|
|
106
|
-
type: string;
|
|
107
|
-
options: {
|
|
108
|
-
[key: string]: AnyValue;
|
|
109
|
-
};
|
|
110
|
-
metadata: {
|
|
111
|
-
[key: string]: AnyValue;
|
|
112
|
-
};
|
|
113
|
-
};
|
|
114
|
-
};
|
|
115
|
-
entrypoints: {
|
|
116
|
-
[key: string]: {
|
|
117
|
-
type: "email" | "raw" | "mobile-push-image" | "mobile-app-image" | "web-image" | "mobile-sms-preview";
|
|
118
|
-
};
|
|
119
|
-
};
|
|
120
|
-
edges: {
|
|
121
|
-
[key: string]: {
|
|
122
|
-
to: string;
|
|
123
|
-
};
|
|
124
|
-
};
|
|
125
|
-
};
|
|
126
96
|
export declare type AnalyzerOverrides = {
|
|
127
97
|
individualizedVertexIds: string[];
|
|
128
98
|
defaultVertexIds: string[];
|
|
99
|
+
customVertexNames: {
|
|
100
|
+
vertexId: string;
|
|
101
|
+
name: string;
|
|
102
|
+
}[];
|
|
129
103
|
};
|
|
130
104
|
export declare type BranchInfosElementType = 0 | 1 | 2;
|
|
131
105
|
export declare type WorkflowAnalyze_Without_OutputsForEntrypoint_DatasForEntrypoint = {
|
|
@@ -187,13 +161,10 @@ export declare type SerializedWorkflow = {
|
|
|
187
161
|
description?: string;
|
|
188
162
|
variableProfileId?: string;
|
|
189
163
|
parameterValues: {
|
|
190
|
-
[key: string]:
|
|
191
|
-
entrypointIndex: number | null;
|
|
192
|
-
value: string;
|
|
193
|
-
} | {
|
|
164
|
+
[key: string]: {
|
|
194
165
|
entrypointId: string | null;
|
|
195
166
|
value: string;
|
|
196
|
-
}
|
|
167
|
+
}[];
|
|
197
168
|
};
|
|
198
169
|
readonly urls?: ({
|
|
199
170
|
type: "email" | "raw" | "mobile-push-image" | "mobile-app-image" | "web-image" | "mobile-sms-preview";
|
|
@@ -250,72 +221,6 @@ export declare type SuccessResponse = {
|
|
|
250
221
|
message: string;
|
|
251
222
|
data: {};
|
|
252
223
|
};
|
|
253
|
-
export declare type LegacyWorkflowVersion = {
|
|
254
|
-
definition: LegacyWorkflow;
|
|
255
|
-
metadata?: {
|
|
256
|
-
[key: string]: AnyValue;
|
|
257
|
-
};
|
|
258
|
-
readonly state: (WorkflowVersionState) & readonlyP;
|
|
259
|
-
analyzeOverrides?: AnalyzerOverrides;
|
|
260
|
-
readonly analyze: (WorkflowAnalyze_Without_OutputsForEntrypoint_DatasForEntrypoint & {
|
|
261
|
-
outputsForEntrypoint: {
|
|
262
|
-
[key: string]: string[];
|
|
263
|
-
};
|
|
264
|
-
datasForEntrypoint: {
|
|
265
|
-
[key: string]: string[];
|
|
266
|
-
};
|
|
267
|
-
}) & readonlyP;
|
|
268
|
-
readonly updatedAt: (string) & readonlyP;
|
|
269
|
-
readonly createdAt: (string) & readonlyP;
|
|
270
|
-
};
|
|
271
|
-
export declare type LegacyWorkflowDocument_Partial = {
|
|
272
|
-
versions?: LegacyWorkflowVersion[];
|
|
273
|
-
readonly companyId?: (string) & readonlyP;
|
|
274
|
-
name?: string;
|
|
275
|
-
description?: string;
|
|
276
|
-
readonly id?: (string) & readonlyP;
|
|
277
|
-
resourceGroupIds?: string[];
|
|
278
|
-
variableProfileId?: string;
|
|
279
|
-
parameterValues?: {
|
|
280
|
-
[key: string]: ({
|
|
281
|
-
entrypointIndex: number | null;
|
|
282
|
-
value: string;
|
|
283
|
-
} | {
|
|
284
|
-
entrypointId: string | null;
|
|
285
|
-
value: string;
|
|
286
|
-
})[];
|
|
287
|
-
};
|
|
288
|
-
readonly urls?: ({
|
|
289
|
-
type: "email" | "raw" | "mobile-push-image" | "mobile-app-image" | "web-image" | "mobile-sms-preview";
|
|
290
|
-
parameters: {
|
|
291
|
-
[key: string]: string;
|
|
292
|
-
};
|
|
293
|
-
display: string;
|
|
294
|
-
click: string;
|
|
295
|
-
}[]) & readonlyP;
|
|
296
|
-
readonly status?: (WorkflowStatus) & readonlyP;
|
|
297
|
-
readonly archivedAt?: (string) & readonlyP;
|
|
298
|
-
readonly updatedAt?: (string) & readonlyP;
|
|
299
|
-
readonly createdAt?: (string) & readonlyP;
|
|
300
|
-
};
|
|
301
|
-
export declare type LegacyWorkflowVersion_Partial = {
|
|
302
|
-
definition?: LegacyWorkflow;
|
|
303
|
-
metadata?: {
|
|
304
|
-
[key: string]: AnyValue;
|
|
305
|
-
};
|
|
306
|
-
readonly state?: (WorkflowVersionState) & readonlyP;
|
|
307
|
-
analyzeOverrides?: AnalyzerOverrides;
|
|
308
|
-
readonly analyze?: (WorkflowAnalyze_Without_OutputsForEntrypoint_DatasForEntrypoint & {
|
|
309
|
-
outputsForEntrypoint: {
|
|
310
|
-
[key: string]: string[];
|
|
311
|
-
};
|
|
312
|
-
datasForEntrypoint: {
|
|
313
|
-
[key: string]: string[];
|
|
314
|
-
};
|
|
315
|
-
}) & readonlyP;
|
|
316
|
-
readonly updatedAt?: (string) & readonlyP;
|
|
317
|
-
readonly createdAt?: (string) & readonlyP;
|
|
318
|
-
};
|
|
319
224
|
export declare type Error = {
|
|
320
225
|
path: string;
|
|
321
226
|
message: string;
|
package/build/definitions.js
CHANGED
|
@@ -17,4 +17,4 @@ var WorkflowStatus;
|
|
|
17
17
|
WorkflowStatus["ERROR"] = "error";
|
|
18
18
|
WorkflowStatus["INACTIVE"] = "inactive";
|
|
19
19
|
})(WorkflowStatus = exports.WorkflowStatus || (exports.WorkflowStatus = {}));
|
|
20
|
-
//# sourceMappingURL=data:application/json;base64,
|
|
20
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiZGVmaW5pdGlvbnMuanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi9kZWZpbml0aW9ucy50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiO0FBQUEsb0JBQW9CO0FBQ3BCLG9CQUFvQjs7O0FBeUdwQixJQUFZLG9CQUlYO0FBSkQsV0FBWSxvQkFBb0I7SUFDNUIsdUNBQWUsQ0FBQTtJQUNmLHFDQUFhLENBQUE7SUFDYiw2Q0FBcUIsQ0FBQTtBQUN6QixDQUFDLEVBSlcsb0JBQW9CLEdBQXBCLDRCQUFvQixLQUFwQiw0QkFBb0IsUUFJL0I7QUFxREQsSUFBWSxjQU1YO0FBTkQsV0FBWSxjQUFjO0lBQ3RCLGlDQUFlLENBQUE7SUFDZiwyQ0FBeUIsQ0FBQTtJQUN6Qix5Q0FBdUIsQ0FBQTtJQUN2QixpQ0FBZSxDQUFBO0lBQ2YsdUNBQXFCLENBQUE7QUFDekIsQ0FBQyxFQU5XLGNBQWMsR0FBZCxzQkFBYyxLQUFkLHNCQUFjLFFBTXpCIn0=
|
package/package.json
CHANGED