@rlvt/workflows-openapi-client 0.0.0-9e8afbf → 0.0.0-bfa2415
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 -138
- package/build/api.js +37 -33
- package/build/definitions.d.ts +88 -92
- 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 { WorkflowStatus } from "./definitions";
|
|
3
|
+
export { WorkflowTemplates, Workflows, WorkflowStatus, Pick_SerializedWorkflow_name_or_description_or_resourceGroupIds_, Partial_SerializedWorkflow_, Partial_SerializedWorkflowVersions_, AnyValue, WithoutReadonly, WithoutWriteonly } from "./definitions";
|
|
4
4
|
export default class {
|
|
5
5
|
axios: AxiosInstance;
|
|
6
6
|
constructor(configOrInstance: AxiosRequestConfig | AxiosInstance);
|
|
@@ -13,6 +13,7 @@ export default class {
|
|
|
13
13
|
private deleteWorkflow;
|
|
14
14
|
private publishWorkflow;
|
|
15
15
|
private run;
|
|
16
|
+
private getContentUsage;
|
|
16
17
|
get Workflow(): {
|
|
17
18
|
listTemplates: (params: {
|
|
18
19
|
name?: string;
|
|
@@ -35,6 +36,9 @@ export default class {
|
|
|
35
36
|
readonly id: string & {
|
|
36
37
|
readonly?: "__readonly";
|
|
37
38
|
};
|
|
39
|
+
metadata?: {
|
|
40
|
+
[x: string]: any;
|
|
41
|
+
};
|
|
38
42
|
icon: string;
|
|
39
43
|
slug: string;
|
|
40
44
|
feature?: string;
|
|
@@ -51,13 +55,7 @@ export default class {
|
|
|
51
55
|
edges: {
|
|
52
56
|
node: string;
|
|
53
57
|
config: {
|
|
54
|
-
[x: string]:
|
|
55
|
-
type: "static";
|
|
56
|
-
value: any;
|
|
57
|
-
} | {
|
|
58
|
-
type: "dynamic";
|
|
59
|
-
value: any;
|
|
60
|
-
};
|
|
58
|
+
[x: string]: any;
|
|
61
59
|
};
|
|
62
60
|
}[];
|
|
63
61
|
} | {
|
|
@@ -65,20 +63,14 @@ export default class {
|
|
|
65
63
|
metadata: {};
|
|
66
64
|
dependencies: string[];
|
|
67
65
|
config: {
|
|
68
|
-
[x: string]:
|
|
69
|
-
type: "static";
|
|
70
|
-
value: any;
|
|
71
|
-
} | {
|
|
72
|
-
type: "dynamic";
|
|
73
|
-
value: any;
|
|
74
|
-
};
|
|
66
|
+
[x: string]: any;
|
|
75
67
|
};
|
|
76
68
|
};
|
|
77
69
|
};
|
|
78
70
|
};
|
|
79
71
|
}[];
|
|
80
72
|
}>>;
|
|
81
|
-
listTemplateCategories: (
|
|
73
|
+
listTemplateCategories: (options?: AxiosRequestConfig) => Promise<import("axios").AxiosResponse<{
|
|
82
74
|
status: "success";
|
|
83
75
|
program: string;
|
|
84
76
|
version: string;
|
|
@@ -90,7 +82,7 @@ export default class {
|
|
|
90
82
|
list: (params: {
|
|
91
83
|
name?: string;
|
|
92
84
|
resourceGroupIds?: string[];
|
|
93
|
-
status?:
|
|
85
|
+
status?: WorkflowStatus[];
|
|
94
86
|
sortBy?: "updatedAt" | "createdAt";
|
|
95
87
|
sortOrder?: "desc" | "asc";
|
|
96
88
|
page?: number;
|
|
@@ -115,13 +107,13 @@ export default class {
|
|
|
115
107
|
readonly?: "__readonly";
|
|
116
108
|
};
|
|
117
109
|
resourceGroupIds: string[];
|
|
118
|
-
readonly status: (
|
|
110
|
+
readonly status: (WorkflowStatus.DRAFT & {
|
|
119
111
|
readonly?: "__readonly";
|
|
120
|
-
}) | (
|
|
112
|
+
}) | (WorkflowStatus.PUBLISHING & {
|
|
121
113
|
readonly?: "__readonly";
|
|
122
|
-
}) | (
|
|
114
|
+
}) | (WorkflowStatus.PUBLISHED & {
|
|
123
115
|
readonly?: "__readonly";
|
|
124
|
-
}) | (
|
|
116
|
+
}) | (WorkflowStatus.ERROR & {
|
|
125
117
|
readonly?: "__readonly";
|
|
126
118
|
});
|
|
127
119
|
readonly id: string & {
|
|
@@ -134,11 +126,11 @@ export default class {
|
|
|
134
126
|
metadata?: {
|
|
135
127
|
[x: string]: any;
|
|
136
128
|
};
|
|
137
|
-
readonly state: (
|
|
129
|
+
readonly state: (import("./definitions").WorkflowVersionState.DRAFT & {
|
|
138
130
|
readonly?: "__readonly";
|
|
139
|
-
}) | (
|
|
131
|
+
}) | (import("./definitions").WorkflowVersionState.LIVE & {
|
|
140
132
|
readonly?: "__readonly";
|
|
141
|
-
}) | (
|
|
133
|
+
}) | (import("./definitions").WorkflowVersionState.INACTIVE & {
|
|
142
134
|
readonly?: "__readonly";
|
|
143
135
|
});
|
|
144
136
|
definition: {
|
|
@@ -154,13 +146,7 @@ export default class {
|
|
|
154
146
|
edges: {
|
|
155
147
|
node: string;
|
|
156
148
|
config: {
|
|
157
|
-
[x: string]:
|
|
158
|
-
type: "static";
|
|
159
|
-
value: any;
|
|
160
|
-
} | {
|
|
161
|
-
type: "dynamic";
|
|
162
|
-
value: any;
|
|
163
|
-
};
|
|
149
|
+
[x: string]: any;
|
|
164
150
|
};
|
|
165
151
|
}[];
|
|
166
152
|
} | {
|
|
@@ -168,13 +154,7 @@ export default class {
|
|
|
168
154
|
metadata: {};
|
|
169
155
|
dependencies: string[];
|
|
170
156
|
config: {
|
|
171
|
-
[x: string]:
|
|
172
|
-
type: "static";
|
|
173
|
-
value: any;
|
|
174
|
-
} | {
|
|
175
|
-
type: "dynamic";
|
|
176
|
-
value: any;
|
|
177
|
-
};
|
|
157
|
+
[x: string]: any;
|
|
178
158
|
};
|
|
179
159
|
};
|
|
180
160
|
};
|
|
@@ -198,7 +178,7 @@ export default class {
|
|
|
198
178
|
}[];
|
|
199
179
|
}[];
|
|
200
180
|
}>>;
|
|
201
|
-
create: (
|
|
181
|
+
create: (data: {
|
|
202
182
|
description?: string;
|
|
203
183
|
name: string;
|
|
204
184
|
resourceGroupIds: string[];
|
|
@@ -219,13 +199,13 @@ export default class {
|
|
|
219
199
|
readonly?: "__readonly";
|
|
220
200
|
};
|
|
221
201
|
resourceGroupIds: string[];
|
|
222
|
-
readonly status: (
|
|
202
|
+
readonly status: (WorkflowStatus.DRAFT & {
|
|
223
203
|
readonly?: "__readonly";
|
|
224
|
-
}) | (
|
|
204
|
+
}) | (WorkflowStatus.PUBLISHING & {
|
|
225
205
|
readonly?: "__readonly";
|
|
226
|
-
}) | (
|
|
206
|
+
}) | (WorkflowStatus.PUBLISHED & {
|
|
227
207
|
readonly?: "__readonly";
|
|
228
|
-
}) | (
|
|
208
|
+
}) | (WorkflowStatus.ERROR & {
|
|
229
209
|
readonly?: "__readonly";
|
|
230
210
|
});
|
|
231
211
|
readonly id: string & {
|
|
@@ -238,11 +218,11 @@ export default class {
|
|
|
238
218
|
metadata?: {
|
|
239
219
|
[x: string]: any;
|
|
240
220
|
};
|
|
241
|
-
readonly state: (
|
|
221
|
+
readonly state: (import("./definitions").WorkflowVersionState.DRAFT & {
|
|
242
222
|
readonly?: "__readonly";
|
|
243
|
-
}) | (
|
|
223
|
+
}) | (import("./definitions").WorkflowVersionState.LIVE & {
|
|
244
224
|
readonly?: "__readonly";
|
|
245
|
-
}) | (
|
|
225
|
+
}) | (import("./definitions").WorkflowVersionState.INACTIVE & {
|
|
246
226
|
readonly?: "__readonly";
|
|
247
227
|
});
|
|
248
228
|
definition: {
|
|
@@ -258,13 +238,7 @@ export default class {
|
|
|
258
238
|
edges: {
|
|
259
239
|
node: string;
|
|
260
240
|
config: {
|
|
261
|
-
[x: string]:
|
|
262
|
-
type: "static";
|
|
263
|
-
value: any;
|
|
264
|
-
} | {
|
|
265
|
-
type: "dynamic";
|
|
266
|
-
value: any;
|
|
267
|
-
};
|
|
241
|
+
[x: string]: any;
|
|
268
242
|
};
|
|
269
243
|
}[];
|
|
270
244
|
} | {
|
|
@@ -272,13 +246,7 @@ export default class {
|
|
|
272
246
|
metadata: {};
|
|
273
247
|
dependencies: string[];
|
|
274
248
|
config: {
|
|
275
|
-
[x: string]:
|
|
276
|
-
type: "static";
|
|
277
|
-
value: any;
|
|
278
|
-
} | {
|
|
279
|
-
type: "dynamic";
|
|
280
|
-
value: any;
|
|
281
|
-
};
|
|
249
|
+
[x: string]: any;
|
|
282
250
|
};
|
|
283
251
|
};
|
|
284
252
|
};
|
|
@@ -321,13 +289,13 @@ export default class {
|
|
|
321
289
|
readonly?: "__readonly";
|
|
322
290
|
};
|
|
323
291
|
resourceGroupIds: string[];
|
|
324
|
-
readonly status: (
|
|
292
|
+
readonly status: (WorkflowStatus.DRAFT & {
|
|
325
293
|
readonly?: "__readonly";
|
|
326
|
-
}) | (
|
|
294
|
+
}) | (WorkflowStatus.PUBLISHING & {
|
|
327
295
|
readonly?: "__readonly";
|
|
328
|
-
}) | (
|
|
296
|
+
}) | (WorkflowStatus.PUBLISHED & {
|
|
329
297
|
readonly?: "__readonly";
|
|
330
|
-
}) | (
|
|
298
|
+
}) | (WorkflowStatus.ERROR & {
|
|
331
299
|
readonly?: "__readonly";
|
|
332
300
|
});
|
|
333
301
|
readonly id: string & {
|
|
@@ -340,11 +308,11 @@ export default class {
|
|
|
340
308
|
metadata?: {
|
|
341
309
|
[x: string]: any;
|
|
342
310
|
};
|
|
343
|
-
readonly state: (
|
|
311
|
+
readonly state: (import("./definitions").WorkflowVersionState.DRAFT & {
|
|
344
312
|
readonly?: "__readonly";
|
|
345
|
-
}) | (
|
|
313
|
+
}) | (import("./definitions").WorkflowVersionState.LIVE & {
|
|
346
314
|
readonly?: "__readonly";
|
|
347
|
-
}) | (
|
|
315
|
+
}) | (import("./definitions").WorkflowVersionState.INACTIVE & {
|
|
348
316
|
readonly?: "__readonly";
|
|
349
317
|
});
|
|
350
318
|
definition: {
|
|
@@ -360,13 +328,7 @@ export default class {
|
|
|
360
328
|
edges: {
|
|
361
329
|
node: string;
|
|
362
330
|
config: {
|
|
363
|
-
[x: string]:
|
|
364
|
-
type: "static";
|
|
365
|
-
value: any;
|
|
366
|
-
} | {
|
|
367
|
-
type: "dynamic";
|
|
368
|
-
value: any;
|
|
369
|
-
};
|
|
331
|
+
[x: string]: any;
|
|
370
332
|
};
|
|
371
333
|
}[];
|
|
372
334
|
} | {
|
|
@@ -374,13 +336,7 @@ export default class {
|
|
|
374
336
|
metadata: {};
|
|
375
337
|
dependencies: string[];
|
|
376
338
|
config: {
|
|
377
|
-
[x: string]:
|
|
378
|
-
type: "static";
|
|
379
|
-
value: any;
|
|
380
|
-
} | {
|
|
381
|
-
type: "dynamic";
|
|
382
|
-
value: any;
|
|
383
|
-
};
|
|
339
|
+
[x: string]: any;
|
|
384
340
|
};
|
|
385
341
|
};
|
|
386
342
|
};
|
|
@@ -427,13 +383,7 @@ export default class {
|
|
|
427
383
|
edges: {
|
|
428
384
|
node: string;
|
|
429
385
|
config: {
|
|
430
|
-
[x: string]:
|
|
431
|
-
type: "static";
|
|
432
|
-
value: any;
|
|
433
|
-
} | {
|
|
434
|
-
type: "dynamic";
|
|
435
|
-
value: any;
|
|
436
|
-
};
|
|
386
|
+
[x: string]: any;
|
|
437
387
|
};
|
|
438
388
|
}[];
|
|
439
389
|
} | {
|
|
@@ -441,13 +391,7 @@ export default class {
|
|
|
441
391
|
metadata: {};
|
|
442
392
|
dependencies: string[];
|
|
443
393
|
config: {
|
|
444
|
-
[x: string]:
|
|
445
|
-
type: "static";
|
|
446
|
-
value: any;
|
|
447
|
-
} | {
|
|
448
|
-
type: "dynamic";
|
|
449
|
-
value: any;
|
|
450
|
-
};
|
|
394
|
+
[x: string]: any;
|
|
451
395
|
};
|
|
452
396
|
};
|
|
453
397
|
};
|
|
@@ -469,13 +413,13 @@ export default class {
|
|
|
469
413
|
readonly?: "__readonly";
|
|
470
414
|
};
|
|
471
415
|
resourceGroupIds: string[];
|
|
472
|
-
readonly status: (
|
|
416
|
+
readonly status: (WorkflowStatus.DRAFT & {
|
|
473
417
|
readonly?: "__readonly";
|
|
474
|
-
}) | (
|
|
418
|
+
}) | (WorkflowStatus.PUBLISHING & {
|
|
475
419
|
readonly?: "__readonly";
|
|
476
|
-
}) | (
|
|
420
|
+
}) | (WorkflowStatus.PUBLISHED & {
|
|
477
421
|
readonly?: "__readonly";
|
|
478
|
-
}) | (
|
|
422
|
+
}) | (WorkflowStatus.ERROR & {
|
|
479
423
|
readonly?: "__readonly";
|
|
480
424
|
});
|
|
481
425
|
readonly id: string & {
|
|
@@ -488,11 +432,11 @@ export default class {
|
|
|
488
432
|
metadata?: {
|
|
489
433
|
[x: string]: any;
|
|
490
434
|
};
|
|
491
|
-
readonly state: (
|
|
435
|
+
readonly state: (import("./definitions").WorkflowVersionState.DRAFT & {
|
|
492
436
|
readonly?: "__readonly";
|
|
493
|
-
}) | (
|
|
437
|
+
}) | (import("./definitions").WorkflowVersionState.LIVE & {
|
|
494
438
|
readonly?: "__readonly";
|
|
495
|
-
}) | (
|
|
439
|
+
}) | (import("./definitions").WorkflowVersionState.INACTIVE & {
|
|
496
440
|
readonly?: "__readonly";
|
|
497
441
|
});
|
|
498
442
|
definition: {
|
|
@@ -508,13 +452,7 @@ export default class {
|
|
|
508
452
|
edges: {
|
|
509
453
|
node: string;
|
|
510
454
|
config: {
|
|
511
|
-
[x: string]:
|
|
512
|
-
type: "static";
|
|
513
|
-
value: any;
|
|
514
|
-
} | {
|
|
515
|
-
type: "dynamic";
|
|
516
|
-
value: any;
|
|
517
|
-
};
|
|
455
|
+
[x: string]: any;
|
|
518
456
|
};
|
|
519
457
|
}[];
|
|
520
458
|
} | {
|
|
@@ -522,13 +460,7 @@ export default class {
|
|
|
522
460
|
metadata: {};
|
|
523
461
|
dependencies: string[];
|
|
524
462
|
config: {
|
|
525
|
-
[x: string]:
|
|
526
|
-
type: "static";
|
|
527
|
-
value: any;
|
|
528
|
-
} | {
|
|
529
|
-
type: "dynamic";
|
|
530
|
-
value: any;
|
|
531
|
-
};
|
|
463
|
+
[x: string]: any;
|
|
532
464
|
};
|
|
533
465
|
};
|
|
534
466
|
};
|
|
@@ -582,13 +514,13 @@ export default class {
|
|
|
582
514
|
readonly?: "__readonly";
|
|
583
515
|
};
|
|
584
516
|
resourceGroupIds: string[];
|
|
585
|
-
readonly status: (
|
|
517
|
+
readonly status: (WorkflowStatus.DRAFT & {
|
|
586
518
|
readonly?: "__readonly";
|
|
587
|
-
}) | (
|
|
519
|
+
}) | (WorkflowStatus.PUBLISHING & {
|
|
588
520
|
readonly?: "__readonly";
|
|
589
|
-
}) | (
|
|
521
|
+
}) | (WorkflowStatus.PUBLISHED & {
|
|
590
522
|
readonly?: "__readonly";
|
|
591
|
-
}) | (
|
|
523
|
+
}) | (WorkflowStatus.ERROR & {
|
|
592
524
|
readonly?: "__readonly";
|
|
593
525
|
});
|
|
594
526
|
readonly id: string & {
|
|
@@ -601,11 +533,11 @@ export default class {
|
|
|
601
533
|
metadata?: {
|
|
602
534
|
[x: string]: any;
|
|
603
535
|
};
|
|
604
|
-
readonly state: (
|
|
536
|
+
readonly state: (import("./definitions").WorkflowVersionState.DRAFT & {
|
|
605
537
|
readonly?: "__readonly";
|
|
606
|
-
}) | (
|
|
538
|
+
}) | (import("./definitions").WorkflowVersionState.LIVE & {
|
|
607
539
|
readonly?: "__readonly";
|
|
608
|
-
}) | (
|
|
540
|
+
}) | (import("./definitions").WorkflowVersionState.INACTIVE & {
|
|
609
541
|
readonly?: "__readonly";
|
|
610
542
|
});
|
|
611
543
|
definition: {
|
|
@@ -621,13 +553,7 @@ export default class {
|
|
|
621
553
|
edges: {
|
|
622
554
|
node: string;
|
|
623
555
|
config: {
|
|
624
|
-
[x: string]:
|
|
625
|
-
type: "static";
|
|
626
|
-
value: any;
|
|
627
|
-
} | {
|
|
628
|
-
type: "dynamic";
|
|
629
|
-
value: any;
|
|
630
|
-
};
|
|
556
|
+
[x: string]: any;
|
|
631
557
|
};
|
|
632
558
|
}[];
|
|
633
559
|
} | {
|
|
@@ -635,13 +561,7 @@ export default class {
|
|
|
635
561
|
metadata: {};
|
|
636
562
|
dependencies: string[];
|
|
637
563
|
config: {
|
|
638
|
-
[x: string]:
|
|
639
|
-
type: "static";
|
|
640
|
-
value: any;
|
|
641
|
-
} | {
|
|
642
|
-
type: "dynamic";
|
|
643
|
-
value: any;
|
|
644
|
-
};
|
|
564
|
+
[x: string]: any;
|
|
645
565
|
};
|
|
646
566
|
};
|
|
647
567
|
};
|
|
@@ -665,6 +585,17 @@ export default class {
|
|
|
665
585
|
}[];
|
|
666
586
|
};
|
|
667
587
|
}>>;
|
|
588
|
+
getContentUsage: (params: {
|
|
589
|
+
id: string;
|
|
590
|
+
}, options?: AxiosRequestConfig) => Promise<import("axios").AxiosResponse<{
|
|
591
|
+
status: "success";
|
|
592
|
+
program: string;
|
|
593
|
+
version: string;
|
|
594
|
+
datetime: string;
|
|
595
|
+
code?: number;
|
|
596
|
+
message: string;
|
|
597
|
+
data: string[];
|
|
598
|
+
}>>;
|
|
668
599
|
};
|
|
669
600
|
get Runner(): {
|
|
670
601
|
run: (params: {
|
package/build/api.js
CHANGED
|
@@ -1,60 +1,55 @@
|
|
|
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 });
|
|
8
|
+
exports.WorkflowStatus = void 0;
|
|
18
9
|
const axios_1 = __importDefault(require("axios"));
|
|
19
|
-
|
|
20
|
-
function
|
|
21
|
-
const ret = {};
|
|
22
|
-
keys.forEach(key => {
|
|
23
|
-
if (key in obj)
|
|
24
|
-
ret[key] = obj[key];
|
|
25
|
-
});
|
|
26
|
-
return ret;
|
|
27
|
-
}
|
|
10
|
+
var definitions_1 = require("./definitions");
|
|
11
|
+
Object.defineProperty(exports, "WorkflowStatus", { enumerable: true, get: function () { return definitions_1.WorkflowStatus; } });
|
|
28
12
|
class default_1 {
|
|
29
13
|
constructor(configOrInstance) {
|
|
30
|
-
this.axios = 'interceptors' in configOrInstance
|
|
14
|
+
this.axios = 'interceptors' in configOrInstance
|
|
15
|
+
? configOrInstance
|
|
16
|
+
: axios_1.default.create(configOrInstance);
|
|
31
17
|
}
|
|
32
18
|
listTemplatesWorkflow(params, options) {
|
|
33
|
-
return this.axios.get("/workflows/templates", Object.assign({}, {
|
|
19
|
+
return this.axios.get("/workflows/templates", Object.assign({}, {
|
|
20
|
+
params: pick(params, "name", "categories", "page", "perPage"),
|
|
21
|
+
}, options));
|
|
34
22
|
}
|
|
35
|
-
listTemplateCategoriesWorkflow(
|
|
36
|
-
return this.axios.get("/workflows/templates/categories",
|
|
23
|
+
listTemplateCategoriesWorkflow(options) {
|
|
24
|
+
return this.axios.get("/workflows/templates/categories", options);
|
|
37
25
|
}
|
|
38
26
|
listWorkflow(params, options) {
|
|
39
|
-
return this.axios.get("/workflows", Object.assign({}, {
|
|
27
|
+
return this.axios.get("/workflows", Object.assign({}, {
|
|
28
|
+
params: pick(params, "name", "resourceGroupIds", "status", "sortBy", "sortOrder", "page", "perPage"),
|
|
29
|
+
}, options));
|
|
40
30
|
}
|
|
41
|
-
createWorkflow(
|
|
42
|
-
return this.axios.post("/workflows", data,
|
|
31
|
+
createWorkflow(data, options) {
|
|
32
|
+
return this.axios.post("/workflows", data, options);
|
|
43
33
|
}
|
|
44
34
|
getWorkflow(params, options) {
|
|
45
|
-
return this.axios.get("/workflows/{id}".replace(/{id}/, String(params["id"])),
|
|
35
|
+
return this.axios.get("/workflows/{id}".replace(/{id}/, String(params["id"])), options);
|
|
46
36
|
}
|
|
47
37
|
updateWorkflow(params, data, options) {
|
|
48
|
-
return this.axios.patch("/workflows/{id}".replace(/{id}/, String(params["id"])), data,
|
|
38
|
+
return this.axios.patch("/workflows/{id}".replace(/{id}/, String(params["id"])), data, options);
|
|
49
39
|
}
|
|
50
40
|
deleteWorkflow(params, options) {
|
|
51
|
-
return this.axios.delete("/workflows/{id}".replace(/{id}/, String(params["id"])),
|
|
41
|
+
return this.axios.delete("/workflows/{id}".replace(/{id}/, String(params["id"])), options);
|
|
52
42
|
}
|
|
53
43
|
publishWorkflow(params, options) {
|
|
54
|
-
return this.axios.post("/workflows/{id}/publish".replace(/{id}/, String(params["id"])), {},
|
|
44
|
+
return this.axios.post("/workflows/{id}/publish".replace(/{id}/, String(params["id"])), {}, options);
|
|
55
45
|
}
|
|
56
46
|
run(params, options) {
|
|
57
|
-
return this.axios.get("/workflows/run/{id}/{index}".replace(/{id}/, String(params["id"])).replace(/{index}/, String(params["index"])), Object.assign({}, {
|
|
47
|
+
return this.axios.get("/workflows/run/{id}/{index}".replace(/{id}/, String(params["id"])).replace(/{index}/, String(params["index"])), Object.assign({}, {
|
|
48
|
+
params: pick(params, "~ru~", "mode", "no-cache"),
|
|
49
|
+
}, options));
|
|
50
|
+
}
|
|
51
|
+
getContentUsage(params, options) {
|
|
52
|
+
return this.axios.get("/workflows/usage/content/{id}".replace(/{id}/, String(params["id"])), options);
|
|
58
53
|
}
|
|
59
54
|
get Workflow() {
|
|
60
55
|
return {
|
|
@@ -65,7 +60,8 @@ class default_1 {
|
|
|
65
60
|
get: this.getWorkflow.bind(this),
|
|
66
61
|
update: this.updateWorkflow.bind(this),
|
|
67
62
|
delete: this.deleteWorkflow.bind(this),
|
|
68
|
-
publish: this.publishWorkflow.bind(this)
|
|
63
|
+
publish: this.publishWorkflow.bind(this),
|
|
64
|
+
getContentUsage: this.getContentUsage.bind(this)
|
|
69
65
|
};
|
|
70
66
|
}
|
|
71
67
|
get Runner() {
|
|
@@ -75,4 +71,12 @@ class default_1 {
|
|
|
75
71
|
}
|
|
76
72
|
}
|
|
77
73
|
exports.default = default_1;
|
|
78
|
-
|
|
74
|
+
function pick(obj, ...keys) {
|
|
75
|
+
const ret = {};
|
|
76
|
+
keys.forEach(key => {
|
|
77
|
+
if (obj && Object.keys(obj).includes(key))
|
|
78
|
+
ret[key] = obj[key];
|
|
79
|
+
});
|
|
80
|
+
return ret;
|
|
81
|
+
}
|
|
82
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiYXBpLmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vYXBpLnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiI7QUFBQSxvQkFBb0I7QUFDcEIsb0JBQW9COzs7Ozs7QUFFcEIsa0RBQWlFO0FBR2pFLDZDQUE4UDtBQUF2Tiw2R0FBQSxjQUFjLE9BQUE7QUFFckQ7SUFHSSxZQUFZLGdCQUFvRDtRQUM1RCxJQUFJLENBQUMsS0FBSyxHQUFHLGNBQWMsSUFBSSxnQkFBZ0I7WUFDM0MsQ0FBQyxDQUFDLGdCQUFnQjtZQUNsQixDQUFDLENBQUMsZUFBSyxDQUFDLE1BQU0sQ0FBQyxnQkFBZ0IsQ0FBQyxDQUFBO0lBQ3hDLENBQUM7SUFFTyxxQkFBcUIsQ0FBQyxNQUs3QixFQUFFLE9BQTRCO1FBQzNCLE9BQU8sSUFBSSxDQUFDLEtBQUssQ0FBQyxHQUFHLENBWWpCLHNCQUFzQixFQUN0QixNQUFNLENBQUMsTUFBTSxDQUNULEVBQUUsRUFDRjtZQUNJLE1BQU0sRUFBRSxJQUFJLENBQUMsTUFBTSxFQUFFLE1BQU0sRUFBRSxZQUFZLEVBQUU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RCxDQUFDO0lBQ04sQ0FBQztJQUVELElBQUksTUFBTTtRQUNOLE9BQU87WUFDSCxHQUFHLEVBQUUsSUFBSSxDQUFDLEdBQUcsQ0FBQyxJQUFJLENBQUMsSUFBSSxDQUFDO1NBQzNCLENBQUM7SUFDTixDQUFDO0NBQ0o7QUF4TkQsNEJBd05DO0FBRUQsU0FBUyxJQUFJLENBQXVCLEdBQU0sRUFBRSxHQUFHLElBQVM7SUFDcEQsTUFBTSxHQUFHLEdBQWUsRUFBZ0IsQ0FBQztJQUN6QyxJQUFJLENBQUMsT0FBTyxDQUFDLEdBQUcsQ0FBQyxFQUFFO1FBQ2YsSUFBSSxHQUFHLElBQUksTUFBTSxDQUFDLElBQUksQ0FBQyxHQUFHLENBQUMsQ0FBQyxRQUFRLENBQUMsR0FBYSxDQUFDO1lBQy9DLEdBQUcsQ0FBQyxHQUFHLENBQUMsR0FBRyxHQUFHLENBQUMsR0FBRyxDQUFDLENBQUM7SUFDNUIsQ0FBQyxDQUFDLENBQUM7SUFDSCxPQUFPLEdBQUcsQ0FBQztBQUNmLENBQUMifQ==
|
package/build/definitions.d.ts
CHANGED
|
@@ -17,53 +17,49 @@ 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
|
-
'value': AnyValue;
|
|
26
|
+
export declare type __x_string__any__ = {
|
|
27
|
+
[key: string]: AnyValue;
|
|
29
28
|
};
|
|
30
|
-
export declare type
|
|
31
|
-
|
|
32
|
-
|
|
29
|
+
export declare type _node_string_config___x_string__any____ = {
|
|
30
|
+
node: string;
|
|
31
|
+
config: __x_string__any__;
|
|
33
32
|
};
|
|
34
|
-
export declare type
|
|
35
|
-
|
|
33
|
+
export declare type _name_string_metadata____dependencies_string_Array_edges__node_string_config___x_string__any_____Array__ = {
|
|
34
|
+
name: string;
|
|
35
|
+
metadata: __;
|
|
36
|
+
dependencies: string[];
|
|
37
|
+
edges: _node_string_config___x_string__any____[];
|
|
36
38
|
};
|
|
37
|
-
export declare type
|
|
38
|
-
|
|
39
|
-
|
|
39
|
+
export declare type _name_string_config___x_string__any___metadata____dependencies_string_Array__ = {
|
|
40
|
+
name: string;
|
|
41
|
+
config: __x_string__any__;
|
|
42
|
+
metadata: __;
|
|
43
|
+
dependencies: string[];
|
|
40
44
|
};
|
|
41
|
-
export declare type
|
|
42
|
-
|
|
43
|
-
'metadata': __;
|
|
44
|
-
'dependencies': (string)[];
|
|
45
|
-
'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_________)[];
|
|
46
|
-
};
|
|
47
|
-
export declare type _name_string__config___x_string___type_static__value_any____or__type_dynamic__value_any________metadata_____dependencies_string_Array___ = {
|
|
48
|
-
'name': string;
|
|
49
|
-
'config': __x_string___type_static__value_any____or__type_dynamic__value_any______;
|
|
50
|
-
'metadata': __;
|
|
51
|
-
'dependencies': (string)[];
|
|
45
|
+
export declare type __x_string___name_string_metadata____dependencies_string_Array_edges__node_string_config___x_string__any_____Array___or__name_string_config___x_string__any___metadata____dependencies_string_Array____ = {
|
|
46
|
+
[key: string]: _name_string_metadata____dependencies_string_Array_edges__node_string_config___x_string__any_____Array__ | _name_string_config___x_string__any___metadata____dependencies_string_Array__;
|
|
52
47
|
};
|
|
53
48
|
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
|
-
};
|
|
49
|
+
entrypoints: _node_string_type_email_or_raw__[];
|
|
50
|
+
nodes: __x_string___name_string_metadata____dependencies_string_Array_edges__node_string_config___x_string__any_____Array___or__name_string_config___x_string__any___metadata____dependencies_string_Array____;
|
|
58
51
|
};
|
|
59
52
|
export declare type SerializedWorkflowTemplates = {
|
|
60
|
-
readonly
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
53
|
+
readonly id: (string) & readonlyP;
|
|
54
|
+
name: string;
|
|
55
|
+
icon: string;
|
|
56
|
+
slug: string;
|
|
57
|
+
categories: string[];
|
|
58
|
+
feature?: string;
|
|
59
|
+
template: Workflow;
|
|
60
|
+
metadata?: {
|
|
61
|
+
[key: string]: AnyValue;
|
|
62
|
+
};
|
|
67
63
|
};
|
|
68
64
|
export declare type WorkflowTemplates = SerializedWorkflowTemplates;
|
|
69
65
|
export declare enum WorkflowVersionState {
|
|
@@ -72,20 +68,20 @@ export declare enum WorkflowVersionState {
|
|
|
72
68
|
INACTIVE = "inactive"
|
|
73
69
|
}
|
|
74
70
|
export declare type SerializedWorkflowVersions = {
|
|
75
|
-
|
|
71
|
+
metadata?: {
|
|
76
72
|
[key: string]: AnyValue;
|
|
77
73
|
};
|
|
78
|
-
readonly
|
|
79
|
-
|
|
80
|
-
readonly
|
|
81
|
-
|
|
82
|
-
[key: string]:
|
|
74
|
+
readonly state: (WorkflowVersionState) & readonlyP;
|
|
75
|
+
definition: Workflow;
|
|
76
|
+
readonly analyze: ({
|
|
77
|
+
outputsForEntrypoint: {
|
|
78
|
+
[key: string]: string[];
|
|
83
79
|
};
|
|
84
|
-
|
|
85
|
-
[key: string]:
|
|
80
|
+
entrypointsForOuput: {
|
|
81
|
+
[key: string]: string[];
|
|
86
82
|
};
|
|
87
|
-
|
|
88
|
-
[key: string]:
|
|
83
|
+
datasForEntrypoint: {
|
|
84
|
+
[key: string]: string[];
|
|
89
85
|
};
|
|
90
86
|
}) & readonlyP;
|
|
91
87
|
};
|
|
@@ -97,64 +93,64 @@ export declare enum WorkflowStatus {
|
|
|
97
93
|
ERROR = "error"
|
|
98
94
|
}
|
|
99
95
|
export declare type SerializedWorkflow = {
|
|
100
|
-
readonly
|
|
101
|
-
readonly
|
|
102
|
-
|
|
103
|
-
readonly
|
|
104
|
-
readonly
|
|
105
|
-
readonly
|
|
106
|
-
|
|
107
|
-
|
|
108
|
-
readonly
|
|
109
|
-
|
|
110
|
-
|
|
111
|
-
}
|
|
112
|
-
readonly
|
|
96
|
+
readonly id: (string) & readonlyP;
|
|
97
|
+
readonly companyId: (string) & readonlyP;
|
|
98
|
+
resourceGroupIds: string[];
|
|
99
|
+
readonly versions: (WorkflowVersions[]) & readonlyP;
|
|
100
|
+
readonly createdAt: (Date) & readonlyP;
|
|
101
|
+
readonly updatedAt: (Date) & readonlyP;
|
|
102
|
+
name: string;
|
|
103
|
+
description?: string;
|
|
104
|
+
readonly urls?: ({
|
|
105
|
+
display: string;
|
|
106
|
+
click: string;
|
|
107
|
+
}[]) & readonlyP;
|
|
108
|
+
readonly status: (WorkflowStatus) & readonlyP;
|
|
113
109
|
};
|
|
114
110
|
export declare type Workflows = SerializedWorkflow;
|
|
115
111
|
export declare type Pick_SerializedWorkflow_name_or_description_or_resourceGroupIds_ = {
|
|
116
|
-
|
|
117
|
-
|
|
118
|
-
|
|
119
|
-
};
|
|
120
|
-
export declare type Error = {
|
|
121
|
-
'path': string;
|
|
122
|
-
'message': string;
|
|
123
|
-
'payload'?: {
|
|
124
|
-
[key: string]: AnyValue;
|
|
125
|
-
};
|
|
112
|
+
name: string;
|
|
113
|
+
description?: string;
|
|
114
|
+
resourceGroupIds: string[];
|
|
126
115
|
};
|
|
127
116
|
export declare type Partial_SerializedWorkflow_ = {
|
|
128
|
-
readonly
|
|
129
|
-
readonly
|
|
130
|
-
|
|
131
|
-
readonly
|
|
132
|
-
readonly
|
|
133
|
-
readonly
|
|
134
|
-
|
|
135
|
-
|
|
136
|
-
readonly
|
|
137
|
-
|
|
138
|
-
|
|
139
|
-
}
|
|
140
|
-
readonly
|
|
117
|
+
readonly id?: (string) & readonlyP;
|
|
118
|
+
readonly companyId?: (string) & readonlyP;
|
|
119
|
+
resourceGroupIds?: string[];
|
|
120
|
+
readonly versions?: (WorkflowVersions[]) & readonlyP;
|
|
121
|
+
readonly createdAt?: (Date) & readonlyP;
|
|
122
|
+
readonly updatedAt?: (Date) & readonlyP;
|
|
123
|
+
name?: string;
|
|
124
|
+
description?: string;
|
|
125
|
+
readonly urls?: ({
|
|
126
|
+
display: string;
|
|
127
|
+
click: string;
|
|
128
|
+
}[]) & readonlyP;
|
|
129
|
+
readonly status?: (WorkflowStatus) & readonlyP;
|
|
141
130
|
};
|
|
142
131
|
export declare type Partial_SerializedWorkflowVersions_ = {
|
|
143
|
-
|
|
132
|
+
metadata?: {
|
|
144
133
|
[key: string]: AnyValue;
|
|
145
134
|
};
|
|
146
|
-
readonly
|
|
147
|
-
|
|
148
|
-
readonly
|
|
149
|
-
|
|
150
|
-
[key: string]:
|
|
135
|
+
readonly state?: (WorkflowVersionState) & readonlyP;
|
|
136
|
+
definition?: Workflow;
|
|
137
|
+
readonly analyze?: ({
|
|
138
|
+
outputsForEntrypoint: {
|
|
139
|
+
[key: string]: string[];
|
|
151
140
|
};
|
|
152
|
-
|
|
153
|
-
[key: string]:
|
|
141
|
+
entrypointsForOuput: {
|
|
142
|
+
[key: string]: string[];
|
|
154
143
|
};
|
|
155
|
-
|
|
156
|
-
[key: string]:
|
|
144
|
+
datasForEntrypoint: {
|
|
145
|
+
[key: string]: string[];
|
|
157
146
|
};
|
|
158
147
|
}) & readonlyP;
|
|
159
148
|
};
|
|
149
|
+
export declare type Error = {
|
|
150
|
+
path: string;
|
|
151
|
+
message: string;
|
|
152
|
+
payload?: {
|
|
153
|
+
[key: string]: AnyValue;
|
|
154
|
+
};
|
|
155
|
+
};
|
|
160
156
|
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,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiZGVmaW5pdGlvbnMuanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi9kZWZpbml0aW9ucy50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiO0FBQUEsb0JBQW9CO0FBQ3BCLG9CQUFvQjs7O0FBNkVwQixJQUFZLG9CQUlYO0FBSkQsV0FBWSxvQkFBb0I7SUFDNUIsdUNBQWUsQ0FBQTtJQUNmLHFDQUFhLENBQUE7SUFDYiw2Q0FBcUIsQ0FBQTtBQUN6QixDQUFDLEVBSlcsb0JBQW9CLEdBQXBCLDRCQUFvQixLQUFwQiw0QkFBb0IsUUFJL0I7QUFzQkQsSUFBWSxjQUtYO0FBTEQsV0FBWSxjQUFjO0lBQ3RCLGlDQUFlLENBQUE7SUFDZiwyQ0FBeUIsQ0FBQTtJQUN6Qix5Q0FBdUIsQ0FBQTtJQUN2QixpQ0FBZSxDQUFBO0FBQ25CLENBQUMsRUFMVyxjQUFjLEdBQWQsc0JBQWMsS0FBZCxzQkFBYyxRQUt6QiJ9
|
package/package.json
CHANGED