@rlvt/workflows-openapi-client 1.0.828 → 1.0.829

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;
9
7
  private getWorkflowBranchCategorySettings;
10
8
  private upsertWorkflowBranchCategorySettings;
11
9
  private getWorkflowVariableProfileSettings;
12
10
  private upsertWorkflowVariableProfileSettings;
11
+ private listTemplatesWorkflow;
12
+ private listTemplateCategoriesWorkflow;
13
13
  private listParameterValuesUsage;
14
14
  private getWorkflowIntegrationsOptions;
15
15
  private updateWorkflowIntegrationsOptions;
@@ -34,6 +34,257 @@ 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
+ };
37
288
  get Workflow(): {
38
289
  listTemplates: (params: {
39
290
  name?: string | undefined;
@@ -49,10 +300,10 @@ export default class {
49
300
  status: "success";
50
301
  } & {
51
302
  data: {
52
- name: string;
53
- categories: string[];
54
303
  id: string;
55
304
  companyId?: string | undefined;
305
+ categories: string[];
306
+ name: string;
56
307
  description?: string | undefined;
57
308
  icon: string;
58
309
  slug?: string | undefined;
@@ -139,7 +390,7 @@ export default class {
139
390
  status?: WorkflowStatus[] | undefined;
140
391
  includeArchived?: boolean | undefined;
141
392
  includeHidden?: boolean | undefined;
142
- sortBy?: "name" | "createdAt" | "updatedAt" | undefined;
393
+ sortBy?: "createdAt" | "updatedAt" | "name" | undefined;
143
394
  sortOrder?: "desc" | "asc" | undefined;
144
395
  hierarchy?: string[] | undefined;
145
396
  select?: string[] | undefined;
@@ -158,13 +409,13 @@ export default class {
158
409
  readonly status: WorkflowStatus & {
159
410
  readonly?: "__readonly" | undefined;
160
411
  };
161
- name: string;
162
- _id: string;
163
412
  id: string;
164
413
  createdAt: string;
165
414
  updatedAt: string;
415
+ _id: string;
166
416
  companyId: string;
167
417
  resourceGroupIds: string[];
418
+ name: string;
168
419
  variableProfileId?: string | undefined;
169
420
  hierarchy: string[];
170
421
  description?: string | undefined;
@@ -179,7 +430,7 @@ export default class {
179
430
  display: string;
180
431
  click: string;
181
432
  format: "embed-image" | "embed-html" | "page-html";
182
- outputTypes: ("json" | "content" | "empty" | "json-template" | "text")[];
433
+ outputTypes: ("content" | "json" | "empty" | "json-template" | "text")[];
183
434
  parameters: {
184
435
  [x: string]: string;
185
436
  };
@@ -206,7 +457,7 @@ export default class {
206
457
  type: "landing";
207
458
  alias: string | null;
208
459
  format: "page-html";
209
- outputTypes: ("json" | "content" | "empty" | "json-template" | "text")[];
460
+ outputTypes: ("content" | "json" | "empty" | "json-template" | "text")[];
210
461
  parameters: {
211
462
  [x: string]: string;
212
463
  };
@@ -218,7 +469,7 @@ export default class {
218
469
  display: string;
219
470
  click: string;
220
471
  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";
221
- outputTypes: ("json" | "content" | "empty" | "json-template" | "text")[];
472
+ outputTypes: ("content" | "json" | "empty" | "json-template" | "text")[];
222
473
  parameters: {
223
474
  [x: string]: string;
224
475
  };
@@ -448,8 +699,8 @@ export default class {
448
699
  message: string;
449
700
  }, any, {}>>;
450
701
  create: (params: Record<string, never>, data: {
451
- name: string;
452
702
  resourceGroupIds: string[];
703
+ name: string;
453
704
  description?: string | undefined;
454
705
  } & {
455
706
  hierarchy?: string[] | undefined;
@@ -461,13 +712,13 @@ export default class {
461
712
  readonly status: WorkflowStatus & {
462
713
  readonly?: "__readonly" | undefined;
463
714
  };
464
- name: string;
465
- _id: string;
466
715
  id: string;
467
716
  createdAt: string;
468
717
  updatedAt: string;
718
+ _id: string;
469
719
  companyId: string;
470
720
  resourceGroupIds: string[];
721
+ name: string;
471
722
  variableProfileId?: string | undefined;
472
723
  hierarchy: string[];
473
724
  description?: string | undefined;
@@ -482,7 +733,7 @@ export default class {
482
733
  display: string;
483
734
  click: string;
484
735
  format: "embed-image" | "embed-html" | "page-html";
485
- outputTypes: ("json" | "content" | "empty" | "json-template" | "text")[];
736
+ outputTypes: ("content" | "json" | "empty" | "json-template" | "text")[];
486
737
  parameters: {
487
738
  [x: string]: string;
488
739
  };
@@ -509,7 +760,7 @@ export default class {
509
760
  type: "landing";
510
761
  alias: string | null;
511
762
  format: "page-html";
512
- outputTypes: ("json" | "content" | "empty" | "json-template" | "text")[];
763
+ outputTypes: ("content" | "json" | "empty" | "json-template" | "text")[];
513
764
  parameters: {
514
765
  [x: string]: string;
515
766
  };
@@ -521,7 +772,7 @@ export default class {
521
772
  display: string;
522
773
  click: string;
523
774
  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";
524
- outputTypes: ("json" | "content" | "empty" | "json-template" | "text")[];
775
+ outputTypes: ("content" | "json" | "empty" | "json-template" | "text")[];
525
776
  parameters: {
526
777
  [x: string]: string;
527
778
  };
@@ -762,13 +1013,13 @@ export default class {
762
1013
  readonly status: WorkflowStatus & {
763
1014
  readonly?: "__readonly" | undefined;
764
1015
  };
765
- name: string;
766
- _id: string;
767
1016
  id: string;
768
1017
  createdAt: string;
769
1018
  updatedAt: string;
1019
+ _id: string;
770
1020
  companyId: string;
771
1021
  resourceGroupIds: string[];
1022
+ name: string;
772
1023
  variableProfileId?: string | undefined;
773
1024
  hierarchy: string[];
774
1025
  description?: string | undefined;
@@ -783,7 +1034,7 @@ export default class {
783
1034
  display: string;
784
1035
  click: string;
785
1036
  format: "embed-image" | "embed-html" | "page-html";
786
- outputTypes: ("json" | "content" | "empty" | "json-template" | "text")[];
1037
+ outputTypes: ("content" | "json" | "empty" | "json-template" | "text")[];
787
1038
  parameters: {
788
1039
  [x: string]: string;
789
1040
  };
@@ -810,7 +1061,7 @@ export default class {
810
1061
  type: "landing";
811
1062
  alias: string | null;
812
1063
  format: "page-html";
813
- outputTypes: ("json" | "content" | "empty" | "json-template" | "text")[];
1064
+ outputTypes: ("content" | "json" | "empty" | "json-template" | "text")[];
814
1065
  parameters: {
815
1066
  [x: string]: string;
816
1067
  };
@@ -822,7 +1073,7 @@ export default class {
822
1073
  display: string;
823
1074
  click: string;
824
1075
  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";
825
- outputTypes: ("json" | "content" | "empty" | "json-template" | "text")[];
1076
+ outputTypes: ("content" | "json" | "empty" | "json-template" | "text")[];
826
1077
  parameters: {
827
1078
  [x: string]: string;
828
1079
  };
@@ -1055,8 +1306,8 @@ export default class {
1055
1306
  id: string;
1056
1307
  }, data: {
1057
1308
  name?: string | undefined;
1058
- description?: string | undefined;
1059
1309
  resourceGroupIds?: string[] | undefined;
1310
+ description?: string | undefined;
1060
1311
  variableProfileId?: string | undefined;
1061
1312
  hierarchy?: string[] | undefined;
1062
1313
  hidden?: boolean | undefined;
@@ -1187,13 +1438,13 @@ export default class {
1187
1438
  readonly status: WorkflowStatus & {
1188
1439
  readonly?: "__readonly" | undefined;
1189
1440
  };
1190
- name: string;
1191
- _id: string;
1192
1441
  id: string;
1193
1442
  createdAt: string;
1194
1443
  updatedAt: string;
1444
+ _id: string;
1195
1445
  companyId: string;
1196
1446
  resourceGroupIds: string[];
1447
+ name: string;
1197
1448
  variableProfileId?: string | undefined;
1198
1449
  hierarchy: string[];
1199
1450
  description?: string | undefined;
@@ -1208,7 +1459,7 @@ export default class {
1208
1459
  display: string;
1209
1460
  click: string;
1210
1461
  format: "embed-image" | "embed-html" | "page-html";
1211
- outputTypes: ("json" | "content" | "empty" | "json-template" | "text")[];
1462
+ outputTypes: ("content" | "json" | "empty" | "json-template" | "text")[];
1212
1463
  parameters: {
1213
1464
  [x: string]: string;
1214
1465
  };
@@ -1235,7 +1486,7 @@ export default class {
1235
1486
  type: "landing";
1236
1487
  alias: string | null;
1237
1488
  format: "page-html";
1238
- outputTypes: ("json" | "content" | "empty" | "json-template" | "text")[];
1489
+ outputTypes: ("content" | "json" | "empty" | "json-template" | "text")[];
1239
1490
  parameters: {
1240
1491
  [x: string]: string;
1241
1492
  };
@@ -1247,7 +1498,7 @@ export default class {
1247
1498
  display: string;
1248
1499
  click: string;
1249
1500
  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";
1250
- outputTypes: ("json" | "content" | "empty" | "json-template" | "text")[];
1501
+ outputTypes: ("content" | "json" | "empty" | "json-template" | "text")[];
1251
1502
  parameters: {
1252
1503
  [x: string]: string;
1253
1504
  };
@@ -1498,13 +1749,13 @@ export default class {
1498
1749
  readonly status: WorkflowStatus & {
1499
1750
  readonly?: "__readonly" | undefined;
1500
1751
  };
1501
- name: string;
1502
- _id: string;
1503
1752
  id: string;
1504
1753
  createdAt: string;
1505
1754
  updatedAt: string;
1755
+ _id: string;
1506
1756
  companyId: string;
1507
1757
  resourceGroupIds: string[];
1758
+ name: string;
1508
1759
  variableProfileId?: string | undefined;
1509
1760
  hierarchy: string[];
1510
1761
  description?: string | undefined;
@@ -1519,7 +1770,7 @@ export default class {
1519
1770
  display: string;
1520
1771
  click: string;
1521
1772
  format: "embed-image" | "embed-html" | "page-html";
1522
- outputTypes: ("json" | "content" | "empty" | "json-template" | "text")[];
1773
+ outputTypes: ("content" | "json" | "empty" | "json-template" | "text")[];
1523
1774
  parameters: {
1524
1775
  [x: string]: string;
1525
1776
  };
@@ -1546,7 +1797,7 @@ export default class {
1546
1797
  type: "landing";
1547
1798
  alias: string | null;
1548
1799
  format: "page-html";
1549
- outputTypes: ("json" | "content" | "empty" | "json-template" | "text")[];
1800
+ outputTypes: ("content" | "json" | "empty" | "json-template" | "text")[];
1550
1801
  parameters: {
1551
1802
  [x: string]: string;
1552
1803
  };
@@ -1558,7 +1809,7 @@ export default class {
1558
1809
  display: string;
1559
1810
  click: string;
1560
1811
  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";
1561
- outputTypes: ("json" | "content" | "empty" | "json-template" | "text")[];
1812
+ outputTypes: ("content" | "json" | "empty" | "json-template" | "text")[];
1562
1813
  parameters: {
1563
1814
  [x: string]: string;
1564
1815
  };
@@ -1796,13 +2047,13 @@ export default class {
1796
2047
  readonly status: WorkflowStatus & {
1797
2048
  readonly?: "__readonly" | undefined;
1798
2049
  };
1799
- name: string;
1800
- _id: string;
1801
2050
  id: string;
1802
2051
  createdAt: string;
1803
2052
  updatedAt: string;
2053
+ _id: string;
1804
2054
  companyId: string;
1805
2055
  resourceGroupIds: string[];
2056
+ name: string;
1806
2057
  variableProfileId?: string | undefined;
1807
2058
  hierarchy: string[];
1808
2059
  description?: string | undefined;
@@ -1817,7 +2068,7 @@ export default class {
1817
2068
  display: string;
1818
2069
  click: string;
1819
2070
  format: "embed-image" | "embed-html" | "page-html";
1820
- outputTypes: ("json" | "content" | "empty" | "json-template" | "text")[];
2071
+ outputTypes: ("content" | "json" | "empty" | "json-template" | "text")[];
1821
2072
  parameters: {
1822
2073
  [x: string]: string;
1823
2074
  };
@@ -1844,7 +2095,7 @@ export default class {
1844
2095
  type: "landing";
1845
2096
  alias: string | null;
1846
2097
  format: "page-html";
1847
- outputTypes: ("json" | "content" | "empty" | "json-template" | "text")[];
2098
+ outputTypes: ("content" | "json" | "empty" | "json-template" | "text")[];
1848
2099
  parameters: {
1849
2100
  [x: string]: string;
1850
2101
  };
@@ -1856,7 +2107,7 @@ export default class {
1856
2107
  display: string;
1857
2108
  click: string;
1858
2109
  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";
1859
- outputTypes: ("json" | "content" | "empty" | "json-template" | "text")[];
2110
+ outputTypes: ("content" | "json" | "empty" | "json-template" | "text")[];
1860
2111
  parameters: {
1861
2112
  [x: string]: string;
1862
2113
  };
@@ -2157,13 +2408,13 @@ export default class {
2157
2408
  readonly status: WorkflowStatus & {
2158
2409
  readonly?: "__readonly" | undefined;
2159
2410
  };
2160
- name: string;
2161
- _id: string;
2162
2411
  id: string;
2163
2412
  createdAt: string;
2164
2413
  updatedAt: string;
2414
+ _id: string;
2165
2415
  companyId: string;
2166
2416
  resourceGroupIds: string[];
2417
+ name: string;
2167
2418
  variableProfileId?: string | undefined;
2168
2419
  hierarchy: string[];
2169
2420
  description?: string | undefined;
@@ -2178,7 +2429,7 @@ export default class {
2178
2429
  display: string;
2179
2430
  click: string;
2180
2431
  format: "embed-image" | "embed-html" | "page-html";
2181
- outputTypes: ("json" | "content" | "empty" | "json-template" | "text")[];
2432
+ outputTypes: ("content" | "json" | "empty" | "json-template" | "text")[];
2182
2433
  parameters: {
2183
2434
  [x: string]: string;
2184
2435
  };
@@ -2205,7 +2456,7 @@ export default class {
2205
2456
  type: "landing";
2206
2457
  alias: string | null;
2207
2458
  format: "page-html";
2208
- outputTypes: ("json" | "content" | "empty" | "json-template" | "text")[];
2459
+ outputTypes: ("content" | "json" | "empty" | "json-template" | "text")[];
2209
2460
  parameters: {
2210
2461
  [x: string]: string;
2211
2462
  };
@@ -2217,7 +2468,7 @@ export default class {
2217
2468
  display: string;
2218
2469
  click: string;
2219
2470
  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";
2220
- outputTypes: ("json" | "content" | "empty" | "json-template" | "text")[];
2471
+ outputTypes: ("content" | "json" | "empty" | "json-template" | "text")[];
2221
2472
  parameters: {
2222
2473
  [x: string]: string;
2223
2474
  };
@@ -2318,252 +2569,70 @@ export default class {
2318
2569
  offset: {
2319
2570
  value: number;
2320
2571
  unit: "minute" | "hour" | "day" | "week";
2321
- };
2322
- type: "offset";
2323
- } | {
2324
- datetime: string;
2325
- type: "absolute";
2326
- };
2327
- ideal?: {
2328
- offset: {
2329
- value: number;
2330
- unit: "minute" | "hour" | "day" | "week";
2331
- };
2332
- type: "offset";
2333
- } | {
2334
- datetime: string;
2335
- type: "absolute";
2336
- } | undefined;
2337
- };
2338
- } | undefined;
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";
2572
+ };
2573
+ type: "offset";
2574
+ } | {
2575
+ datetime: string;
2576
+ type: "absolute";
2542
2577
  };
2543
- type: "offset";
2544
- } | {
2545
- datetime: string;
2546
- type: "absolute";
2547
- } | undefined;
2578
+ ideal?: {
2579
+ offset: {
2580
+ value: number;
2581
+ unit: "minute" | "hour" | "day" | "week";
2582
+ };
2583
+ type: "offset";
2584
+ } | {
2585
+ datetime: string;
2586
+ type: "absolute";
2587
+ } | undefined;
2588
+ };
2548
2589
  } | undefined;
2549
- score?: number | undefined;
2590
+ branchTags?: {
2591
+ tagKeyId: string;
2592
+ tagValueId: string;
2593
+ branchId: string;
2594
+ }[] | undefined;
2550
2595
  } | 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?: {
2596
+ metadata?: {
2597
+ [x: string]: unknown;
2598
+ } | 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;
2567
2636
  start?: {
2568
2637
  offset: {
2569
2638
  value: number;
@@ -2594,100 +2663,31 @@ export default class {
2594
2663
  datetime: string;
2595
2664
  type: "absolute";
2596
2665
  } | undefined;
2597
- } | undefined;
2598
- score?: number | undefined;
2599
- } | 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;
2666
+ };
2667
+ };
2668
+ outputsForEntrypoint: {
2669
+ [x: string]: string[];
2670
+ };
2671
+ datasForEntrypoint: {
2672
+ [x: string]: string[];
2673
+ };
2690
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;
2686
+ } | undefined;
2687
+ } | undefined;
2688
+ readonly complexityScore?: (number & {
2689
+ readonly?: "__readonly" | undefined;
2690
+ }) | undefined;
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
- name: string;
2867
2866
  id: string;
2867
+ name: 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;
2945
2943
  id: string;
2946
2944
  type: import("./definitions").WorkflowSettingsType;
2947
2945
  createdAt: string;
2948
2946
  updatedAt: string;
2947
+ _id: string;
2949
2948
  companyId: string;
2950
2949
  resourceGroupIds: string[];
2950
+ name: string;
2951
2951
  definition: {
2952
2952
  [x: string]: unknown;
2953
2953
  };
2954
2954
  variables: ({
2955
- name: string;
2956
2955
  type: "array";
2956
+ name: string;
2957
2957
  description?: string | undefined;
2958
2958
  } | {
2959
- name: string;
2960
2959
  type: "scalar";
2960
+ name: string;
2961
2961
  description?: string | undefined;
2962
2962
  } | {
2963
- name: string;
2964
2963
  type: "fixed";
2964
+ name: string;
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
- name: string;
2979
2978
  resourceGroupIds: string[];
2979
+ name: string;
2980
2980
  definition: {
2981
2981
  [x: string]: unknown;
2982
2982
  };
2983
2983
  variables: ({
2984
- name: string;
2985
2984
  type: "array";
2985
+ name: string;
2986
2986
  description?: string | undefined;
2987
2987
  } | {
2988
- name: string;
2989
2988
  type: "scalar";
2989
+ name: string;
2990
2990
  description?: string | undefined;
2991
2991
  } | {
2992
- name: string;
2993
2992
  type: "fixed";
2993
+ name: string;
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;
3004
3002
  id: string;
3005
3003
  type: import("./definitions").WorkflowSettingsType;
3006
3004
  createdAt: string;
3007
3005
  updatedAt: string;
3006
+ _id: string;
3008
3007
  companyId: string;
3009
3008
  resourceGroupIds: string[];
3009
+ name: string;
3010
3010
  definition: {
3011
3011
  [x: string]: unknown;
3012
3012
  };
3013
3013
  variables: ({
3014
- name: string;
3015
3014
  type: "array";
3015
+ name: string;
3016
3016
  description?: string | undefined;
3017
3017
  } | {
3018
- name: string;
3019
3018
  type: "scalar";
3019
+ name: string;
3020
3020
  description?: string | undefined;
3021
3021
  } | {
3022
- name: string;
3023
3022
  type: "fixed";
3023
+ name: string;
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;
3044
3042
  id: string;
3045
3043
  type: import("./definitions").WorkflowSettingsType;
3046
3044
  createdAt: string;
3047
3045
  updatedAt: string;
3046
+ _id: string;
3048
3047
  companyId: string;
3049
3048
  resourceGroupIds: string[];
3049
+ name: string;
3050
3050
  definition: {
3051
3051
  [x: string]: unknown;
3052
3052
  };
3053
3053
  variables: ({
3054
- name: string;
3055
3054
  type: "array";
3055
+ name: string;
3056
3056
  description?: string | undefined;
3057
3057
  } | {
3058
- name: string;
3059
3058
  type: "scalar";
3059
+ name: string;
3060
3060
  description?: string | undefined;
3061
3061
  } | {
3062
- name: string;
3063
3062
  type: "fixed";
3063
+ name: string;
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
- name: string;
3085
3084
  type: "array";
3085
+ name: string;
3086
3086
  description?: string | undefined;
3087
3087
  } | {
3088
- name: string;
3089
3088
  type: "scalar";
3089
+ name: string;
3090
3090
  description?: string | undefined;
3091
3091
  } | {
3092
- name: string;
3093
3092
  type: "fixed";
3093
+ name: string;
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;
3104
3102
  id: string;
3105
3103
  type: import("./definitions").WorkflowSettingsType;
3106
3104
  createdAt: string;
3107
3105
  updatedAt: string;
3106
+ _id: string;
3108
3107
  companyId: string;
3109
3108
  resourceGroupIds: string[];
3109
+ name: string;
3110
3110
  definition: {
3111
3111
  [x: string]: unknown;
3112
3112
  };
3113
3113
  variables: ({
3114
- name: string;
3115
3114
  type: "array";
3115
+ name: string;
3116
3116
  description?: string | undefined;
3117
3117
  } | {
3118
- name: string;
3119
3118
  type: "scalar";
3119
+ name: string;
3120
3120
  description?: string | undefined;
3121
3121
  } | {
3122
- name: string;
3123
3122
  type: "fixed";
3123
+ name: string;
3124
3124
  index: number;
3125
3125
  description?: string | undefined;
3126
3126
  })[];