@rlvt/workflows-openapi-client 1.0.26 → 1.0.27

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 CHANGED
@@ -102,34 +102,88 @@ export default class {
102
102
  code?: number;
103
103
  message: string;
104
104
  data: {
105
- entrypoints: {
106
- node: string;
107
- type: "email" | "raw";
108
- }[];
109
- nodes: {
110
- [x: string]: {
111
- name: string;
112
- metadata: {
113
- [x: string]: unknown;
114
- };
115
- dependencies: string[];
116
- edges: {
105
+ description?: string;
106
+ readonly id: string & {
107
+ readonly?: "__readonly";
108
+ };
109
+ name: string;
110
+ readonly updatedAt: Date & {
111
+ readonly?: "__readonly";
112
+ };
113
+ readonly createdAt: Date & {
114
+ readonly?: "__readonly";
115
+ };
116
+ readonly companyId: string & {
117
+ readonly?: "__readonly";
118
+ };
119
+ resourceGroupIds: string[];
120
+ readonly versions: {
121
+ metadata?: {
122
+ [x: string]: unknown;
123
+ };
124
+ readonly state: (WorkflowVersionState.DRAFT & {
125
+ readonly?: "__readonly";
126
+ }) | (WorkflowVersionState.LIVE & {
127
+ readonly?: "__readonly";
128
+ }) | (WorkflowVersionState.INACTIVE & {
129
+ readonly?: "__readonly";
130
+ });
131
+ definition: {
132
+ entrypoints: {
117
133
  node: string;
118
- config: {
119
- [x: string]: unknown;
120
- };
134
+ type: "email" | "raw";
121
135
  }[];
122
- } | {
123
- name: string;
124
- metadata: {
125
- [x: string]: unknown;
136
+ nodes: {
137
+ [x: string]: {
138
+ name: string;
139
+ metadata: {
140
+ [x: string]: unknown;
141
+ };
142
+ dependencies: string[];
143
+ edges: {
144
+ node: string;
145
+ config: {
146
+ [x: string]: unknown;
147
+ };
148
+ }[];
149
+ } | {
150
+ name: string;
151
+ metadata: {
152
+ [x: string]: unknown;
153
+ };
154
+ dependencies: string[];
155
+ config: {
156
+ [x: string]: unknown;
157
+ };
158
+ };
126
159
  };
127
- dependencies: string[];
128
- config: {
129
- [x: string]: unknown;
160
+ };
161
+ readonly analyze: {
162
+ readonly?: "__readonly";
163
+ outputsForEntrypoint: {
164
+ [x: string]: string[];
165
+ };
166
+ entrypointsForNode: {
167
+ [x: string]: string[];
168
+ };
169
+ datasForEntrypoint: {
170
+ [x: string]: string[];
130
171
  };
131
172
  };
132
- };
173
+ }[];
174
+ readonly urls?: {
175
+ click: string;
176
+ display: string;
177
+ }[];
178
+ readonly status: (WorkflowStatus.DRAFT & {
179
+ readonly?: "__readonly";
180
+ }) | (WorkflowStatus.PUBLISHING & {
181
+ readonly?: "__readonly";
182
+ }) | (WorkflowStatus.PUBLISHED & {
183
+ readonly?: "__readonly";
184
+ }) | (WorkflowStatus.ERROR & {
185
+ readonly?: "__readonly";
186
+ });
133
187
  }[];
134
188
  }, any>>;
135
189
  create: (params: Record<string, never>, data: {
@@ -144,34 +198,88 @@ export default class {
144
198
  code?: number;
145
199
  message: string;
146
200
  data: {
147
- entrypoints: {
148
- node: string;
149
- type: "email" | "raw";
150
- }[];
151
- nodes: {
152
- [x: string]: {
153
- name: string;
154
- metadata: {
155
- [x: string]: unknown;
156
- };
157
- dependencies: string[];
158
- edges: {
201
+ description?: string;
202
+ readonly id: string & {
203
+ readonly?: "__readonly";
204
+ };
205
+ name: string;
206
+ readonly updatedAt: Date & {
207
+ readonly?: "__readonly";
208
+ };
209
+ readonly createdAt: Date & {
210
+ readonly?: "__readonly";
211
+ };
212
+ readonly companyId: string & {
213
+ readonly?: "__readonly";
214
+ };
215
+ resourceGroupIds: string[];
216
+ readonly versions: {
217
+ metadata?: {
218
+ [x: string]: unknown;
219
+ };
220
+ readonly state: (WorkflowVersionState.DRAFT & {
221
+ readonly?: "__readonly";
222
+ }) | (WorkflowVersionState.LIVE & {
223
+ readonly?: "__readonly";
224
+ }) | (WorkflowVersionState.INACTIVE & {
225
+ readonly?: "__readonly";
226
+ });
227
+ definition: {
228
+ entrypoints: {
159
229
  node: string;
160
- config: {
161
- [x: string]: unknown;
162
- };
230
+ type: "email" | "raw";
163
231
  }[];
164
- } | {
165
- name: string;
166
- metadata: {
167
- [x: string]: unknown;
232
+ nodes: {
233
+ [x: string]: {
234
+ name: string;
235
+ metadata: {
236
+ [x: string]: unknown;
237
+ };
238
+ dependencies: string[];
239
+ edges: {
240
+ node: string;
241
+ config: {
242
+ [x: string]: unknown;
243
+ };
244
+ }[];
245
+ } | {
246
+ name: string;
247
+ metadata: {
248
+ [x: string]: unknown;
249
+ };
250
+ dependencies: string[];
251
+ config: {
252
+ [x: string]: unknown;
253
+ };
254
+ };
168
255
  };
169
- dependencies: string[];
170
- config: {
171
- [x: string]: unknown;
256
+ };
257
+ readonly analyze: {
258
+ readonly?: "__readonly";
259
+ outputsForEntrypoint: {
260
+ [x: string]: string[];
261
+ };
262
+ entrypointsForNode: {
263
+ [x: string]: string[];
264
+ };
265
+ datasForEntrypoint: {
266
+ [x: string]: string[];
172
267
  };
173
268
  };
174
- };
269
+ }[];
270
+ readonly urls?: {
271
+ click: string;
272
+ display: string;
273
+ }[];
274
+ readonly status: (WorkflowStatus.DRAFT & {
275
+ readonly?: "__readonly";
276
+ }) | (WorkflowStatus.PUBLISHING & {
277
+ readonly?: "__readonly";
278
+ }) | (WorkflowStatus.PUBLISHED & {
279
+ readonly?: "__readonly";
280
+ }) | (WorkflowStatus.ERROR & {
281
+ readonly?: "__readonly";
282
+ });
175
283
  };
176
284
  }, any>>;
177
285
  get: (params: {
@@ -185,34 +293,88 @@ export default class {
185
293
  code?: number;
186
294
  message: string;
187
295
  data: {
188
- entrypoints: {
189
- node: string;
190
- type: "email" | "raw";
191
- }[];
192
- nodes: {
193
- [x: string]: {
194
- name: string;
195
- metadata: {
196
- [x: string]: unknown;
197
- };
198
- dependencies: string[];
199
- edges: {
296
+ description?: string;
297
+ readonly id: string & {
298
+ readonly?: "__readonly";
299
+ };
300
+ name: string;
301
+ readonly updatedAt: Date & {
302
+ readonly?: "__readonly";
303
+ };
304
+ readonly createdAt: Date & {
305
+ readonly?: "__readonly";
306
+ };
307
+ readonly companyId: string & {
308
+ readonly?: "__readonly";
309
+ };
310
+ resourceGroupIds: string[];
311
+ readonly versions: {
312
+ metadata?: {
313
+ [x: string]: unknown;
314
+ };
315
+ readonly state: (WorkflowVersionState.DRAFT & {
316
+ readonly?: "__readonly";
317
+ }) | (WorkflowVersionState.LIVE & {
318
+ readonly?: "__readonly";
319
+ }) | (WorkflowVersionState.INACTIVE & {
320
+ readonly?: "__readonly";
321
+ });
322
+ definition: {
323
+ entrypoints: {
200
324
  node: string;
201
- config: {
202
- [x: string]: unknown;
203
- };
325
+ type: "email" | "raw";
204
326
  }[];
205
- } | {
206
- name: string;
207
- metadata: {
208
- [x: string]: unknown;
327
+ nodes: {
328
+ [x: string]: {
329
+ name: string;
330
+ metadata: {
331
+ [x: string]: unknown;
332
+ };
333
+ dependencies: string[];
334
+ edges: {
335
+ node: string;
336
+ config: {
337
+ [x: string]: unknown;
338
+ };
339
+ }[];
340
+ } | {
341
+ name: string;
342
+ metadata: {
343
+ [x: string]: unknown;
344
+ };
345
+ dependencies: string[];
346
+ config: {
347
+ [x: string]: unknown;
348
+ };
349
+ };
209
350
  };
210
- dependencies: string[];
211
- config: {
212
- [x: string]: unknown;
351
+ };
352
+ readonly analyze: {
353
+ readonly?: "__readonly";
354
+ outputsForEntrypoint: {
355
+ [x: string]: string[];
356
+ };
357
+ entrypointsForNode: {
358
+ [x: string]: string[];
359
+ };
360
+ datasForEntrypoint: {
361
+ [x: string]: string[];
213
362
  };
214
363
  };
215
- };
364
+ }[];
365
+ readonly urls?: {
366
+ click: string;
367
+ display: string;
368
+ }[];
369
+ readonly status: (WorkflowStatus.DRAFT & {
370
+ readonly?: "__readonly";
371
+ }) | (WorkflowStatus.PUBLISHING & {
372
+ readonly?: "__readonly";
373
+ }) | (WorkflowStatus.PUBLISHED & {
374
+ readonly?: "__readonly";
375
+ }) | (WorkflowStatus.ERROR & {
376
+ readonly?: "__readonly";
377
+ });
216
378
  };
217
379
  }, any>>;
218
380
  update: (params: {
@@ -263,34 +425,88 @@ export default class {
263
425
  code?: number;
264
426
  message: string;
265
427
  data: {
266
- entrypoints: {
267
- node: string;
268
- type: "email" | "raw";
269
- }[];
270
- nodes: {
271
- [x: string]: {
272
- name: string;
273
- metadata: {
274
- [x: string]: unknown;
275
- };
276
- dependencies: string[];
277
- edges: {
428
+ description?: string;
429
+ readonly id: string & {
430
+ readonly?: "__readonly";
431
+ };
432
+ name: string;
433
+ readonly updatedAt: Date & {
434
+ readonly?: "__readonly";
435
+ };
436
+ readonly createdAt: Date & {
437
+ readonly?: "__readonly";
438
+ };
439
+ readonly companyId: string & {
440
+ readonly?: "__readonly";
441
+ };
442
+ resourceGroupIds: string[];
443
+ readonly versions: {
444
+ metadata?: {
445
+ [x: string]: unknown;
446
+ };
447
+ readonly state: (WorkflowVersionState.DRAFT & {
448
+ readonly?: "__readonly";
449
+ }) | (WorkflowVersionState.LIVE & {
450
+ readonly?: "__readonly";
451
+ }) | (WorkflowVersionState.INACTIVE & {
452
+ readonly?: "__readonly";
453
+ });
454
+ definition: {
455
+ entrypoints: {
278
456
  node: string;
279
- config: {
280
- [x: string]: unknown;
281
- };
457
+ type: "email" | "raw";
282
458
  }[];
283
- } | {
284
- name: string;
285
- metadata: {
286
- [x: string]: unknown;
459
+ nodes: {
460
+ [x: string]: {
461
+ name: string;
462
+ metadata: {
463
+ [x: string]: unknown;
464
+ };
465
+ dependencies: string[];
466
+ edges: {
467
+ node: string;
468
+ config: {
469
+ [x: string]: unknown;
470
+ };
471
+ }[];
472
+ } | {
473
+ name: string;
474
+ metadata: {
475
+ [x: string]: unknown;
476
+ };
477
+ dependencies: string[];
478
+ config: {
479
+ [x: string]: unknown;
480
+ };
481
+ };
287
482
  };
288
- dependencies: string[];
289
- config: {
290
- [x: string]: unknown;
483
+ };
484
+ readonly analyze: {
485
+ readonly?: "__readonly";
486
+ outputsForEntrypoint: {
487
+ [x: string]: string[];
488
+ };
489
+ entrypointsForNode: {
490
+ [x: string]: string[];
491
+ };
492
+ datasForEntrypoint: {
493
+ [x: string]: string[];
291
494
  };
292
495
  };
293
- };
496
+ }[];
497
+ readonly urls?: {
498
+ click: string;
499
+ display: string;
500
+ }[];
501
+ readonly status: (WorkflowStatus.DRAFT & {
502
+ readonly?: "__readonly";
503
+ }) | (WorkflowStatus.PUBLISHING & {
504
+ readonly?: "__readonly";
505
+ }) | (WorkflowStatus.PUBLISHED & {
506
+ readonly?: "__readonly";
507
+ }) | (WorkflowStatus.ERROR & {
508
+ readonly?: "__readonly";
509
+ });
294
510
  };
295
511
  }, any>>;
296
512
  delete: (params: {
@@ -314,34 +530,88 @@ export default class {
314
530
  code?: number;
315
531
  message: string;
316
532
  data: {
317
- entrypoints: {
318
- node: string;
319
- type: "email" | "raw";
320
- }[];
321
- nodes: {
322
- [x: string]: {
323
- name: string;
324
- metadata: {
325
- [x: string]: unknown;
326
- };
327
- dependencies: string[];
328
- edges: {
533
+ description?: string;
534
+ readonly id: string & {
535
+ readonly?: "__readonly";
536
+ };
537
+ name: string;
538
+ readonly updatedAt: Date & {
539
+ readonly?: "__readonly";
540
+ };
541
+ readonly createdAt: Date & {
542
+ readonly?: "__readonly";
543
+ };
544
+ readonly companyId: string & {
545
+ readonly?: "__readonly";
546
+ };
547
+ resourceGroupIds: string[];
548
+ readonly versions: {
549
+ metadata?: {
550
+ [x: string]: unknown;
551
+ };
552
+ readonly state: (WorkflowVersionState.DRAFT & {
553
+ readonly?: "__readonly";
554
+ }) | (WorkflowVersionState.LIVE & {
555
+ readonly?: "__readonly";
556
+ }) | (WorkflowVersionState.INACTIVE & {
557
+ readonly?: "__readonly";
558
+ });
559
+ definition: {
560
+ entrypoints: {
329
561
  node: string;
330
- config: {
331
- [x: string]: unknown;
332
- };
562
+ type: "email" | "raw";
333
563
  }[];
334
- } | {
335
- name: string;
336
- metadata: {
337
- [x: string]: unknown;
564
+ nodes: {
565
+ [x: string]: {
566
+ name: string;
567
+ metadata: {
568
+ [x: string]: unknown;
569
+ };
570
+ dependencies: string[];
571
+ edges: {
572
+ node: string;
573
+ config: {
574
+ [x: string]: unknown;
575
+ };
576
+ }[];
577
+ } | {
578
+ name: string;
579
+ metadata: {
580
+ [x: string]: unknown;
581
+ };
582
+ dependencies: string[];
583
+ config: {
584
+ [x: string]: unknown;
585
+ };
586
+ };
338
587
  };
339
- dependencies: string[];
340
- config: {
341
- [x: string]: unknown;
588
+ };
589
+ readonly analyze: {
590
+ readonly?: "__readonly";
591
+ outputsForEntrypoint: {
592
+ [x: string]: string[];
593
+ };
594
+ entrypointsForNode: {
595
+ [x: string]: string[];
596
+ };
597
+ datasForEntrypoint: {
598
+ [x: string]: string[];
342
599
  };
343
600
  };
344
- };
601
+ }[];
602
+ readonly urls?: {
603
+ click: string;
604
+ display: string;
605
+ }[];
606
+ readonly status: (WorkflowStatus.DRAFT & {
607
+ readonly?: "__readonly";
608
+ }) | (WorkflowStatus.PUBLISHING & {
609
+ readonly?: "__readonly";
610
+ }) | (WorkflowStatus.PUBLISHED & {
611
+ readonly?: "__readonly";
612
+ }) | (WorkflowStatus.ERROR & {
613
+ readonly?: "__readonly";
614
+ });
345
615
  };
346
616
  }, any>>;
347
617
  getContentUsage: (params: {
@@ -61,22 +61,11 @@ export declare type SerializedWorkflowTemplate = {
61
61
  };
62
62
  };
63
63
  export declare type WorkflowTemplate = SerializedWorkflowTemplate;
64
- export declare enum WorkflowStatus {
65
- DRAFT = "draft",
66
- PUBLISHING = "publishing",
67
- PUBLISHED = "published",
68
- ERROR = "error"
69
- }
70
64
  export declare enum WorkflowVersionState {
71
65
  DRAFT = "draft",
72
66
  LIVE = "live",
73
67
  INACTIVE = "inactive"
74
68
  }
75
- export declare type Pick_SerializedWorkflow_name_or_description_or_resourceGroupIds_ = {
76
- name: string;
77
- description?: string;
78
- resourceGroupIds: string[];
79
- };
80
69
  export declare type SerializedWorkflowVersion = {
81
70
  metadata?: {
82
71
  [key: string]: AnyValue;
@@ -96,6 +85,33 @@ export declare type SerializedWorkflowVersion = {
96
85
  }) & readonlyP;
97
86
  };
98
87
  export declare type WorkflowVersion = SerializedWorkflowVersion;
88
+ export declare enum WorkflowStatus {
89
+ DRAFT = "draft",
90
+ PUBLISHING = "publishing",
91
+ PUBLISHED = "published",
92
+ ERROR = "error"
93
+ }
94
+ export declare type SerializedWorkflow = {
95
+ readonly id: (string) & readonlyP;
96
+ readonly companyId: (string) & readonlyP;
97
+ resourceGroupIds: string[];
98
+ readonly versions: (WorkflowVersion[]) & readonlyP;
99
+ readonly createdAt: (Date) & readonlyP;
100
+ readonly updatedAt: (Date) & readonlyP;
101
+ name: string;
102
+ description?: string;
103
+ readonly urls?: ({
104
+ display: string;
105
+ click: string;
106
+ }[]) & readonlyP;
107
+ readonly status: (WorkflowStatus) & readonlyP;
108
+ };
109
+ export declare type WorkflowDocument = SerializedWorkflow;
110
+ export declare type Pick_SerializedWorkflow_name_or_description_or_resourceGroupIds_ = {
111
+ name: string;
112
+ description?: string;
113
+ resourceGroupIds: string[];
114
+ };
99
115
  export declare type Partial_SerializedWorkflow_ = {
100
116
  readonly id?: (string) & readonlyP;
101
117
  readonly companyId?: (string) & readonlyP;
@@ -105,11 +121,11 @@ export declare type Partial_SerializedWorkflow_ = {
105
121
  readonly updatedAt?: (Date) & readonlyP;
106
122
  name?: string;
107
123
  description?: string;
108
- readonly status?: (WorkflowStatus) & readonlyP;
109
124
  readonly urls?: ({
110
125
  display: string;
111
126
  click: string;
112
127
  }[]) & readonlyP;
128
+ readonly status?: (WorkflowStatus) & readonlyP;
113
129
  };
114
130
  export declare type Partial_SerializedWorkflowVersion_ = {
115
131
  metadata?: {
@@ -2,7 +2,13 @@
2
2
  /* tslint:disable */
3
3
  /* eslint-disable */
4
4
  Object.defineProperty(exports, "__esModule", { value: true });
5
- exports.WorkflowVersionState = exports.WorkflowStatus = void 0;
5
+ exports.WorkflowStatus = exports.WorkflowVersionState = void 0;
6
+ var WorkflowVersionState;
7
+ (function (WorkflowVersionState) {
8
+ WorkflowVersionState["DRAFT"] = "draft";
9
+ WorkflowVersionState["LIVE"] = "live";
10
+ WorkflowVersionState["INACTIVE"] = "inactive";
11
+ })(WorkflowVersionState = exports.WorkflowVersionState || (exports.WorkflowVersionState = {}));
6
12
  var WorkflowStatus;
7
13
  (function (WorkflowStatus) {
8
14
  WorkflowStatus["DRAFT"] = "draft";
@@ -10,10 +16,4 @@ var WorkflowStatus;
10
16
  WorkflowStatus["PUBLISHED"] = "published";
11
17
  WorkflowStatus["ERROR"] = "error";
12
18
  })(WorkflowStatus = exports.WorkflowStatus || (exports.WorkflowStatus = {}));
13
- var WorkflowVersionState;
14
- (function (WorkflowVersionState) {
15
- WorkflowVersionState["DRAFT"] = "draft";
16
- WorkflowVersionState["LIVE"] = "live";
17
- WorkflowVersionState["INACTIVE"] = "inactive";
18
- })(WorkflowVersionState = exports.WorkflowVersionState || (exports.WorkflowVersionState = {}));
19
- //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiZGVmaW5pdGlvbnMuanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi9kZWZpbml0aW9ucy50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiO0FBQUEsb0JBQW9CO0FBQ3BCLG9CQUFvQjs7O0FBOEVwQixJQUFZLGNBS1g7QUFMRCxXQUFZLGNBQWM7SUFDdEIsaUNBQWUsQ0FBQTtJQUNmLDJDQUF5QixDQUFBO0lBQ3pCLHlDQUF1QixDQUFBO0lBQ3ZCLGlDQUFlLENBQUE7QUFDbkIsQ0FBQyxFQUxXLGNBQWMsR0FBZCxzQkFBYyxLQUFkLHNCQUFjLFFBS3pCO0FBRUQsSUFBWSxvQkFJWDtBQUpELFdBQVksb0JBQW9CO0lBQzVCLHVDQUFlLENBQUE7SUFDZixxQ0FBYSxDQUFBO0lBQ2IsNkNBQXFCLENBQUE7QUFDekIsQ0FBQyxFQUpXLG9CQUFvQixHQUFwQiw0QkFBb0IsS0FBcEIsNEJBQW9CLFFBSS9CIn0=
19
+ //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiZGVmaW5pdGlvbnMuanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi9kZWZpbml0aW9ucy50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiO0FBQUEsb0JBQW9CO0FBQ3BCLG9CQUFvQjs7O0FBOEVwQixJQUFZLG9CQUlYO0FBSkQsV0FBWSxvQkFBb0I7SUFDNUIsdUNBQWUsQ0FBQTtJQUNmLHFDQUFhLENBQUE7SUFDYiw2Q0FBcUIsQ0FBQTtBQUN6QixDQUFDLEVBSlcsb0JBQW9CLEdBQXBCLDRCQUFvQixLQUFwQiw0QkFBb0IsUUFJL0I7QUFzQkQsSUFBWSxjQUtYO0FBTEQsV0FBWSxjQUFjO0lBQ3RCLGlDQUFlLENBQUE7SUFDZiwyQ0FBeUIsQ0FBQTtJQUN6Qix5Q0FBdUIsQ0FBQTtJQUN2QixpQ0FBZSxDQUFBO0FBQ25CLENBQUMsRUFMVyxjQUFjLEdBQWQsc0JBQWMsS0FBZCxzQkFBYyxRQUt6QiJ9
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@rlvt/workflows-openapi-client",
3
- "version": "1.0.26+6cd1fe8",
3
+ "version": "1.0.27+5f8acef",
4
4
  "description": "Openapi client for reelevant service",
5
5
  "main": "build/index.js",
6
6
  "repository": "https://github.com/reelevant-tech/openapi-clients",