@rlvt/workflows-openapi-client 1.0.223 → 1.0.226
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 +64 -68
- package/build/definitions.d.ts +17 -51
- package/build/definitions.js +1 -1
- package/package.json +1 -1
package/build/api.d.ts
CHANGED
|
@@ -50,36 +50,32 @@ export default class {
|
|
|
50
50
|
slug?: string | undefined;
|
|
51
51
|
feature?: string | undefined;
|
|
52
52
|
template: {
|
|
53
|
+
entrypoints: {
|
|
54
|
+
type: "email" | "raw" | "mobile-push-image" | "mobile-app-image" | "web-image";
|
|
55
|
+
node: string;
|
|
56
|
+
}[];
|
|
53
57
|
nodes: {
|
|
54
58
|
[x: string]: {
|
|
59
|
+
name: string;
|
|
55
60
|
metadata: {
|
|
56
61
|
[x: string]: unknown;
|
|
57
62
|
};
|
|
58
|
-
|
|
59
|
-
paths: {
|
|
60
|
-
options: {
|
|
61
|
-
[x: string]: unknown;
|
|
62
|
-
};
|
|
63
|
-
id: string;
|
|
64
|
-
}[];
|
|
65
|
-
} | {
|
|
66
|
-
options: {
|
|
63
|
+
config: {
|
|
67
64
|
[x: string]: unknown;
|
|
68
65
|
};
|
|
66
|
+
dependencies: string[];
|
|
67
|
+
} | {
|
|
68
|
+
name: string;
|
|
69
69
|
metadata: {
|
|
70
70
|
[x: string]: unknown;
|
|
71
71
|
};
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
};
|
|
80
|
-
edges: {
|
|
81
|
-
[x: string]: {
|
|
82
|
-
to: string;
|
|
72
|
+
dependencies: string[];
|
|
73
|
+
edges: {
|
|
74
|
+
node: string;
|
|
75
|
+
config: {
|
|
76
|
+
[x: string]: unknown;
|
|
77
|
+
};
|
|
78
|
+
}[];
|
|
83
79
|
};
|
|
84
80
|
};
|
|
85
81
|
};
|
|
@@ -143,6 +139,10 @@ export default class {
|
|
|
143
139
|
readonly?: "__readonly" | undefined;
|
|
144
140
|
};
|
|
145
141
|
definition: {
|
|
142
|
+
entrypoints: {
|
|
143
|
+
type: "email" | "raw" | "mobile-push-image" | "mobile-app-image" | "web-image";
|
|
144
|
+
node: string;
|
|
145
|
+
}[];
|
|
146
146
|
nodes: {
|
|
147
147
|
[x: string]: {
|
|
148
148
|
name: string;
|
|
@@ -158,19 +158,15 @@ export default class {
|
|
|
158
158
|
metadata: {
|
|
159
159
|
[x: string]: unknown;
|
|
160
160
|
};
|
|
161
|
+
dependencies: string[];
|
|
161
162
|
edges: {
|
|
163
|
+
node: string;
|
|
162
164
|
config: {
|
|
163
165
|
[x: string]: unknown;
|
|
164
166
|
};
|
|
165
|
-
node: string;
|
|
166
167
|
}[];
|
|
167
|
-
dependencies: string[];
|
|
168
168
|
};
|
|
169
169
|
};
|
|
170
|
-
entrypoints: {
|
|
171
|
-
type: "email" | "raw" | "mobile-push-image" | "mobile-app-image" | "web-image";
|
|
172
|
-
node: string;
|
|
173
|
-
}[];
|
|
174
170
|
};
|
|
175
171
|
metadata?: {
|
|
176
172
|
[x: string]: unknown;
|
|
@@ -268,6 +264,10 @@ export default class {
|
|
|
268
264
|
readonly?: "__readonly" | undefined;
|
|
269
265
|
};
|
|
270
266
|
definition: {
|
|
267
|
+
entrypoints: {
|
|
268
|
+
type: "email" | "raw" | "mobile-push-image" | "mobile-app-image" | "web-image";
|
|
269
|
+
node: string;
|
|
270
|
+
}[];
|
|
271
271
|
nodes: {
|
|
272
272
|
[x: string]: {
|
|
273
273
|
name: string;
|
|
@@ -283,19 +283,15 @@ export default class {
|
|
|
283
283
|
metadata: {
|
|
284
284
|
[x: string]: unknown;
|
|
285
285
|
};
|
|
286
|
+
dependencies: string[];
|
|
286
287
|
edges: {
|
|
288
|
+
node: string;
|
|
287
289
|
config: {
|
|
288
290
|
[x: string]: unknown;
|
|
289
291
|
};
|
|
290
|
-
node: string;
|
|
291
292
|
}[];
|
|
292
|
-
dependencies: string[];
|
|
293
293
|
};
|
|
294
294
|
};
|
|
295
|
-
entrypoints: {
|
|
296
|
-
type: "email" | "raw" | "mobile-push-image" | "mobile-app-image" | "web-image";
|
|
297
|
-
node: string;
|
|
298
|
-
}[];
|
|
299
295
|
};
|
|
300
296
|
metadata?: {
|
|
301
297
|
[x: string]: unknown;
|
|
@@ -392,6 +388,10 @@ export default class {
|
|
|
392
388
|
readonly?: "__readonly" | undefined;
|
|
393
389
|
};
|
|
394
390
|
definition: {
|
|
391
|
+
entrypoints: {
|
|
392
|
+
type: "email" | "raw" | "mobile-push-image" | "mobile-app-image" | "web-image";
|
|
393
|
+
node: string;
|
|
394
|
+
}[];
|
|
395
395
|
nodes: {
|
|
396
396
|
[x: string]: {
|
|
397
397
|
name: string;
|
|
@@ -407,19 +407,15 @@ export default class {
|
|
|
407
407
|
metadata: {
|
|
408
408
|
[x: string]: unknown;
|
|
409
409
|
};
|
|
410
|
+
dependencies: string[];
|
|
410
411
|
edges: {
|
|
412
|
+
node: string;
|
|
411
413
|
config: {
|
|
412
414
|
[x: string]: unknown;
|
|
413
415
|
};
|
|
414
|
-
node: string;
|
|
415
416
|
}[];
|
|
416
|
-
dependencies: string[];
|
|
417
417
|
};
|
|
418
418
|
};
|
|
419
|
-
entrypoints: {
|
|
420
|
-
type: "email" | "raw" | "mobile-push-image" | "mobile-app-image" | "web-image";
|
|
421
|
-
node: string;
|
|
422
|
-
}[];
|
|
423
419
|
};
|
|
424
420
|
metadata?: {
|
|
425
421
|
[x: string]: unknown;
|
|
@@ -502,6 +498,10 @@ export default class {
|
|
|
502
498
|
}) | undefined;
|
|
503
499
|
versions?: {
|
|
504
500
|
definition: {
|
|
501
|
+
entrypoints: {
|
|
502
|
+
type: "email" | "raw" | "mobile-push-image" | "mobile-app-image" | "web-image";
|
|
503
|
+
node: string;
|
|
504
|
+
}[];
|
|
505
505
|
nodes: {
|
|
506
506
|
[x: string]: {
|
|
507
507
|
name: string;
|
|
@@ -517,19 +517,15 @@ export default class {
|
|
|
517
517
|
metadata: {
|
|
518
518
|
[x: string]: unknown;
|
|
519
519
|
};
|
|
520
|
+
dependencies: string[];
|
|
520
521
|
edges: {
|
|
522
|
+
node: string;
|
|
521
523
|
config: {
|
|
522
524
|
[x: string]: unknown;
|
|
523
525
|
};
|
|
524
|
-
node: string;
|
|
525
526
|
}[];
|
|
526
|
-
dependencies: string[];
|
|
527
527
|
};
|
|
528
528
|
};
|
|
529
|
-
entrypoints: {
|
|
530
|
-
type: "email" | "raw" | "mobile-push-image" | "mobile-app-image" | "web-image";
|
|
531
|
-
node: string;
|
|
532
|
-
}[];
|
|
533
529
|
};
|
|
534
530
|
metadata?: {
|
|
535
531
|
[x: string]: unknown;
|
|
@@ -564,6 +560,10 @@ export default class {
|
|
|
564
560
|
readonly?: "__readonly" | undefined;
|
|
565
561
|
}) | undefined;
|
|
566
562
|
definition?: {
|
|
563
|
+
entrypoints: {
|
|
564
|
+
type: "email" | "raw" | "mobile-push-image" | "mobile-app-image" | "web-image";
|
|
565
|
+
node: string;
|
|
566
|
+
}[];
|
|
567
567
|
nodes: {
|
|
568
568
|
[x: string]: {
|
|
569
569
|
name: string;
|
|
@@ -579,19 +579,15 @@ export default class {
|
|
|
579
579
|
metadata: {
|
|
580
580
|
[x: string]: unknown;
|
|
581
581
|
};
|
|
582
|
+
dependencies: string[];
|
|
582
583
|
edges: {
|
|
584
|
+
node: string;
|
|
583
585
|
config: {
|
|
584
586
|
[x: string]: unknown;
|
|
585
587
|
};
|
|
586
|
-
node: string;
|
|
587
588
|
}[];
|
|
588
|
-
dependencies: string[];
|
|
589
589
|
};
|
|
590
590
|
};
|
|
591
|
-
entrypoints: {
|
|
592
|
-
type: "email" | "raw" | "mobile-push-image" | "mobile-app-image" | "web-image";
|
|
593
|
-
node: string;
|
|
594
|
-
}[];
|
|
595
591
|
} | undefined;
|
|
596
592
|
metadata?: {
|
|
597
593
|
[x: string]: unknown;
|
|
@@ -661,6 +657,10 @@ export default class {
|
|
|
661
657
|
readonly?: "__readonly" | undefined;
|
|
662
658
|
};
|
|
663
659
|
definition: {
|
|
660
|
+
entrypoints: {
|
|
661
|
+
type: "email" | "raw" | "mobile-push-image" | "mobile-app-image" | "web-image";
|
|
662
|
+
node: string;
|
|
663
|
+
}[];
|
|
664
664
|
nodes: {
|
|
665
665
|
[x: string]: {
|
|
666
666
|
name: string;
|
|
@@ -676,19 +676,15 @@ export default class {
|
|
|
676
676
|
metadata: {
|
|
677
677
|
[x: string]: unknown;
|
|
678
678
|
};
|
|
679
|
+
dependencies: string[];
|
|
679
680
|
edges: {
|
|
681
|
+
node: string;
|
|
680
682
|
config: {
|
|
681
683
|
[x: string]: unknown;
|
|
682
684
|
};
|
|
683
|
-
node: string;
|
|
684
685
|
}[];
|
|
685
|
-
dependencies: string[];
|
|
686
686
|
};
|
|
687
687
|
};
|
|
688
|
-
entrypoints: {
|
|
689
|
-
type: "email" | "raw" | "mobile-push-image" | "mobile-app-image" | "web-image";
|
|
690
|
-
node: string;
|
|
691
|
-
}[];
|
|
692
688
|
};
|
|
693
689
|
metadata?: {
|
|
694
690
|
[x: string]: unknown;
|
|
@@ -795,6 +791,10 @@ export default class {
|
|
|
795
791
|
readonly?: "__readonly" | undefined;
|
|
796
792
|
};
|
|
797
793
|
definition: {
|
|
794
|
+
entrypoints: {
|
|
795
|
+
type: "email" | "raw" | "mobile-push-image" | "mobile-app-image" | "web-image";
|
|
796
|
+
node: string;
|
|
797
|
+
}[];
|
|
798
798
|
nodes: {
|
|
799
799
|
[x: string]: {
|
|
800
800
|
name: string;
|
|
@@ -810,19 +810,15 @@ export default class {
|
|
|
810
810
|
metadata: {
|
|
811
811
|
[x: string]: unknown;
|
|
812
812
|
};
|
|
813
|
+
dependencies: string[];
|
|
813
814
|
edges: {
|
|
815
|
+
node: string;
|
|
814
816
|
config: {
|
|
815
817
|
[x: string]: unknown;
|
|
816
818
|
};
|
|
817
|
-
node: string;
|
|
818
819
|
}[];
|
|
819
|
-
dependencies: string[];
|
|
820
820
|
};
|
|
821
821
|
};
|
|
822
|
-
entrypoints: {
|
|
823
|
-
type: "email" | "raw" | "mobile-push-image" | "mobile-app-image" | "web-image";
|
|
824
|
-
node: string;
|
|
825
|
-
}[];
|
|
826
822
|
};
|
|
827
823
|
metadata?: {
|
|
828
824
|
[x: string]: unknown;
|
|
@@ -918,6 +914,10 @@ export default class {
|
|
|
918
914
|
readonly?: "__readonly" | undefined;
|
|
919
915
|
};
|
|
920
916
|
definition: {
|
|
917
|
+
entrypoints: {
|
|
918
|
+
type: "email" | "raw" | "mobile-push-image" | "mobile-app-image" | "web-image";
|
|
919
|
+
node: string;
|
|
920
|
+
}[];
|
|
921
921
|
nodes: {
|
|
922
922
|
[x: string]: {
|
|
923
923
|
name: string;
|
|
@@ -933,19 +933,15 @@ export default class {
|
|
|
933
933
|
metadata: {
|
|
934
934
|
[x: string]: unknown;
|
|
935
935
|
};
|
|
936
|
+
dependencies: string[];
|
|
936
937
|
edges: {
|
|
938
|
+
node: string;
|
|
937
939
|
config: {
|
|
938
940
|
[x: string]: unknown;
|
|
939
941
|
};
|
|
940
|
-
node: string;
|
|
941
942
|
}[];
|
|
942
|
-
dependencies: string[];
|
|
943
943
|
};
|
|
944
944
|
};
|
|
945
|
-
entrypoints: {
|
|
946
|
-
type: "email" | "raw" | "mobile-push-image" | "mobile-app-image" | "web-image";
|
|
947
|
-
node: string;
|
|
948
|
-
}[];
|
|
949
945
|
};
|
|
950
946
|
metadata?: {
|
|
951
947
|
[x: string]: unknown;
|
package/build/definitions.d.ts
CHANGED
|
@@ -18,39 +18,35 @@ 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
|
|
21
|
+
export declare type LegacyWorkflow = {
|
|
22
|
+
entrypoints: {
|
|
23
|
+
type: "email" | "raw" | "mobile-push-image" | "mobile-app-image" | "web-image";
|
|
24
|
+
node: string;
|
|
25
|
+
}[];
|
|
22
26
|
nodes: {
|
|
23
27
|
[key: string]: {
|
|
24
|
-
|
|
28
|
+
name: string;
|
|
29
|
+
config: {
|
|
30
|
+
[key: string]: AnyValue;
|
|
31
|
+
};
|
|
32
|
+
dependencies: string[];
|
|
25
33
|
metadata: {
|
|
26
34
|
[key: string]: AnyValue;
|
|
27
35
|
};
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
36
|
+
} | {
|
|
37
|
+
name: string;
|
|
38
|
+
edges: {
|
|
39
|
+
node: string;
|
|
40
|
+
config: {
|
|
31
41
|
[key: string]: AnyValue;
|
|
32
42
|
};
|
|
33
43
|
}[];
|
|
34
|
-
|
|
35
|
-
type: string;
|
|
36
|
-
options: {
|
|
37
|
-
[key: string]: AnyValue;
|
|
38
|
-
};
|
|
44
|
+
dependencies: string[];
|
|
39
45
|
metadata: {
|
|
40
46
|
[key: string]: AnyValue;
|
|
41
47
|
};
|
|
42
48
|
};
|
|
43
49
|
};
|
|
44
|
-
entrypoints: {
|
|
45
|
-
[key: string]: {
|
|
46
|
-
type: "email" | "raw" | "mobile-push-image" | "mobile-app-image" | "web-image";
|
|
47
|
-
};
|
|
48
|
-
};
|
|
49
|
-
edges: {
|
|
50
|
-
[key: string]: {
|
|
51
|
-
to: string;
|
|
52
|
-
};
|
|
53
|
-
};
|
|
54
50
|
};
|
|
55
51
|
export declare type SerializedWorkflowTemplate = {
|
|
56
52
|
readonly id: (string) & readonlyP;
|
|
@@ -61,7 +57,7 @@ export declare type SerializedWorkflowTemplate = {
|
|
|
61
57
|
description?: string;
|
|
62
58
|
categories: string[];
|
|
63
59
|
feature?: string;
|
|
64
|
-
template:
|
|
60
|
+
template: LegacyWorkflow;
|
|
65
61
|
metadata?: {
|
|
66
62
|
[key: string]: AnyValue;
|
|
67
63
|
};
|
|
@@ -88,36 +84,6 @@ export declare type SuccessResponse_string = {
|
|
|
88
84
|
message: string;
|
|
89
85
|
data: string[];
|
|
90
86
|
};
|
|
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
|
-
};
|
|
121
87
|
export declare enum WorkflowVersionState {
|
|
122
88
|
DRAFT = "draft",
|
|
123
89
|
LIVE = "live",
|
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,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiZGVmaW5pdGlvbnMuanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi9kZWZpbml0aW9ucy50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiO0FBQUEsb0JBQW9CO0FBQ3BCLG9CQUFvQjs7O0FBcUdwQixJQUFZLG9CQUlYO0FBSkQsV0FBWSxvQkFBb0I7SUFDNUIsdUNBQWUsQ0FBQTtJQUNmLHFDQUFhLENBQUE7SUFDYiw2Q0FBcUIsQ0FBQTtBQUN6QixDQUFDLEVBSlcsb0JBQW9CLEdBQXBCLDRCQUFvQixLQUFwQiw0QkFBb0IsUUFJL0I7QUFrQ0QsSUFBWSxjQUtYO0FBTEQsV0FBWSxjQUFjO0lBQ3RCLGlDQUFlLENBQUE7SUFDZiwyQ0FBeUIsQ0FBQTtJQUN6Qix5Q0FBdUIsQ0FBQTtJQUN2QixpQ0FBZSxDQUFBO0FBQ25CLENBQUMsRUFMVyxjQUFjLEdBQWQsc0JBQWMsS0FBZCxzQkFBYyxRQUt6QiJ9
|
package/package.json
CHANGED