@epilot/sdk 2.3.0 → 2.3.1

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.
Files changed (210) hide show
  1. package/definitions/access-token-runtime.json +1 -0
  2. package/definitions/access-token.json +663 -0
  3. package/definitions/address-runtime.json +1 -0
  4. package/definitions/address-suggestions-runtime.json +1 -0
  5. package/definitions/address-suggestions.json +582 -0
  6. package/definitions/address.json +578 -0
  7. package/definitions/ai-agents-runtime.json +1 -0
  8. package/definitions/ai-agents.json +1711 -0
  9. package/definitions/app-runtime.json +1 -0
  10. package/definitions/app.json +4493 -0
  11. package/definitions/audit-logs-runtime.json +1 -0
  12. package/definitions/audit-logs.json +305 -0
  13. package/definitions/automation-runtime.json +1 -0
  14. package/definitions/automation.json +5028 -0
  15. package/definitions/billing-runtime.json +1 -0
  16. package/definitions/billing.json +837 -0
  17. package/definitions/blueprint-manifest-runtime.json +1 -0
  18. package/definitions/blueprint-manifest.json +4619 -0
  19. package/definitions/consent-runtime.json +1 -0
  20. package/definitions/consent.json +344 -0
  21. package/definitions/customer-portal-runtime.json +1 -0
  22. package/definitions/customer-portal.json +15676 -0
  23. package/definitions/dashboard-runtime.json +1 -0
  24. package/definitions/dashboard.json +484 -0
  25. package/definitions/data-governance-runtime.json +1 -0
  26. package/definitions/data-governance.json +1126 -0
  27. package/definitions/deduplication-runtime.json +1 -0
  28. package/definitions/deduplication.json +314 -0
  29. package/definitions/design-runtime.json +1 -0
  30. package/definitions/design.json +1469 -0
  31. package/definitions/document-runtime.json +1 -0
  32. package/definitions/document.json +758 -0
  33. package/definitions/email-settings-runtime.json +1 -0
  34. package/definitions/email-settings.json +2777 -0
  35. package/definitions/email-template-runtime.json +1 -0
  36. package/definitions/email-template.json +1441 -0
  37. package/definitions/entity-mapping-runtime.json +1 -0
  38. package/definitions/entity-mapping.json +1642 -0
  39. package/definitions/entity-runtime.json +1 -0
  40. package/definitions/entity.json +10474 -0
  41. package/definitions/environments-runtime.json +1 -0
  42. package/definitions/environments.json +363 -0
  43. package/definitions/event-catalog-runtime.json +1 -0
  44. package/definitions/event-catalog.json +1051 -0
  45. package/definitions/file-runtime.json +1 -0
  46. package/definitions/file.json +2842 -0
  47. package/definitions/iban-runtime.json +1 -0
  48. package/definitions/iban.json +132 -0
  49. package/definitions/integration-toolkit-runtime.json +1 -0
  50. package/definitions/integration-toolkit.json +7998 -0
  51. package/definitions/journey-runtime.json +1 -0
  52. package/definitions/journey.json +2603 -0
  53. package/definitions/kanban-runtime.json +1 -0
  54. package/definitions/kanban.json +1505 -0
  55. package/definitions/message-runtime.json +1 -0
  56. package/definitions/message.json +2862 -0
  57. package/definitions/metering-runtime.json +1 -0
  58. package/definitions/metering.json +2321 -0
  59. package/definitions/notes-runtime.json +1 -0
  60. package/definitions/notes.json +1531 -0
  61. package/definitions/notification-runtime.json +1 -0
  62. package/definitions/notification.json +1425 -0
  63. package/definitions/organization-runtime.json +1 -0
  64. package/definitions/organization.json +1192 -0
  65. package/definitions/partner-directory-runtime.json +1 -0
  66. package/definitions/partner-directory.json +2284 -0
  67. package/definitions/permissions-runtime.json +1 -0
  68. package/definitions/permissions.json +1515 -0
  69. package/definitions/pricing-runtime.json +1 -0
  70. package/definitions/pricing-tier-runtime.json +1 -0
  71. package/definitions/pricing-tier.json +105 -0
  72. package/definitions/pricing.json +9884 -0
  73. package/definitions/purpose-runtime.json +1 -0
  74. package/definitions/purpose.json +524 -0
  75. package/definitions/sandbox-runtime.json +1 -0
  76. package/definitions/sandbox.json +453 -0
  77. package/definitions/sharing-runtime.json +1 -0
  78. package/definitions/sharing.json +956 -0
  79. package/definitions/submission-runtime.json +1 -0
  80. package/definitions/submission.json +313 -0
  81. package/definitions/targeting-runtime.json +1 -0
  82. package/definitions/targeting.json +1474 -0
  83. package/definitions/template-variables-runtime.json +1 -0
  84. package/definitions/template-variables.json +1416 -0
  85. package/definitions/user-runtime.json +1 -0
  86. package/definitions/user.json +2460 -0
  87. package/definitions/validation-rules-runtime.json +1 -0
  88. package/definitions/validation-rules.json +1491 -0
  89. package/definitions/webhooks-runtime.json +1 -0
  90. package/definitions/webhooks.json +1634 -0
  91. package/definitions/workflow-definition-runtime.json +1 -0
  92. package/definitions/workflow-definition.json +3302 -0
  93. package/definitions/workflow-runtime.json +1 -0
  94. package/definitions/workflow.json +4248 -0
  95. package/dist/README-KX4XC2HB.js +7 -0
  96. package/dist/README-PTYV6PQI.cjs +7 -0
  97. package/dist/apis/access-token.cjs +6 -6
  98. package/dist/apis/access-token.js +1 -1
  99. package/dist/apis/address-suggestions.cjs +6 -6
  100. package/dist/apis/address-suggestions.js +1 -1
  101. package/dist/apis/address.cjs +6 -6
  102. package/dist/apis/address.js +1 -1
  103. package/dist/apis/ai-agents.cjs +6 -6
  104. package/dist/apis/ai-agents.js +1 -1
  105. package/dist/apis/app.cjs +6 -6
  106. package/dist/apis/app.js +1 -1
  107. package/dist/apis/audit-logs.cjs +6 -6
  108. package/dist/apis/audit-logs.js +1 -1
  109. package/dist/apis/automation.cjs +6 -6
  110. package/dist/apis/automation.js +1 -1
  111. package/dist/apis/billing.cjs +6 -6
  112. package/dist/apis/billing.js +1 -1
  113. package/dist/apis/blueprint-manifest.cjs +6 -6
  114. package/dist/apis/blueprint-manifest.js +1 -1
  115. package/dist/apis/consent.cjs +6 -6
  116. package/dist/apis/consent.js +1 -1
  117. package/dist/apis/customer-portal.cjs +6 -6
  118. package/dist/apis/customer-portal.js +1 -1
  119. package/dist/apis/dashboard.cjs +6 -6
  120. package/dist/apis/dashboard.js +1 -1
  121. package/dist/apis/data-governance.cjs +6 -6
  122. package/dist/apis/data-governance.js +1 -1
  123. package/dist/apis/deduplication.cjs +6 -6
  124. package/dist/apis/deduplication.js +1 -1
  125. package/dist/apis/design.cjs +6 -6
  126. package/dist/apis/design.js +1 -1
  127. package/dist/apis/document.cjs +6 -6
  128. package/dist/apis/document.js +1 -1
  129. package/dist/apis/email-settings.cjs +6 -6
  130. package/dist/apis/email-settings.js +1 -1
  131. package/dist/apis/email-template.cjs +6 -6
  132. package/dist/apis/email-template.js +1 -1
  133. package/dist/apis/entity-mapping.cjs +6 -6
  134. package/dist/apis/entity-mapping.js +1 -1
  135. package/dist/apis/entity.cjs +6 -6
  136. package/dist/apis/entity.js +1 -1
  137. package/dist/apis/environments.cjs +6 -6
  138. package/dist/apis/environments.js +1 -1
  139. package/dist/apis/erp-integration.cjs +6 -6
  140. package/dist/apis/erp-integration.js +1 -1
  141. package/dist/apis/event-catalog.cjs +6 -6
  142. package/dist/apis/event-catalog.js +1 -1
  143. package/dist/apis/file.cjs +6 -6
  144. package/dist/apis/file.js +1 -1
  145. package/dist/apis/iban.cjs +6 -6
  146. package/dist/apis/iban.js +1 -1
  147. package/dist/apis/integration-toolkit.cjs +6 -6
  148. package/dist/apis/integration-toolkit.js +1 -1
  149. package/dist/apis/journey.cjs +6 -6
  150. package/dist/apis/journey.js +1 -1
  151. package/dist/apis/kanban.cjs +6 -6
  152. package/dist/apis/kanban.js +1 -1
  153. package/dist/apis/message.cjs +6 -6
  154. package/dist/apis/message.js +1 -1
  155. package/dist/apis/metering.cjs +6 -6
  156. package/dist/apis/metering.js +1 -1
  157. package/dist/apis/notes.cjs +6 -6
  158. package/dist/apis/notes.js +1 -1
  159. package/dist/apis/notification.cjs +6 -6
  160. package/dist/apis/notification.js +1 -1
  161. package/dist/apis/organization.cjs +6 -6
  162. package/dist/apis/organization.js +1 -1
  163. package/dist/apis/partner-directory.cjs +6 -6
  164. package/dist/apis/partner-directory.js +1 -1
  165. package/dist/apis/permissions.cjs +6 -6
  166. package/dist/apis/permissions.js +1 -1
  167. package/dist/apis/pricing-tier.cjs +6 -6
  168. package/dist/apis/pricing-tier.js +1 -1
  169. package/dist/apis/pricing.cjs +6 -6
  170. package/dist/apis/pricing.js +1 -1
  171. package/dist/apis/purpose.cjs +6 -6
  172. package/dist/apis/purpose.js +1 -1
  173. package/dist/apis/sandbox.cjs +6 -6
  174. package/dist/apis/sandbox.js +1 -1
  175. package/dist/apis/sharing.cjs +6 -6
  176. package/dist/apis/sharing.js +1 -1
  177. package/dist/apis/submission.cjs +6 -6
  178. package/dist/apis/submission.js +1 -1
  179. package/dist/apis/targeting.cjs +6 -6
  180. package/dist/apis/targeting.js +1 -1
  181. package/dist/apis/template-variables.cjs +6 -6
  182. package/dist/apis/template-variables.js +1 -1
  183. package/dist/apis/user.cjs +6 -6
  184. package/dist/apis/user.d.cts +2 -2
  185. package/dist/apis/user.d.ts +2 -2
  186. package/dist/apis/user.js +1 -1
  187. package/dist/apis/validation-rules.cjs +6 -6
  188. package/dist/apis/validation-rules.js +1 -1
  189. package/dist/apis/webhooks.cjs +6 -6
  190. package/dist/apis/webhooks.js +1 -1
  191. package/dist/apis/workflow-definition.cjs +6 -6
  192. package/dist/apis/workflow-definition.js +1 -1
  193. package/dist/apis/workflow.cjs +6 -6
  194. package/dist/apis/workflow.js +1 -1
  195. package/dist/{chunk-6AO46HG5.js → chunk-QSEIJWJW.js} +2 -2
  196. package/dist/{chunk-MHXQX7FS.cjs → chunk-TKTSGA7G.cjs} +2 -2
  197. package/dist/index.cjs +8 -8
  198. package/dist/index.d.cts +1 -1
  199. package/dist/index.d.ts +1 -1
  200. package/dist/index.js +1 -1
  201. package/dist/user-7ZN2XO7G.cjs +7 -0
  202. package/dist/user-ZK7BK6VY.js +7 -0
  203. package/dist/{user.d-CXqM751M.d.cts → user.d-D18fe97W.d.cts} +75 -3
  204. package/dist/{user.d-CXqM751M.d.ts → user.d-D18fe97W.d.ts} +75 -3
  205. package/docs/user.md +62 -8
  206. package/package.json +1 -1
  207. package/dist/README-7R2JR652.js +0 -7
  208. package/dist/README-Z5AKTGJA.cjs +0 -7
  209. package/dist/user-EIEOI3OG.js +0 -7
  210. package/dist/user-NJJ7XVKB.cjs +0 -7
@@ -0,0 +1,1469 @@
1
+ {
2
+ "openapi": "3.0.3",
3
+ "info": {
4
+ "title": "Design Builder API v2",
5
+ "version": "0.0.2"
6
+ },
7
+ "tags": [
8
+ {
9
+ "name": "design-builder",
10
+ "description": "Available design-builder over designs provided by Design Builder v2"
11
+ }
12
+ ],
13
+ "servers": [
14
+ {
15
+ "url": "https://design-builder-api.{environment}.epilot.io",
16
+ "variables": {
17
+ "environment": {
18
+ "default": "sls",
19
+ "enum": [
20
+ "sls",
21
+ "dev.sls",
22
+ "staging.sls"
23
+ ]
24
+ }
25
+ }
26
+ }
27
+ ],
28
+ "security": [
29
+ {
30
+ "custom_authorizer": []
31
+ }
32
+ ],
33
+ "paths": {
34
+ "/v1/designs": {
35
+ "get": {
36
+ "operationId": "getAllDesigns",
37
+ "summary": "getAllDesigns",
38
+ "description": "Scan all designs linked to a organization, based in orgId attribute from JWT auth token",
39
+ "tags": [
40
+ "design-builder"
41
+ ],
42
+ "responses": {
43
+ "200": {
44
+ "description": "Success - designs loaded with success. Empty array if org has no designs.",
45
+ "content": {
46
+ "application/json": {
47
+ "schema": {
48
+ "$ref": "#/components/schemas/GetAllDesignsRes"
49
+ }
50
+ }
51
+ }
52
+ },
53
+ "500": {
54
+ "description": "Other errors",
55
+ "content": {
56
+ "application/json": {
57
+ "schema": {
58
+ "$ref": "#/components/schemas/ErrorResp"
59
+ }
60
+ }
61
+ }
62
+ }
63
+ }
64
+ },
65
+ "post": {
66
+ "operationId": "addDesign",
67
+ "summary": "addDesign",
68
+ "description": "Create a brand new design linked to a organization, based in orgId attribute from JWT auth token",
69
+ "tags": [
70
+ "design-builder"
71
+ ],
72
+ "requestBody": {
73
+ "description": "Design payload",
74
+ "required": true,
75
+ "content": {
76
+ "application/json": {
77
+ "schema": {
78
+ "$ref": "#/components/schemas/AddDesignReq"
79
+ }
80
+ }
81
+ }
82
+ },
83
+ "responses": {
84
+ "201": {
85
+ "description": "Success - design created with success.",
86
+ "content": {
87
+ "application/json": {
88
+ "schema": {
89
+ "$ref": "#/components/schemas/AddDesignRes"
90
+ }
91
+ }
92
+ }
93
+ },
94
+ "400": {
95
+ "description": "Validation Errors",
96
+ "content": {
97
+ "application/json": {
98
+ "schema": {
99
+ "$ref": "#/components/schemas/ErrorResp"
100
+ }
101
+ }
102
+ }
103
+ },
104
+ "401": {
105
+ "description": "Authentication Errors",
106
+ "content": {
107
+ "application/json": {
108
+ "schema": {
109
+ "$ref": "#/components/schemas/ErrorResp"
110
+ }
111
+ }
112
+ }
113
+ },
114
+ "500": {
115
+ "description": "Other errors",
116
+ "content": {
117
+ "application/json": {
118
+ "schema": {
119
+ "$ref": "#/components/schemas/ErrorResp"
120
+ }
121
+ }
122
+ }
123
+ }
124
+ }
125
+ }
126
+ },
127
+ "/v1/designs/{designId}": {
128
+ "get": {
129
+ "operationId": "getDesign",
130
+ "summary": "getDesign",
131
+ "description": "Search for a especific design owned by user organization",
132
+ "tags": [
133
+ "design-builder"
134
+ ],
135
+ "parameters": [
136
+ {
137
+ "in": "path",
138
+ "name": "designId",
139
+ "required": true,
140
+ "schema": {
141
+ "$ref": "#/components/schemas/DesignId"
142
+ }
143
+ }
144
+ ],
145
+ "responses": {
146
+ "200": {
147
+ "description": "Success - design loaded with success.",
148
+ "content": {
149
+ "application/json": {
150
+ "schema": {
151
+ "$ref": "#/components/schemas/GetDesignRes"
152
+ }
153
+ }
154
+ }
155
+ },
156
+ "400": {
157
+ "description": "Validation Errors",
158
+ "content": {
159
+ "application/json": {
160
+ "schema": {
161
+ "$ref": "#/components/schemas/ErrorResp"
162
+ }
163
+ }
164
+ }
165
+ },
166
+ "401": {
167
+ "description": "Authentication Errors",
168
+ "content": {
169
+ "application/json": {
170
+ "schema": {
171
+ "$ref": "#/components/schemas/ErrorResp"
172
+ }
173
+ }
174
+ }
175
+ },
176
+ "404": {
177
+ "description": "No design found"
178
+ },
179
+ "500": {
180
+ "description": "Other errors",
181
+ "content": {
182
+ "application/json": {
183
+ "schema": {
184
+ "$ref": "#/components/schemas/ErrorResp"
185
+ }
186
+ }
187
+ }
188
+ }
189
+ }
190
+ },
191
+ "delete": {
192
+ "operationId": "deleteDesign",
193
+ "summary": "deleteDesign",
194
+ "description": "Search and delete for a especific design owned by user organization",
195
+ "tags": [
196
+ "design-builder"
197
+ ],
198
+ "parameters": [
199
+ {
200
+ "in": "path",
201
+ "name": "designId",
202
+ "required": true,
203
+ "schema": {
204
+ "$ref": "#/components/schemas/DesignId"
205
+ }
206
+ }
207
+ ],
208
+ "responses": {
209
+ "204": {
210
+ "description": "Success - design deleted with success."
211
+ },
212
+ "400": {
213
+ "description": "Validation Errors",
214
+ "content": {
215
+ "application/json": {
216
+ "schema": {
217
+ "$ref": "#/components/schemas/ErrorResp"
218
+ }
219
+ }
220
+ }
221
+ },
222
+ "401": {
223
+ "description": "Authentication Errors",
224
+ "content": {
225
+ "application/json": {
226
+ "schema": {
227
+ "$ref": "#/components/schemas/ErrorResp"
228
+ }
229
+ }
230
+ }
231
+ },
232
+ "404": {
233
+ "description": "No design found"
234
+ },
235
+ "500": {
236
+ "description": "Other errors",
237
+ "content": {
238
+ "application/json": {
239
+ "schema": {
240
+ "$ref": "#/components/schemas/ErrorResp"
241
+ }
242
+ }
243
+ }
244
+ }
245
+ }
246
+ },
247
+ "put": {
248
+ "operationId": "updateDesign",
249
+ "summary": "updateDesign",
250
+ "description": "Update a especific design owned by user organization",
251
+ "tags": [
252
+ "design-builder"
253
+ ],
254
+ "parameters": [
255
+ {
256
+ "in": "path",
257
+ "name": "designId",
258
+ "required": true,
259
+ "schema": {
260
+ "$ref": "#/components/schemas/DesignId"
261
+ }
262
+ }
263
+ ],
264
+ "requestBody": {
265
+ "description": "Design payload",
266
+ "required": true,
267
+ "content": {
268
+ "application/json": {
269
+ "schema": {
270
+ "$ref": "#/components/schemas/UpdateDesignReq"
271
+ }
272
+ }
273
+ }
274
+ },
275
+ "responses": {
276
+ "204": {
277
+ "description": "Success - design updated with success."
278
+ },
279
+ "400": {
280
+ "description": "Validation Errors",
281
+ "content": {
282
+ "application/json": {
283
+ "schema": {
284
+ "$ref": "#/components/schemas/ErrorResp"
285
+ }
286
+ }
287
+ }
288
+ },
289
+ "401": {
290
+ "description": "Authentication Errors",
291
+ "content": {
292
+ "application/json": {
293
+ "schema": {
294
+ "$ref": "#/components/schemas/ErrorResp"
295
+ }
296
+ }
297
+ }
298
+ },
299
+ "404": {
300
+ "description": "No design found"
301
+ },
302
+ "500": {
303
+ "description": "Other errors",
304
+ "content": {
305
+ "application/json": {
306
+ "schema": {
307
+ "$ref": "#/components/schemas/ErrorResp"
308
+ }
309
+ }
310
+ }
311
+ }
312
+ }
313
+ }
314
+ },
315
+ "/v1/designs/{designId}/parse": {
316
+ "get": {
317
+ "operationId": "getThemeFromDesign",
318
+ "summary": "getThemeFromDesign",
319
+ "description": "Search for a especific design owned by user organization and parse them to a new or old theme",
320
+ "security": [],
321
+ "tags": [
322
+ "design-builder"
323
+ ],
324
+ "parameters": [
325
+ {
326
+ "in": "path",
327
+ "name": "designId",
328
+ "required": true,
329
+ "schema": {
330
+ "$ref": "#/components/schemas/DesignId"
331
+ }
332
+ },
333
+ {
334
+ "in": "query",
335
+ "name": "orgId",
336
+ "required": false,
337
+ "schema": {
338
+ "type": "string"
339
+ },
340
+ "description": "Organization id of the user"
341
+ },
342
+ {
343
+ "in": "query",
344
+ "name": "theme",
345
+ "required": true,
346
+ "schema": {
347
+ "$ref": "#/components/schemas/Theme"
348
+ }
349
+ }
350
+ ],
351
+ "responses": {
352
+ "200": {
353
+ "description": "Success - design parsed with success.",
354
+ "content": {
355
+ "application/json": {
356
+ "schema": {
357
+ "type": "object"
358
+ }
359
+ }
360
+ }
361
+ },
362
+ "400": {
363
+ "description": "Validation Errors",
364
+ "content": {
365
+ "application/json": {
366
+ "schema": {
367
+ "$ref": "#/components/schemas/ErrorResp"
368
+ }
369
+ }
370
+ }
371
+ },
372
+ "401": {
373
+ "description": "Authentication Errors",
374
+ "content": {
375
+ "application/json": {
376
+ "schema": {
377
+ "$ref": "#/components/schemas/ErrorResp"
378
+ }
379
+ }
380
+ }
381
+ },
382
+ "404": {
383
+ "description": "No design found"
384
+ },
385
+ "500": {
386
+ "description": "Other errors",
387
+ "content": {
388
+ "application/json": {
389
+ "schema": {
390
+ "$ref": "#/components/schemas/ErrorResp"
391
+ }
392
+ }
393
+ }
394
+ }
395
+ }
396
+ }
397
+ },
398
+ "/v1/designs/files": {
399
+ "post": {
400
+ "operationId": "uploadFile",
401
+ "summary": "uploadFile",
402
+ "description": "Upload a new file for the user organization bucket",
403
+ "tags": [
404
+ "design-builder"
405
+ ],
406
+ "requestBody": {
407
+ "description": "Upload file payload",
408
+ "required": true,
409
+ "content": {
410
+ "multipart/form-data": {
411
+ "schema": {
412
+ "$ref": "#/components/schemas/UploadFileReq"
413
+ },
414
+ "encoding": {
415
+ "file_data": {
416
+ "contentType": "image/*, application/x-font-ttf, application/x-font-opentype, application/font-woff, application/font-woff2"
417
+ }
418
+ }
419
+ }
420
+ }
421
+ },
422
+ "responses": {
423
+ "201": {
424
+ "description": "Success - upload with success.",
425
+ "content": {
426
+ "application/json": {
427
+ "schema": {
428
+ "$ref": "#/components/schemas/UploadFileRes"
429
+ }
430
+ }
431
+ }
432
+ },
433
+ "400": {
434
+ "description": "Validation Errors",
435
+ "content": {
436
+ "application/json": {
437
+ "schema": {
438
+ "$ref": "#/components/schemas/ErrorResp"
439
+ }
440
+ }
441
+ }
442
+ },
443
+ "401": {
444
+ "description": "Authentication Errors",
445
+ "content": {
446
+ "application/json": {
447
+ "schema": {
448
+ "$ref": "#/components/schemas/ErrorResp"
449
+ }
450
+ }
451
+ }
452
+ },
453
+ "500": {
454
+ "description": "Other errors",
455
+ "content": {
456
+ "application/json": {
457
+ "schema": {
458
+ "$ref": "#/components/schemas/ErrorResp"
459
+ }
460
+ }
461
+ }
462
+ }
463
+ }
464
+ },
465
+ "get": {
466
+ "operationId": "getFiles",
467
+ "summary": "getFiles",
468
+ "description": "List all files for the user organization bucket",
469
+ "tags": [
470
+ "design-builder"
471
+ ],
472
+ "parameters": [
473
+ {
474
+ "in": "query",
475
+ "name": "type",
476
+ "schema": {
477
+ "type": "string",
478
+ "enum": [
479
+ "LOGO",
480
+ "FONT"
481
+ ]
482
+ },
483
+ "required": false,
484
+ "description": "Type of files to be returned",
485
+ "example": "LOGO"
486
+ }
487
+ ],
488
+ "responses": {
489
+ "200": {
490
+ "description": "Success - files loaded with success.",
491
+ "content": {
492
+ "application/json": {
493
+ "schema": {
494
+ "$ref": "#/components/schemas/GetFilesRes"
495
+ }
496
+ }
497
+ }
498
+ },
499
+ "400": {
500
+ "description": "Validation Errors",
501
+ "content": {
502
+ "application/json": {
503
+ "schema": {
504
+ "$ref": "#/components/schemas/ErrorResp"
505
+ }
506
+ }
507
+ }
508
+ },
509
+ "401": {
510
+ "description": "Authentication Errors",
511
+ "content": {
512
+ "application/json": {
513
+ "schema": {
514
+ "$ref": "#/components/schemas/ErrorResp"
515
+ }
516
+ }
517
+ }
518
+ },
519
+ "500": {
520
+ "description": "Other errors",
521
+ "content": {
522
+ "application/json": {
523
+ "schema": {
524
+ "$ref": "#/components/schemas/ErrorResp"
525
+ }
526
+ }
527
+ }
528
+ }
529
+ }
530
+ }
531
+ },
532
+ "/v1/designs/limit": {
533
+ "get": {
534
+ "deprecated": true,
535
+ "operationId": "getLimit",
536
+ "summary": "getLimit",
537
+ "description": "Gets designs number limit from database per organization",
538
+ "tags": [
539
+ "design-builder"
540
+ ],
541
+ "responses": {
542
+ "200": {
543
+ "description": "Success - limit loaded with success.",
544
+ "content": {
545
+ "application/json": {
546
+ "schema": {
547
+ "type": "number"
548
+ }
549
+ }
550
+ }
551
+ },
552
+ "500": {
553
+ "description": "Other errors",
554
+ "content": {
555
+ "application/json": {
556
+ "schema": {
557
+ "$ref": "#/components/schemas/ErrorResp"
558
+ }
559
+ }
560
+ }
561
+ }
562
+ }
563
+ }
564
+ },
565
+ "/v1/brands": {
566
+ "get": {
567
+ "deprecated": true,
568
+ "operationId": "getBrands",
569
+ "summary": "getBrands",
570
+ "description": "Scan all brands linked to a organization, based in orgId attribute from JWT auth token",
571
+ "tags": [
572
+ "design-builder"
573
+ ],
574
+ "responses": {
575
+ "200": {
576
+ "description": "Success - brands loaded with success. Empty array if org has no designs.",
577
+ "content": {
578
+ "application/json": {
579
+ "schema": {
580
+ "type": "array",
581
+ "items": {
582
+ "$ref": "#/components/schemas/GetBrandsRes"
583
+ }
584
+ }
585
+ }
586
+ }
587
+ },
588
+ "500": {
589
+ "description": "Other errors",
590
+ "content": {
591
+ "application/json": {
592
+ "schema": {
593
+ "$ref": "#/components/schemas/ErrorResp"
594
+ }
595
+ }
596
+ }
597
+ }
598
+ }
599
+ }
600
+ },
601
+ "/v1/designs/consumer/{application}/{consumerId}": {
602
+ "get": {
603
+ "operationId": "getConsumerDesign",
604
+ "summary": "getConsumerDesign",
605
+ "description": "Search for a especific design owned by user organization",
606
+ "tags": [
607
+ "design-builder"
608
+ ],
609
+ "parameters": [
610
+ {
611
+ "in": "path",
612
+ "name": "consumerId",
613
+ "required": true,
614
+ "schema": {
615
+ "$ref": "#/components/schemas/DesignId"
616
+ }
617
+ },
618
+ {
619
+ "in": "path",
620
+ "name": "application",
621
+ "required": true,
622
+ "schema": {
623
+ "$ref": "#/components/schemas/Application"
624
+ }
625
+ }
626
+ ],
627
+ "responses": {
628
+ "200": {
629
+ "description": "Success - design loaded with success.",
630
+ "content": {
631
+ "application/json": {
632
+ "schema": {
633
+ "$ref": "#/components/schemas/GetDesignRes"
634
+ }
635
+ }
636
+ }
637
+ },
638
+ "400": {
639
+ "description": "Validation Errors",
640
+ "content": {
641
+ "application/json": {
642
+ "schema": {
643
+ "$ref": "#/components/schemas/ErrorResp"
644
+ }
645
+ }
646
+ }
647
+ },
648
+ "401": {
649
+ "description": "Authentication Errors",
650
+ "content": {
651
+ "application/json": {
652
+ "schema": {
653
+ "$ref": "#/components/schemas/ErrorResp"
654
+ }
655
+ }
656
+ }
657
+ },
658
+ "404": {
659
+ "description": "No design found"
660
+ },
661
+ "500": {
662
+ "description": "Other errors",
663
+ "content": {
664
+ "application/json": {
665
+ "schema": {
666
+ "$ref": "#/components/schemas/ErrorResp"
667
+ }
668
+ }
669
+ }
670
+ }
671
+ }
672
+ }
673
+ },
674
+ "/v1/designs/addConsumer/{application}/{designId}": {
675
+ "put": {
676
+ "operationId": "addConsumer",
677
+ "summary": "addConsumer",
678
+ "description": "Add a consumer that uses a specific design",
679
+ "tags": [
680
+ "design-builder"
681
+ ],
682
+ "parameters": [
683
+ {
684
+ "in": "path",
685
+ "name": "designId",
686
+ "required": true,
687
+ "schema": {
688
+ "$ref": "#/components/schemas/DesignId"
689
+ }
690
+ },
691
+ {
692
+ "in": "path",
693
+ "name": "application",
694
+ "schema": {
695
+ "type": "string"
696
+ },
697
+ "required": true,
698
+ "description": "Type of application that uses the design",
699
+ "example": "journey"
700
+ }
701
+ ],
702
+ "requestBody": {
703
+ "description": "widget id payload",
704
+ "required": true,
705
+ "content": {
706
+ "application/json": {
707
+ "schema": {
708
+ "$ref": "#/components/schemas/AddConsumerReq"
709
+ }
710
+ }
711
+ }
712
+ },
713
+ "responses": {
714
+ "204": {
715
+ "description": "Success - design updated with success."
716
+ },
717
+ "400": {
718
+ "description": "Validation Errors",
719
+ "content": {
720
+ "application/json": {
721
+ "schema": {
722
+ "$ref": "#/components/schemas/ErrorResp"
723
+ }
724
+ }
725
+ }
726
+ },
727
+ "401": {
728
+ "description": "Authentication Errors",
729
+ "content": {
730
+ "application/json": {
731
+ "schema": {
732
+ "$ref": "#/components/schemas/ErrorResp"
733
+ }
734
+ }
735
+ }
736
+ },
737
+ "404": {
738
+ "description": "No design found"
739
+ },
740
+ "500": {
741
+ "description": "Other errors",
742
+ "content": {
743
+ "application/json": {
744
+ "schema": {
745
+ "$ref": "#/components/schemas/ErrorResp"
746
+ }
747
+ }
748
+ }
749
+ }
750
+ }
751
+ }
752
+ },
753
+ "/v1/designs/removeConsumer/{application}/{designId}": {
754
+ "put": {
755
+ "operationId": "removeConsumer",
756
+ "summary": "removeConsumer",
757
+ "description": "Remove a consumer that uses a specific design",
758
+ "tags": [
759
+ "design-builder"
760
+ ],
761
+ "parameters": [
762
+ {
763
+ "in": "path",
764
+ "name": "designId",
765
+ "required": true,
766
+ "schema": {
767
+ "$ref": "#/components/schemas/DesignId"
768
+ }
769
+ },
770
+ {
771
+ "in": "path",
772
+ "name": "application",
773
+ "schema": {
774
+ "type": "string"
775
+ },
776
+ "required": true,
777
+ "description": "Type of application that uses the design",
778
+ "example": "journey"
779
+ }
780
+ ],
781
+ "requestBody": {
782
+ "description": "widget id payload",
783
+ "required": true,
784
+ "content": {
785
+ "application/json": {
786
+ "schema": {
787
+ "$ref": "#/components/schemas/RemoveConsumerReq"
788
+ }
789
+ }
790
+ }
791
+ },
792
+ "responses": {
793
+ "204": {
794
+ "description": "Success - design updated with success."
795
+ },
796
+ "400": {
797
+ "description": "Validation Errors",
798
+ "content": {
799
+ "application/json": {
800
+ "schema": {
801
+ "$ref": "#/components/schemas/ErrorResp"
802
+ }
803
+ }
804
+ }
805
+ },
806
+ "401": {
807
+ "description": "Authentication Errors",
808
+ "content": {
809
+ "application/json": {
810
+ "schema": {
811
+ "$ref": "#/components/schemas/ErrorResp"
812
+ }
813
+ }
814
+ }
815
+ },
816
+ "404": {
817
+ "description": "No design found"
818
+ },
819
+ "500": {
820
+ "description": "Other errors",
821
+ "content": {
822
+ "application/json": {
823
+ "schema": {
824
+ "$ref": "#/components/schemas/ErrorResp"
825
+ }
826
+ }
827
+ }
828
+ }
829
+ }
830
+ }
831
+ }
832
+ },
833
+ "components": {
834
+ "securitySchemes": {
835
+ "custom_authorizer": {
836
+ "type": "http",
837
+ "scheme": "bearer",
838
+ "bearerFormat": "JWT"
839
+ }
840
+ },
841
+ "schemas": {
842
+ "UploadFileReq": {
843
+ "type": "object",
844
+ "properties": {
845
+ "file_type": {
846
+ "type": "string",
847
+ "enum": [
848
+ "LOGO",
849
+ "FONT"
850
+ ]
851
+ },
852
+ "file_data": {
853
+ "type": "string",
854
+ "format": "base64"
855
+ },
856
+ "display_name": {
857
+ "type": "string"
858
+ },
859
+ "file_name": {
860
+ "type": "string"
861
+ }
862
+ },
863
+ "required": [
864
+ "file_type",
865
+ "file_name",
866
+ "file_data"
867
+ ]
868
+ },
869
+ "UploadFileRes": {
870
+ "type": "object",
871
+ "allOf": [
872
+ {
873
+ "$ref": "#/components/schemas/FileData"
874
+ }
875
+ ]
876
+ },
877
+ "GetFilesRes": {
878
+ "type": "array",
879
+ "items": {
880
+ "allOf": [
881
+ {
882
+ "$ref": "#/components/schemas/FileData"
883
+ }
884
+ ]
885
+ }
886
+ },
887
+ "GetAllDesignsRes": {
888
+ "type": "object",
889
+ "properties": {
890
+ "designs": {
891
+ "type": "array",
892
+ "items": {
893
+ "allOf": [
894
+ {
895
+ "$ref": "#/components/schemas/ItemMetada"
896
+ },
897
+ {
898
+ "$ref": "#/components/schemas/DesignItem"
899
+ },
900
+ {
901
+ "$ref": "#/components/schemas/Custom_Style"
902
+ },
903
+ {
904
+ "$ref": "#/components/schemas/Journey"
905
+ }
906
+ ]
907
+ }
908
+ }
909
+ }
910
+ },
911
+ "GetBrandsRes": {
912
+ "type": "object",
913
+ "properties": {
914
+ "brands": {
915
+ "type": "array",
916
+ "items": {
917
+ "allOf": [
918
+ {
919
+ "$ref": "#/components/schemas/BrandItem"
920
+ }
921
+ ]
922
+ }
923
+ }
924
+ }
925
+ },
926
+ "AddDesignReq": {
927
+ "type": "object",
928
+ "properties": {
929
+ "design": {
930
+ "allOf": [
931
+ {
932
+ "$ref": "#/components/schemas/DesignItem"
933
+ },
934
+ {
935
+ "$ref": "#/components/schemas/Custom_Style"
936
+ },
937
+ {
938
+ "$ref": "#/components/schemas/Journey"
939
+ }
940
+ ]
941
+ }
942
+ },
943
+ "required": [
944
+ "design"
945
+ ]
946
+ },
947
+ "AddDesignRes": {
948
+ "type": "object",
949
+ "properties": {
950
+ "design": {
951
+ "allOf": [
952
+ {
953
+ "$ref": "#/components/schemas/ItemMetada"
954
+ },
955
+ {
956
+ "$ref": "#/components/schemas/DesignItem"
957
+ },
958
+ {
959
+ "$ref": "#/components/schemas/Custom_Style"
960
+ },
961
+ {
962
+ "$ref": "#/components/schemas/Journey"
963
+ }
964
+ ]
965
+ }
966
+ }
967
+ },
968
+ "GetDesignRes": {
969
+ "type": "object",
970
+ "properties": {
971
+ "design": {
972
+ "allOf": [
973
+ {
974
+ "$ref": "#/components/schemas/ItemMetada"
975
+ },
976
+ {
977
+ "$ref": "#/components/schemas/DesignItem"
978
+ },
979
+ {
980
+ "$ref": "#/components/schemas/Custom_Style"
981
+ },
982
+ {
983
+ "$ref": "#/components/schemas/Journey"
984
+ }
985
+ ]
986
+ }
987
+ }
988
+ },
989
+ "UpdateDesignReq": {
990
+ "type": "object",
991
+ "properties": {
992
+ "design": {
993
+ "allOf": [
994
+ {
995
+ "$ref": "#/components/schemas/DesignItem"
996
+ },
997
+ {
998
+ "$ref": "#/components/schemas/Custom_Style"
999
+ },
1000
+ {
1001
+ "$ref": "#/components/schemas/Journey"
1002
+ }
1003
+ ]
1004
+ }
1005
+ },
1006
+ "required": [
1007
+ "design"
1008
+ ]
1009
+ },
1010
+ "ItemMetada": {
1011
+ "type": "object",
1012
+ "properties": {
1013
+ "id": {
1014
+ "type": "string"
1015
+ },
1016
+ "created_at": {
1017
+ "type": "string",
1018
+ "description": "Creation date and time",
1019
+ "example": "2021-01-30T08:30:00Z"
1020
+ },
1021
+ "created_by": {
1022
+ "type": "string"
1023
+ },
1024
+ "edited": {
1025
+ "type": "boolean"
1026
+ },
1027
+ "last_modified_at": {
1028
+ "type": "string"
1029
+ }
1030
+ }
1031
+ },
1032
+ "AddConsumerReq": {
1033
+ "type": "object",
1034
+ "properties": {
1035
+ "consumer_id": {
1036
+ "$ref": "#/components/schemas/DesignId"
1037
+ },
1038
+ "consumer_name": {
1039
+ "type": "string"
1040
+ },
1041
+ "should_delete": {
1042
+ "type": "string"
1043
+ }
1044
+ },
1045
+ "required": [
1046
+ "consumer_id",
1047
+ "consumer_name"
1048
+ ]
1049
+ },
1050
+ "RemoveConsumerReq": {
1051
+ "type": "object",
1052
+ "properties": {
1053
+ "consumer_id": {
1054
+ "$ref": "#/components/schemas/DesignId"
1055
+ },
1056
+ "should_delete": {
1057
+ "type": "string",
1058
+ "deprecated": true
1059
+ }
1060
+ },
1061
+ "required": [
1062
+ "consumer_id"
1063
+ ]
1064
+ },
1065
+ "DesignItem": {
1066
+ "type": "object",
1067
+ "properties": {
1068
+ "brand_id": {
1069
+ "type": "string"
1070
+ },
1071
+ "brand_name": {
1072
+ "type": "string"
1073
+ },
1074
+ "user": {
1075
+ "type": "object",
1076
+ "properties": {
1077
+ "emailaddress": {
1078
+ "type": "string"
1079
+ },
1080
+ "fullname": {
1081
+ "type": "string"
1082
+ },
1083
+ "name": {
1084
+ "type": "string"
1085
+ },
1086
+ "userid": {
1087
+ "type": "string"
1088
+ }
1089
+ }
1090
+ },
1091
+ "style_name": {
1092
+ "type": "string"
1093
+ },
1094
+ "style": {
1095
+ "type": "object",
1096
+ "properties": {
1097
+ "logo": {
1098
+ "type": "object",
1099
+ "$ref": "#/components/schemas/LogoData"
1100
+ },
1101
+ "palette": {
1102
+ "type": "object",
1103
+ "$ref": "#/components/schemas/PaletteData"
1104
+ },
1105
+ "typography": {
1106
+ "type": "object",
1107
+ "$ref": "#/components/schemas/TypographyData"
1108
+ },
1109
+ "shape": {
1110
+ "type": "object",
1111
+ "$ref": "#/components/schemas/ShapeData"
1112
+ },
1113
+ "consumer": {
1114
+ "type": "object",
1115
+ "$ref": "#/components/schemas/ConsumerData"
1116
+ }
1117
+ },
1118
+ "required": [
1119
+ "palette",
1120
+ "typography",
1121
+ "consumer"
1122
+ ]
1123
+ },
1124
+ "is_default": {
1125
+ "type": "boolean"
1126
+ },
1127
+ "_manifest": {
1128
+ "type": "array",
1129
+ "description": "The manifest IDs associated with this design",
1130
+ "items": {
1131
+ "type": "string"
1132
+ }
1133
+ }
1134
+ },
1135
+ "required": [
1136
+ "style_name",
1137
+ "status",
1138
+ "edited",
1139
+ "style"
1140
+ ]
1141
+ },
1142
+ "BrandItem": {
1143
+ "type": "object",
1144
+ "properties": {
1145
+ "id": {
1146
+ "type": "string"
1147
+ },
1148
+ "name": {
1149
+ "type": "string"
1150
+ },
1151
+ "created_by": {
1152
+ "type": "string"
1153
+ },
1154
+ "created_date": {
1155
+ "type": "string"
1156
+ },
1157
+ "main_brand": {
1158
+ "type": "string"
1159
+ },
1160
+ "organization_id": {
1161
+ "type": "string"
1162
+ },
1163
+ "updated_date": {
1164
+ "type": "string"
1165
+ },
1166
+ "updated_by": {
1167
+ "type": "string"
1168
+ },
1169
+ "status": {
1170
+ "type": "string"
1171
+ }
1172
+ },
1173
+ "required": [
1174
+ "id",
1175
+ "name"
1176
+ ]
1177
+ },
1178
+ "Custom_Style": {
1179
+ "type": "object",
1180
+ "properties": {
1181
+ "custom_theme": {
1182
+ "type": "string"
1183
+ },
1184
+ "use_custom_theme": {
1185
+ "type": "boolean"
1186
+ }
1187
+ }
1188
+ },
1189
+ "Journey": {
1190
+ "type": "object",
1191
+ "properties": {
1192
+ "design_tokens": {
1193
+ "type": "object",
1194
+ "properties": {
1195
+ "coupon": {
1196
+ "type": "string"
1197
+ },
1198
+ "cashback": {
1199
+ "type": "string"
1200
+ },
1201
+ "custom_css": {
1202
+ "type": "string"
1203
+ }
1204
+ }
1205
+ }
1206
+ }
1207
+ },
1208
+ "ConsumerData": {
1209
+ "type": "object",
1210
+ "properties": {
1211
+ "widgets": {
1212
+ "type": "array",
1213
+ "items": {
1214
+ "anyOf": [
1215
+ {
1216
+ "$ref": "#/components/schemas/WidgetData"
1217
+ }
1218
+ ]
1219
+ }
1220
+ },
1221
+ "customer_portals": {
1222
+ "type": "array",
1223
+ "items": {
1224
+ "anyOf": [
1225
+ {
1226
+ "$ref": "#/components/schemas/CustomerPortalData"
1227
+ }
1228
+ ]
1229
+ }
1230
+ }
1231
+ },
1232
+ "required": [
1233
+ "widgets",
1234
+ "customer_portals"
1235
+ ]
1236
+ },
1237
+ "WidgetData": {
1238
+ "allOf": [
1239
+ {
1240
+ "$ref": "#/components/schemas/WidgetPortalData"
1241
+ }
1242
+ ]
1243
+ },
1244
+ "CustomerPortalData": {
1245
+ "allOf": [
1246
+ {
1247
+ "$ref": "#/components/schemas/WidgetPortalData"
1248
+ }
1249
+ ]
1250
+ },
1251
+ "LogoData": {
1252
+ "type": "object",
1253
+ "properties": {
1254
+ "main": {
1255
+ "type": "object",
1256
+ "$ref": "#/components/schemas/FileData"
1257
+ }
1258
+ }
1259
+ },
1260
+ "PaletteData": {
1261
+ "type": "object",
1262
+ "properties": {
1263
+ "primary": {
1264
+ "type": "string"
1265
+ },
1266
+ "secondary": {
1267
+ "type": "string"
1268
+ },
1269
+ "error": {
1270
+ "type": "string"
1271
+ },
1272
+ "background": {
1273
+ "type": "string"
1274
+ },
1275
+ "paper": {
1276
+ "type": "string"
1277
+ },
1278
+ "navbar": {
1279
+ "type": "string"
1280
+ },
1281
+ "portal_login_background": {
1282
+ "type": "string"
1283
+ }
1284
+ },
1285
+ "required": [
1286
+ "primary",
1287
+ "secondary",
1288
+ "error",
1289
+ "background",
1290
+ "paper",
1291
+ "navbar"
1292
+ ]
1293
+ },
1294
+ "TypographyData": {
1295
+ "type": "object",
1296
+ "properties": {
1297
+ "font": {
1298
+ "type": "object",
1299
+ "$ref": "#/components/schemas/FontData"
1300
+ },
1301
+ "primary": {
1302
+ "type": "string"
1303
+ },
1304
+ "secondary": {
1305
+ "type": "string"
1306
+ }
1307
+ },
1308
+ "required": [
1309
+ "font",
1310
+ "primary",
1311
+ "secondary"
1312
+ ]
1313
+ },
1314
+ "ShapeData": {
1315
+ "type": "object",
1316
+ "properties": {
1317
+ "border_radius": {
1318
+ "type": "number"
1319
+ }
1320
+ }
1321
+ },
1322
+ "FontData": {
1323
+ "type": "object",
1324
+ "properties": {
1325
+ "font_id": {
1326
+ "type": "string"
1327
+ },
1328
+ "font_name": {
1329
+ "type": "string"
1330
+ },
1331
+ "font_family": {
1332
+ "type": "string"
1333
+ },
1334
+ "font_weight_regular": {
1335
+ "type": "string"
1336
+ },
1337
+ "font_weight_medium": {
1338
+ "type": "string"
1339
+ },
1340
+ "font_weight_bold": {
1341
+ "type": "string"
1342
+ },
1343
+ "urls": {
1344
+ "type": "array",
1345
+ "items": {
1346
+ "anyOf": [
1347
+ {
1348
+ "$ref": "#/components/schemas/FontResponseUrl"
1349
+ }
1350
+ ]
1351
+ }
1352
+ }
1353
+ },
1354
+ "required": [
1355
+ "font_id",
1356
+ "font_name",
1357
+ "urls"
1358
+ ]
1359
+ },
1360
+ "FontResponseUrl": {
1361
+ "type": "object",
1362
+ "properties": {
1363
+ "type": {
1364
+ "type": "string",
1365
+ "enum": [
1366
+ "WOFF2",
1367
+ "WOFF",
1368
+ "TTF",
1369
+ "EOT"
1370
+ ]
1371
+ },
1372
+ "url": {
1373
+ "type": "string"
1374
+ }
1375
+ }
1376
+ },
1377
+ "WidgetPortalData": {
1378
+ "type": "object",
1379
+ "properties": {
1380
+ "id": {
1381
+ "type": "string"
1382
+ },
1383
+ "name": {
1384
+ "type": "string"
1385
+ }
1386
+ },
1387
+ "required": [
1388
+ "id",
1389
+ "name"
1390
+ ]
1391
+ },
1392
+ "ErrorResp": {
1393
+ "type": "object",
1394
+ "properties": {
1395
+ "message": {
1396
+ "type": "string"
1397
+ },
1398
+ "error": {
1399
+ "type": "object"
1400
+ }
1401
+ }
1402
+ },
1403
+ "FileData": {
1404
+ "type": "object",
1405
+ "properties": {
1406
+ "name": {
1407
+ "type": "string"
1408
+ },
1409
+ "display_name": {
1410
+ "type": "string"
1411
+ },
1412
+ "file_type": {
1413
+ "type": "string",
1414
+ "enum": [
1415
+ "LOGO",
1416
+ "FONT"
1417
+ ]
1418
+ },
1419
+ "s3_object_key": {
1420
+ "type": "string"
1421
+ },
1422
+ "url": {
1423
+ "type": "string"
1424
+ }
1425
+ },
1426
+ "required": [
1427
+ "name",
1428
+ "s3_object_key",
1429
+ "url"
1430
+ ]
1431
+ },
1432
+ "DesignId": {
1433
+ "type": "string",
1434
+ "minLength": 36,
1435
+ "maxLength": 36,
1436
+ "description": "Id of the design",
1437
+ "example": "4a062990-a6a3-11eb-9828-4f3da7d4935a"
1438
+ },
1439
+ "Theme": {
1440
+ "type": "string",
1441
+ "enum": [
1442
+ "NEW",
1443
+ "OLD"
1444
+ ],
1445
+ "description": "Type of theme to be parsed and returned",
1446
+ "example": "NEW"
1447
+ },
1448
+ "Application": {
1449
+ "type": "string",
1450
+ "description": "Type of application that uses the design",
1451
+ "example": "journey"
1452
+ },
1453
+ "DesignParameters": {
1454
+ "type": "object",
1455
+ "properties": {
1456
+ "designId": {
1457
+ "$ref": "#/components/schemas/DesignId"
1458
+ },
1459
+ "theme": {
1460
+ "$ref": "#/components/schemas/Theme"
1461
+ },
1462
+ "application": {
1463
+ "$ref": "#/components/schemas/Application"
1464
+ }
1465
+ }
1466
+ }
1467
+ }
1468
+ }
1469
+ }