@rlvt/workflows-openapi-client 1.0.132 → 1.0.133

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.
Files changed (2) hide show
  1. package/build/api.d.ts +245 -156
  2. package/package.json +1 -1
package/build/api.d.ts CHANGED
@@ -18,11 +18,11 @@ export default class {
18
18
  private updateWorkflowsWithContentUsage;
19
19
  get Workflow(): {
20
20
  listTemplates: (params: {
21
- name?: string;
22
- categories?: string;
23
- page?: number;
24
- perPage?: number;
25
- }, options?: AxiosRequestConfig<any>) => Promise<import("axios").AxiosResponse<{
21
+ name?: string | undefined;
22
+ categories?: string | undefined;
23
+ page?: number | undefined;
24
+ perPage?: number | undefined;
25
+ }, options?: AxiosRequestConfig<any> | undefined) => Promise<import("axios").AxiosResponse<{
26
26
  paginationCount: number;
27
27
  paginationPage: number;
28
28
  paginationLimit: number;
@@ -30,21 +30,21 @@ export default class {
30
30
  program: string;
31
31
  version: string;
32
32
  datetime: string;
33
- code?: number;
33
+ code?: number | undefined;
34
34
  message: string;
35
35
  data: {
36
- description?: string;
36
+ description?: string | undefined;
37
37
  readonly id: string & {
38
- readonly?: "__readonly";
39
- };
40
- readonly companyId?: string & {
41
- readonly?: "__readonly";
38
+ readonly?: "__readonly" | undefined;
42
39
  };
40
+ readonly companyId?: (string & {
41
+ readonly?: "__readonly" | undefined;
42
+ }) | undefined;
43
43
  name: string;
44
44
  icon: string;
45
- slug?: string;
45
+ slug?: string | undefined;
46
46
  categories: string[];
47
- feature?: string;
47
+ feature?: string | undefined;
48
48
  template: {
49
49
  entrypoints: {
50
50
  node: string;
@@ -77,28 +77,28 @@ export default class {
77
77
  };
78
78
  metadata?: {
79
79
  [x: string]: unknown;
80
- };
80
+ } | undefined;
81
81
  }[];
82
82
  }, any>>;
83
- listTemplateCategories: (params: Record<string, never>, options?: AxiosRequestConfig<any>) => Promise<import("axios").AxiosResponse<{
83
+ listTemplateCategories: (params: Record<string, never>, options?: AxiosRequestConfig<any> | undefined) => Promise<import("axios").AxiosResponse<{
84
84
  status: "success";
85
85
  program: string;
86
86
  version: string;
87
87
  datetime: string;
88
- code?: number;
88
+ code?: number | undefined;
89
89
  message: string;
90
90
  data: string[];
91
91
  }, any>>;
92
92
  list: (params: {
93
- ids?: string[];
94
- name?: string;
95
- resourceGroupIds?: string[];
96
- status?: WorkflowStatus[];
97
- sortBy?: "updatedAt" | "createdAt";
98
- sortOrder?: "desc" | "asc";
99
- page?: number;
100
- perPage?: number;
101
- }, options?: AxiosRequestConfig<any>) => Promise<import("axios").AxiosResponse<{
93
+ ids?: string[] | undefined;
94
+ name?: string | undefined;
95
+ resourceGroupIds?: string[] | undefined;
96
+ status?: WorkflowStatus[] | undefined;
97
+ sortBy?: "updatedAt" | "createdAt" | undefined;
98
+ sortOrder?: "desc" | "asc" | undefined;
99
+ page?: number | undefined;
100
+ perPage?: number | undefined;
101
+ }, options?: AxiosRequestConfig<any> | undefined) => Promise<import("axios").AxiosResponse<{
102
102
  paginationCount: number;
103
103
  paginationPage: number;
104
104
  paginationLimit: number;
@@ -106,40 +106,40 @@ export default class {
106
106
  program: string;
107
107
  version: string;
108
108
  datetime: string;
109
- code?: number;
109
+ code?: number | undefined;
110
110
  message: string;
111
111
  data: {
112
- description?: string;
112
+ description?: string | undefined;
113
113
  readonly id: string & {
114
- readonly?: "__readonly";
114
+ readonly?: "__readonly" | undefined;
115
115
  };
116
116
  readonly companyId: string & {
117
- readonly?: "__readonly";
117
+ readonly?: "__readonly" | undefined;
118
118
  };
119
119
  name: string;
120
120
  readonly updatedAt: Date & {
121
- readonly?: "__readonly";
121
+ readonly?: "__readonly" | undefined;
122
122
  };
123
123
  readonly createdAt: Date & {
124
- readonly?: "__readonly";
124
+ readonly?: "__readonly" | undefined;
125
125
  };
126
126
  resourceGroupIds: string[];
127
127
  readonly versions: {
128
128
  metadata?: {
129
129
  [x: string]: unknown;
130
- };
130
+ } | undefined;
131
131
  readonly updatedAt: Date & {
132
- readonly?: "__readonly";
132
+ readonly?: "__readonly" | undefined;
133
133
  };
134
134
  readonly createdAt: Date & {
135
- readonly?: "__readonly";
135
+ readonly?: "__readonly" | undefined;
136
136
  };
137
137
  readonly state: (WorkflowVersionState.DRAFT & {
138
- readonly?: "__readonly";
138
+ readonly?: "__readonly" | undefined;
139
139
  }) | (WorkflowVersionState.LIVE & {
140
- readonly?: "__readonly";
140
+ readonly?: "__readonly" | undefined;
141
141
  }) | (WorkflowVersionState.INACTIVE & {
142
- readonly?: "__readonly";
142
+ readonly?: "__readonly" | undefined;
143
143
  });
144
144
  definition: {
145
145
  entrypoints: {
@@ -172,7 +172,7 @@ export default class {
172
172
  };
173
173
  };
174
174
  readonly analyze: {
175
- readonly?: "__readonly";
175
+ readonly?: "__readonly" | undefined;
176
176
  branches: string[];
177
177
  individualizedBranches: string[];
178
178
  defaultBranches: string[];
@@ -191,61 +191,61 @@ export default class {
191
191
  click: string;
192
192
  display: string;
193
193
  type: "email" | "raw" | "mobile-push-image" | "mobile-app-image" | "web-image";
194
- }[];
194
+ }[] | undefined;
195
195
  readonly status: (WorkflowStatus.DRAFT & {
196
- readonly?: "__readonly";
196
+ readonly?: "__readonly" | undefined;
197
197
  }) | (WorkflowStatus.PUBLISHING & {
198
- readonly?: "__readonly";
198
+ readonly?: "__readonly" | undefined;
199
199
  }) | (WorkflowStatus.PUBLISHED & {
200
- readonly?: "__readonly";
200
+ readonly?: "__readonly" | undefined;
201
201
  }) | (WorkflowStatus.ERROR & {
202
- readonly?: "__readonly";
202
+ readonly?: "__readonly" | undefined;
203
203
  });
204
204
  }[];
205
205
  }, any>>;
206
206
  create: (params: Record<string, never>, data: {
207
- description?: string;
207
+ description?: string | undefined;
208
208
  name: string;
209
209
  resourceGroupIds: string[];
210
- }, options?: AxiosRequestConfig<any>) => Promise<import("axios").AxiosResponse<{
210
+ }, options?: AxiosRequestConfig<any> | undefined) => Promise<import("axios").AxiosResponse<{
211
211
  status: "success";
212
212
  program: string;
213
213
  version: string;
214
214
  datetime: string;
215
- code?: number;
215
+ code?: number | undefined;
216
216
  message: string;
217
217
  data: {
218
- description?: string;
218
+ description?: string | undefined;
219
219
  readonly id: string & {
220
- readonly?: "__readonly";
220
+ readonly?: "__readonly" | undefined;
221
221
  };
222
222
  readonly companyId: string & {
223
- readonly?: "__readonly";
223
+ readonly?: "__readonly" | undefined;
224
224
  };
225
225
  name: string;
226
226
  readonly updatedAt: Date & {
227
- readonly?: "__readonly";
227
+ readonly?: "__readonly" | undefined;
228
228
  };
229
229
  readonly createdAt: Date & {
230
- readonly?: "__readonly";
230
+ readonly?: "__readonly" | undefined;
231
231
  };
232
232
  resourceGroupIds: string[];
233
233
  readonly versions: {
234
234
  metadata?: {
235
235
  [x: string]: unknown;
236
- };
236
+ } | undefined;
237
237
  readonly updatedAt: Date & {
238
- readonly?: "__readonly";
238
+ readonly?: "__readonly" | undefined;
239
239
  };
240
240
  readonly createdAt: Date & {
241
- readonly?: "__readonly";
241
+ readonly?: "__readonly" | undefined;
242
242
  };
243
243
  readonly state: (WorkflowVersionState.DRAFT & {
244
- readonly?: "__readonly";
244
+ readonly?: "__readonly" | undefined;
245
245
  }) | (WorkflowVersionState.LIVE & {
246
- readonly?: "__readonly";
246
+ readonly?: "__readonly" | undefined;
247
247
  }) | (WorkflowVersionState.INACTIVE & {
248
- readonly?: "__readonly";
248
+ readonly?: "__readonly" | undefined;
249
249
  });
250
250
  definition: {
251
251
  entrypoints: {
@@ -278,7 +278,7 @@ export default class {
278
278
  };
279
279
  };
280
280
  readonly analyze: {
281
- readonly?: "__readonly";
281
+ readonly?: "__readonly" | undefined;
282
282
  branches: string[];
283
283
  individualizedBranches: string[];
284
284
  defaultBranches: string[];
@@ -297,60 +297,60 @@ export default class {
297
297
  click: string;
298
298
  display: string;
299
299
  type: "email" | "raw" | "mobile-push-image" | "mobile-app-image" | "web-image";
300
- }[];
300
+ }[] | undefined;
301
301
  readonly status: (WorkflowStatus.DRAFT & {
302
- readonly?: "__readonly";
302
+ readonly?: "__readonly" | undefined;
303
303
  }) | (WorkflowStatus.PUBLISHING & {
304
- readonly?: "__readonly";
304
+ readonly?: "__readonly" | undefined;
305
305
  }) | (WorkflowStatus.PUBLISHED & {
306
- readonly?: "__readonly";
306
+ readonly?: "__readonly" | undefined;
307
307
  }) | (WorkflowStatus.ERROR & {
308
- readonly?: "__readonly";
308
+ readonly?: "__readonly" | undefined;
309
309
  });
310
310
  };
311
311
  }, any>>;
312
312
  get: (params: {
313
313
  id: string;
314
- versions?: WorkflowVersionState[];
315
- }, options?: AxiosRequestConfig<any>) => Promise<import("axios").AxiosResponse<{
314
+ versions?: WorkflowVersionState[] | undefined;
315
+ }, options?: AxiosRequestConfig<any> | undefined) => Promise<import("axios").AxiosResponse<{
316
316
  status: "success";
317
317
  program: string;
318
318
  version: string;
319
319
  datetime: string;
320
- code?: number;
320
+ code?: number | undefined;
321
321
  message: string;
322
322
  data: {
323
- description?: string;
323
+ description?: string | undefined;
324
324
  readonly id: string & {
325
- readonly?: "__readonly";
325
+ readonly?: "__readonly" | undefined;
326
326
  };
327
327
  readonly companyId: string & {
328
- readonly?: "__readonly";
328
+ readonly?: "__readonly" | undefined;
329
329
  };
330
330
  name: string;
331
331
  readonly updatedAt: Date & {
332
- readonly?: "__readonly";
332
+ readonly?: "__readonly" | undefined;
333
333
  };
334
334
  readonly createdAt: Date & {
335
- readonly?: "__readonly";
335
+ readonly?: "__readonly" | undefined;
336
336
  };
337
337
  resourceGroupIds: string[];
338
338
  readonly versions: {
339
339
  metadata?: {
340
340
  [x: string]: unknown;
341
- };
341
+ } | undefined;
342
342
  readonly updatedAt: Date & {
343
- readonly?: "__readonly";
343
+ readonly?: "__readonly" | undefined;
344
344
  };
345
345
  readonly createdAt: Date & {
346
- readonly?: "__readonly";
346
+ readonly?: "__readonly" | undefined;
347
347
  };
348
348
  readonly state: (WorkflowVersionState.DRAFT & {
349
- readonly?: "__readonly";
349
+ readonly?: "__readonly" | undefined;
350
350
  }) | (WorkflowVersionState.LIVE & {
351
- readonly?: "__readonly";
351
+ readonly?: "__readonly" | undefined;
352
352
  }) | (WorkflowVersionState.INACTIVE & {
353
- readonly?: "__readonly";
353
+ readonly?: "__readonly" | undefined;
354
354
  });
355
355
  definition: {
356
356
  entrypoints: {
@@ -383,7 +383,7 @@ export default class {
383
383
  };
384
384
  };
385
385
  readonly analyze: {
386
- readonly?: "__readonly";
386
+ readonly?: "__readonly" | undefined;
387
387
  branches: string[];
388
388
  individualizedBranches: string[];
389
389
  defaultBranches: string[];
@@ -402,28 +402,102 @@ export default class {
402
402
  click: string;
403
403
  display: string;
404
404
  type: "email" | "raw" | "mobile-push-image" | "mobile-app-image" | "web-image";
405
- }[];
405
+ }[] | undefined;
406
406
  readonly status: (WorkflowStatus.DRAFT & {
407
- readonly?: "__readonly";
407
+ readonly?: "__readonly" | undefined;
408
408
  }) | (WorkflowStatus.PUBLISHING & {
409
- readonly?: "__readonly";
409
+ readonly?: "__readonly" | undefined;
410
410
  }) | (WorkflowStatus.PUBLISHED & {
411
- readonly?: "__readonly";
411
+ readonly?: "__readonly" | undefined;
412
412
  }) | (WorkflowStatus.ERROR & {
413
- readonly?: "__readonly";
413
+ readonly?: "__readonly" | undefined;
414
414
  });
415
415
  };
416
416
  }, any>>;
417
417
  update: (params: {
418
418
  id: string;
419
419
  }, data: {
420
- description?: string;
421
- name?: string;
422
- resourceGroupIds?: string[];
420
+ description?: string | undefined;
421
+ readonly id?: (string & {
422
+ readonly?: "__readonly" | undefined;
423
+ }) | undefined;
424
+ readonly companyId?: (string & {
425
+ readonly?: "__readonly" | undefined;
426
+ }) | undefined;
427
+ name?: string | undefined;
428
+ readonly updatedAt?: (Date & {
429
+ readonly?: "__readonly" | undefined;
430
+ }) | undefined;
431
+ readonly createdAt?: (Date & {
432
+ readonly?: "__readonly" | undefined;
433
+ }) | undefined;
434
+ resourceGroupIds?: string[] | undefined;
435
+ readonly versions?: {
436
+ metadata?: {
437
+ [x: string]: unknown;
438
+ } | undefined;
439
+ definition: {
440
+ entrypoints: {
441
+ node: string;
442
+ type: "email" | "raw" | "mobile-push-image" | "mobile-app-image" | "web-image";
443
+ }[];
444
+ nodes: {
445
+ [x: string]: {
446
+ name: string;
447
+ metadata: {
448
+ [x: string]: unknown;
449
+ };
450
+ dependencies: string[];
451
+ edges: {
452
+ node: string;
453
+ config: {
454
+ [x: string]: unknown;
455
+ };
456
+ }[];
457
+ } | {
458
+ name: string;
459
+ metadata: {
460
+ [x: string]: unknown;
461
+ };
462
+ dependencies: string[];
463
+ config: {
464
+ [x: string]: unknown;
465
+ };
466
+ };
467
+ };
468
+ };
469
+ }[] | undefined;
470
+ readonly urls?: {
471
+ click: string;
472
+ display: string;
473
+ type: "email" | "raw" | "mobile-push-image" | "mobile-app-image" | "web-image";
474
+ }[] | undefined;
475
+ readonly status?: (WorkflowStatus.DRAFT & {
476
+ readonly?: "__readonly" | undefined;
477
+ }) | (WorkflowStatus.PUBLISHING & {
478
+ readonly?: "__readonly" | undefined;
479
+ }) | (WorkflowStatus.PUBLISHED & {
480
+ readonly?: "__readonly" | undefined;
481
+ }) | (WorkflowStatus.ERROR & {
482
+ readonly?: "__readonly" | undefined;
483
+ }) | undefined;
423
484
  } & {
424
485
  metadata?: {
425
486
  [x: string]: unknown;
426
- };
487
+ } | undefined;
488
+ readonly updatedAt?: (Date & {
489
+ readonly?: "__readonly" | undefined;
490
+ }) | undefined;
491
+ readonly createdAt?: (Date & {
492
+ readonly?: "__readonly" | undefined;
493
+ }) | undefined;
494
+ readonly state?: (WorkflowVersionState.DRAFT & {
495
+ readonly?: "__readonly" | undefined;
496
+ }) | (WorkflowVersionState.LIVE & {
497
+ readonly?: "__readonly" | undefined;
498
+ }) | (WorkflowVersionState.INACTIVE & {
499
+ readonly?: "__readonly" | undefined;
500
+ }) | undefined;
427
501
  definition?: {
428
502
  entrypoints: {
429
503
  node: string;
@@ -453,46 +527,61 @@ export default class {
453
527
  };
454
528
  };
455
529
  };
456
- };
457
- }, options?: AxiosRequestConfig<any>) => Promise<import("axios").AxiosResponse<{
530
+ } | undefined;
531
+ readonly analyze?: {
532
+ readonly?: "__readonly" | undefined;
533
+ branches: string[];
534
+ individualizedBranches: string[];
535
+ defaultBranches: string[];
536
+ outputsForEntrypoint: {
537
+ [x: string]: string[];
538
+ };
539
+ entrypointsForNode: {
540
+ [x: string]: string[];
541
+ };
542
+ datasForEntrypoint: {
543
+ [x: string]: string[];
544
+ };
545
+ } | undefined;
546
+ }, options?: AxiosRequestConfig<any> | undefined) => Promise<import("axios").AxiosResponse<{
458
547
  status: "success";
459
548
  program: string;
460
549
  version: string;
461
550
  datetime: string;
462
- code?: number;
551
+ code?: number | undefined;
463
552
  message: string;
464
553
  data: {
465
- description?: string;
554
+ description?: string | undefined;
466
555
  readonly id: string & {
467
- readonly?: "__readonly";
556
+ readonly?: "__readonly" | undefined;
468
557
  };
469
558
  readonly companyId: string & {
470
- readonly?: "__readonly";
559
+ readonly?: "__readonly" | undefined;
471
560
  };
472
561
  name: string;
473
562
  readonly updatedAt: Date & {
474
- readonly?: "__readonly";
563
+ readonly?: "__readonly" | undefined;
475
564
  };
476
565
  readonly createdAt: Date & {
477
- readonly?: "__readonly";
566
+ readonly?: "__readonly" | undefined;
478
567
  };
479
568
  resourceGroupIds: string[];
480
569
  readonly versions: {
481
570
  metadata?: {
482
571
  [x: string]: unknown;
483
- };
572
+ } | undefined;
484
573
  readonly updatedAt: Date & {
485
- readonly?: "__readonly";
574
+ readonly?: "__readonly" | undefined;
486
575
  };
487
576
  readonly createdAt: Date & {
488
- readonly?: "__readonly";
577
+ readonly?: "__readonly" | undefined;
489
578
  };
490
579
  readonly state: (WorkflowVersionState.DRAFT & {
491
- readonly?: "__readonly";
580
+ readonly?: "__readonly" | undefined;
492
581
  }) | (WorkflowVersionState.LIVE & {
493
- readonly?: "__readonly";
582
+ readonly?: "__readonly" | undefined;
494
583
  }) | (WorkflowVersionState.INACTIVE & {
495
- readonly?: "__readonly";
584
+ readonly?: "__readonly" | undefined;
496
585
  });
497
586
  definition: {
498
587
  entrypoints: {
@@ -525,7 +614,7 @@ export default class {
525
614
  };
526
615
  };
527
616
  readonly analyze: {
528
- readonly?: "__readonly";
617
+ readonly?: "__readonly" | undefined;
529
618
  branches: string[];
530
619
  individualizedBranches: string[];
531
620
  defaultBranches: string[];
@@ -544,70 +633,70 @@ export default class {
544
633
  click: string;
545
634
  display: string;
546
635
  type: "email" | "raw" | "mobile-push-image" | "mobile-app-image" | "web-image";
547
- }[];
636
+ }[] | undefined;
548
637
  readonly status: (WorkflowStatus.DRAFT & {
549
- readonly?: "__readonly";
638
+ readonly?: "__readonly" | undefined;
550
639
  }) | (WorkflowStatus.PUBLISHING & {
551
- readonly?: "__readonly";
640
+ readonly?: "__readonly" | undefined;
552
641
  }) | (WorkflowStatus.PUBLISHED & {
553
- readonly?: "__readonly";
642
+ readonly?: "__readonly" | undefined;
554
643
  }) | (WorkflowStatus.ERROR & {
555
- readonly?: "__readonly";
644
+ readonly?: "__readonly" | undefined;
556
645
  });
557
646
  };
558
647
  }, any>>;
559
648
  delete: (params: {
560
649
  id: string;
561
- }, options?: AxiosRequestConfig<any>) => Promise<import("axios").AxiosResponse<{
650
+ }, options?: AxiosRequestConfig<any> | undefined) => Promise<import("axios").AxiosResponse<{
562
651
  status: "success";
563
652
  program: string;
564
653
  version: string;
565
654
  datetime: string;
566
- code?: number;
655
+ code?: number | undefined;
567
656
  message: string;
568
657
  data: {};
569
658
  }, any>>;
570
659
  duplicate: (params: Record<string, never>, data: {
571
660
  sourceId: string;
572
- }, options?: AxiosRequestConfig<any>) => Promise<import("axios").AxiosResponse<{
661
+ }, options?: AxiosRequestConfig<any> | undefined) => Promise<import("axios").AxiosResponse<{
573
662
  status: "success";
574
663
  program: string;
575
664
  version: string;
576
665
  datetime: string;
577
- code?: number;
666
+ code?: number | undefined;
578
667
  message: string;
579
668
  data: {
580
- description?: string;
669
+ description?: string | undefined;
581
670
  readonly id: string & {
582
- readonly?: "__readonly";
671
+ readonly?: "__readonly" | undefined;
583
672
  };
584
673
  readonly companyId: string & {
585
- readonly?: "__readonly";
674
+ readonly?: "__readonly" | undefined;
586
675
  };
587
676
  name: string;
588
677
  readonly updatedAt: Date & {
589
- readonly?: "__readonly";
678
+ readonly?: "__readonly" | undefined;
590
679
  };
591
680
  readonly createdAt: Date & {
592
- readonly?: "__readonly";
681
+ readonly?: "__readonly" | undefined;
593
682
  };
594
683
  resourceGroupIds: string[];
595
684
  readonly versions: {
596
685
  metadata?: {
597
686
  [x: string]: unknown;
598
- };
687
+ } | undefined;
599
688
  readonly updatedAt: Date & {
600
- readonly?: "__readonly";
689
+ readonly?: "__readonly" | undefined;
601
690
  };
602
691
  readonly createdAt: Date & {
603
- readonly?: "__readonly";
692
+ readonly?: "__readonly" | undefined;
604
693
  };
605
694
  readonly state: (WorkflowVersionState.DRAFT & {
606
- readonly?: "__readonly";
695
+ readonly?: "__readonly" | undefined;
607
696
  }) | (WorkflowVersionState.LIVE & {
608
- readonly?: "__readonly";
697
+ readonly?: "__readonly" | undefined;
609
698
  }) | (WorkflowVersionState.INACTIVE & {
610
- readonly?: "__readonly";
699
+ readonly?: "__readonly" | undefined;
611
700
  });
612
701
  definition: {
613
702
  entrypoints: {
@@ -640,7 +729,7 @@ export default class {
640
729
  };
641
730
  };
642
731
  readonly analyze: {
643
- readonly?: "__readonly";
732
+ readonly?: "__readonly" | undefined;
644
733
  branches: string[];
645
734
  individualizedBranches: string[];
646
735
  defaultBranches: string[];
@@ -659,59 +748,59 @@ export default class {
659
748
  click: string;
660
749
  display: string;
661
750
  type: "email" | "raw" | "mobile-push-image" | "mobile-app-image" | "web-image";
662
- }[];
751
+ }[] | undefined;
663
752
  readonly status: (WorkflowStatus.DRAFT & {
664
- readonly?: "__readonly";
753
+ readonly?: "__readonly" | undefined;
665
754
  }) | (WorkflowStatus.PUBLISHING & {
666
- readonly?: "__readonly";
755
+ readonly?: "__readonly" | undefined;
667
756
  }) | (WorkflowStatus.PUBLISHED & {
668
- readonly?: "__readonly";
757
+ readonly?: "__readonly" | undefined;
669
758
  }) | (WorkflowStatus.ERROR & {
670
- readonly?: "__readonly";
759
+ readonly?: "__readonly" | undefined;
671
760
  });
672
761
  };
673
762
  }, any>>;
674
763
  publish: (params: {
675
764
  id: string;
676
- }, options?: AxiosRequestConfig<any>) => Promise<import("axios").AxiosResponse<{
765
+ }, options?: AxiosRequestConfig<any> | undefined) => Promise<import("axios").AxiosResponse<{
677
766
  status: "success";
678
767
  program: string;
679
768
  version: string;
680
769
  datetime: string;
681
- code?: number;
770
+ code?: number | undefined;
682
771
  message: string;
683
772
  data: {
684
- description?: string;
773
+ description?: string | undefined;
685
774
  readonly id: string & {
686
- readonly?: "__readonly";
775
+ readonly?: "__readonly" | undefined;
687
776
  };
688
777
  readonly companyId: string & {
689
- readonly?: "__readonly";
778
+ readonly?: "__readonly" | undefined;
690
779
  };
691
780
  name: string;
692
781
  readonly updatedAt: Date & {
693
- readonly?: "__readonly";
782
+ readonly?: "__readonly" | undefined;
694
783
  };
695
784
  readonly createdAt: Date & {
696
- readonly?: "__readonly";
785
+ readonly?: "__readonly" | undefined;
697
786
  };
698
787
  resourceGroupIds: string[];
699
788
  readonly versions: {
700
789
  metadata?: {
701
790
  [x: string]: unknown;
702
- };
791
+ } | undefined;
703
792
  readonly updatedAt: Date & {
704
- readonly?: "__readonly";
793
+ readonly?: "__readonly" | undefined;
705
794
  };
706
795
  readonly createdAt: Date & {
707
- readonly?: "__readonly";
796
+ readonly?: "__readonly" | undefined;
708
797
  };
709
798
  readonly state: (WorkflowVersionState.DRAFT & {
710
- readonly?: "__readonly";
799
+ readonly?: "__readonly" | undefined;
711
800
  }) | (WorkflowVersionState.LIVE & {
712
- readonly?: "__readonly";
801
+ readonly?: "__readonly" | undefined;
713
802
  }) | (WorkflowVersionState.INACTIVE & {
714
- readonly?: "__readonly";
803
+ readonly?: "__readonly" | undefined;
715
804
  });
716
805
  definition: {
717
806
  entrypoints: {
@@ -744,7 +833,7 @@ export default class {
744
833
  };
745
834
  };
746
835
  readonly analyze: {
747
- readonly?: "__readonly";
836
+ readonly?: "__readonly" | undefined;
748
837
  branches: string[];
749
838
  individualizedBranches: string[];
750
839
  defaultBranches: string[];
@@ -763,15 +852,15 @@ export default class {
763
852
  click: string;
764
853
  display: string;
765
854
  type: "email" | "raw" | "mobile-push-image" | "mobile-app-image" | "web-image";
766
- }[];
855
+ }[] | undefined;
767
856
  readonly status: (WorkflowStatus.DRAFT & {
768
- readonly?: "__readonly";
857
+ readonly?: "__readonly" | undefined;
769
858
  }) | (WorkflowStatus.PUBLISHING & {
770
- readonly?: "__readonly";
859
+ readonly?: "__readonly" | undefined;
771
860
  }) | (WorkflowStatus.PUBLISHED & {
772
- readonly?: "__readonly";
861
+ readonly?: "__readonly" | undefined;
773
862
  }) | (WorkflowStatus.ERROR & {
774
- readonly?: "__readonly";
863
+ readonly?: "__readonly" | undefined;
775
864
  });
776
865
  };
777
866
  }, any>>;
@@ -780,32 +869,32 @@ export default class {
780
869
  run: (params: {
781
870
  id: string;
782
871
  index: number;
783
- 'rlvt-u'?: string | string[];
784
- mode?: "debug" | "click" | "display";
785
- 'no-cache'?: boolean;
786
- 'dry-run'?: boolean;
787
- }, options?: AxiosRequestConfig<any>) => Promise<import("axios").AxiosResponse<unknown, any>>;
872
+ 'rlvt-u'?: string | string[] | undefined;
873
+ mode?: "debug" | "click" | "display" | undefined;
874
+ 'no-cache'?: boolean | undefined;
875
+ 'dry-run'?: boolean | undefined;
876
+ }, options?: AxiosRequestConfig<any> | undefined) => Promise<import("axios").AxiosResponse<unknown, any>>;
788
877
  };
789
878
  get Usage(): {
790
879
  listWorkflowsWithContent: (params: {
791
880
  id: string;
792
- }, options?: AxiosRequestConfig<any>) => Promise<import("axios").AxiosResponse<{
881
+ }, options?: AxiosRequestConfig<any> | undefined) => Promise<import("axios").AxiosResponse<{
793
882
  status: "success";
794
883
  program: string;
795
884
  version: string;
796
885
  datetime: string;
797
- code?: number;
886
+ code?: number | undefined;
798
887
  message: string;
799
888
  data: string[];
800
889
  }, any>>;
801
890
  updateWorkflowsWithContent: (params: {
802
891
  id: string;
803
- }, options?: AxiosRequestConfig<any>) => Promise<import("axios").AxiosResponse<{
892
+ }, options?: AxiosRequestConfig<any> | undefined) => Promise<import("axios").AxiosResponse<{
804
893
  status: "success";
805
894
  program: string;
806
895
  version: string;
807
896
  datetime: string;
808
- code?: number;
897
+ code?: number | undefined;
809
898
  message: string;
810
899
  data: {};
811
900
  }, any>>;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@rlvt/workflows-openapi-client",
3
- "version": "1.0.132+aa500c7",
3
+ "version": "1.0.133+957e9f9",
4
4
  "description": "Openapi client for reelevant service",
5
5
  "main": "build/index.js",
6
6
  "repository": "https://github.com/reelevant-tech/openapi-clients",