@viu/emporix-sdk 4.2.2 → 4.2.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +8 -0
- package/dist/cart.d.cts +2 -2
- package/dist/cart.d.ts +2 -2
- package/dist/checkout.d.cts +3 -3
- package/dist/checkout.d.ts +3 -3
- package/dist/index.cjs +1 -1
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +5 -5
- package/dist/index.d.ts +5 -5
- package/dist/index.js +1 -1
- package/dist/index.js.map +1 -1
- package/dist/orders.d.cts +1 -1
- package/dist/orders.d.ts +1 -1
- package/dist/segment.d.cts +1 -1
- package/dist/segment.d.ts +1 -1
- package/package.json +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,13 @@
|
|
|
1
1
|
# @viu/emporix-sdk
|
|
2
2
|
|
|
3
|
+
## 4.2.3
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- [#374](https://github.com/viuteam/emporix-sdk/pull/374) [`3418d90`](https://github.com/viuteam/emporix-sdk/commit/3418d9066fa2f9f1ec83a0499f1fa365cbee21b0) Thanks [@viu-release-bot](https://github.com/apps/viu-release-bot)! - chore(sdk): sync generated types with upstream Emporix API specs
|
|
8
|
+
|
|
9
|
+
Updated services: ai-rag-indexer,ai-service,approval-service,audit-logs-changelog,availability,cart,category,checkout,customer,customer-segment,customer-service,import-service,indexing-service,label-service,order-v2,price,product,sequential-id,session-context,shopping-list
|
|
10
|
+
|
|
3
11
|
## 4.2.2
|
|
4
12
|
|
|
5
13
|
### Patch Changes
|
package/dist/cart.d.cts
CHANGED
|
@@ -21,7 +21,7 @@ type Search = {
|
|
|
21
21
|
/**
|
|
22
22
|
* A standard query parameter is used to search for specific values.
|
|
23
23
|
*
|
|
24
|
-
* See: [Standard
|
|
24
|
+
* See: [Standard Practices - Query parameter](https://developer.emporix.io/api-documentation/standard-practices/q-param)
|
|
25
25
|
*
|
|
26
26
|
*/
|
|
27
27
|
q?: string;
|
|
@@ -76,7 +76,7 @@ type BaseCart = {
|
|
|
76
76
|
* * If the cart has a legal entity, it gets the first location of the legal entity that has both `country` and `zipCode`, and matches the required `type` - then the address has origin=`LEGAL_ENTITY`.
|
|
77
77
|
* * Otherwise, if the cart has a logged-in customer, it finds the `default` address that has both `country` and `zipCode`, and matches the required `type`. If there is no matching default address with the required information, it uses the first customer address that meets the criteria. The address has origin=`CUSTOMER`.
|
|
78
78
|
* * Otherwise, the cart uses the site homebase address. Then the address has origin=`SITE`.
|
|
79
|
-
* These addresses are used in the tax country code determination [How to determine a tax country at cart level](https://developer.emporix.io/api-
|
|
79
|
+
* These addresses are used in the tax country code determination [How to determine a tax country at cart level](https://developer.emporix.io/api-documentation/api-guides/checkout/cart/cart#how-to-determine-a-tax-country-at-cart-level) and shipping cost calculation [How to calculate shipping cost at cart level](https://developer.emporix.io/api-documentation/api-guides/checkout/cart/cart#how-to-calculate-shipping-cost-at-cart-level).
|
|
80
80
|
*/
|
|
81
81
|
addresses?: Array<AddressResponse>;
|
|
82
82
|
channel?: Channel;
|
package/dist/cart.d.ts
CHANGED
|
@@ -21,7 +21,7 @@ type Search = {
|
|
|
21
21
|
/**
|
|
22
22
|
* A standard query parameter is used to search for specific values.
|
|
23
23
|
*
|
|
24
|
-
* See: [Standard
|
|
24
|
+
* See: [Standard Practices - Query parameter](https://developer.emporix.io/api-documentation/standard-practices/q-param)
|
|
25
25
|
*
|
|
26
26
|
*/
|
|
27
27
|
q?: string;
|
|
@@ -76,7 +76,7 @@ type BaseCart = {
|
|
|
76
76
|
* * If the cart has a legal entity, it gets the first location of the legal entity that has both `country` and `zipCode`, and matches the required `type` - then the address has origin=`LEGAL_ENTITY`.
|
|
77
77
|
* * Otherwise, if the cart has a logged-in customer, it finds the `default` address that has both `country` and `zipCode`, and matches the required `type`. If there is no matching default address with the required information, it uses the first customer address that meets the criteria. The address has origin=`CUSTOMER`.
|
|
78
78
|
* * Otherwise, the cart uses the site homebase address. Then the address has origin=`SITE`.
|
|
79
|
-
* These addresses are used in the tax country code determination [How to determine a tax country at cart level](https://developer.emporix.io/api-
|
|
79
|
+
* These addresses are used in the tax country code determination [How to determine a tax country at cart level](https://developer.emporix.io/api-documentation/api-guides/checkout/cart/cart#how-to-determine-a-tax-country-at-cart-level) and shipping cost calculation [How to calculate shipping cost at cart level](https://developer.emporix.io/api-documentation/api-guides/checkout/cart/cart#how-to-calculate-shipping-cost-at-cart-level).
|
|
80
80
|
*/
|
|
81
81
|
addresses?: Array<AddressResponse>;
|
|
82
82
|
channel?: Channel;
|
package/dist/checkout.d.cts
CHANGED
|
@@ -156,7 +156,7 @@ type RequestFromQuoteCheckout = {
|
|
|
156
156
|
type RequestPaymentMethodJson = {
|
|
157
157
|
/**
|
|
158
158
|
* Payment provider, possible values:
|
|
159
|
-
* * `payment-gateway` - When the Emporix Payment-Gateway service
|
|
159
|
+
* * `payment-gateway` - When the Emporix Payment-Gateway service is used to handle a payment. For details about custom attributes that are required for a particular payment mode, check https://developer.emporix.io/api-documentation/api-guides/checkout/payment-gateway.
|
|
160
160
|
* * `custom` - When a custom provider is used. In this case the created order has the `IN_CHECKOUT` status.
|
|
161
161
|
* * `none` - For payment by cash or invoice.
|
|
162
162
|
*
|
|
@@ -167,11 +167,11 @@ type RequestPaymentMethodJson = {
|
|
|
167
167
|
*/
|
|
168
168
|
customAttributes?: {
|
|
169
169
|
/**
|
|
170
|
-
* Payment token used for the tokenized credit card flows. The field is used when provider type is `payment-gateway`. For more details, check https://developer.emporix.io/
|
|
170
|
+
* Payment token used for the tokenized credit card flows. The field is used when provider type is `payment-gateway`. For more details, check https://developer.emporix.io/api-documentation/api-guides/checkout/payment-gateway
|
|
171
171
|
*/
|
|
172
172
|
token?: string;
|
|
173
173
|
/**
|
|
174
|
-
* Identifier of a payment mode. The payment mode has to be configured in the Emporix Payment Gateway service beforehand. For more details, check https://developer.emporix.io/
|
|
174
|
+
* Identifier of a payment mode. The payment mode has to be configured in the Emporix Payment Gateway service beforehand. For more details, check https://developer.emporix.io/api-documentation/api-guides/checkout/payment-gateway
|
|
175
175
|
*/
|
|
176
176
|
modeId?: string;
|
|
177
177
|
/**
|
package/dist/checkout.d.ts
CHANGED
|
@@ -156,7 +156,7 @@ type RequestFromQuoteCheckout = {
|
|
|
156
156
|
type RequestPaymentMethodJson = {
|
|
157
157
|
/**
|
|
158
158
|
* Payment provider, possible values:
|
|
159
|
-
* * `payment-gateway` - When the Emporix Payment-Gateway service
|
|
159
|
+
* * `payment-gateway` - When the Emporix Payment-Gateway service is used to handle a payment. For details about custom attributes that are required for a particular payment mode, check https://developer.emporix.io/api-documentation/api-guides/checkout/payment-gateway.
|
|
160
160
|
* * `custom` - When a custom provider is used. In this case the created order has the `IN_CHECKOUT` status.
|
|
161
161
|
* * `none` - For payment by cash or invoice.
|
|
162
162
|
*
|
|
@@ -167,11 +167,11 @@ type RequestPaymentMethodJson = {
|
|
|
167
167
|
*/
|
|
168
168
|
customAttributes?: {
|
|
169
169
|
/**
|
|
170
|
-
* Payment token used for the tokenized credit card flows. The field is used when provider type is `payment-gateway`. For more details, check https://developer.emporix.io/
|
|
170
|
+
* Payment token used for the tokenized credit card flows. The field is used when provider type is `payment-gateway`. For more details, check https://developer.emporix.io/api-documentation/api-guides/checkout/payment-gateway
|
|
171
171
|
*/
|
|
172
172
|
token?: string;
|
|
173
173
|
/**
|
|
174
|
-
* Identifier of a payment mode. The payment mode has to be configured in the Emporix Payment Gateway service beforehand. For more details, check https://developer.emporix.io/
|
|
174
|
+
* Identifier of a payment mode. The payment mode has to be configured in the Emporix Payment Gateway service beforehand. For more details, check https://developer.emporix.io/api-documentation/api-guides/checkout/payment-gateway
|
|
175
175
|
*/
|
|
176
176
|
modeId?: string;
|
|
177
177
|
/**
|