@epilot/sdk 2.2.6 → 2.3.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 +3 -2
- package/dist/{README-JUWX7KNV.js → README-7R2JR652.js} +1 -1
- package/dist/{README-6OOYWQYJ.cjs → README-Z5AKTGJA.cjs} +1 -1
- package/dist/{_index-NWNYWBIF.js → _index-CLT2KTVS.js} +9 -6
- package/dist/{_index-ONGE545F.cjs → _index-O7JDGRSE.cjs} +8 -5
- package/dist/apis/access-token.cjs +6 -6
- package/dist/apis/access-token.js +1 -1
- package/dist/apis/address-suggestions.cjs +6 -6
- package/dist/apis/address-suggestions.js +1 -1
- package/dist/apis/address.cjs +6 -6
- package/dist/apis/address.js +1 -1
- package/dist/apis/ai-agents.cjs +6 -6
- package/dist/apis/ai-agents.js +1 -1
- package/dist/apis/app.cjs +6 -6
- package/dist/apis/app.js +1 -1
- package/dist/apis/audit-logs.cjs +6 -6
- package/dist/apis/audit-logs.js +1 -1
- package/dist/apis/automation.cjs +8 -8
- package/dist/apis/automation.d.cts +2 -2
- package/dist/apis/automation.d.ts +2 -2
- package/dist/apis/automation.js +2 -2
- package/dist/apis/billing.cjs +6 -6
- package/dist/apis/billing.js +1 -1
- package/dist/apis/blueprint-manifest.cjs +8 -8
- package/dist/apis/blueprint-manifest.d.cts +2 -2
- package/dist/apis/blueprint-manifest.d.ts +2 -2
- package/dist/apis/blueprint-manifest.js +2 -2
- package/dist/apis/consent.cjs +6 -6
- package/dist/apis/consent.js +1 -1
- package/dist/apis/customer-portal.cjs +6 -6
- package/dist/apis/customer-portal.js +1 -1
- package/dist/apis/dashboard.cjs +6 -6
- package/dist/apis/dashboard.js +1 -1
- package/dist/apis/data-governance.cjs +38 -0
- package/dist/apis/{data-management.d.cts → data-governance.d.cts} +5 -5
- package/dist/apis/{data-management.d.ts → data-governance.d.ts} +5 -5
- package/dist/apis/{data-management.js → data-governance.js} +10 -10
- package/dist/apis/deduplication.cjs +8 -8
- package/dist/apis/deduplication.d.cts +2 -2
- package/dist/apis/deduplication.d.ts +2 -2
- package/dist/apis/deduplication.js +2 -2
- package/dist/apis/design.cjs +8 -8
- package/dist/apis/design.d.cts +2 -2
- package/dist/apis/design.d.ts +2 -2
- package/dist/apis/design.js +2 -2
- package/dist/apis/document.cjs +6 -6
- package/dist/apis/document.js +1 -1
- package/dist/apis/email-settings.cjs +8 -8
- package/dist/apis/email-settings.d.cts +2 -2
- package/dist/apis/email-settings.d.ts +2 -2
- package/dist/apis/email-settings.js +2 -2
- package/dist/apis/email-template.cjs +6 -6
- package/dist/apis/email-template.js +1 -1
- package/dist/apis/entity-mapping.cjs +6 -6
- package/dist/apis/entity-mapping.js +1 -1
- package/dist/apis/entity.cjs +6 -6
- package/dist/apis/entity.d.cts +2 -2
- package/dist/apis/entity.d.ts +2 -2
- package/dist/apis/entity.js +1 -1
- package/dist/apis/environments.cjs +6 -6
- package/dist/apis/environments.js +1 -1
- package/dist/apis/erp-integration.cjs +8 -8
- package/dist/apis/erp-integration.d.cts +5755 -3
- package/dist/apis/erp-integration.d.ts +5755 -3
- package/dist/apis/erp-integration.js +2 -2
- package/dist/apis/event-catalog.cjs +6 -6
- package/dist/apis/event-catalog.js +1 -1
- package/dist/apis/file.cjs +6 -6
- package/dist/apis/file.js +1 -1
- package/dist/apis/iban.cjs +6 -6
- package/dist/apis/iban.js +1 -1
- package/dist/apis/integration-toolkit.cjs +38 -0
- package/dist/apis/integration-toolkit.d.cts +18 -0
- package/dist/apis/integration-toolkit.d.ts +18 -0
- package/dist/apis/integration-toolkit.js +38 -0
- package/dist/apis/journey.cjs +6 -6
- package/dist/apis/journey.d.cts +2 -2
- package/dist/apis/journey.d.ts +2 -2
- package/dist/apis/journey.js +1 -1
- package/dist/apis/kanban.cjs +6 -6
- package/dist/apis/kanban.js +1 -1
- package/dist/apis/message.cjs +8 -8
- package/dist/apis/message.d.cts +2 -2
- package/dist/apis/message.d.ts +2 -2
- package/dist/apis/message.js +2 -2
- package/dist/apis/metering.cjs +6 -6
- package/dist/apis/metering.js +1 -1
- package/dist/apis/notes.cjs +6 -6
- package/dist/apis/notes.js +1 -1
- package/dist/apis/notification.cjs +6 -6
- package/dist/apis/notification.js +1 -1
- package/dist/apis/organization.cjs +6 -6
- package/dist/apis/organization.js +1 -1
- package/dist/apis/partner-directory.cjs +6 -6
- package/dist/apis/partner-directory.js +1 -1
- package/dist/apis/permissions.cjs +6 -6
- package/dist/apis/permissions.js +1 -1
- package/dist/apis/pricing-tier.cjs +6 -6
- package/dist/apis/pricing-tier.js +1 -1
- package/dist/apis/pricing.cjs +6 -6
- package/dist/apis/pricing.js +1 -1
- package/dist/apis/purpose.cjs +6 -6
- package/dist/apis/purpose.js +1 -1
- package/dist/apis/sandbox.cjs +6 -6
- package/dist/apis/sandbox.js +1 -1
- package/dist/apis/sharing.cjs +38 -0
- package/dist/apis/sharing.d.cts +18 -0
- package/dist/apis/sharing.d.ts +18 -0
- package/dist/apis/sharing.js +38 -0
- package/dist/apis/submission.cjs +6 -6
- package/dist/apis/submission.js +1 -1
- package/dist/apis/targeting.cjs +6 -6
- package/dist/apis/targeting.js +1 -1
- package/dist/apis/template-variables.cjs +6 -6
- package/dist/apis/template-variables.d.cts +2 -2
- package/dist/apis/template-variables.d.ts +2 -2
- package/dist/apis/template-variables.js +1 -1
- package/dist/apis/user.cjs +6 -6
- package/dist/apis/user.js +1 -1
- package/dist/apis/validation-rules.cjs +6 -6
- package/dist/apis/validation-rules.js +1 -1
- package/dist/apis/webhooks.cjs +6 -6
- package/dist/apis/webhooks.js +1 -1
- package/dist/apis/workflow-definition.cjs +6 -6
- package/dist/apis/workflow-definition.d.cts +2 -2
- package/dist/apis/workflow-definition.d.ts +2 -2
- package/dist/apis/workflow-definition.js +1 -1
- package/dist/apis/workflow.cjs +8 -8
- package/dist/apis/workflow.d.cts +2 -2
- package/dist/apis/workflow.d.ts +2 -2
- package/dist/apis/workflow.js +2 -2
- package/dist/automation-GFNNLSIN.js +7 -0
- package/dist/automation-IOCVCTKR.cjs +7 -0
- package/dist/{automation-runtime-YBGGE5PL.cjs → automation-runtime-DO5QSGJJ.cjs} +2 -2
- package/dist/{automation-runtime-L5UKEFLA.js → automation-runtime-VP4M7Z4R.js} +1 -1
- package/dist/{automation.d-D7BzN7Gq.d.cts → automation.d-CzhG2m4L.d.cts} +353 -3
- package/dist/{automation.d-D7BzN7Gq.d.ts → automation.d-CzhG2m4L.d.ts} +353 -3
- package/dist/blueprint-manifest-ELK4SGN7.js +7 -0
- package/dist/blueprint-manifest-VBOWPK52.cjs +7 -0
- package/dist/{blueprint-manifest-runtime-2RTW5C52.js → blueprint-manifest-runtime-E2FN43TB.js} +1 -1
- package/dist/{blueprint-manifest-runtime-AF3FIDVX.cjs → blueprint-manifest-runtime-G4UK5VEX.cjs} +2 -2
- package/dist/{blueprint-manifest.d-DECw6HdM.d.cts → blueprint-manifest.d-BGrGU787.d.cts} +712 -22
- package/dist/{blueprint-manifest.d-DECw6HdM.d.ts → blueprint-manifest.d-BGrGU787.d.ts} +712 -22
- package/dist/chunk-5APJZUIH.cjs +14 -0
- package/dist/chunk-5ED7FB3Q.js +14 -0
- package/dist/{chunk-H2KTLW3Q.js → chunk-6AO46HG5.js} +31 -26
- package/dist/{chunk-UNCVJH6J.cjs → chunk-77JS7NDM.cjs} +1 -1
- package/dist/{chunk-6UAS2VVG.js → chunk-DLYPVF4U.js} +1 -1
- package/dist/chunk-DVM27A7E.cjs +14 -0
- package/dist/{chunk-3NLMZLCD.js → chunk-EFWPEVXI.js} +1 -1
- package/dist/chunk-EIIIKDOJ.cjs +14 -0
- package/dist/{chunk-HAZ3WP7V.cjs → chunk-IAHSYVYB.cjs} +1 -1
- package/dist/chunk-JTFWOEZF.cjs +14 -0
- package/dist/{chunk-A67W5WAP.cjs → chunk-KEI3GHDY.cjs} +1 -1
- package/dist/chunk-KIWRGUKM.js +14 -0
- package/dist/{chunk-PSQMDY3B.js → chunk-KQKBSWGI.js} +1 -1
- package/dist/{chunk-NF3MQHQS.cjs → chunk-MHXQX7FS.cjs} +31 -26
- package/dist/{chunk-LHVRAAFH.js → chunk-MUNMUGB5.js} +1 -1
- package/dist/chunk-NPDSA7T2.js +14 -0
- package/dist/{chunk-ZI33AJQ5.cjs → chunk-QNZPOA54.cjs} +1 -1
- package/dist/{chunk-ODD4JQVS.cjs → chunk-TLH6XOTL.cjs} +1 -1
- package/dist/chunk-TZQFJ5GX.cjs +14 -0
- package/dist/chunk-U4PUHKZC.js +14 -0
- package/dist/chunk-VPDA5SAH.js +14 -0
- package/dist/chunk-WT26LFC2.js +14 -0
- package/dist/{chunk-3YSEO476.js → chunk-X2SC4GW5.js} +1 -1
- package/dist/chunk-ZL6KDJFT.cjs +14 -0
- package/dist/data-governance-2U5UU4GM.cjs +7 -0
- package/dist/data-governance-36Y33JVG.js +7 -0
- package/dist/{data-management-W5JQGGGH.js → data-governance-PLS5TJ7Z.js} +3 -3
- package/dist/{data-management-XFSRLFYA.cjs → data-governance-ZJ2K4ZWX.cjs} +3 -3
- package/dist/data-governance-runtime-LITKCNSG.js +5 -0
- package/dist/{erp-integration-runtime-HZI2P4X7.cjs → data-governance-runtime-TDGFG67G.cjs} +2 -2
- package/dist/data-governance.d-BbZ466j5.d.cts +1178 -0
- package/dist/data-governance.d-BbZ466j5.d.ts +1178 -0
- package/dist/deduplication-G2ZY4NMX.js +7 -0
- package/dist/deduplication-PKKTZAEA.cjs +7 -0
- package/dist/{deduplication-runtime-BBHG7MJW.cjs → deduplication-runtime-5QS6I4S7.cjs} +2 -2
- package/dist/{deduplication-runtime-DLGBF4RN.js → deduplication-runtime-VL4R2VIG.js} +1 -1
- package/dist/deduplication.d-D5GYddVu.d.cts +218 -0
- package/dist/deduplication.d-D5GYddVu.d.ts +218 -0
- package/dist/design-NISDHPFD.cjs +7 -0
- package/dist/design-WL4AZIGX.js +7 -0
- package/dist/design-runtime-OXEXKZVG.cjs +5 -0
- package/dist/{design-runtime-3SKJA7QH.js → design-runtime-QMJM4FAF.js} +1 -1
- package/dist/{design.d-eA-irKEX.d.cts → design.d-DTo29S0F.d.cts} +142 -15
- package/dist/{design.d-eA-irKEX.d.ts → design.d-DTo29S0F.d.ts} +142 -15
- package/dist/email-settings-CKFJU4WZ.js +7 -0
- package/dist/email-settings-NQJJKS2P.cjs +7 -0
- package/dist/{email-settings-runtime-Q2HVKJDS.js → email-settings-runtime-EGIJ2AVQ.js} +1 -1
- package/dist/{email-settings-runtime-3NJIAWWI.cjs → email-settings-runtime-WGVLI7N6.cjs} +2 -2
- package/dist/{email-settings.d-DUvmLZMN.d.cts → email-settings.d-B7Q_xT25.d.cts} +29 -2
- package/dist/{email-settings.d-DUvmLZMN.d.ts → email-settings.d-B7Q_xT25.d.ts} +29 -2
- package/dist/entity-CK76MXVN.js +7 -0
- package/dist/entity-TFMH5VTZ.cjs +7 -0
- package/dist/{entity.d-__Tx1Y0J.d.ts → entity.d-ByufVI16.d.cts} +40 -1
- package/dist/{entity.d-__Tx1Y0J.d.cts → entity.d-ByufVI16.d.ts} +40 -1
- package/dist/erp-integration-PAVHSUDM.cjs +7 -0
- package/dist/erp-integration-SBQJ6HEG.js +7 -0
- package/dist/{erp-integration-runtime-6SBLYZ34.js → erp-integration-runtime-BHHWMG4O.js} +1 -1
- package/dist/{data-management-runtime-J5IS7T47.cjs → erp-integration-runtime-Y6VWGQ3L.cjs} +2 -2
- package/dist/index.cjs +67 -40
- package/dist/index.d.cts +36 -34
- package/dist/index.d.ts +36 -34
- package/dist/index.js +54 -27
- package/dist/integration-toolkit-FRPFOYT2.js +7 -0
- package/dist/integration-toolkit-VNMDI55O.cjs +7 -0
- package/dist/integration-toolkit-runtime-5KG3LGXF.cjs +5 -0
- package/dist/integration-toolkit-runtime-LYHFVIRW.js +5 -0
- package/dist/{erp-integration.d-BV3Rv9e6.d.cts → integration-toolkit.d-Ry-KC9ow.d.cts} +820 -2
- package/dist/{erp-integration.d-BV3Rv9e6.d.ts → integration-toolkit.d-Ry-KC9ow.d.ts} +820 -2
- package/dist/journey-KDR5EU3W.js +7 -0
- package/dist/journey-REBN4TGQ.cjs +7 -0
- package/dist/{journey.d-BguKXj73.d.cts → journey.d-ClXO0xK8.d.cts} +8 -0
- package/dist/{journey.d-BguKXj73.d.ts → journey.d-ClXO0xK8.d.ts} +8 -0
- package/dist/message-HCA2KSH6.js +7 -0
- package/dist/message-J2SFQJNB.cjs +7 -0
- package/dist/{message-runtime-ITR7MPKT.cjs → message-runtime-CGFCT6FU.cjs} +2 -2
- package/dist/{message-runtime-YMKW2N3R.js → message-runtime-XDCFFLYK.js} +1 -1
- package/dist/{message.d-YEv1kmQd.d.cts → message.d-D3QUkBjg.d.cts} +230 -4
- package/dist/{message.d-YEv1kmQd.d.ts → message.d-D3QUkBjg.d.ts} +230 -4
- package/dist/sharing-KEWK5LNG.js +976 -0
- package/dist/sharing-MNDABPL7.js +7 -0
- package/dist/sharing-MR7ANOST.cjs +7 -0
- package/dist/sharing-WG4L7LH2.cjs +976 -0
- package/dist/sharing-runtime-OZGIZWL3.js +5 -0
- package/dist/sharing-runtime-VOFLBIFW.cjs +5 -0
- package/dist/sharing.d-sOXq-gtz.d.cts +571 -0
- package/dist/sharing.d-sOXq-gtz.d.ts +571 -0
- package/dist/{template-variables-VKDJJZUT.js → template-variables-6CLOG67C.js} +13 -0
- package/dist/{template-variables-OAYS2E3G.cjs → template-variables-I72B5WS6.cjs} +13 -0
- package/dist/{template-variables.d-Ch3H3zYf.d.cts → template-variables.d-Ble9TSBa.d.cts} +8 -2
- package/dist/{template-variables.d-Ch3H3zYf.d.ts → template-variables.d-Ble9TSBa.d.ts} +8 -2
- package/dist/workflow-CQOBZ25C.cjs +7 -0
- package/dist/workflow-G7VFCXY7.js +7 -0
- package/dist/workflow-definition-CVBYKAUY.cjs +7 -0
- package/dist/workflow-definition-GNAKDNG7.js +7 -0
- package/dist/{workflow-definition.d-CtmE-ymB.d.cts → workflow-definition.d-ByCJK9_x.d.cts} +16 -0
- package/dist/{workflow-definition.d-CtmE-ymB.d.ts → workflow-definition.d-ByCJK9_x.d.ts} +16 -0
- package/dist/{workflow-runtime-RLZO2OQB.js → workflow-runtime-DNTQDYPQ.js} +1 -1
- package/dist/{workflow-runtime-WCJ7NRTH.cjs → workflow-runtime-VKFESVFX.cjs} +2 -2
- package/dist/{workflow.d-DvhTpEtU.d.cts → workflow.d-pD8ISOg-.d.cts} +73 -1
- package/dist/{workflow.d-DvhTpEtU.d.ts → workflow.d-pD8ISOg-.d.ts} +73 -1
- package/docs/automation.md +141 -15
- package/docs/blueprint-manifest.md +854 -55
- package/docs/{data-management.md → data-governance.md} +113 -28
- package/docs/deduplication.md +122 -0
- package/docs/design.md +140 -82
- package/docs/email-settings.md +22 -0
- package/docs/entity.md +17 -0
- package/docs/erp-integration.md +837 -25
- package/docs/integration-toolkit.md +6048 -0
- package/docs/journey.md +6 -0
- package/docs/message.md +110 -1
- package/docs/sharing.md +1181 -0
- package/docs/template-variables.md +13 -0
- package/docs/workflow-definition.md +28 -14
- package/docs/workflow.md +231 -30
- package/package.json +29 -17
- package/definitions/access-token-runtime.json +0 -1
- package/definitions/access-token.json +0 -663
- package/definitions/address-runtime.json +0 -1
- package/definitions/address-suggestions-runtime.json +0 -1
- package/definitions/address-suggestions.json +0 -582
- package/definitions/address.json +0 -578
- package/definitions/ai-agents-runtime.json +0 -1
- package/definitions/ai-agents.json +0 -1711
- package/definitions/app-runtime.json +0 -1
- package/definitions/app.json +0 -4493
- package/definitions/audit-logs-runtime.json +0 -1
- package/definitions/audit-logs.json +0 -305
- package/definitions/automation-runtime.json +0 -1
- package/definitions/automation.json +0 -4819
- package/definitions/billing-runtime.json +0 -1
- package/definitions/billing.json +0 -837
- package/definitions/blueprint-manifest-runtime.json +0 -1
- package/definitions/blueprint-manifest.json +0 -3490
- package/definitions/consent-runtime.json +0 -1
- package/definitions/consent.json +0 -344
- package/definitions/customer-portal-runtime.json +0 -1
- package/definitions/customer-portal.json +0 -15676
- package/definitions/dashboard-runtime.json +0 -1
- package/definitions/dashboard.json +0 -484
- package/definitions/data-management-runtime.json +0 -1
- package/definitions/data-management.json +0 -978
- package/definitions/deduplication-runtime.json +0 -1
- package/definitions/deduplication.json +0 -183
- package/definitions/design-runtime.json +0 -1
- package/definitions/design.json +0 -1423
- package/definitions/document-runtime.json +0 -1
- package/definitions/document.json +0 -758
- package/definitions/email-settings-runtime.json +0 -1
- package/definitions/email-settings.json +0 -2748
- package/definitions/email-template-runtime.json +0 -1
- package/definitions/email-template.json +0 -1441
- package/definitions/entity-mapping-runtime.json +0 -1
- package/definitions/entity-mapping.json +0 -1642
- package/definitions/entity-runtime.json +0 -1
- package/definitions/entity.json +0 -10432
- package/definitions/environments-runtime.json +0 -1
- package/definitions/environments.json +0 -363
- package/definitions/erp-integration-runtime.json +0 -1
- package/definitions/erp-integration.json +0 -6780
- package/definitions/event-catalog-runtime.json +0 -1
- package/definitions/event-catalog.json +0 -1051
- package/definitions/file-runtime.json +0 -1
- package/definitions/file.json +0 -2842
- package/definitions/iban-runtime.json +0 -1
- package/definitions/iban.json +0 -132
- package/definitions/journey-runtime.json +0 -1
- package/definitions/journey.json +0 -2594
- package/definitions/kanban-runtime.json +0 -1
- package/definitions/kanban.json +0 -1505
- package/definitions/message-runtime.json +0 -1
- package/definitions/message.json +0 -2660
- package/definitions/metering-runtime.json +0 -1
- package/definitions/metering.json +0 -2321
- package/definitions/notes-runtime.json +0 -1
- package/definitions/notes.json +0 -1531
- package/definitions/notification-runtime.json +0 -1
- package/definitions/notification.json +0 -1425
- package/definitions/organization-runtime.json +0 -1
- package/definitions/organization.json +0 -1192
- package/definitions/partner-directory-runtime.json +0 -1
- package/definitions/partner-directory.json +0 -2284
- package/definitions/permissions-runtime.json +0 -1
- package/definitions/permissions.json +0 -1515
- package/definitions/pricing-runtime.json +0 -1
- package/definitions/pricing-tier-runtime.json +0 -1
- package/definitions/pricing-tier.json +0 -105
- package/definitions/pricing.json +0 -9884
- package/definitions/purpose-runtime.json +0 -1
- package/definitions/purpose.json +0 -524
- package/definitions/sandbox-runtime.json +0 -1
- package/definitions/sandbox.json +0 -453
- package/definitions/submission-runtime.json +0 -1
- package/definitions/submission.json +0 -313
- package/definitions/targeting-runtime.json +0 -1
- package/definitions/targeting.json +0 -1474
- package/definitions/template-variables-runtime.json +0 -1
- package/definitions/template-variables.json +0 -1408
- package/definitions/user-runtime.json +0 -1
- package/definitions/user.json +0 -2408
- package/definitions/validation-rules-runtime.json +0 -1
- package/definitions/validation-rules.json +0 -1491
- package/definitions/webhooks-runtime.json +0 -1
- package/definitions/webhooks.json +0 -1634
- package/definitions/workflow-definition-runtime.json +0 -1
- package/definitions/workflow-definition.json +0 -3288
- package/definitions/workflow-runtime.json +0 -1
- package/definitions/workflow.json +0 -4146
- package/dist/apis/data-management.cjs +0 -38
- package/dist/automation-3HGCK725.cjs +0 -7
- package/dist/automation-72VGEJCY.js +0 -7
- package/dist/blueprint-manifest-CXSCRQ5X.js +0 -7
- package/dist/blueprint-manifest-SHNZPK5O.cjs +0 -7
- package/dist/chunk-4BCQGZJB.cjs +0 -14
- package/dist/chunk-4G6LO3JY.cjs +0 -14
- package/dist/chunk-6GC363VV.js +0 -14
- package/dist/chunk-75ZWZM3L.js +0 -14
- package/dist/chunk-D32L2HMX.cjs +0 -14
- package/dist/chunk-O4JDWMYD.js +0 -14
- package/dist/chunk-RXMOHUBP.cjs +0 -14
- package/dist/chunk-ZKQ573B7.js +0 -14
- package/dist/data-management-3N3A3XBM.js +0 -7
- package/dist/data-management-YXFLQWLV.cjs +0 -7
- package/dist/data-management-runtime-DN7FGK7G.js +0 -5
- package/dist/data-management.d-BXS5jbJY.d.cts +0 -547
- package/dist/data-management.d-BXS5jbJY.d.ts +0 -547
- package/dist/deduplication-ECVAZVVA.cjs +0 -7
- package/dist/deduplication-GYIST22B.js +0 -7
- package/dist/deduplication.d-w_2aJD5f.d.cts +0 -113
- package/dist/deduplication.d-w_2aJD5f.d.ts +0 -113
- package/dist/design-KUVXMFFK.cjs +0 -7
- package/dist/design-YKBXRW5C.js +0 -7
- package/dist/design-runtime-Y3VGTQLP.cjs +0 -5
- package/dist/email-settings-EJ3DCPPN.js +0 -7
- package/dist/email-settings-TALOPLBC.cjs +0 -7
- package/dist/entity-M5F22DSS.cjs +0 -7
- package/dist/entity-RT4YRZDG.js +0 -7
- package/dist/erp-integration-6I4B4BIU.cjs +0 -7
- package/dist/erp-integration-G54BMGGE.js +0 -7
- package/dist/journey-HKN7QXCZ.cjs +0 -7
- package/dist/journey-UBZCOJNW.js +0 -7
- package/dist/message-3XZLJR6R.cjs +0 -7
- package/dist/message-ZNMCS5YH.js +0 -7
- package/dist/workflow-3LLURW3H.js +0 -7
- package/dist/workflow-RAGQDYXT.cjs +0 -7
- package/dist/workflow-definition-MBOMPMCG.js +0 -7
- package/dist/workflow-definition-SPAHD3HS.cjs +0 -7
package/docs/erp-integration.md
CHANGED
|
@@ -54,6 +54,9 @@ const { data } = await erpIntegrationClient.acknowledgeTracking(...)
|
|
|
54
54
|
- [`deleteIntegrationAppMapping`](#deleteintegrationappmapping)
|
|
55
55
|
- [`getOutboundStatus`](#getoutboundstatus)
|
|
56
56
|
- [`listSecureProxies`](#listsecureproxies)
|
|
57
|
+
- [`generateTypesPreview`](#generatetypespreview)
|
|
58
|
+
- [`generateTypes`](#generatetypes)
|
|
59
|
+
- [`commitTypes`](#committypes)
|
|
57
60
|
|
|
58
61
|
**monitoring**
|
|
59
62
|
- [`queryInboundMonitoringEvents`](#queryinboundmonitoringevents)
|
|
@@ -61,6 +64,10 @@ const { data } = await erpIntegrationClient.acknowledgeTracking(...)
|
|
|
61
64
|
- [`getMonitoringTimeSeries`](#getmonitoringtimeseries)
|
|
62
65
|
- [`queryAccessLogs`](#queryaccesslogs)
|
|
63
66
|
- [`queryOutboundMonitoringEvents`](#queryoutboundmonitoringevents)
|
|
67
|
+
- [`queryMonitoringEventsV2`](#querymonitoringeventsv2)
|
|
68
|
+
- [`getMonitoringStatsV2`](#getmonitoringstatsv2)
|
|
69
|
+
- [`getMonitoringTimeSeriesV2`](#getmonitoringtimeseriesv2)
|
|
70
|
+
- [`getAssociatedMonitoringEvents`](#getassociatedmonitoringevents)
|
|
64
71
|
|
|
65
72
|
**proxy**
|
|
66
73
|
- [`secureProxy`](#secureproxy)
|
|
@@ -145,6 +152,14 @@ const { data } = await erpIntegrationClient.acknowledgeTracking(...)
|
|
|
145
152
|
- [`ManagedCallExecuteRequest`](#managedcallexecuterequest)
|
|
146
153
|
- [`ManagedCallExecuteResponse`](#managedcallexecuteresponse)
|
|
147
154
|
- [`ManagedCallErrorResponse`](#managedcallerrorresponse)
|
|
155
|
+
- [`TypeAnnotations`](#typeannotations)
|
|
156
|
+
- [`TypeDescriptor`](#typedescriptor)
|
|
157
|
+
- [`UseCaseTypePreview`](#usecasetypepreview)
|
|
158
|
+
- [`GenerateTypesPreviewResponse`](#generatetypespreviewresponse)
|
|
159
|
+
- [`GenerateTypesRequest`](#generatetypesrequest)
|
|
160
|
+
- [`GenerateTypesResponse`](#generatetypesresponse)
|
|
161
|
+
- [`CommitTypesRequest`](#committypesrequest)
|
|
162
|
+
- [`CommitTypesResponse`](#committypesresponse)
|
|
148
163
|
- [`FileProxyUseCaseConfiguration`](#fileproxyusecaseconfiguration)
|
|
149
164
|
- [`FileProxySecureProxyAttachment`](#fileproxysecureproxyattachment)
|
|
150
165
|
- [`FileProxyAuth`](#fileproxyauth)
|
|
@@ -186,6 +201,12 @@ const { data } = await erpIntegrationClient.acknowledgeTracking(...)
|
|
|
186
201
|
- [`OutboundMonitoringEvent`](#outboundmonitoringevent)
|
|
187
202
|
- [`MonitoringStats`](#monitoringstats)
|
|
188
203
|
- [`InboundMonitoringEvent`](#inboundmonitoringevent)
|
|
204
|
+
- [`QueryMonitoringEventsV2Request`](#querymonitoringeventsv2request)
|
|
205
|
+
- [`MonitoringEventV2`](#monitoringeventv2)
|
|
206
|
+
- [`GetMonitoringStatsV2Request`](#getmonitoringstatsv2request)
|
|
207
|
+
- [`MonitoringStatsV2`](#monitoringstatsv2)
|
|
208
|
+
- [`GetMonitoringTimeSeriesV2Request`](#getmonitoringtimeseriesv2request)
|
|
209
|
+
- [`TimeSeriesBucketV2`](#timeseriesbucketv2)
|
|
189
210
|
|
|
190
211
|
### `acknowledgeTracking`
|
|
191
212
|
|
|
@@ -479,9 +500,21 @@ const { data } = await client.listIntegrations()
|
|
|
479
500
|
"api_key_header": "string",
|
|
480
501
|
"api_key": "string",
|
|
481
502
|
"token": "string"
|
|
482
|
-
}
|
|
503
|
+
},
|
|
504
|
+
"types_versions": [
|
|
505
|
+
{
|
|
506
|
+
"version": "string",
|
|
507
|
+
"package_name": "string",
|
|
508
|
+
"generated_at": "1970-01-01T00:00:00.000Z",
|
|
509
|
+
"generated_by": "string",
|
|
510
|
+
"status": "active"
|
|
511
|
+
}
|
|
512
|
+
],
|
|
513
|
+
"latest_types_version": "string",
|
|
514
|
+
"latest_types_package_name": "string"
|
|
483
515
|
},
|
|
484
|
-
"protected": true
|
|
516
|
+
"protected": true,
|
|
517
|
+
"_manifest": ["string"]
|
|
485
518
|
}
|
|
486
519
|
]
|
|
487
520
|
}
|
|
@@ -538,9 +571,21 @@ const { data } = await client.createIntegration(
|
|
|
538
571
|
api_key_header: 'string',
|
|
539
572
|
api_key: 'string',
|
|
540
573
|
token: 'string'
|
|
541
|
-
}
|
|
574
|
+
},
|
|
575
|
+
types_versions: [
|
|
576
|
+
{
|
|
577
|
+
version: 'string',
|
|
578
|
+
package_name: 'string',
|
|
579
|
+
generated_at: '1970-01-01T00:00:00.000Z',
|
|
580
|
+
generated_by: 'string',
|
|
581
|
+
status: 'active'
|
|
582
|
+
}
|
|
583
|
+
],
|
|
584
|
+
latest_types_version: 'string',
|
|
585
|
+
latest_types_package_name: 'string'
|
|
542
586
|
},
|
|
543
|
-
protected: true
|
|
587
|
+
protected: true,
|
|
588
|
+
_manifest: ['string']
|
|
544
589
|
},
|
|
545
590
|
)
|
|
546
591
|
```
|
|
@@ -591,9 +636,21 @@ const { data } = await client.createIntegration(
|
|
|
591
636
|
"api_key_header": "string",
|
|
592
637
|
"api_key": "string",
|
|
593
638
|
"token": "string"
|
|
594
|
-
}
|
|
639
|
+
},
|
|
640
|
+
"types_versions": [
|
|
641
|
+
{
|
|
642
|
+
"version": "string",
|
|
643
|
+
"package_name": "string",
|
|
644
|
+
"generated_at": "1970-01-01T00:00:00.000Z",
|
|
645
|
+
"generated_by": "string",
|
|
646
|
+
"status": "active"
|
|
647
|
+
}
|
|
648
|
+
],
|
|
649
|
+
"latest_types_version": "string",
|
|
650
|
+
"latest_types_package_name": "string"
|
|
595
651
|
},
|
|
596
|
-
"protected": true
|
|
652
|
+
"protected": true,
|
|
653
|
+
"_manifest": ["string"]
|
|
597
654
|
}
|
|
598
655
|
```
|
|
599
656
|
|
|
@@ -659,9 +716,21 @@ const { data } = await client.getIntegration({
|
|
|
659
716
|
"api_key_header": "string",
|
|
660
717
|
"api_key": "string",
|
|
661
718
|
"token": "string"
|
|
662
|
-
}
|
|
719
|
+
},
|
|
720
|
+
"types_versions": [
|
|
721
|
+
{
|
|
722
|
+
"version": "string",
|
|
723
|
+
"package_name": "string",
|
|
724
|
+
"generated_at": "1970-01-01T00:00:00.000Z",
|
|
725
|
+
"generated_by": "string",
|
|
726
|
+
"status": "active"
|
|
727
|
+
}
|
|
728
|
+
],
|
|
729
|
+
"latest_types_version": "string",
|
|
730
|
+
"latest_types_package_name": "string"
|
|
663
731
|
},
|
|
664
|
-
"protected": true
|
|
732
|
+
"protected": true,
|
|
733
|
+
"_manifest": ["string"]
|
|
665
734
|
}
|
|
666
735
|
```
|
|
667
736
|
|
|
@@ -730,9 +799,21 @@ const { data } = await client.updateIntegration(
|
|
|
730
799
|
"api_key_header": "string",
|
|
731
800
|
"api_key": "string",
|
|
732
801
|
"token": "string"
|
|
733
|
-
}
|
|
802
|
+
},
|
|
803
|
+
"types_versions": [
|
|
804
|
+
{
|
|
805
|
+
"version": "string",
|
|
806
|
+
"package_name": "string",
|
|
807
|
+
"generated_at": "1970-01-01T00:00:00.000Z",
|
|
808
|
+
"generated_by": "string",
|
|
809
|
+
"status": "active"
|
|
810
|
+
}
|
|
811
|
+
],
|
|
812
|
+
"latest_types_version": "string",
|
|
813
|
+
"latest_types_package_name": "string"
|
|
734
814
|
},
|
|
735
|
-
"protected": true
|
|
815
|
+
"protected": true,
|
|
816
|
+
"_manifest": ["string"]
|
|
736
817
|
}
|
|
737
818
|
```
|
|
738
819
|
|
|
@@ -1145,6 +1226,7 @@ const { data } = await client.listIntegrationsV2()
|
|
|
1145
1226
|
"integration_type": "erp",
|
|
1146
1227
|
"connector_config": {},
|
|
1147
1228
|
"protected": true,
|
|
1229
|
+
"_manifest": ["string"],
|
|
1148
1230
|
"use_cases": []
|
|
1149
1231
|
}
|
|
1150
1232
|
]
|
|
@@ -1202,9 +1284,15 @@ const { data } = await client.createIntegrationV2(
|
|
|
1202
1284
|
api_key_header: 'string',
|
|
1203
1285
|
api_key: 'string',
|
|
1204
1286
|
token: 'string'
|
|
1205
|
-
}
|
|
1287
|
+
},
|
|
1288
|
+
types_versions: [
|
|
1289
|
+
{ /* ... */ }
|
|
1290
|
+
],
|
|
1291
|
+
latest_types_version: 'string',
|
|
1292
|
+
latest_types_package_name: 'string'
|
|
1206
1293
|
},
|
|
1207
1294
|
protected: true,
|
|
1295
|
+
_manifest: ['string'],
|
|
1208
1296
|
use_cases: [
|
|
1209
1297
|
{
|
|
1210
1298
|
id: '3fa85f64-5717-4562-b3fc-2c963f66afa6',
|
|
@@ -1266,9 +1354,15 @@ const { data } = await client.createIntegrationV2(
|
|
|
1266
1354
|
"api_key_header": "string",
|
|
1267
1355
|
"api_key": "string",
|
|
1268
1356
|
"token": "string"
|
|
1269
|
-
}
|
|
1357
|
+
},
|
|
1358
|
+
"types_versions": [
|
|
1359
|
+
{}
|
|
1360
|
+
],
|
|
1361
|
+
"latest_types_version": "string",
|
|
1362
|
+
"latest_types_package_name": "string"
|
|
1270
1363
|
},
|
|
1271
1364
|
"protected": true,
|
|
1365
|
+
"_manifest": ["string"],
|
|
1272
1366
|
"use_cases": [
|
|
1273
1367
|
{
|
|
1274
1368
|
"id": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
|
|
@@ -1348,9 +1442,15 @@ const { data } = await client.getIntegrationV2({
|
|
|
1348
1442
|
"api_key_header": "string",
|
|
1349
1443
|
"api_key": "string",
|
|
1350
1444
|
"token": "string"
|
|
1351
|
-
}
|
|
1445
|
+
},
|
|
1446
|
+
"types_versions": [
|
|
1447
|
+
{}
|
|
1448
|
+
],
|
|
1449
|
+
"latest_types_version": "string",
|
|
1450
|
+
"latest_types_package_name": "string"
|
|
1352
1451
|
},
|
|
1353
1452
|
"protected": true,
|
|
1453
|
+
"_manifest": ["string"],
|
|
1354
1454
|
"use_cases": [
|
|
1355
1455
|
{
|
|
1356
1456
|
"id": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
|
|
@@ -1425,9 +1525,15 @@ const { data } = await client.updateIntegrationV2(
|
|
|
1425
1525
|
api_key_header: 'string',
|
|
1426
1526
|
api_key: 'string',
|
|
1427
1527
|
token: 'string'
|
|
1428
|
-
}
|
|
1528
|
+
},
|
|
1529
|
+
types_versions: [
|
|
1530
|
+
{ /* ... */ }
|
|
1531
|
+
],
|
|
1532
|
+
latest_types_version: 'string',
|
|
1533
|
+
latest_types_package_name: 'string'
|
|
1429
1534
|
},
|
|
1430
1535
|
protected: true,
|
|
1536
|
+
_manifest: ['string'],
|
|
1431
1537
|
use_cases: [
|
|
1432
1538
|
{
|
|
1433
1539
|
id: '3fa85f64-5717-4562-b3fc-2c963f66afa6',
|
|
@@ -1489,9 +1595,15 @@ const { data } = await client.updateIntegrationV2(
|
|
|
1489
1595
|
"api_key_header": "string",
|
|
1490
1596
|
"api_key": "string",
|
|
1491
1597
|
"token": "string"
|
|
1492
|
-
}
|
|
1598
|
+
},
|
|
1599
|
+
"types_versions": [
|
|
1600
|
+
{}
|
|
1601
|
+
],
|
|
1602
|
+
"latest_types_version": "string",
|
|
1603
|
+
"latest_types_package_name": "string"
|
|
1493
1604
|
},
|
|
1494
1605
|
"protected": true,
|
|
1606
|
+
"_manifest": ["string"],
|
|
1495
1607
|
"use_cases": [
|
|
1496
1608
|
{
|
|
1497
1609
|
"id": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
|
|
@@ -1961,6 +2073,204 @@ const { data } = await client.queryOutboundMonitoringEvents(
|
|
|
1961
2073
|
|
|
1962
2074
|
---
|
|
1963
2075
|
|
|
2076
|
+
### `queryMonitoringEventsV2`
|
|
2077
|
+
|
|
2078
|
+
Query monitoring events from the unified erp_monitoring_v2 table.
|
|
2079
|
+
Returns all event types (inbound, outbound, file_proxy, etc.) in a single list.
|
|
2080
|
+
Replaces the separate v1 inbound-events and outbound-e
|
|
2081
|
+
|
|
2082
|
+
`POST /v2/integrations/{integrationId}/monitoring/events`
|
|
2083
|
+
|
|
2084
|
+
```ts
|
|
2085
|
+
const { data } = await client.queryMonitoringEventsV2(
|
|
2086
|
+
{
|
|
2087
|
+
integrationId: 'example',
|
|
2088
|
+
},
|
|
2089
|
+
{
|
|
2090
|
+
use_case_id: 'string',
|
|
2091
|
+
use_case_type: 'inbound',
|
|
2092
|
+
level: 'success',
|
|
2093
|
+
code: 'string',
|
|
2094
|
+
event_id: 'string',
|
|
2095
|
+
correlation_id: 'string',
|
|
2096
|
+
from_date: '2025-01-01T00:00:00Z',
|
|
2097
|
+
to_date: '2025-01-31T23:59:59Z',
|
|
2098
|
+
limit: 50,
|
|
2099
|
+
cursor: {
|
|
2100
|
+
created_at: '1970-01-01T00:00:00.000Z',
|
|
2101
|
+
id: '3fa85f64-5717-4562-b3fc-2c963f66afa6'
|
|
2102
|
+
}
|
|
2103
|
+
},
|
|
2104
|
+
)
|
|
2105
|
+
```
|
|
2106
|
+
|
|
2107
|
+
<details>
|
|
2108
|
+
<summary>Response</summary>
|
|
2109
|
+
|
|
2110
|
+
```json
|
|
2111
|
+
{
|
|
2112
|
+
"data": [
|
|
2113
|
+
{
|
|
2114
|
+
"id": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
|
|
2115
|
+
"org_id": "string",
|
|
2116
|
+
"integration_id": "string",
|
|
2117
|
+
"event_id": "string",
|
|
2118
|
+
"correlation_id": "string",
|
|
2119
|
+
"use_case_id": "string",
|
|
2120
|
+
"use_case_type": "inbound",
|
|
2121
|
+
"level": "success",
|
|
2122
|
+
"code": "string",
|
|
2123
|
+
"message": "string",
|
|
2124
|
+
"detail": {},
|
|
2125
|
+
"created_at": "1970-01-01T00:00:00.000Z"
|
|
2126
|
+
}
|
|
2127
|
+
],
|
|
2128
|
+
"next_cursor": {
|
|
2129
|
+
"created_at": "1970-01-01T00:00:00.000Z",
|
|
2130
|
+
"id": "3fa85f64-5717-4562-b3fc-2c963f66afa6"
|
|
2131
|
+
},
|
|
2132
|
+
"has_more": true
|
|
2133
|
+
}
|
|
2134
|
+
```
|
|
2135
|
+
|
|
2136
|
+
</details>
|
|
2137
|
+
|
|
2138
|
+
---
|
|
2139
|
+
|
|
2140
|
+
### `getMonitoringStatsV2`
|
|
2141
|
+
|
|
2142
|
+
Get aggregated statistics from the unified erp_monitoring_v2 table.
|
|
2143
|
+
Returns combined metrics for all event types with optional breakdowns.
|
|
2144
|
+
|
|
2145
|
+
`POST /v2/integrations/{integrationId}/monitoring/stats`
|
|
2146
|
+
|
|
2147
|
+
```ts
|
|
2148
|
+
const { data } = await client.getMonitoringStatsV2(
|
|
2149
|
+
{
|
|
2150
|
+
integrationId: 'example',
|
|
2151
|
+
},
|
|
2152
|
+
{
|
|
2153
|
+
from_date: '2025-01-01T00:00:00Z',
|
|
2154
|
+
to_date: '2025-01-31T23:59:59Z',
|
|
2155
|
+
use_case_type: 'inbound',
|
|
2156
|
+
group_by: 'use_case_id'
|
|
2157
|
+
},
|
|
2158
|
+
)
|
|
2159
|
+
```
|
|
2160
|
+
|
|
2161
|
+
<details>
|
|
2162
|
+
<summary>Response</summary>
|
|
2163
|
+
|
|
2164
|
+
```json
|
|
2165
|
+
{
|
|
2166
|
+
"total_events": 0,
|
|
2167
|
+
"success_count": 0,
|
|
2168
|
+
"error_count": 0,
|
|
2169
|
+
"warning_count": 0,
|
|
2170
|
+
"skipped_count": 0,
|
|
2171
|
+
"ack_timeout_count": 0,
|
|
2172
|
+
"success_rate": 0,
|
|
2173
|
+
"last_error_at": "1970-01-01T00:00:00.000Z",
|
|
2174
|
+
"breakdown": [
|
|
2175
|
+
{}
|
|
2176
|
+
]
|
|
2177
|
+
}
|
|
2178
|
+
```
|
|
2179
|
+
|
|
2180
|
+
</details>
|
|
2181
|
+
|
|
2182
|
+
---
|
|
2183
|
+
|
|
2184
|
+
### `getMonitoringTimeSeriesV2`
|
|
2185
|
+
|
|
2186
|
+
Get time-series aggregated event counts from the unified erp_monitoring_v2 table.
|
|
2187
|
+
Returns bucketed counts for chart rendering.
|
|
2188
|
+
|
|
2189
|
+
`POST /v2/integrations/{integrationId}/monitoring/time-series`
|
|
2190
|
+
|
|
2191
|
+
```ts
|
|
2192
|
+
const { data } = await client.getMonitoringTimeSeriesV2(
|
|
2193
|
+
{
|
|
2194
|
+
integrationId: 'example',
|
|
2195
|
+
},
|
|
2196
|
+
{
|
|
2197
|
+
from_date: '2025-01-01T00:00:00Z',
|
|
2198
|
+
to_date: '2025-01-31T23:59:59Z',
|
|
2199
|
+
interval: '5m',
|
|
2200
|
+
use_case_type: 'inbound'
|
|
2201
|
+
},
|
|
2202
|
+
)
|
|
2203
|
+
```
|
|
2204
|
+
|
|
2205
|
+
<details>
|
|
2206
|
+
<summary>Response</summary>
|
|
2207
|
+
|
|
2208
|
+
```json
|
|
2209
|
+
{
|
|
2210
|
+
"interval": "5m",
|
|
2211
|
+
"from_date": "1970-01-01T00:00:00.000Z",
|
|
2212
|
+
"to_date": "1970-01-01T00:00:00.000Z",
|
|
2213
|
+
"buckets": [
|
|
2214
|
+
{
|
|
2215
|
+
"timestamp": "1970-01-01T00:00:00.000Z",
|
|
2216
|
+
"success_count": 0,
|
|
2217
|
+
"error_count": 0,
|
|
2218
|
+
"warning_count": 0,
|
|
2219
|
+
"skipped_count": 0,
|
|
2220
|
+
"total_count": 0
|
|
2221
|
+
}
|
|
2222
|
+
]
|
|
2223
|
+
}
|
|
2224
|
+
```
|
|
2225
|
+
|
|
2226
|
+
</details>
|
|
2227
|
+
|
|
2228
|
+
---
|
|
2229
|
+
|
|
2230
|
+
### `getAssociatedMonitoringEvents`
|
|
2231
|
+
|
|
2232
|
+
Returns all monitoring events sharing the same event_id, ordered chronologically.
|
|
2233
|
+
Also includes the original inbound event payload from erp_incoming_events if available.
|
|
2234
|
+
Used to display a full event t
|
|
2235
|
+
|
|
2236
|
+
`GET /v2/integrations/{integrationId}/monitoring/events/{eventId}/associated`
|
|
2237
|
+
|
|
2238
|
+
```ts
|
|
2239
|
+
const { data } = await client.getAssociatedMonitoringEvents({
|
|
2240
|
+
integrationId: 'example',
|
|
2241
|
+
eventId: 'example',
|
|
2242
|
+
})
|
|
2243
|
+
```
|
|
2244
|
+
|
|
2245
|
+
<details>
|
|
2246
|
+
<summary>Response</summary>
|
|
2247
|
+
|
|
2248
|
+
```json
|
|
2249
|
+
{
|
|
2250
|
+
"monitoring_events": [
|
|
2251
|
+
{
|
|
2252
|
+
"id": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
|
|
2253
|
+
"org_id": "string",
|
|
2254
|
+
"integration_id": "string",
|
|
2255
|
+
"event_id": "string",
|
|
2256
|
+
"correlation_id": "string",
|
|
2257
|
+
"use_case_id": "string",
|
|
2258
|
+
"use_case_type": "inbound",
|
|
2259
|
+
"level": "success",
|
|
2260
|
+
"code": "string",
|
|
2261
|
+
"message": "string",
|
|
2262
|
+
"detail": {},
|
|
2263
|
+
"created_at": "1970-01-01T00:00:00.000Z"
|
|
2264
|
+
}
|
|
2265
|
+
],
|
|
2266
|
+
"inbound_event": {}
|
|
2267
|
+
}
|
|
2268
|
+
```
|
|
2269
|
+
|
|
2270
|
+
</details>
|
|
2271
|
+
|
|
2272
|
+
---
|
|
2273
|
+
|
|
1964
2274
|
### `listSecureProxies`
|
|
1965
2275
|
|
|
1966
2276
|
List all secure proxy use cases
|
|
@@ -1984,6 +2294,7 @@ const { data } = await client.listSecureProxies()
|
|
|
1984
2294
|
"enabled": true,
|
|
1985
2295
|
"vpc_mode": "static_ip",
|
|
1986
2296
|
"allowed_domains": ["string"],
|
|
2297
|
+
"allowed_ips": ["string"],
|
|
1987
2298
|
"integration_id": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
|
|
1988
2299
|
"integration_name": "string"
|
|
1989
2300
|
}
|
|
@@ -2062,6 +2373,91 @@ const { data } = await client.managedCallExecute(
|
|
|
2062
2373
|
|
|
2063
2374
|
---
|
|
2064
2375
|
|
|
2376
|
+
### `generateTypesPreview`
|
|
2377
|
+
|
|
2378
|
+
Preview scaffolded types for a connector integration
|
|
2379
|
+
|
|
2380
|
+
`POST /v1/integrations/{integrationId}/generate-types-preview`
|
|
2381
|
+
|
|
2382
|
+
```ts
|
|
2383
|
+
const { data } = await client.generateTypesPreview({
|
|
2384
|
+
integrationId: 'example',
|
|
2385
|
+
})
|
|
2386
|
+
```
|
|
2387
|
+
|
|
2388
|
+
---
|
|
2389
|
+
|
|
2390
|
+
### `generateTypes`
|
|
2391
|
+
|
|
2392
|
+
Generate a TypeScript npm package for a connector integration
|
|
2393
|
+
|
|
2394
|
+
`POST /v1/integrations/{integrationId}/generate-types`
|
|
2395
|
+
|
|
2396
|
+
```ts
|
|
2397
|
+
const { data } = await client.generateTypes(
|
|
2398
|
+
{
|
|
2399
|
+
integrationId: 'example',
|
|
2400
|
+
},
|
|
2401
|
+
{
|
|
2402
|
+
package_name: '@epilot/hems-cleverpv',
|
|
2403
|
+
version: '1.0.0',
|
|
2404
|
+
description: 'string',
|
|
2405
|
+
domain_package: '@epilot/hems',
|
|
2406
|
+
domain_map_name: 'HemsUseCaseMap',
|
|
2407
|
+
annotations: {}
|
|
2408
|
+
},
|
|
2409
|
+
)
|
|
2410
|
+
```
|
|
2411
|
+
|
|
2412
|
+
<details>
|
|
2413
|
+
<summary>Response</summary>
|
|
2414
|
+
|
|
2415
|
+
```json
|
|
2416
|
+
{
|
|
2417
|
+
"package_name": "string",
|
|
2418
|
+
"version": "string",
|
|
2419
|
+
"files": {},
|
|
2420
|
+
"warnings": ["string"]
|
|
2421
|
+
}
|
|
2422
|
+
```
|
|
2423
|
+
|
|
2424
|
+
</details>
|
|
2425
|
+
|
|
2426
|
+
---
|
|
2427
|
+
|
|
2428
|
+
### `commitTypes`
|
|
2429
|
+
|
|
2430
|
+
Commit generated types and lock use case configurations
|
|
2431
|
+
|
|
2432
|
+
`POST /v1/integrations/{integrationId}/commit-types`
|
|
2433
|
+
|
|
2434
|
+
```ts
|
|
2435
|
+
const { data } = await client.commitTypes(
|
|
2436
|
+
{
|
|
2437
|
+
integrationId: 'example',
|
|
2438
|
+
},
|
|
2439
|
+
{
|
|
2440
|
+
package_name: '@epilot/hems-cleverpv',
|
|
2441
|
+
version: '1.0.0',
|
|
2442
|
+
annotations: {}
|
|
2443
|
+
},
|
|
2444
|
+
)
|
|
2445
|
+
```
|
|
2446
|
+
|
|
2447
|
+
<details>
|
|
2448
|
+
<summary>Response</summary>
|
|
2449
|
+
|
|
2450
|
+
```json
|
|
2451
|
+
{
|
|
2452
|
+
"committed": true,
|
|
2453
|
+
"warnings": ["string"]
|
|
2454
|
+
}
|
|
2455
|
+
```
|
|
2456
|
+
|
|
2457
|
+
</details>
|
|
2458
|
+
|
|
2459
|
+
---
|
|
2460
|
+
|
|
2065
2461
|
## Schemas
|
|
2066
2462
|
|
|
2067
2463
|
### `ErrorResponseBase`
|
|
@@ -2191,8 +2587,18 @@ type IntegrationEditableFields = {
|
|
|
2191
2587
|
api_key?: { ... }
|
|
2192
2588
|
token?: { ... }
|
|
2193
2589
|
}
|
|
2590
|
+
types_versions?: Array<{
|
|
2591
|
+
version: { ... }
|
|
2592
|
+
package_name: { ... }
|
|
2593
|
+
generated_at: { ... }
|
|
2594
|
+
generated_by: { ... }
|
|
2595
|
+
status: { ... }
|
|
2596
|
+
}>
|
|
2597
|
+
latest_types_version?: string
|
|
2598
|
+
latest_types_package_name?: string
|
|
2194
2599
|
}
|
|
2195
2600
|
protected?: boolean
|
|
2601
|
+
_manifest?: string[]
|
|
2196
2602
|
}
|
|
2197
2603
|
```
|
|
2198
2604
|
|
|
@@ -2218,6 +2624,15 @@ type ConnectorConfig = {
|
|
|
2218
2624
|
api_key?: string
|
|
2219
2625
|
token?: string
|
|
2220
2626
|
}
|
|
2627
|
+
types_versions?: Array<{
|
|
2628
|
+
version: string
|
|
2629
|
+
package_name: string
|
|
2630
|
+
generated_at: string // date-time
|
|
2631
|
+
generated_by: string
|
|
2632
|
+
status: "active" | "deprecated"
|
|
2633
|
+
}>
|
|
2634
|
+
latest_types_version?: string
|
|
2635
|
+
latest_types_package_name?: string
|
|
2221
2636
|
}
|
|
2222
2637
|
```
|
|
2223
2638
|
|
|
@@ -2287,8 +2702,18 @@ type Integration = {
|
|
|
2287
2702
|
api_key?: { ... }
|
|
2288
2703
|
token?: { ... }
|
|
2289
2704
|
}
|
|
2705
|
+
types_versions?: Array<{
|
|
2706
|
+
version: { ... }
|
|
2707
|
+
package_name: { ... }
|
|
2708
|
+
generated_at: { ... }
|
|
2709
|
+
generated_by: { ... }
|
|
2710
|
+
status: { ... }
|
|
2711
|
+
}>
|
|
2712
|
+
latest_types_version?: string
|
|
2713
|
+
latest_types_package_name?: string
|
|
2290
2714
|
}
|
|
2291
2715
|
protected?: boolean
|
|
2716
|
+
_manifest?: string[]
|
|
2292
2717
|
}
|
|
2293
2718
|
```
|
|
2294
2719
|
|
|
@@ -2332,8 +2757,18 @@ type CreateIntegrationRequest = {
|
|
|
2332
2757
|
api_key?: { ... }
|
|
2333
2758
|
token?: { ... }
|
|
2334
2759
|
}
|
|
2760
|
+
types_versions?: Array<{
|
|
2761
|
+
version: { ... }
|
|
2762
|
+
package_name: { ... }
|
|
2763
|
+
generated_at: { ... }
|
|
2764
|
+
generated_by: { ... }
|
|
2765
|
+
status: { ... }
|
|
2766
|
+
}>
|
|
2767
|
+
latest_types_version?: string
|
|
2768
|
+
latest_types_package_name?: string
|
|
2335
2769
|
}
|
|
2336
2770
|
protected?: boolean
|
|
2771
|
+
_manifest?: string[]
|
|
2337
2772
|
}
|
|
2338
2773
|
```
|
|
2339
2774
|
|
|
@@ -2377,8 +2812,18 @@ type UpdateIntegrationRequest = {
|
|
|
2377
2812
|
api_key?: { ... }
|
|
2378
2813
|
token?: { ... }
|
|
2379
2814
|
}
|
|
2815
|
+
types_versions?: Array<{
|
|
2816
|
+
version: { ... }
|
|
2817
|
+
package_name: { ... }
|
|
2818
|
+
generated_at: { ... }
|
|
2819
|
+
generated_by: { ... }
|
|
2820
|
+
status: { ... }
|
|
2821
|
+
}>
|
|
2822
|
+
latest_types_version?: string
|
|
2823
|
+
latest_types_package_name?: string
|
|
2380
2824
|
}
|
|
2381
2825
|
protected?: boolean
|
|
2826
|
+
_manifest?: string[]
|
|
2382
2827
|
}
|
|
2383
2828
|
```
|
|
2384
2829
|
|
|
@@ -2511,6 +2956,11 @@ type IntegrationWithUseCases = {
|
|
|
2511
2956
|
response_mapping?: { ... }
|
|
2512
2957
|
inbound_use_case_slug?: { ... }
|
|
2513
2958
|
}
|
|
2959
|
+
type_annotations?: {
|
|
2960
|
+
request?: { ... }
|
|
2961
|
+
response?: { ... }
|
|
2962
|
+
}
|
|
2963
|
+
types_locked?: boolean
|
|
2514
2964
|
} | {
|
|
2515
2965
|
id: string // uuid
|
|
2516
2966
|
integrationId: string // uuid
|
|
@@ -2524,6 +2974,7 @@ type IntegrationWithUseCases = {
|
|
|
2524
2974
|
configuration?: {
|
|
2525
2975
|
vpc_mode: { ... }
|
|
2526
2976
|
allowed_domains?: { ... }
|
|
2977
|
+
allowed_ips?: { ... }
|
|
2527
2978
|
}
|
|
2528
2979
|
}>
|
|
2529
2980
|
}
|
|
@@ -2569,8 +3020,18 @@ type UpsertIntegrationWithUseCasesRequest = {
|
|
|
2569
3020
|
api_key?: { ... }
|
|
2570
3021
|
token?: { ... }
|
|
2571
3022
|
}
|
|
3023
|
+
types_versions?: Array<{
|
|
3024
|
+
version: { ... }
|
|
3025
|
+
package_name: { ... }
|
|
3026
|
+
generated_at: { ... }
|
|
3027
|
+
generated_by: { ... }
|
|
3028
|
+
status: { ... }
|
|
3029
|
+
}>
|
|
3030
|
+
latest_types_version?: string
|
|
3031
|
+
latest_types_package_name?: string
|
|
2572
3032
|
}
|
|
2573
3033
|
protected?: boolean
|
|
3034
|
+
_manifest?: string[]
|
|
2574
3035
|
use_cases?: Array<{
|
|
2575
3036
|
id?: string // uuid
|
|
2576
3037
|
name: string
|
|
@@ -2622,16 +3083,6 @@ type UpsertIntegrationWithUseCasesRequest = {
|
|
|
2622
3083
|
}
|
|
2623
3084
|
} | {
|
|
2624
3085
|
id?: string // uuid
|
|
2625
|
-
name: string
|
|
2626
|
-
slug?: string
|
|
2627
|
-
enabled: boolean
|
|
2628
|
-
change_description?: string
|
|
2629
|
-
type: "secure_proxy"
|
|
2630
|
-
configuration?: {
|
|
2631
|
-
vpc_mode: { ... }
|
|
2632
|
-
allowed_domains?: { ... }
|
|
2633
|
-
}
|
|
2634
|
-
}>
|
|
2635
3086
|
// ...
|
|
2636
3087
|
}
|
|
2637
3088
|
```
|
|
@@ -3253,6 +3704,7 @@ type EmbeddedSecureProxyUseCaseRequest = {
|
|
|
3253
3704
|
configuration?: {
|
|
3254
3705
|
vpc_mode: "static_ip" | "secure_link"
|
|
3255
3706
|
allowed_domains?: string[]
|
|
3707
|
+
allowed_ips?: string[]
|
|
3256
3708
|
}
|
|
3257
3709
|
}
|
|
3258
3710
|
```
|
|
@@ -3414,6 +3866,11 @@ type ManagedCallUseCase = {
|
|
|
3414
3866
|
response_mapping?: string
|
|
3415
3867
|
inbound_use_case_slug?: string
|
|
3416
3868
|
}
|
|
3869
|
+
type_annotations?: {
|
|
3870
|
+
request?: Record<string, string>
|
|
3871
|
+
response?: Record<string, string>
|
|
3872
|
+
}
|
|
3873
|
+
types_locked?: boolean
|
|
3417
3874
|
}
|
|
3418
3875
|
```
|
|
3419
3876
|
|
|
@@ -3433,6 +3890,7 @@ type SecureProxyUseCase = {
|
|
|
3433
3890
|
configuration?: {
|
|
3434
3891
|
vpc_mode: "static_ip" | "secure_link"
|
|
3435
3892
|
allowed_domains?: string[]
|
|
3893
|
+
allowed_ips?: string[]
|
|
3436
3894
|
}
|
|
3437
3895
|
}
|
|
3438
3896
|
```
|
|
@@ -3796,6 +4254,7 @@ type CreateSecureProxyUseCaseRequest = {
|
|
|
3796
4254
|
configuration?: {
|
|
3797
4255
|
vpc_mode: "static_ip" | "secure_link"
|
|
3798
4256
|
allowed_domains?: string[]
|
|
4257
|
+
allowed_ips?: string[]
|
|
3799
4258
|
}
|
|
3800
4259
|
}
|
|
3801
4260
|
```
|
|
@@ -4043,6 +4502,10 @@ type UpdateManagedCallUseCaseRequest = {
|
|
|
4043
4502
|
response_mapping?: string
|
|
4044
4503
|
inbound_use_case_slug?: string
|
|
4045
4504
|
}
|
|
4505
|
+
type_annotations?: {
|
|
4506
|
+
request?: Record<string, string>
|
|
4507
|
+
response?: Record<string, string>
|
|
4508
|
+
}
|
|
4046
4509
|
}
|
|
4047
4510
|
```
|
|
4048
4511
|
|
|
@@ -4058,6 +4521,7 @@ type UpdateSecureProxyUseCaseRequest = {
|
|
|
4058
4521
|
configuration?: {
|
|
4059
4522
|
vpc_mode: "static_ip" | "secure_link"
|
|
4060
4523
|
allowed_domains?: string[]
|
|
4524
|
+
allowed_ips?: string[]
|
|
4061
4525
|
}
|
|
4062
4526
|
}
|
|
4063
4527
|
```
|
|
@@ -4335,6 +4799,11 @@ type ManagedCallUseCaseHistoryEntry = {
|
|
|
4335
4799
|
response_mapping?: string
|
|
4336
4800
|
inbound_use_case_slug?: string
|
|
4337
4801
|
}
|
|
4802
|
+
type_annotations?: {
|
|
4803
|
+
request?: Record<string, string>
|
|
4804
|
+
response?: Record<string, string>
|
|
4805
|
+
}
|
|
4806
|
+
types_locked?: boolean
|
|
4338
4807
|
}
|
|
4339
4808
|
```
|
|
4340
4809
|
|
|
@@ -4356,6 +4825,7 @@ type SecureProxyUseCaseHistoryEntry = {
|
|
|
4356
4825
|
configuration?: {
|
|
4357
4826
|
vpc_mode: "static_ip" | "secure_link"
|
|
4358
4827
|
allowed_domains?: string[]
|
|
4828
|
+
allowed_ips?: string[]
|
|
4359
4829
|
}
|
|
4360
4830
|
}
|
|
4361
4831
|
```
|
|
@@ -4369,6 +4839,7 @@ Configuration for secure_proxy use cases. Defines how to route requests through
|
|
|
4369
4839
|
type SecureProxyUseCaseConfiguration = {
|
|
4370
4840
|
vpc_mode: "static_ip" | "secure_link"
|
|
4371
4841
|
allowed_domains?: string[]
|
|
4842
|
+
allowed_ips?: string[]
|
|
4372
4843
|
}
|
|
4373
4844
|
```
|
|
4374
4845
|
|
|
@@ -4382,6 +4853,7 @@ type SecureProxySummary = {
|
|
|
4382
4853
|
enabled: boolean
|
|
4383
4854
|
vpc_mode: "static_ip" | "secure_link"
|
|
4384
4855
|
allowed_domains?: string[]
|
|
4856
|
+
allowed_ips?: string[]
|
|
4385
4857
|
integration_id: string // uuid
|
|
4386
4858
|
integration_name: string
|
|
4387
4859
|
}
|
|
@@ -4477,6 +4949,256 @@ type ManagedCallErrorResponse = {
|
|
|
4477
4949
|
}
|
|
4478
4950
|
```
|
|
4479
4951
|
|
|
4952
|
+
### `TypeAnnotations`
|
|
4953
|
+
|
|
4954
|
+
Developer-provided type annotations for a use case's request and response fields
|
|
4955
|
+
|
|
4956
|
+
```ts
|
|
4957
|
+
type TypeAnnotations = {
|
|
4958
|
+
request?: Record<string, string>
|
|
4959
|
+
response?: Record<string, string>
|
|
4960
|
+
}
|
|
4961
|
+
```
|
|
4962
|
+
|
|
4963
|
+
### `TypeDescriptor`
|
|
4964
|
+
|
|
4965
|
+
Describes the inferred type shape of a JSONata expression
|
|
4966
|
+
|
|
4967
|
+
```ts
|
|
4968
|
+
type TypeDescriptor = {
|
|
4969
|
+
kind: "object" | "array" | "string" | "number" | "boolean" | "null" | "unknown" | "union"
|
|
4970
|
+
properties?: Record<string, {
|
|
4971
|
+
kind: "object" | "array" | "string" | "number" | "boolean" | "null" | "unknown" | "union"
|
|
4972
|
+
properties?: Record<string, {
|
|
4973
|
+
kind: { ... }
|
|
4974
|
+
properties?: { ... }
|
|
4975
|
+
items?: { ... }
|
|
4976
|
+
source?: { ... }
|
|
4977
|
+
variants?: { ... }
|
|
4978
|
+
}>
|
|
4979
|
+
items?: {
|
|
4980
|
+
kind: { ... }
|
|
4981
|
+
properties?: { ... }
|
|
4982
|
+
items?: { ... }
|
|
4983
|
+
source?: { ... }
|
|
4984
|
+
variants?: { ... }
|
|
4985
|
+
}
|
|
4986
|
+
source?: string
|
|
4987
|
+
variants?: Array<{
|
|
4988
|
+
kind: { ... }
|
|
4989
|
+
properties?: { ... }
|
|
4990
|
+
items?: { ... }
|
|
4991
|
+
source?: { ... }
|
|
4992
|
+
variants?: { ... }
|
|
4993
|
+
}>
|
|
4994
|
+
}>
|
|
4995
|
+
items?: {
|
|
4996
|
+
kind: "object" | "array" | "string" | "number" | "boolean" | "null" | "unknown" | "union"
|
|
4997
|
+
properties?: Record<string, {
|
|
4998
|
+
kind: { ... }
|
|
4999
|
+
properties?: { ... }
|
|
5000
|
+
items?: { ... }
|
|
5001
|
+
source?: { ... }
|
|
5002
|
+
variants?: { ... }
|
|
5003
|
+
}>
|
|
5004
|
+
items?: {
|
|
5005
|
+
kind: { ... }
|
|
5006
|
+
properties?: { ... }
|
|
5007
|
+
items?: { ... }
|
|
5008
|
+
source?: { ... }
|
|
5009
|
+
variants?: { ... }
|
|
5010
|
+
}
|
|
5011
|
+
source?: string
|
|
5012
|
+
variants?: Array<{
|
|
5013
|
+
kind: { ... }
|
|
5014
|
+
properties?: { ... }
|
|
5015
|
+
items?: { ... }
|
|
5016
|
+
source?: { ... }
|
|
5017
|
+
variants?: { ... }
|
|
5018
|
+
}>
|
|
5019
|
+
}
|
|
5020
|
+
source?: string
|
|
5021
|
+
variants?: Array<{
|
|
5022
|
+
kind: "object" | "array" | "string" | "number" | "boolean" | "null" | "unknown" | "union"
|
|
5023
|
+
properties?: Record<string, {
|
|
5024
|
+
kind: { ... }
|
|
5025
|
+
properties?: { ... }
|
|
5026
|
+
items?: { ... }
|
|
5027
|
+
source?: { ... }
|
|
5028
|
+
variants?: { ... }
|
|
5029
|
+
}>
|
|
5030
|
+
items?: {
|
|
5031
|
+
kind: { ... }
|
|
5032
|
+
properties?: { ... }
|
|
5033
|
+
items?: { ... }
|
|
5034
|
+
source?: { ... }
|
|
5035
|
+
variants?: { ... }
|
|
5036
|
+
}
|
|
5037
|
+
source?: string
|
|
5038
|
+
variants?: Array<{
|
|
5039
|
+
kind: { ... }
|
|
5040
|
+
properties?: { ... }
|
|
5041
|
+
items?: { ... }
|
|
5042
|
+
source?: { ... }
|
|
5043
|
+
variants?: { ... }
|
|
5044
|
+
}>
|
|
5045
|
+
}>
|
|
5046
|
+
}
|
|
5047
|
+
```
|
|
5048
|
+
|
|
5049
|
+
### `UseCaseTypePreview`
|
|
5050
|
+
|
|
5051
|
+
Scaffolded type descriptors for a single use case
|
|
5052
|
+
|
|
5053
|
+
```ts
|
|
5054
|
+
type UseCaseTypePreview = {
|
|
5055
|
+
slug: string
|
|
5056
|
+
name?: string
|
|
5057
|
+
request_shape: {
|
|
5058
|
+
kind: "object" | "array" | "string" | "number" | "boolean" | "null" | "unknown" | "union"
|
|
5059
|
+
properties?: Record<string, {
|
|
5060
|
+
kind: { ... }
|
|
5061
|
+
properties?: { ... }
|
|
5062
|
+
items?: { ... }
|
|
5063
|
+
source?: { ... }
|
|
5064
|
+
variants?: { ... }
|
|
5065
|
+
}>
|
|
5066
|
+
items?: {
|
|
5067
|
+
kind: { ... }
|
|
5068
|
+
properties?: { ... }
|
|
5069
|
+
items?: { ... }
|
|
5070
|
+
source?: { ... }
|
|
5071
|
+
variants?: { ... }
|
|
5072
|
+
}
|
|
5073
|
+
source?: string
|
|
5074
|
+
variants?: Array<{
|
|
5075
|
+
kind: { ... }
|
|
5076
|
+
properties?: { ... }
|
|
5077
|
+
items?: { ... }
|
|
5078
|
+
source?: { ... }
|
|
5079
|
+
variants?: { ... }
|
|
5080
|
+
}>
|
|
5081
|
+
}
|
|
5082
|
+
response_shape: {
|
|
5083
|
+
kind: "object" | "array" | "string" | "number" | "boolean" | "null" | "unknown" | "union"
|
|
5084
|
+
properties?: Record<string, {
|
|
5085
|
+
kind: { ... }
|
|
5086
|
+
properties?: { ... }
|
|
5087
|
+
items?: { ... }
|
|
5088
|
+
source?: { ... }
|
|
5089
|
+
variants?: { ... }
|
|
5090
|
+
}>
|
|
5091
|
+
items?: {
|
|
5092
|
+
kind: { ... }
|
|
5093
|
+
properties?: { ... }
|
|
5094
|
+
items?: { ... }
|
|
5095
|
+
source?: { ... }
|
|
5096
|
+
variants?: { ... }
|
|
5097
|
+
}
|
|
5098
|
+
source?: string
|
|
5099
|
+
variants?: Array<{
|
|
5100
|
+
kind: { ... }
|
|
5101
|
+
properties?: { ... }
|
|
5102
|
+
items?: { ... }
|
|
5103
|
+
source?: { ... }
|
|
5104
|
+
variants?: { ... }
|
|
5105
|
+
}>
|
|
5106
|
+
}
|
|
5107
|
+
existing_annotations?: {
|
|
5108
|
+
request?: Record<string, string>
|
|
5109
|
+
response?: Record<string, string>
|
|
5110
|
+
}
|
|
5111
|
+
}
|
|
5112
|
+
```
|
|
5113
|
+
|
|
5114
|
+
### `GenerateTypesPreviewResponse`
|
|
5115
|
+
|
|
5116
|
+
```ts
|
|
5117
|
+
type GenerateTypesPreviewResponse = {
|
|
5118
|
+
integration_name?: string
|
|
5119
|
+
use_cases: Array<{
|
|
5120
|
+
slug: string
|
|
5121
|
+
name?: string
|
|
5122
|
+
request_shape: {
|
|
5123
|
+
kind: { ... }
|
|
5124
|
+
properties?: { ... }
|
|
5125
|
+
items?: { ... }
|
|
5126
|
+
source?: { ... }
|
|
5127
|
+
variants?: { ... }
|
|
5128
|
+
}
|
|
5129
|
+
response_shape: {
|
|
5130
|
+
kind: { ... }
|
|
5131
|
+
properties?: { ... }
|
|
5132
|
+
items?: { ... }
|
|
5133
|
+
source?: { ... }
|
|
5134
|
+
variants?: { ... }
|
|
5135
|
+
}
|
|
5136
|
+
existing_annotations?: {
|
|
5137
|
+
request?: { ... }
|
|
5138
|
+
response?: { ... }
|
|
5139
|
+
}
|
|
5140
|
+
}>
|
|
5141
|
+
previous_version?: string
|
|
5142
|
+
suggested_version?: string
|
|
5143
|
+
suggested_bump?: "major" | "minor"
|
|
5144
|
+
detected_changes?: Array<{
|
|
5145
|
+
slug: string
|
|
5146
|
+
field: string
|
|
5147
|
+
type: "breaking" | "non-breaking"
|
|
5148
|
+
description: string
|
|
5149
|
+
}>
|
|
5150
|
+
}
|
|
5151
|
+
```
|
|
5152
|
+
|
|
5153
|
+
### `GenerateTypesRequest`
|
|
5154
|
+
|
|
5155
|
+
```ts
|
|
5156
|
+
type GenerateTypesRequest = {
|
|
5157
|
+
package_name: string
|
|
5158
|
+
version: string
|
|
5159
|
+
description?: string
|
|
5160
|
+
domain_package?: string
|
|
5161
|
+
domain_map_name?: string
|
|
5162
|
+
annotations?: Record<string, {
|
|
5163
|
+
request?: Record<string, string>
|
|
5164
|
+
response?: Record<string, string>
|
|
5165
|
+
}>
|
|
5166
|
+
}
|
|
5167
|
+
```
|
|
5168
|
+
|
|
5169
|
+
### `GenerateTypesResponse`
|
|
5170
|
+
|
|
5171
|
+
```ts
|
|
5172
|
+
type GenerateTypesResponse = {
|
|
5173
|
+
package_name: string
|
|
5174
|
+
version: string
|
|
5175
|
+
files: Record<string, string>
|
|
5176
|
+
warnings?: string[]
|
|
5177
|
+
}
|
|
5178
|
+
```
|
|
5179
|
+
|
|
5180
|
+
### `CommitTypesRequest`
|
|
5181
|
+
|
|
5182
|
+
```ts
|
|
5183
|
+
type CommitTypesRequest = {
|
|
5184
|
+
package_name: string
|
|
5185
|
+
version: string
|
|
5186
|
+
annotations?: Record<string, {
|
|
5187
|
+
request?: Record<string, string>
|
|
5188
|
+
response?: Record<string, string>
|
|
5189
|
+
}>
|
|
5190
|
+
}
|
|
5191
|
+
```
|
|
5192
|
+
|
|
5193
|
+
### `CommitTypesResponse`
|
|
5194
|
+
|
|
5195
|
+
```ts
|
|
5196
|
+
type CommitTypesResponse = {
|
|
5197
|
+
committed: boolean
|
|
5198
|
+
warnings?: string[]
|
|
5199
|
+
}
|
|
5200
|
+
```
|
|
5201
|
+
|
|
4480
5202
|
### `FileProxyUseCaseConfiguration`
|
|
4481
5203
|
|
|
4482
5204
|
Configuration for file_proxy use cases. Defines how to authenticate and fetch files from external document systems.
|
|
@@ -5197,3 +5919,93 @@ type InboundMonitoringEvent = {
|
|
|
5197
5919
|
completed_at: string // date-time
|
|
5198
5920
|
}
|
|
5199
5921
|
```
|
|
5922
|
+
|
|
5923
|
+
### `QueryMonitoringEventsV2Request`
|
|
5924
|
+
|
|
5925
|
+
```ts
|
|
5926
|
+
type QueryMonitoringEventsV2Request = {
|
|
5927
|
+
use_case_id?: string
|
|
5928
|
+
use_case_type?: "inbound" | "outbound" | "file_proxy" | "managed_call" | "secure_proxy"
|
|
5929
|
+
level?: "success" | "error" | "skipped" | "warning"
|
|
5930
|
+
code?: string
|
|
5931
|
+
event_id?: string
|
|
5932
|
+
correlation_id?: string
|
|
5933
|
+
from_date?: string // date-time
|
|
5934
|
+
to_date?: string // date-time
|
|
5935
|
+
limit?: number
|
|
5936
|
+
cursor?: {
|
|
5937
|
+
created_at?: string // date-time
|
|
5938
|
+
id?: string // uuid
|
|
5939
|
+
}
|
|
5940
|
+
}
|
|
5941
|
+
```
|
|
5942
|
+
|
|
5943
|
+
### `MonitoringEventV2`
|
|
5944
|
+
|
|
5945
|
+
```ts
|
|
5946
|
+
type MonitoringEventV2 = {
|
|
5947
|
+
id: string // uuid
|
|
5948
|
+
org_id: string
|
|
5949
|
+
integration_id: string
|
|
5950
|
+
event_id: string
|
|
5951
|
+
correlation_id?: string
|
|
5952
|
+
use_case_id?: string
|
|
5953
|
+
use_case_type: "inbound" | "outbound" | "file_proxy" | "managed_call" | "secure_proxy" | ""
|
|
5954
|
+
level: "success" | "error" | "skipped" | "warning"
|
|
5955
|
+
code?: string
|
|
5956
|
+
message?: string
|
|
5957
|
+
detail?: Record<string, unknown>
|
|
5958
|
+
created_at: string // date-time
|
|
5959
|
+
}
|
|
5960
|
+
```
|
|
5961
|
+
|
|
5962
|
+
### `GetMonitoringStatsV2Request`
|
|
5963
|
+
|
|
5964
|
+
```ts
|
|
5965
|
+
type GetMonitoringStatsV2Request = {
|
|
5966
|
+
from_date?: string // date-time
|
|
5967
|
+
to_date?: string // date-time
|
|
5968
|
+
use_case_type?: "inbound" | "outbound" | "file_proxy" | "managed_call" | "secure_proxy"
|
|
5969
|
+
group_by?: "use_case_id" | "use_case_type" | "level" | "code" | "date"
|
|
5970
|
+
}
|
|
5971
|
+
```
|
|
5972
|
+
|
|
5973
|
+
### `MonitoringStatsV2`
|
|
5974
|
+
|
|
5975
|
+
```ts
|
|
5976
|
+
type MonitoringStatsV2 = {
|
|
5977
|
+
total_events: number
|
|
5978
|
+
success_count: number
|
|
5979
|
+
error_count: number
|
|
5980
|
+
warning_count: number
|
|
5981
|
+
skipped_count: number
|
|
5982
|
+
ack_timeout_count?: number
|
|
5983
|
+
success_rate?: number
|
|
5984
|
+
last_error_at?: string // date-time
|
|
5985
|
+
breakdown?: Record<string, unknown>[]
|
|
5986
|
+
}
|
|
5987
|
+
```
|
|
5988
|
+
|
|
5989
|
+
### `GetMonitoringTimeSeriesV2Request`
|
|
5990
|
+
|
|
5991
|
+
```ts
|
|
5992
|
+
type GetMonitoringTimeSeriesV2Request = {
|
|
5993
|
+
from_date: string // date-time
|
|
5994
|
+
to_date?: string // date-time
|
|
5995
|
+
interval: "5m" | "10m" | "30m" | "1h" | "3h" | "1d"
|
|
5996
|
+
use_case_type?: "inbound" | "outbound" | "file_proxy" | "managed_call" | "secure_proxy"
|
|
5997
|
+
}
|
|
5998
|
+
```
|
|
5999
|
+
|
|
6000
|
+
### `TimeSeriesBucketV2`
|
|
6001
|
+
|
|
6002
|
+
```ts
|
|
6003
|
+
type TimeSeriesBucketV2 = {
|
|
6004
|
+
timestamp: string // date-time
|
|
6005
|
+
success_count?: number
|
|
6006
|
+
error_count?: number
|
|
6007
|
+
warning_count?: number
|
|
6008
|
+
skipped_count?: number
|
|
6009
|
+
total_count: number
|
|
6010
|
+
}
|
|
6011
|
+
```
|