@rlvt/workflows-openapi-client 1.0.186 → 1.0.189
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 +254 -229
- package/build/api.js +2 -2
- package/build/definitions.d.ts +110 -48
- package/build/definitions.js +1 -1
- package/package.json +1 -1
package/build/api.d.ts
CHANGED
|
@@ -47,32 +47,36 @@ export default class {
|
|
|
47
47
|
categories: string[];
|
|
48
48
|
feature?: string | undefined;
|
|
49
49
|
template: {
|
|
50
|
-
entrypoints: {
|
|
51
|
-
node: string;
|
|
52
|
-
type: "email" | "raw" | "mobile-push-image" | "mobile-app-image" | "web-image";
|
|
53
|
-
}[];
|
|
54
50
|
nodes: {
|
|
55
51
|
[x: string]: {
|
|
56
|
-
name: string;
|
|
57
52
|
metadata: {
|
|
58
53
|
[x: string]: unknown;
|
|
59
54
|
};
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
55
|
+
type: string;
|
|
56
|
+
paths: {
|
|
57
|
+
id: string;
|
|
58
|
+
options: {
|
|
64
59
|
[x: string]: unknown;
|
|
65
60
|
};
|
|
66
61
|
}[];
|
|
67
62
|
} | {
|
|
68
|
-
name: string;
|
|
69
63
|
metadata: {
|
|
70
64
|
[x: string]: unknown;
|
|
71
65
|
};
|
|
72
|
-
|
|
73
|
-
config: {
|
|
66
|
+
options: {
|
|
74
67
|
[x: string]: unknown;
|
|
75
68
|
};
|
|
69
|
+
type: string;
|
|
70
|
+
};
|
|
71
|
+
};
|
|
72
|
+
entrypoints: {
|
|
73
|
+
[x: string]: {
|
|
74
|
+
type: "email" | "raw" | "mobile-push-image" | "mobile-app-image" | "web-image";
|
|
75
|
+
};
|
|
76
|
+
};
|
|
77
|
+
edges: {
|
|
78
|
+
[x: string]: {
|
|
79
|
+
to: string;
|
|
76
80
|
};
|
|
77
81
|
};
|
|
78
82
|
};
|
|
@@ -95,7 +99,7 @@ export default class {
|
|
|
95
99
|
name?: string | undefined;
|
|
96
100
|
resourceGroupIds?: string[] | undefined;
|
|
97
101
|
status?: WorkflowStatus[] | undefined;
|
|
98
|
-
sortBy?: "
|
|
102
|
+
sortBy?: "createdAt" | "updatedAt" | undefined;
|
|
99
103
|
sortOrder?: "desc" | "asc" | undefined;
|
|
100
104
|
page?: number | undefined;
|
|
101
105
|
perPage?: number | undefined;
|
|
@@ -118,66 +122,65 @@ export default class {
|
|
|
118
122
|
readonly?: "__readonly" | undefined;
|
|
119
123
|
};
|
|
120
124
|
name: string;
|
|
121
|
-
readonly
|
|
125
|
+
readonly createdAt: Date & {
|
|
122
126
|
readonly?: "__readonly" | undefined;
|
|
123
127
|
};
|
|
124
|
-
readonly
|
|
128
|
+
readonly updatedAt: Date & {
|
|
125
129
|
readonly?: "__readonly" | undefined;
|
|
126
130
|
};
|
|
127
|
-
|
|
128
|
-
readonly versions: {
|
|
131
|
+
versions: {
|
|
129
132
|
metadata?: {
|
|
130
133
|
[x: string]: unknown;
|
|
131
134
|
} | undefined;
|
|
132
|
-
readonly updatedAt: Date & {
|
|
133
|
-
readonly?: "__readonly" | undefined;
|
|
134
|
-
};
|
|
135
135
|
readonly createdAt: Date & {
|
|
136
136
|
readonly?: "__readonly" | undefined;
|
|
137
137
|
};
|
|
138
|
-
readonly
|
|
139
|
-
readonly?: "__readonly" | undefined;
|
|
140
|
-
}) | (WorkflowVersionState.LIVE & {
|
|
141
|
-
readonly?: "__readonly" | undefined;
|
|
142
|
-
}) | (WorkflowVersionState.INACTIVE & {
|
|
138
|
+
readonly updatedAt: Date & {
|
|
143
139
|
readonly?: "__readonly" | undefined;
|
|
144
|
-
}
|
|
140
|
+
};
|
|
145
141
|
definition: {
|
|
146
|
-
entrypoints: {
|
|
147
|
-
node: string;
|
|
148
|
-
type: "email" | "raw" | "mobile-push-image" | "mobile-app-image" | "web-image";
|
|
149
|
-
}[];
|
|
150
142
|
nodes: {
|
|
151
143
|
[x: string]: {
|
|
152
144
|
name: string;
|
|
153
145
|
metadata: {
|
|
154
146
|
[x: string]: unknown;
|
|
155
147
|
};
|
|
148
|
+
config: {
|
|
149
|
+
[x: string]: unknown;
|
|
150
|
+
};
|
|
156
151
|
dependencies: string[];
|
|
157
|
-
edges: {
|
|
158
|
-
node: string;
|
|
159
|
-
config: {
|
|
160
|
-
[x: string]: unknown;
|
|
161
|
-
};
|
|
162
|
-
}[];
|
|
163
152
|
} | {
|
|
164
153
|
name: string;
|
|
165
154
|
metadata: {
|
|
166
155
|
[x: string]: unknown;
|
|
167
156
|
};
|
|
157
|
+
edges: {
|
|
158
|
+
config: {
|
|
159
|
+
[x: string]: unknown;
|
|
160
|
+
};
|
|
161
|
+
node: string;
|
|
162
|
+
}[];
|
|
168
163
|
dependencies: string[];
|
|
169
|
-
config: {
|
|
170
|
-
[x: string]: unknown;
|
|
171
|
-
};
|
|
172
164
|
};
|
|
173
165
|
};
|
|
166
|
+
entrypoints: {
|
|
167
|
+
type: "email" | "raw" | "mobile-push-image" | "mobile-app-image" | "web-image";
|
|
168
|
+
node: string;
|
|
169
|
+
}[];
|
|
174
170
|
};
|
|
171
|
+
readonly state: (WorkflowVersionState.DRAFT & {
|
|
172
|
+
readonly?: "__readonly" | undefined;
|
|
173
|
+
}) | (WorkflowVersionState.LIVE & {
|
|
174
|
+
readonly?: "__readonly" | undefined;
|
|
175
|
+
}) | (WorkflowVersionState.INACTIVE & {
|
|
176
|
+
readonly?: "__readonly" | undefined;
|
|
177
|
+
});
|
|
175
178
|
readonly analyze: {
|
|
176
179
|
readonly?: "__readonly" | undefined;
|
|
177
180
|
entrypointsByBranchesForDataNode: {
|
|
178
181
|
[x: string]: {
|
|
179
182
|
branch: string;
|
|
180
|
-
|
|
183
|
+
entrypointIds: string[];
|
|
181
184
|
}[];
|
|
182
185
|
};
|
|
183
186
|
branches: string[];
|
|
@@ -194,12 +197,16 @@ export default class {
|
|
|
194
197
|
};
|
|
195
198
|
};
|
|
196
199
|
}[];
|
|
200
|
+
resourceGroupIds: string[];
|
|
197
201
|
variableProfileId?: string | undefined;
|
|
198
202
|
parameterValues: {
|
|
199
|
-
[x: string]: {
|
|
203
|
+
[x: string]: ({
|
|
200
204
|
entrypointIndex: number | null;
|
|
201
205
|
value: string;
|
|
202
|
-
}
|
|
206
|
+
} | {
|
|
207
|
+
value: string;
|
|
208
|
+
entrypointId: string | null;
|
|
209
|
+
})[];
|
|
203
210
|
};
|
|
204
211
|
readonly urls?: {
|
|
205
212
|
click: string;
|
|
@@ -240,66 +247,65 @@ export default class {
|
|
|
240
247
|
readonly?: "__readonly" | undefined;
|
|
241
248
|
};
|
|
242
249
|
name: string;
|
|
243
|
-
readonly
|
|
250
|
+
readonly createdAt: Date & {
|
|
244
251
|
readonly?: "__readonly" | undefined;
|
|
245
252
|
};
|
|
246
|
-
readonly
|
|
253
|
+
readonly updatedAt: Date & {
|
|
247
254
|
readonly?: "__readonly" | undefined;
|
|
248
255
|
};
|
|
249
|
-
|
|
250
|
-
readonly versions: {
|
|
256
|
+
versions: {
|
|
251
257
|
metadata?: {
|
|
252
258
|
[x: string]: unknown;
|
|
253
259
|
} | undefined;
|
|
254
|
-
readonly updatedAt: Date & {
|
|
255
|
-
readonly?: "__readonly" | undefined;
|
|
256
|
-
};
|
|
257
260
|
readonly createdAt: Date & {
|
|
258
261
|
readonly?: "__readonly" | undefined;
|
|
259
262
|
};
|
|
260
|
-
readonly
|
|
261
|
-
readonly?: "__readonly" | undefined;
|
|
262
|
-
}) | (WorkflowVersionState.LIVE & {
|
|
263
|
-
readonly?: "__readonly" | undefined;
|
|
264
|
-
}) | (WorkflowVersionState.INACTIVE & {
|
|
263
|
+
readonly updatedAt: Date & {
|
|
265
264
|
readonly?: "__readonly" | undefined;
|
|
266
|
-
}
|
|
265
|
+
};
|
|
267
266
|
definition: {
|
|
268
|
-
entrypoints: {
|
|
269
|
-
node: string;
|
|
270
|
-
type: "email" | "raw" | "mobile-push-image" | "mobile-app-image" | "web-image";
|
|
271
|
-
}[];
|
|
272
267
|
nodes: {
|
|
273
268
|
[x: string]: {
|
|
274
269
|
name: string;
|
|
275
270
|
metadata: {
|
|
276
271
|
[x: string]: unknown;
|
|
277
272
|
};
|
|
273
|
+
config: {
|
|
274
|
+
[x: string]: unknown;
|
|
275
|
+
};
|
|
278
276
|
dependencies: string[];
|
|
279
|
-
edges: {
|
|
280
|
-
node: string;
|
|
281
|
-
config: {
|
|
282
|
-
[x: string]: unknown;
|
|
283
|
-
};
|
|
284
|
-
}[];
|
|
285
277
|
} | {
|
|
286
278
|
name: string;
|
|
287
279
|
metadata: {
|
|
288
280
|
[x: string]: unknown;
|
|
289
281
|
};
|
|
282
|
+
edges: {
|
|
283
|
+
config: {
|
|
284
|
+
[x: string]: unknown;
|
|
285
|
+
};
|
|
286
|
+
node: string;
|
|
287
|
+
}[];
|
|
290
288
|
dependencies: string[];
|
|
291
|
-
config: {
|
|
292
|
-
[x: string]: unknown;
|
|
293
|
-
};
|
|
294
289
|
};
|
|
295
290
|
};
|
|
291
|
+
entrypoints: {
|
|
292
|
+
type: "email" | "raw" | "mobile-push-image" | "mobile-app-image" | "web-image";
|
|
293
|
+
node: string;
|
|
294
|
+
}[];
|
|
296
295
|
};
|
|
296
|
+
readonly state: (WorkflowVersionState.DRAFT & {
|
|
297
|
+
readonly?: "__readonly" | undefined;
|
|
298
|
+
}) | (WorkflowVersionState.LIVE & {
|
|
299
|
+
readonly?: "__readonly" | undefined;
|
|
300
|
+
}) | (WorkflowVersionState.INACTIVE & {
|
|
301
|
+
readonly?: "__readonly" | undefined;
|
|
302
|
+
});
|
|
297
303
|
readonly analyze: {
|
|
298
304
|
readonly?: "__readonly" | undefined;
|
|
299
305
|
entrypointsByBranchesForDataNode: {
|
|
300
306
|
[x: string]: {
|
|
301
307
|
branch: string;
|
|
302
|
-
|
|
308
|
+
entrypointIds: string[];
|
|
303
309
|
}[];
|
|
304
310
|
};
|
|
305
311
|
branches: string[];
|
|
@@ -316,12 +322,16 @@ export default class {
|
|
|
316
322
|
};
|
|
317
323
|
};
|
|
318
324
|
}[];
|
|
325
|
+
resourceGroupIds: string[];
|
|
319
326
|
variableProfileId?: string | undefined;
|
|
320
327
|
parameterValues: {
|
|
321
|
-
[x: string]: {
|
|
328
|
+
[x: string]: ({
|
|
322
329
|
entrypointIndex: number | null;
|
|
323
330
|
value: string;
|
|
324
|
-
}
|
|
331
|
+
} | {
|
|
332
|
+
value: string;
|
|
333
|
+
entrypointId: string | null;
|
|
334
|
+
})[];
|
|
325
335
|
};
|
|
326
336
|
readonly urls?: {
|
|
327
337
|
click: string;
|
|
@@ -361,66 +371,65 @@ export default class {
|
|
|
361
371
|
readonly?: "__readonly" | undefined;
|
|
362
372
|
};
|
|
363
373
|
name: string;
|
|
364
|
-
readonly
|
|
374
|
+
readonly createdAt: Date & {
|
|
365
375
|
readonly?: "__readonly" | undefined;
|
|
366
376
|
};
|
|
367
|
-
readonly
|
|
377
|
+
readonly updatedAt: Date & {
|
|
368
378
|
readonly?: "__readonly" | undefined;
|
|
369
379
|
};
|
|
370
|
-
|
|
371
|
-
readonly versions: {
|
|
380
|
+
versions: {
|
|
372
381
|
metadata?: {
|
|
373
382
|
[x: string]: unknown;
|
|
374
383
|
} | undefined;
|
|
375
|
-
readonly updatedAt: Date & {
|
|
376
|
-
readonly?: "__readonly" | undefined;
|
|
377
|
-
};
|
|
378
384
|
readonly createdAt: Date & {
|
|
379
385
|
readonly?: "__readonly" | undefined;
|
|
380
386
|
};
|
|
381
|
-
readonly
|
|
382
|
-
readonly?: "__readonly" | undefined;
|
|
383
|
-
}) | (WorkflowVersionState.LIVE & {
|
|
384
|
-
readonly?: "__readonly" | undefined;
|
|
385
|
-
}) | (WorkflowVersionState.INACTIVE & {
|
|
387
|
+
readonly updatedAt: Date & {
|
|
386
388
|
readonly?: "__readonly" | undefined;
|
|
387
|
-
}
|
|
389
|
+
};
|
|
388
390
|
definition: {
|
|
389
|
-
entrypoints: {
|
|
390
|
-
node: string;
|
|
391
|
-
type: "email" | "raw" | "mobile-push-image" | "mobile-app-image" | "web-image";
|
|
392
|
-
}[];
|
|
393
391
|
nodes: {
|
|
394
392
|
[x: string]: {
|
|
395
393
|
name: string;
|
|
396
394
|
metadata: {
|
|
397
395
|
[x: string]: unknown;
|
|
398
396
|
};
|
|
397
|
+
config: {
|
|
398
|
+
[x: string]: unknown;
|
|
399
|
+
};
|
|
399
400
|
dependencies: string[];
|
|
400
|
-
edges: {
|
|
401
|
-
node: string;
|
|
402
|
-
config: {
|
|
403
|
-
[x: string]: unknown;
|
|
404
|
-
};
|
|
405
|
-
}[];
|
|
406
401
|
} | {
|
|
407
402
|
name: string;
|
|
408
403
|
metadata: {
|
|
409
404
|
[x: string]: unknown;
|
|
410
405
|
};
|
|
406
|
+
edges: {
|
|
407
|
+
config: {
|
|
408
|
+
[x: string]: unknown;
|
|
409
|
+
};
|
|
410
|
+
node: string;
|
|
411
|
+
}[];
|
|
411
412
|
dependencies: string[];
|
|
412
|
-
config: {
|
|
413
|
-
[x: string]: unknown;
|
|
414
|
-
};
|
|
415
413
|
};
|
|
416
414
|
};
|
|
415
|
+
entrypoints: {
|
|
416
|
+
type: "email" | "raw" | "mobile-push-image" | "mobile-app-image" | "web-image";
|
|
417
|
+
node: string;
|
|
418
|
+
}[];
|
|
417
419
|
};
|
|
420
|
+
readonly state: (WorkflowVersionState.DRAFT & {
|
|
421
|
+
readonly?: "__readonly" | undefined;
|
|
422
|
+
}) | (WorkflowVersionState.LIVE & {
|
|
423
|
+
readonly?: "__readonly" | undefined;
|
|
424
|
+
}) | (WorkflowVersionState.INACTIVE & {
|
|
425
|
+
readonly?: "__readonly" | undefined;
|
|
426
|
+
});
|
|
418
427
|
readonly analyze: {
|
|
419
428
|
readonly?: "__readonly" | undefined;
|
|
420
429
|
entrypointsByBranchesForDataNode: {
|
|
421
430
|
[x: string]: {
|
|
422
431
|
branch: string;
|
|
423
|
-
|
|
432
|
+
entrypointIds: string[];
|
|
424
433
|
}[];
|
|
425
434
|
};
|
|
426
435
|
branches: string[];
|
|
@@ -437,12 +446,16 @@ export default class {
|
|
|
437
446
|
};
|
|
438
447
|
};
|
|
439
448
|
}[];
|
|
449
|
+
resourceGroupIds: string[];
|
|
440
450
|
variableProfileId?: string | undefined;
|
|
441
451
|
parameterValues: {
|
|
442
|
-
[x: string]: {
|
|
452
|
+
[x: string]: ({
|
|
443
453
|
entrypointIndex: number | null;
|
|
444
454
|
value: string;
|
|
445
|
-
}
|
|
455
|
+
} | {
|
|
456
|
+
value: string;
|
|
457
|
+
entrypointId: string | null;
|
|
458
|
+
})[];
|
|
446
459
|
};
|
|
447
460
|
readonly urls?: {
|
|
448
461
|
click: string;
|
|
@@ -474,54 +487,57 @@ export default class {
|
|
|
474
487
|
readonly?: "__readonly" | undefined;
|
|
475
488
|
}) | undefined;
|
|
476
489
|
name?: string | undefined;
|
|
477
|
-
readonly
|
|
490
|
+
readonly createdAt?: (Date & {
|
|
478
491
|
readonly?: "__readonly" | undefined;
|
|
479
492
|
}) | undefined;
|
|
480
|
-
readonly
|
|
493
|
+
readonly updatedAt?: (Date & {
|
|
481
494
|
readonly?: "__readonly" | undefined;
|
|
482
495
|
}) | undefined;
|
|
483
|
-
|
|
484
|
-
readonly versions?: {
|
|
496
|
+
versions?: {
|
|
485
497
|
metadata?: {
|
|
486
498
|
[x: string]: unknown;
|
|
487
499
|
} | undefined;
|
|
488
500
|
definition: {
|
|
489
|
-
entrypoints: {
|
|
490
|
-
node: string;
|
|
491
|
-
type: "email" | "raw" | "mobile-push-image" | "mobile-app-image" | "web-image";
|
|
492
|
-
}[];
|
|
493
501
|
nodes: {
|
|
494
502
|
[x: string]: {
|
|
495
503
|
name: string;
|
|
496
504
|
metadata: {
|
|
497
505
|
[x: string]: unknown;
|
|
498
506
|
};
|
|
507
|
+
config: {
|
|
508
|
+
[x: string]: unknown;
|
|
509
|
+
};
|
|
499
510
|
dependencies: string[];
|
|
500
|
-
edges: {
|
|
501
|
-
node: string;
|
|
502
|
-
config: {
|
|
503
|
-
[x: string]: unknown;
|
|
504
|
-
};
|
|
505
|
-
}[];
|
|
506
511
|
} | {
|
|
507
512
|
name: string;
|
|
508
513
|
metadata: {
|
|
509
514
|
[x: string]: unknown;
|
|
510
515
|
};
|
|
516
|
+
edges: {
|
|
517
|
+
config: {
|
|
518
|
+
[x: string]: unknown;
|
|
519
|
+
};
|
|
520
|
+
node: string;
|
|
521
|
+
}[];
|
|
511
522
|
dependencies: string[];
|
|
512
|
-
config: {
|
|
513
|
-
[x: string]: unknown;
|
|
514
|
-
};
|
|
515
523
|
};
|
|
516
524
|
};
|
|
525
|
+
entrypoints: {
|
|
526
|
+
type: "email" | "raw" | "mobile-push-image" | "mobile-app-image" | "web-image";
|
|
527
|
+
node: string;
|
|
528
|
+
}[];
|
|
517
529
|
};
|
|
518
530
|
}[] | undefined;
|
|
531
|
+
resourceGroupIds?: string[] | undefined;
|
|
519
532
|
variableProfileId?: string | undefined;
|
|
520
533
|
parameterValues?: {
|
|
521
|
-
[x: string]: {
|
|
534
|
+
[x: string]: ({
|
|
522
535
|
entrypointIndex: number | null;
|
|
523
536
|
value: string;
|
|
524
|
-
}
|
|
537
|
+
} | {
|
|
538
|
+
value: string;
|
|
539
|
+
entrypointId: string | null;
|
|
540
|
+
})[];
|
|
525
541
|
} | undefined;
|
|
526
542
|
readonly urls?: {
|
|
527
543
|
click: string;
|
|
@@ -544,55 +560,55 @@ export default class {
|
|
|
544
560
|
metadata?: {
|
|
545
561
|
[x: string]: unknown;
|
|
546
562
|
} | undefined;
|
|
547
|
-
readonly updatedAt?: (Date & {
|
|
548
|
-
readonly?: "__readonly" | undefined;
|
|
549
|
-
}) | undefined;
|
|
550
563
|
readonly createdAt?: (Date & {
|
|
551
564
|
readonly?: "__readonly" | undefined;
|
|
552
565
|
}) | undefined;
|
|
553
|
-
readonly
|
|
554
|
-
readonly?: "__readonly" | undefined;
|
|
555
|
-
}) | (WorkflowVersionState.LIVE & {
|
|
556
|
-
readonly?: "__readonly" | undefined;
|
|
557
|
-
}) | (WorkflowVersionState.INACTIVE & {
|
|
566
|
+
readonly updatedAt?: (Date & {
|
|
558
567
|
readonly?: "__readonly" | undefined;
|
|
559
568
|
}) | undefined;
|
|
560
569
|
definition?: {
|
|
561
|
-
entrypoints: {
|
|
562
|
-
node: string;
|
|
563
|
-
type: "email" | "raw" | "mobile-push-image" | "mobile-app-image" | "web-image";
|
|
564
|
-
}[];
|
|
565
570
|
nodes: {
|
|
566
571
|
[x: string]: {
|
|
567
572
|
name: string;
|
|
568
573
|
metadata: {
|
|
569
574
|
[x: string]: unknown;
|
|
570
575
|
};
|
|
576
|
+
config: {
|
|
577
|
+
[x: string]: unknown;
|
|
578
|
+
};
|
|
571
579
|
dependencies: string[];
|
|
572
|
-
edges: {
|
|
573
|
-
node: string;
|
|
574
|
-
config: {
|
|
575
|
-
[x: string]: unknown;
|
|
576
|
-
};
|
|
577
|
-
}[];
|
|
578
580
|
} | {
|
|
579
581
|
name: string;
|
|
580
582
|
metadata: {
|
|
581
583
|
[x: string]: unknown;
|
|
582
584
|
};
|
|
585
|
+
edges: {
|
|
586
|
+
config: {
|
|
587
|
+
[x: string]: unknown;
|
|
588
|
+
};
|
|
589
|
+
node: string;
|
|
590
|
+
}[];
|
|
583
591
|
dependencies: string[];
|
|
584
|
-
config: {
|
|
585
|
-
[x: string]: unknown;
|
|
586
|
-
};
|
|
587
592
|
};
|
|
588
593
|
};
|
|
594
|
+
entrypoints: {
|
|
595
|
+
type: "email" | "raw" | "mobile-push-image" | "mobile-app-image" | "web-image";
|
|
596
|
+
node: string;
|
|
597
|
+
}[];
|
|
589
598
|
} | undefined;
|
|
599
|
+
readonly state?: (WorkflowVersionState.DRAFT & {
|
|
600
|
+
readonly?: "__readonly" | undefined;
|
|
601
|
+
}) | (WorkflowVersionState.LIVE & {
|
|
602
|
+
readonly?: "__readonly" | undefined;
|
|
603
|
+
}) | (WorkflowVersionState.INACTIVE & {
|
|
604
|
+
readonly?: "__readonly" | undefined;
|
|
605
|
+
}) | undefined;
|
|
590
606
|
readonly analyze?: {
|
|
591
607
|
readonly?: "__readonly" | undefined;
|
|
592
608
|
entrypointsByBranchesForDataNode: {
|
|
593
609
|
[x: string]: {
|
|
594
610
|
branch: string;
|
|
595
|
-
|
|
611
|
+
entrypointIds: string[];
|
|
596
612
|
}[];
|
|
597
613
|
};
|
|
598
614
|
branches: string[];
|
|
@@ -624,66 +640,65 @@ export default class {
|
|
|
624
640
|
readonly?: "__readonly" | undefined;
|
|
625
641
|
};
|
|
626
642
|
name: string;
|
|
627
|
-
readonly
|
|
643
|
+
readonly createdAt: Date & {
|
|
628
644
|
readonly?: "__readonly" | undefined;
|
|
629
645
|
};
|
|
630
|
-
readonly
|
|
646
|
+
readonly updatedAt: Date & {
|
|
631
647
|
readonly?: "__readonly" | undefined;
|
|
632
648
|
};
|
|
633
|
-
|
|
634
|
-
readonly versions: {
|
|
649
|
+
versions: {
|
|
635
650
|
metadata?: {
|
|
636
651
|
[x: string]: unknown;
|
|
637
652
|
} | undefined;
|
|
638
|
-
readonly updatedAt: Date & {
|
|
639
|
-
readonly?: "__readonly" | undefined;
|
|
640
|
-
};
|
|
641
653
|
readonly createdAt: Date & {
|
|
642
654
|
readonly?: "__readonly" | undefined;
|
|
643
655
|
};
|
|
644
|
-
readonly
|
|
645
|
-
readonly?: "__readonly" | undefined;
|
|
646
|
-
}) | (WorkflowVersionState.LIVE & {
|
|
647
|
-
readonly?: "__readonly" | undefined;
|
|
648
|
-
}) | (WorkflowVersionState.INACTIVE & {
|
|
656
|
+
readonly updatedAt: Date & {
|
|
649
657
|
readonly?: "__readonly" | undefined;
|
|
650
|
-
}
|
|
658
|
+
};
|
|
651
659
|
definition: {
|
|
652
|
-
entrypoints: {
|
|
653
|
-
node: string;
|
|
654
|
-
type: "email" | "raw" | "mobile-push-image" | "mobile-app-image" | "web-image";
|
|
655
|
-
}[];
|
|
656
660
|
nodes: {
|
|
657
661
|
[x: string]: {
|
|
658
662
|
name: string;
|
|
659
663
|
metadata: {
|
|
660
664
|
[x: string]: unknown;
|
|
661
665
|
};
|
|
666
|
+
config: {
|
|
667
|
+
[x: string]: unknown;
|
|
668
|
+
};
|
|
662
669
|
dependencies: string[];
|
|
663
|
-
edges: {
|
|
664
|
-
node: string;
|
|
665
|
-
config: {
|
|
666
|
-
[x: string]: unknown;
|
|
667
|
-
};
|
|
668
|
-
}[];
|
|
669
670
|
} | {
|
|
670
671
|
name: string;
|
|
671
672
|
metadata: {
|
|
672
673
|
[x: string]: unknown;
|
|
673
674
|
};
|
|
675
|
+
edges: {
|
|
676
|
+
config: {
|
|
677
|
+
[x: string]: unknown;
|
|
678
|
+
};
|
|
679
|
+
node: string;
|
|
680
|
+
}[];
|
|
674
681
|
dependencies: string[];
|
|
675
|
-
config: {
|
|
676
|
-
[x: string]: unknown;
|
|
677
|
-
};
|
|
678
682
|
};
|
|
679
683
|
};
|
|
684
|
+
entrypoints: {
|
|
685
|
+
type: "email" | "raw" | "mobile-push-image" | "mobile-app-image" | "web-image";
|
|
686
|
+
node: string;
|
|
687
|
+
}[];
|
|
680
688
|
};
|
|
689
|
+
readonly state: (WorkflowVersionState.DRAFT & {
|
|
690
|
+
readonly?: "__readonly" | undefined;
|
|
691
|
+
}) | (WorkflowVersionState.LIVE & {
|
|
692
|
+
readonly?: "__readonly" | undefined;
|
|
693
|
+
}) | (WorkflowVersionState.INACTIVE & {
|
|
694
|
+
readonly?: "__readonly" | undefined;
|
|
695
|
+
});
|
|
681
696
|
readonly analyze: {
|
|
682
697
|
readonly?: "__readonly" | undefined;
|
|
683
698
|
entrypointsByBranchesForDataNode: {
|
|
684
699
|
[x: string]: {
|
|
685
700
|
branch: string;
|
|
686
|
-
|
|
701
|
+
entrypointIds: string[];
|
|
687
702
|
}[];
|
|
688
703
|
};
|
|
689
704
|
branches: string[];
|
|
@@ -700,12 +715,16 @@ export default class {
|
|
|
700
715
|
};
|
|
701
716
|
};
|
|
702
717
|
}[];
|
|
718
|
+
resourceGroupIds: string[];
|
|
703
719
|
variableProfileId?: string | undefined;
|
|
704
720
|
parameterValues: {
|
|
705
|
-
[x: string]: {
|
|
721
|
+
[x: string]: ({
|
|
706
722
|
entrypointIndex: number | null;
|
|
707
723
|
value: string;
|
|
708
|
-
}
|
|
724
|
+
} | {
|
|
725
|
+
value: string;
|
|
726
|
+
entrypointId: string | null;
|
|
727
|
+
})[];
|
|
709
728
|
};
|
|
710
729
|
readonly urls?: {
|
|
711
730
|
click: string;
|
|
@@ -755,66 +774,65 @@ export default class {
|
|
|
755
774
|
readonly?: "__readonly" | undefined;
|
|
756
775
|
};
|
|
757
776
|
name: string;
|
|
758
|
-
readonly
|
|
777
|
+
readonly createdAt: Date & {
|
|
759
778
|
readonly?: "__readonly" | undefined;
|
|
760
779
|
};
|
|
761
|
-
readonly
|
|
780
|
+
readonly updatedAt: Date & {
|
|
762
781
|
readonly?: "__readonly" | undefined;
|
|
763
782
|
};
|
|
764
|
-
|
|
765
|
-
readonly versions: {
|
|
783
|
+
versions: {
|
|
766
784
|
metadata?: {
|
|
767
785
|
[x: string]: unknown;
|
|
768
786
|
} | undefined;
|
|
769
|
-
readonly updatedAt: Date & {
|
|
770
|
-
readonly?: "__readonly" | undefined;
|
|
771
|
-
};
|
|
772
787
|
readonly createdAt: Date & {
|
|
773
788
|
readonly?: "__readonly" | undefined;
|
|
774
789
|
};
|
|
775
|
-
readonly
|
|
776
|
-
readonly?: "__readonly" | undefined;
|
|
777
|
-
}) | (WorkflowVersionState.LIVE & {
|
|
778
|
-
readonly?: "__readonly" | undefined;
|
|
779
|
-
}) | (WorkflowVersionState.INACTIVE & {
|
|
790
|
+
readonly updatedAt: Date & {
|
|
780
791
|
readonly?: "__readonly" | undefined;
|
|
781
|
-
}
|
|
792
|
+
};
|
|
782
793
|
definition: {
|
|
783
|
-
entrypoints: {
|
|
784
|
-
node: string;
|
|
785
|
-
type: "email" | "raw" | "mobile-push-image" | "mobile-app-image" | "web-image";
|
|
786
|
-
}[];
|
|
787
794
|
nodes: {
|
|
788
795
|
[x: string]: {
|
|
789
796
|
name: string;
|
|
790
797
|
metadata: {
|
|
791
798
|
[x: string]: unknown;
|
|
792
799
|
};
|
|
800
|
+
config: {
|
|
801
|
+
[x: string]: unknown;
|
|
802
|
+
};
|
|
793
803
|
dependencies: string[];
|
|
794
|
-
edges: {
|
|
795
|
-
node: string;
|
|
796
|
-
config: {
|
|
797
|
-
[x: string]: unknown;
|
|
798
|
-
};
|
|
799
|
-
}[];
|
|
800
804
|
} | {
|
|
801
805
|
name: string;
|
|
802
806
|
metadata: {
|
|
803
807
|
[x: string]: unknown;
|
|
804
808
|
};
|
|
809
|
+
edges: {
|
|
810
|
+
config: {
|
|
811
|
+
[x: string]: unknown;
|
|
812
|
+
};
|
|
813
|
+
node: string;
|
|
814
|
+
}[];
|
|
805
815
|
dependencies: string[];
|
|
806
|
-
config: {
|
|
807
|
-
[x: string]: unknown;
|
|
808
|
-
};
|
|
809
816
|
};
|
|
810
817
|
};
|
|
818
|
+
entrypoints: {
|
|
819
|
+
type: "email" | "raw" | "mobile-push-image" | "mobile-app-image" | "web-image";
|
|
820
|
+
node: string;
|
|
821
|
+
}[];
|
|
811
822
|
};
|
|
823
|
+
readonly state: (WorkflowVersionState.DRAFT & {
|
|
824
|
+
readonly?: "__readonly" | undefined;
|
|
825
|
+
}) | (WorkflowVersionState.LIVE & {
|
|
826
|
+
readonly?: "__readonly" | undefined;
|
|
827
|
+
}) | (WorkflowVersionState.INACTIVE & {
|
|
828
|
+
readonly?: "__readonly" | undefined;
|
|
829
|
+
});
|
|
812
830
|
readonly analyze: {
|
|
813
831
|
readonly?: "__readonly" | undefined;
|
|
814
832
|
entrypointsByBranchesForDataNode: {
|
|
815
833
|
[x: string]: {
|
|
816
834
|
branch: string;
|
|
817
|
-
|
|
835
|
+
entrypointIds: string[];
|
|
818
836
|
}[];
|
|
819
837
|
};
|
|
820
838
|
branches: string[];
|
|
@@ -831,12 +849,16 @@ export default class {
|
|
|
831
849
|
};
|
|
832
850
|
};
|
|
833
851
|
}[];
|
|
852
|
+
resourceGroupIds: string[];
|
|
834
853
|
variableProfileId?: string | undefined;
|
|
835
854
|
parameterValues: {
|
|
836
|
-
[x: string]: {
|
|
855
|
+
[x: string]: ({
|
|
837
856
|
entrypointIndex: number | null;
|
|
838
857
|
value: string;
|
|
839
|
-
}
|
|
858
|
+
} | {
|
|
859
|
+
value: string;
|
|
860
|
+
entrypointId: string | null;
|
|
861
|
+
})[];
|
|
840
862
|
};
|
|
841
863
|
readonly urls?: {
|
|
842
864
|
click: string;
|
|
@@ -875,66 +897,65 @@ export default class {
|
|
|
875
897
|
readonly?: "__readonly" | undefined;
|
|
876
898
|
};
|
|
877
899
|
name: string;
|
|
878
|
-
readonly
|
|
900
|
+
readonly createdAt: Date & {
|
|
879
901
|
readonly?: "__readonly" | undefined;
|
|
880
902
|
};
|
|
881
|
-
readonly
|
|
903
|
+
readonly updatedAt: Date & {
|
|
882
904
|
readonly?: "__readonly" | undefined;
|
|
883
905
|
};
|
|
884
|
-
|
|
885
|
-
readonly versions: {
|
|
906
|
+
versions: {
|
|
886
907
|
metadata?: {
|
|
887
908
|
[x: string]: unknown;
|
|
888
909
|
} | undefined;
|
|
889
|
-
readonly updatedAt: Date & {
|
|
890
|
-
readonly?: "__readonly" | undefined;
|
|
891
|
-
};
|
|
892
910
|
readonly createdAt: Date & {
|
|
893
911
|
readonly?: "__readonly" | undefined;
|
|
894
912
|
};
|
|
895
|
-
readonly
|
|
896
|
-
readonly?: "__readonly" | undefined;
|
|
897
|
-
}) | (WorkflowVersionState.LIVE & {
|
|
898
|
-
readonly?: "__readonly" | undefined;
|
|
899
|
-
}) | (WorkflowVersionState.INACTIVE & {
|
|
913
|
+
readonly updatedAt: Date & {
|
|
900
914
|
readonly?: "__readonly" | undefined;
|
|
901
|
-
}
|
|
915
|
+
};
|
|
902
916
|
definition: {
|
|
903
|
-
entrypoints: {
|
|
904
|
-
node: string;
|
|
905
|
-
type: "email" | "raw" | "mobile-push-image" | "mobile-app-image" | "web-image";
|
|
906
|
-
}[];
|
|
907
917
|
nodes: {
|
|
908
918
|
[x: string]: {
|
|
909
919
|
name: string;
|
|
910
920
|
metadata: {
|
|
911
921
|
[x: string]: unknown;
|
|
912
922
|
};
|
|
923
|
+
config: {
|
|
924
|
+
[x: string]: unknown;
|
|
925
|
+
};
|
|
913
926
|
dependencies: string[];
|
|
914
|
-
edges: {
|
|
915
|
-
node: string;
|
|
916
|
-
config: {
|
|
917
|
-
[x: string]: unknown;
|
|
918
|
-
};
|
|
919
|
-
}[];
|
|
920
927
|
} | {
|
|
921
928
|
name: string;
|
|
922
929
|
metadata: {
|
|
923
930
|
[x: string]: unknown;
|
|
924
931
|
};
|
|
932
|
+
edges: {
|
|
933
|
+
config: {
|
|
934
|
+
[x: string]: unknown;
|
|
935
|
+
};
|
|
936
|
+
node: string;
|
|
937
|
+
}[];
|
|
925
938
|
dependencies: string[];
|
|
926
|
-
config: {
|
|
927
|
-
[x: string]: unknown;
|
|
928
|
-
};
|
|
929
939
|
};
|
|
930
940
|
};
|
|
941
|
+
entrypoints: {
|
|
942
|
+
type: "email" | "raw" | "mobile-push-image" | "mobile-app-image" | "web-image";
|
|
943
|
+
node: string;
|
|
944
|
+
}[];
|
|
931
945
|
};
|
|
946
|
+
readonly state: (WorkflowVersionState.DRAFT & {
|
|
947
|
+
readonly?: "__readonly" | undefined;
|
|
948
|
+
}) | (WorkflowVersionState.LIVE & {
|
|
949
|
+
readonly?: "__readonly" | undefined;
|
|
950
|
+
}) | (WorkflowVersionState.INACTIVE & {
|
|
951
|
+
readonly?: "__readonly" | undefined;
|
|
952
|
+
});
|
|
932
953
|
readonly analyze: {
|
|
933
954
|
readonly?: "__readonly" | undefined;
|
|
934
955
|
entrypointsByBranchesForDataNode: {
|
|
935
956
|
[x: string]: {
|
|
936
957
|
branch: string;
|
|
937
|
-
|
|
958
|
+
entrypointIds: string[];
|
|
938
959
|
}[];
|
|
939
960
|
};
|
|
940
961
|
branches: string[];
|
|
@@ -951,12 +972,16 @@ export default class {
|
|
|
951
972
|
};
|
|
952
973
|
};
|
|
953
974
|
}[];
|
|
975
|
+
resourceGroupIds: string[];
|
|
954
976
|
variableProfileId?: string | undefined;
|
|
955
977
|
parameterValues: {
|
|
956
|
-
[x: string]: {
|
|
978
|
+
[x: string]: ({
|
|
957
979
|
entrypointIndex: number | null;
|
|
958
980
|
value: string;
|
|
959
|
-
}
|
|
981
|
+
} | {
|
|
982
|
+
value: string;
|
|
983
|
+
entrypointId: string | null;
|
|
984
|
+
})[];
|
|
960
985
|
};
|
|
961
986
|
readonly urls?: {
|
|
962
987
|
click: string;
|
|
@@ -981,7 +1006,7 @@ export default class {
|
|
|
981
1006
|
get Runner(): {
|
|
982
1007
|
run: (params: {
|
|
983
1008
|
id: string;
|
|
984
|
-
|
|
1009
|
+
indexOrId: string | number;
|
|
985
1010
|
'rlvt-u'?: string | string[] | undefined;
|
|
986
1011
|
mode?: "debug" | "click" | "display" | undefined;
|
|
987
1012
|
'no-cache'?: boolean | undefined;
|
package/build/api.js
CHANGED
|
@@ -57,7 +57,7 @@ class default_1 {
|
|
|
57
57
|
return this.axios.post("/workflows/{id}/publish".replace(/{id}/, String(params["id"])), {}, options);
|
|
58
58
|
}
|
|
59
59
|
run(params, options) {
|
|
60
|
-
return this.axios.get("/workflows/run/{id}/{
|
|
60
|
+
return this.axios.get("/workflows/run/{id}/{indexOrId}".replace(/{id}/, String(params["id"])).replace(/{indexOrId}/, String(params["indexOrId"])), Object.assign({}, {
|
|
61
61
|
params: pick(params, "rlvt-u", "mode", "no-cache", "dry-run"),
|
|
62
62
|
}, options));
|
|
63
63
|
}
|
|
@@ -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,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiYXBpLmpzIi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DO0lBQ3pDLElBQUksQ0FBQyxPQUFPLENBQUMsR0FBRyxDQUFDLEVBQUU7UUFDZixJQUFJLEdBQUcsSUFBSSxNQUFNLENBQUMsSUFBSSxDQUFDLEdBQUcsQ0FBQyxDQUFDLFFBQVEsQ0FBQyxHQUFhLENBQUM7WUFDL0MsR0FBRyxDQUFDLEdBQUcsQ0FBQyxHQUFHLEdBQUcsQ0FBQyxHQUFHLENBQUMsQ0FBQztJQUM1QixDQUFDLENBQUMsQ0FBQztJQUNILE9BQU8sR0FBRyxDQUFDO0FBQ2YsQ0FBQyJ9
|
package/build/definitions.d.ts
CHANGED
|
@@ -19,32 +19,36 @@ export declare type WithoutWriteonly<T> = T extends any ? T extends Primitive ?
|
|
|
19
19
|
} : never;
|
|
20
20
|
export declare type AnyValue = unknown | null;
|
|
21
21
|
export declare type Workflow = {
|
|
22
|
-
entrypoints: {
|
|
23
|
-
node: string;
|
|
24
|
-
type: "email" | "raw" | "mobile-push-image" | "mobile-app-image" | "web-image";
|
|
25
|
-
}[];
|
|
26
22
|
nodes: {
|
|
27
23
|
[key: string]: {
|
|
28
|
-
|
|
24
|
+
type: string;
|
|
29
25
|
metadata: {
|
|
30
26
|
[key: string]: AnyValue;
|
|
31
27
|
};
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
config: {
|
|
28
|
+
paths: {
|
|
29
|
+
id: string;
|
|
30
|
+
options: {
|
|
36
31
|
[key: string]: AnyValue;
|
|
37
32
|
};
|
|
38
33
|
}[];
|
|
39
34
|
} | {
|
|
40
|
-
|
|
41
|
-
|
|
35
|
+
type: string;
|
|
36
|
+
options: {
|
|
42
37
|
[key: string]: AnyValue;
|
|
43
38
|
};
|
|
44
39
|
metadata: {
|
|
45
40
|
[key: string]: AnyValue;
|
|
46
41
|
};
|
|
47
|
-
|
|
42
|
+
};
|
|
43
|
+
};
|
|
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;
|
|
48
52
|
};
|
|
49
53
|
};
|
|
50
54
|
};
|
|
@@ -68,26 +72,55 @@ export declare enum WorkflowVersionState {
|
|
|
68
72
|
LIVE = "live",
|
|
69
73
|
INACTIVE = "inactive"
|
|
70
74
|
}
|
|
71
|
-
export declare type
|
|
75
|
+
export declare type Omit_WorkflowAnalyze_outputsForEntrypoint_or_entrypointsForNode_or_datasForEntrypoint_ = {
|
|
72
76
|
entrypointsByBranchesForDataNode: {
|
|
73
77
|
[key: string]: {
|
|
74
78
|
branch: string;
|
|
75
|
-
|
|
79
|
+
entrypointIds: string[];
|
|
76
80
|
}[];
|
|
77
81
|
};
|
|
78
82
|
branches: string[];
|
|
79
83
|
individualizedBranches: string[];
|
|
80
84
|
defaultBranches: string[];
|
|
81
85
|
};
|
|
82
|
-
export declare type
|
|
83
|
-
|
|
84
|
-
|
|
86
|
+
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
|
+
};
|
|
85
117
|
metadata?: {
|
|
86
118
|
[key: string]: AnyValue;
|
|
87
119
|
};
|
|
120
|
+
readonly createdAt: (Date) & readonlyP;
|
|
121
|
+
readonly updatedAt: (Date) & readonlyP;
|
|
88
122
|
readonly state: (WorkflowVersionState) & readonlyP;
|
|
89
|
-
|
|
90
|
-
readonly analyze: (WorkflowAnalyze_Without_EntrypointsByBranchesForDataNode_Branches_IndividualizedBranches_DefaultBranches & {
|
|
123
|
+
readonly analyze: (Omit_WorkflowAnalyze_outputsForEntrypoint_or_entrypointsForNode_or_datasForEntrypoint_ & {
|
|
91
124
|
outputsForEntrypoint: {
|
|
92
125
|
[key: string]: string[];
|
|
93
126
|
};
|
|
@@ -99,28 +132,28 @@ export declare type SerializedWorkflowVersion = {
|
|
|
99
132
|
};
|
|
100
133
|
}) & readonlyP;
|
|
101
134
|
};
|
|
102
|
-
export declare type WorkflowVersion = SerializedWorkflowVersion;
|
|
103
135
|
export declare enum WorkflowStatus {
|
|
104
136
|
DRAFT = "draft",
|
|
105
137
|
PUBLISHING = "publishing",
|
|
106
138
|
PUBLISHED = "published",
|
|
107
139
|
ERROR = "error"
|
|
108
140
|
}
|
|
109
|
-
export declare type
|
|
110
|
-
|
|
141
|
+
export declare type LegacyWorkflowDocument = {
|
|
142
|
+
versions: LegacyWorkflowVersion[];
|
|
111
143
|
readonly companyId: (string) & readonlyP;
|
|
112
|
-
resourceGroupIds: string[];
|
|
113
|
-
readonly versions: (WorkflowVersion[]) & readonlyP;
|
|
114
|
-
readonly createdAt: (Date) & readonlyP;
|
|
115
|
-
readonly updatedAt: (Date) & readonlyP;
|
|
116
144
|
name: string;
|
|
117
145
|
description?: string;
|
|
146
|
+
readonly id: (string) & readonlyP;
|
|
147
|
+
resourceGroupIds: string[];
|
|
118
148
|
variableProfileId?: string;
|
|
119
149
|
parameterValues: {
|
|
120
|
-
[key: string]: {
|
|
150
|
+
[key: string]: ({
|
|
121
151
|
entrypointIndex: number | null;
|
|
122
152
|
value: string;
|
|
123
|
-
}
|
|
153
|
+
} | {
|
|
154
|
+
entrypointId: string | null;
|
|
155
|
+
value: string;
|
|
156
|
+
})[];
|
|
124
157
|
};
|
|
125
158
|
readonly urls?: ({
|
|
126
159
|
type: "email" | "raw" | "mobile-push-image" | "mobile-app-image" | "web-image";
|
|
@@ -131,28 +164,30 @@ export declare type SerializedWorkflow = {
|
|
|
131
164
|
click: string;
|
|
132
165
|
}[]) & readonlyP;
|
|
133
166
|
readonly status: (WorkflowStatus) & readonlyP;
|
|
167
|
+
readonly createdAt: (Date) & readonlyP;
|
|
168
|
+
readonly updatedAt: (Date) & readonlyP;
|
|
134
169
|
};
|
|
135
|
-
export declare type
|
|
136
|
-
export declare type SerializedWorkflow_Without_Name_Description_ResourceGroupIds = {
|
|
170
|
+
export declare type LegacyWorkflowDocument_Without_Name_Description_ResourceGroupIds = {
|
|
137
171
|
name: string;
|
|
138
172
|
description?: string;
|
|
139
173
|
resourceGroupIds: string[];
|
|
140
174
|
};
|
|
141
|
-
export declare type
|
|
142
|
-
|
|
175
|
+
export declare type Partial_LegacyWorkflowDocument = {
|
|
176
|
+
versions?: LegacyWorkflowVersion[];
|
|
143
177
|
readonly companyId?: (string) & readonlyP;
|
|
144
|
-
resourceGroupIds?: string[];
|
|
145
|
-
readonly versions?: (WorkflowVersion[]) & readonlyP;
|
|
146
|
-
readonly createdAt?: (Date) & readonlyP;
|
|
147
|
-
readonly updatedAt?: (Date) & readonlyP;
|
|
148
178
|
name?: string;
|
|
149
179
|
description?: string;
|
|
180
|
+
readonly id?: (string) & readonlyP;
|
|
181
|
+
resourceGroupIds?: string[];
|
|
150
182
|
variableProfileId?: string;
|
|
151
183
|
parameterValues?: {
|
|
152
|
-
[key: string]: {
|
|
184
|
+
[key: string]: ({
|
|
153
185
|
entrypointIndex: number | null;
|
|
154
186
|
value: string;
|
|
155
|
-
}
|
|
187
|
+
} | {
|
|
188
|
+
entrypointId: string | null;
|
|
189
|
+
value: string;
|
|
190
|
+
})[];
|
|
156
191
|
};
|
|
157
192
|
readonly urls?: ({
|
|
158
193
|
type: "email" | "raw" | "mobile-push-image" | "mobile-app-image" | "web-image";
|
|
@@ -163,16 +198,47 @@ export declare type Partial_SerializedWorkflow = {
|
|
|
163
198
|
click: string;
|
|
164
199
|
}[]) & readonlyP;
|
|
165
200
|
readonly status?: (WorkflowStatus) & readonlyP;
|
|
166
|
-
};
|
|
167
|
-
export declare type Partial_SerializedWorkflowVersion = {
|
|
168
201
|
readonly createdAt?: (Date) & readonlyP;
|
|
169
202
|
readonly updatedAt?: (Date) & readonlyP;
|
|
203
|
+
};
|
|
204
|
+
export declare type Partial_LegacyWorkflowVersion = {
|
|
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
|
+
};
|
|
170
235
|
metadata?: {
|
|
171
236
|
[key: string]: AnyValue;
|
|
172
237
|
};
|
|
238
|
+
readonly createdAt?: (Date) & readonlyP;
|
|
239
|
+
readonly updatedAt?: (Date) & readonlyP;
|
|
173
240
|
readonly state?: (WorkflowVersionState) & readonlyP;
|
|
174
|
-
|
|
175
|
-
readonly analyze?: (WorkflowAnalyze_Without_EntrypointsByBranchesForDataNode_Branches_IndividualizedBranches_DefaultBranches & {
|
|
241
|
+
readonly analyze?: (Omit_WorkflowAnalyze_outputsForEntrypoint_or_entrypointsForNode_or_datasForEntrypoint_ & {
|
|
176
242
|
outputsForEntrypoint: {
|
|
177
243
|
[key: string]: string[];
|
|
178
244
|
};
|
|
@@ -184,11 +250,7 @@ export declare type Partial_SerializedWorkflowVersion = {
|
|
|
184
250
|
};
|
|
185
251
|
}) & readonlyP;
|
|
186
252
|
};
|
|
187
|
-
export declare type
|
|
188
|
-
|
|
189
|
-
message: string;
|
|
190
|
-
payload?: {
|
|
191
|
-
[key: string]: AnyValue;
|
|
192
|
-
};
|
|
253
|
+
export declare type ErrorPayload = {
|
|
254
|
+
[key: string]: AnyValue;
|
|
193
255
|
};
|
|
194
256
|
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,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiZGVmaW5pdGlvbnMuanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi9kZWZpbml0aW9ucy50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiO0FBQUEsb0JBQW9CO0FBQ3BCLG9CQUFvQjs7O0FBb0ZwQixJQUFZLG9CQUlYO0FBSkQsV0FBWSxvQkFBb0I7SUFDNUIsdUNBQWUsQ0FBQTtJQUNmLHFDQUFhLENBQUE7SUFDYiw2Q0FBcUIsQ0FBQTtBQUN6QixDQUFDLEVBSlcsb0JBQW9CLEdBQXBCLDRCQUFvQixLQUFwQiw0QkFBb0IsUUFJL0I7QUErREQsSUFBWSxjQUtYO0FBTEQsV0FBWSxjQUFjO0lBQ3RCLGlDQUFlLENBQUE7SUFDZiwyQ0FBeUIsQ0FBQTtJQUN6Qix5Q0FBdUIsQ0FBQTtJQUN2QixpQ0FBZSxDQUFBO0FBQ25CLENBQUMsRUFMVyxjQUFjLEdBQWQsc0JBQWMsS0FBZCxzQkFBYyxRQUt6QiJ9
|
package/package.json
CHANGED