@viu/emporix-sdk 2.29.0 → 2.30.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 (47) hide show
  1. package/CHANGELOG.md +46 -0
  2. package/dist/availability.d.cts +1 -1
  3. package/dist/availability.d.ts +1 -1
  4. package/dist/cart.d.cts +1 -1
  5. package/dist/cart.d.ts +1 -1
  6. package/dist/category.d.cts +1 -1
  7. package/dist/category.d.ts +1 -1
  8. package/dist/checkout.d.cts +1 -1
  9. package/dist/checkout.d.ts +1 -1
  10. package/dist/{chunk-6PJFOX3A.js → chunk-4VRUMCS2.js} +8 -5
  11. package/dist/chunk-4VRUMCS2.js.map +1 -0
  12. package/dist/companies.d.cts +1 -1
  13. package/dist/companies.d.ts +1 -1
  14. package/dist/contacts.d.cts +1 -1
  15. package/dist/contacts.d.ts +1 -1
  16. package/dist/{context-B5rWL6QD.d.cts → context-CpLIDl0P.d.cts} +24 -9
  17. package/dist/{context-B5rWL6QD.d.ts → context-CpLIDl0P.d.ts} +24 -9
  18. package/dist/{customer-groups-_czUdHab.d.cts → customer-groups-DJVbdrEP.d.cts} +1 -1
  19. package/dist/{customer-groups-BRN6I23C.d.ts → customer-groups-DhpCTCTg.d.ts} +1 -1
  20. package/dist/customer-groups.d.cts +2 -2
  21. package/dist/customer-groups.d.ts +2 -2
  22. package/dist/customer.d.cts +1 -1
  23. package/dist/customer.d.ts +1 -1
  24. package/dist/index.cjs +7 -4
  25. package/dist/index.cjs.map +1 -1
  26. package/dist/index.d.cts +14 -3
  27. package/dist/index.d.ts +14 -3
  28. package/dist/index.js +3 -3
  29. package/dist/index.js.map +1 -1
  30. package/dist/locations.d.cts +1 -1
  31. package/dist/locations.d.ts +1 -1
  32. package/dist/media.d.cts +1 -1
  33. package/dist/media.d.ts +1 -1
  34. package/dist/orders.d.cts +1 -1
  35. package/dist/orders.d.ts +1 -1
  36. package/dist/payment.cjs.map +1 -1
  37. package/dist/payment.d.cts +1 -1
  38. package/dist/payment.d.ts +1 -1
  39. package/dist/payment.js +1 -1
  40. package/dist/price.d.cts +1 -1
  41. package/dist/price.d.ts +1 -1
  42. package/dist/product.d.cts +1 -1
  43. package/dist/product.d.ts +1 -1
  44. package/dist/segment.d.cts +1 -1
  45. package/dist/segment.d.ts +1 -1
  46. package/package.json +1 -1
  47. package/dist/chunk-6PJFOX3A.js.map +0 -1
package/dist/index.d.cts CHANGED
@@ -1,5 +1,5 @@
1
- import { C as ClientContext, b as AuthContext, P as PaginatedItems, T as TokenProvider, n as ResolvedConfig, E as EmporixConfig, j as LogLevel, o as ServiceName, e as CustomerTokenRefresher } from './context-B5rWL6QD.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, L as LEVEL, h as LevelResolver, i as LogFields, k as Logger, l as LoggerConfig, m as LoggerObjectConfig, R as RequestOptions, S as ServiceCredentials, p as StorefrontCredentials, q as auth, r as createConsoleLogger, s as createNoopLogger, t as iterateAll, u as redact, v as resolveToken, w as validateConfig } from './context-B5rWL6QD.cjs';
1
+ import { C as ClientContext, b as AuthContext, P as PaginatedItems, T as TokenProvider, n as ResolvedConfig, E as EmporixConfig, j as LogLevel, o as ServiceName, e as CustomerTokenRefresher } from './context-CpLIDl0P.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, L as LEVEL, h as LevelResolver, i as LogFields, k as Logger, l as LoggerConfig, m as LoggerObjectConfig, R as RequestOptions, S as ServiceCredentials, p as StoredAnonymousSession, q as StorefrontCredentials, r as auth, s as createConsoleLogger, t as createNoopLogger, u as iterateAll, v as redact, w as resolveToken, x as validateConfig } from './context-CpLIDl0P.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-_czUdHab.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-DJVbdrEP.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';
@@ -1716,6 +1716,17 @@ type SchemaAttribute$1 = {
1716
1716
  [key: string]: unknown;
1717
1717
  };
1718
1718
  type: SchemaAttributeType;
1719
+ /**
1720
+ * Decimal precision for attributes of `DECIMAL` type. Defines the allowed decimal step for attribute values
1721
+ * (for example `0.1`, `0.01`, `0.001`).
1722
+ * Allowed values:
1723
+ * * `-1` – no precision constraint
1724
+ * * a positive decimal step of the form `0.1`, `0.01`, `0.001`, and so on (`10^-n` where `n >= 1`)
1725
+ * This property can only be provided when `type` is `DECIMAL` (or, for arrays, when `arrayType.type` is `DECIMAL`).
1726
+ * If omitted for a `DECIMAL` attribute, the default precision `0.01` is applied.
1727
+ *
1728
+ */
1729
+ precision?: number;
1719
1730
  metadata: SchemaAttributeMetadata;
1720
1731
  /**
1721
1732
  * List of available values for the attribute. Only valid for `ENUM` and `REFERENCE` type.
package/dist/index.d.ts CHANGED
@@ -1,5 +1,5 @@
1
- import { C as ClientContext, b as AuthContext, P as PaginatedItems, T as TokenProvider, n as ResolvedConfig, E as EmporixConfig, j as LogLevel, o as ServiceName, e as CustomerTokenRefresher } from './context-B5rWL6QD.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, L as LEVEL, h as LevelResolver, i as LogFields, k as Logger, l as LoggerConfig, m as LoggerObjectConfig, R as RequestOptions, S as ServiceCredentials, p as StorefrontCredentials, q as auth, r as createConsoleLogger, s as createNoopLogger, t as iterateAll, u as redact, v as resolveToken, w as validateConfig } from './context-B5rWL6QD.js';
1
+ import { C as ClientContext, b as AuthContext, P as PaginatedItems, T as TokenProvider, n as ResolvedConfig, E as EmporixConfig, j as LogLevel, o as ServiceName, e as CustomerTokenRefresher } from './context-CpLIDl0P.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, L as LEVEL, h as LevelResolver, i as LogFields, k as Logger, l as LoggerConfig, m as LoggerObjectConfig, R as RequestOptions, S as ServiceCredentials, p as StoredAnonymousSession, q as StorefrontCredentials, r as auth, s as createConsoleLogger, t as createNoopLogger, u as iterateAll, v as redact, w as resolveToken, x as validateConfig } from './context-CpLIDl0P.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-BRN6I23C.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-DhpCTCTg.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';
@@ -1716,6 +1716,17 @@ type SchemaAttribute$1 = {
1716
1716
  [key: string]: unknown;
1717
1717
  };
1718
1718
  type: SchemaAttributeType;
1719
+ /**
1720
+ * Decimal precision for attributes of `DECIMAL` type. Defines the allowed decimal step for attribute values
1721
+ * (for example `0.1`, `0.01`, `0.001`).
1722
+ * Allowed values:
1723
+ * * `-1` – no precision constraint
1724
+ * * a positive decimal step of the form `0.1`, `0.01`, `0.001`, and so on (`10^-n` where `n >= 1`)
1725
+ * This property can only be provided when `type` is `DECIMAL` (or, for arrays, when `arrayType.type` is `DECIMAL`).
1726
+ * If omitted for a `DECIMAL` attribute, the default precision `0.01` is applied.
1727
+ *
1728
+ */
1729
+ precision?: number;
1719
1730
  metadata: SchemaAttributeMetadata;
1720
1731
  /**
1721
1732
  * List of available values for the attribute. Only valid for `ENUM` and `REFERENCE` type.
package/dist/index.js CHANGED
@@ -4,8 +4,8 @@ import { MediaService } from './chunk-OTG2S2L4.js';
4
4
  export { MediaService } from './chunk-OTG2S2L4.js';
5
5
  import { OrdersService, SalesOrdersService } from './chunk-P7G4LOOV.js';
6
6
  export { OrdersService, SalesOrdersService } from './chunk-P7G4LOOV.js';
7
- import { auth, resolveToken, DefaultTokenProvider, CustomerRefreshRegistry, PaymentGatewayService } from './chunk-6PJFOX3A.js';
8
- export { CustomerRefreshRegistry, DefaultTokenProvider, PaymentGatewayService, auth, resolveToken } from './chunk-6PJFOX3A.js';
7
+ import { auth, resolveToken, DefaultTokenProvider, CustomerRefreshRegistry, PaymentGatewayService } from './chunk-4VRUMCS2.js';
8
+ export { CustomerRefreshRegistry, DefaultTokenProvider, PaymentGatewayService, auth, resolveToken } from './chunk-4VRUMCS2.js';
9
9
  import { PriceService } from './chunk-ZOFGDNSX.js';
10
10
  export { PriceService } from './chunk-ZOFGDNSX.js';
11
11
  import { ProductService } from './chunk-7W22KLUL.js';
@@ -595,7 +595,7 @@ var HttpClient = class {
595
595
  };
596
596
 
597
597
  // package.json
598
- var version = "2.29.0";
598
+ var version = "2.30.0";
599
599
 
600
600
  // src/version.ts
601
601
  var SDK_VERSION = version;