@viu/emporix-sdk 4.9.4 → 4.11.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 +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 +499 -299
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +174 -28
- package/dist/index.d.ts +174 -28
- package/dist/index.js +498 -301
- 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.ts
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.js';
|
|
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.js';
|
|
3
3
|
import { S as SearchPaging } from './search-DU6tE356.js';
|
|
4
4
|
import { CustomerService } from './customer.js';
|
|
5
5
|
export { Address, AddressCreateInput, AddressUpdateInput, ChangeEmailInput, ConfirmEmailChangeInput, Customer, CustomerSession, CustomerSignupInput, CustomerTokenValidation, CustomerUpdateInput, PasswordChangeInput, PasswordResetConfirmInput, PasswordResetRequestInput, ResendActivationInput } from './customer.js';
|
|
@@ -23,7 +23,7 @@ import { CompaniesService } from './companies.js';
|
|
|
23
23
|
export { LegalEntitySearchInput } from './companies.js';
|
|
24
24
|
import { ContactsService } from './contacts.js';
|
|
25
25
|
import { LocationsService } from './locations.js';
|
|
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-oJ9YcjDe.js';
|
|
27
27
|
import { OrdersService, SalesOrdersService } from './orders.js';
|
|
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.js';
|
|
29
29
|
import { AvailabilityService } from './availability.js';
|
|
@@ -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.
|
|
@@ -2170,7 +2209,10 @@ type SchemaType = 'AVAILABILITY' | 'CART' | 'CART_ITEM' | 'CATEGORY' | 'COMPANY'
|
|
|
2170
2209
|
*/
|
|
2171
2210
|
type SchemaAttributeType = 'TEXT' | 'NUMBER' | 'DECIMAL' | 'BOOLEAN' | 'DATE' | 'TIME' | 'DATE_TIME' | 'ENUM' | 'ARRAY' | 'OBJECT' | 'REFERENCE';
|
|
2172
2211
|
/**
|
|
2173
|
-
* Whether the attribute
|
|
2212
|
+
* Whether the attribute or array item is localized.
|
|
2213
|
+
*
|
|
2214
|
+
* `TEXT` can be localized with either language schema version. `OBJECT` can be localized only when the tenant's `languageSchemaVersion` configuration is `v2`. Its map keys must be BCP 47 language tags. A localized `OBJECT` cannot contain another localized attribute anywhere in its subtree.
|
|
2215
|
+
*
|
|
2174
2216
|
*/
|
|
2175
2217
|
type Localized = boolean;
|
|
2176
2218
|
/**
|
|
@@ -2187,7 +2229,10 @@ type SchemaAttributeMetadata = {
|
|
|
2187
2229
|
*/
|
|
2188
2230
|
required?: boolean;
|
|
2189
2231
|
/**
|
|
2190
|
-
* Whether the attribute
|
|
2232
|
+
* Whether the attribute accepts `null`.
|
|
2233
|
+
*
|
|
2234
|
+
* For a localized v2 `OBJECT`, both the whole field and each per-language value can be `null`.
|
|
2235
|
+
*
|
|
2191
2236
|
*/
|
|
2192
2237
|
nullable?: boolean;
|
|
2193
2238
|
};
|
|
@@ -2240,7 +2285,10 @@ type SchemaAttribute$1 = {
|
|
|
2240
2285
|
*/
|
|
2241
2286
|
values?: Array<SchemaAttributeValue>;
|
|
2242
2287
|
/**
|
|
2243
|
-
* Object
|
|
2288
|
+
* Object properties. This field can only be provided for an `OBJECT` attribute.
|
|
2289
|
+
*
|
|
2290
|
+
* For a localized `OBJECT`, these properties define each language value. None of the nested properties can be localized.
|
|
2291
|
+
*
|
|
2244
2292
|
*/
|
|
2245
2293
|
attributes?: Array<SchemaAttribute$1>;
|
|
2246
2294
|
/**
|
|
@@ -2253,6 +2301,17 @@ type SchemaAttribute$1 = {
|
|
|
2253
2301
|
*/
|
|
2254
2302
|
values?: Array<SchemaAttributeValue>;
|
|
2255
2303
|
localized?: Localized;
|
|
2304
|
+
/**
|
|
2305
|
+
* Whether each array item accepts `null`.
|
|
2306
|
+
*/
|
|
2307
|
+
nullable?: boolean;
|
|
2308
|
+
/**
|
|
2309
|
+
* Object properties for an array whose `arrayType.type` is `OBJECT`.
|
|
2310
|
+
*
|
|
2311
|
+
* For localized `OBJECT` items, these properties define each language value. None of the nested properties can be localized.
|
|
2312
|
+
*
|
|
2313
|
+
*/
|
|
2314
|
+
attributes?: Array<SchemaAttribute$1>;
|
|
2256
2315
|
};
|
|
2257
2316
|
};
|
|
2258
2317
|
type AbstractSchemaRequest = {
|
|
@@ -8580,6 +8639,25 @@ type MetadataResponse = MetadataUpdate$1 & {
|
|
|
8580
8639
|
*/
|
|
8581
8640
|
modifiedAt?: string;
|
|
8582
8641
|
};
|
|
8642
|
+
/**
|
|
8643
|
+
* Site copied from the orders
|
|
8644
|
+
*
|
|
8645
|
+
* Site and access boundary copied from the referenced orders. You can send these fields on the create request. The create response returns only the new return id. Retrieved return documents include the fields. Update and patch request bodies do not accept them.
|
|
8646
|
+
*
|
|
8647
|
+
*/
|
|
8648
|
+
type ReturnSite = {
|
|
8649
|
+
/**
|
|
8650
|
+
* Site of the orders in the return. On create, the service copies this value from the referenced orders. You can omit it. If you send it, it must match the orders. Every order in the return must use the same site.
|
|
8651
|
+
*
|
|
8652
|
+
*/
|
|
8653
|
+
siteCode?: string;
|
|
8654
|
+
/**
|
|
8655
|
+
* Access boundary copied from the referenced orders, together with `siteCode`. You can omit it. If you send it, it must match the orders. Every order in the return must use the same restriction.
|
|
8656
|
+
* An employee scope with a site suffix, such as `returns.returns_read--DE`, can access only returns whose `restriction` is in that list. A scope without a suffix can access every return. A return with no `restriction` is hidden from a site-limited employee.
|
|
8657
|
+
*
|
|
8658
|
+
*/
|
|
8659
|
+
restriction?: string;
|
|
8660
|
+
};
|
|
8583
8661
|
/**
|
|
8584
8662
|
* basicReturn
|
|
8585
8663
|
*
|
|
@@ -8611,7 +8689,12 @@ type BasicReturn = {
|
|
|
8611
8689
|
};
|
|
8612
8690
|
metadata?: MetadataCore;
|
|
8613
8691
|
};
|
|
8614
|
-
|
|
8692
|
+
/**
|
|
8693
|
+
* A return request created by a customer.
|
|
8694
|
+
*
|
|
8695
|
+
* Base schema for a return requested BY A CUSTOMER.
|
|
8696
|
+
*/
|
|
8697
|
+
type BasicCustomerReturn = BasicReturn & ReturnSite;
|
|
8615
8698
|
/**
|
|
8616
8699
|
* A return request created on behalf of a customer.
|
|
8617
8700
|
*
|
|
@@ -8657,7 +8740,7 @@ type EmployeeReturnForAnonymousOrder = BasicEmployeeReturnBase & {
|
|
|
8657
8740
|
*
|
|
8658
8741
|
* Common structure for returns created by an employee on behalf of a customer.
|
|
8659
8742
|
*/
|
|
8660
|
-
type BasicEmployeeReturnBase = BasicReturn & {
|
|
8743
|
+
type BasicEmployeeReturnBase = BasicReturn & ReturnSite & {
|
|
8661
8744
|
/**
|
|
8662
8745
|
* Indicates who requested the return. The field can be set and updated only by an employee,
|
|
8663
8746
|
* that is a person who has the `returns.returns_manage` scope granted.
|
|
@@ -9776,12 +9859,22 @@ type SavedSearch = SavedQuery;
|
|
|
9776
9859
|
type SavedSearchInput = SavedQueryRequest;
|
|
9777
9860
|
/** `201` response of {@link SearchService.upsertSavedSearch}. */
|
|
9778
9861
|
type SavedSearchCreated = SavedQueryId;
|
|
9779
|
-
/** A search index on one custom schema type
|
|
9862
|
+
/** A search index on one type: a custom schema type, `customer` or `legal-entity`. */
|
|
9780
9863
|
type SearchIndex = SearchIndex$1;
|
|
9781
9864
|
/** Body of {@link SearchService.upsertIndex}. */
|
|
9782
9865
|
type SearchIndexInput = IndexRequest;
|
|
9783
|
-
/**
|
|
9866
|
+
/**
|
|
9867
|
+
* One field of a search index. A string field with `text: true` can name an
|
|
9868
|
+
* `analyzer` and up to three `additionalAnalyzers`; a list of objects is
|
|
9869
|
+
* indexed through `itemFields` instead of flags on the list itself.
|
|
9870
|
+
*/
|
|
9784
9871
|
type SearchIndexField = IndexField;
|
|
9872
|
+
/**
|
|
9873
|
+
* Named text-comparison rules on an index (`analyzers`, at most ten), starting
|
|
9874
|
+
* from a preset (`basedOn`: `STANDARD`, `FOLDED`, `IDENTIFIER`, `SOUNDS_LIKE`).
|
|
9875
|
+
* Every analyzer must be selected by a field, or the index write answers `400`.
|
|
9876
|
+
*/
|
|
9877
|
+
type SearchIndexAnalyzer = IndexAnalyzer;
|
|
9785
9878
|
/** An index build or deletion job. */
|
|
9786
9879
|
type SearchIndexJob = IndexJob;
|
|
9787
9880
|
/** The id of the job an index write started. */
|
|
@@ -9811,7 +9904,7 @@ interface SearchListOptions {
|
|
|
9811
9904
|
}
|
|
9812
9905
|
/** Options for {@link SearchService.listSavedSearches} and {@link SearchService.listIndexes}. */
|
|
9813
9906
|
interface SearchTypeListOptions extends SearchListOptions {
|
|
9814
|
-
/** One custom schema type
|
|
9907
|
+
/** One type: a custom schema type, `customer` or `legal-entity`. Omitted, the list spans every type, and each item carries `type`. */
|
|
9815
9908
|
type?: string;
|
|
9816
9909
|
}
|
|
9817
9910
|
/**
|
|
@@ -9821,14 +9914,20 @@ interface SearchTypeListOptions extends SearchListOptions {
|
|
|
9821
9914
|
type SearchOptions = Omit<SearchListOptions, "q">;
|
|
9822
9915
|
/**
|
|
9823
9916
|
* Emporix Search Service (`/search/{tenant}/…`, **preview**): searches the
|
|
9824
|
-
* documents of
|
|
9825
|
-
*
|
|
9826
|
-
*
|
|
9917
|
+
* documents of one type, stores saved searches, and manages the search indexes
|
|
9918
|
+
* and the jobs that build them. A type is a custom schema type, `customer` or
|
|
9919
|
+
* `legal-entity` (the last two since 2026-10-29). Server-side; defaults to the
|
|
9920
|
+
* service token.
|
|
9827
9921
|
*
|
|
9828
9922
|
* Scopes: `search.search_read` for every read and for `search`,
|
|
9829
9923
|
* `search.search_manage` for every write. Searching also needs read access to
|
|
9830
|
-
* the documents themselves
|
|
9831
|
-
* or `custom.{type}_read_own`
|
|
9924
|
+
* the documents themselves, or it answers `403`: `schema.custominstance_read`,
|
|
9925
|
+
* `custom.{type}_read` or `custom.{type}_read_own` for a custom type;
|
|
9926
|
+
* `customer.customer_read` or `customer.customer_read_own` for `customer`;
|
|
9927
|
+
* `customermanagement.legalentity_read` or `…_read_own` for `legal-entity`. A
|
|
9928
|
+
* site-restricted read scope (`customer.customer_read--DE#AT`) returns only the
|
|
9929
|
+
* documents whose `restriction` / `restrictions` match, and an own scope only
|
|
9930
|
+
* the caller's own customer or legal entity.
|
|
9832
9931
|
*/
|
|
9833
9932
|
declare class SearchService {
|
|
9834
9933
|
private readonly ctx;
|
|
@@ -9836,13 +9935,18 @@ declare class SearchService {
|
|
|
9836
9935
|
constructor(ctx: ClientContext);
|
|
9837
9936
|
private base;
|
|
9838
9937
|
/**
|
|
9839
|
-
* Search the documents of one custom schema type
|
|
9840
|
-
* `fields` travel as query parameters, not
|
|
9938
|
+
* Search the documents of one type — a custom schema type, `customer` or
|
|
9939
|
+
* `legal-entity`. Paging, `sort` and `fields` travel as query parameters, not
|
|
9940
|
+
* in the body.
|
|
9841
9941
|
*
|
|
9842
9942
|
* Filter and sort fields must be indexed on the index the search uses —
|
|
9843
|
-
* `exact`, or `text: true` for a `CONTAINS` filter — or the call answers
|
|
9844
|
-
* `
|
|
9845
|
-
*
|
|
9943
|
+
* `exact`, or `text: true` for a `CONTAINS` filter — or the call answers
|
|
9944
|
+
* `400`. A `TEXT` or `PHRASE` query may pick the field's `analyzer` or one of
|
|
9945
|
+
* its `additionalAnalyzers`. Conditions joined by `and` on fields of one
|
|
9946
|
+
* `itemFields` list must match the same list item. A saved-search call
|
|
9947
|
+
* (`{ searchQueryId, query }`) answers `404` when no saved search has that id
|
|
9948
|
+
* for `type`, and `502` means the Schema Service could not confirm that a
|
|
9949
|
+
* custom `type` is a custom entity.
|
|
9846
9950
|
*
|
|
9847
9951
|
* @example
|
|
9848
9952
|
* const hits = await client.search.search("VEHICLE", {
|
|
@@ -9852,7 +9956,7 @@ declare class SearchService {
|
|
|
9852
9956
|
* });
|
|
9853
9957
|
*/
|
|
9854
9958
|
search(type: string, input: SearchInput, opts?: SearchOptions, auth?: AuthContext): Promise<PaginatedItems<SearchHit>>;
|
|
9855
|
-
/** List saved searches of one
|
|
9959
|
+
/** List saved searches of one type (`opts.type`), or of every type. */
|
|
9856
9960
|
listSavedSearches(opts?: SearchTypeListOptions, auth?: AuthContext): Promise<PaginatedItems<SavedSearch>>;
|
|
9857
9961
|
/** Fetch one saved search. */
|
|
9858
9962
|
getSavedSearch(type: string, id: string, opts?: {
|
|
@@ -9869,7 +9973,7 @@ declare class SearchService {
|
|
|
9869
9973
|
upsertSavedSearch(type: string, id: string, input: SavedSearchInput, auth?: AuthContext): Promise<SavedSearchCreated | undefined>;
|
|
9870
9974
|
/** Delete a saved search. Does not start an index build. */
|
|
9871
9975
|
deleteSavedSearch(type: string, id: string, auth?: AuthContext): Promise<void>;
|
|
9872
|
-
/** List search indexes of one
|
|
9976
|
+
/** List search indexes of one type (`opts.type`), or of every type. */
|
|
9873
9977
|
listIndexes(opts?: SearchTypeListOptions, auth?: AuthContext): Promise<PaginatedItems<SearchIndex>>;
|
|
9874
9978
|
/** Fetch one search index. */
|
|
9875
9979
|
getIndex(type: string, id: string, opts?: {
|
|
@@ -11366,7 +11470,10 @@ type ImportRun = ImportRun$1;
|
|
|
11366
11470
|
*
|
|
11367
11471
|
* For a file source, `filesRead` lists the files the stream read, in order,
|
|
11368
11472
|
* and `fileNames` maps each of those opaque locators to its display name. A
|
|
11369
|
-
* retry re-reads exactly these bytes, even if a newer file arrived since.
|
|
11473
|
+
* retry re-reads exactly these bytes, even if a newer file arrived since. When
|
|
11474
|
+
* a run of a file-based stream finds no file waiting, `message` starts with
|
|
11475
|
+
* `No file was waiting, so nothing was imported` and, if the stream's latest
|
|
11476
|
+
* file failed, names it.
|
|
11370
11477
|
*/
|
|
11371
11478
|
type ImportRunStream = ImportRunStream$1;
|
|
11372
11479
|
/** A run together with its per-stream progress — what `getRun` resolves to. */
|
|
@@ -11394,7 +11501,7 @@ type ImportedRecord = ImportedRecord$1;
|
|
|
11394
11501
|
type ImportStreamOrder = GetImporttoolStreamOrderResponse;
|
|
11395
11502
|
/**
|
|
11396
11503
|
* One file a file-based stream was given, and what became of it. `id` is what
|
|
11397
|
-
* `setStreamFileOrder` and `
|
|
11504
|
+
* `setStreamFileOrder`, `deleteStreamFile` and `requeueStreamFile` take. `loadRank` is its place in
|
|
11398
11505
|
* the drain order; `runId`, `processedAt` and `recordsRead` are set once a run
|
|
11399
11506
|
* consumed it.
|
|
11400
11507
|
*/
|
|
@@ -11403,13 +11510,17 @@ type ImportFile = ImportFile$1;
|
|
|
11403
11510
|
* Where an {@link ImportFile} is in its life: `PENDING`, `IN_PROGRESS`,
|
|
11404
11511
|
* `PROCESSED` or `FAILED`. A file whose records failed individually still ends
|
|
11405
11512
|
* `PROCESSED`; `FAILED` means the stream reading it failed, and such a file can
|
|
11406
|
-
* be uploaded again.
|
|
11513
|
+
* be queued again with `requeueStreamFile` or uploaded again.
|
|
11407
11514
|
*/
|
|
11408
11515
|
type ImportFileStatus = NonNullable<ImportFile["status"]>;
|
|
11409
11516
|
/**
|
|
11410
11517
|
* A stream's file queue: `pending` in load order, `history` newest first.
|
|
11411
11518
|
* `pending` is complete up to 2000 files; beyond that `pendingTruncated` is
|
|
11412
11519
|
* `true`, `pendingTotal` has the real count, and the order cannot be changed.
|
|
11520
|
+
*
|
|
11521
|
+
* `lastProcessed` is the newest file the stream imported, whatever
|
|
11522
|
+
* `historyLimit` is, or `null` when it imported none: on a snapshot stream, a
|
|
11523
|
+
* run with no file waiting reads that file again.
|
|
11413
11524
|
*/
|
|
11414
11525
|
type ImportFileQueue = FileQueue;
|
|
11415
11526
|
/**
|
|
@@ -11668,6 +11779,11 @@ declare class ImportService {
|
|
|
11668
11779
|
* streams. Read it back with {@link getRun}, or follow it with
|
|
11669
11780
|
* {@link streamRun}, before treating a resolved call as a started import.
|
|
11670
11781
|
*
|
|
11782
|
+
* A configuration that does not exist answers `404` (since 2026-11-06; it used
|
|
11783
|
+
* to be a `500`). A real run with nothing to import answers `400`: every stream
|
|
11784
|
+
* it starts from reads uploaded files, and none has ever had one. Upload a file
|
|
11785
|
+
* with {@link uploadStreamFile} first. A dry run is not refused for this.
|
|
11786
|
+
*
|
|
11671
11787
|
* Not retried on a 5xx: a POST that timed out may already have queued a run.
|
|
11672
11788
|
*
|
|
11673
11789
|
* @example
|
|
@@ -11796,7 +11912,7 @@ declare class ImportService {
|
|
|
11796
11912
|
* {@link streamRun} exactly as you would a triggered run. Like one, it comes
|
|
11797
11913
|
* back `QUEUED`, answers `409` while the configuration has a run `QUEUED`,
|
|
11798
11914
|
* `RUNNING` or `RESUMABLE`, runs the published mappings and can finish
|
|
11799
|
-
* `ABORTED`.
|
|
11915
|
+
* `ABORTED`. A run that does not exist answers `404`.
|
|
11800
11916
|
*
|
|
11801
11917
|
* Not retried on a 5xx, for the same reason {@link triggerRun} is not: a POST
|
|
11802
11918
|
* that timed out may already have queued the retry.
|
|
@@ -11865,6 +11981,23 @@ declare class ImportService {
|
|
|
11865
11981
|
* same bytes importable again.
|
|
11866
11982
|
*/
|
|
11867
11983
|
deleteStreamFile(streamId: string, fileId: string, auth?: AuthContext): Promise<void>;
|
|
11984
|
+
/**
|
|
11985
|
+
* Put a `FAILED` file back at the end of the stream's queue, so the next run
|
|
11986
|
+
* reads the content the service already holds — no new upload. Use it after
|
|
11987
|
+
* fixing the cause of the failure, a mapping say. Resolves to the file,
|
|
11988
|
+
* `PENDING` again.
|
|
11989
|
+
*
|
|
11990
|
+
* Only a failed file can be queued again; `409` otherwise. A file imported with
|
|
11991
|
+
* some records failing is `PROCESSED`: retry those records with
|
|
11992
|
+
* {@link retryRun} instead. On a `SNAPSHOT` stream a failed file cannot be
|
|
11993
|
+
* queued again once a newer file arrived, since the older snapshot would be
|
|
11994
|
+
* imported over newer data — upload a corrected current file instead. `409`
|
|
11995
|
+
* also when the stored content is gone, and while the job has a run in flight.
|
|
11996
|
+
*
|
|
11997
|
+
* Not retried on a 5xx: if the first attempt went through, the file is no
|
|
11998
|
+
* longer `FAILED` and a repeat answers `409`.
|
|
11999
|
+
*/
|
|
12000
|
+
requeueStreamFile(streamId: string, fileId: string, auth?: AuthContext): Promise<ImportFile>;
|
|
11868
12001
|
}
|
|
11869
12002
|
|
|
11870
12003
|
/**
|
|
@@ -14069,6 +14202,13 @@ declare class EmporixClient {
|
|
|
14069
14202
|
* automatically via `autoRefreshCustomerToken`.
|
|
14070
14203
|
*/
|
|
14071
14204
|
setCustomerTokenRefresher(refresher: CustomerTokenRefresher | null): void;
|
|
14205
|
+
/**
|
|
14206
|
+
* Proxy mode (`config.proxy`): subscribes to the 401s the proxy answers, next
|
|
14207
|
+
* to `proxy.onUnauthorized`. Returns the unsubscribe function. The React
|
|
14208
|
+
* `EmporixProvider` uses it for `onCustomerSessionExpired`. Never fires outside
|
|
14209
|
+
* proxy mode — there a 401 is answered by re-authenticating.
|
|
14210
|
+
*/
|
|
14211
|
+
onUnauthorized(listener: (info: EmporixUnauthorizedInfo) => void): () => void;
|
|
14072
14212
|
}
|
|
14073
14213
|
|
|
14074
14214
|
/** The service-agnostic core shared by `EmporixClient` and `createEmporixClient`. */
|
|
@@ -14088,6 +14228,12 @@ interface EmporixCore {
|
|
|
14088
14228
|
}): void;
|
|
14089
14229
|
getLogLevel(service: ServiceName): LogLevel;
|
|
14090
14230
|
setCustomerTokenRefresher(refresher: CustomerTokenRefresher | null): void;
|
|
14231
|
+
/**
|
|
14232
|
+
* Proxy mode: subscribes to the 401s the proxy answers, next to
|
|
14233
|
+
* `config.proxy.onUnauthorized`. Returns the unsubscribe function. Never fires
|
|
14234
|
+
* outside proxy mode — there a 401 is answered by re-authenticating.
|
|
14235
|
+
*/
|
|
14236
|
+
onUnauthorized(listener: (info: EmporixUnauthorizedInfo) => void): () => void;
|
|
14091
14237
|
/** Internal: builds a per-service ClientContext (logger child + HttpClient). */
|
|
14092
14238
|
mk(service: ServiceName): ClientContext;
|
|
14093
14239
|
}
|
|
@@ -14135,4 +14281,4 @@ declare function productIdFromYrn(yrn: string | undefined): string;
|
|
|
14135
14281
|
*/
|
|
14136
14282
|
declare function productYrn(tenant: string, productId: string): string;
|
|
14137
14283
|
|
|
14138
|
-
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 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 };
|
|
14284
|
+
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 };
|