@epilot/sdk 2.3.7-rc1 → 2.3.7
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/definitions/design.json +257 -4
- package/definitions/entity-runtime.json +1 -1
- package/definitions/entity.json +4 -354
- package/dist/apis/access-token.cjs +6 -6
- package/dist/apis/access-token.js +1 -1
- package/dist/apis/address-suggestions.cjs +6 -6
- package/dist/apis/address-suggestions.js +1 -1
- package/dist/apis/address.cjs +6 -6
- package/dist/apis/address.js +1 -1
- package/dist/apis/ai-agents.cjs +6 -6
- package/dist/apis/ai-agents.js +1 -1
- package/dist/apis/app.cjs +6 -6
- package/dist/apis/app.js +1 -1
- package/dist/apis/audit-logs.cjs +6 -6
- package/dist/apis/audit-logs.js +1 -1
- package/dist/apis/automation.cjs +6 -6
- package/dist/apis/automation.js +1 -1
- package/dist/apis/billing.cjs +6 -6
- package/dist/apis/billing.js +1 -1
- package/dist/apis/blueprint-manifest.cjs +6 -6
- package/dist/apis/blueprint-manifest.js +1 -1
- package/dist/apis/configuration-hub.cjs +6 -6
- package/dist/apis/configuration-hub.js +1 -1
- package/dist/apis/consent.cjs +6 -6
- package/dist/apis/consent.js +1 -1
- package/dist/apis/customer-portal.cjs +6 -6
- package/dist/apis/customer-portal.js +1 -1
- package/dist/apis/dashboard.cjs +6 -6
- package/dist/apis/dashboard.js +1 -1
- package/dist/apis/data-governance.cjs +6 -6
- package/dist/apis/data-governance.js +1 -1
- package/dist/apis/deduplication.cjs +6 -6
- package/dist/apis/deduplication.js +1 -1
- package/dist/apis/design.cjs +6 -6
- package/dist/apis/design.d.cts +2 -2
- package/dist/apis/design.d.ts +2 -2
- package/dist/apis/design.js +1 -1
- package/dist/apis/document.cjs +6 -6
- package/dist/apis/document.js +1 -1
- package/dist/apis/email-settings.cjs +6 -6
- package/dist/apis/email-settings.js +1 -1
- package/dist/apis/email-template.cjs +6 -6
- package/dist/apis/email-template.js +1 -1
- package/dist/apis/entity-mapping.cjs +6 -6
- package/dist/apis/entity-mapping.js +1 -1
- package/dist/apis/entity.cjs +8 -8
- package/dist/apis/entity.js +2 -2
- package/dist/apis/environments.cjs +6 -6
- package/dist/apis/environments.js +1 -1
- package/dist/apis/event-catalog.cjs +6 -6
- package/dist/apis/event-catalog.js +1 -1
- package/dist/apis/file.cjs +6 -6
- package/dist/apis/file.js +1 -1
- package/dist/apis/iban.cjs +6 -6
- package/dist/apis/iban.js +1 -1
- package/dist/apis/integration-toolkit.cjs +6 -6
- package/dist/apis/integration-toolkit.js +1 -1
- package/dist/apis/journey.cjs +6 -6
- package/dist/apis/journey.js +1 -1
- package/dist/apis/kanban.cjs +6 -6
- package/dist/apis/kanban.js +1 -1
- package/dist/apis/message.cjs +6 -6
- package/dist/apis/message.js +1 -1
- package/dist/apis/metering.cjs +6 -6
- package/dist/apis/metering.js +1 -1
- package/dist/apis/notes.cjs +6 -6
- package/dist/apis/notes.js +1 -1
- package/dist/apis/notification.cjs +6 -6
- package/dist/apis/notification.js +1 -1
- package/dist/apis/organization.cjs +6 -6
- package/dist/apis/organization.js +1 -1
- package/dist/apis/partner-directory.cjs +6 -6
- package/dist/apis/partner-directory.js +1 -1
- package/dist/apis/permissions.cjs +6 -6
- package/dist/apis/permissions.js +1 -1
- package/dist/apis/pricing-tier.cjs +6 -6
- package/dist/apis/pricing-tier.js +1 -1
- package/dist/apis/pricing.cjs +6 -6
- package/dist/apis/pricing.js +1 -1
- package/dist/apis/purpose.cjs +6 -6
- package/dist/apis/purpose.js +1 -1
- package/dist/apis/query.cjs +6 -6
- package/dist/apis/query.js +1 -1
- package/dist/apis/sandbox.cjs +6 -6
- package/dist/apis/sandbox.js +1 -1
- package/dist/apis/sharing.cjs +6 -6
- package/dist/apis/sharing.js +1 -1
- package/dist/apis/submission.cjs +6 -6
- package/dist/apis/submission.js +1 -1
- package/dist/apis/target.cjs +6 -6
- package/dist/apis/target.js +1 -1
- package/dist/apis/targeting.cjs +6 -6
- package/dist/apis/targeting.js +1 -1
- package/dist/apis/template-variables.cjs +6 -6
- package/dist/apis/template-variables.js +1 -1
- package/dist/apis/user.cjs +6 -6
- package/dist/apis/user.js +1 -1
- package/dist/apis/validation-rules.cjs +6 -6
- package/dist/apis/validation-rules.js +1 -1
- package/dist/apis/webhooks.cjs +6 -6
- package/dist/apis/webhooks.js +1 -1
- package/dist/apis/workflow-definition.cjs +6 -6
- package/dist/apis/workflow-definition.js +1 -1
- package/dist/apis/workflow.cjs +6 -6
- package/dist/apis/workflow.js +1 -1
- package/dist/bin/cli.js +1 -1
- package/dist/chunk-F7W62NKV.js +14 -0
- package/dist/{chunk-OU5NVIJW.js → chunk-KY7TIDRJ.js} +3 -3
- package/dist/{chunk-FCT6W5UM.cjs → chunk-NOYX4W47.cjs} +3 -3
- package/dist/chunk-QA2OYK7N.cjs +14 -0
- package/dist/design-DROLIWS3.js +7 -0
- package/dist/design-XZKOZLTR.cjs +7 -0
- package/dist/design.d-BRre8iLg.d.cts +2346 -0
- package/dist/design.d-BRre8iLg.d.ts +2346 -0
- package/dist/entity-CK76MXVN.js +7 -0
- package/dist/entity-TFMH5VTZ.cjs +7 -0
- package/dist/{entity-runtime-LNAZILIN.js → entity-runtime-D4DV5XRM.js} +1 -1
- package/dist/entity-runtime-DUJTRYLQ.cjs +5 -0
- package/dist/index.cjs +10 -10
- package/dist/index.d.cts +1 -1
- package/dist/index.d.ts +1 -1
- package/dist/index.js +2 -2
- package/dist/{js-yaml-UPZKYVRY.js → js-yaml-DLCVPJ7G.js} +17 -15
- package/docs/design.md +665 -341
- package/docs/entity.md +39 -965
- package/package.json +1 -1
- package/dist/chunk-M6Z6ES3I.js +0 -14
- package/dist/chunk-UBQCDPW6.cjs +0 -14
- package/dist/design-NISDHPFD.cjs +0 -7
- package/dist/design-WL4AZIGX.js +0 -7
- package/dist/design.d-DTo29S0F.d.cts +0 -960
- package/dist/design.d-DTo29S0F.d.ts +0 -960
- package/dist/entity-VDUN7SYC.cjs +0 -7
- package/dist/entity-WWM2Z7BU.js +0 -7
- package/dist/entity-runtime-3J5EDLXP.cjs +0 -5
|
@@ -0,0 +1,2346 @@
|
|
|
1
|
+
import { OpenAPIClient, Parameters, UnknownParamsObject, AxiosRequestConfig, OperationResponse } from 'openapi-client-axios';
|
|
2
|
+
|
|
3
|
+
/* Auto-copied from design-client */
|
|
4
|
+
|
|
5
|
+
|
|
6
|
+
declare namespace Components {
|
|
7
|
+
namespace Schemas {
|
|
8
|
+
export interface AddConsumerReq {
|
|
9
|
+
consumer_id: /**
|
|
10
|
+
* Id of the design
|
|
11
|
+
* example:
|
|
12
|
+
* 4a062990-a6a3-11eb-9828-4f3da7d4935a
|
|
13
|
+
*/
|
|
14
|
+
DesignId;
|
|
15
|
+
consumer_name: string;
|
|
16
|
+
should_delete?: string;
|
|
17
|
+
}
|
|
18
|
+
export interface AddDesignReq {
|
|
19
|
+
design: {
|
|
20
|
+
brand_id?: string;
|
|
21
|
+
brand_name?: string;
|
|
22
|
+
user?: {
|
|
23
|
+
emailaddress?: string;
|
|
24
|
+
fullname?: string;
|
|
25
|
+
name?: string;
|
|
26
|
+
userid?: string;
|
|
27
|
+
};
|
|
28
|
+
style_name: string;
|
|
29
|
+
style: {
|
|
30
|
+
logo?: LogoData;
|
|
31
|
+
palette: PaletteData;
|
|
32
|
+
typography: TypographyData;
|
|
33
|
+
shape?: ShapeData;
|
|
34
|
+
consumer: ConsumerData;
|
|
35
|
+
};
|
|
36
|
+
is_default?: boolean;
|
|
37
|
+
/**
|
|
38
|
+
* The manifest IDs associated with this design
|
|
39
|
+
*/
|
|
40
|
+
_manifest?: string[];
|
|
41
|
+
custom_theme?: string;
|
|
42
|
+
use_custom_theme?: boolean;
|
|
43
|
+
/**
|
|
44
|
+
* Design tokens for journey customization
|
|
45
|
+
*/
|
|
46
|
+
design_tokens?: {
|
|
47
|
+
coupon?: string;
|
|
48
|
+
cashback?: string;
|
|
49
|
+
custom_css?: string;
|
|
50
|
+
/**
|
|
51
|
+
* Accent color, defaults to primary
|
|
52
|
+
*/
|
|
53
|
+
accent_color?: string;
|
|
54
|
+
/**
|
|
55
|
+
* Global outline/focus color
|
|
56
|
+
*/
|
|
57
|
+
outline_color?: string;
|
|
58
|
+
/**
|
|
59
|
+
* Divider line color
|
|
60
|
+
*/
|
|
61
|
+
divider_color?: string;
|
|
62
|
+
/**
|
|
63
|
+
* Link text color
|
|
64
|
+
*/
|
|
65
|
+
link_color?: string;
|
|
66
|
+
/**
|
|
67
|
+
* Link hover text color
|
|
68
|
+
*/
|
|
69
|
+
link_hover_color?: string;
|
|
70
|
+
/**
|
|
71
|
+
* Font size scale factor
|
|
72
|
+
*/
|
|
73
|
+
font_size_scale?: "xs" | "sm" | "md" | "lg" | "xl";
|
|
74
|
+
/**
|
|
75
|
+
* Topbar minimum height in pixels
|
|
76
|
+
*/
|
|
77
|
+
topbar_height?: number;
|
|
78
|
+
/**
|
|
79
|
+
* Logo/content alignment in the top bar
|
|
80
|
+
*/
|
|
81
|
+
topbar_logo_alignment?: "flex-start" | "center" | "flex-end";
|
|
82
|
+
/**
|
|
83
|
+
* Logo size in pixels
|
|
84
|
+
*/
|
|
85
|
+
logo_size?: number;
|
|
86
|
+
/**
|
|
87
|
+
* Input field background color
|
|
88
|
+
*/
|
|
89
|
+
input_background?: string;
|
|
90
|
+
/**
|
|
91
|
+
* Input field border color
|
|
92
|
+
*/
|
|
93
|
+
input_border_color?: string;
|
|
94
|
+
/**
|
|
95
|
+
* Input field text color
|
|
96
|
+
*/
|
|
97
|
+
input_text_color?: string;
|
|
98
|
+
/**
|
|
99
|
+
* Input field label color
|
|
100
|
+
*/
|
|
101
|
+
input_label_color?: string;
|
|
102
|
+
/**
|
|
103
|
+
* Input field border radius in pixels
|
|
104
|
+
*/
|
|
105
|
+
input_border_radius?: number;
|
|
106
|
+
/**
|
|
107
|
+
* Input field height in pixels
|
|
108
|
+
*/
|
|
109
|
+
input_height?: number;
|
|
110
|
+
/**
|
|
111
|
+
* Input field variant style
|
|
112
|
+
*/
|
|
113
|
+
input_variant?: "outlined" | "filled" | "underlined";
|
|
114
|
+
/**
|
|
115
|
+
* Primary button background color or gradient
|
|
116
|
+
*/
|
|
117
|
+
button_primary_bg?: string;
|
|
118
|
+
/**
|
|
119
|
+
* Primary button text color
|
|
120
|
+
*/
|
|
121
|
+
button_primary_text?: string;
|
|
122
|
+
/**
|
|
123
|
+
* Primary button hover background color or gradient
|
|
124
|
+
*/
|
|
125
|
+
button_primary_hover_bg?: string;
|
|
126
|
+
/**
|
|
127
|
+
* Primary button hover text color
|
|
128
|
+
*/
|
|
129
|
+
button_primary_hover_text?: string;
|
|
130
|
+
/**
|
|
131
|
+
* Outlined button border color
|
|
132
|
+
*/
|
|
133
|
+
button_outlined_border?: string;
|
|
134
|
+
/**
|
|
135
|
+
* Outlined button text color
|
|
136
|
+
*/
|
|
137
|
+
button_outlined_text?: string;
|
|
138
|
+
/**
|
|
139
|
+
* Outlined button hover background color
|
|
140
|
+
*/
|
|
141
|
+
button_outlined_hover_bg?: string;
|
|
142
|
+
/**
|
|
143
|
+
* Outlined button hover text color
|
|
144
|
+
*/
|
|
145
|
+
button_outlined_hover_text?: string;
|
|
146
|
+
/**
|
|
147
|
+
* Ghost button background color
|
|
148
|
+
*/
|
|
149
|
+
button_ghost_bg?: string;
|
|
150
|
+
/**
|
|
151
|
+
* Ghost button text color
|
|
152
|
+
*/
|
|
153
|
+
button_ghost_text?: string;
|
|
154
|
+
/**
|
|
155
|
+
* Ghost button hover background color
|
|
156
|
+
*/
|
|
157
|
+
button_ghost_hover_bg?: string;
|
|
158
|
+
/**
|
|
159
|
+
* Ghost button hover text color
|
|
160
|
+
*/
|
|
161
|
+
button_ghost_hover_text?: string;
|
|
162
|
+
/**
|
|
163
|
+
* Button border radius in pixels
|
|
164
|
+
*/
|
|
165
|
+
button_border_radius?: number;
|
|
166
|
+
/**
|
|
167
|
+
* Button height in pixels
|
|
168
|
+
*/
|
|
169
|
+
button_height?: number;
|
|
170
|
+
/**
|
|
171
|
+
* Card background color
|
|
172
|
+
*/
|
|
173
|
+
card_background?: string;
|
|
174
|
+
/**
|
|
175
|
+
* Card border color for outlined variant
|
|
176
|
+
*/
|
|
177
|
+
card_border_color?: string;
|
|
178
|
+
/**
|
|
179
|
+
* Card visual variant
|
|
180
|
+
*/
|
|
181
|
+
card_variant?: "shadow" | "outlined";
|
|
182
|
+
/**
|
|
183
|
+
* Summary card background color
|
|
184
|
+
*/
|
|
185
|
+
summary_card_background?: string;
|
|
186
|
+
/**
|
|
187
|
+
* Toggle button selected background color
|
|
188
|
+
*/
|
|
189
|
+
toggle_selected_bg?: string;
|
|
190
|
+
/**
|
|
191
|
+
* Toggle button selected text color
|
|
192
|
+
*/
|
|
193
|
+
toggle_selected_text?: string;
|
|
194
|
+
/**
|
|
195
|
+
* Toggle button hover background color
|
|
196
|
+
*/
|
|
197
|
+
toggle_hover_bg?: string;
|
|
198
|
+
/**
|
|
199
|
+
* Toggle button hover text color
|
|
200
|
+
*/
|
|
201
|
+
toggle_hover_text?: string;
|
|
202
|
+
/**
|
|
203
|
+
* Toggle group wrapper border color
|
|
204
|
+
*/
|
|
205
|
+
toggle_border_color?: string;
|
|
206
|
+
/**
|
|
207
|
+
* Dropdown option hover background color
|
|
208
|
+
*/
|
|
209
|
+
dropdown_hover_bg?: string;
|
|
210
|
+
/**
|
|
211
|
+
* Dropdown option hover text color
|
|
212
|
+
*/
|
|
213
|
+
dropdown_hover_text?: string;
|
|
214
|
+
/**
|
|
215
|
+
* Dropdown option selected background color
|
|
216
|
+
*/
|
|
217
|
+
dropdown_selected_bg?: string;
|
|
218
|
+
/**
|
|
219
|
+
* Dropdown option selected text color
|
|
220
|
+
*/
|
|
221
|
+
dropdown_selected_text?: string;
|
|
222
|
+
/**
|
|
223
|
+
* Switch unchecked thumb color
|
|
224
|
+
*/
|
|
225
|
+
switch_unchecked_color?: string;
|
|
226
|
+
/**
|
|
227
|
+
* Switch unchecked track background color
|
|
228
|
+
*/
|
|
229
|
+
switch_unchecked_bg?: string;
|
|
230
|
+
/**
|
|
231
|
+
* Switch border radius in pixels
|
|
232
|
+
*/
|
|
233
|
+
switch_border_radius?: number;
|
|
234
|
+
/**
|
|
235
|
+
* Checkbox unchecked border color
|
|
236
|
+
*/
|
|
237
|
+
checkbox_unchecked_color?: string;
|
|
238
|
+
/**
|
|
239
|
+
* Checkbox label text color
|
|
240
|
+
*/
|
|
241
|
+
checkbox_label_color?: string;
|
|
242
|
+
/**
|
|
243
|
+
* Radio button unchecked border color
|
|
244
|
+
*/
|
|
245
|
+
radio_unchecked_color?: string;
|
|
246
|
+
/**
|
|
247
|
+
* Radio button label text color
|
|
248
|
+
*/
|
|
249
|
+
radio_label_color?: string;
|
|
250
|
+
/**
|
|
251
|
+
* Date picker selected date background color
|
|
252
|
+
*/
|
|
253
|
+
datepicker_selected_bg?: string;
|
|
254
|
+
/**
|
|
255
|
+
* Date picker selected date text color
|
|
256
|
+
*/
|
|
257
|
+
datepicker_selected_color?: string;
|
|
258
|
+
/**
|
|
259
|
+
* Date picker border radius in pixels
|
|
260
|
+
*/
|
|
261
|
+
datepicker_border_radius?: number;
|
|
262
|
+
/**
|
|
263
|
+
* Chip background color
|
|
264
|
+
*/
|
|
265
|
+
chip_background?: string;
|
|
266
|
+
/**
|
|
267
|
+
* Chip hover background color
|
|
268
|
+
*/
|
|
269
|
+
chip_hover_background?: string;
|
|
270
|
+
/**
|
|
271
|
+
* Chip text color
|
|
272
|
+
*/
|
|
273
|
+
chip_text_color?: string;
|
|
274
|
+
/**
|
|
275
|
+
* Chip hover text color
|
|
276
|
+
*/
|
|
277
|
+
chip_hover_text_color?: string;
|
|
278
|
+
};
|
|
279
|
+
};
|
|
280
|
+
}
|
|
281
|
+
export interface AddDesignRes {
|
|
282
|
+
design?: {
|
|
283
|
+
id?: string;
|
|
284
|
+
/**
|
|
285
|
+
* Creation date and time
|
|
286
|
+
* example:
|
|
287
|
+
* 2021-01-30T08:30:00Z
|
|
288
|
+
*/
|
|
289
|
+
created_at?: string;
|
|
290
|
+
created_by?: string;
|
|
291
|
+
edited: boolean;
|
|
292
|
+
last_modified_at?: string;
|
|
293
|
+
brand_id?: string;
|
|
294
|
+
brand_name?: string;
|
|
295
|
+
user?: {
|
|
296
|
+
emailaddress?: string;
|
|
297
|
+
fullname?: string;
|
|
298
|
+
name?: string;
|
|
299
|
+
userid?: string;
|
|
300
|
+
};
|
|
301
|
+
style_name: string;
|
|
302
|
+
style: {
|
|
303
|
+
logo?: LogoData;
|
|
304
|
+
palette: PaletteData;
|
|
305
|
+
typography: TypographyData;
|
|
306
|
+
shape?: ShapeData;
|
|
307
|
+
consumer: ConsumerData;
|
|
308
|
+
};
|
|
309
|
+
is_default?: boolean;
|
|
310
|
+
/**
|
|
311
|
+
* The manifest IDs associated with this design
|
|
312
|
+
*/
|
|
313
|
+
_manifest?: string[];
|
|
314
|
+
custom_theme?: string;
|
|
315
|
+
use_custom_theme?: boolean;
|
|
316
|
+
/**
|
|
317
|
+
* Design tokens for journey customization
|
|
318
|
+
*/
|
|
319
|
+
design_tokens?: {
|
|
320
|
+
coupon?: string;
|
|
321
|
+
cashback?: string;
|
|
322
|
+
custom_css?: string;
|
|
323
|
+
/**
|
|
324
|
+
* Accent color, defaults to primary
|
|
325
|
+
*/
|
|
326
|
+
accent_color?: string;
|
|
327
|
+
/**
|
|
328
|
+
* Global outline/focus color
|
|
329
|
+
*/
|
|
330
|
+
outline_color?: string;
|
|
331
|
+
/**
|
|
332
|
+
* Divider line color
|
|
333
|
+
*/
|
|
334
|
+
divider_color?: string;
|
|
335
|
+
/**
|
|
336
|
+
* Link text color
|
|
337
|
+
*/
|
|
338
|
+
link_color?: string;
|
|
339
|
+
/**
|
|
340
|
+
* Link hover text color
|
|
341
|
+
*/
|
|
342
|
+
link_hover_color?: string;
|
|
343
|
+
/**
|
|
344
|
+
* Font size scale factor
|
|
345
|
+
*/
|
|
346
|
+
font_size_scale?: "xs" | "sm" | "md" | "lg" | "xl";
|
|
347
|
+
/**
|
|
348
|
+
* Topbar minimum height in pixels
|
|
349
|
+
*/
|
|
350
|
+
topbar_height?: number;
|
|
351
|
+
/**
|
|
352
|
+
* Logo/content alignment in the top bar
|
|
353
|
+
*/
|
|
354
|
+
topbar_logo_alignment?: "flex-start" | "center" | "flex-end";
|
|
355
|
+
/**
|
|
356
|
+
* Logo size in pixels
|
|
357
|
+
*/
|
|
358
|
+
logo_size?: number;
|
|
359
|
+
/**
|
|
360
|
+
* Input field background color
|
|
361
|
+
*/
|
|
362
|
+
input_background?: string;
|
|
363
|
+
/**
|
|
364
|
+
* Input field border color
|
|
365
|
+
*/
|
|
366
|
+
input_border_color?: string;
|
|
367
|
+
/**
|
|
368
|
+
* Input field text color
|
|
369
|
+
*/
|
|
370
|
+
input_text_color?: string;
|
|
371
|
+
/**
|
|
372
|
+
* Input field label color
|
|
373
|
+
*/
|
|
374
|
+
input_label_color?: string;
|
|
375
|
+
/**
|
|
376
|
+
* Input field border radius in pixels
|
|
377
|
+
*/
|
|
378
|
+
input_border_radius?: number;
|
|
379
|
+
/**
|
|
380
|
+
* Input field height in pixels
|
|
381
|
+
*/
|
|
382
|
+
input_height?: number;
|
|
383
|
+
/**
|
|
384
|
+
* Input field variant style
|
|
385
|
+
*/
|
|
386
|
+
input_variant?: "outlined" | "filled" | "underlined";
|
|
387
|
+
/**
|
|
388
|
+
* Primary button background color or gradient
|
|
389
|
+
*/
|
|
390
|
+
button_primary_bg?: string;
|
|
391
|
+
/**
|
|
392
|
+
* Primary button text color
|
|
393
|
+
*/
|
|
394
|
+
button_primary_text?: string;
|
|
395
|
+
/**
|
|
396
|
+
* Primary button hover background color or gradient
|
|
397
|
+
*/
|
|
398
|
+
button_primary_hover_bg?: string;
|
|
399
|
+
/**
|
|
400
|
+
* Primary button hover text color
|
|
401
|
+
*/
|
|
402
|
+
button_primary_hover_text?: string;
|
|
403
|
+
/**
|
|
404
|
+
* Outlined button border color
|
|
405
|
+
*/
|
|
406
|
+
button_outlined_border?: string;
|
|
407
|
+
/**
|
|
408
|
+
* Outlined button text color
|
|
409
|
+
*/
|
|
410
|
+
button_outlined_text?: string;
|
|
411
|
+
/**
|
|
412
|
+
* Outlined button hover background color
|
|
413
|
+
*/
|
|
414
|
+
button_outlined_hover_bg?: string;
|
|
415
|
+
/**
|
|
416
|
+
* Outlined button hover text color
|
|
417
|
+
*/
|
|
418
|
+
button_outlined_hover_text?: string;
|
|
419
|
+
/**
|
|
420
|
+
* Ghost button background color
|
|
421
|
+
*/
|
|
422
|
+
button_ghost_bg?: string;
|
|
423
|
+
/**
|
|
424
|
+
* Ghost button text color
|
|
425
|
+
*/
|
|
426
|
+
button_ghost_text?: string;
|
|
427
|
+
/**
|
|
428
|
+
* Ghost button hover background color
|
|
429
|
+
*/
|
|
430
|
+
button_ghost_hover_bg?: string;
|
|
431
|
+
/**
|
|
432
|
+
* Ghost button hover text color
|
|
433
|
+
*/
|
|
434
|
+
button_ghost_hover_text?: string;
|
|
435
|
+
/**
|
|
436
|
+
* Button border radius in pixels
|
|
437
|
+
*/
|
|
438
|
+
button_border_radius?: number;
|
|
439
|
+
/**
|
|
440
|
+
* Button height in pixels
|
|
441
|
+
*/
|
|
442
|
+
button_height?: number;
|
|
443
|
+
/**
|
|
444
|
+
* Card background color
|
|
445
|
+
*/
|
|
446
|
+
card_background?: string;
|
|
447
|
+
/**
|
|
448
|
+
* Card border color for outlined variant
|
|
449
|
+
*/
|
|
450
|
+
card_border_color?: string;
|
|
451
|
+
/**
|
|
452
|
+
* Card visual variant
|
|
453
|
+
*/
|
|
454
|
+
card_variant?: "shadow" | "outlined";
|
|
455
|
+
/**
|
|
456
|
+
* Summary card background color
|
|
457
|
+
*/
|
|
458
|
+
summary_card_background?: string;
|
|
459
|
+
/**
|
|
460
|
+
* Toggle button selected background color
|
|
461
|
+
*/
|
|
462
|
+
toggle_selected_bg?: string;
|
|
463
|
+
/**
|
|
464
|
+
* Toggle button selected text color
|
|
465
|
+
*/
|
|
466
|
+
toggle_selected_text?: string;
|
|
467
|
+
/**
|
|
468
|
+
* Toggle button hover background color
|
|
469
|
+
*/
|
|
470
|
+
toggle_hover_bg?: string;
|
|
471
|
+
/**
|
|
472
|
+
* Toggle button hover text color
|
|
473
|
+
*/
|
|
474
|
+
toggle_hover_text?: string;
|
|
475
|
+
/**
|
|
476
|
+
* Toggle group wrapper border color
|
|
477
|
+
*/
|
|
478
|
+
toggle_border_color?: string;
|
|
479
|
+
/**
|
|
480
|
+
* Dropdown option hover background color
|
|
481
|
+
*/
|
|
482
|
+
dropdown_hover_bg?: string;
|
|
483
|
+
/**
|
|
484
|
+
* Dropdown option hover text color
|
|
485
|
+
*/
|
|
486
|
+
dropdown_hover_text?: string;
|
|
487
|
+
/**
|
|
488
|
+
* Dropdown option selected background color
|
|
489
|
+
*/
|
|
490
|
+
dropdown_selected_bg?: string;
|
|
491
|
+
/**
|
|
492
|
+
* Dropdown option selected text color
|
|
493
|
+
*/
|
|
494
|
+
dropdown_selected_text?: string;
|
|
495
|
+
/**
|
|
496
|
+
* Switch unchecked thumb color
|
|
497
|
+
*/
|
|
498
|
+
switch_unchecked_color?: string;
|
|
499
|
+
/**
|
|
500
|
+
* Switch unchecked track background color
|
|
501
|
+
*/
|
|
502
|
+
switch_unchecked_bg?: string;
|
|
503
|
+
/**
|
|
504
|
+
* Switch border radius in pixels
|
|
505
|
+
*/
|
|
506
|
+
switch_border_radius?: number;
|
|
507
|
+
/**
|
|
508
|
+
* Checkbox unchecked border color
|
|
509
|
+
*/
|
|
510
|
+
checkbox_unchecked_color?: string;
|
|
511
|
+
/**
|
|
512
|
+
* Checkbox label text color
|
|
513
|
+
*/
|
|
514
|
+
checkbox_label_color?: string;
|
|
515
|
+
/**
|
|
516
|
+
* Radio button unchecked border color
|
|
517
|
+
*/
|
|
518
|
+
radio_unchecked_color?: string;
|
|
519
|
+
/**
|
|
520
|
+
* Radio button label text color
|
|
521
|
+
*/
|
|
522
|
+
radio_label_color?: string;
|
|
523
|
+
/**
|
|
524
|
+
* Date picker selected date background color
|
|
525
|
+
*/
|
|
526
|
+
datepicker_selected_bg?: string;
|
|
527
|
+
/**
|
|
528
|
+
* Date picker selected date text color
|
|
529
|
+
*/
|
|
530
|
+
datepicker_selected_color?: string;
|
|
531
|
+
/**
|
|
532
|
+
* Date picker border radius in pixels
|
|
533
|
+
*/
|
|
534
|
+
datepicker_border_radius?: number;
|
|
535
|
+
/**
|
|
536
|
+
* Chip background color
|
|
537
|
+
*/
|
|
538
|
+
chip_background?: string;
|
|
539
|
+
/**
|
|
540
|
+
* Chip hover background color
|
|
541
|
+
*/
|
|
542
|
+
chip_hover_background?: string;
|
|
543
|
+
/**
|
|
544
|
+
* Chip text color
|
|
545
|
+
*/
|
|
546
|
+
chip_text_color?: string;
|
|
547
|
+
/**
|
|
548
|
+
* Chip hover text color
|
|
549
|
+
*/
|
|
550
|
+
chip_hover_text_color?: string;
|
|
551
|
+
};
|
|
552
|
+
};
|
|
553
|
+
}
|
|
554
|
+
/**
|
|
555
|
+
* Type of application that uses the design
|
|
556
|
+
* example:
|
|
557
|
+
* journey
|
|
558
|
+
*/
|
|
559
|
+
export type Application = string;
|
|
560
|
+
export interface BrandItem {
|
|
561
|
+
id: string;
|
|
562
|
+
name: string;
|
|
563
|
+
created_by?: string;
|
|
564
|
+
created_date?: string;
|
|
565
|
+
main_brand?: string;
|
|
566
|
+
organization_id?: string;
|
|
567
|
+
updated_date?: string;
|
|
568
|
+
updated_by?: string;
|
|
569
|
+
status?: string;
|
|
570
|
+
}
|
|
571
|
+
export interface ConsumerData {
|
|
572
|
+
widgets: (WidgetData)[];
|
|
573
|
+
customer_portals: (CustomerPortalData)[];
|
|
574
|
+
}
|
|
575
|
+
export interface CustomStyle {
|
|
576
|
+
custom_theme?: string;
|
|
577
|
+
use_custom_theme?: boolean;
|
|
578
|
+
}
|
|
579
|
+
export interface CustomerPortalData {
|
|
580
|
+
id: string;
|
|
581
|
+
name: string;
|
|
582
|
+
}
|
|
583
|
+
/**
|
|
584
|
+
* Id of the design
|
|
585
|
+
* example:
|
|
586
|
+
* 4a062990-a6a3-11eb-9828-4f3da7d4935a
|
|
587
|
+
*/
|
|
588
|
+
export type DesignId = string;
|
|
589
|
+
export interface DesignItem {
|
|
590
|
+
brand_id?: string;
|
|
591
|
+
brand_name?: string;
|
|
592
|
+
user?: {
|
|
593
|
+
emailaddress?: string;
|
|
594
|
+
fullname?: string;
|
|
595
|
+
name?: string;
|
|
596
|
+
userid?: string;
|
|
597
|
+
};
|
|
598
|
+
style_name: string;
|
|
599
|
+
style: {
|
|
600
|
+
logo?: LogoData;
|
|
601
|
+
palette: PaletteData;
|
|
602
|
+
typography: TypographyData;
|
|
603
|
+
shape?: ShapeData;
|
|
604
|
+
consumer: ConsumerData;
|
|
605
|
+
};
|
|
606
|
+
is_default?: boolean;
|
|
607
|
+
/**
|
|
608
|
+
* The manifest IDs associated with this design
|
|
609
|
+
*/
|
|
610
|
+
_manifest?: string[];
|
|
611
|
+
}
|
|
612
|
+
export interface DesignParameters {
|
|
613
|
+
designId?: /**
|
|
614
|
+
* Id of the design
|
|
615
|
+
* example:
|
|
616
|
+
* 4a062990-a6a3-11eb-9828-4f3da7d4935a
|
|
617
|
+
*/
|
|
618
|
+
DesignId;
|
|
619
|
+
theme?: /**
|
|
620
|
+
* Type of theme to be parsed and returned
|
|
621
|
+
* example:
|
|
622
|
+
* NEW
|
|
623
|
+
*/
|
|
624
|
+
Theme;
|
|
625
|
+
application?: /**
|
|
626
|
+
* Type of application that uses the design
|
|
627
|
+
* example:
|
|
628
|
+
* journey
|
|
629
|
+
*/
|
|
630
|
+
Application;
|
|
631
|
+
}
|
|
632
|
+
export interface ErrorResp {
|
|
633
|
+
message?: string;
|
|
634
|
+
error?: {
|
|
635
|
+
[key: string]: any;
|
|
636
|
+
};
|
|
637
|
+
}
|
|
638
|
+
export interface FileData {
|
|
639
|
+
name: string;
|
|
640
|
+
display_name?: string;
|
|
641
|
+
file_type?: "LOGO" | "FONT" | "IMAGE";
|
|
642
|
+
s3_object_key: string;
|
|
643
|
+
url: string;
|
|
644
|
+
}
|
|
645
|
+
export interface FontData {
|
|
646
|
+
font_id: string;
|
|
647
|
+
font_name: string;
|
|
648
|
+
font_family?: string;
|
|
649
|
+
font_weight_regular?: string;
|
|
650
|
+
font_weight_medium?: string;
|
|
651
|
+
font_weight_bold?: string;
|
|
652
|
+
urls: (FontResponseUrl)[];
|
|
653
|
+
}
|
|
654
|
+
export interface FontResponseUrl {
|
|
655
|
+
type?: "WOFF2" | "WOFF" | "TTF" | "EOT";
|
|
656
|
+
url?: string;
|
|
657
|
+
}
|
|
658
|
+
export interface GetAllDesignsRes {
|
|
659
|
+
designs?: {
|
|
660
|
+
id?: string;
|
|
661
|
+
/**
|
|
662
|
+
* Creation date and time
|
|
663
|
+
* example:
|
|
664
|
+
* 2021-01-30T08:30:00Z
|
|
665
|
+
*/
|
|
666
|
+
created_at?: string;
|
|
667
|
+
created_by?: string;
|
|
668
|
+
edited: boolean;
|
|
669
|
+
last_modified_at?: string;
|
|
670
|
+
brand_id?: string;
|
|
671
|
+
brand_name?: string;
|
|
672
|
+
user?: {
|
|
673
|
+
emailaddress?: string;
|
|
674
|
+
fullname?: string;
|
|
675
|
+
name?: string;
|
|
676
|
+
userid?: string;
|
|
677
|
+
};
|
|
678
|
+
style_name: string;
|
|
679
|
+
style: {
|
|
680
|
+
logo?: LogoData;
|
|
681
|
+
palette: PaletteData;
|
|
682
|
+
typography: TypographyData;
|
|
683
|
+
shape?: ShapeData;
|
|
684
|
+
consumer: ConsumerData;
|
|
685
|
+
};
|
|
686
|
+
is_default?: boolean;
|
|
687
|
+
/**
|
|
688
|
+
* The manifest IDs associated with this design
|
|
689
|
+
*/
|
|
690
|
+
_manifest?: string[];
|
|
691
|
+
custom_theme?: string;
|
|
692
|
+
use_custom_theme?: boolean;
|
|
693
|
+
/**
|
|
694
|
+
* Design tokens for journey customization
|
|
695
|
+
*/
|
|
696
|
+
design_tokens?: {
|
|
697
|
+
coupon?: string;
|
|
698
|
+
cashback?: string;
|
|
699
|
+
custom_css?: string;
|
|
700
|
+
/**
|
|
701
|
+
* Accent color, defaults to primary
|
|
702
|
+
*/
|
|
703
|
+
accent_color?: string;
|
|
704
|
+
/**
|
|
705
|
+
* Global outline/focus color
|
|
706
|
+
*/
|
|
707
|
+
outline_color?: string;
|
|
708
|
+
/**
|
|
709
|
+
* Divider line color
|
|
710
|
+
*/
|
|
711
|
+
divider_color?: string;
|
|
712
|
+
/**
|
|
713
|
+
* Link text color
|
|
714
|
+
*/
|
|
715
|
+
link_color?: string;
|
|
716
|
+
/**
|
|
717
|
+
* Link hover text color
|
|
718
|
+
*/
|
|
719
|
+
link_hover_color?: string;
|
|
720
|
+
/**
|
|
721
|
+
* Font size scale factor
|
|
722
|
+
*/
|
|
723
|
+
font_size_scale?: "xs" | "sm" | "md" | "lg" | "xl";
|
|
724
|
+
/**
|
|
725
|
+
* Topbar minimum height in pixels
|
|
726
|
+
*/
|
|
727
|
+
topbar_height?: number;
|
|
728
|
+
/**
|
|
729
|
+
* Logo/content alignment in the top bar
|
|
730
|
+
*/
|
|
731
|
+
topbar_logo_alignment?: "flex-start" | "center" | "flex-end";
|
|
732
|
+
/**
|
|
733
|
+
* Logo size in pixels
|
|
734
|
+
*/
|
|
735
|
+
logo_size?: number;
|
|
736
|
+
/**
|
|
737
|
+
* Input field background color
|
|
738
|
+
*/
|
|
739
|
+
input_background?: string;
|
|
740
|
+
/**
|
|
741
|
+
* Input field border color
|
|
742
|
+
*/
|
|
743
|
+
input_border_color?: string;
|
|
744
|
+
/**
|
|
745
|
+
* Input field text color
|
|
746
|
+
*/
|
|
747
|
+
input_text_color?: string;
|
|
748
|
+
/**
|
|
749
|
+
* Input field label color
|
|
750
|
+
*/
|
|
751
|
+
input_label_color?: string;
|
|
752
|
+
/**
|
|
753
|
+
* Input field border radius in pixels
|
|
754
|
+
*/
|
|
755
|
+
input_border_radius?: number;
|
|
756
|
+
/**
|
|
757
|
+
* Input field height in pixels
|
|
758
|
+
*/
|
|
759
|
+
input_height?: number;
|
|
760
|
+
/**
|
|
761
|
+
* Input field variant style
|
|
762
|
+
*/
|
|
763
|
+
input_variant?: "outlined" | "filled" | "underlined";
|
|
764
|
+
/**
|
|
765
|
+
* Primary button background color or gradient
|
|
766
|
+
*/
|
|
767
|
+
button_primary_bg?: string;
|
|
768
|
+
/**
|
|
769
|
+
* Primary button text color
|
|
770
|
+
*/
|
|
771
|
+
button_primary_text?: string;
|
|
772
|
+
/**
|
|
773
|
+
* Primary button hover background color or gradient
|
|
774
|
+
*/
|
|
775
|
+
button_primary_hover_bg?: string;
|
|
776
|
+
/**
|
|
777
|
+
* Primary button hover text color
|
|
778
|
+
*/
|
|
779
|
+
button_primary_hover_text?: string;
|
|
780
|
+
/**
|
|
781
|
+
* Outlined button border color
|
|
782
|
+
*/
|
|
783
|
+
button_outlined_border?: string;
|
|
784
|
+
/**
|
|
785
|
+
* Outlined button text color
|
|
786
|
+
*/
|
|
787
|
+
button_outlined_text?: string;
|
|
788
|
+
/**
|
|
789
|
+
* Outlined button hover background color
|
|
790
|
+
*/
|
|
791
|
+
button_outlined_hover_bg?: string;
|
|
792
|
+
/**
|
|
793
|
+
* Outlined button hover text color
|
|
794
|
+
*/
|
|
795
|
+
button_outlined_hover_text?: string;
|
|
796
|
+
/**
|
|
797
|
+
* Ghost button background color
|
|
798
|
+
*/
|
|
799
|
+
button_ghost_bg?: string;
|
|
800
|
+
/**
|
|
801
|
+
* Ghost button text color
|
|
802
|
+
*/
|
|
803
|
+
button_ghost_text?: string;
|
|
804
|
+
/**
|
|
805
|
+
* Ghost button hover background color
|
|
806
|
+
*/
|
|
807
|
+
button_ghost_hover_bg?: string;
|
|
808
|
+
/**
|
|
809
|
+
* Ghost button hover text color
|
|
810
|
+
*/
|
|
811
|
+
button_ghost_hover_text?: string;
|
|
812
|
+
/**
|
|
813
|
+
* Button border radius in pixels
|
|
814
|
+
*/
|
|
815
|
+
button_border_radius?: number;
|
|
816
|
+
/**
|
|
817
|
+
* Button height in pixels
|
|
818
|
+
*/
|
|
819
|
+
button_height?: number;
|
|
820
|
+
/**
|
|
821
|
+
* Card background color
|
|
822
|
+
*/
|
|
823
|
+
card_background?: string;
|
|
824
|
+
/**
|
|
825
|
+
* Card border color for outlined variant
|
|
826
|
+
*/
|
|
827
|
+
card_border_color?: string;
|
|
828
|
+
/**
|
|
829
|
+
* Card visual variant
|
|
830
|
+
*/
|
|
831
|
+
card_variant?: "shadow" | "outlined";
|
|
832
|
+
/**
|
|
833
|
+
* Summary card background color
|
|
834
|
+
*/
|
|
835
|
+
summary_card_background?: string;
|
|
836
|
+
/**
|
|
837
|
+
* Toggle button selected background color
|
|
838
|
+
*/
|
|
839
|
+
toggle_selected_bg?: string;
|
|
840
|
+
/**
|
|
841
|
+
* Toggle button selected text color
|
|
842
|
+
*/
|
|
843
|
+
toggle_selected_text?: string;
|
|
844
|
+
/**
|
|
845
|
+
* Toggle button hover background color
|
|
846
|
+
*/
|
|
847
|
+
toggle_hover_bg?: string;
|
|
848
|
+
/**
|
|
849
|
+
* Toggle button hover text color
|
|
850
|
+
*/
|
|
851
|
+
toggle_hover_text?: string;
|
|
852
|
+
/**
|
|
853
|
+
* Toggle group wrapper border color
|
|
854
|
+
*/
|
|
855
|
+
toggle_border_color?: string;
|
|
856
|
+
/**
|
|
857
|
+
* Dropdown option hover background color
|
|
858
|
+
*/
|
|
859
|
+
dropdown_hover_bg?: string;
|
|
860
|
+
/**
|
|
861
|
+
* Dropdown option hover text color
|
|
862
|
+
*/
|
|
863
|
+
dropdown_hover_text?: string;
|
|
864
|
+
/**
|
|
865
|
+
* Dropdown option selected background color
|
|
866
|
+
*/
|
|
867
|
+
dropdown_selected_bg?: string;
|
|
868
|
+
/**
|
|
869
|
+
* Dropdown option selected text color
|
|
870
|
+
*/
|
|
871
|
+
dropdown_selected_text?: string;
|
|
872
|
+
/**
|
|
873
|
+
* Switch unchecked thumb color
|
|
874
|
+
*/
|
|
875
|
+
switch_unchecked_color?: string;
|
|
876
|
+
/**
|
|
877
|
+
* Switch unchecked track background color
|
|
878
|
+
*/
|
|
879
|
+
switch_unchecked_bg?: string;
|
|
880
|
+
/**
|
|
881
|
+
* Switch border radius in pixels
|
|
882
|
+
*/
|
|
883
|
+
switch_border_radius?: number;
|
|
884
|
+
/**
|
|
885
|
+
* Checkbox unchecked border color
|
|
886
|
+
*/
|
|
887
|
+
checkbox_unchecked_color?: string;
|
|
888
|
+
/**
|
|
889
|
+
* Checkbox label text color
|
|
890
|
+
*/
|
|
891
|
+
checkbox_label_color?: string;
|
|
892
|
+
/**
|
|
893
|
+
* Radio button unchecked border color
|
|
894
|
+
*/
|
|
895
|
+
radio_unchecked_color?: string;
|
|
896
|
+
/**
|
|
897
|
+
* Radio button label text color
|
|
898
|
+
*/
|
|
899
|
+
radio_label_color?: string;
|
|
900
|
+
/**
|
|
901
|
+
* Date picker selected date background color
|
|
902
|
+
*/
|
|
903
|
+
datepicker_selected_bg?: string;
|
|
904
|
+
/**
|
|
905
|
+
* Date picker selected date text color
|
|
906
|
+
*/
|
|
907
|
+
datepicker_selected_color?: string;
|
|
908
|
+
/**
|
|
909
|
+
* Date picker border radius in pixels
|
|
910
|
+
*/
|
|
911
|
+
datepicker_border_radius?: number;
|
|
912
|
+
/**
|
|
913
|
+
* Chip background color
|
|
914
|
+
*/
|
|
915
|
+
chip_background?: string;
|
|
916
|
+
/**
|
|
917
|
+
* Chip hover background color
|
|
918
|
+
*/
|
|
919
|
+
chip_hover_background?: string;
|
|
920
|
+
/**
|
|
921
|
+
* Chip text color
|
|
922
|
+
*/
|
|
923
|
+
chip_text_color?: string;
|
|
924
|
+
/**
|
|
925
|
+
* Chip hover text color
|
|
926
|
+
*/
|
|
927
|
+
chip_hover_text_color?: string;
|
|
928
|
+
};
|
|
929
|
+
}[];
|
|
930
|
+
}
|
|
931
|
+
export interface GetBrandsRes {
|
|
932
|
+
brands?: {
|
|
933
|
+
id: string;
|
|
934
|
+
name: string;
|
|
935
|
+
created_by?: string;
|
|
936
|
+
created_date?: string;
|
|
937
|
+
main_brand?: string;
|
|
938
|
+
organization_id?: string;
|
|
939
|
+
updated_date?: string;
|
|
940
|
+
updated_by?: string;
|
|
941
|
+
status?: string;
|
|
942
|
+
}[];
|
|
943
|
+
}
|
|
944
|
+
export interface GetDesignRes {
|
|
945
|
+
design?: {
|
|
946
|
+
id?: string;
|
|
947
|
+
/**
|
|
948
|
+
* Creation date and time
|
|
949
|
+
* example:
|
|
950
|
+
* 2021-01-30T08:30:00Z
|
|
951
|
+
*/
|
|
952
|
+
created_at?: string;
|
|
953
|
+
created_by?: string;
|
|
954
|
+
edited: boolean;
|
|
955
|
+
last_modified_at?: string;
|
|
956
|
+
brand_id?: string;
|
|
957
|
+
brand_name?: string;
|
|
958
|
+
user?: {
|
|
959
|
+
emailaddress?: string;
|
|
960
|
+
fullname?: string;
|
|
961
|
+
name?: string;
|
|
962
|
+
userid?: string;
|
|
963
|
+
};
|
|
964
|
+
style_name: string;
|
|
965
|
+
style: {
|
|
966
|
+
logo?: LogoData;
|
|
967
|
+
palette: PaletteData;
|
|
968
|
+
typography: TypographyData;
|
|
969
|
+
shape?: ShapeData;
|
|
970
|
+
consumer: ConsumerData;
|
|
971
|
+
};
|
|
972
|
+
is_default?: boolean;
|
|
973
|
+
/**
|
|
974
|
+
* The manifest IDs associated with this design
|
|
975
|
+
*/
|
|
976
|
+
_manifest?: string[];
|
|
977
|
+
custom_theme?: string;
|
|
978
|
+
use_custom_theme?: boolean;
|
|
979
|
+
/**
|
|
980
|
+
* Design tokens for journey customization
|
|
981
|
+
*/
|
|
982
|
+
design_tokens?: {
|
|
983
|
+
coupon?: string;
|
|
984
|
+
cashback?: string;
|
|
985
|
+
custom_css?: string;
|
|
986
|
+
/**
|
|
987
|
+
* Accent color, defaults to primary
|
|
988
|
+
*/
|
|
989
|
+
accent_color?: string;
|
|
990
|
+
/**
|
|
991
|
+
* Global outline/focus color
|
|
992
|
+
*/
|
|
993
|
+
outline_color?: string;
|
|
994
|
+
/**
|
|
995
|
+
* Divider line color
|
|
996
|
+
*/
|
|
997
|
+
divider_color?: string;
|
|
998
|
+
/**
|
|
999
|
+
* Link text color
|
|
1000
|
+
*/
|
|
1001
|
+
link_color?: string;
|
|
1002
|
+
/**
|
|
1003
|
+
* Link hover text color
|
|
1004
|
+
*/
|
|
1005
|
+
link_hover_color?: string;
|
|
1006
|
+
/**
|
|
1007
|
+
* Font size scale factor
|
|
1008
|
+
*/
|
|
1009
|
+
font_size_scale?: "xs" | "sm" | "md" | "lg" | "xl";
|
|
1010
|
+
/**
|
|
1011
|
+
* Topbar minimum height in pixels
|
|
1012
|
+
*/
|
|
1013
|
+
topbar_height?: number;
|
|
1014
|
+
/**
|
|
1015
|
+
* Logo/content alignment in the top bar
|
|
1016
|
+
*/
|
|
1017
|
+
topbar_logo_alignment?: "flex-start" | "center" | "flex-end";
|
|
1018
|
+
/**
|
|
1019
|
+
* Logo size in pixels
|
|
1020
|
+
*/
|
|
1021
|
+
logo_size?: number;
|
|
1022
|
+
/**
|
|
1023
|
+
* Input field background color
|
|
1024
|
+
*/
|
|
1025
|
+
input_background?: string;
|
|
1026
|
+
/**
|
|
1027
|
+
* Input field border color
|
|
1028
|
+
*/
|
|
1029
|
+
input_border_color?: string;
|
|
1030
|
+
/**
|
|
1031
|
+
* Input field text color
|
|
1032
|
+
*/
|
|
1033
|
+
input_text_color?: string;
|
|
1034
|
+
/**
|
|
1035
|
+
* Input field label color
|
|
1036
|
+
*/
|
|
1037
|
+
input_label_color?: string;
|
|
1038
|
+
/**
|
|
1039
|
+
* Input field border radius in pixels
|
|
1040
|
+
*/
|
|
1041
|
+
input_border_radius?: number;
|
|
1042
|
+
/**
|
|
1043
|
+
* Input field height in pixels
|
|
1044
|
+
*/
|
|
1045
|
+
input_height?: number;
|
|
1046
|
+
/**
|
|
1047
|
+
* Input field variant style
|
|
1048
|
+
*/
|
|
1049
|
+
input_variant?: "outlined" | "filled" | "underlined";
|
|
1050
|
+
/**
|
|
1051
|
+
* Primary button background color or gradient
|
|
1052
|
+
*/
|
|
1053
|
+
button_primary_bg?: string;
|
|
1054
|
+
/**
|
|
1055
|
+
* Primary button text color
|
|
1056
|
+
*/
|
|
1057
|
+
button_primary_text?: string;
|
|
1058
|
+
/**
|
|
1059
|
+
* Primary button hover background color or gradient
|
|
1060
|
+
*/
|
|
1061
|
+
button_primary_hover_bg?: string;
|
|
1062
|
+
/**
|
|
1063
|
+
* Primary button hover text color
|
|
1064
|
+
*/
|
|
1065
|
+
button_primary_hover_text?: string;
|
|
1066
|
+
/**
|
|
1067
|
+
* Outlined button border color
|
|
1068
|
+
*/
|
|
1069
|
+
button_outlined_border?: string;
|
|
1070
|
+
/**
|
|
1071
|
+
* Outlined button text color
|
|
1072
|
+
*/
|
|
1073
|
+
button_outlined_text?: string;
|
|
1074
|
+
/**
|
|
1075
|
+
* Outlined button hover background color
|
|
1076
|
+
*/
|
|
1077
|
+
button_outlined_hover_bg?: string;
|
|
1078
|
+
/**
|
|
1079
|
+
* Outlined button hover text color
|
|
1080
|
+
*/
|
|
1081
|
+
button_outlined_hover_text?: string;
|
|
1082
|
+
/**
|
|
1083
|
+
* Ghost button background color
|
|
1084
|
+
*/
|
|
1085
|
+
button_ghost_bg?: string;
|
|
1086
|
+
/**
|
|
1087
|
+
* Ghost button text color
|
|
1088
|
+
*/
|
|
1089
|
+
button_ghost_text?: string;
|
|
1090
|
+
/**
|
|
1091
|
+
* Ghost button hover background color
|
|
1092
|
+
*/
|
|
1093
|
+
button_ghost_hover_bg?: string;
|
|
1094
|
+
/**
|
|
1095
|
+
* Ghost button hover text color
|
|
1096
|
+
*/
|
|
1097
|
+
button_ghost_hover_text?: string;
|
|
1098
|
+
/**
|
|
1099
|
+
* Button border radius in pixels
|
|
1100
|
+
*/
|
|
1101
|
+
button_border_radius?: number;
|
|
1102
|
+
/**
|
|
1103
|
+
* Button height in pixels
|
|
1104
|
+
*/
|
|
1105
|
+
button_height?: number;
|
|
1106
|
+
/**
|
|
1107
|
+
* Card background color
|
|
1108
|
+
*/
|
|
1109
|
+
card_background?: string;
|
|
1110
|
+
/**
|
|
1111
|
+
* Card border color for outlined variant
|
|
1112
|
+
*/
|
|
1113
|
+
card_border_color?: string;
|
|
1114
|
+
/**
|
|
1115
|
+
* Card visual variant
|
|
1116
|
+
*/
|
|
1117
|
+
card_variant?: "shadow" | "outlined";
|
|
1118
|
+
/**
|
|
1119
|
+
* Summary card background color
|
|
1120
|
+
*/
|
|
1121
|
+
summary_card_background?: string;
|
|
1122
|
+
/**
|
|
1123
|
+
* Toggle button selected background color
|
|
1124
|
+
*/
|
|
1125
|
+
toggle_selected_bg?: string;
|
|
1126
|
+
/**
|
|
1127
|
+
* Toggle button selected text color
|
|
1128
|
+
*/
|
|
1129
|
+
toggle_selected_text?: string;
|
|
1130
|
+
/**
|
|
1131
|
+
* Toggle button hover background color
|
|
1132
|
+
*/
|
|
1133
|
+
toggle_hover_bg?: string;
|
|
1134
|
+
/**
|
|
1135
|
+
* Toggle button hover text color
|
|
1136
|
+
*/
|
|
1137
|
+
toggle_hover_text?: string;
|
|
1138
|
+
/**
|
|
1139
|
+
* Toggle group wrapper border color
|
|
1140
|
+
*/
|
|
1141
|
+
toggle_border_color?: string;
|
|
1142
|
+
/**
|
|
1143
|
+
* Dropdown option hover background color
|
|
1144
|
+
*/
|
|
1145
|
+
dropdown_hover_bg?: string;
|
|
1146
|
+
/**
|
|
1147
|
+
* Dropdown option hover text color
|
|
1148
|
+
*/
|
|
1149
|
+
dropdown_hover_text?: string;
|
|
1150
|
+
/**
|
|
1151
|
+
* Dropdown option selected background color
|
|
1152
|
+
*/
|
|
1153
|
+
dropdown_selected_bg?: string;
|
|
1154
|
+
/**
|
|
1155
|
+
* Dropdown option selected text color
|
|
1156
|
+
*/
|
|
1157
|
+
dropdown_selected_text?: string;
|
|
1158
|
+
/**
|
|
1159
|
+
* Switch unchecked thumb color
|
|
1160
|
+
*/
|
|
1161
|
+
switch_unchecked_color?: string;
|
|
1162
|
+
/**
|
|
1163
|
+
* Switch unchecked track background color
|
|
1164
|
+
*/
|
|
1165
|
+
switch_unchecked_bg?: string;
|
|
1166
|
+
/**
|
|
1167
|
+
* Switch border radius in pixels
|
|
1168
|
+
*/
|
|
1169
|
+
switch_border_radius?: number;
|
|
1170
|
+
/**
|
|
1171
|
+
* Checkbox unchecked border color
|
|
1172
|
+
*/
|
|
1173
|
+
checkbox_unchecked_color?: string;
|
|
1174
|
+
/**
|
|
1175
|
+
* Checkbox label text color
|
|
1176
|
+
*/
|
|
1177
|
+
checkbox_label_color?: string;
|
|
1178
|
+
/**
|
|
1179
|
+
* Radio button unchecked border color
|
|
1180
|
+
*/
|
|
1181
|
+
radio_unchecked_color?: string;
|
|
1182
|
+
/**
|
|
1183
|
+
* Radio button label text color
|
|
1184
|
+
*/
|
|
1185
|
+
radio_label_color?: string;
|
|
1186
|
+
/**
|
|
1187
|
+
* Date picker selected date background color
|
|
1188
|
+
*/
|
|
1189
|
+
datepicker_selected_bg?: string;
|
|
1190
|
+
/**
|
|
1191
|
+
* Date picker selected date text color
|
|
1192
|
+
*/
|
|
1193
|
+
datepicker_selected_color?: string;
|
|
1194
|
+
/**
|
|
1195
|
+
* Date picker border radius in pixels
|
|
1196
|
+
*/
|
|
1197
|
+
datepicker_border_radius?: number;
|
|
1198
|
+
/**
|
|
1199
|
+
* Chip background color
|
|
1200
|
+
*/
|
|
1201
|
+
chip_background?: string;
|
|
1202
|
+
/**
|
|
1203
|
+
* Chip hover background color
|
|
1204
|
+
*/
|
|
1205
|
+
chip_hover_background?: string;
|
|
1206
|
+
/**
|
|
1207
|
+
* Chip text color
|
|
1208
|
+
*/
|
|
1209
|
+
chip_text_color?: string;
|
|
1210
|
+
/**
|
|
1211
|
+
* Chip hover text color
|
|
1212
|
+
*/
|
|
1213
|
+
chip_hover_text_color?: string;
|
|
1214
|
+
};
|
|
1215
|
+
};
|
|
1216
|
+
}
|
|
1217
|
+
export type GetFilesRes = {
|
|
1218
|
+
name: string;
|
|
1219
|
+
display_name?: string;
|
|
1220
|
+
file_type?: "LOGO" | "FONT" | "IMAGE";
|
|
1221
|
+
s3_object_key: string;
|
|
1222
|
+
url: string;
|
|
1223
|
+
}[];
|
|
1224
|
+
export interface ItemMetada {
|
|
1225
|
+
id?: string;
|
|
1226
|
+
/**
|
|
1227
|
+
* Creation date and time
|
|
1228
|
+
* example:
|
|
1229
|
+
* 2021-01-30T08:30:00Z
|
|
1230
|
+
*/
|
|
1231
|
+
created_at?: string;
|
|
1232
|
+
created_by?: string;
|
|
1233
|
+
edited?: boolean;
|
|
1234
|
+
last_modified_at?: string;
|
|
1235
|
+
}
|
|
1236
|
+
export interface Journey {
|
|
1237
|
+
/**
|
|
1238
|
+
* Design tokens for journey customization
|
|
1239
|
+
*/
|
|
1240
|
+
design_tokens?: {
|
|
1241
|
+
coupon?: string;
|
|
1242
|
+
cashback?: string;
|
|
1243
|
+
custom_css?: string;
|
|
1244
|
+
/**
|
|
1245
|
+
* Accent color, defaults to primary
|
|
1246
|
+
*/
|
|
1247
|
+
accent_color?: string;
|
|
1248
|
+
/**
|
|
1249
|
+
* Global outline/focus color
|
|
1250
|
+
*/
|
|
1251
|
+
outline_color?: string;
|
|
1252
|
+
/**
|
|
1253
|
+
* Divider line color
|
|
1254
|
+
*/
|
|
1255
|
+
divider_color?: string;
|
|
1256
|
+
/**
|
|
1257
|
+
* Link text color
|
|
1258
|
+
*/
|
|
1259
|
+
link_color?: string;
|
|
1260
|
+
/**
|
|
1261
|
+
* Link hover text color
|
|
1262
|
+
*/
|
|
1263
|
+
link_hover_color?: string;
|
|
1264
|
+
/**
|
|
1265
|
+
* Font size scale factor
|
|
1266
|
+
*/
|
|
1267
|
+
font_size_scale?: "xs" | "sm" | "md" | "lg" | "xl";
|
|
1268
|
+
/**
|
|
1269
|
+
* Topbar minimum height in pixels
|
|
1270
|
+
*/
|
|
1271
|
+
topbar_height?: number;
|
|
1272
|
+
/**
|
|
1273
|
+
* Logo/content alignment in the top bar
|
|
1274
|
+
*/
|
|
1275
|
+
topbar_logo_alignment?: "flex-start" | "center" | "flex-end";
|
|
1276
|
+
/**
|
|
1277
|
+
* Logo size in pixels
|
|
1278
|
+
*/
|
|
1279
|
+
logo_size?: number;
|
|
1280
|
+
/**
|
|
1281
|
+
* Input field background color
|
|
1282
|
+
*/
|
|
1283
|
+
input_background?: string;
|
|
1284
|
+
/**
|
|
1285
|
+
* Input field border color
|
|
1286
|
+
*/
|
|
1287
|
+
input_border_color?: string;
|
|
1288
|
+
/**
|
|
1289
|
+
* Input field text color
|
|
1290
|
+
*/
|
|
1291
|
+
input_text_color?: string;
|
|
1292
|
+
/**
|
|
1293
|
+
* Input field label color
|
|
1294
|
+
*/
|
|
1295
|
+
input_label_color?: string;
|
|
1296
|
+
/**
|
|
1297
|
+
* Input field border radius in pixels
|
|
1298
|
+
*/
|
|
1299
|
+
input_border_radius?: number;
|
|
1300
|
+
/**
|
|
1301
|
+
* Input field height in pixels
|
|
1302
|
+
*/
|
|
1303
|
+
input_height?: number;
|
|
1304
|
+
/**
|
|
1305
|
+
* Input field variant style
|
|
1306
|
+
*/
|
|
1307
|
+
input_variant?: "outlined" | "filled" | "underlined";
|
|
1308
|
+
/**
|
|
1309
|
+
* Primary button background color or gradient
|
|
1310
|
+
*/
|
|
1311
|
+
button_primary_bg?: string;
|
|
1312
|
+
/**
|
|
1313
|
+
* Primary button text color
|
|
1314
|
+
*/
|
|
1315
|
+
button_primary_text?: string;
|
|
1316
|
+
/**
|
|
1317
|
+
* Primary button hover background color or gradient
|
|
1318
|
+
*/
|
|
1319
|
+
button_primary_hover_bg?: string;
|
|
1320
|
+
/**
|
|
1321
|
+
* Primary button hover text color
|
|
1322
|
+
*/
|
|
1323
|
+
button_primary_hover_text?: string;
|
|
1324
|
+
/**
|
|
1325
|
+
* Outlined button border color
|
|
1326
|
+
*/
|
|
1327
|
+
button_outlined_border?: string;
|
|
1328
|
+
/**
|
|
1329
|
+
* Outlined button text color
|
|
1330
|
+
*/
|
|
1331
|
+
button_outlined_text?: string;
|
|
1332
|
+
/**
|
|
1333
|
+
* Outlined button hover background color
|
|
1334
|
+
*/
|
|
1335
|
+
button_outlined_hover_bg?: string;
|
|
1336
|
+
/**
|
|
1337
|
+
* Outlined button hover text color
|
|
1338
|
+
*/
|
|
1339
|
+
button_outlined_hover_text?: string;
|
|
1340
|
+
/**
|
|
1341
|
+
* Ghost button background color
|
|
1342
|
+
*/
|
|
1343
|
+
button_ghost_bg?: string;
|
|
1344
|
+
/**
|
|
1345
|
+
* Ghost button text color
|
|
1346
|
+
*/
|
|
1347
|
+
button_ghost_text?: string;
|
|
1348
|
+
/**
|
|
1349
|
+
* Ghost button hover background color
|
|
1350
|
+
*/
|
|
1351
|
+
button_ghost_hover_bg?: string;
|
|
1352
|
+
/**
|
|
1353
|
+
* Ghost button hover text color
|
|
1354
|
+
*/
|
|
1355
|
+
button_ghost_hover_text?: string;
|
|
1356
|
+
/**
|
|
1357
|
+
* Button border radius in pixels
|
|
1358
|
+
*/
|
|
1359
|
+
button_border_radius?: number;
|
|
1360
|
+
/**
|
|
1361
|
+
* Button height in pixels
|
|
1362
|
+
*/
|
|
1363
|
+
button_height?: number;
|
|
1364
|
+
/**
|
|
1365
|
+
* Card background color
|
|
1366
|
+
*/
|
|
1367
|
+
card_background?: string;
|
|
1368
|
+
/**
|
|
1369
|
+
* Card border color for outlined variant
|
|
1370
|
+
*/
|
|
1371
|
+
card_border_color?: string;
|
|
1372
|
+
/**
|
|
1373
|
+
* Card visual variant
|
|
1374
|
+
*/
|
|
1375
|
+
card_variant?: "shadow" | "outlined";
|
|
1376
|
+
/**
|
|
1377
|
+
* Summary card background color
|
|
1378
|
+
*/
|
|
1379
|
+
summary_card_background?: string;
|
|
1380
|
+
/**
|
|
1381
|
+
* Toggle button selected background color
|
|
1382
|
+
*/
|
|
1383
|
+
toggle_selected_bg?: string;
|
|
1384
|
+
/**
|
|
1385
|
+
* Toggle button selected text color
|
|
1386
|
+
*/
|
|
1387
|
+
toggle_selected_text?: string;
|
|
1388
|
+
/**
|
|
1389
|
+
* Toggle button hover background color
|
|
1390
|
+
*/
|
|
1391
|
+
toggle_hover_bg?: string;
|
|
1392
|
+
/**
|
|
1393
|
+
* Toggle button hover text color
|
|
1394
|
+
*/
|
|
1395
|
+
toggle_hover_text?: string;
|
|
1396
|
+
/**
|
|
1397
|
+
* Toggle group wrapper border color
|
|
1398
|
+
*/
|
|
1399
|
+
toggle_border_color?: string;
|
|
1400
|
+
/**
|
|
1401
|
+
* Dropdown option hover background color
|
|
1402
|
+
*/
|
|
1403
|
+
dropdown_hover_bg?: string;
|
|
1404
|
+
/**
|
|
1405
|
+
* Dropdown option hover text color
|
|
1406
|
+
*/
|
|
1407
|
+
dropdown_hover_text?: string;
|
|
1408
|
+
/**
|
|
1409
|
+
* Dropdown option selected background color
|
|
1410
|
+
*/
|
|
1411
|
+
dropdown_selected_bg?: string;
|
|
1412
|
+
/**
|
|
1413
|
+
* Dropdown option selected text color
|
|
1414
|
+
*/
|
|
1415
|
+
dropdown_selected_text?: string;
|
|
1416
|
+
/**
|
|
1417
|
+
* Switch unchecked thumb color
|
|
1418
|
+
*/
|
|
1419
|
+
switch_unchecked_color?: string;
|
|
1420
|
+
/**
|
|
1421
|
+
* Switch unchecked track background color
|
|
1422
|
+
*/
|
|
1423
|
+
switch_unchecked_bg?: string;
|
|
1424
|
+
/**
|
|
1425
|
+
* Switch border radius in pixels
|
|
1426
|
+
*/
|
|
1427
|
+
switch_border_radius?: number;
|
|
1428
|
+
/**
|
|
1429
|
+
* Checkbox unchecked border color
|
|
1430
|
+
*/
|
|
1431
|
+
checkbox_unchecked_color?: string;
|
|
1432
|
+
/**
|
|
1433
|
+
* Checkbox label text color
|
|
1434
|
+
*/
|
|
1435
|
+
checkbox_label_color?: string;
|
|
1436
|
+
/**
|
|
1437
|
+
* Radio button unchecked border color
|
|
1438
|
+
*/
|
|
1439
|
+
radio_unchecked_color?: string;
|
|
1440
|
+
/**
|
|
1441
|
+
* Radio button label text color
|
|
1442
|
+
*/
|
|
1443
|
+
radio_label_color?: string;
|
|
1444
|
+
/**
|
|
1445
|
+
* Date picker selected date background color
|
|
1446
|
+
*/
|
|
1447
|
+
datepicker_selected_bg?: string;
|
|
1448
|
+
/**
|
|
1449
|
+
* Date picker selected date text color
|
|
1450
|
+
*/
|
|
1451
|
+
datepicker_selected_color?: string;
|
|
1452
|
+
/**
|
|
1453
|
+
* Date picker border radius in pixels
|
|
1454
|
+
*/
|
|
1455
|
+
datepicker_border_radius?: number;
|
|
1456
|
+
/**
|
|
1457
|
+
* Chip background color
|
|
1458
|
+
*/
|
|
1459
|
+
chip_background?: string;
|
|
1460
|
+
/**
|
|
1461
|
+
* Chip hover background color
|
|
1462
|
+
*/
|
|
1463
|
+
chip_hover_background?: string;
|
|
1464
|
+
/**
|
|
1465
|
+
* Chip text color
|
|
1466
|
+
*/
|
|
1467
|
+
chip_text_color?: string;
|
|
1468
|
+
/**
|
|
1469
|
+
* Chip hover text color
|
|
1470
|
+
*/
|
|
1471
|
+
chip_hover_text_color?: string;
|
|
1472
|
+
};
|
|
1473
|
+
}
|
|
1474
|
+
export interface LogoData {
|
|
1475
|
+
main?: FileData;
|
|
1476
|
+
}
|
|
1477
|
+
export interface PaletteData {
|
|
1478
|
+
primary: string;
|
|
1479
|
+
secondary: string;
|
|
1480
|
+
error: string;
|
|
1481
|
+
background: string;
|
|
1482
|
+
paper: string;
|
|
1483
|
+
navbar: string;
|
|
1484
|
+
portal_login_background?: string;
|
|
1485
|
+
}
|
|
1486
|
+
export interface RemoveConsumerReq {
|
|
1487
|
+
consumer_id: /**
|
|
1488
|
+
* Id of the design
|
|
1489
|
+
* example:
|
|
1490
|
+
* 4a062990-a6a3-11eb-9828-4f3da7d4935a
|
|
1491
|
+
*/
|
|
1492
|
+
DesignId;
|
|
1493
|
+
should_delete?: string;
|
|
1494
|
+
}
|
|
1495
|
+
export interface ShapeData {
|
|
1496
|
+
border_radius?: number;
|
|
1497
|
+
}
|
|
1498
|
+
/**
|
|
1499
|
+
* Type of theme to be parsed and returned
|
|
1500
|
+
* example:
|
|
1501
|
+
* NEW
|
|
1502
|
+
*/
|
|
1503
|
+
export type Theme = "NEW" | "OLD";
|
|
1504
|
+
export interface TypographyData {
|
|
1505
|
+
font: FontData;
|
|
1506
|
+
primary: string;
|
|
1507
|
+
secondary: string;
|
|
1508
|
+
}
|
|
1509
|
+
export interface UpdateDesignReq {
|
|
1510
|
+
design: {
|
|
1511
|
+
brand_id?: string;
|
|
1512
|
+
brand_name?: string;
|
|
1513
|
+
user?: {
|
|
1514
|
+
emailaddress?: string;
|
|
1515
|
+
fullname?: string;
|
|
1516
|
+
name?: string;
|
|
1517
|
+
userid?: string;
|
|
1518
|
+
};
|
|
1519
|
+
style_name: string;
|
|
1520
|
+
style: {
|
|
1521
|
+
logo?: LogoData;
|
|
1522
|
+
palette: PaletteData;
|
|
1523
|
+
typography: TypographyData;
|
|
1524
|
+
shape?: ShapeData;
|
|
1525
|
+
consumer: ConsumerData;
|
|
1526
|
+
};
|
|
1527
|
+
is_default?: boolean;
|
|
1528
|
+
/**
|
|
1529
|
+
* The manifest IDs associated with this design
|
|
1530
|
+
*/
|
|
1531
|
+
_manifest?: string[];
|
|
1532
|
+
custom_theme?: string;
|
|
1533
|
+
use_custom_theme?: boolean;
|
|
1534
|
+
/**
|
|
1535
|
+
* Design tokens for journey customization
|
|
1536
|
+
*/
|
|
1537
|
+
design_tokens?: {
|
|
1538
|
+
coupon?: string;
|
|
1539
|
+
cashback?: string;
|
|
1540
|
+
custom_css?: string;
|
|
1541
|
+
/**
|
|
1542
|
+
* Accent color, defaults to primary
|
|
1543
|
+
*/
|
|
1544
|
+
accent_color?: string;
|
|
1545
|
+
/**
|
|
1546
|
+
* Global outline/focus color
|
|
1547
|
+
*/
|
|
1548
|
+
outline_color?: string;
|
|
1549
|
+
/**
|
|
1550
|
+
* Divider line color
|
|
1551
|
+
*/
|
|
1552
|
+
divider_color?: string;
|
|
1553
|
+
/**
|
|
1554
|
+
* Link text color
|
|
1555
|
+
*/
|
|
1556
|
+
link_color?: string;
|
|
1557
|
+
/**
|
|
1558
|
+
* Link hover text color
|
|
1559
|
+
*/
|
|
1560
|
+
link_hover_color?: string;
|
|
1561
|
+
/**
|
|
1562
|
+
* Font size scale factor
|
|
1563
|
+
*/
|
|
1564
|
+
font_size_scale?: "xs" | "sm" | "md" | "lg" | "xl";
|
|
1565
|
+
/**
|
|
1566
|
+
* Topbar minimum height in pixels
|
|
1567
|
+
*/
|
|
1568
|
+
topbar_height?: number;
|
|
1569
|
+
/**
|
|
1570
|
+
* Logo/content alignment in the top bar
|
|
1571
|
+
*/
|
|
1572
|
+
topbar_logo_alignment?: "flex-start" | "center" | "flex-end";
|
|
1573
|
+
/**
|
|
1574
|
+
* Logo size in pixels
|
|
1575
|
+
*/
|
|
1576
|
+
logo_size?: number;
|
|
1577
|
+
/**
|
|
1578
|
+
* Input field background color
|
|
1579
|
+
*/
|
|
1580
|
+
input_background?: string;
|
|
1581
|
+
/**
|
|
1582
|
+
* Input field border color
|
|
1583
|
+
*/
|
|
1584
|
+
input_border_color?: string;
|
|
1585
|
+
/**
|
|
1586
|
+
* Input field text color
|
|
1587
|
+
*/
|
|
1588
|
+
input_text_color?: string;
|
|
1589
|
+
/**
|
|
1590
|
+
* Input field label color
|
|
1591
|
+
*/
|
|
1592
|
+
input_label_color?: string;
|
|
1593
|
+
/**
|
|
1594
|
+
* Input field border radius in pixels
|
|
1595
|
+
*/
|
|
1596
|
+
input_border_radius?: number;
|
|
1597
|
+
/**
|
|
1598
|
+
* Input field height in pixels
|
|
1599
|
+
*/
|
|
1600
|
+
input_height?: number;
|
|
1601
|
+
/**
|
|
1602
|
+
* Input field variant style
|
|
1603
|
+
*/
|
|
1604
|
+
input_variant?: "outlined" | "filled" | "underlined";
|
|
1605
|
+
/**
|
|
1606
|
+
* Primary button background color or gradient
|
|
1607
|
+
*/
|
|
1608
|
+
button_primary_bg?: string;
|
|
1609
|
+
/**
|
|
1610
|
+
* Primary button text color
|
|
1611
|
+
*/
|
|
1612
|
+
button_primary_text?: string;
|
|
1613
|
+
/**
|
|
1614
|
+
* Primary button hover background color or gradient
|
|
1615
|
+
*/
|
|
1616
|
+
button_primary_hover_bg?: string;
|
|
1617
|
+
/**
|
|
1618
|
+
* Primary button hover text color
|
|
1619
|
+
*/
|
|
1620
|
+
button_primary_hover_text?: string;
|
|
1621
|
+
/**
|
|
1622
|
+
* Outlined button border color
|
|
1623
|
+
*/
|
|
1624
|
+
button_outlined_border?: string;
|
|
1625
|
+
/**
|
|
1626
|
+
* Outlined button text color
|
|
1627
|
+
*/
|
|
1628
|
+
button_outlined_text?: string;
|
|
1629
|
+
/**
|
|
1630
|
+
* Outlined button hover background color
|
|
1631
|
+
*/
|
|
1632
|
+
button_outlined_hover_bg?: string;
|
|
1633
|
+
/**
|
|
1634
|
+
* Outlined button hover text color
|
|
1635
|
+
*/
|
|
1636
|
+
button_outlined_hover_text?: string;
|
|
1637
|
+
/**
|
|
1638
|
+
* Ghost button background color
|
|
1639
|
+
*/
|
|
1640
|
+
button_ghost_bg?: string;
|
|
1641
|
+
/**
|
|
1642
|
+
* Ghost button text color
|
|
1643
|
+
*/
|
|
1644
|
+
button_ghost_text?: string;
|
|
1645
|
+
/**
|
|
1646
|
+
* Ghost button hover background color
|
|
1647
|
+
*/
|
|
1648
|
+
button_ghost_hover_bg?: string;
|
|
1649
|
+
/**
|
|
1650
|
+
* Ghost button hover text color
|
|
1651
|
+
*/
|
|
1652
|
+
button_ghost_hover_text?: string;
|
|
1653
|
+
/**
|
|
1654
|
+
* Button border radius in pixels
|
|
1655
|
+
*/
|
|
1656
|
+
button_border_radius?: number;
|
|
1657
|
+
/**
|
|
1658
|
+
* Button height in pixels
|
|
1659
|
+
*/
|
|
1660
|
+
button_height?: number;
|
|
1661
|
+
/**
|
|
1662
|
+
* Card background color
|
|
1663
|
+
*/
|
|
1664
|
+
card_background?: string;
|
|
1665
|
+
/**
|
|
1666
|
+
* Card border color for outlined variant
|
|
1667
|
+
*/
|
|
1668
|
+
card_border_color?: string;
|
|
1669
|
+
/**
|
|
1670
|
+
* Card visual variant
|
|
1671
|
+
*/
|
|
1672
|
+
card_variant?: "shadow" | "outlined";
|
|
1673
|
+
/**
|
|
1674
|
+
* Summary card background color
|
|
1675
|
+
*/
|
|
1676
|
+
summary_card_background?: string;
|
|
1677
|
+
/**
|
|
1678
|
+
* Toggle button selected background color
|
|
1679
|
+
*/
|
|
1680
|
+
toggle_selected_bg?: string;
|
|
1681
|
+
/**
|
|
1682
|
+
* Toggle button selected text color
|
|
1683
|
+
*/
|
|
1684
|
+
toggle_selected_text?: string;
|
|
1685
|
+
/**
|
|
1686
|
+
* Toggle button hover background color
|
|
1687
|
+
*/
|
|
1688
|
+
toggle_hover_bg?: string;
|
|
1689
|
+
/**
|
|
1690
|
+
* Toggle button hover text color
|
|
1691
|
+
*/
|
|
1692
|
+
toggle_hover_text?: string;
|
|
1693
|
+
/**
|
|
1694
|
+
* Toggle group wrapper border color
|
|
1695
|
+
*/
|
|
1696
|
+
toggle_border_color?: string;
|
|
1697
|
+
/**
|
|
1698
|
+
* Dropdown option hover background color
|
|
1699
|
+
*/
|
|
1700
|
+
dropdown_hover_bg?: string;
|
|
1701
|
+
/**
|
|
1702
|
+
* Dropdown option hover text color
|
|
1703
|
+
*/
|
|
1704
|
+
dropdown_hover_text?: string;
|
|
1705
|
+
/**
|
|
1706
|
+
* Dropdown option selected background color
|
|
1707
|
+
*/
|
|
1708
|
+
dropdown_selected_bg?: string;
|
|
1709
|
+
/**
|
|
1710
|
+
* Dropdown option selected text color
|
|
1711
|
+
*/
|
|
1712
|
+
dropdown_selected_text?: string;
|
|
1713
|
+
/**
|
|
1714
|
+
* Switch unchecked thumb color
|
|
1715
|
+
*/
|
|
1716
|
+
switch_unchecked_color?: string;
|
|
1717
|
+
/**
|
|
1718
|
+
* Switch unchecked track background color
|
|
1719
|
+
*/
|
|
1720
|
+
switch_unchecked_bg?: string;
|
|
1721
|
+
/**
|
|
1722
|
+
* Switch border radius in pixels
|
|
1723
|
+
*/
|
|
1724
|
+
switch_border_radius?: number;
|
|
1725
|
+
/**
|
|
1726
|
+
* Checkbox unchecked border color
|
|
1727
|
+
*/
|
|
1728
|
+
checkbox_unchecked_color?: string;
|
|
1729
|
+
/**
|
|
1730
|
+
* Checkbox label text color
|
|
1731
|
+
*/
|
|
1732
|
+
checkbox_label_color?: string;
|
|
1733
|
+
/**
|
|
1734
|
+
* Radio button unchecked border color
|
|
1735
|
+
*/
|
|
1736
|
+
radio_unchecked_color?: string;
|
|
1737
|
+
/**
|
|
1738
|
+
* Radio button label text color
|
|
1739
|
+
*/
|
|
1740
|
+
radio_label_color?: string;
|
|
1741
|
+
/**
|
|
1742
|
+
* Date picker selected date background color
|
|
1743
|
+
*/
|
|
1744
|
+
datepicker_selected_bg?: string;
|
|
1745
|
+
/**
|
|
1746
|
+
* Date picker selected date text color
|
|
1747
|
+
*/
|
|
1748
|
+
datepicker_selected_color?: string;
|
|
1749
|
+
/**
|
|
1750
|
+
* Date picker border radius in pixels
|
|
1751
|
+
*/
|
|
1752
|
+
datepicker_border_radius?: number;
|
|
1753
|
+
/**
|
|
1754
|
+
* Chip background color
|
|
1755
|
+
*/
|
|
1756
|
+
chip_background?: string;
|
|
1757
|
+
/**
|
|
1758
|
+
* Chip hover background color
|
|
1759
|
+
*/
|
|
1760
|
+
chip_hover_background?: string;
|
|
1761
|
+
/**
|
|
1762
|
+
* Chip text color
|
|
1763
|
+
*/
|
|
1764
|
+
chip_text_color?: string;
|
|
1765
|
+
/**
|
|
1766
|
+
* Chip hover text color
|
|
1767
|
+
*/
|
|
1768
|
+
chip_hover_text_color?: string;
|
|
1769
|
+
};
|
|
1770
|
+
};
|
|
1771
|
+
}
|
|
1772
|
+
export interface UploadFileReq {
|
|
1773
|
+
file_type: "LOGO" | "FONT" | "IMAGE";
|
|
1774
|
+
file_data: string; // base64
|
|
1775
|
+
display_name?: string;
|
|
1776
|
+
file_name: string;
|
|
1777
|
+
}
|
|
1778
|
+
export interface UploadFileRes {
|
|
1779
|
+
name: string;
|
|
1780
|
+
display_name?: string;
|
|
1781
|
+
file_type?: "LOGO" | "FONT" | "IMAGE";
|
|
1782
|
+
s3_object_key: string;
|
|
1783
|
+
url: string;
|
|
1784
|
+
}
|
|
1785
|
+
export interface WidgetData {
|
|
1786
|
+
id: string;
|
|
1787
|
+
name: string;
|
|
1788
|
+
}
|
|
1789
|
+
export interface WidgetPortalData {
|
|
1790
|
+
id: string;
|
|
1791
|
+
name: string;
|
|
1792
|
+
}
|
|
1793
|
+
}
|
|
1794
|
+
}
|
|
1795
|
+
declare namespace Paths {
|
|
1796
|
+
namespace AddConsumer {
|
|
1797
|
+
namespace Parameters {
|
|
1798
|
+
export type Application = string;
|
|
1799
|
+
export type DesignId = /**
|
|
1800
|
+
* Id of the design
|
|
1801
|
+
* example:
|
|
1802
|
+
* 4a062990-a6a3-11eb-9828-4f3da7d4935a
|
|
1803
|
+
*/
|
|
1804
|
+
Components.Schemas.DesignId;
|
|
1805
|
+
}
|
|
1806
|
+
export interface PathParameters {
|
|
1807
|
+
designId: Parameters.DesignId;
|
|
1808
|
+
application: Parameters.Application;
|
|
1809
|
+
}
|
|
1810
|
+
export type RequestBody = Components.Schemas.AddConsumerReq;
|
|
1811
|
+
namespace Responses {
|
|
1812
|
+
export interface $204 {
|
|
1813
|
+
}
|
|
1814
|
+
export type $400 = Components.Schemas.ErrorResp;
|
|
1815
|
+
export type $401 = Components.Schemas.ErrorResp;
|
|
1816
|
+
export interface $404 {
|
|
1817
|
+
}
|
|
1818
|
+
export type $500 = Components.Schemas.ErrorResp;
|
|
1819
|
+
}
|
|
1820
|
+
}
|
|
1821
|
+
namespace AddDesign {
|
|
1822
|
+
export type RequestBody = Components.Schemas.AddDesignReq;
|
|
1823
|
+
namespace Responses {
|
|
1824
|
+
export type $201 = Components.Schemas.AddDesignRes;
|
|
1825
|
+
export type $400 = Components.Schemas.ErrorResp;
|
|
1826
|
+
export type $401 = Components.Schemas.ErrorResp;
|
|
1827
|
+
export type $500 = Components.Schemas.ErrorResp;
|
|
1828
|
+
}
|
|
1829
|
+
}
|
|
1830
|
+
namespace DeleteDesign {
|
|
1831
|
+
namespace Parameters {
|
|
1832
|
+
export type DesignId = /**
|
|
1833
|
+
* Id of the design
|
|
1834
|
+
* example:
|
|
1835
|
+
* 4a062990-a6a3-11eb-9828-4f3da7d4935a
|
|
1836
|
+
*/
|
|
1837
|
+
Components.Schemas.DesignId;
|
|
1838
|
+
}
|
|
1839
|
+
export interface PathParameters {
|
|
1840
|
+
designId: Parameters.DesignId;
|
|
1841
|
+
}
|
|
1842
|
+
namespace Responses {
|
|
1843
|
+
export interface $204 {
|
|
1844
|
+
}
|
|
1845
|
+
export type $400 = Components.Schemas.ErrorResp;
|
|
1846
|
+
export type $401 = Components.Schemas.ErrorResp;
|
|
1847
|
+
export interface $404 {
|
|
1848
|
+
}
|
|
1849
|
+
export type $500 = Components.Schemas.ErrorResp;
|
|
1850
|
+
}
|
|
1851
|
+
}
|
|
1852
|
+
namespace GetAllDesigns {
|
|
1853
|
+
namespace Responses {
|
|
1854
|
+
export type $200 = Components.Schemas.GetAllDesignsRes;
|
|
1855
|
+
export type $500 = Components.Schemas.ErrorResp;
|
|
1856
|
+
}
|
|
1857
|
+
}
|
|
1858
|
+
namespace GetBrands {
|
|
1859
|
+
namespace Responses {
|
|
1860
|
+
export type $200 = Components.Schemas.GetBrandsRes[];
|
|
1861
|
+
export type $500 = Components.Schemas.ErrorResp;
|
|
1862
|
+
}
|
|
1863
|
+
}
|
|
1864
|
+
namespace GetConsumerDesign {
|
|
1865
|
+
namespace Parameters {
|
|
1866
|
+
export type Application = /**
|
|
1867
|
+
* Type of application that uses the design
|
|
1868
|
+
* example:
|
|
1869
|
+
* journey
|
|
1870
|
+
*/
|
|
1871
|
+
Components.Schemas.Application;
|
|
1872
|
+
export type ConsumerId = /**
|
|
1873
|
+
* Id of the design
|
|
1874
|
+
* example:
|
|
1875
|
+
* 4a062990-a6a3-11eb-9828-4f3da7d4935a
|
|
1876
|
+
*/
|
|
1877
|
+
Components.Schemas.DesignId;
|
|
1878
|
+
}
|
|
1879
|
+
export interface PathParameters {
|
|
1880
|
+
consumerId: Parameters.ConsumerId;
|
|
1881
|
+
application: Parameters.Application;
|
|
1882
|
+
}
|
|
1883
|
+
namespace Responses {
|
|
1884
|
+
export type $200 = Components.Schemas.GetDesignRes;
|
|
1885
|
+
export type $400 = Components.Schemas.ErrorResp;
|
|
1886
|
+
export type $401 = Components.Schemas.ErrorResp;
|
|
1887
|
+
export interface $404 {
|
|
1888
|
+
}
|
|
1889
|
+
export type $500 = Components.Schemas.ErrorResp;
|
|
1890
|
+
}
|
|
1891
|
+
}
|
|
1892
|
+
namespace GetDesign {
|
|
1893
|
+
namespace Parameters {
|
|
1894
|
+
export type DesignId = /**
|
|
1895
|
+
* Id of the design
|
|
1896
|
+
* example:
|
|
1897
|
+
* 4a062990-a6a3-11eb-9828-4f3da7d4935a
|
|
1898
|
+
*/
|
|
1899
|
+
Components.Schemas.DesignId;
|
|
1900
|
+
}
|
|
1901
|
+
export interface PathParameters {
|
|
1902
|
+
designId: Parameters.DesignId;
|
|
1903
|
+
}
|
|
1904
|
+
namespace Responses {
|
|
1905
|
+
export type $200 = Components.Schemas.GetDesignRes;
|
|
1906
|
+
export type $400 = Components.Schemas.ErrorResp;
|
|
1907
|
+
export type $401 = Components.Schemas.ErrorResp;
|
|
1908
|
+
export interface $404 {
|
|
1909
|
+
}
|
|
1910
|
+
export type $500 = Components.Schemas.ErrorResp;
|
|
1911
|
+
}
|
|
1912
|
+
}
|
|
1913
|
+
namespace GetFiles {
|
|
1914
|
+
namespace Parameters {
|
|
1915
|
+
export type Type = "LOGO" | "FONT" | "IMAGE";
|
|
1916
|
+
}
|
|
1917
|
+
export interface QueryParameters {
|
|
1918
|
+
type?: Parameters.Type;
|
|
1919
|
+
}
|
|
1920
|
+
namespace Responses {
|
|
1921
|
+
export type $200 = Components.Schemas.GetFilesRes;
|
|
1922
|
+
export type $400 = Components.Schemas.ErrorResp;
|
|
1923
|
+
export type $401 = Components.Schemas.ErrorResp;
|
|
1924
|
+
export type $500 = Components.Schemas.ErrorResp;
|
|
1925
|
+
}
|
|
1926
|
+
}
|
|
1927
|
+
namespace GetLimit {
|
|
1928
|
+
namespace Responses {
|
|
1929
|
+
export type $200 = number;
|
|
1930
|
+
export type $500 = Components.Schemas.ErrorResp;
|
|
1931
|
+
}
|
|
1932
|
+
}
|
|
1933
|
+
namespace GetThemeFromDesign {
|
|
1934
|
+
namespace Parameters {
|
|
1935
|
+
export type DesignId = /**
|
|
1936
|
+
* Id of the design
|
|
1937
|
+
* example:
|
|
1938
|
+
* 4a062990-a6a3-11eb-9828-4f3da7d4935a
|
|
1939
|
+
*/
|
|
1940
|
+
Components.Schemas.DesignId;
|
|
1941
|
+
export type OrgId = string;
|
|
1942
|
+
export type Theme = /**
|
|
1943
|
+
* Type of theme to be parsed and returned
|
|
1944
|
+
* example:
|
|
1945
|
+
* NEW
|
|
1946
|
+
*/
|
|
1947
|
+
Components.Schemas.Theme;
|
|
1948
|
+
}
|
|
1949
|
+
export interface PathParameters {
|
|
1950
|
+
designId: Parameters.DesignId;
|
|
1951
|
+
}
|
|
1952
|
+
export interface QueryParameters {
|
|
1953
|
+
orgId?: Parameters.OrgId;
|
|
1954
|
+
theme: Parameters.Theme;
|
|
1955
|
+
}
|
|
1956
|
+
namespace Responses {
|
|
1957
|
+
export interface $200 {
|
|
1958
|
+
}
|
|
1959
|
+
export type $400 = Components.Schemas.ErrorResp;
|
|
1960
|
+
export type $401 = Components.Schemas.ErrorResp;
|
|
1961
|
+
export interface $404 {
|
|
1962
|
+
}
|
|
1963
|
+
export type $500 = Components.Schemas.ErrorResp;
|
|
1964
|
+
}
|
|
1965
|
+
}
|
|
1966
|
+
namespace RemoveConsumer {
|
|
1967
|
+
namespace Parameters {
|
|
1968
|
+
export type Application = string;
|
|
1969
|
+
export type DesignId = /**
|
|
1970
|
+
* Id of the design
|
|
1971
|
+
* example:
|
|
1972
|
+
* 4a062990-a6a3-11eb-9828-4f3da7d4935a
|
|
1973
|
+
*/
|
|
1974
|
+
Components.Schemas.DesignId;
|
|
1975
|
+
}
|
|
1976
|
+
export interface PathParameters {
|
|
1977
|
+
designId: Parameters.DesignId;
|
|
1978
|
+
application: Parameters.Application;
|
|
1979
|
+
}
|
|
1980
|
+
export type RequestBody = Components.Schemas.RemoveConsumerReq;
|
|
1981
|
+
namespace Responses {
|
|
1982
|
+
export interface $204 {
|
|
1983
|
+
}
|
|
1984
|
+
export type $400 = Components.Schemas.ErrorResp;
|
|
1985
|
+
export type $401 = Components.Schemas.ErrorResp;
|
|
1986
|
+
export interface $404 {
|
|
1987
|
+
}
|
|
1988
|
+
export type $500 = Components.Schemas.ErrorResp;
|
|
1989
|
+
}
|
|
1990
|
+
}
|
|
1991
|
+
namespace UpdateDesign {
|
|
1992
|
+
namespace Parameters {
|
|
1993
|
+
export type DesignId = /**
|
|
1994
|
+
* Id of the design
|
|
1995
|
+
* example:
|
|
1996
|
+
* 4a062990-a6a3-11eb-9828-4f3da7d4935a
|
|
1997
|
+
*/
|
|
1998
|
+
Components.Schemas.DesignId;
|
|
1999
|
+
}
|
|
2000
|
+
export interface PathParameters {
|
|
2001
|
+
designId: Parameters.DesignId;
|
|
2002
|
+
}
|
|
2003
|
+
export type RequestBody = Components.Schemas.UpdateDesignReq;
|
|
2004
|
+
namespace Responses {
|
|
2005
|
+
export interface $204 {
|
|
2006
|
+
}
|
|
2007
|
+
export type $400 = Components.Schemas.ErrorResp;
|
|
2008
|
+
export type $401 = Components.Schemas.ErrorResp;
|
|
2009
|
+
export interface $404 {
|
|
2010
|
+
}
|
|
2011
|
+
export type $500 = Components.Schemas.ErrorResp;
|
|
2012
|
+
}
|
|
2013
|
+
}
|
|
2014
|
+
namespace UploadFile {
|
|
2015
|
+
export type RequestBody = Components.Schemas.UploadFileReq;
|
|
2016
|
+
namespace Responses {
|
|
2017
|
+
export type $201 = Components.Schemas.UploadFileRes;
|
|
2018
|
+
export type $400 = Components.Schemas.ErrorResp;
|
|
2019
|
+
export type $401 = Components.Schemas.ErrorResp;
|
|
2020
|
+
export type $500 = Components.Schemas.ErrorResp;
|
|
2021
|
+
}
|
|
2022
|
+
}
|
|
2023
|
+
}
|
|
2024
|
+
|
|
2025
|
+
|
|
2026
|
+
interface OperationMethods {
|
|
2027
|
+
/**
|
|
2028
|
+
* getAllDesigns - getAllDesigns
|
|
2029
|
+
*
|
|
2030
|
+
* Scan all designs linked to a organization, based in orgId attribute from JWT auth token
|
|
2031
|
+
*/
|
|
2032
|
+
'getAllDesigns'(
|
|
2033
|
+
parameters?: Parameters<UnknownParamsObject> | null,
|
|
2034
|
+
data?: any,
|
|
2035
|
+
config?: AxiosRequestConfig
|
|
2036
|
+
): OperationResponse<Paths.GetAllDesigns.Responses.$200>
|
|
2037
|
+
/**
|
|
2038
|
+
* addDesign - addDesign
|
|
2039
|
+
*
|
|
2040
|
+
* Create a brand new design linked to a organization, based in orgId attribute from JWT auth token
|
|
2041
|
+
*/
|
|
2042
|
+
'addDesign'(
|
|
2043
|
+
parameters?: Parameters<UnknownParamsObject> | null,
|
|
2044
|
+
data?: Paths.AddDesign.RequestBody,
|
|
2045
|
+
config?: AxiosRequestConfig
|
|
2046
|
+
): OperationResponse<Paths.AddDesign.Responses.$201>
|
|
2047
|
+
/**
|
|
2048
|
+
* getDesign - getDesign
|
|
2049
|
+
*
|
|
2050
|
+
* Search for a especific design owned by user organization
|
|
2051
|
+
*/
|
|
2052
|
+
'getDesign'(
|
|
2053
|
+
parameters?: Parameters<Paths.GetDesign.PathParameters> | null,
|
|
2054
|
+
data?: any,
|
|
2055
|
+
config?: AxiosRequestConfig
|
|
2056
|
+
): OperationResponse<Paths.GetDesign.Responses.$200>
|
|
2057
|
+
/**
|
|
2058
|
+
* updateDesign - updateDesign
|
|
2059
|
+
*
|
|
2060
|
+
* Update a especific design owned by user organization
|
|
2061
|
+
*/
|
|
2062
|
+
'updateDesign'(
|
|
2063
|
+
parameters?: Parameters<Paths.UpdateDesign.PathParameters> | null,
|
|
2064
|
+
data?: Paths.UpdateDesign.RequestBody,
|
|
2065
|
+
config?: AxiosRequestConfig
|
|
2066
|
+
): OperationResponse<Paths.UpdateDesign.Responses.$204>
|
|
2067
|
+
/**
|
|
2068
|
+
* deleteDesign - deleteDesign
|
|
2069
|
+
*
|
|
2070
|
+
* Search and delete for a especific design owned by user organization
|
|
2071
|
+
*/
|
|
2072
|
+
'deleteDesign'(
|
|
2073
|
+
parameters?: Parameters<Paths.DeleteDesign.PathParameters> | null,
|
|
2074
|
+
data?: any,
|
|
2075
|
+
config?: AxiosRequestConfig
|
|
2076
|
+
): OperationResponse<Paths.DeleteDesign.Responses.$204>
|
|
2077
|
+
/**
|
|
2078
|
+
* getThemeFromDesign - getThemeFromDesign
|
|
2079
|
+
*
|
|
2080
|
+
* Search for a especific design owned by user organization and parse them to a new or old theme
|
|
2081
|
+
*/
|
|
2082
|
+
'getThemeFromDesign'(
|
|
2083
|
+
parameters?: Parameters<Paths.GetThemeFromDesign.QueryParameters & Paths.GetThemeFromDesign.PathParameters> | null,
|
|
2084
|
+
data?: any,
|
|
2085
|
+
config?: AxiosRequestConfig
|
|
2086
|
+
): OperationResponse<Paths.GetThemeFromDesign.Responses.$200>
|
|
2087
|
+
/**
|
|
2088
|
+
* getFiles - getFiles
|
|
2089
|
+
*
|
|
2090
|
+
* List all files for the user organization bucket
|
|
2091
|
+
*/
|
|
2092
|
+
'getFiles'(
|
|
2093
|
+
parameters?: Parameters<Paths.GetFiles.QueryParameters> | null,
|
|
2094
|
+
data?: any,
|
|
2095
|
+
config?: AxiosRequestConfig
|
|
2096
|
+
): OperationResponse<Paths.GetFiles.Responses.$200>
|
|
2097
|
+
/**
|
|
2098
|
+
* uploadFile - uploadFile
|
|
2099
|
+
*
|
|
2100
|
+
* Upload a new file for the user organization bucket
|
|
2101
|
+
*/
|
|
2102
|
+
'uploadFile'(
|
|
2103
|
+
parameters?: Parameters<UnknownParamsObject> | null,
|
|
2104
|
+
data?: Paths.UploadFile.RequestBody,
|
|
2105
|
+
config?: AxiosRequestConfig
|
|
2106
|
+
): OperationResponse<Paths.UploadFile.Responses.$201>
|
|
2107
|
+
/**
|
|
2108
|
+
* getLimit - getLimit
|
|
2109
|
+
*
|
|
2110
|
+
* Gets designs number limit from database per organization
|
|
2111
|
+
*/
|
|
2112
|
+
'getLimit'(
|
|
2113
|
+
parameters?: Parameters<UnknownParamsObject> | null,
|
|
2114
|
+
data?: any,
|
|
2115
|
+
config?: AxiosRequestConfig
|
|
2116
|
+
): OperationResponse<Paths.GetLimit.Responses.$200>
|
|
2117
|
+
/**
|
|
2118
|
+
* getBrands - getBrands
|
|
2119
|
+
*
|
|
2120
|
+
* Scan all brands linked to a organization, based in orgId attribute from JWT auth token
|
|
2121
|
+
*/
|
|
2122
|
+
'getBrands'(
|
|
2123
|
+
parameters?: Parameters<UnknownParamsObject> | null,
|
|
2124
|
+
data?: any,
|
|
2125
|
+
config?: AxiosRequestConfig
|
|
2126
|
+
): OperationResponse<Paths.GetBrands.Responses.$200>
|
|
2127
|
+
/**
|
|
2128
|
+
* getConsumerDesign - getConsumerDesign
|
|
2129
|
+
*
|
|
2130
|
+
* Search for a especific design owned by user organization
|
|
2131
|
+
*/
|
|
2132
|
+
'getConsumerDesign'(
|
|
2133
|
+
parameters?: Parameters<Paths.GetConsumerDesign.PathParameters> | null,
|
|
2134
|
+
data?: any,
|
|
2135
|
+
config?: AxiosRequestConfig
|
|
2136
|
+
): OperationResponse<Paths.GetConsumerDesign.Responses.$200>
|
|
2137
|
+
/**
|
|
2138
|
+
* addConsumer - addConsumer
|
|
2139
|
+
*
|
|
2140
|
+
* Add a consumer that uses a specific design
|
|
2141
|
+
*/
|
|
2142
|
+
'addConsumer'(
|
|
2143
|
+
parameters?: Parameters<Paths.AddConsumer.PathParameters> | null,
|
|
2144
|
+
data?: Paths.AddConsumer.RequestBody,
|
|
2145
|
+
config?: AxiosRequestConfig
|
|
2146
|
+
): OperationResponse<Paths.AddConsumer.Responses.$204>
|
|
2147
|
+
/**
|
|
2148
|
+
* removeConsumer - removeConsumer
|
|
2149
|
+
*
|
|
2150
|
+
* Remove a consumer that uses a specific design
|
|
2151
|
+
*/
|
|
2152
|
+
'removeConsumer'(
|
|
2153
|
+
parameters?: Parameters<Paths.RemoveConsumer.PathParameters> | null,
|
|
2154
|
+
data?: Paths.RemoveConsumer.RequestBody,
|
|
2155
|
+
config?: AxiosRequestConfig
|
|
2156
|
+
): OperationResponse<Paths.RemoveConsumer.Responses.$204>
|
|
2157
|
+
}
|
|
2158
|
+
|
|
2159
|
+
interface PathsDictionary {
|
|
2160
|
+
['/v1/designs']: {
|
|
2161
|
+
/**
|
|
2162
|
+
* getAllDesigns - getAllDesigns
|
|
2163
|
+
*
|
|
2164
|
+
* Scan all designs linked to a organization, based in orgId attribute from JWT auth token
|
|
2165
|
+
*/
|
|
2166
|
+
'get'(
|
|
2167
|
+
parameters?: Parameters<UnknownParamsObject> | null,
|
|
2168
|
+
data?: any,
|
|
2169
|
+
config?: AxiosRequestConfig
|
|
2170
|
+
): OperationResponse<Paths.GetAllDesigns.Responses.$200>
|
|
2171
|
+
/**
|
|
2172
|
+
* addDesign - addDesign
|
|
2173
|
+
*
|
|
2174
|
+
* Create a brand new design linked to a organization, based in orgId attribute from JWT auth token
|
|
2175
|
+
*/
|
|
2176
|
+
'post'(
|
|
2177
|
+
parameters?: Parameters<UnknownParamsObject> | null,
|
|
2178
|
+
data?: Paths.AddDesign.RequestBody,
|
|
2179
|
+
config?: AxiosRequestConfig
|
|
2180
|
+
): OperationResponse<Paths.AddDesign.Responses.$201>
|
|
2181
|
+
}
|
|
2182
|
+
['/v1/designs/{designId}']: {
|
|
2183
|
+
/**
|
|
2184
|
+
* getDesign - getDesign
|
|
2185
|
+
*
|
|
2186
|
+
* Search for a especific design owned by user organization
|
|
2187
|
+
*/
|
|
2188
|
+
'get'(
|
|
2189
|
+
parameters?: Parameters<Paths.GetDesign.PathParameters> | null,
|
|
2190
|
+
data?: any,
|
|
2191
|
+
config?: AxiosRequestConfig
|
|
2192
|
+
): OperationResponse<Paths.GetDesign.Responses.$200>
|
|
2193
|
+
/**
|
|
2194
|
+
* deleteDesign - deleteDesign
|
|
2195
|
+
*
|
|
2196
|
+
* Search and delete for a especific design owned by user organization
|
|
2197
|
+
*/
|
|
2198
|
+
'delete'(
|
|
2199
|
+
parameters?: Parameters<Paths.DeleteDesign.PathParameters> | null,
|
|
2200
|
+
data?: any,
|
|
2201
|
+
config?: AxiosRequestConfig
|
|
2202
|
+
): OperationResponse<Paths.DeleteDesign.Responses.$204>
|
|
2203
|
+
/**
|
|
2204
|
+
* updateDesign - updateDesign
|
|
2205
|
+
*
|
|
2206
|
+
* Update a especific design owned by user organization
|
|
2207
|
+
*/
|
|
2208
|
+
'put'(
|
|
2209
|
+
parameters?: Parameters<Paths.UpdateDesign.PathParameters> | null,
|
|
2210
|
+
data?: Paths.UpdateDesign.RequestBody,
|
|
2211
|
+
config?: AxiosRequestConfig
|
|
2212
|
+
): OperationResponse<Paths.UpdateDesign.Responses.$204>
|
|
2213
|
+
}
|
|
2214
|
+
['/v1/designs/{designId}/parse']: {
|
|
2215
|
+
/**
|
|
2216
|
+
* getThemeFromDesign - getThemeFromDesign
|
|
2217
|
+
*
|
|
2218
|
+
* Search for a especific design owned by user organization and parse them to a new or old theme
|
|
2219
|
+
*/
|
|
2220
|
+
'get'(
|
|
2221
|
+
parameters?: Parameters<Paths.GetThemeFromDesign.QueryParameters & Paths.GetThemeFromDesign.PathParameters> | null,
|
|
2222
|
+
data?: any,
|
|
2223
|
+
config?: AxiosRequestConfig
|
|
2224
|
+
): OperationResponse<Paths.GetThemeFromDesign.Responses.$200>
|
|
2225
|
+
}
|
|
2226
|
+
['/v1/designs/files']: {
|
|
2227
|
+
/**
|
|
2228
|
+
* uploadFile - uploadFile
|
|
2229
|
+
*
|
|
2230
|
+
* Upload a new file for the user organization bucket
|
|
2231
|
+
*/
|
|
2232
|
+
'post'(
|
|
2233
|
+
parameters?: Parameters<UnknownParamsObject> | null,
|
|
2234
|
+
data?: Paths.UploadFile.RequestBody,
|
|
2235
|
+
config?: AxiosRequestConfig
|
|
2236
|
+
): OperationResponse<Paths.UploadFile.Responses.$201>
|
|
2237
|
+
/**
|
|
2238
|
+
* getFiles - getFiles
|
|
2239
|
+
*
|
|
2240
|
+
* List all files for the user organization bucket
|
|
2241
|
+
*/
|
|
2242
|
+
'get'(
|
|
2243
|
+
parameters?: Parameters<Paths.GetFiles.QueryParameters> | null,
|
|
2244
|
+
data?: any,
|
|
2245
|
+
config?: AxiosRequestConfig
|
|
2246
|
+
): OperationResponse<Paths.GetFiles.Responses.$200>
|
|
2247
|
+
}
|
|
2248
|
+
['/v1/designs/limit']: {
|
|
2249
|
+
/**
|
|
2250
|
+
* getLimit - getLimit
|
|
2251
|
+
*
|
|
2252
|
+
* Gets designs number limit from database per organization
|
|
2253
|
+
*/
|
|
2254
|
+
'get'(
|
|
2255
|
+
parameters?: Parameters<UnknownParamsObject> | null,
|
|
2256
|
+
data?: any,
|
|
2257
|
+
config?: AxiosRequestConfig
|
|
2258
|
+
): OperationResponse<Paths.GetLimit.Responses.$200>
|
|
2259
|
+
}
|
|
2260
|
+
['/v1/brands']: {
|
|
2261
|
+
/**
|
|
2262
|
+
* getBrands - getBrands
|
|
2263
|
+
*
|
|
2264
|
+
* Scan all brands linked to a organization, based in orgId attribute from JWT auth token
|
|
2265
|
+
*/
|
|
2266
|
+
'get'(
|
|
2267
|
+
parameters?: Parameters<UnknownParamsObject> | null,
|
|
2268
|
+
data?: any,
|
|
2269
|
+
config?: AxiosRequestConfig
|
|
2270
|
+
): OperationResponse<Paths.GetBrands.Responses.$200>
|
|
2271
|
+
}
|
|
2272
|
+
['/v1/designs/consumer/{application}/{consumerId}']: {
|
|
2273
|
+
/**
|
|
2274
|
+
* getConsumerDesign - getConsumerDesign
|
|
2275
|
+
*
|
|
2276
|
+
* Search for a especific design owned by user organization
|
|
2277
|
+
*/
|
|
2278
|
+
'get'(
|
|
2279
|
+
parameters?: Parameters<Paths.GetConsumerDesign.PathParameters> | null,
|
|
2280
|
+
data?: any,
|
|
2281
|
+
config?: AxiosRequestConfig
|
|
2282
|
+
): OperationResponse<Paths.GetConsumerDesign.Responses.$200>
|
|
2283
|
+
}
|
|
2284
|
+
['/v1/designs/addConsumer/{application}/{designId}']: {
|
|
2285
|
+
/**
|
|
2286
|
+
* addConsumer - addConsumer
|
|
2287
|
+
*
|
|
2288
|
+
* Add a consumer that uses a specific design
|
|
2289
|
+
*/
|
|
2290
|
+
'put'(
|
|
2291
|
+
parameters?: Parameters<Paths.AddConsumer.PathParameters> | null,
|
|
2292
|
+
data?: Paths.AddConsumer.RequestBody,
|
|
2293
|
+
config?: AxiosRequestConfig
|
|
2294
|
+
): OperationResponse<Paths.AddConsumer.Responses.$204>
|
|
2295
|
+
}
|
|
2296
|
+
['/v1/designs/removeConsumer/{application}/{designId}']: {
|
|
2297
|
+
/**
|
|
2298
|
+
* removeConsumer - removeConsumer
|
|
2299
|
+
*
|
|
2300
|
+
* Remove a consumer that uses a specific design
|
|
2301
|
+
*/
|
|
2302
|
+
'put'(
|
|
2303
|
+
parameters?: Parameters<Paths.RemoveConsumer.PathParameters> | null,
|
|
2304
|
+
data?: Paths.RemoveConsumer.RequestBody,
|
|
2305
|
+
config?: AxiosRequestConfig
|
|
2306
|
+
): OperationResponse<Paths.RemoveConsumer.Responses.$204>
|
|
2307
|
+
}
|
|
2308
|
+
}
|
|
2309
|
+
|
|
2310
|
+
type Client = OpenAPIClient<OperationMethods, PathsDictionary>
|
|
2311
|
+
|
|
2312
|
+
|
|
2313
|
+
type AddConsumerReq = Components.Schemas.AddConsumerReq;
|
|
2314
|
+
type AddDesignReq = Components.Schemas.AddDesignReq;
|
|
2315
|
+
type AddDesignRes = Components.Schemas.AddDesignRes;
|
|
2316
|
+
type Application = Components.Schemas.Application;
|
|
2317
|
+
type BrandItem = Components.Schemas.BrandItem;
|
|
2318
|
+
type ConsumerData = Components.Schemas.ConsumerData;
|
|
2319
|
+
type Custom_Style = Components.Schemas.CustomStyle;
|
|
2320
|
+
type CustomerPortalData = Components.Schemas.CustomerPortalData;
|
|
2321
|
+
type DesignId = Components.Schemas.DesignId;
|
|
2322
|
+
type DesignItem = Components.Schemas.DesignItem;
|
|
2323
|
+
type DesignParameters = Components.Schemas.DesignParameters;
|
|
2324
|
+
type ErrorResp = Components.Schemas.ErrorResp;
|
|
2325
|
+
type FileData = Components.Schemas.FileData;
|
|
2326
|
+
type FontData = Components.Schemas.FontData;
|
|
2327
|
+
type FontResponseUrl = Components.Schemas.FontResponseUrl;
|
|
2328
|
+
type GetAllDesignsRes = Components.Schemas.GetAllDesignsRes;
|
|
2329
|
+
type GetBrandsRes = Components.Schemas.GetBrandsRes;
|
|
2330
|
+
type GetDesignRes = Components.Schemas.GetDesignRes;
|
|
2331
|
+
type GetFilesRes = Components.Schemas.GetFilesRes;
|
|
2332
|
+
type ItemMetada = Components.Schemas.ItemMetada;
|
|
2333
|
+
type Journey = Components.Schemas.Journey;
|
|
2334
|
+
type LogoData = Components.Schemas.LogoData;
|
|
2335
|
+
type PaletteData = Components.Schemas.PaletteData;
|
|
2336
|
+
type RemoveConsumerReq = Components.Schemas.RemoveConsumerReq;
|
|
2337
|
+
type ShapeData = Components.Schemas.ShapeData;
|
|
2338
|
+
type Theme = Components.Schemas.Theme;
|
|
2339
|
+
type TypographyData = Components.Schemas.TypographyData;
|
|
2340
|
+
type UpdateDesignReq = Components.Schemas.UpdateDesignReq;
|
|
2341
|
+
type UploadFileReq = Components.Schemas.UploadFileReq;
|
|
2342
|
+
type UploadFileRes = Components.Schemas.UploadFileRes;
|
|
2343
|
+
type WidgetData = Components.Schemas.WidgetData;
|
|
2344
|
+
type WidgetPortalData = Components.Schemas.WidgetPortalData;
|
|
2345
|
+
|
|
2346
|
+
export { type AddConsumerReq as A, type BrandItem as B, type Client as C, type DesignId as D, type ErrorResp as E, type FileData as F, type GetAllDesignsRes as G, type ItemMetada as I, type Journey as J, type LogoData as L, type OperationMethods as O, Paths as P, type RemoveConsumerReq as R, type ShapeData as S, type Theme as T, type UpdateDesignReq as U, type WidgetData as W, Components as a, type PathsDictionary as b, type AddDesignReq as c, type AddDesignRes as d, type Application as e, type ConsumerData as f, type Custom_Style as g, type CustomerPortalData as h, type DesignItem as i, type DesignParameters as j, type FontData as k, type FontResponseUrl as l, type GetBrandsRes as m, type GetDesignRes as n, type GetFilesRes as o, type PaletteData as p, type TypographyData as q, type UploadFileReq as r, type UploadFileRes as s, type WidgetPortalData as t };
|