@epilot/sdk 2.0.0-alpha.0
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/README.md +294 -0
- package/dist/access-token-MYDOBCIY.cjs +89 -0
- package/dist/access-token-Y5JR7PRG.js +89 -0
- package/dist/access-token.d-C2qnueDV.d.cts +553 -0
- package/dist/access-token.d-C2qnueDV.d.ts +553 -0
- package/dist/address-3RQRG3MK.js +84 -0
- package/dist/address-LQUTDOUA.cjs +84 -0
- package/dist/address-suggestions-PEKSA7B2.cjs +132 -0
- package/dist/address-suggestions-QNK5JWNH.js +132 -0
- package/dist/address-suggestions.d-CewXYNYH.d.cts +340 -0
- package/dist/address-suggestions.d-CewXYNYH.d.ts +340 -0
- package/dist/address.d-DP_aE2ex.d.cts +438 -0
- package/dist/address.d-DP_aE2ex.d.ts +438 -0
- package/dist/ai-agents-MO4PK2RJ.cjs +215 -0
- package/dist/ai-agents-OHP2F243.js +215 -0
- package/dist/ai-agents.d-vG-1utqk.d.cts +1340 -0
- package/dist/ai-agents.d-vG-1utqk.d.ts +1340 -0
- package/dist/apis/access-token.cjs +33 -0
- package/dist/apis/access-token.d.cts +18 -0
- package/dist/apis/access-token.d.ts +18 -0
- package/dist/apis/access-token.js +33 -0
- package/dist/apis/address-suggestions.cjs +33 -0
- package/dist/apis/address-suggestions.d.cts +18 -0
- package/dist/apis/address-suggestions.d.ts +18 -0
- package/dist/apis/address-suggestions.js +33 -0
- package/dist/apis/address.cjs +33 -0
- package/dist/apis/address.d.cts +18 -0
- package/dist/apis/address.d.ts +18 -0
- package/dist/apis/address.js +33 -0
- package/dist/apis/ai-agents.cjs +33 -0
- package/dist/apis/ai-agents.d.cts +18 -0
- package/dist/apis/ai-agents.d.ts +18 -0
- package/dist/apis/ai-agents.js +33 -0
- package/dist/apis/app.cjs +33 -0
- package/dist/apis/app.d.cts +18 -0
- package/dist/apis/app.d.ts +18 -0
- package/dist/apis/app.js +33 -0
- package/dist/apis/audit-logs.cjs +33 -0
- package/dist/apis/audit-logs.d.cts +18 -0
- package/dist/apis/audit-logs.d.ts +18 -0
- package/dist/apis/audit-logs.js +33 -0
- package/dist/apis/automation.cjs +33 -0
- package/dist/apis/automation.d.cts +18 -0
- package/dist/apis/automation.d.ts +18 -0
- package/dist/apis/automation.js +33 -0
- package/dist/apis/billing.cjs +33 -0
- package/dist/apis/billing.d.cts +18 -0
- package/dist/apis/billing.d.ts +18 -0
- package/dist/apis/billing.js +33 -0
- package/dist/apis/blueprint-manifest.cjs +33 -0
- package/dist/apis/blueprint-manifest.d.cts +18 -0
- package/dist/apis/blueprint-manifest.d.ts +18 -0
- package/dist/apis/blueprint-manifest.js +33 -0
- package/dist/apis/consent.cjs +33 -0
- package/dist/apis/consent.d.cts +18 -0
- package/dist/apis/consent.d.ts +18 -0
- package/dist/apis/consent.js +33 -0
- package/dist/apis/customer-portal.cjs +33 -0
- package/dist/apis/customer-portal.d.cts +18 -0
- package/dist/apis/customer-portal.d.ts +18 -0
- package/dist/apis/customer-portal.js +33 -0
- package/dist/apis/data-management.cjs +33 -0
- package/dist/apis/data-management.d.cts +18 -0
- package/dist/apis/data-management.d.ts +18 -0
- package/dist/apis/data-management.js +33 -0
- package/dist/apis/deduplication.cjs +33 -0
- package/dist/apis/deduplication.d.cts +18 -0
- package/dist/apis/deduplication.d.ts +18 -0
- package/dist/apis/deduplication.js +33 -0
- package/dist/apis/design.cjs +33 -0
- package/dist/apis/design.d.cts +18 -0
- package/dist/apis/design.d.ts +18 -0
- package/dist/apis/design.js +33 -0
- package/dist/apis/discussion.cjs +33 -0
- package/dist/apis/discussion.d.cts +18 -0
- package/dist/apis/discussion.d.ts +18 -0
- package/dist/apis/discussion.js +33 -0
- package/dist/apis/document.cjs +33 -0
- package/dist/apis/document.d.cts +18 -0
- package/dist/apis/document.d.ts +18 -0
- package/dist/apis/document.js +33 -0
- package/dist/apis/email-settings.cjs +33 -0
- package/dist/apis/email-settings.d.cts +18 -0
- package/dist/apis/email-settings.d.ts +18 -0
- package/dist/apis/email-settings.js +33 -0
- package/dist/apis/email-template.cjs +33 -0
- package/dist/apis/email-template.d.cts +18 -0
- package/dist/apis/email-template.d.ts +18 -0
- package/dist/apis/email-template.js +33 -0
- package/dist/apis/entity-mapping.cjs +33 -0
- package/dist/apis/entity-mapping.d.cts +18 -0
- package/dist/apis/entity-mapping.d.ts +18 -0
- package/dist/apis/entity-mapping.js +33 -0
- package/dist/apis/entity.cjs +33 -0
- package/dist/apis/entity.d.cts +18 -0
- package/dist/apis/entity.d.ts +18 -0
- package/dist/apis/entity.js +33 -0
- package/dist/apis/environments.cjs +33 -0
- package/dist/apis/environments.d.cts +18 -0
- package/dist/apis/environments.d.ts +18 -0
- package/dist/apis/environments.js +33 -0
- package/dist/apis/erp-integration.cjs +33 -0
- package/dist/apis/erp-integration.d.cts +18 -0
- package/dist/apis/erp-integration.d.ts +18 -0
- package/dist/apis/erp-integration.js +33 -0
- package/dist/apis/event-catalog.cjs +33 -0
- package/dist/apis/event-catalog.d.cts +18 -0
- package/dist/apis/event-catalog.d.ts +18 -0
- package/dist/apis/event-catalog.js +33 -0
- package/dist/apis/file.cjs +33 -0
- package/dist/apis/file.d.cts +18 -0
- package/dist/apis/file.d.ts +18 -0
- package/dist/apis/file.js +33 -0
- package/dist/apis/iban.cjs +33 -0
- package/dist/apis/iban.d.cts +18 -0
- package/dist/apis/iban.d.ts +18 -0
- package/dist/apis/iban.js +33 -0
- package/dist/apis/journey.cjs +33 -0
- package/dist/apis/journey.d.cts +18 -0
- package/dist/apis/journey.d.ts +18 -0
- package/dist/apis/journey.js +33 -0
- package/dist/apis/kanban.cjs +33 -0
- package/dist/apis/kanban.d.cts +18 -0
- package/dist/apis/kanban.d.ts +18 -0
- package/dist/apis/kanban.js +33 -0
- package/dist/apis/message.cjs +33 -0
- package/dist/apis/message.d.cts +18 -0
- package/dist/apis/message.d.ts +18 -0
- package/dist/apis/message.js +33 -0
- package/dist/apis/metering.cjs +33 -0
- package/dist/apis/metering.d.cts +18 -0
- package/dist/apis/metering.d.ts +18 -0
- package/dist/apis/metering.js +33 -0
- package/dist/apis/notes.cjs +33 -0
- package/dist/apis/notes.d.cts +18 -0
- package/dist/apis/notes.d.ts +18 -0
- package/dist/apis/notes.js +33 -0
- package/dist/apis/notification.cjs +33 -0
- package/dist/apis/notification.d.cts +18 -0
- package/dist/apis/notification.d.ts +18 -0
- package/dist/apis/notification.js +33 -0
- package/dist/apis/organization.cjs +33 -0
- package/dist/apis/organization.d.cts +18 -0
- package/dist/apis/organization.d.ts +18 -0
- package/dist/apis/organization.js +33 -0
- package/dist/apis/partner-directory.cjs +33 -0
- package/dist/apis/partner-directory.d.cts +18 -0
- package/dist/apis/partner-directory.d.ts +18 -0
- package/dist/apis/partner-directory.js +33 -0
- package/dist/apis/permissions.cjs +33 -0
- package/dist/apis/permissions.d.cts +18 -0
- package/dist/apis/permissions.d.ts +18 -0
- package/dist/apis/permissions.js +33 -0
- package/dist/apis/pricing-tier.cjs +33 -0
- package/dist/apis/pricing-tier.d.cts +18 -0
- package/dist/apis/pricing-tier.d.ts +18 -0
- package/dist/apis/pricing-tier.js +33 -0
- package/dist/apis/pricing.cjs +33 -0
- package/dist/apis/pricing.d.cts +18 -0
- package/dist/apis/pricing.d.ts +18 -0
- package/dist/apis/pricing.js +33 -0
- package/dist/apis/purpose.cjs +33 -0
- package/dist/apis/purpose.d.cts +18 -0
- package/dist/apis/purpose.d.ts +18 -0
- package/dist/apis/purpose.js +33 -0
- package/dist/apis/sandbox.cjs +33 -0
- package/dist/apis/sandbox.d.cts +18 -0
- package/dist/apis/sandbox.d.ts +18 -0
- package/dist/apis/sandbox.js +33 -0
- package/dist/apis/submission.cjs +33 -0
- package/dist/apis/submission.d.cts +18 -0
- package/dist/apis/submission.d.ts +18 -0
- package/dist/apis/submission.js +33 -0
- package/dist/apis/targeting.cjs +33 -0
- package/dist/apis/targeting.d.cts +18 -0
- package/dist/apis/targeting.d.ts +18 -0
- package/dist/apis/targeting.js +33 -0
- package/dist/apis/template-variables.cjs +33 -0
- package/dist/apis/template-variables.d.cts +18 -0
- package/dist/apis/template-variables.d.ts +18 -0
- package/dist/apis/template-variables.js +33 -0
- package/dist/apis/user.cjs +33 -0
- package/dist/apis/user.d.cts +18 -0
- package/dist/apis/user.d.ts +18 -0
- package/dist/apis/user.js +33 -0
- package/dist/apis/validation-rules.cjs +33 -0
- package/dist/apis/validation-rules.d.cts +18 -0
- package/dist/apis/validation-rules.d.ts +18 -0
- package/dist/apis/validation-rules.js +33 -0
- package/dist/apis/webhooks.cjs +33 -0
- package/dist/apis/webhooks.d.cts +18 -0
- package/dist/apis/webhooks.d.ts +18 -0
- package/dist/apis/webhooks.js +33 -0
- package/dist/apis/workflow-definition.cjs +33 -0
- package/dist/apis/workflow-definition.d.cts +18 -0
- package/dist/apis/workflow-definition.d.ts +18 -0
- package/dist/apis/workflow-definition.js +33 -0
- package/dist/apis/workflow.cjs +33 -0
- package/dist/apis/workflow.d.cts +18 -0
- package/dist/apis/workflow.d.ts +18 -0
- package/dist/apis/workflow.js +33 -0
- package/dist/app-UUTBO3WJ.js +573 -0
- package/dist/app-XJGY6SHO.cjs +573 -0
- package/dist/app.d-Uncn387s.d.cts +3370 -0
- package/dist/app.d-Uncn387s.d.ts +3370 -0
- package/dist/audit-logs-4IJYIOXF.js +55 -0
- package/dist/audit-logs-UWLCPBB4.cjs +55 -0
- package/dist/audit-logs.d-BxZqONu5.d.cts +288 -0
- package/dist/audit-logs.d-BxZqONu5.d.ts +288 -0
- package/dist/automation-4UQADTDO.cjs +282 -0
- package/dist/automation-PVXTQLZX.js +282 -0
- package/dist/automation.d-BteCzeFn.d.cts +4921 -0
- package/dist/automation.d-BteCzeFn.d.ts +4921 -0
- package/dist/billing-FI4V4UX5.cjs +175 -0
- package/dist/billing-OMWNJHGW.js +175 -0
- package/dist/billing.d-BH4__05Y.d.cts +994 -0
- package/dist/billing.d-BH4__05Y.d.ts +994 -0
- package/dist/bin/cli.js +135 -0
- package/dist/blueprint-manifest-CPQAL76N.cjs +504 -0
- package/dist/blueprint-manifest-FIMGDHSH.js +504 -0
- package/dist/blueprint-manifest.d-CU4v09fj.d.cts +3327 -0
- package/dist/blueprint-manifest.d-CU4v09fj.d.ts +3327 -0
- package/dist/chunk-3RG5ZIWI.js +10 -0
- package/dist/chunk-OBGZSXTJ.cjs +10 -0
- package/dist/chunk-UJTFRZMS.js +65 -0
- package/dist/chunk-YLLKMXS3.cjs +65 -0
- package/dist/consent-NHDCDJMK.js +84 -0
- package/dist/consent-R5GU3WCK.cjs +84 -0
- package/dist/consent.d-BETWwU_2.d.cts +266 -0
- package/dist/consent.d-BETWwU_2.d.ts +266 -0
- package/dist/customer-portal-6AV2W43T.cjs +2252 -0
- package/dist/customer-portal-EY57GJYV.js +2252 -0
- package/dist/customer-portal.d-Co_I6psR.d.cts +15255 -0
- package/dist/customer-portal.d-Co_I6psR.d.ts +15255 -0
- package/dist/data-management-ILQUYNTN.cjs +240 -0
- package/dist/data-management-QMXOLOEG.js +240 -0
- package/dist/data-management.d-CkR2E_Pm.d.cts +548 -0
- package/dist/data-management.d-CkR2E_Pm.d.ts +548 -0
- package/dist/deduplication-IVXANO7S.cjs +42 -0
- package/dist/deduplication-WN45DVK3.js +42 -0
- package/dist/deduplication.d-BlHnjhXk.d.cts +114 -0
- package/dist/deduplication.d-BlHnjhXk.d.ts +114 -0
- package/dist/design-ONRLY6XI.cjs +219 -0
- package/dist/design-UHMRO3PG.js +219 -0
- package/dist/design.d-JsNY_cGh.d.cts +834 -0
- package/dist/design.d-JsNY_cGh.d.ts +834 -0
- package/dist/discussion-4CZIG3ZM.cjs +134 -0
- package/dist/discussion-VWMWL2AF.js +134 -0
- package/dist/discussion.d-CxxaYKTf.d.cts +580 -0
- package/dist/discussion.d-CxxaYKTf.d.ts +580 -0
- package/dist/document-CN3JNXFF.js +78 -0
- package/dist/document-PCKNZA4K.cjs +78 -0
- package/dist/document.d-CZ_FGhEn.d.cts +649 -0
- package/dist/document.d-CZ_FGhEn.d.ts +649 -0
- package/dist/email-settings-ANURQMKZ.js +533 -0
- package/dist/email-settings-YE2XB2ZU.cjs +533 -0
- package/dist/email-settings.d-3eXYEyRr.d.cts +2278 -0
- package/dist/email-settings.d-3eXYEyRr.d.ts +2278 -0
- package/dist/email-template-4QI4YS4J.js +122 -0
- package/dist/email-template-BUJBC6HH.cjs +122 -0
- package/dist/email-template.d-C2L0dKqB.d.cts +1175 -0
- package/dist/email-template.d-C2L0dKqB.d.ts +1175 -0
- package/dist/entity-BCFE3UJT.cjs +1600 -0
- package/dist/entity-VEXNQC4Y.js +1600 -0
- package/dist/entity-mapping-PHRLSYP7.cjs +215 -0
- package/dist/entity-mapping-QK7MGNAW.js +215 -0
- package/dist/entity-mapping.d-B3Vyepok.d.cts +1093 -0
- package/dist/entity-mapping.d-B3Vyepok.d.ts +1093 -0
- package/dist/entity.d-DmER_7q5.d.cts +16018 -0
- package/dist/entity.d-DmER_7q5.d.ts +16018 -0
- package/dist/environments-266S44UM.cjs +71 -0
- package/dist/environments-AV7W6SLT.js +71 -0
- package/dist/environments.d-CpILpSNF.d.cts +254 -0
- package/dist/environments.d-CpILpSNF.d.ts +254 -0
- package/dist/erp-integration-5WNBCGWS.cjs +586 -0
- package/dist/erp-integration-EMI5WIWA.js +586 -0
- package/dist/erp-integration.d-DmxUZOUQ.d.cts +4120 -0
- package/dist/erp-integration.d-DmxUZOUQ.d.ts +4120 -0
- package/dist/event-catalog-DBWYKQ6J.cjs +130 -0
- package/dist/event-catalog-KKMXV5LB.js +130 -0
- package/dist/event-catalog.d-B2tq20gn.d.cts +1512 -0
- package/dist/event-catalog.d-B2tq20gn.d.ts +1512 -0
- package/dist/file-3ZLMS6TL.js +573 -0
- package/dist/file-Q66N5XMG.cjs +573 -0
- package/dist/file.d-Bi0EZkNu.d.cts +2993 -0
- package/dist/file.d-Bi0EZkNu.d.ts +2993 -0
- package/dist/iban-HSXVSIFW.cjs +43 -0
- package/dist/iban-Q27INTOC.js +43 -0
- package/dist/iban.d-DP7hl0Qt.d.cts +71 -0
- package/dist/iban.d-DP7hl0Qt.d.ts +71 -0
- package/dist/index.cjs +563 -0
- package/dist/index.d.cts +119 -0
- package/dist/index.d.ts +119 -0
- package/dist/index.js +563 -0
- package/dist/journey-DGKXVWZQ.js +270 -0
- package/dist/journey-T2Y72EBS.cjs +270 -0
- package/dist/journey.d-DxL16X6N.d.cts +1794 -0
- package/dist/journey.d-DxL16X6N.d.ts +1794 -0
- package/dist/kanban-A4B6RCJ2.cjs +164 -0
- package/dist/kanban-PP6WJVT2.js +164 -0
- package/dist/kanban.d-DDrBwr9h.d.cts +631 -0
- package/dist/kanban.d-DDrBwr9h.d.ts +631 -0
- package/dist/message-D6JY4GJH.cjs +673 -0
- package/dist/message-HFX2DDCV.js +673 -0
- package/dist/message.d-BeBH6vof.d.cts +3580 -0
- package/dist/message.d-BeBH6vof.d.ts +3580 -0
- package/dist/metering-63MJFCS2.cjs +399 -0
- package/dist/metering-F63PNFCZ.js +399 -0
- package/dist/metering.d-D5VR4tVa.d.cts +1842 -0
- package/dist/metering.d-D5VR4tVa.d.ts +1842 -0
- package/dist/notes-FTL5H4JE.cjs +219 -0
- package/dist/notes-GMWTQCMB.js +219 -0
- package/dist/notes.d-DZYeVo0I.d.cts +1047 -0
- package/dist/notes.d-DZYeVo0I.d.ts +1047 -0
- package/dist/notification-WXFSOORN.cjs +237 -0
- package/dist/notification-XHG3TIBW.js +237 -0
- package/dist/notification.d-BJwdFZnG.d.cts +1148 -0
- package/dist/notification.d-BJwdFZnG.d.ts +1148 -0
- package/dist/organization-CPXTUDJO.js +118 -0
- package/dist/organization-XIFV7MWP.cjs +118 -0
- package/dist/organization.d-DfUcuwKM.d.cts +629 -0
- package/dist/organization.d-DfUcuwKM.d.ts +629 -0
- package/dist/partner-directory-4WCHPJRO.js +282 -0
- package/dist/partner-directory-FKWPPO7F.cjs +282 -0
- package/dist/partner-directory.d-BRRDHFcz.d.cts +1511 -0
- package/dist/partner-directory.d-BRRDHFcz.d.ts +1511 -0
- package/dist/permissions-5E36GPG3.js +178 -0
- package/dist/permissions-PBTK5CCD.cjs +178 -0
- package/dist/permissions.d-CL7SwMFy.d.cts +1253 -0
- package/dist/permissions.d-CL7SwMFy.d.ts +1253 -0
- package/dist/pricing-FDWEBIQU.js +439 -0
- package/dist/pricing-FZQKL4DW.cjs +439 -0
- package/dist/pricing-tier-34O624R4.js +36 -0
- package/dist/pricing-tier-F4HE6WIM.cjs +36 -0
- package/dist/pricing-tier.d-VuH-NtlR.d.cts +82 -0
- package/dist/pricing-tier.d-VuH-NtlR.d.ts +82 -0
- package/dist/pricing.d-Dd1CaSX_.d.cts +12201 -0
- package/dist/pricing.d-Dd1CaSX_.d.ts +12201 -0
- package/dist/purpose-47HJIG2Q.cjs +180 -0
- package/dist/purpose-MX33NU5H.js +180 -0
- package/dist/purpose.d-D8YCSqt9.d.cts +373 -0
- package/dist/purpose.d-D8YCSqt9.d.ts +373 -0
- package/dist/sandbox-7QNLGFN2.cjs +100 -0
- package/dist/sandbox-TZCXHBJN.js +100 -0
- package/dist/sandbox.d-D1NgPMEc.d.cts +466 -0
- package/dist/sandbox.d-D1NgPMEc.d.ts +466 -0
- package/dist/submission-6LSPBI27.js +55 -0
- package/dist/submission-DBQNDJ4B.cjs +55 -0
- package/dist/submission.d-e9MPrbY1.d.cts +470 -0
- package/dist/submission.d-e9MPrbY1.d.ts +470 -0
- package/dist/targeting-HZRCLNIF.cjs +275 -0
- package/dist/targeting-MTQ6JBCY.js +275 -0
- package/dist/targeting.d-1GW3nh-y.d.cts +2058 -0
- package/dist/targeting.d-1GW3nh-y.d.ts +2058 -0
- package/dist/template-variables-S6IXK7SF.js +159 -0
- package/dist/template-variables-VPNIMC7L.cjs +159 -0
- package/dist/template-variables.d-CqqGe3sd.d.cts +1315 -0
- package/dist/template-variables.d-CqqGe3sd.d.ts +1315 -0
- package/dist/types-C5cGIwtq.d.cts +28 -0
- package/dist/types-C5cGIwtq.d.ts +28 -0
- package/dist/user-BHH4DAA5.cjs +488 -0
- package/dist/user-KBXFVRPI.js +488 -0
- package/dist/user.d-CWBgUia2.d.cts +2199 -0
- package/dist/user.d-CWBgUia2.d.ts +2199 -0
- package/dist/validation-rules-4V7KAWGW.cjs +120 -0
- package/dist/validation-rules-UGQY4ASY.js +120 -0
- package/dist/validation-rules.d-CMSvveua.d.cts +808 -0
- package/dist/validation-rules.d-CMSvveua.d.ts +808 -0
- package/dist/webhooks-JR475VD4.js +252 -0
- package/dist/webhooks-X64U3KCB.cjs +252 -0
- package/dist/webhooks.d-Bzl-u_Zs.d.cts +1201 -0
- package/dist/webhooks.d-Bzl-u_Zs.d.ts +1201 -0
- package/dist/workflow-7ANPQZDP.cjs +402 -0
- package/dist/workflow-DWSAHA5Q.js +402 -0
- package/dist/workflow-definition-2M3JBCUI.cjs +342 -0
- package/dist/workflow-definition-WLPGEU55.js +342 -0
- package/dist/workflow-definition.d-BKmIy2Qp.d.cts +2030 -0
- package/dist/workflow-definition.d-BKmIy2Qp.d.ts +2030 -0
- package/dist/workflow.d-DElz0XoQ.d.cts +3017 -0
- package/dist/workflow.d-DElz0XoQ.d.ts +3017 -0
- package/package.json +289 -0
|
@@ -0,0 +1,834 @@
|
|
|
1
|
+
import { OpenAPIClient, Parameters, UnknownParamsObject, AxiosRequestConfig, OperationResponse } from 'openapi-client-axios';
|
|
2
|
+
|
|
3
|
+
/* eslint-disable */
|
|
4
|
+
/* Auto-copied from design-client */
|
|
5
|
+
/* eslint-disable */
|
|
6
|
+
|
|
7
|
+
|
|
8
|
+
|
|
9
|
+
declare namespace Components {
|
|
10
|
+
namespace Schemas {
|
|
11
|
+
export interface AddConsumerReq {
|
|
12
|
+
consumer_id: string;
|
|
13
|
+
consumer_name: string;
|
|
14
|
+
should_delete?: string;
|
|
15
|
+
}
|
|
16
|
+
export interface AddDesignReq {
|
|
17
|
+
design: {
|
|
18
|
+
brand_id?: string;
|
|
19
|
+
brand_name?: string;
|
|
20
|
+
user?: {
|
|
21
|
+
emailaddress?: string;
|
|
22
|
+
fullname?: string;
|
|
23
|
+
name?: string;
|
|
24
|
+
userid?: string;
|
|
25
|
+
};
|
|
26
|
+
style_name: string;
|
|
27
|
+
style: {
|
|
28
|
+
logo?: LogoData;
|
|
29
|
+
palette: PaletteData;
|
|
30
|
+
typography: TypographyData;
|
|
31
|
+
shape?: ShapeData;
|
|
32
|
+
consumer: ConsumerData;
|
|
33
|
+
};
|
|
34
|
+
is_default?: boolean;
|
|
35
|
+
custom_theme?: string;
|
|
36
|
+
use_custom_theme?: boolean;
|
|
37
|
+
design_tokens?: {
|
|
38
|
+
coupon?: string;
|
|
39
|
+
cashback?: string;
|
|
40
|
+
custom_css?: string;
|
|
41
|
+
};
|
|
42
|
+
};
|
|
43
|
+
}
|
|
44
|
+
export interface AddDesignRes {
|
|
45
|
+
design?: {
|
|
46
|
+
id?: string;
|
|
47
|
+
/**
|
|
48
|
+
* Creation date and time
|
|
49
|
+
* example:
|
|
50
|
+
* 2021-01-30T08:30:00Z
|
|
51
|
+
*/
|
|
52
|
+
created_at?: string;
|
|
53
|
+
created_by?: string;
|
|
54
|
+
edited: boolean;
|
|
55
|
+
last_modified_at?: string;
|
|
56
|
+
brand_id?: string;
|
|
57
|
+
brand_name?: string;
|
|
58
|
+
user?: {
|
|
59
|
+
emailaddress?: string;
|
|
60
|
+
fullname?: string;
|
|
61
|
+
name?: string;
|
|
62
|
+
userid?: string;
|
|
63
|
+
};
|
|
64
|
+
style_name: string;
|
|
65
|
+
style: {
|
|
66
|
+
logo?: LogoData;
|
|
67
|
+
palette: PaletteData;
|
|
68
|
+
typography: TypographyData;
|
|
69
|
+
shape?: ShapeData;
|
|
70
|
+
consumer: ConsumerData;
|
|
71
|
+
};
|
|
72
|
+
is_default?: boolean;
|
|
73
|
+
custom_theme?: string;
|
|
74
|
+
use_custom_theme?: boolean;
|
|
75
|
+
design_tokens?: {
|
|
76
|
+
coupon?: string;
|
|
77
|
+
cashback?: string;
|
|
78
|
+
custom_css?: string;
|
|
79
|
+
};
|
|
80
|
+
};
|
|
81
|
+
}
|
|
82
|
+
export interface BrandItem {
|
|
83
|
+
id: string;
|
|
84
|
+
name: string;
|
|
85
|
+
created_by?: string;
|
|
86
|
+
created_date?: string;
|
|
87
|
+
main_brand?: string;
|
|
88
|
+
organization_id?: string;
|
|
89
|
+
updated_date?: string;
|
|
90
|
+
updated_by?: string;
|
|
91
|
+
status?: string;
|
|
92
|
+
}
|
|
93
|
+
export interface ConsumerData {
|
|
94
|
+
widgets: (WidgetData)[];
|
|
95
|
+
customer_portals: (CustomerPortalData)[];
|
|
96
|
+
}
|
|
97
|
+
export interface CustomStyle {
|
|
98
|
+
custom_theme?: string;
|
|
99
|
+
use_custom_theme?: boolean;
|
|
100
|
+
}
|
|
101
|
+
export interface CustomerPortalData {
|
|
102
|
+
id: string;
|
|
103
|
+
name: string;
|
|
104
|
+
}
|
|
105
|
+
export interface DesignItem {
|
|
106
|
+
brand_id?: string;
|
|
107
|
+
brand_name?: string;
|
|
108
|
+
user?: {
|
|
109
|
+
emailaddress?: string;
|
|
110
|
+
fullname?: string;
|
|
111
|
+
name?: string;
|
|
112
|
+
userid?: string;
|
|
113
|
+
};
|
|
114
|
+
style_name: string;
|
|
115
|
+
style: {
|
|
116
|
+
logo?: LogoData;
|
|
117
|
+
palette: PaletteData;
|
|
118
|
+
typography: TypographyData;
|
|
119
|
+
shape?: ShapeData;
|
|
120
|
+
consumer: ConsumerData;
|
|
121
|
+
};
|
|
122
|
+
is_default?: boolean;
|
|
123
|
+
}
|
|
124
|
+
export interface ErrorResp {
|
|
125
|
+
message?: string;
|
|
126
|
+
}
|
|
127
|
+
export interface FileData {
|
|
128
|
+
name: string;
|
|
129
|
+
display_name?: string;
|
|
130
|
+
file_type?: "LOGO" | "FONT";
|
|
131
|
+
s3_object_key: string;
|
|
132
|
+
url: string;
|
|
133
|
+
}
|
|
134
|
+
export interface FontData {
|
|
135
|
+
font_id: string;
|
|
136
|
+
font_name: string;
|
|
137
|
+
font_family?: string;
|
|
138
|
+
font_weight_regular?: string;
|
|
139
|
+
font_weight_medium?: string;
|
|
140
|
+
font_weight_bold?: string;
|
|
141
|
+
urls: (FontResponseUrl)[];
|
|
142
|
+
}
|
|
143
|
+
export interface FontResponseUrl {
|
|
144
|
+
type?: "WOFF2" | "WOFF" | "TTF" | "EOT";
|
|
145
|
+
url?: string;
|
|
146
|
+
}
|
|
147
|
+
export interface GetAllDesignsRes {
|
|
148
|
+
designs?: {
|
|
149
|
+
id?: string;
|
|
150
|
+
/**
|
|
151
|
+
* Creation date and time
|
|
152
|
+
* example:
|
|
153
|
+
* 2021-01-30T08:30:00Z
|
|
154
|
+
*/
|
|
155
|
+
created_at?: string;
|
|
156
|
+
created_by?: string;
|
|
157
|
+
edited: boolean;
|
|
158
|
+
last_modified_at?: string;
|
|
159
|
+
brand_id?: string;
|
|
160
|
+
brand_name?: string;
|
|
161
|
+
user?: {
|
|
162
|
+
emailaddress?: string;
|
|
163
|
+
fullname?: string;
|
|
164
|
+
name?: string;
|
|
165
|
+
userid?: string;
|
|
166
|
+
};
|
|
167
|
+
style_name: string;
|
|
168
|
+
style: {
|
|
169
|
+
logo?: LogoData;
|
|
170
|
+
palette: PaletteData;
|
|
171
|
+
typography: TypographyData;
|
|
172
|
+
shape?: ShapeData;
|
|
173
|
+
consumer: ConsumerData;
|
|
174
|
+
};
|
|
175
|
+
is_default?: boolean;
|
|
176
|
+
custom_theme?: string;
|
|
177
|
+
use_custom_theme?: boolean;
|
|
178
|
+
design_tokens?: {
|
|
179
|
+
coupon?: string;
|
|
180
|
+
cashback?: string;
|
|
181
|
+
custom_css?: string;
|
|
182
|
+
};
|
|
183
|
+
}[];
|
|
184
|
+
}
|
|
185
|
+
export interface GetBrandsRes {
|
|
186
|
+
brands?: {
|
|
187
|
+
id: string;
|
|
188
|
+
name: string;
|
|
189
|
+
created_by?: string;
|
|
190
|
+
created_date?: string;
|
|
191
|
+
main_brand?: string;
|
|
192
|
+
organization_id?: string;
|
|
193
|
+
updated_date?: string;
|
|
194
|
+
updated_by?: string;
|
|
195
|
+
status?: string;
|
|
196
|
+
}[];
|
|
197
|
+
}
|
|
198
|
+
export interface GetDesignRes {
|
|
199
|
+
design?: {
|
|
200
|
+
id?: string;
|
|
201
|
+
/**
|
|
202
|
+
* Creation date and time
|
|
203
|
+
* example:
|
|
204
|
+
* 2021-01-30T08:30:00Z
|
|
205
|
+
*/
|
|
206
|
+
created_at?: string;
|
|
207
|
+
created_by?: string;
|
|
208
|
+
edited: boolean;
|
|
209
|
+
last_modified_at?: string;
|
|
210
|
+
brand_id?: string;
|
|
211
|
+
brand_name?: string;
|
|
212
|
+
user?: {
|
|
213
|
+
emailaddress?: string;
|
|
214
|
+
fullname?: string;
|
|
215
|
+
name?: string;
|
|
216
|
+
userid?: string;
|
|
217
|
+
};
|
|
218
|
+
style_name: string;
|
|
219
|
+
style: {
|
|
220
|
+
logo?: LogoData;
|
|
221
|
+
palette: PaletteData;
|
|
222
|
+
typography: TypographyData;
|
|
223
|
+
shape?: ShapeData;
|
|
224
|
+
consumer: ConsumerData;
|
|
225
|
+
};
|
|
226
|
+
is_default?: boolean;
|
|
227
|
+
custom_theme?: string;
|
|
228
|
+
use_custom_theme?: boolean;
|
|
229
|
+
design_tokens?: {
|
|
230
|
+
coupon?: string;
|
|
231
|
+
cashback?: string;
|
|
232
|
+
custom_css?: string;
|
|
233
|
+
};
|
|
234
|
+
};
|
|
235
|
+
}
|
|
236
|
+
export type GetFilesRes = {
|
|
237
|
+
name: string;
|
|
238
|
+
display_name?: string;
|
|
239
|
+
file_type?: "LOGO" | "FONT";
|
|
240
|
+
s3_object_key: string;
|
|
241
|
+
url: string;
|
|
242
|
+
}[];
|
|
243
|
+
export interface ItemMetada {
|
|
244
|
+
id?: string;
|
|
245
|
+
/**
|
|
246
|
+
* Creation date and time
|
|
247
|
+
* example:
|
|
248
|
+
* 2021-01-30T08:30:00Z
|
|
249
|
+
*/
|
|
250
|
+
created_at?: string;
|
|
251
|
+
created_by?: string;
|
|
252
|
+
edited?: boolean;
|
|
253
|
+
last_modified_at?: string;
|
|
254
|
+
}
|
|
255
|
+
export interface Journey {
|
|
256
|
+
design_tokens?: {
|
|
257
|
+
coupon?: string;
|
|
258
|
+
cashback?: string;
|
|
259
|
+
custom_css?: string;
|
|
260
|
+
};
|
|
261
|
+
}
|
|
262
|
+
export interface LogoData {
|
|
263
|
+
main?: FileData;
|
|
264
|
+
}
|
|
265
|
+
export interface PaletteData {
|
|
266
|
+
primary: string;
|
|
267
|
+
secondary: string;
|
|
268
|
+
error: string;
|
|
269
|
+
background: string;
|
|
270
|
+
paper: string;
|
|
271
|
+
navbar: string;
|
|
272
|
+
portal_login_background?: string;
|
|
273
|
+
}
|
|
274
|
+
export interface ShapeData {
|
|
275
|
+
border_radius?: number;
|
|
276
|
+
}
|
|
277
|
+
export interface TypographyData {
|
|
278
|
+
font: FontData;
|
|
279
|
+
primary: string;
|
|
280
|
+
secondary: string;
|
|
281
|
+
}
|
|
282
|
+
export interface UpdateDesignReq {
|
|
283
|
+
design: {
|
|
284
|
+
brand_id?: string;
|
|
285
|
+
brand_name?: string;
|
|
286
|
+
user?: {
|
|
287
|
+
emailaddress?: string;
|
|
288
|
+
fullname?: string;
|
|
289
|
+
name?: string;
|
|
290
|
+
userid?: string;
|
|
291
|
+
};
|
|
292
|
+
style_name: string;
|
|
293
|
+
style: {
|
|
294
|
+
logo?: LogoData;
|
|
295
|
+
palette: PaletteData;
|
|
296
|
+
typography: TypographyData;
|
|
297
|
+
shape?: ShapeData;
|
|
298
|
+
consumer: ConsumerData;
|
|
299
|
+
};
|
|
300
|
+
is_default?: boolean;
|
|
301
|
+
custom_theme?: string;
|
|
302
|
+
use_custom_theme?: boolean;
|
|
303
|
+
design_tokens?: {
|
|
304
|
+
coupon?: string;
|
|
305
|
+
cashback?: string;
|
|
306
|
+
custom_css?: string;
|
|
307
|
+
};
|
|
308
|
+
};
|
|
309
|
+
}
|
|
310
|
+
export interface UploadFileReq {
|
|
311
|
+
file_type: "LOGO" | "FONT";
|
|
312
|
+
file_data: string; // base64
|
|
313
|
+
display_name?: string;
|
|
314
|
+
file_name: string;
|
|
315
|
+
}
|
|
316
|
+
export interface UploadFileRes {
|
|
317
|
+
name: string;
|
|
318
|
+
display_name?: string;
|
|
319
|
+
file_type?: "LOGO" | "FONT";
|
|
320
|
+
s3_object_key: string;
|
|
321
|
+
url: string;
|
|
322
|
+
}
|
|
323
|
+
export interface WidgetData {
|
|
324
|
+
id: string;
|
|
325
|
+
name: string;
|
|
326
|
+
}
|
|
327
|
+
export interface WidgetPortalData {
|
|
328
|
+
id: string;
|
|
329
|
+
name: string;
|
|
330
|
+
}
|
|
331
|
+
}
|
|
332
|
+
}
|
|
333
|
+
declare namespace Paths {
|
|
334
|
+
namespace AddConsumer {
|
|
335
|
+
namespace Parameters {
|
|
336
|
+
export type Application = string;
|
|
337
|
+
export type DesignId = string;
|
|
338
|
+
}
|
|
339
|
+
export interface PathParameters {
|
|
340
|
+
designId: Parameters.DesignId;
|
|
341
|
+
application: Parameters.Application;
|
|
342
|
+
}
|
|
343
|
+
export type RequestBody = Components.Schemas.AddConsumerReq;
|
|
344
|
+
namespace Responses {
|
|
345
|
+
export interface $204 {
|
|
346
|
+
}
|
|
347
|
+
export type $400 = Components.Schemas.ErrorResp;
|
|
348
|
+
export type $401 = Components.Schemas.ErrorResp;
|
|
349
|
+
export interface $404 {
|
|
350
|
+
}
|
|
351
|
+
export type $500 = Components.Schemas.ErrorResp;
|
|
352
|
+
}
|
|
353
|
+
}
|
|
354
|
+
namespace AddDesign {
|
|
355
|
+
export type RequestBody = Components.Schemas.AddDesignReq;
|
|
356
|
+
namespace Responses {
|
|
357
|
+
export type $201 = Components.Schemas.AddDesignRes;
|
|
358
|
+
export type $400 = Components.Schemas.ErrorResp;
|
|
359
|
+
export type $401 = Components.Schemas.ErrorResp;
|
|
360
|
+
export type $500 = Components.Schemas.ErrorResp;
|
|
361
|
+
}
|
|
362
|
+
}
|
|
363
|
+
namespace DeleteDesign {
|
|
364
|
+
namespace Parameters {
|
|
365
|
+
export type DesignId = string;
|
|
366
|
+
}
|
|
367
|
+
export interface PathParameters {
|
|
368
|
+
designId: Parameters.DesignId;
|
|
369
|
+
}
|
|
370
|
+
namespace Responses {
|
|
371
|
+
export interface $204 {
|
|
372
|
+
}
|
|
373
|
+
export type $400 = Components.Schemas.ErrorResp;
|
|
374
|
+
export type $401 = Components.Schemas.ErrorResp;
|
|
375
|
+
export interface $404 {
|
|
376
|
+
}
|
|
377
|
+
export type $500 = Components.Schemas.ErrorResp;
|
|
378
|
+
}
|
|
379
|
+
}
|
|
380
|
+
namespace GetAllDesigns {
|
|
381
|
+
namespace Responses {
|
|
382
|
+
export type $200 = Components.Schemas.GetAllDesignsRes[];
|
|
383
|
+
export type $500 = Components.Schemas.ErrorResp;
|
|
384
|
+
}
|
|
385
|
+
}
|
|
386
|
+
namespace GetBrands {
|
|
387
|
+
namespace Responses {
|
|
388
|
+
export type $200 = Components.Schemas.GetBrandsRes[];
|
|
389
|
+
export type $500 = Components.Schemas.ErrorResp;
|
|
390
|
+
}
|
|
391
|
+
}
|
|
392
|
+
namespace GetConsumerDesign {
|
|
393
|
+
namespace Parameters {
|
|
394
|
+
export type Application = string;
|
|
395
|
+
export type ConsumerId = string;
|
|
396
|
+
}
|
|
397
|
+
export interface PathParameters {
|
|
398
|
+
consumerId: Parameters.ConsumerId;
|
|
399
|
+
application: Parameters.Application;
|
|
400
|
+
}
|
|
401
|
+
namespace Responses {
|
|
402
|
+
export type $200 = Components.Schemas.GetDesignRes;
|
|
403
|
+
export type $400 = Components.Schemas.ErrorResp;
|
|
404
|
+
export type $401 = Components.Schemas.ErrorResp;
|
|
405
|
+
export interface $404 {
|
|
406
|
+
}
|
|
407
|
+
export type $500 = Components.Schemas.ErrorResp;
|
|
408
|
+
}
|
|
409
|
+
}
|
|
410
|
+
namespace GetDesign {
|
|
411
|
+
namespace Parameters {
|
|
412
|
+
export type DesignId = string;
|
|
413
|
+
}
|
|
414
|
+
export interface PathParameters {
|
|
415
|
+
designId: Parameters.DesignId;
|
|
416
|
+
}
|
|
417
|
+
namespace Responses {
|
|
418
|
+
export type $200 = Components.Schemas.GetDesignRes;
|
|
419
|
+
export type $400 = Components.Schemas.ErrorResp;
|
|
420
|
+
export type $401 = Components.Schemas.ErrorResp;
|
|
421
|
+
export interface $404 {
|
|
422
|
+
}
|
|
423
|
+
export type $500 = Components.Schemas.ErrorResp;
|
|
424
|
+
}
|
|
425
|
+
}
|
|
426
|
+
namespace GetFiles {
|
|
427
|
+
namespace Parameters {
|
|
428
|
+
export type Type = "LOGO" | "FONT";
|
|
429
|
+
}
|
|
430
|
+
export interface QueryParameters {
|
|
431
|
+
type?: Parameters.Type;
|
|
432
|
+
}
|
|
433
|
+
namespace Responses {
|
|
434
|
+
export type $200 = Components.Schemas.GetFilesRes;
|
|
435
|
+
export type $400 = Components.Schemas.ErrorResp;
|
|
436
|
+
export type $401 = Components.Schemas.ErrorResp;
|
|
437
|
+
export type $500 = Components.Schemas.ErrorResp;
|
|
438
|
+
}
|
|
439
|
+
}
|
|
440
|
+
namespace GetLimit {
|
|
441
|
+
namespace Responses {
|
|
442
|
+
export type $200 = number;
|
|
443
|
+
export type $500 = Components.Schemas.ErrorResp;
|
|
444
|
+
}
|
|
445
|
+
}
|
|
446
|
+
namespace GetThemeFromDesign {
|
|
447
|
+
namespace Parameters {
|
|
448
|
+
export type DesignId = string;
|
|
449
|
+
export type OrgId = string;
|
|
450
|
+
export type Theme = "NEW" | "OLD";
|
|
451
|
+
}
|
|
452
|
+
export interface PathParameters {
|
|
453
|
+
designId: Parameters.DesignId;
|
|
454
|
+
}
|
|
455
|
+
export interface QueryParameters {
|
|
456
|
+
orgId?: Parameters.OrgId;
|
|
457
|
+
theme: Parameters.Theme;
|
|
458
|
+
}
|
|
459
|
+
namespace Responses {
|
|
460
|
+
export interface $200 {
|
|
461
|
+
}
|
|
462
|
+
export type $400 = Components.Schemas.ErrorResp;
|
|
463
|
+
export type $401 = Components.Schemas.ErrorResp;
|
|
464
|
+
export interface $404 {
|
|
465
|
+
}
|
|
466
|
+
export type $500 = Components.Schemas.ErrorResp;
|
|
467
|
+
}
|
|
468
|
+
}
|
|
469
|
+
namespace RemoveConsumer {
|
|
470
|
+
namespace Parameters {
|
|
471
|
+
export type Application = string;
|
|
472
|
+
export type DesignId = string;
|
|
473
|
+
}
|
|
474
|
+
export interface PathParameters {
|
|
475
|
+
designId: Parameters.DesignId;
|
|
476
|
+
application: Parameters.Application;
|
|
477
|
+
}
|
|
478
|
+
export type RequestBody = Components.Schemas.AddConsumerReq;
|
|
479
|
+
namespace Responses {
|
|
480
|
+
export interface $204 {
|
|
481
|
+
}
|
|
482
|
+
export type $400 = Components.Schemas.ErrorResp;
|
|
483
|
+
export type $401 = Components.Schemas.ErrorResp;
|
|
484
|
+
export interface $404 {
|
|
485
|
+
}
|
|
486
|
+
export type $500 = Components.Schemas.ErrorResp;
|
|
487
|
+
}
|
|
488
|
+
}
|
|
489
|
+
namespace UpdateDesign {
|
|
490
|
+
namespace Parameters {
|
|
491
|
+
export type DesignId = string;
|
|
492
|
+
}
|
|
493
|
+
export interface PathParameters {
|
|
494
|
+
designId: Parameters.DesignId;
|
|
495
|
+
}
|
|
496
|
+
export type RequestBody = Components.Schemas.UpdateDesignReq;
|
|
497
|
+
namespace Responses {
|
|
498
|
+
export interface $204 {
|
|
499
|
+
}
|
|
500
|
+
export type $400 = Components.Schemas.ErrorResp;
|
|
501
|
+
export type $401 = Components.Schemas.ErrorResp;
|
|
502
|
+
export interface $404 {
|
|
503
|
+
}
|
|
504
|
+
export type $500 = Components.Schemas.ErrorResp;
|
|
505
|
+
}
|
|
506
|
+
}
|
|
507
|
+
namespace UploadFile {
|
|
508
|
+
export type RequestBody = Components.Schemas.UploadFileReq;
|
|
509
|
+
namespace Responses {
|
|
510
|
+
export type $201 = Components.Schemas.UploadFileRes;
|
|
511
|
+
export type $400 = Components.Schemas.ErrorResp;
|
|
512
|
+
export type $401 = Components.Schemas.ErrorResp;
|
|
513
|
+
export type $500 = Components.Schemas.ErrorResp;
|
|
514
|
+
}
|
|
515
|
+
}
|
|
516
|
+
}
|
|
517
|
+
|
|
518
|
+
|
|
519
|
+
interface OperationMethods {
|
|
520
|
+
/**
|
|
521
|
+
* getAllDesigns - getAllDesigns
|
|
522
|
+
*
|
|
523
|
+
* Scan all designs linked to a organization, based in orgId attribute from JWT auth token
|
|
524
|
+
*/
|
|
525
|
+
'getAllDesigns'(
|
|
526
|
+
parameters?: Parameters<UnknownParamsObject> | null,
|
|
527
|
+
data?: any,
|
|
528
|
+
config?: AxiosRequestConfig
|
|
529
|
+
): OperationResponse<Paths.GetAllDesigns.Responses.$200>
|
|
530
|
+
/**
|
|
531
|
+
* addDesign - addDesign
|
|
532
|
+
*
|
|
533
|
+
* Create a brand new design linked to a organization, based in orgId attribute from JWT auth token
|
|
534
|
+
*/
|
|
535
|
+
'addDesign'(
|
|
536
|
+
parameters?: Parameters<UnknownParamsObject> | null,
|
|
537
|
+
data?: Paths.AddDesign.RequestBody,
|
|
538
|
+
config?: AxiosRequestConfig
|
|
539
|
+
): OperationResponse<Paths.AddDesign.Responses.$201>
|
|
540
|
+
/**
|
|
541
|
+
* getDesign - getDesign
|
|
542
|
+
*
|
|
543
|
+
* Search for a especific design owned by user organization
|
|
544
|
+
*/
|
|
545
|
+
'getDesign'(
|
|
546
|
+
parameters?: Parameters<Paths.GetDesign.PathParameters> | null,
|
|
547
|
+
data?: any,
|
|
548
|
+
config?: AxiosRequestConfig
|
|
549
|
+
): OperationResponse<Paths.GetDesign.Responses.$200>
|
|
550
|
+
/**
|
|
551
|
+
* updateDesign - updateDesign
|
|
552
|
+
*
|
|
553
|
+
* Update a especific design owned by user organization
|
|
554
|
+
*/
|
|
555
|
+
'updateDesign'(
|
|
556
|
+
parameters?: Parameters<Paths.UpdateDesign.PathParameters> | null,
|
|
557
|
+
data?: Paths.UpdateDesign.RequestBody,
|
|
558
|
+
config?: AxiosRequestConfig
|
|
559
|
+
): OperationResponse<Paths.UpdateDesign.Responses.$204>
|
|
560
|
+
/**
|
|
561
|
+
* deleteDesign - deleteDesign
|
|
562
|
+
*
|
|
563
|
+
* Search and delete for a especific design owned by user organization
|
|
564
|
+
*/
|
|
565
|
+
'deleteDesign'(
|
|
566
|
+
parameters?: Parameters<Paths.DeleteDesign.PathParameters> | null,
|
|
567
|
+
data?: any,
|
|
568
|
+
config?: AxiosRequestConfig
|
|
569
|
+
): OperationResponse<Paths.DeleteDesign.Responses.$204>
|
|
570
|
+
/**
|
|
571
|
+
* getThemeFromDesign - getThemeFromDesign
|
|
572
|
+
*
|
|
573
|
+
* Search for a especific design owned by user organization and parse them to a new or old theme
|
|
574
|
+
*/
|
|
575
|
+
'getThemeFromDesign'(
|
|
576
|
+
parameters?: Parameters<Paths.GetThemeFromDesign.QueryParameters & Paths.GetThemeFromDesign.PathParameters> | null,
|
|
577
|
+
data?: any,
|
|
578
|
+
config?: AxiosRequestConfig
|
|
579
|
+
): OperationResponse<Paths.GetThemeFromDesign.Responses.$200>
|
|
580
|
+
/**
|
|
581
|
+
* getFiles - getFiles
|
|
582
|
+
*
|
|
583
|
+
* List all files for the user organization bucket
|
|
584
|
+
*/
|
|
585
|
+
'getFiles'(
|
|
586
|
+
parameters?: Parameters<Paths.GetFiles.QueryParameters> | null,
|
|
587
|
+
data?: any,
|
|
588
|
+
config?: AxiosRequestConfig
|
|
589
|
+
): OperationResponse<Paths.GetFiles.Responses.$200>
|
|
590
|
+
/**
|
|
591
|
+
* uploadFile - uploadFile
|
|
592
|
+
*
|
|
593
|
+
* Upload a new file for the user organization bucket
|
|
594
|
+
*/
|
|
595
|
+
'uploadFile'(
|
|
596
|
+
parameters?: Parameters<UnknownParamsObject> | null,
|
|
597
|
+
data?: Paths.UploadFile.RequestBody,
|
|
598
|
+
config?: AxiosRequestConfig
|
|
599
|
+
): OperationResponse<Paths.UploadFile.Responses.$201>
|
|
600
|
+
/**
|
|
601
|
+
* getLimit - getLimit
|
|
602
|
+
*
|
|
603
|
+
* Gets designs number limit from database per organization
|
|
604
|
+
*/
|
|
605
|
+
'getLimit'(
|
|
606
|
+
parameters?: Parameters<UnknownParamsObject> | null,
|
|
607
|
+
data?: any,
|
|
608
|
+
config?: AxiosRequestConfig
|
|
609
|
+
): OperationResponse<Paths.GetLimit.Responses.$200>
|
|
610
|
+
/**
|
|
611
|
+
* getBrands - getBrands
|
|
612
|
+
*
|
|
613
|
+
* Scan all brands linked to a organization, based in orgId attribute from JWT auth token
|
|
614
|
+
*/
|
|
615
|
+
'getBrands'(
|
|
616
|
+
parameters?: Parameters<UnknownParamsObject> | null,
|
|
617
|
+
data?: any,
|
|
618
|
+
config?: AxiosRequestConfig
|
|
619
|
+
): OperationResponse<Paths.GetBrands.Responses.$200>
|
|
620
|
+
/**
|
|
621
|
+
* getConsumerDesign - getConsumerDesign
|
|
622
|
+
*
|
|
623
|
+
* Search for a especific design owned by user organization
|
|
624
|
+
*/
|
|
625
|
+
'getConsumerDesign'(
|
|
626
|
+
parameters?: Parameters<Paths.GetConsumerDesign.PathParameters> | null,
|
|
627
|
+
data?: any,
|
|
628
|
+
config?: AxiosRequestConfig
|
|
629
|
+
): OperationResponse<Paths.GetConsumerDesign.Responses.$200>
|
|
630
|
+
/**
|
|
631
|
+
* addConsumer - addConsumer
|
|
632
|
+
*
|
|
633
|
+
* Add a consumer that uses a specific design
|
|
634
|
+
*/
|
|
635
|
+
'addConsumer'(
|
|
636
|
+
parameters?: Parameters<Paths.AddConsumer.PathParameters> | null,
|
|
637
|
+
data?: Paths.AddConsumer.RequestBody,
|
|
638
|
+
config?: AxiosRequestConfig
|
|
639
|
+
): OperationResponse<Paths.AddConsumer.Responses.$204>
|
|
640
|
+
/**
|
|
641
|
+
* removeConsumer - removeConsumer
|
|
642
|
+
*
|
|
643
|
+
* Remove a consumer that uses a specific design
|
|
644
|
+
*/
|
|
645
|
+
'removeConsumer'(
|
|
646
|
+
parameters?: Parameters<Paths.RemoveConsumer.PathParameters> | null,
|
|
647
|
+
data?: Paths.RemoveConsumer.RequestBody,
|
|
648
|
+
config?: AxiosRequestConfig
|
|
649
|
+
): OperationResponse<Paths.RemoveConsumer.Responses.$204>
|
|
650
|
+
}
|
|
651
|
+
|
|
652
|
+
interface PathsDictionary {
|
|
653
|
+
['/v1/designs']: {
|
|
654
|
+
/**
|
|
655
|
+
* getAllDesigns - getAllDesigns
|
|
656
|
+
*
|
|
657
|
+
* Scan all designs linked to a organization, based in orgId attribute from JWT auth token
|
|
658
|
+
*/
|
|
659
|
+
'get'(
|
|
660
|
+
parameters?: Parameters<UnknownParamsObject> | null,
|
|
661
|
+
data?: any,
|
|
662
|
+
config?: AxiosRequestConfig
|
|
663
|
+
): OperationResponse<Paths.GetAllDesigns.Responses.$200>
|
|
664
|
+
/**
|
|
665
|
+
* addDesign - addDesign
|
|
666
|
+
*
|
|
667
|
+
* Create a brand new design linked to a organization, based in orgId attribute from JWT auth token
|
|
668
|
+
*/
|
|
669
|
+
'post'(
|
|
670
|
+
parameters?: Parameters<UnknownParamsObject> | null,
|
|
671
|
+
data?: Paths.AddDesign.RequestBody,
|
|
672
|
+
config?: AxiosRequestConfig
|
|
673
|
+
): OperationResponse<Paths.AddDesign.Responses.$201>
|
|
674
|
+
}
|
|
675
|
+
['/v1/designs/{designId}']: {
|
|
676
|
+
/**
|
|
677
|
+
* getDesign - getDesign
|
|
678
|
+
*
|
|
679
|
+
* Search for a especific design owned by user organization
|
|
680
|
+
*/
|
|
681
|
+
'get'(
|
|
682
|
+
parameters?: Parameters<Paths.GetDesign.PathParameters> | null,
|
|
683
|
+
data?: any,
|
|
684
|
+
config?: AxiosRequestConfig
|
|
685
|
+
): OperationResponse<Paths.GetDesign.Responses.$200>
|
|
686
|
+
/**
|
|
687
|
+
* deleteDesign - deleteDesign
|
|
688
|
+
*
|
|
689
|
+
* Search and delete for a especific design owned by user organization
|
|
690
|
+
*/
|
|
691
|
+
'delete'(
|
|
692
|
+
parameters?: Parameters<Paths.DeleteDesign.PathParameters> | null,
|
|
693
|
+
data?: any,
|
|
694
|
+
config?: AxiosRequestConfig
|
|
695
|
+
): OperationResponse<Paths.DeleteDesign.Responses.$204>
|
|
696
|
+
/**
|
|
697
|
+
* updateDesign - updateDesign
|
|
698
|
+
*
|
|
699
|
+
* Update a especific design owned by user organization
|
|
700
|
+
*/
|
|
701
|
+
'put'(
|
|
702
|
+
parameters?: Parameters<Paths.UpdateDesign.PathParameters> | null,
|
|
703
|
+
data?: Paths.UpdateDesign.RequestBody,
|
|
704
|
+
config?: AxiosRequestConfig
|
|
705
|
+
): OperationResponse<Paths.UpdateDesign.Responses.$204>
|
|
706
|
+
}
|
|
707
|
+
['/v1/designs/{designId}/parse']: {
|
|
708
|
+
/**
|
|
709
|
+
* getThemeFromDesign - getThemeFromDesign
|
|
710
|
+
*
|
|
711
|
+
* Search for a especific design owned by user organization and parse them to a new or old theme
|
|
712
|
+
*/
|
|
713
|
+
'get'(
|
|
714
|
+
parameters?: Parameters<Paths.GetThemeFromDesign.QueryParameters & Paths.GetThemeFromDesign.PathParameters> | null,
|
|
715
|
+
data?: any,
|
|
716
|
+
config?: AxiosRequestConfig
|
|
717
|
+
): OperationResponse<Paths.GetThemeFromDesign.Responses.$200>
|
|
718
|
+
}
|
|
719
|
+
['/v1/designs/files']: {
|
|
720
|
+
/**
|
|
721
|
+
* uploadFile - uploadFile
|
|
722
|
+
*
|
|
723
|
+
* Upload a new file for the user organization bucket
|
|
724
|
+
*/
|
|
725
|
+
'post'(
|
|
726
|
+
parameters?: Parameters<UnknownParamsObject> | null,
|
|
727
|
+
data?: Paths.UploadFile.RequestBody,
|
|
728
|
+
config?: AxiosRequestConfig
|
|
729
|
+
): OperationResponse<Paths.UploadFile.Responses.$201>
|
|
730
|
+
/**
|
|
731
|
+
* getFiles - getFiles
|
|
732
|
+
*
|
|
733
|
+
* List all files for the user organization bucket
|
|
734
|
+
*/
|
|
735
|
+
'get'(
|
|
736
|
+
parameters?: Parameters<Paths.GetFiles.QueryParameters> | null,
|
|
737
|
+
data?: any,
|
|
738
|
+
config?: AxiosRequestConfig
|
|
739
|
+
): OperationResponse<Paths.GetFiles.Responses.$200>
|
|
740
|
+
}
|
|
741
|
+
['/v1/designs/limit']: {
|
|
742
|
+
/**
|
|
743
|
+
* getLimit - getLimit
|
|
744
|
+
*
|
|
745
|
+
* Gets designs number limit from database per organization
|
|
746
|
+
*/
|
|
747
|
+
'get'(
|
|
748
|
+
parameters?: Parameters<UnknownParamsObject> | null,
|
|
749
|
+
data?: any,
|
|
750
|
+
config?: AxiosRequestConfig
|
|
751
|
+
): OperationResponse<Paths.GetLimit.Responses.$200>
|
|
752
|
+
}
|
|
753
|
+
['/v1/brands']: {
|
|
754
|
+
/**
|
|
755
|
+
* getBrands - getBrands
|
|
756
|
+
*
|
|
757
|
+
* Scan all brands linked to a organization, based in orgId attribute from JWT auth token
|
|
758
|
+
*/
|
|
759
|
+
'get'(
|
|
760
|
+
parameters?: Parameters<UnknownParamsObject> | null,
|
|
761
|
+
data?: any,
|
|
762
|
+
config?: AxiosRequestConfig
|
|
763
|
+
): OperationResponse<Paths.GetBrands.Responses.$200>
|
|
764
|
+
}
|
|
765
|
+
['/v1/designs/consumer/{application}/{consumerId}']: {
|
|
766
|
+
/**
|
|
767
|
+
* getConsumerDesign - getConsumerDesign
|
|
768
|
+
*
|
|
769
|
+
* Search for a especific design owned by user organization
|
|
770
|
+
*/
|
|
771
|
+
'get'(
|
|
772
|
+
parameters?: Parameters<Paths.GetConsumerDesign.PathParameters> | null,
|
|
773
|
+
data?: any,
|
|
774
|
+
config?: AxiosRequestConfig
|
|
775
|
+
): OperationResponse<Paths.GetConsumerDesign.Responses.$200>
|
|
776
|
+
}
|
|
777
|
+
['/v1/designs/addConsumer/{application}/{designId}']: {
|
|
778
|
+
/**
|
|
779
|
+
* addConsumer - addConsumer
|
|
780
|
+
*
|
|
781
|
+
* Add a consumer that uses a specific design
|
|
782
|
+
*/
|
|
783
|
+
'put'(
|
|
784
|
+
parameters?: Parameters<Paths.AddConsumer.PathParameters> | null,
|
|
785
|
+
data?: Paths.AddConsumer.RequestBody,
|
|
786
|
+
config?: AxiosRequestConfig
|
|
787
|
+
): OperationResponse<Paths.AddConsumer.Responses.$204>
|
|
788
|
+
}
|
|
789
|
+
['/v1/designs/removeConsumer/{application}/{designId}']: {
|
|
790
|
+
/**
|
|
791
|
+
* removeConsumer - removeConsumer
|
|
792
|
+
*
|
|
793
|
+
* Remove a consumer that uses a specific design
|
|
794
|
+
*/
|
|
795
|
+
'put'(
|
|
796
|
+
parameters?: Parameters<Paths.RemoveConsumer.PathParameters> | null,
|
|
797
|
+
data?: Paths.RemoveConsumer.RequestBody,
|
|
798
|
+
config?: AxiosRequestConfig
|
|
799
|
+
): OperationResponse<Paths.RemoveConsumer.Responses.$204>
|
|
800
|
+
}
|
|
801
|
+
}
|
|
802
|
+
|
|
803
|
+
type Client = OpenAPIClient<OperationMethods, PathsDictionary>
|
|
804
|
+
|
|
805
|
+
|
|
806
|
+
type AddConsumerReq = Components.Schemas.AddConsumerReq;
|
|
807
|
+
type AddDesignReq = Components.Schemas.AddDesignReq;
|
|
808
|
+
type AddDesignRes = Components.Schemas.AddDesignRes;
|
|
809
|
+
type BrandItem = Components.Schemas.BrandItem;
|
|
810
|
+
type ConsumerData = Components.Schemas.ConsumerData;
|
|
811
|
+
type Custom_Style = Components.Schemas.CustomStyle;
|
|
812
|
+
type CustomerPortalData = Components.Schemas.CustomerPortalData;
|
|
813
|
+
type DesignItem = Components.Schemas.DesignItem;
|
|
814
|
+
type ErrorResp = Components.Schemas.ErrorResp;
|
|
815
|
+
type FileData = Components.Schemas.FileData;
|
|
816
|
+
type FontData = Components.Schemas.FontData;
|
|
817
|
+
type FontResponseUrl = Components.Schemas.FontResponseUrl;
|
|
818
|
+
type GetAllDesignsRes = Components.Schemas.GetAllDesignsRes;
|
|
819
|
+
type GetBrandsRes = Components.Schemas.GetBrandsRes;
|
|
820
|
+
type GetDesignRes = Components.Schemas.GetDesignRes;
|
|
821
|
+
type GetFilesRes = Components.Schemas.GetFilesRes;
|
|
822
|
+
type ItemMetada = Components.Schemas.ItemMetada;
|
|
823
|
+
type Journey = Components.Schemas.Journey;
|
|
824
|
+
type LogoData = Components.Schemas.LogoData;
|
|
825
|
+
type PaletteData = Components.Schemas.PaletteData;
|
|
826
|
+
type ShapeData = Components.Schemas.ShapeData;
|
|
827
|
+
type TypographyData = Components.Schemas.TypographyData;
|
|
828
|
+
type UpdateDesignReq = Components.Schemas.UpdateDesignReq;
|
|
829
|
+
type UploadFileReq = Components.Schemas.UploadFileReq;
|
|
830
|
+
type UploadFileRes = Components.Schemas.UploadFileRes;
|
|
831
|
+
type WidgetData = Components.Schemas.WidgetData;
|
|
832
|
+
type WidgetPortalData = Components.Schemas.WidgetPortalData;
|
|
833
|
+
|
|
834
|
+
export type { AddConsumerReq as A, BrandItem as B, Client as C, DesignItem as D, ErrorResp as E, FileData as F, GetAllDesignsRes as G, ItemMetada as I, Journey as J, LogoData as L, OperationMethods as O, PathsDictionary as P, ShapeData as S, TypographyData as T, UpdateDesignReq as U, WidgetData as W, AddDesignReq as a, AddDesignRes as b, ConsumerData as c, Custom_Style as d, CustomerPortalData as e, FontData as f, FontResponseUrl as g, GetBrandsRes as h, GetDesignRes as i, GetFilesRes as j, PaletteData as k, UploadFileReq as l, UploadFileRes as m, WidgetPortalData as n };
|