@epilot/sdk 2.20.58 → 2.20.59

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 (134) hide show
  1. package/definitions/integration-toolkit-runtime.json +1 -1
  2. package/definitions/integration-toolkit.json +183 -1
  3. package/dist/apis/access-token.cjs +6 -6
  4. package/dist/apis/access-token.js +1 -1
  5. package/dist/apis/address-suggestions.cjs +6 -6
  6. package/dist/apis/address-suggestions.js +1 -1
  7. package/dist/apis/address.cjs +6 -6
  8. package/dist/apis/address.js +1 -1
  9. package/dist/apis/ai-agents.cjs +6 -6
  10. package/dist/apis/ai-agents.js +1 -1
  11. package/dist/apis/app.cjs +6 -6
  12. package/dist/apis/app.js +1 -1
  13. package/dist/apis/audit-logs.cjs +6 -6
  14. package/dist/apis/audit-logs.js +1 -1
  15. package/dist/apis/automation.cjs +6 -6
  16. package/dist/apis/automation.js +1 -1
  17. package/dist/apis/billing.cjs +6 -6
  18. package/dist/apis/billing.js +1 -1
  19. package/dist/apis/blueprint-manifest.cjs +6 -6
  20. package/dist/apis/blueprint-manifest.js +1 -1
  21. package/dist/apis/calendar.cjs +6 -6
  22. package/dist/apis/calendar.js +1 -1
  23. package/dist/apis/chat.cjs +6 -6
  24. package/dist/apis/chat.js +1 -1
  25. package/dist/apis/configuration-hub.cjs +6 -6
  26. package/dist/apis/configuration-hub.js +1 -1
  27. package/dist/apis/consent.cjs +6 -6
  28. package/dist/apis/consent.js +1 -1
  29. package/dist/apis/customer-portal.cjs +6 -6
  30. package/dist/apis/customer-portal.js +1 -1
  31. package/dist/apis/dashboard.cjs +6 -6
  32. package/dist/apis/dashboard.js +1 -1
  33. package/dist/apis/data-governance.cjs +6 -6
  34. package/dist/apis/data-governance.js +1 -1
  35. package/dist/apis/deduplication.cjs +6 -6
  36. package/dist/apis/deduplication.js +1 -1
  37. package/dist/apis/design.cjs +6 -6
  38. package/dist/apis/design.js +1 -1
  39. package/dist/apis/document.cjs +6 -6
  40. package/dist/apis/document.js +1 -1
  41. package/dist/apis/email-settings.cjs +6 -6
  42. package/dist/apis/email-settings.js +1 -1
  43. package/dist/apis/email-template.cjs +6 -6
  44. package/dist/apis/email-template.js +1 -1
  45. package/dist/apis/entity-mapping.cjs +6 -6
  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/external-values.cjs +6 -6
  54. package/dist/apis/external-values.js +1 -1
  55. package/dist/apis/file.cjs +6 -6
  56. package/dist/apis/file.js +1 -1
  57. package/dist/apis/iban.cjs +6 -6
  58. package/dist/apis/iban.js +1 -1
  59. package/dist/apis/identity.cjs +6 -6
  60. package/dist/apis/identity.js +1 -1
  61. package/dist/apis/integration-toolkit.cjs +8 -8
  62. package/dist/apis/integration-toolkit.d.cts +2 -2
  63. package/dist/apis/integration-toolkit.d.ts +2 -2
  64. package/dist/apis/integration-toolkit.js +2 -2
  65. package/dist/apis/journey.cjs +6 -6
  66. package/dist/apis/journey.js +1 -1
  67. package/dist/apis/kanban.cjs +6 -6
  68. package/dist/apis/kanban.js +1 -1
  69. package/dist/apis/message.cjs +6 -6
  70. package/dist/apis/message.js +1 -1
  71. package/dist/apis/metering.cjs +6 -6
  72. package/dist/apis/metering.js +1 -1
  73. package/dist/apis/notes.cjs +6 -6
  74. package/dist/apis/notes.js +1 -1
  75. package/dist/apis/notification.cjs +6 -6
  76. package/dist/apis/notification.js +1 -1
  77. package/dist/apis/organization.cjs +6 -6
  78. package/dist/apis/organization.js +1 -1
  79. package/dist/apis/partner-directory.cjs +6 -6
  80. package/dist/apis/partner-directory.js +1 -1
  81. package/dist/apis/permissions.cjs +6 -6
  82. package/dist/apis/permissions.js +1 -1
  83. package/dist/apis/phone-integration.cjs +6 -6
  84. package/dist/apis/phone-integration.js +1 -1
  85. package/dist/apis/pricing-tier.cjs +6 -6
  86. package/dist/apis/pricing-tier.js +1 -1
  87. package/dist/apis/pricing.cjs +6 -6
  88. package/dist/apis/pricing.js +1 -1
  89. package/dist/apis/purpose.cjs +6 -6
  90. package/dist/apis/purpose.js +1 -1
  91. package/dist/apis/query.cjs +6 -6
  92. package/dist/apis/query.js +1 -1
  93. package/dist/apis/sandbox.cjs +6 -6
  94. package/dist/apis/sandbox.js +1 -1
  95. package/dist/apis/sharing.cjs +6 -6
  96. package/dist/apis/sharing.js +1 -1
  97. package/dist/apis/snapshot.cjs +6 -6
  98. package/dist/apis/snapshot.js +1 -1
  99. package/dist/apis/submission.cjs +6 -6
  100. package/dist/apis/submission.js +1 -1
  101. package/dist/apis/target.cjs +6 -6
  102. package/dist/apis/target.js +1 -1
  103. package/dist/apis/targeting.cjs +6 -6
  104. package/dist/apis/targeting.js +1 -1
  105. package/dist/apis/template-variables.cjs +6 -6
  106. package/dist/apis/template-variables.js +1 -1
  107. package/dist/apis/user.cjs +6 -6
  108. package/dist/apis/user.js +1 -1
  109. package/dist/apis/validation-rules.cjs +6 -6
  110. package/dist/apis/validation-rules.js +1 -1
  111. package/dist/apis/webhooks.cjs +6 -6
  112. package/dist/apis/webhooks.js +1 -1
  113. package/dist/apis/workflow-definition.cjs +6 -6
  114. package/dist/apis/workflow-definition.js +1 -1
  115. package/dist/apis/workflow.cjs +6 -6
  116. package/dist/apis/workflow.js +1 -1
  117. package/dist/{chunk-S5K3TLPQ.cjs → chunk-FPQK7U3P.cjs} +2 -2
  118. package/dist/{chunk-6JWMDS4Z.js → chunk-MBWCGRCK.js} +1 -1
  119. package/dist/{chunk-VAC7N66U.js → chunk-WPDKRU5K.js} +2 -2
  120. package/dist/{chunk-EPZ3JT2W.cjs → chunk-Y7KWK5H2.cjs} +1 -1
  121. package/dist/index.cjs +10 -10
  122. package/dist/index.d.cts +1 -1
  123. package/dist/index.d.ts +1 -1
  124. package/dist/index.js +2 -2
  125. package/dist/integration-toolkit-AB3GZDWM.cjs +7 -0
  126. package/dist/integration-toolkit-L745CJ5G.js +7 -0
  127. package/dist/{integration-toolkit-runtime-FT2J5NFV.js → integration-toolkit-runtime-3LKW4ORQ.js} +1 -1
  128. package/dist/{integration-toolkit-runtime-GDJVWSKC.cjs → integration-toolkit-runtime-3PM3MBEF.cjs} +2 -2
  129. package/dist/{integration-toolkit.d-DWslwG3c.d.cts → integration-toolkit.d-oORkWs_H.d.cts} +150 -1
  130. package/dist/{integration-toolkit.d-DWslwG3c.d.ts → integration-toolkit.d-oORkWs_H.d.ts} +150 -1
  131. package/docs/integration-toolkit.md +138 -3
  132. package/package.json +1 -1
  133. package/dist/integration-toolkit-3J7KVCK7.cjs +0 -7
  134. package/dist/integration-toolkit-CV2AU2R7.js +0 -7
@@ -1,5 +1,5 @@
1
1
  import {
2
2
  require_integration_toolkit_runtime
3
- } from "./chunk-6JWMDS4Z.js";
3
+ } from "./chunk-MBWCGRCK.js";
4
4
  import "./chunk-YPSWSI3M.js";
5
5
  export default require_integration_toolkit_runtime();
@@ -1,5 +1,5 @@
1
1
  "use strict";Object.defineProperty(exports, "__esModule", {value: true});
2
2
 
3
- var _chunkEPZ3JT2Wcjs = require('./chunk-EPZ3JT2W.cjs');
3
+ var _chunkY7KWK5H2cjs = require('./chunk-Y7KWK5H2.cjs');
4
4
  require('./chunk-NJK5F5TF.cjs');
5
- exports. default = _chunkEPZ3JT2Wcjs.require_integration_toolkit_runtime.call(void 0, );
5
+ exports. default = _chunkY7KWK5H2cjs.require_integration_toolkit_runtime.call(void 0, );
@@ -3145,6 +3145,10 @@ declare namespace Components {
3145
3145
  * Rows in the file. Known only once a phase has read to EOF; the execute phase has it from the start, because validate recorded it first.
3146
3146
  */
3147
3147
  total_rows?: number;
3148
+ /**
3149
+ * Events handed to the platform so far — the denominator for "has everything this run dispatched finished processing?", answered per event by `getMonitoringRunCompletionV2` under the job's `correlation_id`. Equals `processed_rows` on the flat path; smaller on the grouped path, where rows sharing a variant-version collapse into one event. Execute phase only, and absent on jobs written before this field existed.
3150
+ */
3151
+ events_published?: number;
3148
3152
  }
3149
3153
  export interface ErpImportUseCaseSuggestion {
3150
3154
  integration_id: string;
@@ -4080,6 +4084,12 @@ declare namespace Components {
4080
4084
  };
4081
4085
  warnings?: string[];
4082
4086
  }
4087
+ export interface GetMonitoringRunCompletionV2Request {
4088
+ /**
4089
+ * The runs to report on — an import's `import_id` is its `correlation_id`. At least one; a history page's worth (tens, not thousands) is the intended batch.
4090
+ */
4091
+ correlation_ids: string[];
4092
+ }
4083
4093
  export interface GetMonitoringStatsRequest {
4084
4094
  /**
4085
4095
  * Start date for statistics period (inclusive)
@@ -5899,6 +5909,61 @@ declare namespace Components {
5899
5909
  */
5900
5910
  created_at: string; // date-time
5901
5911
  }
5912
+ /**
5913
+ * Per-event completion of one run. Every count is in EVENTS (distinct `event_id`), never rows: `seen = in_flight + success + warning + error + info`.
5914
+ */
5915
+ export interface MonitoringRunCompletionV2 {
5916
+ correlation_id: string;
5917
+ /**
5918
+ * Distinct events that have reported at least one row under this run.
5919
+ */
5920
+ seen: number;
5921
+ /**
5922
+ * Events that have reported something but no final outcome yet: only mapping or relation caveats so far (the success row comes last, from the final stage), or a failed attempt the queue will retry. An event stuck here with an old `last_activity_at` was most likely lost on its final attempt (processor crash) — a stall, not a slow run.
5923
+ */
5924
+ in_flight: number;
5925
+ /**
5926
+ * The subset of `in_flight` whose latest row is a retry marker — the queue will deliver them again after a temporary failure.
5927
+ */
5928
+ retrying: number;
5929
+ /**
5930
+ * Settled events whose terminal rows were all successes.
5931
+ */
5932
+ success: number;
5933
+ /**
5934
+ * Settled events processed with a caveat (unique-id matched several entities, attribute type mismatch, …) and no terminal error. Retry markers are not caveats and are never counted here.
5935
+ */
5936
+ warning: number;
5937
+ /**
5938
+ * Settled events with at least one terminal error row (retries exhausted, or non-retryable).
5939
+ */
5940
+ error: number;
5941
+ /**
5942
+ * Settled events whose rows were all informational — deduplicated or skipped, nothing to apply.
5943
+ */
5944
+ info: number;
5945
+ entries: /* The run's monitoring rows counted by level, retry markers included — the same rows its trace lists. Unlike the event counts above, one event can contribute many rows (one per entity written, plus every caveat and retry). */ MonitoringRunEntriesV2;
5946
+ /**
5947
+ * Newest row of any level under this run; null when nothing has reported yet.
5948
+ */
5949
+ last_activity_at: string | null; // date-time
5950
+ }
5951
+ export interface MonitoringRunCompletionV2Response {
5952
+ /**
5953
+ * One entry per requested `correlation_id`, in request order.
5954
+ */
5955
+ runs: /* Per-event completion of one run. Every count is in EVENTS (distinct `event_id`), never rows: `seen = in_flight + success + warning + error + info`. */ MonitoringRunCompletionV2[];
5956
+ }
5957
+ /**
5958
+ * The run's monitoring rows counted by level, retry markers included — the same rows its trace lists. Unlike the event counts above, one event can contribute many rows (one per entity written, plus every caveat and retry).
5959
+ */
5960
+ export interface MonitoringRunEntriesV2 {
5961
+ total: number;
5962
+ error: number;
5963
+ warning: number;
5964
+ success: number;
5965
+ info: number;
5966
+ }
5902
5967
  export interface MonitoringStats {
5903
5968
  /**
5904
5969
  * Statistics for inbound (ERP sync) events
@@ -9087,6 +9152,22 @@ declare namespace Paths {
9087
9152
  export type $500 = Components.Responses.InternalServerError;
9088
9153
  }
9089
9154
  }
9155
+ namespace GetMonitoringRunCompletionV2 {
9156
+ namespace Parameters {
9157
+ export type IntegrationId = string; // uuid
9158
+ }
9159
+ export interface PathParameters {
9160
+ integrationId: Parameters.IntegrationId /* uuid */;
9161
+ }
9162
+ export type RequestBody = Components.Schemas.GetMonitoringRunCompletionV2Request;
9163
+ namespace Responses {
9164
+ export type $200 = Components.Schemas.MonitoringRunCompletionV2Response;
9165
+ export type $400 = Components.Responses.BadRequest;
9166
+ export type $401 = Components.Responses.Unauthorized;
9167
+ export type $403 = Components.Responses.Forbidden;
9168
+ export type $500 = Components.Responses.InternalServerError;
9169
+ }
9170
+ }
9090
9171
  namespace GetMonitoringStats {
9091
9172
  namespace Parameters {
9092
9173
  export type IntegrationId = string; // uuid
@@ -10751,6 +10832,37 @@ interface OperationMethods {
10751
10832
  data?: any,
10752
10833
  config?: AxiosRequestConfig
10753
10834
  ): OperationResponse<Paths.GetMonitoringTraceByCorrelation.Responses.$200>
10835
+ /**
10836
+ * getMonitoringRunCompletionV2 - getMonitoringRunCompletionV2
10837
+ *
10838
+ * Per-event completion of one or more runs (every monitoring event sharing a
10839
+ * `correlation_id`), each reduced to "how many events have reached a final
10840
+ * outcome, and how many are still going". Unlike `getMonitoringStatsV2`, which
10841
+ * counts rows, this groups `erp_monitoring_v2` by `event_id` first: an event
10842
+ * retried twice and then processed counts once, as a success.
10843
+ *
10844
+ * Per event: it is **settled** once it has a `success` row, a terminal `error`
10845
+ * row (a non-retryable failure, retries exhausted, or the dead-letter closure),
10846
+ * or nothing but informational rows (deduplicated, skipped). A `warning` never
10847
+ * settles an event on its own: mapping and relation caveats are written BEFORE
10848
+ * the final stage's success row, and a retry marker (`warning` with
10849
+ * `will_retry: true`) means the queue will deliver it again. Everything else is
10850
+ * **in flight**. A settled event's outcome is its worst terminal row — `error`
10851
+ * beats `warning` beats `success`.
10852
+ *
10853
+ * Batched so a history page costs one request: pass every run on the page. A run
10854
+ * that has reported nothing yet comes back with `seen: 0`, never omitted.
10855
+ *
10856
+ * The denominator is NOT here: the producer owns it. For an ERP file import it is
10857
+ * `ErpImportProgress.events_published`; `seen` is how many of those have reported
10858
+ * anything yet. Freshness is near-real-time (ClickHouse ingestion lag).
10859
+ *
10860
+ */
10861
+ 'getMonitoringRunCompletionV2'(
10862
+ parameters?: Parameters<Paths.GetMonitoringRunCompletionV2.PathParameters> | null,
10863
+ data?: Paths.GetMonitoringRunCompletionV2.RequestBody,
10864
+ config?: AxiosRequestConfig
10865
+ ): OperationResponse<Paths.GetMonitoringRunCompletionV2.Responses.$200>
10754
10866
  /**
10755
10867
  * listSecureProxies - listSecureProxies
10756
10868
  *
@@ -11821,6 +11933,39 @@ interface PathsDictionary {
11821
11933
  config?: AxiosRequestConfig
11822
11934
  ): OperationResponse<Paths.GetMonitoringTraceByCorrelation.Responses.$200>
11823
11935
  }
11936
+ ['/v2/integrations/{integrationId}/monitoring/runs/completion']: {
11937
+ /**
11938
+ * getMonitoringRunCompletionV2 - getMonitoringRunCompletionV2
11939
+ *
11940
+ * Per-event completion of one or more runs (every monitoring event sharing a
11941
+ * `correlation_id`), each reduced to "how many events have reached a final
11942
+ * outcome, and how many are still going". Unlike `getMonitoringStatsV2`, which
11943
+ * counts rows, this groups `erp_monitoring_v2` by `event_id` first: an event
11944
+ * retried twice and then processed counts once, as a success.
11945
+ *
11946
+ * Per event: it is **settled** once it has a `success` row, a terminal `error`
11947
+ * row (a non-retryable failure, retries exhausted, or the dead-letter closure),
11948
+ * or nothing but informational rows (deduplicated, skipped). A `warning` never
11949
+ * settles an event on its own: mapping and relation caveats are written BEFORE
11950
+ * the final stage's success row, and a retry marker (`warning` with
11951
+ * `will_retry: true`) means the queue will deliver it again. Everything else is
11952
+ * **in flight**. A settled event's outcome is its worst terminal row — `error`
11953
+ * beats `warning` beats `success`.
11954
+ *
11955
+ * Batched so a history page costs one request: pass every run on the page. A run
11956
+ * that has reported nothing yet comes back with `seen: 0`, never omitted.
11957
+ *
11958
+ * The denominator is NOT here: the producer owns it. For an ERP file import it is
11959
+ * `ErpImportProgress.events_published`; `seen` is how many of those have reported
11960
+ * anything yet. Freshness is near-real-time (ClickHouse ingestion lag).
11961
+ *
11962
+ */
11963
+ 'post'(
11964
+ parameters?: Parameters<Paths.GetMonitoringRunCompletionV2.PathParameters> | null,
11965
+ data?: Paths.GetMonitoringRunCompletionV2.RequestBody,
11966
+ config?: AxiosRequestConfig
11967
+ ): OperationResponse<Paths.GetMonitoringRunCompletionV2.Responses.$200>
11968
+ }
11824
11969
  ['/v1/integrations/secure-proxies']: {
11825
11970
  /**
11826
11971
  * listSecureProxies - listSecureProxies
@@ -12116,6 +12261,7 @@ type FileProxyUseCaseHistoryEntry = Components.Schemas.FileProxyUseCaseHistoryEn
12116
12261
  type GenerateTypesPreviewResponse = Components.Schemas.GenerateTypesPreviewResponse;
12117
12262
  type GenerateTypesRequest = Components.Schemas.GenerateTypesRequest;
12118
12263
  type GenerateTypesResponse = Components.Schemas.GenerateTypesResponse;
12264
+ type GetMonitoringRunCompletionV2Request = Components.Schemas.GetMonitoringRunCompletionV2Request;
12119
12265
  type GetMonitoringStatsRequest = Components.Schemas.GetMonitoringStatsRequest;
12120
12266
  type GetMonitoringStatsV2Request = Components.Schemas.GetMonitoringStatsV2Request;
12121
12267
  type GetMonitoringTimeSeriesRequest = Components.Schemas.GetMonitoringTimeSeriesRequest;
@@ -12161,6 +12307,9 @@ type MeterReadingUpdate = Components.Schemas.MeterReadingUpdate;
12161
12307
  type MeterUniqueIdsConfig = Components.Schemas.MeterUniqueIdsConfig;
12162
12308
  type MonitoringCode = Components.Schemas.MonitoringCode;
12163
12309
  type MonitoringEventV2 = Components.Schemas.MonitoringEventV2;
12310
+ type MonitoringRunCompletionV2 = Components.Schemas.MonitoringRunCompletionV2;
12311
+ type MonitoringRunCompletionV2Response = Components.Schemas.MonitoringRunCompletionV2Response;
12312
+ type MonitoringRunEntriesV2 = Components.Schemas.MonitoringRunEntriesV2;
12164
12313
  type MonitoringStats = Components.Schemas.MonitoringStats;
12165
12314
  type MonitoringStatsV2 = Components.Schemas.MonitoringStatsV2;
12166
12315
  type MonitoringTraceResponse = Components.Schemas.MonitoringTraceResponse;
@@ -12255,4 +12404,4 @@ type ValidateErpImportRequest = Components.Schemas.ValidateErpImportRequest;
12255
12404
  type WebhookDeliveryConfig = Components.Schemas.WebhookDeliveryConfig;
12256
12405
  type WebhookStatus = Components.Schemas.WebhookStatus;
12257
12406
 
12258
- 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 ManagedCallUseCaseHistoryEntry 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 InboundUseCase as aA, type InboundUseCaseHistoryEntry as aB, type IngestExternalMonitoringEventsRequest as aC, type IngestExternalMonitoringEventsResponse as aD, type Integration as aE, type IntegrationAppMapping as aF, type IntegrationConfigurationV1 as aG, type IntegrationConfigurationV2 as aH, type IntegrationEditableFields as aI, type IntegrationEntity as aJ, type IntegrationEntityConditional as aK, type IntegrationEntityField as aL, type IntegrationEntityFromRows as aM, type IntegrationFieldV1 as aN, type IntegrationMap as aO, type IntegrationMeterReading as aP, type IntegrationNotificationConfig as aQ, type IntegrationObjectV1 as aR, type IntegrationSettings as aS, type IntegrationWithUseCases as aT, type ManagedCallAuth as aU, type ManagedCallErrorResponse as aV, type ManagedCallExecuteRequest as aW, type ManagedCallExecuteResponse as aX, type ManagedCallOperation as aY, type ManagedCallOperationConfig as aZ, type ManagedCallUseCase 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 GetMonitoringStatsRequest as au, type GetMonitoringStatsV2Request as av, type GetMonitoringTimeSeriesRequest as aw, type GetMonitoringTimeSeriesV2Request as ax, type InboundIntegrationEventConfiguration as ay, type InboundMonitoringEvent as az, type PathsDictionary as b, type SecureProxyResponse as b$, type MappedFieldValue as b0, type MappingSimulationRequest as b1, type MappingSimulationResponse as b2, type MappingSimulationV2Request as b3, type MappingSimulationWarning as b4, type MeterReadingPruneScopeConfig as b5, type MeterReadingPruneScopeUpdate as b6, type MeterReadingUpdate as b7, type MeterUniqueIdsConfig as b8, type MonitoringCode as b9, type PollDeliveryConfig as bA, type PollOutboundMessagesRequest as bB, type PollOutboundMessagesResponse as bC, type PortalOrigin as bD, type PortalRefConfig as bE, type PortalRefFilter as bF, type PruneScopeConfig as bG, type QueryAccessLogsRequest as bH, type QueryEventsRequest as bI, type QueryInboundMonitoringEventsRequest as bJ, type QueryMonitoringEventsV2Request as bK, type QueryOutboundMonitoringEventsRequest as bL, type RedriveOutboundDlqRequest as bM, type RedriveOutboundDlqResponse as bN, type RedriveOutboundDlqResult as bO, type RelationConfig as bP, type RelationItemConfig as bQ, type RelationRefItemConfig as bR, type RelationRefValueConfig as bS, type RelationRefsConfig as bT, type RelationUniqueIdField as bU, type RepeatableFieldType as bV, type ReplayEventsRequest as bW, type RuleBaselineBucket as bX, type RuleBaselineStatus as bY, type S3Reference as bZ, type SecureProxyRequest as b_, type MonitoringEventV2 as ba, type MonitoringStats as bb, type MonitoringStatsV2 as bc, type MonitoringTraceResponse as bd, type NotificationChannelSet as be, type NotificationDigestConfig as bf, type NotificationHistoryItem as bg, type NotificationHistoryResponse as bh, type NotificationRecipient as bi, type NotificationRule as bj, type NotificationRuleStatus as bk, type NotificationStatusResponse as bl, type OutboundConflict as bm, type OutboundDlqListResponse as bn, type OutboundDlqMessage as bo, type OutboundFileProxyTargetStatus as bp, type OutboundIntegrationEventConfiguration as bq, type OutboundMapping as br, type OutboundMappingSimulationError as bs, type OutboundMessage as bt, type OutboundMonitoringEvent as bu, type OutboundPollStatus as bv, type OutboundStatusResponse as bw, type OutboundUseCase as bx, type OutboundUseCaseHistoryEntry as by, type OutboundUseCaseStatus as bz, type AckOutboundMessagesRequest as c, type SecureProxySummary as c0, type SecureProxyUpstreamError as c1, type SecureProxyUseCase as c2, type SecureProxyUseCaseConfiguration as c3, type SecureProxyUseCaseHistoryEntry as c4, type SecureProxyWhitelist as c5, type SecureProxyWhitelistUpdate as c6, type SetIntegrationAppMappingRequest as c7, type SimulateOutboundMappingRequest as c8, type SimulateOutboundMappingResponse as c9, type UseCaseTypePreview as cA, type ValidateErpImportRequest as cB, type WebhookDeliveryConfig as cC, type WebhookStatus as cD, type SuggestErpImportUseCasesResponse as ca, type TestNotificationRequest as cb, type TestNotificationResponse as cc, type TimeSeriesBreakdownItemV2 as cd, type TimeSeriesBucket as ce, type TimeSeriesBucketV2 as cf, type TriggerErpActionRequest as cg, type TriggerWebhookResp as ch, type TypeAnnotations as ci, type TypeDescriptor as cj, type UnblockOutboundStreamRequest as ck, type UnblockOutboundStreamResponse as cl, type UpdateFileProxyUseCaseRequest as cm, type UpdateInboundUseCaseRequest as cn, type UpdateIntegrationRequest as co, type UpdateManagedCallUseCaseRequest as cp, type UpdateOutboundUseCaseRequest as cq, type UpdateSecureProxyUseCaseRequest as cr, type UpdateUseCaseRequest as cs, type UpdateUseCaseRequestBase as ct, type UpsertDocumentationPageRequest as cu, type UpsertIntegrationWithUseCasesRequest as cv, type UseCase as cw, type UseCaseBase as cx, type UseCaseHistoryEntry as cy, type UseCaseHistoryEntryBase 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 };
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 };
@@ -3145,6 +3145,10 @@ declare namespace Components {
3145
3145
  * Rows in the file. Known only once a phase has read to EOF; the execute phase has it from the start, because validate recorded it first.
3146
3146
  */
3147
3147
  total_rows?: number;
3148
+ /**
3149
+ * Events handed to the platform so far — the denominator for "has everything this run dispatched finished processing?", answered per event by `getMonitoringRunCompletionV2` under the job's `correlation_id`. Equals `processed_rows` on the flat path; smaller on the grouped path, where rows sharing a variant-version collapse into one event. Execute phase only, and absent on jobs written before this field existed.
3150
+ */
3151
+ events_published?: number;
3148
3152
  }
3149
3153
  export interface ErpImportUseCaseSuggestion {
3150
3154
  integration_id: string;
@@ -4080,6 +4084,12 @@ declare namespace Components {
4080
4084
  };
4081
4085
  warnings?: string[];
4082
4086
  }
4087
+ export interface GetMonitoringRunCompletionV2Request {
4088
+ /**
4089
+ * The runs to report on — an import's `import_id` is its `correlation_id`. At least one; a history page's worth (tens, not thousands) is the intended batch.
4090
+ */
4091
+ correlation_ids: string[];
4092
+ }
4083
4093
  export interface GetMonitoringStatsRequest {
4084
4094
  /**
4085
4095
  * Start date for statistics period (inclusive)
@@ -5899,6 +5909,61 @@ declare namespace Components {
5899
5909
  */
5900
5910
  created_at: string; // date-time
5901
5911
  }
5912
+ /**
5913
+ * Per-event completion of one run. Every count is in EVENTS (distinct `event_id`), never rows: `seen = in_flight + success + warning + error + info`.
5914
+ */
5915
+ export interface MonitoringRunCompletionV2 {
5916
+ correlation_id: string;
5917
+ /**
5918
+ * Distinct events that have reported at least one row under this run.
5919
+ */
5920
+ seen: number;
5921
+ /**
5922
+ * Events that have reported something but no final outcome yet: only mapping or relation caveats so far (the success row comes last, from the final stage), or a failed attempt the queue will retry. An event stuck here with an old `last_activity_at` was most likely lost on its final attempt (processor crash) — a stall, not a slow run.
5923
+ */
5924
+ in_flight: number;
5925
+ /**
5926
+ * The subset of `in_flight` whose latest row is a retry marker — the queue will deliver them again after a temporary failure.
5927
+ */
5928
+ retrying: number;
5929
+ /**
5930
+ * Settled events whose terminal rows were all successes.
5931
+ */
5932
+ success: number;
5933
+ /**
5934
+ * Settled events processed with a caveat (unique-id matched several entities, attribute type mismatch, …) and no terminal error. Retry markers are not caveats and are never counted here.
5935
+ */
5936
+ warning: number;
5937
+ /**
5938
+ * Settled events with at least one terminal error row (retries exhausted, or non-retryable).
5939
+ */
5940
+ error: number;
5941
+ /**
5942
+ * Settled events whose rows were all informational — deduplicated or skipped, nothing to apply.
5943
+ */
5944
+ info: number;
5945
+ entries: /* The run's monitoring rows counted by level, retry markers included — the same rows its trace lists. Unlike the event counts above, one event can contribute many rows (one per entity written, plus every caveat and retry). */ MonitoringRunEntriesV2;
5946
+ /**
5947
+ * Newest row of any level under this run; null when nothing has reported yet.
5948
+ */
5949
+ last_activity_at: string | null; // date-time
5950
+ }
5951
+ export interface MonitoringRunCompletionV2Response {
5952
+ /**
5953
+ * One entry per requested `correlation_id`, in request order.
5954
+ */
5955
+ runs: /* Per-event completion of one run. Every count is in EVENTS (distinct `event_id`), never rows: `seen = in_flight + success + warning + error + info`. */ MonitoringRunCompletionV2[];
5956
+ }
5957
+ /**
5958
+ * The run's monitoring rows counted by level, retry markers included — the same rows its trace lists. Unlike the event counts above, one event can contribute many rows (one per entity written, plus every caveat and retry).
5959
+ */
5960
+ export interface MonitoringRunEntriesV2 {
5961
+ total: number;
5962
+ error: number;
5963
+ warning: number;
5964
+ success: number;
5965
+ info: number;
5966
+ }
5902
5967
  export interface MonitoringStats {
5903
5968
  /**
5904
5969
  * Statistics for inbound (ERP sync) events
@@ -9087,6 +9152,22 @@ declare namespace Paths {
9087
9152
  export type $500 = Components.Responses.InternalServerError;
9088
9153
  }
9089
9154
  }
9155
+ namespace GetMonitoringRunCompletionV2 {
9156
+ namespace Parameters {
9157
+ export type IntegrationId = string; // uuid
9158
+ }
9159
+ export interface PathParameters {
9160
+ integrationId: Parameters.IntegrationId /* uuid */;
9161
+ }
9162
+ export type RequestBody = Components.Schemas.GetMonitoringRunCompletionV2Request;
9163
+ namespace Responses {
9164
+ export type $200 = Components.Schemas.MonitoringRunCompletionV2Response;
9165
+ export type $400 = Components.Responses.BadRequest;
9166
+ export type $401 = Components.Responses.Unauthorized;
9167
+ export type $403 = Components.Responses.Forbidden;
9168
+ export type $500 = Components.Responses.InternalServerError;
9169
+ }
9170
+ }
9090
9171
  namespace GetMonitoringStats {
9091
9172
  namespace Parameters {
9092
9173
  export type IntegrationId = string; // uuid
@@ -10751,6 +10832,37 @@ interface OperationMethods {
10751
10832
  data?: any,
10752
10833
  config?: AxiosRequestConfig
10753
10834
  ): OperationResponse<Paths.GetMonitoringTraceByCorrelation.Responses.$200>
10835
+ /**
10836
+ * getMonitoringRunCompletionV2 - getMonitoringRunCompletionV2
10837
+ *
10838
+ * Per-event completion of one or more runs (every monitoring event sharing a
10839
+ * `correlation_id`), each reduced to "how many events have reached a final
10840
+ * outcome, and how many are still going". Unlike `getMonitoringStatsV2`, which
10841
+ * counts rows, this groups `erp_monitoring_v2` by `event_id` first: an event
10842
+ * retried twice and then processed counts once, as a success.
10843
+ *
10844
+ * Per event: it is **settled** once it has a `success` row, a terminal `error`
10845
+ * row (a non-retryable failure, retries exhausted, or the dead-letter closure),
10846
+ * or nothing but informational rows (deduplicated, skipped). A `warning` never
10847
+ * settles an event on its own: mapping and relation caveats are written BEFORE
10848
+ * the final stage's success row, and a retry marker (`warning` with
10849
+ * `will_retry: true`) means the queue will deliver it again. Everything else is
10850
+ * **in flight**. A settled event's outcome is its worst terminal row — `error`
10851
+ * beats `warning` beats `success`.
10852
+ *
10853
+ * Batched so a history page costs one request: pass every run on the page. A run
10854
+ * that has reported nothing yet comes back with `seen: 0`, never omitted.
10855
+ *
10856
+ * The denominator is NOT here: the producer owns it. For an ERP file import it is
10857
+ * `ErpImportProgress.events_published`; `seen` is how many of those have reported
10858
+ * anything yet. Freshness is near-real-time (ClickHouse ingestion lag).
10859
+ *
10860
+ */
10861
+ 'getMonitoringRunCompletionV2'(
10862
+ parameters?: Parameters<Paths.GetMonitoringRunCompletionV2.PathParameters> | null,
10863
+ data?: Paths.GetMonitoringRunCompletionV2.RequestBody,
10864
+ config?: AxiosRequestConfig
10865
+ ): OperationResponse<Paths.GetMonitoringRunCompletionV2.Responses.$200>
10754
10866
  /**
10755
10867
  * listSecureProxies - listSecureProxies
10756
10868
  *
@@ -11821,6 +11933,39 @@ interface PathsDictionary {
11821
11933
  config?: AxiosRequestConfig
11822
11934
  ): OperationResponse<Paths.GetMonitoringTraceByCorrelation.Responses.$200>
11823
11935
  }
11936
+ ['/v2/integrations/{integrationId}/monitoring/runs/completion']: {
11937
+ /**
11938
+ * getMonitoringRunCompletionV2 - getMonitoringRunCompletionV2
11939
+ *
11940
+ * Per-event completion of one or more runs (every monitoring event sharing a
11941
+ * `correlation_id`), each reduced to "how many events have reached a final
11942
+ * outcome, and how many are still going". Unlike `getMonitoringStatsV2`, which
11943
+ * counts rows, this groups `erp_monitoring_v2` by `event_id` first: an event
11944
+ * retried twice and then processed counts once, as a success.
11945
+ *
11946
+ * Per event: it is **settled** once it has a `success` row, a terminal `error`
11947
+ * row (a non-retryable failure, retries exhausted, or the dead-letter closure),
11948
+ * or nothing but informational rows (deduplicated, skipped). A `warning` never
11949
+ * settles an event on its own: mapping and relation caveats are written BEFORE
11950
+ * the final stage's success row, and a retry marker (`warning` with
11951
+ * `will_retry: true`) means the queue will deliver it again. Everything else is
11952
+ * **in flight**. A settled event's outcome is its worst terminal row — `error`
11953
+ * beats `warning` beats `success`.
11954
+ *
11955
+ * Batched so a history page costs one request: pass every run on the page. A run
11956
+ * that has reported nothing yet comes back with `seen: 0`, never omitted.
11957
+ *
11958
+ * The denominator is NOT here: the producer owns it. For an ERP file import it is
11959
+ * `ErpImportProgress.events_published`; `seen` is how many of those have reported
11960
+ * anything yet. Freshness is near-real-time (ClickHouse ingestion lag).
11961
+ *
11962
+ */
11963
+ 'post'(
11964
+ parameters?: Parameters<Paths.GetMonitoringRunCompletionV2.PathParameters> | null,
11965
+ data?: Paths.GetMonitoringRunCompletionV2.RequestBody,
11966
+ config?: AxiosRequestConfig
11967
+ ): OperationResponse<Paths.GetMonitoringRunCompletionV2.Responses.$200>
11968
+ }
11824
11969
  ['/v1/integrations/secure-proxies']: {
11825
11970
  /**
11826
11971
  * listSecureProxies - listSecureProxies
@@ -12116,6 +12261,7 @@ type FileProxyUseCaseHistoryEntry = Components.Schemas.FileProxyUseCaseHistoryEn
12116
12261
  type GenerateTypesPreviewResponse = Components.Schemas.GenerateTypesPreviewResponse;
12117
12262
  type GenerateTypesRequest = Components.Schemas.GenerateTypesRequest;
12118
12263
  type GenerateTypesResponse = Components.Schemas.GenerateTypesResponse;
12264
+ type GetMonitoringRunCompletionV2Request = Components.Schemas.GetMonitoringRunCompletionV2Request;
12119
12265
  type GetMonitoringStatsRequest = Components.Schemas.GetMonitoringStatsRequest;
12120
12266
  type GetMonitoringStatsV2Request = Components.Schemas.GetMonitoringStatsV2Request;
12121
12267
  type GetMonitoringTimeSeriesRequest = Components.Schemas.GetMonitoringTimeSeriesRequest;
@@ -12161,6 +12307,9 @@ type MeterReadingUpdate = Components.Schemas.MeterReadingUpdate;
12161
12307
  type MeterUniqueIdsConfig = Components.Schemas.MeterUniqueIdsConfig;
12162
12308
  type MonitoringCode = Components.Schemas.MonitoringCode;
12163
12309
  type MonitoringEventV2 = Components.Schemas.MonitoringEventV2;
12310
+ type MonitoringRunCompletionV2 = Components.Schemas.MonitoringRunCompletionV2;
12311
+ type MonitoringRunCompletionV2Response = Components.Schemas.MonitoringRunCompletionV2Response;
12312
+ type MonitoringRunEntriesV2 = Components.Schemas.MonitoringRunEntriesV2;
12164
12313
  type MonitoringStats = Components.Schemas.MonitoringStats;
12165
12314
  type MonitoringStatsV2 = Components.Schemas.MonitoringStatsV2;
12166
12315
  type MonitoringTraceResponse = Components.Schemas.MonitoringTraceResponse;
@@ -12255,4 +12404,4 @@ type ValidateErpImportRequest = Components.Schemas.ValidateErpImportRequest;
12255
12404
  type WebhookDeliveryConfig = Components.Schemas.WebhookDeliveryConfig;
12256
12405
  type WebhookStatus = Components.Schemas.WebhookStatus;
12257
12406
 
12258
- 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 ManagedCallUseCaseHistoryEntry 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 InboundUseCase as aA, type InboundUseCaseHistoryEntry as aB, type IngestExternalMonitoringEventsRequest as aC, type IngestExternalMonitoringEventsResponse as aD, type Integration as aE, type IntegrationAppMapping as aF, type IntegrationConfigurationV1 as aG, type IntegrationConfigurationV2 as aH, type IntegrationEditableFields as aI, type IntegrationEntity as aJ, type IntegrationEntityConditional as aK, type IntegrationEntityField as aL, type IntegrationEntityFromRows as aM, type IntegrationFieldV1 as aN, type IntegrationMap as aO, type IntegrationMeterReading as aP, type IntegrationNotificationConfig as aQ, type IntegrationObjectV1 as aR, type IntegrationSettings as aS, type IntegrationWithUseCases as aT, type ManagedCallAuth as aU, type ManagedCallErrorResponse as aV, type ManagedCallExecuteRequest as aW, type ManagedCallExecuteResponse as aX, type ManagedCallOperation as aY, type ManagedCallOperationConfig as aZ, type ManagedCallUseCase 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 GetMonitoringStatsRequest as au, type GetMonitoringStatsV2Request as av, type GetMonitoringTimeSeriesRequest as aw, type GetMonitoringTimeSeriesV2Request as ax, type InboundIntegrationEventConfiguration as ay, type InboundMonitoringEvent as az, type PathsDictionary as b, type SecureProxyResponse as b$, type MappedFieldValue as b0, type MappingSimulationRequest as b1, type MappingSimulationResponse as b2, type MappingSimulationV2Request as b3, type MappingSimulationWarning as b4, type MeterReadingPruneScopeConfig as b5, type MeterReadingPruneScopeUpdate as b6, type MeterReadingUpdate as b7, type MeterUniqueIdsConfig as b8, type MonitoringCode as b9, type PollDeliveryConfig as bA, type PollOutboundMessagesRequest as bB, type PollOutboundMessagesResponse as bC, type PortalOrigin as bD, type PortalRefConfig as bE, type PortalRefFilter as bF, type PruneScopeConfig as bG, type QueryAccessLogsRequest as bH, type QueryEventsRequest as bI, type QueryInboundMonitoringEventsRequest as bJ, type QueryMonitoringEventsV2Request as bK, type QueryOutboundMonitoringEventsRequest as bL, type RedriveOutboundDlqRequest as bM, type RedriveOutboundDlqResponse as bN, type RedriveOutboundDlqResult as bO, type RelationConfig as bP, type RelationItemConfig as bQ, type RelationRefItemConfig as bR, type RelationRefValueConfig as bS, type RelationRefsConfig as bT, type RelationUniqueIdField as bU, type RepeatableFieldType as bV, type ReplayEventsRequest as bW, type RuleBaselineBucket as bX, type RuleBaselineStatus as bY, type S3Reference as bZ, type SecureProxyRequest as b_, type MonitoringEventV2 as ba, type MonitoringStats as bb, type MonitoringStatsV2 as bc, type MonitoringTraceResponse as bd, type NotificationChannelSet as be, type NotificationDigestConfig as bf, type NotificationHistoryItem as bg, type NotificationHistoryResponse as bh, type NotificationRecipient as bi, type NotificationRule as bj, type NotificationRuleStatus as bk, type NotificationStatusResponse as bl, type OutboundConflict as bm, type OutboundDlqListResponse as bn, type OutboundDlqMessage as bo, type OutboundFileProxyTargetStatus as bp, type OutboundIntegrationEventConfiguration as bq, type OutboundMapping as br, type OutboundMappingSimulationError as bs, type OutboundMessage as bt, type OutboundMonitoringEvent as bu, type OutboundPollStatus as bv, type OutboundStatusResponse as bw, type OutboundUseCase as bx, type OutboundUseCaseHistoryEntry as by, type OutboundUseCaseStatus as bz, type AckOutboundMessagesRequest as c, type SecureProxySummary as c0, type SecureProxyUpstreamError as c1, type SecureProxyUseCase as c2, type SecureProxyUseCaseConfiguration as c3, type SecureProxyUseCaseHistoryEntry as c4, type SecureProxyWhitelist as c5, type SecureProxyWhitelistUpdate as c6, type SetIntegrationAppMappingRequest as c7, type SimulateOutboundMappingRequest as c8, type SimulateOutboundMappingResponse as c9, type UseCaseTypePreview as cA, type ValidateErpImportRequest as cB, type WebhookDeliveryConfig as cC, type WebhookStatus as cD, type SuggestErpImportUseCasesResponse as ca, type TestNotificationRequest as cb, type TestNotificationResponse as cc, type TimeSeriesBreakdownItemV2 as cd, type TimeSeriesBucket as ce, type TimeSeriesBucketV2 as cf, type TriggerErpActionRequest as cg, type TriggerWebhookResp as ch, type TypeAnnotations as ci, type TypeDescriptor as cj, type UnblockOutboundStreamRequest as ck, type UnblockOutboundStreamResponse as cl, type UpdateFileProxyUseCaseRequest as cm, type UpdateInboundUseCaseRequest as cn, type UpdateIntegrationRequest as co, type UpdateManagedCallUseCaseRequest as cp, type UpdateOutboundUseCaseRequest as cq, type UpdateSecureProxyUseCaseRequest as cr, type UpdateUseCaseRequest as cs, type UpdateUseCaseRequestBase as ct, type UpsertDocumentationPageRequest as cu, type UpsertIntegrationWithUseCasesRequest as cv, type UseCase as cw, type UseCaseBase as cx, type UseCaseHistoryEntry as cy, type UseCaseHistoryEntryBase 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 };
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 };