@viu/emporix-sdk 4.4.0 → 4.5.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 +8 -0
- package/README.md +1 -1
- package/dist/availability.d.cts +1 -1
- package/dist/availability.d.ts +1 -1
- package/dist/cart.d.cts +1 -1
- package/dist/cart.d.ts +1 -1
- package/dist/category.d.cts +1 -1
- package/dist/category.d.ts +1 -1
- package/dist/checkout.d.cts +1 -1
- package/dist/checkout.d.ts +1 -1
- package/dist/companies.d.cts +1 -1
- package/dist/companies.d.ts +1 -1
- package/dist/contacts.d.cts +1 -1
- package/dist/contacts.d.ts +1 -1
- package/dist/{context-C-A10NL3.d.cts → context-BJeomwxV.d.cts} +1 -1
- package/dist/{context-C-A10NL3.d.ts → context-BJeomwxV.d.ts} +1 -1
- package/dist/{customer-groups-C6jPLdvd.d.cts → customer-groups-ByNcTPoL.d.cts} +1 -1
- package/dist/{customer-groups-E1fY1FR2.d.ts → customer-groups-D7a8BvT2.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 +267 -86
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +497 -4
- package/dist/index.d.ts +497 -4
- package/dist/index.js +267 -87
- 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 { q as StoredAnonymousSession, b as AuthContext, C as ClientContext, P as PaginatedItems, T as TokenProvider, o as ResolvedConfig, E as EmporixConfig, k as LogLevel, p as ServiceName, e as CustomerTokenRefresher } from './context-
|
|
2
|
-
export { A as AnonymousSession, a as AnonymousSessionStore, c as AuthKind, d as CustomerRefreshRegistry, D as DEFAULT_HOST, f as DefaultTokenProvider, H as HttpClient, g as HttpClientOptions, h as HttpResult, L as LEVEL, i as LevelResolver, j as LogFields, l as Logger, m as LoggerConfig, n as LoggerObjectConfig, R as RequestOptions, S as ServiceCredentials, r as StorefrontCredentials, s as auth, t as createConsoleLogger, u as createNoopLogger, v as iterateAll, w as redact, x as resolveToken, y as validateConfig } from './context-
|
|
1
|
+
import { q as StoredAnonymousSession, b as AuthContext, C as ClientContext, P as PaginatedItems, T as TokenProvider, o as ResolvedConfig, E as EmporixConfig, k as LogLevel, p as ServiceName, e as CustomerTokenRefresher } from './context-BJeomwxV.js';
|
|
2
|
+
export { A as AnonymousSession, a as AnonymousSessionStore, c as AuthKind, d as CustomerRefreshRegistry, D as DEFAULT_HOST, f as DefaultTokenProvider, H as HttpClient, g as HttpClientOptions, h as HttpResult, L as LEVEL, i as LevelResolver, j as LogFields, l as Logger, m as LoggerConfig, n as LoggerObjectConfig, R as RequestOptions, S as ServiceCredentials, r as StorefrontCredentials, s as auth, t as createConsoleLogger, u as createNoopLogger, v as iterateAll, w as redact, x as resolveToken, y as validateConfig } from './context-BJeomwxV.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-D7a8BvT2.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';
|
|
@@ -9090,6 +9090,498 @@ declare class IndexingService {
|
|
|
9090
9090
|
reindex(input: ReindexInput, auth?: AuthContext): Promise<void>;
|
|
9091
9091
|
}
|
|
9092
9092
|
|
|
9093
|
+
/**
|
|
9094
|
+
* Definition of a search index. Unknown properties are ignored.
|
|
9095
|
+
*/
|
|
9096
|
+
type IndexRequest = {
|
|
9097
|
+
/**
|
|
9098
|
+
* Index id. Optional. When it is present, it must equal the `{id}` path parameter.
|
|
9099
|
+
*/
|
|
9100
|
+
id?: string;
|
|
9101
|
+
/**
|
|
9102
|
+
* Localized name of the index.
|
|
9103
|
+
*/
|
|
9104
|
+
name?: {
|
|
9105
|
+
[key: string]: string;
|
|
9106
|
+
};
|
|
9107
|
+
/**
|
|
9108
|
+
* Localized description of the index.
|
|
9109
|
+
*/
|
|
9110
|
+
description?: {
|
|
9111
|
+
[key: string]: string;
|
|
9112
|
+
};
|
|
9113
|
+
/**
|
|
9114
|
+
* Fields to index. At least one field is required.
|
|
9115
|
+
*
|
|
9116
|
+
* A string field needs `text`, `autocomplete`, or `exact`. A number, boolean, or date field supports only `exact` set to `true`. `time`, `list`, `object`, and `dictionary` fields cannot be indexed. A path must be a field defined on the schema type, or `metadata.createdAt`, or `metadata.modifiedAt`. Any other path is rejected.
|
|
9117
|
+
*/
|
|
9118
|
+
fields: Array<IndexField>;
|
|
9119
|
+
metadata?: IndexMetadataRequest;
|
|
9120
|
+
};
|
|
9121
|
+
/**
|
|
9122
|
+
* One field in a search index.
|
|
9123
|
+
*/
|
|
9124
|
+
type IndexField = {
|
|
9125
|
+
/**
|
|
9126
|
+
* Full stored field path. Use `name.en`, not `name`.
|
|
9127
|
+
*/
|
|
9128
|
+
path: string;
|
|
9129
|
+
/**
|
|
9130
|
+
* Indexes a string for `TEXT` and `PHRASE` search, and for `WILDCARD` on the whole stored value. A wildcard match keeps the stored case.
|
|
9131
|
+
*/
|
|
9132
|
+
text?: boolean;
|
|
9133
|
+
/**
|
|
9134
|
+
* Indexes a string for `AUTOCOMPLETE`. `PREFIX` matches the start of a word. `NGRAM` matches a character sequence inside a word.
|
|
9135
|
+
*/
|
|
9136
|
+
autocomplete?: 'PREFIX' | 'NGRAM';
|
|
9137
|
+
/**
|
|
9138
|
+
* Indexes the field for equality, list, range, existence, and sort. Required for number, boolean, and date fields.
|
|
9139
|
+
*/
|
|
9140
|
+
exact?: boolean;
|
|
9141
|
+
};
|
|
9142
|
+
/**
|
|
9143
|
+
* Optimistic lock for an index update. Required when the index already exists.
|
|
9144
|
+
*/
|
|
9145
|
+
type IndexMetadataRequest = {
|
|
9146
|
+
/**
|
|
9147
|
+
* Current version of the index. The first stored version is 1.
|
|
9148
|
+
*/
|
|
9149
|
+
version: number;
|
|
9150
|
+
};
|
|
9151
|
+
/**
|
|
9152
|
+
* A search index.
|
|
9153
|
+
*/
|
|
9154
|
+
type SearchIndex$1 = {
|
|
9155
|
+
/**
|
|
9156
|
+
* Index id.
|
|
9157
|
+
*/
|
|
9158
|
+
id?: string;
|
|
9159
|
+
/**
|
|
9160
|
+
* Custom schema type this index belongs to.
|
|
9161
|
+
*/
|
|
9162
|
+
type?: string;
|
|
9163
|
+
/**
|
|
9164
|
+
* Localized name. A specific `Accept-Language` value keeps one language. `*` keeps every stored language.
|
|
9165
|
+
*/
|
|
9166
|
+
name?: {
|
|
9167
|
+
[key: string]: string;
|
|
9168
|
+
};
|
|
9169
|
+
/**
|
|
9170
|
+
* Localized description. A specific `Accept-Language` value keeps one language. `*` keeps every stored language.
|
|
9171
|
+
*/
|
|
9172
|
+
description?: {
|
|
9173
|
+
[key: string]: string;
|
|
9174
|
+
};
|
|
9175
|
+
/**
|
|
9176
|
+
* Fields stored for this index.
|
|
9177
|
+
*/
|
|
9178
|
+
fields?: Array<IndexField>;
|
|
9179
|
+
/**
|
|
9180
|
+
* Build state of the index.
|
|
9181
|
+
*/
|
|
9182
|
+
status?: 'building' | 'ready' | 'failed';
|
|
9183
|
+
metadata?: ResourceMetadata;
|
|
9184
|
+
};
|
|
9185
|
+
/**
|
|
9186
|
+
* Identifier of an index job.
|
|
9187
|
+
*/
|
|
9188
|
+
type JobId = {
|
|
9189
|
+
/**
|
|
9190
|
+
* Job id.
|
|
9191
|
+
*/
|
|
9192
|
+
id?: string;
|
|
9193
|
+
};
|
|
9194
|
+
/**
|
|
9195
|
+
* One index build or deletion job.
|
|
9196
|
+
*/
|
|
9197
|
+
type IndexJob = {
|
|
9198
|
+
/**
|
|
9199
|
+
* Job id.
|
|
9200
|
+
*/
|
|
9201
|
+
id?: string;
|
|
9202
|
+
/**
|
|
9203
|
+
* Current state of the job.
|
|
9204
|
+
*/
|
|
9205
|
+
status?: 'in_progress' | 'success' | 'failure';
|
|
9206
|
+
/**
|
|
9207
|
+
* Kind of index change.
|
|
9208
|
+
*/
|
|
9209
|
+
type?: 'create_index' | 'update_index' | 'delete_index';
|
|
9210
|
+
/**
|
|
9211
|
+
* Index id.
|
|
9212
|
+
*/
|
|
9213
|
+
indexId?: string;
|
|
9214
|
+
/**
|
|
9215
|
+
* Text recorded when the job started.
|
|
9216
|
+
*/
|
|
9217
|
+
message?: string;
|
|
9218
|
+
/**
|
|
9219
|
+
* Result text recorded when the job finishes.
|
|
9220
|
+
*/
|
|
9221
|
+
response?: string;
|
|
9222
|
+
metadata?: ResourceMetadata;
|
|
9223
|
+
};
|
|
9224
|
+
/**
|
|
9225
|
+
* Version and timestamps for a stored resource.
|
|
9226
|
+
*/
|
|
9227
|
+
type ResourceMetadata = {
|
|
9228
|
+
/**
|
|
9229
|
+
* Stored version. The first version is 1.
|
|
9230
|
+
*/
|
|
9231
|
+
version?: number;
|
|
9232
|
+
/**
|
|
9233
|
+
* Time when the resource was created.
|
|
9234
|
+
*/
|
|
9235
|
+
createdAt?: string;
|
|
9236
|
+
/**
|
|
9237
|
+
* Time when the resource was last modified.
|
|
9238
|
+
*/
|
|
9239
|
+
modifiedAt?: string;
|
|
9240
|
+
};
|
|
9241
|
+
type SearchRequest = unknown & {
|
|
9242
|
+
/**
|
|
9243
|
+
* Queries to match. Use an array as shorthand for an `or` group, or an `and` group, an `or` group, or one query.
|
|
9244
|
+
*
|
|
9245
|
+
* `name` is localized. The search uses the field path as sent. It does not expand `name` with the `Accept-Language` value.
|
|
9246
|
+
*/
|
|
9247
|
+
queries?: Array<QueryNode> | QueryNode;
|
|
9248
|
+
filters?: FilterNode;
|
|
9249
|
+
/**
|
|
9250
|
+
* Name of the index to query.
|
|
9251
|
+
*/
|
|
9252
|
+
index: string;
|
|
9253
|
+
};
|
|
9254
|
+
/**
|
|
9255
|
+
* Runs one saved search. Use this shape when `searchQueryId` is present. The saved search supplies the index, the filters, and the query shape. `query` replaces the text of every search term. A saved search that contains only filters keeps those filters.
|
|
9256
|
+
*/
|
|
9257
|
+
type SavedSearchCall = {
|
|
9258
|
+
/**
|
|
9259
|
+
* Text applied to every search term in the saved search. The value must not be blank.
|
|
9260
|
+
*/
|
|
9261
|
+
query: string;
|
|
9262
|
+
/**
|
|
9263
|
+
* Id of the saved search for this schema type.
|
|
9264
|
+
*/
|
|
9265
|
+
searchQueryId: string;
|
|
9266
|
+
};
|
|
9267
|
+
type SavedQueryRequest = unknown & {
|
|
9268
|
+
/**
|
|
9269
|
+
* Saved search id. Optional. When it is present, it must equal the `{id}` path parameter.
|
|
9270
|
+
*/
|
|
9271
|
+
id?: string;
|
|
9272
|
+
/**
|
|
9273
|
+
* Localized name of the saved search.
|
|
9274
|
+
*/
|
|
9275
|
+
name?: {
|
|
9276
|
+
[key: string]: string;
|
|
9277
|
+
};
|
|
9278
|
+
/**
|
|
9279
|
+
* Localized description of the saved search.
|
|
9280
|
+
*/
|
|
9281
|
+
description?: {
|
|
9282
|
+
[key: string]: string;
|
|
9283
|
+
};
|
|
9284
|
+
/**
|
|
9285
|
+
* Id of the search index this saved search uses.
|
|
9286
|
+
*/
|
|
9287
|
+
index: string;
|
|
9288
|
+
/**
|
|
9289
|
+
* Queries stored with the saved search. A list is stored as one `or` group. A single query object is stored unchanged.
|
|
9290
|
+
*/
|
|
9291
|
+
queries?: Array<QueryNode> | QueryNode;
|
|
9292
|
+
filters?: FilterNode;
|
|
9293
|
+
metadata?: QueryMetadataRequest;
|
|
9294
|
+
};
|
|
9295
|
+
/**
|
|
9296
|
+
* Optimistic lock for a saved search update. Required when the saved search already exists.
|
|
9297
|
+
*/
|
|
9298
|
+
type QueryMetadataRequest = {
|
|
9299
|
+
/**
|
|
9300
|
+
* Current stored version. Required on update. A missing version on update returns 400. A version that does not match the stored saved search returns 409.
|
|
9301
|
+
*/
|
|
9302
|
+
version: number;
|
|
9303
|
+
};
|
|
9304
|
+
/**
|
|
9305
|
+
* Identifier of a created saved search.
|
|
9306
|
+
*/
|
|
9307
|
+
type SavedQueryId = {
|
|
9308
|
+
/**
|
|
9309
|
+
* Saved search id.
|
|
9310
|
+
*/
|
|
9311
|
+
id: string;
|
|
9312
|
+
};
|
|
9313
|
+
/**
|
|
9314
|
+
* One stored saved search. The request field `index` is returned as `indexId`. `queries` is one query node. A list sent on save is returned as one `or` group.
|
|
9315
|
+
*/
|
|
9316
|
+
type SavedQuery = {
|
|
9317
|
+
/**
|
|
9318
|
+
* Saved search id.
|
|
9319
|
+
*/
|
|
9320
|
+
id?: string;
|
|
9321
|
+
/**
|
|
9322
|
+
* Localized name of the saved search.
|
|
9323
|
+
*/
|
|
9324
|
+
name?: {
|
|
9325
|
+
[key: string]: string;
|
|
9326
|
+
};
|
|
9327
|
+
/**
|
|
9328
|
+
* Localized description of the saved search.
|
|
9329
|
+
*/
|
|
9330
|
+
description?: {
|
|
9331
|
+
[key: string]: string;
|
|
9332
|
+
};
|
|
9333
|
+
/**
|
|
9334
|
+
* Custom schema type this saved search belongs to.
|
|
9335
|
+
*/
|
|
9336
|
+
type?: string;
|
|
9337
|
+
/**
|
|
9338
|
+
* Id of the search index this saved search uses.
|
|
9339
|
+
*/
|
|
9340
|
+
indexId?: string;
|
|
9341
|
+
queries?: QueryNode;
|
|
9342
|
+
filters?: FilterNode;
|
|
9343
|
+
metadata?: ResourceMetadata;
|
|
9344
|
+
};
|
|
9345
|
+
/**
|
|
9346
|
+
* One query node. A node is an `and` group, an `or` group, or one query. Do not combine those forms in the same object.
|
|
9347
|
+
*/
|
|
9348
|
+
type QueryNode = {
|
|
9349
|
+
/**
|
|
9350
|
+
* Every child must match.
|
|
9351
|
+
*/
|
|
9352
|
+
and?: Array<QueryNode>;
|
|
9353
|
+
/**
|
|
9354
|
+
* Any child must match.
|
|
9355
|
+
*/
|
|
9356
|
+
or?: Array<QueryNode>;
|
|
9357
|
+
type?: SearchType;
|
|
9358
|
+
/**
|
|
9359
|
+
* Text or pattern to match.
|
|
9360
|
+
*/
|
|
9361
|
+
query?: string;
|
|
9362
|
+
/**
|
|
9363
|
+
* Document field to match. `id` is stored as `_id`.
|
|
9364
|
+
*/
|
|
9365
|
+
field?: string;
|
|
9366
|
+
/**
|
|
9367
|
+
* Score multiplier for matches on this field. The default is 1.
|
|
9368
|
+
*/
|
|
9369
|
+
boost?: number;
|
|
9370
|
+
fuzzy?: Fuzzy;
|
|
9371
|
+
};
|
|
9372
|
+
/**
|
|
9373
|
+
* Match mode.
|
|
9374
|
+
*
|
|
9375
|
+
* * `TEXT` matches the query tokens.
|
|
9376
|
+
* * `PHRASE` matches the query as adjacent words in order.
|
|
9377
|
+
* * `AUTOCOMPLETE` matches the index field's autocomplete mode. `PREFIX` matches the start of a word. `NGRAM` matches a character sequence inside a word.
|
|
9378
|
+
* * `WILDCARD` matches a pattern. `*` matches any number of characters. `?` matches one character. Fuzzy matching is not supported.
|
|
9379
|
+
*/
|
|
9380
|
+
type SearchType = 'TEXT' | 'PHRASE' | 'AUTOCOMPLETE' | 'WILDCARD';
|
|
9381
|
+
/**
|
|
9382
|
+
* Edit-distance matching. Supported only when `type` is `TEXT` and `enabled` is `true`.
|
|
9383
|
+
*/
|
|
9384
|
+
type Fuzzy = {
|
|
9385
|
+
/**
|
|
9386
|
+
* When `true`, matches that are one or two edits from the query are included.
|
|
9387
|
+
*/
|
|
9388
|
+
enabled?: boolean;
|
|
9389
|
+
/**
|
|
9390
|
+
* Maximum edit distance. Required when `enabled` is `true`. Allowed values are 1 and 2.
|
|
9391
|
+
*/
|
|
9392
|
+
maxEdits?: 1 | 2;
|
|
9393
|
+
};
|
|
9394
|
+
/**
|
|
9395
|
+
* One filter node. A node is an `and` group, an `or` group, or a comparison. Do not combine those forms in the same object.
|
|
9396
|
+
*
|
|
9397
|
+
* Comparison fields must be indexed on the index named by `index`.
|
|
9398
|
+
*/
|
|
9399
|
+
type FilterNode = {
|
|
9400
|
+
/**
|
|
9401
|
+
* Every child must match. The group must not be empty.
|
|
9402
|
+
*/
|
|
9403
|
+
and?: Array<FilterNode>;
|
|
9404
|
+
/**
|
|
9405
|
+
* At least one child must match. The group must not be empty.
|
|
9406
|
+
*/
|
|
9407
|
+
or?: Array<FilterNode>;
|
|
9408
|
+
/**
|
|
9409
|
+
* Document field to compare. `id` is stored as `_id`.
|
|
9410
|
+
*/
|
|
9411
|
+
field?: string;
|
|
9412
|
+
operator?: FilterOperator;
|
|
9413
|
+
/**
|
|
9414
|
+
* Comparison value. The shape depends on `operator`.
|
|
9415
|
+
*
|
|
9416
|
+
* * `EQ`, `NEQ`, `GT`, `GTE`, `LT`, and `LTE` require one value.
|
|
9417
|
+
* * `BETWEEN` requires an array of two values. The range is inclusive.
|
|
9418
|
+
* * `IN` and `NOT_IN` require a non-empty array.
|
|
9419
|
+
* * `EXISTS` requires a boolean. `true` matches documents where the field is present. `false` matches documents where the field is absent.
|
|
9420
|
+
*/
|
|
9421
|
+
value?: unknown;
|
|
9422
|
+
};
|
|
9423
|
+
/**
|
|
9424
|
+
* Comparison applied to `field` and `value`.
|
|
9425
|
+
*/
|
|
9426
|
+
type FilterOperator = 'EQ' | 'NEQ' | 'GT' | 'GTE' | 'LT' | 'LTE' | 'BETWEEN' | 'IN' | 'NOT_IN' | 'EXISTS';
|
|
9427
|
+
/**
|
|
9428
|
+
* A matching document. Stored fields are returned with their API names. The identifier is `id`.
|
|
9429
|
+
*
|
|
9430
|
+
* The `name` is localized. Other stored fields are returned as they are stored. When `fields` limits the response, the response includes the requested fields and `id`.
|
|
9431
|
+
*/
|
|
9432
|
+
type SearchHit$1 = {
|
|
9433
|
+
/**
|
|
9434
|
+
* Document identifier.
|
|
9435
|
+
*/
|
|
9436
|
+
id?: string;
|
|
9437
|
+
/**
|
|
9438
|
+
* Localized name. A specific `Accept-Language` value keeps one language. `*` keeps every stored language.
|
|
9439
|
+
*/
|
|
9440
|
+
name?: {
|
|
9441
|
+
[key: string]: string;
|
|
9442
|
+
};
|
|
9443
|
+
/**
|
|
9444
|
+
* Search relevance score. Included when `fields` is omitted, or when `fields` lists `_score`.
|
|
9445
|
+
*/
|
|
9446
|
+
_score?: number;
|
|
9447
|
+
[key: string]: unknown;
|
|
9448
|
+
};
|
|
9449
|
+
/**
|
|
9450
|
+
* A direct search or a saved search. When `searchQueryId` is present, the service runs the saved search and ignores the other properties.
|
|
9451
|
+
*/
|
|
9452
|
+
type SearchPost = SearchRequest | SavedSearchCall;
|
|
9453
|
+
|
|
9454
|
+
/** A matching document. Stored fields come back as stored, plus `id` and `_score`. */
|
|
9455
|
+
type SearchHit = SearchHit$1;
|
|
9456
|
+
/**
|
|
9457
|
+
* Body of {@link SearchService.search}: a direct search (`index` plus `queries`,
|
|
9458
|
+
* `filters` or both) or a saved-search call (`searchQueryId` plus `query`).
|
|
9459
|
+
*/
|
|
9460
|
+
type SearchInput = SearchPost;
|
|
9461
|
+
/** One query node: an `and` group, an `or` group, or one query. */
|
|
9462
|
+
type SearchQueryNode = QueryNode;
|
|
9463
|
+
/** One filter node: an `and` group, an `or` group, or one comparison. */
|
|
9464
|
+
type SearchFilterNode = FilterNode;
|
|
9465
|
+
/** A stored saved search. The request field `index` comes back as `indexId`. */
|
|
9466
|
+
type SavedSearch = SavedQuery;
|
|
9467
|
+
/** Body of {@link SearchService.upsertSavedSearch}. */
|
|
9468
|
+
type SavedSearchInput = SavedQueryRequest;
|
|
9469
|
+
/** `201` response of {@link SearchService.upsertSavedSearch}. */
|
|
9470
|
+
type SavedSearchCreated = SavedQueryId;
|
|
9471
|
+
/** A search index on one custom schema type. */
|
|
9472
|
+
type SearchIndex = SearchIndex$1;
|
|
9473
|
+
/** Body of {@link SearchService.upsertIndex}. */
|
|
9474
|
+
type SearchIndexInput = IndexRequest;
|
|
9475
|
+
/** One field of a search index. */
|
|
9476
|
+
type SearchIndexField = IndexField;
|
|
9477
|
+
/** An index build or deletion job. */
|
|
9478
|
+
type SearchIndexJob = IndexJob;
|
|
9479
|
+
/** The id of the job an index write started. */
|
|
9480
|
+
type SearchIndexJobRef = JobId;
|
|
9481
|
+
/** Paging, sort, filter and projection for the list reads. */
|
|
9482
|
+
interface SearchListOptions {
|
|
9483
|
+
pageNumber?: number;
|
|
9484
|
+
/** Defaults to 60, the server's default. */
|
|
9485
|
+
pageSize?: number;
|
|
9486
|
+
/** `field`, `field:ASC` or `field:DESC`, comma-separated. Default: `metadata.createdAt` descending. */
|
|
9487
|
+
sort?: string;
|
|
9488
|
+
/** Raw Emporix `q` filter string. */
|
|
9489
|
+
q?: string;
|
|
9490
|
+
/** Comma-separated properties to return. */
|
|
9491
|
+
fields?: string;
|
|
9492
|
+
/** Ask for `X-Total-Count` — becomes a request header, not a query parameter. */
|
|
9493
|
+
totalCount?: boolean;
|
|
9494
|
+
}
|
|
9495
|
+
/** Options for {@link SearchService.listSavedSearches} and {@link SearchService.listIndexes}. */
|
|
9496
|
+
interface SearchTypeListOptions extends SearchListOptions {
|
|
9497
|
+
/** One custom schema type. Omitted, the list spans every custom schema type, and each item carries `type`. */
|
|
9498
|
+
type?: string;
|
|
9499
|
+
}
|
|
9500
|
+
/**
|
|
9501
|
+
* Options for {@link SearchService.search}. Without `sort`, hits are ordered by
|
|
9502
|
+
* relevance; without `fields`, each hit carries `_score`.
|
|
9503
|
+
*/
|
|
9504
|
+
type SearchOptions = Omit<SearchListOptions, "q">;
|
|
9505
|
+
/**
|
|
9506
|
+
* Emporix Search Service (`/search/{tenant}/…`, **preview**): searches the
|
|
9507
|
+
* documents of a custom schema type, stores saved searches, and manages the
|
|
9508
|
+
* search indexes and the jobs that build them. Only custom schema types are
|
|
9509
|
+
* supported so far. Server-side; defaults to the service token.
|
|
9510
|
+
*
|
|
9511
|
+
* Scopes: `search.search_read` for every read and for `search`,
|
|
9512
|
+
* `search.search_manage` for every write. Searching also needs read access to
|
|
9513
|
+
* the documents themselves (`schema.custominstance_read`, `custom.{type}_read`
|
|
9514
|
+
* or `custom.{type}_read_own`), or it answers `403`.
|
|
9515
|
+
*/
|
|
9516
|
+
declare class SearchService {
|
|
9517
|
+
private readonly ctx;
|
|
9518
|
+
static readonly channel: "search";
|
|
9519
|
+
constructor(ctx: ClientContext);
|
|
9520
|
+
private base;
|
|
9521
|
+
/**
|
|
9522
|
+
* Search the documents of one custom schema type. Paging, `sort` and
|
|
9523
|
+
* `fields` travel as query parameters, not in the body.
|
|
9524
|
+
*
|
|
9525
|
+
* Filter and sort fields must be indexed on the index the search uses, or the
|
|
9526
|
+
* call answers `400`. A saved-search call (`{ searchQueryId, query }`) answers
|
|
9527
|
+
* `404` when no saved search has that id for `type`, and `502` means the
|
|
9528
|
+
* Schema Service could not confirm that `type` is a custom entity.
|
|
9529
|
+
*
|
|
9530
|
+
* @example
|
|
9531
|
+
* const hits = await client.search.search("vehicle", {
|
|
9532
|
+
* index: "vehicles",
|
|
9533
|
+
* queries: [{ type: "TEXT", query: "diesel", field: "name.en" }],
|
|
9534
|
+
* filters: { field: "status", operator: "EQ", value: "ACTIVE" },
|
|
9535
|
+
* });
|
|
9536
|
+
*/
|
|
9537
|
+
search(type: string, input: SearchInput, opts?: SearchOptions, auth?: AuthContext): Promise<PaginatedItems<SearchHit>>;
|
|
9538
|
+
/** List saved searches of one custom schema type (`opts.type`), or of every type. */
|
|
9539
|
+
listSavedSearches(opts?: SearchTypeListOptions, auth?: AuthContext): Promise<PaginatedItems<SavedSearch>>;
|
|
9540
|
+
/** Fetch one saved search. */
|
|
9541
|
+
getSavedSearch(type: string, id: string, opts?: {
|
|
9542
|
+
fields?: string;
|
|
9543
|
+
}, auth?: AuthContext): Promise<SavedSearch>;
|
|
9544
|
+
/**
|
|
9545
|
+
* Create or replace a saved search. Resolves to `{ id }` when it was created
|
|
9546
|
+
* (`201`) and to `undefined` when it replaced an existing one (`204`).
|
|
9547
|
+
*
|
|
9548
|
+
* A replace needs the stored `metadata.version` — `400` without it, `409`
|
|
9549
|
+
* when it is stale. `index` must already exist for `type` (`404`
|
|
9550
|
+
* otherwise). Saving does not start an index build.
|
|
9551
|
+
*/
|
|
9552
|
+
upsertSavedSearch(type: string, id: string, input: SavedSearchInput, auth?: AuthContext): Promise<SavedSearchCreated | undefined>;
|
|
9553
|
+
/** Delete a saved search. Does not start an index build. */
|
|
9554
|
+
deleteSavedSearch(type: string, id: string, auth?: AuthContext): Promise<void>;
|
|
9555
|
+
/** List search indexes of one custom schema type (`opts.type`), or of every type. */
|
|
9556
|
+
listIndexes(opts?: SearchTypeListOptions, auth?: AuthContext): Promise<PaginatedItems<SearchIndex>>;
|
|
9557
|
+
/** Fetch one search index. */
|
|
9558
|
+
getIndex(type: string, id: string, opts?: {
|
|
9559
|
+
fields?: string;
|
|
9560
|
+
}, auth?: AuthContext): Promise<SearchIndex>;
|
|
9561
|
+
/**
|
|
9562
|
+
* Create or update a search index. Resolves to the id of the job that builds
|
|
9563
|
+
* it (`202`) — for a new index, a changed field list, or an index whose
|
|
9564
|
+
* status is `building` or `failed` — and to `undefined` (`204`) when the
|
|
9565
|
+
* index is `ready` and its fields are unchanged; `name` and `description`
|
|
9566
|
+
* still change then. Track the job with {@link getJob}.
|
|
9567
|
+
*
|
|
9568
|
+
* An update needs the stored `metadata.version` (`400` without it). `409`
|
|
9569
|
+
* means a job for this index is already running, or the version is stale.
|
|
9570
|
+
*/
|
|
9571
|
+
upsertIndex(type: string, id: string, input: SearchIndexInput, auth?: AuthContext): Promise<SearchIndexJobRef | undefined>;
|
|
9572
|
+
/**
|
|
9573
|
+
* Start deleting a search index. Resolves to the id of the job that removes
|
|
9574
|
+
* it (`202`); `409` means a job for this index is already running.
|
|
9575
|
+
*/
|
|
9576
|
+
deleteIndex(type: string, id: string, auth?: AuthContext): Promise<SearchIndexJobRef>;
|
|
9577
|
+
/** List index jobs of the tenant. */
|
|
9578
|
+
listJobs(opts?: SearchListOptions, auth?: AuthContext): Promise<PaginatedItems<SearchIndexJob>>;
|
|
9579
|
+
/** Fetch one index job. */
|
|
9580
|
+
getJob(id: string, opts?: {
|
|
9581
|
+
fields?: string;
|
|
9582
|
+
}, auth?: AuthContext): Promise<SearchIndexJob>;
|
|
9583
|
+
}
|
|
9584
|
+
|
|
9093
9585
|
/**
|
|
9094
9586
|
* Import configuration
|
|
9095
9587
|
*
|
|
@@ -12762,6 +13254,7 @@ declare class EmporixClient {
|
|
|
12762
13254
|
readonly quotes: QuoteService;
|
|
12763
13255
|
readonly returns: ReturnsService;
|
|
12764
13256
|
readonly indexing: IndexingService;
|
|
13257
|
+
readonly search: SearchService;
|
|
12765
13258
|
readonly imports: ImportService;
|
|
12766
13259
|
readonly auditLogs: AuditLogService;
|
|
12767
13260
|
readonly units: UnitHandlingService;
|
|
@@ -12882,4 +13375,4 @@ declare function productIdFromYrn(yrn: string | undefined): string;
|
|
|
12882
13375
|
*/
|
|
12883
13376
|
declare function productYrn(tenant: string, productId: string): string;
|
|
12884
13377
|
|
|
12885
|
-
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 CustomEntityDraft, type CustomInstance, type CustomInstanceDraft, 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, 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 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 Schema, type SchemaAttribute, type SchemaDraft, type SchemaExport, type SchemaImportInput, type SchemaInstanceBulkCreateItem, type SchemaInstanceBulkUpsertItem, type SchemaReference, type SchemaReferenceCreated, type SchemaReferenceInput, type SchemaReferenceUpdateInput, SchemaService, type SchemaTypeName, type SchemaUpdate, type SearchImportedRecordsOptions, type SearchInstancesQuery, SearchPaging, type SearchQuery, type SearchStreamRecordsOptions, 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 };
|
|
13378
|
+
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 CustomEntityDraft, type CustomInstance, type CustomInstanceDraft, 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, 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 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 SchemaDraft, type SchemaExport, type SchemaImportInput, type SchemaInstanceBulkCreateItem, type SchemaInstanceBulkUpsertItem, type SchemaReference, type SchemaReferenceCreated, type SchemaReferenceInput, type SchemaReferenceUpdateInput, SchemaService, type SchemaTypeName, type SchemaUpdate, type SearchFilterNode, type SearchHit, type SearchImportedRecordsOptions, type SearchIndex, type SearchIndexField, type SearchIndexInput, type SearchIndexJob, type SearchIndexJobRef, 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 };
|