@viu/emporix-sdk 3.5.0 → 4.0.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 (61) hide show
  1. package/CHANGELOG.md +148 -0
  2. package/README.md +2 -2
  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/{chunk-JQWUGGRV.js → chunk-2SHTDVOC.js} +22 -2
  12. package/dist/chunk-2SHTDVOC.js.map +1 -0
  13. package/dist/{chunk-TI56QENX.js → chunk-CSYXGTOH.js} +31 -2
  14. package/dist/chunk-CSYXGTOH.js.map +1 -0
  15. package/dist/{chunk-3G5KROEC.js → chunk-XJJDCK2Z.js} +80 -3
  16. package/dist/chunk-XJJDCK2Z.js.map +1 -0
  17. package/dist/companies.d.cts +1 -1
  18. package/dist/companies.d.ts +1 -1
  19. package/dist/contacts.d.cts +1 -1
  20. package/dist/contacts.d.ts +1 -1
  21. package/dist/{context-CZdtWgQO.d.cts → context-5lt8Q0MT.d.cts} +1 -1
  22. package/dist/{context-CZdtWgQO.d.ts → context-5lt8Q0MT.d.ts} +1 -1
  23. package/dist/{customer-groups-OEnqHFsX.d.cts → customer-groups-8cgS8S5d.d.cts} +1 -1
  24. package/dist/{customer-groups-DhrOoC8M.d.ts → customer-groups-DizW_a-w.d.ts} +1 -1
  25. package/dist/customer-groups.d.cts +2 -2
  26. package/dist/customer-groups.d.ts +2 -2
  27. package/dist/customer.d.cts +1 -1
  28. package/dist/customer.d.ts +1 -1
  29. package/dist/index.cjs +272 -132
  30. package/dist/index.cjs.map +1 -1
  31. package/dist/index.d.cts +333 -591
  32. package/dist/index.d.ts +333 -591
  33. package/dist/index.js +152 -137
  34. package/dist/index.js.map +1 -1
  35. package/dist/locations.d.cts +1 -1
  36. package/dist/locations.d.ts +1 -1
  37. package/dist/media.cjs +29 -0
  38. package/dist/media.cjs.map +1 -1
  39. package/dist/media.d.cts +45 -3
  40. package/dist/media.d.ts +45 -3
  41. package/dist/media.js +1 -1
  42. package/dist/orders.d.cts +1 -1
  43. package/dist/orders.d.ts +1 -1
  44. package/dist/payment.d.cts +1 -1
  45. package/dist/payment.d.ts +1 -1
  46. package/dist/price.d.cts +1 -1
  47. package/dist/price.d.ts +1 -1
  48. package/dist/product.cjs +20 -0
  49. package/dist/product.cjs.map +1 -1
  50. package/dist/product.d.cts +24 -2
  51. package/dist/product.d.ts +24 -2
  52. package/dist/product.js +1 -1
  53. package/dist/segment.cjs +78 -1
  54. package/dist/segment.cjs.map +1 -1
  55. package/dist/segment.d.cts +90 -3
  56. package/dist/segment.d.ts +90 -3
  57. package/dist/segment.js +1 -1
  58. package/package.json +3 -3
  59. package/dist/chunk-3G5KROEC.js.map +0 -1
  60. package/dist/chunk-JQWUGGRV.js.map +0 -1
  61. package/dist/chunk-TI56QENX.js.map +0 -1
package/dist/index.d.cts 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-CZdtWgQO.cjs';
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.cjs';
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-5lt8Q0MT.cjs';
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-5lt8Q0MT.cjs';
3
3
  import { CustomerService } from './customer.cjs';
4
4
  export { Address, AddressCreateInput, AddressUpdateInput, ChangeEmailInput, ConfirmEmailChangeInput, Customer, CustomerSession, CustomerSignupInput, CustomerUpdateInput, PasswordChangeInput, PasswordResetConfirmInput, PasswordResetRequestInput, ResendActivationInput } from './customer.cjs';
5
5
  import { ProductService } from './product.cjs';
@@ -21,7 +21,7 @@ export { Segment, SegmentAssignmentBulkResult, SegmentBulkItem, SegmentBulkResul
21
21
  import { CompaniesService } from './companies.cjs';
22
22
  import { ContactsService } from './contacts.cjs';
23
23
  import { LocationsService } from './locations.cjs';
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-OEnqHFsX.cjs';
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-8cgS8S5d.cjs';
25
25
  import { OrdersService, SalesOrdersService } from './orders.cjs';
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.cjs';
27
27
  import { AvailabilityService } from './availability.cjs';
@@ -2815,7 +2815,7 @@ type AgenticRequest = {
2815
2815
  message: string;
2816
2816
  attachments?: Array<{
2817
2817
  /**
2818
- * Id of the attachment.
2818
+ * Identifier returned by the upload. Required for each attached file. The attachment must belong to the current session and be attached to this request's `agentId`.
2819
2819
  */
2820
2820
  attachmentId: string;
2821
2821
  /**
@@ -3415,7 +3415,7 @@ type CommerceEventsResponse = {
3415
3415
  */
3416
3416
  type McpServerType = 'custom' | 'predefined' | 'dynamic';
3417
3417
  /**
3418
- * Type of the communication between the agent and the MCP server. The `streamable_http` protocol is recommended, since the `sse` protocol is deprecated.
3418
+ * Type of the communication between the agent and the MCP server. The `streamable_http` protocol is recommended, since the `sse` protocol is deprecated as transport for custom MCP servers.
3419
3419
  */
3420
3420
  type CustomMcpServerTransportType = 'streamable_http' | 'sse';
3421
3421
  type BaseAgentMcpServer = {
@@ -3670,7 +3670,7 @@ type NativeToolReferenceRequest = {
3670
3670
  allowedOperations?: Array<TeamsAllowedOperations | SlackAllowedOperations>;
3671
3671
  };
3672
3672
  /**
3673
- * List of agent collaborations which allows an agent to hand off its task to other agents.
3673
+ * List of agent collaborations which allows an agent to hand off its task to other agents. Collaborations remain in the caller's session and do not enable memory by themselves.
3674
3674
  */
3675
3675
  type AgentCollaborations = Array<{
3676
3676
  /**
@@ -3772,7 +3772,9 @@ type AgentTrigger = {
3772
3772
  };
3773
3773
  };
3774
3774
  /**
3775
- * Indicates whether the agent is handOff or not. HandOff agents are special types of agents which can be called by other agents through `agentCollaborations` property and their configuration is hidden.
3775
+ * Deprecated. Indicates whether the agent is a hand-off agent. This field is no longer used. Clients should ignore it.
3776
+ *
3777
+ * @deprecated
3776
3778
  */
3777
3779
  type HandOff = boolean;
3778
3780
  type BaseForAgentAndTemplateAndHandOff = {
@@ -3833,7 +3835,7 @@ type BaseForAgentRequestAndResponse = BaseForAgentAndTemplate & {
3833
3835
  */
3834
3836
  maxRecursionLimit?: number;
3835
3837
  /**
3836
- * Defines whether the session memory should be stored between different agent calls.
3838
+ * Defines whether session memory is stored between different agent calls. Memory is stored only for that agent and only within one `session-id`. The default is `false`. To keep conversational memory for targets in `agentCollaborations`, it is recommended to set the flag to `true` on each target as well.
3837
3839
  */
3838
3840
  enabledMemory?: boolean;
3839
3841
  };
@@ -3866,6 +3868,9 @@ type AgentResponse = BaseForAgentRequestAndResponse & {
3866
3868
  nativeTools?: NativeToolsResponse;
3867
3869
  llmConfig?: EmporixLlm | ApiKeyLlmResponse | SelfHostedLlmResponse;
3868
3870
  mcpServers?: AgentMcpServersResponse;
3871
+ /**
3872
+ * @deprecated
3873
+ */
3869
3874
  handOff?: HandOff;
3870
3875
  type?: AgentType;
3871
3876
  /**
@@ -3912,7 +3917,7 @@ type Job$1 = {
3912
3917
  exportResult?: ExportResult;
3913
3918
  importResult?: ImportResult;
3914
3919
  /**
3915
- * Unique identifier of the session.
3920
+ * Unique identifier of the session. Send this value back as the `session-id` header on later chat and attachment calls.
3916
3921
  */
3917
3922
  sessionId?: string;
3918
3923
  /**
@@ -3995,7 +4000,7 @@ type AttachmentResponse = {
3995
4000
  */
3996
4001
  id?: string;
3997
4002
  /**
3998
- * Unique identifier of the session. The same sessionId must be used when calling chat endpoints to ensure the correct attachment is found.
4003
+ * Unique identifier of the session the attachment is on. Send this value as the `session-id` header on later chat requests. If the assign request omits `session-id`, this value is the generated session.
3999
4004
  */
4000
4005
  sessionId?: string;
4001
4006
  };
@@ -4056,6 +4061,14 @@ type AgentRequestResponse = {
4056
4061
  * Duration of the request in seconds.
4057
4062
  */
4058
4063
  duration?: number;
4064
+ /**
4065
+ * Cumulative LLM prompt token count for this request.
4066
+ */
4067
+ promptTokens?: number;
4068
+ /**
4069
+ * Cumulative LLM completion token count for this request.
4070
+ */
4071
+ completionTokens?: number;
4059
4072
  metadata?: MetadataResponse$1;
4060
4073
  };
4061
4074
  type AgentSessionResponse = {
@@ -4080,6 +4093,14 @@ type AgentSessionResponse = {
4080
4093
  * Duration of the session in seconds.
4081
4094
  */
4082
4095
  duration?: number;
4096
+ /**
4097
+ * Cumulative LLM prompt token count for this session.
4098
+ */
4099
+ promptTokens?: number;
4100
+ /**
4101
+ * Cumulative LLM completion token count for this session.
4102
+ */
4103
+ completionTokens?: number;
4083
4104
  metadata?: MetadataResponse$1;
4084
4105
  };
4085
4106
  /**
@@ -4326,14 +4347,17 @@ interface DeleteAgentOptions {
4326
4347
  /** Force deletion even if the agent is referenced elsewhere (`?force=true`). */
4327
4348
  force?: boolean;
4328
4349
  }
4329
- /** Options for {@link AiService.chatStream}. */
4330
- interface ChatStreamOptions {
4350
+ /** Options for {@link AiService.chat}, {@link AiService.chatAsync} and {@link AiService.chatStream}. */
4351
+ interface ChatOptions {
4331
4352
  /**
4332
4353
  * Reuse an existing chat context (sent as the `session-id` header). If
4333
- * omitted, the server generates a new session id.
4354
+ * omitted, the server generates a new session id. Required to chat about an
4355
+ * attachment: pass the `sessionId` its upload or reuse returned.
4334
4356
  */
4335
4357
  sessionId?: string;
4336
4358
  }
4359
+ /** @deprecated Use {@link ChatOptions}; the three chat methods share it. */
4360
+ type ChatStreamOptions = ChatOptions;
4337
4361
  /** A stored agentic conversation (Teams-backed). */
4338
4362
  type Conversation = ConversationResponse;
4339
4363
  /** Request body for `searchConversations` (`{ q? }`) — same shape as agent search. */
@@ -4427,6 +4451,13 @@ interface AttachmentOptions {
4427
4451
  */
4428
4452
  sessionId?: string;
4429
4453
  }
4454
+ /**
4455
+ * Options for {@link AiService.reuseAttachment}. Sent as the `session-id`
4456
+ * header; omitted, the service opens a new session and returns its id.
4457
+ */
4458
+ interface AttachmentReuseOptions {
4459
+ sessionId?: string;
4460
+ }
4430
4461
  /** Base64+checksum export of agents with their components. */
4431
4462
  type AgentsExport = ExportResponse;
4432
4463
  /** Body for {@link AiService.exportAgents} — `{ agentIds }`. */
@@ -4596,20 +4627,25 @@ declare class AiService {
4596
4627
  /**
4597
4628
  * Synchronous agent chat (`POST /agentic/chat`). Returns the response
4598
4629
  * ARRAY verbatim (the upstream contract is an array, not a single object).
4630
+ *
4631
+ * `opts.sessionId` is sent as the `session-id` header. It carries the
4632
+ * conversation — continuity needs it plus `enabledMemory` on the agent — and
4633
+ * it is how a chat reaches an attachment: pass the `sessionId` the upload or
4634
+ * reuse returned, and list the file under `input.attachments`.
4599
4635
  */
4600
- chat(input: ChatRequest, auth?: AuthContext): Promise<ChatResponse[]>;
4636
+ chat(input: ChatRequest, opts?: ChatOptions, auth?: AuthContext): Promise<ChatResponse[]>;
4601
4637
  /**
4602
4638
  * Fire-and-forget agent chat (`POST /agentic/chat-async`, HTTP 201).
4603
- * Returns the job-id ARRAY verbatim.
4639
+ * Returns the job-id ARRAY verbatim. `opts` as for {@link chat}.
4604
4640
  */
4605
- chatAsync(input: ChatRequest, auth?: AuthContext): Promise<JobIdResponse[]>;
4641
+ chatAsync(input: ChatRequest, opts?: ChatOptions, auth?: AuthContext): Promise<JobIdResponse[]>;
4606
4642
  /**
4607
4643
  * Streaming agent chat (`POST /agentic/chat-stream`, `text/event-stream`).
4608
4644
  * Yields each SSE `data` payload verbatim — the upstream contract types the
4609
4645
  * stream body as an opaque string, so chunks are raw strings, not parsed
4610
- * objects. Consume with `for await`.
4646
+ * objects. Consume with `for await`. `opts` as for {@link chat}.
4611
4647
  */
4612
- chatStream(input: ChatRequest, opts?: ChatStreamOptions, auth?: AuthContext): AsyncIterable<string>;
4648
+ chatStream(input: ChatRequest, opts?: ChatOptions, auth?: AuthContext): AsyncIterable<string>;
4613
4649
  /** List stored agentic conversations (`GET /agentic/conversations`). */
4614
4650
  listConversations(auth?: AuthContext): Promise<Conversation[]>;
4615
4651
  /** Server-side conversation search (`POST /agentic/conversations/search`). */
@@ -4623,8 +4659,30 @@ declare class AiService {
4623
4659
  * (`POST /agentic/{agentId}/attachments`, multipart, HTTP 201). The response
4624
4660
  * `sessionId` must be threaded into subsequent chat calls to bind the file.
4625
4661
  * Pass `opts.sessionId` to attach to an existing session.
4662
+ *
4663
+ * The endpoint takes exactly one of `attachment` or `attachmentId` — both or
4664
+ * neither is a `400`. This method always sends the file; to point a second
4665
+ * agent at a file already in the session, use {@link reuseAttachment}.
4626
4666
  */
4627
4667
  uploadAttachment(agentId: string, attachment: Blob | File, opts?: AttachmentOptions, auth?: AuthContext): Promise<Attachment>;
4668
+ /**
4669
+ * Assign an existing media asset to an agent as a chat attachment
4670
+ * (`POST /agentic/{agentId}/attachments` with the `attachmentId` form field,
4671
+ * HTTP 200). Resolves to the attachment `id` and the `sessionId` to send on
4672
+ * the following chat calls.
4673
+ *
4674
+ * Use it to hand a second agent the same file instead of uploading it twice.
4675
+ * Pass `opts.sessionId` to attach to an existing chat session; without it the
4676
+ * service opens a new one and returns its id — thread that into the chat, or
4677
+ * the agent never sees the file. With `ai.agentexecution_manage` the asset may
4678
+ * be any media asset, not only one uploaded to this session.
4679
+ *
4680
+ * ```ts
4681
+ * const { id, sessionId } = await client.ai.uploadAttachment("agent-a", file);
4682
+ * await client.ai.reuseAttachment("agent-b", id!, { sessionId: sessionId! });
4683
+ * ```
4684
+ */
4685
+ reuseAttachment(agentId: string, attachmentId: string, opts?: AttachmentReuseOptions, auth?: AuthContext): Promise<Attachment>;
4628
4686
  /** Export agents + components as a base64/checksum blob (`POST /agentic/agents/export`). */
4629
4687
  exportAgents(body: AgentsExportRequest, auth?: AuthContext): Promise<AgentsExport>;
4630
4688
  /** Import previously-exported agents (`POST /agentic/agents/import`). */
@@ -4651,7 +4709,7 @@ type Metadata$7 = {
4651
4709
  * Tax configuration for a specified location. It consists of a country code and a list of tax classes applicable in that country.
4652
4710
  */
4653
4711
  type TaxCreation = {
4654
- location: Location$2;
4712
+ location: Location$1;
4655
4713
  /**
4656
4714
  * List of tax classes applicable in the specified country.
4657
4715
  */
@@ -4664,7 +4722,7 @@ type TaxCreation = {
4664
4722
  */
4665
4723
  type TaxRetrieval = {
4666
4724
  locationCode?: string;
4667
- location?: Location$2;
4725
+ location?: Location$1;
4668
4726
  /**
4669
4727
  * List of tax classes applicable in the specified country.
4670
4728
  */
@@ -4745,7 +4803,7 @@ type TaxCalculationRequest = {
4745
4803
  *
4746
4804
  * **Note**: This field is only mandatory if the `includesTax` field is set to `true`.
4747
4805
  */
4748
- sourceLocation?: Location$2;
4806
+ sourceLocation?: Location$1;
4749
4807
  /**
4750
4808
  * Tax class originally applied to the provided price.
4751
4809
  *
@@ -4755,7 +4813,7 @@ type TaxCalculationRequest = {
4755
4813
  /**
4756
4814
  * Country for which the price should be calculated.
4757
4815
  */
4758
- targetLocation: Location$2;
4816
+ targetLocation: Location$1;
4759
4817
  /**
4760
4818
  * Tax class that should be applied when calculating the price.
4761
4819
  */
@@ -4791,7 +4849,7 @@ type TaxCalculationResponse = {
4791
4849
  /**
4792
4850
  * Country for which the provided price was originally defined.
4793
4851
  */
4794
- sourceLocation?: Location$2;
4852
+ sourceLocation?: Location$1;
4795
4853
  /**
4796
4854
  * Tax class originally applied to the provided price.
4797
4855
  */
@@ -4799,7 +4857,7 @@ type TaxCalculationResponse = {
4799
4857
  /**
4800
4858
  * Country for which the price was calculated.
4801
4859
  */
4802
- targetLocation?: Location$2;
4860
+ targetLocation?: Location$1;
4803
4861
  /**
4804
4862
  * Tax class that was applied when calculating the price.
4805
4863
  */
@@ -4840,7 +4898,7 @@ type TaxCalculationResponse = {
4840
4898
  targetTaxRate?: number;
4841
4899
  };
4842
4900
  };
4843
- type Location$2 = {
4901
+ type Location$1 = {
4844
4902
  /**
4845
4903
  * Code of the country for which the tax classes are specified, as defined in the Country Service.
4846
4904
  */
@@ -4862,7 +4920,7 @@ type TaxUpdate = TaxCreation & {
4862
4920
  */
4863
4921
 
4864
4922
  /** A country/location reference (`{ countryCode }`). */
4865
- type TaxLocation = Location$2;
4923
+ type TaxLocation = Location$1;
4866
4924
  /**
4867
4925
  * A per-location tax configuration (read shape — `GET /taxes` /
4868
4926
  * `/taxes/{locationCode}`). Built on the generated `TaxRetrieval`, with
@@ -6409,7 +6467,7 @@ type BasicDeliveryTime = {
6409
6467
  /**
6410
6468
  * Delivery Time
6411
6469
  */
6412
- type DeliveryTime$2 = BasicDeliveryTime & {
6470
+ type DeliveryTime$1 = BasicDeliveryTime & {
6413
6471
  metadata?: MetaData;
6414
6472
  };
6415
6473
  /**
@@ -6927,15 +6985,15 @@ type MinimumFee = MinimumFee$1;
6927
6985
  /** Shared create response (resource location). */
6928
6986
  type ResourceCreated = ResourceCreatedResponse;
6929
6987
  /** A delivery window for a cart/area. */
6930
- type DeliveryWindow$2 = ActualDeliveryWindow;
6988
+ type DeliveryWindow$1 = ActualDeliveryWindow;
6931
6989
  /** List of delivery windows. */
6932
6990
  type DeliveryWindowList = ActualDeliveryWindows;
6933
6991
  /** Body for delivery-window validation / counter increment. */
6934
6992
  type DeliveryWindowValidation = DeliveryWindowValidationDto;
6935
6993
  /** A delivery time (read shape). */
6936
- type DeliveryTime$1 = DeliveryTime$2;
6994
+ type DeliveryTime = DeliveryTime$1;
6937
6995
  /** List of delivery times (`GET /delivery-times`). */
6938
- type DeliveryTimeList = DeliveryTime$1[];
6996
+ type DeliveryTimeList = DeliveryTime[];
6939
6997
  /** Create body (`POST /delivery-times`). */
6940
6998
  type DeliveryTimeInput = BasicDeliveryTime;
6941
6999
  /** Update body (`PUT /delivery-times/{id}`). */
@@ -7048,7 +7106,7 @@ declare class ShippingService {
7048
7106
  /** List all delivery times. */
7049
7107
  listDeliveryTimes(query?: Record<string, string | number>, auth?: AuthContext): Promise<DeliveryTimeList>;
7050
7108
  /** Retrieve one delivery time. */
7051
- getDeliveryTime(deliveryTimeId: string, auth?: AuthContext): Promise<DeliveryTime$1>;
7109
+ getDeliveryTime(deliveryTimeId: string, auth?: AuthContext): Promise<DeliveryTime>;
7052
7110
  /** Create a delivery time. */
7053
7111
  createDeliveryTime(input: DeliveryTimeInput, auth?: AuthContext): Promise<DeliveryCreated>;
7054
7112
  /** Create multiple delivery times (`POST /delivery-times/bulk`). */
@@ -8258,7 +8316,7 @@ type BasicReturn = {
8258
8316
  /**
8259
8317
  * A list of orders that contain items to be returned. All the orders must have the same currency.
8260
8318
  */
8261
- orders: Array<Order$1>;
8319
+ orders: Array<Order>;
8262
8320
  /**
8263
8321
  * A reason why the return is created. One of the values needs to be provided: `code` or `details`.
8264
8322
  */
@@ -8553,7 +8611,7 @@ type FullEmployeeReturn = FullCustomerReturn & {
8553
8611
  id?: string;
8554
8612
  };
8555
8613
  };
8556
- type FullReturnOrder = Order$1 & {
8614
+ type FullReturnOrder = Order & {
8557
8615
  items?: Array<FullReturnItem>;
8558
8616
  };
8559
8617
  type FullReturnItem = OrderItem & {
@@ -8599,7 +8657,7 @@ type FullReturnItem = OrderItem & {
8599
8657
  /**
8600
8658
  * Represents the order which is being (fully or partially) returned.
8601
8659
  */
8602
- type Order$1 = {
8660
+ type Order = {
8603
8661
  /**
8604
8662
  * Unique identifier of an order.
8605
8663
  */
@@ -9063,13 +9121,31 @@ type ImportStream$1 = {
9063
9121
  [key: string]: string;
9064
9122
  };
9065
9123
  /**
9066
- * Whether the stream reacts to its target objects being deleted outside the import.
9067
- */
9068
- targetDeleteSubscriptionEnabled?: boolean;
9069
- /**
9070
- * What happens when a record deleted in the target is seen in the source again.
9124
+ * How deletes are detected in the source and propagated to the target. Omit for an upsert-only
9125
+ * stream. `MARKER`: a field on the record flags it as deleted. `TOMBSTONE`: a separate source
9126
+ * record lists the deleted IDs.
9071
9127
  */
9072
- onTargetReappear?: 'IGNORE' | 'READD';
9128
+ deleteConfig?: {
9129
+ /**
9130
+ * How a deleted record is recognised.
9131
+ */
9132
+ mode?: 'MARKER' | 'TOMBSTONE';
9133
+ /**
9134
+ * `MARKER` only. The source field that flags a record as deleted.
9135
+ */
9136
+ markerField?: string;
9137
+ /**
9138
+ * `MARKER` only. The values of `markerField` that mean deleted.
9139
+ */
9140
+ markerValues?: Array<string>;
9141
+ /**
9142
+ * `TOMBSTONE` only. The explicit name of the source record that lists deleted IDs. Omit this
9143
+ * property when the name can be derived from the imported record by adding a prefix or suffix —
9144
+ * for example, `invoice_deleted` for an `invoice` stream. Specify it when the deletion record
9145
+ * does not follow that naming convention.
9146
+ */
9147
+ record?: string;
9148
+ };
9073
9149
  healthThresholds?: HealthThresholds;
9074
9150
  /**
9075
9151
  * When the stream was created.
@@ -9161,9 +9237,9 @@ type ImportRun$1 = {
9161
9237
  */
9162
9238
  origin?: string;
9163
9239
  /**
9164
- * The run status.
9240
+ * The run status. `ABORTED` means the service refused to start the run because of the import configuration, for example mappings that have never been published or a changed target schema. Nothing was read or written.
9165
9241
  */
9166
- status?: 'QUEUED' | 'RUNNING' | 'SUCCEEDED' | 'PARTIAL' | 'FAILED' | 'CANCELLED';
9242
+ status?: 'QUEUED' | 'RUNNING' | 'SUCCEEDED' | 'PARTIAL' | 'FAILED' | 'CANCELLED' | 'ABORTED';
9167
9243
  /**
9168
9244
  * The run mode.
9169
9245
  */
@@ -9232,6 +9308,23 @@ type ImportRun$1 = {
9232
9308
  * For a dry run, how many mapped records were kept as a sample.
9233
9309
  */
9234
9310
  dryRunSampleSize?: number;
9311
+ /**
9312
+ * Dry-run only. Whether the dry run used the published mappings (`true`) or the draft mappings (`false`).
9313
+ */
9314
+ dryRunPublished?: boolean;
9315
+ /**
9316
+ * The published mapping version each stream uses in this run, fixed when the run starts. Version `0` means that the stream has no published mappings. The field is absent on a dry run of the draft mappings and on runs recorded before it existed.
9317
+ */
9318
+ mappingVersions?: Array<{
9319
+ /**
9320
+ * The stream identifier.
9321
+ */
9322
+ streamId?: string;
9323
+ /**
9324
+ * The published mapping version the stream uses.
9325
+ */
9326
+ version?: number;
9327
+ }>;
9235
9328
  };
9236
9329
  /**
9237
9330
  * Run stream progress
@@ -9256,9 +9349,9 @@ type ImportRunStream$1 = {
9256
9349
  */
9257
9350
  streamName?: string;
9258
9351
  /**
9259
- * The stream's status within the run.
9352
+ * The stream's status within the run. `ABORTED` means the service refused to run the stream because of its configuration, for example because its mappings have never been published. It indicates a configuration problem to fix. The `message` field gives the reason.
9260
9353
  */
9261
- status?: 'QUEUED' | 'RUNNING' | 'SUCCEEDED' | 'PARTIAL' | 'FAILED' | 'SKIPPED';
9354
+ status?: 'QUEUED' | 'RUNNING' | 'SUCCEEDED' | 'PARTIAL' | 'FAILED' | 'SKIPPED' | 'ABORTED';
9262
9355
  /**
9263
9356
  * Records read for this stream.
9264
9357
  */
@@ -9423,6 +9516,76 @@ type ImportedRecord$1 = {
9423
9516
  */
9424
9517
  importedAt?: string;
9425
9518
  };
9519
+ /**
9520
+ * A page of diagnostic rows with metadata that indicates whether the response contains all recorded rows or only part of a capped sample. Use `recorded`, `cap`, and `sampleTruncated` to interpret the page. The run's counters show the total number of affected rows.
9521
+ */
9522
+ type DiagnosticPage = {
9523
+ rows?: Array<DiagnosticRecord>;
9524
+ /**
9525
+ * How many rows this response contains.
9526
+ */
9527
+ returned?: number;
9528
+ /**
9529
+ * How many rows were recorded in total for this scope.
9530
+ */
9531
+ recorded?: number;
9532
+ /**
9533
+ * The per-stream, per-kind recording cap.
9534
+ */
9535
+ cap?: number;
9536
+ /**
9537
+ * Whether at least one stream reached the cap. When true, these rows are a sample, and the run's
9538
+ * own counters show the total number of affected rows.
9539
+ */
9540
+ sampleTruncated?: boolean;
9541
+ /**
9542
+ * A human-readable statement of what this response is.
9543
+ */
9544
+ note?: string;
9545
+ };
9546
+ /**
9547
+ * One row behind a feed-quality counter.
9548
+ */
9549
+ type DiagnosticRecord = {
9550
+ id?: string;
9551
+ runId?: string;
9552
+ streamId?: string;
9553
+ /**
9554
+ * The stream that recorded the row.
9555
+ */
9556
+ streamName?: string;
9557
+ /**
9558
+ * `UNRESOLVED_PARENT`: a child line whose parent instance did not exist when it was written.
9559
+ * `REPEATED_KEY`: a source row whose natural key this run had already imported.
9560
+ */
9561
+ kind?: 'UNRESOLVED_PARENT' | 'REPEATED_KEY';
9562
+ /**
9563
+ * The record's own natural key in the source.
9564
+ */
9565
+ naturalKey?: string;
9566
+ /**
9567
+ * `UNRESOLVED_PARENT` only. The field that points at the parent.
9568
+ */
9569
+ linkingField?: string;
9570
+ /**
9571
+ * `UNRESOLVED_PARENT` only. The parent key the line pointed at — the value to look up in the
9572
+ * source system.
9573
+ */
9574
+ linkingValue?: string;
9575
+ /**
9576
+ * The target type the row was headed for.
9577
+ */
9578
+ targetType?: string;
9579
+ /**
9580
+ * `UNRESOLVED_PARENT` only. The number of child lines waiting for this parent.
9581
+ */
9582
+ waitingLines?: number;
9583
+ /**
9584
+ * `REPEATED_KEY` only. How many times this key had already been seen in this run.
9585
+ */
9586
+ occurrence?: number;
9587
+ createdAt?: string;
9588
+ };
9426
9589
  /**
9427
9590
  * Health thresholds
9428
9591
  *
@@ -9757,6 +9920,28 @@ type ImportSourceIssue = {
9757
9920
  */
9758
9921
  unresolvedParents?: number;
9759
9922
  };
9923
+ /**
9924
+ * Restrict the rows to this kind.
9925
+ */
9926
+ type TraitDiagnosticsKind = 'UNRESOLVED_PARENT' | 'REPEATED_KEY';
9927
+ type GetImporttoolStreamOrderResponses = {
9928
+ /**
9929
+ * The request was successful. The stream order is returned.
9930
+ */
9931
+ 200: {
9932
+ /**
9933
+ * Stream names in the order they run.
9934
+ */
9935
+ order?: Array<string>;
9936
+ /**
9937
+ * For each stream name, the streams that must run before it. A stream with no dependencies has an empty list.
9938
+ */
9939
+ prereqs?: {
9940
+ [key: string]: Array<string>;
9941
+ };
9942
+ };
9943
+ };
9944
+ type GetImporttoolStreamOrderResponse = GetImporttoolStreamOrderResponses[keyof GetImporttoolStreamOrderResponses];
9760
9945
  type PostImporttoolTriggerRunData = {
9761
9946
  body?: {
9762
9947
  /**
@@ -9767,6 +9952,10 @@ type PostImporttoolTriggerRunData = {
9767
9952
  * When `true`, the run maps and validates but performs no remote writes.
9768
9953
  */
9769
9954
  dryRun?: boolean;
9955
+ /**
9956
+ * Dry-run only. Which mappings the dry run uses. `published` uses each stream's published mappings, which is what a real run executes. `draft` uses the draft mappings, so you can check them before publishing. When omitted, defaults to `published`. A dry run with `published` handles streams whose mappings have never been published in the same way as a real run. The field has no effect when `dryRun` is `false`, because a real run always uses the published mappings.
9957
+ */
9958
+ mappings?: 'published' | 'draft';
9770
9959
  /**
9771
9960
  * When `true`, every extracted record is rewritten, even if unchanged. It bypasses the idempotency `skip-if-unchanged` check. Use it to force target IDs and values to be rewritten.
9772
9961
  */
@@ -9779,6 +9968,12 @@ type PostImporttoolTriggerRunData = {
9779
9968
  * What requested this run. Examples: `Dashboard`, an integration scenario name, or a scheduler name. The `trigger` field records only `MANUAL` or `SCHEDULED`. Use `origin` when more than one system calls this endpoint. If you omit `origin` or send a blank value, the service stores the `trigger` value. The service rejects values longer than 40 characters and values that contain control characters. It does not shorten them.
9780
9969
  */
9781
9970
  origin?: string;
9971
+ /**
9972
+ * The stream identifiers to run. Omit the field to run every stream in the configuration. Send a list of stream IDs to run only those streams. Do not send stream names; use the `id` values from the stream resource.
9973
+ * The service rejects an empty list. It also rejects a list that includes no stream from this configuration. Listed streams still run in the computed stream order, not in list order.
9974
+ * The service also rejects a stream that cannot produce data on its own. A `COMPOSITE_CHILD` stream with `childStrategy` set to `EMBED` is written by its parent. A child that reads values captured during the parent run also cannot run alone. Either stream without its parent would complete successfully without importing records.
9975
+ */
9976
+ streamIds?: Array<string>;
9782
9977
  };
9783
9978
  path: {
9784
9979
  /**
@@ -9794,6 +9989,35 @@ type PostImporttoolTriggerRunData = {
9794
9989
  query?: never;
9795
9990
  url: '/importtool/{tenant}/configs/{configId}/runs';
9796
9991
  };
9992
+ type GetImporttoolListRunDiagnosticsData = {
9993
+ body?: never;
9994
+ path: {
9995
+ /**
9996
+ * The tenant you want to access.
9997
+ *
9998
+ */
9999
+ tenant: string;
10000
+ /**
10001
+ * The run identifier.
10002
+ */
10003
+ runId: string;
10004
+ };
10005
+ query?: {
10006
+ /**
10007
+ * Restrict the rows to those recorded for this stream.
10008
+ */
10009
+ streamId?: string;
10010
+ /**
10011
+ * Restrict the rows to this kind.
10012
+ */
10013
+ kind?: 'UNRESOLVED_PARENT' | 'REPEATED_KEY';
10014
+ /**
10015
+ * Maximum number of rows to return. Defaults differ between the JSON and CSV operations.
10016
+ */
10017
+ limit?: number;
10018
+ };
10019
+ url: '/importtool/{tenant}/runs/{runId}/diagnostics';
10020
+ };
9797
10021
  type GetImporttoolSearchDataRecordsData = {
9798
10022
  body?: never;
9799
10023
  path: {
@@ -9909,9 +10133,31 @@ type ImportErrorRecord = ErrorRecord;
9909
10133
  /** A record that was imported, with its keys, stored fields and last outcome. */
9910
10134
  type ImportedRecord = ImportedRecord$1;
9911
10135
  /**
9912
- * Body for `triggerRun`: `{ mode?, dryRun?, force?, sampleSize?, origin? }`.
10136
+ * A configuration's computed run order: `order` lists stream **names** in the
10137
+ * order they run, `prereqs` maps each name to the streams it waits for.
10138
+ */
10139
+ type ImportStreamOrder = GetImporttoolStreamOrderResponse;
10140
+ /**
10141
+ * The rows behind a run's feed-quality counters. **A capped sample, not the
10142
+ * whole set**: `recorded` is how many rows were stored and `sampleTruncated`
10143
+ * says whether a stream hit the cap. The run's own `duplicateKeys` /
10144
+ * `unresolvedParents` are the true totals — `rows.length` is not.
10145
+ */
10146
+ type ImportRunDiagnostics = DiagnosticPage;
10147
+ /** One diagnostic row: the record's natural key, its parent-linking field and value, and how many lines wait on it. */
10148
+ type ImportDiagnosticRecord = DiagnosticRecord;
10149
+ /** Which counter a diagnostic row belongs to: `REPEATED_KEY` (`duplicateKeys`) or `UNRESOLVED_PARENT` (`unresolvedParents`). */
10150
+ type ImportDiagnosticKind = TraitDiagnosticsKind;
10151
+ /** Filters for `listRunDiagnostics` / `downloadRunDiagnosticsCsv`: `{ streamId?, kind?, limit? }`. */
10152
+ type ImportRunDiagnosticsQuery = NonNullable<GetImporttoolListRunDiagnosticsData["query"]>;
10153
+ /**
10154
+ * Body for `triggerRun`: `{ mode?, dryRun?, force?, sampleSize?, origin?, streamIds? }`.
9913
10155
  *
9914
10156
  * - `mode` defaults to `DELTA` server-side.
10157
+ * - `streamIds` runs only those streams — **ids, not names** (`getStreamOrder`
10158
+ * reports names). Omitted, every stream runs. Rejected: an empty list, a list
10159
+ * with no stream of this configuration, and a child stream that cannot produce
10160
+ * data without its parent. Listed streams still run in the computed order.
9915
10161
  * - `force` rewrites every extracted record, bypassing the skip-if-unchanged
9916
10162
  * idempotency.
9917
10163
  * - `sampleSize` is **dry-run only**: how many mapped records to sample per
@@ -10056,6 +10302,17 @@ declare class ImportService {
10056
10302
  listStreams(configId: string, auth?: AuthContext): Promise<ImportStream[]>;
10057
10303
  /** Fetch one stream by id. */
10058
10304
  getStream(id: string, auth?: AuthContext): Promise<ImportStream>;
10305
+ /**
10306
+ * The order in which a configuration's streams run, and the dependencies
10307
+ * behind it. Read it here instead of deriving it from the stream definitions:
10308
+ * mapping transformations add dependencies that no single stream shows, so a
10309
+ * self-computed order can differ from the one used at run time.
10310
+ *
10311
+ * The result lists stream **names**, while {@link triggerRun}'s `streamIds`
10312
+ * takes stream **ids** — map through {@link listStreams} before passing a
10313
+ * subset back.
10314
+ */
10315
+ getStreamOrder(configId: string, auth?: AuthContext): Promise<ImportStreamOrder>;
10059
10316
  /**
10060
10317
  * Fetch a configuration's schedule. Resolves to `null` when none is
10061
10318
  * configured — the service answers `204`, not `404`, so an absent schedule is
@@ -10100,6 +10357,9 @@ declare class ImportService {
10100
10357
  * integration scenario are indistinguishable in the history. Note the service
10101
10358
  * **rejects** an `origin` over 40 characters instead of shortening it.
10102
10359
  *
10360
+ * `streamIds` runs a subset — see {@link ImportRunInput} for what is rejected,
10361
+ * and note it takes ids where {@link getStreamOrder} reports names.
10362
+ *
10103
10363
  * Not retried on a 5xx: a POST that timed out may already have queued a run.
10104
10364
  *
10105
10365
  * @example
@@ -10146,6 +10406,29 @@ declare class ImportService {
10146
10406
  }, auth?: AuthContext): Promise<ImportCancelResult>;
10147
10407
  /** List the errors recorded during a run. */
10148
10408
  listRunErrors(runId: string, opts?: ImportPageOptions, auth?: AuthContext): Promise<ImportPage<ImportErrorRecord>>;
10409
+ /**
10410
+ * The rows behind a run's feed-quality counters: source rows that repeated a
10411
+ * natural key (`kind: "REPEATED_KEY"`, counted as `duplicateKeys`) and child
10412
+ * lines with no parent to attach to (`"UNRESOLVED_PARENT"`, counted as
10413
+ * `unresolvedParents`). Neither is a failure, which is why these rows are not
10414
+ * in {@link listRunErrors}.
10415
+ *
10416
+ * **A capped sample** — see {@link ImportRunDiagnostics} before reading
10417
+ * `rows.length` as the size of the problem. `limit` defaults to 500 here
10418
+ * (1–50 000); {@link downloadRunDiagnosticsCsv} defaults to 50 000.
10419
+ */
10420
+ listRunDiagnostics(runId: string, query?: ImportRunDiagnosticsQuery, auth?: AuthContext): Promise<ImportRunDiagnostics>;
10421
+ /**
10422
+ * The same rows as {@link listRunDiagnostics}, as CSV text for a spreadsheet
10423
+ * or a ticket. Comment lines above the header record whether `limit` or the
10424
+ * recording cap cut rows off, so the file keeps that context when shared on
10425
+ * its own. `limit` defaults to 50 000 here, not 500.
10426
+ *
10427
+ * Every value is quoted, and a value starting with `=`, `+`, `-` or `@` is
10428
+ * prefixed with an apostrophe so spreadsheet software does not evaluate source
10429
+ * data as a formula. Strip it if you parse the file instead of opening it.
10430
+ */
10431
+ downloadRunDiagnosticsCsv(runId: string, query?: ImportRunDiagnosticsQuery, auth?: AuthContext): Promise<string>;
10149
10432
  /** List the target types that hold imported records — the valid `type` values for {@link searchRecords}. */
10150
10433
  listDataTypes(auth?: AuthContext): Promise<string[]>;
10151
10434
  /** Search imported records of one target type. */
@@ -10225,7 +10508,7 @@ type ChangelogChangeItem = {
10225
10508
  */
10226
10509
  type?: 'create' | 'update' | 'delete';
10227
10510
  /**
10228
- * 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.
10511
+ * Logical entity type of the changed document, for example `order`, `customer`, `company`, `product`, `segment`, `group`, `group-assignment`, `coupon`, `quote`, `site`, or a custom entity created with the Schema Service.
10229
10512
  *
10230
10513
  */
10231
10514
  entity?: string;
@@ -10862,7 +11145,7 @@ type Vendor$1 = {
10862
11145
  /**
10863
11146
  * The list of locations assigned to the vendor.
10864
11147
  */
10865
- locations?: Array<Location$1>;
11148
+ locations?: Array<Location>;
10866
11149
  metadata?: Metadata$1;
10867
11150
  /**
10868
11151
  * Mixins request. A map where a key represent mixins set name and a value represent a map with key-value pairs.
@@ -10997,7 +11280,7 @@ type VendorUpdate$1 = {
10997
11280
  /**
10998
11281
  * Location
10999
11282
  */
11000
- type Location$1 = {
11283
+ type Location = {
11001
11284
  /**
11002
11285
  * The location unique identifier.
11003
11286
  */
@@ -11123,7 +11406,7 @@ type VendorSearchQuery = Record<string, unknown> & {
11123
11406
  q?: QueryFor<"VENDOR">;
11124
11407
  };
11125
11408
  /** A vendor location (read shape). */
11126
- type VendorLocation = Location$1;
11409
+ type VendorLocation = Location;
11127
11410
  /** List of vendor locations. */
11128
11411
  type VendorLocationList = VendorLocation[];
11129
11412
  /** Create body (`POST /locations`). */
@@ -11166,546 +11449,6 @@ declare class VendorService {
11166
11449
  deleteVendorLocation(locationId: string, auth?: AuthContext): Promise<void>;
11167
11450
  }
11168
11451
 
11169
- type OrderEntryEventResponse = {
11170
- /**
11171
- * The event id
11172
- */
11173
- eventId?: string;
11174
- /**
11175
- * The product id for which the event was created
11176
- */
11177
- productId?: string;
11178
- /**
11179
- * The delivery cycle for which the event was created
11180
- */
11181
- deliveryCycle?: string;
11182
- /**
11183
- * The order number for which the event was created
11184
- */
11185
- orderNumber?: string;
11186
- /**
11187
- * Timestamp when the event was created
11188
- */
11189
- timestamp?: string;
11190
- /**
11191
- * The picked amount
11192
- */
11193
- pickedAmount?: number;
11194
- /**
11195
- * The packed amount
11196
- */
11197
- packedAmount?: number;
11198
- /**
11199
- * The canceled amount
11200
- */
11201
- canceledAmount?: number;
11202
- /**
11203
- * The packed amount calculated into piece
11204
- */
11205
- packedAmountInPc?: number;
11206
- /**
11207
- * The supplier id of the product for which the event was created
11208
- */
11209
- supplierId?: string;
11210
- /**
11211
- * The ID of the user which has created the event
11212
- */
11213
- user?: string;
11214
- /**
11215
- * The site code for which the event was created
11216
- */
11217
- site?: string;
11218
- /**
11219
- * The unit in which the product is packed
11220
- */
11221
- unit?: string;
11222
- /**
11223
- * The book product flag
11224
- */
11225
- bookProduct?: boolean;
11226
- };
11227
- type OrderEntryEventCreate = {
11228
- /**
11229
- * The event id generated by the client
11230
- */
11231
- eventId: string;
11232
- /**
11233
- * The order number for which the packing event is created
11234
- */
11235
- orderNumber: string;
11236
- /**
11237
- * The product id for which the packing event is created
11238
- */
11239
- productId: string;
11240
- /**
11241
- * The delivery cycle for which the packing event is created
11242
- */
11243
- deliveryCycle?: string;
11244
- /**
11245
- * The amount of picked items
11246
- */
11247
- pickedAmount?: number;
11248
- /**
11249
- * The amount of packed items
11250
- */
11251
- packedAmount?: number;
11252
- /**
11253
- * The amount of cancelled items
11254
- */
11255
- canceledAmount?: number;
11256
- /**
11257
- * The supplier id
11258
- */
11259
- supplierId?: string;
11260
- /**
11261
- * The unit of the packed item
11262
- */
11263
- unit: string;
11264
- /**
11265
- * Timestamp of the packing event in ISO format
11266
- */
11267
- timestamp: string;
11268
- /**
11269
- * The site code for which the event is created
11270
- */
11271
- site: string;
11272
- bookProduct?: boolean;
11273
- };
11274
- type OrderStatusChange = {
11275
- /**
11276
- * The new status of the order
11277
- */
11278
- packingStatus: 'INITIAL' | 'IN_PROGRESS' | 'PRE_PACKED' | 'PACKED' | 'CANCELLED';
11279
- };
11280
- type PackagingProductsChange = {
11281
- /**
11282
- * The id of the product that was packed
11283
- */
11284
- entryId: string;
11285
- /**
11286
- * The amount of packed items
11287
- */
11288
- packedCount: number;
11289
- };
11290
- /**
11291
- * Assignee
11292
- */
11293
- type Assignee$1 = {
11294
- /**
11295
- * Identifier of an assignment
11296
- */
11297
- id: string;
11298
- /**
11299
- * Code of a site
11300
- */
11301
- siteCode: string;
11302
- /**
11303
- * First name of assignee
11304
- */
11305
- firstName: string;
11306
- /**
11307
- * Last name of assignee
11308
- */
11309
- lastName: string;
11310
- };
11311
- /**
11312
- * Order
11313
- */
11314
- type Order = {
11315
- /**
11316
- * The id of the packed order
11317
- */
11318
- id?: string;
11319
- /**
11320
- * The site code of the packed order
11321
- */
11322
- siteCode?: string;
11323
- /**
11324
- * The order total amount
11325
- */
11326
- orderTotal?: number;
11327
- /**
11328
- * The order subtotal
11329
- */
11330
- valueOfGoods?: number;
11331
- /**
11332
- * The order deposit amount
11333
- */
11334
- deposit?: number;
11335
- /**
11336
- * The order coupons amount
11337
- */
11338
- coupons?: number;
11339
- /**
11340
- * The order currency
11341
- */
11342
- currency?: string;
11343
- /**
11344
- * The order entries
11345
- */
11346
- entries?: Array<Entry>;
11347
- customer?: Customer;
11348
- delivery?: Delivery;
11349
- payment?: Payment$1;
11350
- /**
11351
- * The current packing status of the order
11352
- */
11353
- packingStatus?: 'INITIAL' | 'IN_PROGRESS' | 'PRE_PACKED' | 'PACKED' | 'CANCELLED';
11354
- /**
11355
- * The user data of the person that is currently packing the order
11356
- */
11357
- assignees?: Array<Assignee$1>;
11358
- /**
11359
- * The order packaging product
11360
- */
11361
- packagingProducts?: Array<Entry>;
11362
- /**
11363
- * The order holding area number
11364
- */
11365
- holdingAreaNumber?: number;
11366
- };
11367
- /**
11368
- * Entry
11369
- */
11370
- type Entry = {
11371
- /**
11372
- * The entry id
11373
- */
11374
- entryId?: string;
11375
- /**
11376
- * The product name
11377
- */
11378
- productName?: string;
11379
- /**
11380
- * The id of the product
11381
- */
11382
- productId?: string;
11383
- /**
11384
- * The unit price of the product
11385
- */
11386
- unitPrice?: number;
11387
- /**
11388
- * The overall price, which is the sum of the quantities of packed products.
11389
- */
11390
- totalPrice?: number;
11391
- /**
11392
- * The link to product image
11393
- */
11394
- imageUrl?: string;
11395
- unitPricingMeasure?: PricingMeasure;
11396
- pricingMeasure?: PricingMeasure;
11397
- pricingMeasurePrice?: number;
11398
- orderUnit?: string;
11399
- /**
11400
- * The currently packed count of the product
11401
- */
11402
- packedCount?: number;
11403
- /**
11404
- * The currently canceled count of the product
11405
- */
11406
- canceledCount?: number;
11407
- /**
11408
- * The currently picked count of the product
11409
- */
11410
- pickedCount?: number;
11411
- /**
11412
- * The currently packed amount of the product packed in pieces
11413
- */
11414
- packedAmountInPc?: number;
11415
- totalCount?: number;
11416
- /**
11417
- * The location of the product
11418
- */
11419
- location?: Array<Location>;
11420
- packingGroup?: string;
11421
- packaging?: string;
11422
- cutting?: string;
11423
- customerComment?: string;
11424
- barcodes?: Array<string>;
11425
- weightDependent?: boolean;
11426
- basePrice?: BasePrice;
11427
- mhd?: string;
11428
- };
11429
- /**
11430
- * Customer
11431
- */
11432
- type Customer = {
11433
- id?: string;
11434
- title?: string;
11435
- firstName?: string;
11436
- lastName?: string;
11437
- name?: string;
11438
- companyName?: string;
11439
- email?: string;
11440
- phoneNumber?: string;
11441
- };
11442
- /**
11443
- * Delivery
11444
- */
11445
- type Delivery = {
11446
- deliveryTimeModel?: DeliveryTime;
11447
- deliveryAddressModel?: DeliveryAddress;
11448
- deliveryCostModel?: DeliveryCost;
11449
- deliveryOptionModel?: DeliveryOption;
11450
- deliveryWindow?: DeliveryWindow$1;
11451
- };
11452
- /**
11453
- * Payment
11454
- */
11455
- type Payment$1 = {
11456
- invoiceNumber?: string;
11457
- invoiceAddress?: InvoiceAddress;
11458
- methods?: Array<string>;
11459
- };
11460
- /**
11461
- * PricingMeasure
11462
- */
11463
- type PricingMeasure = {
11464
- unitCode?: string;
11465
- value?: string;
11466
- };
11467
- /**
11468
- * Location
11469
- */
11470
- type Location = {
11471
- zone?: string;
11472
- rack?: string;
11473
- rackName?: string;
11474
- shelf?: string;
11475
- section?: string;
11476
- bin?: string;
11477
- };
11478
- /**
11479
- * BasePrice
11480
- */
11481
- type BasePrice = {
11482
- effectiveAmount?: string;
11483
- originalAmount?: string;
11484
- priceFactor?: string;
11485
- basePriceFactor?: string;
11486
- measurementUnit?: MeasurementUnit;
11487
- };
11488
- /**
11489
- * DeliveryTime
11490
- */
11491
- type DeliveryTime = {
11492
- deliveryDate?: string;
11493
- deliveryTimeFrom?: string;
11494
- deliveryTimeTo?: string;
11495
- deliveryChargeType?: string;
11496
- };
11497
- /**
11498
- * DeliveryAddress
11499
- */
11500
- type DeliveryAddress = {
11501
- title?: string;
11502
- contactName?: string;
11503
- companyName?: string;
11504
- street?: string;
11505
- streetNumber?: string;
11506
- streetAppendix?: string;
11507
- zip?: string;
11508
- city?: string;
11509
- country?: string;
11510
- };
11511
- /**
11512
- * DeliveryCost
11513
- */
11514
- type DeliveryCost = {
11515
- amount?: number;
11516
- currency?: string;
11517
- };
11518
- /**
11519
- * DeliveryOption
11520
- */
11521
- type DeliveryOption = {
11522
- packaging?: string;
11523
- replacement?: boolean;
11524
- pickup?: boolean;
11525
- deliveryNote?: string;
11526
- };
11527
- /**
11528
- * DeliveryWindow
11529
- *
11530
- * This object contains attributes that are related to selected delivery window for a given order and allows to group orders by delivery cycle and sort by delivery time for a better and more efficient packing experience
11531
- */
11532
- type DeliveryWindow$1 = {
11533
- /**
11534
- * The selected delivery cycle for the current order for the given date
11535
- */
11536
- deliveryCycle?: string;
11537
- /**
11538
- * The selected delivery cycle name
11539
- */
11540
- deliveryCycleName?: string;
11541
- /**
11542
- * The delivery time until the order should be delivered
11543
- */
11544
- deliveryTimeTo?: string;
11545
- };
11546
- /**
11547
- * InvoiceAddress
11548
- */
11549
- type InvoiceAddress = {
11550
- title?: string;
11551
- contactName?: string;
11552
- companyName?: string;
11553
- street?: string;
11554
- streetNumber?: string;
11555
- streetAppendix?: string;
11556
- zip?: string;
11557
- city?: string;
11558
- country?: string;
11559
- };
11560
- /**
11561
- * RecalculationJobOrder
11562
- */
11563
- type RecalculationJobOrder = {
11564
- orderId?: string;
11565
- message?: string;
11566
- jobOrderStatus?: 'SUCCESS' | 'FAILURE' | 'PENDING';
11567
- };
11568
- /**
11569
- * RecalculationJob
11570
- */
11571
- type RecalculationJob$1 = {
11572
- id?: string;
11573
- jobType?: 'AUTOMATIC' | 'MANUAL';
11574
- orders?: Array<RecalculationJobOrder>;
11575
- jobStatus?: 'SUCCESS' | 'FAILURE' | 'IN_PROGRESS';
11576
- startedAt?: string;
11577
- finishedAt?: string;
11578
- };
11579
- /**
11580
- * RecalculationJobCreation
11581
- */
11582
- type RecalculationJobCreation = {
11583
- /**
11584
- * The order identifiers requiring recalculation. This attribute is optional. In case the job type is `AUTOMATIC` the orders for recalculation will be selected automatically based on last packing events.
11585
- */
11586
- orderIds?: Array<string>;
11587
- /**
11588
- * The recalculation job types. Possible values:
11589
- * - `MANUAL` - recalculates all orders provided in the `orderIds` attribute
11590
- * - `AUTOMATIC` - finds orders that need recalculation and triggers recalculation for them
11591
- */
11592
- jobType: 'AUTOMATIC' | 'MANUAL';
11593
- };
11594
- /**
11595
- * MeasurementUnit
11596
- */
11597
- type MeasurementUnit = {
11598
- /**
11599
- * The unit code of the measured quantity
11600
- */
11601
- unitCode?: string;
11602
- /**
11603
- * The measured amount
11604
- */
11605
- quantity?: number;
11606
- };
11607
- /**
11608
- * OrderList
11609
- */
11610
- type OrderList = {
11611
- /**
11612
- * The id of the order
11613
- */
11614
- orderId?: string;
11615
- /**
11616
- * The name of the customer
11617
- */
11618
- customerName?: string;
11619
- /**
11620
- * The current status of the order
11621
- */
11622
- packingStatus?: 'INITIAL' | 'IN_PROGRESS' | 'PRE_PACKED' | 'PACKED' | 'CANCELLED';
11623
- productsTotal?: number;
11624
- productsPacked?: number;
11625
- productsCanceled?: number;
11626
- assignees?: Array<Assignee$1>;
11627
- packagingProducts?: Array<Entry>;
11628
- entries?: Array<Entry>;
11629
- /**
11630
- * The serial number of the location where the packed order awaits transportation
11631
- */
11632
- holdingAreaNumber?: number;
11633
- deliveryWindow?: DeliveryWindow$1;
11634
- };
11635
-
11636
- /**
11637
- * Public types for the Pick-Pack Service — stable names aliased over the
11638
- * generated `pick-pack` types. Several mutating endpoints return an inline
11639
- * acknowledgement (`{ message?, code? }`) rather than the resource.
11640
- */
11641
-
11642
- /** A pick-pack (fulfillment) order — single read shape. */
11643
- type PickOrder = Order;
11644
- /** Packlist — list of pick-pack order summaries (`GET /orders`). */
11645
- type PickOrderList = OrderList[];
11646
- /** An order assignee. */
11647
- type Assignee = Assignee$1;
11648
- /** A packing event (read). */
11649
- type PackingEvent = OrderEntryEventResponse;
11650
- /** List of packing events. */
11651
- type PackingEventList = PackingEvent[];
11652
- /** Order cycles (`GET /orderCycles`) — a list of ids. */
11653
- type OrderCycleList = string[];
11654
- /** Body for `triggerRecalculation`. */
11655
- type RecalculationJobInput = RecalculationJobCreation;
11656
- /** A recalculation job (read). */
11657
- type RecalculationJob = RecalculationJob$1;
11658
- /** Inline acknowledgement returned by several mutating endpoints. */
11659
- interface PickPackAck {
11660
- message?: string;
11661
- code?: number;
11662
- }
11663
- /** `triggerRecalculation` response — the created job's id. */
11664
- interface RecalculationJobCreated {
11665
- jobId?: string;
11666
- }
11667
-
11668
- /**
11669
- * Emporix Pick-Pack Service (`/pick-pack/{tenant}/…`): fulfillment/packlist
11670
- * orders, assignees, packaging, packing events, and recalculation jobs.
11671
- * Server-side; defaults to the service token. Several mutating endpoints return
11672
- * an acknowledgement (`{ message?, code? }`).
11673
- *
11674
- * @deprecated since 2026-05-25, removal 2026-08-24 — the Pick-Pack service is
11675
- * being sunset by Emporix; all endpoints are no longer maintained.
11676
- */
11677
- declare class PickPackService {
11678
- private readonly ctx;
11679
- static readonly channel: "pick-pack";
11680
- constructor(ctx: ClientContext);
11681
- private base;
11682
- private orderPath;
11683
- /** List packlist orders. */
11684
- listOrders(query?: Record<string, string | number>, auth?: AuthContext): Promise<PickOrderList>;
11685
- /** Retrieve a packlist order by id. */
11686
- getOrder(orderId: string, auth?: AuthContext): Promise<PickOrder>;
11687
- /** Update an order's status (`PATCH`). Returns an acknowledgement. */
11688
- updateOrder(orderId: string, change: OrderStatusChange, auth?: AuthContext): Promise<PickPackAck>;
11689
- /** Finish an order. Returns an acknowledgement. */
11690
- finishOrder(orderId: string, auth?: AuthContext): Promise<PickPackAck>;
11691
- /** List order cycles (ids). */
11692
- listOrderCycles(query?: Record<string, string | number>, auth?: AuthContext): Promise<OrderCycleList>;
11693
- /** Add an assignee to an order. Returns an acknowledgement. */
11694
- addAssignee(orderId: string, assignee: Assignee, auth?: AuthContext): Promise<PickPackAck>;
11695
- /** Remove an assignee from an order. */
11696
- removeAssignee(orderId: string, assigneeId: string, auth?: AuthContext): Promise<void>;
11697
- /** Update packaging products for an order (`PUT`). Returns an acknowledgement. */
11698
- updatePackaging(orderId: string, change: PackagingProductsChange, auth?: AuthContext): Promise<PickPackAck>;
11699
- /** Create a packing event. Returns an acknowledgement. */
11700
- createEvent(event: OrderEntryEventCreate, auth?: AuthContext): Promise<PickPackAck>;
11701
- /** List packing events. */
11702
- listEvents(query?: Record<string, string | number>, auth?: AuthContext): Promise<PackingEventList>;
11703
- /** Trigger an order recalculation. Returns the created job's id. */
11704
- triggerRecalculation(input: RecalculationJobInput, auth?: AuthContext): Promise<RecalculationJobCreated>;
11705
- /** Retrieve a recalculation job by id. */
11706
- getRecalculationJob(jobId: string, auth?: AuthContext): Promise<RecalculationJob>;
11707
- }
11708
-
11709
11452
  type AccountId = {
11710
11453
  /**
11711
11454
  * Customer email address.
@@ -12883,7 +12626,6 @@ declare class EmporixClient {
12883
12626
  readonly units: UnitHandlingService;
12884
12627
  readonly catalogs: CatalogService;
12885
12628
  readonly vendors: VendorService;
12886
- readonly pickPack: PickPackService;
12887
12629
  readonly customerAdmin: CustomerAdminService;
12888
12630
  readonly approvals: ApprovalService;
12889
12631
  /** The validated tenant this client is bound to. */
@@ -12999,4 +12741,4 @@ declare function productIdFromYrn(yrn: string | undefined): string;
12999
12741
  */
13000
12742
  declare function productYrn(tenant: string, productId: string): string;
13001
12743
 
13002
- 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 };
12744
+ 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 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 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 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, 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, 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, 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, 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 };