@epilot/sdk 2.18.2 → 2.18.4

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 (136) hide show
  1. package/definitions/entity.json +27 -1
  2. package/definitions/integration-toolkit-runtime.json +1 -1
  3. package/definitions/integration-toolkit.json +89 -6
  4. package/dist/apis/access-token.cjs +6 -6
  5. package/dist/apis/access-token.js +1 -1
  6. package/dist/apis/address-suggestions.cjs +6 -6
  7. package/dist/apis/address-suggestions.js +1 -1
  8. package/dist/apis/address.cjs +6 -6
  9. package/dist/apis/address.js +1 -1
  10. package/dist/apis/ai-agents.cjs +6 -6
  11. package/dist/apis/ai-agents.js +1 -1
  12. package/dist/apis/app.cjs +6 -6
  13. package/dist/apis/app.js +1 -1
  14. package/dist/apis/audit-logs.cjs +6 -6
  15. package/dist/apis/audit-logs.js +1 -1
  16. package/dist/apis/automation.cjs +6 -6
  17. package/dist/apis/automation.js +1 -1
  18. package/dist/apis/billing.cjs +6 -6
  19. package/dist/apis/billing.js +1 -1
  20. package/dist/apis/blueprint-manifest.cjs +6 -6
  21. package/dist/apis/blueprint-manifest.js +1 -1
  22. package/dist/apis/calendar.cjs +6 -6
  23. package/dist/apis/calendar.js +1 -1
  24. package/dist/apis/configuration-hub.cjs +6 -6
  25. package/dist/apis/configuration-hub.js +1 -1
  26. package/dist/apis/consent.cjs +6 -6
  27. package/dist/apis/consent.js +1 -1
  28. package/dist/apis/customer-portal.cjs +6 -6
  29. package/dist/apis/customer-portal.js +1 -1
  30. package/dist/apis/dashboard.cjs +6 -6
  31. package/dist/apis/dashboard.js +1 -1
  32. package/dist/apis/data-governance.cjs +6 -6
  33. package/dist/apis/data-governance.js +1 -1
  34. package/dist/apis/deduplication.cjs +6 -6
  35. package/dist/apis/deduplication.js +1 -1
  36. package/dist/apis/design.cjs +6 -6
  37. package/dist/apis/design.js +1 -1
  38. package/dist/apis/document.cjs +6 -6
  39. package/dist/apis/document.js +1 -1
  40. package/dist/apis/email-settings.cjs +6 -6
  41. package/dist/apis/email-settings.js +1 -1
  42. package/dist/apis/email-template.cjs +6 -6
  43. package/dist/apis/email-template.js +1 -1
  44. package/dist/apis/entity-mapping.cjs +6 -6
  45. package/dist/apis/entity-mapping.js +1 -1
  46. package/dist/apis/entity.cjs +6 -6
  47. package/dist/apis/entity.d.cts +2 -2
  48. package/dist/apis/entity.d.ts +2 -2
  49. package/dist/apis/entity.js +1 -1
  50. package/dist/apis/environments.cjs +6 -6
  51. package/dist/apis/environments.js +1 -1
  52. package/dist/apis/event-catalog.cjs +6 -6
  53. package/dist/apis/event-catalog.js +1 -1
  54. package/dist/apis/file.cjs +6 -6
  55. package/dist/apis/file.js +1 -1
  56. package/dist/apis/iban.cjs +6 -6
  57. package/dist/apis/iban.js +1 -1
  58. package/dist/apis/integration-toolkit.cjs +8 -8
  59. package/dist/apis/integration-toolkit.d.cts +2 -2
  60. package/dist/apis/integration-toolkit.d.ts +2 -2
  61. package/dist/apis/integration-toolkit.js +2 -2
  62. package/dist/apis/journey.cjs +6 -6
  63. package/dist/apis/journey.js +1 -1
  64. package/dist/apis/kanban.cjs +6 -6
  65. package/dist/apis/kanban.js +1 -1
  66. package/dist/apis/message.cjs +6 -6
  67. package/dist/apis/message.js +1 -1
  68. package/dist/apis/metering.cjs +6 -6
  69. package/dist/apis/metering.js +1 -1
  70. package/dist/apis/notes.cjs +6 -6
  71. package/dist/apis/notes.js +1 -1
  72. package/dist/apis/notification.cjs +6 -6
  73. package/dist/apis/notification.js +1 -1
  74. package/dist/apis/organization.cjs +6 -6
  75. package/dist/apis/organization.js +1 -1
  76. package/dist/apis/partner-directory.cjs +6 -6
  77. package/dist/apis/partner-directory.js +1 -1
  78. package/dist/apis/permissions.cjs +6 -6
  79. package/dist/apis/permissions.js +1 -1
  80. package/dist/apis/pricing-tier.cjs +6 -6
  81. package/dist/apis/pricing-tier.js +1 -1
  82. package/dist/apis/pricing.cjs +6 -6
  83. package/dist/apis/pricing.js +1 -1
  84. package/dist/apis/purpose.cjs +6 -6
  85. package/dist/apis/purpose.js +1 -1
  86. package/dist/apis/query.cjs +6 -6
  87. package/dist/apis/query.js +1 -1
  88. package/dist/apis/sandbox.cjs +6 -6
  89. package/dist/apis/sandbox.js +1 -1
  90. package/dist/apis/sharing.cjs +6 -6
  91. package/dist/apis/sharing.js +1 -1
  92. package/dist/apis/snapshot.cjs +6 -6
  93. package/dist/apis/snapshot.js +1 -1
  94. package/dist/apis/submission.cjs +6 -6
  95. package/dist/apis/submission.js +1 -1
  96. package/dist/apis/target.cjs +6 -6
  97. package/dist/apis/target.js +1 -1
  98. package/dist/apis/targeting.cjs +6 -6
  99. package/dist/apis/targeting.js +1 -1
  100. package/dist/apis/template-variables.cjs +6 -6
  101. package/dist/apis/template-variables.js +1 -1
  102. package/dist/apis/user.cjs +6 -6
  103. package/dist/apis/user.js +1 -1
  104. package/dist/apis/validation-rules.cjs +6 -6
  105. package/dist/apis/validation-rules.js +1 -1
  106. package/dist/apis/webhooks.cjs +6 -6
  107. package/dist/apis/webhooks.js +1 -1
  108. package/dist/apis/workflow-definition.cjs +6 -6
  109. package/dist/apis/workflow-definition.js +1 -1
  110. package/dist/apis/workflow.cjs +6 -6
  111. package/dist/apis/workflow.js +1 -1
  112. package/dist/{chunk-DEAWSP6H.js → chunk-3FHDY3R5.js} +3 -3
  113. package/dist/{chunk-RJHXXGJ3.js → chunk-5OOGTDF2.js} +1 -1
  114. package/dist/{chunk-TFHLWZHW.cjs → chunk-HUDTRI32.cjs} +3 -3
  115. package/dist/{chunk-QXKCYTF3.cjs → chunk-RXFXAZK3.cjs} +1 -1
  116. package/dist/entity-DBJ2R3UN.js +7 -0
  117. package/dist/entity-HO34WNFK.cjs +7 -0
  118. package/dist/{entity.d-CaFNmDfj.d.cts → entity.d-BOpXYCU2.d.cts} +66 -2
  119. package/dist/{entity.d-CaFNmDfj.d.ts → entity.d-BOpXYCU2.d.ts} +66 -2
  120. package/dist/index.cjs +10 -10
  121. package/dist/index.d.cts +2 -2
  122. package/dist/index.d.ts +2 -2
  123. package/dist/index.js +2 -2
  124. package/dist/integration-toolkit-63NIMAHB.js +7 -0
  125. package/dist/integration-toolkit-7NCK7Z5G.cjs +7 -0
  126. package/dist/{integration-toolkit-runtime-VUOXZ6HU.js → integration-toolkit-runtime-2MBB4EOE.js} +1 -1
  127. package/dist/{integration-toolkit-runtime-PI5G3OXL.cjs → integration-toolkit-runtime-VUI4NCRJ.cjs} +2 -2
  128. package/dist/{integration-toolkit.d-D5HZSNUf.d.cts → integration-toolkit.d-E2nrIdIM.d.cts} +43 -6
  129. package/dist/{integration-toolkit.d-D5HZSNUf.d.ts → integration-toolkit.d-E2nrIdIM.d.ts} +43 -6
  130. package/docs/entity.md +57 -13
  131. package/docs/integration-toolkit.md +79 -12
  132. package/package.json +1 -1
  133. package/dist/entity-IZHQB3JX.js +0 -7
  134. package/dist/entity-MYDUQBEE.cjs +0 -7
  135. package/dist/integration-toolkit-XGP4BIWX.js +0 -7
  136. package/dist/integration-toolkit-ZVBMKUWM.cjs +0 -7
@@ -2031,14 +2031,34 @@ declare namespace Components {
2031
2031
  */
2032
2032
  export interface ErpImportError {
2033
2033
  /**
2034
- * VALIDATION_BLOCKED = blocking row issues (see `validation`); PROCESSING_ERROR = a named, deterministic failure — retrying the same file cannot help; INTERNAL_ERROR = crashed or never started, so retry.
2034
+ * Enum of possible error codes.
2035
+ *
2035
2036
  */
2036
- type: "VALIDATION_BLOCKED" | "PROCESSING_ERROR" | "INTERNAL_ERROR";
2037
+ code: "VALIDATION_BLOCKED" | "FILE_FORMAT_UNSUPPORTED" | "FILE_UNAVAILABLE" | "VALIDATE_TIMEOUT" | "IMPORT_TIMEOUT" | "USE_CASE_NOT_USABLE" | "IMPORT_NO_PROGRESS" | "INTERNAL_ERROR";
2037
2038
  /**
2038
2039
  * User-facing explanation of `type`.
2039
2040
  */
2040
2041
  message: string;
2041
2042
  }
2043
+ /**
2044
+ * A problem found during validation, scoped to the file as a whole rather than to individual rows. See `code` for the kinds reported.
2045
+ */
2046
+ export interface ErpImportIssue {
2047
+ /**
2048
+ * Enum of possible issue codes.
2049
+ *
2050
+ */
2051
+ code: "UNIQUE_ID_COLUMN_MISSING" | "MAPPED_COLUMN_MISSING" | "MALFORMED_ROW" | "INVALID_ENCODING" | "EMPTY_FILE" | "TOO_MANY_ROWS";
2052
+ severity: "warning" | "blocking";
2053
+ /**
2054
+ * User-facing explanation. Lists at most 10 column names; `columns` has all of them.
2055
+ */
2056
+ message: string;
2057
+ /**
2058
+ * The columns this issue is about, so clients render names rather than parsing the message.
2059
+ */
2060
+ columns?: string[];
2061
+ }
2042
2062
  export interface ErpImportJob {
2043
2063
  /**
2044
2064
  * `imp_{ULID}` — time-ordered, also used as the job's correlation_id.
@@ -2054,7 +2074,7 @@ declare namespace Components {
2054
2074
  format: "csv" | "xlsx";
2055
2075
  /**
2056
2076
  * PENDING → VALIDATING → READY → PROCESSING → IMPORTED, with FAILED reachable from any working status, and CANCELLING → CANCELLED reachable from VALIDATING or PROCESSING via :abort. IMPORTED, FAILED and CANCELLED are terminal and final.
2057
- * IMPORTED means every row was handed to the platform, not that the platform finished — per-row outcomes live in monitoring, filtered by correlation_id. A file that fails validation is FAILED with error.type = VALIDATION_BLOCKED.
2077
+ * IMPORTED means every row was handed to the platform, not that the platform finished — per-row outcomes live in monitoring, filtered by correlation_id. A file that fails validation is FAILED with error.code = VALIDATION_BLOCKED.
2058
2078
  * READY is legitimately idle for as long as the user takes to confirm, so it carries no running work and never goes stale.
2059
2079
  * CANCELLING is transient and cooperative: the abort has been recorded but the worker only notices at its next batch boundary. Rows already published stay published — a stop is not a rollback.
2060
2080
  */
@@ -2112,6 +2132,10 @@ declare namespace Components {
2112
2132
  entities: {
2113
2133
  [name: string]: number;
2114
2134
  };
2135
+ /**
2136
+ * Whole-file issues. At most 20 are kept; the count of everything found is in blocking and warnings. Warnings here are what `ack_warnings` on `:execute` acknowledges.
2137
+ */
2138
+ issues?: /* A problem found during validation, scoped to the file as a whole rather than to individual rows. See `code` for the kinds reported. */ ErpImportIssue[];
2115
2139
  }
2116
2140
  export interface ErpUpdatesEventsV2Request {
2117
2141
  /**
@@ -2178,6 +2202,15 @@ declare namespace Components {
2178
2202
  */
2179
2203
  message?: string;
2180
2204
  }
2205
+ /**
2206
+ * Confirmation options. Required only when the verdict carries warnings — a clean import needs no body at all.
2207
+ */
2208
+ export interface ExecuteErpImportRequest {
2209
+ /**
2210
+ * The caller has seen `validation.issues` and accepts them. Required when `validation.warnings` is greater than 0; ignored otherwise.
2211
+ */
2212
+ ack_warnings?: boolean;
2213
+ }
2181
2214
  /**
2182
2215
  * A single monitoring span produced by an external system. `correlation_id`, `level`, `use_case_slug`, `occurred_at` and `message` are all required and `level` must be one of success|error|warning|info — but these are validated PER SPAN at ingest and reported in the per-item `results[]`, so one malformed span never fails the whole batch (the fields are intentionally not marked `required`/`enum` at the schema level to preserve that partial-acceptance behavior). The client does NOT send a `code` (server-assigned from `level`), a `source` (origin is the EXTERNAL_* code prefix), or span/event ids (the external system owns its own identity and dedup).
2183
2216
  *
@@ -6926,11 +6959,13 @@ declare namespace Paths {
6926
6959
  export interface PathParameters {
6927
6960
  importId: Parameters.ImportId;
6928
6961
  }
6962
+ export type RequestBody = /* Confirmation options. Required only when the verdict carries warnings — a clean import needs no body at all. */ Components.Schemas.ExecuteErpImportRequest;
6929
6963
  namespace Responses {
6930
6964
  export type $200 = Components.Schemas.ErpImportJob;
6931
6965
  export type $403 = Components.Responses.Forbidden;
6932
6966
  export type $404 = Components.Responses.NotFound;
6933
6967
  export type $409 = Components.Responses.Conflict;
6968
+ export type $422 = Components.Schemas.ErrorResponseBase;
6934
6969
  export type $500 = Components.Responses.InternalServerError;
6935
6970
  }
6936
6971
  }
@@ -8538,7 +8573,7 @@ interface OperationMethods {
8538
8573
  */
8539
8574
  'executeErpImport'(
8540
8575
  parameters?: Parameters<Paths.ExecuteErpImport.PathParameters> | null,
8541
- data?: any,
8576
+ data?: Paths.ExecuteErpImport.RequestBody,
8542
8577
  config?: AxiosRequestConfig
8543
8578
  ): OperationResponse<Paths.ExecuteErpImport.Responses.$200>
8544
8579
  /**
@@ -9420,7 +9455,7 @@ interface PathsDictionary {
9420
9455
  */
9421
9456
  'post'(
9422
9457
  parameters?: Parameters<Paths.ExecuteErpImport.PathParameters> | null,
9423
- data?: any,
9458
+ data?: Paths.ExecuteErpImport.RequestBody,
9424
9459
  config?: AxiosRequestConfig
9425
9460
  ): OperationResponse<Paths.ExecuteErpImport.Responses.$200>
9426
9461
  }
@@ -9477,6 +9512,7 @@ type EnvironmentFieldConfig = Components.Schemas.EnvironmentFieldConfig;
9477
9512
  type ErpEvent = Components.Schemas.ErpEvent;
9478
9513
  type ErpEventV3 = Components.Schemas.ErpEventV3;
9479
9514
  type ErpImportError = Components.Schemas.ErpImportError;
9515
+ type ErpImportIssue = Components.Schemas.ErpImportIssue;
9480
9516
  type ErpImportJob = Components.Schemas.ErpImportJob;
9481
9517
  type ErpImportList = Components.Schemas.ErpImportList;
9482
9518
  type ErpImportProgress = Components.Schemas.ErpImportProgress;
@@ -9484,6 +9520,7 @@ type ErpImportValidation = Components.Schemas.ErpImportValidation;
9484
9520
  type ErpUpdatesEventsV2Request = Components.Schemas.ErpUpdatesEventsV2Request;
9485
9521
  type ErpUpdatesEventsV3Request = Components.Schemas.ErpUpdatesEventsV3Request;
9486
9522
  type ErrorResponseBase = Components.Schemas.ErrorResponseBase;
9523
+ type ExecuteErpImportRequest = Components.Schemas.ExecuteErpImportRequest;
9487
9524
  type ExternalMonitoringSpan = Components.Schemas.ExternalMonitoringSpan;
9488
9525
  type FileProxyAuth = Components.Schemas.FileProxyAuth;
9489
9526
  type FileProxyParam = Components.Schemas.FileProxyParam;
@@ -9626,4 +9663,4 @@ type UseCaseTypePreview = Components.Schemas.UseCaseTypePreview;
9626
9663
  type WebhookDeliveryConfig = Components.Schemas.WebhookDeliveryConfig;
9627
9664
  type WebhookStatus = Components.Schemas.WebhookStatus;
9628
9665
 
9629
- export { type FileProxyUrlParam as $, type AccessLogEntry as A, type EntityPruneScopeUpdate as B, type Client as C, type DeleteIntegrationAppMappingRequest as D, type EmbeddedFileProxyUseCaseRequest as E, type EntityUpdate as F, type EnvVarRefConfig as G, type EnvironmentFieldConfig as H, type ErpEvent as I, type ErpEventV3 as J, type ErpImportError as K, type ErpImportJob as L, type ErpImportList as M, type ErpImportProgress as N, type OperationMethods as O, Paths as P, type ErpImportValidation as Q, type ErpUpdatesEventsV2Request as R, type ErpUpdatesEventsV3Request as S, type ErrorResponseBase as T, type ExternalMonitoringSpan as U, type FileProxyAuth as V, type FileProxyParam as W, type FileProxyResponseConfig as X, type FileProxySecureProxyAttachment as Y, type FileProxyStep as Z, type FileProxyUrlConfig as _, Components as a, type OutboundMessage as a$, type FileProxyUrlParams as a0, type FileProxyUseCase as a1, type FileProxyUseCaseConfiguration as a2, type FileProxyUseCaseHistoryEntry as a3, type GenerateTypesPreviewResponse as a4, type GenerateTypesRequest as a5, type GenerateTypesResponse as a6, type GetMonitoringStatsRequest as a7, type GetMonitoringStatsV2Request as a8, type GetMonitoringTimeSeriesRequest as a9, type ManagedCallUseCase as aA, type ManagedCallUseCaseHistoryEntry as aB, type MappingSimulationRequest as aC, type MappingSimulationResponse as aD, type MappingSimulationV2Request as aE, type MappingSimulationWarning as aF, type MeterReadingPruneScopeConfig as aG, type MeterReadingPruneScopeUpdate as aH, type MeterReadingUpdate as aI, type MeterUniqueIdsConfig as aJ, type MonitoringEventV2 as aK, type MonitoringStats as aL, type MonitoringStatsV2 as aM, type MonitoringTraceResponse as aN, type NotificationChannelSet as aO, type NotificationDigestConfig as aP, type NotificationHistoryItem as aQ, type NotificationHistoryResponse as aR, type NotificationRecipient as aS, type NotificationRule as aT, type NotificationRuleStatus as aU, type NotificationStatusResponse as aV, type OutboundConflict as aW, type OutboundDlqListResponse as aX, type OutboundDlqMessage as aY, type OutboundIntegrationEventConfiguration as aZ, type OutboundMapping as a_, type GetMonitoringTimeSeriesV2Request as aa, type InboundIntegrationEventConfiguration as ab, type InboundMonitoringEvent as ac, type InboundUseCase as ad, type InboundUseCaseHistoryEntry as ae, type IngestExternalMonitoringEventsRequest as af, type IngestExternalMonitoringEventsResponse as ag, type Integration as ah, type IntegrationAppMapping as ai, type IntegrationConfigurationV1 as aj, type IntegrationConfigurationV2 as ak, type IntegrationEditableFields as al, type IntegrationEntity as am, type IntegrationEntityField as an, type IntegrationFieldV1 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 PathsDictionary as b, type UseCaseBase as b$, type OutboundMonitoringEvent as b0, type OutboundPollStatus as b1, type OutboundStatusResponse as b2, type OutboundUseCase as b3, type OutboundUseCaseHistoryEntry as b4, type OutboundUseCaseStatus as b5, type PollDeliveryConfig as b6, type PollOutboundMessagesRequest as b7, type PollOutboundMessagesResponse as b8, type PortalOrigin as b9, type SecureProxyUseCase as bA, type SecureProxyUseCaseConfiguration as bB, type SecureProxyUseCaseHistoryEntry as bC, type SecureProxyWhitelist as bD, type SecureProxyWhitelistUpdate as bE, type SetIntegrationAppMappingRequest as bF, type TestNotificationRequest as bG, type TestNotificationResponse as bH, type TimeSeriesBreakdownItemV2 as bI, type TimeSeriesBucket as bJ, type TimeSeriesBucketV2 as bK, type TriggerErpActionRequest as bL, type TriggerWebhookResp as bM, type TypeAnnotations as bN, type TypeDescriptor as bO, type UnblockOutboundStreamRequest as bP, type UnblockOutboundStreamResponse as bQ, type UpdateFileProxyUseCaseRequest as bR, type UpdateInboundUseCaseRequest as bS, type UpdateIntegrationRequest as bT, type UpdateManagedCallUseCaseRequest as bU, type UpdateOutboundUseCaseRequest as bV, type UpdateSecureProxyUseCaseRequest as bW, type UpdateUseCaseRequest as bX, type UpdateUseCaseRequestBase as bY, type UpsertIntegrationWithUseCasesRequest as bZ, type UseCase as b_, type PortalRefConfig as ba, type PortalRefFilter as bb, type PruneScopeConfig as bc, type QueryAccessLogsRequest as bd, type QueryEventsRequest as be, type QueryInboundMonitoringEventsRequest as bf, type QueryMonitoringEventsV2Request as bg, type QueryOutboundMonitoringEventsRequest as bh, type RedriveOutboundDlqRequest as bi, type RedriveOutboundDlqResponse as bj, type RedriveOutboundDlqResult as bk, type RelationConfig as bl, type RelationItemConfig as bm, type RelationRefItemConfig as bn, type RelationRefValueConfig as bo, type RelationRefsConfig as bp, type RelationUniqueIdField as bq, type RepeatableFieldType as br, type ReplayEventsRequest as bs, type RuleBaselineBucket as bt, type RuleBaselineStatus as bu, type S3Reference as bv, type SecureProxyRequest as bw, type SecureProxyResponse as bx, type SecureProxySummary as by, type SecureProxyUpstreamError as bz, type AckOutboundMessagesRequest as c, type UseCaseHistoryEntry as c0, type UseCaseHistoryEntryBase as c1, type UseCaseTypePreview as c2, type WebhookDeliveryConfig as c3, type WebhookStatus as c4, 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 EmbeddedInboundUseCaseRequest as u, type EmbeddedManagedCallUseCaseRequest as v, type EmbeddedOutboundUseCaseRequest as w, type EmbeddedSecureProxyUseCaseRequest as x, type EmbeddedUseCaseRequest as y, type EmbeddedUseCaseRequestBase as z };
9666
+ export { type FileProxyStep as $, type AccessLogEntry as A, type EntityPruneScopeUpdate as B, type Client as C, type DeleteIntegrationAppMappingRequest as D, type EmbeddedFileProxyUseCaseRequest as E, type EntityUpdate as F, type EnvVarRefConfig as G, type EnvironmentFieldConfig as H, type ErpEvent as I, type ErpEventV3 as J, type ErpImportError as K, type ErpImportIssue as L, type ErpImportJob as M, type ErpImportList as N, type OperationMethods as O, Paths as P, type ErpImportProgress as Q, type ErpImportValidation as R, type ErpUpdatesEventsV2Request as S, type ErpUpdatesEventsV3Request as T, type ErrorResponseBase as U, type ExecuteErpImportRequest as V, type ExternalMonitoringSpan as W, type FileProxyAuth as X, type FileProxyParam as Y, type FileProxyResponseConfig as Z, type FileProxySecureProxyAttachment as _, Components as a, type OutboundIntegrationEventConfiguration as a$, type FileProxyUrlConfig as a0, type FileProxyUrlParam as a1, type FileProxyUrlParams as a2, type FileProxyUseCase as a3, type FileProxyUseCaseConfiguration as a4, type FileProxyUseCaseHistoryEntry as a5, type GenerateTypesPreviewResponse as a6, type GenerateTypesRequest as a7, type GenerateTypesResponse as a8, type GetMonitoringStatsRequest as a9, type ManagedCallOperation as aA, type ManagedCallOperationConfig as aB, type ManagedCallUseCase as aC, type ManagedCallUseCaseHistoryEntry as aD, type MappingSimulationRequest as aE, type MappingSimulationResponse as aF, type MappingSimulationV2Request as aG, type MappingSimulationWarning as aH, type MeterReadingPruneScopeConfig as aI, type MeterReadingPruneScopeUpdate as aJ, type MeterReadingUpdate as aK, type MeterUniqueIdsConfig as aL, type MonitoringEventV2 as aM, type MonitoringStats as aN, type MonitoringStatsV2 as aO, type MonitoringTraceResponse as aP, type NotificationChannelSet as aQ, type NotificationDigestConfig as aR, type NotificationHistoryItem as aS, type NotificationHistoryResponse as aT, type NotificationRecipient as aU, type NotificationRule as aV, type NotificationRuleStatus as aW, type NotificationStatusResponse as aX, type OutboundConflict as aY, type OutboundDlqListResponse as aZ, type OutboundDlqMessage as a_, type GetMonitoringStatsV2Request as aa, type GetMonitoringTimeSeriesRequest as ab, type GetMonitoringTimeSeriesV2Request as ac, type InboundIntegrationEventConfiguration as ad, type InboundMonitoringEvent as ae, type InboundUseCase as af, type InboundUseCaseHistoryEntry as ag, type IngestExternalMonitoringEventsRequest as ah, type IngestExternalMonitoringEventsResponse as ai, type Integration as aj, type IntegrationAppMapping as ak, type IntegrationConfigurationV1 as al, type IntegrationConfigurationV2 as am, type IntegrationEditableFields as an, type IntegrationEntity as ao, type IntegrationEntityField as ap, type IntegrationFieldV1 as aq, type IntegrationMeterReading as ar, type IntegrationNotificationConfig as as, type IntegrationObjectV1 as at, type IntegrationSettings as au, type IntegrationWithUseCases as av, type ManagedCallAuth as aw, type ManagedCallErrorResponse as ax, type ManagedCallExecuteRequest as ay, type ManagedCallExecuteResponse as az, type PathsDictionary as b, type UpsertIntegrationWithUseCasesRequest as b$, type OutboundMapping as b0, type OutboundMessage as b1, type OutboundMonitoringEvent as b2, type OutboundPollStatus as b3, type OutboundStatusResponse as b4, type OutboundUseCase as b5, type OutboundUseCaseHistoryEntry as b6, type OutboundUseCaseStatus as b7, type PollDeliveryConfig as b8, type PollOutboundMessagesRequest as b9, type SecureProxySummary as bA, type SecureProxyUpstreamError as bB, type SecureProxyUseCase as bC, type SecureProxyUseCaseConfiguration as bD, type SecureProxyUseCaseHistoryEntry as bE, type SecureProxyWhitelist as bF, type SecureProxyWhitelistUpdate as bG, type SetIntegrationAppMappingRequest as bH, type TestNotificationRequest as bI, type TestNotificationResponse as bJ, type TimeSeriesBreakdownItemV2 as bK, type TimeSeriesBucket as bL, type TimeSeriesBucketV2 as bM, type TriggerErpActionRequest as bN, type TriggerWebhookResp as bO, type TypeAnnotations as bP, type TypeDescriptor as bQ, type UnblockOutboundStreamRequest as bR, type UnblockOutboundStreamResponse as bS, type UpdateFileProxyUseCaseRequest as bT, type UpdateInboundUseCaseRequest as bU, type UpdateIntegrationRequest as bV, type UpdateManagedCallUseCaseRequest as bW, type UpdateOutboundUseCaseRequest as bX, type UpdateSecureProxyUseCaseRequest as bY, type UpdateUseCaseRequest as bZ, type UpdateUseCaseRequestBase as b_, type PollOutboundMessagesResponse as ba, type PortalOrigin as bb, type PortalRefConfig as bc, type PortalRefFilter as bd, type PruneScopeConfig as be, type QueryAccessLogsRequest as bf, type QueryEventsRequest as bg, type QueryInboundMonitoringEventsRequest as bh, type QueryMonitoringEventsV2Request as bi, type QueryOutboundMonitoringEventsRequest as bj, type RedriveOutboundDlqRequest as bk, type RedriveOutboundDlqResponse as bl, type RedriveOutboundDlqResult as bm, type RelationConfig as bn, type RelationItemConfig as bo, type RelationRefItemConfig as bp, type RelationRefValueConfig as bq, type RelationRefsConfig as br, type RelationUniqueIdField as bs, type RepeatableFieldType as bt, type ReplayEventsRequest as bu, type RuleBaselineBucket as bv, type RuleBaselineStatus as bw, type S3Reference as bx, type SecureProxyRequest as by, type SecureProxyResponse as bz, type AckOutboundMessagesRequest as c, type UseCase as c0, type UseCaseBase as c1, type UseCaseHistoryEntry as c2, type UseCaseHistoryEntryBase as c3, type UseCaseTypePreview as c4, type WebhookDeliveryConfig as c5, type WebhookStatus as c6, 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 EmbeddedInboundUseCaseRequest as u, type EmbeddedManagedCallUseCaseRequest as v, type EmbeddedOutboundUseCaseRequest as w, type EmbeddedSecureProxyUseCaseRequest as x, type EmbeddedUseCaseRequest as y, type EmbeddedUseCaseRequestBase as z };
@@ -2031,14 +2031,34 @@ declare namespace Components {
2031
2031
  */
2032
2032
  export interface ErpImportError {
2033
2033
  /**
2034
- * VALIDATION_BLOCKED = blocking row issues (see `validation`); PROCESSING_ERROR = a named, deterministic failure — retrying the same file cannot help; INTERNAL_ERROR = crashed or never started, so retry.
2034
+ * Enum of possible error codes.
2035
+ *
2035
2036
  */
2036
- type: "VALIDATION_BLOCKED" | "PROCESSING_ERROR" | "INTERNAL_ERROR";
2037
+ code: "VALIDATION_BLOCKED" | "FILE_FORMAT_UNSUPPORTED" | "FILE_UNAVAILABLE" | "VALIDATE_TIMEOUT" | "IMPORT_TIMEOUT" | "USE_CASE_NOT_USABLE" | "IMPORT_NO_PROGRESS" | "INTERNAL_ERROR";
2037
2038
  /**
2038
2039
  * User-facing explanation of `type`.
2039
2040
  */
2040
2041
  message: string;
2041
2042
  }
2043
+ /**
2044
+ * A problem found during validation, scoped to the file as a whole rather than to individual rows. See `code` for the kinds reported.
2045
+ */
2046
+ export interface ErpImportIssue {
2047
+ /**
2048
+ * Enum of possible issue codes.
2049
+ *
2050
+ */
2051
+ code: "UNIQUE_ID_COLUMN_MISSING" | "MAPPED_COLUMN_MISSING" | "MALFORMED_ROW" | "INVALID_ENCODING" | "EMPTY_FILE" | "TOO_MANY_ROWS";
2052
+ severity: "warning" | "blocking";
2053
+ /**
2054
+ * User-facing explanation. Lists at most 10 column names; `columns` has all of them.
2055
+ */
2056
+ message: string;
2057
+ /**
2058
+ * The columns this issue is about, so clients render names rather than parsing the message.
2059
+ */
2060
+ columns?: string[];
2061
+ }
2042
2062
  export interface ErpImportJob {
2043
2063
  /**
2044
2064
  * `imp_{ULID}` — time-ordered, also used as the job's correlation_id.
@@ -2054,7 +2074,7 @@ declare namespace Components {
2054
2074
  format: "csv" | "xlsx";
2055
2075
  /**
2056
2076
  * PENDING → VALIDATING → READY → PROCESSING → IMPORTED, with FAILED reachable from any working status, and CANCELLING → CANCELLED reachable from VALIDATING or PROCESSING via :abort. IMPORTED, FAILED and CANCELLED are terminal and final.
2057
- * IMPORTED means every row was handed to the platform, not that the platform finished — per-row outcomes live in monitoring, filtered by correlation_id. A file that fails validation is FAILED with error.type = VALIDATION_BLOCKED.
2077
+ * IMPORTED means every row was handed to the platform, not that the platform finished — per-row outcomes live in monitoring, filtered by correlation_id. A file that fails validation is FAILED with error.code = VALIDATION_BLOCKED.
2058
2078
  * READY is legitimately idle for as long as the user takes to confirm, so it carries no running work and never goes stale.
2059
2079
  * CANCELLING is transient and cooperative: the abort has been recorded but the worker only notices at its next batch boundary. Rows already published stay published — a stop is not a rollback.
2060
2080
  */
@@ -2112,6 +2132,10 @@ declare namespace Components {
2112
2132
  entities: {
2113
2133
  [name: string]: number;
2114
2134
  };
2135
+ /**
2136
+ * Whole-file issues. At most 20 are kept; the count of everything found is in blocking and warnings. Warnings here are what `ack_warnings` on `:execute` acknowledges.
2137
+ */
2138
+ issues?: /* A problem found during validation, scoped to the file as a whole rather than to individual rows. See `code` for the kinds reported. */ ErpImportIssue[];
2115
2139
  }
2116
2140
  export interface ErpUpdatesEventsV2Request {
2117
2141
  /**
@@ -2178,6 +2202,15 @@ declare namespace Components {
2178
2202
  */
2179
2203
  message?: string;
2180
2204
  }
2205
+ /**
2206
+ * Confirmation options. Required only when the verdict carries warnings — a clean import needs no body at all.
2207
+ */
2208
+ export interface ExecuteErpImportRequest {
2209
+ /**
2210
+ * The caller has seen `validation.issues` and accepts them. Required when `validation.warnings` is greater than 0; ignored otherwise.
2211
+ */
2212
+ ack_warnings?: boolean;
2213
+ }
2181
2214
  /**
2182
2215
  * A single monitoring span produced by an external system. `correlation_id`, `level`, `use_case_slug`, `occurred_at` and `message` are all required and `level` must be one of success|error|warning|info — but these are validated PER SPAN at ingest and reported in the per-item `results[]`, so one malformed span never fails the whole batch (the fields are intentionally not marked `required`/`enum` at the schema level to preserve that partial-acceptance behavior). The client does NOT send a `code` (server-assigned from `level`), a `source` (origin is the EXTERNAL_* code prefix), or span/event ids (the external system owns its own identity and dedup).
2183
2216
  *
@@ -6926,11 +6959,13 @@ declare namespace Paths {
6926
6959
  export interface PathParameters {
6927
6960
  importId: Parameters.ImportId;
6928
6961
  }
6962
+ export type RequestBody = /* Confirmation options. Required only when the verdict carries warnings — a clean import needs no body at all. */ Components.Schemas.ExecuteErpImportRequest;
6929
6963
  namespace Responses {
6930
6964
  export type $200 = Components.Schemas.ErpImportJob;
6931
6965
  export type $403 = Components.Responses.Forbidden;
6932
6966
  export type $404 = Components.Responses.NotFound;
6933
6967
  export type $409 = Components.Responses.Conflict;
6968
+ export type $422 = Components.Schemas.ErrorResponseBase;
6934
6969
  export type $500 = Components.Responses.InternalServerError;
6935
6970
  }
6936
6971
  }
@@ -8538,7 +8573,7 @@ interface OperationMethods {
8538
8573
  */
8539
8574
  'executeErpImport'(
8540
8575
  parameters?: Parameters<Paths.ExecuteErpImport.PathParameters> | null,
8541
- data?: any,
8576
+ data?: Paths.ExecuteErpImport.RequestBody,
8542
8577
  config?: AxiosRequestConfig
8543
8578
  ): OperationResponse<Paths.ExecuteErpImport.Responses.$200>
8544
8579
  /**
@@ -9420,7 +9455,7 @@ interface PathsDictionary {
9420
9455
  */
9421
9456
  'post'(
9422
9457
  parameters?: Parameters<Paths.ExecuteErpImport.PathParameters> | null,
9423
- data?: any,
9458
+ data?: Paths.ExecuteErpImport.RequestBody,
9424
9459
  config?: AxiosRequestConfig
9425
9460
  ): OperationResponse<Paths.ExecuteErpImport.Responses.$200>
9426
9461
  }
@@ -9477,6 +9512,7 @@ type EnvironmentFieldConfig = Components.Schemas.EnvironmentFieldConfig;
9477
9512
  type ErpEvent = Components.Schemas.ErpEvent;
9478
9513
  type ErpEventV3 = Components.Schemas.ErpEventV3;
9479
9514
  type ErpImportError = Components.Schemas.ErpImportError;
9515
+ type ErpImportIssue = Components.Schemas.ErpImportIssue;
9480
9516
  type ErpImportJob = Components.Schemas.ErpImportJob;
9481
9517
  type ErpImportList = Components.Schemas.ErpImportList;
9482
9518
  type ErpImportProgress = Components.Schemas.ErpImportProgress;
@@ -9484,6 +9520,7 @@ type ErpImportValidation = Components.Schemas.ErpImportValidation;
9484
9520
  type ErpUpdatesEventsV2Request = Components.Schemas.ErpUpdatesEventsV2Request;
9485
9521
  type ErpUpdatesEventsV3Request = Components.Schemas.ErpUpdatesEventsV3Request;
9486
9522
  type ErrorResponseBase = Components.Schemas.ErrorResponseBase;
9523
+ type ExecuteErpImportRequest = Components.Schemas.ExecuteErpImportRequest;
9487
9524
  type ExternalMonitoringSpan = Components.Schemas.ExternalMonitoringSpan;
9488
9525
  type FileProxyAuth = Components.Schemas.FileProxyAuth;
9489
9526
  type FileProxyParam = Components.Schemas.FileProxyParam;
@@ -9626,4 +9663,4 @@ type UseCaseTypePreview = Components.Schemas.UseCaseTypePreview;
9626
9663
  type WebhookDeliveryConfig = Components.Schemas.WebhookDeliveryConfig;
9627
9664
  type WebhookStatus = Components.Schemas.WebhookStatus;
9628
9665
 
9629
- export { type FileProxyUrlParam as $, type AccessLogEntry as A, type EntityPruneScopeUpdate as B, type Client as C, type DeleteIntegrationAppMappingRequest as D, type EmbeddedFileProxyUseCaseRequest as E, type EntityUpdate as F, type EnvVarRefConfig as G, type EnvironmentFieldConfig as H, type ErpEvent as I, type ErpEventV3 as J, type ErpImportError as K, type ErpImportJob as L, type ErpImportList as M, type ErpImportProgress as N, type OperationMethods as O, Paths as P, type ErpImportValidation as Q, type ErpUpdatesEventsV2Request as R, type ErpUpdatesEventsV3Request as S, type ErrorResponseBase as T, type ExternalMonitoringSpan as U, type FileProxyAuth as V, type FileProxyParam as W, type FileProxyResponseConfig as X, type FileProxySecureProxyAttachment as Y, type FileProxyStep as Z, type FileProxyUrlConfig as _, Components as a, type OutboundMessage as a$, type FileProxyUrlParams as a0, type FileProxyUseCase as a1, type FileProxyUseCaseConfiguration as a2, type FileProxyUseCaseHistoryEntry as a3, type GenerateTypesPreviewResponse as a4, type GenerateTypesRequest as a5, type GenerateTypesResponse as a6, type GetMonitoringStatsRequest as a7, type GetMonitoringStatsV2Request as a8, type GetMonitoringTimeSeriesRequest as a9, type ManagedCallUseCase as aA, type ManagedCallUseCaseHistoryEntry as aB, type MappingSimulationRequest as aC, type MappingSimulationResponse as aD, type MappingSimulationV2Request as aE, type MappingSimulationWarning as aF, type MeterReadingPruneScopeConfig as aG, type MeterReadingPruneScopeUpdate as aH, type MeterReadingUpdate as aI, type MeterUniqueIdsConfig as aJ, type MonitoringEventV2 as aK, type MonitoringStats as aL, type MonitoringStatsV2 as aM, type MonitoringTraceResponse as aN, type NotificationChannelSet as aO, type NotificationDigestConfig as aP, type NotificationHistoryItem as aQ, type NotificationHistoryResponse as aR, type NotificationRecipient as aS, type NotificationRule as aT, type NotificationRuleStatus as aU, type NotificationStatusResponse as aV, type OutboundConflict as aW, type OutboundDlqListResponse as aX, type OutboundDlqMessage as aY, type OutboundIntegrationEventConfiguration as aZ, type OutboundMapping as a_, type GetMonitoringTimeSeriesV2Request as aa, type InboundIntegrationEventConfiguration as ab, type InboundMonitoringEvent as ac, type InboundUseCase as ad, type InboundUseCaseHistoryEntry as ae, type IngestExternalMonitoringEventsRequest as af, type IngestExternalMonitoringEventsResponse as ag, type Integration as ah, type IntegrationAppMapping as ai, type IntegrationConfigurationV1 as aj, type IntegrationConfigurationV2 as ak, type IntegrationEditableFields as al, type IntegrationEntity as am, type IntegrationEntityField as an, type IntegrationFieldV1 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 PathsDictionary as b, type UseCaseBase as b$, type OutboundMonitoringEvent as b0, type OutboundPollStatus as b1, type OutboundStatusResponse as b2, type OutboundUseCase as b3, type OutboundUseCaseHistoryEntry as b4, type OutboundUseCaseStatus as b5, type PollDeliveryConfig as b6, type PollOutboundMessagesRequest as b7, type PollOutboundMessagesResponse as b8, type PortalOrigin as b9, type SecureProxyUseCase as bA, type SecureProxyUseCaseConfiguration as bB, type SecureProxyUseCaseHistoryEntry as bC, type SecureProxyWhitelist as bD, type SecureProxyWhitelistUpdate as bE, type SetIntegrationAppMappingRequest as bF, type TestNotificationRequest as bG, type TestNotificationResponse as bH, type TimeSeriesBreakdownItemV2 as bI, type TimeSeriesBucket as bJ, type TimeSeriesBucketV2 as bK, type TriggerErpActionRequest as bL, type TriggerWebhookResp as bM, type TypeAnnotations as bN, type TypeDescriptor as bO, type UnblockOutboundStreamRequest as bP, type UnblockOutboundStreamResponse as bQ, type UpdateFileProxyUseCaseRequest as bR, type UpdateInboundUseCaseRequest as bS, type UpdateIntegrationRequest as bT, type UpdateManagedCallUseCaseRequest as bU, type UpdateOutboundUseCaseRequest as bV, type UpdateSecureProxyUseCaseRequest as bW, type UpdateUseCaseRequest as bX, type UpdateUseCaseRequestBase as bY, type UpsertIntegrationWithUseCasesRequest as bZ, type UseCase as b_, type PortalRefConfig as ba, type PortalRefFilter as bb, type PruneScopeConfig as bc, type QueryAccessLogsRequest as bd, type QueryEventsRequest as be, type QueryInboundMonitoringEventsRequest as bf, type QueryMonitoringEventsV2Request as bg, type QueryOutboundMonitoringEventsRequest as bh, type RedriveOutboundDlqRequest as bi, type RedriveOutboundDlqResponse as bj, type RedriveOutboundDlqResult as bk, type RelationConfig as bl, type RelationItemConfig as bm, type RelationRefItemConfig as bn, type RelationRefValueConfig as bo, type RelationRefsConfig as bp, type RelationUniqueIdField as bq, type RepeatableFieldType as br, type ReplayEventsRequest as bs, type RuleBaselineBucket as bt, type RuleBaselineStatus as bu, type S3Reference as bv, type SecureProxyRequest as bw, type SecureProxyResponse as bx, type SecureProxySummary as by, type SecureProxyUpstreamError as bz, type AckOutboundMessagesRequest as c, type UseCaseHistoryEntry as c0, type UseCaseHistoryEntryBase as c1, type UseCaseTypePreview as c2, type WebhookDeliveryConfig as c3, type WebhookStatus as c4, 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 EmbeddedInboundUseCaseRequest as u, type EmbeddedManagedCallUseCaseRequest as v, type EmbeddedOutboundUseCaseRequest as w, type EmbeddedSecureProxyUseCaseRequest as x, type EmbeddedUseCaseRequest as y, type EmbeddedUseCaseRequestBase as z };
9666
+ export { type FileProxyStep as $, type AccessLogEntry as A, type EntityPruneScopeUpdate as B, type Client as C, type DeleteIntegrationAppMappingRequest as D, type EmbeddedFileProxyUseCaseRequest as E, type EntityUpdate as F, type EnvVarRefConfig as G, type EnvironmentFieldConfig as H, type ErpEvent as I, type ErpEventV3 as J, type ErpImportError as K, type ErpImportIssue as L, type ErpImportJob as M, type ErpImportList as N, type OperationMethods as O, Paths as P, type ErpImportProgress as Q, type ErpImportValidation as R, type ErpUpdatesEventsV2Request as S, type ErpUpdatesEventsV3Request as T, type ErrorResponseBase as U, type ExecuteErpImportRequest as V, type ExternalMonitoringSpan as W, type FileProxyAuth as X, type FileProxyParam as Y, type FileProxyResponseConfig as Z, type FileProxySecureProxyAttachment as _, Components as a, type OutboundIntegrationEventConfiguration as a$, type FileProxyUrlConfig as a0, type FileProxyUrlParam as a1, type FileProxyUrlParams as a2, type FileProxyUseCase as a3, type FileProxyUseCaseConfiguration as a4, type FileProxyUseCaseHistoryEntry as a5, type GenerateTypesPreviewResponse as a6, type GenerateTypesRequest as a7, type GenerateTypesResponse as a8, type GetMonitoringStatsRequest as a9, type ManagedCallOperation as aA, type ManagedCallOperationConfig as aB, type ManagedCallUseCase as aC, type ManagedCallUseCaseHistoryEntry as aD, type MappingSimulationRequest as aE, type MappingSimulationResponse as aF, type MappingSimulationV2Request as aG, type MappingSimulationWarning as aH, type MeterReadingPruneScopeConfig as aI, type MeterReadingPruneScopeUpdate as aJ, type MeterReadingUpdate as aK, type MeterUniqueIdsConfig as aL, type MonitoringEventV2 as aM, type MonitoringStats as aN, type MonitoringStatsV2 as aO, type MonitoringTraceResponse as aP, type NotificationChannelSet as aQ, type NotificationDigestConfig as aR, type NotificationHistoryItem as aS, type NotificationHistoryResponse as aT, type NotificationRecipient as aU, type NotificationRule as aV, type NotificationRuleStatus as aW, type NotificationStatusResponse as aX, type OutboundConflict as aY, type OutboundDlqListResponse as aZ, type OutboundDlqMessage as a_, type GetMonitoringStatsV2Request as aa, type GetMonitoringTimeSeriesRequest as ab, type GetMonitoringTimeSeriesV2Request as ac, type InboundIntegrationEventConfiguration as ad, type InboundMonitoringEvent as ae, type InboundUseCase as af, type InboundUseCaseHistoryEntry as ag, type IngestExternalMonitoringEventsRequest as ah, type IngestExternalMonitoringEventsResponse as ai, type Integration as aj, type IntegrationAppMapping as ak, type IntegrationConfigurationV1 as al, type IntegrationConfigurationV2 as am, type IntegrationEditableFields as an, type IntegrationEntity as ao, type IntegrationEntityField as ap, type IntegrationFieldV1 as aq, type IntegrationMeterReading as ar, type IntegrationNotificationConfig as as, type IntegrationObjectV1 as at, type IntegrationSettings as au, type IntegrationWithUseCases as av, type ManagedCallAuth as aw, type ManagedCallErrorResponse as ax, type ManagedCallExecuteRequest as ay, type ManagedCallExecuteResponse as az, type PathsDictionary as b, type UpsertIntegrationWithUseCasesRequest as b$, type OutboundMapping as b0, type OutboundMessage as b1, type OutboundMonitoringEvent as b2, type OutboundPollStatus as b3, type OutboundStatusResponse as b4, type OutboundUseCase as b5, type OutboundUseCaseHistoryEntry as b6, type OutboundUseCaseStatus as b7, type PollDeliveryConfig as b8, type PollOutboundMessagesRequest as b9, type SecureProxySummary as bA, type SecureProxyUpstreamError as bB, type SecureProxyUseCase as bC, type SecureProxyUseCaseConfiguration as bD, type SecureProxyUseCaseHistoryEntry as bE, type SecureProxyWhitelist as bF, type SecureProxyWhitelistUpdate as bG, type SetIntegrationAppMappingRequest as bH, type TestNotificationRequest as bI, type TestNotificationResponse as bJ, type TimeSeriesBreakdownItemV2 as bK, type TimeSeriesBucket as bL, type TimeSeriesBucketV2 as bM, type TriggerErpActionRequest as bN, type TriggerWebhookResp as bO, type TypeAnnotations as bP, type TypeDescriptor as bQ, type UnblockOutboundStreamRequest as bR, type UnblockOutboundStreamResponse as bS, type UpdateFileProxyUseCaseRequest as bT, type UpdateInboundUseCaseRequest as bU, type UpdateIntegrationRequest as bV, type UpdateManagedCallUseCaseRequest as bW, type UpdateOutboundUseCaseRequest as bX, type UpdateSecureProxyUseCaseRequest as bY, type UpdateUseCaseRequest as bZ, type UpdateUseCaseRequestBase as b_, type PollOutboundMessagesResponse as ba, type PortalOrigin as bb, type PortalRefConfig as bc, type PortalRefFilter as bd, type PruneScopeConfig as be, type QueryAccessLogsRequest as bf, type QueryEventsRequest as bg, type QueryInboundMonitoringEventsRequest as bh, type QueryMonitoringEventsV2Request as bi, type QueryOutboundMonitoringEventsRequest as bj, type RedriveOutboundDlqRequest as bk, type RedriveOutboundDlqResponse as bl, type RedriveOutboundDlqResult as bm, type RelationConfig as bn, type RelationItemConfig as bo, type RelationRefItemConfig as bp, type RelationRefValueConfig as bq, type RelationRefsConfig as br, type RelationUniqueIdField as bs, type RepeatableFieldType as bt, type ReplayEventsRequest as bu, type RuleBaselineBucket as bv, type RuleBaselineStatus as bw, type S3Reference as bx, type SecureProxyRequest as by, type SecureProxyResponse as bz, type AckOutboundMessagesRequest as c, type UseCase as c0, type UseCaseBase as c1, type UseCaseHistoryEntry as c2, type UseCaseHistoryEntryBase as c3, type UseCaseTypePreview as c4, type WebhookDeliveryConfig as c5, type WebhookStatus as c6, 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 EmbeddedInboundUseCaseRequest as u, type EmbeddedManagedCallUseCaseRequest as v, type EmbeddedOutboundUseCaseRequest as w, type EmbeddedSecureProxyUseCaseRequest as x, type EmbeddedUseCaseRequest as y, type EmbeddedUseCaseRequestBase as z };
package/docs/entity.md CHANGED
@@ -487,7 +487,11 @@ const { data } = await client.getSchema({
487
487
  "columns": 0,
488
488
  "cells": [0]
489
489
  },
490
- "widget_order": ["string"]
490
+ "widget_order": ["string"],
491
+ "widget_visibility": {
492
+ "next_best_action": true,
493
+ "address_map": false
494
+ }
491
495
  },
492
496
  "capabilities": [
493
497
  {
@@ -495,6 +499,7 @@ const { data } = await client.getSchema({
495
499
  "name": "customer_messaging",
496
500
  "title": "Messaging",
497
501
  "attributes": [],
502
+ "variant_overridable": false,
498
503
  "_purpose": ["taxonomy-slug:classification-slug"],
499
504
  "_manifest": ["123e4567-e89b-12d3-a456-426614174000"],
500
505
  "app_id": "123e4567-e89b-12d3-a456-426614174000",
@@ -640,7 +645,11 @@ const { data } = await client.putSchema(
640
645
  columns: 0,
641
646
  cells: [0]
642
647
  },
643
- widget_order: ['string']
648
+ widget_order: ['string'],
649
+ widget_visibility: {
650
+ next_best_action: true,
651
+ address_map: false
652
+ }
644
653
  },
645
654
  capabilities: [
646
655
  {
@@ -648,6 +657,7 @@ const { data } = await client.putSchema(
648
657
  name: 'customer_messaging',
649
658
  title: 'Messaging',
650
659
  attributes: [ /* ... */ ],
660
+ variant_overridable: false,
651
661
  _purpose: ['taxonomy-slug:classification-slug'],
652
662
  _manifest: ['123e4567-e89b-12d3-a456-426614174000'],
653
663
  app_id: '123e4567-e89b-12d3-a456-426614174000',
@@ -793,7 +803,11 @@ const { data } = await client.putSchema(
793
803
  "columns": 0,
794
804
  "cells": [0]
795
805
  },
796
- "widget_order": ["string"]
806
+ "widget_order": ["string"],
807
+ "widget_visibility": {
808
+ "next_best_action": true,
809
+ "address_map": false
810
+ }
797
811
  },
798
812
  "capabilities": [
799
813
  {
@@ -801,6 +815,7 @@ const { data } = await client.putSchema(
801
815
  "name": "customer_messaging",
802
816
  "title": "Messaging",
803
817
  "attributes": [],
818
+ "variant_overridable": false,
804
819
  "_purpose": ["taxonomy-slug:classification-slug"],
805
820
  "_manifest": ["123e4567-e89b-12d3-a456-426614174000"],
806
821
  "app_id": "123e4567-e89b-12d3-a456-426614174000",
@@ -1238,7 +1253,11 @@ const { data } = await client.freezeSchema(
1238
1253
  "columns": 0,
1239
1254
  "cells": [0]
1240
1255
  },
1241
- "widget_order": ["string"]
1256
+ "widget_order": ["string"],
1257
+ "widget_visibility": {
1258
+ "next_best_action": true,
1259
+ "address_map": false
1260
+ }
1242
1261
  },
1243
1262
  "capabilities": [
1244
1263
  {
@@ -1246,6 +1265,7 @@ const { data } = await client.freezeSchema(
1246
1265
  "name": "customer_messaging",
1247
1266
  "title": "Messaging",
1248
1267
  "attributes": [],
1268
+ "variant_overridable": false,
1249
1269
  "_purpose": ["taxonomy-slug:classification-slug"],
1250
1270
  "_manifest": ["123e4567-e89b-12d3-a456-426614174000"],
1251
1271
  "app_id": "123e4567-e89b-12d3-a456-426614174000",
@@ -1405,7 +1425,11 @@ const { data } = await client.unfreezeSchema({
1405
1425
  "columns": 0,
1406
1426
  "cells": [0]
1407
1427
  },
1408
- "widget_order": ["string"]
1428
+ "widget_order": ["string"],
1429
+ "widget_visibility": {
1430
+ "next_best_action": true,
1431
+ "address_map": false
1432
+ }
1409
1433
  },
1410
1434
  "capabilities": [
1411
1435
  {
@@ -1413,6 +1437,7 @@ const { data } = await client.unfreezeSchema({
1413
1437
  "name": "customer_messaging",
1414
1438
  "title": "Messaging",
1415
1439
  "attributes": [],
1440
+ "variant_overridable": false,
1416
1441
  "_purpose": ["taxonomy-slug:classification-slug"],
1417
1442
  "_manifest": ["123e4567-e89b-12d3-a456-426614174000"],
1418
1443
  "app_id": "123e4567-e89b-12d3-a456-426614174000",
@@ -1518,6 +1543,7 @@ const { data } = await client.listAvailableCapabilities({
1518
1543
  "name": "customer_messaging",
1519
1544
  "title": "Messaging",
1520
1545
  "attributes": [],
1546
+ "variant_overridable": false,
1521
1547
  "_purpose": ["taxonomy-slug:classification-slug"],
1522
1548
  "_manifest": ["123e4567-e89b-12d3-a456-426614174000"],
1523
1549
  "app_id": "123e4567-e89b-12d3-a456-426614174000",
@@ -5164,6 +5190,7 @@ const { data } = await client.createSchemaCapability(
5164
5190
  },
5165
5191
  /* ... 33 more */
5166
5192
  ],
5193
+ variant_overridable: false,
5167
5194
  _purpose: ['taxonomy-slug:classification-slug'],
5168
5195
  _manifest: ['123e4567-e89b-12d3-a456-426614174000'],
5169
5196
  app_id: '123e4567-e89b-12d3-a456-426614174000',
@@ -5186,7 +5213,9 @@ const { data } = await client.createSchemaCapability(
5186
5213
  icon: 'email',
5187
5214
  disabled: true,
5188
5215
  header: true,
5189
- requiredPermission: { /* ... */ }
5216
+ requiredPermission: { /* ... */ },
5217
+ default_visible: false,
5218
+ pricing_tier_setting: 'entity_address_maps'
5190
5219
  }
5191
5220
  ],
5192
5221
  feature_flag: 'FF_MY_FEATURE_FLAG',
@@ -5296,6 +5325,7 @@ const { data } = await client.createSchemaCapability(
5296
5325
  "type": "link"
5297
5326
  }
5298
5327
  ],
5328
+ "variant_overridable": false,
5299
5329
  "_purpose": ["taxonomy-slug:classification-slug"],
5300
5330
  "_manifest": ["123e4567-e89b-12d3-a456-426614174000"],
5301
5331
  "app_id": "123e4567-e89b-12d3-a456-426614174000",
@@ -5318,7 +5348,9 @@ const { data } = await client.createSchemaCapability(
5318
5348
  "icon": "email",
5319
5349
  "disabled": true,
5320
5350
  "header": true,
5321
- "requiredPermission": {}
5351
+ "requiredPermission": {},
5352
+ "default_visible": false,
5353
+ "pricing_tier_setting": "entity_address_maps"
5322
5354
  }
5323
5355
  ],
5324
5356
  "feature_flag": "FF_MY_FEATURE_FLAG",
@@ -5443,6 +5475,7 @@ const { data } = await client.getSchemaCapability({
5443
5475
  "type": "link"
5444
5476
  }
5445
5477
  ],
5478
+ "variant_overridable": false,
5446
5479
  "_purpose": ["taxonomy-slug:classification-slug"],
5447
5480
  "_manifest": ["123e4567-e89b-12d3-a456-426614174000"],
5448
5481
  "app_id": "123e4567-e89b-12d3-a456-426614174000",
@@ -5465,7 +5498,9 @@ const { data } = await client.getSchemaCapability({
5465
5498
  "icon": "email",
5466
5499
  "disabled": true,
5467
5500
  "header": true,
5468
- "requiredPermission": {}
5501
+ "requiredPermission": {},
5502
+ "default_visible": false,
5503
+ "pricing_tier_setting": "entity_address_maps"
5469
5504
  }
5470
5505
  ],
5471
5506
  "feature_flag": "FF_MY_FEATURE_FLAG",
@@ -5586,6 +5621,7 @@ const { data } = await client.putSchemaCapability(
5586
5621
  },
5587
5622
  /* ... 33 more */
5588
5623
  ],
5624
+ variant_overridable: false,
5589
5625
  _purpose: ['taxonomy-slug:classification-slug'],
5590
5626
  _manifest: ['123e4567-e89b-12d3-a456-426614174000'],
5591
5627
  app_id: '123e4567-e89b-12d3-a456-426614174000',
@@ -5608,7 +5644,9 @@ const { data } = await client.putSchemaCapability(
5608
5644
  icon: 'email',
5609
5645
  disabled: true,
5610
5646
  header: true,
5611
- requiredPermission: { /* ... */ }
5647
+ requiredPermission: { /* ... */ },
5648
+ default_visible: false,
5649
+ pricing_tier_setting: 'entity_address_maps'
5612
5650
  }
5613
5651
  ],
5614
5652
  feature_flag: 'FF_MY_FEATURE_FLAG',
@@ -5718,6 +5756,7 @@ const { data } = await client.putSchemaCapability(
5718
5756
  "type": "link"
5719
5757
  }
5720
5758
  ],
5759
+ "variant_overridable": false,
5721
5760
  "_purpose": ["taxonomy-slug:classification-slug"],
5722
5761
  "_manifest": ["123e4567-e89b-12d3-a456-426614174000"],
5723
5762
  "app_id": "123e4567-e89b-12d3-a456-426614174000",
@@ -5740,7 +5779,9 @@ const { data } = await client.putSchemaCapability(
5740
5779
  "icon": "email",
5741
5780
  "disabled": true,
5742
5781
  "header": true,
5743
- "requiredPermission": {}
5782
+ "requiredPermission": {},
5783
+ "default_visible": false,
5784
+ "pricing_tier_setting": "entity_address_maps"
5744
5785
  }
5745
5786
  ],
5746
5787
  "feature_flag": "FF_MY_FEATURE_FLAG",
@@ -5865,6 +5906,7 @@ const { data } = await client.deleteSchemaCapability({
5865
5906
  "type": "link"
5866
5907
  }
5867
5908
  ],
5909
+ "variant_overridable": false,
5868
5910
  "_purpose": ["taxonomy-slug:classification-slug"],
5869
5911
  "_manifest": ["123e4567-e89b-12d3-a456-426614174000"],
5870
5912
  "app_id": "123e4567-e89b-12d3-a456-426614174000",
@@ -5887,7 +5929,9 @@ const { data } = await client.deleteSchemaCapability({
5887
5929
  "icon": "email",
5888
5930
  "disabled": true,
5889
5931
  "header": true,
5890
- "requiredPermission": {}
5932
+ "requiredPermission": {},
5933
+ "default_visible": false,
5934
+ "pricing_tier_setting": "entity_address_maps"
5891
5935
  }
5892
5936
  ],
5893
5937
  "feature_flag": "FF_MY_FEATURE_FLAG",
@@ -6423,6 +6467,7 @@ type EntitySchema = {
6423
6467
  cells?: { ... }
6424
6468
  }
6425
6469
  widget_order?: string[]
6470
+ widget_visibility?: Record<string, boolean>
6426
6471
  }
6427
6472
  capabilities: Array<{
6428
6473
  id?: string
@@ -6451,7 +6496,6 @@ type EntitySchema = {
6451
6496
  _purpose?: { ... }
6452
6497
  _manifest?: { ... }
6453
6498
  constraints?: { ... }
6454
- feature_flag?: { ... }
6455
6499
  // ...
6456
6500
  }
6457
6501
  ```
@@ -6541,6 +6585,7 @@ type EntitySchemaItem = {
6541
6585
  cells?: { ... }
6542
6586
  }
6543
6587
  widget_order?: string[]
6588
+ widget_visibility?: Record<string, boolean>
6544
6589
  }
6545
6590
  capabilities: Array<{
6546
6591
  id?: string
@@ -6558,7 +6603,6 @@ type EntitySchemaItem = {
6558
6603
  readonly?: { ... }
6559
6604
  deprecated?: { ... }
6560
6605
  variant_overridable?: { ... }
6561
- default_value?: { ... }
6562
6606
  // ...
6563
6607
  }
6564
6608
  ```