@epilot/sdk 2.20.23 → 2.20.25

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 (233) hide show
  1. package/dist/apis/access-token.cjs +6 -6
  2. package/dist/apis/access-token.js +1 -1
  3. package/dist/apis/address-suggestions.cjs +6 -6
  4. package/dist/apis/address-suggestions.js +1 -1
  5. package/dist/apis/address.cjs +6 -6
  6. package/dist/apis/address.js +1 -1
  7. package/dist/apis/ai-agents.cjs +6 -6
  8. package/dist/apis/ai-agents.js +1 -1
  9. package/dist/apis/app.cjs +6 -6
  10. package/dist/apis/app.js +1 -1
  11. package/dist/apis/audit-logs.cjs +6 -6
  12. package/dist/apis/audit-logs.js +1 -1
  13. package/dist/apis/automation.cjs +6 -6
  14. package/dist/apis/automation.js +1 -1
  15. package/dist/apis/billing.cjs +6 -6
  16. package/dist/apis/billing.js +1 -1
  17. package/dist/apis/blueprint-manifest.cjs +6 -6
  18. package/dist/apis/blueprint-manifest.js +1 -1
  19. package/dist/apis/calendar.cjs +6 -6
  20. package/dist/apis/calendar.js +1 -1
  21. package/dist/apis/chat.cjs +6 -6
  22. package/dist/apis/chat.js +1 -1
  23. package/dist/apis/configuration-hub.cjs +6 -6
  24. package/dist/apis/configuration-hub.js +1 -1
  25. package/dist/apis/consent.cjs +6 -6
  26. package/dist/apis/consent.js +1 -1
  27. package/dist/apis/customer-portal.cjs +6 -6
  28. package/dist/apis/customer-portal.js +1 -1
  29. package/dist/apis/dashboard.cjs +6 -6
  30. package/dist/apis/dashboard.js +1 -1
  31. package/dist/apis/data-governance.cjs +6 -6
  32. package/dist/apis/data-governance.js +1 -1
  33. package/dist/apis/deduplication.cjs +6 -6
  34. package/dist/apis/deduplication.js +1 -1
  35. package/dist/apis/design.cjs +6 -6
  36. package/dist/apis/design.js +1 -1
  37. package/dist/apis/document.cjs +6 -6
  38. package/dist/apis/document.js +1 -1
  39. package/dist/apis/email-settings.cjs +6 -6
  40. package/dist/apis/email-settings.js +1 -1
  41. package/dist/apis/email-template.cjs +6 -6
  42. package/dist/apis/email-template.js +1 -1
  43. package/dist/apis/entity-mapping.cjs +6 -6
  44. package/dist/apis/entity-mapping.d.cts +2 -2
  45. package/dist/apis/entity-mapping.d.ts +2 -2
  46. package/dist/apis/entity-mapping.js +1 -1
  47. package/dist/apis/entity.cjs +6 -6
  48. package/dist/apis/entity.js +1 -1
  49. package/dist/apis/environments.cjs +6 -6
  50. package/dist/apis/environments.js +1 -1
  51. package/dist/apis/event-catalog.cjs +6 -6
  52. package/dist/apis/event-catalog.js +1 -1
  53. package/dist/apis/file.cjs +6 -6
  54. package/dist/apis/file.js +1 -1
  55. package/dist/apis/iban.cjs +6 -6
  56. package/dist/apis/iban.js +1 -1
  57. package/dist/apis/integration-toolkit.cjs +6 -6
  58. package/dist/apis/integration-toolkit.d.cts +2 -2
  59. package/dist/apis/integration-toolkit.d.ts +2 -2
  60. package/dist/apis/integration-toolkit.js +1 -1
  61. package/dist/apis/journey.cjs +6 -6
  62. package/dist/apis/journey.js +1 -1
  63. package/dist/apis/kanban.cjs +6 -6
  64. package/dist/apis/kanban.js +1 -1
  65. package/dist/apis/message.cjs +6 -6
  66. package/dist/apis/message.js +1 -1
  67. package/dist/apis/metering.cjs +6 -6
  68. package/dist/apis/metering.js +1 -1
  69. package/dist/apis/notes.cjs +6 -6
  70. package/dist/apis/notes.js +1 -1
  71. package/dist/apis/notification.cjs +6 -6
  72. package/dist/apis/notification.js +1 -1
  73. package/dist/apis/organization.cjs +6 -6
  74. package/dist/apis/organization.js +1 -1
  75. package/dist/apis/partner-directory.cjs +6 -6
  76. package/dist/apis/partner-directory.js +1 -1
  77. package/dist/apis/permissions.cjs +6 -6
  78. package/dist/apis/permissions.js +1 -1
  79. package/dist/apis/pricing-tier.cjs +6 -6
  80. package/dist/apis/pricing-tier.js +1 -1
  81. package/dist/apis/pricing.cjs +6 -6
  82. package/dist/apis/pricing.js +1 -1
  83. package/dist/apis/purpose.cjs +6 -6
  84. package/dist/apis/purpose.js +1 -1
  85. package/dist/apis/query.cjs +6 -6
  86. package/dist/apis/query.js +1 -1
  87. package/dist/apis/sandbox.cjs +6 -6
  88. package/dist/apis/sandbox.js +1 -1
  89. package/dist/apis/sharing.cjs +6 -6
  90. package/dist/apis/sharing.js +1 -1
  91. package/dist/apis/snapshot.cjs +6 -6
  92. package/dist/apis/snapshot.js +1 -1
  93. package/dist/apis/submission.cjs +6 -6
  94. package/dist/apis/submission.js +1 -1
  95. package/dist/apis/target.cjs +6 -6
  96. package/dist/apis/target.js +1 -1
  97. package/dist/apis/targeting.cjs +6 -6
  98. package/dist/apis/targeting.js +1 -1
  99. package/dist/apis/template-variables.cjs +6 -6
  100. package/dist/apis/template-variables.js +1 -1
  101. package/dist/apis/user.cjs +6 -6
  102. package/dist/apis/user.js +1 -1
  103. package/dist/apis/validation-rules.cjs +6 -6
  104. package/dist/apis/validation-rules.js +1 -1
  105. package/dist/apis/webhooks.cjs +6 -6
  106. package/dist/apis/webhooks.js +1 -1
  107. package/dist/apis/workflow-definition.cjs +6 -6
  108. package/dist/apis/workflow-definition.js +1 -1
  109. package/dist/apis/workflow.cjs +6 -6
  110. package/dist/apis/workflow.js +1 -1
  111. package/dist/{chunk-YCTBOY3T.cjs → chunk-PZ4TXAF5.cjs} +2 -2
  112. package/dist/{chunk-KZXOYL5D.js → chunk-X742W7MI.js} +2 -2
  113. package/dist/{entity-mapping-D67LJE74.js → entity-mapping-CBRH3VBZ.js} +1 -1
  114. package/dist/{entity-mapping-WFPSOXRK.cjs → entity-mapping-WE3QMZWA.cjs} +1 -1
  115. package/dist/{entity-mapping.d-CQv75o8M.d.cts → entity-mapping.d-8MtWa2_L.d.cts} +22 -0
  116. package/dist/{entity-mapping.d-CQv75o8M.d.ts → entity-mapping.d-8MtWa2_L.d.ts} +22 -0
  117. package/dist/index.cjs +8 -8
  118. package/dist/index.d.cts +2 -2
  119. package/dist/index.d.ts +2 -2
  120. package/dist/index.js +1 -1
  121. package/dist/integration-toolkit-FHPQSYLH.js +7 -0
  122. package/dist/integration-toolkit-YBZJK4IG.cjs +7 -0
  123. package/dist/{integration-toolkit.d-bhpB79pc.d.ts → integration-toolkit.d--hon4GPp.d.cts} +79 -26
  124. package/dist/{integration-toolkit.d-bhpB79pc.d.cts → integration-toolkit.d--hon4GPp.d.ts} +79 -26
  125. package/docs/entity-mapping.md +19 -0
  126. package/docs/integration-toolkit.md +19 -250
  127. package/package.json +1 -1
  128. package/definitions/access-token-runtime.json +0 -1
  129. package/definitions/access-token.json +0 -1025
  130. package/definitions/address-runtime.json +0 -1
  131. package/definitions/address-suggestions-runtime.json +0 -1
  132. package/definitions/address-suggestions.json +0 -582
  133. package/definitions/address.json +0 -578
  134. package/definitions/ai-agents-runtime.json +0 -1
  135. package/definitions/ai-agents.json +0 -2863
  136. package/definitions/app-runtime.json +0 -1
  137. package/definitions/app.json +0 -5994
  138. package/definitions/audit-logs-runtime.json +0 -1
  139. package/definitions/audit-logs.json +0 -305
  140. package/definitions/automation-runtime.json +0 -1
  141. package/definitions/automation.json +0 -5979
  142. package/definitions/billing-runtime.json +0 -1
  143. package/definitions/billing.json +0 -2394
  144. package/definitions/blueprint-manifest-runtime.json +0 -1
  145. package/definitions/blueprint-manifest.json +0 -7817
  146. package/definitions/calendar-runtime.json +0 -1
  147. package/definitions/calendar.json +0 -2904
  148. package/definitions/chat-runtime.json +0 -1
  149. package/definitions/chat.json +0 -2909
  150. package/definitions/configuration-hub-runtime.json +0 -1
  151. package/definitions/configuration-hub.json +0 -2250
  152. package/definitions/consent-runtime.json +0 -1
  153. package/definitions/consent.json +0 -344
  154. package/definitions/customer-portal-runtime.json +0 -1
  155. package/definitions/customer-portal.json +0 -21181
  156. package/definitions/dashboard-runtime.json +0 -1
  157. package/definitions/dashboard.json +0 -1355
  158. package/definitions/data-governance-runtime.json +0 -1
  159. package/definitions/data-governance.json +0 -1126
  160. package/definitions/deduplication-runtime.json +0 -1
  161. package/definitions/deduplication.json +0 -782
  162. package/definitions/design-runtime.json +0 -1
  163. package/definitions/design.json +0 -1827
  164. package/definitions/document-runtime.json +0 -1
  165. package/definitions/document.json +0 -758
  166. package/definitions/email-settings-runtime.json +0 -1
  167. package/definitions/email-settings.json +0 -3736
  168. package/definitions/email-template-runtime.json +0 -1
  169. package/definitions/email-template.json +0 -1441
  170. package/definitions/entity-mapping-runtime.json +0 -1
  171. package/definitions/entity-mapping.json +0 -1829
  172. package/definitions/entity-runtime.json +0 -1
  173. package/definitions/entity.json +0 -11546
  174. package/definitions/environments-runtime.json +0 -1
  175. package/definitions/environments.json +0 -988
  176. package/definitions/event-catalog-runtime.json +0 -1
  177. package/definitions/event-catalog.json +0 -2014
  178. package/definitions/file-runtime.json +0 -1
  179. package/definitions/file.json +0 -4298
  180. package/definitions/iban-runtime.json +0 -1
  181. package/definitions/iban.json +0 -132
  182. package/definitions/integration-toolkit-runtime.json +0 -1
  183. package/definitions/integration-toolkit.json +0 -13069
  184. package/definitions/journey-runtime.json +0 -1
  185. package/definitions/journey.json +0 -3586
  186. package/definitions/kanban-runtime.json +0 -1
  187. package/definitions/kanban.json +0 -1506
  188. package/definitions/message-runtime.json +0 -1
  189. package/definitions/message.json +0 -3667
  190. package/definitions/metering-runtime.json +0 -1
  191. package/definitions/metering.json +0 -3132
  192. package/definitions/notes-runtime.json +0 -1
  193. package/definitions/notes.json +0 -1698
  194. package/definitions/notification-runtime.json +0 -1
  195. package/definitions/notification.json +0 -1439
  196. package/definitions/organization-runtime.json +0 -1
  197. package/definitions/organization.json +0 -1192
  198. package/definitions/partner-directory-runtime.json +0 -1
  199. package/definitions/partner-directory.json +0 -2284
  200. package/definitions/permissions-runtime.json +0 -1
  201. package/definitions/permissions.json +0 -1598
  202. package/definitions/pricing-runtime.json +0 -1
  203. package/definitions/pricing-tier-runtime.json +0 -1
  204. package/definitions/pricing-tier.json +0 -105
  205. package/definitions/pricing.json +0 -14369
  206. package/definitions/purpose-runtime.json +0 -1
  207. package/definitions/purpose.json +0 -524
  208. package/definitions/query-runtime.json +0 -1
  209. package/definitions/query.json +0 -3178
  210. package/definitions/sandbox-runtime.json +0 -1
  211. package/definitions/sandbox.json +0 -453
  212. package/definitions/sharing-runtime.json +0 -1
  213. package/definitions/sharing.json +0 -956
  214. package/definitions/snapshot-runtime.json +0 -1
  215. package/definitions/snapshot.json +0 -1103
  216. package/definitions/submission-runtime.json +0 -1
  217. package/definitions/submission.json +0 -313
  218. package/definitions/targeting-runtime.json +0 -1
  219. package/definitions/targeting.json +0 -2285
  220. package/definitions/template-variables-runtime.json +0 -1
  221. package/definitions/template-variables.json +0 -1416
  222. package/definitions/user-runtime.json +0 -1
  223. package/definitions/user.json +0 -3051
  224. package/definitions/validation-rules-runtime.json +0 -1
  225. package/definitions/validation-rules.json +0 -2642
  226. package/definitions/webhooks-runtime.json +0 -1
  227. package/definitions/webhooks.json +0 -1875
  228. package/definitions/workflow-definition-runtime.json +0 -1
  229. package/definitions/workflow-definition.json +0 -3592
  230. package/definitions/workflow-runtime.json +0 -1
  231. package/definitions/workflow.json +0 -4669
  232. package/dist/integration-toolkit-GOFVOMNH.js +0 -7
  233. package/dist/integration-toolkit-XMM5LLK6.cjs +0 -7
@@ -6124,6 +6124,27 @@ declare namespace Components {
6124
6124
  * ISO instant the rule last cleared back to OK.
6125
6125
  */
6126
6126
  last_cleared_at?: string | null; // date-time
6127
+ /**
6128
+ * The most recent evaluation of this rule, or null when it has never been evaluated. Answers "why isn't this rule firing?" for a rule that neither fires nor transitions — which otherwise leaves no trace at all.
6129
+ */
6130
+ last_evaluation?: {
6131
+ /**
6132
+ * ISO instant of the evaluation. Updates on every sweep tick.
6133
+ */
6134
+ evaluated_at: string; // date-time
6135
+ /**
6136
+ * The measure seen (error/warning count, success rate, or event total).
6137
+ */
6138
+ observed: number;
6139
+ /**
6140
+ * What it was compared against; null for a rule type with no threshold.
6141
+ */
6142
+ threshold?: number | null;
6143
+ /**
6144
+ * Present ONLY when the rule could not be evaluated. `sample_size` means the success-rate minimum-sample guard was not met, so the rule is neither healthy nor alerting — it is not evaluating at all. Absent when the evaluation ran normally.
6145
+ */
6146
+ suppressed_reason?: "sample_size";
6147
+ } | null;
6127
6148
  /**
6128
6149
  * Present only for enabled 'auto'-threshold rules; null otherwise.
6129
6150
  */
@@ -7006,9 +7027,9 @@ declare namespace Components {
7006
7027
  */
7007
7028
  use_case_type?: "inbound" | "outbound" | "file_proxy" | "managed_call" | "secure_proxy";
7008
7029
  /**
7009
- * Filter by event level
7030
+ * Filter by event level. `skipped` is accepted but can never match: the v2 pipeline normalises it to `info`, and the table's enum has no such member. It is retained here — and ONLY here, not on `MonitoringEventV2` — so that a client with a saved `level=skipped` filter keeps getting an empty 200 rather than a 400 from request validation. Use `info` instead.
7010
7031
  */
7011
- level?: "success" | "error" | "info" | "warning";
7032
+ level?: "success" | "error" | "info" | "warning" | "skipped";
7012
7033
  /**
7013
7034
  * Filter by taxonomy code (e.g. OAUTH2_TOKEN_FAILURE, HTTP_502). Accepts any `MonitoringCode` value, or an `HTTP_{status}` family value.
7014
7035
  */
@@ -10116,9 +10137,13 @@ interface OperationMethods {
10116
10137
  /**
10117
10138
  * queryInboundMonitoringEvents - queryInboundMonitoringEvents
10118
10139
  *
10119
- * Query inbound monitoring events for a specific integration.
10120
- * Returns detailed information about inbound sync events from ERP systems,
10121
- * including success rates, error breakdowns, and processing metrics.
10140
+ * **Deprecated and no longer implemented.** The `erp_monitoring` table this
10141
+ * endpoint read has been retired in favour of the unified `erp_monitoring_v2`
10142
+ * table. The endpoint is kept only so existing clients do not 404; it always
10143
+ * responds `200` with an empty result and never reads any data.
10144
+ *
10145
+ * Use `POST /v2/integrations/{integrationId}/monitoring/events` instead,
10146
+ * filtered to `use_case_type: inbound`.
10122
10147
  *
10123
10148
  */
10124
10149
  'queryInboundMonitoringEvents'(
@@ -10129,9 +10154,13 @@ interface OperationMethods {
10129
10154
  /**
10130
10155
  * getMonitoringStats - getMonitoringStats
10131
10156
  *
10132
- * Get aggregated statistics for both inbound and outbound monitoring events for a specific integration.
10133
- * Returns summary metrics for inbound (ERP sync) and outbound (webhook delivery) events,
10134
- * including success/error counts and optional breakdowns.
10157
+ * **Deprecated and no longer implemented.** The `erp_monitoring` and
10158
+ * `webhook_events` tables this endpoint aggregated have been retired in favour
10159
+ * of the unified `erp_monitoring_v2` table. The endpoint is kept only so
10160
+ * existing clients do not 404; it always responds `200` with zeroed counters
10161
+ * and never reads any data.
10162
+ *
10163
+ * Use `POST /v2/integrations/{integrationId}/monitoring/stats` instead.
10135
10164
  *
10136
10165
  */
10137
10166
  'getMonitoringStats'(
@@ -10142,9 +10171,13 @@ interface OperationMethods {
10142
10171
  /**
10143
10172
  * getMonitoringTimeSeries - getMonitoringTimeSeries
10144
10173
  *
10145
- * Get time-series aggregated event counts for monitoring charts.
10146
- * Returns pre-bucketed counts at configurable intervals for both inbound and outbound events.
10147
- * Maximum of 200 buckets per request. Returns 400 if the time range and interval would exceed this limit.
10174
+ * **Deprecated and no longer implemented.** The `erp_monitoring` and
10175
+ * `webhook_events` tables this endpoint bucketed have been retired in favour
10176
+ * of the unified `erp_monitoring_v2` table. The endpoint is kept only so
10177
+ * existing clients do not 404; it always responds `200` with an empty bucket
10178
+ * list and never reads any data.
10179
+ *
10180
+ * Use `POST /v2/integrations/{integrationId}/monitoring/time-series` instead.
10148
10181
  *
10149
10182
  */
10150
10183
  'getMonitoringTimeSeries'(
@@ -10288,9 +10321,13 @@ interface OperationMethods {
10288
10321
  /**
10289
10322
  * queryOutboundMonitoringEvents - queryOutboundMonitoringEvents
10290
10323
  *
10291
- * Query outbound monitoring events for a specific integration.
10292
- * Returns detailed information about outbound event deliveries,
10293
- * filtered by event_name (event_catalog_event) linked to the integration's outbound use cases.
10324
+ * **Deprecated and no longer implemented.** The `webhook_events` table this
10325
+ * endpoint read has been retired in favour of the unified `erp_monitoring_v2`
10326
+ * table. The endpoint is kept only so existing clients do not 404; it always
10327
+ * responds `200` with an empty result and never reads any data.
10328
+ *
10329
+ * Use `POST /v2/integrations/{integrationId}/monitoring/events` instead,
10330
+ * filtered to `use_case_type: outbound`.
10294
10331
  *
10295
10332
  */
10296
10333
  'queryOutboundMonitoringEvents'(
@@ -11081,9 +11118,13 @@ interface PathsDictionary {
11081
11118
  /**
11082
11119
  * queryInboundMonitoringEvents - queryInboundMonitoringEvents
11083
11120
  *
11084
- * Query inbound monitoring events for a specific integration.
11085
- * Returns detailed information about inbound sync events from ERP systems,
11086
- * including success rates, error breakdowns, and processing metrics.
11121
+ * **Deprecated and no longer implemented.** The `erp_monitoring` table this
11122
+ * endpoint read has been retired in favour of the unified `erp_monitoring_v2`
11123
+ * table. The endpoint is kept only so existing clients do not 404; it always
11124
+ * responds `200` with an empty result and never reads any data.
11125
+ *
11126
+ * Use `POST /v2/integrations/{integrationId}/monitoring/events` instead,
11127
+ * filtered to `use_case_type: inbound`.
11087
11128
  *
11088
11129
  */
11089
11130
  'post'(
@@ -11096,9 +11137,13 @@ interface PathsDictionary {
11096
11137
  /**
11097
11138
  * getMonitoringStats - getMonitoringStats
11098
11139
  *
11099
- * Get aggregated statistics for both inbound and outbound monitoring events for a specific integration.
11100
- * Returns summary metrics for inbound (ERP sync) and outbound (webhook delivery) events,
11101
- * including success/error counts and optional breakdowns.
11140
+ * **Deprecated and no longer implemented.** The `erp_monitoring` and
11141
+ * `webhook_events` tables this endpoint aggregated have been retired in favour
11142
+ * of the unified `erp_monitoring_v2` table. The endpoint is kept only so
11143
+ * existing clients do not 404; it always responds `200` with zeroed counters
11144
+ * and never reads any data.
11145
+ *
11146
+ * Use `POST /v2/integrations/{integrationId}/monitoring/stats` instead.
11102
11147
  *
11103
11148
  */
11104
11149
  'post'(
@@ -11111,9 +11156,13 @@ interface PathsDictionary {
11111
11156
  /**
11112
11157
  * getMonitoringTimeSeries - getMonitoringTimeSeries
11113
11158
  *
11114
- * Get time-series aggregated event counts for monitoring charts.
11115
- * Returns pre-bucketed counts at configurable intervals for both inbound and outbound events.
11116
- * Maximum of 200 buckets per request. Returns 400 if the time range and interval would exceed this limit.
11159
+ * **Deprecated and no longer implemented.** The `erp_monitoring` and
11160
+ * `webhook_events` tables this endpoint bucketed have been retired in favour
11161
+ * of the unified `erp_monitoring_v2` table. The endpoint is kept only so
11162
+ * existing clients do not 404; it always responds `200` with an empty bucket
11163
+ * list and never reads any data.
11164
+ *
11165
+ * Use `POST /v2/integrations/{integrationId}/monitoring/time-series` instead.
11117
11166
  *
11118
11167
  */
11119
11168
  'post'(
@@ -11275,9 +11324,13 @@ interface PathsDictionary {
11275
11324
  /**
11276
11325
  * queryOutboundMonitoringEvents - queryOutboundMonitoringEvents
11277
11326
  *
11278
- * Query outbound monitoring events for a specific integration.
11279
- * Returns detailed information about outbound event deliveries,
11280
- * filtered by event_name (event_catalog_event) linked to the integration's outbound use cases.
11327
+ * **Deprecated and no longer implemented.** The `webhook_events` table this
11328
+ * endpoint read has been retired in favour of the unified `erp_monitoring_v2`
11329
+ * table. The endpoint is kept only so existing clients do not 404; it always
11330
+ * responds `200` with an empty result and never reads any data.
11331
+ *
11332
+ * Use `POST /v2/integrations/{integrationId}/monitoring/events` instead,
11333
+ * filtered to `use_case_type: outbound`.
11281
11334
  *
11282
11335
  */
11283
11336
  'post'(
@@ -6124,6 +6124,27 @@ declare namespace Components {
6124
6124
  * ISO instant the rule last cleared back to OK.
6125
6125
  */
6126
6126
  last_cleared_at?: string | null; // date-time
6127
+ /**
6128
+ * The most recent evaluation of this rule, or null when it has never been evaluated. Answers "why isn't this rule firing?" for a rule that neither fires nor transitions — which otherwise leaves no trace at all.
6129
+ */
6130
+ last_evaluation?: {
6131
+ /**
6132
+ * ISO instant of the evaluation. Updates on every sweep tick.
6133
+ */
6134
+ evaluated_at: string; // date-time
6135
+ /**
6136
+ * The measure seen (error/warning count, success rate, or event total).
6137
+ */
6138
+ observed: number;
6139
+ /**
6140
+ * What it was compared against; null for a rule type with no threshold.
6141
+ */
6142
+ threshold?: number | null;
6143
+ /**
6144
+ * Present ONLY when the rule could not be evaluated. `sample_size` means the success-rate minimum-sample guard was not met, so the rule is neither healthy nor alerting — it is not evaluating at all. Absent when the evaluation ran normally.
6145
+ */
6146
+ suppressed_reason?: "sample_size";
6147
+ } | null;
6127
6148
  /**
6128
6149
  * Present only for enabled 'auto'-threshold rules; null otherwise.
6129
6150
  */
@@ -7006,9 +7027,9 @@ declare namespace Components {
7006
7027
  */
7007
7028
  use_case_type?: "inbound" | "outbound" | "file_proxy" | "managed_call" | "secure_proxy";
7008
7029
  /**
7009
- * Filter by event level
7030
+ * Filter by event level. `skipped` is accepted but can never match: the v2 pipeline normalises it to `info`, and the table's enum has no such member. It is retained here — and ONLY here, not on `MonitoringEventV2` — so that a client with a saved `level=skipped` filter keeps getting an empty 200 rather than a 400 from request validation. Use `info` instead.
7010
7031
  */
7011
- level?: "success" | "error" | "info" | "warning";
7032
+ level?: "success" | "error" | "info" | "warning" | "skipped";
7012
7033
  /**
7013
7034
  * Filter by taxonomy code (e.g. OAUTH2_TOKEN_FAILURE, HTTP_502). Accepts any `MonitoringCode` value, or an `HTTP_{status}` family value.
7014
7035
  */
@@ -10116,9 +10137,13 @@ interface OperationMethods {
10116
10137
  /**
10117
10138
  * queryInboundMonitoringEvents - queryInboundMonitoringEvents
10118
10139
  *
10119
- * Query inbound monitoring events for a specific integration.
10120
- * Returns detailed information about inbound sync events from ERP systems,
10121
- * including success rates, error breakdowns, and processing metrics.
10140
+ * **Deprecated and no longer implemented.** The `erp_monitoring` table this
10141
+ * endpoint read has been retired in favour of the unified `erp_monitoring_v2`
10142
+ * table. The endpoint is kept only so existing clients do not 404; it always
10143
+ * responds `200` with an empty result and never reads any data.
10144
+ *
10145
+ * Use `POST /v2/integrations/{integrationId}/monitoring/events` instead,
10146
+ * filtered to `use_case_type: inbound`.
10122
10147
  *
10123
10148
  */
10124
10149
  'queryInboundMonitoringEvents'(
@@ -10129,9 +10154,13 @@ interface OperationMethods {
10129
10154
  /**
10130
10155
  * getMonitoringStats - getMonitoringStats
10131
10156
  *
10132
- * Get aggregated statistics for both inbound and outbound monitoring events for a specific integration.
10133
- * Returns summary metrics for inbound (ERP sync) and outbound (webhook delivery) events,
10134
- * including success/error counts and optional breakdowns.
10157
+ * **Deprecated and no longer implemented.** The `erp_monitoring` and
10158
+ * `webhook_events` tables this endpoint aggregated have been retired in favour
10159
+ * of the unified `erp_monitoring_v2` table. The endpoint is kept only so
10160
+ * existing clients do not 404; it always responds `200` with zeroed counters
10161
+ * and never reads any data.
10162
+ *
10163
+ * Use `POST /v2/integrations/{integrationId}/monitoring/stats` instead.
10135
10164
  *
10136
10165
  */
10137
10166
  'getMonitoringStats'(
@@ -10142,9 +10171,13 @@ interface OperationMethods {
10142
10171
  /**
10143
10172
  * getMonitoringTimeSeries - getMonitoringTimeSeries
10144
10173
  *
10145
- * Get time-series aggregated event counts for monitoring charts.
10146
- * Returns pre-bucketed counts at configurable intervals for both inbound and outbound events.
10147
- * Maximum of 200 buckets per request. Returns 400 if the time range and interval would exceed this limit.
10174
+ * **Deprecated and no longer implemented.** The `erp_monitoring` and
10175
+ * `webhook_events` tables this endpoint bucketed have been retired in favour
10176
+ * of the unified `erp_monitoring_v2` table. The endpoint is kept only so
10177
+ * existing clients do not 404; it always responds `200` with an empty bucket
10178
+ * list and never reads any data.
10179
+ *
10180
+ * Use `POST /v2/integrations/{integrationId}/monitoring/time-series` instead.
10148
10181
  *
10149
10182
  */
10150
10183
  'getMonitoringTimeSeries'(
@@ -10288,9 +10321,13 @@ interface OperationMethods {
10288
10321
  /**
10289
10322
  * queryOutboundMonitoringEvents - queryOutboundMonitoringEvents
10290
10323
  *
10291
- * Query outbound monitoring events for a specific integration.
10292
- * Returns detailed information about outbound event deliveries,
10293
- * filtered by event_name (event_catalog_event) linked to the integration's outbound use cases.
10324
+ * **Deprecated and no longer implemented.** The `webhook_events` table this
10325
+ * endpoint read has been retired in favour of the unified `erp_monitoring_v2`
10326
+ * table. The endpoint is kept only so existing clients do not 404; it always
10327
+ * responds `200` with an empty result and never reads any data.
10328
+ *
10329
+ * Use `POST /v2/integrations/{integrationId}/monitoring/events` instead,
10330
+ * filtered to `use_case_type: outbound`.
10294
10331
  *
10295
10332
  */
10296
10333
  'queryOutboundMonitoringEvents'(
@@ -11081,9 +11118,13 @@ interface PathsDictionary {
11081
11118
  /**
11082
11119
  * queryInboundMonitoringEvents - queryInboundMonitoringEvents
11083
11120
  *
11084
- * Query inbound monitoring events for a specific integration.
11085
- * Returns detailed information about inbound sync events from ERP systems,
11086
- * including success rates, error breakdowns, and processing metrics.
11121
+ * **Deprecated and no longer implemented.** The `erp_monitoring` table this
11122
+ * endpoint read has been retired in favour of the unified `erp_monitoring_v2`
11123
+ * table. The endpoint is kept only so existing clients do not 404; it always
11124
+ * responds `200` with an empty result and never reads any data.
11125
+ *
11126
+ * Use `POST /v2/integrations/{integrationId}/monitoring/events` instead,
11127
+ * filtered to `use_case_type: inbound`.
11087
11128
  *
11088
11129
  */
11089
11130
  'post'(
@@ -11096,9 +11137,13 @@ interface PathsDictionary {
11096
11137
  /**
11097
11138
  * getMonitoringStats - getMonitoringStats
11098
11139
  *
11099
- * Get aggregated statistics for both inbound and outbound monitoring events for a specific integration.
11100
- * Returns summary metrics for inbound (ERP sync) and outbound (webhook delivery) events,
11101
- * including success/error counts and optional breakdowns.
11140
+ * **Deprecated and no longer implemented.** The `erp_monitoring` and
11141
+ * `webhook_events` tables this endpoint aggregated have been retired in favour
11142
+ * of the unified `erp_monitoring_v2` table. The endpoint is kept only so
11143
+ * existing clients do not 404; it always responds `200` with zeroed counters
11144
+ * and never reads any data.
11145
+ *
11146
+ * Use `POST /v2/integrations/{integrationId}/monitoring/stats` instead.
11102
11147
  *
11103
11148
  */
11104
11149
  'post'(
@@ -11111,9 +11156,13 @@ interface PathsDictionary {
11111
11156
  /**
11112
11157
  * getMonitoringTimeSeries - getMonitoringTimeSeries
11113
11158
  *
11114
- * Get time-series aggregated event counts for monitoring charts.
11115
- * Returns pre-bucketed counts at configurable intervals for both inbound and outbound events.
11116
- * Maximum of 200 buckets per request. Returns 400 if the time range and interval would exceed this limit.
11159
+ * **Deprecated and no longer implemented.** The `erp_monitoring` and
11160
+ * `webhook_events` tables this endpoint bucketed have been retired in favour
11161
+ * of the unified `erp_monitoring_v2` table. The endpoint is kept only so
11162
+ * existing clients do not 404; it always responds `200` with an empty bucket
11163
+ * list and never reads any data.
11164
+ *
11165
+ * Use `POST /v2/integrations/{integrationId}/monitoring/time-series` instead.
11117
11166
  *
11118
11167
  */
11119
11168
  'post'(
@@ -11275,9 +11324,13 @@ interface PathsDictionary {
11275
11324
  /**
11276
11325
  * queryOutboundMonitoringEvents - queryOutboundMonitoringEvents
11277
11326
  *
11278
- * Query outbound monitoring events for a specific integration.
11279
- * Returns detailed information about outbound event deliveries,
11280
- * filtered by event_name (event_catalog_event) linked to the integration's outbound use cases.
11327
+ * **Deprecated and no longer implemented.** The `webhook_events` table this
11328
+ * endpoint read has been retired in favour of the unified `erp_monitoring_v2`
11329
+ * table. The endpoint is kept only so existing clients do not 404; it always
11330
+ * responds `200` with an empty result and never reads any data.
11331
+ *
11332
+ * Use `POST /v2/integrations/{integrationId}/monitoring/events` instead,
11333
+ * filtered to `use_case_type: outbound`.
11281
11334
  *
11282
11335
  */
11283
11336
  'post'(
@@ -1029,6 +1029,8 @@ type MappingConfigs = Array<{
1029
1029
  use_uniqueness_criteria?: boolean
1030
1030
  loop_config?: {
1031
1031
  source_path?: { ... }
1032
+ source_type?: { ... }
1033
+ filter_tags?: { ... }
1032
1034
  length?: { ... }
1033
1035
  }
1034
1036
  conditionMode?: "oneOf" | "anyOf" | "allOf"
@@ -1115,6 +1117,8 @@ type MappingConfig = {
1115
1117
  use_uniqueness_criteria?: boolean
1116
1118
  loop_config?: {
1117
1119
  source_path?: { ... }
1120
+ source_type?: { ... }
1121
+ filter_tags?: { ... }
1118
1122
  length?: { ... }
1119
1123
  }
1120
1124
  conditionMode?: "oneOf" | "anyOf" | "allOf"
@@ -1201,6 +1205,8 @@ type MappingConfigV2 = {
1201
1205
  use_uniqueness_criteria?: boolean
1202
1206
  loop_config?: {
1203
1207
  source_path?: { ... }
1208
+ source_type?: { ... }
1209
+ filter_tags?: { ... }
1204
1210
  length?: { ... }
1205
1211
  }
1206
1212
  conditionMode?: "oneOf" | "anyOf" | "allOf"
@@ -1287,6 +1293,8 @@ type MappingConfigCommonFields = {
1287
1293
  use_uniqueness_criteria?: boolean
1288
1294
  loop_config?: {
1289
1295
  source_path?: { ... }
1296
+ source_type?: { ... }
1297
+ filter_tags?: { ... }
1290
1298
  length?: { ... }
1291
1299
  }
1292
1300
  conditionMode?: "oneOf" | "anyOf" | "allOf"
@@ -1452,6 +1460,8 @@ type ExecuteMappingReq = {
1452
1460
  use_uniqueness_criteria?: boolean
1453
1461
  loop_config?: {
1454
1462
  source_path?: { ... }
1463
+ source_type?: { ... }
1464
+ filter_tags?: { ... }
1455
1465
  length?: { ... }
1456
1466
  }
1457
1467
  conditionMode?: "oneOf" | "anyOf" | "allOf"
@@ -1558,6 +1568,8 @@ type MappingFailure = {
1558
1568
  use_uniqueness_criteria?: boolean
1559
1569
  loop_config?: {
1560
1570
  source_path?: { ... }
1571
+ source_type?: { ... }
1572
+ filter_tags?: { ... }
1561
1573
  length?: { ... }
1562
1574
  }
1563
1575
  conditionMode?: "oneOf" | "anyOf" | "allOf"
@@ -1687,6 +1699,8 @@ type TargetConfig = {
1687
1699
  use_uniqueness_criteria?: boolean
1688
1700
  loop_config?: {
1689
1701
  source_path?: string
1702
+ source_type?: "journey-multi-select" | "journey-file-upload"
1703
+ filter_tags?: string[]
1690
1704
  length?: number
1691
1705
  }
1692
1706
  conditionMode?: "oneOf" | "anyOf" | "allOf"
@@ -1847,6 +1861,7 @@ type GraphContextEntry = {
1847
1861
  cardinality?: { ... }
1848
1862
  fields?: { ... }
1849
1863
  filter?: { ... }
1864
+ optional?: { ... }
1850
1865
  }>
1851
1866
  edges: Array<{
1852
1867
  from: { ... }
@@ -1882,6 +1897,7 @@ type GraphDefinition = {
1882
1897
  attribute: { ... }
1883
1898
  value: { ... }
1884
1899
  }>
1900
+ optional?: boolean
1885
1901
  }>
1886
1902
  edges: Array<{
1887
1903
  from: string
@@ -1904,6 +1920,7 @@ type GraphNode = {
1904
1920
  attribute: string
1905
1921
  value: string | number | boolean
1906
1922
  }>
1923
+ optional?: boolean
1907
1924
  }
1908
1925
  ```
1909
1926
 
@@ -2249,6 +2266,8 @@ type MappingHistoryEntry = {
2249
2266
  use_uniqueness_criteria?: boolean
2250
2267
  loop_config?: {
2251
2268
  source_path?: { ... }
2269
+ source_type?: { ... }
2270
+ filter_tags?: { ... }
2252
2271
  length?: { ... }
2253
2272
  }
2254
2273
  conditionMode?: "oneOf" | "anyOf" | "allOf"