@rlvt/workflows-openapi-client 1.0.130 → 1.0.133
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 +259 -164
- package/build/definitions.d.ts +3 -1
- package/package.json +1 -1
package/build/api.d.ts
CHANGED
|
@@ -18,11 +18,11 @@ export default class {
|
|
|
18
18
|
private updateWorkflowsWithContentUsage;
|
|
19
19
|
get Workflow(): {
|
|
20
20
|
listTemplates: (params: {
|
|
21
|
-
name?: string;
|
|
22
|
-
categories?: string;
|
|
23
|
-
page?: number;
|
|
24
|
-
perPage?: number;
|
|
25
|
-
}, options?: AxiosRequestConfig<any>) => Promise<import("axios").AxiosResponse<{
|
|
21
|
+
name?: string | undefined;
|
|
22
|
+
categories?: string | undefined;
|
|
23
|
+
page?: number | undefined;
|
|
24
|
+
perPage?: number | undefined;
|
|
25
|
+
}, options?: AxiosRequestConfig<any> | undefined) => Promise<import("axios").AxiosResponse<{
|
|
26
26
|
paginationCount: number;
|
|
27
27
|
paginationPage: number;
|
|
28
28
|
paginationLimit: number;
|
|
@@ -30,25 +30,25 @@ export default class {
|
|
|
30
30
|
program: string;
|
|
31
31
|
version: string;
|
|
32
32
|
datetime: string;
|
|
33
|
-
code?: number;
|
|
33
|
+
code?: number | undefined;
|
|
34
34
|
message: string;
|
|
35
35
|
data: {
|
|
36
|
-
description?: string;
|
|
36
|
+
description?: string | undefined;
|
|
37
37
|
readonly id: string & {
|
|
38
|
-
readonly?: "__readonly";
|
|
39
|
-
};
|
|
40
|
-
readonly companyId?: string & {
|
|
41
|
-
readonly?: "__readonly";
|
|
38
|
+
readonly?: "__readonly" | undefined;
|
|
42
39
|
};
|
|
40
|
+
readonly companyId?: (string & {
|
|
41
|
+
readonly?: "__readonly" | undefined;
|
|
42
|
+
}) | undefined;
|
|
43
43
|
name: string;
|
|
44
44
|
icon: string;
|
|
45
|
-
slug?: string;
|
|
45
|
+
slug?: string | undefined;
|
|
46
46
|
categories: string[];
|
|
47
|
-
feature?: string;
|
|
47
|
+
feature?: string | undefined;
|
|
48
48
|
template: {
|
|
49
49
|
entrypoints: {
|
|
50
50
|
node: string;
|
|
51
|
-
type: "email" | "raw";
|
|
51
|
+
type: "email" | "raw" | "mobile-push-image" | "mobile-app-image" | "web-image";
|
|
52
52
|
}[];
|
|
53
53
|
nodes: {
|
|
54
54
|
[x: string]: {
|
|
@@ -77,28 +77,28 @@ export default class {
|
|
|
77
77
|
};
|
|
78
78
|
metadata?: {
|
|
79
79
|
[x: string]: unknown;
|
|
80
|
-
};
|
|
80
|
+
} | undefined;
|
|
81
81
|
}[];
|
|
82
82
|
}, any>>;
|
|
83
|
-
listTemplateCategories: (params: Record<string, never>, options?: AxiosRequestConfig<any>) => Promise<import("axios").AxiosResponse<{
|
|
83
|
+
listTemplateCategories: (params: Record<string, never>, options?: AxiosRequestConfig<any> | undefined) => Promise<import("axios").AxiosResponse<{
|
|
84
84
|
status: "success";
|
|
85
85
|
program: string;
|
|
86
86
|
version: string;
|
|
87
87
|
datetime: string;
|
|
88
|
-
code?: number;
|
|
88
|
+
code?: number | undefined;
|
|
89
89
|
message: string;
|
|
90
90
|
data: string[];
|
|
91
91
|
}, any>>;
|
|
92
92
|
list: (params: {
|
|
93
|
-
ids?: string[];
|
|
94
|
-
name?: string;
|
|
95
|
-
resourceGroupIds?: string[];
|
|
96
|
-
status?: WorkflowStatus[];
|
|
97
|
-
sortBy?: "updatedAt" | "createdAt";
|
|
98
|
-
sortOrder?: "desc" | "asc";
|
|
99
|
-
page?: number;
|
|
100
|
-
perPage?: number;
|
|
101
|
-
}, options?: AxiosRequestConfig<any>) => Promise<import("axios").AxiosResponse<{
|
|
93
|
+
ids?: string[] | undefined;
|
|
94
|
+
name?: string | undefined;
|
|
95
|
+
resourceGroupIds?: string[] | undefined;
|
|
96
|
+
status?: WorkflowStatus[] | undefined;
|
|
97
|
+
sortBy?: "updatedAt" | "createdAt" | undefined;
|
|
98
|
+
sortOrder?: "desc" | "asc" | undefined;
|
|
99
|
+
page?: number | undefined;
|
|
100
|
+
perPage?: number | undefined;
|
|
101
|
+
}, options?: AxiosRequestConfig<any> | undefined) => Promise<import("axios").AxiosResponse<{
|
|
102
102
|
paginationCount: number;
|
|
103
103
|
paginationPage: number;
|
|
104
104
|
paginationLimit: number;
|
|
@@ -106,45 +106,45 @@ export default class {
|
|
|
106
106
|
program: string;
|
|
107
107
|
version: string;
|
|
108
108
|
datetime: string;
|
|
109
|
-
code?: number;
|
|
109
|
+
code?: number | undefined;
|
|
110
110
|
message: string;
|
|
111
111
|
data: {
|
|
112
|
-
description?: string;
|
|
112
|
+
description?: string | undefined;
|
|
113
113
|
readonly id: string & {
|
|
114
|
-
readonly?: "__readonly";
|
|
114
|
+
readonly?: "__readonly" | undefined;
|
|
115
115
|
};
|
|
116
116
|
readonly companyId: string & {
|
|
117
|
-
readonly?: "__readonly";
|
|
117
|
+
readonly?: "__readonly" | undefined;
|
|
118
118
|
};
|
|
119
119
|
name: string;
|
|
120
120
|
readonly updatedAt: Date & {
|
|
121
|
-
readonly?: "__readonly";
|
|
121
|
+
readonly?: "__readonly" | undefined;
|
|
122
122
|
};
|
|
123
123
|
readonly createdAt: Date & {
|
|
124
|
-
readonly?: "__readonly";
|
|
124
|
+
readonly?: "__readonly" | undefined;
|
|
125
125
|
};
|
|
126
126
|
resourceGroupIds: string[];
|
|
127
127
|
readonly versions: {
|
|
128
128
|
metadata?: {
|
|
129
129
|
[x: string]: unknown;
|
|
130
|
-
};
|
|
130
|
+
} | undefined;
|
|
131
131
|
readonly updatedAt: Date & {
|
|
132
|
-
readonly?: "__readonly";
|
|
132
|
+
readonly?: "__readonly" | undefined;
|
|
133
133
|
};
|
|
134
134
|
readonly createdAt: Date & {
|
|
135
|
-
readonly?: "__readonly";
|
|
135
|
+
readonly?: "__readonly" | undefined;
|
|
136
136
|
};
|
|
137
137
|
readonly state: (WorkflowVersionState.DRAFT & {
|
|
138
|
-
readonly?: "__readonly";
|
|
138
|
+
readonly?: "__readonly" | undefined;
|
|
139
139
|
}) | (WorkflowVersionState.LIVE & {
|
|
140
|
-
readonly?: "__readonly";
|
|
140
|
+
readonly?: "__readonly" | undefined;
|
|
141
141
|
}) | (WorkflowVersionState.INACTIVE & {
|
|
142
|
-
readonly?: "__readonly";
|
|
142
|
+
readonly?: "__readonly" | undefined;
|
|
143
143
|
});
|
|
144
144
|
definition: {
|
|
145
145
|
entrypoints: {
|
|
146
146
|
node: string;
|
|
147
|
-
type: "email" | "raw";
|
|
147
|
+
type: "email" | "raw" | "mobile-push-image" | "mobile-app-image" | "web-image";
|
|
148
148
|
}[];
|
|
149
149
|
nodes: {
|
|
150
150
|
[x: string]: {
|
|
@@ -172,7 +172,7 @@ export default class {
|
|
|
172
172
|
};
|
|
173
173
|
};
|
|
174
174
|
readonly analyze: {
|
|
175
|
-
readonly?: "__readonly";
|
|
175
|
+
readonly?: "__readonly" | undefined;
|
|
176
176
|
branches: string[];
|
|
177
177
|
individualizedBranches: string[];
|
|
178
178
|
defaultBranches: string[];
|
|
@@ -190,66 +190,67 @@ export default class {
|
|
|
190
190
|
readonly urls?: {
|
|
191
191
|
click: string;
|
|
192
192
|
display: string;
|
|
193
|
-
|
|
193
|
+
type: "email" | "raw" | "mobile-push-image" | "mobile-app-image" | "web-image";
|
|
194
|
+
}[] | undefined;
|
|
194
195
|
readonly status: (WorkflowStatus.DRAFT & {
|
|
195
|
-
readonly?: "__readonly";
|
|
196
|
+
readonly?: "__readonly" | undefined;
|
|
196
197
|
}) | (WorkflowStatus.PUBLISHING & {
|
|
197
|
-
readonly?: "__readonly";
|
|
198
|
+
readonly?: "__readonly" | undefined;
|
|
198
199
|
}) | (WorkflowStatus.PUBLISHED & {
|
|
199
|
-
readonly?: "__readonly";
|
|
200
|
+
readonly?: "__readonly" | undefined;
|
|
200
201
|
}) | (WorkflowStatus.ERROR & {
|
|
201
|
-
readonly?: "__readonly";
|
|
202
|
+
readonly?: "__readonly" | undefined;
|
|
202
203
|
});
|
|
203
204
|
}[];
|
|
204
205
|
}, any>>;
|
|
205
206
|
create: (params: Record<string, never>, data: {
|
|
206
|
-
description?: string;
|
|
207
|
+
description?: string | undefined;
|
|
207
208
|
name: string;
|
|
208
209
|
resourceGroupIds: string[];
|
|
209
|
-
}, options?: AxiosRequestConfig<any>) => Promise<import("axios").AxiosResponse<{
|
|
210
|
+
}, options?: AxiosRequestConfig<any> | undefined) => Promise<import("axios").AxiosResponse<{
|
|
210
211
|
status: "success";
|
|
211
212
|
program: string;
|
|
212
213
|
version: string;
|
|
213
214
|
datetime: string;
|
|
214
|
-
code?: number;
|
|
215
|
+
code?: number | undefined;
|
|
215
216
|
message: string;
|
|
216
217
|
data: {
|
|
217
|
-
description?: string;
|
|
218
|
+
description?: string | undefined;
|
|
218
219
|
readonly id: string & {
|
|
219
|
-
readonly?: "__readonly";
|
|
220
|
+
readonly?: "__readonly" | undefined;
|
|
220
221
|
};
|
|
221
222
|
readonly companyId: string & {
|
|
222
|
-
readonly?: "__readonly";
|
|
223
|
+
readonly?: "__readonly" | undefined;
|
|
223
224
|
};
|
|
224
225
|
name: string;
|
|
225
226
|
readonly updatedAt: Date & {
|
|
226
|
-
readonly?: "__readonly";
|
|
227
|
+
readonly?: "__readonly" | undefined;
|
|
227
228
|
};
|
|
228
229
|
readonly createdAt: Date & {
|
|
229
|
-
readonly?: "__readonly";
|
|
230
|
+
readonly?: "__readonly" | undefined;
|
|
230
231
|
};
|
|
231
232
|
resourceGroupIds: string[];
|
|
232
233
|
readonly versions: {
|
|
233
234
|
metadata?: {
|
|
234
235
|
[x: string]: unknown;
|
|
235
|
-
};
|
|
236
|
+
} | undefined;
|
|
236
237
|
readonly updatedAt: Date & {
|
|
237
|
-
readonly?: "__readonly";
|
|
238
|
+
readonly?: "__readonly" | undefined;
|
|
238
239
|
};
|
|
239
240
|
readonly createdAt: Date & {
|
|
240
|
-
readonly?: "__readonly";
|
|
241
|
+
readonly?: "__readonly" | undefined;
|
|
241
242
|
};
|
|
242
243
|
readonly state: (WorkflowVersionState.DRAFT & {
|
|
243
|
-
readonly?: "__readonly";
|
|
244
|
+
readonly?: "__readonly" | undefined;
|
|
244
245
|
}) | (WorkflowVersionState.LIVE & {
|
|
245
|
-
readonly?: "__readonly";
|
|
246
|
+
readonly?: "__readonly" | undefined;
|
|
246
247
|
}) | (WorkflowVersionState.INACTIVE & {
|
|
247
|
-
readonly?: "__readonly";
|
|
248
|
+
readonly?: "__readonly" | undefined;
|
|
248
249
|
});
|
|
249
250
|
definition: {
|
|
250
251
|
entrypoints: {
|
|
251
252
|
node: string;
|
|
252
|
-
type: "email" | "raw";
|
|
253
|
+
type: "email" | "raw" | "mobile-push-image" | "mobile-app-image" | "web-image";
|
|
253
254
|
}[];
|
|
254
255
|
nodes: {
|
|
255
256
|
[x: string]: {
|
|
@@ -277,7 +278,7 @@ export default class {
|
|
|
277
278
|
};
|
|
278
279
|
};
|
|
279
280
|
readonly analyze: {
|
|
280
|
-
readonly?: "__readonly";
|
|
281
|
+
readonly?: "__readonly" | undefined;
|
|
281
282
|
branches: string[];
|
|
282
283
|
individualizedBranches: string[];
|
|
283
284
|
defaultBranches: string[];
|
|
@@ -295,65 +296,66 @@ export default class {
|
|
|
295
296
|
readonly urls?: {
|
|
296
297
|
click: string;
|
|
297
298
|
display: string;
|
|
298
|
-
|
|
299
|
+
type: "email" | "raw" | "mobile-push-image" | "mobile-app-image" | "web-image";
|
|
300
|
+
}[] | undefined;
|
|
299
301
|
readonly status: (WorkflowStatus.DRAFT & {
|
|
300
|
-
readonly?: "__readonly";
|
|
302
|
+
readonly?: "__readonly" | undefined;
|
|
301
303
|
}) | (WorkflowStatus.PUBLISHING & {
|
|
302
|
-
readonly?: "__readonly";
|
|
304
|
+
readonly?: "__readonly" | undefined;
|
|
303
305
|
}) | (WorkflowStatus.PUBLISHED & {
|
|
304
|
-
readonly?: "__readonly";
|
|
306
|
+
readonly?: "__readonly" | undefined;
|
|
305
307
|
}) | (WorkflowStatus.ERROR & {
|
|
306
|
-
readonly?: "__readonly";
|
|
308
|
+
readonly?: "__readonly" | undefined;
|
|
307
309
|
});
|
|
308
310
|
};
|
|
309
311
|
}, any>>;
|
|
310
312
|
get: (params: {
|
|
311
313
|
id: string;
|
|
312
|
-
versions?: WorkflowVersionState[];
|
|
313
|
-
}, options?: AxiosRequestConfig<any>) => Promise<import("axios").AxiosResponse<{
|
|
314
|
+
versions?: WorkflowVersionState[] | undefined;
|
|
315
|
+
}, options?: AxiosRequestConfig<any> | undefined) => Promise<import("axios").AxiosResponse<{
|
|
314
316
|
status: "success";
|
|
315
317
|
program: string;
|
|
316
318
|
version: string;
|
|
317
319
|
datetime: string;
|
|
318
|
-
code?: number;
|
|
320
|
+
code?: number | undefined;
|
|
319
321
|
message: string;
|
|
320
322
|
data: {
|
|
321
|
-
description?: string;
|
|
323
|
+
description?: string | undefined;
|
|
322
324
|
readonly id: string & {
|
|
323
|
-
readonly?: "__readonly";
|
|
325
|
+
readonly?: "__readonly" | undefined;
|
|
324
326
|
};
|
|
325
327
|
readonly companyId: string & {
|
|
326
|
-
readonly?: "__readonly";
|
|
328
|
+
readonly?: "__readonly" | undefined;
|
|
327
329
|
};
|
|
328
330
|
name: string;
|
|
329
331
|
readonly updatedAt: Date & {
|
|
330
|
-
readonly?: "__readonly";
|
|
332
|
+
readonly?: "__readonly" | undefined;
|
|
331
333
|
};
|
|
332
334
|
readonly createdAt: Date & {
|
|
333
|
-
readonly?: "__readonly";
|
|
335
|
+
readonly?: "__readonly" | undefined;
|
|
334
336
|
};
|
|
335
337
|
resourceGroupIds: string[];
|
|
336
338
|
readonly versions: {
|
|
337
339
|
metadata?: {
|
|
338
340
|
[x: string]: unknown;
|
|
339
|
-
};
|
|
341
|
+
} | undefined;
|
|
340
342
|
readonly updatedAt: Date & {
|
|
341
|
-
readonly?: "__readonly";
|
|
343
|
+
readonly?: "__readonly" | undefined;
|
|
342
344
|
};
|
|
343
345
|
readonly createdAt: Date & {
|
|
344
|
-
readonly?: "__readonly";
|
|
346
|
+
readonly?: "__readonly" | undefined;
|
|
345
347
|
};
|
|
346
348
|
readonly state: (WorkflowVersionState.DRAFT & {
|
|
347
|
-
readonly?: "__readonly";
|
|
349
|
+
readonly?: "__readonly" | undefined;
|
|
348
350
|
}) | (WorkflowVersionState.LIVE & {
|
|
349
|
-
readonly?: "__readonly";
|
|
351
|
+
readonly?: "__readonly" | undefined;
|
|
350
352
|
}) | (WorkflowVersionState.INACTIVE & {
|
|
351
|
-
readonly?: "__readonly";
|
|
353
|
+
readonly?: "__readonly" | undefined;
|
|
352
354
|
});
|
|
353
355
|
definition: {
|
|
354
356
|
entrypoints: {
|
|
355
357
|
node: string;
|
|
356
|
-
type: "email" | "raw";
|
|
358
|
+
type: "email" | "raw" | "mobile-push-image" | "mobile-app-image" | "web-image";
|
|
357
359
|
}[];
|
|
358
360
|
nodes: {
|
|
359
361
|
[x: string]: {
|
|
@@ -381,7 +383,7 @@ export default class {
|
|
|
381
383
|
};
|
|
382
384
|
};
|
|
383
385
|
readonly analyze: {
|
|
384
|
-
readonly?: "__readonly";
|
|
386
|
+
readonly?: "__readonly" | undefined;
|
|
385
387
|
branches: string[];
|
|
386
388
|
individualizedBranches: string[];
|
|
387
389
|
defaultBranches: string[];
|
|
@@ -399,32 +401,107 @@ export default class {
|
|
|
399
401
|
readonly urls?: {
|
|
400
402
|
click: string;
|
|
401
403
|
display: string;
|
|
402
|
-
|
|
404
|
+
type: "email" | "raw" | "mobile-push-image" | "mobile-app-image" | "web-image";
|
|
405
|
+
}[] | undefined;
|
|
403
406
|
readonly status: (WorkflowStatus.DRAFT & {
|
|
404
|
-
readonly?: "__readonly";
|
|
407
|
+
readonly?: "__readonly" | undefined;
|
|
405
408
|
}) | (WorkflowStatus.PUBLISHING & {
|
|
406
|
-
readonly?: "__readonly";
|
|
409
|
+
readonly?: "__readonly" | undefined;
|
|
407
410
|
}) | (WorkflowStatus.PUBLISHED & {
|
|
408
|
-
readonly?: "__readonly";
|
|
411
|
+
readonly?: "__readonly" | undefined;
|
|
409
412
|
}) | (WorkflowStatus.ERROR & {
|
|
410
|
-
readonly?: "__readonly";
|
|
413
|
+
readonly?: "__readonly" | undefined;
|
|
411
414
|
});
|
|
412
415
|
};
|
|
413
416
|
}, any>>;
|
|
414
417
|
update: (params: {
|
|
415
418
|
id: string;
|
|
416
419
|
}, data: {
|
|
417
|
-
description?: string;
|
|
418
|
-
|
|
419
|
-
|
|
420
|
+
description?: string | undefined;
|
|
421
|
+
readonly id?: (string & {
|
|
422
|
+
readonly?: "__readonly" | undefined;
|
|
423
|
+
}) | undefined;
|
|
424
|
+
readonly companyId?: (string & {
|
|
425
|
+
readonly?: "__readonly" | undefined;
|
|
426
|
+
}) | undefined;
|
|
427
|
+
name?: string | undefined;
|
|
428
|
+
readonly updatedAt?: (Date & {
|
|
429
|
+
readonly?: "__readonly" | undefined;
|
|
430
|
+
}) | undefined;
|
|
431
|
+
readonly createdAt?: (Date & {
|
|
432
|
+
readonly?: "__readonly" | undefined;
|
|
433
|
+
}) | undefined;
|
|
434
|
+
resourceGroupIds?: string[] | undefined;
|
|
435
|
+
readonly versions?: {
|
|
436
|
+
metadata?: {
|
|
437
|
+
[x: string]: unknown;
|
|
438
|
+
} | undefined;
|
|
439
|
+
definition: {
|
|
440
|
+
entrypoints: {
|
|
441
|
+
node: string;
|
|
442
|
+
type: "email" | "raw" | "mobile-push-image" | "mobile-app-image" | "web-image";
|
|
443
|
+
}[];
|
|
444
|
+
nodes: {
|
|
445
|
+
[x: string]: {
|
|
446
|
+
name: string;
|
|
447
|
+
metadata: {
|
|
448
|
+
[x: string]: unknown;
|
|
449
|
+
};
|
|
450
|
+
dependencies: string[];
|
|
451
|
+
edges: {
|
|
452
|
+
node: string;
|
|
453
|
+
config: {
|
|
454
|
+
[x: string]: unknown;
|
|
455
|
+
};
|
|
456
|
+
}[];
|
|
457
|
+
} | {
|
|
458
|
+
name: string;
|
|
459
|
+
metadata: {
|
|
460
|
+
[x: string]: unknown;
|
|
461
|
+
};
|
|
462
|
+
dependencies: string[];
|
|
463
|
+
config: {
|
|
464
|
+
[x: string]: unknown;
|
|
465
|
+
};
|
|
466
|
+
};
|
|
467
|
+
};
|
|
468
|
+
};
|
|
469
|
+
}[] | undefined;
|
|
470
|
+
readonly urls?: {
|
|
471
|
+
click: string;
|
|
472
|
+
display: string;
|
|
473
|
+
type: "email" | "raw" | "mobile-push-image" | "mobile-app-image" | "web-image";
|
|
474
|
+
}[] | undefined;
|
|
475
|
+
readonly status?: (WorkflowStatus.DRAFT & {
|
|
476
|
+
readonly?: "__readonly" | undefined;
|
|
477
|
+
}) | (WorkflowStatus.PUBLISHING & {
|
|
478
|
+
readonly?: "__readonly" | undefined;
|
|
479
|
+
}) | (WorkflowStatus.PUBLISHED & {
|
|
480
|
+
readonly?: "__readonly" | undefined;
|
|
481
|
+
}) | (WorkflowStatus.ERROR & {
|
|
482
|
+
readonly?: "__readonly" | undefined;
|
|
483
|
+
}) | undefined;
|
|
420
484
|
} & {
|
|
421
485
|
metadata?: {
|
|
422
486
|
[x: string]: unknown;
|
|
423
|
-
};
|
|
487
|
+
} | undefined;
|
|
488
|
+
readonly updatedAt?: (Date & {
|
|
489
|
+
readonly?: "__readonly" | undefined;
|
|
490
|
+
}) | undefined;
|
|
491
|
+
readonly createdAt?: (Date & {
|
|
492
|
+
readonly?: "__readonly" | undefined;
|
|
493
|
+
}) | undefined;
|
|
494
|
+
readonly state?: (WorkflowVersionState.DRAFT & {
|
|
495
|
+
readonly?: "__readonly" | undefined;
|
|
496
|
+
}) | (WorkflowVersionState.LIVE & {
|
|
497
|
+
readonly?: "__readonly" | undefined;
|
|
498
|
+
}) | (WorkflowVersionState.INACTIVE & {
|
|
499
|
+
readonly?: "__readonly" | undefined;
|
|
500
|
+
}) | undefined;
|
|
424
501
|
definition?: {
|
|
425
502
|
entrypoints: {
|
|
426
503
|
node: string;
|
|
427
|
-
type: "email" | "raw";
|
|
504
|
+
type: "email" | "raw" | "mobile-push-image" | "mobile-app-image" | "web-image";
|
|
428
505
|
}[];
|
|
429
506
|
nodes: {
|
|
430
507
|
[x: string]: {
|
|
@@ -450,51 +527,66 @@ export default class {
|
|
|
450
527
|
};
|
|
451
528
|
};
|
|
452
529
|
};
|
|
453
|
-
};
|
|
454
|
-
|
|
530
|
+
} | undefined;
|
|
531
|
+
readonly analyze?: {
|
|
532
|
+
readonly?: "__readonly" | undefined;
|
|
533
|
+
branches: string[];
|
|
534
|
+
individualizedBranches: string[];
|
|
535
|
+
defaultBranches: string[];
|
|
536
|
+
outputsForEntrypoint: {
|
|
537
|
+
[x: string]: string[];
|
|
538
|
+
};
|
|
539
|
+
entrypointsForNode: {
|
|
540
|
+
[x: string]: string[];
|
|
541
|
+
};
|
|
542
|
+
datasForEntrypoint: {
|
|
543
|
+
[x: string]: string[];
|
|
544
|
+
};
|
|
545
|
+
} | undefined;
|
|
546
|
+
}, options?: AxiosRequestConfig<any> | undefined) => Promise<import("axios").AxiosResponse<{
|
|
455
547
|
status: "success";
|
|
456
548
|
program: string;
|
|
457
549
|
version: string;
|
|
458
550
|
datetime: string;
|
|
459
|
-
code?: number;
|
|
551
|
+
code?: number | undefined;
|
|
460
552
|
message: string;
|
|
461
553
|
data: {
|
|
462
|
-
description?: string;
|
|
554
|
+
description?: string | undefined;
|
|
463
555
|
readonly id: string & {
|
|
464
|
-
readonly?: "__readonly";
|
|
556
|
+
readonly?: "__readonly" | undefined;
|
|
465
557
|
};
|
|
466
558
|
readonly companyId: string & {
|
|
467
|
-
readonly?: "__readonly";
|
|
559
|
+
readonly?: "__readonly" | undefined;
|
|
468
560
|
};
|
|
469
561
|
name: string;
|
|
470
562
|
readonly updatedAt: Date & {
|
|
471
|
-
readonly?: "__readonly";
|
|
563
|
+
readonly?: "__readonly" | undefined;
|
|
472
564
|
};
|
|
473
565
|
readonly createdAt: Date & {
|
|
474
|
-
readonly?: "__readonly";
|
|
566
|
+
readonly?: "__readonly" | undefined;
|
|
475
567
|
};
|
|
476
568
|
resourceGroupIds: string[];
|
|
477
569
|
readonly versions: {
|
|
478
570
|
metadata?: {
|
|
479
571
|
[x: string]: unknown;
|
|
480
|
-
};
|
|
572
|
+
} | undefined;
|
|
481
573
|
readonly updatedAt: Date & {
|
|
482
|
-
readonly?: "__readonly";
|
|
574
|
+
readonly?: "__readonly" | undefined;
|
|
483
575
|
};
|
|
484
576
|
readonly createdAt: Date & {
|
|
485
|
-
readonly?: "__readonly";
|
|
577
|
+
readonly?: "__readonly" | undefined;
|
|
486
578
|
};
|
|
487
579
|
readonly state: (WorkflowVersionState.DRAFT & {
|
|
488
|
-
readonly?: "__readonly";
|
|
580
|
+
readonly?: "__readonly" | undefined;
|
|
489
581
|
}) | (WorkflowVersionState.LIVE & {
|
|
490
|
-
readonly?: "__readonly";
|
|
582
|
+
readonly?: "__readonly" | undefined;
|
|
491
583
|
}) | (WorkflowVersionState.INACTIVE & {
|
|
492
|
-
readonly?: "__readonly";
|
|
584
|
+
readonly?: "__readonly" | undefined;
|
|
493
585
|
});
|
|
494
586
|
definition: {
|
|
495
587
|
entrypoints: {
|
|
496
588
|
node: string;
|
|
497
|
-
type: "email" | "raw";
|
|
589
|
+
type: "email" | "raw" | "mobile-push-image" | "mobile-app-image" | "web-image";
|
|
498
590
|
}[];
|
|
499
591
|
nodes: {
|
|
500
592
|
[x: string]: {
|
|
@@ -522,7 +614,7 @@ export default class {
|
|
|
522
614
|
};
|
|
523
615
|
};
|
|
524
616
|
readonly analyze: {
|
|
525
|
-
readonly?: "__readonly";
|
|
617
|
+
readonly?: "__readonly" | undefined;
|
|
526
618
|
branches: string[];
|
|
527
619
|
individualizedBranches: string[];
|
|
528
620
|
defaultBranches: string[];
|
|
@@ -540,75 +632,76 @@ export default class {
|
|
|
540
632
|
readonly urls?: {
|
|
541
633
|
click: string;
|
|
542
634
|
display: string;
|
|
543
|
-
|
|
635
|
+
type: "email" | "raw" | "mobile-push-image" | "mobile-app-image" | "web-image";
|
|
636
|
+
}[] | undefined;
|
|
544
637
|
readonly status: (WorkflowStatus.DRAFT & {
|
|
545
|
-
readonly?: "__readonly";
|
|
638
|
+
readonly?: "__readonly" | undefined;
|
|
546
639
|
}) | (WorkflowStatus.PUBLISHING & {
|
|
547
|
-
readonly?: "__readonly";
|
|
640
|
+
readonly?: "__readonly" | undefined;
|
|
548
641
|
}) | (WorkflowStatus.PUBLISHED & {
|
|
549
|
-
readonly?: "__readonly";
|
|
642
|
+
readonly?: "__readonly" | undefined;
|
|
550
643
|
}) | (WorkflowStatus.ERROR & {
|
|
551
|
-
readonly?: "__readonly";
|
|
644
|
+
readonly?: "__readonly" | undefined;
|
|
552
645
|
});
|
|
553
646
|
};
|
|
554
647
|
}, any>>;
|
|
555
648
|
delete: (params: {
|
|
556
649
|
id: string;
|
|
557
|
-
}, options?: AxiosRequestConfig<any>) => Promise<import("axios").AxiosResponse<{
|
|
650
|
+
}, options?: AxiosRequestConfig<any> | undefined) => Promise<import("axios").AxiosResponse<{
|
|
558
651
|
status: "success";
|
|
559
652
|
program: string;
|
|
560
653
|
version: string;
|
|
561
654
|
datetime: string;
|
|
562
|
-
code?: number;
|
|
655
|
+
code?: number | undefined;
|
|
563
656
|
message: string;
|
|
564
657
|
data: {};
|
|
565
658
|
}, any>>;
|
|
566
659
|
duplicate: (params: Record<string, never>, data: {
|
|
567
660
|
sourceId: string;
|
|
568
|
-
}, options?: AxiosRequestConfig<any>) => Promise<import("axios").AxiosResponse<{
|
|
661
|
+
}, options?: AxiosRequestConfig<any> | undefined) => Promise<import("axios").AxiosResponse<{
|
|
569
662
|
status: "success";
|
|
570
663
|
program: string;
|
|
571
664
|
version: string;
|
|
572
665
|
datetime: string;
|
|
573
|
-
code?: number;
|
|
666
|
+
code?: number | undefined;
|
|
574
667
|
message: string;
|
|
575
668
|
data: {
|
|
576
|
-
description?: string;
|
|
669
|
+
description?: string | undefined;
|
|
577
670
|
readonly id: string & {
|
|
578
|
-
readonly?: "__readonly";
|
|
671
|
+
readonly?: "__readonly" | undefined;
|
|
579
672
|
};
|
|
580
673
|
readonly companyId: string & {
|
|
581
|
-
readonly?: "__readonly";
|
|
674
|
+
readonly?: "__readonly" | undefined;
|
|
582
675
|
};
|
|
583
676
|
name: string;
|
|
584
677
|
readonly updatedAt: Date & {
|
|
585
|
-
readonly?: "__readonly";
|
|
678
|
+
readonly?: "__readonly" | undefined;
|
|
586
679
|
};
|
|
587
680
|
readonly createdAt: Date & {
|
|
588
|
-
readonly?: "__readonly";
|
|
681
|
+
readonly?: "__readonly" | undefined;
|
|
589
682
|
};
|
|
590
683
|
resourceGroupIds: string[];
|
|
591
684
|
readonly versions: {
|
|
592
685
|
metadata?: {
|
|
593
686
|
[x: string]: unknown;
|
|
594
|
-
};
|
|
687
|
+
} | undefined;
|
|
595
688
|
readonly updatedAt: Date & {
|
|
596
|
-
readonly?: "__readonly";
|
|
689
|
+
readonly?: "__readonly" | undefined;
|
|
597
690
|
};
|
|
598
691
|
readonly createdAt: Date & {
|
|
599
|
-
readonly?: "__readonly";
|
|
692
|
+
readonly?: "__readonly" | undefined;
|
|
600
693
|
};
|
|
601
694
|
readonly state: (WorkflowVersionState.DRAFT & {
|
|
602
|
-
readonly?: "__readonly";
|
|
695
|
+
readonly?: "__readonly" | undefined;
|
|
603
696
|
}) | (WorkflowVersionState.LIVE & {
|
|
604
|
-
readonly?: "__readonly";
|
|
697
|
+
readonly?: "__readonly" | undefined;
|
|
605
698
|
}) | (WorkflowVersionState.INACTIVE & {
|
|
606
|
-
readonly?: "__readonly";
|
|
699
|
+
readonly?: "__readonly" | undefined;
|
|
607
700
|
});
|
|
608
701
|
definition: {
|
|
609
702
|
entrypoints: {
|
|
610
703
|
node: string;
|
|
611
|
-
type: "email" | "raw";
|
|
704
|
+
type: "email" | "raw" | "mobile-push-image" | "mobile-app-image" | "web-image";
|
|
612
705
|
}[];
|
|
613
706
|
nodes: {
|
|
614
707
|
[x: string]: {
|
|
@@ -636,7 +729,7 @@ export default class {
|
|
|
636
729
|
};
|
|
637
730
|
};
|
|
638
731
|
readonly analyze: {
|
|
639
|
-
readonly?: "__readonly";
|
|
732
|
+
readonly?: "__readonly" | undefined;
|
|
640
733
|
branches: string[];
|
|
641
734
|
individualizedBranches: string[];
|
|
642
735
|
defaultBranches: string[];
|
|
@@ -654,64 +747,65 @@ export default class {
|
|
|
654
747
|
readonly urls?: {
|
|
655
748
|
click: string;
|
|
656
749
|
display: string;
|
|
657
|
-
|
|
750
|
+
type: "email" | "raw" | "mobile-push-image" | "mobile-app-image" | "web-image";
|
|
751
|
+
}[] | undefined;
|
|
658
752
|
readonly status: (WorkflowStatus.DRAFT & {
|
|
659
|
-
readonly?: "__readonly";
|
|
753
|
+
readonly?: "__readonly" | undefined;
|
|
660
754
|
}) | (WorkflowStatus.PUBLISHING & {
|
|
661
|
-
readonly?: "__readonly";
|
|
755
|
+
readonly?: "__readonly" | undefined;
|
|
662
756
|
}) | (WorkflowStatus.PUBLISHED & {
|
|
663
|
-
readonly?: "__readonly";
|
|
757
|
+
readonly?: "__readonly" | undefined;
|
|
664
758
|
}) | (WorkflowStatus.ERROR & {
|
|
665
|
-
readonly?: "__readonly";
|
|
759
|
+
readonly?: "__readonly" | undefined;
|
|
666
760
|
});
|
|
667
761
|
};
|
|
668
762
|
}, any>>;
|
|
669
763
|
publish: (params: {
|
|
670
764
|
id: string;
|
|
671
|
-
}, options?: AxiosRequestConfig<any>) => Promise<import("axios").AxiosResponse<{
|
|
765
|
+
}, options?: AxiosRequestConfig<any> | undefined) => Promise<import("axios").AxiosResponse<{
|
|
672
766
|
status: "success";
|
|
673
767
|
program: string;
|
|
674
768
|
version: string;
|
|
675
769
|
datetime: string;
|
|
676
|
-
code?: number;
|
|
770
|
+
code?: number | undefined;
|
|
677
771
|
message: string;
|
|
678
772
|
data: {
|
|
679
|
-
description?: string;
|
|
773
|
+
description?: string | undefined;
|
|
680
774
|
readonly id: string & {
|
|
681
|
-
readonly?: "__readonly";
|
|
775
|
+
readonly?: "__readonly" | undefined;
|
|
682
776
|
};
|
|
683
777
|
readonly companyId: string & {
|
|
684
|
-
readonly?: "__readonly";
|
|
778
|
+
readonly?: "__readonly" | undefined;
|
|
685
779
|
};
|
|
686
780
|
name: string;
|
|
687
781
|
readonly updatedAt: Date & {
|
|
688
|
-
readonly?: "__readonly";
|
|
782
|
+
readonly?: "__readonly" | undefined;
|
|
689
783
|
};
|
|
690
784
|
readonly createdAt: Date & {
|
|
691
|
-
readonly?: "__readonly";
|
|
785
|
+
readonly?: "__readonly" | undefined;
|
|
692
786
|
};
|
|
693
787
|
resourceGroupIds: string[];
|
|
694
788
|
readonly versions: {
|
|
695
789
|
metadata?: {
|
|
696
790
|
[x: string]: unknown;
|
|
697
|
-
};
|
|
791
|
+
} | undefined;
|
|
698
792
|
readonly updatedAt: Date & {
|
|
699
|
-
readonly?: "__readonly";
|
|
793
|
+
readonly?: "__readonly" | undefined;
|
|
700
794
|
};
|
|
701
795
|
readonly createdAt: Date & {
|
|
702
|
-
readonly?: "__readonly";
|
|
796
|
+
readonly?: "__readonly" | undefined;
|
|
703
797
|
};
|
|
704
798
|
readonly state: (WorkflowVersionState.DRAFT & {
|
|
705
|
-
readonly?: "__readonly";
|
|
799
|
+
readonly?: "__readonly" | undefined;
|
|
706
800
|
}) | (WorkflowVersionState.LIVE & {
|
|
707
|
-
readonly?: "__readonly";
|
|
801
|
+
readonly?: "__readonly" | undefined;
|
|
708
802
|
}) | (WorkflowVersionState.INACTIVE & {
|
|
709
|
-
readonly?: "__readonly";
|
|
803
|
+
readonly?: "__readonly" | undefined;
|
|
710
804
|
});
|
|
711
805
|
definition: {
|
|
712
806
|
entrypoints: {
|
|
713
807
|
node: string;
|
|
714
|
-
type: "email" | "raw";
|
|
808
|
+
type: "email" | "raw" | "mobile-push-image" | "mobile-app-image" | "web-image";
|
|
715
809
|
}[];
|
|
716
810
|
nodes: {
|
|
717
811
|
[x: string]: {
|
|
@@ -739,7 +833,7 @@ export default class {
|
|
|
739
833
|
};
|
|
740
834
|
};
|
|
741
835
|
readonly analyze: {
|
|
742
|
-
readonly?: "__readonly";
|
|
836
|
+
readonly?: "__readonly" | undefined;
|
|
743
837
|
branches: string[];
|
|
744
838
|
individualizedBranches: string[];
|
|
745
839
|
defaultBranches: string[];
|
|
@@ -757,15 +851,16 @@ export default class {
|
|
|
757
851
|
readonly urls?: {
|
|
758
852
|
click: string;
|
|
759
853
|
display: string;
|
|
760
|
-
|
|
854
|
+
type: "email" | "raw" | "mobile-push-image" | "mobile-app-image" | "web-image";
|
|
855
|
+
}[] | undefined;
|
|
761
856
|
readonly status: (WorkflowStatus.DRAFT & {
|
|
762
|
-
readonly?: "__readonly";
|
|
857
|
+
readonly?: "__readonly" | undefined;
|
|
763
858
|
}) | (WorkflowStatus.PUBLISHING & {
|
|
764
|
-
readonly?: "__readonly";
|
|
859
|
+
readonly?: "__readonly" | undefined;
|
|
765
860
|
}) | (WorkflowStatus.PUBLISHED & {
|
|
766
|
-
readonly?: "__readonly";
|
|
861
|
+
readonly?: "__readonly" | undefined;
|
|
767
862
|
}) | (WorkflowStatus.ERROR & {
|
|
768
|
-
readonly?: "__readonly";
|
|
863
|
+
readonly?: "__readonly" | undefined;
|
|
769
864
|
});
|
|
770
865
|
};
|
|
771
866
|
}, any>>;
|
|
@@ -774,32 +869,32 @@ export default class {
|
|
|
774
869
|
run: (params: {
|
|
775
870
|
id: string;
|
|
776
871
|
index: number;
|
|
777
|
-
'rlvt-u'?: string | string[];
|
|
778
|
-
mode?: "debug" | "click" | "display";
|
|
779
|
-
'no-cache'?: boolean;
|
|
780
|
-
'dry-run'?: boolean;
|
|
781
|
-
}, options?: AxiosRequestConfig<any>) => Promise<import("axios").AxiosResponse<unknown, any>>;
|
|
872
|
+
'rlvt-u'?: string | string[] | undefined;
|
|
873
|
+
mode?: "debug" | "click" | "display" | undefined;
|
|
874
|
+
'no-cache'?: boolean | undefined;
|
|
875
|
+
'dry-run'?: boolean | undefined;
|
|
876
|
+
}, options?: AxiosRequestConfig<any> | undefined) => Promise<import("axios").AxiosResponse<unknown, any>>;
|
|
782
877
|
};
|
|
783
878
|
get Usage(): {
|
|
784
879
|
listWorkflowsWithContent: (params: {
|
|
785
880
|
id: string;
|
|
786
|
-
}, options?: AxiosRequestConfig<any>) => Promise<import("axios").AxiosResponse<{
|
|
881
|
+
}, options?: AxiosRequestConfig<any> | undefined) => Promise<import("axios").AxiosResponse<{
|
|
787
882
|
status: "success";
|
|
788
883
|
program: string;
|
|
789
884
|
version: string;
|
|
790
885
|
datetime: string;
|
|
791
|
-
code?: number;
|
|
886
|
+
code?: number | undefined;
|
|
792
887
|
message: string;
|
|
793
888
|
data: string[];
|
|
794
889
|
}, any>>;
|
|
795
890
|
updateWorkflowsWithContent: (params: {
|
|
796
891
|
id: string;
|
|
797
|
-
}, options?: AxiosRequestConfig<any>) => Promise<import("axios").AxiosResponse<{
|
|
892
|
+
}, options?: AxiosRequestConfig<any> | undefined) => Promise<import("axios").AxiosResponse<{
|
|
798
893
|
status: "success";
|
|
799
894
|
program: string;
|
|
800
895
|
version: string;
|
|
801
896
|
datetime: string;
|
|
802
|
-
code?: number;
|
|
897
|
+
code?: number | undefined;
|
|
803
898
|
message: string;
|
|
804
899
|
data: {};
|
|
805
900
|
}, any>>;
|
package/build/definitions.d.ts
CHANGED
|
@@ -21,7 +21,7 @@ export declare type AnyValue = unknown | null;
|
|
|
21
21
|
export declare type Workflow = {
|
|
22
22
|
entrypoints: {
|
|
23
23
|
node: string;
|
|
24
|
-
type: "email" | "raw";
|
|
24
|
+
type: "email" | "raw" | "mobile-push-image" | "mobile-app-image" | "web-image";
|
|
25
25
|
}[];
|
|
26
26
|
nodes: {
|
|
27
27
|
[key: string]: {
|
|
@@ -110,6 +110,7 @@ export declare type SerializedWorkflow = {
|
|
|
110
110
|
name: string;
|
|
111
111
|
description?: string;
|
|
112
112
|
readonly urls?: ({
|
|
113
|
+
type: "email" | "raw" | "mobile-push-image" | "mobile-app-image" | "web-image";
|
|
113
114
|
display: string;
|
|
114
115
|
click: string;
|
|
115
116
|
}[]) & readonlyP;
|
|
@@ -131,6 +132,7 @@ export declare type Partial_SerializedWorkflow = {
|
|
|
131
132
|
name?: string;
|
|
132
133
|
description?: string;
|
|
133
134
|
readonly urls?: ({
|
|
135
|
+
type: "email" | "raw" | "mobile-push-image" | "mobile-app-image" | "web-image";
|
|
134
136
|
display: string;
|
|
135
137
|
click: string;
|
|
136
138
|
}[]) & readonlyP;
|
package/package.json
CHANGED