@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,1093 @@
|
|
|
1
|
+
import { OpenAPIClient, Parameters, AxiosRequestConfig, OperationResponse, UnknownParamsObject } from 'openapi-client-axios';
|
|
2
|
+
|
|
3
|
+
/* eslint-disable */
|
|
4
|
+
/* Auto-copied from entity-mapping-client */
|
|
5
|
+
/* eslint-disable */
|
|
6
|
+
|
|
7
|
+
|
|
8
|
+
|
|
9
|
+
declare namespace Components {
|
|
10
|
+
namespace Schemas {
|
|
11
|
+
export interface AppendValueMapper {
|
|
12
|
+
mode: /**
|
|
13
|
+
* - copy_if_exists - it replaces the target attribute with the source value - append_if_exists - it currently replaces target attribute with array like values. Useful when you have multiple values to be added into one attribute. - set_value - it sets a value to a predefined value. Must be used together with value property.
|
|
14
|
+
*
|
|
15
|
+
*/
|
|
16
|
+
MappingAttributeMode;
|
|
17
|
+
/**
|
|
18
|
+
* JSON like target path for the attribute. Eg. last_name
|
|
19
|
+
*/
|
|
20
|
+
target: string;
|
|
21
|
+
/**
|
|
22
|
+
* JSON source path for the value to be extracted from the main entity. Eg: steps[1].['Product Info'].price
|
|
23
|
+
*
|
|
24
|
+
*/
|
|
25
|
+
source?: string;
|
|
26
|
+
/**
|
|
27
|
+
* To be provided only when mapping json objects into a target attribute. Eg array of addresses.
|
|
28
|
+
*
|
|
29
|
+
*/
|
|
30
|
+
value_json: string;
|
|
31
|
+
/**
|
|
32
|
+
* Array of keys which should be used when checking for uniqueness. Eg: [country, city, postal_code]
|
|
33
|
+
*
|
|
34
|
+
*/
|
|
35
|
+
target_unique?: string[];
|
|
36
|
+
}
|
|
37
|
+
/**
|
|
38
|
+
* Origin of an attribute.
|
|
39
|
+
*/
|
|
40
|
+
export type AttributeOrigin = "system_recommendation" | "user_manually" | "entity_updating_system_recommendation";
|
|
41
|
+
export interface ConditionNode {
|
|
42
|
+
source?: string;
|
|
43
|
+
value?: string | number | {
|
|
44
|
+
[key: string]: any;
|
|
45
|
+
} | {
|
|
46
|
+
[key: string]: any;
|
|
47
|
+
}[];
|
|
48
|
+
}
|
|
49
|
+
export interface CopyValueMapper {
|
|
50
|
+
mode: /**
|
|
51
|
+
* - copy_if_exists - it replaces the target attribute with the source value - append_if_exists - it currently replaces target attribute with array like values. Useful when you have multiple values to be added into one attribute. - set_value - it sets a value to a predefined value. Must be used together with value property.
|
|
52
|
+
*
|
|
53
|
+
*/
|
|
54
|
+
MappingAttributeMode;
|
|
55
|
+
/**
|
|
56
|
+
* JSON like target path for the attribute. Eg. last_name
|
|
57
|
+
*/
|
|
58
|
+
target: string;
|
|
59
|
+
/**
|
|
60
|
+
* JSON source path for the value to be extracted from the main entity. Eg: steps[1].['Product Info'].price
|
|
61
|
+
*
|
|
62
|
+
*/
|
|
63
|
+
source: string;
|
|
64
|
+
}
|
|
65
|
+
export interface Entity {
|
|
66
|
+
[name: string]: any;
|
|
67
|
+
_id?: string;
|
|
68
|
+
_schema?: string;
|
|
69
|
+
_title?: string | null;
|
|
70
|
+
_org?: string;
|
|
71
|
+
_tags?: string[] | null;
|
|
72
|
+
_created_at?: string | null;
|
|
73
|
+
_updated_at?: string | null;
|
|
74
|
+
required?: any;
|
|
75
|
+
}
|
|
76
|
+
export interface EntityRef {
|
|
77
|
+
/**
|
|
78
|
+
* id of the source entity to be mapped
|
|
79
|
+
*/
|
|
80
|
+
entity_id: string;
|
|
81
|
+
/**
|
|
82
|
+
* schema of the source entity
|
|
83
|
+
* example:
|
|
84
|
+
* submission
|
|
85
|
+
*/
|
|
86
|
+
entity_schema?: string;
|
|
87
|
+
}
|
|
88
|
+
/**
|
|
89
|
+
* Pass either source or source_entity
|
|
90
|
+
*/
|
|
91
|
+
export interface ExecuteMappingReq {
|
|
92
|
+
/**
|
|
93
|
+
* A reference (id and schema) to the entity to be used as source.
|
|
94
|
+
*/
|
|
95
|
+
source_ref: EntityRef;
|
|
96
|
+
/**
|
|
97
|
+
* Mapping Configuration to apply.
|
|
98
|
+
*/
|
|
99
|
+
targets: TargetConfig[];
|
|
100
|
+
}
|
|
101
|
+
export interface ExecuteMappingResp {
|
|
102
|
+
mapped_entities: Entity[];
|
|
103
|
+
failures?: MappingFailure[];
|
|
104
|
+
warnings?: MappingWarning[];
|
|
105
|
+
}
|
|
106
|
+
/**
|
|
107
|
+
* Build relations between a source entity and one or more target entities, dynamically identified
|
|
108
|
+
*/
|
|
109
|
+
export interface ExecuteRelationsReq {
|
|
110
|
+
/**
|
|
111
|
+
* Entity for which to add relations.
|
|
112
|
+
*/
|
|
113
|
+
source_ref: EntityRef;
|
|
114
|
+
target?: {
|
|
115
|
+
/**
|
|
116
|
+
* Main Entity from where to locate target entities. Eg. submisssion entity
|
|
117
|
+
*/
|
|
118
|
+
main_entity_ref: EntityRef;
|
|
119
|
+
/**
|
|
120
|
+
* Relation mappings
|
|
121
|
+
*/
|
|
122
|
+
relation_attributes: RelationAttribute[];
|
|
123
|
+
/**
|
|
124
|
+
* For cases where you want to store a relation between main entity (eg. submission) and current source entity.
|
|
125
|
+
*/
|
|
126
|
+
linkback?: {
|
|
127
|
+
/**
|
|
128
|
+
* Relation attribute on the main entity (submission) where the target entity will be linked. Set to false to disable linkback
|
|
129
|
+
*
|
|
130
|
+
*/
|
|
131
|
+
attribute: string;
|
|
132
|
+
/**
|
|
133
|
+
* Relation tags (labels) to include in main entity linkback relation attribute
|
|
134
|
+
*/
|
|
135
|
+
relation_tags: string[];
|
|
136
|
+
};
|
|
137
|
+
};
|
|
138
|
+
additional_relations?: RelationItem[];
|
|
139
|
+
}
|
|
140
|
+
export interface ExecuteRelationsResp {
|
|
141
|
+
relations?: NewRelationItem[];
|
|
142
|
+
}
|
|
143
|
+
export interface JourneyRef {
|
|
144
|
+
journey_id?: string;
|
|
145
|
+
}
|
|
146
|
+
/**
|
|
147
|
+
* This string value will be replaced with the value of the loop index, when mapping in loop mode
|
|
148
|
+
*/
|
|
149
|
+
export type LoopIndexString = "##LOOP_INDEX##";
|
|
150
|
+
export interface MapCondition {
|
|
151
|
+
_exists?: ConditionNode;
|
|
152
|
+
_equals?: ConditionNode;
|
|
153
|
+
_not_exists?: ConditionNode;
|
|
154
|
+
_any_of?: ConditionNode;
|
|
155
|
+
}
|
|
156
|
+
export type MappingAttribute = SetValueMapper | CopyValueMapper | AppendValueMapper;
|
|
157
|
+
/**
|
|
158
|
+
* - copy_if_exists - it replaces the target attribute with the source value - append_if_exists - it currently replaces target attribute with array like values. Useful when you have multiple values to be added into one attribute. - set_value - it sets a value to a predefined value. Must be used together with value property.
|
|
159
|
+
*
|
|
160
|
+
*/
|
|
161
|
+
export type MappingAttributeMode = "copy_if_exists" | "append_if_exists" | "set_value";
|
|
162
|
+
/**
|
|
163
|
+
* example:
|
|
164
|
+
* {
|
|
165
|
+
* "target": "_tags",
|
|
166
|
+
* "operation": {
|
|
167
|
+
* "_append": [
|
|
168
|
+
* "new",
|
|
169
|
+
* "tags"
|
|
170
|
+
* ],
|
|
171
|
+
* "_uniq": true
|
|
172
|
+
* }
|
|
173
|
+
* }
|
|
174
|
+
*/
|
|
175
|
+
export interface MappingAttributeV2 {
|
|
176
|
+
/**
|
|
177
|
+
* Target JSON path for the attribute to set
|
|
178
|
+
*/
|
|
179
|
+
target: string;
|
|
180
|
+
operation: /* Mapping operation nodes are either primitive values or operation node objects */ OperationNode;
|
|
181
|
+
origin?: /* Origin of an attribute. */ AttributeOrigin;
|
|
182
|
+
}
|
|
183
|
+
export interface MappingConfig {
|
|
184
|
+
id: string;
|
|
185
|
+
source: SourceConfig;
|
|
186
|
+
targets: TargetConfig[];
|
|
187
|
+
created_at?: string; // date-time
|
|
188
|
+
updated_at?: string; // date-time
|
|
189
|
+
created_by?: Owner;
|
|
190
|
+
last_updated_by?: Owner;
|
|
191
|
+
/**
|
|
192
|
+
* example:
|
|
193
|
+
* 66
|
|
194
|
+
*/
|
|
195
|
+
org_id: string;
|
|
196
|
+
/**
|
|
197
|
+
* example:
|
|
198
|
+
* 2
|
|
199
|
+
*/
|
|
200
|
+
version: number;
|
|
201
|
+
}
|
|
202
|
+
export interface MappingConfigCommonFields {
|
|
203
|
+
id: string;
|
|
204
|
+
source: SourceConfig;
|
|
205
|
+
targets: TargetConfig[];
|
|
206
|
+
created_at?: string; // date-time
|
|
207
|
+
updated_at?: string; // date-time
|
|
208
|
+
/**
|
|
209
|
+
* User / service who created the entity mapping config
|
|
210
|
+
* example:
|
|
211
|
+
* {
|
|
212
|
+
* "type": "internal_service"
|
|
213
|
+
* }
|
|
214
|
+
*/
|
|
215
|
+
created_by?: Owner;
|
|
216
|
+
/**
|
|
217
|
+
* User / service who last updated entity mapping config
|
|
218
|
+
* example:
|
|
219
|
+
* {
|
|
220
|
+
* "type": "user",
|
|
221
|
+
* "org_id": 255151,
|
|
222
|
+
* "user_id": 99252
|
|
223
|
+
* }
|
|
224
|
+
*/
|
|
225
|
+
last_updated_by?: Owner;
|
|
226
|
+
}
|
|
227
|
+
export interface MappingConfigV2 {
|
|
228
|
+
id: string;
|
|
229
|
+
source: SourceConfig;
|
|
230
|
+
targets: TargetConfig[];
|
|
231
|
+
created_at?: string; // date-time
|
|
232
|
+
updated_at?: string; // date-time
|
|
233
|
+
created_by?: Owner;
|
|
234
|
+
last_updated_by?: Owner;
|
|
235
|
+
/**
|
|
236
|
+
* example:
|
|
237
|
+
* 66
|
|
238
|
+
*/
|
|
239
|
+
org_id?: string;
|
|
240
|
+
/**
|
|
241
|
+
* example:
|
|
242
|
+
* 2
|
|
243
|
+
*/
|
|
244
|
+
version?: number;
|
|
245
|
+
}
|
|
246
|
+
export type MappingConfigs = MappingConfig[];
|
|
247
|
+
export interface MappingConfigsResp {
|
|
248
|
+
configs: MappingConfigs;
|
|
249
|
+
}
|
|
250
|
+
export interface MappingFailure {
|
|
251
|
+
target?: TargetConfig;
|
|
252
|
+
error?: {
|
|
253
|
+
[name: string]: any;
|
|
254
|
+
isSilent?: boolean;
|
|
255
|
+
message?: string;
|
|
256
|
+
};
|
|
257
|
+
}
|
|
258
|
+
export interface MappingHistoryEntry {
|
|
259
|
+
/**
|
|
260
|
+
* example:
|
|
261
|
+
* 70542580-2b38-4bfc-af8d-bb90102f9f47
|
|
262
|
+
*/
|
|
263
|
+
id: string;
|
|
264
|
+
timestamp: string; // ISO datetime
|
|
265
|
+
source_entity_snapshot: Entity;
|
|
266
|
+
mapped_entities_snapshot: Entity[];
|
|
267
|
+
target_configs_snapshot: TargetConfig[];
|
|
268
|
+
}
|
|
269
|
+
export interface MappingHistoryResp {
|
|
270
|
+
results: MappingHistoryEntry[];
|
|
271
|
+
}
|
|
272
|
+
export interface MappingSource {
|
|
273
|
+
/**
|
|
274
|
+
* Key aiming to identify source
|
|
275
|
+
*/
|
|
276
|
+
key: string;
|
|
277
|
+
/**
|
|
278
|
+
* Each item describes a property under the main source and a possibly, a default value for its target attribute
|
|
279
|
+
*/
|
|
280
|
+
sub_properties?: MappingSourceProperty[];
|
|
281
|
+
/**
|
|
282
|
+
* Data Structure type of source
|
|
283
|
+
*/
|
|
284
|
+
source_type: string;
|
|
285
|
+
/**
|
|
286
|
+
* A group this source belongs to. Used for grouping sources in the UI
|
|
287
|
+
*/
|
|
288
|
+
group?: string;
|
|
289
|
+
/**
|
|
290
|
+
* Data Structure Type of the underlaying output value
|
|
291
|
+
*/
|
|
292
|
+
possible_target_types?: MappingSourceTargetType[];
|
|
293
|
+
/**
|
|
294
|
+
* Initial value of a relation to be added
|
|
295
|
+
*/
|
|
296
|
+
initial_relation?: RelationAttribute;
|
|
297
|
+
/**
|
|
298
|
+
* Human readable name of the Source
|
|
299
|
+
*/
|
|
300
|
+
title: string;
|
|
301
|
+
/**
|
|
302
|
+
* Human readable type of the source
|
|
303
|
+
*/
|
|
304
|
+
sub_title?: string;
|
|
305
|
+
/**
|
|
306
|
+
* Whether the source (block or attribute) is a repeatable, aka holds a list of values
|
|
307
|
+
*/
|
|
308
|
+
repeatable?: boolean;
|
|
309
|
+
target_settings?: {
|
|
310
|
+
/**
|
|
311
|
+
* Describes which actions the user can perform on each target, if specified. If not specified, all actions are allowed
|
|
312
|
+
*/
|
|
313
|
+
allowed_ui_actions?: ("schema-select" | "attribute-select" | "target-delete" | "target-add" | "target")[];
|
|
314
|
+
/**
|
|
315
|
+
* Whether its a read-only ui or not. Can be each target, or only the first. Overwrites uiActions
|
|
316
|
+
*/
|
|
317
|
+
locked?: "each" | "first" | "system_recommendation";
|
|
318
|
+
/**
|
|
319
|
+
* Whether all source mappings flow into a single attribute (e.g. address)
|
|
320
|
+
*/
|
|
321
|
+
isSingleTarget?: boolean;
|
|
322
|
+
/**
|
|
323
|
+
* Determines whether a mapping target should be shown or not. Use if there are targets which cannot be manipulated by the UI. E.g journey_data
|
|
324
|
+
*/
|
|
325
|
+
visibility?: {
|
|
326
|
+
mode: "hide" | "show" | "message";
|
|
327
|
+
if: {
|
|
328
|
+
[name: string]: string;
|
|
329
|
+
};
|
|
330
|
+
message?: string;
|
|
331
|
+
};
|
|
332
|
+
};
|
|
333
|
+
}
|
|
334
|
+
export interface MappingSourceProperty {
|
|
335
|
+
value: string;
|
|
336
|
+
label: string;
|
|
337
|
+
initial_target_value?: string;
|
|
338
|
+
/**
|
|
339
|
+
* Data Structure Type of the underlaying output value
|
|
340
|
+
*/
|
|
341
|
+
possible_target_types?: MappingSourceTargetType[];
|
|
342
|
+
/**
|
|
343
|
+
* Whether the raw value should be used, or whether the value is enriched by a path
|
|
344
|
+
*/
|
|
345
|
+
raw?: boolean;
|
|
346
|
+
}
|
|
347
|
+
export type MappingSourceTargetType = "string" | "date" | "datetime" | "boolean" | "number" | "image" | "file" | "address" | "email" | "phone" | "select" | "multiselect" | "payment" | "link" | "currency" | "sequence" | "relation" | "array";
|
|
348
|
+
export interface MappingWarning {
|
|
349
|
+
explanation: string;
|
|
350
|
+
context?: string;
|
|
351
|
+
id?: string;
|
|
352
|
+
}
|
|
353
|
+
export interface NewRelationItem {
|
|
354
|
+
source_entity_id: string;
|
|
355
|
+
target_entity_id: string;
|
|
356
|
+
relation_attr: string;
|
|
357
|
+
tags?: string[];
|
|
358
|
+
}
|
|
359
|
+
/**
|
|
360
|
+
* Mapping operation nodes are either primitive values or operation node objects
|
|
361
|
+
*/
|
|
362
|
+
export type OperationNode = /* Mapping operation nodes are either primitive values or operation node objects */ OperationObjectNode | /* Represents any primitive JSON value */ PrimitiveJSONValue;
|
|
363
|
+
export interface OperationObjectNode {
|
|
364
|
+
[name: string]: any;
|
|
365
|
+
_set?: /* Represents any primitive JSON value */ PrimitiveJSONValue;
|
|
366
|
+
/**
|
|
367
|
+
* Append to array
|
|
368
|
+
*/
|
|
369
|
+
_append?: any;
|
|
370
|
+
/**
|
|
371
|
+
* Prepend to an array
|
|
372
|
+
*/
|
|
373
|
+
_prepend?: any;
|
|
374
|
+
/**
|
|
375
|
+
* Unique array
|
|
376
|
+
*/
|
|
377
|
+
_uniq?: /* Unique array */ boolean | string[];
|
|
378
|
+
/**
|
|
379
|
+
* Merge strategy when _uniq is defined
|
|
380
|
+
* example:
|
|
381
|
+
* true
|
|
382
|
+
*/
|
|
383
|
+
_retain_old_values?: boolean;
|
|
384
|
+
/**
|
|
385
|
+
* Copy JSONPath value from source entity context
|
|
386
|
+
* example:
|
|
387
|
+
* contact.first_name
|
|
388
|
+
*/
|
|
389
|
+
_copy?: string;
|
|
390
|
+
/**
|
|
391
|
+
* Define handlebars template to output a string
|
|
392
|
+
* example:
|
|
393
|
+
* {{contact.first_name}} {{contact.last_name}}
|
|
394
|
+
*/
|
|
395
|
+
_template?: string;
|
|
396
|
+
/**
|
|
397
|
+
* Generate random ids / numbers
|
|
398
|
+
*/
|
|
399
|
+
_random?: RandomOperation;
|
|
400
|
+
}
|
|
401
|
+
export interface Owner {
|
|
402
|
+
type: "user" | "internal_service";
|
|
403
|
+
org_id?: string;
|
|
404
|
+
user_id?: string;
|
|
405
|
+
}
|
|
406
|
+
/**
|
|
407
|
+
* Represents any primitive JSON value
|
|
408
|
+
*/
|
|
409
|
+
export type PrimitiveJSONValue = /* Represents any primitive JSON value */ string | boolean | number | {
|
|
410
|
+
[name: string]: any;
|
|
411
|
+
} | any[];
|
|
412
|
+
export type RandomOperation = {
|
|
413
|
+
type: "uuid" | "nanoid";
|
|
414
|
+
} | {
|
|
415
|
+
type: "number";
|
|
416
|
+
min?: number;
|
|
417
|
+
max?: number;
|
|
418
|
+
};
|
|
419
|
+
export interface RelationAttribute {
|
|
420
|
+
/**
|
|
421
|
+
* Target attribute to store the relation in
|
|
422
|
+
*/
|
|
423
|
+
target: string;
|
|
424
|
+
/**
|
|
425
|
+
* Relation tags (labels) to set for the stored relations
|
|
426
|
+
*/
|
|
427
|
+
target_tags?: string[];
|
|
428
|
+
/**
|
|
429
|
+
* Include all relation tags (labels) present on the main entity relation
|
|
430
|
+
*/
|
|
431
|
+
target_tags_include_source?: boolean;
|
|
432
|
+
/**
|
|
433
|
+
* Whether to override the relation source_filter with the specified one
|
|
434
|
+
*/
|
|
435
|
+
override_with_source_filter?: boolean;
|
|
436
|
+
/**
|
|
437
|
+
* A filter to identify which source entities to pick as relations from main entity
|
|
438
|
+
*/
|
|
439
|
+
source_filter?: {
|
|
440
|
+
/**
|
|
441
|
+
* Limit relations to maximum number (default, all matched relations)
|
|
442
|
+
*/
|
|
443
|
+
limit?: number;
|
|
444
|
+
/**
|
|
445
|
+
* Filter by specific schema
|
|
446
|
+
*/
|
|
447
|
+
schema?: string;
|
|
448
|
+
/**
|
|
449
|
+
* Filter by a specific relation attribute on the main entity
|
|
450
|
+
*/
|
|
451
|
+
attribute?: string;
|
|
452
|
+
/**
|
|
453
|
+
* Filter by relation tag (label) on the main entity
|
|
454
|
+
*/
|
|
455
|
+
relation_tag?: string;
|
|
456
|
+
/**
|
|
457
|
+
* Filter by a specific tag on the related entity
|
|
458
|
+
*/
|
|
459
|
+
tag?: string;
|
|
460
|
+
/**
|
|
461
|
+
* Picks main entity as relation (overrides other filters)
|
|
462
|
+
*/
|
|
463
|
+
self?: boolean;
|
|
464
|
+
};
|
|
465
|
+
related_to?: {
|
|
466
|
+
[name: string]: any;
|
|
467
|
+
};
|
|
468
|
+
mode: "append" | "prepend" | "set";
|
|
469
|
+
origin?: /* Origin of an attribute. */ AttributeOrigin;
|
|
470
|
+
}
|
|
471
|
+
export interface RelationItem {
|
|
472
|
+
entity_id: string;
|
|
473
|
+
attribute: string;
|
|
474
|
+
}
|
|
475
|
+
export interface SearchMappingReq {
|
|
476
|
+
source?: SourceConfig;
|
|
477
|
+
}
|
|
478
|
+
export interface SetValueMapper {
|
|
479
|
+
mode: /**
|
|
480
|
+
* - copy_if_exists - it replaces the target attribute with the source value - append_if_exists - it currently replaces target attribute with array like values. Useful when you have multiple values to be added into one attribute. - set_value - it sets a value to a predefined value. Must be used together with value property.
|
|
481
|
+
*
|
|
482
|
+
*/
|
|
483
|
+
MappingAttributeMode;
|
|
484
|
+
/**
|
|
485
|
+
* JSON like target path for the attribute. Eg. last_name
|
|
486
|
+
*/
|
|
487
|
+
target: string;
|
|
488
|
+
/**
|
|
489
|
+
* Any value to be set: string, number, string[], number[], JSON object, etc. It will override existing values, if any.
|
|
490
|
+
*
|
|
491
|
+
*/
|
|
492
|
+
value: any;
|
|
493
|
+
}
|
|
494
|
+
export interface SourceConfig {
|
|
495
|
+
type?: "journey" | "entity";
|
|
496
|
+
config?: JourneyRef | EntityRef;
|
|
497
|
+
}
|
|
498
|
+
export interface TargetConfig {
|
|
499
|
+
/**
|
|
500
|
+
* Identifier for target configuration. Useful for later usages when trying to identify which target config to map to.
|
|
501
|
+
*/
|
|
502
|
+
id?: string;
|
|
503
|
+
/**
|
|
504
|
+
* A name for this configuration
|
|
505
|
+
*/
|
|
506
|
+
name?: string;
|
|
507
|
+
/**
|
|
508
|
+
* Pass it as true, when you don't want failures to interrupt the mapping process.
|
|
509
|
+
*/
|
|
510
|
+
allow_failure?: boolean;
|
|
511
|
+
/**
|
|
512
|
+
* Schema of target entity
|
|
513
|
+
*/
|
|
514
|
+
target_schema: string;
|
|
515
|
+
/**
|
|
516
|
+
* Unique key for target entity (see upsertEntity of Entity API)
|
|
517
|
+
*/
|
|
518
|
+
target_unique?: string[];
|
|
519
|
+
/**
|
|
520
|
+
* contains config in case of running in loop mode
|
|
521
|
+
*/
|
|
522
|
+
loop_config?: {
|
|
523
|
+
/**
|
|
524
|
+
* path to the array from the entity payload
|
|
525
|
+
*/
|
|
526
|
+
source_path?: string;
|
|
527
|
+
/**
|
|
528
|
+
* a hard limit of how many times the loop is allowed to run.
|
|
529
|
+
*/
|
|
530
|
+
length?: number;
|
|
531
|
+
};
|
|
532
|
+
/**
|
|
533
|
+
* Mode of how conditions are considered valid
|
|
534
|
+
*/
|
|
535
|
+
conditionMode?: "oneOf" | "anyOf" | "allOf";
|
|
536
|
+
/**
|
|
537
|
+
* Conditions necessary to hold for the target entity to be mapped
|
|
538
|
+
*/
|
|
539
|
+
conditions?: MapCondition[];
|
|
540
|
+
/**
|
|
541
|
+
* Attribute mappings
|
|
542
|
+
*/
|
|
543
|
+
mapping_attributes: (/**
|
|
544
|
+
* example:
|
|
545
|
+
* {
|
|
546
|
+
* "target": "_tags",
|
|
547
|
+
* "operation": {
|
|
548
|
+
* "_append": [
|
|
549
|
+
* "new",
|
|
550
|
+
* "tags"
|
|
551
|
+
* ],
|
|
552
|
+
* "_uniq": true
|
|
553
|
+
* }
|
|
554
|
+
* }
|
|
555
|
+
*/
|
|
556
|
+
MappingAttributeV2 | MappingAttribute)[];
|
|
557
|
+
/**
|
|
558
|
+
* Relation mappings
|
|
559
|
+
*/
|
|
560
|
+
relation_attributes?: RelationAttribute[];
|
|
561
|
+
/**
|
|
562
|
+
* Relation attribute on the main entity where the target entity will be linked. Set to false to disable linkback
|
|
563
|
+
*
|
|
564
|
+
*/
|
|
565
|
+
linkback_relation_attribute?: string;
|
|
566
|
+
/**
|
|
567
|
+
* Relation tags (labels) to include in main entity linkback relation attribute
|
|
568
|
+
*/
|
|
569
|
+
linkback_relation_tags?: string[];
|
|
570
|
+
}
|
|
571
|
+
}
|
|
572
|
+
}
|
|
573
|
+
declare namespace Paths {
|
|
574
|
+
namespace DeleteConfig {
|
|
575
|
+
namespace Parameters {
|
|
576
|
+
/**
|
|
577
|
+
* example:
|
|
578
|
+
* 70542580-2b38-4bfc-af8d-bb90102f9f47
|
|
579
|
+
*/
|
|
580
|
+
export type Id = string;
|
|
581
|
+
}
|
|
582
|
+
export interface PathParameters {
|
|
583
|
+
id: /**
|
|
584
|
+
* example:
|
|
585
|
+
* 70542580-2b38-4bfc-af8d-bb90102f9f47
|
|
586
|
+
*/
|
|
587
|
+
Parameters.Id;
|
|
588
|
+
}
|
|
589
|
+
namespace Responses {
|
|
590
|
+
export type $200 = Components.Schemas.MappingConfig;
|
|
591
|
+
}
|
|
592
|
+
}
|
|
593
|
+
namespace ExecuteMapping {
|
|
594
|
+
namespace Parameters {
|
|
595
|
+
/**
|
|
596
|
+
* example:
|
|
597
|
+
* true
|
|
598
|
+
*/
|
|
599
|
+
export type PreviewMode = boolean;
|
|
600
|
+
}
|
|
601
|
+
export interface QueryParameters {
|
|
602
|
+
preview_mode?: /**
|
|
603
|
+
* example:
|
|
604
|
+
* true
|
|
605
|
+
*/
|
|
606
|
+
Parameters.PreviewMode;
|
|
607
|
+
}
|
|
608
|
+
export type RequestBody = /* Pass either source or source_entity */ Components.Schemas.ExecuteMappingReq;
|
|
609
|
+
namespace Responses {
|
|
610
|
+
export type $200 = Components.Schemas.ExecuteMappingResp;
|
|
611
|
+
}
|
|
612
|
+
}
|
|
613
|
+
namespace ExecuteRelations {
|
|
614
|
+
export type RequestBody = /* Build relations between a source entity and one or more target entities, dynamically identified */ Components.Schemas.ExecuteRelationsReq;
|
|
615
|
+
namespace Responses {
|
|
616
|
+
export type $200 = Components.Schemas.ExecuteRelationsResp;
|
|
617
|
+
}
|
|
618
|
+
}
|
|
619
|
+
namespace GetAllVersions {
|
|
620
|
+
namespace Parameters {
|
|
621
|
+
/**
|
|
622
|
+
* example:
|
|
623
|
+
* 70542580-2b38-4bfc-af8d-bb90102f9f47
|
|
624
|
+
*/
|
|
625
|
+
export type Id = string;
|
|
626
|
+
}
|
|
627
|
+
export interface PathParameters {
|
|
628
|
+
id: /**
|
|
629
|
+
* example:
|
|
630
|
+
* 70542580-2b38-4bfc-af8d-bb90102f9f47
|
|
631
|
+
*/
|
|
632
|
+
Parameters.Id;
|
|
633
|
+
}
|
|
634
|
+
namespace Responses {
|
|
635
|
+
export type $200 = Components.Schemas.MappingConfigsResp;
|
|
636
|
+
}
|
|
637
|
+
}
|
|
638
|
+
namespace GetConfig {
|
|
639
|
+
namespace Parameters {
|
|
640
|
+
/**
|
|
641
|
+
* example:
|
|
642
|
+
* 70542580-2b38-4bfc-af8d-bb90102f9f47
|
|
643
|
+
*/
|
|
644
|
+
export type Id = string;
|
|
645
|
+
}
|
|
646
|
+
export interface PathParameters {
|
|
647
|
+
id: /**
|
|
648
|
+
* example:
|
|
649
|
+
* 70542580-2b38-4bfc-af8d-bb90102f9f47
|
|
650
|
+
*/
|
|
651
|
+
Parameters.Id;
|
|
652
|
+
}
|
|
653
|
+
namespace Responses {
|
|
654
|
+
export type $200 = Components.Schemas.MappingConfig;
|
|
655
|
+
}
|
|
656
|
+
}
|
|
657
|
+
namespace GetConfigVersion {
|
|
658
|
+
namespace Parameters {
|
|
659
|
+
/**
|
|
660
|
+
* example:
|
|
661
|
+
* 70542580-2b38-4bfc-af8d-bb90102f9f47
|
|
662
|
+
*/
|
|
663
|
+
export type Id = string;
|
|
664
|
+
/**
|
|
665
|
+
* example:
|
|
666
|
+
* 3
|
|
667
|
+
*/
|
|
668
|
+
export type Version = number;
|
|
669
|
+
}
|
|
670
|
+
export interface PathParameters {
|
|
671
|
+
id: /**
|
|
672
|
+
* example:
|
|
673
|
+
* 70542580-2b38-4bfc-af8d-bb90102f9f47
|
|
674
|
+
*/
|
|
675
|
+
Parameters.Id;
|
|
676
|
+
version: /**
|
|
677
|
+
* example:
|
|
678
|
+
* 3
|
|
679
|
+
*/
|
|
680
|
+
Parameters.Version;
|
|
681
|
+
}
|
|
682
|
+
namespace Responses {
|
|
683
|
+
export type $200 = Components.Schemas.MappingConfig;
|
|
684
|
+
}
|
|
685
|
+
}
|
|
686
|
+
namespace GetMappingConfig {
|
|
687
|
+
namespace Parameters {
|
|
688
|
+
/**
|
|
689
|
+
* example:
|
|
690
|
+
* 70542580-2b38-4bfc-af8d-bb90102f9f47
|
|
691
|
+
*/
|
|
692
|
+
export type Id = string;
|
|
693
|
+
}
|
|
694
|
+
export interface PathParameters {
|
|
695
|
+
id: /**
|
|
696
|
+
* example:
|
|
697
|
+
* 70542580-2b38-4bfc-af8d-bb90102f9f47
|
|
698
|
+
*/
|
|
699
|
+
Parameters.Id;
|
|
700
|
+
}
|
|
701
|
+
namespace Responses {
|
|
702
|
+
export type $200 = Components.Schemas.MappingConfigV2;
|
|
703
|
+
}
|
|
704
|
+
}
|
|
705
|
+
namespace PutMappingConfig {
|
|
706
|
+
namespace Parameters {
|
|
707
|
+
/**
|
|
708
|
+
* example:
|
|
709
|
+
* 70542580-2b38-4bfc-af8d-bb90102f9f47
|
|
710
|
+
*/
|
|
711
|
+
export type Id = string;
|
|
712
|
+
}
|
|
713
|
+
export interface PathParameters {
|
|
714
|
+
id: /**
|
|
715
|
+
* example:
|
|
716
|
+
* 70542580-2b38-4bfc-af8d-bb90102f9f47
|
|
717
|
+
*/
|
|
718
|
+
Parameters.Id;
|
|
719
|
+
}
|
|
720
|
+
export type RequestBody = Components.Schemas.MappingConfigV2;
|
|
721
|
+
namespace Responses {
|
|
722
|
+
export type $200 = Components.Schemas.MappingConfigV2;
|
|
723
|
+
}
|
|
724
|
+
}
|
|
725
|
+
namespace QueryMappingHistory {
|
|
726
|
+
namespace Parameters {
|
|
727
|
+
export type From = string; // datetime
|
|
728
|
+
export type SourceEntityId = string; // uuid
|
|
729
|
+
export type TargetEntityId = string; // uuid
|
|
730
|
+
export type To = string; // datetime
|
|
731
|
+
}
|
|
732
|
+
export interface QueryParameters {
|
|
733
|
+
from?: Parameters.From /* datetime */;
|
|
734
|
+
to?: Parameters.To /* datetime */;
|
|
735
|
+
targetEntityId?: Parameters.TargetEntityId /* uuid */;
|
|
736
|
+
sourceEntityId?: Parameters.SourceEntityId /* uuid */;
|
|
737
|
+
}
|
|
738
|
+
namespace Responses {
|
|
739
|
+
export interface $200 {
|
|
740
|
+
results?: Components.Schemas.MappingHistoryResp[];
|
|
741
|
+
}
|
|
742
|
+
}
|
|
743
|
+
}
|
|
744
|
+
namespace SearchConfigs {
|
|
745
|
+
export type RequestBody = Components.Schemas.SearchMappingReq;
|
|
746
|
+
namespace Responses {
|
|
747
|
+
export type $200 = Components.Schemas.MappingConfig;
|
|
748
|
+
}
|
|
749
|
+
}
|
|
750
|
+
namespace StoreConfig {
|
|
751
|
+
namespace Parameters {
|
|
752
|
+
export type WithId = string;
|
|
753
|
+
}
|
|
754
|
+
export interface QueryParameters {
|
|
755
|
+
with_id?: Parameters.WithId;
|
|
756
|
+
}
|
|
757
|
+
export type RequestBody = Components.Schemas.MappingConfig;
|
|
758
|
+
namespace Responses {
|
|
759
|
+
export type $201 = Components.Schemas.MappingConfig;
|
|
760
|
+
}
|
|
761
|
+
}
|
|
762
|
+
namespace StoreNewVersion {
|
|
763
|
+
namespace Parameters {
|
|
764
|
+
/**
|
|
765
|
+
* example:
|
|
766
|
+
* 70542580-2b38-4bfc-af8d-bb90102f9f47
|
|
767
|
+
*/
|
|
768
|
+
export type Id = string;
|
|
769
|
+
}
|
|
770
|
+
export interface PathParameters {
|
|
771
|
+
id: /**
|
|
772
|
+
* example:
|
|
773
|
+
* 70542580-2b38-4bfc-af8d-bb90102f9f47
|
|
774
|
+
*/
|
|
775
|
+
Parameters.Id;
|
|
776
|
+
}
|
|
777
|
+
export type RequestBody = Components.Schemas.MappingConfig;
|
|
778
|
+
namespace Responses {
|
|
779
|
+
export type $200 = Components.Schemas.MappingConfig;
|
|
780
|
+
}
|
|
781
|
+
}
|
|
782
|
+
}
|
|
783
|
+
|
|
784
|
+
|
|
785
|
+
interface OperationMethods {
|
|
786
|
+
/**
|
|
787
|
+
* storeConfig - storeConfig
|
|
788
|
+
*
|
|
789
|
+
* Store new MappingConfig
|
|
790
|
+
*/
|
|
791
|
+
'storeConfig'(
|
|
792
|
+
parameters?: Parameters<Paths.StoreConfig.QueryParameters> | null,
|
|
793
|
+
data?: Paths.StoreConfig.RequestBody,
|
|
794
|
+
config?: AxiosRequestConfig
|
|
795
|
+
): OperationResponse<Paths.StoreConfig.Responses.$201>
|
|
796
|
+
/**
|
|
797
|
+
* getConfig - getConfig
|
|
798
|
+
*
|
|
799
|
+
* Get latest version of a mapping config by id
|
|
800
|
+
*/
|
|
801
|
+
'getConfig'(
|
|
802
|
+
parameters?: Parameters<Paths.GetConfig.PathParameters> | null,
|
|
803
|
+
data?: any,
|
|
804
|
+
config?: AxiosRequestConfig
|
|
805
|
+
): OperationResponse<Paths.GetConfig.Responses.$200>
|
|
806
|
+
/**
|
|
807
|
+
* deleteConfig - deleteConfig
|
|
808
|
+
*
|
|
809
|
+
* Delete entity mapping config
|
|
810
|
+
*/
|
|
811
|
+
'deleteConfig'(
|
|
812
|
+
parameters?: Parameters<Paths.DeleteConfig.PathParameters> | null,
|
|
813
|
+
data?: any,
|
|
814
|
+
config?: AxiosRequestConfig
|
|
815
|
+
): OperationResponse<Paths.DeleteConfig.Responses.$200>
|
|
816
|
+
/**
|
|
817
|
+
* getAllVersions - getAllVersions
|
|
818
|
+
*
|
|
819
|
+
* Get all version of MappingConfig
|
|
820
|
+
*/
|
|
821
|
+
'getAllVersions'(
|
|
822
|
+
parameters?: Parameters<Paths.GetAllVersions.PathParameters> | null,
|
|
823
|
+
data?: any,
|
|
824
|
+
config?: AxiosRequestConfig
|
|
825
|
+
): OperationResponse<Paths.GetAllVersions.Responses.$200>
|
|
826
|
+
/**
|
|
827
|
+
* storeNewVersion - storeNewVersion
|
|
828
|
+
*
|
|
829
|
+
* Store new version of MappingConfig
|
|
830
|
+
*/
|
|
831
|
+
'storeNewVersion'(
|
|
832
|
+
parameters?: Parameters<Paths.StoreNewVersion.PathParameters> | null,
|
|
833
|
+
data?: Paths.StoreNewVersion.RequestBody,
|
|
834
|
+
config?: AxiosRequestConfig
|
|
835
|
+
): OperationResponse<Paths.StoreNewVersion.Responses.$200>
|
|
836
|
+
/**
|
|
837
|
+
* getConfigVersion - getConfigVersion
|
|
838
|
+
*
|
|
839
|
+
* Get specific version of a mapping config by id & version
|
|
840
|
+
*/
|
|
841
|
+
'getConfigVersion'(
|
|
842
|
+
parameters?: Parameters<Paths.GetConfigVersion.PathParameters> | null,
|
|
843
|
+
data?: any,
|
|
844
|
+
config?: AxiosRequestConfig
|
|
845
|
+
): OperationResponse<Paths.GetConfigVersion.Responses.$200>
|
|
846
|
+
/**
|
|
847
|
+
* executeMapping - executeMapping
|
|
848
|
+
*
|
|
849
|
+
* Execute entity mapping based on a config
|
|
850
|
+
*/
|
|
851
|
+
'executeMapping'(
|
|
852
|
+
parameters?: Parameters<Paths.ExecuteMapping.QueryParameters> | null,
|
|
853
|
+
data?: Paths.ExecuteMapping.RequestBody,
|
|
854
|
+
config?: AxiosRequestConfig
|
|
855
|
+
): OperationResponse<Paths.ExecuteMapping.Responses.$200>
|
|
856
|
+
/**
|
|
857
|
+
* searchConfigs - searchConfigs
|
|
858
|
+
*
|
|
859
|
+
* Search mapping configs
|
|
860
|
+
*/
|
|
861
|
+
'searchConfigs'(
|
|
862
|
+
parameters?: Parameters<UnknownParamsObject> | null,
|
|
863
|
+
data?: Paths.SearchConfigs.RequestBody,
|
|
864
|
+
config?: AxiosRequestConfig
|
|
865
|
+
): OperationResponse<Paths.SearchConfigs.Responses.$200>
|
|
866
|
+
/**
|
|
867
|
+
* queryMappingHistory - queryMappingHistory
|
|
868
|
+
*
|
|
869
|
+
* Get the Mapping History
|
|
870
|
+
*/
|
|
871
|
+
'queryMappingHistory'(
|
|
872
|
+
parameters?: Parameters<Paths.QueryMappingHistory.QueryParameters> | null,
|
|
873
|
+
data?: any,
|
|
874
|
+
config?: AxiosRequestConfig
|
|
875
|
+
): OperationResponse<Paths.QueryMappingHistory.Responses.$200>
|
|
876
|
+
/**
|
|
877
|
+
* executeRelations - executeRelations
|
|
878
|
+
*
|
|
879
|
+
* Execute relation mapping between source entity and target entities
|
|
880
|
+
*/
|
|
881
|
+
'executeRelations'(
|
|
882
|
+
parameters?: Parameters<UnknownParamsObject> | null,
|
|
883
|
+
data?: Paths.ExecuteRelations.RequestBody,
|
|
884
|
+
config?: AxiosRequestConfig
|
|
885
|
+
): OperationResponse<Paths.ExecuteRelations.Responses.$200>
|
|
886
|
+
/**
|
|
887
|
+
* getMappingConfig - getMappingConfig
|
|
888
|
+
*
|
|
889
|
+
* Get latest version of a mapping config by id V2
|
|
890
|
+
*/
|
|
891
|
+
'getMappingConfig'(
|
|
892
|
+
parameters?: Parameters<Paths.GetMappingConfig.PathParameters> | null,
|
|
893
|
+
data?: any,
|
|
894
|
+
config?: AxiosRequestConfig
|
|
895
|
+
): OperationResponse<Paths.GetMappingConfig.Responses.$200>
|
|
896
|
+
/**
|
|
897
|
+
* putMappingConfig - putMappingConfig
|
|
898
|
+
*
|
|
899
|
+
* Stores new version of entity mapping config
|
|
900
|
+
*/
|
|
901
|
+
'putMappingConfig'(
|
|
902
|
+
parameters?: Parameters<Paths.PutMappingConfig.PathParameters> | null,
|
|
903
|
+
data?: Paths.PutMappingConfig.RequestBody,
|
|
904
|
+
config?: AxiosRequestConfig
|
|
905
|
+
): OperationResponse<Paths.PutMappingConfig.Responses.$200>
|
|
906
|
+
}
|
|
907
|
+
|
|
908
|
+
interface PathsDictionary {
|
|
909
|
+
['/v1/mappings']: {
|
|
910
|
+
/**
|
|
911
|
+
* storeConfig - storeConfig
|
|
912
|
+
*
|
|
913
|
+
* Store new MappingConfig
|
|
914
|
+
*/
|
|
915
|
+
'post'(
|
|
916
|
+
parameters?: Parameters<Paths.StoreConfig.QueryParameters> | null,
|
|
917
|
+
data?: Paths.StoreConfig.RequestBody,
|
|
918
|
+
config?: AxiosRequestConfig
|
|
919
|
+
): OperationResponse<Paths.StoreConfig.Responses.$201>
|
|
920
|
+
}
|
|
921
|
+
['/v1/mappings/{id}']: {
|
|
922
|
+
/**
|
|
923
|
+
* getConfig - getConfig
|
|
924
|
+
*
|
|
925
|
+
* Get latest version of a mapping config by id
|
|
926
|
+
*/
|
|
927
|
+
'get'(
|
|
928
|
+
parameters?: Parameters<Paths.GetConfig.PathParameters> | null,
|
|
929
|
+
data?: any,
|
|
930
|
+
config?: AxiosRequestConfig
|
|
931
|
+
): OperationResponse<Paths.GetConfig.Responses.$200>
|
|
932
|
+
/**
|
|
933
|
+
* deleteConfig - deleteConfig
|
|
934
|
+
*
|
|
935
|
+
* Delete entity mapping config
|
|
936
|
+
*/
|
|
937
|
+
'delete'(
|
|
938
|
+
parameters?: Parameters<Paths.DeleteConfig.PathParameters> | null,
|
|
939
|
+
data?: any,
|
|
940
|
+
config?: AxiosRequestConfig
|
|
941
|
+
): OperationResponse<Paths.DeleteConfig.Responses.$200>
|
|
942
|
+
}
|
|
943
|
+
['/v1/mappings/{id}/versions']: {
|
|
944
|
+
/**
|
|
945
|
+
* getAllVersions - getAllVersions
|
|
946
|
+
*
|
|
947
|
+
* Get all version of MappingConfig
|
|
948
|
+
*/
|
|
949
|
+
'get'(
|
|
950
|
+
parameters?: Parameters<Paths.GetAllVersions.PathParameters> | null,
|
|
951
|
+
data?: any,
|
|
952
|
+
config?: AxiosRequestConfig
|
|
953
|
+
): OperationResponse<Paths.GetAllVersions.Responses.$200>
|
|
954
|
+
/**
|
|
955
|
+
* storeNewVersion - storeNewVersion
|
|
956
|
+
*
|
|
957
|
+
* Store new version of MappingConfig
|
|
958
|
+
*/
|
|
959
|
+
'post'(
|
|
960
|
+
parameters?: Parameters<Paths.StoreNewVersion.PathParameters> | null,
|
|
961
|
+
data?: Paths.StoreNewVersion.RequestBody,
|
|
962
|
+
config?: AxiosRequestConfig
|
|
963
|
+
): OperationResponse<Paths.StoreNewVersion.Responses.$200>
|
|
964
|
+
}
|
|
965
|
+
['/v1/mappings/{id}/versions/{version}']: {
|
|
966
|
+
/**
|
|
967
|
+
* getConfigVersion - getConfigVersion
|
|
968
|
+
*
|
|
969
|
+
* Get specific version of a mapping config by id & version
|
|
970
|
+
*/
|
|
971
|
+
'get'(
|
|
972
|
+
parameters?: Parameters<Paths.GetConfigVersion.PathParameters> | null,
|
|
973
|
+
data?: any,
|
|
974
|
+
config?: AxiosRequestConfig
|
|
975
|
+
): OperationResponse<Paths.GetConfigVersion.Responses.$200>
|
|
976
|
+
}
|
|
977
|
+
['/v1/mappings:execute']: {
|
|
978
|
+
/**
|
|
979
|
+
* executeMapping - executeMapping
|
|
980
|
+
*
|
|
981
|
+
* Execute entity mapping based on a config
|
|
982
|
+
*/
|
|
983
|
+
'post'(
|
|
984
|
+
parameters?: Parameters<Paths.ExecuteMapping.QueryParameters> | null,
|
|
985
|
+
data?: Paths.ExecuteMapping.RequestBody,
|
|
986
|
+
config?: AxiosRequestConfig
|
|
987
|
+
): OperationResponse<Paths.ExecuteMapping.Responses.$200>
|
|
988
|
+
}
|
|
989
|
+
['/v1/mappings:search']: {
|
|
990
|
+
/**
|
|
991
|
+
* searchConfigs - searchConfigs
|
|
992
|
+
*
|
|
993
|
+
* Search mapping configs
|
|
994
|
+
*/
|
|
995
|
+
'post'(
|
|
996
|
+
parameters?: Parameters<UnknownParamsObject> | null,
|
|
997
|
+
data?: Paths.SearchConfigs.RequestBody,
|
|
998
|
+
config?: AxiosRequestConfig
|
|
999
|
+
): OperationResponse<Paths.SearchConfigs.Responses.$200>
|
|
1000
|
+
}
|
|
1001
|
+
['/v1/mappings/history']: {
|
|
1002
|
+
/**
|
|
1003
|
+
* queryMappingHistory - queryMappingHistory
|
|
1004
|
+
*
|
|
1005
|
+
* Get the Mapping History
|
|
1006
|
+
*/
|
|
1007
|
+
'get'(
|
|
1008
|
+
parameters?: Parameters<Paths.QueryMappingHistory.QueryParameters> | null,
|
|
1009
|
+
data?: any,
|
|
1010
|
+
config?: AxiosRequestConfig
|
|
1011
|
+
): OperationResponse<Paths.QueryMappingHistory.Responses.$200>
|
|
1012
|
+
}
|
|
1013
|
+
['/v1/relations:execute']: {
|
|
1014
|
+
/**
|
|
1015
|
+
* executeRelations - executeRelations
|
|
1016
|
+
*
|
|
1017
|
+
* Execute relation mapping between source entity and target entities
|
|
1018
|
+
*/
|
|
1019
|
+
'post'(
|
|
1020
|
+
parameters?: Parameters<UnknownParamsObject> | null,
|
|
1021
|
+
data?: Paths.ExecuteRelations.RequestBody,
|
|
1022
|
+
config?: AxiosRequestConfig
|
|
1023
|
+
): OperationResponse<Paths.ExecuteRelations.Responses.$200>
|
|
1024
|
+
}
|
|
1025
|
+
['/v2/mappings/{id}']: {
|
|
1026
|
+
/**
|
|
1027
|
+
* getMappingConfig - getMappingConfig
|
|
1028
|
+
*
|
|
1029
|
+
* Get latest version of a mapping config by id V2
|
|
1030
|
+
*/
|
|
1031
|
+
'get'(
|
|
1032
|
+
parameters?: Parameters<Paths.GetMappingConfig.PathParameters> | null,
|
|
1033
|
+
data?: any,
|
|
1034
|
+
config?: AxiosRequestConfig
|
|
1035
|
+
): OperationResponse<Paths.GetMappingConfig.Responses.$200>
|
|
1036
|
+
/**
|
|
1037
|
+
* putMappingConfig - putMappingConfig
|
|
1038
|
+
*
|
|
1039
|
+
* Stores new version of entity mapping config
|
|
1040
|
+
*/
|
|
1041
|
+
'put'(
|
|
1042
|
+
parameters?: Parameters<Paths.PutMappingConfig.PathParameters> | null,
|
|
1043
|
+
data?: Paths.PutMappingConfig.RequestBody,
|
|
1044
|
+
config?: AxiosRequestConfig
|
|
1045
|
+
): OperationResponse<Paths.PutMappingConfig.Responses.$200>
|
|
1046
|
+
}
|
|
1047
|
+
}
|
|
1048
|
+
|
|
1049
|
+
type Client = OpenAPIClient<OperationMethods, PathsDictionary>
|
|
1050
|
+
|
|
1051
|
+
|
|
1052
|
+
type AppendValueMapper = Components.Schemas.AppendValueMapper;
|
|
1053
|
+
type AttributeOrigin = Components.Schemas.AttributeOrigin;
|
|
1054
|
+
type ConditionNode = Components.Schemas.ConditionNode;
|
|
1055
|
+
type CopyValueMapper = Components.Schemas.CopyValueMapper;
|
|
1056
|
+
type Entity = Components.Schemas.Entity;
|
|
1057
|
+
type EntityRef = Components.Schemas.EntityRef;
|
|
1058
|
+
type ExecuteMappingReq = Components.Schemas.ExecuteMappingReq;
|
|
1059
|
+
type ExecuteMappingResp = Components.Schemas.ExecuteMappingResp;
|
|
1060
|
+
type ExecuteRelationsReq = Components.Schemas.ExecuteRelationsReq;
|
|
1061
|
+
type ExecuteRelationsResp = Components.Schemas.ExecuteRelationsResp;
|
|
1062
|
+
type JourneyRef = Components.Schemas.JourneyRef;
|
|
1063
|
+
type Loop_Index_String = Components.Schemas.LoopIndexString;
|
|
1064
|
+
type MapCondition = Components.Schemas.MapCondition;
|
|
1065
|
+
type MappingAttribute = Components.Schemas.MappingAttribute;
|
|
1066
|
+
type MappingAttributeMode = Components.Schemas.MappingAttributeMode;
|
|
1067
|
+
type MappingAttributeV2 = Components.Schemas.MappingAttributeV2;
|
|
1068
|
+
type MappingConfig = Components.Schemas.MappingConfig;
|
|
1069
|
+
type MappingConfigCommonFields = Components.Schemas.MappingConfigCommonFields;
|
|
1070
|
+
type MappingConfigV2 = Components.Schemas.MappingConfigV2;
|
|
1071
|
+
type MappingConfigs = Components.Schemas.MappingConfigs;
|
|
1072
|
+
type MappingConfigsResp = Components.Schemas.MappingConfigsResp;
|
|
1073
|
+
type MappingFailure = Components.Schemas.MappingFailure;
|
|
1074
|
+
type MappingHistoryEntry = Components.Schemas.MappingHistoryEntry;
|
|
1075
|
+
type MappingHistoryResp = Components.Schemas.MappingHistoryResp;
|
|
1076
|
+
type MappingSource = Components.Schemas.MappingSource;
|
|
1077
|
+
type MappingSourceProperty = Components.Schemas.MappingSourceProperty;
|
|
1078
|
+
type MappingSourceTargetType = Components.Schemas.MappingSourceTargetType;
|
|
1079
|
+
type MappingWarning = Components.Schemas.MappingWarning;
|
|
1080
|
+
type NewRelationItem = Components.Schemas.NewRelationItem;
|
|
1081
|
+
type OperationNode = Components.Schemas.OperationNode;
|
|
1082
|
+
type OperationObjectNode = Components.Schemas.OperationObjectNode;
|
|
1083
|
+
type Owner = Components.Schemas.Owner;
|
|
1084
|
+
type PrimitiveJSONValue = Components.Schemas.PrimitiveJSONValue;
|
|
1085
|
+
type RandomOperation = Components.Schemas.RandomOperation;
|
|
1086
|
+
type RelationAttribute = Components.Schemas.RelationAttribute;
|
|
1087
|
+
type RelationItem = Components.Schemas.RelationItem;
|
|
1088
|
+
type SearchMappingReq = Components.Schemas.SearchMappingReq;
|
|
1089
|
+
type SetValueMapper = Components.Schemas.SetValueMapper;
|
|
1090
|
+
type SourceConfig = Components.Schemas.SourceConfig;
|
|
1091
|
+
type TargetConfig = Components.Schemas.TargetConfig;
|
|
1092
|
+
|
|
1093
|
+
export type { AppendValueMapper as A, PrimitiveJSONValue as B, Client as C, RelationAttribute as D, Entity as E, RelationItem as F, SetValueMapper as G, SourceConfig as H, JourneyRef as J, Loop_Index_String as L, MapCondition as M, NewRelationItem as N, OperationMethods as O, PathsDictionary as P, RandomOperation as R, SearchMappingReq as S, TargetConfig as T, AttributeOrigin as a, ConditionNode as b, CopyValueMapper as c, EntityRef as d, ExecuteMappingReq as e, ExecuteMappingResp as f, ExecuteRelationsReq as g, ExecuteRelationsResp as h, MappingAttribute as i, MappingAttributeMode as j, MappingAttributeV2 as k, MappingConfig as l, MappingConfigCommonFields as m, MappingConfigV2 as n, MappingConfigs as o, MappingConfigsResp as p, MappingFailure as q, MappingHistoryEntry as r, MappingHistoryResp as s, MappingSource as t, MappingSourceProperty as u, MappingSourceTargetType as v, MappingWarning as w, OperationNode as x, OperationObjectNode as y, Owner as z };
|