@viu/emporix-sdk 4.10.0 → 4.11.1
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 +27 -0
- package/README.md +2 -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-BJeomwxV.d.cts → context-BqSLYN2q.d.cts} +68 -1
- package/dist/{context-BJeomwxV.d.ts → context-BqSLYN2q.d.ts} +68 -1
- package/dist/{customer-groups-ZlnnZrX_.d.cts → customer-groups-B3jlWR4O.d.cts} +1 -1
- package/dist/{customer-groups-ByyBHCBH.d.ts → customer-groups-oJ9YcjDe.d.ts} +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 +458 -291
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +208 -33
- package/dist/index.d.ts +208 -33
- package/dist/index.js +457 -293
- 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 {
|
|
2
|
-
export { A as AnonymousSession, a as AnonymousSessionStore, c as AuthKind, d as CustomerRefreshRegistry, D as DEFAULT_HOST, f as DefaultTokenProvider, H as HttpClient,
|
|
1
|
+
import { t as StoredAnonymousSession, b as AuthContext, T as TokenProvider, C as ClientContext, P as PaginatedItems, q as ResolvedConfig, E as EmporixConfig, m as LogLevel, s as ServiceName, e as CustomerTokenRefresher, h as EmporixUnauthorizedInfo } from './context-BqSLYN2q.cjs';
|
|
2
|
+
export { A as AnonymousSession, a as AnonymousSessionStore, c as AuthKind, d as CustomerRefreshRegistry, D as DEFAULT_HOST, f as DefaultTokenProvider, g as EmporixProxyConfig, H as HttpClient, i as HttpClientOptions, j as HttpResult, L as LEVEL, k as LevelResolver, l as LogFields, n as Logger, o as LoggerConfig, p as LoggerObjectConfig, R as RequestOptions, r as ResolvedProxyConfig, S as ServiceCredentials, u as StorefrontCredentials, v as auth, w as createConsoleLogger, x as createNoopLogger, y as iterateAll, z as redact, B as resolveToken, F as validateConfig } from './context-BqSLYN2q.cjs';
|
|
3
3
|
import { S as SearchPaging } from './search-DU6tE356.cjs';
|
|
4
4
|
import { CustomerService } from './customer.cjs';
|
|
5
5
|
export { Address, AddressCreateInput, AddressUpdateInput, ChangeEmailInput, ConfirmEmailChangeInput, Customer, CustomerSession, CustomerSignupInput, CustomerTokenValidation, CustomerUpdateInput, PasswordChangeInput, PasswordResetConfirmInput, PasswordResetRequestInput, ResendActivationInput } from './customer.cjs';
|
|
@@ -23,7 +23,7 @@ import { CompaniesService } from './companies.cjs';
|
|
|
23
23
|
export { LegalEntitySearchInput } from './companies.cjs';
|
|
24
24
|
import { ContactsService } from './contacts.cjs';
|
|
25
25
|
import { LocationsService } from './locations.cjs';
|
|
26
|
-
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-
|
|
26
|
+
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-B3jlWR4O.cjs';
|
|
27
27
|
import { OrdersService, SalesOrdersService } from './orders.cjs';
|
|
28
28
|
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';
|
|
29
29
|
import { AvailabilityService } from './availability.cjs';
|
|
@@ -239,6 +239,45 @@ declare function createServerStorage(jar: ServerCookieJar): EmporixStorage;
|
|
|
239
239
|
*/
|
|
240
240
|
declare function serverAuth(storage: EmporixStorage): AuthContext;
|
|
241
241
|
|
|
242
|
+
/**
|
|
243
|
+
* What a proxy-mode storage reports as the customer token while the proxy
|
|
244
|
+
* session belongs to a logged-in customer.
|
|
245
|
+
*
|
|
246
|
+
* A marker, not a token: in proxy mode `HttpClient` sends no `Authorization`
|
|
247
|
+
* header, so whatever a `customer` {@link AuthContext} carries never leaves the
|
|
248
|
+
* browser. It exists so that every "is a customer logged in?" check written
|
|
249
|
+
* against `getCustomerToken()` keeps working without a token in the browser.
|
|
250
|
+
*/
|
|
251
|
+
declare const PROXY_CUSTOMER_TOKEN = "emporix-proxy-session";
|
|
252
|
+
/**
|
|
253
|
+
* The token provider of a proxy-mode client. Every token request throws: the
|
|
254
|
+
* proxy holds the tokens, and a request for one is a bug that would otherwise
|
|
255
|
+
* end in a token in the browser. `setAnonymousContext` is a no-op — binding a
|
|
256
|
+
* guest session to a site and currency is the proxy's job then.
|
|
257
|
+
*/
|
|
258
|
+
declare function createProxyModeTokenProvider(): TokenProvider;
|
|
259
|
+
/** An {@link EmporixStorage} whose customer state is set from outside. */
|
|
260
|
+
interface ProxySessionStorage extends EmporixStorage {
|
|
261
|
+
/**
|
|
262
|
+
* Whether the proxy session belongs to a logged-in customer. A change notifies
|
|
263
|
+
* `subscribe` and `subscribeAll` listeners as a `customerToken` change.
|
|
264
|
+
*/
|
|
265
|
+
setProxyAuthenticated(authenticated: boolean): void;
|
|
266
|
+
}
|
|
267
|
+
/**
|
|
268
|
+
* Wraps a storage for proxy mode. Cart id, site, language and active legal
|
|
269
|
+
* entity pass through to `base`; the token slots do not:
|
|
270
|
+
*
|
|
271
|
+
* - `getCustomerToken()` answers {@link PROXY_CUSTOMER_TOKEN} or `null`, as
|
|
272
|
+
* `setProxyAuthenticated` last said;
|
|
273
|
+
* - the anonymous session, refresh token and SaaS token read as `null`;
|
|
274
|
+
* - writes to any of them are dropped, so nothing ever puts a token into `base`.
|
|
275
|
+
*
|
|
276
|
+
* A token already in `base` — from a session before the switch to proxy mode —
|
|
277
|
+
* is hidden, not removed.
|
|
278
|
+
*/
|
|
279
|
+
declare function createProxySessionStorage(base: EmporixStorage, authenticated: boolean): ProxySessionStorage;
|
|
280
|
+
|
|
242
281
|
/**
|
|
243
282
|
* The browser session-storage backends: memory, localStorage, sessionStorage,
|
|
244
283
|
* document.cookie.
|
|
@@ -487,13 +526,15 @@ type SiteDto = {
|
|
|
487
526
|
*/
|
|
488
527
|
includesTax?: boolean;
|
|
489
528
|
/**
|
|
490
|
-
* Site's default language,
|
|
529
|
+
* Site's default language: a language code of 2 or 3 letters, optionally followed by hyphen-separated subtags of 2 to 8 letters or digits. Regional variants such as `fr-ca` and custom codes such as `en-NL` are supported.
|
|
530
|
+
*
|
|
531
|
+
* **Note**: The default language must be one of the site's `languages`. The values are compared ignoring letter case, so `de-de` matches `de-DE`.
|
|
491
532
|
*/
|
|
492
533
|
defaultLanguage: string;
|
|
493
534
|
/**
|
|
494
535
|
* Languages supported by the site.
|
|
495
536
|
*
|
|
496
|
-
* **Note**:
|
|
537
|
+
* **Note**: Each language must be a language code of 2 or 3 letters, optionally followed by hyphen-separated subtags of 2 to 8 letters or digits. The format is checked, not whether the language or region exists. We recommend an ISO 639 language code combined with an ISO 3166 country code, such as `en-NL`. Regional variants such as `fr-ca` and custom codes such as `en-NL` are supported. Letter case is not checked, and the values are stored as sent. For more information, see [Language configuration](https://developer.emporix.io/api-documentation/api-guides/configuration/configuration-service/language).
|
|
497
538
|
*/
|
|
498
539
|
languages: Array<string>;
|
|
499
540
|
currency: CurrencyDto;
|
|
@@ -9200,6 +9241,12 @@ type IndexConfiguration = IndexPublicConfiguration & {
|
|
|
9200
9241
|
* API key used for write purposes. For `BATTERY_INCLUDED`, this key is validated before the configuration is created or updated.
|
|
9201
9242
|
*/
|
|
9202
9243
|
writeKey?: string;
|
|
9244
|
+
/**
|
|
9245
|
+
* Optional base URL of the Battery Included API that holds the tenant's index, for example `https://api-next.batteryincluded.io`. Applies only to the `BATTERY_INCLUDED` provider.
|
|
9246
|
+
* When set, the Indexing Service sends all of the tenant's Battery Included requests to this host and validates `writeKey` against it, so the write key must be valid on this host. When not set, the default Battery Included host is used.
|
|
9247
|
+
* The value must be an `https` address of an allowed Battery Included host, without a path, query, fragment, user information, or port. A trailing slash is allowed. Other values are rejected with `400`. A change takes effect within 10 minutes. Change `apiUrl` when no product reindex is running. If the index on the new host does not yet hold all products, start a full product reindex after the change takes effect.
|
|
9248
|
+
*/
|
|
9249
|
+
apiUrl?: string;
|
|
9203
9250
|
/**
|
|
9204
9251
|
* Optional list of root product mixin keys to exclude from indexing. When set, the specified mixin keys are omitted from both the non-localized and localized portions of the indexed document. Applies only to the `BATTERY_INCLUDED` provider.
|
|
9205
9252
|
*/
|
|
@@ -10116,9 +10163,9 @@ type FileQueue = {
|
|
|
10116
10163
|
*/
|
|
10117
10164
|
pendingTotal?: number;
|
|
10118
10165
|
/**
|
|
10119
|
-
* The newest file the stream has imported
|
|
10166
|
+
* The newest file the stream has imported. Absent when it has imported none. Returned whatever `historyLimit` is, because a run with no file waiting reads this file again (a snapshot stream).
|
|
10120
10167
|
*/
|
|
10121
|
-
lastProcessed?: ImportFile$1
|
|
10168
|
+
lastProcessed?: ImportFile$1;
|
|
10122
10169
|
};
|
|
10123
10170
|
/**
|
|
10124
10171
|
* Stream
|
|
@@ -10143,17 +10190,79 @@ type ImportStream$1 = {
|
|
|
10143
10190
|
*/
|
|
10144
10191
|
sourceEntity?: string;
|
|
10145
10192
|
/**
|
|
10146
|
-
*
|
|
10193
|
+
* Where the stream writes. Possible values:
|
|
10194
|
+
*
|
|
10195
|
+
* * `emporix.customEntity` – instances of a custom entity type, named by `targetType`.
|
|
10196
|
+
* * `emporix.product` – products. `STANDALONE` streams only.
|
|
10197
|
+
* * `emporix.category` – categories of the tenant's category tree. `STANDALONE` streams only.
|
|
10198
|
+
* * `emporix.price` – prices of products.
|
|
10199
|
+
* * `emporix.availability` – stock of products at a site.
|
|
10200
|
+
* * `emporix.media` – images of products, linked by URL. The images stay where they are hosted.
|
|
10201
|
+
* * `emporix.categoryAssignment` – assignments of products to existing categories.
|
|
10202
|
+
*
|
|
10203
|
+
* The price, availability, media, and category assignment writers are normally used by a `FAN_OUT`
|
|
10204
|
+
* stream whose parent is a product stream. The `FAN_OUT` stream supplies each product's identifier as
|
|
10205
|
+
* `productId`. A `STANDALONE` stream that uses them maps `productId` itself.
|
|
10206
|
+
*
|
|
10207
|
+
* The writers other than `emporix.customEntity` are catalog writers. The Management Dashboard offers them
|
|
10208
|
+
* only to tenants for which Emporix has enabled catalog targets. To have them enabled, contact Emporix
|
|
10209
|
+
* support.
|
|
10147
10210
|
*/
|
|
10148
10211
|
targetWriter?: string;
|
|
10149
10212
|
/**
|
|
10150
|
-
*
|
|
10213
|
+
* For `emporix.customEntity`, the custom entity type the stream writes to. For the other writers, a label that groups the stream's imported records, for example in imported data and statistics. Defaults to `PRODUCT` for `emporix.product` and `CATEGORY` for `emporix.category`. For a `FAN_OUT` stream into a catalog writer, the service sets the label.
|
|
10151
10214
|
*/
|
|
10152
10215
|
targetType?: string;
|
|
10153
10216
|
/**
|
|
10154
|
-
*
|
|
10217
|
+
* The stream's position in the configuration. Streams are listed in this order. When dependencies do not decide the run order, streams run in this order.
|
|
10218
|
+
*/
|
|
10219
|
+
seq?: number;
|
|
10220
|
+
/**
|
|
10221
|
+
* How the stream contributes to the target. Possible values:
|
|
10222
|
+
*
|
|
10223
|
+
* * `STANDALONE` – reads its source and writes its own target objects.
|
|
10224
|
+
* * `COMPOSITE_CHILD` – reads its source and writes into the objects of the stream named in
|
|
10225
|
+
* `compositeParent`.
|
|
10226
|
+
* * `COMPOSITE_MERGE` – reads its source and adds fields to the objects of the stream named in
|
|
10227
|
+
* `compositeParent`.
|
|
10228
|
+
* * `FAN_OUT` – has no source of its own. It reads the records the stream named in `compositeParent`
|
|
10229
|
+
* wrote in the same run, and writes further objects for each of them, for example a product's prices.
|
|
10230
|
+
* It runs after that stream. Objects it created earlier for a record that no longer lists them are
|
|
10231
|
+
* removed.
|
|
10232
|
+
*/
|
|
10233
|
+
mode?: 'STANDALONE' | 'COMPOSITE_CHILD' | 'COMPOSITE_MERGE' | 'FAN_OUT';
|
|
10234
|
+
/**
|
|
10235
|
+
* `FAN_OUT` only. The array in the parent record whose elements each produce one target object, for example `prices[]`. When omitted, one target object is written per parent record.
|
|
10155
10236
|
*/
|
|
10156
|
-
|
|
10237
|
+
fanOutPath?: string;
|
|
10238
|
+
/**
|
|
10239
|
+
* `FAN_OUT` only. The element field that identifies an element of `fanOutPath`, for example `currency`, so that a target object keeps its identity when the elements change order. When omitted, a scalar element identifies itself and an object element is identified by its position.
|
|
10240
|
+
*/
|
|
10241
|
+
fanOutKey?: string;
|
|
10242
|
+
/**
|
|
10243
|
+
* Whether the stream is a `FAN_OUT` stream with a parent. Derived from `mode` and `compositeParent`.
|
|
10244
|
+
*/
|
|
10245
|
+
readonly fanOut?: boolean;
|
|
10246
|
+
/**
|
|
10247
|
+
* Settings for the target writer. Absent when the writer needs none. `emporix.product` reads the
|
|
10248
|
+
* following settings:
|
|
10249
|
+
*
|
|
10250
|
+
* * `matchField` – how existing products are found: `CODE` (the default) or `ID`.
|
|
10251
|
+
* * `createMissing` – whether products that are not found are created. Defaults to `true`.
|
|
10252
|
+
* * `schemas` – a list of the identifiers of the product mixin schemas the stream writes.
|
|
10253
|
+
* * `templateId` – the product template assigned to the products.
|
|
10254
|
+
* * `language` – the language of localized fields. Defaults to `en`.
|
|
10255
|
+
* * `categoryMatchField` – how the categories to assign are found: `CODE` (the default) or `ID`.
|
|
10256
|
+
*
|
|
10257
|
+
* `emporix.category` reads `language`, and `emporix.categoryAssignment` reads `categoryMatchField`.
|
|
10258
|
+
* `emporix.price` reads `currency`, `countryCode`, `siteCode`, and `priceModelId`, and
|
|
10259
|
+
* `emporix.availability` reads `site`. These price and availability settings are fallback values with no
|
|
10260
|
+
* default of their own: a record that does not map the field gets the stream's value. A price needs a
|
|
10261
|
+
* currency and a country, and stock needs a site, from a mapping or from these settings.
|
|
10262
|
+
*/
|
|
10263
|
+
targetOptions?: {
|
|
10264
|
+
[key: string]: unknown;
|
|
10265
|
+
};
|
|
10157
10266
|
/**
|
|
10158
10267
|
* The source field whose value is tracked as the delta watermark. A delta run extracts only the records whose value is newer than the last run's.
|
|
10159
10268
|
*/
|
|
@@ -10163,7 +10272,7 @@ type ImportStream$1 = {
|
|
|
10163
10272
|
*/
|
|
10164
10273
|
deltaFieldFormat?: 'DATE' | 'UNIX_SECONDS' | 'UNIX_MILLIS';
|
|
10165
10274
|
/**
|
|
10166
|
-
* For a
|
|
10275
|
+
* For a `COMPOSITE_CHILD`, `COMPOSITE_MERGE`, or `FAN_OUT` stream, the name of the stream it contributes to or fans out from.
|
|
10167
10276
|
*/
|
|
10168
10277
|
compositeParent?: string;
|
|
10169
10278
|
/**
|
|
@@ -10179,7 +10288,19 @@ type ImportStream$1 = {
|
|
|
10179
10288
|
*/
|
|
10180
10289
|
childStrategy?: 'EMBED' | 'PATCH';
|
|
10181
10290
|
/**
|
|
10182
|
-
* How an existing target object is updated.
|
|
10291
|
+
* How an existing target object is updated. Possible values:
|
|
10292
|
+
*
|
|
10293
|
+
* * `PATCH` – changes only the mapped fields and keeps everything else.
|
|
10294
|
+
* * `MERGE_PUT` – reads the object, merges the mapped fields into it, and writes it back whole.
|
|
10295
|
+
* * `REPLACE_PUT` – replaces the whole object, so fields this import does not manage are cleared.
|
|
10296
|
+
*
|
|
10297
|
+
* The values a stream can use depend on its target writer. The following values are available per
|
|
10298
|
+
* writer, with the default listed first:
|
|
10299
|
+
*
|
|
10300
|
+
* * `emporix.customEntity` – `PATCH`, `MERGE_PUT`, `REPLACE_PUT`.
|
|
10301
|
+
* * `emporix.product` and `emporix.category` – `PATCH`.
|
|
10302
|
+
* * `emporix.media` – `PATCH`, `REPLACE_PUT`.
|
|
10303
|
+
* * `emporix.price`, `emporix.availability`, and `emporix.categoryAssignment` – `REPLACE_PUT`.
|
|
10183
10304
|
*/
|
|
10184
10305
|
writeStrategy?: 'PATCH' | 'MERGE_PUT' | 'REPLACE_PUT';
|
|
10185
10306
|
/**
|
|
@@ -10267,6 +10388,10 @@ type ImportStream$1 = {
|
|
|
10267
10388
|
* For a file-based source, what one file represents. `SNAPSHOT`: each file is the whole picture, so only the most recently arrived one is read, and the per-record content hash decides what is written. A record missing from a newer file is not deleted. `INCREMENTAL`: each file is a change set, so every queued file is read in order and a later file's values win. Defaults to `SNAPSHOT`.
|
|
10268
10389
|
*/
|
|
10269
10390
|
fileMode?: 'SNAPSHOT' | 'INCREMENTAL';
|
|
10391
|
+
/**
|
|
10392
|
+
* Whether the stream treats each file as a snapshot. `true` unless `fileMode` is `INCREMENTAL`.
|
|
10393
|
+
*/
|
|
10394
|
+
readonly snapshotFiles?: boolean;
|
|
10270
10395
|
/**
|
|
10271
10396
|
* For an `EMBED` composite child, the source column its parent matches records by. Required for such a stream: without it the parent cannot find its children and writes an empty array.
|
|
10272
10397
|
*/
|
|
@@ -10321,11 +10446,11 @@ type Schedule = {
|
|
|
10321
10446
|
*/
|
|
10322
10447
|
cron: string;
|
|
10323
10448
|
/**
|
|
10324
|
-
* The IANA time zone the cron is evaluated in.
|
|
10449
|
+
* The IANA time zone the cron is evaluated in. Defaults to `UTC`.
|
|
10325
10450
|
*/
|
|
10326
10451
|
timezone?: string;
|
|
10327
10452
|
/**
|
|
10328
|
-
* Whether the schedule is active.
|
|
10453
|
+
* Whether the schedule is active. Defaults to `true`.
|
|
10329
10454
|
*/
|
|
10330
10455
|
enabled?: boolean;
|
|
10331
10456
|
/**
|
|
@@ -10352,9 +10477,13 @@ type ImportRun$1 = {
|
|
|
10352
10477
|
*/
|
|
10353
10478
|
tenant?: string;
|
|
10354
10479
|
/**
|
|
10355
|
-
* What triggered the run.
|
|
10480
|
+
* What triggered the run. Possible values:
|
|
10481
|
+
*
|
|
10482
|
+
* * `MANUAL` – triggered with the run operation.
|
|
10483
|
+
* * `SCHEDULED` – started by the configuration's schedule.
|
|
10484
|
+
* * `RETRY` – created by retrying the failed records of an earlier run. `retryOfRunId` names that run.
|
|
10356
10485
|
*/
|
|
10357
|
-
trigger?: 'MANUAL' | 'SCHEDULED';
|
|
10486
|
+
trigger?: 'MANUAL' | 'SCHEDULED' | 'RETRY';
|
|
10358
10487
|
/**
|
|
10359
10488
|
* Dry-run only. A sample of the mapped records that would be written, so the mapping can be previewed without a real import. Absent on normal runs. Each stream is sampled separately, up to the `sampleSize` set in the run request. A parent stream's records include the records of its composite child streams that have `childStrategy` set to `EMBED` or `PATCH`. Those child records appear in the parent attribute named by the child stream's `embedAttribute`, as a real import writes them. Only child records inside the child stream's own sample are included, so a sampled parent record can show fewer child records than the source contains for that parent, or none. Child records are also sampled under their own stream.
|
|
10360
10489
|
*/
|
|
@@ -10482,6 +10611,10 @@ type ImportRun$1 = {
|
|
|
10482
10611
|
* A terminal status message, typically set on failure.
|
|
10483
10612
|
*/
|
|
10484
10613
|
message?: string;
|
|
10614
|
+
/**
|
|
10615
|
+
* The streams the run was asked to execute, as sent in `streamIds` when it was triggered. Absent when the run executes every stream of the configuration.
|
|
10616
|
+
*/
|
|
10617
|
+
streamIds?: Array<string>;
|
|
10485
10618
|
/**
|
|
10486
10619
|
* When the run retries another run's failed records, the identifier of that original run.
|
|
10487
10620
|
*/
|
|
@@ -10543,9 +10676,9 @@ type ImportRunStream$1 = {
|
|
|
10543
10676
|
*/
|
|
10544
10677
|
streamName?: string;
|
|
10545
10678
|
/**
|
|
10546
|
-
* The stream's status within the run. `ABORTED` means the service refused to run the stream because of its configuration, for example because its mappings have never been published. It indicates a configuration problem to fix. The `message` field gives the reason.
|
|
10679
|
+
* The stream's status within the run. `ABORTED` means the service refused to run the stream because of its configuration, for example because its mappings have never been published. It indicates a configuration problem to fix. The `message` field gives the reason. `CANCELLED` means the run was cancelled while the stream was running.
|
|
10547
10680
|
*/
|
|
10548
|
-
status?: '
|
|
10681
|
+
status?: 'RUNNING' | 'SUCCEEDED' | 'PARTIAL' | 'FAILED' | 'ABORTED' | 'CANCELLED';
|
|
10549
10682
|
/**
|
|
10550
10683
|
* Records read for this stream. The counters reconcile: `recordsRead` = created + updated + skipped + unresolvedParents + deleted + failed + collapsed + embedded.
|
|
10551
10684
|
*/
|
|
@@ -10646,9 +10779,15 @@ type CancelResult = {
|
|
|
10646
10779
|
*/
|
|
10647
10780
|
force?: boolean;
|
|
10648
10781
|
/**
|
|
10649
|
-
* Whether the cancellation was accepted. `false` when the run
|
|
10782
|
+
* Whether the cancellation was accepted. `false` when the run does not exist, has already finished, or has the `RESUMABLE` status and `force` was not set.
|
|
10650
10783
|
*/
|
|
10651
10784
|
accepted?: boolean;
|
|
10785
|
+
/**
|
|
10786
|
+
* The same value as `accepted`. Kept for clients written against an earlier response. Use `accepted`.
|
|
10787
|
+
*
|
|
10788
|
+
* @deprecated
|
|
10789
|
+
*/
|
|
10790
|
+
cancelRequested?: boolean;
|
|
10652
10791
|
};
|
|
10653
10792
|
/**
|
|
10654
10793
|
* Error record
|
|
@@ -10677,9 +10816,14 @@ type ErrorRecord = {
|
|
|
10677
10816
|
*/
|
|
10678
10817
|
targetEntity?: string;
|
|
10679
10818
|
/**
|
|
10680
|
-
* The pipeline stage the error occurred in.
|
|
10819
|
+
* The pipeline stage the error occurred in. Possible values:
|
|
10820
|
+
*
|
|
10821
|
+
* * `EXTRACT` – reading records from the source.
|
|
10822
|
+
* * `MAP` – applying the field mappings.
|
|
10823
|
+
* * `VALIDATE` – validating the mapped record before the write.
|
|
10824
|
+
* * `UPSERT` – writing to the target.
|
|
10681
10825
|
*/
|
|
10682
|
-
stage?:
|
|
10826
|
+
stage?: 'EXTRACT' | 'MAP' | 'VALIDATE' | 'UPSERT';
|
|
10683
10827
|
/**
|
|
10684
10828
|
* A machine-readable error code:
|
|
10685
10829
|
*
|
|
@@ -10698,6 +10842,8 @@ type ErrorRecord = {
|
|
|
10698
10842
|
* delimited-file row whose array has more elements than `sourceDataset.arrays.maxElements`. That
|
|
10699
10843
|
* record is not imported, but the other records are; `message` names the column, its number of
|
|
10700
10844
|
* elements, and the limit.
|
|
10845
|
+
* * `FAN_OUT_REMOVE` – a `FAN_OUT` stream could not remove the objects its parent record no longer
|
|
10846
|
+
* lists. The next run that carries those records tries again.
|
|
10701
10847
|
* * `STREAM_ERROR` – the stream failed as a whole; the record-level detail is in `message`.
|
|
10702
10848
|
*
|
|
10703
10849
|
* `CONFIGURATION` and `EXTERNAL_SYSTEM` are reported as a plain sentence naming what to change.
|
|
@@ -10708,6 +10854,12 @@ type ErrorRecord = {
|
|
|
10708
10854
|
* A human-readable error message.
|
|
10709
10855
|
*/
|
|
10710
10856
|
message?: string;
|
|
10857
|
+
/**
|
|
10858
|
+
* The source record that failed, as the service read it, when the error concerns one record. Absent for errors that concern the whole stream.
|
|
10859
|
+
*/
|
|
10860
|
+
payload?: {
|
|
10861
|
+
[key: string]: unknown;
|
|
10862
|
+
};
|
|
10711
10863
|
/**
|
|
10712
10864
|
* When the error was recorded.
|
|
10713
10865
|
*/
|
|
@@ -10758,7 +10910,7 @@ type ImportedRecord$1 = {
|
|
|
10758
10910
|
[key: string]: unknown;
|
|
10759
10911
|
};
|
|
10760
10912
|
/**
|
|
10761
|
-
* The last outcome, one of `UPSERTED`, `DELETED`, `
|
|
10913
|
+
* The last outcome, one of `UPSERTED`, `DELETED`, `FAILED`, or `DRY_RUN`.
|
|
10762
10914
|
*/
|
|
10763
10915
|
outcome?: string;
|
|
10764
10916
|
/**
|
|
@@ -10948,6 +11100,10 @@ type ImportStatsSummary = {
|
|
|
10948
11100
|
* The number of runs that were cancelled.
|
|
10949
11101
|
*/
|
|
10950
11102
|
cancelled?: number;
|
|
11103
|
+
/**
|
|
11104
|
+
* The number of runs the service refused to run because of their configuration (`ABORTED`).
|
|
11105
|
+
*/
|
|
11106
|
+
aborted?: number;
|
|
10951
11107
|
/**
|
|
10952
11108
|
* The number of source records read.
|
|
10953
11109
|
*/
|
|
@@ -11215,7 +11371,7 @@ type GetImporttoolStreamOrderResponse = GetImporttoolStreamOrderResponses[keyof
|
|
|
11215
11371
|
type PostImporttoolTriggerRunData = {
|
|
11216
11372
|
body?: {
|
|
11217
11373
|
/**
|
|
11218
|
-
* The run mode
|
|
11374
|
+
* The run mode, `FULL` or `DELTA`. When omitted, defaults to `DELTA`. The value is not case-sensitive. Send one of the listed values. The service does not reject another value and runs the import as `DELTA`.
|
|
11219
11375
|
*/
|
|
11220
11376
|
mode?: 'FULL' | 'DELTA';
|
|
11221
11377
|
/**
|
|
@@ -11235,7 +11391,7 @@ type PostImporttoolTriggerRunData = {
|
|
|
11235
11391
|
*/
|
|
11236
11392
|
sampleSize?: number;
|
|
11237
11393
|
/**
|
|
11238
|
-
* What requested this run. Examples: `Dashboard`, an integration scenario name, or a scheduler name. The `trigger` field records only
|
|
11394
|
+
* What requested this run. Examples: `Dashboard`, an integration scenario name, or a scheduler name. The `trigger` field records only how the run started, for example `MANUAL`. Use `origin` when more than one system calls this endpoint. If you omit `origin` or send a blank value, the service stores the `trigger` value. The service rejects values longer than 40 characters and values that contain control characters. It does not shorten them.
|
|
11239
11395
|
*/
|
|
11240
11396
|
origin?: string;
|
|
11241
11397
|
/**
|
|
@@ -11303,19 +11459,25 @@ type GetImporttoolSearchDataRecordsData = {
|
|
|
11303
11459
|
*/
|
|
11304
11460
|
type: string;
|
|
11305
11461
|
/**
|
|
11306
|
-
* Optional
|
|
11462
|
+
* Optional filter. Returns the records whose natural key or Emporix identifier starts with the given text. The natural key can be given with its key name (`ID:SKU-1001`) or as the source value alone (`SKU-1001`). The match is case-sensitive and matches from the start only: text from the middle of a key matches nothing. Emporix identifiers are lower case, so the identifier is also matched with the text converted to lower case: `3FA85F64` finds `3fa85f64-…`. This is not the Emporix query language, so field selectors and operators are not supported.
|
|
11307
11463
|
*/
|
|
11308
11464
|
search?: string;
|
|
11309
11465
|
/**
|
|
11310
|
-
* Optional filter by import outcome. Omit to return records of all outcomes.
|
|
11466
|
+
* Optional filter by import outcome. Omit to return records of all outcomes. The value must match
|
|
11467
|
+
* exactly, in upper case. Any other value returns no records. Possible values:
|
|
11468
|
+
*
|
|
11469
|
+
* * `UPSERTED` – created or updated.
|
|
11470
|
+
* * `DELETED` – removed at the source.
|
|
11471
|
+
* * `FAILED` – the record could not be imported.
|
|
11472
|
+
* * `DRY_RUN` – produced by a dry run.
|
|
11311
11473
|
*/
|
|
11312
|
-
outcome?: 'UPSERTED' | 'DELETED' | '
|
|
11474
|
+
outcome?: 'UPSERTED' | 'DELETED' | 'FAILED' | 'DRY_RUN';
|
|
11313
11475
|
/**
|
|
11314
|
-
* The zero-based page number.
|
|
11476
|
+
* The zero-based page number. A negative value returns HTTP 400.
|
|
11315
11477
|
*/
|
|
11316
11478
|
page?: number;
|
|
11317
11479
|
/**
|
|
11318
|
-
* The page size.
|
|
11480
|
+
* The page size. Defaults to 20 for run history, 50 for run errors, and 25 for imported records. A value below 1 returns HTTP 400.
|
|
11319
11481
|
*/
|
|
11320
11482
|
size?: number;
|
|
11321
11483
|
};
|
|
@@ -11340,7 +11502,7 @@ type GetImporttoolStatsData = {
|
|
|
11340
11502
|
*/
|
|
11341
11503
|
configIds?: string;
|
|
11342
11504
|
/**
|
|
11343
|
-
* Restricts the statistics to a single stream. Takes precedence over the configuration
|
|
11505
|
+
* Restricts the statistics to a single stream. Takes precedence over `configIds`. When `configId` is also given, the stream must belong to that configuration.
|
|
11344
11506
|
*/
|
|
11345
11507
|
streamId?: string;
|
|
11346
11508
|
/**
|
|
@@ -11356,7 +11518,7 @@ type GetImporttoolStatsData = {
|
|
|
11356
11518
|
*/
|
|
11357
11519
|
granularity?: 'DAY' | 'WEEK' | 'MONTH';
|
|
11358
11520
|
/**
|
|
11359
|
-
* A comma-separated list of the sections to compute: `TOTALS`, `STREAMS`, `ERRORS`, `CHANGES`. When omitted, defaults to all sections. A section not requested through the `sections` parameter is returned as `null`.
|
|
11521
|
+
* A comma-separated list of the sections to compute: `TOTALS`, `STREAMS`, `ERRORS`, `CHANGES`. When omitted, defaults to all sections. A section not requested through the `sections` parameter is returned as `null`. `sourceIssues` belongs to the `STREAMS` section.
|
|
11360
11522
|
*/
|
|
11361
11523
|
sections?: string;
|
|
11362
11524
|
};
|
|
@@ -14163,6 +14325,13 @@ declare class EmporixClient {
|
|
|
14163
14325
|
* automatically via `autoRefreshCustomerToken`.
|
|
14164
14326
|
*/
|
|
14165
14327
|
setCustomerTokenRefresher(refresher: CustomerTokenRefresher | null): void;
|
|
14328
|
+
/**
|
|
14329
|
+
* Proxy mode (`config.proxy`): subscribes to the 401s the proxy answers, next
|
|
14330
|
+
* to `proxy.onUnauthorized`. Returns the unsubscribe function. The React
|
|
14331
|
+
* `EmporixProvider` uses it for `onCustomerSessionExpired`. Never fires outside
|
|
14332
|
+
* proxy mode — there a 401 is answered by re-authenticating.
|
|
14333
|
+
*/
|
|
14334
|
+
onUnauthorized(listener: (info: EmporixUnauthorizedInfo) => void): () => void;
|
|
14166
14335
|
}
|
|
14167
14336
|
|
|
14168
14337
|
/** The service-agnostic core shared by `EmporixClient` and `createEmporixClient`. */
|
|
@@ -14182,6 +14351,12 @@ interface EmporixCore {
|
|
|
14182
14351
|
}): void;
|
|
14183
14352
|
getLogLevel(service: ServiceName): LogLevel;
|
|
14184
14353
|
setCustomerTokenRefresher(refresher: CustomerTokenRefresher | null): void;
|
|
14354
|
+
/**
|
|
14355
|
+
* Proxy mode: subscribes to the 401s the proxy answers, next to
|
|
14356
|
+
* `config.proxy.onUnauthorized`. Returns the unsubscribe function. Never fires
|
|
14357
|
+
* outside proxy mode — there a 401 is answered by re-authenticating.
|
|
14358
|
+
*/
|
|
14359
|
+
onUnauthorized(listener: (info: EmporixUnauthorizedInfo) => void): () => void;
|
|
14185
14360
|
/** Internal: builds a per-service ClientContext (logger child + HttpClient). */
|
|
14186
14361
|
mk(service: ServiceName): ClientContext;
|
|
14187
14362
|
}
|
|
@@ -14229,4 +14404,4 @@ declare function productIdFromYrn(yrn: string | undefined): string;
|
|
|
14229
14404
|
*/
|
|
14230
14405
|
declare function productYrn(tenant: string, productId: string): string;
|
|
14231
14406
|
|
|
14232
|
-
export { type AddedPoints, type AdminCustomer, type AdminCustomerAddress, type AdminCustomerAddressInput, type AdminCustomerAddressList, type AdminCustomerAddressUpdate, type AdminCustomerCreated, type AdminCustomerImport, type AdminCustomerImportAccount, type AdminCustomerImportResult, type AdminCustomerInput, type AdminCustomerLegacyAuth, type AdminCustomerList, type AdminCustomerPatch, type AdminCustomerSearchQuery, type AdminCustomerUpdate, type AdminPasswordMigrationRetention, type AdminPasswordMigrationRetentionInput, type Agent, type AgentAnalytics, type AgentExecutions, type AgentFromTemplate, type AgentInput, type AgentPatchOp, type AgentRequestLog, type AgentSearchQuery, type AgentSessionLog, type AgentTemplate, AgenticCrudResource, type AgenticPatchOp, type AgentsExport, type AgentsExportRequest, type AgentsImport, type AgentsImportRequest, AiService, type AnalyticsQuery, AnalyticsResource, type Approval, type ApprovalCreated, type ApprovalDecision, type ApprovalInput, type ApprovalList, type ApprovalPatch, type ApprovalPermittedInput, type ApprovalPermittedResult, ApprovalService, type ApprovalUsersQuery, type ApprovalUsersResult, type Attachment, type AttachmentOptions, type AttachmentReuseOptions, type AuditLogChangeType, type AuditLogEntry, type AuditLogPage, type AuditLogPathChange, type AuditLogQuery, type AuditLogRelatedEntity, AuditLogService, 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 ChatOptions, 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 CookieIo, 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 CustomEntityCreated, type CustomEntityDraft, type CustomEntityUpdate, type CustomInstance, type CustomInstanceCreated, type CustomInstanceDraft, type CustomInstancePatch, type CustomInstanceReplace, CustomerAdminService, CustomerGroupsService, CustomerService, type CustomerSessionState, type CustomerSessionStore, type CustomerSummaryBatch, CustomerTokenRefresher, type DeleteAgentOptions, type DeleteConfigOptions, type DeliveryCreated, type DeliveryCycleInput, type DeliverySlot, type DeliverySlotList, type DeliveryTime, type DeliveryTimeInput, type DeliveryTimeList, type DeliveryTimeUpdate, type DeliveryWindow$1 as DeliveryWindow, type DeliveryWindowList, type DeliveryWindowValidation, EmporixAuthError, EmporixClient, EmporixConfig, EmporixConflictError, type EmporixCore, EmporixError, EmporixForbiddenError, EmporixInsufficientScopeError, EmporixNetworkError, EmporixNotFoundError, EmporixServerError, type EmporixStorage, type EmporixStorageKey, 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 ImportDiagnosticKind, type ImportDiagnosticRecord, type ImportErrorRecord, type ImportFile, type ImportFileQueue, type ImportFileStatus, type ImportFileUploadLimits, type ImportHealthThresholds, type ImportJobGroup, type ImportLicense, type ImportPage, type ImportPageOptions, type ImportRecordOutcome, type ImportRun, type ImportRunDetail, type ImportRunDiagnostics, type ImportRunDiagnosticsQuery, type ImportRunEvent, type ImportRunInput, type ImportRunMode, type ImportRunStatus, type ImportRunStream, type ImportSchedule, ImportService, type ImportStats, type ImportStatsQuery, type ImportStream, type ImportStreamOrder, 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, JobsResource, 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, LogsResource, 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, OrdersService, PaginatedItems, PaymentGatewayService, type PersistedAnonymousSession, 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, QuoteReasonsResource, type QuoteResult, QuoteService, type QuoteSlotInput, type QuoteUpdate, RagIndexerService, type RagType, 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, STORAGE_KEYS, SalesOrdersService, type SavedSearch, type SavedSearchCreated, type SavedSearchInput, type Schema, type SchemaAttribute, type SchemaCreated, type SchemaDraft, type SchemaExport, type SchemaImportInput, type SchemaInstanceBulkCreateItem, type SchemaInstanceBulkUpsertItem, type SchemaReference, type SchemaReferenceCreated, type SchemaReferenceInput, type SchemaReferenceUpdateInput, SchemaService, type SchemaTargetType, type SchemaTypeName, type SchemaUpdate, type SearchFilterNode, type SearchHit, type SearchImportedRecordsOptions, type SearchIndex, type SearchIndexAnalyzer, type SearchIndexExport, type SearchIndexField, type SearchIndexImportResult, type SearchIndexInput, type SearchIndexJob, type SearchIndexJobRef, type SearchIndexSelection, type SearchInput, type SearchInstancesQuery, type SearchListOptions, type SearchOptions, SearchPaging, type SearchQuery, type SearchQueryNode, SearchService, type SearchStreamRecordsOptions, type SearchTypeListOptions, SegmentService, type SequenceSchema, type SequenceSchemaCreate, SequentialIdService, type ServerCookieJar, type ServiceClass, ServiceName, type SessionAttributeInput, type SessionContext, type SessionContextData, 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 SiteAddress, type SiteCreated, type SiteFields, type SiteHomeBase, type SiteInput, type SiteList, type SiteMixin, type SiteMixinCreated, type SiteMixins, SiteService, StoredAnonymousSession, type TaxCalculationInput, type TaxCalculationRequest, type TaxCalculationResult, type TaxClass, type TaxConfig, type TaxConfigCreated, type TaxCreation as TaxConfigInput, type TaxUpdate as TaxConfigUpdate, type TaxLocation, TaxService, TemplatesResource, TenantConfigService, type TextRequest, type TextResponse, type Token, type TokenInput, TokenProvider, type TokenStorage, 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, approvalStatusPatch, createCookieBackedStorage, createCookieStorage, createCore, createEmporixClient, createListenerSet, createLocalStorage, createLocalStorageStorage, createMemoryStorage, createServerStorage, createSessionStorage, emporixKey, errorFromResponse, fromWebStorage, getCustomerSessionStore, parseAnonymousSession, pickFee, productIdFromYrn, productYrn, resolveZone, serverAuth, siteMeta };
|
|
14407
|
+
export { type AddedPoints, type AdminCustomer, type AdminCustomerAddress, type AdminCustomerAddressInput, type AdminCustomerAddressList, type AdminCustomerAddressUpdate, type AdminCustomerCreated, type AdminCustomerImport, type AdminCustomerImportAccount, type AdminCustomerImportResult, type AdminCustomerInput, type AdminCustomerLegacyAuth, type AdminCustomerList, type AdminCustomerPatch, type AdminCustomerSearchQuery, type AdminCustomerUpdate, type AdminPasswordMigrationRetention, type AdminPasswordMigrationRetentionInput, type Agent, type AgentAnalytics, type AgentExecutions, type AgentFromTemplate, type AgentInput, type AgentPatchOp, type AgentRequestLog, type AgentSearchQuery, type AgentSessionLog, type AgentTemplate, AgenticCrudResource, type AgenticPatchOp, type AgentsExport, type AgentsExportRequest, type AgentsImport, type AgentsImportRequest, AiService, type AnalyticsQuery, AnalyticsResource, type Approval, type ApprovalCreated, type ApprovalDecision, type ApprovalInput, type ApprovalList, type ApprovalPatch, type ApprovalPermittedInput, type ApprovalPermittedResult, ApprovalService, type ApprovalUsersQuery, type ApprovalUsersResult, type Attachment, type AttachmentOptions, type AttachmentReuseOptions, type AuditLogChangeType, type AuditLogEntry, type AuditLogPage, type AuditLogPathChange, type AuditLogQuery, type AuditLogRelatedEntity, AuditLogService, 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 ChatOptions, 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 CookieIo, 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 CustomEntityCreated, type CustomEntityDraft, type CustomEntityUpdate, type CustomInstance, type CustomInstanceCreated, type CustomInstanceDraft, type CustomInstancePatch, type CustomInstanceReplace, CustomerAdminService, CustomerGroupsService, CustomerService, type CustomerSessionState, type CustomerSessionStore, type CustomerSummaryBatch, CustomerTokenRefresher, type DeleteAgentOptions, type DeleteConfigOptions, type DeliveryCreated, type DeliveryCycleInput, type DeliverySlot, type DeliverySlotList, type DeliveryTime, type DeliveryTimeInput, type DeliveryTimeList, type DeliveryTimeUpdate, type DeliveryWindow$1 as DeliveryWindow, type DeliveryWindowList, type DeliveryWindowValidation, EmporixAuthError, EmporixClient, EmporixConfig, EmporixConflictError, type EmporixCore, EmporixError, EmporixForbiddenError, EmporixInsufficientScopeError, EmporixNetworkError, EmporixNotFoundError, EmporixServerError, type EmporixStorage, type EmporixStorageKey, EmporixTimeoutError, EmporixUnauthorizedInfo, 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 ImportDiagnosticKind, type ImportDiagnosticRecord, type ImportErrorRecord, type ImportFile, type ImportFileQueue, type ImportFileStatus, type ImportFileUploadLimits, type ImportHealthThresholds, type ImportJobGroup, type ImportLicense, type ImportPage, type ImportPageOptions, type ImportRecordOutcome, type ImportRun, type ImportRunDetail, type ImportRunDiagnostics, type ImportRunDiagnosticsQuery, type ImportRunEvent, type ImportRunInput, type ImportRunMode, type ImportRunStatus, type ImportRunStream, type ImportSchedule, ImportService, type ImportStats, type ImportStatsQuery, type ImportStream, type ImportStreamOrder, 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, JobsResource, 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, LogsResource, 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, OrdersService, PROXY_CUSTOMER_TOKEN, PaginatedItems, PaymentGatewayService, type PersistedAnonymousSession, type PointsSummary, PriceService, ProductService, type ProviderModels, type ProxySessionStorage, QueryFor, type Quote, type QuoteCreated, type QuoteDraft, type QuoteHistory, type QuoteInput, type QuoteReason, type QuoteReasonCreated, type QuoteReasonDraft, type QuoteReasonUpdate, QuoteReasonsResource, type QuoteResult, QuoteService, type QuoteSlotInput, type QuoteUpdate, RagIndexerService, type RagType, 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, STORAGE_KEYS, SalesOrdersService, type SavedSearch, type SavedSearchCreated, type SavedSearchInput, type Schema, type SchemaAttribute, type SchemaCreated, type SchemaDraft, type SchemaExport, type SchemaImportInput, type SchemaInstanceBulkCreateItem, type SchemaInstanceBulkUpsertItem, type SchemaReference, type SchemaReferenceCreated, type SchemaReferenceInput, type SchemaReferenceUpdateInput, SchemaService, type SchemaTargetType, type SchemaTypeName, type SchemaUpdate, type SearchFilterNode, type SearchHit, type SearchImportedRecordsOptions, type SearchIndex, type SearchIndexAnalyzer, type SearchIndexExport, type SearchIndexField, type SearchIndexImportResult, type SearchIndexInput, type SearchIndexJob, type SearchIndexJobRef, type SearchIndexSelection, type SearchInput, type SearchInstancesQuery, type SearchListOptions, type SearchOptions, SearchPaging, type SearchQuery, type SearchQueryNode, SearchService, type SearchStreamRecordsOptions, type SearchTypeListOptions, SegmentService, type SequenceSchema, type SequenceSchemaCreate, SequentialIdService, type ServerCookieJar, type ServiceClass, ServiceName, type SessionAttributeInput, type SessionContext, type SessionContextData, 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 SiteAddress, type SiteCreated, type SiteFields, type SiteHomeBase, type SiteInput, type SiteList, type SiteMixin, type SiteMixinCreated, type SiteMixins, SiteService, StoredAnonymousSession, type TaxCalculationInput, type TaxCalculationRequest, type TaxCalculationResult, type TaxClass, type TaxConfig, type TaxConfigCreated, type TaxCreation as TaxConfigInput, type TaxUpdate as TaxConfigUpdate, type TaxLocation, TaxService, TemplatesResource, TenantConfigService, type TextRequest, type TextResponse, type Token, type TokenInput, TokenProvider, type TokenStorage, 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, approvalStatusPatch, createCookieBackedStorage, createCookieStorage, createCore, createEmporixClient, createListenerSet, createLocalStorage, createLocalStorageStorage, createMemoryStorage, createProxyModeTokenProvider, createProxySessionStorage, createServerStorage, createSessionStorage, emporixKey, errorFromResponse, fromWebStorage, getCustomerSessionStore, parseAnonymousSession, pickFee, productIdFromYrn, productYrn, resolveZone, serverAuth, siteMeta };
|