@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,33 @@
|
|
|
1
|
+
import {
|
|
2
|
+
authorize,
|
|
3
|
+
createApiClient,
|
|
4
|
+
createApiHandle
|
|
5
|
+
} from "../chunk-UJTFRZMS.js";
|
|
6
|
+
import "../chunk-3RG5ZIWI.js";
|
|
7
|
+
|
|
8
|
+
// src/apis/email-template.ts
|
|
9
|
+
var loadDefinition = async () => {
|
|
10
|
+
const mod = await import("../email-template-4QI4YS4J.js");
|
|
11
|
+
return mod.default ?? mod;
|
|
12
|
+
};
|
|
13
|
+
var _instance = null;
|
|
14
|
+
var resolve = async () => {
|
|
15
|
+
if (!_instance) {
|
|
16
|
+
const definition = await loadDefinition();
|
|
17
|
+
_instance = createApiClient({ definition });
|
|
18
|
+
}
|
|
19
|
+
return _instance;
|
|
20
|
+
};
|
|
21
|
+
var _handle = createApiHandle({
|
|
22
|
+
resolveClient: resolve,
|
|
23
|
+
loadDefinition
|
|
24
|
+
});
|
|
25
|
+
var getClient = _handle.getClient;
|
|
26
|
+
var createClient = _handle.createClient;
|
|
27
|
+
var emailTemplate = _handle;
|
|
28
|
+
export {
|
|
29
|
+
authorize,
|
|
30
|
+
createClient,
|
|
31
|
+
emailTemplate,
|
|
32
|
+
getClient
|
|
33
|
+
};
|
|
@@ -0,0 +1,33 @@
|
|
|
1
|
+
"use strict";Object.defineProperty(exports, "__esModule", {value: true}); function _interopRequireWildcard(obj) { if (obj && obj.__esModule) { return obj; } else { var newObj = {}; if (obj != null) { for (var key in obj) { if (Object.prototype.hasOwnProperty.call(obj, key)) { newObj[key] = obj[key]; } } } newObj.default = obj; return newObj; } } function _nullishCoalesce(lhs, rhsFn) { if (lhs != null) { return lhs; } else { return rhsFn(); } }
|
|
2
|
+
|
|
3
|
+
|
|
4
|
+
|
|
5
|
+
var _chunkYLLKMXS3cjs = require('../chunk-YLLKMXS3.cjs');
|
|
6
|
+
require('../chunk-OBGZSXTJ.cjs');
|
|
7
|
+
|
|
8
|
+
// src/apis/entity-mapping.ts
|
|
9
|
+
var loadDefinition = async () => {
|
|
10
|
+
const mod = await Promise.resolve().then(() => _interopRequireWildcard(require("../entity-mapping-PHRLSYP7.cjs")));
|
|
11
|
+
return _nullishCoalesce(mod.default, () => ( mod));
|
|
12
|
+
};
|
|
13
|
+
var _instance = null;
|
|
14
|
+
var resolve = async () => {
|
|
15
|
+
if (!_instance) {
|
|
16
|
+
const definition = await loadDefinition();
|
|
17
|
+
_instance = _chunkYLLKMXS3cjs.createApiClient.call(void 0, { definition });
|
|
18
|
+
}
|
|
19
|
+
return _instance;
|
|
20
|
+
};
|
|
21
|
+
var _handle = _chunkYLLKMXS3cjs.createApiHandle.call(void 0, {
|
|
22
|
+
resolveClient: resolve,
|
|
23
|
+
loadDefinition
|
|
24
|
+
});
|
|
25
|
+
var getClient = _handle.getClient;
|
|
26
|
+
var createClient = _handle.createClient;
|
|
27
|
+
var entityMapping = _handle;
|
|
28
|
+
|
|
29
|
+
|
|
30
|
+
|
|
31
|
+
|
|
32
|
+
|
|
33
|
+
exports.authorize = _chunkYLLKMXS3cjs.authorize; exports.createClient = createClient; exports.entityMapping = entityMapping; exports.getClient = getClient;
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
import { A as ApiHandle } from '../types-C5cGIwtq.cjs';
|
|
2
|
+
export { T as TokenArg, a as authorize } from '../types-C5cGIwtq.cjs';
|
|
3
|
+
import { C as Client } from '../entity-mapping.d-B3Vyepok.cjs';
|
|
4
|
+
export { A as AppendValueMapper, a as AttributeOrigin, b as ConditionNode, c as CopyValueMapper, E as Entity, d as EntityRef, e as ExecuteMappingReq, f as ExecuteMappingResp, g as ExecuteRelationsReq, h as ExecuteRelationsResp, J as JourneyRef, L as Loop_Index_String, M as MapCondition, i as MappingAttribute, j as MappingAttributeMode, k as MappingAttributeV2, l as MappingConfig, m as MappingConfigCommonFields, n as MappingConfigV2, o as MappingConfigs, p as MappingConfigsResp, q as MappingFailure, r as MappingHistoryEntry, s as MappingHistoryResp, t as MappingSource, u as MappingSourceProperty, v as MappingSourceTargetType, w as MappingWarning, N as NewRelationItem, O as OperationMethods, x as OperationNode, y as OperationObjectNode, z as Owner, P as PathsDictionary, B as PrimitiveJSONValue, R as RandomOperation, D as RelationAttribute, F as RelationItem, S as SearchMappingReq, G as SetValueMapper, H as SourceConfig, T as TargetConfig } from '../entity-mapping.d-B3Vyepok.cjs';
|
|
5
|
+
import 'axios';
|
|
6
|
+
import 'openapi-client-axios';
|
|
7
|
+
|
|
8
|
+
/** Get the cached singleton client (lazy-initialized on first call) */
|
|
9
|
+
declare const getClient: () => Promise<Client>;
|
|
10
|
+
/** Create a fresh client instance (not cached) */
|
|
11
|
+
declare const createClient: () => Promise<Client>;
|
|
12
|
+
/**
|
|
13
|
+
* API handle — also exposes operations directly:
|
|
14
|
+
* `entityMapping.someOperation(...)` calls forwarded to lazy singleton
|
|
15
|
+
*/
|
|
16
|
+
declare const entityMapping: ApiHandle<Client>;
|
|
17
|
+
|
|
18
|
+
export { Client, createClient, entityMapping, getClient };
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
import { A as ApiHandle } from '../types-C5cGIwtq.js';
|
|
2
|
+
export { T as TokenArg, a as authorize } from '../types-C5cGIwtq.js';
|
|
3
|
+
import { C as Client } from '../entity-mapping.d-B3Vyepok.js';
|
|
4
|
+
export { A as AppendValueMapper, a as AttributeOrigin, b as ConditionNode, c as CopyValueMapper, E as Entity, d as EntityRef, e as ExecuteMappingReq, f as ExecuteMappingResp, g as ExecuteRelationsReq, h as ExecuteRelationsResp, J as JourneyRef, L as Loop_Index_String, M as MapCondition, i as MappingAttribute, j as MappingAttributeMode, k as MappingAttributeV2, l as MappingConfig, m as MappingConfigCommonFields, n as MappingConfigV2, o as MappingConfigs, p as MappingConfigsResp, q as MappingFailure, r as MappingHistoryEntry, s as MappingHistoryResp, t as MappingSource, u as MappingSourceProperty, v as MappingSourceTargetType, w as MappingWarning, N as NewRelationItem, O as OperationMethods, x as OperationNode, y as OperationObjectNode, z as Owner, P as PathsDictionary, B as PrimitiveJSONValue, R as RandomOperation, D as RelationAttribute, F as RelationItem, S as SearchMappingReq, G as SetValueMapper, H as SourceConfig, T as TargetConfig } from '../entity-mapping.d-B3Vyepok.js';
|
|
5
|
+
import 'axios';
|
|
6
|
+
import 'openapi-client-axios';
|
|
7
|
+
|
|
8
|
+
/** Get the cached singleton client (lazy-initialized on first call) */
|
|
9
|
+
declare const getClient: () => Promise<Client>;
|
|
10
|
+
/** Create a fresh client instance (not cached) */
|
|
11
|
+
declare const createClient: () => Promise<Client>;
|
|
12
|
+
/**
|
|
13
|
+
* API handle — also exposes operations directly:
|
|
14
|
+
* `entityMapping.someOperation(...)` calls forwarded to lazy singleton
|
|
15
|
+
*/
|
|
16
|
+
declare const entityMapping: ApiHandle<Client>;
|
|
17
|
+
|
|
18
|
+
export { Client, createClient, entityMapping, getClient };
|
|
@@ -0,0 +1,33 @@
|
|
|
1
|
+
import {
|
|
2
|
+
authorize,
|
|
3
|
+
createApiClient,
|
|
4
|
+
createApiHandle
|
|
5
|
+
} from "../chunk-UJTFRZMS.js";
|
|
6
|
+
import "../chunk-3RG5ZIWI.js";
|
|
7
|
+
|
|
8
|
+
// src/apis/entity-mapping.ts
|
|
9
|
+
var loadDefinition = async () => {
|
|
10
|
+
const mod = await import("../entity-mapping-QK7MGNAW.js");
|
|
11
|
+
return mod.default ?? mod;
|
|
12
|
+
};
|
|
13
|
+
var _instance = null;
|
|
14
|
+
var resolve = async () => {
|
|
15
|
+
if (!_instance) {
|
|
16
|
+
const definition = await loadDefinition();
|
|
17
|
+
_instance = createApiClient({ definition });
|
|
18
|
+
}
|
|
19
|
+
return _instance;
|
|
20
|
+
};
|
|
21
|
+
var _handle = createApiHandle({
|
|
22
|
+
resolveClient: resolve,
|
|
23
|
+
loadDefinition
|
|
24
|
+
});
|
|
25
|
+
var getClient = _handle.getClient;
|
|
26
|
+
var createClient = _handle.createClient;
|
|
27
|
+
var entityMapping = _handle;
|
|
28
|
+
export {
|
|
29
|
+
authorize,
|
|
30
|
+
createClient,
|
|
31
|
+
entityMapping,
|
|
32
|
+
getClient
|
|
33
|
+
};
|
|
@@ -0,0 +1,33 @@
|
|
|
1
|
+
"use strict";Object.defineProperty(exports, "__esModule", {value: true}); function _interopRequireWildcard(obj) { if (obj && obj.__esModule) { return obj; } else { var newObj = {}; if (obj != null) { for (var key in obj) { if (Object.prototype.hasOwnProperty.call(obj, key)) { newObj[key] = obj[key]; } } } newObj.default = obj; return newObj; } } function _nullishCoalesce(lhs, rhsFn) { if (lhs != null) { return lhs; } else { return rhsFn(); } }
|
|
2
|
+
|
|
3
|
+
|
|
4
|
+
|
|
5
|
+
var _chunkYLLKMXS3cjs = require('../chunk-YLLKMXS3.cjs');
|
|
6
|
+
require('../chunk-OBGZSXTJ.cjs');
|
|
7
|
+
|
|
8
|
+
// src/apis/entity.ts
|
|
9
|
+
var loadDefinition = async () => {
|
|
10
|
+
const mod = await Promise.resolve().then(() => _interopRequireWildcard(require("../entity-BCFE3UJT.cjs")));
|
|
11
|
+
return _nullishCoalesce(mod.default, () => ( mod));
|
|
12
|
+
};
|
|
13
|
+
var _instance = null;
|
|
14
|
+
var resolve = async () => {
|
|
15
|
+
if (!_instance) {
|
|
16
|
+
const definition = await loadDefinition();
|
|
17
|
+
_instance = _chunkYLLKMXS3cjs.createApiClient.call(void 0, { definition });
|
|
18
|
+
}
|
|
19
|
+
return _instance;
|
|
20
|
+
};
|
|
21
|
+
var _handle = _chunkYLLKMXS3cjs.createApiHandle.call(void 0, {
|
|
22
|
+
resolveClient: resolve,
|
|
23
|
+
loadDefinition
|
|
24
|
+
});
|
|
25
|
+
var getClient = _handle.getClient;
|
|
26
|
+
var createClient = _handle.createClient;
|
|
27
|
+
var entity = _handle;
|
|
28
|
+
|
|
29
|
+
|
|
30
|
+
|
|
31
|
+
|
|
32
|
+
|
|
33
|
+
exports.authorize = _chunkYLLKMXS3cjs.authorize; exports.createClient = createClient; exports.entity = entity; exports.getClient = getClient;
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
import { A as ApiHandle } from '../types-C5cGIwtq.cjs';
|
|
2
|
+
export { T as TokenArg, a as authorize } from '../types-C5cGIwtq.cjs';
|
|
3
|
+
import { C as Client } from '../entity.d-DmER_7q5.cjs';
|
|
4
|
+
export { A as Activity, a as ActivityCallerContext, b as ActivityId, c as ActivityItem, d as ActivityType, e as AddressAttribute, f as AddressRelationAttribute, g as Attribute, h as AttributeWithCompositeID, i as AutomationAttribute, B as BaseActivityItem, j as BaseAttribute, k as BaseEntity, l as BlueprintEntityId, m as BooleanAttribute, n as ClassificationId, o as ClassificationIdOrPattern, p as ClassificationSlug, q as ClassificationsUpdate, r as ComputedAttribute, s as ConsentAttribute, t as CountryAttribute, u as CurrencyAttribute, D as DateAttribute, v as DefaultAddressFields, E as ESClusterAssignment, w as EmailAttribute, x as Entity, y as EntityAcl, z as EntityAction, F as EntityCapability, G as EntityCapabilityWithCompositeID, H as EntityDefaultCreate, I as EntityDefaultEdit, J as EntityDefaultTable, K as EntityId, L as EntityImportParams, M as EntityItem, N as EntityListParams, Q as EntityOperation, R as EntityOwner, S as EntitySchema, T as EntitySchemaGroup, U as EntitySchemaGroupWithCompositeID, V as EntitySchemaItem, W as EntitySearchIncludeDeletedParam, X as EntitySearchOptions, Y as EntitySearchParams, Z as EntitySearchResults, _ as EntitySlug, $ as EntityTableFilterOption, a0 as EntityTableFilterSearch, a1 as EntityValidationError, a2 as EntityValidationResult, a3 as EntityValidationResultError, a4 as EntityValidationResultSuccess, a5 as EntityValidationV2Error, a6 as EntityValidationV2Result, a7 as EntityValidationV2ResultError, a8 as EntityValidationV2ResultSuccess, a9 as EntityViewDisabled, aa as ErrorObject, ab as ExportJobId, ac as FieldsParam, ad as FileAttribute, ae as GenerateEntityTableAIFiltersRequest, af as GenerateEntityTableAIFiltersResponse, ag as GetRelatedEntitiesCount, ah as GetRelationsResp, ai as GetRelationsRespWithPagination, aj as GraphDefinition, ak as GraphEdge, al as GraphNode, am as GraphQueryRequest, an as GraphQueryResponse, ao as GraphSeed, ap as GroupHeadline, aq as GroupHeadlineWithCompositeID, ar as HydratedEntity, as as HydratedEntityItem, at as InternalAttribute, au as InternalUserAttribute, av as InvitationEmailAttribute, aw as IsTemplate, ax as Language, ay as LinkAttribute, az as ListSavedViewsResults, aA as MessageEmailAddressAttribute, aB as MultiSelectAttribute, aC as NullableEntity, aD as NumberAttribute, O as OperationMethods, aE as OrderedListAttribute, aF as PartnerOrganisationAttribute, aG as PartnerStatusAttribute, P as PathsDictionary, aH as PaymentAttribute, aI as PaymentMethodRelationAttribute, aJ as PhoneAttribute, aK as PortalAccessAttribute, aL as PriceComponentAttribute, aM as PurposeAttribute, aN as RedirectEntityView, aO as RelationAttribute, aP as RelationEntity, aQ as RelationItem, aR as RepeatableAttribute, aS as SavedView, aT as SavedViewId, aU as SavedViewItem, aV as SavedViewPartial, aW as SchemaId, aX as SearchFilter, aY as SearchFilterValue, aZ as SearchMappings, a_ as SelectAttribute, a$ as SequenceAttribute, b0 as SettingFlag, b1 as StatusAttribute, b2 as SummaryAttribute, b3 as SummaryField, b4 as TagsAttribute, b5 as Taxonomy, b6 as TaxonomyBulkJob, b7 as TaxonomyBulkJobActionType, b8 as TaxonomyBulkJobStatus, b9 as TaxonomyBulkJobTriggerResponse, ba as TaxonomyClassification, bb as TaxonomyLocationId, bc as TaxonomySearchIncludeArchivedParam, bd as TaxonomySlug, be as TextAttribute, bf as UserRelationAttribute } from '../entity.d-DmER_7q5.cjs';
|
|
5
|
+
import 'axios';
|
|
6
|
+
import 'openapi-client-axios';
|
|
7
|
+
|
|
8
|
+
/** Get the cached singleton client (lazy-initialized on first call) */
|
|
9
|
+
declare const getClient: () => Promise<Client>;
|
|
10
|
+
/** Create a fresh client instance (not cached) */
|
|
11
|
+
declare const createClient: () => Promise<Client>;
|
|
12
|
+
/**
|
|
13
|
+
* API handle — also exposes operations directly:
|
|
14
|
+
* `entity.getEntity(...)` calls forwarded to lazy singleton
|
|
15
|
+
*/
|
|
16
|
+
declare const entity: ApiHandle<Client>;
|
|
17
|
+
|
|
18
|
+
export { Client, createClient, entity, getClient };
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
import { A as ApiHandle } from '../types-C5cGIwtq.js';
|
|
2
|
+
export { T as TokenArg, a as authorize } from '../types-C5cGIwtq.js';
|
|
3
|
+
import { C as Client } from '../entity.d-DmER_7q5.js';
|
|
4
|
+
export { A as Activity, a as ActivityCallerContext, b as ActivityId, c as ActivityItem, d as ActivityType, e as AddressAttribute, f as AddressRelationAttribute, g as Attribute, h as AttributeWithCompositeID, i as AutomationAttribute, B as BaseActivityItem, j as BaseAttribute, k as BaseEntity, l as BlueprintEntityId, m as BooleanAttribute, n as ClassificationId, o as ClassificationIdOrPattern, p as ClassificationSlug, q as ClassificationsUpdate, r as ComputedAttribute, s as ConsentAttribute, t as CountryAttribute, u as CurrencyAttribute, D as DateAttribute, v as DefaultAddressFields, E as ESClusterAssignment, w as EmailAttribute, x as Entity, y as EntityAcl, z as EntityAction, F as EntityCapability, G as EntityCapabilityWithCompositeID, H as EntityDefaultCreate, I as EntityDefaultEdit, J as EntityDefaultTable, K as EntityId, L as EntityImportParams, M as EntityItem, N as EntityListParams, Q as EntityOperation, R as EntityOwner, S as EntitySchema, T as EntitySchemaGroup, U as EntitySchemaGroupWithCompositeID, V as EntitySchemaItem, W as EntitySearchIncludeDeletedParam, X as EntitySearchOptions, Y as EntitySearchParams, Z as EntitySearchResults, _ as EntitySlug, $ as EntityTableFilterOption, a0 as EntityTableFilterSearch, a1 as EntityValidationError, a2 as EntityValidationResult, a3 as EntityValidationResultError, a4 as EntityValidationResultSuccess, a5 as EntityValidationV2Error, a6 as EntityValidationV2Result, a7 as EntityValidationV2ResultError, a8 as EntityValidationV2ResultSuccess, a9 as EntityViewDisabled, aa as ErrorObject, ab as ExportJobId, ac as FieldsParam, ad as FileAttribute, ae as GenerateEntityTableAIFiltersRequest, af as GenerateEntityTableAIFiltersResponse, ag as GetRelatedEntitiesCount, ah as GetRelationsResp, ai as GetRelationsRespWithPagination, aj as GraphDefinition, ak as GraphEdge, al as GraphNode, am as GraphQueryRequest, an as GraphQueryResponse, ao as GraphSeed, ap as GroupHeadline, aq as GroupHeadlineWithCompositeID, ar as HydratedEntity, as as HydratedEntityItem, at as InternalAttribute, au as InternalUserAttribute, av as InvitationEmailAttribute, aw as IsTemplate, ax as Language, ay as LinkAttribute, az as ListSavedViewsResults, aA as MessageEmailAddressAttribute, aB as MultiSelectAttribute, aC as NullableEntity, aD as NumberAttribute, O as OperationMethods, aE as OrderedListAttribute, aF as PartnerOrganisationAttribute, aG as PartnerStatusAttribute, P as PathsDictionary, aH as PaymentAttribute, aI as PaymentMethodRelationAttribute, aJ as PhoneAttribute, aK as PortalAccessAttribute, aL as PriceComponentAttribute, aM as PurposeAttribute, aN as RedirectEntityView, aO as RelationAttribute, aP as RelationEntity, aQ as RelationItem, aR as RepeatableAttribute, aS as SavedView, aT as SavedViewId, aU as SavedViewItem, aV as SavedViewPartial, aW as SchemaId, aX as SearchFilter, aY as SearchFilterValue, aZ as SearchMappings, a_ as SelectAttribute, a$ as SequenceAttribute, b0 as SettingFlag, b1 as StatusAttribute, b2 as SummaryAttribute, b3 as SummaryField, b4 as TagsAttribute, b5 as Taxonomy, b6 as TaxonomyBulkJob, b7 as TaxonomyBulkJobActionType, b8 as TaxonomyBulkJobStatus, b9 as TaxonomyBulkJobTriggerResponse, ba as TaxonomyClassification, bb as TaxonomyLocationId, bc as TaxonomySearchIncludeArchivedParam, bd as TaxonomySlug, be as TextAttribute, bf as UserRelationAttribute } from '../entity.d-DmER_7q5.js';
|
|
5
|
+
import 'axios';
|
|
6
|
+
import 'openapi-client-axios';
|
|
7
|
+
|
|
8
|
+
/** Get the cached singleton client (lazy-initialized on first call) */
|
|
9
|
+
declare const getClient: () => Promise<Client>;
|
|
10
|
+
/** Create a fresh client instance (not cached) */
|
|
11
|
+
declare const createClient: () => Promise<Client>;
|
|
12
|
+
/**
|
|
13
|
+
* API handle — also exposes operations directly:
|
|
14
|
+
* `entity.getEntity(...)` calls forwarded to lazy singleton
|
|
15
|
+
*/
|
|
16
|
+
declare const entity: ApiHandle<Client>;
|
|
17
|
+
|
|
18
|
+
export { Client, createClient, entity, getClient };
|
|
@@ -0,0 +1,33 @@
|
|
|
1
|
+
import {
|
|
2
|
+
authorize,
|
|
3
|
+
createApiClient,
|
|
4
|
+
createApiHandle
|
|
5
|
+
} from "../chunk-UJTFRZMS.js";
|
|
6
|
+
import "../chunk-3RG5ZIWI.js";
|
|
7
|
+
|
|
8
|
+
// src/apis/entity.ts
|
|
9
|
+
var loadDefinition = async () => {
|
|
10
|
+
const mod = await import("../entity-VEXNQC4Y.js");
|
|
11
|
+
return mod.default ?? mod;
|
|
12
|
+
};
|
|
13
|
+
var _instance = null;
|
|
14
|
+
var resolve = async () => {
|
|
15
|
+
if (!_instance) {
|
|
16
|
+
const definition = await loadDefinition();
|
|
17
|
+
_instance = createApiClient({ definition });
|
|
18
|
+
}
|
|
19
|
+
return _instance;
|
|
20
|
+
};
|
|
21
|
+
var _handle = createApiHandle({
|
|
22
|
+
resolveClient: resolve,
|
|
23
|
+
loadDefinition
|
|
24
|
+
});
|
|
25
|
+
var getClient = _handle.getClient;
|
|
26
|
+
var createClient = _handle.createClient;
|
|
27
|
+
var entity = _handle;
|
|
28
|
+
export {
|
|
29
|
+
authorize,
|
|
30
|
+
createClient,
|
|
31
|
+
entity,
|
|
32
|
+
getClient
|
|
33
|
+
};
|
|
@@ -0,0 +1,33 @@
|
|
|
1
|
+
"use strict";Object.defineProperty(exports, "__esModule", {value: true}); function _interopRequireWildcard(obj) { if (obj && obj.__esModule) { return obj; } else { var newObj = {}; if (obj != null) { for (var key in obj) { if (Object.prototype.hasOwnProperty.call(obj, key)) { newObj[key] = obj[key]; } } } newObj.default = obj; return newObj; } } function _nullishCoalesce(lhs, rhsFn) { if (lhs != null) { return lhs; } else { return rhsFn(); } }
|
|
2
|
+
|
|
3
|
+
|
|
4
|
+
|
|
5
|
+
var _chunkYLLKMXS3cjs = require('../chunk-YLLKMXS3.cjs');
|
|
6
|
+
require('../chunk-OBGZSXTJ.cjs');
|
|
7
|
+
|
|
8
|
+
// src/apis/environments.ts
|
|
9
|
+
var loadDefinition = async () => {
|
|
10
|
+
const mod = await Promise.resolve().then(() => _interopRequireWildcard(require("../environments-266S44UM.cjs")));
|
|
11
|
+
return _nullishCoalesce(mod.default, () => ( mod));
|
|
12
|
+
};
|
|
13
|
+
var _instance = null;
|
|
14
|
+
var resolve = async () => {
|
|
15
|
+
if (!_instance) {
|
|
16
|
+
const definition = await loadDefinition();
|
|
17
|
+
_instance = _chunkYLLKMXS3cjs.createApiClient.call(void 0, { definition });
|
|
18
|
+
}
|
|
19
|
+
return _instance;
|
|
20
|
+
};
|
|
21
|
+
var _handle = _chunkYLLKMXS3cjs.createApiHandle.call(void 0, {
|
|
22
|
+
resolveClient: resolve,
|
|
23
|
+
loadDefinition
|
|
24
|
+
});
|
|
25
|
+
var getClient = _handle.getClient;
|
|
26
|
+
var createClient = _handle.createClient;
|
|
27
|
+
var environments = _handle;
|
|
28
|
+
|
|
29
|
+
|
|
30
|
+
|
|
31
|
+
|
|
32
|
+
|
|
33
|
+
exports.authorize = _chunkYLLKMXS3cjs.authorize; exports.createClient = createClient; exports.environments = environments; exports.getClient = getClient;
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
import { A as ApiHandle } from '../types-C5cGIwtq.cjs';
|
|
2
|
+
export { T as TokenArg, a as authorize } from '../types-C5cGIwtq.cjs';
|
|
3
|
+
import { C as Client } from '../environments.d-CpILpSNF.cjs';
|
|
4
|
+
export { E as EnvironmentValueType, a as EnvironmentVariable, b as EnvironmentVariableCreateRequest, c as EnvironmentVariableList, d as EnvironmentVariableListItem, e as EnvironmentVariableUpdateRequest, O as OperationMethods, P as PathsDictionary } from '../environments.d-CpILpSNF.cjs';
|
|
5
|
+
import 'axios';
|
|
6
|
+
import 'openapi-client-axios';
|
|
7
|
+
|
|
8
|
+
/** Get the cached singleton client (lazy-initialized on first call) */
|
|
9
|
+
declare const getClient: () => Promise<Client>;
|
|
10
|
+
/** Create a fresh client instance (not cached) */
|
|
11
|
+
declare const createClient: () => Promise<Client>;
|
|
12
|
+
/**
|
|
13
|
+
* API handle — also exposes operations directly:
|
|
14
|
+
* `environments.someOperation(...)` calls forwarded to lazy singleton
|
|
15
|
+
*/
|
|
16
|
+
declare const environments: ApiHandle<Client>;
|
|
17
|
+
|
|
18
|
+
export { Client, createClient, environments, getClient };
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
import { A as ApiHandle } from '../types-C5cGIwtq.js';
|
|
2
|
+
export { T as TokenArg, a as authorize } from '../types-C5cGIwtq.js';
|
|
3
|
+
import { C as Client } from '../environments.d-CpILpSNF.js';
|
|
4
|
+
export { E as EnvironmentValueType, a as EnvironmentVariable, b as EnvironmentVariableCreateRequest, c as EnvironmentVariableList, d as EnvironmentVariableListItem, e as EnvironmentVariableUpdateRequest, O as OperationMethods, P as PathsDictionary } from '../environments.d-CpILpSNF.js';
|
|
5
|
+
import 'axios';
|
|
6
|
+
import 'openapi-client-axios';
|
|
7
|
+
|
|
8
|
+
/** Get the cached singleton client (lazy-initialized on first call) */
|
|
9
|
+
declare const getClient: () => Promise<Client>;
|
|
10
|
+
/** Create a fresh client instance (not cached) */
|
|
11
|
+
declare const createClient: () => Promise<Client>;
|
|
12
|
+
/**
|
|
13
|
+
* API handle — also exposes operations directly:
|
|
14
|
+
* `environments.someOperation(...)` calls forwarded to lazy singleton
|
|
15
|
+
*/
|
|
16
|
+
declare const environments: ApiHandle<Client>;
|
|
17
|
+
|
|
18
|
+
export { Client, createClient, environments, getClient };
|
|
@@ -0,0 +1,33 @@
|
|
|
1
|
+
import {
|
|
2
|
+
authorize,
|
|
3
|
+
createApiClient,
|
|
4
|
+
createApiHandle
|
|
5
|
+
} from "../chunk-UJTFRZMS.js";
|
|
6
|
+
import "../chunk-3RG5ZIWI.js";
|
|
7
|
+
|
|
8
|
+
// src/apis/environments.ts
|
|
9
|
+
var loadDefinition = async () => {
|
|
10
|
+
const mod = await import("../environments-AV7W6SLT.js");
|
|
11
|
+
return mod.default ?? mod;
|
|
12
|
+
};
|
|
13
|
+
var _instance = null;
|
|
14
|
+
var resolve = async () => {
|
|
15
|
+
if (!_instance) {
|
|
16
|
+
const definition = await loadDefinition();
|
|
17
|
+
_instance = createApiClient({ definition });
|
|
18
|
+
}
|
|
19
|
+
return _instance;
|
|
20
|
+
};
|
|
21
|
+
var _handle = createApiHandle({
|
|
22
|
+
resolveClient: resolve,
|
|
23
|
+
loadDefinition
|
|
24
|
+
});
|
|
25
|
+
var getClient = _handle.getClient;
|
|
26
|
+
var createClient = _handle.createClient;
|
|
27
|
+
var environments = _handle;
|
|
28
|
+
export {
|
|
29
|
+
authorize,
|
|
30
|
+
createClient,
|
|
31
|
+
environments,
|
|
32
|
+
getClient
|
|
33
|
+
};
|
|
@@ -0,0 +1,33 @@
|
|
|
1
|
+
"use strict";Object.defineProperty(exports, "__esModule", {value: true}); function _interopRequireWildcard(obj) { if (obj && obj.__esModule) { return obj; } else { var newObj = {}; if (obj != null) { for (var key in obj) { if (Object.prototype.hasOwnProperty.call(obj, key)) { newObj[key] = obj[key]; } } } newObj.default = obj; return newObj; } } function _nullishCoalesce(lhs, rhsFn) { if (lhs != null) { return lhs; } else { return rhsFn(); } }
|
|
2
|
+
|
|
3
|
+
|
|
4
|
+
|
|
5
|
+
var _chunkYLLKMXS3cjs = require('../chunk-YLLKMXS3.cjs');
|
|
6
|
+
require('../chunk-OBGZSXTJ.cjs');
|
|
7
|
+
|
|
8
|
+
// src/apis/erp-integration.ts
|
|
9
|
+
var loadDefinition = async () => {
|
|
10
|
+
const mod = await Promise.resolve().then(() => _interopRequireWildcard(require("../erp-integration-5WNBCGWS.cjs")));
|
|
11
|
+
return _nullishCoalesce(mod.default, () => ( mod));
|
|
12
|
+
};
|
|
13
|
+
var _instance = null;
|
|
14
|
+
var resolve = async () => {
|
|
15
|
+
if (!_instance) {
|
|
16
|
+
const definition = await loadDefinition();
|
|
17
|
+
_instance = _chunkYLLKMXS3cjs.createApiClient.call(void 0, { definition });
|
|
18
|
+
}
|
|
19
|
+
return _instance;
|
|
20
|
+
};
|
|
21
|
+
var _handle = _chunkYLLKMXS3cjs.createApiHandle.call(void 0, {
|
|
22
|
+
resolveClient: resolve,
|
|
23
|
+
loadDefinition
|
|
24
|
+
});
|
|
25
|
+
var getClient = _handle.getClient;
|
|
26
|
+
var createClient = _handle.createClient;
|
|
27
|
+
var erpIntegration = _handle;
|
|
28
|
+
|
|
29
|
+
|
|
30
|
+
|
|
31
|
+
|
|
32
|
+
|
|
33
|
+
exports.authorize = _chunkYLLKMXS3cjs.authorize; exports.createClient = createClient; exports.erpIntegration = erpIntegration; exports.getClient = getClient;
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
import { A as ApiHandle } from '../types-C5cGIwtq.cjs';
|
|
2
|
+
export { T as TokenArg, a as authorize } from '../types-C5cGIwtq.cjs';
|
|
3
|
+
import { C as Client } from '../erp-integration.d-DmxUZOUQ.cjs';
|
|
4
|
+
export { A as AccessLogEntry, a as AutoRefreshSettings, b as CreateFileProxyUseCaseRequest, c as CreateInboundUseCaseRequest, d as CreateIntegrationRequest, e as CreateOutboundUseCaseRequest, f as CreateUseCaseRequest, g as CreateUseCaseRequestBase, D as DeleteIntegrationAppMappingRequest, h as DeliveryConfig, E as EmbeddedInboundUseCaseRequest, i as EmbeddedOutboundUseCaseRequest, j as EmbeddedUseCaseRequest, k as EmbeddedUseCaseRequestBase, l as EntityUpdate, m as EnvironmentFieldConfig, n as ErpEvent, o as ErpEventV3, p as ErpUpdatesEventsV2Request, q as ErpUpdatesEventsV3Request, r as ErrorResponseBase, F as FileProxyAuth, s as FileProxyParam, t as FileProxyResponseConfig, u as FileProxyStep, v as FileProxyUrlConfig, w as FileProxyUrlParam, x as FileProxyUrlParams, y as FileProxyUseCase, z as FileProxyUseCaseConfiguration, B as FileProxyUseCaseHistoryEntry, G as GetMonitoringStatsRequest, H as GetMonitoringTimeSeriesRequest, I as InboundIntegrationEventConfiguration, J as InboundMonitoringEvent, K as InboundUseCase, L as InboundUseCaseHistoryEntry, M as Integration, N as IntegrationAppMapping, Q as IntegrationConfigurationV1, R as IntegrationConfigurationV2, S as IntegrationEditableFields, T as IntegrationEntity, U as IntegrationEntityField, V as IntegrationFieldV1, W as IntegrationMeterReading, X as IntegrationObjectV1, Y as IntegrationSettings, Z as IntegrationWithUseCases, _ as MappingSimulationRequest, $ as MappingSimulationResponse, a0 as MappingSimulationV2Request, a1 as MappingSimulationWarning, a2 as MeterReadingPruneScopeConfig, a3 as MeterReadingUpdate, a4 as MeterUniqueIdsConfig, a5 as MonitoringStats, O as OperationMethods, a6 as OutboundConflict, a7 as OutboundIntegrationEventConfiguration, a8 as OutboundMapping, a9 as OutboundMonitoringEvent, aa as OutboundStatusResponse, ab as OutboundUseCase, ac as OutboundUseCaseHistoryEntry, ad as OutboundUseCaseStatus, P as PathsDictionary, ae as PruneScopeConfig, af as QueryAccessLogsRequest, ag as QueryEventsRequest, ah as QueryInboundMonitoringEventsRequest, ai as QueryOutboundMonitoringEventsRequest, aj as RelationConfig, ak as RelationItemConfig, al as RelationRefItemConfig, am as RelationRefValueConfig, an as RelationRefsConfig, ao as RelationUniqueIdField, ap as RepeatableFieldType, aq as ReplayEventsRequest, ar as SetIntegrationAppMappingRequest, as as TimeSeriesBucket, at as TriggerErpActionRequest, au as TriggerWebhookResp, av as UpdateFileProxyUseCaseRequest, aw as UpdateInboundUseCaseRequest, ax as UpdateIntegrationRequest, ay as UpdateOutboundUseCaseRequest, az as UpdateUseCaseRequest, aA as UpdateUseCaseRequestBase, aB as UpsertIntegrationWithUseCasesRequest, aC as UseCase, aD as UseCaseBase, aE as UseCaseHistoryEntry, aF as UseCaseHistoryEntryBase, aG as WebhookStatus } from '../erp-integration.d-DmxUZOUQ.cjs';
|
|
5
|
+
import 'axios';
|
|
6
|
+
import 'openapi-client-axios';
|
|
7
|
+
|
|
8
|
+
/** Get the cached singleton client (lazy-initialized on first call) */
|
|
9
|
+
declare const getClient: () => Promise<Client>;
|
|
10
|
+
/** Create a fresh client instance (not cached) */
|
|
11
|
+
declare const createClient: () => Promise<Client>;
|
|
12
|
+
/**
|
|
13
|
+
* API handle — also exposes operations directly:
|
|
14
|
+
* `erpIntegration.someOperation(...)` calls forwarded to lazy singleton
|
|
15
|
+
*/
|
|
16
|
+
declare const erpIntegration: ApiHandle<Client>;
|
|
17
|
+
|
|
18
|
+
export { Client, createClient, erpIntegration, getClient };
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
import { A as ApiHandle } from '../types-C5cGIwtq.js';
|
|
2
|
+
export { T as TokenArg, a as authorize } from '../types-C5cGIwtq.js';
|
|
3
|
+
import { C as Client } from '../erp-integration.d-DmxUZOUQ.js';
|
|
4
|
+
export { A as AccessLogEntry, a as AutoRefreshSettings, b as CreateFileProxyUseCaseRequest, c as CreateInboundUseCaseRequest, d as CreateIntegrationRequest, e as CreateOutboundUseCaseRequest, f as CreateUseCaseRequest, g as CreateUseCaseRequestBase, D as DeleteIntegrationAppMappingRequest, h as DeliveryConfig, E as EmbeddedInboundUseCaseRequest, i as EmbeddedOutboundUseCaseRequest, j as EmbeddedUseCaseRequest, k as EmbeddedUseCaseRequestBase, l as EntityUpdate, m as EnvironmentFieldConfig, n as ErpEvent, o as ErpEventV3, p as ErpUpdatesEventsV2Request, q as ErpUpdatesEventsV3Request, r as ErrorResponseBase, F as FileProxyAuth, s as FileProxyParam, t as FileProxyResponseConfig, u as FileProxyStep, v as FileProxyUrlConfig, w as FileProxyUrlParam, x as FileProxyUrlParams, y as FileProxyUseCase, z as FileProxyUseCaseConfiguration, B as FileProxyUseCaseHistoryEntry, G as GetMonitoringStatsRequest, H as GetMonitoringTimeSeriesRequest, I as InboundIntegrationEventConfiguration, J as InboundMonitoringEvent, K as InboundUseCase, L as InboundUseCaseHistoryEntry, M as Integration, N as IntegrationAppMapping, Q as IntegrationConfigurationV1, R as IntegrationConfigurationV2, S as IntegrationEditableFields, T as IntegrationEntity, U as IntegrationEntityField, V as IntegrationFieldV1, W as IntegrationMeterReading, X as IntegrationObjectV1, Y as IntegrationSettings, Z as IntegrationWithUseCases, _ as MappingSimulationRequest, $ as MappingSimulationResponse, a0 as MappingSimulationV2Request, a1 as MappingSimulationWarning, a2 as MeterReadingPruneScopeConfig, a3 as MeterReadingUpdate, a4 as MeterUniqueIdsConfig, a5 as MonitoringStats, O as OperationMethods, a6 as OutboundConflict, a7 as OutboundIntegrationEventConfiguration, a8 as OutboundMapping, a9 as OutboundMonitoringEvent, aa as OutboundStatusResponse, ab as OutboundUseCase, ac as OutboundUseCaseHistoryEntry, ad as OutboundUseCaseStatus, P as PathsDictionary, ae as PruneScopeConfig, af as QueryAccessLogsRequest, ag as QueryEventsRequest, ah as QueryInboundMonitoringEventsRequest, ai as QueryOutboundMonitoringEventsRequest, aj as RelationConfig, ak as RelationItemConfig, al as RelationRefItemConfig, am as RelationRefValueConfig, an as RelationRefsConfig, ao as RelationUniqueIdField, ap as RepeatableFieldType, aq as ReplayEventsRequest, ar as SetIntegrationAppMappingRequest, as as TimeSeriesBucket, at as TriggerErpActionRequest, au as TriggerWebhookResp, av as UpdateFileProxyUseCaseRequest, aw as UpdateInboundUseCaseRequest, ax as UpdateIntegrationRequest, ay as UpdateOutboundUseCaseRequest, az as UpdateUseCaseRequest, aA as UpdateUseCaseRequestBase, aB as UpsertIntegrationWithUseCasesRequest, aC as UseCase, aD as UseCaseBase, aE as UseCaseHistoryEntry, aF as UseCaseHistoryEntryBase, aG as WebhookStatus } from '../erp-integration.d-DmxUZOUQ.js';
|
|
5
|
+
import 'axios';
|
|
6
|
+
import 'openapi-client-axios';
|
|
7
|
+
|
|
8
|
+
/** Get the cached singleton client (lazy-initialized on first call) */
|
|
9
|
+
declare const getClient: () => Promise<Client>;
|
|
10
|
+
/** Create a fresh client instance (not cached) */
|
|
11
|
+
declare const createClient: () => Promise<Client>;
|
|
12
|
+
/**
|
|
13
|
+
* API handle — also exposes operations directly:
|
|
14
|
+
* `erpIntegration.someOperation(...)` calls forwarded to lazy singleton
|
|
15
|
+
*/
|
|
16
|
+
declare const erpIntegration: ApiHandle<Client>;
|
|
17
|
+
|
|
18
|
+
export { Client, createClient, erpIntegration, getClient };
|
|
@@ -0,0 +1,33 @@
|
|
|
1
|
+
import {
|
|
2
|
+
authorize,
|
|
3
|
+
createApiClient,
|
|
4
|
+
createApiHandle
|
|
5
|
+
} from "../chunk-UJTFRZMS.js";
|
|
6
|
+
import "../chunk-3RG5ZIWI.js";
|
|
7
|
+
|
|
8
|
+
// src/apis/erp-integration.ts
|
|
9
|
+
var loadDefinition = async () => {
|
|
10
|
+
const mod = await import("../erp-integration-EMI5WIWA.js");
|
|
11
|
+
return mod.default ?? mod;
|
|
12
|
+
};
|
|
13
|
+
var _instance = null;
|
|
14
|
+
var resolve = async () => {
|
|
15
|
+
if (!_instance) {
|
|
16
|
+
const definition = await loadDefinition();
|
|
17
|
+
_instance = createApiClient({ definition });
|
|
18
|
+
}
|
|
19
|
+
return _instance;
|
|
20
|
+
};
|
|
21
|
+
var _handle = createApiHandle({
|
|
22
|
+
resolveClient: resolve,
|
|
23
|
+
loadDefinition
|
|
24
|
+
});
|
|
25
|
+
var getClient = _handle.getClient;
|
|
26
|
+
var createClient = _handle.createClient;
|
|
27
|
+
var erpIntegration = _handle;
|
|
28
|
+
export {
|
|
29
|
+
authorize,
|
|
30
|
+
createClient,
|
|
31
|
+
erpIntegration,
|
|
32
|
+
getClient
|
|
33
|
+
};
|
|
@@ -0,0 +1,33 @@
|
|
|
1
|
+
"use strict";Object.defineProperty(exports, "__esModule", {value: true}); function _interopRequireWildcard(obj) { if (obj && obj.__esModule) { return obj; } else { var newObj = {}; if (obj != null) { for (var key in obj) { if (Object.prototype.hasOwnProperty.call(obj, key)) { newObj[key] = obj[key]; } } } newObj.default = obj; return newObj; } } function _nullishCoalesce(lhs, rhsFn) { if (lhs != null) { return lhs; } else { return rhsFn(); } }
|
|
2
|
+
|
|
3
|
+
|
|
4
|
+
|
|
5
|
+
var _chunkYLLKMXS3cjs = require('../chunk-YLLKMXS3.cjs');
|
|
6
|
+
require('../chunk-OBGZSXTJ.cjs');
|
|
7
|
+
|
|
8
|
+
// src/apis/event-catalog.ts
|
|
9
|
+
var loadDefinition = async () => {
|
|
10
|
+
const mod = await Promise.resolve().then(() => _interopRequireWildcard(require("../event-catalog-DBWYKQ6J.cjs")));
|
|
11
|
+
return _nullishCoalesce(mod.default, () => ( mod));
|
|
12
|
+
};
|
|
13
|
+
var _instance = null;
|
|
14
|
+
var resolve = async () => {
|
|
15
|
+
if (!_instance) {
|
|
16
|
+
const definition = await loadDefinition();
|
|
17
|
+
_instance = _chunkYLLKMXS3cjs.createApiClient.call(void 0, { definition });
|
|
18
|
+
}
|
|
19
|
+
return _instance;
|
|
20
|
+
};
|
|
21
|
+
var _handle = _chunkYLLKMXS3cjs.createApiHandle.call(void 0, {
|
|
22
|
+
resolveClient: resolve,
|
|
23
|
+
loadDefinition
|
|
24
|
+
});
|
|
25
|
+
var getClient = _handle.getClient;
|
|
26
|
+
var createClient = _handle.createClient;
|
|
27
|
+
var eventCatalog = _handle;
|
|
28
|
+
|
|
29
|
+
|
|
30
|
+
|
|
31
|
+
|
|
32
|
+
|
|
33
|
+
exports.authorize = _chunkYLLKMXS3cjs.authorize; exports.createClient = createClient; exports.eventCatalog = eventCatalog; exports.getClient = getClient;
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
import { A as ApiHandle } from '../types-C5cGIwtq.cjs';
|
|
2
|
+
export { T as TokenArg, a as authorize } from '../types-C5cGIwtq.cjs';
|
|
3
|
+
import { C as Client } from '../event-catalog.d-B2tq20gn.cjs';
|
|
4
|
+
export { a as CommonEventMetadata, b as ContextEntity, E as EntityOperationTrigger, c as Event, d as EventConfig, e as EventConfigBase, f as EventJsonSchema, F as FieldsParam, G as GraphDefinition, g as GraphEdge, h as GraphNode, O as OperationMethods, P as PathsDictionary, i as PrimitiveField, S as SchemaField, j as SearchOptions, T as TriggerEventPayload, k as TriggerEventResponse, U as UpdateEventPayload } from '../event-catalog.d-B2tq20gn.cjs';
|
|
5
|
+
import 'axios';
|
|
6
|
+
import 'openapi-client-axios';
|
|
7
|
+
|
|
8
|
+
/** Get the cached singleton client (lazy-initialized on first call) */
|
|
9
|
+
declare const getClient: () => Promise<Client>;
|
|
10
|
+
/** Create a fresh client instance (not cached) */
|
|
11
|
+
declare const createClient: () => Promise<Client>;
|
|
12
|
+
/**
|
|
13
|
+
* API handle — also exposes operations directly:
|
|
14
|
+
* `eventCatalog.someOperation(...)` calls forwarded to lazy singleton
|
|
15
|
+
*/
|
|
16
|
+
declare const eventCatalog: ApiHandle<Client>;
|
|
17
|
+
|
|
18
|
+
export { Client, createClient, eventCatalog, getClient };
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
import { A as ApiHandle } from '../types-C5cGIwtq.js';
|
|
2
|
+
export { T as TokenArg, a as authorize } from '../types-C5cGIwtq.js';
|
|
3
|
+
import { C as Client } from '../event-catalog.d-B2tq20gn.js';
|
|
4
|
+
export { a as CommonEventMetadata, b as ContextEntity, E as EntityOperationTrigger, c as Event, d as EventConfig, e as EventConfigBase, f as EventJsonSchema, F as FieldsParam, G as GraphDefinition, g as GraphEdge, h as GraphNode, O as OperationMethods, P as PathsDictionary, i as PrimitiveField, S as SchemaField, j as SearchOptions, T as TriggerEventPayload, k as TriggerEventResponse, U as UpdateEventPayload } from '../event-catalog.d-B2tq20gn.js';
|
|
5
|
+
import 'axios';
|
|
6
|
+
import 'openapi-client-axios';
|
|
7
|
+
|
|
8
|
+
/** Get the cached singleton client (lazy-initialized on first call) */
|
|
9
|
+
declare const getClient: () => Promise<Client>;
|
|
10
|
+
/** Create a fresh client instance (not cached) */
|
|
11
|
+
declare const createClient: () => Promise<Client>;
|
|
12
|
+
/**
|
|
13
|
+
* API handle — also exposes operations directly:
|
|
14
|
+
* `eventCatalog.someOperation(...)` calls forwarded to lazy singleton
|
|
15
|
+
*/
|
|
16
|
+
declare const eventCatalog: ApiHandle<Client>;
|
|
17
|
+
|
|
18
|
+
export { Client, createClient, eventCatalog, getClient };
|
|
@@ -0,0 +1,33 @@
|
|
|
1
|
+
import {
|
|
2
|
+
authorize,
|
|
3
|
+
createApiClient,
|
|
4
|
+
createApiHandle
|
|
5
|
+
} from "../chunk-UJTFRZMS.js";
|
|
6
|
+
import "../chunk-3RG5ZIWI.js";
|
|
7
|
+
|
|
8
|
+
// src/apis/event-catalog.ts
|
|
9
|
+
var loadDefinition = async () => {
|
|
10
|
+
const mod = await import("../event-catalog-KKMXV5LB.js");
|
|
11
|
+
return mod.default ?? mod;
|
|
12
|
+
};
|
|
13
|
+
var _instance = null;
|
|
14
|
+
var resolve = async () => {
|
|
15
|
+
if (!_instance) {
|
|
16
|
+
const definition = await loadDefinition();
|
|
17
|
+
_instance = createApiClient({ definition });
|
|
18
|
+
}
|
|
19
|
+
return _instance;
|
|
20
|
+
};
|
|
21
|
+
var _handle = createApiHandle({
|
|
22
|
+
resolveClient: resolve,
|
|
23
|
+
loadDefinition
|
|
24
|
+
});
|
|
25
|
+
var getClient = _handle.getClient;
|
|
26
|
+
var createClient = _handle.createClient;
|
|
27
|
+
var eventCatalog = _handle;
|
|
28
|
+
export {
|
|
29
|
+
authorize,
|
|
30
|
+
createClient,
|
|
31
|
+
eventCatalog,
|
|
32
|
+
getClient
|
|
33
|
+
};
|
|
@@ -0,0 +1,33 @@
|
|
|
1
|
+
"use strict";Object.defineProperty(exports, "__esModule", {value: true}); function _interopRequireWildcard(obj) { if (obj && obj.__esModule) { return obj; } else { var newObj = {}; if (obj != null) { for (var key in obj) { if (Object.prototype.hasOwnProperty.call(obj, key)) { newObj[key] = obj[key]; } } } newObj.default = obj; return newObj; } } function _nullishCoalesce(lhs, rhsFn) { if (lhs != null) { return lhs; } else { return rhsFn(); } }
|
|
2
|
+
|
|
3
|
+
|
|
4
|
+
|
|
5
|
+
var _chunkYLLKMXS3cjs = require('../chunk-YLLKMXS3.cjs');
|
|
6
|
+
require('../chunk-OBGZSXTJ.cjs');
|
|
7
|
+
|
|
8
|
+
// src/apis/file.ts
|
|
9
|
+
var loadDefinition = async () => {
|
|
10
|
+
const mod = await Promise.resolve().then(() => _interopRequireWildcard(require("../file-Q66N5XMG.cjs")));
|
|
11
|
+
return _nullishCoalesce(mod.default, () => ( mod));
|
|
12
|
+
};
|
|
13
|
+
var _instance = null;
|
|
14
|
+
var resolve = async () => {
|
|
15
|
+
if (!_instance) {
|
|
16
|
+
const definition = await loadDefinition();
|
|
17
|
+
_instance = _chunkYLLKMXS3cjs.createApiClient.call(void 0, { definition });
|
|
18
|
+
}
|
|
19
|
+
return _instance;
|
|
20
|
+
};
|
|
21
|
+
var _handle = _chunkYLLKMXS3cjs.createApiHandle.call(void 0, {
|
|
22
|
+
resolveClient: resolve,
|
|
23
|
+
loadDefinition
|
|
24
|
+
});
|
|
25
|
+
var getClient = _handle.getClient;
|
|
26
|
+
var createClient = _handle.createClient;
|
|
27
|
+
var file = _handle;
|
|
28
|
+
|
|
29
|
+
|
|
30
|
+
|
|
31
|
+
|
|
32
|
+
|
|
33
|
+
exports.authorize = _chunkYLLKMXS3cjs.authorize; exports.createClient = createClient; exports.file = file; exports.getClient = getClient;
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
import { A as ApiHandle } from '../types-C5cGIwtq.cjs';
|
|
2
|
+
export { T as TokenArg, a as authorize } from '../types-C5cGIwtq.cjs';
|
|
3
|
+
import { C as Client } from '../file.d-Bi0EZkNu.cjs';
|
|
4
|
+
export { A as ActivityId, B as BaseEntityAcl, a as BaseEntityOwner, b as BatchSaveFileVersionPayload, c as CommonSaveFilePayload, d as CustomDownloadUrl, D as DownloadFilesPayload, E as EntityId, e as EntitySlug, f as ErrorObject, F as FileAttributes, g as FileCollectionAttributes, h as FileCollectionCreateRequest, i as FileCollectionId, j as FileCollectionItem, k as FileEntity, l as FileEntityId, m as FileItem, n as FileRelationItem, o as FileType, p as FileUpload, O as OperationMethods, P as PathsDictionary, q as PublicLink, S as S3Ref, r as S3Reference, s as SaveCustomFilePayload, t as SaveFileFromSourceURLPayload, u as SaveFilePayload, v as SaveFilePayloadV2, w as SaveS3FilePayload, U as UploadFilePayload, V as VerifyCustomDownloadUrlPayload } from '../file.d-Bi0EZkNu.cjs';
|
|
5
|
+
import 'axios';
|
|
6
|
+
import 'openapi-client-axios';
|
|
7
|
+
|
|
8
|
+
/** Get the cached singleton client (lazy-initialized on first call) */
|
|
9
|
+
declare const getClient: () => Promise<Client>;
|
|
10
|
+
/** Create a fresh client instance (not cached) */
|
|
11
|
+
declare const createClient: () => Promise<Client>;
|
|
12
|
+
/**
|
|
13
|
+
* API handle — also exposes operations directly:
|
|
14
|
+
* `file.someOperation(...)` calls forwarded to lazy singleton
|
|
15
|
+
*/
|
|
16
|
+
declare const file: ApiHandle<Client>;
|
|
17
|
+
|
|
18
|
+
export { Client, createClient, file, getClient };
|