@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,1201 @@
|
|
|
1
|
+
import { OpenAPIClient, Parameters, AxiosRequestConfig, OperationResponse, UnknownParamsObject } from 'openapi-client-axios';
|
|
2
|
+
|
|
3
|
+
/* eslint-disable */
|
|
4
|
+
/* Auto-copied from webhooks-client */
|
|
5
|
+
/* eslint-disable */
|
|
6
|
+
|
|
7
|
+
|
|
8
|
+
|
|
9
|
+
declare namespace Components {
|
|
10
|
+
namespace Schemas {
|
|
11
|
+
/**
|
|
12
|
+
* To be sent only if authType is API_KEY
|
|
13
|
+
*/
|
|
14
|
+
export interface ApiKeyConfig {
|
|
15
|
+
keyName: string;
|
|
16
|
+
keyValue?: string;
|
|
17
|
+
/**
|
|
18
|
+
* When true, indicates the keyValue is an environment variable reference (e.g. {{ env.my_secret }})
|
|
19
|
+
*/
|
|
20
|
+
keyValueIsEnvVar?: boolean;
|
|
21
|
+
}
|
|
22
|
+
export interface Auth {
|
|
23
|
+
authType: AuthType;
|
|
24
|
+
basicAuthConfig?: /* To be sent only if authType is BASIC */ BasicAuthConfig;
|
|
25
|
+
oauthConfig?: /* To be sent only if authType is OAUTH_CLIENT_CREDENTIALS */ OAuthConfig;
|
|
26
|
+
apiKeyConfig?: /* To be sent only if authType is API_KEY */ ApiKeyConfig;
|
|
27
|
+
}
|
|
28
|
+
export type AuthType = "BASIC" | "OAUTH_CLIENT_CREDENTIALS" | "API_KEY" | "NONE";
|
|
29
|
+
/**
|
|
30
|
+
* To be sent only if authType is BASIC
|
|
31
|
+
*/
|
|
32
|
+
export interface BasicAuthConfig {
|
|
33
|
+
username: string;
|
|
34
|
+
password?: string;
|
|
35
|
+
/**
|
|
36
|
+
* When true, indicates the password value is an environment variable reference (e.g. {{ env.my_secret }})
|
|
37
|
+
*/
|
|
38
|
+
passwordIsEnvVar?: boolean;
|
|
39
|
+
}
|
|
40
|
+
export interface BatchReplayRequest {
|
|
41
|
+
/**
|
|
42
|
+
* List of event IDs to replay
|
|
43
|
+
* example:
|
|
44
|
+
* [
|
|
45
|
+
* "2f1b7cf8-ff55-4359-966f-e56f39a52c94",
|
|
46
|
+
* "48c984bf-466b-470b-b743-d07cea168243"
|
|
47
|
+
* ]
|
|
48
|
+
*/
|
|
49
|
+
eventIds: [
|
|
50
|
+
string,
|
|
51
|
+
string?,
|
|
52
|
+
string?,
|
|
53
|
+
string?,
|
|
54
|
+
string?,
|
|
55
|
+
string?,
|
|
56
|
+
string?,
|
|
57
|
+
string?,
|
|
58
|
+
string?,
|
|
59
|
+
string?,
|
|
60
|
+
string?,
|
|
61
|
+
string?,
|
|
62
|
+
string?,
|
|
63
|
+
string?,
|
|
64
|
+
string?,
|
|
65
|
+
string?,
|
|
66
|
+
string?,
|
|
67
|
+
string?,
|
|
68
|
+
string?,
|
|
69
|
+
string?,
|
|
70
|
+
string?,
|
|
71
|
+
string?,
|
|
72
|
+
string?,
|
|
73
|
+
string?,
|
|
74
|
+
string?,
|
|
75
|
+
string?,
|
|
76
|
+
string?,
|
|
77
|
+
string?,
|
|
78
|
+
string?,
|
|
79
|
+
string?,
|
|
80
|
+
string?,
|
|
81
|
+
string?,
|
|
82
|
+
string?,
|
|
83
|
+
string?,
|
|
84
|
+
string?,
|
|
85
|
+
string?,
|
|
86
|
+
string?,
|
|
87
|
+
string?,
|
|
88
|
+
string?,
|
|
89
|
+
string?,
|
|
90
|
+
string?,
|
|
91
|
+
string?,
|
|
92
|
+
string?,
|
|
93
|
+
string?,
|
|
94
|
+
string?,
|
|
95
|
+
string?,
|
|
96
|
+
string?,
|
|
97
|
+
string?,
|
|
98
|
+
string?,
|
|
99
|
+
string?,
|
|
100
|
+
string?,
|
|
101
|
+
string?,
|
|
102
|
+
string?,
|
|
103
|
+
string?,
|
|
104
|
+
string?,
|
|
105
|
+
string?,
|
|
106
|
+
string?,
|
|
107
|
+
string?,
|
|
108
|
+
string?,
|
|
109
|
+
string?,
|
|
110
|
+
string?,
|
|
111
|
+
string?,
|
|
112
|
+
string?,
|
|
113
|
+
string?,
|
|
114
|
+
string?,
|
|
115
|
+
string?,
|
|
116
|
+
string?,
|
|
117
|
+
string?,
|
|
118
|
+
string?,
|
|
119
|
+
string?,
|
|
120
|
+
string?,
|
|
121
|
+
string?,
|
|
122
|
+
string?,
|
|
123
|
+
string?,
|
|
124
|
+
string?,
|
|
125
|
+
string?,
|
|
126
|
+
string?,
|
|
127
|
+
string?,
|
|
128
|
+
string?,
|
|
129
|
+
string?,
|
|
130
|
+
string?,
|
|
131
|
+
string?,
|
|
132
|
+
string?,
|
|
133
|
+
string?,
|
|
134
|
+
string?,
|
|
135
|
+
string?,
|
|
136
|
+
string?,
|
|
137
|
+
string?,
|
|
138
|
+
string?,
|
|
139
|
+
string?,
|
|
140
|
+
string?,
|
|
141
|
+
string?,
|
|
142
|
+
string?,
|
|
143
|
+
string?,
|
|
144
|
+
string?,
|
|
145
|
+
string?,
|
|
146
|
+
string?,
|
|
147
|
+
string?,
|
|
148
|
+
string?,
|
|
149
|
+
string?
|
|
150
|
+
];
|
|
151
|
+
}
|
|
152
|
+
/**
|
|
153
|
+
* Object representing custom headers as key-value pairs.
|
|
154
|
+
*/
|
|
155
|
+
export interface CustomHeader {
|
|
156
|
+
[name: string]: string;
|
|
157
|
+
}
|
|
158
|
+
/**
|
|
159
|
+
* Custom key/value pair of either type body, query or header
|
|
160
|
+
*/
|
|
161
|
+
export interface CustomOAuthParameter {
|
|
162
|
+
type: "body" | "query" | "header";
|
|
163
|
+
key: string;
|
|
164
|
+
value: string;
|
|
165
|
+
}
|
|
166
|
+
export interface ErrorResp {
|
|
167
|
+
message?: string;
|
|
168
|
+
}
|
|
169
|
+
export interface EventConfigEntry {
|
|
170
|
+
/**
|
|
171
|
+
* Name for identifying the event. Unique.
|
|
172
|
+
*/
|
|
173
|
+
eventName?: string;
|
|
174
|
+
/**
|
|
175
|
+
* Either a user friendly label, or the eventName itself.
|
|
176
|
+
*/
|
|
177
|
+
eventLabel?: string;
|
|
178
|
+
}
|
|
179
|
+
/**
|
|
180
|
+
* example:
|
|
181
|
+
* [
|
|
182
|
+
* {
|
|
183
|
+
* "eventName": "customer_request_created",
|
|
184
|
+
* "eventLabel": "Customer Request Created"
|
|
185
|
+
* }
|
|
186
|
+
* ]
|
|
187
|
+
*/
|
|
188
|
+
export type EventConfigResp = EventConfigEntry[];
|
|
189
|
+
export interface EventListResponse {
|
|
190
|
+
/**
|
|
191
|
+
* List of webhook events
|
|
192
|
+
*/
|
|
193
|
+
data?: WebhookEvent[];
|
|
194
|
+
/**
|
|
195
|
+
* Cursor to fetch the next page. Null if no more results.
|
|
196
|
+
*/
|
|
197
|
+
next_cursor?: {
|
|
198
|
+
/**
|
|
199
|
+
* example:
|
|
200
|
+
* 2025-10-31T12:34:56Z
|
|
201
|
+
*/
|
|
202
|
+
created_at?: string; // date-time
|
|
203
|
+
/**
|
|
204
|
+
* example:
|
|
205
|
+
* evt_1234567890abcdef
|
|
206
|
+
*/
|
|
207
|
+
event_id?: string;
|
|
208
|
+
} | null;
|
|
209
|
+
/**
|
|
210
|
+
* Indicates if more results are available
|
|
211
|
+
* example:
|
|
212
|
+
* true
|
|
213
|
+
*/
|
|
214
|
+
has_more?: boolean;
|
|
215
|
+
}
|
|
216
|
+
export interface ExampleRequest {
|
|
217
|
+
/**
|
|
218
|
+
* ID of the automation, if applicable
|
|
219
|
+
* example:
|
|
220
|
+
* automation_123
|
|
221
|
+
*/
|
|
222
|
+
automation_id?: string;
|
|
223
|
+
}
|
|
224
|
+
export interface ExampleResponse {
|
|
225
|
+
[name: string]: any;
|
|
226
|
+
metadata?: /* Contains the metadata about the configured event */ Metadata;
|
|
227
|
+
/**
|
|
228
|
+
* Example payload for the webhook event
|
|
229
|
+
*/
|
|
230
|
+
entity?: {
|
|
231
|
+
[name: string]: any;
|
|
232
|
+
};
|
|
233
|
+
/**
|
|
234
|
+
* Example relations for the webhook event
|
|
235
|
+
*/
|
|
236
|
+
relations?: {
|
|
237
|
+
[name: string]: any;
|
|
238
|
+
}[];
|
|
239
|
+
}
|
|
240
|
+
/**
|
|
241
|
+
* Payload for triggering a webhook
|
|
242
|
+
*/
|
|
243
|
+
export interface ExecutionPayload {
|
|
244
|
+
[name: string]: any;
|
|
245
|
+
metadata: /* Contains the metadata about the configured event */ Metadata;
|
|
246
|
+
}
|
|
247
|
+
export interface Filter {
|
|
248
|
+
keyToFilter: string;
|
|
249
|
+
supportedValues: string[];
|
|
250
|
+
}
|
|
251
|
+
export type HttpMethod = "GET" | "POST" | "PUT" | "PATCH" | "DELETE" | "OPTIONS" | "HEAD";
|
|
252
|
+
/**
|
|
253
|
+
* Contains the metadata about the configured event
|
|
254
|
+
*/
|
|
255
|
+
export interface Metadata {
|
|
256
|
+
/**
|
|
257
|
+
* Action that triggered the event
|
|
258
|
+
* example:
|
|
259
|
+
* Manual triggered by user with id 123456
|
|
260
|
+
*/
|
|
261
|
+
action?: string;
|
|
262
|
+
/**
|
|
263
|
+
* Origin of the event
|
|
264
|
+
*/
|
|
265
|
+
origin?: string;
|
|
266
|
+
/**
|
|
267
|
+
* Time of event creation
|
|
268
|
+
*/
|
|
269
|
+
creation_timestamp?: string;
|
|
270
|
+
/**
|
|
271
|
+
* The ID of the webhook configuration
|
|
272
|
+
*/
|
|
273
|
+
webhook_id?: string;
|
|
274
|
+
/**
|
|
275
|
+
* The name of the webhook configuration
|
|
276
|
+
*/
|
|
277
|
+
webhook_name?: string;
|
|
278
|
+
/**
|
|
279
|
+
* The name of the automation that triggered the event
|
|
280
|
+
*/
|
|
281
|
+
automation_name?: string;
|
|
282
|
+
/**
|
|
283
|
+
* The ID of the given organization
|
|
284
|
+
*/
|
|
285
|
+
organization_id: string;
|
|
286
|
+
/**
|
|
287
|
+
* The ID of the user for manual triggered events
|
|
288
|
+
*/
|
|
289
|
+
user_id?: string;
|
|
290
|
+
/**
|
|
291
|
+
* ID used to track the event
|
|
292
|
+
*/
|
|
293
|
+
correlation_id?: string;
|
|
294
|
+
/**
|
|
295
|
+
* When triggered by an automation this is its execution id
|
|
296
|
+
*/
|
|
297
|
+
execution_id?: string;
|
|
298
|
+
/**
|
|
299
|
+
* When triggered by an automation this is the id of the action
|
|
300
|
+
*/
|
|
301
|
+
action_id?: string;
|
|
302
|
+
}
|
|
303
|
+
/**
|
|
304
|
+
* To be sent only if authType is OAUTH_CLIENT_CREDENTIALS
|
|
305
|
+
*/
|
|
306
|
+
export interface OAuthConfig {
|
|
307
|
+
clientId: string;
|
|
308
|
+
clientSecret?: string;
|
|
309
|
+
/**
|
|
310
|
+
* When true, indicates the clientSecret value is an environment variable reference (e.g. {{ env.my_secret }})
|
|
311
|
+
*/
|
|
312
|
+
clientSecretIsEnvVar?: boolean;
|
|
313
|
+
/**
|
|
314
|
+
* Https Endpoint for authentication
|
|
315
|
+
*/
|
|
316
|
+
endpoint: string;
|
|
317
|
+
httpMethod: HttpMethod;
|
|
318
|
+
customParameterList?: /* Custom key/value pair of either type body, query or header */ CustomOAuthParameter[];
|
|
319
|
+
}
|
|
320
|
+
/**
|
|
321
|
+
* Configuration for the webhook payload
|
|
322
|
+
*/
|
|
323
|
+
export interface PayloadConfiguration {
|
|
324
|
+
hydrate_entity?: boolean;
|
|
325
|
+
include_relations?: boolean;
|
|
326
|
+
include_activity?: boolean;
|
|
327
|
+
include_changed_attributes?: boolean;
|
|
328
|
+
custom_headers?: /* Object representing custom headers as key-value pairs. */ CustomHeader;
|
|
329
|
+
}
|
|
330
|
+
export interface PublicKeyResponse {
|
|
331
|
+
/**
|
|
332
|
+
* PEM-encoded Ed25519 public key for verifying webhook signatures
|
|
333
|
+
* example:
|
|
334
|
+
* -----BEGIN PUBLIC KEY-----
|
|
335
|
+
* MCowBQYDK2VwAyEA...
|
|
336
|
+
* -----END PUBLIC KEY-----
|
|
337
|
+
*
|
|
338
|
+
*/
|
|
339
|
+
public_key: string;
|
|
340
|
+
/**
|
|
341
|
+
* The signing algorithm used
|
|
342
|
+
* example:
|
|
343
|
+
* ed25519
|
|
344
|
+
*/
|
|
345
|
+
algorithm: string;
|
|
346
|
+
/**
|
|
347
|
+
* The issuer of the signing key
|
|
348
|
+
* example:
|
|
349
|
+
* epilot
|
|
350
|
+
*/
|
|
351
|
+
issuer?: string;
|
|
352
|
+
}
|
|
353
|
+
export interface SearchOptions {
|
|
354
|
+
/**
|
|
355
|
+
* Maximum number of results to return
|
|
356
|
+
* example:
|
|
357
|
+
* 25
|
|
358
|
+
*/
|
|
359
|
+
limit?: number;
|
|
360
|
+
/**
|
|
361
|
+
* Cursor for pagination. Use the next_cursor from the previous response to get the next page.
|
|
362
|
+
*/
|
|
363
|
+
cursor?: {
|
|
364
|
+
/**
|
|
365
|
+
* Timestamp from the last event in the previous page
|
|
366
|
+
* example:
|
|
367
|
+
* 2025-10-31T12:34:56Z
|
|
368
|
+
*/
|
|
369
|
+
created_at?: string; // date-time
|
|
370
|
+
/**
|
|
371
|
+
* Event ID from the last event in the previous page
|
|
372
|
+
* example:
|
|
373
|
+
* evt_1234567890abcdef
|
|
374
|
+
*/
|
|
375
|
+
event_id?: string;
|
|
376
|
+
};
|
|
377
|
+
/**
|
|
378
|
+
* Filter events by timestamp range
|
|
379
|
+
*/
|
|
380
|
+
timestamp?: {
|
|
381
|
+
/**
|
|
382
|
+
* Start timestamp in ISO 8601 format
|
|
383
|
+
* example:
|
|
384
|
+
* 2025-10-01T00:00:00Z
|
|
385
|
+
*/
|
|
386
|
+
from?: string; // date-time
|
|
387
|
+
/**
|
|
388
|
+
* End timestamp in ISO 8601 format
|
|
389
|
+
* example:
|
|
390
|
+
* 2025-10-31T23:59:59Z
|
|
391
|
+
*/
|
|
392
|
+
to?: string; // date-time
|
|
393
|
+
};
|
|
394
|
+
/**
|
|
395
|
+
* Filter by specific event ID
|
|
396
|
+
* example:
|
|
397
|
+
* evt_1234567890abcdef
|
|
398
|
+
*/
|
|
399
|
+
event_id?: string;
|
|
400
|
+
/**
|
|
401
|
+
* Filter by event outcome
|
|
402
|
+
* example:
|
|
403
|
+
* succeeded
|
|
404
|
+
*/
|
|
405
|
+
status?: "succeeded" | "failed";
|
|
406
|
+
}
|
|
407
|
+
export interface TriggerWebhookResp {
|
|
408
|
+
status_code?: string;
|
|
409
|
+
message?: string;
|
|
410
|
+
body?: {
|
|
411
|
+
[key: string]: any;
|
|
412
|
+
};
|
|
413
|
+
code?: string;
|
|
414
|
+
status?: "succeeded" | "failed";
|
|
415
|
+
start_date?: string;
|
|
416
|
+
end_date?: string;
|
|
417
|
+
event_id: string;
|
|
418
|
+
}
|
|
419
|
+
/**
|
|
420
|
+
* example:
|
|
421
|
+
* {
|
|
422
|
+
* "eventName": "CustomerRequest_Created",
|
|
423
|
+
* "url": "https://my-partner-service.api.com",
|
|
424
|
+
* "httpMethod": "POST",
|
|
425
|
+
* "enabled": true,
|
|
426
|
+
* "auth": {
|
|
427
|
+
* "authType": "BASIC",
|
|
428
|
+
* "basicAuthConfig": {
|
|
429
|
+
* "username": "secretUsername",
|
|
430
|
+
* "password": "secret7825@!"
|
|
431
|
+
* }
|
|
432
|
+
* },
|
|
433
|
+
* "filter": {
|
|
434
|
+
* "keyToFilter": "customer_request.productId",
|
|
435
|
+
* "supportedValues": [
|
|
436
|
+
* "2324245",
|
|
437
|
+
* "5253642"
|
|
438
|
+
* ]
|
|
439
|
+
* }
|
|
440
|
+
* }
|
|
441
|
+
*/
|
|
442
|
+
export interface WebhookConfig {
|
|
443
|
+
id?: string;
|
|
444
|
+
name: string;
|
|
445
|
+
eventName: string;
|
|
446
|
+
url?: string;
|
|
447
|
+
/**
|
|
448
|
+
* creation timestamp
|
|
449
|
+
* example:
|
|
450
|
+
* 2021-04-27T12:01:13.000Z
|
|
451
|
+
*/
|
|
452
|
+
creationTime?: string;
|
|
453
|
+
httpMethod?: HttpMethod;
|
|
454
|
+
enabled?: boolean;
|
|
455
|
+
auth?: Auth;
|
|
456
|
+
filter?: Filter;
|
|
457
|
+
payloadConfiguration?: /* Configuration for the webhook payload */ PayloadConfiguration;
|
|
458
|
+
enableStaticIP?: boolean;
|
|
459
|
+
status?: "active" | "inactive" | "incomplete";
|
|
460
|
+
/**
|
|
461
|
+
* JSONata expression to transform the payload
|
|
462
|
+
*/
|
|
463
|
+
jsonataExpression?: string;
|
|
464
|
+
/**
|
|
465
|
+
* Manifest ID used to create/update the webhook resource
|
|
466
|
+
*/
|
|
467
|
+
_manifest?: string /* uuid */[];
|
|
468
|
+
/**
|
|
469
|
+
* Per-webhook signing secret following the Standard Webhooks specification.
|
|
470
|
+
* Only returned once during webhook creation. Use this secret to verify
|
|
471
|
+
* webhook signatures using the `webhook-id`, `webhook-timestamp`, and
|
|
472
|
+
* `webhook-signature` headers.
|
|
473
|
+
*
|
|
474
|
+
* example:
|
|
475
|
+
* whsec_C2FVsBQIhrscChlQIMV+b5sSYspob7oD
|
|
476
|
+
*/
|
|
477
|
+
signingSecret?: string;
|
|
478
|
+
}
|
|
479
|
+
export interface WebhookEvent {
|
|
480
|
+
event_id: string;
|
|
481
|
+
org_id: string;
|
|
482
|
+
webhook_config_id: string;
|
|
483
|
+
url?: string;
|
|
484
|
+
/**
|
|
485
|
+
* example:
|
|
486
|
+
* 2021-04-27T12:01:13.000Z
|
|
487
|
+
*/
|
|
488
|
+
created_at?: string;
|
|
489
|
+
event_name?: string;
|
|
490
|
+
http_response?: {
|
|
491
|
+
status_code?: number;
|
|
492
|
+
message?: string;
|
|
493
|
+
body?: {
|
|
494
|
+
[key: string]: any;
|
|
495
|
+
};
|
|
496
|
+
code?: string;
|
|
497
|
+
};
|
|
498
|
+
metadata?: /* Contains the metadata about the configured event */ Metadata;
|
|
499
|
+
status?: "succeeded" | "failed" | "in_progress";
|
|
500
|
+
http_method?: "GET" | "POST" | "PUT";
|
|
501
|
+
/**
|
|
502
|
+
* stringified payload of the webhook request
|
|
503
|
+
*/
|
|
504
|
+
payload?: string;
|
|
505
|
+
}
|
|
506
|
+
}
|
|
507
|
+
}
|
|
508
|
+
declare namespace Paths {
|
|
509
|
+
namespace BatchReplayEvents {
|
|
510
|
+
namespace Parameters {
|
|
511
|
+
export type ConfigId = string;
|
|
512
|
+
}
|
|
513
|
+
export interface PathParameters {
|
|
514
|
+
configId: Parameters.ConfigId;
|
|
515
|
+
}
|
|
516
|
+
export type RequestBody = Components.Schemas.BatchReplayRequest;
|
|
517
|
+
namespace Responses {
|
|
518
|
+
export interface $202 {
|
|
519
|
+
/**
|
|
520
|
+
* List of event ids that were enqueued for replay
|
|
521
|
+
*/
|
|
522
|
+
replayed_event_ids?: string[];
|
|
523
|
+
}
|
|
524
|
+
export type $400 = Components.Schemas.ErrorResp;
|
|
525
|
+
export type $404 = Components.Schemas.ErrorResp;
|
|
526
|
+
export type $500 = Components.Schemas.ErrorResp;
|
|
527
|
+
}
|
|
528
|
+
}
|
|
529
|
+
namespace CreateConfig {
|
|
530
|
+
export type RequestBody = /**
|
|
531
|
+
* example:
|
|
532
|
+
* {
|
|
533
|
+
* "eventName": "CustomerRequest_Created",
|
|
534
|
+
* "url": "https://my-partner-service.api.com",
|
|
535
|
+
* "httpMethod": "POST",
|
|
536
|
+
* "enabled": true,
|
|
537
|
+
* "auth": {
|
|
538
|
+
* "authType": "BASIC",
|
|
539
|
+
* "basicAuthConfig": {
|
|
540
|
+
* "username": "secretUsername",
|
|
541
|
+
* "password": "secret7825@!"
|
|
542
|
+
* }
|
|
543
|
+
* },
|
|
544
|
+
* "filter": {
|
|
545
|
+
* "keyToFilter": "customer_request.productId",
|
|
546
|
+
* "supportedValues": [
|
|
547
|
+
* "2324245",
|
|
548
|
+
* "5253642"
|
|
549
|
+
* ]
|
|
550
|
+
* }
|
|
551
|
+
* }
|
|
552
|
+
*/
|
|
553
|
+
Components.Schemas.WebhookConfig;
|
|
554
|
+
namespace Responses {
|
|
555
|
+
export type $201 = /**
|
|
556
|
+
* example:
|
|
557
|
+
* {
|
|
558
|
+
* "eventName": "CustomerRequest_Created",
|
|
559
|
+
* "url": "https://my-partner-service.api.com",
|
|
560
|
+
* "httpMethod": "POST",
|
|
561
|
+
* "enabled": true,
|
|
562
|
+
* "auth": {
|
|
563
|
+
* "authType": "BASIC",
|
|
564
|
+
* "basicAuthConfig": {
|
|
565
|
+
* "username": "secretUsername",
|
|
566
|
+
* "password": "secret7825@!"
|
|
567
|
+
* }
|
|
568
|
+
* },
|
|
569
|
+
* "filter": {
|
|
570
|
+
* "keyToFilter": "customer_request.productId",
|
|
571
|
+
* "supportedValues": [
|
|
572
|
+
* "2324245",
|
|
573
|
+
* "5253642"
|
|
574
|
+
* ]
|
|
575
|
+
* }
|
|
576
|
+
* }
|
|
577
|
+
*/
|
|
578
|
+
Components.Schemas.WebhookConfig;
|
|
579
|
+
export type $400 = Components.Schemas.ErrorResp;
|
|
580
|
+
export type $401 = Components.Schemas.ErrorResp;
|
|
581
|
+
export type $500 = Components.Schemas.ErrorResp;
|
|
582
|
+
}
|
|
583
|
+
}
|
|
584
|
+
namespace DeleteConfig {
|
|
585
|
+
namespace Parameters {
|
|
586
|
+
export type ConfigId = string;
|
|
587
|
+
}
|
|
588
|
+
export interface PathParameters {
|
|
589
|
+
configId: Parameters.ConfigId;
|
|
590
|
+
}
|
|
591
|
+
namespace Responses {
|
|
592
|
+
export interface $204 {
|
|
593
|
+
}
|
|
594
|
+
export type $401 = Components.Schemas.ErrorResp;
|
|
595
|
+
export interface $404 {
|
|
596
|
+
}
|
|
597
|
+
}
|
|
598
|
+
}
|
|
599
|
+
namespace GetConfig {
|
|
600
|
+
namespace Parameters {
|
|
601
|
+
export type ConfigId = string;
|
|
602
|
+
}
|
|
603
|
+
export interface PathParameters {
|
|
604
|
+
configId: Parameters.ConfigId;
|
|
605
|
+
}
|
|
606
|
+
namespace Responses {
|
|
607
|
+
export type $200 = /**
|
|
608
|
+
* example:
|
|
609
|
+
* {
|
|
610
|
+
* "eventName": "CustomerRequest_Created",
|
|
611
|
+
* "url": "https://my-partner-service.api.com",
|
|
612
|
+
* "httpMethod": "POST",
|
|
613
|
+
* "enabled": true,
|
|
614
|
+
* "auth": {
|
|
615
|
+
* "authType": "BASIC",
|
|
616
|
+
* "basicAuthConfig": {
|
|
617
|
+
* "username": "secretUsername",
|
|
618
|
+
* "password": "secret7825@!"
|
|
619
|
+
* }
|
|
620
|
+
* },
|
|
621
|
+
* "filter": {
|
|
622
|
+
* "keyToFilter": "customer_request.productId",
|
|
623
|
+
* "supportedValues": [
|
|
624
|
+
* "2324245",
|
|
625
|
+
* "5253642"
|
|
626
|
+
* ]
|
|
627
|
+
* }
|
|
628
|
+
* }
|
|
629
|
+
*/
|
|
630
|
+
Components.Schemas.WebhookConfig;
|
|
631
|
+
export type $404 = Components.Schemas.ErrorResp;
|
|
632
|
+
export type $500 = Components.Schemas.ErrorResp;
|
|
633
|
+
}
|
|
634
|
+
}
|
|
635
|
+
namespace GetConfigs {
|
|
636
|
+
namespace Parameters {
|
|
637
|
+
export type EventName = string;
|
|
638
|
+
}
|
|
639
|
+
export interface QueryParameters {
|
|
640
|
+
eventName?: Parameters.EventName;
|
|
641
|
+
}
|
|
642
|
+
namespace Responses {
|
|
643
|
+
export type $200 = /**
|
|
644
|
+
* example:
|
|
645
|
+
* {
|
|
646
|
+
* "eventName": "CustomerRequest_Created",
|
|
647
|
+
* "url": "https://my-partner-service.api.com",
|
|
648
|
+
* "httpMethod": "POST",
|
|
649
|
+
* "enabled": true,
|
|
650
|
+
* "auth": {
|
|
651
|
+
* "authType": "BASIC",
|
|
652
|
+
* "basicAuthConfig": {
|
|
653
|
+
* "username": "secretUsername",
|
|
654
|
+
* "password": "secret7825@!"
|
|
655
|
+
* }
|
|
656
|
+
* },
|
|
657
|
+
* "filter": {
|
|
658
|
+
* "keyToFilter": "customer_request.productId",
|
|
659
|
+
* "supportedValues": [
|
|
660
|
+
* "2324245",
|
|
661
|
+
* "5253642"
|
|
662
|
+
* ]
|
|
663
|
+
* }
|
|
664
|
+
* }
|
|
665
|
+
*/
|
|
666
|
+
Components.Schemas.WebhookConfig[];
|
|
667
|
+
export type $500 = Components.Schemas.ErrorResp;
|
|
668
|
+
}
|
|
669
|
+
}
|
|
670
|
+
namespace GetConfiguredEvents {
|
|
671
|
+
namespace Responses {
|
|
672
|
+
export type $200 = /**
|
|
673
|
+
* example:
|
|
674
|
+
* [
|
|
675
|
+
* {
|
|
676
|
+
* "eventName": "customer_request_created",
|
|
677
|
+
* "eventLabel": "Customer Request Created"
|
|
678
|
+
* }
|
|
679
|
+
* ]
|
|
680
|
+
*/
|
|
681
|
+
Components.Schemas.EventConfigResp;
|
|
682
|
+
}
|
|
683
|
+
}
|
|
684
|
+
namespace GetEventById {
|
|
685
|
+
namespace Parameters {
|
|
686
|
+
export type ConfigId = string;
|
|
687
|
+
export type EventId = string;
|
|
688
|
+
}
|
|
689
|
+
export interface PathParameters {
|
|
690
|
+
configId: Parameters.ConfigId;
|
|
691
|
+
eventId: Parameters.EventId;
|
|
692
|
+
}
|
|
693
|
+
namespace Responses {
|
|
694
|
+
export type $200 = Components.Schemas.WebhookEvent;
|
|
695
|
+
export type $404 = Components.Schemas.ErrorResp;
|
|
696
|
+
export type $500 = Components.Schemas.ErrorResp;
|
|
697
|
+
}
|
|
698
|
+
}
|
|
699
|
+
namespace GetPublicKey {
|
|
700
|
+
namespace Parameters {
|
|
701
|
+
export type OrgId = string;
|
|
702
|
+
}
|
|
703
|
+
export interface QueryParameters {
|
|
704
|
+
orgId: Parameters.OrgId;
|
|
705
|
+
}
|
|
706
|
+
namespace Responses {
|
|
707
|
+
export type $200 = Components.Schemas.PublicKeyResponse;
|
|
708
|
+
export type $500 = Components.Schemas.ErrorResp;
|
|
709
|
+
}
|
|
710
|
+
}
|
|
711
|
+
namespace GetWebhookEventsV2 {
|
|
712
|
+
namespace Parameters {
|
|
713
|
+
export type ConfigId = string;
|
|
714
|
+
}
|
|
715
|
+
export interface PathParameters {
|
|
716
|
+
configId: Parameters.ConfigId;
|
|
717
|
+
}
|
|
718
|
+
export type RequestBody = Components.Schemas.SearchOptions;
|
|
719
|
+
namespace Responses {
|
|
720
|
+
export type $200 = Components.Schemas.EventListResponse;
|
|
721
|
+
}
|
|
722
|
+
}
|
|
723
|
+
namespace GetWebhookExample {
|
|
724
|
+
namespace Parameters {
|
|
725
|
+
export type ConfigId = string;
|
|
726
|
+
}
|
|
727
|
+
export interface PathParameters {
|
|
728
|
+
configId: Parameters.ConfigId;
|
|
729
|
+
}
|
|
730
|
+
export type RequestBody = Components.Schemas.ExampleRequest;
|
|
731
|
+
namespace Responses {
|
|
732
|
+
export type $200 = Components.Schemas.ExampleResponse;
|
|
733
|
+
export type $400 = Components.Schemas.ErrorResp;
|
|
734
|
+
export type $404 = Components.Schemas.ErrorResp;
|
|
735
|
+
export type $500 = Components.Schemas.ErrorResp;
|
|
736
|
+
}
|
|
737
|
+
}
|
|
738
|
+
namespace GetWehookEvents {
|
|
739
|
+
namespace Parameters {
|
|
740
|
+
export type ConfigId = string;
|
|
741
|
+
export type Cursor = string;
|
|
742
|
+
export type Status = "succeeded" | "failed" | "in_progress";
|
|
743
|
+
}
|
|
744
|
+
export interface PathParameters {
|
|
745
|
+
configId: Parameters.ConfigId;
|
|
746
|
+
}
|
|
747
|
+
export interface QueryParameters {
|
|
748
|
+
status?: Parameters.Status;
|
|
749
|
+
cursor?: Parameters.Cursor;
|
|
750
|
+
}
|
|
751
|
+
namespace Responses {
|
|
752
|
+
export interface $200 {
|
|
753
|
+
data?: Components.Schemas.WebhookEvent[];
|
|
754
|
+
/**
|
|
755
|
+
* Cursor to be used for pagination
|
|
756
|
+
*/
|
|
757
|
+
cursor?: string;
|
|
758
|
+
}
|
|
759
|
+
export type $404 = Components.Schemas.ErrorResp;
|
|
760
|
+
export type $500 = Components.Schemas.ErrorResp;
|
|
761
|
+
}
|
|
762
|
+
}
|
|
763
|
+
namespace ReplayEvent {
|
|
764
|
+
namespace Parameters {
|
|
765
|
+
export type ConfigId = string;
|
|
766
|
+
export type EventId = string;
|
|
767
|
+
}
|
|
768
|
+
export interface PathParameters {
|
|
769
|
+
configId: Parameters.ConfigId;
|
|
770
|
+
eventId: Parameters.EventId;
|
|
771
|
+
}
|
|
772
|
+
namespace Responses {
|
|
773
|
+
export interface $204 {
|
|
774
|
+
}
|
|
775
|
+
export type $404 = Components.Schemas.ErrorResp;
|
|
776
|
+
export type $500 = Components.Schemas.ErrorResp;
|
|
777
|
+
}
|
|
778
|
+
}
|
|
779
|
+
namespace TriggerWebhook {
|
|
780
|
+
namespace Parameters {
|
|
781
|
+
export type ConfigId = string;
|
|
782
|
+
export type Sync = boolean;
|
|
783
|
+
}
|
|
784
|
+
export interface PathParameters {
|
|
785
|
+
configId: Parameters.ConfigId;
|
|
786
|
+
}
|
|
787
|
+
export interface QueryParameters {
|
|
788
|
+
sync?: Parameters.Sync;
|
|
789
|
+
}
|
|
790
|
+
export type RequestBody = /* Payload for triggering a webhook */ Components.Schemas.ExecutionPayload;
|
|
791
|
+
namespace Responses {
|
|
792
|
+
export type $200 = Components.Schemas.TriggerWebhookResp;
|
|
793
|
+
export type $400 = Components.Schemas.ErrorResp;
|
|
794
|
+
export type $500 = Components.Schemas.ErrorResp;
|
|
795
|
+
}
|
|
796
|
+
}
|
|
797
|
+
namespace UpdateConfig {
|
|
798
|
+
namespace Parameters {
|
|
799
|
+
export type ConfigId = string;
|
|
800
|
+
}
|
|
801
|
+
export interface PathParameters {
|
|
802
|
+
configId: Parameters.ConfigId;
|
|
803
|
+
}
|
|
804
|
+
export type RequestBody = /**
|
|
805
|
+
* example:
|
|
806
|
+
* {
|
|
807
|
+
* "eventName": "CustomerRequest_Created",
|
|
808
|
+
* "url": "https://my-partner-service.api.com",
|
|
809
|
+
* "httpMethod": "POST",
|
|
810
|
+
* "enabled": true,
|
|
811
|
+
* "auth": {
|
|
812
|
+
* "authType": "BASIC",
|
|
813
|
+
* "basicAuthConfig": {
|
|
814
|
+
* "username": "secretUsername",
|
|
815
|
+
* "password": "secret7825@!"
|
|
816
|
+
* }
|
|
817
|
+
* },
|
|
818
|
+
* "filter": {
|
|
819
|
+
* "keyToFilter": "customer_request.productId",
|
|
820
|
+
* "supportedValues": [
|
|
821
|
+
* "2324245",
|
|
822
|
+
* "5253642"
|
|
823
|
+
* ]
|
|
824
|
+
* }
|
|
825
|
+
* }
|
|
826
|
+
*/
|
|
827
|
+
Components.Schemas.WebhookConfig;
|
|
828
|
+
namespace Responses {
|
|
829
|
+
export type $200 = /**
|
|
830
|
+
* example:
|
|
831
|
+
* {
|
|
832
|
+
* "eventName": "CustomerRequest_Created",
|
|
833
|
+
* "url": "https://my-partner-service.api.com",
|
|
834
|
+
* "httpMethod": "POST",
|
|
835
|
+
* "enabled": true,
|
|
836
|
+
* "auth": {
|
|
837
|
+
* "authType": "BASIC",
|
|
838
|
+
* "basicAuthConfig": {
|
|
839
|
+
* "username": "secretUsername",
|
|
840
|
+
* "password": "secret7825@!"
|
|
841
|
+
* }
|
|
842
|
+
* },
|
|
843
|
+
* "filter": {
|
|
844
|
+
* "keyToFilter": "customer_request.productId",
|
|
845
|
+
* "supportedValues": [
|
|
846
|
+
* "2324245",
|
|
847
|
+
* "5253642"
|
|
848
|
+
* ]
|
|
849
|
+
* }
|
|
850
|
+
* }
|
|
851
|
+
*/
|
|
852
|
+
Components.Schemas.WebhookConfig;
|
|
853
|
+
export type $400 = Components.Schemas.ErrorResp;
|
|
854
|
+
export type $401 = Components.Schemas.ErrorResp;
|
|
855
|
+
export type $500 = Components.Schemas.ErrorResp;
|
|
856
|
+
}
|
|
857
|
+
}
|
|
858
|
+
}
|
|
859
|
+
|
|
860
|
+
|
|
861
|
+
interface OperationMethods {
|
|
862
|
+
/**
|
|
863
|
+
* getPublicKey - getPublicKey
|
|
864
|
+
*
|
|
865
|
+
* Returns the platform-level Ed25519 public key used to verify
|
|
866
|
+
* asymmetric (v1a) webhook signatures. This endpoint is unauthenticated since the public key is not a secret, but the orgId parameter is required to ensure clients retrieve the correct key for their organization in case of key rotation.
|
|
867
|
+
*
|
|
868
|
+
*/
|
|
869
|
+
'getPublicKey'(
|
|
870
|
+
parameters?: Parameters<Paths.GetPublicKey.QueryParameters> | null,
|
|
871
|
+
data?: any,
|
|
872
|
+
config?: AxiosRequestConfig
|
|
873
|
+
): OperationResponse<Paths.GetPublicKey.Responses.$200>
|
|
874
|
+
/**
|
|
875
|
+
* getConfiguredEvents - getConfiguredEvents
|
|
876
|
+
*
|
|
877
|
+
* Retrieve events that can trigger webhooks
|
|
878
|
+
*/
|
|
879
|
+
'getConfiguredEvents'(
|
|
880
|
+
parameters?: Parameters<UnknownParamsObject> | null,
|
|
881
|
+
data?: any,
|
|
882
|
+
config?: AxiosRequestConfig
|
|
883
|
+
): OperationResponse<Paths.GetConfiguredEvents.Responses.$200>
|
|
884
|
+
/**
|
|
885
|
+
* getConfigs - getConfigs
|
|
886
|
+
*
|
|
887
|
+
* Search Webhook Client Configs
|
|
888
|
+
*/
|
|
889
|
+
'getConfigs'(
|
|
890
|
+
parameters?: Parameters<Paths.GetConfigs.QueryParameters> | null,
|
|
891
|
+
data?: any,
|
|
892
|
+
config?: AxiosRequestConfig
|
|
893
|
+
): OperationResponse<Paths.GetConfigs.Responses.$200>
|
|
894
|
+
/**
|
|
895
|
+
* createConfig - createConfig
|
|
896
|
+
*
|
|
897
|
+
* Create Webhook Client Config
|
|
898
|
+
*/
|
|
899
|
+
'createConfig'(
|
|
900
|
+
parameters?: Parameters<UnknownParamsObject> | null,
|
|
901
|
+
data?: Paths.CreateConfig.RequestBody,
|
|
902
|
+
config?: AxiosRequestConfig
|
|
903
|
+
): OperationResponse<Paths.CreateConfig.Responses.$201>
|
|
904
|
+
/**
|
|
905
|
+
* getConfig - getConfig
|
|
906
|
+
*
|
|
907
|
+
* Get webhook config by id
|
|
908
|
+
*/
|
|
909
|
+
'getConfig'(
|
|
910
|
+
parameters?: Parameters<Paths.GetConfig.PathParameters> | null,
|
|
911
|
+
data?: any,
|
|
912
|
+
config?: AxiosRequestConfig
|
|
913
|
+
): OperationResponse<Paths.GetConfig.Responses.$200>
|
|
914
|
+
/**
|
|
915
|
+
* updateConfig - updateConfig
|
|
916
|
+
*
|
|
917
|
+
* Update Webhook Client Config
|
|
918
|
+
*/
|
|
919
|
+
'updateConfig'(
|
|
920
|
+
parameters?: Parameters<Paths.UpdateConfig.PathParameters> | null,
|
|
921
|
+
data?: Paths.UpdateConfig.RequestBody,
|
|
922
|
+
config?: AxiosRequestConfig
|
|
923
|
+
): OperationResponse<Paths.UpdateConfig.Responses.$200>
|
|
924
|
+
/**
|
|
925
|
+
* deleteConfig - deleteConfig
|
|
926
|
+
*
|
|
927
|
+
* Delete Webhook Client Config
|
|
928
|
+
*/
|
|
929
|
+
'deleteConfig'(
|
|
930
|
+
parameters?: Parameters<Paths.DeleteConfig.PathParameters> | null,
|
|
931
|
+
data?: any,
|
|
932
|
+
config?: AxiosRequestConfig
|
|
933
|
+
): OperationResponse<Paths.DeleteConfig.Responses.$204>
|
|
934
|
+
/**
|
|
935
|
+
* triggerWebhook - triggers a webhook event either async or sync
|
|
936
|
+
*
|
|
937
|
+
* Trigger a webhook
|
|
938
|
+
*/
|
|
939
|
+
'triggerWebhook'(
|
|
940
|
+
parameters?: Parameters<Paths.TriggerWebhook.QueryParameters & Paths.TriggerWebhook.PathParameters> | null,
|
|
941
|
+
data?: Paths.TriggerWebhook.RequestBody,
|
|
942
|
+
config?: AxiosRequestConfig
|
|
943
|
+
): OperationResponse<Paths.TriggerWebhook.Responses.$200>
|
|
944
|
+
/**
|
|
945
|
+
* getWehookEvents - getWehookEvents
|
|
946
|
+
*
|
|
947
|
+
* This endpoint is deprecated and will be removed on 2025-12-31. Use /v2/webhooks/configs/{configId}/events instead.
|
|
948
|
+
*/
|
|
949
|
+
'getWehookEvents'(
|
|
950
|
+
parameters?: Parameters<Paths.GetWehookEvents.QueryParameters & Paths.GetWehookEvents.PathParameters> | null,
|
|
951
|
+
data?: any,
|
|
952
|
+
config?: AxiosRequestConfig
|
|
953
|
+
): OperationResponse<Paths.GetWehookEvents.Responses.$200>
|
|
954
|
+
/**
|
|
955
|
+
* batchReplayEvents - batchReplayEvents
|
|
956
|
+
*
|
|
957
|
+
* Replay a batch of webhook events
|
|
958
|
+
*/
|
|
959
|
+
'batchReplayEvents'(
|
|
960
|
+
parameters?: Parameters<Paths.BatchReplayEvents.PathParameters> | null,
|
|
961
|
+
data?: Paths.BatchReplayEvents.RequestBody,
|
|
962
|
+
config?: AxiosRequestConfig
|
|
963
|
+
): OperationResponse<Paths.BatchReplayEvents.Responses.$202>
|
|
964
|
+
/**
|
|
965
|
+
* getEventById - getEventById
|
|
966
|
+
*
|
|
967
|
+
* Get a webhook event by its id
|
|
968
|
+
*/
|
|
969
|
+
'getEventById'(
|
|
970
|
+
parameters?: Parameters<Paths.GetEventById.PathParameters> | null,
|
|
971
|
+
data?: any,
|
|
972
|
+
config?: AxiosRequestConfig
|
|
973
|
+
): OperationResponse<Paths.GetEventById.Responses.$200>
|
|
974
|
+
/**
|
|
975
|
+
* replayEvent - replayEvent
|
|
976
|
+
*
|
|
977
|
+
* Replay a webhook event
|
|
978
|
+
*/
|
|
979
|
+
'replayEvent'(
|
|
980
|
+
parameters?: Parameters<Paths.ReplayEvent.PathParameters> | null,
|
|
981
|
+
data?: any,
|
|
982
|
+
config?: AxiosRequestConfig
|
|
983
|
+
): OperationResponse<Paths.ReplayEvent.Responses.$204>
|
|
984
|
+
/**
|
|
985
|
+
* getWebhookExample - getWebhookExample
|
|
986
|
+
*
|
|
987
|
+
* Generate an example payload for a webhook configuration based on trigger type
|
|
988
|
+
*/
|
|
989
|
+
'getWebhookExample'(
|
|
990
|
+
parameters?: Parameters<Paths.GetWebhookExample.PathParameters> | null,
|
|
991
|
+
data?: Paths.GetWebhookExample.RequestBody,
|
|
992
|
+
config?: AxiosRequestConfig
|
|
993
|
+
): OperationResponse<Paths.GetWebhookExample.Responses.$200>
|
|
994
|
+
/**
|
|
995
|
+
* getWebhookEventsV2 - getWebhookEventsV2
|
|
996
|
+
*
|
|
997
|
+
* List webhook events and filter them by status, timestamp, etc.
|
|
998
|
+
*/
|
|
999
|
+
'getWebhookEventsV2'(
|
|
1000
|
+
parameters?: Parameters<Paths.GetWebhookEventsV2.PathParameters> | null,
|
|
1001
|
+
data?: Paths.GetWebhookEventsV2.RequestBody,
|
|
1002
|
+
config?: AxiosRequestConfig
|
|
1003
|
+
): OperationResponse<Paths.GetWebhookEventsV2.Responses.$200>
|
|
1004
|
+
}
|
|
1005
|
+
|
|
1006
|
+
interface PathsDictionary {
|
|
1007
|
+
['/v1/webhooks/.well-known/public-key']: {
|
|
1008
|
+
/**
|
|
1009
|
+
* getPublicKey - getPublicKey
|
|
1010
|
+
*
|
|
1011
|
+
* Returns the platform-level Ed25519 public key used to verify
|
|
1012
|
+
* asymmetric (v1a) webhook signatures. This endpoint is unauthenticated since the public key is not a secret, but the orgId parameter is required to ensure clients retrieve the correct key for their organization in case of key rotation.
|
|
1013
|
+
*
|
|
1014
|
+
*/
|
|
1015
|
+
'get'(
|
|
1016
|
+
parameters?: Parameters<Paths.GetPublicKey.QueryParameters> | null,
|
|
1017
|
+
data?: any,
|
|
1018
|
+
config?: AxiosRequestConfig
|
|
1019
|
+
): OperationResponse<Paths.GetPublicKey.Responses.$200>
|
|
1020
|
+
}
|
|
1021
|
+
['/v1/webhooks/configured-events']: {
|
|
1022
|
+
/**
|
|
1023
|
+
* getConfiguredEvents - getConfiguredEvents
|
|
1024
|
+
*
|
|
1025
|
+
* Retrieve events that can trigger webhooks
|
|
1026
|
+
*/
|
|
1027
|
+
'get'(
|
|
1028
|
+
parameters?: Parameters<UnknownParamsObject> | null,
|
|
1029
|
+
data?: any,
|
|
1030
|
+
config?: AxiosRequestConfig
|
|
1031
|
+
): OperationResponse<Paths.GetConfiguredEvents.Responses.$200>
|
|
1032
|
+
}
|
|
1033
|
+
['/v1/webhooks/configs']: {
|
|
1034
|
+
/**
|
|
1035
|
+
* getConfigs - getConfigs
|
|
1036
|
+
*
|
|
1037
|
+
* Search Webhook Client Configs
|
|
1038
|
+
*/
|
|
1039
|
+
'get'(
|
|
1040
|
+
parameters?: Parameters<Paths.GetConfigs.QueryParameters> | null,
|
|
1041
|
+
data?: any,
|
|
1042
|
+
config?: AxiosRequestConfig
|
|
1043
|
+
): OperationResponse<Paths.GetConfigs.Responses.$200>
|
|
1044
|
+
/**
|
|
1045
|
+
* createConfig - createConfig
|
|
1046
|
+
*
|
|
1047
|
+
* Create Webhook Client Config
|
|
1048
|
+
*/
|
|
1049
|
+
'post'(
|
|
1050
|
+
parameters?: Parameters<UnknownParamsObject> | null,
|
|
1051
|
+
data?: Paths.CreateConfig.RequestBody,
|
|
1052
|
+
config?: AxiosRequestConfig
|
|
1053
|
+
): OperationResponse<Paths.CreateConfig.Responses.$201>
|
|
1054
|
+
}
|
|
1055
|
+
['/v1/webhooks/configs/{configId}']: {
|
|
1056
|
+
/**
|
|
1057
|
+
* getConfig - getConfig
|
|
1058
|
+
*
|
|
1059
|
+
* Get webhook config by id
|
|
1060
|
+
*/
|
|
1061
|
+
'get'(
|
|
1062
|
+
parameters?: Parameters<Paths.GetConfig.PathParameters> | null,
|
|
1063
|
+
data?: any,
|
|
1064
|
+
config?: AxiosRequestConfig
|
|
1065
|
+
): OperationResponse<Paths.GetConfig.Responses.$200>
|
|
1066
|
+
/**
|
|
1067
|
+
* updateConfig - updateConfig
|
|
1068
|
+
*
|
|
1069
|
+
* Update Webhook Client Config
|
|
1070
|
+
*/
|
|
1071
|
+
'put'(
|
|
1072
|
+
parameters?: Parameters<Paths.UpdateConfig.PathParameters> | null,
|
|
1073
|
+
data?: Paths.UpdateConfig.RequestBody,
|
|
1074
|
+
config?: AxiosRequestConfig
|
|
1075
|
+
): OperationResponse<Paths.UpdateConfig.Responses.$200>
|
|
1076
|
+
/**
|
|
1077
|
+
* deleteConfig - deleteConfig
|
|
1078
|
+
*
|
|
1079
|
+
* Delete Webhook Client Config
|
|
1080
|
+
*/
|
|
1081
|
+
'delete'(
|
|
1082
|
+
parameters?: Parameters<Paths.DeleteConfig.PathParameters> | null,
|
|
1083
|
+
data?: any,
|
|
1084
|
+
config?: AxiosRequestConfig
|
|
1085
|
+
): OperationResponse<Paths.DeleteConfig.Responses.$204>
|
|
1086
|
+
}
|
|
1087
|
+
['/v1/webhooks/configs/{configId}/trigger']: {
|
|
1088
|
+
/**
|
|
1089
|
+
* triggerWebhook - triggers a webhook event either async or sync
|
|
1090
|
+
*
|
|
1091
|
+
* Trigger a webhook
|
|
1092
|
+
*/
|
|
1093
|
+
'post'(
|
|
1094
|
+
parameters?: Parameters<Paths.TriggerWebhook.QueryParameters & Paths.TriggerWebhook.PathParameters> | null,
|
|
1095
|
+
data?: Paths.TriggerWebhook.RequestBody,
|
|
1096
|
+
config?: AxiosRequestConfig
|
|
1097
|
+
): OperationResponse<Paths.TriggerWebhook.Responses.$200>
|
|
1098
|
+
}
|
|
1099
|
+
['/v1/webhooks/configs/{configId}/events']: {
|
|
1100
|
+
/**
|
|
1101
|
+
* getWehookEvents - getWehookEvents
|
|
1102
|
+
*
|
|
1103
|
+
* This endpoint is deprecated and will be removed on 2025-12-31. Use /v2/webhooks/configs/{configId}/events instead.
|
|
1104
|
+
*/
|
|
1105
|
+
'get'(
|
|
1106
|
+
parameters?: Parameters<Paths.GetWehookEvents.QueryParameters & Paths.GetWehookEvents.PathParameters> | null,
|
|
1107
|
+
data?: any,
|
|
1108
|
+
config?: AxiosRequestConfig
|
|
1109
|
+
): OperationResponse<Paths.GetWehookEvents.Responses.$200>
|
|
1110
|
+
}
|
|
1111
|
+
['/v1/webhooks/configs/{configId}/events/replay-batch']: {
|
|
1112
|
+
/**
|
|
1113
|
+
* batchReplayEvents - batchReplayEvents
|
|
1114
|
+
*
|
|
1115
|
+
* Replay a batch of webhook events
|
|
1116
|
+
*/
|
|
1117
|
+
'post'(
|
|
1118
|
+
parameters?: Parameters<Paths.BatchReplayEvents.PathParameters> | null,
|
|
1119
|
+
data?: Paths.BatchReplayEvents.RequestBody,
|
|
1120
|
+
config?: AxiosRequestConfig
|
|
1121
|
+
): OperationResponse<Paths.BatchReplayEvents.Responses.$202>
|
|
1122
|
+
}
|
|
1123
|
+
['/v1/webhooks/configs/{configId}/events/{eventId}']: {
|
|
1124
|
+
/**
|
|
1125
|
+
* getEventById - getEventById
|
|
1126
|
+
*
|
|
1127
|
+
* Get a webhook event by its id
|
|
1128
|
+
*/
|
|
1129
|
+
'get'(
|
|
1130
|
+
parameters?: Parameters<Paths.GetEventById.PathParameters> | null,
|
|
1131
|
+
data?: any,
|
|
1132
|
+
config?: AxiosRequestConfig
|
|
1133
|
+
): OperationResponse<Paths.GetEventById.Responses.$200>
|
|
1134
|
+
}
|
|
1135
|
+
['/v1/webhooks/configs/{configId}/events/{eventId}/replay']: {
|
|
1136
|
+
/**
|
|
1137
|
+
* replayEvent - replayEvent
|
|
1138
|
+
*
|
|
1139
|
+
* Replay a webhook event
|
|
1140
|
+
*/
|
|
1141
|
+
'post'(
|
|
1142
|
+
parameters?: Parameters<Paths.ReplayEvent.PathParameters> | null,
|
|
1143
|
+
data?: any,
|
|
1144
|
+
config?: AxiosRequestConfig
|
|
1145
|
+
): OperationResponse<Paths.ReplayEvent.Responses.$204>
|
|
1146
|
+
}
|
|
1147
|
+
['/v1/webhooks/configs/{configId}/example']: {
|
|
1148
|
+
/**
|
|
1149
|
+
* getWebhookExample - getWebhookExample
|
|
1150
|
+
*
|
|
1151
|
+
* Generate an example payload for a webhook configuration based on trigger type
|
|
1152
|
+
*/
|
|
1153
|
+
'post'(
|
|
1154
|
+
parameters?: Parameters<Paths.GetWebhookExample.PathParameters> | null,
|
|
1155
|
+
data?: Paths.GetWebhookExample.RequestBody,
|
|
1156
|
+
config?: AxiosRequestConfig
|
|
1157
|
+
): OperationResponse<Paths.GetWebhookExample.Responses.$200>
|
|
1158
|
+
}
|
|
1159
|
+
['/v2/webhooks/configs/{configId}/events']: {
|
|
1160
|
+
/**
|
|
1161
|
+
* getWebhookEventsV2 - getWebhookEventsV2
|
|
1162
|
+
*
|
|
1163
|
+
* List webhook events and filter them by status, timestamp, etc.
|
|
1164
|
+
*/
|
|
1165
|
+
'post'(
|
|
1166
|
+
parameters?: Parameters<Paths.GetWebhookEventsV2.PathParameters> | null,
|
|
1167
|
+
data?: Paths.GetWebhookEventsV2.RequestBody,
|
|
1168
|
+
config?: AxiosRequestConfig
|
|
1169
|
+
): OperationResponse<Paths.GetWebhookEventsV2.Responses.$200>
|
|
1170
|
+
}
|
|
1171
|
+
}
|
|
1172
|
+
|
|
1173
|
+
type Client = OpenAPIClient<OperationMethods, PathsDictionary>
|
|
1174
|
+
|
|
1175
|
+
|
|
1176
|
+
type ApiKeyConfig = Components.Schemas.ApiKeyConfig;
|
|
1177
|
+
type Auth = Components.Schemas.Auth;
|
|
1178
|
+
type AuthType = Components.Schemas.AuthType;
|
|
1179
|
+
type BasicAuthConfig = Components.Schemas.BasicAuthConfig;
|
|
1180
|
+
type BatchReplayRequest = Components.Schemas.BatchReplayRequest;
|
|
1181
|
+
type CustomHeader = Components.Schemas.CustomHeader;
|
|
1182
|
+
type CustomOAuthParameter = Components.Schemas.CustomOAuthParameter;
|
|
1183
|
+
type ErrorResp = Components.Schemas.ErrorResp;
|
|
1184
|
+
type EventConfigEntry = Components.Schemas.EventConfigEntry;
|
|
1185
|
+
type EventConfigResp = Components.Schemas.EventConfigResp;
|
|
1186
|
+
type EventListResponse = Components.Schemas.EventListResponse;
|
|
1187
|
+
type ExampleRequest = Components.Schemas.ExampleRequest;
|
|
1188
|
+
type ExampleResponse = Components.Schemas.ExampleResponse;
|
|
1189
|
+
type ExecutionPayload = Components.Schemas.ExecutionPayload;
|
|
1190
|
+
type Filter = Components.Schemas.Filter;
|
|
1191
|
+
type HttpMethod = Components.Schemas.HttpMethod;
|
|
1192
|
+
type Metadata = Components.Schemas.Metadata;
|
|
1193
|
+
type OAuthConfig = Components.Schemas.OAuthConfig;
|
|
1194
|
+
type PayloadConfiguration = Components.Schemas.PayloadConfiguration;
|
|
1195
|
+
type PublicKeyResponse = Components.Schemas.PublicKeyResponse;
|
|
1196
|
+
type SearchOptions = Components.Schemas.SearchOptions;
|
|
1197
|
+
type TriggerWebhookResp = Components.Schemas.TriggerWebhookResp;
|
|
1198
|
+
type WebhookConfig = Components.Schemas.WebhookConfig;
|
|
1199
|
+
type WebhookEvent = Components.Schemas.WebhookEvent;
|
|
1200
|
+
|
|
1201
|
+
export type { ApiKeyConfig as A, BasicAuthConfig as B, Client as C, ErrorResp as E, Filter as F, HttpMethod as H, Metadata as M, OperationMethods as O, PathsDictionary as P, SearchOptions as S, TriggerWebhookResp as T, WebhookConfig as W, Auth as a, AuthType as b, BatchReplayRequest as c, CustomHeader as d, CustomOAuthParameter as e, EventConfigEntry as f, EventConfigResp as g, EventListResponse as h, ExampleRequest as i, ExampleResponse as j, ExecutionPayload as k, OAuthConfig as l, PayloadConfiguration as m, PublicKeyResponse as n, WebhookEvent as o };
|