@rlvt/workflows-openapi-client 0.0.0-c338208 → 0.0.0-c52f049

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
@@ -30,13 +30,13 @@ export default class {
30
30
  code?: number;
31
31
  message: string;
32
32
  data: {
33
- name: string;
34
- categories: string[];
35
33
  readonly id: string & {
36
34
  readonly?: "__readonly";
37
35
  };
36
+ name: string;
38
37
  icon: string;
39
38
  slug: string;
39
+ categories: string[];
40
40
  feature?: string;
41
41
  template: {
42
42
  entrypoints: {
@@ -48,31 +48,6 @@ export default class {
48
48
  name: string;
49
49
  metadata: {};
50
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
51
  };
77
52
  };
78
53
  };
@@ -107,29 +82,14 @@ export default class {
107
82
  message: string;
108
83
  data: {
109
84
  description?: string;
110
- name: string;
111
- readonly updatedAt: Date & {
112
- readonly?: "__readonly";
113
- };
114
- readonly createdAt: Date & {
115
- readonly?: "__readonly";
116
- };
117
- resourceGroupIds: string[];
118
- readonly status: (Types.WorkflowStatus.DRAFT & {
119
- readonly?: "__readonly";
120
- }) | (Types.WorkflowStatus.PUBLISHING & {
121
- readonly?: "__readonly";
122
- }) | (Types.WorkflowStatus.PUBLISHED & {
123
- readonly?: "__readonly";
124
- }) | (Types.WorkflowStatus.ERROR & {
125
- readonly?: "__readonly";
126
- });
127
85
  readonly id: string & {
128
86
  readonly?: "__readonly";
129
87
  };
88
+ name: string;
130
89
  readonly companyId: string & {
131
90
  readonly?: "__readonly";
132
91
  };
92
+ resourceGroupIds: string[];
133
93
  readonly versions: {
134
94
  metadata?: {
135
95
  [x: string]: any;
@@ -165,8 +125,6 @@ export default class {
165
125
  }[];
166
126
  } | {
167
127
  name: string;
168
- metadata: {};
169
- dependencies: string[];
170
128
  config: {
171
129
  [x: string]: {
172
130
  type: "static";
@@ -176,11 +134,12 @@ export default class {
176
134
  value: any;
177
135
  };
178
136
  };
137
+ metadata: {};
138
+ dependencies: string[];
179
139
  };
180
140
  };
181
141
  };
182
142
  readonly analyze: {
183
- readonly?: "__readonly";
184
143
  outputsForEntrypoint: {
185
144
  [x: string]: string[];
186
145
  };
@@ -190,12 +149,22 @@ export default class {
190
149
  datasForEntrypoint: {
191
150
  [x: string]: string[];
192
151
  };
152
+ readonly?: "__readonly";
193
153
  };
194
154
  }[];
195
155
  readonly urls?: {
196
- click: string;
197
156
  display: string;
157
+ click: string;
198
158
  }[];
159
+ readonly status: (Types.WorkflowStatus.DRAFT & {
160
+ readonly?: "__readonly";
161
+ }) | (Types.WorkflowStatus.PUBLISHING & {
162
+ readonly?: "__readonly";
163
+ }) | (Types.WorkflowStatus.PUBLISHED & {
164
+ readonly?: "__readonly";
165
+ }) | (Types.WorkflowStatus.ERROR & {
166
+ readonly?: "__readonly";
167
+ });
199
168
  }[];
200
169
  }>>;
201
170
  create: (params: {}, data: {
@@ -211,29 +180,14 @@ export default class {
211
180
  message: string;
212
181
  data: {
213
182
  description?: string;
214
- name: string;
215
- readonly updatedAt: Date & {
216
- readonly?: "__readonly";
217
- };
218
- readonly createdAt: Date & {
219
- readonly?: "__readonly";
220
- };
221
- resourceGroupIds: string[];
222
- readonly status: (Types.WorkflowStatus.DRAFT & {
223
- readonly?: "__readonly";
224
- }) | (Types.WorkflowStatus.PUBLISHING & {
225
- readonly?: "__readonly";
226
- }) | (Types.WorkflowStatus.PUBLISHED & {
227
- readonly?: "__readonly";
228
- }) | (Types.WorkflowStatus.ERROR & {
229
- readonly?: "__readonly";
230
- });
231
183
  readonly id: string & {
232
184
  readonly?: "__readonly";
233
185
  };
186
+ name: string;
234
187
  readonly companyId: string & {
235
188
  readonly?: "__readonly";
236
189
  };
190
+ resourceGroupIds: string[];
237
191
  readonly versions: {
238
192
  metadata?: {
239
193
  [x: string]: any;
@@ -269,8 +223,6 @@ export default class {
269
223
  }[];
270
224
  } | {
271
225
  name: string;
272
- metadata: {};
273
- dependencies: string[];
274
226
  config: {
275
227
  [x: string]: {
276
228
  type: "static";
@@ -280,11 +232,12 @@ export default class {
280
232
  value: any;
281
233
  };
282
234
  };
235
+ metadata: {};
236
+ dependencies: string[];
283
237
  };
284
238
  };
285
239
  };
286
240
  readonly analyze: {
287
- readonly?: "__readonly";
288
241
  outputsForEntrypoint: {
289
242
  [x: string]: string[];
290
243
  };
@@ -294,12 +247,22 @@ export default class {
294
247
  datasForEntrypoint: {
295
248
  [x: string]: string[];
296
249
  };
250
+ readonly?: "__readonly";
297
251
  };
298
252
  }[];
299
253
  readonly urls?: {
300
- click: string;
301
254
  display: string;
255
+ click: string;
302
256
  }[];
257
+ readonly status: (Types.WorkflowStatus.DRAFT & {
258
+ readonly?: "__readonly";
259
+ }) | (Types.WorkflowStatus.PUBLISHING & {
260
+ readonly?: "__readonly";
261
+ }) | (Types.WorkflowStatus.PUBLISHED & {
262
+ readonly?: "__readonly";
263
+ }) | (Types.WorkflowStatus.ERROR & {
264
+ readonly?: "__readonly";
265
+ });
303
266
  };
304
267
  }>>;
305
268
  get: (params: {
@@ -313,29 +276,14 @@ export default class {
313
276
  message: string;
314
277
  data: {
315
278
  description?: string;
316
- name: string;
317
- readonly updatedAt: Date & {
318
- readonly?: "__readonly";
319
- };
320
- readonly createdAt: Date & {
321
- readonly?: "__readonly";
322
- };
323
- resourceGroupIds: string[];
324
- readonly status: (Types.WorkflowStatus.DRAFT & {
325
- readonly?: "__readonly";
326
- }) | (Types.WorkflowStatus.PUBLISHING & {
327
- readonly?: "__readonly";
328
- }) | (Types.WorkflowStatus.PUBLISHED & {
329
- readonly?: "__readonly";
330
- }) | (Types.WorkflowStatus.ERROR & {
331
- readonly?: "__readonly";
332
- });
333
279
  readonly id: string & {
334
280
  readonly?: "__readonly";
335
281
  };
282
+ name: string;
336
283
  readonly companyId: string & {
337
284
  readonly?: "__readonly";
338
285
  };
286
+ resourceGroupIds: string[];
339
287
  readonly versions: {
340
288
  metadata?: {
341
289
  [x: string]: any;
@@ -371,8 +319,6 @@ export default class {
371
319
  }[];
372
320
  } | {
373
321
  name: string;
374
- metadata: {};
375
- dependencies: string[];
376
322
  config: {
377
323
  [x: string]: {
378
324
  type: "static";
@@ -382,11 +328,12 @@ export default class {
382
328
  value: any;
383
329
  };
384
330
  };
331
+ metadata: {};
332
+ dependencies: string[];
385
333
  };
386
334
  };
387
335
  };
388
336
  readonly analyze: {
389
- readonly?: "__readonly";
390
337
  outputsForEntrypoint: {
391
338
  [x: string]: string[];
392
339
  };
@@ -396,12 +343,22 @@ export default class {
396
343
  datasForEntrypoint: {
397
344
  [x: string]: string[];
398
345
  };
346
+ readonly?: "__readonly";
399
347
  };
400
348
  }[];
401
349
  readonly urls?: {
402
- click: string;
403
350
  display: string;
351
+ click: string;
404
352
  }[];
353
+ readonly status: (Types.WorkflowStatus.DRAFT & {
354
+ readonly?: "__readonly";
355
+ }) | (Types.WorkflowStatus.PUBLISHING & {
356
+ readonly?: "__readonly";
357
+ }) | (Types.WorkflowStatus.PUBLISHED & {
358
+ readonly?: "__readonly";
359
+ }) | (Types.WorkflowStatus.ERROR & {
360
+ readonly?: "__readonly";
361
+ });
405
362
  };
406
363
  }>>;
407
364
  update: (params: {
@@ -424,31 +381,6 @@ export default class {
424
381
  name: string;
425
382
  metadata: {};
426
383
  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
384
  };
453
385
  };
454
386
  };
@@ -461,29 +393,14 @@ export default class {
461
393
  message: string;
462
394
  data: {
463
395
  description?: string;
464
- name: string;
465
- readonly updatedAt: Date & {
466
- readonly?: "__readonly";
467
- };
468
- readonly createdAt: Date & {
469
- readonly?: "__readonly";
470
- };
471
- resourceGroupIds: string[];
472
- readonly status: (Types.WorkflowStatus.DRAFT & {
473
- readonly?: "__readonly";
474
- }) | (Types.WorkflowStatus.PUBLISHING & {
475
- readonly?: "__readonly";
476
- }) | (Types.WorkflowStatus.PUBLISHED & {
477
- readonly?: "__readonly";
478
- }) | (Types.WorkflowStatus.ERROR & {
479
- readonly?: "__readonly";
480
- });
481
396
  readonly id: string & {
482
397
  readonly?: "__readonly";
483
398
  };
399
+ name: string;
484
400
  readonly companyId: string & {
485
401
  readonly?: "__readonly";
486
402
  };
403
+ resourceGroupIds: string[];
487
404
  readonly versions: {
488
405
  metadata?: {
489
406
  [x: string]: any;
@@ -519,8 +436,6 @@ export default class {
519
436
  }[];
520
437
  } | {
521
438
  name: string;
522
- metadata: {};
523
- dependencies: string[];
524
439
  config: {
525
440
  [x: string]: {
526
441
  type: "static";
@@ -530,11 +445,12 @@ export default class {
530
445
  value: any;
531
446
  };
532
447
  };
448
+ metadata: {};
449
+ dependencies: string[];
533
450
  };
534
451
  };
535
452
  };
536
453
  readonly analyze: {
537
- readonly?: "__readonly";
538
454
  outputsForEntrypoint: {
539
455
  [x: string]: string[];
540
456
  };
@@ -544,12 +460,22 @@ export default class {
544
460
  datasForEntrypoint: {
545
461
  [x: string]: string[];
546
462
  };
463
+ readonly?: "__readonly";
547
464
  };
548
465
  }[];
549
466
  readonly urls?: {
550
- click: string;
551
467
  display: string;
468
+ click: string;
552
469
  }[];
470
+ readonly status: (Types.WorkflowStatus.DRAFT & {
471
+ readonly?: "__readonly";
472
+ }) | (Types.WorkflowStatus.PUBLISHING & {
473
+ readonly?: "__readonly";
474
+ }) | (Types.WorkflowStatus.PUBLISHED & {
475
+ readonly?: "__readonly";
476
+ }) | (Types.WorkflowStatus.ERROR & {
477
+ readonly?: "__readonly";
478
+ });
553
479
  };
554
480
  }>>;
555
481
  delete: (params: {
@@ -574,29 +500,14 @@ export default class {
574
500
  message: string;
575
501
  data: {
576
502
  description?: string;
577
- name: string;
578
- readonly updatedAt: Date & {
579
- readonly?: "__readonly";
580
- };
581
- readonly createdAt: Date & {
582
- readonly?: "__readonly";
583
- };
584
- resourceGroupIds: string[];
585
- readonly status: (Types.WorkflowStatus.DRAFT & {
586
- readonly?: "__readonly";
587
- }) | (Types.WorkflowStatus.PUBLISHING & {
588
- readonly?: "__readonly";
589
- }) | (Types.WorkflowStatus.PUBLISHED & {
590
- readonly?: "__readonly";
591
- }) | (Types.WorkflowStatus.ERROR & {
592
- readonly?: "__readonly";
593
- });
594
503
  readonly id: string & {
595
504
  readonly?: "__readonly";
596
505
  };
506
+ name: string;
597
507
  readonly companyId: string & {
598
508
  readonly?: "__readonly";
599
509
  };
510
+ resourceGroupIds: string[];
600
511
  readonly versions: {
601
512
  metadata?: {
602
513
  [x: string]: any;
@@ -632,8 +543,6 @@ export default class {
632
543
  }[];
633
544
  } | {
634
545
  name: string;
635
- metadata: {};
636
- dependencies: string[];
637
546
  config: {
638
547
  [x: string]: {
639
548
  type: "static";
@@ -643,11 +552,12 @@ export default class {
643
552
  value: any;
644
553
  };
645
554
  };
555
+ metadata: {};
556
+ dependencies: string[];
646
557
  };
647
558
  };
648
559
  };
649
560
  readonly analyze: {
650
- readonly?: "__readonly";
651
561
  outputsForEntrypoint: {
652
562
  [x: string]: string[];
653
563
  };
@@ -657,12 +567,22 @@ export default class {
657
567
  datasForEntrypoint: {
658
568
  [x: string]: string[];
659
569
  };
570
+ readonly?: "__readonly";
660
571
  };
661
572
  }[];
662
573
  readonly urls?: {
663
- click: string;
664
574
  display: string;
575
+ click: string;
665
576
  }[];
577
+ readonly status: (Types.WorkflowStatus.DRAFT & {
578
+ readonly?: "__readonly";
579
+ }) | (Types.WorkflowStatus.PUBLISHING & {
580
+ readonly?: "__readonly";
581
+ }) | (Types.WorkflowStatus.PUBLISHED & {
582
+ readonly?: "__readonly";
583
+ }) | (Types.WorkflowStatus.ERROR & {
584
+ readonly?: "__readonly";
585
+ });
666
586
  };
667
587
  }>>;
668
588
  };
@@ -673,6 +593,8 @@ export default class {
673
593
  '~ru~': string;
674
594
  mode?: "click" | "display";
675
595
  'no-cache'?: string;
676
- }, options?: AxiosRequestConfig) => Promise<import("axios").AxiosResponse<any>>;
596
+ }, options?: AxiosRequestConfig) => Promise<import("axios").AxiosResponse<{
597
+ [x: string]: any;
598
+ }>>;
677
599
  };
678
600
  }
@@ -1,22 +1,23 @@
1
1
  declare type readonlyP = {
2
2
  readonly?: '__readonly';
3
3
  };
4
- declare type writeonlyP = {
5
- writeonly?: '__writeonly';
4
+ declare type Id<T> = {} & {
5
+ [P in keyof T]: T[P];
6
6
  };
7
7
  declare type Primitive = string | Function | number | boolean | Symbol | undefined | null | Date;
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;
8
+ declare type Without<T, V, WithNevers = {
9
+ [K in keyof T]: Exclude<T[K], undefined> extends V ? never : (T[K] extends Record<string, unknown> ? Without<T[K], V> : T[K]);
10
+ }> = Id<Pick<WithNevers, {
11
+ [K in keyof WithNevers]: WithNevers[K] extends never ? never : K;
12
+ }[keyof WithNevers]>>;
13
+ declare type RemoveReadonly<T> = T extends Primitive ? T : T extends Array<infer U> ? RemoveReadonly<U>[] : {
14
+ [key in keyof T]: 'readonly' extends keyof T[key] ? T[key]['readonly'] extends '__readonly' | undefined ? never : RemoveReadonly<T[key]> : T[key] extends infer TP ? RemoveReadonly<TP> : never;
15
+ };
16
+ export declare type WithoutReadonly<T> = Without<RemoveReadonly<T>, never>;
17
+ declare type RemoveWriteonly<T> = T extends Primitive ? T : T extends Array<infer U> ? RemoveWriteonly<U>[] : {
18
+ [key in keyof T]: 'writeonly' extends keyof T[key] ? T[key]['writeonly'] extends '__writeonly' | undefined ? never : RemoveWriteonly<T[key]> : T[key] extends infer TP ? RemoveWriteonly<TP> : never;
19
+ };
20
+ export declare type WithoutWriteonly<T> = Without<RemoveWriteonly<T>, never>;
20
21
  export declare type _node_string__type_email_or_raw___ = {
21
22
  'node': string;
22
23
  'type': 'email' | 'raw';
@@ -101,8 +102,6 @@ export declare type SerializedWorkflow = {
101
102
  readonly 'companyId': (string) & readonlyP;
102
103
  'resourceGroupIds': (string)[];
103
104
  readonly 'versions': ((WorkflowVersions)[]) & readonlyP;
104
- readonly 'createdAt': (Date) & readonlyP;
105
- readonly 'updatedAt': (Date) & readonlyP;
106
105
  'name': string;
107
106
  'description'?: string;
108
107
  readonly 'urls'?: (({
@@ -117,13 +116,18 @@ export declare type Pick_SerializedWorkflow_name_or_description_or_resourceGroup
117
116
  'description'?: string;
118
117
  'resourceGroupIds': (string)[];
119
118
  };
119
+ export declare type Error = {
120
+ 'path': string;
121
+ 'message': string;
122
+ 'payload'?: {
123
+ [key: string]: AnyValue;
124
+ };
125
+ };
120
126
  export declare type Partial_SerializedWorkflow_ = {
121
127
  readonly 'id'?: (string) & readonlyP;
122
128
  readonly 'companyId'?: (string) & readonlyP;
123
129
  'resourceGroupIds'?: (string)[];
124
130
  readonly 'versions'?: ((WorkflowVersions)[]) & readonlyP;
125
- readonly 'createdAt'?: (Date) & readonlyP;
126
- readonly 'updatedAt'?: (Date) & readonlyP;
127
131
  'name'?: string;
128
132
  'description'?: string;
129
133
  readonly 'urls'?: (({
@@ -150,11 +154,4 @@ export declare type Partial_SerializedWorkflowVersions_ = {
150
154
  };
151
155
  }) & readonlyP;
152
156
  };
153
- export declare type Error = {
154
- 'path': string;
155
- 'message': string;
156
- 'payload'?: {
157
- [key: string]: AnyValue;
158
- };
159
- };
160
157
  export {};
@@ -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,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiZGVmaW5pdGlvbnMuanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi9kZWZpbml0aW9ucy50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiO0FBQUEsb0JBQW9CO0FBQ3BCLG9CQUFvQjs7O0FBMkVwQixJQUFZLG9CQUlYO0FBSkQsV0FBWSxvQkFBb0I7SUFDNUIsdUNBQWUsQ0FBQTtJQUNmLHFDQUFhLENBQUE7SUFDYiw2Q0FBcUIsQ0FBQTtBQUN6QixDQUFDLEVBSlcsb0JBQW9CLEdBQXBCLDRCQUFvQixLQUFwQiw0QkFBb0IsUUFJL0I7QUFzQkQsSUFBWSxjQUtYO0FBTEQsV0FBWSxjQUFjO0lBQ3RCLGlDQUFlLENBQUE7SUFDZiwyQ0FBeUIsQ0FBQTtJQUN6Qix5Q0FBdUIsQ0FBQTtJQUN2QixpQ0FBZSxDQUFBO0FBQ25CLENBQUMsRUFMVyxjQUFjLEdBQWQsc0JBQWMsS0FBZCxzQkFBYyxRQUt6QiJ9
19
+ //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiZGVmaW5pdGlvbnMuanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi9kZWZpbml0aW9ucy50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiO0FBQUEsb0JBQW9CO0FBQ3BCLG9CQUFvQjs7O0FBcUZwQixJQUFZLG9CQUlYO0FBSkQsV0FBWSxvQkFBb0I7SUFDNUIsdUNBQWUsQ0FBQTtJQUNmLHFDQUFhLENBQUE7SUFDYiw2Q0FBcUIsQ0FBQTtBQUN6QixDQUFDLEVBSlcsb0JBQW9CLEdBQXBCLDRCQUFvQixLQUFwQiw0QkFBb0IsUUFJL0I7QUFzQkQsSUFBWSxjQUtYO0FBTEQsV0FBWSxjQUFjO0lBQ3RCLGlDQUFlLENBQUE7SUFDZiwyQ0FBeUIsQ0FBQTtJQUN6Qix5Q0FBdUIsQ0FBQTtJQUN2QixpQ0FBZSxDQUFBO0FBQ25CLENBQUMsRUFMVyxjQUFjLEdBQWQsc0JBQWMsS0FBZCxzQkFBYyxRQUt6QiJ9
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@rlvt/workflows-openapi-client",
3
- "version": "0.0.0-c338208",
3
+ "version": "0.0.0-c52f049",
4
4
  "description": "Openapi client for reelevant service",
5
5
  "main": "build/index.js",
6
6
  "repository": "https://github.com/reelevant-tech/openapi-clients",