@viu/emporix-sdk 3.2.0 → 3.3.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.
Files changed (43) hide show
  1. package/CHANGELOG.md +58 -0
  2. package/README.md +1 -1
  3. package/dist/availability.d.cts +1 -1
  4. package/dist/availability.d.ts +1 -1
  5. package/dist/cart.d.cts +1 -1
  6. package/dist/cart.d.ts +1 -1
  7. package/dist/category.d.cts +1 -1
  8. package/dist/category.d.ts +1 -1
  9. package/dist/checkout.d.cts +1 -1
  10. package/dist/checkout.d.ts +1 -1
  11. package/dist/companies.d.cts +1 -1
  12. package/dist/companies.d.ts +1 -1
  13. package/dist/contacts.d.cts +1 -1
  14. package/dist/contacts.d.ts +1 -1
  15. package/dist/{context-CcU93eAL.d.cts → context-CZdtWgQO.d.cts} +1 -1
  16. package/dist/{context-CcU93eAL.d.ts → context-CZdtWgQO.d.ts} +1 -1
  17. package/dist/{customer-groups-wmO0f-vj.d.ts → customer-groups-DhrOoC8M.d.ts} +1 -1
  18. package/dist/{customer-groups-Tt9VIA-m.d.cts → customer-groups-OEnqHFsX.d.cts} +1 -1
  19. package/dist/customer-groups.d.cts +2 -2
  20. package/dist/customer-groups.d.ts +2 -2
  21. package/dist/customer.d.cts +1 -1
  22. package/dist/customer.d.ts +1 -1
  23. package/dist/index.cjs +141 -72
  24. package/dist/index.cjs.map +1 -1
  25. package/dist/index.d.cts +281 -4
  26. package/dist/index.d.ts +281 -4
  27. package/dist/index.js +141 -73
  28. package/dist/index.js.map +1 -1
  29. package/dist/locations.d.cts +1 -1
  30. package/dist/locations.d.ts +1 -1
  31. package/dist/media.d.cts +1 -1
  32. package/dist/media.d.ts +1 -1
  33. package/dist/orders.d.cts +1 -1
  34. package/dist/orders.d.ts +1 -1
  35. package/dist/payment.d.cts +1 -1
  36. package/dist/payment.d.ts +1 -1
  37. package/dist/price.d.cts +1 -1
  38. package/dist/price.d.ts +1 -1
  39. package/dist/product.d.cts +1 -1
  40. package/dist/product.d.ts +1 -1
  41. package/dist/segment.d.cts +1 -1
  42. package/dist/segment.d.ts +1 -1
  43. 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-CcU93eAL.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-CcU93eAL.js';
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-CZdtWgQO.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-CZdtWgQO.js';
3
3
  import { CustomerService } from './customer.js';
4
4
  export { Address, AddressCreateInput, AddressUpdateInput, ChangeEmailInput, ConfirmEmailChangeInput, Customer, CustomerSession, CustomerSignupInput, CustomerUpdateInput, PasswordChangeInput, PasswordResetConfirmInput, PasswordResetRequestInput, ResendActivationInput } from './customer.js';
5
5
  import { ProductService } from './product.js';
@@ -21,7 +21,7 @@ export { Segment, SegmentAssignmentBulkResult, SegmentBulkItem, SegmentBulkResul
21
21
  import { CompaniesService } from './companies.js';
22
22
  import { ContactsService } from './contacts.js';
23
23
  import { LocationsService } from './locations.js';
24
- import { m as UserResponse, U as UserCreateRequest, l as UserIdResponse, k as UserExtendedResponse, o as UserUpdateRequest, j as GroupsQueryDocument, n as UserScopesResponse, a as AccessControlQueryDocument, G as GroupCreateRequest, h as GroupIdResponse, i as GroupUpdateRequest, c as AssignmentCreateRequest, d as AssignmentIdResponse, b as AccessControlUpsertRequest, A as AccessControlIdResponse, e as CustomScopeQueryDocument, f as CustomScopeUpsertRequest, C as CustomScopeIdResponse, g as CustomerGroupsService } from './customer-groups-wmO0f-vj.js';
24
+ import { m as UserResponse, U as UserCreateRequest, l as UserIdResponse, k as UserExtendedResponse, o as UserUpdateRequest, j as GroupsQueryDocument, n as UserScopesResponse, a as AccessControlQueryDocument, G as GroupCreateRequest, h as GroupIdResponse, i as GroupUpdateRequest, c as AssignmentCreateRequest, d as AssignmentIdResponse, b as AccessControlUpsertRequest, A as AccessControlIdResponse, e as CustomScopeQueryDocument, f as CustomScopeUpsertRequest, C as CustomScopeIdResponse, g as CustomerGroupsService } from './customer-groups-DhrOoC8M.js';
25
25
  import { OrdersService, SalesOrdersService } from './orders.js';
26
26
  export { GetOrderOptions, ListLegalEntityOrdersOptions, ListMyOrdersOptions, ListSalesOrdersOptions, Order, OrderEntry, OrderStatus, OrderTransitionOptions, SalesOrder, SalesOrderCalculationInput, SalesOrderCreateInput, SalesOrderCreated, SalesOrderEntriesInput, SalesOrderHistoricalTransitions, SalesOrderPatch, SalesOrderReplaceInput, SalesOrderSearchInput, SalesOrderSplitInput, SalesOrderSplitResult, Transition, UpdateSalesOrderOptions } from './orders.js';
27
27
  import { AvailabilityService } from './availability.js';
@@ -9140,6 +9140,14 @@ type ImportRun$1 = {
9140
9140
  * Records deleted.
9141
9141
  */
9142
9142
  deleted?: number;
9143
+ /**
9144
+ * Source rows that repeat a key already imported in this run. The import keeps the last row of each repeated key and discards earlier rows. Duplicate keys do not fail the run; they mean the source feed is not unique on the key the stream imports by.
9145
+ */
9146
+ duplicateKeys?: number;
9147
+ /**
9148
+ * Child records that were not imported because their parent could not be found. Counted separately from `skipped`, which counts records that were already up to date.
9149
+ */
9150
+ unresolvedParents?: number;
9143
9151
  /**
9144
9152
  * A terminal status message, typically set on failure.
9145
9153
  */
@@ -9215,6 +9223,14 @@ type ImportRunStream$1 = {
9215
9223
  * Records deleted.
9216
9224
  */
9217
9225
  deleted?: number;
9226
+ /**
9227
+ * Source rows that repeat a key already imported in this run. The import keeps the last row of each repeated key and discards earlier rows. Duplicate keys do not fail the run; they mean the source feed is not unique on the key the stream imports by.
9228
+ */
9229
+ duplicateKeys?: number;
9230
+ /**
9231
+ * Child records that were not imported because their parent could not be found. Counted separately from `skipped`, which counts records that were already up to date.
9232
+ */
9233
+ unresolvedParents?: number;
9218
9234
  /**
9219
9235
  * A per-stream status message.
9220
9236
  */
@@ -9654,6 +9670,32 @@ type ImportStats$1 = {
9654
9670
  */
9655
9671
  errorBreakdown?: Array<ImportStatsErrorBucket>;
9656
9672
  streamChanges?: ImportStreamChanges;
9673
+ /**
9674
+ * The source data does not match what the import process expects during the specified time window. These issues are not failures: the runs succeed, so they do not appear in pass/fail counters.
9675
+ */
9676
+ sourceIssues?: Array<ImportSourceIssue>;
9677
+ };
9678
+ type ImportSourceIssue = {
9679
+ /**
9680
+ * The stream the problem was observed on.
9681
+ */
9682
+ streamId?: string;
9683
+ /**
9684
+ * The configuration that owns the stream.
9685
+ */
9686
+ configId?: string;
9687
+ /**
9688
+ * The stream name.
9689
+ */
9690
+ name?: string;
9691
+ /**
9692
+ * Source rows that repeat a key already imported in the same run. The import keeps the last row of each repeated key and discards earlier rows.
9693
+ */
9694
+ duplicateKeys?: number;
9695
+ /**
9696
+ * Child records that were not imported because their parent could not be found.
9697
+ */
9698
+ unresolvedParents?: number;
9657
9699
  };
9658
9700
  type PostImporttoolTriggerRunData = {
9659
9701
  body?: {
@@ -10030,6 +10072,240 @@ declare class ImportService {
10030
10072
  retryRun(runId: string, auth?: AuthContext): Promise<ImportRun>;
10031
10073
  }
10032
10074
 
10075
+ /**
10076
+ * A single changelog entry describing a change to a platform entity.
10077
+ */
10078
+ type ChangelogChangeItem = {
10079
+ /**
10080
+ * ISO-8601 UTC timestamp with milliseconds when the change occurred, for example `2026-06-01T13:01:29.123Z`.
10081
+ *
10082
+ */
10083
+ at?: string;
10084
+ /**
10085
+ * Change type returned by the API.
10086
+ * * `create` — Document insert.
10087
+ * * `update` — Document update or replace.
10088
+ * * `delete` — Document delete.
10089
+ *
10090
+ */
10091
+ type?: 'create' | 'update' | 'delete';
10092
+ /**
10093
+ * Logical entity type of the changed document, for example `order`, `customer`, `company`, `product`, `segment`, `group`, `group-assignment`, `coupon`, or a custom entity created with the Schema Service.
10094
+ *
10095
+ */
10096
+ entity?: string;
10097
+ /**
10098
+ * Unique identifier of the changed document.
10099
+ */
10100
+ entityId?: string;
10101
+ /**
10102
+ * Optional display name of the changed document when available.
10103
+ */
10104
+ name?: string;
10105
+ /**
10106
+ * Flattened map of changed field paths to before/after values derived from the change patch.
10107
+ *
10108
+ */
10109
+ paths?: {
10110
+ [key: string]: PathValueChange;
10111
+ };
10112
+ /**
10113
+ * Optional schema or document format version associated with the change.
10114
+ */
10115
+ schemaVersion?: string;
10116
+ /**
10117
+ * Actor display name that performed the change. Possible values include a person name, `system`, `external`, or `unknown`.
10118
+ *
10119
+ */
10120
+ actor?: string;
10121
+ /**
10122
+ * Related entities linked to the changed document, for example junction-style references.
10123
+ */
10124
+ related?: Array<ChangelogRelatedItem>;
10125
+ };
10126
+ /**
10127
+ * Before and after values for a changed field path.
10128
+ */
10129
+ type PathValueChange = {
10130
+ /**
10131
+ * Value of the field before the change. Omitted when not available.
10132
+ */
10133
+ before?: unknown;
10134
+ /**
10135
+ * Value of the field after the change. Omitted when not available.
10136
+ */
10137
+ after?: unknown;
10138
+ };
10139
+ /**
10140
+ * A related entity referenced by a changelog entry.
10141
+ */
10142
+ type ChangelogRelatedItem = {
10143
+ /**
10144
+ * Related entity type, for example `group` or `customer`.
10145
+ */
10146
+ entity?: string;
10147
+ /**
10148
+ * Unique identifier of the related entity.
10149
+ */
10150
+ entityId?: string;
10151
+ };
10152
+ type GetChangelogRetrieveTenantChangelogsData = {
10153
+ body?: never;
10154
+ path: {
10155
+ /**
10156
+ * Your Emporix tenant's name.
10157
+ * **Note**: The tenant should always be written in lowercase.
10158
+ *
10159
+ */
10160
+ tenant: string;
10161
+ };
10162
+ query?: {
10163
+ /**
10164
+ * Standard query parameter used to filter changed entries.
10165
+ *
10166
+ * Supported fields:
10167
+ * * `entity` — Entity type, for example `q=entity:order`.
10168
+ * * `entityId` — Document identifier. Requires `entity`, for example `q=entity:order entityId:6a2bce93592855a33518fc2f`.
10169
+ * * `type` — Change type (`create`, `update`, or `delete`), for example `q=type:update`.
10170
+ * * `actor` — Actor display name. Exact match: `q=actor:system`. Glob: `q=actor:John*`. Regex: `q=actor:~^sys`.
10171
+ * * `occurredAt` — Time range, for example `q=occurredAt:(>"2026-06-01T00:00:00.000Z" AND <"2026-06-30T23:59:59.999Z")`.
10172
+ * * `related.entity` / `related.entityId` — Related-entity filters, for example `q=related.entity:group related.entityId:1gr5e52e-6e27-4ac5-9471-2467d3fb7501`.
10173
+ * * `related:elemMatch(...)` — ElemMatch syntax, for example `q=related:elemMatch(entity:group entityId:1gr5e52e-6e27-4ac5-9471-2467d3fb7501)`.
10174
+ * * `compoundLogicalQuery` — Nested `OR` / `AND` expressions, for example `q=compoundLogicalQuery:((entity:group type:update) OR (related:elemMatch(entity:group)))`.
10175
+ *
10176
+ * See also [Query Parameter](https://developer.emporix.io/api-references/standard-practices/q-param).
10177
+ */
10178
+ q?: string;
10179
+ /**
10180
+ * Page number to be retrieved. The number of the first page is 1.
10181
+ *
10182
+ */
10183
+ page?: number;
10184
+ /**
10185
+ * Number of changed entries to be retrieved per page. Maximum value is 100.
10186
+ *
10187
+ */
10188
+ size?: number;
10189
+ };
10190
+ url: '/changelog/{tenant}/changelogs';
10191
+ };
10192
+
10193
+ /**
10194
+ * Public types for the Audit Log (Changelog) Service — stable names aliased over
10195
+ * the generated `audit-logs-changelog` types.
10196
+ */
10197
+
10198
+ /**
10199
+ * One recorded change to a platform document.
10200
+ *
10201
+ * Every field is optional in the spec — including `at`, `entity` and `entityId`.
10202
+ * Read them defensively; this is a preview service and the shape may grow.
10203
+ */
10204
+ type AuditLogEntry = ChangelogChangeItem;
10205
+ /** What happened to the document: an insert, an update/replace, or a delete. */
10206
+ type AuditLogChangeType = NonNullable<ChangelogChangeItem["type"]>;
10207
+ /**
10208
+ * Before/after values for one changed field path.
10209
+ *
10210
+ * Both sides are `unknown` and both may be absent — `before` is missing on a
10211
+ * create, `after` on a delete, and either can be omitted when the service could
10212
+ * not derive it from the change patch.
10213
+ */
10214
+ type AuditLogPathChange = PathValueChange;
10215
+ /**
10216
+ * An entity linked to a changed document — the junction rows that make a change
10217
+ * findable from either side (a `group-assignment` relates to its `group` and its
10218
+ * `customer`).
10219
+ */
10220
+ type AuditLogRelatedEntity = ChangelogRelatedItem;
10221
+ /** The `q` / `page` / `size` the endpoint accepts, straight from the spec. */
10222
+ type WireQuery = NonNullable<GetChangelogRetrieveTenantChangelogsData["query"]>;
10223
+ /** Options for {@link AuditLogService.list}. */
10224
+ interface AuditLogQuery {
10225
+ /**
10226
+ * Raw Emporix `q` filter. Supported fields: `entity`, `entityId` (requires
10227
+ * `entity`), `type`, `actor`, `occurredAt`, `related.entity` /
10228
+ * `related.entityId` (or `related:elemMatch(...)`), and
10229
+ * `compoundLogicalQuery` for nested `OR` / `AND`.
10230
+ *
10231
+ * A plain `string`, not a `QueryFor<E>` mixin filter, on purpose: a
10232
+ * `MixinFilter` targets an entity's own fields, and this endpoint indexes
10233
+ * change metadata rather than the document — so a filter built for `"ORDER"`
10234
+ * would name fields the changelog does not have.
10235
+ */
10236
+ q?: WireQuery["q"];
10237
+ /** One-based page number. Default `1`. */
10238
+ pageNumber?: WireQuery["page"];
10239
+ /** Entries per page. Default `20`, maximum `100` — the service rejects more with a `400`. */
10240
+ pageSize?: WireQuery["size"];
10241
+ }
10242
+ /**
10243
+ * A page of audit-log entries.
10244
+ *
10245
+ * The service returns its paging in the body rather than in headers, so this
10246
+ * carries `totalElements` / `totalPages` on top of the SDK-wide
10247
+ * {@link PaginatedItems} shape — the same treatment `ImportPage` gets, and for
10248
+ * the same reason.
10249
+ */
10250
+ type AuditLogPage = PaginatedItems<AuditLogEntry> & {
10251
+ /** Total entries matching the query, across all pages. */
10252
+ totalElements: number;
10253
+ /** Total number of pages for the matching result set. */
10254
+ totalPages: number;
10255
+ };
10256
+
10257
+ /**
10258
+ * Emporix Audit Log Service, upstream «Audit Logs (Changelog) Service»
10259
+ * (`/changelog/{tenant}/changelogs`): tenant-wide change history for platform
10260
+ * entities — who changed what, when, and from which value to which.
10261
+ *
10262
+ * **Service-account only.** Reads need the `changelog.changelog_read` scope
10263
+ * (`changelog.changelog_manage` also grants it) on the client credentials. There
10264
+ * is no customer or anonymous variant, which is why `@viu/emporix-sdk-react`
10265
+ * ships no hooks for it — call it from a server, never from a browser bundle.
10266
+ *
10267
+ * **Upstream marks this service as preview**: the contract may change without a
10268
+ * major version bump, and nearly every field of an entry is optional in the
10269
+ * spec.
10270
+ */
10271
+ declare class AuditLogService {
10272
+ private readonly ctx;
10273
+ static readonly channel: "audit-log";
10274
+ constructor(ctx: ClientContext);
10275
+ private base;
10276
+ /**
10277
+ * List changes across the tenant, newest occurrence first.
10278
+ *
10279
+ * **The window defaults to the last 30 days.** When `q` carries no
10280
+ * conjunctive `occurredAt` lower bound, the service silently applies a
10281
+ * trailing 30-day window — an unfiltered call is *not* «everything ever». Pass
10282
+ * an explicit top-level or `AND`-ed `occurredAt` range to widen it; an
10283
+ * `occurredAt` that appears only inside an `OR` arm does not lift the default.
10284
+ *
10285
+ * **`entityId` needs `entity`.** Filtering by id alone is a `400`, not an
10286
+ * empty page. There is no path-based history endpoint either — scoping to one
10287
+ * document means naming both in `q`:
10288
+ *
10289
+ * @example
10290
+ * ```ts
10291
+ * // The history of one order.
10292
+ * const page = await client.auditLogs.list({
10293
+ * q: `entity:order entityId:${orderId}`,
10294
+ * });
10295
+ * for (const entry of page.items) {
10296
+ * console.log(entry.at, entry.actor, entry.paths);
10297
+ * }
10298
+ *
10299
+ * // Everything a given person changed in June, across all entities.
10300
+ * await client.auditLogs.list({
10301
+ * q: 'actor:"Jane Doe" occurredAt:(>"2026-06-01T00:00:00.000Z" AND <"2026-07-01T00:00:00.000Z")',
10302
+ * pageSize: 100,
10303
+ * });
10304
+ * ```
10305
+ */
10306
+ list(opts?: AuditLogQuery, auth?: AuthContext): Promise<AuditLogPage>;
10307
+ }
10308
+
10033
10309
  type BaseUnit = {
10034
10310
  /**
10035
10311
  * The unit code.
@@ -12468,6 +12744,7 @@ declare class EmporixClient {
12468
12744
  readonly returns: ReturnsService;
12469
12745
  readonly indexing: IndexingService;
12470
12746
  readonly imports: ImportService;
12747
+ readonly auditLogs: AuditLogService;
12471
12748
  readonly units: UnitHandlingService;
12472
12749
  readonly catalogs: CatalogService;
12473
12750
  readonly vendors: VendorService;
@@ -12587,4 +12864,4 @@ declare function productIdFromYrn(yrn: string | undefined): string;
12587
12864
  */
12588
12865
  declare function productYrn(tenant: string, productId: string): string;
12589
12866
 
12590
- 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 };
12867
+ 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, 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 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 };