@epilot/sdk 2.3.7-rc1 → 2.3.8
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/definitions/message-runtime.json +1 -1
- package/definitions/message.json +12 -2
- 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 +8 -8
- package/dist/apis/message.d.cts +2 -2
- package/dist/apis/message.d.ts +2 -2
- package/dist/apis/message.js +2 -2
- 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-FCT6W5UM.cjs → chunk-6DZXWV2A.cjs} +5 -5
- package/dist/{chunk-OU5NVIJW.js → chunk-7TFVO6SP.js} +5 -5
- package/dist/{chunk-77JS7NDM.cjs → chunk-DUHAG5CO.cjs} +1 -1
- package/dist/chunk-F7W62NKV.js +14 -0
- package/dist/{chunk-DLYPVF4U.js → chunk-FAZ63FEX.js} +1 -1
- 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 +12 -12
- package/dist/index.d.cts +2 -2
- package/dist/index.d.ts +2 -2
- package/dist/index.js +3 -3
- package/dist/{js-yaml-UPZKYVRY.js → js-yaml-DLCVPJ7G.js} +17 -15
- package/dist/message-6IFCB7GH.js +7 -0
- package/dist/message-7LNAFKKV.cjs +7 -0
- package/dist/{message-runtime-CGFCT6FU.cjs → message-runtime-JSZCNCNU.cjs} +2 -2
- package/dist/{message-runtime-XDCFFLYK.js → message-runtime-XOQ5EJN6.js} +1 -1
- package/dist/{message.d-D3QUkBjg.d.ts → message.d-B5UuSqgw.d.cts} +9 -3
- package/dist/{message.d-D3QUkBjg.d.cts → message.d-B5UuSqgw.d.ts} +9 -3
- package/docs/design.md +665 -341
- package/docs/entity.md +39 -965
- package/docs/message.md +2 -1
- 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
- package/dist/message-HCA2KSH6.js +0 -7
- package/dist/message-J2SFQJNB.cjs +0 -7
package/docs/design.md
CHANGED
|
@@ -95,77 +95,14 @@ const { data } = await client.getAllDesigns()
|
|
|
95
95
|
"last_modified_at": "string",
|
|
96
96
|
"brand_id": "string",
|
|
97
97
|
"brand_name": "string",
|
|
98
|
-
"user": {
|
|
99
|
-
"emailaddress": "string",
|
|
100
|
-
"fullname": "string",
|
|
101
|
-
"name": "string",
|
|
102
|
-
"userid": "string"
|
|
103
|
-
},
|
|
98
|
+
"user": {},
|
|
104
99
|
"style_name": "string",
|
|
105
|
-
"style": {
|
|
106
|
-
"logo": {
|
|
107
|
-
"main": {
|
|
108
|
-
"name": "string",
|
|
109
|
-
"display_name": "string",
|
|
110
|
-
"file_type": "LOGO",
|
|
111
|
-
"s3_object_key": "string",
|
|
112
|
-
"url": "string"
|
|
113
|
-
}
|
|
114
|
-
},
|
|
115
|
-
"palette": {
|
|
116
|
-
"primary": "string",
|
|
117
|
-
"secondary": "string",
|
|
118
|
-
"error": "string",
|
|
119
|
-
"background": "string",
|
|
120
|
-
"paper": "string",
|
|
121
|
-
"navbar": "string",
|
|
122
|
-
"portal_login_background": "string"
|
|
123
|
-
},
|
|
124
|
-
"typography": {
|
|
125
|
-
"font": {
|
|
126
|
-
"font_id": "string",
|
|
127
|
-
"font_name": "string",
|
|
128
|
-
"font_family": "string",
|
|
129
|
-
"font_weight_regular": "string",
|
|
130
|
-
"font_weight_medium": "string",
|
|
131
|
-
"font_weight_bold": "string",
|
|
132
|
-
"urls": [
|
|
133
|
-
{
|
|
134
|
-
"type": "WOFF2",
|
|
135
|
-
"url": "string"
|
|
136
|
-
}
|
|
137
|
-
]
|
|
138
|
-
},
|
|
139
|
-
"primary": "string",
|
|
140
|
-
"secondary": "string"
|
|
141
|
-
},
|
|
142
|
-
"shape": {
|
|
143
|
-
"border_radius": 0
|
|
144
|
-
},
|
|
145
|
-
"consumer": {
|
|
146
|
-
"widgets": [
|
|
147
|
-
{
|
|
148
|
-
"id": "string",
|
|
149
|
-
"name": "string"
|
|
150
|
-
}
|
|
151
|
-
],
|
|
152
|
-
"customer_portals": [
|
|
153
|
-
{
|
|
154
|
-
"id": "string",
|
|
155
|
-
"name": "string"
|
|
156
|
-
}
|
|
157
|
-
]
|
|
158
|
-
}
|
|
159
|
-
},
|
|
100
|
+
"style": {},
|
|
160
101
|
"is_default": true,
|
|
161
102
|
"_manifest": ["string"],
|
|
162
103
|
"custom_theme": "string",
|
|
163
104
|
"use_custom_theme": true,
|
|
164
|
-
"design_tokens": {
|
|
165
|
-
"coupon": "string",
|
|
166
|
-
"cashback": "string",
|
|
167
|
-
"custom_css": "string"
|
|
168
|
-
}
|
|
105
|
+
"design_tokens": {}
|
|
169
106
|
}
|
|
170
107
|
]
|
|
171
108
|
}
|
|
@@ -196,59 +133,11 @@ const { data } = await client.addDesign(
|
|
|
196
133
|
},
|
|
197
134
|
style_name: 'string',
|
|
198
135
|
style: {
|
|
199
|
-
logo: {
|
|
200
|
-
|
|
201
|
-
|
|
202
|
-
|
|
203
|
-
|
|
204
|
-
s3_object_key: 'string',
|
|
205
|
-
url: 'string'
|
|
206
|
-
}
|
|
207
|
-
},
|
|
208
|
-
palette: {
|
|
209
|
-
primary: 'string',
|
|
210
|
-
secondary: 'string',
|
|
211
|
-
error: 'string',
|
|
212
|
-
background: 'string',
|
|
213
|
-
paper: 'string',
|
|
214
|
-
navbar: 'string',
|
|
215
|
-
portal_login_background: 'string'
|
|
216
|
-
},
|
|
217
|
-
typography: {
|
|
218
|
-
font: {
|
|
219
|
-
font_id: 'string',
|
|
220
|
-
font_name: 'string',
|
|
221
|
-
font_family: 'string',
|
|
222
|
-
font_weight_regular: 'string',
|
|
223
|
-
font_weight_medium: 'string',
|
|
224
|
-
font_weight_bold: 'string',
|
|
225
|
-
urls: [
|
|
226
|
-
{
|
|
227
|
-
type: 'WOFF2',
|
|
228
|
-
url: 'string'
|
|
229
|
-
}
|
|
230
|
-
]
|
|
231
|
-
},
|
|
232
|
-
primary: 'string',
|
|
233
|
-
secondary: 'string'
|
|
234
|
-
},
|
|
235
|
-
shape: {
|
|
236
|
-
border_radius: 0
|
|
237
|
-
},
|
|
238
|
-
consumer: {
|
|
239
|
-
widgets: [
|
|
240
|
-
{
|
|
241
|
-
id: 'string',
|
|
242
|
-
name: 'string'
|
|
243
|
-
}
|
|
244
|
-
],
|
|
245
|
-
customer_portals: [
|
|
246
|
-
{
|
|
247
|
-
id: 'string',
|
|
248
|
-
name: 'string'
|
|
249
|
-
}
|
|
250
|
-
]
|
|
251
|
-
}
|
|
136
|
+
logo: { /* ... */ },
|
|
137
|
+
palette: { /* ... */ },
|
|
138
|
+
typography: { /* ... */ },
|
|
139
|
+
shape: { /* ... */ },
|
|
140
|
+
consumer: { /* ... */ }
|
|
252
141
|
},
|
|
253
142
|
is_default: true,
|
|
254
143
|
_manifest: ['string'],
|
|
@@ -257,7 +146,64 @@ const { data } = await client.addDesign(
|
|
|
257
146
|
design_tokens: {
|
|
258
147
|
coupon: 'string',
|
|
259
148
|
cashback: 'string',
|
|
260
|
-
custom_css: 'string'
|
|
149
|
+
custom_css: 'string',
|
|
150
|
+
accent_color: 'string',
|
|
151
|
+
outline_color: 'string',
|
|
152
|
+
divider_color: 'string',
|
|
153
|
+
link_color: 'string',
|
|
154
|
+
link_hover_color: 'string',
|
|
155
|
+
font_size_scale: 'xs',
|
|
156
|
+
topbar_height: 0,
|
|
157
|
+
topbar_logo_alignment: 'flex-start',
|
|
158
|
+
logo_size: 0,
|
|
159
|
+
input_background: 'string',
|
|
160
|
+
input_border_color: 'string',
|
|
161
|
+
input_text_color: 'string',
|
|
162
|
+
input_label_color: 'string',
|
|
163
|
+
input_border_radius: 0,
|
|
164
|
+
input_height: 0,
|
|
165
|
+
input_variant: 'outlined',
|
|
166
|
+
button_primary_bg: 'string',
|
|
167
|
+
button_primary_text: 'string',
|
|
168
|
+
button_primary_hover_bg: 'string',
|
|
169
|
+
button_primary_hover_text: 'string',
|
|
170
|
+
button_outlined_border: 'string',
|
|
171
|
+
button_outlined_text: 'string',
|
|
172
|
+
button_outlined_hover_bg: 'string',
|
|
173
|
+
button_outlined_hover_text: 'string',
|
|
174
|
+
button_ghost_bg: 'string',
|
|
175
|
+
button_ghost_text: 'string',
|
|
176
|
+
button_ghost_hover_bg: 'string',
|
|
177
|
+
button_ghost_hover_text: 'string',
|
|
178
|
+
button_border_radius: 0,
|
|
179
|
+
button_height: 0,
|
|
180
|
+
card_background: 'string',
|
|
181
|
+
card_border_color: 'string',
|
|
182
|
+
card_variant: 'shadow',
|
|
183
|
+
summary_card_background: 'string',
|
|
184
|
+
toggle_selected_bg: 'string',
|
|
185
|
+
toggle_selected_text: 'string',
|
|
186
|
+
toggle_hover_bg: 'string',
|
|
187
|
+
toggle_hover_text: 'string',
|
|
188
|
+
toggle_border_color: 'string',
|
|
189
|
+
dropdown_hover_bg: 'string',
|
|
190
|
+
dropdown_hover_text: 'string',
|
|
191
|
+
dropdown_selected_bg: 'string',
|
|
192
|
+
dropdown_selected_text: 'string',
|
|
193
|
+
switch_unchecked_color: 'string',
|
|
194
|
+
switch_unchecked_bg: 'string',
|
|
195
|
+
switch_border_radius: 0,
|
|
196
|
+
checkbox_unchecked_color: 'string',
|
|
197
|
+
checkbox_label_color: 'string',
|
|
198
|
+
radio_unchecked_color: 'string',
|
|
199
|
+
radio_label_color: 'string',
|
|
200
|
+
datepicker_selected_bg: 'string',
|
|
201
|
+
datepicker_selected_color: 'string',
|
|
202
|
+
datepicker_border_radius: 0,
|
|
203
|
+
chip_background: 'string',
|
|
204
|
+
chip_hover_background: 'string',
|
|
205
|
+
chip_text_color: 'string',
|
|
206
|
+
chip_hover_text_color: 'string'
|
|
261
207
|
}
|
|
262
208
|
}
|
|
263
209
|
},
|
|
@@ -285,59 +231,11 @@ const { data } = await client.addDesign(
|
|
|
285
231
|
},
|
|
286
232
|
"style_name": "string",
|
|
287
233
|
"style": {
|
|
288
|
-
"logo": {
|
|
289
|
-
|
|
290
|
-
|
|
291
|
-
|
|
292
|
-
|
|
293
|
-
"s3_object_key": "string",
|
|
294
|
-
"url": "string"
|
|
295
|
-
}
|
|
296
|
-
},
|
|
297
|
-
"palette": {
|
|
298
|
-
"primary": "string",
|
|
299
|
-
"secondary": "string",
|
|
300
|
-
"error": "string",
|
|
301
|
-
"background": "string",
|
|
302
|
-
"paper": "string",
|
|
303
|
-
"navbar": "string",
|
|
304
|
-
"portal_login_background": "string"
|
|
305
|
-
},
|
|
306
|
-
"typography": {
|
|
307
|
-
"font": {
|
|
308
|
-
"font_id": "string",
|
|
309
|
-
"font_name": "string",
|
|
310
|
-
"font_family": "string",
|
|
311
|
-
"font_weight_regular": "string",
|
|
312
|
-
"font_weight_medium": "string",
|
|
313
|
-
"font_weight_bold": "string",
|
|
314
|
-
"urls": [
|
|
315
|
-
{
|
|
316
|
-
"type": "WOFF2",
|
|
317
|
-
"url": "string"
|
|
318
|
-
}
|
|
319
|
-
]
|
|
320
|
-
},
|
|
321
|
-
"primary": "string",
|
|
322
|
-
"secondary": "string"
|
|
323
|
-
},
|
|
324
|
-
"shape": {
|
|
325
|
-
"border_radius": 0
|
|
326
|
-
},
|
|
327
|
-
"consumer": {
|
|
328
|
-
"widgets": [
|
|
329
|
-
{
|
|
330
|
-
"id": "string",
|
|
331
|
-
"name": "string"
|
|
332
|
-
}
|
|
333
|
-
],
|
|
334
|
-
"customer_portals": [
|
|
335
|
-
{
|
|
336
|
-
"id": "string",
|
|
337
|
-
"name": "string"
|
|
338
|
-
}
|
|
339
|
-
]
|
|
340
|
-
}
|
|
234
|
+
"logo": {},
|
|
235
|
+
"palette": {},
|
|
236
|
+
"typography": {},
|
|
237
|
+
"shape": {},
|
|
238
|
+
"consumer": {}
|
|
341
239
|
},
|
|
342
240
|
"is_default": true,
|
|
343
241
|
"_manifest": ["string"],
|
|
@@ -346,7 +244,64 @@ const { data } = await client.addDesign(
|
|
|
346
244
|
"design_tokens": {
|
|
347
245
|
"coupon": "string",
|
|
348
246
|
"cashback": "string",
|
|
349
|
-
"custom_css": "string"
|
|
247
|
+
"custom_css": "string",
|
|
248
|
+
"accent_color": "string",
|
|
249
|
+
"outline_color": "string",
|
|
250
|
+
"divider_color": "string",
|
|
251
|
+
"link_color": "string",
|
|
252
|
+
"link_hover_color": "string",
|
|
253
|
+
"font_size_scale": "xs",
|
|
254
|
+
"topbar_height": 0,
|
|
255
|
+
"topbar_logo_alignment": "flex-start",
|
|
256
|
+
"logo_size": 0,
|
|
257
|
+
"input_background": "string",
|
|
258
|
+
"input_border_color": "string",
|
|
259
|
+
"input_text_color": "string",
|
|
260
|
+
"input_label_color": "string",
|
|
261
|
+
"input_border_radius": 0,
|
|
262
|
+
"input_height": 0,
|
|
263
|
+
"input_variant": "outlined",
|
|
264
|
+
"button_primary_bg": "string",
|
|
265
|
+
"button_primary_text": "string",
|
|
266
|
+
"button_primary_hover_bg": "string",
|
|
267
|
+
"button_primary_hover_text": "string",
|
|
268
|
+
"button_outlined_border": "string",
|
|
269
|
+
"button_outlined_text": "string",
|
|
270
|
+
"button_outlined_hover_bg": "string",
|
|
271
|
+
"button_outlined_hover_text": "string",
|
|
272
|
+
"button_ghost_bg": "string",
|
|
273
|
+
"button_ghost_text": "string",
|
|
274
|
+
"button_ghost_hover_bg": "string",
|
|
275
|
+
"button_ghost_hover_text": "string",
|
|
276
|
+
"button_border_radius": 0,
|
|
277
|
+
"button_height": 0,
|
|
278
|
+
"card_background": "string",
|
|
279
|
+
"card_border_color": "string",
|
|
280
|
+
"card_variant": "shadow",
|
|
281
|
+
"summary_card_background": "string",
|
|
282
|
+
"toggle_selected_bg": "string",
|
|
283
|
+
"toggle_selected_text": "string",
|
|
284
|
+
"toggle_hover_bg": "string",
|
|
285
|
+
"toggle_hover_text": "string",
|
|
286
|
+
"toggle_border_color": "string",
|
|
287
|
+
"dropdown_hover_bg": "string",
|
|
288
|
+
"dropdown_hover_text": "string",
|
|
289
|
+
"dropdown_selected_bg": "string",
|
|
290
|
+
"dropdown_selected_text": "string",
|
|
291
|
+
"switch_unchecked_color": "string",
|
|
292
|
+
"switch_unchecked_bg": "string",
|
|
293
|
+
"switch_border_radius": 0,
|
|
294
|
+
"checkbox_unchecked_color": "string",
|
|
295
|
+
"checkbox_label_color": "string",
|
|
296
|
+
"radio_unchecked_color": "string",
|
|
297
|
+
"radio_label_color": "string",
|
|
298
|
+
"datepicker_selected_bg": "string",
|
|
299
|
+
"datepicker_selected_color": "string",
|
|
300
|
+
"datepicker_border_radius": 0,
|
|
301
|
+
"chip_background": "string",
|
|
302
|
+
"chip_hover_background": "string",
|
|
303
|
+
"chip_text_color": "string",
|
|
304
|
+
"chip_hover_text_color": "string"
|
|
350
305
|
}
|
|
351
306
|
}
|
|
352
307
|
}
|
|
@@ -389,59 +344,11 @@ const { data } = await client.getDesign({
|
|
|
389
344
|
},
|
|
390
345
|
"style_name": "string",
|
|
391
346
|
"style": {
|
|
392
|
-
"logo": {
|
|
393
|
-
|
|
394
|
-
|
|
395
|
-
|
|
396
|
-
|
|
397
|
-
"s3_object_key": "string",
|
|
398
|
-
"url": "string"
|
|
399
|
-
}
|
|
400
|
-
},
|
|
401
|
-
"palette": {
|
|
402
|
-
"primary": "string",
|
|
403
|
-
"secondary": "string",
|
|
404
|
-
"error": "string",
|
|
405
|
-
"background": "string",
|
|
406
|
-
"paper": "string",
|
|
407
|
-
"navbar": "string",
|
|
408
|
-
"portal_login_background": "string"
|
|
409
|
-
},
|
|
410
|
-
"typography": {
|
|
411
|
-
"font": {
|
|
412
|
-
"font_id": "string",
|
|
413
|
-
"font_name": "string",
|
|
414
|
-
"font_family": "string",
|
|
415
|
-
"font_weight_regular": "string",
|
|
416
|
-
"font_weight_medium": "string",
|
|
417
|
-
"font_weight_bold": "string",
|
|
418
|
-
"urls": [
|
|
419
|
-
{
|
|
420
|
-
"type": "WOFF2",
|
|
421
|
-
"url": "string"
|
|
422
|
-
}
|
|
423
|
-
]
|
|
424
|
-
},
|
|
425
|
-
"primary": "string",
|
|
426
|
-
"secondary": "string"
|
|
427
|
-
},
|
|
428
|
-
"shape": {
|
|
429
|
-
"border_radius": 0
|
|
430
|
-
},
|
|
431
|
-
"consumer": {
|
|
432
|
-
"widgets": [
|
|
433
|
-
{
|
|
434
|
-
"id": "string",
|
|
435
|
-
"name": "string"
|
|
436
|
-
}
|
|
437
|
-
],
|
|
438
|
-
"customer_portals": [
|
|
439
|
-
{
|
|
440
|
-
"id": "string",
|
|
441
|
-
"name": "string"
|
|
442
|
-
}
|
|
443
|
-
]
|
|
444
|
-
}
|
|
347
|
+
"logo": {},
|
|
348
|
+
"palette": {},
|
|
349
|
+
"typography": {},
|
|
350
|
+
"shape": {},
|
|
351
|
+
"consumer": {}
|
|
445
352
|
},
|
|
446
353
|
"is_default": true,
|
|
447
354
|
"_manifest": ["string"],
|
|
@@ -450,7 +357,64 @@ const { data } = await client.getDesign({
|
|
|
450
357
|
"design_tokens": {
|
|
451
358
|
"coupon": "string",
|
|
452
359
|
"cashback": "string",
|
|
453
|
-
"custom_css": "string"
|
|
360
|
+
"custom_css": "string",
|
|
361
|
+
"accent_color": "string",
|
|
362
|
+
"outline_color": "string",
|
|
363
|
+
"divider_color": "string",
|
|
364
|
+
"link_color": "string",
|
|
365
|
+
"link_hover_color": "string",
|
|
366
|
+
"font_size_scale": "xs",
|
|
367
|
+
"topbar_height": 0,
|
|
368
|
+
"topbar_logo_alignment": "flex-start",
|
|
369
|
+
"logo_size": 0,
|
|
370
|
+
"input_background": "string",
|
|
371
|
+
"input_border_color": "string",
|
|
372
|
+
"input_text_color": "string",
|
|
373
|
+
"input_label_color": "string",
|
|
374
|
+
"input_border_radius": 0,
|
|
375
|
+
"input_height": 0,
|
|
376
|
+
"input_variant": "outlined",
|
|
377
|
+
"button_primary_bg": "string",
|
|
378
|
+
"button_primary_text": "string",
|
|
379
|
+
"button_primary_hover_bg": "string",
|
|
380
|
+
"button_primary_hover_text": "string",
|
|
381
|
+
"button_outlined_border": "string",
|
|
382
|
+
"button_outlined_text": "string",
|
|
383
|
+
"button_outlined_hover_bg": "string",
|
|
384
|
+
"button_outlined_hover_text": "string",
|
|
385
|
+
"button_ghost_bg": "string",
|
|
386
|
+
"button_ghost_text": "string",
|
|
387
|
+
"button_ghost_hover_bg": "string",
|
|
388
|
+
"button_ghost_hover_text": "string",
|
|
389
|
+
"button_border_radius": 0,
|
|
390
|
+
"button_height": 0,
|
|
391
|
+
"card_background": "string",
|
|
392
|
+
"card_border_color": "string",
|
|
393
|
+
"card_variant": "shadow",
|
|
394
|
+
"summary_card_background": "string",
|
|
395
|
+
"toggle_selected_bg": "string",
|
|
396
|
+
"toggle_selected_text": "string",
|
|
397
|
+
"toggle_hover_bg": "string",
|
|
398
|
+
"toggle_hover_text": "string",
|
|
399
|
+
"toggle_border_color": "string",
|
|
400
|
+
"dropdown_hover_bg": "string",
|
|
401
|
+
"dropdown_hover_text": "string",
|
|
402
|
+
"dropdown_selected_bg": "string",
|
|
403
|
+
"dropdown_selected_text": "string",
|
|
404
|
+
"switch_unchecked_color": "string",
|
|
405
|
+
"switch_unchecked_bg": "string",
|
|
406
|
+
"switch_border_radius": 0,
|
|
407
|
+
"checkbox_unchecked_color": "string",
|
|
408
|
+
"checkbox_label_color": "string",
|
|
409
|
+
"radio_unchecked_color": "string",
|
|
410
|
+
"radio_label_color": "string",
|
|
411
|
+
"datepicker_selected_bg": "string",
|
|
412
|
+
"datepicker_selected_color": "string",
|
|
413
|
+
"datepicker_border_radius": 0,
|
|
414
|
+
"chip_background": "string",
|
|
415
|
+
"chip_hover_background": "string",
|
|
416
|
+
"chip_text_color": "string",
|
|
417
|
+
"chip_hover_text_color": "string"
|
|
454
418
|
}
|
|
455
419
|
}
|
|
456
420
|
}
|
|
@@ -497,59 +461,11 @@ const { data } = await client.updateDesign(
|
|
|
497
461
|
},
|
|
498
462
|
style_name: 'string',
|
|
499
463
|
style: {
|
|
500
|
-
logo: {
|
|
501
|
-
|
|
502
|
-
|
|
503
|
-
|
|
504
|
-
|
|
505
|
-
s3_object_key: 'string',
|
|
506
|
-
url: 'string'
|
|
507
|
-
}
|
|
508
|
-
},
|
|
509
|
-
palette: {
|
|
510
|
-
primary: 'string',
|
|
511
|
-
secondary: 'string',
|
|
512
|
-
error: 'string',
|
|
513
|
-
background: 'string',
|
|
514
|
-
paper: 'string',
|
|
515
|
-
navbar: 'string',
|
|
516
|
-
portal_login_background: 'string'
|
|
517
|
-
},
|
|
518
|
-
typography: {
|
|
519
|
-
font: {
|
|
520
|
-
font_id: 'string',
|
|
521
|
-
font_name: 'string',
|
|
522
|
-
font_family: 'string',
|
|
523
|
-
font_weight_regular: 'string',
|
|
524
|
-
font_weight_medium: 'string',
|
|
525
|
-
font_weight_bold: 'string',
|
|
526
|
-
urls: [
|
|
527
|
-
{
|
|
528
|
-
type: 'WOFF2',
|
|
529
|
-
url: 'string'
|
|
530
|
-
}
|
|
531
|
-
]
|
|
532
|
-
},
|
|
533
|
-
primary: 'string',
|
|
534
|
-
secondary: 'string'
|
|
535
|
-
},
|
|
536
|
-
shape: {
|
|
537
|
-
border_radius: 0
|
|
538
|
-
},
|
|
539
|
-
consumer: {
|
|
540
|
-
widgets: [
|
|
541
|
-
{
|
|
542
|
-
id: 'string',
|
|
543
|
-
name: 'string'
|
|
544
|
-
}
|
|
545
|
-
],
|
|
546
|
-
customer_portals: [
|
|
547
|
-
{
|
|
548
|
-
id: 'string',
|
|
549
|
-
name: 'string'
|
|
550
|
-
}
|
|
551
|
-
]
|
|
552
|
-
}
|
|
464
|
+
logo: { /* ... */ },
|
|
465
|
+
palette: { /* ... */ },
|
|
466
|
+
typography: { /* ... */ },
|
|
467
|
+
shape: { /* ... */ },
|
|
468
|
+
consumer: { /* ... */ }
|
|
553
469
|
},
|
|
554
470
|
is_default: true,
|
|
555
471
|
_manifest: ['string'],
|
|
@@ -558,7 +474,64 @@ const { data } = await client.updateDesign(
|
|
|
558
474
|
design_tokens: {
|
|
559
475
|
coupon: 'string',
|
|
560
476
|
cashback: 'string',
|
|
561
|
-
custom_css: 'string'
|
|
477
|
+
custom_css: 'string',
|
|
478
|
+
accent_color: 'string',
|
|
479
|
+
outline_color: 'string',
|
|
480
|
+
divider_color: 'string',
|
|
481
|
+
link_color: 'string',
|
|
482
|
+
link_hover_color: 'string',
|
|
483
|
+
font_size_scale: 'xs',
|
|
484
|
+
topbar_height: 0,
|
|
485
|
+
topbar_logo_alignment: 'flex-start',
|
|
486
|
+
logo_size: 0,
|
|
487
|
+
input_background: 'string',
|
|
488
|
+
input_border_color: 'string',
|
|
489
|
+
input_text_color: 'string',
|
|
490
|
+
input_label_color: 'string',
|
|
491
|
+
input_border_radius: 0,
|
|
492
|
+
input_height: 0,
|
|
493
|
+
input_variant: 'outlined',
|
|
494
|
+
button_primary_bg: 'string',
|
|
495
|
+
button_primary_text: 'string',
|
|
496
|
+
button_primary_hover_bg: 'string',
|
|
497
|
+
button_primary_hover_text: 'string',
|
|
498
|
+
button_outlined_border: 'string',
|
|
499
|
+
button_outlined_text: 'string',
|
|
500
|
+
button_outlined_hover_bg: 'string',
|
|
501
|
+
button_outlined_hover_text: 'string',
|
|
502
|
+
button_ghost_bg: 'string',
|
|
503
|
+
button_ghost_text: 'string',
|
|
504
|
+
button_ghost_hover_bg: 'string',
|
|
505
|
+
button_ghost_hover_text: 'string',
|
|
506
|
+
button_border_radius: 0,
|
|
507
|
+
button_height: 0,
|
|
508
|
+
card_background: 'string',
|
|
509
|
+
card_border_color: 'string',
|
|
510
|
+
card_variant: 'shadow',
|
|
511
|
+
summary_card_background: 'string',
|
|
512
|
+
toggle_selected_bg: 'string',
|
|
513
|
+
toggle_selected_text: 'string',
|
|
514
|
+
toggle_hover_bg: 'string',
|
|
515
|
+
toggle_hover_text: 'string',
|
|
516
|
+
toggle_border_color: 'string',
|
|
517
|
+
dropdown_hover_bg: 'string',
|
|
518
|
+
dropdown_hover_text: 'string',
|
|
519
|
+
dropdown_selected_bg: 'string',
|
|
520
|
+
dropdown_selected_text: 'string',
|
|
521
|
+
switch_unchecked_color: 'string',
|
|
522
|
+
switch_unchecked_bg: 'string',
|
|
523
|
+
switch_border_radius: 0,
|
|
524
|
+
checkbox_unchecked_color: 'string',
|
|
525
|
+
checkbox_label_color: 'string',
|
|
526
|
+
radio_unchecked_color: 'string',
|
|
527
|
+
radio_label_color: 'string',
|
|
528
|
+
datepicker_selected_bg: 'string',
|
|
529
|
+
datepicker_selected_color: 'string',
|
|
530
|
+
datepicker_border_radius: 0,
|
|
531
|
+
chip_background: 'string',
|
|
532
|
+
chip_hover_background: 'string',
|
|
533
|
+
chip_text_color: 'string',
|
|
534
|
+
chip_hover_text_color: 'string'
|
|
562
535
|
}
|
|
563
536
|
}
|
|
564
537
|
},
|
|
@@ -684,59 +657,11 @@ const { data } = await client.getConsumerDesign({
|
|
|
684
657
|
},
|
|
685
658
|
"style_name": "string",
|
|
686
659
|
"style": {
|
|
687
|
-
"logo": {
|
|
688
|
-
|
|
689
|
-
|
|
690
|
-
|
|
691
|
-
|
|
692
|
-
"s3_object_key": "string",
|
|
693
|
-
"url": "string"
|
|
694
|
-
}
|
|
695
|
-
},
|
|
696
|
-
"palette": {
|
|
697
|
-
"primary": "string",
|
|
698
|
-
"secondary": "string",
|
|
699
|
-
"error": "string",
|
|
700
|
-
"background": "string",
|
|
701
|
-
"paper": "string",
|
|
702
|
-
"navbar": "string",
|
|
703
|
-
"portal_login_background": "string"
|
|
704
|
-
},
|
|
705
|
-
"typography": {
|
|
706
|
-
"font": {
|
|
707
|
-
"font_id": "string",
|
|
708
|
-
"font_name": "string",
|
|
709
|
-
"font_family": "string",
|
|
710
|
-
"font_weight_regular": "string",
|
|
711
|
-
"font_weight_medium": "string",
|
|
712
|
-
"font_weight_bold": "string",
|
|
713
|
-
"urls": [
|
|
714
|
-
{
|
|
715
|
-
"type": "WOFF2",
|
|
716
|
-
"url": "string"
|
|
717
|
-
}
|
|
718
|
-
]
|
|
719
|
-
},
|
|
720
|
-
"primary": "string",
|
|
721
|
-
"secondary": "string"
|
|
722
|
-
},
|
|
723
|
-
"shape": {
|
|
724
|
-
"border_radius": 0
|
|
725
|
-
},
|
|
726
|
-
"consumer": {
|
|
727
|
-
"widgets": [
|
|
728
|
-
{
|
|
729
|
-
"id": "string",
|
|
730
|
-
"name": "string"
|
|
731
|
-
}
|
|
732
|
-
],
|
|
733
|
-
"customer_portals": [
|
|
734
|
-
{
|
|
735
|
-
"id": "string",
|
|
736
|
-
"name": "string"
|
|
737
|
-
}
|
|
738
|
-
]
|
|
739
|
-
}
|
|
660
|
+
"logo": {},
|
|
661
|
+
"palette": {},
|
|
662
|
+
"typography": {},
|
|
663
|
+
"shape": {},
|
|
664
|
+
"consumer": {}
|
|
740
665
|
},
|
|
741
666
|
"is_default": true,
|
|
742
667
|
"_manifest": ["string"],
|
|
@@ -745,7 +670,64 @@ const { data } = await client.getConsumerDesign({
|
|
|
745
670
|
"design_tokens": {
|
|
746
671
|
"coupon": "string",
|
|
747
672
|
"cashback": "string",
|
|
748
|
-
"custom_css": "string"
|
|
673
|
+
"custom_css": "string",
|
|
674
|
+
"accent_color": "string",
|
|
675
|
+
"outline_color": "string",
|
|
676
|
+
"divider_color": "string",
|
|
677
|
+
"link_color": "string",
|
|
678
|
+
"link_hover_color": "string",
|
|
679
|
+
"font_size_scale": "xs",
|
|
680
|
+
"topbar_height": 0,
|
|
681
|
+
"topbar_logo_alignment": "flex-start",
|
|
682
|
+
"logo_size": 0,
|
|
683
|
+
"input_background": "string",
|
|
684
|
+
"input_border_color": "string",
|
|
685
|
+
"input_text_color": "string",
|
|
686
|
+
"input_label_color": "string",
|
|
687
|
+
"input_border_radius": 0,
|
|
688
|
+
"input_height": 0,
|
|
689
|
+
"input_variant": "outlined",
|
|
690
|
+
"button_primary_bg": "string",
|
|
691
|
+
"button_primary_text": "string",
|
|
692
|
+
"button_primary_hover_bg": "string",
|
|
693
|
+
"button_primary_hover_text": "string",
|
|
694
|
+
"button_outlined_border": "string",
|
|
695
|
+
"button_outlined_text": "string",
|
|
696
|
+
"button_outlined_hover_bg": "string",
|
|
697
|
+
"button_outlined_hover_text": "string",
|
|
698
|
+
"button_ghost_bg": "string",
|
|
699
|
+
"button_ghost_text": "string",
|
|
700
|
+
"button_ghost_hover_bg": "string",
|
|
701
|
+
"button_ghost_hover_text": "string",
|
|
702
|
+
"button_border_radius": 0,
|
|
703
|
+
"button_height": 0,
|
|
704
|
+
"card_background": "string",
|
|
705
|
+
"card_border_color": "string",
|
|
706
|
+
"card_variant": "shadow",
|
|
707
|
+
"summary_card_background": "string",
|
|
708
|
+
"toggle_selected_bg": "string",
|
|
709
|
+
"toggle_selected_text": "string",
|
|
710
|
+
"toggle_hover_bg": "string",
|
|
711
|
+
"toggle_hover_text": "string",
|
|
712
|
+
"toggle_border_color": "string",
|
|
713
|
+
"dropdown_hover_bg": "string",
|
|
714
|
+
"dropdown_hover_text": "string",
|
|
715
|
+
"dropdown_selected_bg": "string",
|
|
716
|
+
"dropdown_selected_text": "string",
|
|
717
|
+
"switch_unchecked_color": "string",
|
|
718
|
+
"switch_unchecked_bg": "string",
|
|
719
|
+
"switch_border_radius": 0,
|
|
720
|
+
"checkbox_unchecked_color": "string",
|
|
721
|
+
"checkbox_label_color": "string",
|
|
722
|
+
"radio_unchecked_color": "string",
|
|
723
|
+
"radio_label_color": "string",
|
|
724
|
+
"datepicker_selected_bg": "string",
|
|
725
|
+
"datepicker_selected_color": "string",
|
|
726
|
+
"datepicker_border_radius": 0,
|
|
727
|
+
"chip_background": "string",
|
|
728
|
+
"chip_hover_background": "string",
|
|
729
|
+
"chip_text_color": "string",
|
|
730
|
+
"chip_hover_text_color": "string"
|
|
749
731
|
}
|
|
750
732
|
}
|
|
751
733
|
}
|
|
@@ -804,7 +786,7 @@ const { data } = await client.removeConsumer(
|
|
|
804
786
|
|
|
805
787
|
```ts
|
|
806
788
|
type UploadFileReq = {
|
|
807
|
-
file_type: "LOGO" | "FONT"
|
|
789
|
+
file_type: "LOGO" | "FONT" | "IMAGE"
|
|
808
790
|
file_data: string // base64
|
|
809
791
|
display_name?: string
|
|
810
792
|
file_name: string
|
|
@@ -817,7 +799,7 @@ type UploadFileReq = {
|
|
|
817
799
|
type UploadFileRes = {
|
|
818
800
|
name: string
|
|
819
801
|
display_name?: string
|
|
820
|
-
file_type?: "LOGO" | "FONT"
|
|
802
|
+
file_type?: "LOGO" | "FONT" | "IMAGE"
|
|
821
803
|
s3_object_key: string
|
|
822
804
|
url: string
|
|
823
805
|
}
|
|
@@ -829,7 +811,7 @@ type UploadFileRes = {
|
|
|
829
811
|
type GetFilesRes = Array<{
|
|
830
812
|
name: string
|
|
831
813
|
display_name?: string
|
|
832
|
-
file_type?: "LOGO" | "FONT"
|
|
814
|
+
file_type?: "LOGO" | "FONT" | "IMAGE"
|
|
833
815
|
s3_object_key: string
|
|
834
816
|
url: string
|
|
835
817
|
}>
|
|
@@ -869,6 +851,63 @@ type GetAllDesignsRes = {
|
|
|
869
851
|
coupon?: { ... }
|
|
870
852
|
cashback?: { ... }
|
|
871
853
|
custom_css?: { ... }
|
|
854
|
+
accent_color?: { ... }
|
|
855
|
+
outline_color?: { ... }
|
|
856
|
+
divider_color?: { ... }
|
|
857
|
+
link_color?: { ... }
|
|
858
|
+
link_hover_color?: { ... }
|
|
859
|
+
font_size_scale?: { ... }
|
|
860
|
+
topbar_height?: { ... }
|
|
861
|
+
topbar_logo_alignment?: { ... }
|
|
862
|
+
logo_size?: { ... }
|
|
863
|
+
input_background?: { ... }
|
|
864
|
+
input_border_color?: { ... }
|
|
865
|
+
input_text_color?: { ... }
|
|
866
|
+
input_label_color?: { ... }
|
|
867
|
+
input_border_radius?: { ... }
|
|
868
|
+
input_height?: { ... }
|
|
869
|
+
input_variant?: { ... }
|
|
870
|
+
button_primary_bg?: { ... }
|
|
871
|
+
button_primary_text?: { ... }
|
|
872
|
+
button_primary_hover_bg?: { ... }
|
|
873
|
+
button_primary_hover_text?: { ... }
|
|
874
|
+
button_outlined_border?: { ... }
|
|
875
|
+
button_outlined_text?: { ... }
|
|
876
|
+
button_outlined_hover_bg?: { ... }
|
|
877
|
+
button_outlined_hover_text?: { ... }
|
|
878
|
+
button_ghost_bg?: { ... }
|
|
879
|
+
button_ghost_text?: { ... }
|
|
880
|
+
button_ghost_hover_bg?: { ... }
|
|
881
|
+
button_ghost_hover_text?: { ... }
|
|
882
|
+
button_border_radius?: { ... }
|
|
883
|
+
button_height?: { ... }
|
|
884
|
+
card_background?: { ... }
|
|
885
|
+
card_border_color?: { ... }
|
|
886
|
+
card_variant?: { ... }
|
|
887
|
+
summary_card_background?: { ... }
|
|
888
|
+
toggle_selected_bg?: { ... }
|
|
889
|
+
toggle_selected_text?: { ... }
|
|
890
|
+
toggle_hover_bg?: { ... }
|
|
891
|
+
toggle_hover_text?: { ... }
|
|
892
|
+
toggle_border_color?: { ... }
|
|
893
|
+
dropdown_hover_bg?: { ... }
|
|
894
|
+
dropdown_hover_text?: { ... }
|
|
895
|
+
dropdown_selected_bg?: { ... }
|
|
896
|
+
dropdown_selected_text?: { ... }
|
|
897
|
+
switch_unchecked_color?: { ... }
|
|
898
|
+
switch_unchecked_bg?: { ... }
|
|
899
|
+
switch_border_radius?: { ... }
|
|
900
|
+
checkbox_unchecked_color?: { ... }
|
|
901
|
+
checkbox_label_color?: { ... }
|
|
902
|
+
radio_unchecked_color?: { ... }
|
|
903
|
+
radio_label_color?: { ... }
|
|
904
|
+
datepicker_selected_bg?: { ... }
|
|
905
|
+
datepicker_selected_color?: { ... }
|
|
906
|
+
datepicker_border_radius?: { ... }
|
|
907
|
+
chip_background?: { ... }
|
|
908
|
+
chip_hover_background?: { ... }
|
|
909
|
+
chip_text_color?: { ... }
|
|
910
|
+
chip_hover_text_color?: { ... }
|
|
872
911
|
}
|
|
873
912
|
}>
|
|
874
913
|
}
|
|
@@ -921,6 +960,63 @@ type AddDesignReq = {
|
|
|
921
960
|
coupon?: { ... }
|
|
922
961
|
cashback?: { ... }
|
|
923
962
|
custom_css?: { ... }
|
|
963
|
+
accent_color?: { ... }
|
|
964
|
+
outline_color?: { ... }
|
|
965
|
+
divider_color?: { ... }
|
|
966
|
+
link_color?: { ... }
|
|
967
|
+
link_hover_color?: { ... }
|
|
968
|
+
font_size_scale?: { ... }
|
|
969
|
+
topbar_height?: { ... }
|
|
970
|
+
topbar_logo_alignment?: { ... }
|
|
971
|
+
logo_size?: { ... }
|
|
972
|
+
input_background?: { ... }
|
|
973
|
+
input_border_color?: { ... }
|
|
974
|
+
input_text_color?: { ... }
|
|
975
|
+
input_label_color?: { ... }
|
|
976
|
+
input_border_radius?: { ... }
|
|
977
|
+
input_height?: { ... }
|
|
978
|
+
input_variant?: { ... }
|
|
979
|
+
button_primary_bg?: { ... }
|
|
980
|
+
button_primary_text?: { ... }
|
|
981
|
+
button_primary_hover_bg?: { ... }
|
|
982
|
+
button_primary_hover_text?: { ... }
|
|
983
|
+
button_outlined_border?: { ... }
|
|
984
|
+
button_outlined_text?: { ... }
|
|
985
|
+
button_outlined_hover_bg?: { ... }
|
|
986
|
+
button_outlined_hover_text?: { ... }
|
|
987
|
+
button_ghost_bg?: { ... }
|
|
988
|
+
button_ghost_text?: { ... }
|
|
989
|
+
button_ghost_hover_bg?: { ... }
|
|
990
|
+
button_ghost_hover_text?: { ... }
|
|
991
|
+
button_border_radius?: { ... }
|
|
992
|
+
button_height?: { ... }
|
|
993
|
+
card_background?: { ... }
|
|
994
|
+
card_border_color?: { ... }
|
|
995
|
+
card_variant?: { ... }
|
|
996
|
+
summary_card_background?: { ... }
|
|
997
|
+
toggle_selected_bg?: { ... }
|
|
998
|
+
toggle_selected_text?: { ... }
|
|
999
|
+
toggle_hover_bg?: { ... }
|
|
1000
|
+
toggle_hover_text?: { ... }
|
|
1001
|
+
toggle_border_color?: { ... }
|
|
1002
|
+
dropdown_hover_bg?: { ... }
|
|
1003
|
+
dropdown_hover_text?: { ... }
|
|
1004
|
+
dropdown_selected_bg?: { ... }
|
|
1005
|
+
dropdown_selected_text?: { ... }
|
|
1006
|
+
switch_unchecked_color?: { ... }
|
|
1007
|
+
switch_unchecked_bg?: { ... }
|
|
1008
|
+
switch_border_radius?: { ... }
|
|
1009
|
+
checkbox_unchecked_color?: { ... }
|
|
1010
|
+
checkbox_label_color?: { ... }
|
|
1011
|
+
radio_unchecked_color?: { ... }
|
|
1012
|
+
radio_label_color?: { ... }
|
|
1013
|
+
datepicker_selected_bg?: { ... }
|
|
1014
|
+
datepicker_selected_color?: { ... }
|
|
1015
|
+
datepicker_border_radius?: { ... }
|
|
1016
|
+
chip_background?: { ... }
|
|
1017
|
+
chip_hover_background?: { ... }
|
|
1018
|
+
chip_text_color?: { ... }
|
|
1019
|
+
chip_hover_text_color?: { ... }
|
|
924
1020
|
}
|
|
925
1021
|
}
|
|
926
1022
|
}
|
|
@@ -960,6 +1056,63 @@ type AddDesignRes = {
|
|
|
960
1056
|
coupon?: { ... }
|
|
961
1057
|
cashback?: { ... }
|
|
962
1058
|
custom_css?: { ... }
|
|
1059
|
+
accent_color?: { ... }
|
|
1060
|
+
outline_color?: { ... }
|
|
1061
|
+
divider_color?: { ... }
|
|
1062
|
+
link_color?: { ... }
|
|
1063
|
+
link_hover_color?: { ... }
|
|
1064
|
+
font_size_scale?: { ... }
|
|
1065
|
+
topbar_height?: { ... }
|
|
1066
|
+
topbar_logo_alignment?: { ... }
|
|
1067
|
+
logo_size?: { ... }
|
|
1068
|
+
input_background?: { ... }
|
|
1069
|
+
input_border_color?: { ... }
|
|
1070
|
+
input_text_color?: { ... }
|
|
1071
|
+
input_label_color?: { ... }
|
|
1072
|
+
input_border_radius?: { ... }
|
|
1073
|
+
input_height?: { ... }
|
|
1074
|
+
input_variant?: { ... }
|
|
1075
|
+
button_primary_bg?: { ... }
|
|
1076
|
+
button_primary_text?: { ... }
|
|
1077
|
+
button_primary_hover_bg?: { ... }
|
|
1078
|
+
button_primary_hover_text?: { ... }
|
|
1079
|
+
button_outlined_border?: { ... }
|
|
1080
|
+
button_outlined_text?: { ... }
|
|
1081
|
+
button_outlined_hover_bg?: { ... }
|
|
1082
|
+
button_outlined_hover_text?: { ... }
|
|
1083
|
+
button_ghost_bg?: { ... }
|
|
1084
|
+
button_ghost_text?: { ... }
|
|
1085
|
+
button_ghost_hover_bg?: { ... }
|
|
1086
|
+
button_ghost_hover_text?: { ... }
|
|
1087
|
+
button_border_radius?: { ... }
|
|
1088
|
+
button_height?: { ... }
|
|
1089
|
+
card_background?: { ... }
|
|
1090
|
+
card_border_color?: { ... }
|
|
1091
|
+
card_variant?: { ... }
|
|
1092
|
+
summary_card_background?: { ... }
|
|
1093
|
+
toggle_selected_bg?: { ... }
|
|
1094
|
+
toggle_selected_text?: { ... }
|
|
1095
|
+
toggle_hover_bg?: { ... }
|
|
1096
|
+
toggle_hover_text?: { ... }
|
|
1097
|
+
toggle_border_color?: { ... }
|
|
1098
|
+
dropdown_hover_bg?: { ... }
|
|
1099
|
+
dropdown_hover_text?: { ... }
|
|
1100
|
+
dropdown_selected_bg?: { ... }
|
|
1101
|
+
dropdown_selected_text?: { ... }
|
|
1102
|
+
switch_unchecked_color?: { ... }
|
|
1103
|
+
switch_unchecked_bg?: { ... }
|
|
1104
|
+
switch_border_radius?: { ... }
|
|
1105
|
+
checkbox_unchecked_color?: { ... }
|
|
1106
|
+
checkbox_label_color?: { ... }
|
|
1107
|
+
radio_unchecked_color?: { ... }
|
|
1108
|
+
radio_label_color?: { ... }
|
|
1109
|
+
datepicker_selected_bg?: { ... }
|
|
1110
|
+
datepicker_selected_color?: { ... }
|
|
1111
|
+
datepicker_border_radius?: { ... }
|
|
1112
|
+
chip_background?: { ... }
|
|
1113
|
+
chip_hover_background?: { ... }
|
|
1114
|
+
chip_text_color?: { ... }
|
|
1115
|
+
chip_hover_text_color?: { ... }
|
|
963
1116
|
}
|
|
964
1117
|
}
|
|
965
1118
|
}
|
|
@@ -999,6 +1152,63 @@ type GetDesignRes = {
|
|
|
999
1152
|
coupon?: { ... }
|
|
1000
1153
|
cashback?: { ... }
|
|
1001
1154
|
custom_css?: { ... }
|
|
1155
|
+
accent_color?: { ... }
|
|
1156
|
+
outline_color?: { ... }
|
|
1157
|
+
divider_color?: { ... }
|
|
1158
|
+
link_color?: { ... }
|
|
1159
|
+
link_hover_color?: { ... }
|
|
1160
|
+
font_size_scale?: { ... }
|
|
1161
|
+
topbar_height?: { ... }
|
|
1162
|
+
topbar_logo_alignment?: { ... }
|
|
1163
|
+
logo_size?: { ... }
|
|
1164
|
+
input_background?: { ... }
|
|
1165
|
+
input_border_color?: { ... }
|
|
1166
|
+
input_text_color?: { ... }
|
|
1167
|
+
input_label_color?: { ... }
|
|
1168
|
+
input_border_radius?: { ... }
|
|
1169
|
+
input_height?: { ... }
|
|
1170
|
+
input_variant?: { ... }
|
|
1171
|
+
button_primary_bg?: { ... }
|
|
1172
|
+
button_primary_text?: { ... }
|
|
1173
|
+
button_primary_hover_bg?: { ... }
|
|
1174
|
+
button_primary_hover_text?: { ... }
|
|
1175
|
+
button_outlined_border?: { ... }
|
|
1176
|
+
button_outlined_text?: { ... }
|
|
1177
|
+
button_outlined_hover_bg?: { ... }
|
|
1178
|
+
button_outlined_hover_text?: { ... }
|
|
1179
|
+
button_ghost_bg?: { ... }
|
|
1180
|
+
button_ghost_text?: { ... }
|
|
1181
|
+
button_ghost_hover_bg?: { ... }
|
|
1182
|
+
button_ghost_hover_text?: { ... }
|
|
1183
|
+
button_border_radius?: { ... }
|
|
1184
|
+
button_height?: { ... }
|
|
1185
|
+
card_background?: { ... }
|
|
1186
|
+
card_border_color?: { ... }
|
|
1187
|
+
card_variant?: { ... }
|
|
1188
|
+
summary_card_background?: { ... }
|
|
1189
|
+
toggle_selected_bg?: { ... }
|
|
1190
|
+
toggle_selected_text?: { ... }
|
|
1191
|
+
toggle_hover_bg?: { ... }
|
|
1192
|
+
toggle_hover_text?: { ... }
|
|
1193
|
+
toggle_border_color?: { ... }
|
|
1194
|
+
dropdown_hover_bg?: { ... }
|
|
1195
|
+
dropdown_hover_text?: { ... }
|
|
1196
|
+
dropdown_selected_bg?: { ... }
|
|
1197
|
+
dropdown_selected_text?: { ... }
|
|
1198
|
+
switch_unchecked_color?: { ... }
|
|
1199
|
+
switch_unchecked_bg?: { ... }
|
|
1200
|
+
switch_border_radius?: { ... }
|
|
1201
|
+
checkbox_unchecked_color?: { ... }
|
|
1202
|
+
checkbox_label_color?: { ... }
|
|
1203
|
+
radio_unchecked_color?: { ... }
|
|
1204
|
+
radio_label_color?: { ... }
|
|
1205
|
+
datepicker_selected_bg?: { ... }
|
|
1206
|
+
datepicker_selected_color?: { ... }
|
|
1207
|
+
datepicker_border_radius?: { ... }
|
|
1208
|
+
chip_background?: { ... }
|
|
1209
|
+
chip_hover_background?: { ... }
|
|
1210
|
+
chip_text_color?: { ... }
|
|
1211
|
+
chip_hover_text_color?: { ... }
|
|
1002
1212
|
}
|
|
1003
1213
|
}
|
|
1004
1214
|
}
|
|
@@ -1033,6 +1243,63 @@ type UpdateDesignReq = {
|
|
|
1033
1243
|
coupon?: { ... }
|
|
1034
1244
|
cashback?: { ... }
|
|
1035
1245
|
custom_css?: { ... }
|
|
1246
|
+
accent_color?: { ... }
|
|
1247
|
+
outline_color?: { ... }
|
|
1248
|
+
divider_color?: { ... }
|
|
1249
|
+
link_color?: { ... }
|
|
1250
|
+
link_hover_color?: { ... }
|
|
1251
|
+
font_size_scale?: { ... }
|
|
1252
|
+
topbar_height?: { ... }
|
|
1253
|
+
topbar_logo_alignment?: { ... }
|
|
1254
|
+
logo_size?: { ... }
|
|
1255
|
+
input_background?: { ... }
|
|
1256
|
+
input_border_color?: { ... }
|
|
1257
|
+
input_text_color?: { ... }
|
|
1258
|
+
input_label_color?: { ... }
|
|
1259
|
+
input_border_radius?: { ... }
|
|
1260
|
+
input_height?: { ... }
|
|
1261
|
+
input_variant?: { ... }
|
|
1262
|
+
button_primary_bg?: { ... }
|
|
1263
|
+
button_primary_text?: { ... }
|
|
1264
|
+
button_primary_hover_bg?: { ... }
|
|
1265
|
+
button_primary_hover_text?: { ... }
|
|
1266
|
+
button_outlined_border?: { ... }
|
|
1267
|
+
button_outlined_text?: { ... }
|
|
1268
|
+
button_outlined_hover_bg?: { ... }
|
|
1269
|
+
button_outlined_hover_text?: { ... }
|
|
1270
|
+
button_ghost_bg?: { ... }
|
|
1271
|
+
button_ghost_text?: { ... }
|
|
1272
|
+
button_ghost_hover_bg?: { ... }
|
|
1273
|
+
button_ghost_hover_text?: { ... }
|
|
1274
|
+
button_border_radius?: { ... }
|
|
1275
|
+
button_height?: { ... }
|
|
1276
|
+
card_background?: { ... }
|
|
1277
|
+
card_border_color?: { ... }
|
|
1278
|
+
card_variant?: { ... }
|
|
1279
|
+
summary_card_background?: { ... }
|
|
1280
|
+
toggle_selected_bg?: { ... }
|
|
1281
|
+
toggle_selected_text?: { ... }
|
|
1282
|
+
toggle_hover_bg?: { ... }
|
|
1283
|
+
toggle_hover_text?: { ... }
|
|
1284
|
+
toggle_border_color?: { ... }
|
|
1285
|
+
dropdown_hover_bg?: { ... }
|
|
1286
|
+
dropdown_hover_text?: { ... }
|
|
1287
|
+
dropdown_selected_bg?: { ... }
|
|
1288
|
+
dropdown_selected_text?: { ... }
|
|
1289
|
+
switch_unchecked_color?: { ... }
|
|
1290
|
+
switch_unchecked_bg?: { ... }
|
|
1291
|
+
switch_border_radius?: { ... }
|
|
1292
|
+
checkbox_unchecked_color?: { ... }
|
|
1293
|
+
checkbox_label_color?: { ... }
|
|
1294
|
+
radio_unchecked_color?: { ... }
|
|
1295
|
+
radio_label_color?: { ... }
|
|
1296
|
+
datepicker_selected_bg?: { ... }
|
|
1297
|
+
datepicker_selected_color?: { ... }
|
|
1298
|
+
datepicker_border_radius?: { ... }
|
|
1299
|
+
chip_background?: { ... }
|
|
1300
|
+
chip_hover_background?: { ... }
|
|
1301
|
+
chip_text_color?: { ... }
|
|
1302
|
+
chip_hover_text_color?: { ... }
|
|
1036
1303
|
}
|
|
1037
1304
|
}
|
|
1038
1305
|
}
|
|
@@ -1146,6 +1413,63 @@ type Journey = {
|
|
|
1146
1413
|
coupon?: string
|
|
1147
1414
|
cashback?: string
|
|
1148
1415
|
custom_css?: string
|
|
1416
|
+
accent_color?: string
|
|
1417
|
+
outline_color?: string
|
|
1418
|
+
divider_color?: string
|
|
1419
|
+
link_color?: string
|
|
1420
|
+
link_hover_color?: string
|
|
1421
|
+
font_size_scale?: "xs" | "sm" | "md" | "lg" | "xl"
|
|
1422
|
+
topbar_height?: number
|
|
1423
|
+
topbar_logo_alignment?: "flex-start" | "center" | "flex-end"
|
|
1424
|
+
logo_size?: number
|
|
1425
|
+
input_background?: string
|
|
1426
|
+
input_border_color?: string
|
|
1427
|
+
input_text_color?: string
|
|
1428
|
+
input_label_color?: string
|
|
1429
|
+
input_border_radius?: number
|
|
1430
|
+
input_height?: number
|
|
1431
|
+
input_variant?: "outlined" | "filled" | "underlined"
|
|
1432
|
+
button_primary_bg?: string
|
|
1433
|
+
button_primary_text?: string
|
|
1434
|
+
button_primary_hover_bg?: string
|
|
1435
|
+
button_primary_hover_text?: string
|
|
1436
|
+
button_outlined_border?: string
|
|
1437
|
+
button_outlined_text?: string
|
|
1438
|
+
button_outlined_hover_bg?: string
|
|
1439
|
+
button_outlined_hover_text?: string
|
|
1440
|
+
button_ghost_bg?: string
|
|
1441
|
+
button_ghost_text?: string
|
|
1442
|
+
button_ghost_hover_bg?: string
|
|
1443
|
+
button_ghost_hover_text?: string
|
|
1444
|
+
button_border_radius?: number
|
|
1445
|
+
button_height?: number
|
|
1446
|
+
card_background?: string
|
|
1447
|
+
card_border_color?: string
|
|
1448
|
+
card_variant?: "shadow" | "outlined"
|
|
1449
|
+
summary_card_background?: string
|
|
1450
|
+
toggle_selected_bg?: string
|
|
1451
|
+
toggle_selected_text?: string
|
|
1452
|
+
toggle_hover_bg?: string
|
|
1453
|
+
toggle_hover_text?: string
|
|
1454
|
+
toggle_border_color?: string
|
|
1455
|
+
dropdown_hover_bg?: string
|
|
1456
|
+
dropdown_hover_text?: string
|
|
1457
|
+
dropdown_selected_bg?: string
|
|
1458
|
+
dropdown_selected_text?: string
|
|
1459
|
+
switch_unchecked_color?: string
|
|
1460
|
+
switch_unchecked_bg?: string
|
|
1461
|
+
switch_border_radius?: number
|
|
1462
|
+
checkbox_unchecked_color?: string
|
|
1463
|
+
checkbox_label_color?: string
|
|
1464
|
+
radio_unchecked_color?: string
|
|
1465
|
+
radio_label_color?: string
|
|
1466
|
+
datepicker_selected_bg?: string
|
|
1467
|
+
datepicker_selected_color?: string
|
|
1468
|
+
datepicker_border_radius?: number
|
|
1469
|
+
chip_background?: string
|
|
1470
|
+
chip_hover_background?: string
|
|
1471
|
+
chip_text_color?: string
|
|
1472
|
+
chip_hover_text_color?: string
|
|
1149
1473
|
}
|
|
1150
1474
|
}
|
|
1151
1475
|
```
|
|
@@ -1190,7 +1514,7 @@ type LogoData = {
|
|
|
1190
1514
|
main?: {
|
|
1191
1515
|
name: string
|
|
1192
1516
|
display_name?: string
|
|
1193
|
-
file_type?: "LOGO" | "FONT"
|
|
1517
|
+
file_type?: "LOGO" | "FONT" | "IMAGE"
|
|
1194
1518
|
s3_object_key: string
|
|
1195
1519
|
url: string
|
|
1196
1520
|
}
|
|
@@ -1290,7 +1614,7 @@ type ErrorResp = {
|
|
|
1290
1614
|
type FileData = {
|
|
1291
1615
|
name: string
|
|
1292
1616
|
display_name?: string
|
|
1293
|
-
file_type?: "LOGO" | "FONT"
|
|
1617
|
+
file_type?: "LOGO" | "FONT" | "IMAGE"
|
|
1294
1618
|
s3_object_key: string
|
|
1295
1619
|
url: string
|
|
1296
1620
|
}
|