@epilot/sdk 2.8.0-rc.0 → 2.8.1
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/LICENSE +21 -0
- package/README.md +0 -1
- package/definitions/automation.json +120 -0
- package/definitions/blueprint-manifest-runtime.json +1 -1
- package/definitions/blueprint-manifest.json +744 -20
- package/definitions/customer-portal-runtime.json +1 -1
- package/definitions/customer-portal.json +317 -26
- package/definitions/design.json +51 -1
- package/definitions/event-catalog-runtime.json +1 -1
- package/definitions/event-catalog.json +168 -12
- package/definitions/file-runtime.json +1 -1
- package/definitions/file.json +152 -4
- package/definitions/integration-toolkit-runtime.json +1 -1
- package/definitions/integration-toolkit.json +782 -13
- package/definitions/notes-runtime.json +1 -1
- package/definitions/notes.json +123 -1
- package/definitions/pricing.json +224 -406
- package/definitions/targeting-runtime.json +1 -1
- package/definitions/targeting.json +257 -7
- package/definitions/webhooks.json +31 -0
- package/dist/README-46VYEGGW.js +7 -0
- package/dist/README-IVBISSWB.cjs +7 -0
- package/dist/{_index-YTOJUFGD.js → _index-5FB6F5YY.js} +0 -3
- package/dist/{_index-HTUXYSTD.cjs → _index-DB2VV4PQ.cjs} +1 -4
- 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 +6 -6
- package/dist/apis/automation.d.cts +2 -2
- package/dist/apis/automation.d.ts +2 -2
- package/dist/apis/automation.js +1 -1
- 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/calendar.cjs +6 -6
- package/dist/apis/calendar.js +1 -1
- package/dist/apis/configuration-hub.cjs +6 -6
- package/dist/apis/configuration-hub.js +1 -1
- package/dist/apis/consent.cjs +6 -6
- package/dist/apis/consent.js +1 -1
- package/dist/apis/customer-portal.cjs +8 -8
- package/dist/apis/customer-portal.d.cts +2 -2
- package/dist/apis/customer-portal.d.ts +2 -2
- package/dist/apis/customer-portal.js +2 -2
- package/dist/apis/dashboard.cjs +6 -6
- package/dist/apis/dashboard.js +1 -1
- package/dist/apis/data-governance.cjs +6 -6
- package/dist/apis/data-governance.js +1 -1
- package/dist/apis/deduplication.cjs +6 -6
- package/dist/apis/deduplication.js +1 -1
- package/dist/apis/design.cjs +6 -6
- package/dist/apis/design.d.cts +2 -2
- package/dist/apis/design.d.ts +2 -2
- package/dist/apis/design.js +1 -1
- package/dist/apis/document.cjs +6 -6
- package/dist/apis/document.js +1 -1
- package/dist/apis/email-settings.cjs +6 -6
- package/dist/apis/email-settings.js +1 -1
- 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.js +1 -1
- package/dist/apis/environments.cjs +6 -6
- package/dist/apis/environments.js +1 -1
- package/dist/apis/event-catalog.cjs +8 -8
- package/dist/apis/event-catalog.d.cts +2 -2
- package/dist/apis/event-catalog.d.ts +2 -2
- package/dist/apis/event-catalog.js +2 -2
- package/dist/apis/file.cjs +8 -8
- package/dist/apis/file.d.cts +2 -2
- package/dist/apis/file.d.ts +2 -2
- package/dist/apis/file.js +2 -2
- package/dist/apis/iban.cjs +6 -6
- package/dist/apis/iban.js +1 -1
- package/dist/apis/integration-toolkit.cjs +8 -8
- package/dist/apis/integration-toolkit.d.cts +2 -2
- package/dist/apis/integration-toolkit.d.ts +2 -2
- package/dist/apis/integration-toolkit.js +2 -2
- package/dist/apis/journey.cjs +6 -6
- 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 +6 -6
- package/dist/apis/message.js +1 -1
- package/dist/apis/metering.cjs +6 -6
- package/dist/apis/metering.js +1 -1
- package/dist/apis/notes.cjs +8 -8
- package/dist/apis/notes.d.cts +2 -2
- package/dist/apis/notes.d.ts +2 -2
- package/dist/apis/notes.js +2 -2
- 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.d.cts +2 -2
- package/dist/apis/pricing.d.ts +2 -2
- package/dist/apis/pricing.js +1 -1
- package/dist/apis/purpose.cjs +6 -6
- package/dist/apis/purpose.js +1 -1
- package/dist/apis/query.cjs +6 -6
- package/dist/apis/query.js +1 -1
- package/dist/apis/sandbox.cjs +6 -6
- package/dist/apis/sandbox.js +1 -1
- package/dist/apis/sharing.cjs +6 -6
- package/dist/apis/sharing.js +1 -1
- package/dist/apis/submission.cjs +6 -6
- package/dist/apis/submission.js +1 -1
- package/dist/apis/target.cjs +6 -6
- package/dist/apis/target.js +1 -1
- package/dist/apis/targeting.cjs +8 -8
- package/dist/apis/targeting.d.cts +2 -2
- package/dist/apis/targeting.d.ts +2 -2
- package/dist/apis/targeting.js +2 -2
- package/dist/apis/template-variables.cjs +6 -6
- 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.d.cts +2 -2
- package/dist/apis/webhooks.d.ts +2 -2
- package/dist/apis/webhooks.js +1 -1
- package/dist/apis/workflow-definition.cjs +6 -6
- package/dist/apis/workflow-definition.js +1 -1
- package/dist/apis/workflow.cjs +6 -6
- package/dist/apis/workflow.js +1 -1
- package/dist/automation-S6NFS5KU.cjs +7 -0
- package/dist/automation-W75XZG7B.js +7 -0
- package/dist/{automation.d-Du6-uiz5.d.cts → automation.d-DS_YXDE8.d.cts} +300 -1
- package/dist/{automation.d-Du6-uiz5.d.ts → automation.d-DS_YXDE8.d.ts} +300 -1
- package/dist/blueprint-manifest-6DEYW5MW.js +7 -0
- package/dist/blueprint-manifest-GCV7H74X.cjs +7 -0
- package/dist/{blueprint-manifest-runtime-QN2IECSA.cjs → blueprint-manifest-runtime-EIDOROIQ.cjs} +2 -2
- package/dist/{blueprint-manifest-runtime-5UN52LW5.js → blueprint-manifest-runtime-FRLU3ZSF.js} +1 -1
- package/dist/{blueprint-manifest.d-BPyzoR0X.d.ts → blueprint-manifest.d-B8yDxagC.d.cts} +572 -6
- package/dist/{blueprint-manifest.d-BPyzoR0X.d.cts → blueprint-manifest.d-B8yDxagC.d.ts} +572 -6
- package/dist/chunk-4M5V6BIT.cjs +14 -0
- package/dist/chunk-4YBWMDFP.js +14 -0
- package/dist/{chunk-KJPOUJBU.cjs → chunk-5ZXGKLB6.cjs} +1 -1
- package/dist/{chunk-PTEJYAYJ.js → chunk-774ASAAH.js} +1 -1
- package/dist/{chunk-WM74R3BD.js → chunk-7V7ECXTZ.js} +1 -1
- package/dist/{chunk-54KWFSCM.js → chunk-ALMZO57K.js} +21 -23
- package/dist/chunk-FDS727SL.cjs +14 -0
- package/dist/{chunk-4FFGRWLS.cjs → chunk-I53TWOTX.cjs} +1 -1
- package/dist/chunk-LSPXLT3A.js +14 -0
- package/dist/chunk-M4FO2MI4.js +14 -0
- package/dist/chunk-MCK2QUSD.cjs +14 -0
- package/dist/chunk-NGHCQ2FA.cjs +14 -0
- package/dist/chunk-RDVFQOCQ.js +14 -0
- package/dist/{chunk-RW5JOHG7.js → chunk-WIQXF7DD.js} +1 -1
- package/dist/{chunk-F5Z6I7TF.cjs → chunk-WPBRWQPL.cjs} +21 -23
- package/dist/{chunk-M2SSGV7K.cjs → chunk-ZOQUGWQL.cjs} +1 -1
- package/dist/customer-portal-4DXHY42V.js +7 -0
- package/dist/customer-portal-5OSGSYGF.cjs +7 -0
- package/dist/{customer-portal-runtime-IYHJ3RME.cjs → customer-portal-runtime-HA6CPWB4.cjs} +2 -2
- package/dist/{customer-portal-runtime-ZYU3WIXY.js → customer-portal-runtime-TDHV2YVY.js} +1 -1
- package/dist/{customer-portal.d-CTTCBAZI.d.cts → customer-portal.d-BRwiQehb.d.cts} +763 -31
- package/dist/{customer-portal.d-CTTCBAZI.d.ts → customer-portal.d-BRwiQehb.d.ts} +763 -31
- package/dist/data-governance-2U5UU4GM.cjs +7 -0
- package/dist/data-governance-36Y33JVG.js +7 -0
- package/dist/design-DUFBH5ZB.js +7 -0
- package/dist/design-W3D3UPGB.cjs +7 -0
- package/dist/{design.d-BRre8iLg.d.ts → design.d-DzSDu8cy.d.cts} +41 -3
- package/dist/{design.d-BRre8iLg.d.cts → design.d-DzSDu8cy.d.ts} +41 -3
- package/dist/event-catalog-3YOQ46ZW.js +7 -0
- package/dist/event-catalog-HLWUT7RM.cjs +7 -0
- package/dist/{event-catalog-runtime-N262TQ3Y.js → event-catalog-runtime-JUSLF3UR.js} +1 -1
- package/dist/{event-catalog-runtime-B2BPKQVG.cjs → event-catalog-runtime-RH7542GL.cjs} +2 -2
- package/dist/{event-catalog.d-mQJLSYUo.d.ts → event-catalog.d-CXbUn8T1.d.cts} +199 -36
- package/dist/{event-catalog.d-mQJLSYUo.d.cts → event-catalog.d-CXbUn8T1.d.ts} +199 -36
- package/dist/file-2MSILSPP.cjs +7 -0
- package/dist/file-JVFTT5RZ.js +7 -0
- package/dist/file-runtime-7AWKNQU6.cjs +5 -0
- package/dist/{file-runtime-BIRMXYRH.js → file-runtime-DKGFS44O.js} +1 -1
- package/dist/{file.d-DTlrbI40.d.cts → file.d-BjlMgTwj.d.cts} +218 -5
- package/dist/{file.d-DTlrbI40.d.ts → file.d-BjlMgTwj.d.ts} +218 -5
- package/dist/index.cjs +27 -35
- package/dist/index.d.cts +56 -58
- package/dist/index.d.ts +56 -58
- package/dist/index.js +16 -24
- package/dist/integration-toolkit-27Z3VZBZ.cjs +7 -0
- package/dist/integration-toolkit-NRLZZFVS.js +7 -0
- package/dist/{integration-toolkit-runtime-YHTU4X5J.cjs → integration-toolkit-runtime-FY7QVFL6.cjs} +2 -2
- package/dist/{integration-toolkit-runtime-YR4CIMKH.js → integration-toolkit-runtime-HCJ5QLCR.js} +1 -1
- package/dist/{integration-toolkit.d-BstNqiJb.d.cts → integration-toolkit.d-BW9RK5G-.d.cts} +1672 -27
- package/dist/{integration-toolkit.d-BstNqiJb.d.ts → integration-toolkit.d-BW9RK5G-.d.ts} +1672 -27
- package/dist/js-yaml-DLCVPJ7G.js +0 -0
- package/dist/notes-6JESMRLW.js +7 -0
- package/dist/notes-SLEUSNP4.cjs +7 -0
- package/dist/{notes-runtime-CVNAVKPP.js → notes-runtime-I4SWR3PZ.js} +1 -1
- package/dist/notes-runtime-YWTRRNH5.cjs +5 -0
- package/dist/{notes.d-BcV_m5fe.d.cts → notes.d-rbcyHfiB.d.cts} +101 -3
- package/dist/{notes.d-BcV_m5fe.d.ts → notes.d-rbcyHfiB.d.ts} +101 -3
- package/dist/pricing-5Y7TZHMR.js +7 -0
- package/dist/pricing-BJUABPHU.cjs +7 -0
- package/dist/{pricing.d-BHpMU4KU.d.cts → pricing.d-gPt5L7wp.d.cts} +151 -280
- package/dist/{pricing.d-BHpMU4KU.d.ts → pricing.d-gPt5L7wp.d.ts} +151 -280
- package/dist/targeting-DAFJBPIZ.cjs +7 -0
- package/dist/targeting-TGPCRRI6.js +7 -0
- package/dist/{targeting-runtime-M2VSTKFT.js → targeting-runtime-D5YUPZQM.js} +1 -1
- package/dist/{targeting-runtime-6JFMP262.cjs → targeting-runtime-MLMOM7CK.cjs} +2 -2
- package/dist/{targeting.d-BNmcVsNS.d.cts → targeting.d-DxHQbn7-.d.cts} +197 -3
- package/dist/{targeting.d-BNmcVsNS.d.ts → targeting.d-DxHQbn7-.d.ts} +197 -3
- package/dist/webhooks-6CUXSTPH.cjs +7 -0
- package/dist/webhooks-DTNKNJEN.js +7 -0
- package/dist/{webhooks.d-ByePoUWs.d.cts → webhooks.d-DKZOMj1P.d.cts} +37 -0
- package/dist/{webhooks.d-ByePoUWs.d.ts → webhooks.d-DKZOMj1P.d.ts} +37 -0
- package/docs/automation.md +180 -37
- package/docs/blueprint-manifest.md +728 -68
- package/docs/customer-portal.md +465 -56
- package/docs/data-governance.md +17 -17
- package/docs/design.md +80 -3
- package/docs/event-catalog.md +126 -13
- package/docs/file.md +113 -0
- package/docs/integration-toolkit.md +488 -19
- package/docs/notes.md +47 -1
- package/docs/pricing.md +290 -219
- package/docs/targeting.md +158 -4
- package/docs/webhooks.md +11 -2
- package/package.json +11 -21
- package/definitions/focus-pocus-runtime.json +0 -1
- package/definitions/focus-pocus.json +0 -757
- package/dist/README-37TXN4EL.cjs +0 -7
- package/dist/README-Z2WITBOR.js +0 -7
- package/dist/apis/focus-pocus.cjs +0 -38
- package/dist/apis/focus-pocus.d.cts +0 -18
- package/dist/apis/focus-pocus.d.ts +0 -18
- package/dist/apis/focus-pocus.js +0 -38
- package/dist/automation-BMO7ZFTN.cjs +0 -7
- package/dist/automation-MEZTSUR3.js +0 -7
- package/dist/blueprint-manifest-DBEY5PPI.js +0 -7
- package/dist/blueprint-manifest-IEQ6YBY7.cjs +0 -7
- package/dist/chunk-3APTSPY4.js +0 -14
- package/dist/chunk-5WNEYQII.cjs +0 -14
- package/dist/chunk-A6FYGWQ7.cjs +0 -14
- package/dist/chunk-BTTPWE2P.js +0 -14
- package/dist/chunk-CBDKPGO5.cjs +0 -14
- package/dist/chunk-L544VG3B.cjs +0 -14
- package/dist/chunk-O2YVXGPZ.js +0 -14
- package/dist/chunk-OCMIXJWC.js +0 -14
- package/dist/chunk-OPXGJKZR.cjs +0 -14
- package/dist/chunk-P42Q6HOW.js +0 -14
- package/dist/customer-portal-DR6XFCTQ.js +0 -7
- package/dist/customer-portal-PNFBVIAH.cjs +0 -7
- package/dist/data-governance-QYFHBCNB.cjs +0 -7
- package/dist/data-governance-YS2NA6W4.js +0 -7
- package/dist/design-EWZQZ5KX.js +0 -7
- package/dist/design-MUUYXB2J.cjs +0 -7
- package/dist/event-catalog-37B6JC7G.js +0 -7
- package/dist/event-catalog-5JBHJJ2I.cjs +0 -7
- package/dist/file-P2FUUER2.js +0 -7
- package/dist/file-XTY74SIX.cjs +0 -7
- package/dist/file-runtime-24S3QPA7.cjs +0 -5
- package/dist/focus-pocus-JGXH42OF.cjs +0 -7
- package/dist/focus-pocus-XVDVUYL6.js +0 -7
- package/dist/focus-pocus-runtime-QXBBYVX7.js +0 -5
- package/dist/focus-pocus-runtime-X6GQ3WI4.cjs +0 -5
- package/dist/focus-pocus.d-BRFGe53G.d.cts +0 -489
- package/dist/focus-pocus.d-BRFGe53G.d.ts +0 -489
- package/dist/integration-toolkit-3I3IPVFN.cjs +0 -7
- package/dist/integration-toolkit-XAFQXNQY.js +0 -7
- package/dist/notes-K2IIFCX3.cjs +0 -7
- package/dist/notes-Q7JGS7O3.js +0 -7
- package/dist/notes-runtime-E3YYF74V.cjs +0 -5
- package/dist/pricing-R5ENSVPQ.cjs +0 -7
- package/dist/pricing-X27CCRI6.js +0 -7
- package/dist/targeting-74BV7F7H.cjs +0 -7
- package/dist/targeting-W5EKJYR2.js +0 -7
- package/dist/webhooks-NZHJBT64.js +0 -7
- package/dist/webhooks-SK2STDKR.cjs +0 -7
- package/docs/focus-pocus.md +0 -460
|
@@ -56,6 +56,11 @@ const { data } = await integrationToolkitClient.acknowledgeTracking(...)
|
|
|
56
56
|
- [`setIntegrationAppMapping`](#setintegrationappmapping)
|
|
57
57
|
- [`deleteIntegrationAppMapping`](#deleteintegrationappmapping)
|
|
58
58
|
- [`getOutboundStatus`](#getoutboundstatus)
|
|
59
|
+
- [`pollOutboundMessages`](#polloutboundmessages)
|
|
60
|
+
- [`ackOutboundMessages`](#ackoutboundmessages)
|
|
61
|
+
- [`listOutboundDlqMessages`](#listoutbounddlqmessages)
|
|
62
|
+
- [`redriveOutboundDlqMessages`](#redriveoutbounddlqmessages)
|
|
63
|
+
- [`unblockOutboundStream`](#unblockoutboundstream)
|
|
59
64
|
- [`listSecureProxies`](#listsecureproxies)
|
|
60
65
|
- [`generateTypesPreview`](#generatetypespreview)
|
|
61
66
|
- [`generateTypes`](#generatetypes)
|
|
@@ -187,10 +192,26 @@ const { data } = await integrationToolkitClient.acknowledgeTracking(...)
|
|
|
187
192
|
- [`IntegrationConfigurationV2`](#integrationconfigurationv2)
|
|
188
193
|
- [`OutboundMapping`](#outboundmapping)
|
|
189
194
|
- [`DeliveryConfig`](#deliveryconfig)
|
|
195
|
+
- [`WebhookDeliveryConfig`](#webhookdeliveryconfig)
|
|
196
|
+
- [`PollDeliveryConfig`](#polldeliveryconfig)
|
|
190
197
|
- [`OutboundStatusResponse`](#outboundstatusresponse)
|
|
191
198
|
- [`OutboundUseCaseStatus`](#outboundusecasestatus)
|
|
199
|
+
- [`OutboundPollStatus`](#outboundpollstatus)
|
|
192
200
|
- [`WebhookStatus`](#webhookstatus)
|
|
193
201
|
- [`OutboundConflict`](#outboundconflict)
|
|
202
|
+
- [`PollOutboundMessagesRequest`](#polloutboundmessagesrequest)
|
|
203
|
+
- [`OutboundMessage`](#outboundmessage)
|
|
204
|
+
- [`PollOutboundMessagesResponse`](#polloutboundmessagesresponse)
|
|
205
|
+
- [`AckOutboundMessagesRequest`](#ackoutboundmessagesrequest)
|
|
206
|
+
- [`AckResult`](#ackresult)
|
|
207
|
+
- [`AckOutboundMessagesResponse`](#ackoutboundmessagesresponse)
|
|
208
|
+
- [`OutboundDlqMessage`](#outbounddlqmessage)
|
|
209
|
+
- [`OutboundDlqListResponse`](#outbounddlqlistresponse)
|
|
210
|
+
- [`RedriveOutboundDlqRequest`](#redriveoutbounddlqrequest)
|
|
211
|
+
- [`RedriveOutboundDlqResult`](#redriveoutbounddlqresult)
|
|
212
|
+
- [`RedriveOutboundDlqResponse`](#redriveoutbounddlqresponse)
|
|
213
|
+
- [`UnblockOutboundStreamRequest`](#unblockoutboundstreamrequest)
|
|
214
|
+
- [`UnblockOutboundStreamResponse`](#unblockoutboundstreamresponse)
|
|
194
215
|
- [`RelationConfig`](#relationconfig)
|
|
195
216
|
- [`RelationItemConfig`](#relationitemconfig)
|
|
196
217
|
- [`RelationUniqueIdField`](#relationuniqueidfield)
|
|
@@ -874,6 +895,7 @@ const { data } = await client.queryEvents(
|
|
|
874
895
|
correlation_id: 'string',
|
|
875
896
|
object_type: 'string',
|
|
876
897
|
event_name: 'string',
|
|
898
|
+
use_case_id: 'string',
|
|
877
899
|
limit: 25,
|
|
878
900
|
cursor: {
|
|
879
901
|
event_time: '2025-10-31T12:34:56Z',
|
|
@@ -895,7 +917,8 @@ const { data } = await client.queryEvents(
|
|
|
895
917
|
"timestamp": "1970-01-01T00:00:00.000Z",
|
|
896
918
|
"format": "json",
|
|
897
919
|
"payload": "string",
|
|
898
|
-
"deduplication_id": "evt-2025-05-01-12345-create-bp"
|
|
920
|
+
"deduplication_id": "evt-2025-05-01-12345-create-bp",
|
|
921
|
+
"use_case_id": "string"
|
|
899
922
|
}
|
|
900
923
|
],
|
|
901
924
|
"next_cursor": {
|
|
@@ -2058,7 +2081,15 @@ const { data } = await client.getOutboundStatus({
|
|
|
2058
2081
|
"webhookId": "string",
|
|
2059
2082
|
"message": "string"
|
|
2060
2083
|
}
|
|
2061
|
-
]
|
|
2084
|
+
],
|
|
2085
|
+
"poll": {
|
|
2086
|
+
"queue_depth": 0,
|
|
2087
|
+
"oldest_unconsumed_age_seconds": 0,
|
|
2088
|
+
"last_poll_at": "1970-01-01T00:00:00.000Z",
|
|
2089
|
+
"last_ack_at": "1970-01-01T00:00:00.000Z",
|
|
2090
|
+
"blocked": true,
|
|
2091
|
+
"dlq_count": 0
|
|
2092
|
+
}
|
|
2062
2093
|
}
|
|
2063
2094
|
]
|
|
2064
2095
|
}
|
|
@@ -2068,6 +2099,209 @@ const { data } = await client.getOutboundStatus({
|
|
|
2068
2099
|
|
|
2069
2100
|
---
|
|
2070
2101
|
|
|
2102
|
+
### `pollOutboundMessages`
|
|
2103
|
+
|
|
2104
|
+
Poll outbound messages for an integration's poll-mode use cases.
|
|
2105
|
+
Takes a lease on the head-of-line batch of the integration's FIFO stream:
|
|
2106
|
+
the returned messages stay invisible to subsequent polls unti
|
|
2107
|
+
|
|
2108
|
+
`POST /v1/integrations/{integrationId}/outbound/messages/poll`
|
|
2109
|
+
|
|
2110
|
+
```ts
|
|
2111
|
+
const { data } = await client.pollOutboundMessages(
|
|
2112
|
+
{
|
|
2113
|
+
integrationId: 'example',
|
|
2114
|
+
},
|
|
2115
|
+
{
|
|
2116
|
+
limit: 10
|
|
2117
|
+
},
|
|
2118
|
+
)
|
|
2119
|
+
```
|
|
2120
|
+
|
|
2121
|
+
<details>
|
|
2122
|
+
<summary>Response</summary>
|
|
2123
|
+
|
|
2124
|
+
```json
|
|
2125
|
+
{
|
|
2126
|
+
"messages": [
|
|
2127
|
+
{
|
|
2128
|
+
"id": "string",
|
|
2129
|
+
"lease_token": "string",
|
|
2130
|
+
"use_case_id": "string",
|
|
2131
|
+
"event_name": "string",
|
|
2132
|
+
"event_id": "string",
|
|
2133
|
+
"group": "string",
|
|
2134
|
+
"payload": {},
|
|
2135
|
+
"enqueued_at": "1970-01-01T00:00:00.000Z"
|
|
2136
|
+
}
|
|
2137
|
+
],
|
|
2138
|
+
"visibility_timeout_seconds": 0,
|
|
2139
|
+
"has_more": true
|
|
2140
|
+
}
|
|
2141
|
+
```
|
|
2142
|
+
|
|
2143
|
+
</details>
|
|
2144
|
+
|
|
2145
|
+
---
|
|
2146
|
+
|
|
2147
|
+
### `ackOutboundMessages`
|
|
2148
|
+
|
|
2149
|
+
Acknowledge polled outbound messages. Acks are validated against the
|
|
2150
|
+
active lease and committed as a prefix-contiguous cursor advance:
|
|
2151
|
+
messages must be acknowledged in stream order. Out-of-order acks
|
|
2152
|
+
|
|
2153
|
+
`POST /v1/integrations/{integrationId}/outbound/messages/ack`
|
|
2154
|
+
|
|
2155
|
+
```ts
|
|
2156
|
+
const { data } = await client.ackOutboundMessages(
|
|
2157
|
+
{
|
|
2158
|
+
integrationId: 'example',
|
|
2159
|
+
},
|
|
2160
|
+
{
|
|
2161
|
+
acks: [
|
|
2162
|
+
{
|
|
2163
|
+
id: 'string',
|
|
2164
|
+
lease_token: 'string'
|
|
2165
|
+
}
|
|
2166
|
+
]
|
|
2167
|
+
},
|
|
2168
|
+
)
|
|
2169
|
+
```
|
|
2170
|
+
|
|
2171
|
+
<details>
|
|
2172
|
+
<summary>Response</summary>
|
|
2173
|
+
|
|
2174
|
+
```json
|
|
2175
|
+
{
|
|
2176
|
+
"results": [
|
|
2177
|
+
{
|
|
2178
|
+
"id": "string",
|
|
2179
|
+
"status": "accepted",
|
|
2180
|
+
"reason": "stale_lease"
|
|
2181
|
+
}
|
|
2182
|
+
]
|
|
2183
|
+
}
|
|
2184
|
+
```
|
|
2185
|
+
|
|
2186
|
+
</details>
|
|
2187
|
+
|
|
2188
|
+
---
|
|
2189
|
+
|
|
2190
|
+
### `listOutboundDlqMessages`
|
|
2191
|
+
|
|
2192
|
+
List an integration's dead-lettered outbound queue messages
|
|
2193
|
+
(poison_policy enforcement and operator skips move messages here).
|
|
2194
|
+
Operator endpoint — requires the `integration:manage` grant. Message
|
|
2195
|
+
payl
|
|
2196
|
+
|
|
2197
|
+
`GET /v1/integrations/{integrationId}/outbound/messages/dlq`
|
|
2198
|
+
|
|
2199
|
+
```ts
|
|
2200
|
+
const { data } = await client.listOutboundDlqMessages({
|
|
2201
|
+
integrationId: 'example',
|
|
2202
|
+
limit: 1,
|
|
2203
|
+
next_token: 'example',
|
|
2204
|
+
})
|
|
2205
|
+
```
|
|
2206
|
+
|
|
2207
|
+
<details>
|
|
2208
|
+
<summary>Response</summary>
|
|
2209
|
+
|
|
2210
|
+
```json
|
|
2211
|
+
{
|
|
2212
|
+
"items": [
|
|
2213
|
+
{
|
|
2214
|
+
"id": "string",
|
|
2215
|
+
"use_case_id": "string",
|
|
2216
|
+
"event_name": "string",
|
|
2217
|
+
"event_id": "string",
|
|
2218
|
+
"enqueued_at": "1970-01-01T00:00:00.000Z",
|
|
2219
|
+
"dead_lettered_at": "1970-01-01T00:00:00.000Z",
|
|
2220
|
+
"delivery_attempts": 0,
|
|
2221
|
+
"reason": "string",
|
|
2222
|
+
"expires_at": "1970-01-01T00:00:00.000Z"
|
|
2223
|
+
}
|
|
2224
|
+
],
|
|
2225
|
+
"next_token": "string"
|
|
2226
|
+
}
|
|
2227
|
+
```
|
|
2228
|
+
|
|
2229
|
+
</details>
|
|
2230
|
+
|
|
2231
|
+
---
|
|
2232
|
+
|
|
2233
|
+
### `redriveOutboundDlqMessages`
|
|
2234
|
+
|
|
2235
|
+
Redrive selected dead-lettered messages back into the live stream.
|
|
2236
|
+
Operator endpoint — requires the `integration:manage` grant.
|
|
2237
|
+
A redriven message is re-enqueued at the tail with a new id and
|
|
2238
|
+
sequence
|
|
2239
|
+
|
|
2240
|
+
`POST /v1/integrations/{integrationId}/outbound/messages/dlq/redrive`
|
|
2241
|
+
|
|
2242
|
+
```ts
|
|
2243
|
+
const { data } = await client.redriveOutboundDlqMessages(
|
|
2244
|
+
{
|
|
2245
|
+
integrationId: 'example',
|
|
2246
|
+
},
|
|
2247
|
+
{
|
|
2248
|
+
ids: ['string']
|
|
2249
|
+
},
|
|
2250
|
+
)
|
|
2251
|
+
```
|
|
2252
|
+
|
|
2253
|
+
<details>
|
|
2254
|
+
<summary>Response</summary>
|
|
2255
|
+
|
|
2256
|
+
```json
|
|
2257
|
+
{
|
|
2258
|
+
"results": [
|
|
2259
|
+
{
|
|
2260
|
+
"id": "string",
|
|
2261
|
+
"status": "redriven"
|
|
2262
|
+
}
|
|
2263
|
+
]
|
|
2264
|
+
}
|
|
2265
|
+
```
|
|
2266
|
+
|
|
2267
|
+
</details>
|
|
2268
|
+
|
|
2269
|
+
---
|
|
2270
|
+
|
|
2271
|
+
### `unblockOutboundStream`
|
|
2272
|
+
|
|
2273
|
+
Unblock an integration's outbound stream halted by the `block`
|
|
2274
|
+
poison policy: skips (dead-letters) the current blocked head message,
|
|
2275
|
+
emitting MSG_DEAD_LETTERED and letting the next message become the
|
|
2276
|
+
|
|
2277
|
+
|
|
2278
|
+
`POST /v1/integrations/{integrationId}/outbound/messages/unblock`
|
|
2279
|
+
|
|
2280
|
+
```ts
|
|
2281
|
+
const { data } = await client.unblockOutboundStream(
|
|
2282
|
+
{
|
|
2283
|
+
integrationId: 'example',
|
|
2284
|
+
},
|
|
2285
|
+
{
|
|
2286
|
+
reason: 'string'
|
|
2287
|
+
},
|
|
2288
|
+
)
|
|
2289
|
+
```
|
|
2290
|
+
|
|
2291
|
+
<details>
|
|
2292
|
+
<summary>Response</summary>
|
|
2293
|
+
|
|
2294
|
+
```json
|
|
2295
|
+
{
|
|
2296
|
+
"unblocked": true,
|
|
2297
|
+
"dead_lettered_id": "string"
|
|
2298
|
+
}
|
|
2299
|
+
```
|
|
2300
|
+
|
|
2301
|
+
</details>
|
|
2302
|
+
|
|
2303
|
+
---
|
|
2304
|
+
|
|
2071
2305
|
### `queryAccessLogs`
|
|
2072
2306
|
|
|
2073
2307
|
Query API access logs for a specific integration's organization.
|
|
@@ -2274,7 +2508,8 @@ const { data } = await client.getMonitoringStatsV2(
|
|
|
2274
2508
|
from_date: '2025-01-01T00:00:00Z',
|
|
2275
2509
|
to_date: '2025-01-31T23:59:59Z',
|
|
2276
2510
|
use_case_type: 'inbound',
|
|
2277
|
-
group_by: 'use_case_id'
|
|
2511
|
+
group_by: 'use_case_id',
|
|
2512
|
+
source: 'monitoring'
|
|
2278
2513
|
},
|
|
2279
2514
|
)
|
|
2280
2515
|
```
|
|
@@ -2612,6 +2847,7 @@ type ErpEvent = {
|
|
|
2612
2847
|
format: "json" | "xml"
|
|
2613
2848
|
payload: string | Record<string, unknown>
|
|
2614
2849
|
deduplication_id?: string
|
|
2850
|
+
use_case_id?: string
|
|
2615
2851
|
}
|
|
2616
2852
|
```
|
|
2617
2853
|
|
|
@@ -2628,6 +2864,7 @@ type ErpUpdatesEventsV2Request = {
|
|
|
2628
2864
|
format: "json" | "xml"
|
|
2629
2865
|
payload: string | Record<string, unknown>
|
|
2630
2866
|
deduplication_id?: string
|
|
2867
|
+
use_case_id?: string
|
|
2631
2868
|
}>
|
|
2632
2869
|
}
|
|
2633
2870
|
```
|
|
@@ -3294,13 +3531,18 @@ type OutboundIntegrationEventConfiguration = {
|
|
|
3294
3531
|
mappings: Array<{
|
|
3295
3532
|
id?: string // uuid
|
|
3296
3533
|
name: string
|
|
3297
|
-
jsonata_expression
|
|
3534
|
+
jsonata_expression?: string
|
|
3298
3535
|
enabled: boolean
|
|
3299
3536
|
delivery: {
|
|
3300
3537
|
type: { ... }
|
|
3301
3538
|
webhook_id: { ... }
|
|
3302
3539
|
webhook_name?: { ... }
|
|
3303
3540
|
webhook_url?: { ... }
|
|
3541
|
+
} | {
|
|
3542
|
+
type: { ... }
|
|
3543
|
+
retention_days?: { ... }
|
|
3544
|
+
poison_policy?: { ... }
|
|
3545
|
+
max_delivery_attempts?: { ... }
|
|
3304
3546
|
}
|
|
3305
3547
|
created_at?: string // date-time
|
|
3306
3548
|
updated_at?: string // date-time
|
|
@@ -3767,7 +4009,7 @@ type EmbeddedUseCaseRequest = {
|
|
|
3767
4009
|
mappings: Array<{
|
|
3768
4010
|
id?: { ... }
|
|
3769
4011
|
name: { ... }
|
|
3770
|
-
jsonata_expression
|
|
4012
|
+
jsonata_expression?: { ... }
|
|
3771
4013
|
enabled: { ... }
|
|
3772
4014
|
delivery: { ... }
|
|
3773
4015
|
created_at?: { ... }
|
|
@@ -3892,7 +4134,7 @@ type EmbeddedOutboundUseCaseRequest = {
|
|
|
3892
4134
|
mappings: Array<{
|
|
3893
4135
|
id?: { ... }
|
|
3894
4136
|
name: { ... }
|
|
3895
|
-
jsonata_expression
|
|
4137
|
+
jsonata_expression?: { ... }
|
|
3896
4138
|
enabled: { ... }
|
|
3897
4139
|
delivery: { ... }
|
|
3898
4140
|
created_at?: { ... }
|
|
@@ -4065,7 +4307,7 @@ type OutboundUseCase = {
|
|
|
4065
4307
|
mappings: Array<{
|
|
4066
4308
|
id?: { ... }
|
|
4067
4309
|
name: { ... }
|
|
4068
|
-
jsonata_expression
|
|
4310
|
+
jsonata_expression?: { ... }
|
|
4069
4311
|
enabled: { ... }
|
|
4070
4312
|
delivery: { ... }
|
|
4071
4313
|
created_at?: { ... }
|
|
@@ -4230,7 +4472,7 @@ type UseCase = {
|
|
|
4230
4472
|
mappings: Array<{
|
|
4231
4473
|
id?: { ... }
|
|
4232
4474
|
name: { ... }
|
|
4233
|
-
jsonata_expression
|
|
4475
|
+
jsonata_expression?: { ... }
|
|
4234
4476
|
enabled: { ... }
|
|
4235
4477
|
delivery: { ... }
|
|
4236
4478
|
created_at?: { ... }
|
|
@@ -4327,7 +4569,7 @@ type CreateUseCaseRequest = {
|
|
|
4327
4569
|
mappings: Array<{
|
|
4328
4570
|
id?: { ... }
|
|
4329
4571
|
name: { ... }
|
|
4330
|
-
jsonata_expression
|
|
4572
|
+
jsonata_expression?: { ... }
|
|
4331
4573
|
enabled: { ... }
|
|
4332
4574
|
delivery: { ... }
|
|
4333
4575
|
created_at?: { ... }
|
|
@@ -4450,7 +4692,7 @@ type CreateOutboundUseCaseRequest = {
|
|
|
4450
4692
|
mappings: Array<{
|
|
4451
4693
|
id?: { ... }
|
|
4452
4694
|
name: { ... }
|
|
4453
|
-
jsonata_expression
|
|
4695
|
+
jsonata_expression?: { ... }
|
|
4454
4696
|
enabled: { ... }
|
|
4455
4697
|
delivery: { ... }
|
|
4456
4698
|
created_at?: { ... }
|
|
@@ -4587,7 +4829,7 @@ type UpdateUseCaseRequest = {
|
|
|
4587
4829
|
mappings: Array<{
|
|
4588
4830
|
id?: { ... }
|
|
4589
4831
|
name: { ... }
|
|
4590
|
-
jsonata_expression
|
|
4832
|
+
jsonata_expression?: { ... }
|
|
4591
4833
|
enabled: { ... }
|
|
4592
4834
|
delivery: { ... }
|
|
4593
4835
|
created_at?: { ... }
|
|
@@ -4711,7 +4953,7 @@ type UpdateOutboundUseCaseRequest = {
|
|
|
4711
4953
|
mappings: Array<{
|
|
4712
4954
|
id?: { ... }
|
|
4713
4955
|
name: { ... }
|
|
4714
|
-
jsonata_expression
|
|
4956
|
+
jsonata_expression?: { ... }
|
|
4715
4957
|
enabled: { ... }
|
|
4716
4958
|
delivery: { ... }
|
|
4717
4959
|
created_at?: { ... }
|
|
@@ -4869,7 +5111,7 @@ type UseCaseHistoryEntry = {
|
|
|
4869
5111
|
mappings: Array<{
|
|
4870
5112
|
id?: { ... }
|
|
4871
5113
|
name: { ... }
|
|
4872
|
-
jsonata_expression
|
|
5114
|
+
jsonata_expression?: { ... }
|
|
4873
5115
|
enabled: { ... }
|
|
4874
5116
|
delivery: { ... }
|
|
4875
5117
|
created_at?: { ... }
|
|
@@ -5000,7 +5242,7 @@ type OutboundUseCaseHistoryEntry = {
|
|
|
5000
5242
|
mappings: Array<{
|
|
5001
5243
|
id?: { ... }
|
|
5002
5244
|
name: { ... }
|
|
5003
|
-
jsonata_expression
|
|
5245
|
+
jsonata_expression?: { ... }
|
|
5004
5246
|
enabled: { ... }
|
|
5005
5247
|
delivery: { ... }
|
|
5006
5248
|
created_at?: { ... }
|
|
@@ -5803,19 +6045,24 @@ type IntegrationConfigurationV2 = {
|
|
|
5803
6045
|
|
|
5804
6046
|
### `OutboundMapping`
|
|
5805
6047
|
|
|
5806
|
-
A mapping that
|
|
6048
|
+
A mapping that delivers an event to an external system — either pushed to a webhook (with a JSONata payload transformation) or made available on the pull-based poll queue (raw event payload, no transformation)
|
|
5807
6049
|
|
|
5808
6050
|
```ts
|
|
5809
6051
|
type OutboundMapping = {
|
|
5810
6052
|
id?: string // uuid
|
|
5811
6053
|
name: string
|
|
5812
|
-
jsonata_expression
|
|
6054
|
+
jsonata_expression?: string
|
|
5813
6055
|
enabled: boolean
|
|
5814
6056
|
delivery: {
|
|
5815
6057
|
type: "webhook"
|
|
5816
6058
|
webhook_id: string
|
|
5817
6059
|
webhook_name?: string
|
|
5818
6060
|
webhook_url?: string
|
|
6061
|
+
} | {
|
|
6062
|
+
type: "poll"
|
|
6063
|
+
retention_days?: number
|
|
6064
|
+
poison_policy?: "dead_letter" | "block"
|
|
6065
|
+
max_delivery_attempts?: number
|
|
5819
6066
|
}
|
|
5820
6067
|
created_at?: string // date-time
|
|
5821
6068
|
updated_at?: string // date-time
|
|
@@ -5824,7 +6071,7 @@ type OutboundMapping = {
|
|
|
5824
6071
|
|
|
5825
6072
|
### `DeliveryConfig`
|
|
5826
6073
|
|
|
5827
|
-
Configuration for how the
|
|
6074
|
+
Configuration for how the event should be delivered. webhook = push delivery via svc-webhooks (JSONata-transformed payload); poll = pull-based queue delivery where the consumer fetches items via the poll API (raw event payload)
|
|
5828
6075
|
|
|
5829
6076
|
```ts
|
|
5830
6077
|
type DeliveryConfig = {
|
|
@@ -5832,6 +6079,37 @@ type DeliveryConfig = {
|
|
|
5832
6079
|
webhook_id: string
|
|
5833
6080
|
webhook_name?: string
|
|
5834
6081
|
webhook_url?: string
|
|
6082
|
+
} | {
|
|
6083
|
+
type: "poll"
|
|
6084
|
+
retention_days?: number
|
|
6085
|
+
poison_policy?: "dead_letter" | "block"
|
|
6086
|
+
max_delivery_attempts?: number
|
|
6087
|
+
}
|
|
6088
|
+
```
|
|
6089
|
+
|
|
6090
|
+
### `WebhookDeliveryConfig`
|
|
6091
|
+
|
|
6092
|
+
Push delivery of the transformed event to a webhook via svc-webhooks
|
|
6093
|
+
|
|
6094
|
+
```ts
|
|
6095
|
+
type WebhookDeliveryConfig = {
|
|
6096
|
+
type: "webhook"
|
|
6097
|
+
webhook_id: string
|
|
6098
|
+
webhook_name?: string
|
|
6099
|
+
webhook_url?: string
|
|
6100
|
+
}
|
|
6101
|
+
```
|
|
6102
|
+
|
|
6103
|
+
### `PollDeliveryConfig`
|
|
6104
|
+
|
|
6105
|
+
Pull-based queue delivery. Items carry the raw standardized event-catalog payload; no JSONata mapping is applied in poll mode. Consumers fetch and acknowledge items via the poll API.
|
|
6106
|
+
|
|
6107
|
+
```ts
|
|
6108
|
+
type PollDeliveryConfig = {
|
|
6109
|
+
type: "poll"
|
|
6110
|
+
retention_days?: number
|
|
6111
|
+
poison_policy?: "dead_letter" | "block"
|
|
6112
|
+
max_delivery_attempts?: number
|
|
5835
6113
|
}
|
|
5836
6114
|
```
|
|
5837
6115
|
|
|
@@ -5856,6 +6134,14 @@ type OutboundStatusResponse = {
|
|
|
5856
6134
|
webhookId?: { ... }
|
|
5857
6135
|
message: { ... }
|
|
5858
6136
|
}>
|
|
6137
|
+
poll?: {
|
|
6138
|
+
queue_depth: { ... }
|
|
6139
|
+
oldest_unconsumed_age_seconds: { ... }
|
|
6140
|
+
last_poll_at: { ... }
|
|
6141
|
+
last_ack_at: { ... }
|
|
6142
|
+
blocked: { ... }
|
|
6143
|
+
dlq_count: { ... }
|
|
6144
|
+
}
|
|
5859
6145
|
}>
|
|
5860
6146
|
}
|
|
5861
6147
|
```
|
|
@@ -5876,10 +6162,36 @@ type OutboundUseCaseStatus = {
|
|
|
5876
6162
|
}>
|
|
5877
6163
|
status: "ok" | "conflict" | "disabled"
|
|
5878
6164
|
conflicts?: Array<{
|
|
5879
|
-
type: "event_disabled" | "all_webhooks_disabled" | "event_enabled_while_disabled" | "webhook_enabled_while_disabled"
|
|
6165
|
+
type: "event_disabled" | "all_webhooks_disabled" | "event_enabled_while_disabled" | "webhook_enabled_while_disabled" | "stream_blocked" | "dlq_items_present"
|
|
5880
6166
|
webhookId?: string
|
|
5881
6167
|
message: string
|
|
5882
6168
|
}>
|
|
6169
|
+
poll?: {
|
|
6170
|
+
queue_depth: number
|
|
6171
|
+
oldest_unconsumed_age_seconds: number
|
|
6172
|
+
last_poll_at: string // date-time
|
|
6173
|
+
last_ack_at: string // date-time
|
|
6174
|
+
blocked: boolean
|
|
6175
|
+
dlq_count: number
|
|
6176
|
+
}
|
|
6177
|
+
}
|
|
6178
|
+
```
|
|
6179
|
+
|
|
6180
|
+
### `OutboundPollStatus`
|
|
6181
|
+
|
|
6182
|
+
Queue/consumer health for a poll-mode use case. Present only on use
|
|
6183
|
+
cases with a poll delivery mapping — webhook-only use cases are
|
|
6184
|
+
unaffected. Depth/age/DLQ numbers are first-page approximations.
|
|
6185
|
+
|
|
6186
|
+
|
|
6187
|
+
```ts
|
|
6188
|
+
type OutboundPollStatus = {
|
|
6189
|
+
queue_depth: number
|
|
6190
|
+
oldest_unconsumed_age_seconds: number
|
|
6191
|
+
last_poll_at: string // date-time
|
|
6192
|
+
last_ack_at: string // date-time
|
|
6193
|
+
blocked: boolean
|
|
6194
|
+
dlq_count: number
|
|
5883
6195
|
}
|
|
5884
6196
|
```
|
|
5885
6197
|
|
|
@@ -5897,12 +6209,167 @@ type WebhookStatus = {
|
|
|
5897
6209
|
|
|
5898
6210
|
```ts
|
|
5899
6211
|
type OutboundConflict = {
|
|
5900
|
-
type: "event_disabled" | "all_webhooks_disabled" | "event_enabled_while_disabled" | "webhook_enabled_while_disabled"
|
|
6212
|
+
type: "event_disabled" | "all_webhooks_disabled" | "event_enabled_while_disabled" | "webhook_enabled_while_disabled" | "stream_blocked" | "dlq_items_present"
|
|
5901
6213
|
webhookId?: string
|
|
5902
6214
|
message: string
|
|
5903
6215
|
}
|
|
5904
6216
|
```
|
|
5905
6217
|
|
|
6218
|
+
### `PollOutboundMessagesRequest`
|
|
6219
|
+
|
|
6220
|
+
```ts
|
|
6221
|
+
type PollOutboundMessagesRequest = {
|
|
6222
|
+
limit?: number
|
|
6223
|
+
}
|
|
6224
|
+
```
|
|
6225
|
+
|
|
6226
|
+
### `OutboundMessage`
|
|
6227
|
+
|
|
6228
|
+
```ts
|
|
6229
|
+
type OutboundMessage = {
|
|
6230
|
+
id: string
|
|
6231
|
+
lease_token: string
|
|
6232
|
+
use_case_id: string
|
|
6233
|
+
event_name: string
|
|
6234
|
+
event_id: string
|
|
6235
|
+
group: string
|
|
6236
|
+
payload: Record<string, unknown>
|
|
6237
|
+
enqueued_at: string // date-time
|
|
6238
|
+
}
|
|
6239
|
+
```
|
|
6240
|
+
|
|
6241
|
+
### `PollOutboundMessagesResponse`
|
|
6242
|
+
|
|
6243
|
+
```ts
|
|
6244
|
+
type PollOutboundMessagesResponse = {
|
|
6245
|
+
messages: Array<{
|
|
6246
|
+
id: string
|
|
6247
|
+
lease_token: string
|
|
6248
|
+
use_case_id: string
|
|
6249
|
+
event_name: string
|
|
6250
|
+
event_id: string
|
|
6251
|
+
group: string
|
|
6252
|
+
payload: Record<string, unknown>
|
|
6253
|
+
enqueued_at: string // date-time
|
|
6254
|
+
}>
|
|
6255
|
+
visibility_timeout_seconds: number
|
|
6256
|
+
has_more: boolean
|
|
6257
|
+
}
|
|
6258
|
+
```
|
|
6259
|
+
|
|
6260
|
+
### `AckOutboundMessagesRequest`
|
|
6261
|
+
|
|
6262
|
+
```ts
|
|
6263
|
+
type AckOutboundMessagesRequest = {
|
|
6264
|
+
acks: Array<{
|
|
6265
|
+
id: string
|
|
6266
|
+
lease_token: string
|
|
6267
|
+
}>
|
|
6268
|
+
}
|
|
6269
|
+
```
|
|
6270
|
+
|
|
6271
|
+
### `AckResult`
|
|
6272
|
+
|
|
6273
|
+
```ts
|
|
6274
|
+
type AckResult = {
|
|
6275
|
+
id: string
|
|
6276
|
+
status: "accepted" | "rejected"
|
|
6277
|
+
reason?: "stale_lease" | "out_of_order" | "not_found"
|
|
6278
|
+
}
|
|
6279
|
+
```
|
|
6280
|
+
|
|
6281
|
+
### `AckOutboundMessagesResponse`
|
|
6282
|
+
|
|
6283
|
+
```ts
|
|
6284
|
+
type AckOutboundMessagesResponse = {
|
|
6285
|
+
results: Array<{
|
|
6286
|
+
id: string
|
|
6287
|
+
status: "accepted" | "rejected"
|
|
6288
|
+
reason?: "stale_lease" | "out_of_order" | "not_found"
|
|
6289
|
+
}>
|
|
6290
|
+
}
|
|
6291
|
+
```
|
|
6292
|
+
|
|
6293
|
+
### `OutboundDlqMessage`
|
|
6294
|
+
|
|
6295
|
+
```ts
|
|
6296
|
+
type OutboundDlqMessage = {
|
|
6297
|
+
id: string
|
|
6298
|
+
use_case_id: string
|
|
6299
|
+
event_name: string
|
|
6300
|
+
event_id: string
|
|
6301
|
+
enqueued_at?: string // date-time
|
|
6302
|
+
dead_lettered_at: string // date-time
|
|
6303
|
+
delivery_attempts: number
|
|
6304
|
+
reason?: string
|
|
6305
|
+
expires_at?: string // date-time
|
|
6306
|
+
}
|
|
6307
|
+
```
|
|
6308
|
+
|
|
6309
|
+
### `OutboundDlqListResponse`
|
|
6310
|
+
|
|
6311
|
+
```ts
|
|
6312
|
+
type OutboundDlqListResponse = {
|
|
6313
|
+
items: Array<{
|
|
6314
|
+
id: string
|
|
6315
|
+
use_case_id: string
|
|
6316
|
+
event_name: string
|
|
6317
|
+
event_id: string
|
|
6318
|
+
enqueued_at?: string // date-time
|
|
6319
|
+
dead_lettered_at: string // date-time
|
|
6320
|
+
delivery_attempts: number
|
|
6321
|
+
reason?: string
|
|
6322
|
+
expires_at?: string // date-time
|
|
6323
|
+
}>
|
|
6324
|
+
next_token?: string
|
|
6325
|
+
}
|
|
6326
|
+
```
|
|
6327
|
+
|
|
6328
|
+
### `RedriveOutboundDlqRequest`
|
|
6329
|
+
|
|
6330
|
+
```ts
|
|
6331
|
+
type RedriveOutboundDlqRequest = {
|
|
6332
|
+
ids: string[]
|
|
6333
|
+
}
|
|
6334
|
+
```
|
|
6335
|
+
|
|
6336
|
+
### `RedriveOutboundDlqResult`
|
|
6337
|
+
|
|
6338
|
+
```ts
|
|
6339
|
+
type RedriveOutboundDlqResult = {
|
|
6340
|
+
id: string
|
|
6341
|
+
status: "redriven" | "not_found"
|
|
6342
|
+
}
|
|
6343
|
+
```
|
|
6344
|
+
|
|
6345
|
+
### `RedriveOutboundDlqResponse`
|
|
6346
|
+
|
|
6347
|
+
```ts
|
|
6348
|
+
type RedriveOutboundDlqResponse = {
|
|
6349
|
+
results: Array<{
|
|
6350
|
+
id: string
|
|
6351
|
+
status: "redriven" | "not_found"
|
|
6352
|
+
}>
|
|
6353
|
+
}
|
|
6354
|
+
```
|
|
6355
|
+
|
|
6356
|
+
### `UnblockOutboundStreamRequest`
|
|
6357
|
+
|
|
6358
|
+
```ts
|
|
6359
|
+
type UnblockOutboundStreamRequest = {
|
|
6360
|
+
reason?: string
|
|
6361
|
+
}
|
|
6362
|
+
```
|
|
6363
|
+
|
|
6364
|
+
### `UnblockOutboundStreamResponse`
|
|
6365
|
+
|
|
6366
|
+
```ts
|
|
6367
|
+
type UnblockOutboundStreamResponse = {
|
|
6368
|
+
unblocked: boolean
|
|
6369
|
+
dead_lettered_id?: string
|
|
6370
|
+
}
|
|
6371
|
+
```
|
|
6372
|
+
|
|
5906
6373
|
### `RelationConfig`
|
|
5907
6374
|
|
|
5908
6375
|
```ts
|
|
@@ -6049,6 +6516,7 @@ type QueryEventsRequest = {
|
|
|
6049
6516
|
correlation_id?: string
|
|
6050
6517
|
object_type?: string
|
|
6051
6518
|
event_name?: string
|
|
6519
|
+
use_case_id?: string
|
|
6052
6520
|
limit?: number
|
|
6053
6521
|
cursor?: {
|
|
6054
6522
|
event_time?: string // date-time
|
|
@@ -6295,6 +6763,7 @@ type GetMonitoringStatsV2Request = {
|
|
|
6295
6763
|
to_date?: string // date-time
|
|
6296
6764
|
use_case_type?: "inbound" | "outbound" | "file_proxy" | "managed_call" | "secure_proxy"
|
|
6297
6765
|
group_by?: "use_case_id" | "use_case_type" | "level" | "code" | "date"
|
|
6766
|
+
source?: "monitoring" | "incoming"
|
|
6298
6767
|
}
|
|
6299
6768
|
```
|
|
6300
6769
|
|