@epilot/sdk 2.20.60 → 2.20.62

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.
Files changed (173) hide show
  1. package/definitions/app.json +17 -44
  2. package/definitions/customer-portal-runtime.json +1 -1
  3. package/definitions/customer-portal.json +566 -14
  4. package/definitions/email-settings.json +9 -3
  5. package/definitions/integration-toolkit-runtime.json +1 -1
  6. package/definitions/integration-toolkit.json +656 -2
  7. package/dist/apis/access-token.cjs +6 -6
  8. package/dist/apis/access-token.js +1 -1
  9. package/dist/apis/address-suggestions.cjs +6 -6
  10. package/dist/apis/address-suggestions.js +1 -1
  11. package/dist/apis/address.cjs +6 -6
  12. package/dist/apis/address.js +1 -1
  13. package/dist/apis/ai-agents.cjs +6 -6
  14. package/dist/apis/ai-agents.js +1 -1
  15. package/dist/apis/app.cjs +6 -6
  16. package/dist/apis/app.d.cts +2 -2
  17. package/dist/apis/app.d.ts +2 -2
  18. package/dist/apis/app.js +1 -1
  19. package/dist/apis/audit-logs.cjs +6 -6
  20. package/dist/apis/audit-logs.js +1 -1
  21. package/dist/apis/automation.cjs +6 -6
  22. package/dist/apis/automation.js +1 -1
  23. package/dist/apis/billing.cjs +6 -6
  24. package/dist/apis/billing.js +1 -1
  25. package/dist/apis/blueprint-manifest.cjs +6 -6
  26. package/dist/apis/blueprint-manifest.js +1 -1
  27. package/dist/apis/calendar.cjs +6 -6
  28. package/dist/apis/calendar.js +1 -1
  29. package/dist/apis/chat.cjs +6 -6
  30. package/dist/apis/chat.js +1 -1
  31. package/dist/apis/configuration-hub.cjs +6 -6
  32. package/dist/apis/configuration-hub.js +1 -1
  33. package/dist/apis/consent.cjs +6 -6
  34. package/dist/apis/consent.js +1 -1
  35. package/dist/apis/customer-portal.cjs +8 -8
  36. package/dist/apis/customer-portal.d.cts +2 -2
  37. package/dist/apis/customer-portal.d.ts +2 -2
  38. package/dist/apis/customer-portal.js +2 -2
  39. package/dist/apis/dashboard.cjs +6 -6
  40. package/dist/apis/dashboard.js +1 -1
  41. package/dist/apis/data-governance.cjs +6 -6
  42. package/dist/apis/data-governance.js +1 -1
  43. package/dist/apis/deduplication.cjs +6 -6
  44. package/dist/apis/deduplication.js +1 -1
  45. package/dist/apis/design.cjs +6 -6
  46. package/dist/apis/design.js +1 -1
  47. package/dist/apis/document.cjs +6 -6
  48. package/dist/apis/document.js +1 -1
  49. package/dist/apis/email-settings.cjs +6 -6
  50. package/dist/apis/email-settings.d.cts +2 -2
  51. package/dist/apis/email-settings.d.ts +2 -2
  52. package/dist/apis/email-settings.js +1 -1
  53. package/dist/apis/email-template.cjs +6 -6
  54. package/dist/apis/email-template.js +1 -1
  55. package/dist/apis/entity-mapping.cjs +6 -6
  56. package/dist/apis/entity-mapping.js +1 -1
  57. package/dist/apis/entity.cjs +6 -6
  58. package/dist/apis/entity.js +1 -1
  59. package/dist/apis/environments.cjs +6 -6
  60. package/dist/apis/environments.js +1 -1
  61. package/dist/apis/event-catalog.cjs +6 -6
  62. package/dist/apis/event-catalog.js +1 -1
  63. package/dist/apis/external-values.cjs +6 -6
  64. package/dist/apis/external-values.js +1 -1
  65. package/dist/apis/file.cjs +6 -6
  66. package/dist/apis/file.js +1 -1
  67. package/dist/apis/iban.cjs +6 -6
  68. package/dist/apis/iban.js +1 -1
  69. package/dist/apis/identity.cjs +6 -6
  70. package/dist/apis/identity.js +1 -1
  71. package/dist/apis/integration-toolkit.cjs +61 -9
  72. package/dist/apis/integration-toolkit.d.cts +2 -2
  73. package/dist/apis/integration-toolkit.d.ts +2 -2
  74. package/dist/apis/integration-toolkit.js +55 -3
  75. package/dist/apis/journey.cjs +6 -6
  76. package/dist/apis/journey.js +1 -1
  77. package/dist/apis/kanban.cjs +6 -6
  78. package/dist/apis/kanban.js +1 -1
  79. package/dist/apis/message.cjs +6 -6
  80. package/dist/apis/message.js +1 -1
  81. package/dist/apis/metering.cjs +6 -6
  82. package/dist/apis/metering.js +1 -1
  83. package/dist/apis/notes.cjs +6 -6
  84. package/dist/apis/notes.js +1 -1
  85. package/dist/apis/notification.cjs +6 -6
  86. package/dist/apis/notification.js +1 -1
  87. package/dist/apis/organization.cjs +6 -6
  88. package/dist/apis/organization.js +1 -1
  89. package/dist/apis/partner-directory.cjs +6 -6
  90. package/dist/apis/partner-directory.js +1 -1
  91. package/dist/apis/permissions.cjs +6 -6
  92. package/dist/apis/permissions.js +1 -1
  93. package/dist/apis/phone-integration.cjs +6 -6
  94. package/dist/apis/phone-integration.js +1 -1
  95. package/dist/apis/pricing-tier.cjs +6 -6
  96. package/dist/apis/pricing-tier.js +1 -1
  97. package/dist/apis/pricing.cjs +6 -6
  98. package/dist/apis/pricing.js +1 -1
  99. package/dist/apis/purpose.cjs +6 -6
  100. package/dist/apis/purpose.js +1 -1
  101. package/dist/apis/query.cjs +6 -6
  102. package/dist/apis/query.js +1 -1
  103. package/dist/apis/sandbox.cjs +6 -6
  104. package/dist/apis/sandbox.js +1 -1
  105. package/dist/apis/sharing.cjs +6 -6
  106. package/dist/apis/sharing.js +1 -1
  107. package/dist/apis/snapshot.cjs +6 -6
  108. package/dist/apis/snapshot.js +1 -1
  109. package/dist/apis/submission.cjs +6 -6
  110. package/dist/apis/submission.js +1 -1
  111. package/dist/apis/target.cjs +6 -6
  112. package/dist/apis/target.js +1 -1
  113. package/dist/apis/targeting.cjs +6 -6
  114. package/dist/apis/targeting.js +1 -1
  115. package/dist/apis/template-variables.cjs +6 -6
  116. package/dist/apis/template-variables.js +1 -1
  117. package/dist/apis/user.cjs +6 -6
  118. package/dist/apis/user.js +1 -1
  119. package/dist/apis/validation-rules.cjs +6 -6
  120. package/dist/apis/validation-rules.js +1 -1
  121. package/dist/apis/webhooks.cjs +6 -6
  122. package/dist/apis/webhooks.js +1 -1
  123. package/dist/apis/workflow-definition.cjs +6 -6
  124. package/dist/apis/workflow-definition.js +1 -1
  125. package/dist/apis/workflow.cjs +6 -6
  126. package/dist/apis/workflow.js +1 -1
  127. package/dist/app-CKQAJ7EE.js +7 -0
  128. package/dist/app-ERJHXY64.cjs +7 -0
  129. package/dist/{app.d-DbOr4uIC.d.cts → app.d-CZELwNO3.d.cts} +51 -27
  130. package/dist/{app.d-DbOr4uIC.d.ts → app.d-CZELwNO3.d.ts} +51 -27
  131. package/dist/{chunk-RBSTI4X4.cjs → chunk-4EH2X5J6.cjs} +7 -7
  132. package/dist/chunk-I6IC54PD.js +14 -0
  133. package/dist/chunk-O2XK4VD5.js +14 -0
  134. package/dist/chunk-QDPZZUG3.cjs +14 -0
  135. package/dist/chunk-UP3ZIQHB.cjs +14 -0
  136. package/dist/{chunk-4MDOL6ZZ.js → chunk-ZM6WXMH3.js} +7 -7
  137. package/dist/customer-portal-2OT5REK6.cjs +7 -0
  138. package/dist/customer-portal-AO2K6VW2.js +7 -0
  139. package/dist/{customer-portal-runtime-ZTLLE6CR.cjs → customer-portal-runtime-ATHDYPZM.cjs} +2 -2
  140. package/dist/{customer-portal-runtime-CNW7NSCT.js → customer-portal-runtime-XISRWE3I.js} +1 -1
  141. package/dist/{customer-portal.d-COI3Xe4x.d.cts → customer-portal.d-CTIzvirI.d.cts} +652 -17
  142. package/dist/{customer-portal.d-COI3Xe4x.d.ts → customer-portal.d-CTIzvirI.d.ts} +652 -17
  143. package/dist/{email-settings-U753HXGA.js → email-settings-DGZKA6CU.js} +1 -1
  144. package/dist/{email-settings-SEGEKVMF.cjs → email-settings-GE5ST3L2.cjs} +3 -3
  145. package/dist/{email-settings-QGCIUWLC.js → email-settings-UYAH3BWW.js} +3 -3
  146. package/dist/{email-settings-Z5EBAELW.cjs → email-settings-VGU7323R.cjs} +1 -1
  147. package/dist/{email-settings.d-DViLYaOl.d.cts → email-settings.d-DX_nzlZk.d.cts} +6 -3
  148. package/dist/{email-settings.d-DViLYaOl.d.ts → email-settings.d-DX_nzlZk.d.ts} +6 -3
  149. package/dist/index.cjs +12 -12
  150. package/dist/index.d.cts +4 -4
  151. package/dist/index.d.ts +4 -4
  152. package/dist/index.js +3 -3
  153. package/dist/integration-toolkit-FI32O7II.cjs +7 -0
  154. package/dist/integration-toolkit-MHULDW3E.js +7 -0
  155. package/dist/{integration-toolkit-runtime-3PM3MBEF.cjs → integration-toolkit-runtime-CPJT7YCA.cjs} +2 -2
  156. package/dist/{integration-toolkit-runtime-3LKW4ORQ.js → integration-toolkit-runtime-ZEH6X2OD.js} +1 -1
  157. package/dist/{integration-toolkit.d-oORkWs_H.d.cts → integration-toolkit.d-l5cgwHLa.d.cts} +658 -3
  158. package/dist/{integration-toolkit.d-oORkWs_H.d.ts → integration-toolkit.d-l5cgwHLa.d.ts} +658 -3
  159. package/docs/app.md +10 -39
  160. package/docs/customer-portal.md +440 -73
  161. package/docs/email-settings.md +2 -2
  162. package/docs/integration-toolkit.md +423 -7
  163. package/package.json +1 -1
  164. package/dist/app-R2RDF74T.js +0 -7
  165. package/dist/app-YIP3MOGW.cjs +0 -7
  166. package/dist/chunk-DQ346MRA.js +0 -14
  167. package/dist/chunk-FBRDBE4Y.cjs +0 -14
  168. package/dist/chunk-MBWCGRCK.js +0 -14
  169. package/dist/chunk-Y7KWK5H2.cjs +0 -14
  170. package/dist/customer-portal-TSJKBA37.js +0 -7
  171. package/dist/customer-portal-WOO2QDPR.cjs +0 -7
  172. package/dist/integration-toolkit-AB3GZDWM.cjs +0 -7
  173. package/dist/integration-toolkit-L745CJ5G.js +0 -7
@@ -7,7 +7,13 @@ declare namespace Components {
7
7
  namespace Responses {
8
8
  export type BadRequest = Schemas.ErrorResponseBase;
9
9
  export type Conflict = Schemas.ErrorResponseBase;
10
+ export type CorrelationWaitRejected = Schemas.ErrorResponseBase;
10
11
  export interface ERPUpdatesResponse {
12
+ /**
13
+ * The request's correlation id, echoed, or the one generated for it when the caller omitted it. This is the id to pass to `GET /v3/erp/updates/events?correlation_id=...` to wait for these events. Omitted when the request carried no correlation id and none was generated (v1 and v2).
14
+ *
15
+ */
16
+ correlation_id?: string;
11
17
  results?: {
12
18
  /**
13
19
  * ID of the processed event
@@ -17,10 +23,25 @@ declare namespace Components {
17
23
  * Processing status for the event (skipped indicates duplicate deduplication_id, ignored indicates unconfigured event)
18
24
  */
19
25
  status: "success" | "error" | "skipped" | "ignored";
26
+ /**
27
+ * Whether the event was PROCESSED as interactive - its processing record exists and the correlation wait works on it. Present only when interactive processing was requested or the use case is configured `always`. `true` with a `lane` other than `interactive` means the organization was over its rate and the event was carried on its normal lane; the wait still works, it is just slower. `false` means the use case does not allow interactive processing, and `message` says so.
28
+ *
29
+ */
30
+ interactive?: boolean;
31
+ /**
32
+ * Which processing lane carried the event. Present only alongside `interactive`.
33
+ *
34
+ */
35
+ lane?: "interactive" | "priority" | "default" | "deferred";
20
36
  message?: string;
21
37
  }[];
22
38
  }
23
39
  export interface ERPUpdatesRetryableResponse {
40
+ /**
41
+ * The request's correlation id, echoed, or the one generated for it when the caller omitted it. This is the id to pass to `GET /v3/erp/updates/events?correlation_id=...` to wait for these events. Omitted when the request carried no correlation id and none was generated (v1 and v2).
42
+ *
43
+ */
44
+ correlation_id?: string;
24
45
  results?: {
25
46
  /**
26
47
  * ID of the processed event
@@ -30,6 +51,16 @@ declare namespace Components {
30
51
  * Processing status for the event (skipped indicates duplicate deduplication_id, ignored indicates unconfigured event)
31
52
  */
32
53
  status: "success" | "error" | "skipped" | "ignored";
54
+ /**
55
+ * Whether the event was PROCESSED as interactive - its processing record exists and the correlation wait works on it. Present only when interactive processing was requested or the use case is configured `always`. `true` with a `lane` other than `interactive` means the organization was over its rate and the event was carried on its normal lane; the wait still works, it is just slower. `false` means the use case does not allow interactive processing, and `message` says so.
56
+ *
57
+ */
58
+ interactive?: boolean;
59
+ /**
60
+ * Which processing lane carried the event. Present only alongside `interactive`.
61
+ *
62
+ */
63
+ lane?: "interactive" | "priority" | "default" | "deferred";
33
64
  message?: string;
34
65
  }[];
35
66
  }
@@ -1351,6 +1382,123 @@ declare namespace Components {
1351
1382
  */
1352
1383
  latest_types_package_name?: string;
1353
1384
  }
1385
+ /**
1386
+ * One correlation's summary.
1387
+ */
1388
+ export interface CorrelationStatus {
1389
+ correlation_id: string;
1390
+ integration_id?: string;
1391
+ /**
1392
+ * The partner sent `correlation_complete`.
1393
+ */
1394
+ closed: boolean;
1395
+ closed_at?: string; // date-time
1396
+ events_received: number;
1397
+ /**
1398
+ * Events that reached a terminal status, failed ones included.
1399
+ */
1400
+ events_done: number;
1401
+ /**
1402
+ * Events that arrived after the correlation was closed.
1403
+ */
1404
+ late_events: number;
1405
+ first_ingested_at?: string; // date-time
1406
+ last_done_at?: string; // date-time
1407
+ use_cases: /* How many of a correlation's events belong to one use case, and how they ended. */ CorrelationUseCaseCounts[];
1408
+ /**
1409
+ * Every entity the correlation's events wrote.
1410
+ */
1411
+ entities: /* An entity an interactive event wrote. */ ErpUpdateProcessedEntity[];
1412
+ /**
1413
+ * Every failure in the correlation, whatever `completion` says.
1414
+ */
1415
+ errors: /* A failure nothing will retry. */ ErpUpdateProcessingError[];
1416
+ }
1417
+ export interface CorrelationStatusList {
1418
+ results: /* One correlation's summary. */ CorrelationStatus[];
1419
+ /**
1420
+ * Cursor for the next page, or null when there are no more rows.
1421
+ */
1422
+ next_cursor: string | null;
1423
+ /**
1424
+ * How many days back the listing reaches — the lifetime of a correlation
1425
+ * record. Nothing older is ever returned.
1426
+ *
1427
+ * example:
1428
+ * 7
1429
+ */
1430
+ horizon_days: number;
1431
+ }
1432
+ /**
1433
+ * How many of a correlation's events belong to one use case, and how they ended.
1434
+ */
1435
+ export interface CorrelationUseCaseCounts {
1436
+ /**
1437
+ * The use case's slug, or its id for a use case that has no slug — such a
1438
+ * use case is counted but cannot be named in `wait_for_use_cases`.
1439
+ *
1440
+ */
1441
+ use_case_slug: string;
1442
+ received: number;
1443
+ done: number;
1444
+ /**
1445
+ * Events of this use case that ended `error` or `partial`.
1446
+ */
1447
+ error: number;
1448
+ }
1449
+ export interface CorrelationWaitBadRequest {
1450
+ message: string;
1451
+ /**
1452
+ * The entity slug of a requirement that can never match.
1453
+ */
1454
+ slug?: string;
1455
+ /**
1456
+ * The selector key that is not a unique id of `slug`.
1457
+ */
1458
+ rejected_key?: string;
1459
+ /**
1460
+ * Every unique id of `slug` across the organization's inbound use cases —
1461
+ * the keys a selector on `slug` may name. Empty when no use case writes it.
1462
+ *
1463
+ */
1464
+ allowed_keys?: string[];
1465
+ }
1466
+ /**
1467
+ * One correlation's summary.
1468
+ */
1469
+ export interface CorrelationWaitResult {
1470
+ correlation_id: string;
1471
+ integration_id?: string;
1472
+ /**
1473
+ * The partner sent `correlation_complete`.
1474
+ */
1475
+ closed: boolean;
1476
+ closed_at?: string; // date-time
1477
+ events_received: number;
1478
+ /**
1479
+ * Events that reached a terminal status, failed ones included.
1480
+ */
1481
+ events_done: number;
1482
+ /**
1483
+ * Events that arrived after the correlation was closed.
1484
+ */
1485
+ late_events: number;
1486
+ first_ingested_at?: string; // date-time
1487
+ last_done_at?: string; // date-time
1488
+ use_cases: /* How many of a correlation's events belong to one use case, and how they ended. */ CorrelationUseCaseCounts[];
1489
+ /**
1490
+ * Every entity the correlation's events wrote.
1491
+ */
1492
+ entities: /* An entity an interactive event wrote. */ ErpUpdateProcessedEntity[];
1493
+ /**
1494
+ * Every failure in the correlation, whatever `completion` says.
1495
+ */
1496
+ errors: /* A failure nothing will retry. */ ErpUpdateProcessingError[];
1497
+ /**
1498
+ * Why the wait ended. See the operation description.
1499
+ */
1500
+ completion: "requirements_met" | "complete" | "timeout" | "error";
1501
+ }
1354
1502
  /**
1355
1503
  * Register an already-uploaded file as an import. The use case is chosen later, via `:validate` — upload and interpretation are separate decisions.
1356
1504
  */
@@ -2028,6 +2176,32 @@ declare namespace Components {
2028
2176
  *
2029
2177
  */
2030
2178
  direct?: boolean;
2179
+ /**
2180
+ * Whether events of this use case may be processed on the interactive lane -
2181
+ * a dedicated low-latency lane whose events are recorded, so a caller can wait
2182
+ * for their result with `GET /v3/erp/updates/events?correlation_id=...`.
2183
+ *
2184
+ * - `on_request`: the ingest request's own `interactive: true` selects the
2185
+ * lane. The normal setting for a mapping that serves both the nightly batch
2186
+ * and a registration push.
2187
+ * - `always`: every event of this use case is interactive, and the caller does
2188
+ * not have to ask. For use cases that exist only to serve a person waiting.
2189
+ * - `disabled`: requests asking for interactive processing are processed
2190
+ * normally and told so in the result.
2191
+ *
2192
+ * THE FIELD IS OPTIONAL AND ABSENT MEANS `disabled`. It is resolved when the
2193
+ * configuration is read and is never written into a stored configuration: a
2194
+ * `disabled` materialised on save would give a configuration a key its source
2195
+ * does not have, which configuration-synchronisation tooling reports as drift
2196
+ * on every comparison. Send it only when you mean `on_request` or `always`,
2197
+ * and remove it rather than setting it to `disabled`.
2198
+ *
2199
+ * The per-organization interactive rate limit still applies to `always`.
2200
+ *
2201
+ * example:
2202
+ * on_request
2203
+ */
2204
+ interactive?: "disabled" | "on_request" | "always";
2031
2205
  /**
2032
2206
  * Array of entity configurations for this event
2033
2207
  */
@@ -2829,6 +3003,13 @@ declare namespace Components {
2829
3003
  * customer-42-sync-2026-08-26
2830
3004
  */
2831
3005
  correlation_id?: string;
3006
+ /**
3007
+ * Optional per-event interactive opt-in. Overrides the request-level `interactive` for THIS event, so one batch can carry both the registration somebody is waiting on and the routine updates that came along with it. When absent, the event inherits the request-level `interactive`.
3008
+ *
3009
+ * example:
3010
+ * true
3011
+ */
3012
+ interactive?: boolean;
2832
3013
  } | {
2833
3014
  /**
2834
3015
  * Event name from integration mapping (e.g., business_partner, contract_account). Required when use_case_slug is not provided.
@@ -2908,6 +3089,13 @@ declare namespace Components {
2908
3089
  * customer-42-sync-2026-08-26
2909
3090
  */
2910
3091
  correlation_id?: string;
3092
+ /**
3093
+ * Optional per-event interactive opt-in. Overrides the request-level `interactive` for THIS event, so one batch can carry both the registration somebody is waiting on and the routine updates that came along with it. When absent, the event inherits the request-level `interactive`.
3094
+ *
3095
+ * example:
3096
+ * true
3097
+ */
3098
+ interactive?: boolean;
2911
3099
  };
2912
3100
  export interface ErpImportDownload {
2913
3101
  /**
@@ -3237,6 +3425,102 @@ declare namespace Components {
3237
3425
  */
3238
3426
  ErpImportIssue[];
3239
3427
  }
3428
+ /**
3429
+ * One interactive event's processing record.
3430
+ */
3431
+ export interface ErpUpdateEventStatus {
3432
+ event_id: string;
3433
+ correlation_id?: string;
3434
+ integration_id?: string;
3435
+ /**
3436
+ * `accepted` until the mapping ran, `processing` while its writes run, then
3437
+ * one of the terminal states: `done`, `partial` (some writes failed) or
3438
+ * `error`.
3439
+ *
3440
+ */
3441
+ status: "accepted" | "processing" | "done" | "partial" | "error";
3442
+ /**
3443
+ * Which processing lane carried the event.
3444
+ */
3445
+ lane: "interactive" | "priority" | "default" | "deferred";
3446
+ use_case_id?: string;
3447
+ use_case_slug?: string;
3448
+ /**
3449
+ * The partner's own name for the event, as pushed.
3450
+ */
3451
+ event_name?: string;
3452
+ ingested_at: string; // date-time
3453
+ /**
3454
+ * When the event's mapping finished.
3455
+ */
3456
+ mapped_at?: string; // date-time
3457
+ /**
3458
+ * When the event reached a terminal status.
3459
+ */
3460
+ done_at?: string; // date-time
3461
+ /**
3462
+ * The entity writes the event fanned out into so far.
3463
+ */
3464
+ writes_total: number;
3465
+ /**
3466
+ * The entity writes that have finished.
3467
+ */
3468
+ writes_done: number;
3469
+ entities: /* An entity an interactive event wrote. */ ErpUpdateProcessedEntity[];
3470
+ errors: /* A failure nothing will retry. */ ErpUpdateProcessingError[];
3471
+ }
3472
+ /**
3473
+ * An entity an interactive event wrote.
3474
+ */
3475
+ export interface ErpUpdateProcessedEntity {
3476
+ /**
3477
+ * Entity schema slug, e.g. `contact`.
3478
+ * example:
3479
+ * contact
3480
+ */
3481
+ slug: string;
3482
+ /**
3483
+ * The entity id.
3484
+ */
3485
+ _id: string;
3486
+ /**
3487
+ * What the write did. `unchanged` means the entity already matched the
3488
+ * event; it still counts as written.
3489
+ *
3490
+ */
3491
+ operation: "created" | "updated" | "deleted" | "unchanged";
3492
+ /**
3493
+ * The unique ids the entity was looked up by — exactly the use case's
3494
+ * configured `unique_ids` for that entity and nothing else. These and `_id`
3495
+ * are what a caller can tell several entities of one slug apart by, and the
3496
+ * only attributes a `wait_for_entities` selector can match.
3497
+ *
3498
+ * example:
3499
+ * {
3500
+ * "reenumber": "4711"
3501
+ * }
3502
+ */
3503
+ unique_ids: {
3504
+ [name: string]: string;
3505
+ };
3506
+ }
3507
+ /**
3508
+ * A failure nothing will retry.
3509
+ */
3510
+ export interface ErpUpdateProcessingError {
3511
+ /**
3512
+ * The v2 monitoring code of the failure.
3513
+ */
3514
+ code: string;
3515
+ message: string;
3516
+ /**
3517
+ * Which event of the correlation failed. Present on the correlation's
3518
+ * errors only; on an event's own errors it would repeat the event's id.
3519
+ *
3520
+ */
3521
+ event_id?: string;
3522
+ occurred_at: string; // date-time
3523
+ }
3240
3524
  export interface ErpUpdatesEventsV2Request {
3241
3525
  /**
3242
3526
  * UUID that identifies the integration configuration to use
@@ -3288,7 +3572,64 @@ declare namespace Components {
3288
3572
  */
3289
3573
  group_id?: string;
3290
3574
  /**
3291
- * List of ERP events to process
3575
+ * Request interactive processing for this request's events.
3576
+ *
3577
+ * Interactive events are carried on a dedicated, low-latency lane and
3578
+ * recorded, so a caller can wait for their result with
3579
+ * `GET /v3/erp/updates/events?correlation_id=...`. Use it for the pushes a
3580
+ * person is waiting on — a registration, a self-service lookup — not for
3581
+ * batch loads.
3582
+ *
3583
+ * The use case has to allow it: its `interactive` setting must be
3584
+ * `on_request` (this flag then selects the lane) or `always` (every event of
3585
+ * that use case is interactive and this flag is unnecessary). On a use case
3586
+ * that does not allow it the events are processed normally and the result
3587
+ * says `interactive: false`.
3588
+ *
3589
+ * An organization that asks for interactive processing faster than its agreed
3590
+ * rate has the excess carried on its normal lane instead. Nothing is rejected
3591
+ * and nothing is lost: those results still say `interactive: true`, with
3592
+ * `lane` naming the queue that actually carried them, and the correlation can
3593
+ * still be waited on - it will simply take as long as a bulk event does.
3594
+ *
3595
+ * Individual events may set their own `interactive`, which overrides this
3596
+ * request-level value for that event only.
3597
+ *
3598
+ * example:
3599
+ * true
3600
+ */
3601
+ interactive?: boolean;
3602
+ /**
3603
+ * Declares that no further events will follow for this request's
3604
+ * `correlation_id`. A caller waiting on that correlation is answered as soon
3605
+ * as the events already sent have finished, instead of waiting out its full
3606
+ * budget.
3607
+ *
3608
+ * Requires a request-level `correlation_id` - it closes that correlation and
3609
+ * is never inferred from per-event `correlation_id` values; sending it
3610
+ * without one is a 400.
3611
+ *
3612
+ * It is valid on a request with an empty `events` array, which is how a
3613
+ * bridge closes a correlation whose terminal marker arrived on its own. If
3614
+ * nothing was ever pushed under that correlation id, it is created closed and
3615
+ * empty, so a waiter is told straight away that nothing is coming rather than
3616
+ * waiting for data that will never arrive.
3617
+ *
3618
+ * Closing a correlation twice is a no-op. Events that arrive afterwards are
3619
+ * still processed, and raise a `CORRELATION_LATE_EVENT` monitoring warning.
3620
+ *
3621
+ * example:
3622
+ * true
3623
+ */
3624
+ correlation_complete?: boolean;
3625
+ /**
3626
+ * List of ERP events to process. At least one is required, unless
3627
+ * `correlation_complete` is `true` - a request that only closes a correlation
3628
+ * may send an empty array.
3629
+ *
3630
+ * Note: `wait` is NOT accepted on this endpoint and returns 400. Ingest never
3631
+ * blocks; poll `GET /v3/erp/updates/events` to wait for a correlation.
3632
+ *
3292
3633
  */
3293
3634
  events: ErpEventV3[];
3294
3635
  }
@@ -4241,6 +4582,32 @@ declare namespace Components {
4241
4582
  *
4242
4583
  */
4243
4584
  direct?: boolean;
4585
+ /**
4586
+ * Whether events of this use case may be processed on the interactive lane -
4587
+ * a dedicated low-latency lane whose events are recorded, so a caller can wait
4588
+ * for their result with `GET /v3/erp/updates/events?correlation_id=...`.
4589
+ *
4590
+ * - `on_request`: the ingest request's own `interactive: true` selects the
4591
+ * lane. The normal setting for a mapping that serves both the nightly batch
4592
+ * and a registration push.
4593
+ * - `always`: every event of this use case is interactive, and the caller does
4594
+ * not have to ask. For use cases that exist only to serve a person waiting.
4595
+ * - `disabled`: requests asking for interactive processing are processed
4596
+ * normally and told so in the result.
4597
+ *
4598
+ * THE FIELD IS OPTIONAL AND ABSENT MEANS `disabled`. It is resolved when the
4599
+ * configuration is read and is never written into a stored configuration: a
4600
+ * `disabled` materialised on save would give a configuration a key its source
4601
+ * does not have, which configuration-synchronisation tooling reports as drift
4602
+ * on every comparison. Send it only when you mean `on_request` or `always`,
4603
+ * and remove it rather than setting it to `disabled`.
4604
+ *
4605
+ * The per-organization interactive rate limit still applies to `always`.
4606
+ *
4607
+ * example:
4608
+ * on_request
4609
+ */
4610
+ interactive?: "disabled" | "on_request" | "always";
4244
4611
  /**
4245
4612
  * Array of entity configurations for this event
4246
4613
  */
@@ -5856,7 +6223,7 @@ declare namespace Components {
5856
6223
  * `monitoring-code-enum.test.ts`, which fails if the two diverge.
5857
6224
  *
5858
6225
  */
5859
- export type MonitoringCode = "ACK_CONFIRMED" | "ACK_PENDING" | "ACK_TIMEOUT" | "ATTACHMENT_NOT_FOUND" | "ATTRIBUTE_TYPE_MISMATCH" | "CONDITIONAL_VARIANTS_WRITTEN" | "CONDITIONAL_VARIANT_WRITE_FAILED" | "CONDITIONAL_VARIANT_WRITE_WARNING" | "DEPRECATED_ENDPOINT" | "DIRECT_ENTITY_NOT_ALLOWED" | "DIRECT_PAYLOAD_INVALID" | "DIRECT_VERSION_UNSUPPORTED" | "DUPLICATE_EVENT" | "ENTITY_CREATED" | "ENTITY_DELETED" | "ENTITY_NO_OP" | "ENTITY_REFERENCE_NOT_FOUND" | "ENTITY_UPDATED" | "EVENT_NOT_CONFIGURED" | "EXTERNAL_API_ERROR" | "EXTERNAL_ERROR" | "EXTERNAL_INFO" | "EXTERNAL_SUCCESS" | "EXTERNAL_WARNING" | "FAN_OUT_EMPTY" | "FAN_OUT_INVALID_RESULT" | "FILE_EXTRACTION_FAILED" | "FILE_FETCH_FAILED" | "FILE_PROXY_OK" | "FILE_PROXY_UPLOADED" | "FILE_PROXY_UPLOAD_ENQUEUED" | "FILE_PROXY_UPLOAD_FAILED" | "FILE_PROXY_UPLOAD_RETRYING" | "FILE_TOO_LARGE" | "INTEGRATION_NOT_FOUND" | "INVALID_METER_READING_ATTRIBUTES" | "LOOKUP_UNMAPPED" | "MALFORMED_PAYLOAD" | "MAPPING_EXPRESSION_FAILED" | "METERING_API_ERROR" | "METER_READING_DELETED" | "METER_READING_GROUP_FAILED" | "METER_READING_GROUP_RETRYING" | "METER_READING_UPSERTED" | "MISSING_REQUIRED_PARAM" | "MISSING_UNIQUE_IDENTIFIERS" | "MSG_ACKED" | "MSG_DEAD_LETTERED" | "MSG_ENQUEUED" | "MSG_EXPIRED_UNPOLLED" | "MSG_HEAD_BLOCKED" | "MSG_LATE_ARRIVAL" | "OAUTH2_TOKEN_FAILURE" | "PAYLOAD_TOO_LARGE" | "PRUNE_SCOPE_COMPLETED" | "PRUNE_SCOPE_PARTIAL_FAILURE" | "RECURSION_DEPTH_EXCEEDED" | "RELATION_REF_ITEM_NOT_FOUND" | "RELATION_REF_VALUE_UNDEFINED" | "REQUIRED_PARAM_MISSING" | "SECURE_PROXY_DISABLED" | "SECURE_PROXY_DOMAIN_BLOCKED" | "SECURE_PROXY_DOMAIN_NOT_ALLOWED" | "SECURE_PROXY_ERROR" | "SECURE_PROXY_INVALID_CONFIG" | "SECURE_PROXY_INVALID_TYPE" | "SECURE_PROXY_INVALID_URL" | "SECURE_PROXY_IP_BLOCKED" | "SECURE_PROXY_IP_NOT_ALLOWED" | "SECURE_PROXY_NOT_FOUND" | "SECURE_PROXY_UNAVAILABLE" | "SIGNATURE_VERIFICATION_FAILED" | "SIGNATURE_VERIFICATION_UNAVAILABLE" | "SOFT_DELETED_ENTITY_MATCHED" | "STEP_DISABLED" | "TIMEOUT" | "UNIQUE_ID_LOOKUP_UNRESOLVABLE" | "UNIQUE_ID_MULTIPLE_MATCHES" | "UNIQUE_ID_NOT_IN_SCHEMA" | "UNKNOWN_ERROR" | "USE_CASE_DISABLED" | "USE_CASE_INVALID_TYPE" | "USE_CASE_MISSING_CONFIG" | "USE_CASE_NOT_FOUND" | "WEBHOOK_DELIVERED";
6226
+ export type MonitoringCode = "ACK_CONFIRMED" | "ACK_PENDING" | "ACK_TIMEOUT" | "ATTACHMENT_NOT_FOUND" | "ATTRIBUTE_TYPE_MISMATCH" | "CONDITIONAL_VARIANTS_WRITTEN" | "CONDITIONAL_VARIANT_WRITE_FAILED" | "CONDITIONAL_VARIANT_WRITE_WARNING" | "CORRELATION_CLOSED_EMPTY" | "CORRELATION_CLOSED_INCOMPLETE" | "CORRELATION_CLOSE_IGNORED" | "CORRELATION_COMPLETED" | "CORRELATION_EVENT_LIMIT_EXCEEDED" | "CORRELATION_ID_MISSING" | "CORRELATION_LATE_EVENT" | "CORRELATION_REQUIREMENT_FAILED" | "CORRELATION_WAIT_REJECTED" | "CORRELATION_WAIT_TIMEOUT" | "DEPRECATED_ENDPOINT" | "DIRECT_ENTITY_NOT_ALLOWED" | "DIRECT_PAYLOAD_INVALID" | "DIRECT_VERSION_UNSUPPORTED" | "DUPLICATE_EVENT" | "ENTITY_CREATED" | "ENTITY_DELETED" | "ENTITY_NO_OP" | "ENTITY_REFERENCE_NOT_FOUND" | "ENTITY_UPDATED" | "EVENT_NOT_CONFIGURED" | "EXTERNAL_API_ERROR" | "EXTERNAL_ERROR" | "EXTERNAL_INFO" | "EXTERNAL_SUCCESS" | "EXTERNAL_WARNING" | "FAN_OUT_EMPTY" | "FAN_OUT_INVALID_RESULT" | "FILE_EXTRACTION_FAILED" | "FILE_FETCH_FAILED" | "FILE_PROXY_OK" | "FILE_PROXY_UPLOADED" | "FILE_PROXY_UPLOAD_ENQUEUED" | "FILE_PROXY_UPLOAD_FAILED" | "FILE_PROXY_UPLOAD_RETRYING" | "FILE_TOO_LARGE" | "INTEGRATION_NOT_FOUND" | "INTERACTIVE_CROSS_LANE_WRITE" | "INTERACTIVE_NOT_ALLOWED" | "INTERACTIVE_RATE_LIMITED" | "INVALID_METER_READING_ATTRIBUTES" | "LOOKUP_UNMAPPED" | "MALFORMED_PAYLOAD" | "MAPPING_EXPRESSION_FAILED" | "METERING_API_ERROR" | "METER_READING_DELETED" | "METER_READING_GROUP_FAILED" | "METER_READING_GROUP_RETRYING" | "METER_READING_UPSERTED" | "MISSING_REQUIRED_PARAM" | "MISSING_UNIQUE_IDENTIFIERS" | "MSG_ACKED" | "MSG_DEAD_LETTERED" | "MSG_ENQUEUED" | "MSG_EXPIRED_UNPOLLED" | "MSG_HEAD_BLOCKED" | "MSG_LATE_ARRIVAL" | "OAUTH2_TOKEN_FAILURE" | "PAYLOAD_TOO_LARGE" | "PRUNE_SCOPE_COMPLETED" | "PRUNE_SCOPE_PARTIAL_FAILURE" | "RECURSION_DEPTH_EXCEEDED" | "RELATION_REF_ITEM_NOT_FOUND" | "RELATION_REF_VALUE_UNDEFINED" | "REQUIRED_PARAM_MISSING" | "SECURE_PROXY_DISABLED" | "SECURE_PROXY_DOMAIN_BLOCKED" | "SECURE_PROXY_DOMAIN_NOT_ALLOWED" | "SECURE_PROXY_ERROR" | "SECURE_PROXY_INVALID_CONFIG" | "SECURE_PROXY_INVALID_TYPE" | "SECURE_PROXY_INVALID_URL" | "SECURE_PROXY_IP_BLOCKED" | "SECURE_PROXY_IP_NOT_ALLOWED" | "SECURE_PROXY_NOT_FOUND" | "SECURE_PROXY_UNAVAILABLE" | "SIGNATURE_VERIFICATION_FAILED" | "SIGNATURE_VERIFICATION_UNAVAILABLE" | "SOFT_DELETED_ENTITY_MATCHED" | "STEP_DISABLED" | "TIMEOUT" | "UNIQUE_ID_LOOKUP_UNRESOLVABLE" | "UNIQUE_ID_MULTIPLE_MATCHES" | "UNIQUE_ID_NOT_IN_SCHEMA" | "UNKNOWN_ERROR" | "USE_CASE_DISABLED" | "USE_CASE_INVALID_TYPE" | "USE_CASE_MISSING_CONFIG" | "USE_CASE_NOT_FOUND" | "WEBHOOK_DELIVERED";
5860
6227
  export interface MonitoringEventV2 {
5861
6228
  /**
5862
6229
  * Unique monitoring event ID
@@ -9122,6 +9489,21 @@ declare namespace Paths {
9122
9489
  export type $500 = Components.Responses.InternalServerError;
9123
9490
  }
9124
9491
  }
9492
+ namespace GetErpUpdateEvent {
9493
+ namespace Parameters {
9494
+ export type EventId = string;
9495
+ }
9496
+ export interface PathParameters {
9497
+ event_id: Parameters.EventId;
9498
+ }
9499
+ namespace Responses {
9500
+ export type $200 = /* One interactive event's processing record. */ Components.Schemas.ErpUpdateEventStatus;
9501
+ export type $401 = Components.Responses.Unauthorized;
9502
+ export type $403 = Components.Responses.Forbidden;
9503
+ export type $404 = Components.Responses.NotFound;
9504
+ export type $500 = Components.Responses.InternalServerError;
9505
+ }
9506
+ }
9125
9507
  namespace GetIntegration {
9126
9508
  namespace Parameters {
9127
9509
  export type IntegrationId = string; // uuid
@@ -9378,6 +9760,25 @@ declare namespace Paths {
9378
9760
  export type $500 = Components.Responses.InternalServerError;
9379
9761
  }
9380
9762
  }
9763
+ namespace ListErpUpdateCorrelations {
9764
+ namespace Parameters {
9765
+ export type Cursor = string;
9766
+ export type IntegrationId = string; // uuid
9767
+ export type Limit = number;
9768
+ }
9769
+ export interface QueryParameters {
9770
+ integration_id?: Parameters.IntegrationId /* uuid */;
9771
+ limit?: Parameters.Limit;
9772
+ cursor?: Parameters.Cursor;
9773
+ }
9774
+ namespace Responses {
9775
+ export type $200 = Components.Schemas.CorrelationStatusList;
9776
+ export type $400 = Components.Responses.BadRequest;
9777
+ export type $401 = Components.Responses.Unauthorized;
9778
+ export type $403 = Components.Responses.Forbidden;
9779
+ export type $500 = Components.Responses.InternalServerError;
9780
+ }
9781
+ }
9381
9782
  namespace ListIntegrations {
9382
9783
  namespace Responses {
9383
9784
  export interface $200 {
@@ -9642,6 +10043,28 @@ declare namespace Paths {
9642
10043
  export type $500 = Components.Responses.InternalServerError;
9643
10044
  }
9644
10045
  }
10046
+ namespace QueryErpUpdateEvents {
10047
+ namespace Parameters {
10048
+ export type CorrelationId = string; // ^[A-Za-z0-9_-]{1,255}$
10049
+ export type Wait = number;
10050
+ export type WaitForEntities = string[];
10051
+ export type WaitForUseCases = string[];
10052
+ }
10053
+ export interface QueryParameters {
10054
+ correlation_id: Parameters.CorrelationId /* ^[A-Za-z0-9_-]{1,255}$ */;
10055
+ wait?: Parameters.Wait;
10056
+ wait_for_entities?: Parameters.WaitForEntities;
10057
+ wait_for_use_cases?: Parameters.WaitForUseCases;
10058
+ }
10059
+ namespace Responses {
10060
+ export type $200 = /* One correlation's summary. */ Components.Schemas.CorrelationWaitResult;
10061
+ export type $400 = Components.Schemas.CorrelationWaitBadRequest;
10062
+ export type $401 = Components.Responses.Unauthorized;
10063
+ export type $403 = Components.Responses.Forbidden;
10064
+ export type $429 = Components.Responses.CorrelationWaitRejected;
10065
+ export type $500 = Components.Responses.InternalServerError;
10066
+ }
10067
+ }
9645
10068
  namespace QueryEvents {
9646
10069
  namespace Parameters {
9647
10070
  export type IntegrationId = string; // uuid
@@ -10079,6 +10502,73 @@ interface OperationMethods {
10079
10502
  data?: Paths.ProcessErpUpdatesEventsV2.RequestBody,
10080
10503
  config?: AxiosRequestConfig
10081
10504
  ): OperationResponse<Paths.ProcessErpUpdatesEventsV2.Responses.$200>
10505
+ /**
10506
+ * queryErpUpdateEvents - queryErpUpdateEvents
10507
+ *
10508
+ * Waits for the events of one correlation — the long poll behind interactive
10509
+ * registration — and returns the correlation's summary.
10510
+ *
10511
+ * Pass the `correlation_id` returned by `POST /v3/erp/updates/events` and say
10512
+ * what you are waiting for:
10513
+ *
10514
+ * - `wait_for_entities` — entity slugs, optionally with a selector:
10515
+ * `contact`, `contract[billing_account_number=4711]`.
10516
+ * - `wait_for_use_cases` — inbound use case slugs: `contract`, `meter_reading`.
10517
+ * A meter reading is not an entity, so this is how a wait names one.
10518
+ *
10519
+ * The call returns as soon as `completion` is decided, or after `wait`
10520
+ * seconds. `completion` is one of:
10521
+ *
10522
+ * - `requirements_met` — every listed requirement is satisfied. This wins even
10523
+ * if an unrelated event of the correlation failed; `errors` still lists it.
10524
+ * - `complete` — the partner closed the correlation (`correlation_complete`)
10525
+ * and every event it sent has finished. Nothing further can arrive, so the
10526
+ * wait ends even if a requirement is unmet. A correlation closed with zero
10527
+ * events is `complete` at once: the partner sent nothing and never will.
10528
+ * - `error` — a requirement can no longer be met because an event it depends
10529
+ * on failed: every event of a required use case ended in error, or an
10530
+ * entity requirement is still missing when the correlation is complete and
10531
+ * one of its events failed. Without requirements, `error` means the
10532
+ * correlation completed with failures.
10533
+ * - `timeout` — the budget ran out first. The body still shows what has
10534
+ * landed so far; call again to keep waiting.
10535
+ *
10536
+ * **Every requirement is met by the first matching event.** A use case
10537
+ * requirement is satisfied by the first event of that use case to finish, and
10538
+ * an entity requirement without a selector by the first entity of that slug;
10539
+ * neither says anything about the rest. So, unless the partner sends
10540
+ * `correlation_complete`, `requirements_met` does not mean the partner has
10541
+ * finished: more data for the same customer may still be arriving.
10542
+ * `correlation_complete` is the only signal that nothing further is coming —
10543
+ * strongly recommended for every partner, never required. When you know the
10544
+ * identifier you are waiting for, an entity requirement with a selector is the
10545
+ * precise tool: `contract[billing_account_number=4711]` is satisfied by that
10546
+ * contract and by nothing else.
10547
+ *
10548
+ * A requirement is only as good as the use case configuration it refers to:
10549
+ * model one inbound use case per partner event type, and give every use case a
10550
+ * slug. A use case without a slug cannot be named here.
10551
+ *
10552
+ * An unknown correlation, or one with no interactive events, reads as
10553
+ * `events_received: 0, closed: false` — "not yet" and "never" look the same,
10554
+ * which is why `correlation_complete` exists.
10555
+ *
10556
+ * Waiting holds a connection, so concurrent waits are capped per organization
10557
+ * and overall. Over the cap the call is refused with 429 and `Retry-After`;
10558
+ * fall back to calls with `wait=0` (they never need a slot) or retry later.
10559
+ * Calls that do not have to wait — `wait=0`, or a correlation that is already
10560
+ * decided — are never refused.
10561
+ *
10562
+ * Requires `integration:view` on the correlation's integration. The organization
10563
+ * is always the token's own, so no other organization's correlation is ever
10564
+ * visible.
10565
+ *
10566
+ */
10567
+ 'queryErpUpdateEvents'(
10568
+ parameters?: Parameters<Paths.QueryErpUpdateEvents.QueryParameters> | null,
10569
+ data?: any,
10570
+ config?: AxiosRequestConfig
10571
+ ): OperationResponse<Paths.QueryErpUpdateEvents.Responses.$200>
10082
10572
  /**
10083
10573
  * processErpUpdatesEventsV3 - processErpUpdatesEventsV3
10084
10574
  *
@@ -10092,6 +10582,49 @@ interface OperationMethods {
10092
10582
  data?: Paths.ProcessErpUpdatesEventsV3.RequestBody,
10093
10583
  config?: AxiosRequestConfig
10094
10584
  ): OperationResponse<Paths.ProcessErpUpdatesEventsV3.Responses.$200>
10585
+ /**
10586
+ * getErpUpdateEvent - getErpUpdateEvent
10587
+ *
10588
+ * Returns one interactive event's processing record, without waiting.
10589
+ *
10590
+ * Records exist for events processed as interactive (the ingest result said
10591
+ * `interactive: true`) and are kept for 24 hours. Any other event id is a 404.
10592
+ *
10593
+ * Requires `integration:view` on the event's integration.
10594
+ *
10595
+ */
10596
+ 'getErpUpdateEvent'(
10597
+ parameters?: Parameters<Paths.GetErpUpdateEvent.PathParameters> | null,
10598
+ data?: any,
10599
+ config?: AxiosRequestConfig
10600
+ ): OperationResponse<Paths.GetErpUpdateEvent.Responses.$200>
10601
+ /**
10602
+ * listErpUpdateCorrelations - listErpUpdateCorrelations
10603
+ *
10604
+ * Lists the organization's interactive correlations, newest first by the time
10605
+ * their first event was ingested, with the same summary the correlation wait
10606
+ * returns.
10607
+ *
10608
+ * It exists because looking a correlation up by id only finds the ones somebody
10609
+ * already has an id for. A correlation that is merely stuck emits no monitoring
10610
+ * code, so nothing points at it — and that is the case most worth seeing.
10611
+ *
10612
+ * **The listing covers the last 7 days** — the lifetime of a correlation record
10613
+ * — and says so in `horizon_days`. Correlations older than that are not
10614
+ * returned, even when a wider range is being displayed.
10615
+ *
10616
+ * Pass `next_cursor` back as `cursor` for the next page. A page can be shorter
10617
+ * than `limit` and still have more behind it, so stop on `next_cursor: null`.
10618
+ *
10619
+ * Requires `integration:view` on `integration_id` when it is given, and on every
10620
+ * integration of the organization when it is not.
10621
+ *
10622
+ */
10623
+ 'listErpUpdateCorrelations'(
10624
+ parameters?: Parameters<Paths.ListErpUpdateCorrelations.QueryParameters> | null,
10625
+ data?: any,
10626
+ config?: AxiosRequestConfig
10627
+ ): OperationResponse<Paths.ListErpUpdateCorrelations.Responses.$200>
10095
10628
  /**
10096
10629
  * simulateMappingV2 - simulateMappingV2
10097
10630
  *
@@ -11114,6 +11647,120 @@ interface PathsDictionary {
11114
11647
  data?: Paths.ProcessErpUpdatesEventsV3.RequestBody,
11115
11648
  config?: AxiosRequestConfig
11116
11649
  ): OperationResponse<Paths.ProcessErpUpdatesEventsV3.Responses.$200>
11650
+ /**
11651
+ * queryErpUpdateEvents - queryErpUpdateEvents
11652
+ *
11653
+ * Waits for the events of one correlation — the long poll behind interactive
11654
+ * registration — and returns the correlation's summary.
11655
+ *
11656
+ * Pass the `correlation_id` returned by `POST /v3/erp/updates/events` and say
11657
+ * what you are waiting for:
11658
+ *
11659
+ * - `wait_for_entities` — entity slugs, optionally with a selector:
11660
+ * `contact`, `contract[billing_account_number=4711]`.
11661
+ * - `wait_for_use_cases` — inbound use case slugs: `contract`, `meter_reading`.
11662
+ * A meter reading is not an entity, so this is how a wait names one.
11663
+ *
11664
+ * The call returns as soon as `completion` is decided, or after `wait`
11665
+ * seconds. `completion` is one of:
11666
+ *
11667
+ * - `requirements_met` — every listed requirement is satisfied. This wins even
11668
+ * if an unrelated event of the correlation failed; `errors` still lists it.
11669
+ * - `complete` — the partner closed the correlation (`correlation_complete`)
11670
+ * and every event it sent has finished. Nothing further can arrive, so the
11671
+ * wait ends even if a requirement is unmet. A correlation closed with zero
11672
+ * events is `complete` at once: the partner sent nothing and never will.
11673
+ * - `error` — a requirement can no longer be met because an event it depends
11674
+ * on failed: every event of a required use case ended in error, or an
11675
+ * entity requirement is still missing when the correlation is complete and
11676
+ * one of its events failed. Without requirements, `error` means the
11677
+ * correlation completed with failures.
11678
+ * - `timeout` — the budget ran out first. The body still shows what has
11679
+ * landed so far; call again to keep waiting.
11680
+ *
11681
+ * **Every requirement is met by the first matching event.** A use case
11682
+ * requirement is satisfied by the first event of that use case to finish, and
11683
+ * an entity requirement without a selector by the first entity of that slug;
11684
+ * neither says anything about the rest. So, unless the partner sends
11685
+ * `correlation_complete`, `requirements_met` does not mean the partner has
11686
+ * finished: more data for the same customer may still be arriving.
11687
+ * `correlation_complete` is the only signal that nothing further is coming —
11688
+ * strongly recommended for every partner, never required. When you know the
11689
+ * identifier you are waiting for, an entity requirement with a selector is the
11690
+ * precise tool: `contract[billing_account_number=4711]` is satisfied by that
11691
+ * contract and by nothing else.
11692
+ *
11693
+ * A requirement is only as good as the use case configuration it refers to:
11694
+ * model one inbound use case per partner event type, and give every use case a
11695
+ * slug. A use case without a slug cannot be named here.
11696
+ *
11697
+ * An unknown correlation, or one with no interactive events, reads as
11698
+ * `events_received: 0, closed: false` — "not yet" and "never" look the same,
11699
+ * which is why `correlation_complete` exists.
11700
+ *
11701
+ * Waiting holds a connection, so concurrent waits are capped per organization
11702
+ * and overall. Over the cap the call is refused with 429 and `Retry-After`;
11703
+ * fall back to calls with `wait=0` (they never need a slot) or retry later.
11704
+ * Calls that do not have to wait — `wait=0`, or a correlation that is already
11705
+ * decided — are never refused.
11706
+ *
11707
+ * Requires `integration:view` on the correlation's integration. The organization
11708
+ * is always the token's own, so no other organization's correlation is ever
11709
+ * visible.
11710
+ *
11711
+ */
11712
+ 'get'(
11713
+ parameters?: Parameters<Paths.QueryErpUpdateEvents.QueryParameters> | null,
11714
+ data?: any,
11715
+ config?: AxiosRequestConfig
11716
+ ): OperationResponse<Paths.QueryErpUpdateEvents.Responses.$200>
11717
+ }
11718
+ ['/v3/erp/updates/events/{event_id}']: {
11719
+ /**
11720
+ * getErpUpdateEvent - getErpUpdateEvent
11721
+ *
11722
+ * Returns one interactive event's processing record, without waiting.
11723
+ *
11724
+ * Records exist for events processed as interactive (the ingest result said
11725
+ * `interactive: true`) and are kept for 24 hours. Any other event id is a 404.
11726
+ *
11727
+ * Requires `integration:view` on the event's integration.
11728
+ *
11729
+ */
11730
+ 'get'(
11731
+ parameters?: Parameters<Paths.GetErpUpdateEvent.PathParameters> | null,
11732
+ data?: any,
11733
+ config?: AxiosRequestConfig
11734
+ ): OperationResponse<Paths.GetErpUpdateEvent.Responses.$200>
11735
+ }
11736
+ ['/v3/erp/updates/correlations']: {
11737
+ /**
11738
+ * listErpUpdateCorrelations - listErpUpdateCorrelations
11739
+ *
11740
+ * Lists the organization's interactive correlations, newest first by the time
11741
+ * their first event was ingested, with the same summary the correlation wait
11742
+ * returns.
11743
+ *
11744
+ * It exists because looking a correlation up by id only finds the ones somebody
11745
+ * already has an id for. A correlation that is merely stuck emits no monitoring
11746
+ * code, so nothing points at it — and that is the case most worth seeing.
11747
+ *
11748
+ * **The listing covers the last 7 days** — the lifetime of a correlation record
11749
+ * — and says so in `horizon_days`. Correlations older than that are not
11750
+ * returned, even when a wider range is being displayed.
11751
+ *
11752
+ * Pass `next_cursor` back as `cursor` for the next page. A page can be shorter
11753
+ * than `limit` and still have more behind it, so stop on `next_cursor: null`.
11754
+ *
11755
+ * Requires `integration:view` on `integration_id` when it is given, and on every
11756
+ * integration of the organization when it is not.
11757
+ *
11758
+ */
11759
+ 'get'(
11760
+ parameters?: Parameters<Paths.ListErpUpdateCorrelations.QueryParameters> | null,
11761
+ data?: any,
11762
+ config?: AxiosRequestConfig
11763
+ ): OperationResponse<Paths.ListErpUpdateCorrelations.Responses.$200>
11117
11764
  }
11118
11765
  ['/v2/erp/updates/mapping_simulation']: {
11119
11766
  /**
@@ -12190,6 +12837,11 @@ type AutoRefreshSettings = Components.Schemas.AutoRefreshSettings;
12190
12837
  type CommitTypesRequest = Components.Schemas.CommitTypesRequest;
12191
12838
  type CommitTypesResponse = Components.Schemas.CommitTypesResponse;
12192
12839
  type ConnectorConfig = Components.Schemas.ConnectorConfig;
12840
+ type CorrelationStatus = Components.Schemas.CorrelationStatus;
12841
+ type CorrelationStatusList = Components.Schemas.CorrelationStatusList;
12842
+ type CorrelationUseCaseCounts = Components.Schemas.CorrelationUseCaseCounts;
12843
+ type CorrelationWaitBadRequest = Components.Schemas.CorrelationWaitBadRequest;
12844
+ type CorrelationWaitResult = Components.Schemas.CorrelationWaitResult;
12193
12845
  type CreateErpImportRequest = Components.Schemas.CreateErpImportRequest;
12194
12846
  type CreateErpImportResponse = Components.Schemas.CreateErpImportResponse;
12195
12847
  type CreateFileProxyUseCaseRequest = Components.Schemas.CreateFileProxyUseCaseRequest;
@@ -12239,6 +12891,9 @@ type ErpImportList = Components.Schemas.ErpImportList;
12239
12891
  type ErpImportProgress = Components.Schemas.ErpImportProgress;
12240
12892
  type ErpImportUseCaseSuggestion = Components.Schemas.ErpImportUseCaseSuggestion;
12241
12893
  type ErpImportValidation = Components.Schemas.ErpImportValidation;
12894
+ type ErpUpdateEventStatus = Components.Schemas.ErpUpdateEventStatus;
12895
+ type ErpUpdateProcessedEntity = Components.Schemas.ErpUpdateProcessedEntity;
12896
+ type ErpUpdateProcessingError = Components.Schemas.ErpUpdateProcessingError;
12242
12897
  type ErpUpdatesEventsV2Request = Components.Schemas.ErpUpdatesEventsV2Request;
12243
12898
  type ErpUpdatesEventsV3Request = Components.Schemas.ErpUpdatesEventsV3Request;
12244
12899
  type ErrorResponseBase = Components.Schemas.ErrorResponseBase;
@@ -12404,4 +13059,4 @@ type ValidateErpImportRequest = Components.Schemas.ValidateErpImportRequest;
12404
13059
  type WebhookDeliveryConfig = Components.Schemas.WebhookDeliveryConfig;
12405
13060
  type WebhookStatus = Components.Schemas.WebhookStatus;
12406
13061
 
12407
- export { type ErpImportEntityDetail as $, type AccessLogEntry as A, type DirectRelationValue as B, type Client as C, type DeleteIntegrationAppMappingRequest as D, type DirectSimulationError as E, type DirectSimulationRequest as F, type DirectSimulationResponse as G, type DocumentationPage as H, type DocumentationPageSummary as I, type EmbeddedFileProxyUseCaseRequest as J, type EmbeddedInboundUseCaseRequest as K, type EmbeddedManagedCallUseCaseRequest as L, type EmbeddedOutboundUseCaseRequest as M, type EmbeddedSecureProxyUseCaseRequest as N, type OperationMethods as O, Paths as P, type EmbeddedUseCaseRequest as Q, type EmbeddedUseCaseRequestBase as R, type EntityPruneScopeUpdate as S, type EntitySyncState as T, type EntitySyncStatusResponse as U, type EntityUpdate as V, type EnvVarRefConfig as W, type EnvironmentFieldConfig as X, type ErpEvent as Y, type ErpEventV3 as Z, type ErpImportDownload as _, Components as a, type ManagedCallUseCase as a$, type ErpImportError as a0, type ErpImportFilePreview as a1, type ErpImportIssue as a2, type ErpImportJob as a3, type ErpImportList as a4, type ErpImportProgress as a5, type ErpImportUseCaseSuggestion as a6, type ErpImportValidation as a7, type ErpUpdatesEventsV2Request as a8, type ErpUpdatesEventsV3Request as a9, type InboundMonitoringEvent as aA, type InboundUseCase as aB, type InboundUseCaseHistoryEntry as aC, type IngestExternalMonitoringEventsRequest as aD, type IngestExternalMonitoringEventsResponse as aE, type Integration as aF, type IntegrationAppMapping as aG, type IntegrationConfigurationV1 as aH, type IntegrationConfigurationV2 as aI, type IntegrationEditableFields as aJ, type IntegrationEntity as aK, type IntegrationEntityConditional as aL, type IntegrationEntityField as aM, type IntegrationEntityFromRows as aN, type IntegrationFieldV1 as aO, type IntegrationMap as aP, type IntegrationMeterReading as aQ, type IntegrationNotificationConfig as aR, type IntegrationObjectV1 as aS, type IntegrationSettings as aT, type IntegrationWithUseCases as aU, type ManagedCallAuth as aV, type ManagedCallErrorResponse as aW, type ManagedCallExecuteRequest as aX, type ManagedCallExecuteResponse as aY, type ManagedCallOperation as aZ, type ManagedCallOperationConfig as a_, type ErrorResponseBase as aa, type ExecuteErpImportRequest as ab, type ExternalMonitoringSpan as ac, type FileProxyAuth as ad, type FileProxyDeliveryConfig as ae, type FileProxyFanOutConfig as af, type FileProxyParam as ag, type FileProxyResponseConfig as ah, type FileProxySecureProxyAttachment as ai, type FileProxyStep as aj, type FileProxyUploadConfig as ak, type FileProxyUrlConfig as al, type FileProxyUrlParam as am, type FileProxyUrlParams as an, type FileProxyUseCase as ao, type FileProxyUseCaseConfiguration as ap, type FileProxyUseCaseHistoryEntry as aq, type GenerateTypesPreviewResponse as ar, type GenerateTypesRequest as as, type GenerateTypesResponse as at, type GetMonitoringRunCompletionV2Request as au, type GetMonitoringStatsRequest as av, type GetMonitoringStatsV2Request as aw, type GetMonitoringTimeSeriesRequest as ax, type GetMonitoringTimeSeriesV2Request as ay, type InboundIntegrationEventConfiguration as az, type PathsDictionary as b, type RuleBaselineBucket as b$, type ManagedCallUseCaseHistoryEntry as b0, type MappedFieldValue as b1, type MappingSimulationRequest as b2, type MappingSimulationResponse as b3, type MappingSimulationV2Request as b4, type MappingSimulationWarning as b5, type MeterReadingPruneScopeConfig as b6, type MeterReadingPruneScopeUpdate as b7, type MeterReadingUpdate as b8, type MeterUniqueIdsConfig as b9, type OutboundStatusResponse as bA, type OutboundUseCase as bB, type OutboundUseCaseHistoryEntry as bC, type OutboundUseCaseStatus as bD, type PollDeliveryConfig as bE, type PollOutboundMessagesRequest as bF, type PollOutboundMessagesResponse as bG, type PortalOrigin as bH, type PortalRefConfig as bI, type PortalRefFilter as bJ, type PruneScopeConfig as bK, type QueryAccessLogsRequest as bL, type QueryEventsRequest as bM, type QueryInboundMonitoringEventsRequest as bN, type QueryMonitoringEventsV2Request as bO, type QueryOutboundMonitoringEventsRequest as bP, type RedriveOutboundDlqRequest as bQ, type RedriveOutboundDlqResponse as bR, type RedriveOutboundDlqResult as bS, type RelationConfig as bT, type RelationItemConfig as bU, type RelationRefItemConfig as bV, type RelationRefValueConfig as bW, type RelationRefsConfig as bX, type RelationUniqueIdField as bY, type RepeatableFieldType as bZ, type ReplayEventsRequest as b_, type MonitoringCode as ba, type MonitoringEventV2 as bb, type MonitoringRunCompletionV2 as bc, type MonitoringRunCompletionV2Response as bd, type MonitoringRunEntriesV2 as be, type MonitoringStats as bf, type MonitoringStatsV2 as bg, type MonitoringTraceResponse as bh, type NotificationChannelSet as bi, type NotificationDigestConfig as bj, type NotificationHistoryItem as bk, type NotificationHistoryResponse as bl, type NotificationRecipient as bm, type NotificationRule as bn, type NotificationRuleStatus as bo, type NotificationStatusResponse as bp, type OutboundConflict as bq, type OutboundDlqListResponse as br, type OutboundDlqMessage as bs, type OutboundFileProxyTargetStatus as bt, type OutboundIntegrationEventConfiguration as bu, type OutboundMapping as bv, type OutboundMappingSimulationError as bw, type OutboundMessage as bx, type OutboundMonitoringEvent as by, type OutboundPollStatus as bz, type AckOutboundMessagesRequest as c, type RuleBaselineStatus as c0, type S3Reference as c1, type SecureProxyRequest as c2, type SecureProxyResponse as c3, type SecureProxySummary as c4, type SecureProxyUpstreamError as c5, type SecureProxyUseCase as c6, type SecureProxyUseCaseConfiguration as c7, type SecureProxyUseCaseHistoryEntry as c8, type SecureProxyWhitelist as c9, type UseCase as cA, type UseCaseBase as cB, type UseCaseHistoryEntry as cC, type UseCaseHistoryEntryBase as cD, type UseCaseTypePreview as cE, type ValidateErpImportRequest as cF, type WebhookDeliveryConfig as cG, type WebhookStatus as cH, type SecureProxyWhitelistUpdate as ca, type SetIntegrationAppMappingRequest as cb, type SimulateOutboundMappingRequest as cc, type SimulateOutboundMappingResponse as cd, type SuggestErpImportUseCasesResponse as ce, type TestNotificationRequest as cf, type TestNotificationResponse as cg, type TimeSeriesBreakdownItemV2 as ch, type TimeSeriesBucket as ci, type TimeSeriesBucketV2 as cj, type TriggerErpActionRequest as ck, type TriggerWebhookResp as cl, type TypeAnnotations as cm, type TypeDescriptor as cn, type UnblockOutboundStreamRequest as co, type UnblockOutboundStreamResponse as cp, type UpdateFileProxyUseCaseRequest as cq, type UpdateInboundUseCaseRequest as cr, type UpdateIntegrationRequest as cs, type UpdateManagedCallUseCaseRequest as ct, type UpdateOutboundUseCaseRequest as cu, type UpdateSecureProxyUseCaseRequest as cv, type UpdateUseCaseRequest as cw, type UpdateUseCaseRequestBase as cx, type UpsertDocumentationPageRequest as cy, type UpsertIntegrationWithUseCasesRequest as cz, type AckOutboundMessagesResponse as d, type AckResult as e, type AutoRefreshSettings as f, type CommitTypesRequest as g, type CommitTypesResponse as h, type ConnectorConfig as i, type CreateErpImportRequest as j, type CreateErpImportResponse as k, type CreateFileProxyUseCaseRequest as l, type CreateInboundUseCaseRequest as m, type CreateIntegrationRequest as n, type CreateManagedCallUseCaseRequest as o, type CreateOutboundUseCaseRequest as p, type CreateSecureProxyUseCaseRequest as q, type CreateUseCaseRequest as r, type CreateUseCaseRequestBase as s, type DeliveryConfig as t, type DirectEntityOperation as u, type DirectMeterReadingOperation as v, type DirectPayload as w, type DirectRelationItem as x, type DirectRelationRefItem as y, type DirectRelationRefValue as z };
13062
+ export { type EnvVarRefConfig as $, type AccessLogEntry as A, type DirectMeterReadingOperation as B, type Client as C, type DeleteIntegrationAppMappingRequest as D, type DirectPayload as E, type DirectRelationItem as F, type DirectRelationRefItem as G, type DirectRelationRefValue as H, type DirectRelationValue as I, type DirectSimulationError as J, type DirectSimulationRequest as K, type DirectSimulationResponse as L, type DocumentationPage as M, type DocumentationPageSummary as N, type OperationMethods as O, Paths as P, type EmbeddedFileProxyUseCaseRequest as Q, type EmbeddedInboundUseCaseRequest as R, type EmbeddedManagedCallUseCaseRequest as S, type EmbeddedOutboundUseCaseRequest as T, type EmbeddedSecureProxyUseCaseRequest as U, type EmbeddedUseCaseRequest as V, type EmbeddedUseCaseRequestBase as W, type EntityPruneScopeUpdate as X, type EntitySyncState as Y, type EntitySyncStatusResponse as Z, type EntityUpdate as _, Components as a, type IntegrationSettings as a$, type EnvironmentFieldConfig as a0, type ErpEvent as a1, type ErpEventV3 as a2, type ErpImportDownload as a3, type ErpImportEntityDetail as a4, type ErpImportError as a5, type ErpImportFilePreview as a6, type ErpImportIssue as a7, type ErpImportJob as a8, type ErpImportList as a9, type GenerateTypesRequest as aA, type GenerateTypesResponse as aB, type GetMonitoringRunCompletionV2Request as aC, type GetMonitoringStatsRequest as aD, type GetMonitoringStatsV2Request as aE, type GetMonitoringTimeSeriesRequest as aF, type GetMonitoringTimeSeriesV2Request as aG, type InboundIntegrationEventConfiguration as aH, type InboundMonitoringEvent as aI, type InboundUseCase as aJ, type InboundUseCaseHistoryEntry as aK, type IngestExternalMonitoringEventsRequest as aL, type IngestExternalMonitoringEventsResponse as aM, type Integration as aN, type IntegrationAppMapping as aO, type IntegrationConfigurationV1 as aP, type IntegrationConfigurationV2 as aQ, type IntegrationEditableFields as aR, type IntegrationEntity as aS, type IntegrationEntityConditional as aT, type IntegrationEntityField as aU, type IntegrationEntityFromRows as aV, type IntegrationFieldV1 as aW, type IntegrationMap as aX, type IntegrationMeterReading as aY, type IntegrationNotificationConfig as aZ, type IntegrationObjectV1 as a_, type ErpImportProgress as aa, type ErpImportUseCaseSuggestion as ab, type ErpImportValidation as ac, type ErpUpdateEventStatus as ad, type ErpUpdateProcessedEntity as ae, type ErpUpdateProcessingError as af, type ErpUpdatesEventsV2Request as ag, type ErpUpdatesEventsV3Request as ah, type ErrorResponseBase as ai, type ExecuteErpImportRequest as aj, type ExternalMonitoringSpan as ak, type FileProxyAuth as al, type FileProxyDeliveryConfig as am, type FileProxyFanOutConfig as an, type FileProxyParam as ao, type FileProxyResponseConfig as ap, type FileProxySecureProxyAttachment as aq, type FileProxyStep as ar, type FileProxyUploadConfig as as, type FileProxyUrlConfig as at, type FileProxyUrlParam as au, type FileProxyUrlParams as av, type FileProxyUseCase as aw, type FileProxyUseCaseConfiguration as ax, type FileProxyUseCaseHistoryEntry as ay, type GenerateTypesPreviewResponse as az, type PathsDictionary as b, type RelationConfig as b$, type IntegrationWithUseCases as b0, type ManagedCallAuth as b1, type ManagedCallErrorResponse as b2, type ManagedCallExecuteRequest as b3, type ManagedCallExecuteResponse as b4, type ManagedCallOperation as b5, type ManagedCallOperationConfig as b6, type ManagedCallUseCase as b7, type ManagedCallUseCaseHistoryEntry as b8, type MappedFieldValue as b9, type OutboundDlqMessage as bA, type OutboundFileProxyTargetStatus as bB, type OutboundIntegrationEventConfiguration as bC, type OutboundMapping as bD, type OutboundMappingSimulationError as bE, type OutboundMessage as bF, type OutboundMonitoringEvent as bG, type OutboundPollStatus as bH, type OutboundStatusResponse as bI, type OutboundUseCase as bJ, type OutboundUseCaseHistoryEntry as bK, type OutboundUseCaseStatus as bL, type PollDeliveryConfig as bM, type PollOutboundMessagesRequest as bN, type PollOutboundMessagesResponse as bO, type PortalOrigin as bP, type PortalRefConfig as bQ, type PortalRefFilter as bR, type PruneScopeConfig as bS, type QueryAccessLogsRequest as bT, type QueryEventsRequest as bU, type QueryInboundMonitoringEventsRequest as bV, type QueryMonitoringEventsV2Request as bW, type QueryOutboundMonitoringEventsRequest as bX, type RedriveOutboundDlqRequest as bY, type RedriveOutboundDlqResponse as bZ, type RedriveOutboundDlqResult as b_, type MappingSimulationRequest as ba, type MappingSimulationResponse as bb, type MappingSimulationV2Request as bc, type MappingSimulationWarning as bd, type MeterReadingPruneScopeConfig as be, type MeterReadingPruneScopeUpdate as bf, type MeterReadingUpdate as bg, type MeterUniqueIdsConfig as bh, type MonitoringCode as bi, type MonitoringEventV2 as bj, type MonitoringRunCompletionV2 as bk, type MonitoringRunCompletionV2Response as bl, type MonitoringRunEntriesV2 as bm, type MonitoringStats as bn, type MonitoringStatsV2 as bo, type MonitoringTraceResponse as bp, type NotificationChannelSet as bq, type NotificationDigestConfig as br, type NotificationHistoryItem as bs, type NotificationHistoryResponse as bt, type NotificationRecipient as bu, type NotificationRule as bv, type NotificationRuleStatus as bw, type NotificationStatusResponse as bx, type OutboundConflict as by, type OutboundDlqListResponse as bz, type AckOutboundMessagesRequest as c, type RelationItemConfig as c0, type RelationRefItemConfig as c1, type RelationRefValueConfig as c2, type RelationRefsConfig as c3, type RelationUniqueIdField as c4, type RepeatableFieldType as c5, type ReplayEventsRequest as c6, type RuleBaselineBucket as c7, type RuleBaselineStatus as c8, type S3Reference as c9, type UpdateIntegrationRequest as cA, type UpdateManagedCallUseCaseRequest as cB, type UpdateOutboundUseCaseRequest as cC, type UpdateSecureProxyUseCaseRequest as cD, type UpdateUseCaseRequest as cE, type UpdateUseCaseRequestBase as cF, type UpsertDocumentationPageRequest as cG, type UpsertIntegrationWithUseCasesRequest as cH, type UseCase as cI, type UseCaseBase as cJ, type UseCaseHistoryEntry as cK, type UseCaseHistoryEntryBase as cL, type UseCaseTypePreview as cM, type ValidateErpImportRequest as cN, type WebhookDeliveryConfig as cO, type WebhookStatus as cP, type SecureProxyRequest as ca, type SecureProxyResponse as cb, type SecureProxySummary as cc, type SecureProxyUpstreamError as cd, type SecureProxyUseCase as ce, type SecureProxyUseCaseConfiguration as cf, type SecureProxyUseCaseHistoryEntry as cg, type SecureProxyWhitelist as ch, type SecureProxyWhitelistUpdate as ci, type SetIntegrationAppMappingRequest as cj, type SimulateOutboundMappingRequest as ck, type SimulateOutboundMappingResponse as cl, type SuggestErpImportUseCasesResponse as cm, type TestNotificationRequest as cn, type TestNotificationResponse as co, type TimeSeriesBreakdownItemV2 as cp, type TimeSeriesBucket as cq, type TimeSeriesBucketV2 as cr, type TriggerErpActionRequest as cs, type TriggerWebhookResp as ct, type TypeAnnotations as cu, type TypeDescriptor as cv, type UnblockOutboundStreamRequest as cw, type UnblockOutboundStreamResponse as cx, type UpdateFileProxyUseCaseRequest as cy, type UpdateInboundUseCaseRequest as cz, type AckOutboundMessagesResponse as d, type AckResult as e, type AutoRefreshSettings as f, type CommitTypesRequest as g, type CommitTypesResponse as h, type ConnectorConfig as i, type CorrelationStatus as j, type CorrelationStatusList as k, type CorrelationUseCaseCounts as l, type CorrelationWaitBadRequest as m, type CorrelationWaitResult as n, type CreateErpImportRequest as o, type CreateErpImportResponse as p, type CreateFileProxyUseCaseRequest as q, type CreateInboundUseCaseRequest as r, type CreateIntegrationRequest as s, type CreateManagedCallUseCaseRequest as t, type CreateOutboundUseCaseRequest as u, type CreateSecureProxyUseCaseRequest as v, type CreateUseCaseRequest as w, type CreateUseCaseRequestBase as x, type DeliveryConfig as y, type DirectEntityOperation as z };