@rlvt/workflows-openapi-client 1.0.131 → 1.0.134

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
@@ -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[];
@@ -187,64 +187,74 @@ export default class {
187
187
  };
188
188
  };
189
189
  }[];
190
+ parameterValues: {
191
+ [x: string]: {
192
+ entrypointIndex: number | null;
193
+ value: string;
194
+ }[];
195
+ };
190
196
  readonly urls?: {
191
197
  click: string;
192
198
  display: string;
193
- }[];
199
+ type: "email" | "raw" | "mobile-push-image" | "mobile-app-image" | "web-image";
200
+ parameters: {
201
+ [x: string]: string;
202
+ };
203
+ }[] | undefined;
194
204
  readonly status: (WorkflowStatus.DRAFT & {
195
- readonly?: "__readonly";
205
+ readonly?: "__readonly" | undefined;
196
206
  }) | (WorkflowStatus.PUBLISHING & {
197
- readonly?: "__readonly";
207
+ readonly?: "__readonly" | undefined;
198
208
  }) | (WorkflowStatus.PUBLISHED & {
199
- readonly?: "__readonly";
209
+ readonly?: "__readonly" | undefined;
200
210
  }) | (WorkflowStatus.ERROR & {
201
- readonly?: "__readonly";
211
+ readonly?: "__readonly" | undefined;
202
212
  });
203
213
  }[];
204
214
  }, any>>;
205
215
  create: (params: Record<string, never>, data: {
206
- description?: string;
216
+ description?: string | undefined;
207
217
  name: string;
208
218
  resourceGroupIds: string[];
209
- }, options?: AxiosRequestConfig<any>) => Promise<import("axios").AxiosResponse<{
219
+ }, options?: AxiosRequestConfig<any> | undefined) => Promise<import("axios").AxiosResponse<{
210
220
  status: "success";
211
221
  program: string;
212
222
  version: string;
213
223
  datetime: string;
214
- code?: number;
224
+ code?: number | undefined;
215
225
  message: string;
216
226
  data: {
217
- description?: string;
227
+ description?: string | undefined;
218
228
  readonly id: string & {
219
- readonly?: "__readonly";
229
+ readonly?: "__readonly" | undefined;
220
230
  };
221
231
  readonly companyId: string & {
222
- readonly?: "__readonly";
232
+ readonly?: "__readonly" | undefined;
223
233
  };
224
234
  name: string;
225
235
  readonly updatedAt: Date & {
226
- readonly?: "__readonly";
236
+ readonly?: "__readonly" | undefined;
227
237
  };
228
238
  readonly createdAt: Date & {
229
- readonly?: "__readonly";
239
+ readonly?: "__readonly" | undefined;
230
240
  };
231
241
  resourceGroupIds: string[];
232
242
  readonly versions: {
233
243
  metadata?: {
234
244
  [x: string]: unknown;
235
- };
245
+ } | undefined;
236
246
  readonly updatedAt: Date & {
237
- readonly?: "__readonly";
247
+ readonly?: "__readonly" | undefined;
238
248
  };
239
249
  readonly createdAt: Date & {
240
- readonly?: "__readonly";
250
+ readonly?: "__readonly" | undefined;
241
251
  };
242
252
  readonly state: (WorkflowVersionState.DRAFT & {
243
- readonly?: "__readonly";
253
+ readonly?: "__readonly" | undefined;
244
254
  }) | (WorkflowVersionState.LIVE & {
245
- readonly?: "__readonly";
255
+ readonly?: "__readonly" | undefined;
246
256
  }) | (WorkflowVersionState.INACTIVE & {
247
- readonly?: "__readonly";
257
+ readonly?: "__readonly" | undefined;
248
258
  });
249
259
  definition: {
250
260
  entrypoints: {
@@ -277,7 +287,7 @@ export default class {
277
287
  };
278
288
  };
279
289
  readonly analyze: {
280
- readonly?: "__readonly";
290
+ readonly?: "__readonly" | undefined;
281
291
  branches: string[];
282
292
  individualizedBranches: string[];
283
293
  defaultBranches: string[];
@@ -292,63 +302,73 @@ export default class {
292
302
  };
293
303
  };
294
304
  }[];
305
+ parameterValues: {
306
+ [x: string]: {
307
+ entrypointIndex: number | null;
308
+ value: string;
309
+ }[];
310
+ };
295
311
  readonly urls?: {
296
312
  click: string;
297
313
  display: string;
298
- }[];
314
+ type: "email" | "raw" | "mobile-push-image" | "mobile-app-image" | "web-image";
315
+ parameters: {
316
+ [x: string]: string;
317
+ };
318
+ }[] | undefined;
299
319
  readonly status: (WorkflowStatus.DRAFT & {
300
- readonly?: "__readonly";
320
+ readonly?: "__readonly" | undefined;
301
321
  }) | (WorkflowStatus.PUBLISHING & {
302
- readonly?: "__readonly";
322
+ readonly?: "__readonly" | undefined;
303
323
  }) | (WorkflowStatus.PUBLISHED & {
304
- readonly?: "__readonly";
324
+ readonly?: "__readonly" | undefined;
305
325
  }) | (WorkflowStatus.ERROR & {
306
- readonly?: "__readonly";
326
+ readonly?: "__readonly" | undefined;
307
327
  });
308
328
  };
309
329
  }, any>>;
310
330
  get: (params: {
311
331
  id: string;
312
- versions?: WorkflowVersionState[];
313
- }, options?: AxiosRequestConfig<any>) => Promise<import("axios").AxiosResponse<{
332
+ versions?: WorkflowVersionState[] | undefined;
333
+ }, options?: AxiosRequestConfig<any> | undefined) => Promise<import("axios").AxiosResponse<{
314
334
  status: "success";
315
335
  program: string;
316
336
  version: string;
317
337
  datetime: string;
318
- code?: number;
338
+ code?: number | undefined;
319
339
  message: string;
320
340
  data: {
321
- description?: string;
341
+ description?: string | undefined;
322
342
  readonly id: string & {
323
- readonly?: "__readonly";
343
+ readonly?: "__readonly" | undefined;
324
344
  };
325
345
  readonly companyId: string & {
326
- readonly?: "__readonly";
346
+ readonly?: "__readonly" | undefined;
327
347
  };
328
348
  name: string;
329
349
  readonly updatedAt: Date & {
330
- readonly?: "__readonly";
350
+ readonly?: "__readonly" | undefined;
331
351
  };
332
352
  readonly createdAt: Date & {
333
- readonly?: "__readonly";
353
+ readonly?: "__readonly" | undefined;
334
354
  };
335
355
  resourceGroupIds: string[];
336
356
  readonly versions: {
337
357
  metadata?: {
338
358
  [x: string]: unknown;
339
- };
359
+ } | undefined;
340
360
  readonly updatedAt: Date & {
341
- readonly?: "__readonly";
361
+ readonly?: "__readonly" | undefined;
342
362
  };
343
363
  readonly createdAt: Date & {
344
- readonly?: "__readonly";
364
+ readonly?: "__readonly" | undefined;
345
365
  };
346
366
  readonly state: (WorkflowVersionState.DRAFT & {
347
- readonly?: "__readonly";
367
+ readonly?: "__readonly" | undefined;
348
368
  }) | (WorkflowVersionState.LIVE & {
349
- readonly?: "__readonly";
369
+ readonly?: "__readonly" | undefined;
350
370
  }) | (WorkflowVersionState.INACTIVE & {
351
- readonly?: "__readonly";
371
+ readonly?: "__readonly" | undefined;
352
372
  });
353
373
  definition: {
354
374
  entrypoints: {
@@ -381,7 +401,7 @@ export default class {
381
401
  };
382
402
  };
383
403
  readonly analyze: {
384
- readonly?: "__readonly";
404
+ readonly?: "__readonly" | undefined;
385
405
  branches: string[];
386
406
  individualizedBranches: string[];
387
407
  defaultBranches: string[];
@@ -396,31 +416,124 @@ export default class {
396
416
  };
397
417
  };
398
418
  }[];
419
+ parameterValues: {
420
+ [x: string]: {
421
+ entrypointIndex: number | null;
422
+ value: string;
423
+ }[];
424
+ };
399
425
  readonly urls?: {
400
426
  click: string;
401
427
  display: string;
402
- }[];
428
+ type: "email" | "raw" | "mobile-push-image" | "mobile-app-image" | "web-image";
429
+ parameters: {
430
+ [x: string]: string;
431
+ };
432
+ }[] | undefined;
403
433
  readonly status: (WorkflowStatus.DRAFT & {
404
- readonly?: "__readonly";
434
+ readonly?: "__readonly" | undefined;
405
435
  }) | (WorkflowStatus.PUBLISHING & {
406
- readonly?: "__readonly";
436
+ readonly?: "__readonly" | undefined;
407
437
  }) | (WorkflowStatus.PUBLISHED & {
408
- readonly?: "__readonly";
438
+ readonly?: "__readonly" | undefined;
409
439
  }) | (WorkflowStatus.ERROR & {
410
- readonly?: "__readonly";
440
+ readonly?: "__readonly" | undefined;
411
441
  });
412
442
  };
413
443
  }, any>>;
414
444
  update: (params: {
415
445
  id: string;
416
446
  }, data: {
417
- description?: string;
418
- name?: string;
419
- resourceGroupIds?: string[];
447
+ description?: string | undefined;
448
+ readonly id?: (string & {
449
+ readonly?: "__readonly" | undefined;
450
+ }) | undefined;
451
+ readonly companyId?: (string & {
452
+ readonly?: "__readonly" | undefined;
453
+ }) | undefined;
454
+ name?: string | undefined;
455
+ readonly updatedAt?: (Date & {
456
+ readonly?: "__readonly" | undefined;
457
+ }) | undefined;
458
+ readonly createdAt?: (Date & {
459
+ readonly?: "__readonly" | undefined;
460
+ }) | undefined;
461
+ resourceGroupIds?: string[] | undefined;
462
+ readonly versions?: {
463
+ metadata?: {
464
+ [x: string]: unknown;
465
+ } | undefined;
466
+ definition: {
467
+ entrypoints: {
468
+ node: string;
469
+ type: "email" | "raw" | "mobile-push-image" | "mobile-app-image" | "web-image";
470
+ }[];
471
+ nodes: {
472
+ [x: string]: {
473
+ name: string;
474
+ metadata: {
475
+ [x: string]: unknown;
476
+ };
477
+ dependencies: string[];
478
+ edges: {
479
+ node: string;
480
+ config: {
481
+ [x: string]: unknown;
482
+ };
483
+ }[];
484
+ } | {
485
+ name: string;
486
+ metadata: {
487
+ [x: string]: unknown;
488
+ };
489
+ dependencies: string[];
490
+ config: {
491
+ [x: string]: unknown;
492
+ };
493
+ };
494
+ };
495
+ };
496
+ }[] | undefined;
497
+ parameterValues?: {
498
+ [x: string]: {
499
+ entrypointIndex: number | null;
500
+ value: string;
501
+ }[];
502
+ } | undefined;
503
+ readonly urls?: {
504
+ click: string;
505
+ display: string;
506
+ type: "email" | "raw" | "mobile-push-image" | "mobile-app-image" | "web-image";
507
+ parameters: {
508
+ [x: string]: string;
509
+ };
510
+ }[] | undefined;
511
+ readonly status?: (WorkflowStatus.DRAFT & {
512
+ readonly?: "__readonly" | undefined;
513
+ }) | (WorkflowStatus.PUBLISHING & {
514
+ readonly?: "__readonly" | undefined;
515
+ }) | (WorkflowStatus.PUBLISHED & {
516
+ readonly?: "__readonly" | undefined;
517
+ }) | (WorkflowStatus.ERROR & {
518
+ readonly?: "__readonly" | undefined;
519
+ }) | undefined;
420
520
  } & {
421
521
  metadata?: {
422
522
  [x: string]: unknown;
423
- };
523
+ } | undefined;
524
+ readonly updatedAt?: (Date & {
525
+ readonly?: "__readonly" | undefined;
526
+ }) | undefined;
527
+ readonly createdAt?: (Date & {
528
+ readonly?: "__readonly" | undefined;
529
+ }) | undefined;
530
+ readonly state?: (WorkflowVersionState.DRAFT & {
531
+ readonly?: "__readonly" | undefined;
532
+ }) | (WorkflowVersionState.LIVE & {
533
+ readonly?: "__readonly" | undefined;
534
+ }) | (WorkflowVersionState.INACTIVE & {
535
+ readonly?: "__readonly" | undefined;
536
+ }) | undefined;
424
537
  definition?: {
425
538
  entrypoints: {
426
539
  node: string;
@@ -450,46 +563,61 @@ export default class {
450
563
  };
451
564
  };
452
565
  };
453
- };
454
- }, options?: AxiosRequestConfig<any>) => Promise<import("axios").AxiosResponse<{
566
+ } | undefined;
567
+ readonly analyze?: {
568
+ readonly?: "__readonly" | undefined;
569
+ branches: string[];
570
+ individualizedBranches: string[];
571
+ defaultBranches: string[];
572
+ outputsForEntrypoint: {
573
+ [x: string]: string[];
574
+ };
575
+ entrypointsForNode: {
576
+ [x: string]: string[];
577
+ };
578
+ datasForEntrypoint: {
579
+ [x: string]: string[];
580
+ };
581
+ } | undefined;
582
+ }, options?: AxiosRequestConfig<any> | undefined) => Promise<import("axios").AxiosResponse<{
455
583
  status: "success";
456
584
  program: string;
457
585
  version: string;
458
586
  datetime: string;
459
- code?: number;
587
+ code?: number | undefined;
460
588
  message: string;
461
589
  data: {
462
- description?: string;
590
+ description?: string | undefined;
463
591
  readonly id: string & {
464
- readonly?: "__readonly";
592
+ readonly?: "__readonly" | undefined;
465
593
  };
466
594
  readonly companyId: string & {
467
- readonly?: "__readonly";
595
+ readonly?: "__readonly" | undefined;
468
596
  };
469
597
  name: string;
470
598
  readonly updatedAt: Date & {
471
- readonly?: "__readonly";
599
+ readonly?: "__readonly" | undefined;
472
600
  };
473
601
  readonly createdAt: Date & {
474
- readonly?: "__readonly";
602
+ readonly?: "__readonly" | undefined;
475
603
  };
476
604
  resourceGroupIds: string[];
477
605
  readonly versions: {
478
606
  metadata?: {
479
607
  [x: string]: unknown;
480
- };
608
+ } | undefined;
481
609
  readonly updatedAt: Date & {
482
- readonly?: "__readonly";
610
+ readonly?: "__readonly" | undefined;
483
611
  };
484
612
  readonly createdAt: Date & {
485
- readonly?: "__readonly";
613
+ readonly?: "__readonly" | undefined;
486
614
  };
487
615
  readonly state: (WorkflowVersionState.DRAFT & {
488
- readonly?: "__readonly";
616
+ readonly?: "__readonly" | undefined;
489
617
  }) | (WorkflowVersionState.LIVE & {
490
- readonly?: "__readonly";
618
+ readonly?: "__readonly" | undefined;
491
619
  }) | (WorkflowVersionState.INACTIVE & {
492
- readonly?: "__readonly";
620
+ readonly?: "__readonly" | undefined;
493
621
  });
494
622
  definition: {
495
623
  entrypoints: {
@@ -522,7 +650,7 @@ export default class {
522
650
  };
523
651
  };
524
652
  readonly analyze: {
525
- readonly?: "__readonly";
653
+ readonly?: "__readonly" | undefined;
526
654
  branches: string[];
527
655
  individualizedBranches: string[];
528
656
  defaultBranches: string[];
@@ -537,73 +665,83 @@ export default class {
537
665
  };
538
666
  };
539
667
  }[];
668
+ parameterValues: {
669
+ [x: string]: {
670
+ entrypointIndex: number | null;
671
+ value: string;
672
+ }[];
673
+ };
540
674
  readonly urls?: {
541
675
  click: string;
542
676
  display: string;
543
- }[];
677
+ type: "email" | "raw" | "mobile-push-image" | "mobile-app-image" | "web-image";
678
+ parameters: {
679
+ [x: string]: string;
680
+ };
681
+ }[] | undefined;
544
682
  readonly status: (WorkflowStatus.DRAFT & {
545
- readonly?: "__readonly";
683
+ readonly?: "__readonly" | undefined;
546
684
  }) | (WorkflowStatus.PUBLISHING & {
547
- readonly?: "__readonly";
685
+ readonly?: "__readonly" | undefined;
548
686
  }) | (WorkflowStatus.PUBLISHED & {
549
- readonly?: "__readonly";
687
+ readonly?: "__readonly" | undefined;
550
688
  }) | (WorkflowStatus.ERROR & {
551
- readonly?: "__readonly";
689
+ readonly?: "__readonly" | undefined;
552
690
  });
553
691
  };
554
692
  }, any>>;
555
693
  delete: (params: {
556
694
  id: string;
557
- }, options?: AxiosRequestConfig<any>) => Promise<import("axios").AxiosResponse<{
695
+ }, options?: AxiosRequestConfig<any> | undefined) => Promise<import("axios").AxiosResponse<{
558
696
  status: "success";
559
697
  program: string;
560
698
  version: string;
561
699
  datetime: string;
562
- code?: number;
700
+ code?: number | undefined;
563
701
  message: string;
564
702
  data: {};
565
703
  }, any>>;
566
704
  duplicate: (params: Record<string, never>, data: {
567
705
  sourceId: string;
568
- }, options?: AxiosRequestConfig<any>) => Promise<import("axios").AxiosResponse<{
706
+ }, options?: AxiosRequestConfig<any> | undefined) => Promise<import("axios").AxiosResponse<{
569
707
  status: "success";
570
708
  program: string;
571
709
  version: string;
572
710
  datetime: string;
573
- code?: number;
711
+ code?: number | undefined;
574
712
  message: string;
575
713
  data: {
576
- description?: string;
714
+ description?: string | undefined;
577
715
  readonly id: string & {
578
- readonly?: "__readonly";
716
+ readonly?: "__readonly" | undefined;
579
717
  };
580
718
  readonly companyId: string & {
581
- readonly?: "__readonly";
719
+ readonly?: "__readonly" | undefined;
582
720
  };
583
721
  name: string;
584
722
  readonly updatedAt: Date & {
585
- readonly?: "__readonly";
723
+ readonly?: "__readonly" | undefined;
586
724
  };
587
725
  readonly createdAt: Date & {
588
- readonly?: "__readonly";
726
+ readonly?: "__readonly" | undefined;
589
727
  };
590
728
  resourceGroupIds: string[];
591
729
  readonly versions: {
592
730
  metadata?: {
593
731
  [x: string]: unknown;
594
- };
732
+ } | undefined;
595
733
  readonly updatedAt: Date & {
596
- readonly?: "__readonly";
734
+ readonly?: "__readonly" | undefined;
597
735
  };
598
736
  readonly createdAt: Date & {
599
- readonly?: "__readonly";
737
+ readonly?: "__readonly" | undefined;
600
738
  };
601
739
  readonly state: (WorkflowVersionState.DRAFT & {
602
- readonly?: "__readonly";
740
+ readonly?: "__readonly" | undefined;
603
741
  }) | (WorkflowVersionState.LIVE & {
604
- readonly?: "__readonly";
742
+ readonly?: "__readonly" | undefined;
605
743
  }) | (WorkflowVersionState.INACTIVE & {
606
- readonly?: "__readonly";
744
+ readonly?: "__readonly" | undefined;
607
745
  });
608
746
  definition: {
609
747
  entrypoints: {
@@ -636,7 +774,7 @@ export default class {
636
774
  };
637
775
  };
638
776
  readonly analyze: {
639
- readonly?: "__readonly";
777
+ readonly?: "__readonly" | undefined;
640
778
  branches: string[];
641
779
  individualizedBranches: string[];
642
780
  defaultBranches: string[];
@@ -651,62 +789,72 @@ export default class {
651
789
  };
652
790
  };
653
791
  }[];
792
+ parameterValues: {
793
+ [x: string]: {
794
+ entrypointIndex: number | null;
795
+ value: string;
796
+ }[];
797
+ };
654
798
  readonly urls?: {
655
799
  click: string;
656
800
  display: string;
657
- }[];
801
+ type: "email" | "raw" | "mobile-push-image" | "mobile-app-image" | "web-image";
802
+ parameters: {
803
+ [x: string]: string;
804
+ };
805
+ }[] | undefined;
658
806
  readonly status: (WorkflowStatus.DRAFT & {
659
- readonly?: "__readonly";
807
+ readonly?: "__readonly" | undefined;
660
808
  }) | (WorkflowStatus.PUBLISHING & {
661
- readonly?: "__readonly";
809
+ readonly?: "__readonly" | undefined;
662
810
  }) | (WorkflowStatus.PUBLISHED & {
663
- readonly?: "__readonly";
811
+ readonly?: "__readonly" | undefined;
664
812
  }) | (WorkflowStatus.ERROR & {
665
- readonly?: "__readonly";
813
+ readonly?: "__readonly" | undefined;
666
814
  });
667
815
  };
668
816
  }, any>>;
669
817
  publish: (params: {
670
818
  id: string;
671
- }, options?: AxiosRequestConfig<any>) => Promise<import("axios").AxiosResponse<{
819
+ }, options?: AxiosRequestConfig<any> | undefined) => Promise<import("axios").AxiosResponse<{
672
820
  status: "success";
673
821
  program: string;
674
822
  version: string;
675
823
  datetime: string;
676
- code?: number;
824
+ code?: number | undefined;
677
825
  message: string;
678
826
  data: {
679
- description?: string;
827
+ description?: string | undefined;
680
828
  readonly id: string & {
681
- readonly?: "__readonly";
829
+ readonly?: "__readonly" | undefined;
682
830
  };
683
831
  readonly companyId: string & {
684
- readonly?: "__readonly";
832
+ readonly?: "__readonly" | undefined;
685
833
  };
686
834
  name: string;
687
835
  readonly updatedAt: Date & {
688
- readonly?: "__readonly";
836
+ readonly?: "__readonly" | undefined;
689
837
  };
690
838
  readonly createdAt: Date & {
691
- readonly?: "__readonly";
839
+ readonly?: "__readonly" | undefined;
692
840
  };
693
841
  resourceGroupIds: string[];
694
842
  readonly versions: {
695
843
  metadata?: {
696
844
  [x: string]: unknown;
697
- };
845
+ } | undefined;
698
846
  readonly updatedAt: Date & {
699
- readonly?: "__readonly";
847
+ readonly?: "__readonly" | undefined;
700
848
  };
701
849
  readonly createdAt: Date & {
702
- readonly?: "__readonly";
850
+ readonly?: "__readonly" | undefined;
703
851
  };
704
852
  readonly state: (WorkflowVersionState.DRAFT & {
705
- readonly?: "__readonly";
853
+ readonly?: "__readonly" | undefined;
706
854
  }) | (WorkflowVersionState.LIVE & {
707
- readonly?: "__readonly";
855
+ readonly?: "__readonly" | undefined;
708
856
  }) | (WorkflowVersionState.INACTIVE & {
709
- readonly?: "__readonly";
857
+ readonly?: "__readonly" | undefined;
710
858
  });
711
859
  definition: {
712
860
  entrypoints: {
@@ -739,7 +887,7 @@ export default class {
739
887
  };
740
888
  };
741
889
  readonly analyze: {
742
- readonly?: "__readonly";
890
+ readonly?: "__readonly" | undefined;
743
891
  branches: string[];
744
892
  individualizedBranches: string[];
745
893
  defaultBranches: string[];
@@ -754,18 +902,28 @@ export default class {
754
902
  };
755
903
  };
756
904
  }[];
905
+ parameterValues: {
906
+ [x: string]: {
907
+ entrypointIndex: number | null;
908
+ value: string;
909
+ }[];
910
+ };
757
911
  readonly urls?: {
758
912
  click: string;
759
913
  display: string;
760
- }[];
914
+ type: "email" | "raw" | "mobile-push-image" | "mobile-app-image" | "web-image";
915
+ parameters: {
916
+ [x: string]: string;
917
+ };
918
+ }[] | undefined;
761
919
  readonly status: (WorkflowStatus.DRAFT & {
762
- readonly?: "__readonly";
920
+ readonly?: "__readonly" | undefined;
763
921
  }) | (WorkflowStatus.PUBLISHING & {
764
- readonly?: "__readonly";
922
+ readonly?: "__readonly" | undefined;
765
923
  }) | (WorkflowStatus.PUBLISHED & {
766
- readonly?: "__readonly";
924
+ readonly?: "__readonly" | undefined;
767
925
  }) | (WorkflowStatus.ERROR & {
768
- readonly?: "__readonly";
926
+ readonly?: "__readonly" | undefined;
769
927
  });
770
928
  };
771
929
  }, any>>;
@@ -774,32 +932,32 @@ export default class {
774
932
  run: (params: {
775
933
  id: string;
776
934
  index: number;
777
- 'rlvt-u'?: string | string[];
778
- mode?: "debug" | "click" | "display";
779
- 'no-cache'?: boolean;
780
- 'dry-run'?: boolean;
781
- }, options?: AxiosRequestConfig<any>) => Promise<import("axios").AxiosResponse<unknown, any>>;
935
+ 'rlvt-u'?: string | string[] | undefined;
936
+ mode?: "debug" | "click" | "display" | undefined;
937
+ 'no-cache'?: boolean | undefined;
938
+ 'dry-run'?: boolean | undefined;
939
+ }, options?: AxiosRequestConfig<any> | undefined) => Promise<import("axios").AxiosResponse<unknown, any>>;
782
940
  };
783
941
  get Usage(): {
784
942
  listWorkflowsWithContent: (params: {
785
943
  id: string;
786
- }, options?: AxiosRequestConfig<any>) => Promise<import("axios").AxiosResponse<{
944
+ }, options?: AxiosRequestConfig<any> | undefined) => Promise<import("axios").AxiosResponse<{
787
945
  status: "success";
788
946
  program: string;
789
947
  version: string;
790
948
  datetime: string;
791
- code?: number;
949
+ code?: number | undefined;
792
950
  message: string;
793
951
  data: string[];
794
952
  }, any>>;
795
953
  updateWorkflowsWithContent: (params: {
796
954
  id: string;
797
- }, options?: AxiosRequestConfig<any>) => Promise<import("axios").AxiosResponse<{
955
+ }, options?: AxiosRequestConfig<any> | undefined) => Promise<import("axios").AxiosResponse<{
798
956
  status: "success";
799
957
  program: string;
800
958
  version: string;
801
959
  datetime: string;
802
- code?: number;
960
+ code?: number | undefined;
803
961
  message: string;
804
962
  data: {};
805
963
  }, any>>;
@@ -109,7 +109,17 @@ export declare type SerializedWorkflow = {
109
109
  readonly updatedAt: (Date) & readonlyP;
110
110
  name: string;
111
111
  description?: string;
112
+ parameterValues: {
113
+ [key: string]: {
114
+ entrypointIndex: number | null;
115
+ value: string;
116
+ }[];
117
+ };
112
118
  readonly urls?: ({
119
+ type: "email" | "raw" | "mobile-push-image" | "mobile-app-image" | "web-image";
120
+ parameters: {
121
+ [key: string]: string;
122
+ };
113
123
  display: string;
114
124
  click: string;
115
125
  }[]) & readonlyP;
@@ -130,7 +140,17 @@ export declare type Partial_SerializedWorkflow = {
130
140
  readonly updatedAt?: (Date) & readonlyP;
131
141
  name?: string;
132
142
  description?: string;
143
+ parameterValues?: {
144
+ [key: string]: {
145
+ entrypointIndex: number | null;
146
+ value: string;
147
+ }[];
148
+ };
133
149
  readonly urls?: ({
150
+ type: "email" | "raw" | "mobile-push-image" | "mobile-app-image" | "web-image";
151
+ parameters: {
152
+ [key: string]: string;
153
+ };
134
154
  display: string;
135
155
  click: string;
136
156
  }[]) & readonlyP;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@rlvt/workflows-openapi-client",
3
- "version": "1.0.131+b7c279d",
3
+ "version": "1.0.134+bd9988e",
4
4
  "description": "Openapi client for reelevant service",
5
5
  "main": "build/index.js",
6
6
  "repository": "https://github.com/reelevant-tech/openapi-clients",