@rlvt/workflows-openapi-client 0.0.0-c338208 → 0.0.0-ea08111
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 +69 -327
- package/build/api.js +29 -32
- package/build/definitions.d.ts +83 -104
- package/build/definitions.js +1 -1
- package/package.json +1 -1
package/build/api.d.ts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { AxiosInstance, AxiosRequestConfig } from "axios";
|
|
2
|
-
import
|
|
3
|
-
export
|
|
2
|
+
import type { WorkflowTemplates, Workflows, WorkflowStatus, Pick_SerializedWorkflow_name_or_description_or_resourceGroupIds_, Partial_SerializedWorkflow_, Partial_SerializedWorkflowVersions_, AnyValue, WithoutReadonly, WithoutWriteonly } from "./definitions";
|
|
3
|
+
export type { WorkflowTemplates, Workflows, WorkflowStatus, Pick_SerializedWorkflow_name_or_description_or_resourceGroupIds_, Partial_SerializedWorkflow_, Partial_SerializedWorkflowVersions_, AnyValue, WithoutReadonly, WithoutWriteonly };
|
|
4
4
|
export default class {
|
|
5
5
|
axios: AxiosInstance;
|
|
6
6
|
constructor(configOrInstance: AxiosRequestConfig | AxiosInstance);
|
|
@@ -35,6 +35,7 @@ export default class {
|
|
|
35
35
|
readonly id: string & {
|
|
36
36
|
readonly?: "__readonly";
|
|
37
37
|
};
|
|
38
|
+
metadata?: {};
|
|
38
39
|
icon: string;
|
|
39
40
|
slug: string;
|
|
40
41
|
feature?: string;
|
|
@@ -43,42 +44,11 @@ export default class {
|
|
|
43
44
|
node: string;
|
|
44
45
|
type: "email" | "raw";
|
|
45
46
|
}[];
|
|
46
|
-
nodes: {
|
|
47
|
-
[x: string]: {
|
|
48
|
-
name: string;
|
|
49
|
-
metadata: {};
|
|
50
|
-
dependencies: string[];
|
|
51
|
-
edges: {
|
|
52
|
-
node: string;
|
|
53
|
-
config: {
|
|
54
|
-
[x: string]: {
|
|
55
|
-
type: "static";
|
|
56
|
-
value: any;
|
|
57
|
-
} | {
|
|
58
|
-
type: "dynamic";
|
|
59
|
-
value: any;
|
|
60
|
-
};
|
|
61
|
-
};
|
|
62
|
-
}[];
|
|
63
|
-
} | {
|
|
64
|
-
name: string;
|
|
65
|
-
metadata: {};
|
|
66
|
-
dependencies: string[];
|
|
67
|
-
config: {
|
|
68
|
-
[x: string]: {
|
|
69
|
-
type: "static";
|
|
70
|
-
value: any;
|
|
71
|
-
} | {
|
|
72
|
-
type: "dynamic";
|
|
73
|
-
value: any;
|
|
74
|
-
};
|
|
75
|
-
};
|
|
76
|
-
};
|
|
77
|
-
};
|
|
47
|
+
nodes: {};
|
|
78
48
|
};
|
|
79
49
|
}[];
|
|
80
50
|
}>>;
|
|
81
|
-
listTemplateCategories: (
|
|
51
|
+
listTemplateCategories: (options?: AxiosRequestConfig) => Promise<import("axios").AxiosResponse<{
|
|
82
52
|
status: "success";
|
|
83
53
|
program: string;
|
|
84
54
|
version: string;
|
|
@@ -90,7 +60,7 @@ export default class {
|
|
|
90
60
|
list: (params: {
|
|
91
61
|
name?: string;
|
|
92
62
|
resourceGroupIds?: string[];
|
|
93
|
-
status?:
|
|
63
|
+
status?: WorkflowStatus[];
|
|
94
64
|
sortBy?: "updatedAt" | "createdAt";
|
|
95
65
|
sortOrder?: "desc" | "asc";
|
|
96
66
|
page?: number;
|
|
@@ -115,13 +85,13 @@ export default class {
|
|
|
115
85
|
readonly?: "__readonly";
|
|
116
86
|
};
|
|
117
87
|
resourceGroupIds: string[];
|
|
118
|
-
readonly status: (
|
|
88
|
+
readonly status: (WorkflowStatus.DRAFT & {
|
|
119
89
|
readonly?: "__readonly";
|
|
120
|
-
}) | (
|
|
90
|
+
}) | (WorkflowStatus.PUBLISHING & {
|
|
121
91
|
readonly?: "__readonly";
|
|
122
|
-
}) | (
|
|
92
|
+
}) | (WorkflowStatus.PUBLISHED & {
|
|
123
93
|
readonly?: "__readonly";
|
|
124
|
-
}) | (
|
|
94
|
+
}) | (WorkflowStatus.ERROR & {
|
|
125
95
|
readonly?: "__readonly";
|
|
126
96
|
});
|
|
127
97
|
readonly id: string & {
|
|
@@ -131,14 +101,12 @@ export default class {
|
|
|
131
101
|
readonly?: "__readonly";
|
|
132
102
|
};
|
|
133
103
|
readonly versions: {
|
|
134
|
-
metadata?: {
|
|
135
|
-
|
|
136
|
-
};
|
|
137
|
-
readonly state: (Types.WorkflowVersionState.DRAFT & {
|
|
104
|
+
metadata?: {};
|
|
105
|
+
readonly state: (import("./definitions").WorkflowVersionState.DRAFT & {
|
|
138
106
|
readonly?: "__readonly";
|
|
139
|
-
}) | (
|
|
107
|
+
}) | (import("./definitions").WorkflowVersionState.LIVE & {
|
|
140
108
|
readonly?: "__readonly";
|
|
141
|
-
}) | (
|
|
109
|
+
}) | (import("./definitions").WorkflowVersionState.INACTIVE & {
|
|
142
110
|
readonly?: "__readonly";
|
|
143
111
|
});
|
|
144
112
|
definition: {
|
|
@@ -146,50 +114,13 @@ export default class {
|
|
|
146
114
|
node: string;
|
|
147
115
|
type: "email" | "raw";
|
|
148
116
|
}[];
|
|
149
|
-
nodes: {
|
|
150
|
-
[x: string]: {
|
|
151
|
-
name: string;
|
|
152
|
-
metadata: {};
|
|
153
|
-
dependencies: string[];
|
|
154
|
-
edges: {
|
|
155
|
-
node: string;
|
|
156
|
-
config: {
|
|
157
|
-
[x: string]: {
|
|
158
|
-
type: "static";
|
|
159
|
-
value: any;
|
|
160
|
-
} | {
|
|
161
|
-
type: "dynamic";
|
|
162
|
-
value: any;
|
|
163
|
-
};
|
|
164
|
-
};
|
|
165
|
-
}[];
|
|
166
|
-
} | {
|
|
167
|
-
name: string;
|
|
168
|
-
metadata: {};
|
|
169
|
-
dependencies: string[];
|
|
170
|
-
config: {
|
|
171
|
-
[x: string]: {
|
|
172
|
-
type: "static";
|
|
173
|
-
value: any;
|
|
174
|
-
} | {
|
|
175
|
-
type: "dynamic";
|
|
176
|
-
value: any;
|
|
177
|
-
};
|
|
178
|
-
};
|
|
179
|
-
};
|
|
180
|
-
};
|
|
117
|
+
nodes: {};
|
|
181
118
|
};
|
|
182
119
|
readonly analyze: {
|
|
183
120
|
readonly?: "__readonly";
|
|
184
|
-
outputsForEntrypoint: {
|
|
185
|
-
|
|
186
|
-
};
|
|
187
|
-
entrypointsForOuput: {
|
|
188
|
-
[x: string]: string[];
|
|
189
|
-
};
|
|
190
|
-
datasForEntrypoint: {
|
|
191
|
-
[x: string]: string[];
|
|
192
|
-
};
|
|
121
|
+
outputsForEntrypoint: {};
|
|
122
|
+
entrypointsForOuput: {};
|
|
123
|
+
datasForEntrypoint: {};
|
|
193
124
|
};
|
|
194
125
|
}[];
|
|
195
126
|
readonly urls?: {
|
|
@@ -198,7 +129,7 @@ export default class {
|
|
|
198
129
|
}[];
|
|
199
130
|
}[];
|
|
200
131
|
}>>;
|
|
201
|
-
create: (
|
|
132
|
+
create: (data: {
|
|
202
133
|
description?: string;
|
|
203
134
|
name: string;
|
|
204
135
|
resourceGroupIds: string[];
|
|
@@ -219,13 +150,13 @@ export default class {
|
|
|
219
150
|
readonly?: "__readonly";
|
|
220
151
|
};
|
|
221
152
|
resourceGroupIds: string[];
|
|
222
|
-
readonly status: (
|
|
153
|
+
readonly status: (WorkflowStatus.DRAFT & {
|
|
223
154
|
readonly?: "__readonly";
|
|
224
|
-
}) | (
|
|
155
|
+
}) | (WorkflowStatus.PUBLISHING & {
|
|
225
156
|
readonly?: "__readonly";
|
|
226
|
-
}) | (
|
|
157
|
+
}) | (WorkflowStatus.PUBLISHED & {
|
|
227
158
|
readonly?: "__readonly";
|
|
228
|
-
}) | (
|
|
159
|
+
}) | (WorkflowStatus.ERROR & {
|
|
229
160
|
readonly?: "__readonly";
|
|
230
161
|
});
|
|
231
162
|
readonly id: string & {
|
|
@@ -235,14 +166,12 @@ export default class {
|
|
|
235
166
|
readonly?: "__readonly";
|
|
236
167
|
};
|
|
237
168
|
readonly versions: {
|
|
238
|
-
metadata?: {
|
|
239
|
-
|
|
240
|
-
};
|
|
241
|
-
readonly state: (Types.WorkflowVersionState.DRAFT & {
|
|
169
|
+
metadata?: {};
|
|
170
|
+
readonly state: (import("./definitions").WorkflowVersionState.DRAFT & {
|
|
242
171
|
readonly?: "__readonly";
|
|
243
|
-
}) | (
|
|
172
|
+
}) | (import("./definitions").WorkflowVersionState.LIVE & {
|
|
244
173
|
readonly?: "__readonly";
|
|
245
|
-
}) | (
|
|
174
|
+
}) | (import("./definitions").WorkflowVersionState.INACTIVE & {
|
|
246
175
|
readonly?: "__readonly";
|
|
247
176
|
});
|
|
248
177
|
definition: {
|
|
@@ -250,50 +179,13 @@ export default class {
|
|
|
250
179
|
node: string;
|
|
251
180
|
type: "email" | "raw";
|
|
252
181
|
}[];
|
|
253
|
-
nodes: {
|
|
254
|
-
[x: string]: {
|
|
255
|
-
name: string;
|
|
256
|
-
metadata: {};
|
|
257
|
-
dependencies: string[];
|
|
258
|
-
edges: {
|
|
259
|
-
node: string;
|
|
260
|
-
config: {
|
|
261
|
-
[x: string]: {
|
|
262
|
-
type: "static";
|
|
263
|
-
value: any;
|
|
264
|
-
} | {
|
|
265
|
-
type: "dynamic";
|
|
266
|
-
value: any;
|
|
267
|
-
};
|
|
268
|
-
};
|
|
269
|
-
}[];
|
|
270
|
-
} | {
|
|
271
|
-
name: string;
|
|
272
|
-
metadata: {};
|
|
273
|
-
dependencies: string[];
|
|
274
|
-
config: {
|
|
275
|
-
[x: string]: {
|
|
276
|
-
type: "static";
|
|
277
|
-
value: any;
|
|
278
|
-
} | {
|
|
279
|
-
type: "dynamic";
|
|
280
|
-
value: any;
|
|
281
|
-
};
|
|
282
|
-
};
|
|
283
|
-
};
|
|
284
|
-
};
|
|
182
|
+
nodes: {};
|
|
285
183
|
};
|
|
286
184
|
readonly analyze: {
|
|
287
185
|
readonly?: "__readonly";
|
|
288
|
-
outputsForEntrypoint: {
|
|
289
|
-
|
|
290
|
-
};
|
|
291
|
-
entrypointsForOuput: {
|
|
292
|
-
[x: string]: string[];
|
|
293
|
-
};
|
|
294
|
-
datasForEntrypoint: {
|
|
295
|
-
[x: string]: string[];
|
|
296
|
-
};
|
|
186
|
+
outputsForEntrypoint: {};
|
|
187
|
+
entrypointsForOuput: {};
|
|
188
|
+
datasForEntrypoint: {};
|
|
297
189
|
};
|
|
298
190
|
}[];
|
|
299
191
|
readonly urls?: {
|
|
@@ -321,13 +213,13 @@ export default class {
|
|
|
321
213
|
readonly?: "__readonly";
|
|
322
214
|
};
|
|
323
215
|
resourceGroupIds: string[];
|
|
324
|
-
readonly status: (
|
|
216
|
+
readonly status: (WorkflowStatus.DRAFT & {
|
|
325
217
|
readonly?: "__readonly";
|
|
326
|
-
}) | (
|
|
218
|
+
}) | (WorkflowStatus.PUBLISHING & {
|
|
327
219
|
readonly?: "__readonly";
|
|
328
|
-
}) | (
|
|
220
|
+
}) | (WorkflowStatus.PUBLISHED & {
|
|
329
221
|
readonly?: "__readonly";
|
|
330
|
-
}) | (
|
|
222
|
+
}) | (WorkflowStatus.ERROR & {
|
|
331
223
|
readonly?: "__readonly";
|
|
332
224
|
});
|
|
333
225
|
readonly id: string & {
|
|
@@ -337,14 +229,12 @@ export default class {
|
|
|
337
229
|
readonly?: "__readonly";
|
|
338
230
|
};
|
|
339
231
|
readonly versions: {
|
|
340
|
-
metadata?: {
|
|
341
|
-
|
|
342
|
-
};
|
|
343
|
-
readonly state: (Types.WorkflowVersionState.DRAFT & {
|
|
232
|
+
metadata?: {};
|
|
233
|
+
readonly state: (import("./definitions").WorkflowVersionState.DRAFT & {
|
|
344
234
|
readonly?: "__readonly";
|
|
345
|
-
}) | (
|
|
235
|
+
}) | (import("./definitions").WorkflowVersionState.LIVE & {
|
|
346
236
|
readonly?: "__readonly";
|
|
347
|
-
}) | (
|
|
237
|
+
}) | (import("./definitions").WorkflowVersionState.INACTIVE & {
|
|
348
238
|
readonly?: "__readonly";
|
|
349
239
|
});
|
|
350
240
|
definition: {
|
|
@@ -352,50 +242,13 @@ export default class {
|
|
|
352
242
|
node: string;
|
|
353
243
|
type: "email" | "raw";
|
|
354
244
|
}[];
|
|
355
|
-
nodes: {
|
|
356
|
-
[x: string]: {
|
|
357
|
-
name: string;
|
|
358
|
-
metadata: {};
|
|
359
|
-
dependencies: string[];
|
|
360
|
-
edges: {
|
|
361
|
-
node: string;
|
|
362
|
-
config: {
|
|
363
|
-
[x: string]: {
|
|
364
|
-
type: "static";
|
|
365
|
-
value: any;
|
|
366
|
-
} | {
|
|
367
|
-
type: "dynamic";
|
|
368
|
-
value: any;
|
|
369
|
-
};
|
|
370
|
-
};
|
|
371
|
-
}[];
|
|
372
|
-
} | {
|
|
373
|
-
name: string;
|
|
374
|
-
metadata: {};
|
|
375
|
-
dependencies: string[];
|
|
376
|
-
config: {
|
|
377
|
-
[x: string]: {
|
|
378
|
-
type: "static";
|
|
379
|
-
value: any;
|
|
380
|
-
} | {
|
|
381
|
-
type: "dynamic";
|
|
382
|
-
value: any;
|
|
383
|
-
};
|
|
384
|
-
};
|
|
385
|
-
};
|
|
386
|
-
};
|
|
245
|
+
nodes: {};
|
|
387
246
|
};
|
|
388
247
|
readonly analyze: {
|
|
389
248
|
readonly?: "__readonly";
|
|
390
|
-
outputsForEntrypoint: {
|
|
391
|
-
|
|
392
|
-
};
|
|
393
|
-
entrypointsForOuput: {
|
|
394
|
-
[x: string]: string[];
|
|
395
|
-
};
|
|
396
|
-
datasForEntrypoint: {
|
|
397
|
-
[x: string]: string[];
|
|
398
|
-
};
|
|
249
|
+
outputsForEntrypoint: {};
|
|
250
|
+
entrypointsForOuput: {};
|
|
251
|
+
datasForEntrypoint: {};
|
|
399
252
|
};
|
|
400
253
|
}[];
|
|
401
254
|
readonly urls?: {
|
|
@@ -411,46 +264,13 @@ export default class {
|
|
|
411
264
|
name?: string;
|
|
412
265
|
resourceGroupIds?: string[];
|
|
413
266
|
} & {
|
|
414
|
-
metadata?: {
|
|
415
|
-
[x: string]: any;
|
|
416
|
-
};
|
|
267
|
+
metadata?: {};
|
|
417
268
|
definition?: {
|
|
418
269
|
entrypoints: {
|
|
419
270
|
node: string;
|
|
420
271
|
type: "email" | "raw";
|
|
421
272
|
}[];
|
|
422
|
-
nodes: {
|
|
423
|
-
[x: string]: {
|
|
424
|
-
name: string;
|
|
425
|
-
metadata: {};
|
|
426
|
-
dependencies: string[];
|
|
427
|
-
edges: {
|
|
428
|
-
node: string;
|
|
429
|
-
config: {
|
|
430
|
-
[x: string]: {
|
|
431
|
-
type: "static";
|
|
432
|
-
value: any;
|
|
433
|
-
} | {
|
|
434
|
-
type: "dynamic";
|
|
435
|
-
value: any;
|
|
436
|
-
};
|
|
437
|
-
};
|
|
438
|
-
}[];
|
|
439
|
-
} | {
|
|
440
|
-
name: string;
|
|
441
|
-
metadata: {};
|
|
442
|
-
dependencies: string[];
|
|
443
|
-
config: {
|
|
444
|
-
[x: string]: {
|
|
445
|
-
type: "static";
|
|
446
|
-
value: any;
|
|
447
|
-
} | {
|
|
448
|
-
type: "dynamic";
|
|
449
|
-
value: any;
|
|
450
|
-
};
|
|
451
|
-
};
|
|
452
|
-
};
|
|
453
|
-
};
|
|
273
|
+
nodes: {};
|
|
454
274
|
};
|
|
455
275
|
}, options?: AxiosRequestConfig) => Promise<import("axios").AxiosResponse<{
|
|
456
276
|
status: "success";
|
|
@@ -469,13 +289,13 @@ export default class {
|
|
|
469
289
|
readonly?: "__readonly";
|
|
470
290
|
};
|
|
471
291
|
resourceGroupIds: string[];
|
|
472
|
-
readonly status: (
|
|
292
|
+
readonly status: (WorkflowStatus.DRAFT & {
|
|
473
293
|
readonly?: "__readonly";
|
|
474
|
-
}) | (
|
|
294
|
+
}) | (WorkflowStatus.PUBLISHING & {
|
|
475
295
|
readonly?: "__readonly";
|
|
476
|
-
}) | (
|
|
296
|
+
}) | (WorkflowStatus.PUBLISHED & {
|
|
477
297
|
readonly?: "__readonly";
|
|
478
|
-
}) | (
|
|
298
|
+
}) | (WorkflowStatus.ERROR & {
|
|
479
299
|
readonly?: "__readonly";
|
|
480
300
|
});
|
|
481
301
|
readonly id: string & {
|
|
@@ -485,14 +305,12 @@ export default class {
|
|
|
485
305
|
readonly?: "__readonly";
|
|
486
306
|
};
|
|
487
307
|
readonly versions: {
|
|
488
|
-
metadata?: {
|
|
489
|
-
|
|
490
|
-
};
|
|
491
|
-
readonly state: (Types.WorkflowVersionState.DRAFT & {
|
|
308
|
+
metadata?: {};
|
|
309
|
+
readonly state: (import("./definitions").WorkflowVersionState.DRAFT & {
|
|
492
310
|
readonly?: "__readonly";
|
|
493
|
-
}) | (
|
|
311
|
+
}) | (import("./definitions").WorkflowVersionState.LIVE & {
|
|
494
312
|
readonly?: "__readonly";
|
|
495
|
-
}) | (
|
|
313
|
+
}) | (import("./definitions").WorkflowVersionState.INACTIVE & {
|
|
496
314
|
readonly?: "__readonly";
|
|
497
315
|
});
|
|
498
316
|
definition: {
|
|
@@ -500,50 +318,13 @@ export default class {
|
|
|
500
318
|
node: string;
|
|
501
319
|
type: "email" | "raw";
|
|
502
320
|
}[];
|
|
503
|
-
nodes: {
|
|
504
|
-
[x: string]: {
|
|
505
|
-
name: string;
|
|
506
|
-
metadata: {};
|
|
507
|
-
dependencies: string[];
|
|
508
|
-
edges: {
|
|
509
|
-
node: string;
|
|
510
|
-
config: {
|
|
511
|
-
[x: string]: {
|
|
512
|
-
type: "static";
|
|
513
|
-
value: any;
|
|
514
|
-
} | {
|
|
515
|
-
type: "dynamic";
|
|
516
|
-
value: any;
|
|
517
|
-
};
|
|
518
|
-
};
|
|
519
|
-
}[];
|
|
520
|
-
} | {
|
|
521
|
-
name: string;
|
|
522
|
-
metadata: {};
|
|
523
|
-
dependencies: string[];
|
|
524
|
-
config: {
|
|
525
|
-
[x: string]: {
|
|
526
|
-
type: "static";
|
|
527
|
-
value: any;
|
|
528
|
-
} | {
|
|
529
|
-
type: "dynamic";
|
|
530
|
-
value: any;
|
|
531
|
-
};
|
|
532
|
-
};
|
|
533
|
-
};
|
|
534
|
-
};
|
|
321
|
+
nodes: {};
|
|
535
322
|
};
|
|
536
323
|
readonly analyze: {
|
|
537
324
|
readonly?: "__readonly";
|
|
538
|
-
outputsForEntrypoint: {
|
|
539
|
-
|
|
540
|
-
};
|
|
541
|
-
entrypointsForOuput: {
|
|
542
|
-
[x: string]: string[];
|
|
543
|
-
};
|
|
544
|
-
datasForEntrypoint: {
|
|
545
|
-
[x: string]: string[];
|
|
546
|
-
};
|
|
325
|
+
outputsForEntrypoint: {};
|
|
326
|
+
entrypointsForOuput: {};
|
|
327
|
+
datasForEntrypoint: {};
|
|
547
328
|
};
|
|
548
329
|
}[];
|
|
549
330
|
readonly urls?: {
|
|
@@ -582,13 +363,13 @@ export default class {
|
|
|
582
363
|
readonly?: "__readonly";
|
|
583
364
|
};
|
|
584
365
|
resourceGroupIds: string[];
|
|
585
|
-
readonly status: (
|
|
366
|
+
readonly status: (WorkflowStatus.DRAFT & {
|
|
586
367
|
readonly?: "__readonly";
|
|
587
|
-
}) | (
|
|
368
|
+
}) | (WorkflowStatus.PUBLISHING & {
|
|
588
369
|
readonly?: "__readonly";
|
|
589
|
-
}) | (
|
|
370
|
+
}) | (WorkflowStatus.PUBLISHED & {
|
|
590
371
|
readonly?: "__readonly";
|
|
591
|
-
}) | (
|
|
372
|
+
}) | (WorkflowStatus.ERROR & {
|
|
592
373
|
readonly?: "__readonly";
|
|
593
374
|
});
|
|
594
375
|
readonly id: string & {
|
|
@@ -598,14 +379,12 @@ export default class {
|
|
|
598
379
|
readonly?: "__readonly";
|
|
599
380
|
};
|
|
600
381
|
readonly versions: {
|
|
601
|
-
metadata?: {
|
|
602
|
-
|
|
603
|
-
};
|
|
604
|
-
readonly state: (Types.WorkflowVersionState.DRAFT & {
|
|
382
|
+
metadata?: {};
|
|
383
|
+
readonly state: (import("./definitions").WorkflowVersionState.DRAFT & {
|
|
605
384
|
readonly?: "__readonly";
|
|
606
|
-
}) | (
|
|
385
|
+
}) | (import("./definitions").WorkflowVersionState.LIVE & {
|
|
607
386
|
readonly?: "__readonly";
|
|
608
|
-
}) | (
|
|
387
|
+
}) | (import("./definitions").WorkflowVersionState.INACTIVE & {
|
|
609
388
|
readonly?: "__readonly";
|
|
610
389
|
});
|
|
611
390
|
definition: {
|
|
@@ -613,50 +392,13 @@ export default class {
|
|
|
613
392
|
node: string;
|
|
614
393
|
type: "email" | "raw";
|
|
615
394
|
}[];
|
|
616
|
-
nodes: {
|
|
617
|
-
[x: string]: {
|
|
618
|
-
name: string;
|
|
619
|
-
metadata: {};
|
|
620
|
-
dependencies: string[];
|
|
621
|
-
edges: {
|
|
622
|
-
node: string;
|
|
623
|
-
config: {
|
|
624
|
-
[x: string]: {
|
|
625
|
-
type: "static";
|
|
626
|
-
value: any;
|
|
627
|
-
} | {
|
|
628
|
-
type: "dynamic";
|
|
629
|
-
value: any;
|
|
630
|
-
};
|
|
631
|
-
};
|
|
632
|
-
}[];
|
|
633
|
-
} | {
|
|
634
|
-
name: string;
|
|
635
|
-
metadata: {};
|
|
636
|
-
dependencies: string[];
|
|
637
|
-
config: {
|
|
638
|
-
[x: string]: {
|
|
639
|
-
type: "static";
|
|
640
|
-
value: any;
|
|
641
|
-
} | {
|
|
642
|
-
type: "dynamic";
|
|
643
|
-
value: any;
|
|
644
|
-
};
|
|
645
|
-
};
|
|
646
|
-
};
|
|
647
|
-
};
|
|
395
|
+
nodes: {};
|
|
648
396
|
};
|
|
649
397
|
readonly analyze: {
|
|
650
398
|
readonly?: "__readonly";
|
|
651
|
-
outputsForEntrypoint: {
|
|
652
|
-
|
|
653
|
-
};
|
|
654
|
-
entrypointsForOuput: {
|
|
655
|
-
[x: string]: string[];
|
|
656
|
-
};
|
|
657
|
-
datasForEntrypoint: {
|
|
658
|
-
[x: string]: string[];
|
|
659
|
-
};
|
|
399
|
+
outputsForEntrypoint: {};
|
|
400
|
+
entrypointsForOuput: {};
|
|
401
|
+
datasForEntrypoint: {};
|
|
660
402
|
};
|
|
661
403
|
}[];
|
|
662
404
|
readonly urls?: {
|
package/build/api.js
CHANGED
|
@@ -1,60 +1,49 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
/* tslint:disable */
|
|
3
3
|
/* eslint-disable */
|
|
4
|
-
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
5
|
-
if (k2 === undefined) k2 = k;
|
|
6
|
-
Object.defineProperty(o, k2, { enumerable: true, get: function() { return m[k]; } });
|
|
7
|
-
}) : (function(o, m, k, k2) {
|
|
8
|
-
if (k2 === undefined) k2 = k;
|
|
9
|
-
o[k2] = m[k];
|
|
10
|
-
}));
|
|
11
|
-
var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
12
|
-
for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
|
|
13
|
-
};
|
|
14
4
|
var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
15
5
|
return (mod && mod.__esModule) ? mod : { "default": mod };
|
|
16
6
|
};
|
|
17
7
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
18
8
|
const axios_1 = __importDefault(require("axios"));
|
|
19
|
-
__exportStar(require("./definitions"), exports);
|
|
20
|
-
function pick(obj, ...keys) {
|
|
21
|
-
const ret = {};
|
|
22
|
-
keys.forEach(key => {
|
|
23
|
-
if (key in obj)
|
|
24
|
-
ret[key] = obj[key];
|
|
25
|
-
});
|
|
26
|
-
return ret;
|
|
27
|
-
}
|
|
28
9
|
class default_1 {
|
|
29
10
|
constructor(configOrInstance) {
|
|
30
|
-
this.axios = 'interceptors' in configOrInstance
|
|
11
|
+
this.axios = 'interceptors' in configOrInstance
|
|
12
|
+
? configOrInstance
|
|
13
|
+
: axios_1.default.create(configOrInstance);
|
|
31
14
|
}
|
|
32
15
|
listTemplatesWorkflow(params, options) {
|
|
33
|
-
return this.axios.get("/workflows/templates", Object.assign({}, {
|
|
16
|
+
return this.axios.get("/workflows/templates", Object.assign({}, {
|
|
17
|
+
params: pick(params, "name", "categories", "page", "perPage"),
|
|
18
|
+
}, options));
|
|
34
19
|
}
|
|
35
|
-
listTemplateCategoriesWorkflow(
|
|
36
|
-
return this.axios.get("/workflows/templates/categories",
|
|
20
|
+
listTemplateCategoriesWorkflow(options) {
|
|
21
|
+
return this.axios.get("/workflows/templates/categories", options);
|
|
37
22
|
}
|
|
38
23
|
listWorkflow(params, options) {
|
|
39
|
-
return this.axios.get("/workflows", Object.assign({}, {
|
|
24
|
+
return this.axios.get("/workflows", Object.assign({}, {
|
|
25
|
+
params: pick(params, "name", "resourceGroupIds", "status", "sortBy", "sortOrder", "page", "perPage"),
|
|
26
|
+
}, options));
|
|
40
27
|
}
|
|
41
|
-
createWorkflow(
|
|
42
|
-
return this.axios.post("/workflows", data,
|
|
28
|
+
createWorkflow(data, options) {
|
|
29
|
+
return this.axios.post("/workflows", data, options);
|
|
43
30
|
}
|
|
44
31
|
getWorkflow(params, options) {
|
|
45
|
-
return this.axios.get("/workflows/{id}".replace(/{id}/, String(params["id"])),
|
|
32
|
+
return this.axios.get("/workflows/{id}".replace(/{id}/, String(params["id"])), options);
|
|
46
33
|
}
|
|
47
34
|
updateWorkflow(params, data, options) {
|
|
48
|
-
return this.axios.patch("/workflows/{id}".replace(/{id}/, String(params["id"])), data,
|
|
35
|
+
return this.axios.patch("/workflows/{id}".replace(/{id}/, String(params["id"])), data, options);
|
|
49
36
|
}
|
|
50
37
|
deleteWorkflow(params, options) {
|
|
51
|
-
return this.axios.delete("/workflows/{id}".replace(/{id}/, String(params["id"])),
|
|
38
|
+
return this.axios.delete("/workflows/{id}".replace(/{id}/, String(params["id"])), options);
|
|
52
39
|
}
|
|
53
40
|
publishWorkflow(params, options) {
|
|
54
|
-
return this.axios.post("/workflows/{id}/publish".replace(/{id}/, String(params["id"])), {},
|
|
41
|
+
return this.axios.post("/workflows/{id}/publish".replace(/{id}/, String(params["id"])), {}, options);
|
|
55
42
|
}
|
|
56
43
|
run(params, options) {
|
|
57
|
-
return this.axios.get("/workflows/run/{id}/{index}".replace(/{id}/, String(params["id"])).replace(/{index}/, String(params["index"])), Object.assign({}, {
|
|
44
|
+
return this.axios.get("/workflows/run/{id}/{index}".replace(/{id}/, String(params["id"])).replace(/{index}/, String(params["index"])), Object.assign({}, {
|
|
45
|
+
params: pick(params, "~ru~", "mode", "no-cache"),
|
|
46
|
+
}, options));
|
|
58
47
|
}
|
|
59
48
|
get Workflow() {
|
|
60
49
|
return {
|
|
@@ -75,4 +64,12 @@ class default_1 {
|
|
|
75
64
|
}
|
|
76
65
|
}
|
|
77
66
|
exports.default = default_1;
|
|
78
|
-
|
|
67
|
+
function pick(obj, ...keys) {
|
|
68
|
+
const ret = {};
|
|
69
|
+
keys.forEach(key => {
|
|
70
|
+
if (key in obj)
|
|
71
|
+
ret[key] = obj[key];
|
|
72
|
+
});
|
|
73
|
+
return ret;
|
|
74
|
+
}
|
|
75
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiYXBpLmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vYXBpLnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiI7QUFBQSxvQkFBb0I7QUFDcEIsb0JBQW9COzs7OztBQUVwQixrREFBaUU7QUFlakU7SUFHSSxZQUFZLGdCQUFvRDtRQUM1RCxJQUFJLENBQUMsS0FBSyxHQUFHLGNBQWMsSUFBSSxnQkFBZ0I7WUFDM0MsQ0FBQyxDQUFDLGdCQUFnQjtZQUNsQixDQUFDLENBQUMsZUFBSyxDQUFDLE1BQU0sQ0FBQyxnQkFBZ0IsQ0FBQyxDQUFBO0lBQ3hDLENBQUM7SUFFTyxxQkFBcUIsQ0FBQyxNQUs3QixFQUFFLE9BQTRCO1FBQzNCLE9BQU8sSUFBSSxDQUFDLEtBQUssQ0FBQyxHQUFHLENBWWpCLHNCQUFzQixFQUN0QixNQUFNLENBQUMsTUFBTSxDQUNULEVBQUUsRUFDRjtZQUNJLE1BQU0sRUFBRSxJQUFJLENBQUMsTUFBTSxFQUFFLE1BQU0s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DLE9BQU8sQ0FBQyxHQUFHLENBQUMsRUFBRTtRQUNmLElBQUksR0FBRyxJQUFJLEdBQUc7WUFDVixHQUFHLENBQUMsR0FBRyxDQUFDLEdBQUcsR0FBRyxDQUFDLEdBQUcsQ0FBQyxDQUFDO0lBQzVCLENBQUMsQ0FBQyxDQUFDO0lBQ0gsT0FBTyxHQUFHLENBQUM7QUFDZixDQUFDIn0=
|
package/build/definitions.d.ts
CHANGED
|
@@ -17,53 +17,50 @@ declare type PropsWithoutWriteonly<T> = {
|
|
|
17
17
|
export declare type WithoutWriteonly<T> = T extends any ? T extends Primitive ? T : T extends Array<infer U> ? WithoutWriteonly<U>[] : {
|
|
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
|
-
export declare type
|
|
21
|
-
|
|
22
|
-
|
|
20
|
+
export declare type _node_string_type_email_or_raw__ = {
|
|
21
|
+
node: string;
|
|
22
|
+
type: "email" | "raw";
|
|
23
23
|
};
|
|
24
24
|
export declare type __ = {};
|
|
25
25
|
export declare type AnyValue = any | null;
|
|
26
|
-
export declare type
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
};
|
|
30
|
-
export declare type
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
};
|
|
34
|
-
export declare type
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
'metadata': __;
|
|
51
|
-
'dependencies': (string)[];
|
|
26
|
+
export declare type _type_static_value_any__ = {
|
|
27
|
+
type: "static";
|
|
28
|
+
value: AnyValue;
|
|
29
|
+
};
|
|
30
|
+
export declare type _type_dynamic_value_any__ = {
|
|
31
|
+
type: "dynamic";
|
|
32
|
+
value: AnyValue;
|
|
33
|
+
};
|
|
34
|
+
export declare type __x_string___type_static_value_any___or__type_dynamic_value_any____ = {};
|
|
35
|
+
export declare type _node_string_config___x_string___type_static_value_any___or__type_dynamic_value_any______ = {
|
|
36
|
+
node: string;
|
|
37
|
+
config: __x_string___type_static_value_any___or__type_dynamic_value_any____;
|
|
38
|
+
};
|
|
39
|
+
export declare type _name_string_metadata____dependencies_string_Array_edges_NonEmptyArray__node_string_config___x_string___type_static_value_any___or__type_dynamic_value_any_________ = {
|
|
40
|
+
name: string;
|
|
41
|
+
metadata: __;
|
|
42
|
+
dependencies: string[];
|
|
43
|
+
edges: (_node_string_config___x_string___type_static_value_any___or__type_dynamic_value_any______ | _node_string_config___x_string___type_static_value_any___or__type_dynamic_value_any______)[] | (_node_string_config___x_string___type_static_value_any___or__type_dynamic_value_any______ | _node_string_config___x_string___type_static_value_any___or__type_dynamic_value_any______)[];
|
|
44
|
+
};
|
|
45
|
+
export declare type _name_string_config___x_string___type_static_value_any___or__type_dynamic_value_any_____metadata____dependencies_string_Array__ = {
|
|
46
|
+
name: string;
|
|
47
|
+
config: __x_string___type_static_value_any___or__type_dynamic_value_any____;
|
|
48
|
+
metadata: __;
|
|
49
|
+
dependencies: string[];
|
|
52
50
|
};
|
|
53
51
|
export declare type Workflow = {
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
[key: string]: _name_string__metadata_____dependencies_string_Array__edges_NonEmptyArray__node_string__config___x_string___type_static__value_any____or__type_dynamic__value_any_____________ | _name_string__config___x_string___type_static__value_any____or__type_dynamic__value_any________metadata_____dependencies_string_Array___;
|
|
57
|
-
};
|
|
52
|
+
entrypoints: _node_string_type_email_or_raw__[];
|
|
53
|
+
nodes: {};
|
|
58
54
|
};
|
|
59
55
|
export declare type SerializedWorkflowTemplates = {
|
|
60
|
-
readonly
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
56
|
+
readonly id: (string) & readonlyP;
|
|
57
|
+
name: string;
|
|
58
|
+
icon: string;
|
|
59
|
+
slug: string;
|
|
60
|
+
categories: string[];
|
|
61
|
+
feature?: string;
|
|
62
|
+
template: Workflow;
|
|
63
|
+
metadata?: {};
|
|
67
64
|
};
|
|
68
65
|
export declare type WorkflowTemplates = SerializedWorkflowTemplates;
|
|
69
66
|
export declare enum WorkflowVersionState {
|
|
@@ -72,21 +69,13 @@ export declare enum WorkflowVersionState {
|
|
|
72
69
|
INACTIVE = "inactive"
|
|
73
70
|
}
|
|
74
71
|
export declare type SerializedWorkflowVersions = {
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
readonly
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
[key: string]: (string)[];
|
|
83
|
-
};
|
|
84
|
-
'entrypointsForOuput': {
|
|
85
|
-
[key: string]: (string)[];
|
|
86
|
-
};
|
|
87
|
-
'datasForEntrypoint': {
|
|
88
|
-
[key: string]: (string)[];
|
|
89
|
-
};
|
|
72
|
+
metadata?: {};
|
|
73
|
+
readonly state: (WorkflowVersionState) & readonlyP;
|
|
74
|
+
definition: Workflow;
|
|
75
|
+
readonly analyze: ({
|
|
76
|
+
outputsForEntrypoint: {};
|
|
77
|
+
entrypointsForOuput: {};
|
|
78
|
+
datasForEntrypoint: {};
|
|
90
79
|
}) & readonlyP;
|
|
91
80
|
};
|
|
92
81
|
export declare type WorkflowVersions = SerializedWorkflowVersions;
|
|
@@ -97,64 +86,54 @@ export declare enum WorkflowStatus {
|
|
|
97
86
|
ERROR = "error"
|
|
98
87
|
}
|
|
99
88
|
export declare type SerializedWorkflow = {
|
|
100
|
-
readonly
|
|
101
|
-
readonly
|
|
102
|
-
|
|
103
|
-
readonly
|
|
104
|
-
readonly
|
|
105
|
-
readonly
|
|
106
|
-
|
|
107
|
-
|
|
108
|
-
readonly
|
|
109
|
-
|
|
110
|
-
|
|
111
|
-
}
|
|
112
|
-
readonly
|
|
89
|
+
readonly id: (string) & readonlyP;
|
|
90
|
+
readonly companyId: (string) & readonlyP;
|
|
91
|
+
resourceGroupIds: string[];
|
|
92
|
+
readonly versions: (WorkflowVersions[]) & readonlyP;
|
|
93
|
+
readonly createdAt: (Date) & readonlyP;
|
|
94
|
+
readonly updatedAt: (Date) & readonlyP;
|
|
95
|
+
name: string;
|
|
96
|
+
description?: string;
|
|
97
|
+
readonly urls?: ({
|
|
98
|
+
display: string;
|
|
99
|
+
click: string;
|
|
100
|
+
}[]) & readonlyP;
|
|
101
|
+
readonly status: (WorkflowStatus) & readonlyP;
|
|
113
102
|
};
|
|
114
103
|
export declare type Workflows = SerializedWorkflow;
|
|
115
104
|
export declare type Pick_SerializedWorkflow_name_or_description_or_resourceGroupIds_ = {
|
|
116
|
-
|
|
117
|
-
|
|
118
|
-
|
|
105
|
+
name: string;
|
|
106
|
+
description?: string;
|
|
107
|
+
resourceGroupIds: string[];
|
|
119
108
|
};
|
|
120
109
|
export declare type Partial_SerializedWorkflow_ = {
|
|
121
|
-
readonly
|
|
122
|
-
readonly
|
|
123
|
-
|
|
124
|
-
readonly
|
|
125
|
-
readonly
|
|
126
|
-
readonly
|
|
127
|
-
|
|
128
|
-
|
|
129
|
-
readonly
|
|
130
|
-
|
|
131
|
-
|
|
132
|
-
}
|
|
133
|
-
readonly
|
|
110
|
+
readonly id?: (string) & readonlyP;
|
|
111
|
+
readonly companyId?: (string) & readonlyP;
|
|
112
|
+
resourceGroupIds?: string[];
|
|
113
|
+
readonly versions?: (WorkflowVersions[]) & readonlyP;
|
|
114
|
+
readonly createdAt?: (Date) & readonlyP;
|
|
115
|
+
readonly updatedAt?: (Date) & readonlyP;
|
|
116
|
+
name?: string;
|
|
117
|
+
description?: string;
|
|
118
|
+
readonly urls?: ({
|
|
119
|
+
display: string;
|
|
120
|
+
click: string;
|
|
121
|
+
}[]) & readonlyP;
|
|
122
|
+
readonly status?: (WorkflowStatus) & readonlyP;
|
|
134
123
|
};
|
|
135
124
|
export declare type Partial_SerializedWorkflowVersions_ = {
|
|
136
|
-
|
|
137
|
-
|
|
138
|
-
|
|
139
|
-
readonly
|
|
140
|
-
|
|
141
|
-
|
|
142
|
-
|
|
143
|
-
[key: string]: (string)[];
|
|
144
|
-
};
|
|
145
|
-
'entrypointsForOuput': {
|
|
146
|
-
[key: string]: (string)[];
|
|
147
|
-
};
|
|
148
|
-
'datasForEntrypoint': {
|
|
149
|
-
[key: string]: (string)[];
|
|
150
|
-
};
|
|
125
|
+
metadata?: {};
|
|
126
|
+
readonly state?: (WorkflowVersionState) & readonlyP;
|
|
127
|
+
definition?: Workflow;
|
|
128
|
+
readonly analyze?: ({
|
|
129
|
+
outputsForEntrypoint: {};
|
|
130
|
+
entrypointsForOuput: {};
|
|
131
|
+
datasForEntrypoint: {};
|
|
151
132
|
}) & readonlyP;
|
|
152
133
|
};
|
|
153
134
|
export declare type Error = {
|
|
154
|
-
|
|
155
|
-
|
|
156
|
-
|
|
157
|
-
[key: string]: AnyValue;
|
|
158
|
-
};
|
|
135
|
+
path: string;
|
|
136
|
+
message: string;
|
|
137
|
+
payload?: {};
|
|
159
138
|
};
|
|
160
139
|
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,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiZGVmaW5pdGlvbnMuanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi9kZWZpbml0aW9ucy50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiO0FBQUEsb0JBQW9CO0FBQ3BCLG9CQUFvQjs7O0FBOEVwQixJQUFZLG9CQUlYO0FBSkQsV0FBWSxvQkFBb0I7SUFDNUIsdUNBQWUsQ0FBQTtJQUNmLHFDQUFhLENBQUE7SUFDYiw2Q0FBcUIsQ0FBQTtBQUN6QixDQUFDLEVBSlcsb0JBQW9CLEdBQXBCLDRCQUFvQixLQUFwQiw0QkFBb0IsUUFJL0I7QUFjRCxJQUFZLGNBS1g7QUFMRCxXQUFZLGNBQWM7SUFDdEIsaUNBQWUsQ0FBQTtJQUNmLDJDQUF5QixDQUFBO0lBQ3pCLHlDQUF1QixDQUFBO0lBQ3ZCLGlDQUFlLENBQUE7QUFDbkIsQ0FBQyxFQUxXLGNBQWMsR0FBZCxzQkFBYyxLQUFkLHNCQUFjLFFBS3pCIn0=
|
package/package.json
CHANGED