@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,373 @@
|
|
|
1
|
+
import { OpenAPIClient, Parameters, UnknownParamsObject, AxiosRequestConfig, OperationResponse } from 'openapi-client-axios';
|
|
2
|
+
|
|
3
|
+
/* eslint-disable */
|
|
4
|
+
/* Auto-copied from purpose-client */
|
|
5
|
+
/* eslint-disable */
|
|
6
|
+
|
|
7
|
+
|
|
8
|
+
|
|
9
|
+
declare namespace Components {
|
|
10
|
+
namespace Parameters {
|
|
11
|
+
export type PurposeIdPathParam = string;
|
|
12
|
+
export type QueryParam = string;
|
|
13
|
+
export type SizeParam = number;
|
|
14
|
+
}
|
|
15
|
+
export interface PathParameters {
|
|
16
|
+
PurposeIdPathParam?: Parameters.PurposeIdPathParam;
|
|
17
|
+
}
|
|
18
|
+
export interface QueryParameters {
|
|
19
|
+
QueryParam?: Parameters.QueryParam;
|
|
20
|
+
SizeParam?: Parameters.SizeParam;
|
|
21
|
+
}
|
|
22
|
+
namespace RequestBodies {
|
|
23
|
+
export type BatchGetPurposesRequest = /* Input for batch getting purposes */ Schemas.BatchGetPurposesInput;
|
|
24
|
+
export type CreatePurposeRequest = /* Input for creating a new purpose */ Schemas.CreatePurposeInput;
|
|
25
|
+
export type UpdatePurposeRequest = /* Input for updating an existing purpose */ Schemas.UpdatePurposeInput;
|
|
26
|
+
}
|
|
27
|
+
namespace Responses {
|
|
28
|
+
export type ClientErrorResponse = Schemas.Error;
|
|
29
|
+
export type ConflictResponse = Schemas.Error;
|
|
30
|
+
export type ForbiddenResponse = Schemas.Error;
|
|
31
|
+
export type NotFoundResponse = Schemas.Error;
|
|
32
|
+
export interface PurposeListResponse {
|
|
33
|
+
results?: /* A purpose used to tag and organize entities */ Schemas.Purpose[];
|
|
34
|
+
/**
|
|
35
|
+
* Total number of results
|
|
36
|
+
*/
|
|
37
|
+
hits?: number;
|
|
38
|
+
}
|
|
39
|
+
export type PurposeResponse = /* A purpose used to tag and organize entities */ Schemas.Purpose;
|
|
40
|
+
export interface PurposeSearchResponse {
|
|
41
|
+
results?: /* A purpose used to tag and organize entities */ Schemas.Purpose[];
|
|
42
|
+
}
|
|
43
|
+
export type ServerErrorResponse = Schemas.Error;
|
|
44
|
+
export type UnauthorizedResponse = Schemas.Error;
|
|
45
|
+
}
|
|
46
|
+
namespace Schemas {
|
|
47
|
+
/**
|
|
48
|
+
* Input for batch getting purposes
|
|
49
|
+
*/
|
|
50
|
+
export interface BatchGetPurposesInput {
|
|
51
|
+
/**
|
|
52
|
+
* List of purpose IDs to fetch
|
|
53
|
+
* example:
|
|
54
|
+
* [
|
|
55
|
+
* "123e4567-e89b-12d3-a456-426614174000"
|
|
56
|
+
* ]
|
|
57
|
+
*/
|
|
58
|
+
purposeIds: string[];
|
|
59
|
+
}
|
|
60
|
+
/**
|
|
61
|
+
* Input for creating a new purpose
|
|
62
|
+
*/
|
|
63
|
+
export interface CreatePurposeInput {
|
|
64
|
+
/**
|
|
65
|
+
* Human-readable name
|
|
66
|
+
* example:
|
|
67
|
+
* Electricity Contract
|
|
68
|
+
*/
|
|
69
|
+
name: string;
|
|
70
|
+
}
|
|
71
|
+
export interface Error {
|
|
72
|
+
/**
|
|
73
|
+
* HTTP status code
|
|
74
|
+
*/
|
|
75
|
+
status?: number;
|
|
76
|
+
/**
|
|
77
|
+
* Error message
|
|
78
|
+
*/
|
|
79
|
+
error?: string;
|
|
80
|
+
}
|
|
81
|
+
/**
|
|
82
|
+
* A purpose used to tag and organize entities
|
|
83
|
+
*/
|
|
84
|
+
export interface Purpose {
|
|
85
|
+
/**
|
|
86
|
+
* Unique identifier
|
|
87
|
+
* example:
|
|
88
|
+
* 123e4567-e89b-12d3-a456-426614174000
|
|
89
|
+
*/
|
|
90
|
+
id: string; // uuid
|
|
91
|
+
/**
|
|
92
|
+
* Human-readable name
|
|
93
|
+
* example:
|
|
94
|
+
* Electricity Contract
|
|
95
|
+
*/
|
|
96
|
+
name: string;
|
|
97
|
+
/**
|
|
98
|
+
* ISO timestamp of creation
|
|
99
|
+
*/
|
|
100
|
+
created_at?: string; // date-time
|
|
101
|
+
/**
|
|
102
|
+
* ISO timestamp of last update
|
|
103
|
+
*/
|
|
104
|
+
updated_at?: string; // date-time
|
|
105
|
+
}
|
|
106
|
+
/**
|
|
107
|
+
* Input for updating an existing purpose
|
|
108
|
+
*/
|
|
109
|
+
export interface UpdatePurposeInput {
|
|
110
|
+
/**
|
|
111
|
+
* Human-readable name
|
|
112
|
+
*/
|
|
113
|
+
name?: string;
|
|
114
|
+
}
|
|
115
|
+
}
|
|
116
|
+
}
|
|
117
|
+
declare namespace Paths {
|
|
118
|
+
namespace BatchGetPurposes {
|
|
119
|
+
export type RequestBody = Components.RequestBodies.BatchGetPurposesRequest;
|
|
120
|
+
namespace Responses {
|
|
121
|
+
export type $200 = Components.Responses.PurposeListResponse;
|
|
122
|
+
export type $400 = Components.Responses.ClientErrorResponse;
|
|
123
|
+
export type $401 = Components.Responses.UnauthorizedResponse;
|
|
124
|
+
export type $500 = Components.Responses.ServerErrorResponse;
|
|
125
|
+
}
|
|
126
|
+
}
|
|
127
|
+
namespace CreatePurpose {
|
|
128
|
+
export type RequestBody = Components.RequestBodies.CreatePurposeRequest;
|
|
129
|
+
namespace Responses {
|
|
130
|
+
export type $201 = Components.Responses.PurposeResponse;
|
|
131
|
+
export type $400 = Components.Responses.ClientErrorResponse;
|
|
132
|
+
export type $401 = Components.Responses.UnauthorizedResponse;
|
|
133
|
+
export type $403 = Components.Responses.ForbiddenResponse;
|
|
134
|
+
export type $409 = Components.Responses.ConflictResponse;
|
|
135
|
+
export type $500 = Components.Responses.ServerErrorResponse;
|
|
136
|
+
}
|
|
137
|
+
}
|
|
138
|
+
namespace DeletePurpose {
|
|
139
|
+
namespace Parameters {
|
|
140
|
+
export type PurposeId = string;
|
|
141
|
+
}
|
|
142
|
+
export interface PathParameters {
|
|
143
|
+
purposeId: Parameters.PurposeId;
|
|
144
|
+
}
|
|
145
|
+
namespace Responses {
|
|
146
|
+
export type $200 = Components.Responses.PurposeResponse;
|
|
147
|
+
export type $401 = Components.Responses.UnauthorizedResponse;
|
|
148
|
+
export type $403 = Components.Responses.ForbiddenResponse;
|
|
149
|
+
export type $404 = Components.Responses.NotFoundResponse;
|
|
150
|
+
export type $500 = Components.Responses.ServerErrorResponse;
|
|
151
|
+
}
|
|
152
|
+
}
|
|
153
|
+
namespace GetPurpose {
|
|
154
|
+
namespace Parameters {
|
|
155
|
+
export type PurposeId = string;
|
|
156
|
+
}
|
|
157
|
+
export interface PathParameters {
|
|
158
|
+
purposeId: Parameters.PurposeId;
|
|
159
|
+
}
|
|
160
|
+
namespace Responses {
|
|
161
|
+
export type $200 = Components.Responses.PurposeResponse;
|
|
162
|
+
export type $401 = Components.Responses.UnauthorizedResponse;
|
|
163
|
+
export type $404 = Components.Responses.NotFoundResponse;
|
|
164
|
+
export type $500 = Components.Responses.ServerErrorResponse;
|
|
165
|
+
}
|
|
166
|
+
}
|
|
167
|
+
namespace SearchPurposes {
|
|
168
|
+
namespace Parameters {
|
|
169
|
+
export type Query = string;
|
|
170
|
+
export type Size = number;
|
|
171
|
+
}
|
|
172
|
+
export interface QueryParameters {
|
|
173
|
+
query?: Parameters.Query;
|
|
174
|
+
size?: Parameters.Size;
|
|
175
|
+
}
|
|
176
|
+
namespace Responses {
|
|
177
|
+
export type $200 = Components.Responses.PurposeSearchResponse;
|
|
178
|
+
export type $401 = Components.Responses.UnauthorizedResponse;
|
|
179
|
+
export type $500 = Components.Responses.ServerErrorResponse;
|
|
180
|
+
}
|
|
181
|
+
}
|
|
182
|
+
namespace UpdatePurpose {
|
|
183
|
+
namespace Parameters {
|
|
184
|
+
export type PurposeId = string;
|
|
185
|
+
}
|
|
186
|
+
export interface PathParameters {
|
|
187
|
+
purposeId: Parameters.PurposeId;
|
|
188
|
+
}
|
|
189
|
+
export type RequestBody = Components.RequestBodies.UpdatePurposeRequest;
|
|
190
|
+
namespace Responses {
|
|
191
|
+
export type $200 = Components.Responses.PurposeResponse;
|
|
192
|
+
export type $400 = Components.Responses.ClientErrorResponse;
|
|
193
|
+
export type $401 = Components.Responses.UnauthorizedResponse;
|
|
194
|
+
export type $403 = Components.Responses.ForbiddenResponse;
|
|
195
|
+
export type $404 = Components.Responses.NotFoundResponse;
|
|
196
|
+
export type $500 = Components.Responses.ServerErrorResponse;
|
|
197
|
+
}
|
|
198
|
+
}
|
|
199
|
+
}
|
|
200
|
+
|
|
201
|
+
|
|
202
|
+
interface OperationMethods {
|
|
203
|
+
/**
|
|
204
|
+
* createPurpose - Create Purpose
|
|
205
|
+
*
|
|
206
|
+
* Create a new purpose
|
|
207
|
+
*/
|
|
208
|
+
'createPurpose'(
|
|
209
|
+
parameters?: Parameters<UnknownParamsObject> | null,
|
|
210
|
+
data?: Paths.CreatePurpose.RequestBody,
|
|
211
|
+
config?: AxiosRequestConfig
|
|
212
|
+
): OperationResponse<Paths.CreatePurpose.Responses.$201>
|
|
213
|
+
/**
|
|
214
|
+
* searchPurposes - Search Purposes
|
|
215
|
+
*
|
|
216
|
+
* Search purposes using fuzzy matching.
|
|
217
|
+
*
|
|
218
|
+
*/
|
|
219
|
+
'searchPurposes'(
|
|
220
|
+
parameters?: Parameters<Paths.SearchPurposes.QueryParameters> | null,
|
|
221
|
+
data?: any,
|
|
222
|
+
config?: AxiosRequestConfig
|
|
223
|
+
): OperationResponse<Paths.SearchPurposes.Responses.$200>
|
|
224
|
+
/**
|
|
225
|
+
* batchGetPurposes - Batch Get Purposes
|
|
226
|
+
*
|
|
227
|
+
* Fetch multiple purposes by their known IDs in a single request.
|
|
228
|
+
*
|
|
229
|
+
* **Use this for:**
|
|
230
|
+
* - Hydrating purpose references from entities
|
|
231
|
+
* - Resolving a list of purpose IDs to full objects
|
|
232
|
+
*
|
|
233
|
+
* **Do NOT use this for:**
|
|
234
|
+
* - Browsing/discovering purposes (use `searchPurposes` instead)
|
|
235
|
+
* - Autocomplete (use `searchPurposes` instead)
|
|
236
|
+
*
|
|
237
|
+
* **Examples:**
|
|
238
|
+
* - Entity has `_purposes: ["uuid-1", "uuid-2"]` → fetch full purpose objects
|
|
239
|
+
* - Display purpose names for a list of tagged entities
|
|
240
|
+
*
|
|
241
|
+
*/
|
|
242
|
+
'batchGetPurposes'(
|
|
243
|
+
parameters?: Parameters<UnknownParamsObject> | null,
|
|
244
|
+
data?: Paths.BatchGetPurposes.RequestBody,
|
|
245
|
+
config?: AxiosRequestConfig
|
|
246
|
+
): OperationResponse<Paths.BatchGetPurposes.Responses.$200>
|
|
247
|
+
/**
|
|
248
|
+
* getPurpose - Get Purpose
|
|
249
|
+
*
|
|
250
|
+
* Get a single purpose by ID
|
|
251
|
+
*/
|
|
252
|
+
'getPurpose'(
|
|
253
|
+
parameters?: Parameters<Paths.GetPurpose.PathParameters> | null,
|
|
254
|
+
data?: any,
|
|
255
|
+
config?: AxiosRequestConfig
|
|
256
|
+
): OperationResponse<Paths.GetPurpose.Responses.$200>
|
|
257
|
+
/**
|
|
258
|
+
* updatePurpose - Update Purpose
|
|
259
|
+
*
|
|
260
|
+
* Update an existing purpose
|
|
261
|
+
*/
|
|
262
|
+
'updatePurpose'(
|
|
263
|
+
parameters?: Parameters<Paths.UpdatePurpose.PathParameters> | null,
|
|
264
|
+
data?: Paths.UpdatePurpose.RequestBody,
|
|
265
|
+
config?: AxiosRequestConfig
|
|
266
|
+
): OperationResponse<Paths.UpdatePurpose.Responses.$200>
|
|
267
|
+
/**
|
|
268
|
+
* deletePurpose - Delete Purpose
|
|
269
|
+
*
|
|
270
|
+
* Permanently delete a purpose
|
|
271
|
+
*/
|
|
272
|
+
'deletePurpose'(
|
|
273
|
+
parameters?: Parameters<Paths.DeletePurpose.PathParameters> | null,
|
|
274
|
+
data?: any,
|
|
275
|
+
config?: AxiosRequestConfig
|
|
276
|
+
): OperationResponse<Paths.DeletePurpose.Responses.$200>
|
|
277
|
+
}
|
|
278
|
+
|
|
279
|
+
interface PathsDictionary {
|
|
280
|
+
['/v1/purpose']: {
|
|
281
|
+
/**
|
|
282
|
+
* createPurpose - Create Purpose
|
|
283
|
+
*
|
|
284
|
+
* Create a new purpose
|
|
285
|
+
*/
|
|
286
|
+
'post'(
|
|
287
|
+
parameters?: Parameters<UnknownParamsObject> | null,
|
|
288
|
+
data?: Paths.CreatePurpose.RequestBody,
|
|
289
|
+
config?: AxiosRequestConfig
|
|
290
|
+
): OperationResponse<Paths.CreatePurpose.Responses.$201>
|
|
291
|
+
}
|
|
292
|
+
['/v1/purpose:search']: {
|
|
293
|
+
/**
|
|
294
|
+
* searchPurposes - Search Purposes
|
|
295
|
+
*
|
|
296
|
+
* Search purposes using fuzzy matching.
|
|
297
|
+
*
|
|
298
|
+
*/
|
|
299
|
+
'get'(
|
|
300
|
+
parameters?: Parameters<Paths.SearchPurposes.QueryParameters> | null,
|
|
301
|
+
data?: any,
|
|
302
|
+
config?: AxiosRequestConfig
|
|
303
|
+
): OperationResponse<Paths.SearchPurposes.Responses.$200>
|
|
304
|
+
}
|
|
305
|
+
['/v1/purpose:batchGet']: {
|
|
306
|
+
/**
|
|
307
|
+
* batchGetPurposes - Batch Get Purposes
|
|
308
|
+
*
|
|
309
|
+
* Fetch multiple purposes by their known IDs in a single request.
|
|
310
|
+
*
|
|
311
|
+
* **Use this for:**
|
|
312
|
+
* - Hydrating purpose references from entities
|
|
313
|
+
* - Resolving a list of purpose IDs to full objects
|
|
314
|
+
*
|
|
315
|
+
* **Do NOT use this for:**
|
|
316
|
+
* - Browsing/discovering purposes (use `searchPurposes` instead)
|
|
317
|
+
* - Autocomplete (use `searchPurposes` instead)
|
|
318
|
+
*
|
|
319
|
+
* **Examples:**
|
|
320
|
+
* - Entity has `_purposes: ["uuid-1", "uuid-2"]` → fetch full purpose objects
|
|
321
|
+
* - Display purpose names for a list of tagged entities
|
|
322
|
+
*
|
|
323
|
+
*/
|
|
324
|
+
'post'(
|
|
325
|
+
parameters?: Parameters<UnknownParamsObject> | null,
|
|
326
|
+
data?: Paths.BatchGetPurposes.RequestBody,
|
|
327
|
+
config?: AxiosRequestConfig
|
|
328
|
+
): OperationResponse<Paths.BatchGetPurposes.Responses.$200>
|
|
329
|
+
}
|
|
330
|
+
['/v1/purpose/{purposeId}']: {
|
|
331
|
+
/**
|
|
332
|
+
* getPurpose - Get Purpose
|
|
333
|
+
*
|
|
334
|
+
* Get a single purpose by ID
|
|
335
|
+
*/
|
|
336
|
+
'get'(
|
|
337
|
+
parameters?: Parameters<Paths.GetPurpose.PathParameters> | null,
|
|
338
|
+
data?: any,
|
|
339
|
+
config?: AxiosRequestConfig
|
|
340
|
+
): OperationResponse<Paths.GetPurpose.Responses.$200>
|
|
341
|
+
/**
|
|
342
|
+
* updatePurpose - Update Purpose
|
|
343
|
+
*
|
|
344
|
+
* Update an existing purpose
|
|
345
|
+
*/
|
|
346
|
+
'put'(
|
|
347
|
+
parameters?: Parameters<Paths.UpdatePurpose.PathParameters> | null,
|
|
348
|
+
data?: Paths.UpdatePurpose.RequestBody,
|
|
349
|
+
config?: AxiosRequestConfig
|
|
350
|
+
): OperationResponse<Paths.UpdatePurpose.Responses.$200>
|
|
351
|
+
/**
|
|
352
|
+
* deletePurpose - Delete Purpose
|
|
353
|
+
*
|
|
354
|
+
* Permanently delete a purpose
|
|
355
|
+
*/
|
|
356
|
+
'delete'(
|
|
357
|
+
parameters?: Parameters<Paths.DeletePurpose.PathParameters> | null,
|
|
358
|
+
data?: any,
|
|
359
|
+
config?: AxiosRequestConfig
|
|
360
|
+
): OperationResponse<Paths.DeletePurpose.Responses.$200>
|
|
361
|
+
}
|
|
362
|
+
}
|
|
363
|
+
|
|
364
|
+
type Client = OpenAPIClient<OperationMethods, PathsDictionary>
|
|
365
|
+
|
|
366
|
+
|
|
367
|
+
type BatchGetPurposesInput = Components.Schemas.BatchGetPurposesInput;
|
|
368
|
+
type CreatePurposeInput = Components.Schemas.CreatePurposeInput;
|
|
369
|
+
type Error = Components.Schemas.Error;
|
|
370
|
+
type Purpose = Components.Schemas.Purpose;
|
|
371
|
+
type UpdatePurposeInput = Components.Schemas.UpdatePurposeInput;
|
|
372
|
+
|
|
373
|
+
export type { BatchGetPurposesInput as B, Client as C, Error as E, OperationMethods as O, PathsDictionary as P, UpdatePurposeInput as U, CreatePurposeInput as a, Purpose as b };
|