@rlvt/workflows-openapi-client 1.0.829 → 1.0.830

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
@@ -4,12 +4,12 @@ export * from "./definitions";
4
4
  export default class {
5
5
  axios: AxiosInstance;
6
6
  constructor(configOrInstance: AxiosRequestConfig | AxiosInstance);
7
+ private listTemplatesWorkflow;
8
+ private listTemplateCategoriesWorkflow;
7
9
  private getWorkflowBranchCategorySettings;
8
10
  private upsertWorkflowBranchCategorySettings;
9
11
  private getWorkflowVariableProfileSettings;
10
12
  private upsertWorkflowVariableProfileSettings;
11
- private listTemplatesWorkflow;
12
- private listTemplateCategoriesWorkflow;
13
13
  private listParameterValuesUsage;
14
14
  private getWorkflowIntegrationsOptions;
15
15
  private updateWorkflowIntegrationsOptions;
@@ -34,257 +34,6 @@ export default class {
34
34
  private duplicateWorkflow;
35
35
  private publishWorkflow;
36
36
  private updateVersionWorkflow;
37
- get WorkflowSettings(): {
38
- getWorkflowBranchCategorySettings: (params: Record<string, never>, options?: AxiosRequestConfig<any> | undefined) => Promise<import("axios").AxiosResponse<{
39
- status: "success";
40
- } & {
41
- data: {
42
- id: string;
43
- type: import("./definitions").WorkflowSettingsType;
44
- createdAt: string;
45
- updatedAt: string;
46
- _id: string;
47
- companyId: string;
48
- resourceGroupIds: string[];
49
- rootOrder: string[];
50
- categories: {
51
- [x: string]: {
52
- loop?: {
53
- window?: {
54
- start?: {
55
- offset: {
56
- value: number;
57
- unit: "minute" | "hour" | "day" | "week";
58
- };
59
- type: "offset";
60
- } | {
61
- datetime: string;
62
- type: "absolute";
63
- } | undefined;
64
- end: {
65
- offset: {
66
- value: number;
67
- unit: "minute" | "hour" | "day" | "week";
68
- };
69
- type: "offset";
70
- } | {
71
- datetime: string;
72
- type: "absolute";
73
- };
74
- ideal?: {
75
- offset: {
76
- value: number;
77
- unit: "minute" | "hour" | "day" | "week";
78
- };
79
- type: "offset";
80
- } | {
81
- datetime: string;
82
- type: "absolute";
83
- } | undefined;
84
- } | undefined;
85
- score?: number | undefined;
86
- } | undefined;
87
- name: string;
88
- description?: string | undefined;
89
- children: string[];
90
- };
91
- };
92
- };
93
- program: string;
94
- version: string;
95
- datetime: string;
96
- status: string;
97
- code?: number | undefined;
98
- message: string;
99
- }, any, {}>>;
100
- upsertWorkflowBranchCategorySettings: (params: Record<string, never>, data: {
101
- rootOrder: string[];
102
- categories: {
103
- [x: string]: {
104
- loop?: {
105
- window?: {
106
- start?: {
107
- offset: {
108
- value: number;
109
- unit: "minute" | "hour" | "day" | "week";
110
- };
111
- type: "offset";
112
- } | {
113
- datetime: string;
114
- type: "absolute";
115
- } | undefined;
116
- end: {
117
- offset: {
118
- value: number;
119
- unit: "minute" | "hour" | "day" | "week";
120
- };
121
- type: "offset";
122
- } | {
123
- datetime: string;
124
- type: "absolute";
125
- };
126
- ideal?: {
127
- offset: {
128
- value: number;
129
- unit: "minute" | "hour" | "day" | "week";
130
- };
131
- type: "offset";
132
- } | {
133
- datetime: string;
134
- type: "absolute";
135
- } | undefined;
136
- } | undefined;
137
- score?: number | undefined;
138
- } | undefined;
139
- name: string;
140
- description?: string | undefined;
141
- children: string[];
142
- };
143
- };
144
- } & {
145
- resourceGroupIds: string[];
146
- }, options?: AxiosRequestConfig<any> | undefined) => Promise<import("axios").AxiosResponse<{
147
- status: "success";
148
- } & {
149
- data: {
150
- id: string;
151
- type: import("./definitions").WorkflowSettingsType;
152
- createdAt: string;
153
- updatedAt: string;
154
- _id: string;
155
- companyId: string;
156
- resourceGroupIds: string[];
157
- rootOrder: string[];
158
- categories: {
159
- [x: string]: {
160
- loop?: {
161
- window?: {
162
- start?: {
163
- offset: {
164
- value: number;
165
- unit: "minute" | "hour" | "day" | "week";
166
- };
167
- type: "offset";
168
- } | {
169
- datetime: string;
170
- type: "absolute";
171
- } | undefined;
172
- end: {
173
- offset: {
174
- value: number;
175
- unit: "minute" | "hour" | "day" | "week";
176
- };
177
- type: "offset";
178
- } | {
179
- datetime: string;
180
- type: "absolute";
181
- };
182
- ideal?: {
183
- offset: {
184
- value: number;
185
- unit: "minute" | "hour" | "day" | "week";
186
- };
187
- type: "offset";
188
- } | {
189
- datetime: string;
190
- type: "absolute";
191
- } | undefined;
192
- } | undefined;
193
- score?: number | undefined;
194
- } | undefined;
195
- name: string;
196
- description?: string | undefined;
197
- children: string[];
198
- };
199
- };
200
- };
201
- program: string;
202
- version: string;
203
- datetime: string;
204
- status: string;
205
- code?: number | undefined;
206
- message: string;
207
- }, any, {}>>;
208
- getWorkflowVariableProfileSettings: (params: Record<string, never>, options?: AxiosRequestConfig<any> | undefined) => Promise<import("axios").AxiosResponse<{
209
- status: "success";
210
- } & {
211
- data: {
212
- id: string;
213
- type: import("./definitions").WorkflowSettingsType;
214
- createdAt: string;
215
- updatedAt: string;
216
- _id: string;
217
- companyId: string;
218
- resourceGroupIds: string[];
219
- profiles: {
220
- id: string;
221
- name: string;
222
- variables: {
223
- "rlvt-u"?: string | undefined;
224
- "rlvt-m"?: string | undefined;
225
- utm_campaign?: string | undefined;
226
- utm_source?: string | undefined;
227
- utm_medium?: string | undefined;
228
- utm_content?: string | undefined;
229
- utm_term?: string | undefined;
230
- };
231
- }[];
232
- };
233
- program: string;
234
- version: string;
235
- datetime: string;
236
- status: string;
237
- code?: number | undefined;
238
- message: string;
239
- }, any, {}>>;
240
- upsertWorkflowVariableProfileSettings: (params: Record<string, never>, data: {
241
- resourceGroupIds: string[];
242
- profiles: {
243
- id: string;
244
- name: string;
245
- variables: {
246
- "rlvt-u"?: string | undefined;
247
- "rlvt-m"?: string | undefined;
248
- utm_campaign?: string | undefined;
249
- utm_source?: string | undefined;
250
- utm_medium?: string | undefined;
251
- utm_content?: string | undefined;
252
- utm_term?: string | undefined;
253
- };
254
- }[];
255
- }, options?: AxiosRequestConfig<any> | undefined) => Promise<import("axios").AxiosResponse<{
256
- status: "success";
257
- } & {
258
- data: {
259
- id: string;
260
- type: import("./definitions").WorkflowSettingsType;
261
- createdAt: string;
262
- updatedAt: string;
263
- _id: string;
264
- companyId: string;
265
- resourceGroupIds: string[];
266
- profiles: {
267
- id: string;
268
- name: string;
269
- variables: {
270
- "rlvt-u"?: string | undefined;
271
- "rlvt-m"?: string | undefined;
272
- utm_campaign?: string | undefined;
273
- utm_source?: string | undefined;
274
- utm_medium?: string | undefined;
275
- utm_content?: string | undefined;
276
- utm_term?: string | undefined;
277
- };
278
- }[];
279
- };
280
- program: string;
281
- version: string;
282
- datetime: string;
283
- status: string;
284
- code?: number | undefined;
285
- message: string;
286
- }, any, {}>>;
287
- };
288
37
  get Workflow(): {
289
38
  listTemplates: (params: {
290
39
  name?: string | undefined;
@@ -300,10 +49,10 @@ export default class {
300
49
  status: "success";
301
50
  } & {
302
51
  data: {
52
+ name: string;
53
+ categories: string[];
303
54
  id: string;
304
55
  companyId?: string | undefined;
305
- categories: string[];
306
- name: string;
307
56
  description?: string | undefined;
308
57
  icon: string;
309
58
  slug?: string | undefined;
@@ -390,7 +139,7 @@ export default class {
390
139
  status?: WorkflowStatus[] | undefined;
391
140
  includeArchived?: boolean | undefined;
392
141
  includeHidden?: boolean | undefined;
393
- sortBy?: "createdAt" | "updatedAt" | "name" | undefined;
142
+ sortBy?: "name" | "createdAt" | "updatedAt" | undefined;
394
143
  sortOrder?: "desc" | "asc" | undefined;
395
144
  hierarchy?: string[] | undefined;
396
145
  select?: string[] | undefined;
@@ -409,13 +158,13 @@ export default class {
409
158
  readonly status: WorkflowStatus & {
410
159
  readonly?: "__readonly" | undefined;
411
160
  };
161
+ name: string;
162
+ _id: string;
412
163
  id: string;
413
164
  createdAt: string;
414
165
  updatedAt: string;
415
- _id: string;
416
166
  companyId: string;
417
167
  resourceGroupIds: string[];
418
- name: string;
419
168
  variableProfileId?: string | undefined;
420
169
  hierarchy: string[];
421
170
  description?: string | undefined;
@@ -430,7 +179,7 @@ export default class {
430
179
  display: string;
431
180
  click: string;
432
181
  format: "embed-image" | "embed-html" | "page-html";
433
- outputTypes: ("content" | "json" | "empty" | "json-template" | "text")[];
182
+ outputTypes: ("json" | "content" | "empty" | "json-template" | "text")[];
434
183
  parameters: {
435
184
  [x: string]: string;
436
185
  };
@@ -457,7 +206,7 @@ export default class {
457
206
  type: "landing";
458
207
  alias: string | null;
459
208
  format: "page-html";
460
- outputTypes: ("content" | "json" | "empty" | "json-template" | "text")[];
209
+ outputTypes: ("json" | "content" | "empty" | "json-template" | "text")[];
461
210
  parameters: {
462
211
  [x: string]: string;
463
212
  };
@@ -469,7 +218,7 @@ export default class {
469
218
  display: string;
470
219
  click: string;
471
220
  format: "header-image" | "banner-top-image" | "banner-bottom-image" | "hero-image" | "content-image" | "text-cta-image" | "terms-image" | "email-content" | "push-image" | "in-app-image" | "inbox-image" | "embed-image" | "embed-html" | "page-html" | "card-image" | "carousel-image" | "json";
472
- outputTypes: ("content" | "json" | "empty" | "json-template" | "text")[];
221
+ outputTypes: ("json" | "content" | "empty" | "json-template" | "text")[];
473
222
  parameters: {
474
223
  [x: string]: string;
475
224
  };
@@ -699,8 +448,8 @@ export default class {
699
448
  message: string;
700
449
  }, any, {}>>;
701
450
  create: (params: Record<string, never>, data: {
702
- resourceGroupIds: string[];
703
451
  name: string;
452
+ resourceGroupIds: string[];
704
453
  description?: string | undefined;
705
454
  } & {
706
455
  hierarchy?: string[] | undefined;
@@ -712,13 +461,13 @@ export default class {
712
461
  readonly status: WorkflowStatus & {
713
462
  readonly?: "__readonly" | undefined;
714
463
  };
464
+ name: string;
465
+ _id: string;
715
466
  id: string;
716
467
  createdAt: string;
717
468
  updatedAt: string;
718
- _id: string;
719
469
  companyId: string;
720
470
  resourceGroupIds: string[];
721
- name: string;
722
471
  variableProfileId?: string | undefined;
723
472
  hierarchy: string[];
724
473
  description?: string | undefined;
@@ -733,7 +482,7 @@ export default class {
733
482
  display: string;
734
483
  click: string;
735
484
  format: "embed-image" | "embed-html" | "page-html";
736
- outputTypes: ("content" | "json" | "empty" | "json-template" | "text")[];
485
+ outputTypes: ("json" | "content" | "empty" | "json-template" | "text")[];
737
486
  parameters: {
738
487
  [x: string]: string;
739
488
  };
@@ -760,7 +509,7 @@ export default class {
760
509
  type: "landing";
761
510
  alias: string | null;
762
511
  format: "page-html";
763
- outputTypes: ("content" | "json" | "empty" | "json-template" | "text")[];
512
+ outputTypes: ("json" | "content" | "empty" | "json-template" | "text")[];
764
513
  parameters: {
765
514
  [x: string]: string;
766
515
  };
@@ -772,7 +521,7 @@ export default class {
772
521
  display: string;
773
522
  click: string;
774
523
  format: "header-image" | "banner-top-image" | "banner-bottom-image" | "hero-image" | "content-image" | "text-cta-image" | "terms-image" | "email-content" | "push-image" | "in-app-image" | "inbox-image" | "embed-image" | "embed-html" | "page-html" | "card-image" | "carousel-image" | "json";
775
- outputTypes: ("content" | "json" | "empty" | "json-template" | "text")[];
524
+ outputTypes: ("json" | "content" | "empty" | "json-template" | "text")[];
776
525
  parameters: {
777
526
  [x: string]: string;
778
527
  };
@@ -1013,13 +762,13 @@ export default class {
1013
762
  readonly status: WorkflowStatus & {
1014
763
  readonly?: "__readonly" | undefined;
1015
764
  };
765
+ name: string;
766
+ _id: string;
1016
767
  id: string;
1017
768
  createdAt: string;
1018
769
  updatedAt: string;
1019
- _id: string;
1020
770
  companyId: string;
1021
771
  resourceGroupIds: string[];
1022
- name: string;
1023
772
  variableProfileId?: string | undefined;
1024
773
  hierarchy: string[];
1025
774
  description?: string | undefined;
@@ -1034,7 +783,7 @@ export default class {
1034
783
  display: string;
1035
784
  click: string;
1036
785
  format: "embed-image" | "embed-html" | "page-html";
1037
- outputTypes: ("content" | "json" | "empty" | "json-template" | "text")[];
786
+ outputTypes: ("json" | "content" | "empty" | "json-template" | "text")[];
1038
787
  parameters: {
1039
788
  [x: string]: string;
1040
789
  };
@@ -1061,7 +810,7 @@ export default class {
1061
810
  type: "landing";
1062
811
  alias: string | null;
1063
812
  format: "page-html";
1064
- outputTypes: ("content" | "json" | "empty" | "json-template" | "text")[];
813
+ outputTypes: ("json" | "content" | "empty" | "json-template" | "text")[];
1065
814
  parameters: {
1066
815
  [x: string]: string;
1067
816
  };
@@ -1073,7 +822,7 @@ export default class {
1073
822
  display: string;
1074
823
  click: string;
1075
824
  format: "header-image" | "banner-top-image" | "banner-bottom-image" | "hero-image" | "content-image" | "text-cta-image" | "terms-image" | "email-content" | "push-image" | "in-app-image" | "inbox-image" | "embed-image" | "embed-html" | "page-html" | "card-image" | "carousel-image" | "json";
1076
- outputTypes: ("content" | "json" | "empty" | "json-template" | "text")[];
825
+ outputTypes: ("json" | "content" | "empty" | "json-template" | "text")[];
1077
826
  parameters: {
1078
827
  [x: string]: string;
1079
828
  };
@@ -1306,8 +1055,8 @@ export default class {
1306
1055
  id: string;
1307
1056
  }, data: {
1308
1057
  name?: string | undefined;
1309
- resourceGroupIds?: string[] | undefined;
1310
1058
  description?: string | undefined;
1059
+ resourceGroupIds?: string[] | undefined;
1311
1060
  variableProfileId?: string | undefined;
1312
1061
  hierarchy?: string[] | undefined;
1313
1062
  hidden?: boolean | undefined;
@@ -1438,13 +1187,13 @@ export default class {
1438
1187
  readonly status: WorkflowStatus & {
1439
1188
  readonly?: "__readonly" | undefined;
1440
1189
  };
1190
+ name: string;
1191
+ _id: string;
1441
1192
  id: string;
1442
1193
  createdAt: string;
1443
1194
  updatedAt: string;
1444
- _id: string;
1445
1195
  companyId: string;
1446
1196
  resourceGroupIds: string[];
1447
- name: string;
1448
1197
  variableProfileId?: string | undefined;
1449
1198
  hierarchy: string[];
1450
1199
  description?: string | undefined;
@@ -1459,7 +1208,7 @@ export default class {
1459
1208
  display: string;
1460
1209
  click: string;
1461
1210
  format: "embed-image" | "embed-html" | "page-html";
1462
- outputTypes: ("content" | "json" | "empty" | "json-template" | "text")[];
1211
+ outputTypes: ("json" | "content" | "empty" | "json-template" | "text")[];
1463
1212
  parameters: {
1464
1213
  [x: string]: string;
1465
1214
  };
@@ -1486,7 +1235,7 @@ export default class {
1486
1235
  type: "landing";
1487
1236
  alias: string | null;
1488
1237
  format: "page-html";
1489
- outputTypes: ("content" | "json" | "empty" | "json-template" | "text")[];
1238
+ outputTypes: ("json" | "content" | "empty" | "json-template" | "text")[];
1490
1239
  parameters: {
1491
1240
  [x: string]: string;
1492
1241
  };
@@ -1498,7 +1247,7 @@ export default class {
1498
1247
  display: string;
1499
1248
  click: string;
1500
1249
  format: "header-image" | "banner-top-image" | "banner-bottom-image" | "hero-image" | "content-image" | "text-cta-image" | "terms-image" | "email-content" | "push-image" | "in-app-image" | "inbox-image" | "embed-image" | "embed-html" | "page-html" | "card-image" | "carousel-image" | "json";
1501
- outputTypes: ("content" | "json" | "empty" | "json-template" | "text")[];
1250
+ outputTypes: ("json" | "content" | "empty" | "json-template" | "text")[];
1502
1251
  parameters: {
1503
1252
  [x: string]: string;
1504
1253
  };
@@ -1749,13 +1498,13 @@ export default class {
1749
1498
  readonly status: WorkflowStatus & {
1750
1499
  readonly?: "__readonly" | undefined;
1751
1500
  };
1501
+ name: string;
1502
+ _id: string;
1752
1503
  id: string;
1753
1504
  createdAt: string;
1754
1505
  updatedAt: string;
1755
- _id: string;
1756
1506
  companyId: string;
1757
1507
  resourceGroupIds: string[];
1758
- name: string;
1759
1508
  variableProfileId?: string | undefined;
1760
1509
  hierarchy: string[];
1761
1510
  description?: string | undefined;
@@ -1770,7 +1519,7 @@ export default class {
1770
1519
  display: string;
1771
1520
  click: string;
1772
1521
  format: "embed-image" | "embed-html" | "page-html";
1773
- outputTypes: ("content" | "json" | "empty" | "json-template" | "text")[];
1522
+ outputTypes: ("json" | "content" | "empty" | "json-template" | "text")[];
1774
1523
  parameters: {
1775
1524
  [x: string]: string;
1776
1525
  };
@@ -1797,7 +1546,7 @@ export default class {
1797
1546
  type: "landing";
1798
1547
  alias: string | null;
1799
1548
  format: "page-html";
1800
- outputTypes: ("content" | "json" | "empty" | "json-template" | "text")[];
1549
+ outputTypes: ("json" | "content" | "empty" | "json-template" | "text")[];
1801
1550
  parameters: {
1802
1551
  [x: string]: string;
1803
1552
  };
@@ -1809,7 +1558,7 @@ export default class {
1809
1558
  display: string;
1810
1559
  click: string;
1811
1560
  format: "header-image" | "banner-top-image" | "banner-bottom-image" | "hero-image" | "content-image" | "text-cta-image" | "terms-image" | "email-content" | "push-image" | "in-app-image" | "inbox-image" | "embed-image" | "embed-html" | "page-html" | "card-image" | "carousel-image" | "json";
1812
- outputTypes: ("content" | "json" | "empty" | "json-template" | "text")[];
1561
+ outputTypes: ("json" | "content" | "empty" | "json-template" | "text")[];
1813
1562
  parameters: {
1814
1563
  [x: string]: string;
1815
1564
  };
@@ -2047,13 +1796,13 @@ export default class {
2047
1796
  readonly status: WorkflowStatus & {
2048
1797
  readonly?: "__readonly" | undefined;
2049
1798
  };
1799
+ name: string;
1800
+ _id: string;
2050
1801
  id: string;
2051
1802
  createdAt: string;
2052
1803
  updatedAt: string;
2053
- _id: string;
2054
1804
  companyId: string;
2055
1805
  resourceGroupIds: string[];
2056
- name: string;
2057
1806
  variableProfileId?: string | undefined;
2058
1807
  hierarchy: string[];
2059
1808
  description?: string | undefined;
@@ -2068,7 +1817,7 @@ export default class {
2068
1817
  display: string;
2069
1818
  click: string;
2070
1819
  format: "embed-image" | "embed-html" | "page-html";
2071
- outputTypes: ("content" | "json" | "empty" | "json-template" | "text")[];
1820
+ outputTypes: ("json" | "content" | "empty" | "json-template" | "text")[];
2072
1821
  parameters: {
2073
1822
  [x: string]: string;
2074
1823
  };
@@ -2095,7 +1844,7 @@ export default class {
2095
1844
  type: "landing";
2096
1845
  alias: string | null;
2097
1846
  format: "page-html";
2098
- outputTypes: ("content" | "json" | "empty" | "json-template" | "text")[];
1847
+ outputTypes: ("json" | "content" | "empty" | "json-template" | "text")[];
2099
1848
  parameters: {
2100
1849
  [x: string]: string;
2101
1850
  };
@@ -2107,7 +1856,7 @@ export default class {
2107
1856
  display: string;
2108
1857
  click: string;
2109
1858
  format: "header-image" | "banner-top-image" | "banner-bottom-image" | "hero-image" | "content-image" | "text-cta-image" | "terms-image" | "email-content" | "push-image" | "in-app-image" | "inbox-image" | "embed-image" | "embed-html" | "page-html" | "card-image" | "carousel-image" | "json";
2110
- outputTypes: ("content" | "json" | "empty" | "json-template" | "text")[];
1859
+ outputTypes: ("json" | "content" | "empty" | "json-template" | "text")[];
2111
1860
  parameters: {
2112
1861
  [x: string]: string;
2113
1862
  };
@@ -2408,13 +2157,13 @@ export default class {
2408
2157
  readonly status: WorkflowStatus & {
2409
2158
  readonly?: "__readonly" | undefined;
2410
2159
  };
2160
+ name: string;
2161
+ _id: string;
2411
2162
  id: string;
2412
2163
  createdAt: string;
2413
2164
  updatedAt: string;
2414
- _id: string;
2415
2165
  companyId: string;
2416
2166
  resourceGroupIds: string[];
2417
- name: string;
2418
2167
  variableProfileId?: string | undefined;
2419
2168
  hierarchy: string[];
2420
2169
  description?: string | undefined;
@@ -2429,7 +2178,7 @@ export default class {
2429
2178
  display: string;
2430
2179
  click: string;
2431
2180
  format: "embed-image" | "embed-html" | "page-html";
2432
- outputTypes: ("content" | "json" | "empty" | "json-template" | "text")[];
2181
+ outputTypes: ("json" | "content" | "empty" | "json-template" | "text")[];
2433
2182
  parameters: {
2434
2183
  [x: string]: string;
2435
2184
  };
@@ -2456,7 +2205,7 @@ export default class {
2456
2205
  type: "landing";
2457
2206
  alias: string | null;
2458
2207
  format: "page-html";
2459
- outputTypes: ("content" | "json" | "empty" | "json-template" | "text")[];
2208
+ outputTypes: ("json" | "content" | "empty" | "json-template" | "text")[];
2460
2209
  parameters: {
2461
2210
  [x: string]: string;
2462
2211
  };
@@ -2468,7 +2217,7 @@ export default class {
2468
2217
  display: string;
2469
2218
  click: string;
2470
2219
  format: "header-image" | "banner-top-image" | "banner-bottom-image" | "hero-image" | "content-image" | "text-cta-image" | "terms-image" | "email-content" | "push-image" | "in-app-image" | "inbox-image" | "embed-image" | "embed-html" | "page-html" | "card-image" | "carousel-image" | "json";
2471
- outputTypes: ("content" | "json" | "empty" | "json-template" | "text")[];
2220
+ outputTypes: ("json" | "content" | "empty" | "json-template" | "text")[];
2472
2221
  parameters: {
2473
2222
  [x: string]: string;
2474
2223
  };
@@ -2587,52 +2336,234 @@ export default class {
2587
2336
  } | undefined;
2588
2337
  };
2589
2338
  } | undefined;
2590
- branchTags?: {
2591
- tagKeyId: string;
2592
- tagValueId: string;
2593
- branchId: string;
2594
- }[] | undefined;
2595
- } | undefined;
2596
- metadata?: {
2597
- [x: string]: unknown;
2339
+ branchTags?: {
2340
+ tagKeyId: string;
2341
+ tagValueId: string;
2342
+ branchId: string;
2343
+ }[] | undefined;
2344
+ } | undefined;
2345
+ metadata?: {
2346
+ [x: string]: unknown;
2347
+ } | undefined;
2348
+ readonly state: WorkflowVersionState & {
2349
+ readonly?: "__readonly" | undefined;
2350
+ };
2351
+ readonly analyze: {
2352
+ readonly?: "__readonly" | undefined;
2353
+ entrypointTypes: string[];
2354
+ branchTags: {
2355
+ tagKeyId: string;
2356
+ tagValueId: string;
2357
+ branchId: string;
2358
+ }[];
2359
+ individualizedBranches: string[];
2360
+ branchesInfos: {
2361
+ [x: string]: (string | import("./definitions").BranchInfosElementType)[][];
2362
+ };
2363
+ entrypointsPerDataNodeId: {
2364
+ [x: string]: string[];
2365
+ };
2366
+ entrypointsPerPathId: {
2367
+ [x: string]: string[];
2368
+ };
2369
+ entrypointFormats: string[];
2370
+ categoryIdByBranch: {
2371
+ [x: string]: string;
2372
+ };
2373
+ loopWindowByBranch: {
2374
+ [x: string]: {
2375
+ anchor?: {
2376
+ type: "run";
2377
+ } | {
2378
+ type: "variable";
2379
+ value: {
2380
+ ids: string[];
2381
+ path: string[];
2382
+ };
2383
+ recurrence?: "none" | "yearly" | undefined;
2384
+ } | undefined;
2385
+ start?: {
2386
+ offset: {
2387
+ value: number;
2388
+ unit: "minute" | "hour" | "day" | "week";
2389
+ };
2390
+ type: "offset";
2391
+ } | {
2392
+ datetime: string;
2393
+ type: "absolute";
2394
+ } | undefined;
2395
+ end: {
2396
+ offset: {
2397
+ value: number;
2398
+ unit: "minute" | "hour" | "day" | "week";
2399
+ };
2400
+ type: "offset";
2401
+ } | {
2402
+ datetime: string;
2403
+ type: "absolute";
2404
+ };
2405
+ ideal?: {
2406
+ offset: {
2407
+ value: number;
2408
+ unit: "minute" | "hour" | "day" | "week";
2409
+ };
2410
+ type: "offset";
2411
+ } | {
2412
+ datetime: string;
2413
+ type: "absolute";
2414
+ } | undefined;
2415
+ };
2416
+ };
2417
+ outputsForEntrypoint: {
2418
+ [x: string]: string[];
2419
+ };
2420
+ datasForEntrypoint: {
2421
+ [x: string]: string[];
2422
+ };
2423
+ };
2424
+ readonly lastSavedBy?: (string & {
2425
+ readonly?: "__readonly" | undefined;
2426
+ }) | undefined;
2427
+ changeDescription?: {
2428
+ message: string;
2429
+ metadata?: {
2430
+ type: "content-sync";
2431
+ contentId: string;
2432
+ } | {
2433
+ type: "experiment-sync";
2434
+ experimentId: string;
2435
+ } | undefined;
2436
+ } | undefined;
2437
+ readonly complexityScore?: (number & {
2438
+ readonly?: "__readonly" | undefined;
2439
+ }) | undefined;
2440
+ }[];
2441
+ };
2442
+ program: string;
2443
+ version: string;
2444
+ datetime: string;
2445
+ status: string;
2446
+ code?: number | undefined;
2447
+ message: string;
2448
+ }, any, {}>>;
2449
+ };
2450
+ get WorkflowSettings(): {
2451
+ getWorkflowBranchCategorySettings: (params: Record<string, never>, options?: AxiosRequestConfig<any> | undefined) => Promise<import("axios").AxiosResponse<{
2452
+ status: "success";
2453
+ } & {
2454
+ data: {
2455
+ categories: {
2456
+ [x: string]: {
2457
+ loop?: {
2458
+ window?: {
2459
+ start?: {
2460
+ offset: {
2461
+ value: number;
2462
+ unit: "minute" | "hour" | "day" | "week";
2463
+ };
2464
+ type: "offset";
2465
+ } | {
2466
+ datetime: string;
2467
+ type: "absolute";
2468
+ } | undefined;
2469
+ end: {
2470
+ offset: {
2471
+ value: number;
2472
+ unit: "minute" | "hour" | "day" | "week";
2473
+ };
2474
+ type: "offset";
2475
+ } | {
2476
+ datetime: string;
2477
+ type: "absolute";
2478
+ };
2479
+ ideal?: {
2480
+ offset: {
2481
+ value: number;
2482
+ unit: "minute" | "hour" | "day" | "week";
2483
+ };
2484
+ type: "offset";
2485
+ } | {
2486
+ datetime: string;
2487
+ type: "absolute";
2488
+ } | undefined;
2489
+ } | undefined;
2490
+ score?: number | undefined;
2491
+ } | undefined;
2492
+ name: string;
2493
+ description?: string | undefined;
2494
+ children: string[];
2495
+ };
2496
+ };
2497
+ _id: string;
2498
+ id: string;
2499
+ type: import("./definitions").WorkflowSettingsType;
2500
+ createdAt: string;
2501
+ updatedAt: string;
2502
+ companyId: string;
2503
+ resourceGroupIds: string[];
2504
+ rootOrder: string[];
2505
+ };
2506
+ program: string;
2507
+ version: string;
2508
+ datetime: string;
2509
+ status: string;
2510
+ code?: number | undefined;
2511
+ message: string;
2512
+ }, any, {}>>;
2513
+ upsertWorkflowBranchCategorySettings: (params: Record<string, never>, data: {
2514
+ categories: {
2515
+ [x: string]: {
2516
+ loop?: {
2517
+ window?: {
2518
+ start?: {
2519
+ offset: {
2520
+ value: number;
2521
+ unit: "minute" | "hour" | "day" | "week";
2522
+ };
2523
+ type: "offset";
2524
+ } | {
2525
+ datetime: string;
2526
+ type: "absolute";
2527
+ } | undefined;
2528
+ end: {
2529
+ offset: {
2530
+ value: number;
2531
+ unit: "minute" | "hour" | "day" | "week";
2532
+ };
2533
+ type: "offset";
2534
+ } | {
2535
+ datetime: string;
2536
+ type: "absolute";
2537
+ };
2538
+ ideal?: {
2539
+ offset: {
2540
+ value: number;
2541
+ unit: "minute" | "hour" | "day" | "week";
2542
+ };
2543
+ type: "offset";
2544
+ } | {
2545
+ datetime: string;
2546
+ type: "absolute";
2547
+ } | undefined;
2548
+ } | undefined;
2549
+ score?: number | undefined;
2598
2550
  } | undefined;
2599
- readonly state: WorkflowVersionState & {
2600
- readonly?: "__readonly" | undefined;
2601
- };
2602
- readonly analyze: {
2603
- readonly?: "__readonly" | undefined;
2604
- entrypointTypes: string[];
2605
- branchTags: {
2606
- tagKeyId: string;
2607
- tagValueId: string;
2608
- branchId: string;
2609
- }[];
2610
- individualizedBranches: string[];
2611
- branchesInfos: {
2612
- [x: string]: (string | import("./definitions").BranchInfosElementType)[][];
2613
- };
2614
- entrypointsPerDataNodeId: {
2615
- [x: string]: string[];
2616
- };
2617
- entrypointsPerPathId: {
2618
- [x: string]: string[];
2619
- };
2620
- entrypointFormats: string[];
2621
- categoryIdByBranch: {
2622
- [x: string]: string;
2623
- };
2624
- loopWindowByBranch: {
2625
- [x: string]: {
2626
- anchor?: {
2627
- type: "run";
2628
- } | {
2629
- type: "variable";
2630
- value: {
2631
- ids: string[];
2632
- path: string[];
2633
- };
2634
- recurrence?: "none" | "yearly" | undefined;
2635
- } | undefined;
2551
+ name: string;
2552
+ description?: string | undefined;
2553
+ children: string[];
2554
+ };
2555
+ };
2556
+ rootOrder: string[];
2557
+ } & {
2558
+ resourceGroupIds: string[];
2559
+ }, options?: AxiosRequestConfig<any> | undefined) => Promise<import("axios").AxiosResponse<{
2560
+ status: "success";
2561
+ } & {
2562
+ data: {
2563
+ categories: {
2564
+ [x: string]: {
2565
+ loop?: {
2566
+ window?: {
2636
2567
  start?: {
2637
2568
  offset: {
2638
2569
  value: number;
@@ -2663,31 +2594,100 @@ export default class {
2663
2594
  datetime: string;
2664
2595
  type: "absolute";
2665
2596
  } | undefined;
2666
- };
2667
- };
2668
- outputsForEntrypoint: {
2669
- [x: string]: string[];
2670
- };
2671
- datasForEntrypoint: {
2672
- [x: string]: string[];
2673
- };
2674
- };
2675
- readonly lastSavedBy?: (string & {
2676
- readonly?: "__readonly" | undefined;
2677
- }) | undefined;
2678
- changeDescription?: {
2679
- message: string;
2680
- metadata?: {
2681
- type: "content-sync";
2682
- contentId: string;
2683
- } | {
2684
- type: "experiment-sync";
2685
- experimentId: string;
2597
+ } | undefined;
2598
+ score?: number | undefined;
2686
2599
  } | undefined;
2687
- } | undefined;
2688
- readonly complexityScore?: (number & {
2689
- readonly?: "__readonly" | undefined;
2690
- }) | undefined;
2600
+ name: string;
2601
+ description?: string | undefined;
2602
+ children: string[];
2603
+ };
2604
+ };
2605
+ _id: string;
2606
+ id: string;
2607
+ type: import("./definitions").WorkflowSettingsType;
2608
+ createdAt: string;
2609
+ updatedAt: string;
2610
+ companyId: string;
2611
+ resourceGroupIds: string[];
2612
+ rootOrder: string[];
2613
+ };
2614
+ program: string;
2615
+ version: string;
2616
+ datetime: string;
2617
+ status: string;
2618
+ code?: number | undefined;
2619
+ message: string;
2620
+ }, any, {}>>;
2621
+ getWorkflowVariableProfileSettings: (params: Record<string, never>, options?: AxiosRequestConfig<any> | undefined) => Promise<import("axios").AxiosResponse<{
2622
+ status: "success";
2623
+ } & {
2624
+ data: {
2625
+ _id: string;
2626
+ id: string;
2627
+ type: import("./definitions").WorkflowSettingsType;
2628
+ createdAt: string;
2629
+ updatedAt: string;
2630
+ companyId: string;
2631
+ resourceGroupIds: string[];
2632
+ profiles: {
2633
+ name: string;
2634
+ id: string;
2635
+ variables: {
2636
+ "rlvt-u"?: string | undefined;
2637
+ "rlvt-m"?: string | undefined;
2638
+ utm_campaign?: string | undefined;
2639
+ utm_source?: string | undefined;
2640
+ utm_medium?: string | undefined;
2641
+ utm_content?: string | undefined;
2642
+ utm_term?: string | undefined;
2643
+ };
2644
+ }[];
2645
+ };
2646
+ program: string;
2647
+ version: string;
2648
+ datetime: string;
2649
+ status: string;
2650
+ code?: number | undefined;
2651
+ message: string;
2652
+ }, any, {}>>;
2653
+ upsertWorkflowVariableProfileSettings: (params: Record<string, never>, data: {
2654
+ resourceGroupIds: string[];
2655
+ profiles: {
2656
+ name: string;
2657
+ id: string;
2658
+ variables: {
2659
+ "rlvt-u"?: string | undefined;
2660
+ "rlvt-m"?: string | undefined;
2661
+ utm_campaign?: string | undefined;
2662
+ utm_source?: string | undefined;
2663
+ utm_medium?: string | undefined;
2664
+ utm_content?: string | undefined;
2665
+ utm_term?: string | undefined;
2666
+ };
2667
+ }[];
2668
+ }, options?: AxiosRequestConfig<any> | undefined) => Promise<import("axios").AxiosResponse<{
2669
+ status: "success";
2670
+ } & {
2671
+ data: {
2672
+ _id: string;
2673
+ id: string;
2674
+ type: import("./definitions").WorkflowSettingsType;
2675
+ createdAt: string;
2676
+ updatedAt: string;
2677
+ companyId: string;
2678
+ resourceGroupIds: string[];
2679
+ profiles: {
2680
+ name: string;
2681
+ id: string;
2682
+ variables: {
2683
+ "rlvt-u"?: string | undefined;
2684
+ "rlvt-m"?: string | undefined;
2685
+ utm_campaign?: string | undefined;
2686
+ utm_source?: string | undefined;
2687
+ utm_medium?: string | undefined;
2688
+ utm_content?: string | undefined;
2689
+ utm_term?: string | undefined;
2690
+ };
2691
2691
  }[];
2692
2692
  };
2693
2693
  program: string;
@@ -2863,8 +2863,8 @@ export default class {
2863
2863
  status: "success";
2864
2864
  } & {
2865
2865
  data: {
2866
- id: string;
2867
2866
  name: string;
2867
+ id: string;
2868
2868
  parameters: string[];
2869
2869
  fields: string[];
2870
2870
  }[];
@@ -2940,28 +2940,28 @@ export default class {
2940
2940
  status: "success";
2941
2941
  } & {
2942
2942
  data: {
2943
+ name: string;
2944
+ _id: string;
2943
2945
  id: string;
2944
2946
  type: import("./definitions").WorkflowSettingsType;
2945
2947
  createdAt: string;
2946
2948
  updatedAt: string;
2947
- _id: string;
2948
2949
  companyId: string;
2949
2950
  resourceGroupIds: string[];
2950
- name: string;
2951
2951
  definition: {
2952
2952
  [x: string]: unknown;
2953
2953
  };
2954
2954
  variables: ({
2955
- type: "array";
2956
2955
  name: string;
2956
+ type: "array";
2957
2957
  description?: string | undefined;
2958
2958
  } | {
2959
- type: "scalar";
2960
2959
  name: string;
2960
+ type: "scalar";
2961
2961
  description?: string | undefined;
2962
2962
  } | {
2963
- type: "fixed";
2964
2963
  name: string;
2964
+ type: "fixed";
2965
2965
  index: number;
2966
2966
  description?: string | undefined;
2967
2967
  })[];
@@ -2975,22 +2975,22 @@ export default class {
2975
2975
  message: string;
2976
2976
  }, any, {}>>;
2977
2977
  create: (params: Record<string, never>, data: {
2978
- resourceGroupIds: string[];
2979
2978
  name: string;
2979
+ resourceGroupIds: string[];
2980
2980
  definition: {
2981
2981
  [x: string]: unknown;
2982
2982
  };
2983
2983
  variables: ({
2984
- type: "array";
2985
2984
  name: string;
2985
+ type: "array";
2986
2986
  description?: string | undefined;
2987
2987
  } | {
2988
- type: "scalar";
2989
2988
  name: string;
2989
+ type: "scalar";
2990
2990
  description?: string | undefined;
2991
2991
  } | {
2992
- type: "fixed";
2993
2992
  name: string;
2993
+ type: "fixed";
2994
2994
  index: number;
2995
2995
  description?: string | undefined;
2996
2996
  })[];
@@ -2999,28 +2999,28 @@ export default class {
2999
2999
  status: "success";
3000
3000
  } & {
3001
3001
  data: {
3002
+ name: string;
3003
+ _id: string;
3002
3004
  id: string;
3003
3005
  type: import("./definitions").WorkflowSettingsType;
3004
3006
  createdAt: string;
3005
3007
  updatedAt: string;
3006
- _id: string;
3007
3008
  companyId: string;
3008
3009
  resourceGroupIds: string[];
3009
- name: string;
3010
3010
  definition: {
3011
3011
  [x: string]: unknown;
3012
3012
  };
3013
3013
  variables: ({
3014
- type: "array";
3015
3014
  name: string;
3015
+ type: "array";
3016
3016
  description?: string | undefined;
3017
3017
  } | {
3018
- type: "scalar";
3019
3018
  name: string;
3019
+ type: "scalar";
3020
3020
  description?: string | undefined;
3021
3021
  } | {
3022
- type: "fixed";
3023
3022
  name: string;
3023
+ type: "fixed";
3024
3024
  index: number;
3025
3025
  description?: string | undefined;
3026
3026
  })[];
@@ -3039,28 +3039,28 @@ export default class {
3039
3039
  status: "success";
3040
3040
  } & {
3041
3041
  data: {
3042
+ name: string;
3043
+ _id: string;
3042
3044
  id: string;
3043
3045
  type: import("./definitions").WorkflowSettingsType;
3044
3046
  createdAt: string;
3045
3047
  updatedAt: string;
3046
- _id: string;
3047
3048
  companyId: string;
3048
3049
  resourceGroupIds: string[];
3049
- name: string;
3050
3050
  definition: {
3051
3051
  [x: string]: unknown;
3052
3052
  };
3053
3053
  variables: ({
3054
- type: "array";
3055
3054
  name: string;
3055
+ type: "array";
3056
3056
  description?: string | undefined;
3057
3057
  } | {
3058
- type: "scalar";
3059
3058
  name: string;
3059
+ type: "scalar";
3060
3060
  description?: string | undefined;
3061
3061
  } | {
3062
- type: "fixed";
3063
3062
  name: string;
3063
+ type: "fixed";
3064
3064
  index: number;
3065
3065
  description?: string | undefined;
3066
3066
  })[];
@@ -3081,16 +3081,16 @@ export default class {
3081
3081
  [x: string]: unknown;
3082
3082
  } | undefined;
3083
3083
  variables?: ({
3084
- type: "array";
3085
3084
  name: string;
3085
+ type: "array";
3086
3086
  description?: string | undefined;
3087
3087
  } | {
3088
- type: "scalar";
3089
3088
  name: string;
3089
+ type: "scalar";
3090
3090
  description?: string | undefined;
3091
3091
  } | {
3092
- type: "fixed";
3093
3092
  name: string;
3093
+ type: "fixed";
3094
3094
  index: number;
3095
3095
  description?: string | undefined;
3096
3096
  })[] | undefined;
@@ -3099,28 +3099,28 @@ export default class {
3099
3099
  status: "success";
3100
3100
  } & {
3101
3101
  data: {
3102
+ name: string;
3103
+ _id: string;
3102
3104
  id: string;
3103
3105
  type: import("./definitions").WorkflowSettingsType;
3104
3106
  createdAt: string;
3105
3107
  updatedAt: string;
3106
- _id: string;
3107
3108
  companyId: string;
3108
3109
  resourceGroupIds: string[];
3109
- name: string;
3110
3110
  definition: {
3111
3111
  [x: string]: unknown;
3112
3112
  };
3113
3113
  variables: ({
3114
- type: "array";
3115
3114
  name: string;
3115
+ type: "array";
3116
3116
  description?: string | undefined;
3117
3117
  } | {
3118
- type: "scalar";
3119
3118
  name: string;
3119
+ type: "scalar";
3120
3120
  description?: string | undefined;
3121
3121
  } | {
3122
- type: "fixed";
3123
3122
  name: string;
3123
+ type: "fixed";
3124
3124
  index: number;
3125
3125
  description?: string | undefined;
3126
3126
  })[];