@viu/emporix-sdk 2.28.2 → 2.29.0
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/CHANGELOG.md +35 -0
- package/README.md +1 -1
- package/dist/availability.d.cts +1 -1
- package/dist/availability.d.ts +1 -1
- package/dist/cart.d.cts +1 -1
- package/dist/cart.d.ts +1 -1
- package/dist/category.d.cts +1 -1
- package/dist/category.d.ts +1 -1
- package/dist/checkout.d.cts +1 -1
- package/dist/checkout.d.ts +1 -1
- package/dist/companies.d.cts +1 -1
- package/dist/companies.d.ts +1 -1
- package/dist/contacts.d.cts +1 -1
- package/dist/contacts.d.ts +1 -1
- package/dist/{context-DC5gSgKK.d.cts → context-B5rWL6QD.d.cts} +1 -1
- package/dist/{context-DC5gSgKK.d.ts → context-B5rWL6QD.d.ts} +1 -1
- package/dist/{customer-groups-CLm6Gu9U.d.ts → customer-groups-BRN6I23C.d.ts} +1 -1
- package/dist/{customer-groups-BqYsPCA6.d.cts → customer-groups-_czUdHab.d.cts} +1 -1
- package/dist/customer-groups.d.cts +2 -2
- package/dist/customer-groups.d.ts +2 -2
- package/dist/customer.d.cts +1 -1
- package/dist/customer.d.ts +1 -1
- package/dist/index.cjs +302 -68
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +601 -4
- package/dist/index.d.ts +601 -4
- package/dist/index.js +302 -69
- package/dist/index.js.map +1 -1
- package/dist/locations.d.cts +1 -1
- package/dist/locations.d.ts +1 -1
- package/dist/media.d.cts +1 -1
- package/dist/media.d.ts +1 -1
- package/dist/orders.d.cts +1 -1
- package/dist/orders.d.ts +1 -1
- package/dist/payment.d.cts +1 -1
- package/dist/payment.d.ts +1 -1
- package/dist/price.d.cts +1 -1
- package/dist/price.d.ts +1 -1
- package/dist/product.d.cts +1 -1
- package/dist/product.d.ts +1 -1
- package/dist/segment.d.cts +1 -1
- package/dist/segment.d.ts +1 -1
- package/package.json +1 -1
package/dist/index.d.cts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { C as ClientContext, b as AuthContext, P as PaginatedItems, T as TokenProvider, n as ResolvedConfig, E as EmporixConfig, j as LogLevel, o as ServiceName, e as CustomerTokenRefresher } from './context-
|
|
2
|
-
export { A as AnonymousSession, a as AnonymousSessionStore, c as AuthKind, d as CustomerRefreshRegistry, D as DEFAULT_HOST, f as DefaultTokenProvider, H as HttpClient, g as HttpClientOptions, L as LEVEL, h as LevelResolver, i as LogFields, k as Logger, l as LoggerConfig, m as LoggerObjectConfig, R as RequestOptions, S as ServiceCredentials, p as StorefrontCredentials, q as auth, r as createConsoleLogger, s as createNoopLogger, t as iterateAll, u as redact, v as resolveToken, w as validateConfig } from './context-
|
|
1
|
+
import { C as ClientContext, b as AuthContext, P as PaginatedItems, T as TokenProvider, n as ResolvedConfig, E as EmporixConfig, j as LogLevel, o as ServiceName, e as CustomerTokenRefresher } from './context-B5rWL6QD.cjs';
|
|
2
|
+
export { A as AnonymousSession, a as AnonymousSessionStore, c as AuthKind, d as CustomerRefreshRegistry, D as DEFAULT_HOST, f as DefaultTokenProvider, H as HttpClient, g as HttpClientOptions, L as LEVEL, h as LevelResolver, i as LogFields, k as Logger, l as LoggerConfig, m as LoggerObjectConfig, R as RequestOptions, S as ServiceCredentials, p as StorefrontCredentials, q as auth, r as createConsoleLogger, s as createNoopLogger, t as iterateAll, u as redact, v as resolveToken, w as validateConfig } from './context-B5rWL6QD.cjs';
|
|
3
3
|
import { CustomerService } from './customer.cjs';
|
|
4
4
|
export { Address, AddressCreateInput, AddressUpdateInput, ChangeEmailInput, ConfirmEmailChangeInput, Customer, CustomerSession, CustomerSignupInput, CustomerUpdateInput, PasswordChangeInput, PasswordResetConfirmInput, PasswordResetRequestInput, ResendActivationInput } from './customer.cjs';
|
|
5
5
|
import { ProductService } from './product.cjs';
|
|
@@ -21,7 +21,7 @@ export { Segment, SegmentAssignmentBulkResult, SegmentBulkItem, SegmentBulkResul
|
|
|
21
21
|
import { CompaniesService } from './companies.cjs';
|
|
22
22
|
import { ContactsService } from './contacts.cjs';
|
|
23
23
|
import { LocationsService } from './locations.cjs';
|
|
24
|
-
import { m as UserResponse, U as UserCreateRequest, l as UserIdResponse, k as UserExtendedResponse, o as UserUpdateRequest, j as GroupsQueryDocument, n as UserScopesResponse, a as AccessControlQueryDocument, G as GroupCreateRequest, h as GroupIdResponse, i as GroupUpdateRequest, c as AssignmentCreateRequest, d as AssignmentIdResponse, b as AccessControlUpsertRequest, A as AccessControlIdResponse, e as CustomScopeQueryDocument, f as CustomScopeUpsertRequest, C as CustomScopeIdResponse, g as CustomerGroupsService } from './customer-groups-
|
|
24
|
+
import { m as UserResponse, U as UserCreateRequest, l as UserIdResponse, k as UserExtendedResponse, o as UserUpdateRequest, j as GroupsQueryDocument, n as UserScopesResponse, a as AccessControlQueryDocument, G as GroupCreateRequest, h as GroupIdResponse, i as GroupUpdateRequest, c as AssignmentCreateRequest, d as AssignmentIdResponse, b as AccessControlUpsertRequest, A as AccessControlIdResponse, e as CustomScopeQueryDocument, f as CustomScopeUpsertRequest, C as CustomScopeIdResponse, g as CustomerGroupsService } from './customer-groups-_czUdHab.cjs';
|
|
25
25
|
import { OrdersService, SalesOrdersService } from './orders.cjs';
|
|
26
26
|
export { GetOrderOptions, ListLegalEntityOrdersOptions, ListMyOrdersOptions, ListSalesOrdersOptions, Order, OrderEntry, OrderStatus, OrderTransitionOptions, SalesOrder, SalesOrderCalculationInput, SalesOrderCreateInput, SalesOrderCreated, SalesOrderEntriesInput, SalesOrderHistoricalTransitions, SalesOrderPatch, SalesOrderReplaceInput, SalesOrderSearchInput, SalesOrderSplitInput, SalesOrderSplitResult, Transition, UpdateSalesOrderOptions } from './orders.cjs';
|
|
27
27
|
import { AvailabilityService } from './availability.cjs';
|
|
@@ -7967,6 +7967,602 @@ declare class IndexingService {
|
|
|
7967
7967
|
reindex(input: ReindexInput, auth?: AuthContext): Promise<void>;
|
|
7968
7968
|
}
|
|
7969
7969
|
|
|
7970
|
+
/**
|
|
7971
|
+
* An import configuration grouping one or more streams.
|
|
7972
|
+
*/
|
|
7973
|
+
type ImportConfig$1 = {
|
|
7974
|
+
/**
|
|
7975
|
+
* The configuration identifier.
|
|
7976
|
+
*/
|
|
7977
|
+
id?: string;
|
|
7978
|
+
/**
|
|
7979
|
+
* The owning tenant.
|
|
7980
|
+
*/
|
|
7981
|
+
tenant?: string;
|
|
7982
|
+
/**
|
|
7983
|
+
* The configuration name.
|
|
7984
|
+
*/
|
|
7985
|
+
name?: string;
|
|
7986
|
+
/**
|
|
7987
|
+
* A free-text description.
|
|
7988
|
+
*/
|
|
7989
|
+
description?: string;
|
|
7990
|
+
/**
|
|
7991
|
+
* The default source connection for the configuration's streams.
|
|
7992
|
+
*/
|
|
7993
|
+
sourceConnId?: string;
|
|
7994
|
+
/**
|
|
7995
|
+
* Whether delta (incremental) runs are enabled.
|
|
7996
|
+
*/
|
|
7997
|
+
deltaEnabled?: boolean;
|
|
7998
|
+
/**
|
|
7999
|
+
* Whether the configuration is active.
|
|
8000
|
+
*/
|
|
8001
|
+
enabled?: boolean;
|
|
8002
|
+
/**
|
|
8003
|
+
* When the configuration was created.
|
|
8004
|
+
*/
|
|
8005
|
+
createdAt?: string;
|
|
8006
|
+
/**
|
|
8007
|
+
* When the configuration was last updated.
|
|
8008
|
+
*/
|
|
8009
|
+
updatedAt?: string;
|
|
8010
|
+
};
|
|
8011
|
+
/**
|
|
8012
|
+
* A stream that extracts from a source, maps fields, and upserts into an Emporix target type.
|
|
8013
|
+
*/
|
|
8014
|
+
type ImportStream$1 = {
|
|
8015
|
+
/**
|
|
8016
|
+
* The stream identifier.
|
|
8017
|
+
*/
|
|
8018
|
+
id?: string;
|
|
8019
|
+
/**
|
|
8020
|
+
* The parent configuration.
|
|
8021
|
+
*/
|
|
8022
|
+
configId?: string;
|
|
8023
|
+
/**
|
|
8024
|
+
* The stream name.
|
|
8025
|
+
*/
|
|
8026
|
+
name?: string;
|
|
8027
|
+
/**
|
|
8028
|
+
* The logical source entity or record.
|
|
8029
|
+
*/
|
|
8030
|
+
sourceEntity?: string;
|
|
8031
|
+
/**
|
|
8032
|
+
* The target writer code, for example `emporix.customEntity`.
|
|
8033
|
+
*/
|
|
8034
|
+
targetWriter?: string;
|
|
8035
|
+
/**
|
|
8036
|
+
* The default target type (custom-entity type identifier).
|
|
8037
|
+
*/
|
|
8038
|
+
targetType?: string;
|
|
8039
|
+
/**
|
|
8040
|
+
* How the stream contributes to the target.
|
|
8041
|
+
*/
|
|
8042
|
+
mode?: 'STANDALONE' | 'COMPOSITE_CHILD' | 'COMPOSITE_MERGE';
|
|
8043
|
+
/**
|
|
8044
|
+
* Whether the stream is active.
|
|
8045
|
+
*/
|
|
8046
|
+
enabled?: boolean;
|
|
8047
|
+
};
|
|
8048
|
+
/**
|
|
8049
|
+
* A cron schedule for a configuration.
|
|
8050
|
+
*/
|
|
8051
|
+
type Schedule = {
|
|
8052
|
+
/**
|
|
8053
|
+
* The schedule identifier.
|
|
8054
|
+
*/
|
|
8055
|
+
id?: string;
|
|
8056
|
+
/**
|
|
8057
|
+
* The scheduled configuration.
|
|
8058
|
+
*/
|
|
8059
|
+
configId?: string;
|
|
8060
|
+
/**
|
|
8061
|
+
* A Spring cron expression with six fields.
|
|
8062
|
+
*/
|
|
8063
|
+
cron: string;
|
|
8064
|
+
/**
|
|
8065
|
+
* The IANA time zone the cron is evaluated in.
|
|
8066
|
+
*/
|
|
8067
|
+
timezone?: string;
|
|
8068
|
+
/**
|
|
8069
|
+
* Whether the schedule is active.
|
|
8070
|
+
*/
|
|
8071
|
+
enabled?: boolean;
|
|
8072
|
+
/**
|
|
8073
|
+
* The next fire time.
|
|
8074
|
+
*/
|
|
8075
|
+
nextFireAt?: string;
|
|
8076
|
+
};
|
|
8077
|
+
/**
|
|
8078
|
+
* An import run and its reconciled counters.
|
|
8079
|
+
*/
|
|
8080
|
+
type ImportRun$1 = {
|
|
8081
|
+
/**
|
|
8082
|
+
* The run identifier.
|
|
8083
|
+
*/
|
|
8084
|
+
id?: string;
|
|
8085
|
+
/**
|
|
8086
|
+
* The configuration the run belongs to.
|
|
8087
|
+
*/
|
|
8088
|
+
configId?: string;
|
|
8089
|
+
/**
|
|
8090
|
+
* The owning tenant.
|
|
8091
|
+
*/
|
|
8092
|
+
tenant?: string;
|
|
8093
|
+
/**
|
|
8094
|
+
* What triggered the run.
|
|
8095
|
+
*/
|
|
8096
|
+
trigger?: 'MANUAL' | 'SCHEDULED';
|
|
8097
|
+
/**
|
|
8098
|
+
* The run status.
|
|
8099
|
+
*/
|
|
8100
|
+
status?: 'QUEUED' | 'RUNNING' | 'SUCCEEDED' | 'PARTIAL' | 'FAILED' | 'CANCELLED';
|
|
8101
|
+
/**
|
|
8102
|
+
* The run mode.
|
|
8103
|
+
*/
|
|
8104
|
+
mode?: 'FULL' | 'DELTA';
|
|
8105
|
+
/**
|
|
8106
|
+
* When the run started.
|
|
8107
|
+
*/
|
|
8108
|
+
startedAt?: string;
|
|
8109
|
+
/**
|
|
8110
|
+
* When the run finished.
|
|
8111
|
+
*/
|
|
8112
|
+
finishedAt?: string;
|
|
8113
|
+
/**
|
|
8114
|
+
* Records read (created + updated + skipped + deleted + failed).
|
|
8115
|
+
*/
|
|
8116
|
+
recordsRead?: number;
|
|
8117
|
+
/**
|
|
8118
|
+
* Records created.
|
|
8119
|
+
*/
|
|
8120
|
+
created?: number;
|
|
8121
|
+
/**
|
|
8122
|
+
* Records updated.
|
|
8123
|
+
*/
|
|
8124
|
+
updated?: number;
|
|
8125
|
+
/**
|
|
8126
|
+
* Records skipped because they were unchanged.
|
|
8127
|
+
*/
|
|
8128
|
+
skipped?: number;
|
|
8129
|
+
/**
|
|
8130
|
+
* Records that failed.
|
|
8131
|
+
*/
|
|
8132
|
+
failed?: number;
|
|
8133
|
+
/**
|
|
8134
|
+
* Records deleted.
|
|
8135
|
+
*/
|
|
8136
|
+
deleted?: number;
|
|
8137
|
+
/**
|
|
8138
|
+
* A terminal status message, typically set on failure.
|
|
8139
|
+
*/
|
|
8140
|
+
message?: string;
|
|
8141
|
+
};
|
|
8142
|
+
/**
|
|
8143
|
+
* The per-stream progress within a run.
|
|
8144
|
+
*/
|
|
8145
|
+
type ImportRunStream$1 = {
|
|
8146
|
+
/**
|
|
8147
|
+
* The run-stream identifier.
|
|
8148
|
+
*/
|
|
8149
|
+
id?: string;
|
|
8150
|
+
/**
|
|
8151
|
+
* The run this progress belongs to.
|
|
8152
|
+
*/
|
|
8153
|
+
runId?: string;
|
|
8154
|
+
/**
|
|
8155
|
+
* The stream this progress belongs to.
|
|
8156
|
+
*/
|
|
8157
|
+
streamId?: string;
|
|
8158
|
+
/**
|
|
8159
|
+
* The stream name.
|
|
8160
|
+
*/
|
|
8161
|
+
streamName?: string;
|
|
8162
|
+
/**
|
|
8163
|
+
* The stream's status within the run.
|
|
8164
|
+
*/
|
|
8165
|
+
status?: 'QUEUED' | 'RUNNING' | 'SUCCEEDED' | 'PARTIAL' | 'FAILED' | 'SKIPPED';
|
|
8166
|
+
/**
|
|
8167
|
+
* Records read for this stream.
|
|
8168
|
+
*/
|
|
8169
|
+
recordsRead?: number;
|
|
8170
|
+
/**
|
|
8171
|
+
* Records created.
|
|
8172
|
+
*/
|
|
8173
|
+
created?: number;
|
|
8174
|
+
/**
|
|
8175
|
+
* Records updated.
|
|
8176
|
+
*/
|
|
8177
|
+
updated?: number;
|
|
8178
|
+
/**
|
|
8179
|
+
* Records skipped.
|
|
8180
|
+
*/
|
|
8181
|
+
skipped?: number;
|
|
8182
|
+
/**
|
|
8183
|
+
* Records that failed.
|
|
8184
|
+
*/
|
|
8185
|
+
failed?: number;
|
|
8186
|
+
/**
|
|
8187
|
+
* Records deleted.
|
|
8188
|
+
*/
|
|
8189
|
+
deleted?: number;
|
|
8190
|
+
/**
|
|
8191
|
+
* A per-stream status message.
|
|
8192
|
+
*/
|
|
8193
|
+
message?: string;
|
|
8194
|
+
};
|
|
8195
|
+
/**
|
|
8196
|
+
* A run together with its per-stream progress.
|
|
8197
|
+
*/
|
|
8198
|
+
type RunDetail = {
|
|
8199
|
+
run?: ImportRun$1;
|
|
8200
|
+
/**
|
|
8201
|
+
* The per-stream progress.
|
|
8202
|
+
*/
|
|
8203
|
+
streams?: Array<ImportRunStream$1>;
|
|
8204
|
+
};
|
|
8205
|
+
/**
|
|
8206
|
+
* The outcome of a cancellation request.
|
|
8207
|
+
*/
|
|
8208
|
+
type CancelResult = {
|
|
8209
|
+
/**
|
|
8210
|
+
* The run the cancellation targeted.
|
|
8211
|
+
*/
|
|
8212
|
+
runId?: string;
|
|
8213
|
+
/**
|
|
8214
|
+
* Whether a hard stop was requested.
|
|
8215
|
+
*/
|
|
8216
|
+
force?: boolean;
|
|
8217
|
+
/**
|
|
8218
|
+
* Whether the cancellation was accepted. `false` when the run is unknown or already finished.
|
|
8219
|
+
*/
|
|
8220
|
+
accepted?: boolean;
|
|
8221
|
+
};
|
|
8222
|
+
/**
|
|
8223
|
+
* A single error recorded during a run.
|
|
8224
|
+
*/
|
|
8225
|
+
type ErrorRecord = {
|
|
8226
|
+
/**
|
|
8227
|
+
* The error identifier.
|
|
8228
|
+
*/
|
|
8229
|
+
id?: string;
|
|
8230
|
+
/**
|
|
8231
|
+
* The run the error occurred in.
|
|
8232
|
+
*/
|
|
8233
|
+
runId?: string;
|
|
8234
|
+
/**
|
|
8235
|
+
* The stream the error occurred in.
|
|
8236
|
+
*/
|
|
8237
|
+
streamId?: string;
|
|
8238
|
+
/**
|
|
8239
|
+
* The source natural key of the offending record.
|
|
8240
|
+
*/
|
|
8241
|
+
naturalKey?: string;
|
|
8242
|
+
/**
|
|
8243
|
+
* The target writer the record was bound for.
|
|
8244
|
+
*/
|
|
8245
|
+
targetEntity?: string;
|
|
8246
|
+
/**
|
|
8247
|
+
* The pipeline stage the error occurred in.
|
|
8248
|
+
*/
|
|
8249
|
+
stage?: string;
|
|
8250
|
+
/**
|
|
8251
|
+
* A machine-readable error code.
|
|
8252
|
+
*/
|
|
8253
|
+
errorCode?: string;
|
|
8254
|
+
/**
|
|
8255
|
+
* A human-readable error message.
|
|
8256
|
+
*/
|
|
8257
|
+
message?: string;
|
|
8258
|
+
/**
|
|
8259
|
+
* When the error was recorded.
|
|
8260
|
+
*/
|
|
8261
|
+
createdAt?: string;
|
|
8262
|
+
};
|
|
8263
|
+
/**
|
|
8264
|
+
* A record that was imported. Holds keys and outcome; for composite parents it also holds the embedded child arrays.
|
|
8265
|
+
*/
|
|
8266
|
+
type ImportedRecord$1 = {
|
|
8267
|
+
/**
|
|
8268
|
+
* The imported-record identifier.
|
|
8269
|
+
*/
|
|
8270
|
+
id?: string;
|
|
8271
|
+
/**
|
|
8272
|
+
* The configuration the record belongs to.
|
|
8273
|
+
*/
|
|
8274
|
+
configId?: string;
|
|
8275
|
+
/**
|
|
8276
|
+
* The stream that produced the record.
|
|
8277
|
+
*/
|
|
8278
|
+
streamId?: string;
|
|
8279
|
+
/**
|
|
8280
|
+
* The run that last touched the record.
|
|
8281
|
+
*/
|
|
8282
|
+
runId?: string;
|
|
8283
|
+
/**
|
|
8284
|
+
* The target writer code.
|
|
8285
|
+
*/
|
|
8286
|
+
targetEntity?: string;
|
|
8287
|
+
/**
|
|
8288
|
+
* The target type.
|
|
8289
|
+
*/
|
|
8290
|
+
targetType?: string;
|
|
8291
|
+
/**
|
|
8292
|
+
* The source natural key.
|
|
8293
|
+
*/
|
|
8294
|
+
naturalKey?: string;
|
|
8295
|
+
/**
|
|
8296
|
+
* The stored fields.
|
|
8297
|
+
*/
|
|
8298
|
+
fields?: {
|
|
8299
|
+
[key: string]: unknown;
|
|
8300
|
+
};
|
|
8301
|
+
/**
|
|
8302
|
+
* The last outcome, one of `UPSERTED`, `DELETED`, `DELETED_TARGET`, `FAILED`, or `DRY_RUN`.
|
|
8303
|
+
*/
|
|
8304
|
+
outcome?: string;
|
|
8305
|
+
/**
|
|
8306
|
+
* When the record was last imported.
|
|
8307
|
+
*/
|
|
8308
|
+
importedAt?: string;
|
|
8309
|
+
};
|
|
8310
|
+
type PostImporttoolTriggerRunData = {
|
|
8311
|
+
body?: {
|
|
8312
|
+
/**
|
|
8313
|
+
* The run mode. Defaults to `DELTA`.
|
|
8314
|
+
*/
|
|
8315
|
+
mode?: 'FULL' | 'DELTA';
|
|
8316
|
+
/**
|
|
8317
|
+
* When `true`, the run maps and validates but performs no remote writes.
|
|
8318
|
+
*/
|
|
8319
|
+
dryRun?: boolean;
|
|
8320
|
+
};
|
|
8321
|
+
path: {
|
|
8322
|
+
/**
|
|
8323
|
+
* The tenant you want to access.
|
|
8324
|
+
*
|
|
8325
|
+
*/
|
|
8326
|
+
tenant: string;
|
|
8327
|
+
/**
|
|
8328
|
+
* The configuration identifier.
|
|
8329
|
+
*/
|
|
8330
|
+
configId: string;
|
|
8331
|
+
};
|
|
8332
|
+
query?: never;
|
|
8333
|
+
url: '/importtool/{tenant}/configs/{configId}/runs';
|
|
8334
|
+
};
|
|
8335
|
+
type GetImporttoolSearchDataRecordsData = {
|
|
8336
|
+
body?: never;
|
|
8337
|
+
path: {
|
|
8338
|
+
/**
|
|
8339
|
+
* The tenant you want to access.
|
|
8340
|
+
*
|
|
8341
|
+
*/
|
|
8342
|
+
tenant: string;
|
|
8343
|
+
};
|
|
8344
|
+
query: {
|
|
8345
|
+
/**
|
|
8346
|
+
* The target type to search.
|
|
8347
|
+
*/
|
|
8348
|
+
type: string;
|
|
8349
|
+
/**
|
|
8350
|
+
* Optional free-text filter. This is a case-insensitive substring match on the record's natural key only — it is NOT the Emporix query language, so field selectors and operators (e.g. `field:value`, comparisons, boolean logic) are not supported.
|
|
8351
|
+
*/
|
|
8352
|
+
search?: string;
|
|
8353
|
+
/**
|
|
8354
|
+
* Optional filter by import outcome. Omit to return records of all outcomes. `UPSERTED` (created or updated), `DELETED` (removed at the source), `DELETED_TARGET` (removed in Emporix), `FAILED`, `DRY_RUN` (produced by a dry run).
|
|
8355
|
+
*/
|
|
8356
|
+
outcome?: 'UPSERTED' | 'DELETED' | 'DELETED_TARGET' | 'FAILED' | 'DRY_RUN';
|
|
8357
|
+
/**
|
|
8358
|
+
* The zero-based page number.
|
|
8359
|
+
*/
|
|
8360
|
+
page?: number;
|
|
8361
|
+
/**
|
|
8362
|
+
* The page size.
|
|
8363
|
+
*/
|
|
8364
|
+
size?: number;
|
|
8365
|
+
};
|
|
8366
|
+
url: '/importtool/{tenant}/data/records';
|
|
8367
|
+
};
|
|
8368
|
+
|
|
8369
|
+
/**
|
|
8370
|
+
* Public types for the Import Service — stable names aliased over the
|
|
8371
|
+
* generated `import-service` types.
|
|
8372
|
+
*
|
|
8373
|
+
* Upstream names several schemas generically (`Schedule`, `RunDetail`,
|
|
8374
|
+
* `CancelResult`, `ErrorRecord`). Those would be poor citizens of the SDK root,
|
|
8375
|
+
* so everything is re-exported under an `Import…` name.
|
|
8376
|
+
*/
|
|
8377
|
+
|
|
8378
|
+
/** An import configuration, grouping one or more streams. */
|
|
8379
|
+
type ImportConfig = ImportConfig$1;
|
|
8380
|
+
/** A stream: extracts from a source, maps fields, upserts into an Emporix target type. */
|
|
8381
|
+
type ImportStream = ImportStream$1;
|
|
8382
|
+
/** A cron schedule for a configuration. `cron` is a six-field Spring expression. */
|
|
8383
|
+
type ImportSchedule = Schedule;
|
|
8384
|
+
/** An import run with its reconciled counters. */
|
|
8385
|
+
type ImportRun = ImportRun$1;
|
|
8386
|
+
/** Per-stream progress within a run. */
|
|
8387
|
+
type ImportRunStream = ImportRunStream$1;
|
|
8388
|
+
/** A run together with its per-stream progress — what `getRun` resolves to. */
|
|
8389
|
+
type ImportRunDetail = RunDetail;
|
|
8390
|
+
/** The outcome of a cancellation request. `accepted: false` means unknown or already finished. */
|
|
8391
|
+
type ImportCancelResult = CancelResult;
|
|
8392
|
+
/** A single error recorded during a run. */
|
|
8393
|
+
type ImportErrorRecord = ErrorRecord;
|
|
8394
|
+
/** A record that was imported, with its keys, stored fields and last outcome. */
|
|
8395
|
+
type ImportedRecord = ImportedRecord$1;
|
|
8396
|
+
/** Body for `triggerRun`: `{ mode?, dryRun? }`. `mode` defaults to `DELTA` server-side. */
|
|
8397
|
+
type ImportRunInput = NonNullable<PostImporttoolTriggerRunData["body"]>;
|
|
8398
|
+
/** Lifecycle status of an {@link ImportRun}. */
|
|
8399
|
+
type ImportRunStatus = NonNullable<ImportRun["status"]>;
|
|
8400
|
+
/** Run mode — `FULL` re-reads everything, `DELTA` only what changed. */
|
|
8401
|
+
type ImportRunMode = NonNullable<ImportRunInput["mode"]>;
|
|
8402
|
+
/**
|
|
8403
|
+
* The `outcome` filter accepted by `searchRecords` / `searchStreamRecords`.
|
|
8404
|
+
*
|
|
8405
|
+
* Note the asymmetry: this filter is a closed enum, but `ImportedRecord.outcome`
|
|
8406
|
+
* is a free string upstream and its example value (`UPDATED`) is not in this
|
|
8407
|
+
* enum. Do not assume a record's `outcome` is always one of these five.
|
|
8408
|
+
*/
|
|
8409
|
+
type ImportRecordOutcome = NonNullable<GetImporttoolSearchDataRecordsData["query"]["outcome"]>;
|
|
8410
|
+
/**
|
|
8411
|
+
* One frame of a run's progress stream, discriminated on `type` — which mirrors
|
|
8412
|
+
* the SSE `event:` name the service sends.
|
|
8413
|
+
*
|
|
8414
|
+
* `unknown` carries anything this SDK version does not model: a new event name,
|
|
8415
|
+
* an unparseable payload, a payload that is not a JSON object. It exists
|
|
8416
|
+
* because the service is in preview — an unrecognised frame must neither abort
|
|
8417
|
+
* a running import nor vanish silently.
|
|
8418
|
+
*/
|
|
8419
|
+
type ImportRunEvent =
|
|
8420
|
+
/**
|
|
8421
|
+
* The initial state of the run and all its streams. `run` is spelled
|
|
8422
|
+
* `| undefined` because the spec makes it optional and the repo runs with
|
|
8423
|
+
* `exactOptionalPropertyTypes`.
|
|
8424
|
+
*/
|
|
8425
|
+
{
|
|
8426
|
+
type: "snapshot";
|
|
8427
|
+
run?: ImportRun | undefined;
|
|
8428
|
+
streams: ImportRunStream[];
|
|
8429
|
+
}
|
|
8430
|
+
/** Progress for one stream, emitted per processed batch. */
|
|
8431
|
+
| {
|
|
8432
|
+
type: "stream";
|
|
8433
|
+
stream: ImportRunStream;
|
|
8434
|
+
}
|
|
8435
|
+
/** The final run state, emitted when the run finishes. */
|
|
8436
|
+
| {
|
|
8437
|
+
type: "run";
|
|
8438
|
+
run: ImportRun;
|
|
8439
|
+
}
|
|
8440
|
+
/** A frame this SDK version does not model. `data` is the raw payload. */
|
|
8441
|
+
| {
|
|
8442
|
+
type: "unknown";
|
|
8443
|
+
event: string | undefined;
|
|
8444
|
+
data: string;
|
|
8445
|
+
};
|
|
8446
|
+
/**
|
|
8447
|
+
* A page from the import service. The usual {@link PaginatedItems} plus the
|
|
8448
|
+
* totals this API reports — the only paginated SDK surface where `hasNextPage`
|
|
8449
|
+
* is derived from `totalPages` instead of guessed from a full page.
|
|
8450
|
+
*
|
|
8451
|
+
* Assignable to `PaginatedItems<T>`, so `iterateAll` consumes it unchanged.
|
|
8452
|
+
*/
|
|
8453
|
+
type ImportPage<T> = PaginatedItems<T> & {
|
|
8454
|
+
/** Total matching elements across all pages. */
|
|
8455
|
+
totalElements: number;
|
|
8456
|
+
/** Total number of pages. */
|
|
8457
|
+
totalPages: number;
|
|
8458
|
+
};
|
|
8459
|
+
|
|
8460
|
+
/** One-based paging options, shared by every paginated import endpoint. */
|
|
8461
|
+
interface ImportPageOptions {
|
|
8462
|
+
/** One-based page number. Default `1`. */
|
|
8463
|
+
pageNumber?: number;
|
|
8464
|
+
/** Page size. Default `50`. The service may clamp this — the result echoes what it used. */
|
|
8465
|
+
pageSize?: number;
|
|
8466
|
+
}
|
|
8467
|
+
/** Options for {@link ImportService.searchRecords}. `type` is required. */
|
|
8468
|
+
interface SearchImportedRecordsOptions extends ImportPageOptions {
|
|
8469
|
+
/** The target type to search, one of {@link ImportService.listDataTypes}. */
|
|
8470
|
+
type: string;
|
|
8471
|
+
/**
|
|
8472
|
+
* Case-insensitive substring match on the record's natural key. This is NOT
|
|
8473
|
+
* the Emporix query language — `field:value`, comparisons and boolean logic
|
|
8474
|
+
* are not supported here.
|
|
8475
|
+
*/
|
|
8476
|
+
search?: string;
|
|
8477
|
+
/** Filter by import outcome. Omit for records of all outcomes. */
|
|
8478
|
+
outcome?: ImportRecordOutcome;
|
|
8479
|
+
}
|
|
8480
|
+
/** Options for {@link ImportService.searchStreamRecords}. */
|
|
8481
|
+
type SearchStreamRecordsOptions = Omit<SearchImportedRecordsOptions, "type">;
|
|
8482
|
+
/**
|
|
8483
|
+
* Emporix Import Service (`/importtool/{tenant}/…`): import configurations,
|
|
8484
|
+
* their streams and schedules, run control, and the records an import produced.
|
|
8485
|
+
*
|
|
8486
|
+
* **Service-account only.** Every operation requires the
|
|
8487
|
+
* `importtool.import_trigger` scope on the client credentials, and the service
|
|
8488
|
+
* has no customer or anonymous variant — which is why `@viu/emporix-sdk-react`
|
|
8489
|
+
* ships no hooks for it. Call it from a server (Node, a Next Route Handler or
|
|
8490
|
+
* Server Action), never from a browser bundle.
|
|
8491
|
+
*
|
|
8492
|
+
* **Paging is one-based here, zero-based on the wire.** The facade takes
|
|
8493
|
+
* `pageNumber` starting at 1 and sends `page = pageNumber - 1`, matching the
|
|
8494
|
+
* rest of the SDK.
|
|
8495
|
+
*
|
|
8496
|
+
* **Upstream marks every operation as preview**: the contract may change without
|
|
8497
|
+
* a major version bump, and nearly every response field is optional in the spec.
|
|
8498
|
+
* Treat run counters and status as possibly absent.
|
|
8499
|
+
*/
|
|
8500
|
+
declare class ImportService {
|
|
8501
|
+
private readonly ctx;
|
|
8502
|
+
static readonly channel: "import";
|
|
8503
|
+
constructor(ctx: ClientContext);
|
|
8504
|
+
private base;
|
|
8505
|
+
/** List every import configuration of the tenant. */
|
|
8506
|
+
listConfigs(auth?: AuthContext): Promise<ImportConfig[]>;
|
|
8507
|
+
/** Fetch one configuration by id. */
|
|
8508
|
+
getConfig(id: string, auth?: AuthContext): Promise<ImportConfig>;
|
|
8509
|
+
/** List the streams of one configuration. */
|
|
8510
|
+
listStreams(configId: string, auth?: AuthContext): Promise<ImportStream[]>;
|
|
8511
|
+
/** Fetch one stream by id. */
|
|
8512
|
+
getStream(id: string, auth?: AuthContext): Promise<ImportStream>;
|
|
8513
|
+
/**
|
|
8514
|
+
* Fetch a configuration's schedule. Resolves to `null` when none is
|
|
8515
|
+
* configured — the service answers `204`, not `404`, so an absent schedule is
|
|
8516
|
+
* a normal result rather than an error.
|
|
8517
|
+
*/
|
|
8518
|
+
getSchedule(configId: string, auth?: AuthContext): Promise<ImportSchedule | null>;
|
|
8519
|
+
/** Create or replace a configuration's schedule. */
|
|
8520
|
+
setSchedule(configId: string, input: ImportSchedule, auth?: AuthContext): Promise<ImportSchedule>;
|
|
8521
|
+
/**
|
|
8522
|
+
* Trigger a run. `mode` defaults to `DELTA` server-side; `dryRun: true` maps
|
|
8523
|
+
* and validates without writing to the target.
|
|
8524
|
+
*
|
|
8525
|
+
* Not retried on a 5xx: a POST that timed out may already have queued a run.
|
|
8526
|
+
*/
|
|
8527
|
+
triggerRun(configId: string, input?: ImportRunInput, auth?: AuthContext): Promise<ImportRun>;
|
|
8528
|
+
/** List a configuration's runs, newest first. */
|
|
8529
|
+
listRuns(configId: string, opts?: ImportPageOptions, auth?: AuthContext): Promise<ImportPage<ImportRun>>;
|
|
8530
|
+
/** Fetch one run with its per-stream progress. */
|
|
8531
|
+
getRun(runId: string, auth?: AuthContext): Promise<ImportRunDetail>;
|
|
8532
|
+
/**
|
|
8533
|
+
* Stream a run's progress as Server-Sent Events: an initial `snapshot`, then a
|
|
8534
|
+
* `stream` event per processed batch, then a final `run` event when the run
|
|
8535
|
+
* finishes. The iterator ends when the service closes the stream; breaking out
|
|
8536
|
+
* of the `for await` aborts the request.
|
|
8537
|
+
*
|
|
8538
|
+
* Two ways this differs from every other method here. It does not re-auth: a
|
|
8539
|
+
* `401` while opening the stream throws instead of minting a fresh token and
|
|
8540
|
+
* retrying once, so a long-lived consumer should be ready to re-open (or fall
|
|
8541
|
+
* back to polling {@link getRun}). And frames this SDK version cannot read
|
|
8542
|
+
* arrive as `{ type: "unknown" }` rather than throwing — see
|
|
8543
|
+
* {@link ImportRunEvent}.
|
|
8544
|
+
*/
|
|
8545
|
+
streamRun(runId: string, auth?: AuthContext): AsyncIterable<ImportRunEvent>;
|
|
8546
|
+
/**
|
|
8547
|
+
* Request cancellation of a run. `force: true` hard-stops it immediately;
|
|
8548
|
+
* without it the run stops at the next safe point. The service answers `202`
|
|
8549
|
+
* with `accepted: false` when the run is unknown or already finished — that is
|
|
8550
|
+
* a result, not an error. A state conflict may instead come back as a `409`,
|
|
8551
|
+
* which does throw.
|
|
8552
|
+
*/
|
|
8553
|
+
cancelRun(runId: string, opts?: {
|
|
8554
|
+
force?: boolean;
|
|
8555
|
+
}, auth?: AuthContext): Promise<ImportCancelResult>;
|
|
8556
|
+
/** List the errors recorded during a run. */
|
|
8557
|
+
listRunErrors(runId: string, opts?: ImportPageOptions, auth?: AuthContext): Promise<ImportPage<ImportErrorRecord>>;
|
|
8558
|
+
/** List the target types that hold imported records — the valid `type` values for {@link searchRecords}. */
|
|
8559
|
+
listDataTypes(auth?: AuthContext): Promise<string[]>;
|
|
8560
|
+
/** Search imported records of one target type. */
|
|
8561
|
+
searchRecords(opts: SearchImportedRecordsOptions, auth?: AuthContext): Promise<ImportPage<ImportedRecord>>;
|
|
8562
|
+
/** Search the imported records produced by one stream. */
|
|
8563
|
+
searchStreamRecords(streamId: string, opts?: SearchStreamRecordsOptions, auth?: AuthContext): Promise<ImportPage<ImportedRecord>>;
|
|
8564
|
+
}
|
|
8565
|
+
|
|
7970
8566
|
type BaseUnit = {
|
|
7971
8567
|
/**
|
|
7972
8568
|
* The unit code.
|
|
@@ -10046,6 +10642,7 @@ declare class EmporixClient {
|
|
|
10046
10642
|
readonly returns: ReturnsService;
|
|
10047
10643
|
readonly sepaExport: SepaExportService;
|
|
10048
10644
|
readonly indexing: IndexingService;
|
|
10645
|
+
readonly imports: ImportService;
|
|
10049
10646
|
readonly units: UnitHandlingService;
|
|
10050
10647
|
readonly catalogs: CatalogService;
|
|
10051
10648
|
readonly vendors: VendorService;
|
|
@@ -10154,4 +10751,4 @@ declare function createEmporixClient<S extends Record<string, ServiceClass<unkno
|
|
|
10154
10751
|
*/
|
|
10155
10752
|
declare function productIdFromYrn(yrn: string | undefined): string;
|
|
10156
10753
|
|
|
10157
|
-
export { type AddedPoints, type AdminCustomer, type AdminCustomerAddress, type AdminCustomerAddressInput, type AdminCustomerAddressList, type AdminCustomerAddressUpdate, type AdminCustomerCreated, type AdminCustomerInput, type AdminCustomerList, type AdminCustomerPatch, type AdminCustomerSearchQuery, type AdminCustomerUpdate, type Agent, type AgentAnalytics, type AgentExecutions, type AgentFromTemplate, type AgentInput, type AgentPatchOp, type AgentRequestLog, type AgentSearchQuery, type AgentSessionLog, type AgentTemplate, type AgenticPatchOp, type AgentsExport, type AgentsExportRequest, type AgentsImport, type AgentsImportRequest, AiService, type AnalyticsQuery, type Approval, type ApprovalCreated, type ApprovalInput, type ApprovalList, type ApprovalPatch, type ApprovalPermittedInput, type ApprovalPermittedResult, ApprovalService, type ApprovalUsersQuery, type ApprovalUsersResult, type Assignee, type Attachment, type AttachmentOptions, AuthContext, AvailabilityService, type BatchNextIdEntry, type Brand, type BrandInput, type BrandList, BrandService, type BrandUpdate, type BulkInstanceResult, type BulkPatchInstanceItem, CartService, type Catalog, type CatalogCreated, type CatalogInput, type CatalogList, type CatalogPatch, CatalogService, type CatalogUpdate, CategoryService, type CgRelation, type CgRelationList, type ChatRequest, type ChatResponse, type ChatStreamOptions, CheckoutService, ClientConfigService, type ClientConfiguration, ClientContext, CloudFunctionsService, type CommerceEvents, CompaniesService, type CompletionMessage, type CompletionRequest, type CompletionResponse, type Configuration$1 as Configuration, type ConfigurationDraft, ContactsService, type Conversation, type ConversationSearchQuery, type ConversionFactorInput, type ConversionFactorResult, type ConvertUnitInput, type ConvertUnitResult, type Country, type CountryList, CountryService, type CountryUpdate, type Coupon$1 as Coupon, type CouponCreated, type CouponInput, type CouponList, CouponService, type CouponUpdate, type Created, type Currency, type CurrencyCreated, type CurrencyInput, type CurrencyList, CurrencyService, type CurrencyUpdate, type CustomEntity, type CustomEntityDraft, type CustomInstance, type CustomInstanceDraft, CustomerAdminService, CustomerGroupsService, CustomerService, type CustomerSummaryBatch, CustomerTokenRefresher, type DeleteAgentOptions, type DeleteConfigOptions, type DeliveryCreated, type DeliveryCycleInput, type DeliverySlot, type DeliverySlotList, type DeliveryTime$1 as DeliveryTime, type DeliveryTimeInput, type DeliveryTimeList, type DeliveryTimeUpdate, type DeliveryWindow$2 as DeliveryWindow, type DeliveryWindowList, type DeliveryWindowValidation, EmporixAuthError, EmporixClient, EmporixConfig, type EmporixCore, EmporixError, EmporixForbiddenError, EmporixInsufficientScopeError, EmporixNetworkError, EmporixNotFoundError, EmporixServerError, EmporixTimeoutError, EmporixValidationError, type ExchangeRate, type ExchangeRateCreated, type ExchangeRateInput, type ExchangeRateList, type ExchangeRateUpdate, type ExecutionsQuery, type Fee$1 as Fee, type FeeDraft, FeeService, type FindSiteInput, type GetOptions, type IamAccessControl, type IamAccessControlCreated, type IamAccessControlUpsert, type IamGroup, type IamGroupCreate, type IamGroupCreated, AssignmentCreateRequest as IamGroupMemberAssignment, type IamGroupMemberCreated, type IamGroupMemberInput, type IamGroupUpdate, type IamScope, type IamScopeCreated, type IamScopeUpsert, IamService, type IamUser, type IamUserCreate, type IamUserCreated, type IamUserDetail, type IamUserScopes, type IamUserUpdate, type IndexConfig, type IndexConfigCreated, type IndexPublicConfig, IndexingService, type InstanceSearchBody, type InvoiceJob, type InvoiceJobCreated, type InvoiceJobDraft, InvoiceService, type InvokeCloudFunctionOptions, type ItemFee, type ItemFeeDraft, type ItemFeeSearch, type ItemFeeSearchByProductId, type ItemFeeSearchByProductIds, type Job, type JobIdResponse, type Label, type LabelInput, type LabelList, LabelService, type LabelUpdate, type ListConfigOptions, type ListCustomEntitiesOptions, type ListFeesQuery, type ListInstancesQuery, type ListQuery, type ListQuoteReasonsQuery, type ListQuotesQuery, type ListReindexJobsOptions, type ListSchemaReferencesQuery, type ListSchemasQuery, LocationsService, LogLevel, type McpServer, type McpServerInput, MediaService, type MetadataFilter, type MinimumFee, type MutateOptions, type NewPointsEntry, type NextIdCommandRequest, type NextIdOptions, type NextIdResponse, type NextIdsBatchRequest, type NextIdsBatchResponse, type OAuthConfig, type OAuthInput, type OrderCycleList, type OrderEntryEventCreate, type OrderStatusChange, OrdersService, type PackagingProductsChange, type PackingEvent, type PackingEventList, PaginatedItems, PaymentGatewayService, type PickOrder, type PickOrderList, type PickPackAck, PickPackService, type PointsSummary, PriceService, ProductService, type ProviderModels, QueryFor, type Quote, type QuoteCreated, type QuoteDraft, type QuoteHistory, type QuoteInput, type QuoteReason, type QuoteReasonCreated, type QuoteReasonDraft, type QuoteReasonUpdate, type QuoteResult, QuoteService, type QuoteSlotInput, type QuoteUpdate, RagIndexerService, type RagType, type RecalculationJob, type RecalculationJobCreated, type RecalculationJobInput, type RedeemCouponResult, type RedeemMyPointsInput, type RedeemOption, type RedeemOptionList, type RedeemedPoints, type Redemption, type RedemptionCreated, type RedemptionInput, type ReferralCoupon, type Region, type RegionList, type ReindexEntityType, type ReindexInput, type ReindexJob, type ReindexJobInput, type ReindexJobStatus, ResolvedConfig, type ResourceCreated, type Return, type ReturnCreated, type ReturnInput, type ReturnList, type ReturnPatch, type ReturnUpdate, ReturnsService, RewardPointsService, SalesOrdersService, type Schema, type SchemaAttribute, type SchemaDraft, type SchemaExport, type SchemaImportInput, type SchemaInstanceBulkCreateItem, type SchemaInstanceBulkUpsertItem, type SchemaReference, type SchemaReferenceCreated, type SchemaReferenceInput, type SchemaReferenceUpdateInput, SchemaService, type SchemaTypeName, type SchemaUpdate, type SearchQuery, SegmentService, SepaExportService, type SepaJob, type SepaJobCreated, type SepaJobInput, type SequenceSchema, type SequenceSchemaCreate, SequentialIdService, type ServiceClass, ServiceName, type SessionAttributeInput, type SessionContext, type SessionContextPatch, SessionContextService, type SetItemFeesOptions, type ShippingFee, type ShippingGroup, type ShippingGroupList, type ShippingMethod, type ShippingMethodList, type ShippingPatch, ShippingService, type ShoppingList, type ShoppingListDraft, type ShoppingListItem, ShoppingListService, type Site$1 as Site, type SiteCreated, type SiteInput, type SiteList, type SiteMixin, type SiteMixinCreated, type SiteMixins, SiteService, type TaxCalculationInput, type TaxCalculationRequest, type TaxCalculationResult, type TaxClass, type TaxConfig, type TaxConfigCreated, type TaxCreation as TaxConfigInput, type TaxUpdate as TaxConfigUpdate, type TaxLocation, TaxService, TenantConfigService, type TextRequest, type TextResponse, type Token, type TokenInput, TokenProvider, type Tool, type ToolInput, type Unit, type UnitCreated, UnitHandlingService, type UnitInput, type UnitUpdate, type Vendor, type VendorCreated, type VendorInput, type VendorList, type VendorLocation, type VendorLocationInput, type VendorLocationList, type VendorLocationUpdate, type VendorSearchQuery, VendorService, type VendorUpdate, type WebhookConfig, type WebhookConfigCreated, type WebhookConfigDraft, type WebhookConfigPatch, type WebhookDashboardAccess, WebhookService, type WebhookStatistics, type WebhookStatisticsQuery, type WebhookSubscription, type WebhookSubscriptionUpdateItem, type WebhookSubscriptionUpdateResultItem, type Zone, type ZoneList, createCore, createEmporixClient, errorFromResponse, pickFee, productIdFromYrn, resolveZone };
|
|
10754
|
+
export { type AddedPoints, type AdminCustomer, type AdminCustomerAddress, type AdminCustomerAddressInput, type AdminCustomerAddressList, type AdminCustomerAddressUpdate, type AdminCustomerCreated, type AdminCustomerInput, type AdminCustomerList, type AdminCustomerPatch, type AdminCustomerSearchQuery, type AdminCustomerUpdate, type Agent, type AgentAnalytics, type AgentExecutions, type AgentFromTemplate, type AgentInput, type AgentPatchOp, type AgentRequestLog, type AgentSearchQuery, type AgentSessionLog, type AgentTemplate, type AgenticPatchOp, type AgentsExport, type AgentsExportRequest, type AgentsImport, type AgentsImportRequest, AiService, type AnalyticsQuery, type Approval, type ApprovalCreated, type ApprovalInput, type ApprovalList, type ApprovalPatch, type ApprovalPermittedInput, type ApprovalPermittedResult, ApprovalService, type ApprovalUsersQuery, type ApprovalUsersResult, type Assignee, type Attachment, type AttachmentOptions, AuthContext, AvailabilityService, type BatchNextIdEntry, type Brand, type BrandInput, type BrandList, BrandService, type BrandUpdate, type BulkInstanceResult, type BulkPatchInstanceItem, CartService, type Catalog, type CatalogCreated, type CatalogInput, type CatalogList, type CatalogPatch, CatalogService, type CatalogUpdate, CategoryService, type CgRelation, type CgRelationList, type ChatRequest, type ChatResponse, type ChatStreamOptions, CheckoutService, ClientConfigService, type ClientConfiguration, ClientContext, CloudFunctionsService, type CommerceEvents, CompaniesService, type CompletionMessage, type CompletionRequest, type CompletionResponse, type Configuration$1 as Configuration, type ConfigurationDraft, ContactsService, type Conversation, type ConversationSearchQuery, type ConversionFactorInput, type ConversionFactorResult, type ConvertUnitInput, type ConvertUnitResult, type Country, type CountryList, CountryService, type CountryUpdate, type Coupon$1 as Coupon, type CouponCreated, type CouponInput, type CouponList, CouponService, type CouponUpdate, type Created, type Currency, type CurrencyCreated, type CurrencyInput, type CurrencyList, CurrencyService, type CurrencyUpdate, type CustomEntity, type CustomEntityDraft, type CustomInstance, type CustomInstanceDraft, CustomerAdminService, CustomerGroupsService, CustomerService, type CustomerSummaryBatch, CustomerTokenRefresher, type DeleteAgentOptions, type DeleteConfigOptions, type DeliveryCreated, type DeliveryCycleInput, type DeliverySlot, type DeliverySlotList, type DeliveryTime$1 as DeliveryTime, type DeliveryTimeInput, type DeliveryTimeList, type DeliveryTimeUpdate, type DeliveryWindow$2 as DeliveryWindow, type DeliveryWindowList, type DeliveryWindowValidation, EmporixAuthError, EmporixClient, EmporixConfig, type EmporixCore, EmporixError, EmporixForbiddenError, EmporixInsufficientScopeError, EmporixNetworkError, EmporixNotFoundError, EmporixServerError, EmporixTimeoutError, EmporixValidationError, type ExchangeRate, type ExchangeRateCreated, type ExchangeRateInput, type ExchangeRateList, type ExchangeRateUpdate, type ExecutionsQuery, type Fee$1 as Fee, type FeeDraft, FeeService, type FindSiteInput, type GetOptions, type IamAccessControl, type IamAccessControlCreated, type IamAccessControlUpsert, type IamGroup, type IamGroupCreate, type IamGroupCreated, AssignmentCreateRequest as IamGroupMemberAssignment, type IamGroupMemberCreated, type IamGroupMemberInput, type IamGroupUpdate, type IamScope, type IamScopeCreated, type IamScopeUpsert, IamService, type IamUser, type IamUserCreate, type IamUserCreated, type IamUserDetail, type IamUserScopes, type IamUserUpdate, type ImportCancelResult, type ImportConfig, type ImportErrorRecord, type ImportPage, type ImportPageOptions, type ImportRecordOutcome, type ImportRun, type ImportRunDetail, type ImportRunEvent, type ImportRunInput, type ImportRunMode, type ImportRunStatus, type ImportRunStream, type ImportSchedule, ImportService, type ImportStream, type ImportedRecord, type IndexConfig, type IndexConfigCreated, type IndexPublicConfig, IndexingService, type InstanceSearchBody, type InvoiceJob, type InvoiceJobCreated, type InvoiceJobDraft, InvoiceService, type InvokeCloudFunctionOptions, type ItemFee, type ItemFeeDraft, type ItemFeeSearch, type ItemFeeSearchByProductId, type ItemFeeSearchByProductIds, type Job, type JobIdResponse, type Label, type LabelInput, type LabelList, LabelService, type LabelUpdate, type ListConfigOptions, type ListCustomEntitiesOptions, type ListFeesQuery, type ListInstancesQuery, type ListQuery, type ListQuoteReasonsQuery, type ListQuotesQuery, type ListReindexJobsOptions, type ListSchemaReferencesQuery, type ListSchemasQuery, LocationsService, LogLevel, type McpServer, type McpServerInput, MediaService, type MetadataFilter, type MinimumFee, type MutateOptions, type NewPointsEntry, type NextIdCommandRequest, type NextIdOptions, type NextIdResponse, type NextIdsBatchRequest, type NextIdsBatchResponse, type OAuthConfig, type OAuthInput, type OrderCycleList, type OrderEntryEventCreate, type OrderStatusChange, OrdersService, type PackagingProductsChange, type PackingEvent, type PackingEventList, PaginatedItems, PaymentGatewayService, type PickOrder, type PickOrderList, type PickPackAck, PickPackService, type PointsSummary, PriceService, ProductService, type ProviderModels, QueryFor, type Quote, type QuoteCreated, type QuoteDraft, type QuoteHistory, type QuoteInput, type QuoteReason, type QuoteReasonCreated, type QuoteReasonDraft, type QuoteReasonUpdate, type QuoteResult, QuoteService, type QuoteSlotInput, type QuoteUpdate, RagIndexerService, type RagType, type RecalculationJob, type RecalculationJobCreated, type RecalculationJobInput, type RedeemCouponResult, type RedeemMyPointsInput, type RedeemOption, type RedeemOptionList, type RedeemedPoints, type Redemption, type RedemptionCreated, type RedemptionInput, type ReferralCoupon, type Region, type RegionList, type ReindexEntityType, type ReindexInput, type ReindexJob, type ReindexJobInput, type ReindexJobStatus, ResolvedConfig, type ResourceCreated, type Return, type ReturnCreated, type ReturnInput, type ReturnList, type ReturnPatch, type ReturnUpdate, ReturnsService, RewardPointsService, SalesOrdersService, type Schema, type SchemaAttribute, type SchemaDraft, type SchemaExport, type SchemaImportInput, type SchemaInstanceBulkCreateItem, type SchemaInstanceBulkUpsertItem, type SchemaReference, type SchemaReferenceCreated, type SchemaReferenceInput, type SchemaReferenceUpdateInput, SchemaService, type SchemaTypeName, type SchemaUpdate, type SearchImportedRecordsOptions, type SearchQuery, type SearchStreamRecordsOptions, SegmentService, SepaExportService, type SepaJob, type SepaJobCreated, type SepaJobInput, type SequenceSchema, type SequenceSchemaCreate, SequentialIdService, type ServiceClass, ServiceName, type SessionAttributeInput, type SessionContext, type SessionContextPatch, SessionContextService, type SetItemFeesOptions, type ShippingFee, type ShippingGroup, type ShippingGroupList, type ShippingMethod, type ShippingMethodList, type ShippingPatch, ShippingService, type ShoppingList, type ShoppingListDraft, type ShoppingListItem, ShoppingListService, type Site$1 as Site, type SiteCreated, type SiteInput, type SiteList, type SiteMixin, type SiteMixinCreated, type SiteMixins, SiteService, type TaxCalculationInput, type TaxCalculationRequest, type TaxCalculationResult, type TaxClass, type TaxConfig, type TaxConfigCreated, type TaxCreation as TaxConfigInput, type TaxUpdate as TaxConfigUpdate, type TaxLocation, TaxService, TenantConfigService, type TextRequest, type TextResponse, type Token, type TokenInput, TokenProvider, type Tool, type ToolInput, type Unit, type UnitCreated, UnitHandlingService, type UnitInput, type UnitUpdate, type Vendor, type VendorCreated, type VendorInput, type VendorList, type VendorLocation, type VendorLocationInput, type VendorLocationList, type VendorLocationUpdate, type VendorSearchQuery, VendorService, type VendorUpdate, type WebhookConfig, type WebhookConfigCreated, type WebhookConfigDraft, type WebhookConfigPatch, type WebhookDashboardAccess, WebhookService, type WebhookStatistics, type WebhookStatisticsQuery, type WebhookSubscription, type WebhookSubscriptionUpdateItem, type WebhookSubscriptionUpdateResultItem, type Zone, type ZoneList, createCore, createEmporixClient, errorFromResponse, pickFee, productIdFromYrn, resolveZone };
|