@rlvt/workflows-openapi-client 0.0.0-ef6c3e2 → 0.0.0-f16a36b
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 +158 -304
- package/build/api.js +29 -32
- package/build/definitions.d.ts +99 -103
- 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);
|
|
@@ -30,30 +30,25 @@ export default class {
|
|
|
30
30
|
code?: number;
|
|
31
31
|
message: string;
|
|
32
32
|
data: {
|
|
33
|
+
name: string;
|
|
34
|
+
categories: string[];
|
|
33
35
|
readonly id: string & {
|
|
34
36
|
readonly?: "__readonly";
|
|
35
37
|
};
|
|
36
|
-
|
|
38
|
+
metadata?: {};
|
|
37
39
|
icon: string;
|
|
38
40
|
slug: string;
|
|
39
|
-
categories: string[];
|
|
40
41
|
feature?: string;
|
|
41
42
|
template: {
|
|
42
43
|
entrypoints: {
|
|
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
|
-
};
|
|
52
|
-
};
|
|
47
|
+
nodes: {};
|
|
53
48
|
};
|
|
54
49
|
}[];
|
|
55
50
|
}>>;
|
|
56
|
-
listTemplateCategories: (
|
|
51
|
+
listTemplateCategories: (options?: AxiosRequestConfig) => Promise<import("axios").AxiosResponse<{
|
|
57
52
|
status: "success";
|
|
58
53
|
program: string;
|
|
59
54
|
version: string;
|
|
@@ -65,7 +60,7 @@ export default class {
|
|
|
65
60
|
list: (params: {
|
|
66
61
|
name?: string;
|
|
67
62
|
resourceGroupIds?: string[];
|
|
68
|
-
status?:
|
|
63
|
+
status?: WorkflowStatus[];
|
|
69
64
|
sortBy?: "updatedAt" | "createdAt";
|
|
70
65
|
sortOrder?: "desc" | "asc";
|
|
71
66
|
page?: number;
|
|
@@ -82,23 +77,36 @@ export default class {
|
|
|
82
77
|
message: string;
|
|
83
78
|
data: {
|
|
84
79
|
description?: string;
|
|
80
|
+
name: string;
|
|
81
|
+
readonly updatedAt: Date & {
|
|
82
|
+
readonly?: "__readonly";
|
|
83
|
+
};
|
|
84
|
+
readonly createdAt: Date & {
|
|
85
|
+
readonly?: "__readonly";
|
|
86
|
+
};
|
|
87
|
+
resourceGroupIds: string[];
|
|
88
|
+
readonly status: (WorkflowStatus.DRAFT & {
|
|
89
|
+
readonly?: "__readonly";
|
|
90
|
+
}) | (WorkflowStatus.PUBLISHING & {
|
|
91
|
+
readonly?: "__readonly";
|
|
92
|
+
}) | (WorkflowStatus.PUBLISHED & {
|
|
93
|
+
readonly?: "__readonly";
|
|
94
|
+
}) | (WorkflowStatus.ERROR & {
|
|
95
|
+
readonly?: "__readonly";
|
|
96
|
+
});
|
|
85
97
|
readonly id: string & {
|
|
86
98
|
readonly?: "__readonly";
|
|
87
99
|
};
|
|
88
|
-
name: string;
|
|
89
100
|
readonly companyId: string & {
|
|
90
101
|
readonly?: "__readonly";
|
|
91
102
|
};
|
|
92
|
-
resourceGroupIds: string[];
|
|
93
103
|
readonly versions: {
|
|
94
|
-
metadata?: {
|
|
95
|
-
|
|
96
|
-
};
|
|
97
|
-
readonly state: (Types.WorkflowVersionState.DRAFT & {
|
|
104
|
+
metadata?: {};
|
|
105
|
+
readonly state: (import("./definitions").WorkflowVersionState.DRAFT & {
|
|
98
106
|
readonly?: "__readonly";
|
|
99
|
-
}) | (
|
|
107
|
+
}) | (import("./definitions").WorkflowVersionState.LIVE & {
|
|
100
108
|
readonly?: "__readonly";
|
|
101
|
-
}) | (
|
|
109
|
+
}) | (import("./definitions").WorkflowVersionState.INACTIVE & {
|
|
102
110
|
readonly?: "__readonly";
|
|
103
111
|
});
|
|
104
112
|
definition: {
|
|
@@ -106,61 +114,22 @@ export default class {
|
|
|
106
114
|
node: string;
|
|
107
115
|
type: "email" | "raw";
|
|
108
116
|
}[];
|
|
109
|
-
nodes: {
|
|
110
|
-
[x: string]: {
|
|
111
|
-
name: string;
|
|
112
|
-
metadata: {};
|
|
113
|
-
dependencies: string[];
|
|
114
|
-
edges: {
|
|
115
|
-
node: string;
|
|
116
|
-
config: {
|
|
117
|
-
[x: string]: {
|
|
118
|
-
type: "static";
|
|
119
|
-
value: any;
|
|
120
|
-
} | {
|
|
121
|
-
type: "dynamic";
|
|
122
|
-
value: any;
|
|
123
|
-
};
|
|
124
|
-
};
|
|
125
|
-
}[];
|
|
126
|
-
} | {
|
|
127
|
-
name: string;
|
|
128
|
-
config: {
|
|
129
|
-
[x: string]: {
|
|
130
|
-
type: "static";
|
|
131
|
-
value: any;
|
|
132
|
-
} | {
|
|
133
|
-
type: "dynamic";
|
|
134
|
-
value: any;
|
|
135
|
-
};
|
|
136
|
-
};
|
|
137
|
-
metadata: {};
|
|
138
|
-
dependencies: string[];
|
|
139
|
-
};
|
|
140
|
-
};
|
|
117
|
+
nodes: {};
|
|
141
118
|
};
|
|
142
119
|
readonly analyze: {
|
|
143
|
-
outputsForEntrypoint: {
|
|
144
|
-
[x: string]: string[];
|
|
145
|
-
};
|
|
146
|
-
entrypointsForOuput: {
|
|
147
|
-
[x: string]: string[];
|
|
148
|
-
};
|
|
149
120
|
readonly?: "__readonly";
|
|
121
|
+
outputsForEntrypoint: {};
|
|
122
|
+
entrypointsForOuput: {};
|
|
123
|
+
datasForEntrypoint: {};
|
|
150
124
|
};
|
|
151
125
|
}[];
|
|
152
|
-
readonly
|
|
153
|
-
|
|
154
|
-
|
|
155
|
-
|
|
156
|
-
}) | (Types.WorkflowStatus.PUBLISHED & {
|
|
157
|
-
readonly?: "__readonly";
|
|
158
|
-
}) | (Types.WorkflowStatus.ERROR & {
|
|
159
|
-
readonly?: "__readonly";
|
|
160
|
-
});
|
|
126
|
+
readonly urls?: {
|
|
127
|
+
click: string;
|
|
128
|
+
display: string;
|
|
129
|
+
}[];
|
|
161
130
|
}[];
|
|
162
131
|
}>>;
|
|
163
|
-
create: (
|
|
132
|
+
create: (data: {
|
|
164
133
|
description?: string;
|
|
165
134
|
name: string;
|
|
166
135
|
resourceGroupIds: string[];
|
|
@@ -173,23 +142,36 @@ export default class {
|
|
|
173
142
|
message: string;
|
|
174
143
|
data: {
|
|
175
144
|
description?: string;
|
|
145
|
+
name: string;
|
|
146
|
+
readonly updatedAt: Date & {
|
|
147
|
+
readonly?: "__readonly";
|
|
148
|
+
};
|
|
149
|
+
readonly createdAt: Date & {
|
|
150
|
+
readonly?: "__readonly";
|
|
151
|
+
};
|
|
152
|
+
resourceGroupIds: string[];
|
|
153
|
+
readonly status: (WorkflowStatus.DRAFT & {
|
|
154
|
+
readonly?: "__readonly";
|
|
155
|
+
}) | (WorkflowStatus.PUBLISHING & {
|
|
156
|
+
readonly?: "__readonly";
|
|
157
|
+
}) | (WorkflowStatus.PUBLISHED & {
|
|
158
|
+
readonly?: "__readonly";
|
|
159
|
+
}) | (WorkflowStatus.ERROR & {
|
|
160
|
+
readonly?: "__readonly";
|
|
161
|
+
});
|
|
176
162
|
readonly id: string & {
|
|
177
163
|
readonly?: "__readonly";
|
|
178
164
|
};
|
|
179
|
-
name: string;
|
|
180
165
|
readonly companyId: string & {
|
|
181
166
|
readonly?: "__readonly";
|
|
182
167
|
};
|
|
183
|
-
resourceGroupIds: string[];
|
|
184
168
|
readonly versions: {
|
|
185
|
-
metadata?: {
|
|
186
|
-
|
|
187
|
-
};
|
|
188
|
-
readonly state: (Types.WorkflowVersionState.DRAFT & {
|
|
169
|
+
metadata?: {};
|
|
170
|
+
readonly state: (import("./definitions").WorkflowVersionState.DRAFT & {
|
|
189
171
|
readonly?: "__readonly";
|
|
190
|
-
}) | (
|
|
172
|
+
}) | (import("./definitions").WorkflowVersionState.LIVE & {
|
|
191
173
|
readonly?: "__readonly";
|
|
192
|
-
}) | (
|
|
174
|
+
}) | (import("./definitions").WorkflowVersionState.INACTIVE & {
|
|
193
175
|
readonly?: "__readonly";
|
|
194
176
|
});
|
|
195
177
|
definition: {
|
|
@@ -197,58 +179,19 @@ export default class {
|
|
|
197
179
|
node: string;
|
|
198
180
|
type: "email" | "raw";
|
|
199
181
|
}[];
|
|
200
|
-
nodes: {
|
|
201
|
-
[x: string]: {
|
|
202
|
-
name: string;
|
|
203
|
-
metadata: {};
|
|
204
|
-
dependencies: string[];
|
|
205
|
-
edges: {
|
|
206
|
-
node: string;
|
|
207
|
-
config: {
|
|
208
|
-
[x: string]: {
|
|
209
|
-
type: "static";
|
|
210
|
-
value: any;
|
|
211
|
-
} | {
|
|
212
|
-
type: "dynamic";
|
|
213
|
-
value: any;
|
|
214
|
-
};
|
|
215
|
-
};
|
|
216
|
-
}[];
|
|
217
|
-
} | {
|
|
218
|
-
name: string;
|
|
219
|
-
config: {
|
|
220
|
-
[x: string]: {
|
|
221
|
-
type: "static";
|
|
222
|
-
value: any;
|
|
223
|
-
} | {
|
|
224
|
-
type: "dynamic";
|
|
225
|
-
value: any;
|
|
226
|
-
};
|
|
227
|
-
};
|
|
228
|
-
metadata: {};
|
|
229
|
-
dependencies: string[];
|
|
230
|
-
};
|
|
231
|
-
};
|
|
182
|
+
nodes: {};
|
|
232
183
|
};
|
|
233
184
|
readonly analyze: {
|
|
234
|
-
outputsForEntrypoint: {
|
|
235
|
-
[x: string]: string[];
|
|
236
|
-
};
|
|
237
|
-
entrypointsForOuput: {
|
|
238
|
-
[x: string]: string[];
|
|
239
|
-
};
|
|
240
185
|
readonly?: "__readonly";
|
|
186
|
+
outputsForEntrypoint: {};
|
|
187
|
+
entrypointsForOuput: {};
|
|
188
|
+
datasForEntrypoint: {};
|
|
241
189
|
};
|
|
242
190
|
}[];
|
|
243
|
-
readonly
|
|
244
|
-
|
|
245
|
-
|
|
246
|
-
|
|
247
|
-
}) | (Types.WorkflowStatus.PUBLISHED & {
|
|
248
|
-
readonly?: "__readonly";
|
|
249
|
-
}) | (Types.WorkflowStatus.ERROR & {
|
|
250
|
-
readonly?: "__readonly";
|
|
251
|
-
});
|
|
191
|
+
readonly urls?: {
|
|
192
|
+
click: string;
|
|
193
|
+
display: string;
|
|
194
|
+
}[];
|
|
252
195
|
};
|
|
253
196
|
}>>;
|
|
254
197
|
get: (params: {
|
|
@@ -262,23 +205,36 @@ export default class {
|
|
|
262
205
|
message: string;
|
|
263
206
|
data: {
|
|
264
207
|
description?: string;
|
|
208
|
+
name: string;
|
|
209
|
+
readonly updatedAt: Date & {
|
|
210
|
+
readonly?: "__readonly";
|
|
211
|
+
};
|
|
212
|
+
readonly createdAt: Date & {
|
|
213
|
+
readonly?: "__readonly";
|
|
214
|
+
};
|
|
215
|
+
resourceGroupIds: string[];
|
|
216
|
+
readonly status: (WorkflowStatus.DRAFT & {
|
|
217
|
+
readonly?: "__readonly";
|
|
218
|
+
}) | (WorkflowStatus.PUBLISHING & {
|
|
219
|
+
readonly?: "__readonly";
|
|
220
|
+
}) | (WorkflowStatus.PUBLISHED & {
|
|
221
|
+
readonly?: "__readonly";
|
|
222
|
+
}) | (WorkflowStatus.ERROR & {
|
|
223
|
+
readonly?: "__readonly";
|
|
224
|
+
});
|
|
265
225
|
readonly id: string & {
|
|
266
226
|
readonly?: "__readonly";
|
|
267
227
|
};
|
|
268
|
-
name: string;
|
|
269
228
|
readonly companyId: string & {
|
|
270
229
|
readonly?: "__readonly";
|
|
271
230
|
};
|
|
272
|
-
resourceGroupIds: string[];
|
|
273
231
|
readonly versions: {
|
|
274
|
-
metadata?: {
|
|
275
|
-
|
|
276
|
-
};
|
|
277
|
-
readonly state: (Types.WorkflowVersionState.DRAFT & {
|
|
232
|
+
metadata?: {};
|
|
233
|
+
readonly state: (import("./definitions").WorkflowVersionState.DRAFT & {
|
|
278
234
|
readonly?: "__readonly";
|
|
279
|
-
}) | (
|
|
235
|
+
}) | (import("./definitions").WorkflowVersionState.LIVE & {
|
|
280
236
|
readonly?: "__readonly";
|
|
281
|
-
}) | (
|
|
237
|
+
}) | (import("./definitions").WorkflowVersionState.INACTIVE & {
|
|
282
238
|
readonly?: "__readonly";
|
|
283
239
|
});
|
|
284
240
|
definition: {
|
|
@@ -286,58 +242,19 @@ export default class {
|
|
|
286
242
|
node: string;
|
|
287
243
|
type: "email" | "raw";
|
|
288
244
|
}[];
|
|
289
|
-
nodes: {
|
|
290
|
-
[x: string]: {
|
|
291
|
-
name: string;
|
|
292
|
-
metadata: {};
|
|
293
|
-
dependencies: string[];
|
|
294
|
-
edges: {
|
|
295
|
-
node: string;
|
|
296
|
-
config: {
|
|
297
|
-
[x: string]: {
|
|
298
|
-
type: "static";
|
|
299
|
-
value: any;
|
|
300
|
-
} | {
|
|
301
|
-
type: "dynamic";
|
|
302
|
-
value: any;
|
|
303
|
-
};
|
|
304
|
-
};
|
|
305
|
-
}[];
|
|
306
|
-
} | {
|
|
307
|
-
name: string;
|
|
308
|
-
config: {
|
|
309
|
-
[x: string]: {
|
|
310
|
-
type: "static";
|
|
311
|
-
value: any;
|
|
312
|
-
} | {
|
|
313
|
-
type: "dynamic";
|
|
314
|
-
value: any;
|
|
315
|
-
};
|
|
316
|
-
};
|
|
317
|
-
metadata: {};
|
|
318
|
-
dependencies: string[];
|
|
319
|
-
};
|
|
320
|
-
};
|
|
245
|
+
nodes: {};
|
|
321
246
|
};
|
|
322
247
|
readonly analyze: {
|
|
323
|
-
outputsForEntrypoint: {
|
|
324
|
-
[x: string]: string[];
|
|
325
|
-
};
|
|
326
|
-
entrypointsForOuput: {
|
|
327
|
-
[x: string]: string[];
|
|
328
|
-
};
|
|
329
248
|
readonly?: "__readonly";
|
|
249
|
+
outputsForEntrypoint: {};
|
|
250
|
+
entrypointsForOuput: {};
|
|
251
|
+
datasForEntrypoint: {};
|
|
330
252
|
};
|
|
331
253
|
}[];
|
|
332
|
-
readonly
|
|
333
|
-
|
|
334
|
-
|
|
335
|
-
|
|
336
|
-
}) | (Types.WorkflowStatus.PUBLISHED & {
|
|
337
|
-
readonly?: "__readonly";
|
|
338
|
-
}) | (Types.WorkflowStatus.ERROR & {
|
|
339
|
-
readonly?: "__readonly";
|
|
340
|
-
});
|
|
254
|
+
readonly urls?: {
|
|
255
|
+
click: string;
|
|
256
|
+
display: string;
|
|
257
|
+
}[];
|
|
341
258
|
};
|
|
342
259
|
}>>;
|
|
343
260
|
update: (params: {
|
|
@@ -347,21 +264,13 @@ export default class {
|
|
|
347
264
|
name?: string;
|
|
348
265
|
resourceGroupIds?: string[];
|
|
349
266
|
} & {
|
|
350
|
-
metadata?: {
|
|
351
|
-
[x: string]: any;
|
|
352
|
-
};
|
|
267
|
+
metadata?: {};
|
|
353
268
|
definition?: {
|
|
354
269
|
entrypoints: {
|
|
355
270
|
node: string;
|
|
356
271
|
type: "email" | "raw";
|
|
357
272
|
}[];
|
|
358
|
-
nodes: {
|
|
359
|
-
[x: string]: {
|
|
360
|
-
name: string;
|
|
361
|
-
metadata: {};
|
|
362
|
-
dependencies: string[];
|
|
363
|
-
};
|
|
364
|
-
};
|
|
273
|
+
nodes: {};
|
|
365
274
|
};
|
|
366
275
|
}, options?: AxiosRequestConfig) => Promise<import("axios").AxiosResponse<{
|
|
367
276
|
status: "success";
|
|
@@ -372,23 +281,36 @@ export default class {
|
|
|
372
281
|
message: string;
|
|
373
282
|
data: {
|
|
374
283
|
description?: string;
|
|
284
|
+
name: string;
|
|
285
|
+
readonly updatedAt: Date & {
|
|
286
|
+
readonly?: "__readonly";
|
|
287
|
+
};
|
|
288
|
+
readonly createdAt: Date & {
|
|
289
|
+
readonly?: "__readonly";
|
|
290
|
+
};
|
|
291
|
+
resourceGroupIds: string[];
|
|
292
|
+
readonly status: (WorkflowStatus.DRAFT & {
|
|
293
|
+
readonly?: "__readonly";
|
|
294
|
+
}) | (WorkflowStatus.PUBLISHING & {
|
|
295
|
+
readonly?: "__readonly";
|
|
296
|
+
}) | (WorkflowStatus.PUBLISHED & {
|
|
297
|
+
readonly?: "__readonly";
|
|
298
|
+
}) | (WorkflowStatus.ERROR & {
|
|
299
|
+
readonly?: "__readonly";
|
|
300
|
+
});
|
|
375
301
|
readonly id: string & {
|
|
376
302
|
readonly?: "__readonly";
|
|
377
303
|
};
|
|
378
|
-
name: string;
|
|
379
304
|
readonly companyId: string & {
|
|
380
305
|
readonly?: "__readonly";
|
|
381
306
|
};
|
|
382
|
-
resourceGroupIds: string[];
|
|
383
307
|
readonly versions: {
|
|
384
|
-
metadata?: {
|
|
385
|
-
|
|
386
|
-
};
|
|
387
|
-
readonly state: (Types.WorkflowVersionState.DRAFT & {
|
|
308
|
+
metadata?: {};
|
|
309
|
+
readonly state: (import("./definitions").WorkflowVersionState.DRAFT & {
|
|
388
310
|
readonly?: "__readonly";
|
|
389
|
-
}) | (
|
|
311
|
+
}) | (import("./definitions").WorkflowVersionState.LIVE & {
|
|
390
312
|
readonly?: "__readonly";
|
|
391
|
-
}) | (
|
|
313
|
+
}) | (import("./definitions").WorkflowVersionState.INACTIVE & {
|
|
392
314
|
readonly?: "__readonly";
|
|
393
315
|
});
|
|
394
316
|
definition: {
|
|
@@ -396,58 +318,19 @@ export default class {
|
|
|
396
318
|
node: string;
|
|
397
319
|
type: "email" | "raw";
|
|
398
320
|
}[];
|
|
399
|
-
nodes: {
|
|
400
|
-
[x: string]: {
|
|
401
|
-
name: string;
|
|
402
|
-
metadata: {};
|
|
403
|
-
dependencies: string[];
|
|
404
|
-
edges: {
|
|
405
|
-
node: string;
|
|
406
|
-
config: {
|
|
407
|
-
[x: string]: {
|
|
408
|
-
type: "static";
|
|
409
|
-
value: any;
|
|
410
|
-
} | {
|
|
411
|
-
type: "dynamic";
|
|
412
|
-
value: any;
|
|
413
|
-
};
|
|
414
|
-
};
|
|
415
|
-
}[];
|
|
416
|
-
} | {
|
|
417
|
-
name: string;
|
|
418
|
-
config: {
|
|
419
|
-
[x: string]: {
|
|
420
|
-
type: "static";
|
|
421
|
-
value: any;
|
|
422
|
-
} | {
|
|
423
|
-
type: "dynamic";
|
|
424
|
-
value: any;
|
|
425
|
-
};
|
|
426
|
-
};
|
|
427
|
-
metadata: {};
|
|
428
|
-
dependencies: string[];
|
|
429
|
-
};
|
|
430
|
-
};
|
|
321
|
+
nodes: {};
|
|
431
322
|
};
|
|
432
323
|
readonly analyze: {
|
|
433
|
-
outputsForEntrypoint: {
|
|
434
|
-
[x: string]: string[];
|
|
435
|
-
};
|
|
436
|
-
entrypointsForOuput: {
|
|
437
|
-
[x: string]: string[];
|
|
438
|
-
};
|
|
439
324
|
readonly?: "__readonly";
|
|
325
|
+
outputsForEntrypoint: {};
|
|
326
|
+
entrypointsForOuput: {};
|
|
327
|
+
datasForEntrypoint: {};
|
|
440
328
|
};
|
|
441
329
|
}[];
|
|
442
|
-
readonly
|
|
443
|
-
|
|
444
|
-
|
|
445
|
-
|
|
446
|
-
}) | (Types.WorkflowStatus.PUBLISHED & {
|
|
447
|
-
readonly?: "__readonly";
|
|
448
|
-
}) | (Types.WorkflowStatus.ERROR & {
|
|
449
|
-
readonly?: "__readonly";
|
|
450
|
-
});
|
|
330
|
+
readonly urls?: {
|
|
331
|
+
click: string;
|
|
332
|
+
display: string;
|
|
333
|
+
}[];
|
|
451
334
|
};
|
|
452
335
|
}>>;
|
|
453
336
|
delete: (params: {
|
|
@@ -472,23 +355,36 @@ export default class {
|
|
|
472
355
|
message: string;
|
|
473
356
|
data: {
|
|
474
357
|
description?: string;
|
|
358
|
+
name: string;
|
|
359
|
+
readonly updatedAt: Date & {
|
|
360
|
+
readonly?: "__readonly";
|
|
361
|
+
};
|
|
362
|
+
readonly createdAt: Date & {
|
|
363
|
+
readonly?: "__readonly";
|
|
364
|
+
};
|
|
365
|
+
resourceGroupIds: string[];
|
|
366
|
+
readonly status: (WorkflowStatus.DRAFT & {
|
|
367
|
+
readonly?: "__readonly";
|
|
368
|
+
}) | (WorkflowStatus.PUBLISHING & {
|
|
369
|
+
readonly?: "__readonly";
|
|
370
|
+
}) | (WorkflowStatus.PUBLISHED & {
|
|
371
|
+
readonly?: "__readonly";
|
|
372
|
+
}) | (WorkflowStatus.ERROR & {
|
|
373
|
+
readonly?: "__readonly";
|
|
374
|
+
});
|
|
475
375
|
readonly id: string & {
|
|
476
376
|
readonly?: "__readonly";
|
|
477
377
|
};
|
|
478
|
-
name: string;
|
|
479
378
|
readonly companyId: string & {
|
|
480
379
|
readonly?: "__readonly";
|
|
481
380
|
};
|
|
482
|
-
resourceGroupIds: string[];
|
|
483
381
|
readonly versions: {
|
|
484
|
-
metadata?: {
|
|
485
|
-
|
|
486
|
-
};
|
|
487
|
-
readonly state: (Types.WorkflowVersionState.DRAFT & {
|
|
382
|
+
metadata?: {};
|
|
383
|
+
readonly state: (import("./definitions").WorkflowVersionState.DRAFT & {
|
|
488
384
|
readonly?: "__readonly";
|
|
489
|
-
}) | (
|
|
385
|
+
}) | (import("./definitions").WorkflowVersionState.LIVE & {
|
|
490
386
|
readonly?: "__readonly";
|
|
491
|
-
}) | (
|
|
387
|
+
}) | (import("./definitions").WorkflowVersionState.INACTIVE & {
|
|
492
388
|
readonly?: "__readonly";
|
|
493
389
|
});
|
|
494
390
|
definition: {
|
|
@@ -496,58 +392,19 @@ export default class {
|
|
|
496
392
|
node: string;
|
|
497
393
|
type: "email" | "raw";
|
|
498
394
|
}[];
|
|
499
|
-
nodes: {
|
|
500
|
-
[x: string]: {
|
|
501
|
-
name: string;
|
|
502
|
-
metadata: {};
|
|
503
|
-
dependencies: string[];
|
|
504
|
-
edges: {
|
|
505
|
-
node: string;
|
|
506
|
-
config: {
|
|
507
|
-
[x: string]: {
|
|
508
|
-
type: "static";
|
|
509
|
-
value: any;
|
|
510
|
-
} | {
|
|
511
|
-
type: "dynamic";
|
|
512
|
-
value: any;
|
|
513
|
-
};
|
|
514
|
-
};
|
|
515
|
-
}[];
|
|
516
|
-
} | {
|
|
517
|
-
name: string;
|
|
518
|
-
config: {
|
|
519
|
-
[x: string]: {
|
|
520
|
-
type: "static";
|
|
521
|
-
value: any;
|
|
522
|
-
} | {
|
|
523
|
-
type: "dynamic";
|
|
524
|
-
value: any;
|
|
525
|
-
};
|
|
526
|
-
};
|
|
527
|
-
metadata: {};
|
|
528
|
-
dependencies: string[];
|
|
529
|
-
};
|
|
530
|
-
};
|
|
395
|
+
nodes: {};
|
|
531
396
|
};
|
|
532
397
|
readonly analyze: {
|
|
533
|
-
outputsForEntrypoint: {
|
|
534
|
-
[x: string]: string[];
|
|
535
|
-
};
|
|
536
|
-
entrypointsForOuput: {
|
|
537
|
-
[x: string]: string[];
|
|
538
|
-
};
|
|
539
398
|
readonly?: "__readonly";
|
|
399
|
+
outputsForEntrypoint: {};
|
|
400
|
+
entrypointsForOuput: {};
|
|
401
|
+
datasForEntrypoint: {};
|
|
540
402
|
};
|
|
541
403
|
}[];
|
|
542
|
-
readonly
|
|
543
|
-
|
|
544
|
-
|
|
545
|
-
|
|
546
|
-
}) | (Types.WorkflowStatus.PUBLISHED & {
|
|
547
|
-
readonly?: "__readonly";
|
|
548
|
-
}) | (Types.WorkflowStatus.ERROR & {
|
|
549
|
-
readonly?: "__readonly";
|
|
550
|
-
});
|
|
404
|
+
readonly urls?: {
|
|
405
|
+
click: string;
|
|
406
|
+
display: string;
|
|
407
|
+
}[];
|
|
551
408
|
};
|
|
552
409
|
}>>;
|
|
553
410
|
};
|
|
@@ -556,11 +413,8 @@ export default class {
|
|
|
556
413
|
id: string;
|
|
557
414
|
index: number;
|
|
558
415
|
'~ru~': string;
|
|
559
|
-
|
|
560
|
-
redirect?: string;
|
|
416
|
+
mode?: "click" | "display";
|
|
561
417
|
'no-cache'?: string;
|
|
562
|
-
}, options?: AxiosRequestConfig) => Promise<import("axios").AxiosResponse<
|
|
563
|
-
[x: string]: any;
|
|
564
|
-
}>>;
|
|
418
|
+
}, options?: AxiosRequestConfig) => Promise<import("axios").AxiosResponse<any>>;
|
|
565
419
|
};
|
|
566
420
|
}
|
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 (obj && Object.keys(obj).includes(key))
|
|
71
|
+
ret[key] = obj[key];
|
|
72
|
+
});
|
|
73
|
+
return ret;
|
|
74
|
+
}
|
|
75
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiYXBpLmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vYXBpLnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiI7QUFBQSxvQkFBb0I7QUFDcEIsb0JBQW9COzs7OztBQUVwQixrREFBaUU7QUFlakU7SUFHSSxZQUFZLGdCQUFvRDtRQUM1RCxJQUFJLENBQUMsS0FBSyxHQUFHLGNBQ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RSxJQUFJLENBQUMsZUFBZSxDQUFDLElBQUksQ0FBQyxJQUFJLENBQUM7U0FDM0MsQ0FBQztJQUNOLENBQUM7SUFFRCxJQUFJLE1BQU07UUFDTixPQUFPO1lBQ0gsR0FBRyxFQUFFLElBQUksQ0FBQyxHQUFHLENBQUMsSUFBSSxDQUFDLElBQUksQ0FBQztTQUMzQixDQUFDO0lBQ04sQ0FBQztDQUNKO0FBdk1ELDRCQXVNQztBQUVELFNBQVMsSUFBSSxDQUF1QixHQUFNLEVBQUUsR0FBRyxJQUFTO0lBQ3BELE1BQU0sR0FBRyxHQUFlLEVBQWdCLENBQUM7SUFDekMsSUFBSSxDQUFDLE9BQU8sQ0FBQyxHQUFHLENBQUMsRUFBRTtRQUNmLElBQUksR0FBRyxJQUFJLE1BQU0sQ0FBQyxJQUFJLENBQUMsR0FBRyxDQUFDLENBQUMsUUFBUSxDQUFDLEdBQWEsQ0FBQztZQUMvQyxHQUFHLENBQUMsR0FBRyxDQUFDLEdBQUcsR0FBRyxDQUFDLEdBQUcsQ0FBQyxDQUFDO0lBQzVCLENBQUMsQ0FBQyxDQUFDO0lBQ0gsT0FBTyxHQUFHLENBQUM7QUFDZixDQUFDIn0=
|
package/build/definitions.d.ts
CHANGED
|
@@ -1,70 +1,66 @@
|
|
|
1
1
|
declare type readonlyP = {
|
|
2
2
|
readonly?: '__readonly';
|
|
3
3
|
};
|
|
4
|
-
declare type
|
|
5
|
-
|
|
4
|
+
declare type writeonlyP = {
|
|
5
|
+
writeonly?: '__writeonly';
|
|
6
6
|
};
|
|
7
7
|
declare type Primitive = string | Function | number | boolean | Symbol | undefined | null | Date;
|
|
8
|
-
declare type
|
|
9
|
-
[
|
|
10
|
-
}
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
declare type
|
|
18
|
-
[key in keyof T]:
|
|
19
|
-
};
|
|
20
|
-
export declare type
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
'type': 'email' | 'raw';
|
|
8
|
+
declare type PropsWithoutReadonly<T> = {
|
|
9
|
+
[key in keyof T]: T[key] extends readonlyP ? NonNullable<T[key]['readonly']> extends '__readonly' ? never : key : key;
|
|
10
|
+
}[keyof T];
|
|
11
|
+
export declare type WithoutReadonly<T> = T extends any ? T extends Primitive ? T : T extends Array<infer U> ? WithoutReadonly<U>[] : {
|
|
12
|
+
[key in keyof Pick<T, PropsWithoutReadonly<T>>]: Pick<T, PropsWithoutReadonly<T>>[key] extends any ? WithoutReadonly<Pick<T, PropsWithoutReadonly<T>>[key]> : never;
|
|
13
|
+
} : never;
|
|
14
|
+
declare type PropsWithoutWriteonly<T> = {
|
|
15
|
+
[key in keyof T]: T[key] extends writeonlyP ? NonNullable<T[key]['writeonly']> extends '__writeonly' ? never : key : key;
|
|
16
|
+
}[keyof T];
|
|
17
|
+
export declare type WithoutWriteonly<T> = T extends any ? T extends Primitive ? T : T extends Array<infer U> ? WithoutWriteonly<U>[] : {
|
|
18
|
+
[key in keyof Pick<T, PropsWithoutWriteonly<T>>]: Pick<T, PropsWithoutWriteonly<T>>[key] extends any ? WithoutWriteonly<Pick<T, PropsWithoutWriteonly<T>>[key]> : never;
|
|
19
|
+
} : never;
|
|
20
|
+
export declare type _node_string_type_email_or_raw__ = {
|
|
21
|
+
node: string;
|
|
22
|
+
type: "email" | "raw";
|
|
24
23
|
};
|
|
25
24
|
export declare type __ = {};
|
|
26
25
|
export declare type AnyValue = any | null;
|
|
27
|
-
export declare type
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
};
|
|
31
|
-
export declare type
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
};
|
|
35
|
-
export declare type
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
'metadata': __;
|
|
52
|
-
'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[];
|
|
53
50
|
};
|
|
54
51
|
export declare type Workflow = {
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
[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___;
|
|
58
|
-
};
|
|
52
|
+
entrypoints: _node_string_type_email_or_raw__[];
|
|
53
|
+
nodes: {};
|
|
59
54
|
};
|
|
60
55
|
export declare type SerializedWorkflowTemplates = {
|
|
61
|
-
readonly
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
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?: {};
|
|
68
64
|
};
|
|
69
65
|
export declare type WorkflowTemplates = SerializedWorkflowTemplates;
|
|
70
66
|
export declare enum WorkflowVersionState {
|
|
@@ -73,18 +69,13 @@ export declare enum WorkflowVersionState {
|
|
|
73
69
|
INACTIVE = "inactive"
|
|
74
70
|
}
|
|
75
71
|
export declare type SerializedWorkflowVersions = {
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
readonly
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
[key: string]: (string)[];
|
|
84
|
-
};
|
|
85
|
-
'entrypointsForOuput': {
|
|
86
|
-
[key: string]: (string)[];
|
|
87
|
-
};
|
|
72
|
+
metadata?: {};
|
|
73
|
+
readonly state: (WorkflowVersionState) & readonlyP;
|
|
74
|
+
definition: Workflow;
|
|
75
|
+
readonly analyze: ({
|
|
76
|
+
outputsForEntrypoint: {};
|
|
77
|
+
entrypointsForOuput: {};
|
|
78
|
+
datasForEntrypoint: {};
|
|
88
79
|
}) & readonlyP;
|
|
89
80
|
};
|
|
90
81
|
export declare type WorkflowVersions = SerializedWorkflowVersions;
|
|
@@ -95,49 +86,54 @@ export declare enum WorkflowStatus {
|
|
|
95
86
|
ERROR = "error"
|
|
96
87
|
}
|
|
97
88
|
export declare type SerializedWorkflow = {
|
|
98
|
-
readonly
|
|
99
|
-
readonly
|
|
100
|
-
|
|
101
|
-
readonly
|
|
102
|
-
|
|
103
|
-
|
|
104
|
-
|
|
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;
|
|
105
102
|
};
|
|
106
103
|
export declare type Workflows = SerializedWorkflow;
|
|
107
104
|
export declare type Pick_SerializedWorkflow_name_or_description_or_resourceGroupIds_ = {
|
|
108
|
-
|
|
109
|
-
|
|
110
|
-
|
|
111
|
-
};
|
|
112
|
-
export declare type Error = {
|
|
113
|
-
'path': string;
|
|
114
|
-
'message': string;
|
|
115
|
-
'payload'?: {
|
|
116
|
-
[key: string]: AnyValue;
|
|
117
|
-
};
|
|
105
|
+
name: string;
|
|
106
|
+
description?: string;
|
|
107
|
+
resourceGroupIds: string[];
|
|
118
108
|
};
|
|
119
109
|
export declare type Partial_SerializedWorkflow_ = {
|
|
120
|
-
readonly
|
|
121
|
-
readonly
|
|
122
|
-
|
|
123
|
-
readonly
|
|
124
|
-
|
|
125
|
-
|
|
126
|
-
|
|
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;
|
|
127
123
|
};
|
|
128
124
|
export declare type Partial_SerializedWorkflowVersions_ = {
|
|
129
|
-
|
|
130
|
-
|
|
131
|
-
|
|
132
|
-
readonly
|
|
133
|
-
|
|
134
|
-
|
|
135
|
-
|
|
136
|
-
[key: string]: (string)[];
|
|
137
|
-
};
|
|
138
|
-
'entrypointsForOuput': {
|
|
139
|
-
[key: string]: (string)[];
|
|
140
|
-
};
|
|
125
|
+
metadata?: {};
|
|
126
|
+
readonly state?: (WorkflowVersionState) & readonlyP;
|
|
127
|
+
definition?: Workflow;
|
|
128
|
+
readonly analyze?: ({
|
|
129
|
+
outputsForEntrypoint: {};
|
|
130
|
+
entrypointsForOuput: {};
|
|
131
|
+
datasForEntrypoint: {};
|
|
141
132
|
}) & readonlyP;
|
|
142
133
|
};
|
|
134
|
+
export declare type Error = {
|
|
135
|
+
path: string;
|
|
136
|
+
message: string;
|
|
137
|
+
payload?: {};
|
|
138
|
+
};
|
|
143
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