@viu/emporix-sdk 4.7.1 → 4.8.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.
- package/CHANGELOG.md +20 -0
- package/dist/category.cjs +25 -0
- package/dist/category.cjs.map +1 -1
- package/dist/category.d.cts +59 -1
- package/dist/category.d.ts +59 -1
- package/dist/category.js +1 -1
- package/dist/{chunk-KJEBG7MP.js → chunk-PYIUJBMS.js} +27 -2
- package/dist/chunk-PYIUJBMS.js.map +1 -0
- package/dist/index.cjs +26 -1
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +8 -8
- package/dist/index.d.ts +8 -8
- package/dist/index.js +3 -3
- package/dist/index.js.map +1 -1
- package/dist/media.d.cts +4 -0
- package/dist/media.d.ts +4 -0
- package/package.json +1 -1
- package/dist/chunk-KJEBG7MP.js.map +0 -1
package/dist/index.d.cts
CHANGED
|
@@ -6,7 +6,7 @@ export { Address, AddressCreateInput, AddressUpdateInput, ChangeEmailInput, Conf
|
|
|
6
6
|
import { ProductService } from './product.cjs';
|
|
7
7
|
export { Media, Product, ProductBulkCreateInput, ProductBulkResult, ProductBulkUpdateInput, ProductCreateInput, ProductCreated, ProductPatchInput, ProductRecalculationInput, ProductRecalculationJob, ProductRecalculationJobStatus, ProductRecalculationResult, ProductTemplate, ProductTemplateCreateInput, ProductTemplateCreated, ProductTemplateUpdateInput, ProductUpdateInput, ProductVariant, ProductWriteOptions } from './product.cjs';
|
|
8
8
|
import { CategoryService } from './category.cjs';
|
|
9
|
-
export { Category, CategoryAssignment, CategoryAssignmentBulkInput, CategoryAssignmentBulkResult, CategoryAssignmentCreated, CategoryAssignmentInput, CategoryAssignmentRefBulkInput, CategoryCreateInput, CategoryCreated, CategoryNode, CategoryPatchInput, CategoryTreeSearchInput, CategoryUpdateInput, CategoryWriteOptions } from './category.cjs';
|
|
9
|
+
export { Category, CategoryAssignment, CategoryAssignmentBulkInput, CategoryAssignmentBulkResult, CategoryAssignmentCreated, CategoryAssignmentInput, CategoryAssignmentRefBulkInput, CategoryCreateInput, CategoryCreated, CategoryNode, CategoryPatchInput, CategoryTreeListParams, CategoryTreeSearchInput, CategoryUpdateInput, CategoryWriteOptions } from './category.cjs';
|
|
10
10
|
import { CartService } from './cart.cjs';
|
|
11
11
|
export { Cart, CartAddress, CartCommand, CartCommandBodies, CartCommandResult, CartCreated, CartDeliveryRestrictions, CartDiscount, CartDiscountInput, CartExecuteOptions, CartExecuteResult, CartItem, CartItemBatchEntry, CartItemInput, CartItemUpdate, CartItemsBatchResponse, CartItemsBatchUpdateInput, CartItemsBatchUpdateResult, CartSearchInput, CartSummary, CartUpdateInput, CartValidationResult, CreateCartInput } from './cart.cjs';
|
|
12
12
|
import { CheckoutService } from './checkout.cjs';
|
|
@@ -4940,7 +4940,7 @@ type TaxClass = {
|
|
|
4940
4940
|
*
|
|
4941
4941
|
* * If the `Content-Language` header is set to `*`, then the name should be provided as a map of translations, where each key is a language code and the value is the name in its respective language.
|
|
4942
4942
|
* * If the `Content-Language` header is set to a specific language, the name should be provided as a string.
|
|
4943
|
-
* * If the `Content-Language` header is empty, the endpoint will
|
|
4943
|
+
* * If the `Content-Language` header is empty, the endpoint will assume that the name is provided in the default language defined in the Configuration Service.
|
|
4944
4944
|
*
|
|
4945
4945
|
* **Note**: You can provide the names only in languages defined in the Configuration Service. In case the name is provided in a language that is not defined in the Configuration Service, the request will be rejected.
|
|
4946
4946
|
*/
|
|
@@ -4952,7 +4952,7 @@ type TaxClass = {
|
|
|
4952
4952
|
*
|
|
4953
4953
|
* * If the `Content-Language` header is set to `*`, then the description should be provided as a map of translations, where each key is a language code and the value is the description in its respective language.
|
|
4954
4954
|
* * If the `Content-Language` header is set to a specific language, the description should be provided as a string.
|
|
4955
|
-
* * If the `Content-Language` header is empty, the endpoint will
|
|
4955
|
+
* * If the `Content-Language` header is empty, the endpoint will assume that the description is provided in the default language defined in the Configuration Service.
|
|
4956
4956
|
*
|
|
4957
4957
|
* **Note**: You can provide the descriptions only in languages defined in the Configuration Service. In case the description is provided in a language that is not defined in the Configuration Service, the request will be rejected.
|
|
4958
4958
|
*/
|
|
@@ -4970,7 +4970,7 @@ type TaxClass = {
|
|
|
4970
4970
|
*/
|
|
4971
4971
|
rate: number;
|
|
4972
4972
|
/**
|
|
4973
|
-
* Indicates
|
|
4973
|
+
* Indicates whether the tax class is the default tax class for the tax configuration. Only one tax class can be marked as default for a particular tax configuration.
|
|
4974
4974
|
*/
|
|
4975
4975
|
isDefault?: boolean;
|
|
4976
4976
|
};
|
|
@@ -4979,7 +4979,7 @@ type TaxClass = {
|
|
|
4979
4979
|
*/
|
|
4980
4980
|
type TaxCreationResponse = {
|
|
4981
4981
|
/**
|
|
4982
|
-
* Code of country for which the tax configuration has been created.
|
|
4982
|
+
* Code of the country for which the tax configuration has been created.
|
|
4983
4983
|
*/
|
|
4984
4984
|
locationCode?: string;
|
|
4985
4985
|
};
|
|
@@ -5026,7 +5026,7 @@ type TaxCalculationRequest = {
|
|
|
5026
5026
|
/**
|
|
5027
5027
|
* Original price value.
|
|
5028
5028
|
*
|
|
5029
|
-
* This field
|
|
5029
|
+
* This field must contain a number where the cent part is separated by a dot — for example `12.99`.
|
|
5030
5030
|
*
|
|
5031
5031
|
* **Note**: The cent part of the price is not limited to two digits. You can specify the price with any precision.
|
|
5032
5032
|
*/
|
|
@@ -5063,8 +5063,8 @@ type TaxCalculationResponse = {
|
|
|
5063
5063
|
*
|
|
5064
5064
|
* | Value | Description |
|
|
5065
5065
|
* | --- | --- |
|
|
5066
|
-
* | `true` | Prices
|
|
5067
|
-
* | `false` | Prices
|
|
5066
|
+
* | `true` | Prices are expressed as gross values. |
|
|
5067
|
+
* | `false` | Prices are expressed as net values. |
|
|
5068
5068
|
*/
|
|
5069
5069
|
includesTax?: boolean;
|
|
5070
5070
|
/**
|
package/dist/index.d.ts
CHANGED
|
@@ -6,7 +6,7 @@ export { Address, AddressCreateInput, AddressUpdateInput, ChangeEmailInput, Conf
|
|
|
6
6
|
import { ProductService } from './product.js';
|
|
7
7
|
export { Media, Product, ProductBulkCreateInput, ProductBulkResult, ProductBulkUpdateInput, ProductCreateInput, ProductCreated, ProductPatchInput, ProductRecalculationInput, ProductRecalculationJob, ProductRecalculationJobStatus, ProductRecalculationResult, ProductTemplate, ProductTemplateCreateInput, ProductTemplateCreated, ProductTemplateUpdateInput, ProductUpdateInput, ProductVariant, ProductWriteOptions } from './product.js';
|
|
8
8
|
import { CategoryService } from './category.js';
|
|
9
|
-
export { Category, CategoryAssignment, CategoryAssignmentBulkInput, CategoryAssignmentBulkResult, CategoryAssignmentCreated, CategoryAssignmentInput, CategoryAssignmentRefBulkInput, CategoryCreateInput, CategoryCreated, CategoryNode, CategoryPatchInput, CategoryTreeSearchInput, CategoryUpdateInput, CategoryWriteOptions } from './category.js';
|
|
9
|
+
export { Category, CategoryAssignment, CategoryAssignmentBulkInput, CategoryAssignmentBulkResult, CategoryAssignmentCreated, CategoryAssignmentInput, CategoryAssignmentRefBulkInput, CategoryCreateInput, CategoryCreated, CategoryNode, CategoryPatchInput, CategoryTreeListParams, CategoryTreeSearchInput, CategoryUpdateInput, CategoryWriteOptions } from './category.js';
|
|
10
10
|
import { CartService } from './cart.js';
|
|
11
11
|
export { Cart, CartAddress, CartCommand, CartCommandBodies, CartCommandResult, CartCreated, CartDeliveryRestrictions, CartDiscount, CartDiscountInput, CartExecuteOptions, CartExecuteResult, CartItem, CartItemBatchEntry, CartItemInput, CartItemUpdate, CartItemsBatchResponse, CartItemsBatchUpdateInput, CartItemsBatchUpdateResult, CartSearchInput, CartSummary, CartUpdateInput, CartValidationResult, CreateCartInput } from './cart.js';
|
|
12
12
|
import { CheckoutService } from './checkout.js';
|
|
@@ -4940,7 +4940,7 @@ type TaxClass = {
|
|
|
4940
4940
|
*
|
|
4941
4941
|
* * If the `Content-Language` header is set to `*`, then the name should be provided as a map of translations, where each key is a language code and the value is the name in its respective language.
|
|
4942
4942
|
* * If the `Content-Language` header is set to a specific language, the name should be provided as a string.
|
|
4943
|
-
* * If the `Content-Language` header is empty, the endpoint will
|
|
4943
|
+
* * If the `Content-Language` header is empty, the endpoint will assume that the name is provided in the default language defined in the Configuration Service.
|
|
4944
4944
|
*
|
|
4945
4945
|
* **Note**: You can provide the names only in languages defined in the Configuration Service. In case the name is provided in a language that is not defined in the Configuration Service, the request will be rejected.
|
|
4946
4946
|
*/
|
|
@@ -4952,7 +4952,7 @@ type TaxClass = {
|
|
|
4952
4952
|
*
|
|
4953
4953
|
* * If the `Content-Language` header is set to `*`, then the description should be provided as a map of translations, where each key is a language code and the value is the description in its respective language.
|
|
4954
4954
|
* * If the `Content-Language` header is set to a specific language, the description should be provided as a string.
|
|
4955
|
-
* * If the `Content-Language` header is empty, the endpoint will
|
|
4955
|
+
* * If the `Content-Language` header is empty, the endpoint will assume that the description is provided in the default language defined in the Configuration Service.
|
|
4956
4956
|
*
|
|
4957
4957
|
* **Note**: You can provide the descriptions only in languages defined in the Configuration Service. In case the description is provided in a language that is not defined in the Configuration Service, the request will be rejected.
|
|
4958
4958
|
*/
|
|
@@ -4970,7 +4970,7 @@ type TaxClass = {
|
|
|
4970
4970
|
*/
|
|
4971
4971
|
rate: number;
|
|
4972
4972
|
/**
|
|
4973
|
-
* Indicates
|
|
4973
|
+
* Indicates whether the tax class is the default tax class for the tax configuration. Only one tax class can be marked as default for a particular tax configuration.
|
|
4974
4974
|
*/
|
|
4975
4975
|
isDefault?: boolean;
|
|
4976
4976
|
};
|
|
@@ -4979,7 +4979,7 @@ type TaxClass = {
|
|
|
4979
4979
|
*/
|
|
4980
4980
|
type TaxCreationResponse = {
|
|
4981
4981
|
/**
|
|
4982
|
-
* Code of country for which the tax configuration has been created.
|
|
4982
|
+
* Code of the country for which the tax configuration has been created.
|
|
4983
4983
|
*/
|
|
4984
4984
|
locationCode?: string;
|
|
4985
4985
|
};
|
|
@@ -5026,7 +5026,7 @@ type TaxCalculationRequest = {
|
|
|
5026
5026
|
/**
|
|
5027
5027
|
* Original price value.
|
|
5028
5028
|
*
|
|
5029
|
-
* This field
|
|
5029
|
+
* This field must contain a number where the cent part is separated by a dot — for example `12.99`.
|
|
5030
5030
|
*
|
|
5031
5031
|
* **Note**: The cent part of the price is not limited to two digits. You can specify the price with any precision.
|
|
5032
5032
|
*/
|
|
@@ -5063,8 +5063,8 @@ type TaxCalculationResponse = {
|
|
|
5063
5063
|
*
|
|
5064
5064
|
* | Value | Description |
|
|
5065
5065
|
* | --- | --- |
|
|
5066
|
-
* | `true` | Prices
|
|
5067
|
-
* | `false` | Prices
|
|
5066
|
+
* | `true` | Prices are expressed as gross values. |
|
|
5067
|
+
* | `false` | Prices are expressed as net values. |
|
|
5068
5068
|
*/
|
|
5069
5069
|
includesTax?: boolean;
|
|
5070
5070
|
/**
|
package/dist/index.js
CHANGED
|
@@ -16,8 +16,8 @@ import { AvailabilityService } from './chunk-ZZ3X3DDL.js';
|
|
|
16
16
|
export { AvailabilityService } from './chunk-ZZ3X3DDL.js';
|
|
17
17
|
import { CartService } from './chunk-ZLGLI4KC.js';
|
|
18
18
|
export { CartService } from './chunk-ZLGLI4KC.js';
|
|
19
|
-
import { CategoryService } from './chunk-
|
|
20
|
-
export { CategoryService } from './chunk-
|
|
19
|
+
import { CategoryService } from './chunk-PYIUJBMS.js';
|
|
20
|
+
export { CategoryService } from './chunk-PYIUJBMS.js';
|
|
21
21
|
export { iterateAll } from './chunk-W6SLZNRX.js';
|
|
22
22
|
import { resolveQuery } from './chunk-S5HEIQDK.js';
|
|
23
23
|
export { resolveQuery } from './chunk-S5HEIQDK.js';
|
|
@@ -948,7 +948,7 @@ var HttpClient = class {
|
|
|
948
948
|
};
|
|
949
949
|
|
|
950
950
|
// package.json
|
|
951
|
-
var version = "4.
|
|
951
|
+
var version = "4.8.0";
|
|
952
952
|
|
|
953
953
|
// src/version.ts
|
|
954
954
|
var SDK_VERSION = version;
|