@epilot/sdk 2.18.1 → 2.18.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/definitions/blueprint-manifest-runtime.json +1 -1
- package/definitions/blueprint-manifest.json +219 -20
- package/definitions/integration-toolkit-runtime.json +1 -1
- package/definitions/integration-toolkit.json +89 -6
- package/dist/apis/access-token.cjs +6 -6
- package/dist/apis/access-token.js +1 -1
- package/dist/apis/address-suggestions.cjs +6 -6
- package/dist/apis/address-suggestions.js +1 -1
- package/dist/apis/address.cjs +6 -6
- package/dist/apis/address.js +1 -1
- package/dist/apis/ai-agents.cjs +6 -6
- package/dist/apis/ai-agents.js +1 -1
- package/dist/apis/app.cjs +6 -6
- package/dist/apis/app.js +1 -1
- package/dist/apis/audit-logs.cjs +6 -6
- package/dist/apis/audit-logs.js +1 -1
- package/dist/apis/automation.cjs +6 -6
- package/dist/apis/automation.js +1 -1
- package/dist/apis/billing.cjs +6 -6
- package/dist/apis/billing.js +1 -1
- package/dist/apis/blueprint-manifest.cjs +8 -8
- package/dist/apis/blueprint-manifest.d.cts +2 -2
- package/dist/apis/blueprint-manifest.d.ts +2 -2
- package/dist/apis/blueprint-manifest.js +2 -2
- package/dist/apis/calendar.cjs +6 -6
- package/dist/apis/calendar.js +1 -1
- package/dist/apis/configuration-hub.cjs +6 -6
- package/dist/apis/configuration-hub.js +1 -1
- package/dist/apis/consent.cjs +6 -6
- package/dist/apis/consent.js +1 -1
- package/dist/apis/customer-portal.cjs +6 -6
- package/dist/apis/customer-portal.js +1 -1
- package/dist/apis/dashboard.cjs +6 -6
- package/dist/apis/dashboard.js +1 -1
- package/dist/apis/data-governance.cjs +6 -6
- package/dist/apis/data-governance.js +1 -1
- package/dist/apis/deduplication.cjs +6 -6
- package/dist/apis/deduplication.js +1 -1
- package/dist/apis/design.cjs +6 -6
- package/dist/apis/design.js +1 -1
- package/dist/apis/document.cjs +6 -6
- package/dist/apis/document.js +1 -1
- package/dist/apis/email-settings.cjs +6 -6
- package/dist/apis/email-settings.js +1 -1
- package/dist/apis/email-template.cjs +6 -6
- package/dist/apis/email-template.js +1 -1
- package/dist/apis/entity-mapping.cjs +6 -6
- package/dist/apis/entity-mapping.js +1 -1
- package/dist/apis/entity.cjs +6 -6
- package/dist/apis/entity.js +1 -1
- package/dist/apis/environments.cjs +6 -6
- package/dist/apis/environments.js +1 -1
- package/dist/apis/event-catalog.cjs +6 -6
- package/dist/apis/event-catalog.js +1 -1
- package/dist/apis/file.cjs +6 -6
- package/dist/apis/file.js +1 -1
- package/dist/apis/iban.cjs +6 -6
- package/dist/apis/iban.js +1 -1
- package/dist/apis/integration-toolkit.cjs +8 -8
- package/dist/apis/integration-toolkit.d.cts +2 -2
- package/dist/apis/integration-toolkit.d.ts +2 -2
- package/dist/apis/integration-toolkit.js +2 -2
- package/dist/apis/journey.cjs +6 -6
- package/dist/apis/journey.js +1 -1
- package/dist/apis/kanban.cjs +6 -6
- package/dist/apis/kanban.js +1 -1
- package/dist/apis/message.cjs +6 -6
- package/dist/apis/message.js +1 -1
- package/dist/apis/metering.cjs +6 -6
- package/dist/apis/metering.js +1 -1
- package/dist/apis/notes.cjs +6 -6
- package/dist/apis/notes.js +1 -1
- package/dist/apis/notification.cjs +6 -6
- package/dist/apis/notification.js +1 -1
- package/dist/apis/organization.cjs +6 -6
- package/dist/apis/organization.js +1 -1
- package/dist/apis/partner-directory.cjs +6 -6
- package/dist/apis/partner-directory.js +1 -1
- package/dist/apis/permissions.cjs +6 -6
- package/dist/apis/permissions.js +1 -1
- package/dist/apis/pricing-tier.cjs +6 -6
- package/dist/apis/pricing-tier.js +1 -1
- package/dist/apis/pricing.cjs +6 -6
- package/dist/apis/pricing.js +1 -1
- package/dist/apis/purpose.cjs +6 -6
- package/dist/apis/purpose.js +1 -1
- package/dist/apis/query.cjs +6 -6
- package/dist/apis/query.js +1 -1
- package/dist/apis/sandbox.cjs +6 -6
- package/dist/apis/sandbox.js +1 -1
- package/dist/apis/sharing.cjs +6 -6
- package/dist/apis/sharing.js +1 -1
- package/dist/apis/snapshot.cjs +6 -6
- package/dist/apis/snapshot.js +1 -1
- package/dist/apis/submission.cjs +6 -6
- package/dist/apis/submission.js +1 -1
- package/dist/apis/target.cjs +6 -6
- package/dist/apis/target.js +1 -1
- package/dist/apis/targeting.cjs +6 -6
- package/dist/apis/targeting.js +1 -1
- package/dist/apis/template-variables.cjs +6 -6
- package/dist/apis/template-variables.js +1 -1
- package/dist/apis/user.cjs +6 -6
- package/dist/apis/user.js +1 -1
- package/dist/apis/validation-rules.cjs +6 -6
- package/dist/apis/validation-rules.js +1 -1
- package/dist/apis/webhooks.cjs +6 -6
- package/dist/apis/webhooks.js +1 -1
- package/dist/apis/workflow-definition.cjs +6 -6
- package/dist/apis/workflow-definition.js +1 -1
- package/dist/apis/workflow.cjs +6 -6
- package/dist/apis/workflow.js +1 -1
- package/dist/blueprint-manifest-4DD7CUPX.cjs +7 -0
- package/dist/blueprint-manifest-IP2AU3F3.js +7 -0
- package/dist/{blueprint-manifest-runtime-6MEPQQC5.cjs → blueprint-manifest-runtime-N5EXZB2K.cjs} +2 -2
- package/dist/{blueprint-manifest-runtime-SAWWJW2G.js → blueprint-manifest-runtime-W526ROPG.js} +1 -1
- package/dist/{blueprint-manifest.d-BiaeSTI3.d.cts → blueprint-manifest.d-CjsI-JqR.d.cts} +400 -62
- package/dist/{blueprint-manifest.d-BiaeSTI3.d.ts → blueprint-manifest.d-CjsI-JqR.d.ts} +400 -62
- package/dist/chunk-4Z6GRBDK.js +14 -0
- package/dist/{chunk-RJHXXGJ3.js → chunk-5OOGTDF2.js} +1 -1
- package/dist/{chunk-NCGUD7SQ.cjs → chunk-5RAQKW2K.cjs} +4 -4
- package/dist/{chunk-FDNLFLZ5.js → chunk-6XCKLP3T.js} +4 -4
- package/dist/{chunk-QXKCYTF3.cjs → chunk-RXFXAZK3.cjs} +1 -1
- package/dist/chunk-Z54CI2VS.cjs +14 -0
- package/dist/index.cjs +12 -12
- package/dist/index.d.cts +2 -2
- package/dist/index.d.ts +2 -2
- package/dist/index.js +3 -3
- package/dist/integration-toolkit-63NIMAHB.js +7 -0
- package/dist/integration-toolkit-7NCK7Z5G.cjs +7 -0
- package/dist/{integration-toolkit-runtime-VUOXZ6HU.js → integration-toolkit-runtime-2MBB4EOE.js} +1 -1
- package/dist/{integration-toolkit-runtime-PI5G3OXL.cjs → integration-toolkit-runtime-VUI4NCRJ.cjs} +2 -2
- package/dist/{integration-toolkit.d-D5HZSNUf.d.cts → integration-toolkit.d-E2nrIdIM.d.cts} +43 -6
- package/dist/{integration-toolkit.d-D5HZSNUf.d.ts → integration-toolkit.d-E2nrIdIM.d.ts} +43 -6
- package/docs/blueprint-manifest.md +258 -95
- package/docs/integration-toolkit.md +79 -12
- package/package.json +1 -1
- package/dist/blueprint-manifest-GU75577F.js +0 -7
- package/dist/blueprint-manifest-KTUWFTDX.cjs +0 -7
- package/dist/chunk-EZU3MFGV.cjs +0 -14
- package/dist/chunk-FUHSA3BV.js +0 -14
- package/dist/integration-toolkit-XGP4BIWX.js +0 -7
- 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
|
-
*
|
|
2034
|
+
* Enum of possible error codes.
|
|
2035
|
+
*
|
|
2035
2036
|
*/
|
|
2036
|
-
|
|
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.
|
|
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?:
|
|
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?:
|
|
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
|
|
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
|
-
*
|
|
2034
|
+
* Enum of possible error codes.
|
|
2035
|
+
*
|
|
2035
2036
|
*/
|
|
2036
|
-
|
|
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.
|
|
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?:
|
|
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?:
|
|
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
|
|
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 };
|