@epilot/sdk 2.20.42 → 2.20.44
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/integration-toolkit-runtime.json +1 -1
- package/definitions/integration-toolkit.json +133 -1
- package/definitions/pricing.json +5 -5
- 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 +6 -6
- package/dist/apis/blueprint-manifest.js +1 -1
- package/dist/apis/calendar.cjs +6 -6
- package/dist/apis/calendar.js +1 -1
- package/dist/apis/chat.cjs +6 -6
- package/dist/apis/chat.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/identity.cjs +6 -6
- package/dist/apis/identity.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.d.cts +2 -2
- package/dist/apis/pricing.d.ts +2 -2
- 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/{chunk-4OBXBYLK.js → chunk-6JWMDS4Z.js} +1 -1
- package/dist/{chunk-4M4Z7BKK.cjs → chunk-EPZ3JT2W.cjs} +1 -1
- package/dist/{chunk-XKZX3NYY.cjs → chunk-IYEK3653.cjs} +3 -3
- package/dist/{chunk-F3TXIZLP.js → chunk-LHBJF2FW.js} +3 -3
- package/dist/index.cjs +10 -10
- package/dist/index.d.cts +2 -2
- package/dist/index.d.ts +2 -2
- package/dist/index.js +2 -2
- package/dist/integration-toolkit-EIVEAO4Z.cjs +7 -0
- package/dist/integration-toolkit-NIA5DND5.js +7 -0
- package/dist/{integration-toolkit-runtime-ABL4FFLI.js → integration-toolkit-runtime-FT2J5NFV.js} +1 -1
- package/dist/{integration-toolkit-runtime-SU7VKZJB.cjs → integration-toolkit-runtime-GDJVWSKC.cjs} +2 -2
- package/dist/{integration-toolkit.d-DRYMfItg.d.cts → integration-toolkit.d-D4CzSBOS.d.cts} +88 -1
- package/dist/{integration-toolkit.d-DRYMfItg.d.ts → integration-toolkit.d-D4CzSBOS.d.ts} +88 -1
- package/dist/pricing-JAICFDO5.cjs +7 -0
- package/dist/pricing-MYZSVSGK.js +7 -0
- package/dist/{pricing.d-CRYlsNBY.d.cts → pricing.d-B3_8FPCM.d.cts} +19 -13
- package/dist/{pricing.d-CRYlsNBY.d.ts → pricing.d-B3_8FPCM.d.ts} +19 -13
- package/docs/integration-toolkit.md +68 -0
- package/docs/pricing.md +3 -3
- package/package.json +1 -1
- package/dist/integration-toolkit-4W2SXQZZ.cjs +0 -7
- package/dist/integration-toolkit-WZ324PVF.js +0 -7
- package/dist/pricing-PBBDRMSO.js +0 -7
- package/dist/pricing-PLWFGMKQ.cjs +0 -7
package/dist/{integration-toolkit-runtime-SU7VKZJB.cjs → integration-toolkit-runtime-GDJVWSKC.cjs}
RENAMED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
"use strict";Object.defineProperty(exports, "__esModule", {value: true});
|
|
2
2
|
|
|
3
|
-
var
|
|
3
|
+
var _chunkEPZ3JT2Wcjs = require('./chunk-EPZ3JT2W.cjs');
|
|
4
4
|
require('./chunk-NJK5F5TF.cjs');
|
|
5
|
-
exports. default =
|
|
5
|
+
exports. default = _chunkEPZ3JT2Wcjs.require_integration_toolkit_runtime.call(void 0, );
|
|
@@ -2909,6 +2909,17 @@ declare namespace Components {
|
|
|
2909
2909
|
*/
|
|
2910
2910
|
correlation_id?: string;
|
|
2911
2911
|
};
|
|
2912
|
+
export interface ErpImportDownload {
|
|
2913
|
+
/**
|
|
2914
|
+
* Presigned URL serving the file as an attachment. Valid until `expires_at`.
|
|
2915
|
+
*/
|
|
2916
|
+
download_url: string; // uri
|
|
2917
|
+
/**
|
|
2918
|
+
* The filename the file was uploaded with.
|
|
2919
|
+
*/
|
|
2920
|
+
filename: string;
|
|
2921
|
+
expires_at: string; // date-time
|
|
2922
|
+
}
|
|
2912
2923
|
/**
|
|
2913
2924
|
* One entity instance the import will write, attributed to the mapping target that produces it.
|
|
2914
2925
|
*/
|
|
@@ -8844,6 +8855,20 @@ declare namespace Paths {
|
|
|
8844
8855
|
export type $500 = Components.Responses.InternalServerError;
|
|
8845
8856
|
}
|
|
8846
8857
|
}
|
|
8858
|
+
namespace DownloadErpImportFile {
|
|
8859
|
+
namespace Parameters {
|
|
8860
|
+
export type ImportId = string;
|
|
8861
|
+
}
|
|
8862
|
+
export interface PathParameters {
|
|
8863
|
+
importId: Parameters.ImportId;
|
|
8864
|
+
}
|
|
8865
|
+
namespace Responses {
|
|
8866
|
+
export type $200 = Components.Schemas.ErpImportDownload;
|
|
8867
|
+
export type $403 = Components.Responses.Forbidden;
|
|
8868
|
+
export type $404 = Components.Schemas.ErrorResponseBase;
|
|
8869
|
+
export type $500 = Components.Responses.InternalServerError;
|
|
8870
|
+
}
|
|
8871
|
+
}
|
|
8847
8872
|
namespace ExecuteErpImport {
|
|
8848
8873
|
namespace Parameters {
|
|
8849
8874
|
export type ImportId = string;
|
|
@@ -8957,6 +8982,21 @@ declare namespace Paths {
|
|
|
8957
8982
|
export type $500 = Components.Responses.InternalServerError;
|
|
8958
8983
|
}
|
|
8959
8984
|
}
|
|
8985
|
+
namespace GetErpImportPreview {
|
|
8986
|
+
namespace Parameters {
|
|
8987
|
+
export type ImportId = string;
|
|
8988
|
+
}
|
|
8989
|
+
export interface PathParameters {
|
|
8990
|
+
importId: Parameters.ImportId;
|
|
8991
|
+
}
|
|
8992
|
+
namespace Responses {
|
|
8993
|
+
export type $200 = /* Sample of the file's first rows, using the same parser as `:validate`. Registration refuses a file it cannot read, so a created job always includes this. */ Components.Schemas.ErpImportFilePreview;
|
|
8994
|
+
export type $400 = Components.Responses.BadRequest;
|
|
8995
|
+
export type $403 = Components.Responses.Forbidden;
|
|
8996
|
+
export type $404 = Components.Schemas.ErrorResponseBase;
|
|
8997
|
+
export type $500 = Components.Responses.InternalServerError;
|
|
8998
|
+
}
|
|
8999
|
+
}
|
|
8960
9000
|
namespace GetIntegration {
|
|
8961
9001
|
namespace Parameters {
|
|
8962
9002
|
export type IntegrationId = string; // uuid
|
|
@@ -10755,6 +10795,27 @@ interface OperationMethods {
|
|
|
10755
10795
|
data?: any,
|
|
10756
10796
|
config?: AxiosRequestConfig
|
|
10757
10797
|
): OperationResponse<Paths.DeleteErpImport.Responses.$204>
|
|
10798
|
+
/**
|
|
10799
|
+
* getErpImportPreview - getErpImportPreview
|
|
10800
|
+
*
|
|
10801
|
+
* The file preview of an existing import: its columns and first data rows, the same sample `createErpImport` returns with `include_preview`. Lets a client that opens a job later show its file, and is independent of GET /v2/erp/imports/{importId}, so the two can be fetched in parallel.
|
|
10802
|
+
* Read fresh from the import's file on every call. CSV only — an xlsx import returns 400.
|
|
10803
|
+
*/
|
|
10804
|
+
'getErpImportPreview'(
|
|
10805
|
+
parameters?: Parameters<Paths.GetErpImportPreview.PathParameters> | null,
|
|
10806
|
+
data?: any,
|
|
10807
|
+
config?: AxiosRequestConfig
|
|
10808
|
+
): OperationResponse<Paths.GetErpImportPreview.Responses.$200>
|
|
10809
|
+
/**
|
|
10810
|
+
* downloadErpImportFile - downloadErpImportFile
|
|
10811
|
+
*
|
|
10812
|
+
* A short-lived presigned URL that downloads the file this import was registered with — the import's own copy, so exactly what `:validate` and `:execute` read. The URL serves the file as an attachment under its original filename.
|
|
10813
|
+
*/
|
|
10814
|
+
'downloadErpImportFile'(
|
|
10815
|
+
parameters?: Parameters<Paths.DownloadErpImportFile.PathParameters> | null,
|
|
10816
|
+
data?: any,
|
|
10817
|
+
config?: AxiosRequestConfig
|
|
10818
|
+
): OperationResponse<Paths.DownloadErpImportFile.Responses.$200>
|
|
10758
10819
|
/**
|
|
10759
10820
|
* validateErpImport - validateErpImport
|
|
10760
10821
|
*
|
|
@@ -11817,6 +11878,31 @@ interface PathsDictionary {
|
|
|
11817
11878
|
config?: AxiosRequestConfig
|
|
11818
11879
|
): OperationResponse<Paths.DeleteErpImport.Responses.$204>
|
|
11819
11880
|
}
|
|
11881
|
+
['/v2/erp/imports/{importId}/preview']: {
|
|
11882
|
+
/**
|
|
11883
|
+
* getErpImportPreview - getErpImportPreview
|
|
11884
|
+
*
|
|
11885
|
+
* The file preview of an existing import: its columns and first data rows, the same sample `createErpImport` returns with `include_preview`. Lets a client that opens a job later show its file, and is independent of GET /v2/erp/imports/{importId}, so the two can be fetched in parallel.
|
|
11886
|
+
* Read fresh from the import's file on every call. CSV only — an xlsx import returns 400.
|
|
11887
|
+
*/
|
|
11888
|
+
'get'(
|
|
11889
|
+
parameters?: Parameters<Paths.GetErpImportPreview.PathParameters> | null,
|
|
11890
|
+
data?: any,
|
|
11891
|
+
config?: AxiosRequestConfig
|
|
11892
|
+
): OperationResponse<Paths.GetErpImportPreview.Responses.$200>
|
|
11893
|
+
}
|
|
11894
|
+
['/v2/erp/imports/{importId}/download']: {
|
|
11895
|
+
/**
|
|
11896
|
+
* downloadErpImportFile - downloadErpImportFile
|
|
11897
|
+
*
|
|
11898
|
+
* A short-lived presigned URL that downloads the file this import was registered with — the import's own copy, so exactly what `:validate` and `:execute` read. The URL serves the file as an attachment under its original filename.
|
|
11899
|
+
*/
|
|
11900
|
+
'get'(
|
|
11901
|
+
parameters?: Parameters<Paths.DownloadErpImportFile.PathParameters> | null,
|
|
11902
|
+
data?: any,
|
|
11903
|
+
config?: AxiosRequestConfig
|
|
11904
|
+
): OperationResponse<Paths.DownloadErpImportFile.Responses.$200>
|
|
11905
|
+
}
|
|
11820
11906
|
['/v2/erp/imports/{importId}:validate']: {
|
|
11821
11907
|
/**
|
|
11822
11908
|
* validateErpImport - validateErpImport
|
|
@@ -11923,6 +12009,7 @@ type EnvVarRefConfig = Components.Schemas.EnvVarRefConfig;
|
|
|
11923
12009
|
type EnvironmentFieldConfig = Components.Schemas.EnvironmentFieldConfig;
|
|
11924
12010
|
type ErpEvent = Components.Schemas.ErpEvent;
|
|
11925
12011
|
type ErpEventV3 = Components.Schemas.ErpEventV3;
|
|
12012
|
+
type ErpImportDownload = Components.Schemas.ErpImportDownload;
|
|
11926
12013
|
type ErpImportEntityDetail = Components.Schemas.ErpImportEntityDetail;
|
|
11927
12014
|
type ErpImportError = Components.Schemas.ErpImportError;
|
|
11928
12015
|
type ErpImportFilePreview = Components.Schemas.ErpImportFilePreview;
|
|
@@ -12093,4 +12180,4 @@ type ValidateErpImportRequest = Components.Schemas.ValidateErpImportRequest;
|
|
|
12093
12180
|
type WebhookDeliveryConfig = Components.Schemas.WebhookDeliveryConfig;
|
|
12094
12181
|
type WebhookStatus = Components.Schemas.WebhookStatus;
|
|
12095
12182
|
|
|
12096
|
-
export { type
|
|
12183
|
+
export { type ErpImportEntityDetail as $, type AccessLogEntry as A, type DirectRelationValue as B, type Client as C, type DeleteIntegrationAppMappingRequest as D, type DirectSimulationError as E, type DirectSimulationRequest as F, type DirectSimulationResponse as G, type DocumentationPage as H, type DocumentationPageSummary as I, type EmbeddedFileProxyUseCaseRequest as J, type EmbeddedInboundUseCaseRequest as K, type EmbeddedManagedCallUseCaseRequest as L, type EmbeddedOutboundUseCaseRequest as M, type EmbeddedSecureProxyUseCaseRequest as N, type OperationMethods as O, Paths as P, type EmbeddedUseCaseRequest as Q, type EmbeddedUseCaseRequestBase as R, type EntityPruneScopeUpdate as S, type EntitySyncState as T, type EntitySyncStatusResponse as U, type EntityUpdate as V, type EnvVarRefConfig as W, type EnvironmentFieldConfig as X, type ErpEvent as Y, type ErpEventV3 as Z, type ErpImportDownload as _, Components as a, type ManagedCallUseCaseHistoryEntry as a$, type ErpImportError as a0, type ErpImportFilePreview as a1, type ErpImportIssue as a2, type ErpImportJob as a3, type ErpImportList as a4, type ErpImportProgress as a5, type ErpImportUseCaseSuggestion as a6, type ErpImportValidation as a7, type ErpUpdatesEventsV2Request as a8, type ErpUpdatesEventsV3Request as a9, type InboundUseCase as aA, type InboundUseCaseHistoryEntry as aB, type IngestExternalMonitoringEventsRequest as aC, type IngestExternalMonitoringEventsResponse as aD, type Integration as aE, type IntegrationAppMapping as aF, type IntegrationConfigurationV1 as aG, type IntegrationConfigurationV2 as aH, type IntegrationEditableFields as aI, type IntegrationEntity as aJ, type IntegrationEntityConditional as aK, type IntegrationEntityField as aL, type IntegrationEntityFromRows as aM, type IntegrationFieldV1 as aN, type IntegrationMap as aO, type IntegrationMeterReading as aP, type IntegrationNotificationConfig as aQ, type IntegrationObjectV1 as aR, type IntegrationSettings as aS, type IntegrationWithUseCases as aT, type ManagedCallAuth as aU, type ManagedCallErrorResponse as aV, type ManagedCallExecuteRequest as aW, type ManagedCallExecuteResponse as aX, type ManagedCallOperation as aY, type ManagedCallOperationConfig as aZ, type ManagedCallUseCase as a_, type ErrorResponseBase as aa, type ExecuteErpImportRequest as ab, type ExternalMonitoringSpan as ac, type FileProxyAuth as ad, type FileProxyDeliveryConfig as ae, type FileProxyFanOutConfig as af, type FileProxyParam as ag, type FileProxyResponseConfig as ah, type FileProxySecureProxyAttachment as ai, type FileProxyStep as aj, type FileProxyUploadConfig as ak, type FileProxyUrlConfig as al, type FileProxyUrlParam as am, type FileProxyUrlParams as an, type FileProxyUseCase as ao, type FileProxyUseCaseConfiguration as ap, type FileProxyUseCaseHistoryEntry as aq, type GenerateTypesPreviewResponse as ar, type GenerateTypesRequest as as, type GenerateTypesResponse as at, type GetMonitoringStatsRequest as au, type GetMonitoringStatsV2Request as av, type GetMonitoringTimeSeriesRequest as aw, type GetMonitoringTimeSeriesV2Request as ax, type InboundIntegrationEventConfiguration as ay, type InboundMonitoringEvent as az, type PathsDictionary as b, type SecureProxyResponse as b$, type MappedFieldValue as b0, type MappingSimulationRequest as b1, type MappingSimulationResponse as b2, type MappingSimulationV2Request as b3, type MappingSimulationWarning as b4, type MeterReadingPruneScopeConfig as b5, type MeterReadingPruneScopeUpdate as b6, type MeterReadingUpdate as b7, type MeterUniqueIdsConfig as b8, type MonitoringCode as b9, type PollDeliveryConfig as bA, type PollOutboundMessagesRequest as bB, type PollOutboundMessagesResponse as bC, type PortalOrigin as bD, type PortalRefConfig as bE, type PortalRefFilter as bF, type PruneScopeConfig as bG, type QueryAccessLogsRequest as bH, type QueryEventsRequest as bI, type QueryInboundMonitoringEventsRequest as bJ, type QueryMonitoringEventsV2Request as bK, type QueryOutboundMonitoringEventsRequest as bL, type RedriveOutboundDlqRequest as bM, type RedriveOutboundDlqResponse as bN, type RedriveOutboundDlqResult as bO, type RelationConfig as bP, type RelationItemConfig as bQ, type RelationRefItemConfig as bR, type RelationRefValueConfig as bS, type RelationRefsConfig as bT, type RelationUniqueIdField as bU, type RepeatableFieldType as bV, type ReplayEventsRequest as bW, type RuleBaselineBucket as bX, type RuleBaselineStatus as bY, type S3Reference as bZ, type SecureProxyRequest as b_, type MonitoringEventV2 as ba, type MonitoringStats as bb, type MonitoringStatsV2 as bc, type MonitoringTraceResponse as bd, type NotificationChannelSet as be, type NotificationDigestConfig as bf, type NotificationHistoryItem as bg, type NotificationHistoryResponse as bh, type NotificationRecipient as bi, type NotificationRule as bj, type NotificationRuleStatus as bk, type NotificationStatusResponse as bl, type OutboundConflict as bm, type OutboundDlqListResponse as bn, type OutboundDlqMessage as bo, type OutboundFileProxyTargetStatus as bp, type OutboundIntegrationEventConfiguration as bq, type OutboundMapping as br, type OutboundMappingSimulationError as bs, type OutboundMessage as bt, type OutboundMonitoringEvent as bu, type OutboundPollStatus as bv, type OutboundStatusResponse as bw, type OutboundUseCase as bx, type OutboundUseCaseHistoryEntry as by, type OutboundUseCaseStatus as bz, type AckOutboundMessagesRequest as c, type SecureProxySummary as c0, type SecureProxyUpstreamError as c1, type SecureProxyUseCase as c2, type SecureProxyUseCaseConfiguration as c3, type SecureProxyUseCaseHistoryEntry as c4, type SecureProxyWhitelist as c5, type SecureProxyWhitelistUpdate as c6, type SetIntegrationAppMappingRequest as c7, type SimulateOutboundMappingRequest as c8, type SimulateOutboundMappingResponse as c9, type UseCaseTypePreview as cA, type ValidateErpImportRequest as cB, type WebhookDeliveryConfig as cC, type WebhookStatus as cD, type SuggestErpImportUseCasesResponse as ca, type TestNotificationRequest as cb, type TestNotificationResponse as cc, type TimeSeriesBreakdownItemV2 as cd, type TimeSeriesBucket as ce, type TimeSeriesBucketV2 as cf, type TriggerErpActionRequest as cg, type TriggerWebhookResp as ch, type TypeAnnotations as ci, type TypeDescriptor as cj, type UnblockOutboundStreamRequest as ck, type UnblockOutboundStreamResponse as cl, type UpdateFileProxyUseCaseRequest as cm, type UpdateInboundUseCaseRequest as cn, type UpdateIntegrationRequest as co, type UpdateManagedCallUseCaseRequest as cp, type UpdateOutboundUseCaseRequest as cq, type UpdateSecureProxyUseCaseRequest as cr, type UpdateUseCaseRequest as cs, type UpdateUseCaseRequestBase as ct, type UpsertDocumentationPageRequest as cu, type UpsertIntegrationWithUseCasesRequest as cv, type UseCase as cw, type UseCaseBase as cx, type UseCaseHistoryEntry as cy, type UseCaseHistoryEntryBase as cz, type AckOutboundMessagesResponse as d, type AckResult as e, type AutoRefreshSettings as f, type CommitTypesRequest as g, type CommitTypesResponse as h, type ConnectorConfig as i, type CreateErpImportRequest as j, type CreateErpImportResponse as k, type CreateFileProxyUseCaseRequest as l, type CreateInboundUseCaseRequest as m, type CreateIntegrationRequest as n, type CreateManagedCallUseCaseRequest as o, type CreateOutboundUseCaseRequest as p, type CreateSecureProxyUseCaseRequest as q, type CreateUseCaseRequest as r, type CreateUseCaseRequestBase as s, type DeliveryConfig as t, type DirectEntityOperation as u, type DirectMeterReadingOperation as v, type DirectPayload as w, type DirectRelationItem as x, type DirectRelationRefItem as y, type DirectRelationRefValue as z };
|
|
@@ -2909,6 +2909,17 @@ declare namespace Components {
|
|
|
2909
2909
|
*/
|
|
2910
2910
|
correlation_id?: string;
|
|
2911
2911
|
};
|
|
2912
|
+
export interface ErpImportDownload {
|
|
2913
|
+
/**
|
|
2914
|
+
* Presigned URL serving the file as an attachment. Valid until `expires_at`.
|
|
2915
|
+
*/
|
|
2916
|
+
download_url: string; // uri
|
|
2917
|
+
/**
|
|
2918
|
+
* The filename the file was uploaded with.
|
|
2919
|
+
*/
|
|
2920
|
+
filename: string;
|
|
2921
|
+
expires_at: string; // date-time
|
|
2922
|
+
}
|
|
2912
2923
|
/**
|
|
2913
2924
|
* One entity instance the import will write, attributed to the mapping target that produces it.
|
|
2914
2925
|
*/
|
|
@@ -8844,6 +8855,20 @@ declare namespace Paths {
|
|
|
8844
8855
|
export type $500 = Components.Responses.InternalServerError;
|
|
8845
8856
|
}
|
|
8846
8857
|
}
|
|
8858
|
+
namespace DownloadErpImportFile {
|
|
8859
|
+
namespace Parameters {
|
|
8860
|
+
export type ImportId = string;
|
|
8861
|
+
}
|
|
8862
|
+
export interface PathParameters {
|
|
8863
|
+
importId: Parameters.ImportId;
|
|
8864
|
+
}
|
|
8865
|
+
namespace Responses {
|
|
8866
|
+
export type $200 = Components.Schemas.ErpImportDownload;
|
|
8867
|
+
export type $403 = Components.Responses.Forbidden;
|
|
8868
|
+
export type $404 = Components.Schemas.ErrorResponseBase;
|
|
8869
|
+
export type $500 = Components.Responses.InternalServerError;
|
|
8870
|
+
}
|
|
8871
|
+
}
|
|
8847
8872
|
namespace ExecuteErpImport {
|
|
8848
8873
|
namespace Parameters {
|
|
8849
8874
|
export type ImportId = string;
|
|
@@ -8957,6 +8982,21 @@ declare namespace Paths {
|
|
|
8957
8982
|
export type $500 = Components.Responses.InternalServerError;
|
|
8958
8983
|
}
|
|
8959
8984
|
}
|
|
8985
|
+
namespace GetErpImportPreview {
|
|
8986
|
+
namespace Parameters {
|
|
8987
|
+
export type ImportId = string;
|
|
8988
|
+
}
|
|
8989
|
+
export interface PathParameters {
|
|
8990
|
+
importId: Parameters.ImportId;
|
|
8991
|
+
}
|
|
8992
|
+
namespace Responses {
|
|
8993
|
+
export type $200 = /* Sample of the file's first rows, using the same parser as `:validate`. Registration refuses a file it cannot read, so a created job always includes this. */ Components.Schemas.ErpImportFilePreview;
|
|
8994
|
+
export type $400 = Components.Responses.BadRequest;
|
|
8995
|
+
export type $403 = Components.Responses.Forbidden;
|
|
8996
|
+
export type $404 = Components.Schemas.ErrorResponseBase;
|
|
8997
|
+
export type $500 = Components.Responses.InternalServerError;
|
|
8998
|
+
}
|
|
8999
|
+
}
|
|
8960
9000
|
namespace GetIntegration {
|
|
8961
9001
|
namespace Parameters {
|
|
8962
9002
|
export type IntegrationId = string; // uuid
|
|
@@ -10755,6 +10795,27 @@ interface OperationMethods {
|
|
|
10755
10795
|
data?: any,
|
|
10756
10796
|
config?: AxiosRequestConfig
|
|
10757
10797
|
): OperationResponse<Paths.DeleteErpImport.Responses.$204>
|
|
10798
|
+
/**
|
|
10799
|
+
* getErpImportPreview - getErpImportPreview
|
|
10800
|
+
*
|
|
10801
|
+
* The file preview of an existing import: its columns and first data rows, the same sample `createErpImport` returns with `include_preview`. Lets a client that opens a job later show its file, and is independent of GET /v2/erp/imports/{importId}, so the two can be fetched in parallel.
|
|
10802
|
+
* Read fresh from the import's file on every call. CSV only — an xlsx import returns 400.
|
|
10803
|
+
*/
|
|
10804
|
+
'getErpImportPreview'(
|
|
10805
|
+
parameters?: Parameters<Paths.GetErpImportPreview.PathParameters> | null,
|
|
10806
|
+
data?: any,
|
|
10807
|
+
config?: AxiosRequestConfig
|
|
10808
|
+
): OperationResponse<Paths.GetErpImportPreview.Responses.$200>
|
|
10809
|
+
/**
|
|
10810
|
+
* downloadErpImportFile - downloadErpImportFile
|
|
10811
|
+
*
|
|
10812
|
+
* A short-lived presigned URL that downloads the file this import was registered with — the import's own copy, so exactly what `:validate` and `:execute` read. The URL serves the file as an attachment under its original filename.
|
|
10813
|
+
*/
|
|
10814
|
+
'downloadErpImportFile'(
|
|
10815
|
+
parameters?: Parameters<Paths.DownloadErpImportFile.PathParameters> | null,
|
|
10816
|
+
data?: any,
|
|
10817
|
+
config?: AxiosRequestConfig
|
|
10818
|
+
): OperationResponse<Paths.DownloadErpImportFile.Responses.$200>
|
|
10758
10819
|
/**
|
|
10759
10820
|
* validateErpImport - validateErpImport
|
|
10760
10821
|
*
|
|
@@ -11817,6 +11878,31 @@ interface PathsDictionary {
|
|
|
11817
11878
|
config?: AxiosRequestConfig
|
|
11818
11879
|
): OperationResponse<Paths.DeleteErpImport.Responses.$204>
|
|
11819
11880
|
}
|
|
11881
|
+
['/v2/erp/imports/{importId}/preview']: {
|
|
11882
|
+
/**
|
|
11883
|
+
* getErpImportPreview - getErpImportPreview
|
|
11884
|
+
*
|
|
11885
|
+
* The file preview of an existing import: its columns and first data rows, the same sample `createErpImport` returns with `include_preview`. Lets a client that opens a job later show its file, and is independent of GET /v2/erp/imports/{importId}, so the two can be fetched in parallel.
|
|
11886
|
+
* Read fresh from the import's file on every call. CSV only — an xlsx import returns 400.
|
|
11887
|
+
*/
|
|
11888
|
+
'get'(
|
|
11889
|
+
parameters?: Parameters<Paths.GetErpImportPreview.PathParameters> | null,
|
|
11890
|
+
data?: any,
|
|
11891
|
+
config?: AxiosRequestConfig
|
|
11892
|
+
): OperationResponse<Paths.GetErpImportPreview.Responses.$200>
|
|
11893
|
+
}
|
|
11894
|
+
['/v2/erp/imports/{importId}/download']: {
|
|
11895
|
+
/**
|
|
11896
|
+
* downloadErpImportFile - downloadErpImportFile
|
|
11897
|
+
*
|
|
11898
|
+
* A short-lived presigned URL that downloads the file this import was registered with — the import's own copy, so exactly what `:validate` and `:execute` read. The URL serves the file as an attachment under its original filename.
|
|
11899
|
+
*/
|
|
11900
|
+
'get'(
|
|
11901
|
+
parameters?: Parameters<Paths.DownloadErpImportFile.PathParameters> | null,
|
|
11902
|
+
data?: any,
|
|
11903
|
+
config?: AxiosRequestConfig
|
|
11904
|
+
): OperationResponse<Paths.DownloadErpImportFile.Responses.$200>
|
|
11905
|
+
}
|
|
11820
11906
|
['/v2/erp/imports/{importId}:validate']: {
|
|
11821
11907
|
/**
|
|
11822
11908
|
* validateErpImport - validateErpImport
|
|
@@ -11923,6 +12009,7 @@ type EnvVarRefConfig = Components.Schemas.EnvVarRefConfig;
|
|
|
11923
12009
|
type EnvironmentFieldConfig = Components.Schemas.EnvironmentFieldConfig;
|
|
11924
12010
|
type ErpEvent = Components.Schemas.ErpEvent;
|
|
11925
12011
|
type ErpEventV3 = Components.Schemas.ErpEventV3;
|
|
12012
|
+
type ErpImportDownload = Components.Schemas.ErpImportDownload;
|
|
11926
12013
|
type ErpImportEntityDetail = Components.Schemas.ErpImportEntityDetail;
|
|
11927
12014
|
type ErpImportError = Components.Schemas.ErpImportError;
|
|
11928
12015
|
type ErpImportFilePreview = Components.Schemas.ErpImportFilePreview;
|
|
@@ -12093,4 +12180,4 @@ type ValidateErpImportRequest = Components.Schemas.ValidateErpImportRequest;
|
|
|
12093
12180
|
type WebhookDeliveryConfig = Components.Schemas.WebhookDeliveryConfig;
|
|
12094
12181
|
type WebhookStatus = Components.Schemas.WebhookStatus;
|
|
12095
12182
|
|
|
12096
|
-
export { type
|
|
12183
|
+
export { type ErpImportEntityDetail as $, type AccessLogEntry as A, type DirectRelationValue as B, type Client as C, type DeleteIntegrationAppMappingRequest as D, type DirectSimulationError as E, type DirectSimulationRequest as F, type DirectSimulationResponse as G, type DocumentationPage as H, type DocumentationPageSummary as I, type EmbeddedFileProxyUseCaseRequest as J, type EmbeddedInboundUseCaseRequest as K, type EmbeddedManagedCallUseCaseRequest as L, type EmbeddedOutboundUseCaseRequest as M, type EmbeddedSecureProxyUseCaseRequest as N, type OperationMethods as O, Paths as P, type EmbeddedUseCaseRequest as Q, type EmbeddedUseCaseRequestBase as R, type EntityPruneScopeUpdate as S, type EntitySyncState as T, type EntitySyncStatusResponse as U, type EntityUpdate as V, type EnvVarRefConfig as W, type EnvironmentFieldConfig as X, type ErpEvent as Y, type ErpEventV3 as Z, type ErpImportDownload as _, Components as a, type ManagedCallUseCaseHistoryEntry as a$, type ErpImportError as a0, type ErpImportFilePreview as a1, type ErpImportIssue as a2, type ErpImportJob as a3, type ErpImportList as a4, type ErpImportProgress as a5, type ErpImportUseCaseSuggestion as a6, type ErpImportValidation as a7, type ErpUpdatesEventsV2Request as a8, type ErpUpdatesEventsV3Request as a9, type InboundUseCase as aA, type InboundUseCaseHistoryEntry as aB, type IngestExternalMonitoringEventsRequest as aC, type IngestExternalMonitoringEventsResponse as aD, type Integration as aE, type IntegrationAppMapping as aF, type IntegrationConfigurationV1 as aG, type IntegrationConfigurationV2 as aH, type IntegrationEditableFields as aI, type IntegrationEntity as aJ, type IntegrationEntityConditional as aK, type IntegrationEntityField as aL, type IntegrationEntityFromRows as aM, type IntegrationFieldV1 as aN, type IntegrationMap as aO, type IntegrationMeterReading as aP, type IntegrationNotificationConfig as aQ, type IntegrationObjectV1 as aR, type IntegrationSettings as aS, type IntegrationWithUseCases as aT, type ManagedCallAuth as aU, type ManagedCallErrorResponse as aV, type ManagedCallExecuteRequest as aW, type ManagedCallExecuteResponse as aX, type ManagedCallOperation as aY, type ManagedCallOperationConfig as aZ, type ManagedCallUseCase as a_, type ErrorResponseBase as aa, type ExecuteErpImportRequest as ab, type ExternalMonitoringSpan as ac, type FileProxyAuth as ad, type FileProxyDeliveryConfig as ae, type FileProxyFanOutConfig as af, type FileProxyParam as ag, type FileProxyResponseConfig as ah, type FileProxySecureProxyAttachment as ai, type FileProxyStep as aj, type FileProxyUploadConfig as ak, type FileProxyUrlConfig as al, type FileProxyUrlParam as am, type FileProxyUrlParams as an, type FileProxyUseCase as ao, type FileProxyUseCaseConfiguration as ap, type FileProxyUseCaseHistoryEntry as aq, type GenerateTypesPreviewResponse as ar, type GenerateTypesRequest as as, type GenerateTypesResponse as at, type GetMonitoringStatsRequest as au, type GetMonitoringStatsV2Request as av, type GetMonitoringTimeSeriesRequest as aw, type GetMonitoringTimeSeriesV2Request as ax, type InboundIntegrationEventConfiguration as ay, type InboundMonitoringEvent as az, type PathsDictionary as b, type SecureProxyResponse as b$, type MappedFieldValue as b0, type MappingSimulationRequest as b1, type MappingSimulationResponse as b2, type MappingSimulationV2Request as b3, type MappingSimulationWarning as b4, type MeterReadingPruneScopeConfig as b5, type MeterReadingPruneScopeUpdate as b6, type MeterReadingUpdate as b7, type MeterUniqueIdsConfig as b8, type MonitoringCode as b9, type PollDeliveryConfig as bA, type PollOutboundMessagesRequest as bB, type PollOutboundMessagesResponse as bC, type PortalOrigin as bD, type PortalRefConfig as bE, type PortalRefFilter as bF, type PruneScopeConfig as bG, type QueryAccessLogsRequest as bH, type QueryEventsRequest as bI, type QueryInboundMonitoringEventsRequest as bJ, type QueryMonitoringEventsV2Request as bK, type QueryOutboundMonitoringEventsRequest as bL, type RedriveOutboundDlqRequest as bM, type RedriveOutboundDlqResponse as bN, type RedriveOutboundDlqResult as bO, type RelationConfig as bP, type RelationItemConfig as bQ, type RelationRefItemConfig as bR, type RelationRefValueConfig as bS, type RelationRefsConfig as bT, type RelationUniqueIdField as bU, type RepeatableFieldType as bV, type ReplayEventsRequest as bW, type RuleBaselineBucket as bX, type RuleBaselineStatus as bY, type S3Reference as bZ, type SecureProxyRequest as b_, type MonitoringEventV2 as ba, type MonitoringStats as bb, type MonitoringStatsV2 as bc, type MonitoringTraceResponse as bd, type NotificationChannelSet as be, type NotificationDigestConfig as bf, type NotificationHistoryItem as bg, type NotificationHistoryResponse as bh, type NotificationRecipient as bi, type NotificationRule as bj, type NotificationRuleStatus as bk, type NotificationStatusResponse as bl, type OutboundConflict as bm, type OutboundDlqListResponse as bn, type OutboundDlqMessage as bo, type OutboundFileProxyTargetStatus as bp, type OutboundIntegrationEventConfiguration as bq, type OutboundMapping as br, type OutboundMappingSimulationError as bs, type OutboundMessage as bt, type OutboundMonitoringEvent as bu, type OutboundPollStatus as bv, type OutboundStatusResponse as bw, type OutboundUseCase as bx, type OutboundUseCaseHistoryEntry as by, type OutboundUseCaseStatus as bz, type AckOutboundMessagesRequest as c, type SecureProxySummary as c0, type SecureProxyUpstreamError as c1, type SecureProxyUseCase as c2, type SecureProxyUseCaseConfiguration as c3, type SecureProxyUseCaseHistoryEntry as c4, type SecureProxyWhitelist as c5, type SecureProxyWhitelistUpdate as c6, type SetIntegrationAppMappingRequest as c7, type SimulateOutboundMappingRequest as c8, type SimulateOutboundMappingResponse as c9, type UseCaseTypePreview as cA, type ValidateErpImportRequest as cB, type WebhookDeliveryConfig as cC, type WebhookStatus as cD, type SuggestErpImportUseCasesResponse as ca, type TestNotificationRequest as cb, type TestNotificationResponse as cc, type TimeSeriesBreakdownItemV2 as cd, type TimeSeriesBucket as ce, type TimeSeriesBucketV2 as cf, type TriggerErpActionRequest as cg, type TriggerWebhookResp as ch, type TypeAnnotations as ci, type TypeDescriptor as cj, type UnblockOutboundStreamRequest as ck, type UnblockOutboundStreamResponse as cl, type UpdateFileProxyUseCaseRequest as cm, type UpdateInboundUseCaseRequest as cn, type UpdateIntegrationRequest as co, type UpdateManagedCallUseCaseRequest as cp, type UpdateOutboundUseCaseRequest as cq, type UpdateSecureProxyUseCaseRequest as cr, type UpdateUseCaseRequest as cs, type UpdateUseCaseRequestBase as ct, type UpsertDocumentationPageRequest as cu, type UpsertIntegrationWithUseCasesRequest as cv, type UseCase as cw, type UseCaseBase as cx, type UseCaseHistoryEntry as cy, type UseCaseHistoryEntryBase as cz, type AckOutboundMessagesResponse as d, type AckResult as e, type AutoRefreshSettings as f, type CommitTypesRequest as g, type CommitTypesResponse as h, type ConnectorConfig as i, type CreateErpImportRequest as j, type CreateErpImportResponse as k, type CreateFileProxyUseCaseRequest as l, type CreateInboundUseCaseRequest as m, type CreateIntegrationRequest as n, type CreateManagedCallUseCaseRequest as o, type CreateOutboundUseCaseRequest as p, type CreateSecureProxyUseCaseRequest as q, type CreateUseCaseRequest as r, type CreateUseCaseRequestBase as s, type DeliveryConfig as t, type DirectEntityOperation as u, type DirectMeterReadingOperation as v, type DirectPayload as w, type DirectRelationItem as x, type DirectRelationRefItem as y, type DirectRelationRefValue as z };
|