@viu/emporix-sdk 3.0.0 → 3.1.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +45 -0
- package/dist/index.cjs +254 -1
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +267 -6
- package/dist/index.d.ts +267 -6
- package/dist/index.js +245 -2
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
package/dist/index.d.cts
CHANGED
|
@@ -234,6 +234,160 @@ declare function createServerStorage(jar: ServerCookieJar): EmporixStorage;
|
|
|
234
234
|
*/
|
|
235
235
|
declare function serverAuth(storage: EmporixStorage): AuthContext;
|
|
236
236
|
|
|
237
|
+
/**
|
|
238
|
+
* The browser session-storage backends: memory, localStorage, sessionStorage,
|
|
239
|
+
* document.cookie.
|
|
240
|
+
*
|
|
241
|
+
* The contract and the framework-free backends live in `./session-storage`;
|
|
242
|
+
* these are the ones that need browser globals. They were in
|
|
243
|
+
* `@viu/emporix-sdk-react` until `@viu/emporix-sdk-angular` needed them too —
|
|
244
|
+
* `localStorage` is not a React API, and duplicating a storage backend per
|
|
245
|
+
* binding means two of them writing subtly different values under the same key.
|
|
246
|
+
*
|
|
247
|
+
* Every export is a named factory and the package sets `sideEffects: false`, so
|
|
248
|
+
* a Node consumer that imports none of them bundles none of them. That is
|
|
249
|
+
* asserted by `scripts/check-treeshake.mjs`.
|
|
250
|
+
*/
|
|
251
|
+
|
|
252
|
+
/**
|
|
253
|
+
* The three methods these backends use from a Web `Storage`.
|
|
254
|
+
*
|
|
255
|
+
* Declared locally on purpose. This package compiles with `lib: ["ES2022"]` and
|
|
256
|
+
* no `"DOM"` — that is the invariant which keeps the SDK runnable on Node, edge
|
|
257
|
+
* runtimes and workers, and adding DOM to the lib to satisfy this one file would
|
|
258
|
+
* switch that compile-time guard off for all ~60 services. So every browser
|
|
259
|
+
* global below is reached through a narrowed `globalThis` instead of an ambient
|
|
260
|
+
* declaration, which is also the pattern the localStorage and sessionStorage
|
|
261
|
+
* availability checks already used before this code moved here.
|
|
262
|
+
*/
|
|
263
|
+
interface WebStorageLike {
|
|
264
|
+
getItem(key: string): string | null;
|
|
265
|
+
setItem(key: string, value: string): void;
|
|
266
|
+
removeItem(key: string): void;
|
|
267
|
+
}
|
|
268
|
+
/**
|
|
269
|
+
* Internal: create a swallow-on-throw listener set used by all the storage
|
|
270
|
+
* backends for `subscribeAll`. Centralizes the try/catch wrapper so a buggy
|
|
271
|
+
* telemetry handler never breaks a storage write.
|
|
272
|
+
*/
|
|
273
|
+
declare function createListenerSet<T>(): {
|
|
274
|
+
add(l: (value: T) => void): () => void;
|
|
275
|
+
notify(value: T): void;
|
|
276
|
+
};
|
|
277
|
+
/** In-memory token store. Default, SSR-safe, no persistence. */
|
|
278
|
+
declare function createMemoryStorage(opts?: {
|
|
279
|
+
initial?: string;
|
|
280
|
+
}): EmporixStorage;
|
|
281
|
+
/**
|
|
282
|
+
* Internal: build an {@link EmporixStorage} backed by any Web `Storage`
|
|
283
|
+
* instance (`localStorage` or `sessionStorage`). Both share the identical
|
|
284
|
+
* `getItem`/`setItem`/`removeItem` surface, so the 8-key wiring lives here once.
|
|
285
|
+
* Callers own the availability check + memory fallback before delegating.
|
|
286
|
+
*/
|
|
287
|
+
declare function fromWebStorage(storage: WebStorageLike, opts?: {
|
|
288
|
+
key?: string;
|
|
289
|
+
}): EmporixStorage;
|
|
290
|
+
/**
|
|
291
|
+
* Browser `localStorage`-backed store: persistent and shared across tabs.
|
|
292
|
+
* Falls back to memory on the server (or when localStorage is unavailable).
|
|
293
|
+
*/
|
|
294
|
+
declare function createLocalStorage(opts?: {
|
|
295
|
+
key?: string;
|
|
296
|
+
}): EmporixStorage;
|
|
297
|
+
/** @deprecated Use {@link createLocalStorage}. Kept for backward compatibility. */
|
|
298
|
+
declare const createLocalStorageStorage: typeof createLocalStorage;
|
|
299
|
+
/**
|
|
300
|
+
* Browser `sessionStorage`-backed store: per-tab persistence that survives a
|
|
301
|
+
* reload but is cleared when the tab closes and is not shared across tabs.
|
|
302
|
+
* Falls back to memory on the server (or when sessionStorage is unavailable).
|
|
303
|
+
*/
|
|
304
|
+
declare function createSessionStorage(opts?: {
|
|
305
|
+
key?: string;
|
|
306
|
+
}): EmporixStorage;
|
|
307
|
+
/**
|
|
308
|
+
* Cookie-backed store. `Secure` defaults to on for https origins; override
|
|
309
|
+
* with `secure: false` only for non-https dev setups. Consumer must still pick
|
|
310
|
+
* an appropriate `sameSite` for CSRF safety.
|
|
311
|
+
*/
|
|
312
|
+
declare function createCookieStorage(opts?: {
|
|
313
|
+
name?: string;
|
|
314
|
+
secure?: boolean;
|
|
315
|
+
sameSite?: "lax" | "strict" | "none";
|
|
316
|
+
}): EmporixStorage;
|
|
317
|
+
|
|
318
|
+
/**
|
|
319
|
+
* The cache-key shape every framework binding shares.
|
|
320
|
+
*
|
|
321
|
+
* Shape: `["emporix", resource, ...args, { tenant, authKind, siteCode?, language? }]`
|
|
322
|
+
*
|
|
323
|
+
* It lives in the core SDK for the same reason {@link STORAGE_KEYS} does: it is
|
|
324
|
+
* not a React concern. `@viu/emporix-sdk-react` and `@viu/emporix-sdk-angular`
|
|
325
|
+
* must produce byte-identical keys or the two bindings, the docs and the
|
|
326
|
+
* devtools all describe different caches. One definition is the only way that
|
|
327
|
+
* holds — a copy per binding would agree on the day it was written and nowhere
|
|
328
|
+
* after.
|
|
329
|
+
*
|
|
330
|
+
* The trailing meta object groups the discriminators that differentiate cache
|
|
331
|
+
* entries across tenants, auth-kinds and (where applicable) active sites.
|
|
332
|
+
* `siteCode` is included only when explicitly passed — non-site-aware reads
|
|
333
|
+
* pass `undefined` and the field is dropped.
|
|
334
|
+
*/
|
|
335
|
+
declare function emporixKey<TArgs extends readonly unknown[]>(resource: string, args: TArgs, context: {
|
|
336
|
+
tenant: string;
|
|
337
|
+
authKind: string;
|
|
338
|
+
siteCode?: string | null;
|
|
339
|
+
language?: string | null;
|
|
340
|
+
}): readonly ["emporix", string, ...TArgs, Record<string, unknown>];
|
|
341
|
+
/** Which site discriminators go into the query key's meta object. */
|
|
342
|
+
type SiteFields = "full" | "language" | "none";
|
|
343
|
+
/**
|
|
344
|
+
* Builds the site portion of a query key's meta object. Shared by every read
|
|
345
|
+
* path — React's `useEmporixQuery`, its `prefetchEmporix`, and Angular's
|
|
346
|
+
* `emporixQueryOptions` — so none of them can disagree about which
|
|
347
|
+
* discriminators a resource carries. Key parity is structural, not tested.
|
|
348
|
+
*
|
|
349
|
+
* Note `null` is preserved rather than dropped: an unbound site is a distinct
|
|
350
|
+
* cache identity from a bound one, and {@link emporixKey} only omits a field
|
|
351
|
+
* when it is `undefined`.
|
|
352
|
+
*/
|
|
353
|
+
declare function siteMeta(site: SiteFields, siteCode: string | null, language: string | null): {
|
|
354
|
+
siteCode?: string | null;
|
|
355
|
+
language?: string | null;
|
|
356
|
+
};
|
|
357
|
+
|
|
358
|
+
/**
|
|
359
|
+
* In-memory customer-session store, keyed by storage instance.
|
|
360
|
+
*
|
|
361
|
+
* Moved out of the React bindings: it is a subscribe/snapshot store over
|
|
362
|
+
* {@link EmporixStorage} with no framework API in it. React consumes it through
|
|
363
|
+
* `useSyncExternalStore`, Angular through a `signal` — the store itself does not
|
|
364
|
+
* know or care, which is exactly why it does not belong in either binding.
|
|
365
|
+
*/
|
|
366
|
+
|
|
367
|
+
/**
|
|
368
|
+
* The three session tokens the customer session tracks. `token` is mirrored
|
|
369
|
+
* from persistent storage; `refreshToken` and `saasToken` are in-memory only
|
|
370
|
+
* (deliberately never persisted).
|
|
371
|
+
*/
|
|
372
|
+
interface CustomerSessionState {
|
|
373
|
+
token: string | null;
|
|
374
|
+
refreshToken: string | null;
|
|
375
|
+
saasToken: string | null;
|
|
376
|
+
}
|
|
377
|
+
interface CustomerSessionStore {
|
|
378
|
+
getSnapshot: () => CustomerSessionState;
|
|
379
|
+
setState: (next: CustomerSessionState | ((prev: CustomerSessionState) => CustomerSessionState)) => void;
|
|
380
|
+
subscribe: (listener: () => void) => () => void;
|
|
381
|
+
}
|
|
382
|
+
/**
|
|
383
|
+
* Shared in-memory store for the customer session, keyed by the storage
|
|
384
|
+
* instance. Every consumer reads and writes the same store, so a login in one
|
|
385
|
+
* place (the auth form) is visible in another (the checkout page) — without
|
|
386
|
+
* this, the in-memory `saasToken` lived in a single component's local state and
|
|
387
|
+
* customer checkout would 401 elsewhere.
|
|
388
|
+
*/
|
|
389
|
+
declare function getCustomerSessionStore(storage: EmporixStorage): CustomerSessionStore;
|
|
390
|
+
|
|
237
391
|
/**
|
|
238
392
|
* Address
|
|
239
393
|
*
|
|
@@ -3157,7 +3311,7 @@ type McpToolConfigResponse = {
|
|
|
3157
3311
|
*/
|
|
3158
3312
|
type McpToolRequest = {
|
|
3159
3313
|
/**
|
|
3160
|
-
* Unique name of the tool. Must
|
|
3314
|
+
* Unique name of the tool. Must contain only letters, numbers, and underscores.
|
|
3161
3315
|
*/
|
|
3162
3316
|
name: string;
|
|
3163
3317
|
/**
|
|
@@ -3181,7 +3335,7 @@ type McpToolRequest = {
|
|
|
3181
3335
|
*/
|
|
3182
3336
|
type McpToolResponse = {
|
|
3183
3337
|
/**
|
|
3184
|
-
* Unique name of the tool.
|
|
3338
|
+
* Unique name of the tool. Contains only letters, numbers, and underscores.
|
|
3185
3339
|
*/
|
|
3186
3340
|
name?: string;
|
|
3187
3341
|
/**
|
|
@@ -8778,13 +8932,22 @@ type ImportConfig$1 = {
|
|
|
8778
8932
|
*/
|
|
8779
8933
|
sourceConnId?: string;
|
|
8780
8934
|
/**
|
|
8781
|
-
* Whether
|
|
8935
|
+
* Whether AI-assisted mapping suggestions are enabled for the configuration.
|
|
8782
8936
|
*/
|
|
8783
|
-
|
|
8937
|
+
aiEnabled?: boolean;
|
|
8784
8938
|
/**
|
|
8785
8939
|
* Whether the configuration is active.
|
|
8786
8940
|
*/
|
|
8787
8941
|
enabled?: boolean;
|
|
8942
|
+
/**
|
|
8943
|
+
* Incremented on every change to the configuration.
|
|
8944
|
+
*/
|
|
8945
|
+
version?: number;
|
|
8946
|
+
healthThresholds?: HealthThresholds;
|
|
8947
|
+
/**
|
|
8948
|
+
* The identifier of the user who created the configuration.
|
|
8949
|
+
*/
|
|
8950
|
+
createdBy?: string;
|
|
8788
8951
|
/**
|
|
8789
8952
|
* When the configuration was created.
|
|
8790
8953
|
*/
|
|
@@ -8828,6 +8991,57 @@ type ImportStream$1 = {
|
|
|
8828
8991
|
* How the stream contributes to the target.
|
|
8829
8992
|
*/
|
|
8830
8993
|
mode?: 'STANDALONE' | 'COMPOSITE_CHILD' | 'COMPOSITE_MERGE';
|
|
8994
|
+
/**
|
|
8995
|
+
* The source field whose value is tracked as the delta watermark. A delta run extracts only the records whose value is newer than the last run's.
|
|
8996
|
+
*/
|
|
8997
|
+
deltaField?: string;
|
|
8998
|
+
/**
|
|
8999
|
+
* How the delta field's values are formatted, so they can be compared correctly.
|
|
9000
|
+
*/
|
|
9001
|
+
deltaFieldFormat?: 'DATE' | 'UNIX_SECONDS' | 'UNIX_MILLIS';
|
|
9002
|
+
/**
|
|
9003
|
+
* For a composite child stream, the name of the stream it contributes to.
|
|
9004
|
+
*/
|
|
9005
|
+
compositeParent?: string;
|
|
9006
|
+
/**
|
|
9007
|
+
* For a composite child stream, the source field holding its parent's key.
|
|
9008
|
+
*/
|
|
9009
|
+
linkingField?: string;
|
|
9010
|
+
/**
|
|
9011
|
+
* For a composite child stream, the parent attribute its records are embedded into.
|
|
9012
|
+
*/
|
|
9013
|
+
embedAttribute?: string;
|
|
9014
|
+
/**
|
|
9015
|
+
* How a composite child's records reach the parent object.
|
|
9016
|
+
*/
|
|
9017
|
+
childStrategy?: 'EMBED' | 'PATCH';
|
|
9018
|
+
/**
|
|
9019
|
+
* How an existing target object is updated. `PATCH` changes only the mapped fields and preserves everything else; `REPLACE_PUT` replaces the whole object, so fields this import does not manage are cleared.
|
|
9020
|
+
*/
|
|
9021
|
+
writeStrategy?: 'PATCH' | 'MERGE_PUT' | 'REPLACE_PUT';
|
|
9022
|
+
/**
|
|
9023
|
+
* A source field whose value routes each record to a different target type, as defined by `discriminatorMap`.
|
|
9024
|
+
*/
|
|
9025
|
+
discriminatorField?: string;
|
|
9026
|
+
/**
|
|
9027
|
+
* Maps a discriminator value to the target type that receives those records.
|
|
9028
|
+
*/
|
|
9029
|
+
discriminatorMap?: {
|
|
9030
|
+
[key: string]: string;
|
|
9031
|
+
};
|
|
9032
|
+
/**
|
|
9033
|
+
* Whether the stream reacts to its target objects being deleted outside the import.
|
|
9034
|
+
*/
|
|
9035
|
+
targetDeleteSubscriptionEnabled?: boolean;
|
|
9036
|
+
/**
|
|
9037
|
+
* What happens when a record deleted in the target is seen in the source again.
|
|
9038
|
+
*/
|
|
9039
|
+
onTargetReappear?: 'IGNORE' | 'READD';
|
|
9040
|
+
healthThresholds?: HealthThresholds;
|
|
9041
|
+
/**
|
|
9042
|
+
* When the stream was created.
|
|
9043
|
+
*/
|
|
9044
|
+
createdAt?: string;
|
|
8831
9045
|
/**
|
|
8832
9046
|
* Whether the stream is active.
|
|
8833
9047
|
*/
|
|
@@ -8930,6 +9144,26 @@ type ImportRun$1 = {
|
|
|
8930
9144
|
* A terminal status message, typically set on failure.
|
|
8931
9145
|
*/
|
|
8932
9146
|
message?: string;
|
|
9147
|
+
/**
|
|
9148
|
+
* When the run retries another run's failed records, the identifier of that original run.
|
|
9149
|
+
*/
|
|
9150
|
+
retryOfRunId?: string;
|
|
9151
|
+
/**
|
|
9152
|
+
* Whether the run rewrote every record, bypassing the skip-if-unchanged check.
|
|
9153
|
+
*/
|
|
9154
|
+
force?: boolean;
|
|
9155
|
+
/**
|
|
9156
|
+
* Whether the run only extracted, mapped, and validated, writing nothing to the target. A dry run legitimately reports zero for every counter, so this distinguishes it from a run that wrote nothing because it failed.
|
|
9157
|
+
*/
|
|
9158
|
+
dryRun?: boolean;
|
|
9159
|
+
/**
|
|
9160
|
+
* Whether cancellation has been requested for a run that is still finishing.
|
|
9161
|
+
*/
|
|
9162
|
+
cancelRequested?: boolean;
|
|
9163
|
+
/**
|
|
9164
|
+
* For a dry run, how many mapped records were kept as a sample.
|
|
9165
|
+
*/
|
|
9166
|
+
dryRunSampleSize?: number;
|
|
8933
9167
|
};
|
|
8934
9168
|
/**
|
|
8935
9169
|
* Run stream progress
|
|
@@ -9113,10 +9347,37 @@ type ImportedRecord$1 = {
|
|
|
9113
9347
|
*/
|
|
9114
9348
|
importedAt?: string;
|
|
9115
9349
|
};
|
|
9350
|
+
/**
|
|
9351
|
+
* Health thresholds
|
|
9352
|
+
*
|
|
9353
|
+
* The limits that decide whether a stream is reported as `GREEN`, `AMBER`, or `RED`. Each field is optional and resolves independently. An unset field falls back through the hierarchy, from the most specific level to the least specific: stream, configuration, tenant, then the built-in default.
|
|
9354
|
+
*/
|
|
9355
|
+
type HealthThresholds = {
|
|
9356
|
+
/**
|
|
9357
|
+
* The share of failed records (0..1) at or above which the stream is `AMBER`.
|
|
9358
|
+
*/
|
|
9359
|
+
failureRatioAmber?: number;
|
|
9360
|
+
/**
|
|
9361
|
+
* The share of failed records (0..1) at or above which the stream is `RED`.
|
|
9362
|
+
*/
|
|
9363
|
+
failureRatioRed?: number;
|
|
9364
|
+
/**
|
|
9365
|
+
* The age threshold, in hours, for the stream's newest data. The stream is `AMBER` when the data's age reaches or exceeds this threshold.
|
|
9366
|
+
*/
|
|
9367
|
+
staleAmberHours?: number;
|
|
9368
|
+
/**
|
|
9369
|
+
* The age threshold, in hours, for the stream's newest data. The stream is `RED` when the data's age reaches or exceeds this threshold.
|
|
9370
|
+
*/
|
|
9371
|
+
staleRedHours?: number;
|
|
9372
|
+
/**
|
|
9373
|
+
* Whether a failed most-recent run makes the stream `RED` regardless of the other limits.
|
|
9374
|
+
*/
|
|
9375
|
+
failedRunIsRed?: boolean;
|
|
9376
|
+
};
|
|
9116
9377
|
type PostImporttoolTriggerRunData = {
|
|
9117
9378
|
body?: {
|
|
9118
9379
|
/**
|
|
9119
|
-
* The run mode.
|
|
9380
|
+
* The run mode. When omitted, defaults to `DELTA`.
|
|
9120
9381
|
*/
|
|
9121
9382
|
mode?: 'FULL' | 'DELTA';
|
|
9122
9383
|
/**
|
|
@@ -11930,4 +12191,4 @@ declare function productIdFromYrn(yrn: string | undefined): string;
|
|
|
11930
12191
|
*/
|
|
11931
12192
|
declare function productYrn(tenant: string, productId: string): string;
|
|
11932
12193
|
|
|
11933
|
-
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, type AgenticPatchOp, type AgentsExport, type AgentsExportRequest, type AgentsImport, type AgentsImportRequest, AiService, type AnalyticsQuery, type Approval, type ApprovalCreated, type ApprovalDecision, type ApprovalInput, type ApprovalList, type ApprovalPatch, type ApprovalPermittedInput, type ApprovalPermittedResult, ApprovalService, type ApprovalUsersQuery, type ApprovalUsersResult, type Assignee, type Attachment, type AttachmentOptions, AuthContext, AvailabilityService, type BatchNextIdEntry, type Brand, type BrandInput, type BrandList, BrandService, type BrandUpdate, type BulkInstanceResult, type BulkPatchInstanceItem, CartService, type Catalog, type CatalogCreated, type CatalogInput, type CatalogList, type CatalogPatch, CatalogService, type CatalogUpdate, CategoryService, type CgRelation, type CgRelationList, type ChatRequest, type ChatResponse, type ChatStreamOptions, CheckoutService, ClientConfigService, type ClientConfiguration, ClientContext, CloudFunctionsService, type CommerceEvents, CompaniesService, type CompletionMessage, type CompletionRequest, type CompletionResponse, type Configuration$1 as Configuration, type ConfigurationDraft, ContactsService, type Conversation, type ConversationSearchQuery, type ConversionFactorInput, type ConversionFactorResult, type ConvertUnitInput, type ConvertUnitResult, type 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 CustomerSummaryBatch, CustomerTokenRefresher, type DeleteAgentOptions, type DeleteConfigOptions, type DeliveryCreated, type DeliveryCycleInput, type DeliverySlot, type DeliverySlotList, type DeliveryTime$1 as DeliveryTime, type DeliveryTimeInput, type DeliveryTimeList, type DeliveryTimeUpdate, type DeliveryWindow$2 as DeliveryWindow, type DeliveryWindowList, type DeliveryWindowValidation, EmporixAuthError, EmporixClient, EmporixConfig, type EmporixCore, EmporixError, EmporixForbiddenError, EmporixInsufficientScopeError, EmporixNetworkError, EmporixNotFoundError, EmporixServerError, 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 ImportErrorRecord, type ImportPage, type ImportPageOptions, type ImportRecordOutcome, type ImportRun, type ImportRunDetail, type ImportRunEvent, type ImportRunInput, type ImportRunMode, type ImportRunStatus, type ImportRunStream, type ImportSchedule, ImportService, type ImportStream, type ImportedRecord, type IndexConfig, type IndexConfigCreated, type IndexPublicConfig, IndexingService, type InstanceSearchBody, type InvoiceJob, type InvoiceJobCreated, type InvoiceJobDraft, InvoiceService, type InvokeCloudFunctionOptions, type ItemFee, type ItemFeeDraft, type ItemFeeSearch, type ItemFeeSearchByProductId, type ItemFeeSearchByProductIds, type Job, type JobIdResponse, type Label, type LabelInput, type LabelList, LabelService, type LabelUpdate, type ListConfigOptions, type ListCustomEntitiesOptions, type ListFeesQuery, type ListInstancesQuery, type ListQuery, type ListQuoteReasonsQuery, type ListQuotesQuery, type ListReindexJobsOptions, type ListSchemaReferencesQuery, type ListSchemasQuery, LocationsService, LogLevel, type McpServer, type McpServerInput, MediaService, type MetadataFilter, type MinimumFee, type MutateOptions, type NewPointsEntry, type NextIdCommandRequest, type NextIdOptions, type NextIdResponse, type NextIdsBatchRequest, type NextIdsBatchResponse, type OAuthConfig, type OAuthInput, type OrderCycleList, type OrderEntryEventCreate, type OrderStatusChange, OrdersService, type PackagingProductsChange, type PackingEvent, type PackingEventList, PaginatedItems, PaymentGatewayService, type PersistedAnonymousSession, type PickOrder, type PickOrderList, type PickPackAck, PickPackService, type PointsSummary, PriceService, ProductService, type ProviderModels, QueryFor, type Quote, type QuoteCreated, type QuoteDraft, type QuoteHistory, type QuoteInput, type QuoteReason, type QuoteReasonCreated, type QuoteReasonDraft, type QuoteReasonUpdate, type QuoteResult, QuoteService, type QuoteSlotInput, type QuoteUpdate, RagIndexerService, type RagType, type RecalculationJob, type RecalculationJobCreated, type RecalculationJobInput, type RedeemCouponResult, type RedeemMyPointsInput, type RedeemOption, type RedeemOptionList, type RedeemedPoints, type Redemption, type RedemptionCreated, type RedemptionInput, type ReferralCoupon, type Region, type RegionList, type ReindexEntityType, type ReindexInput, type ReindexJob, type ReindexJobInput, type ReindexJobStatus, ResolvedConfig, type ResourceCreated, type Return, type ReturnCreated, type ReturnInput, type ReturnList, type ReturnPatch, type ReturnUpdate, ReturnsService, RewardPointsService, 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, type SearchQuery, type SearchStreamRecordsOptions, SegmentService, type SequenceSchema, type SequenceSchemaCreate, SequentialIdService, type ServerCookieJar, type ServiceClass, ServiceName, type SessionAttributeInput, type SessionContext, type SessionContextPatch, SessionContextService, type SetItemFeesOptions, type ShippingFee, type ShippingGroup, type ShippingGroupList, type ShippingMethod, type ShippingMethodList, type ShippingPatch, ShippingService, type ShoppingList, type ShoppingListDraft, type ShoppingListItem, ShoppingListService, type Site$1 as Site, type SiteCreated, type SiteInput, type SiteList, type SiteMixin, type SiteMixinCreated, type SiteMixins, SiteService, StoredAnonymousSession, type TaxCalculationInput, type TaxCalculationRequest, type TaxCalculationResult, type TaxClass, type TaxConfig, type TaxConfigCreated, type TaxCreation as TaxConfigInput, type TaxUpdate as TaxConfigUpdate, type TaxLocation, TaxService, TenantConfigService, type TextRequest, type TextResponse, type Token, type TokenInput, TokenProvider, type 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, createCore, createEmporixClient, createServerStorage, errorFromResponse, parseAnonymousSession, pickFee, productIdFromYrn, productYrn, resolveZone, serverAuth };
|
|
12194
|
+
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, type AgenticPatchOp, type AgentsExport, type AgentsExportRequest, type AgentsImport, type AgentsImportRequest, AiService, type AnalyticsQuery, type Approval, type ApprovalCreated, type ApprovalDecision, type ApprovalInput, type ApprovalList, type ApprovalPatch, type ApprovalPermittedInput, type ApprovalPermittedResult, ApprovalService, type ApprovalUsersQuery, type ApprovalUsersResult, type Assignee, type Attachment, type AttachmentOptions, AuthContext, AvailabilityService, type BatchNextIdEntry, type Brand, type BrandInput, type BrandList, BrandService, type BrandUpdate, type BulkInstanceResult, type BulkPatchInstanceItem, CartService, type Catalog, type CatalogCreated, type CatalogInput, type CatalogList, type CatalogPatch, CatalogService, type CatalogUpdate, CategoryService, type CgRelation, type CgRelationList, type ChatRequest, type ChatResponse, type ChatStreamOptions, CheckoutService, ClientConfigService, type ClientConfiguration, ClientContext, CloudFunctionsService, type CommerceEvents, CompaniesService, type CompletionMessage, type CompletionRequest, type CompletionResponse, type Configuration$1 as Configuration, type ConfigurationDraft, ContactsService, type Conversation, type ConversationSearchQuery, type ConversionFactorInput, type ConversionFactorResult, type ConvertUnitInput, type ConvertUnitResult, type 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$1 as DeliveryTime, type DeliveryTimeInput, type DeliveryTimeList, type DeliveryTimeUpdate, type DeliveryWindow$2 as DeliveryWindow, type DeliveryWindowList, type DeliveryWindowValidation, EmporixAuthError, EmporixClient, EmporixConfig, type EmporixCore, EmporixError, EmporixForbiddenError, EmporixInsufficientScopeError, EmporixNetworkError, EmporixNotFoundError, EmporixServerError, 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 ImportErrorRecord, type ImportPage, type ImportPageOptions, type ImportRecordOutcome, type ImportRun, type ImportRunDetail, type ImportRunEvent, type ImportRunInput, type ImportRunMode, type ImportRunStatus, type ImportRunStream, type ImportSchedule, ImportService, type ImportStream, type ImportedRecord, type IndexConfig, type IndexConfigCreated, type IndexPublicConfig, IndexingService, type InstanceSearchBody, type InvoiceJob, type InvoiceJobCreated, type InvoiceJobDraft, InvoiceService, type InvokeCloudFunctionOptions, type ItemFee, type ItemFeeDraft, type ItemFeeSearch, type ItemFeeSearchByProductId, type ItemFeeSearchByProductIds, type Job, type JobIdResponse, type Label, type LabelInput, type LabelList, LabelService, type LabelUpdate, type ListConfigOptions, type ListCustomEntitiesOptions, type ListFeesQuery, type ListInstancesQuery, type ListQuery, type ListQuoteReasonsQuery, type ListQuotesQuery, type ListReindexJobsOptions, type ListSchemaReferencesQuery, type ListSchemasQuery, LocationsService, LogLevel, type McpServer, type McpServerInput, MediaService, type MetadataFilter, type MinimumFee, type MutateOptions, type NewPointsEntry, type NextIdCommandRequest, type NextIdOptions, type NextIdResponse, type NextIdsBatchRequest, type NextIdsBatchResponse, type OAuthConfig, type OAuthInput, type OrderCycleList, type OrderEntryEventCreate, type OrderStatusChange, OrdersService, type PackagingProductsChange, type PackingEvent, type PackingEventList, PaginatedItems, PaymentGatewayService, type PersistedAnonymousSession, type PickOrder, type PickOrderList, type PickPackAck, PickPackService, type PointsSummary, PriceService, ProductService, type ProviderModels, QueryFor, type Quote, type QuoteCreated, type QuoteDraft, type QuoteHistory, type QuoteInput, type QuoteReason, type QuoteReasonCreated, type QuoteReasonDraft, type QuoteReasonUpdate, type QuoteResult, QuoteService, type QuoteSlotInput, type QuoteUpdate, RagIndexerService, type RagType, type RecalculationJob, type RecalculationJobCreated, type RecalculationJobInput, type RedeemCouponResult, type RedeemMyPointsInput, type RedeemOption, type RedeemOptionList, type RedeemedPoints, type Redemption, type RedemptionCreated, type RedemptionInput, type ReferralCoupon, type Region, type RegionList, type ReindexEntityType, type ReindexInput, type ReindexJob, type ReindexJobInput, type ReindexJobStatus, ResolvedConfig, type ResourceCreated, type Return, type ReturnCreated, type ReturnInput, type ReturnList, type ReturnPatch, type ReturnUpdate, ReturnsService, RewardPointsService, 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, type SearchQuery, type SearchStreamRecordsOptions, SegmentService, type SequenceSchema, type SequenceSchemaCreate, SequentialIdService, type ServerCookieJar, type ServiceClass, ServiceName, type SessionAttributeInput, type SessionContext, type SessionContextPatch, SessionContextService, type SetItemFeesOptions, type ShippingFee, type ShippingGroup, type ShippingGroupList, type ShippingMethod, type ShippingMethodList, type ShippingPatch, ShippingService, type ShoppingList, type ShoppingListDraft, type ShoppingListItem, ShoppingListService, type Site$1 as Site, type SiteCreated, type SiteFields, 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, 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 };
|