@teemill/product-catalog 1.9.1 → 1.11.1
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/.openapi-generator/FILES +1 -0
- package/.openapi-generator/VERSION +1 -1
- package/README.md +2 -2
- package/dist/apis/ProductsApi.d.ts +15 -1
- package/dist/apis/ProductsApi.js +226 -355
- package/dist/apis/VariantsApi.d.ts +1 -1
- package/dist/apis/VariantsApi.js +83 -187
- package/dist/esm/apis/ProductsApi.d.ts +107 -0
- package/dist/esm/apis/ProductsApi.js +300 -0
- package/dist/esm/apis/VariantsApi.d.ts +50 -0
- package/dist/esm/apis/VariantsApi.js +127 -0
- package/dist/esm/apis/index.d.ts +2 -0
- package/dist/esm/apis/index.js +4 -0
- package/dist/esm/index.d.ts +3 -0
- package/dist/esm/index.js +5 -0
- package/dist/esm/models/ApiError.d.ts +37 -0
- package/dist/esm/models/ApiError.js +42 -0
- package/dist/esm/models/Attribute.d.ts +50 -0
- package/dist/esm/models/Attribute.js +49 -0
- package/dist/esm/models/AttributeThumbnail.d.ts +46 -0
- package/dist/esm/models/AttributeThumbnail.js +48 -0
- package/dist/esm/models/CreateProductRequest.d.ts +88 -0
- package/dist/esm/models/CreateProductRequest.js +63 -0
- package/dist/esm/models/CreateProductRequestAdditionalFilesInner.d.ts +31 -0
- package/dist/esm/models/CreateProductRequestAdditionalFilesInner.js +43 -0
- package/dist/esm/models/CreateProductRequestImagesInner.d.ts +31 -0
- package/dist/esm/models/CreateProductRequestImagesInner.js +38 -0
- package/dist/esm/models/CreateProductRequestSeoMetadata.d.ts +31 -0
- package/dist/esm/models/CreateProductRequestSeoMetadata.js +38 -0
- package/dist/esm/models/CreateProductRequestVariantsInner.d.ts +59 -0
- package/dist/esm/models/CreateProductRequestVariantsInner.js +57 -0
- package/dist/esm/models/CreateProductRequestVariantsInnerApplicationsInner.d.ts +63 -0
- package/dist/esm/models/CreateProductRequestVariantsInnerApplicationsInner.js +67 -0
- package/dist/esm/models/CreateProductRequestVariantsInnerAttributesInner.d.ts +37 -0
- package/dist/esm/models/CreateProductRequestVariantsInnerAttributesInner.js +46 -0
- package/dist/esm/models/CreateProductRequestVariantsInnerImagesInner.d.ts +31 -0
- package/dist/esm/models/CreateProductRequestVariantsInnerImagesInner.js +43 -0
- package/dist/esm/models/CreateProductRequestVariantsInnerRetailPrice.d.ts +37 -0
- package/dist/esm/models/CreateProductRequestVariantsInnerRetailPrice.js +46 -0
- package/dist/esm/models/CreateProductVariant.d.ts +59 -0
- package/dist/esm/models/CreateProductVariant.js +54 -0
- package/dist/esm/models/CreateProductVariantApplicationsInner.d.ts +54 -0
- package/dist/esm/models/CreateProductVariantApplicationsInner.js +58 -0
- package/dist/esm/models/CreateProductVariantAttributesInner.d.ts +37 -0
- package/dist/esm/models/CreateProductVariantAttributesInner.js +44 -0
- package/dist/esm/models/CreateProductVariantRetailPrice.d.ts +37 -0
- package/dist/esm/models/CreateProductVariantRetailPrice.js +44 -0
- package/dist/esm/models/Image.d.ts +67 -0
- package/dist/esm/models/Image.js +50 -0
- package/dist/esm/models/ImportProducts200Response.d.ts +31 -0
- package/dist/esm/models/ImportProducts200Response.js +38 -0
- package/dist/esm/models/ModelFile.d.ts +31 -0
- package/dist/esm/models/ModelFile.js +38 -0
- package/dist/esm/models/Price.d.ts +37 -0
- package/dist/esm/models/Price.js +40 -0
- package/dist/esm/models/Product.d.ts +113 -0
- package/dist/esm/models/Product.js +71 -0
- package/dist/esm/models/ProductAdditionalFilesInner.d.ts +37 -0
- package/dist/esm/models/ProductAdditionalFilesInner.js +40 -0
- package/dist/esm/models/ProductsResponse.d.ts +38 -0
- package/dist/esm/models/ProductsResponse.js +41 -0
- package/dist/esm/models/SeoMetadata.d.ts +31 -0
- package/dist/esm/models/SeoMetadata.js +38 -0
- package/dist/esm/models/Stock.d.ts +31 -0
- package/dist/esm/models/Stock.js +38 -0
- package/dist/esm/models/UpdateProductRequest.d.ts +87 -0
- package/dist/esm/models/UpdateProductRequest.js +58 -0
- package/dist/esm/models/Variant.d.ts +114 -0
- package/dist/esm/models/Variant.js +71 -0
- package/dist/esm/models/VariantProduct.d.ts +37 -0
- package/dist/esm/models/VariantProduct.js +40 -0
- package/dist/esm/models/VariantsResponse.d.ts +38 -0
- package/dist/esm/models/VariantsResponse.js +41 -0
- package/dist/esm/models/index.d.ts +23 -0
- package/dist/esm/models/index.js +25 -0
- package/dist/esm/runtime.d.ts +187 -0
- package/dist/esm/runtime.js +333 -0
- package/dist/models/ApiError.d.ts +1 -1
- package/dist/models/ApiError.js +1 -1
- package/dist/models/Attribute.d.ts +1 -1
- package/dist/models/Attribute.js +2 -2
- package/dist/models/AttributeThumbnail.d.ts +1 -1
- package/dist/models/AttributeThumbnail.js +1 -1
- package/dist/models/CreateProductRequest.d.ts +1 -1
- package/dist/models/CreateProductRequest.js +4 -4
- package/dist/models/CreateProductRequestAdditionalFilesInner.js +2 -2
- package/dist/models/CreateProductRequestImagesInner.d.ts +1 -1
- package/dist/models/CreateProductRequestImagesInner.js +1 -1
- package/dist/models/CreateProductRequestSeoMetadata.d.ts +1 -1
- package/dist/models/CreateProductRequestSeoMetadata.js +1 -1
- package/dist/models/CreateProductRequestVariantsInner.js +6 -6
- package/dist/models/CreateProductRequestVariantsInnerApplicationsInner.js +1 -1
- package/dist/models/CreateProductRequestVariantsInnerAttributesInner.js +1 -1
- package/dist/models/CreateProductRequestVariantsInnerImagesInner.js +2 -2
- package/dist/models/CreateProductRequestVariantsInnerRetailPrice.js +1 -1
- package/dist/models/CreateProductVariant.d.ts +1 -1
- package/dist/models/CreateProductVariant.js +5 -5
- package/dist/models/CreateProductVariantApplicationsInner.d.ts +2 -11
- package/dist/models/CreateProductVariantApplicationsInner.js +2 -10
- package/dist/models/CreateProductVariantAttributesInner.d.ts +1 -1
- package/dist/models/CreateProductVariantAttributesInner.js +1 -1
- package/dist/models/CreateProductVariantRetailPrice.d.ts +1 -1
- package/dist/models/CreateProductVariantRetailPrice.js +1 -1
- package/dist/models/Image.d.ts +1 -1
- package/dist/models/Image.js +1 -1
- package/dist/models/ImportProducts200Response.d.ts +1 -1
- package/dist/models/ImportProducts200Response.js +1 -1
- package/dist/models/ModelFile.d.ts +1 -1
- package/dist/models/ModelFile.js +1 -1
- package/dist/models/Price.d.ts +1 -1
- package/dist/models/Price.js +1 -1
- package/dist/models/Product.d.ts +2 -2
- package/dist/models/Product.js +5 -5
- package/dist/models/ProductAdditionalFilesInner.d.ts +1 -1
- package/dist/models/ProductAdditionalFilesInner.js +1 -1
- package/dist/models/ProductsResponse.d.ts +1 -1
- package/dist/models/ProductsResponse.js +2 -2
- package/dist/models/SeoMetadata.d.ts +1 -1
- package/dist/models/SeoMetadata.js +1 -1
- package/dist/models/Stock.d.ts +1 -1
- package/dist/models/Stock.js +1 -1
- package/dist/models/UpdateProductRequest.d.ts +1 -1
- package/dist/models/UpdateProductRequest.js +3 -3
- package/dist/models/Variant.d.ts +2 -2
- package/dist/models/Variant.js +6 -6
- package/dist/models/VariantProduct.d.ts +1 -1
- package/dist/models/VariantProduct.js +1 -1
- package/dist/models/VariantsResponse.d.ts +1 -1
- package/dist/models/VariantsResponse.js +2 -2
- package/dist/runtime.d.ts +1 -1
- package/dist/runtime.js +223 -439
- package/package.json +4 -2
- package/src/apis/ProductsApi.ts +62 -1
- package/src/apis/VariantsApi.ts +1 -1
- package/src/models/ApiError.ts +1 -1
- package/src/models/Attribute.ts +1 -1
- package/src/models/AttributeThumbnail.ts +1 -1
- package/src/models/CreateProductRequest.ts +1 -1
- package/src/models/CreateProductRequestImagesInner.ts +1 -1
- package/src/models/CreateProductRequestSeoMetadata.ts +1 -1
- package/src/models/CreateProductVariant.ts +1 -1
- package/src/models/CreateProductVariantApplicationsInner.ts +2 -12
- package/src/models/CreateProductVariantAttributesInner.ts +1 -1
- package/src/models/CreateProductVariantRetailPrice.ts +1 -1
- package/src/models/Image.ts +1 -1
- package/src/models/ImportProducts200Response.ts +1 -1
- package/src/models/ModelFile.ts +1 -1
- package/src/models/Price.ts +1 -1
- package/src/models/Product.ts +2 -2
- package/src/models/ProductAdditionalFilesInner.ts +1 -1
- package/src/models/ProductsResponse.ts +1 -1
- package/src/models/SeoMetadata.ts +1 -1
- package/src/models/Stock.ts +1 -1
- package/src/models/UpdateProductRequest.ts +1 -1
- package/src/models/Variant.ts +2 -2
- package/src/models/VariantProduct.ts +1 -1
- package/src/models/VariantsResponse.ts +1 -1
- package/src/runtime.ts +1 -1
- package/tsconfig.esm.json +7 -0
- package/tsconfig.json +2 -2
package/dist/models/Variant.d.ts
CHANGED
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
* Product Catalog API
|
|
3
3
|
* Manage Product Catalog A catalog product is an object that represents a product listing that can be purchased from the given project. It contains a combination of design applications and a warehouse product, plus listing information such as title, description and tags.
|
|
4
4
|
*
|
|
5
|
-
* The version of the OpenAPI document: 1.
|
|
5
|
+
* The version of the OpenAPI document: 1.11.1
|
|
6
6
|
* Contact: hello@teemill.com
|
|
7
7
|
*
|
|
8
8
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -111,4 +111,4 @@ export interface Variant {
|
|
|
111
111
|
export declare function instanceOfVariant(value: object): boolean;
|
|
112
112
|
export declare function VariantFromJSON(json: any): Variant;
|
|
113
113
|
export declare function VariantFromJSONTyped(json: any, ignoreDiscriminator: boolean): Variant;
|
|
114
|
-
export declare function VariantToJSON(value?: Variant | null): any;
|
|
114
|
+
export declare function VariantToJSON(value?: Omit<Variant, 'sortOrder' | 'price'> | null): any;
|
package/dist/models/Variant.js
CHANGED
|
@@ -5,7 +5,7 @@
|
|
|
5
5
|
* Product Catalog API
|
|
6
6
|
* Manage Product Catalog A catalog product is an object that represents a product listing that can be purchased from the given project. It contains a combination of design applications and a warehouse product, plus listing information such as title, description and tags.
|
|
7
7
|
*
|
|
8
|
-
* The version of the OpenAPI document: 1.
|
|
8
|
+
* The version of the OpenAPI document: 1.11.1
|
|
9
9
|
* Contact: hello@teemill.com
|
|
10
10
|
*
|
|
11
11
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -14,11 +14,11 @@
|
|
|
14
14
|
*/
|
|
15
15
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
16
16
|
exports.VariantToJSON = exports.VariantFromJSONTyped = exports.VariantFromJSON = exports.instanceOfVariant = void 0;
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
17
|
+
const Attribute_1 = require("./Attribute");
|
|
18
|
+
const Image_1 = require("./Image");
|
|
19
|
+
const Price_1 = require("./Price");
|
|
20
|
+
const Stock_1 = require("./Stock");
|
|
21
|
+
const VariantProduct_1 = require("./VariantProduct");
|
|
22
22
|
/**
|
|
23
23
|
* Check if a given object implements the Variant interface.
|
|
24
24
|
*/
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
* Product Catalog API
|
|
3
3
|
* Manage Product Catalog A catalog product is an object that represents a product listing that can be purchased from the given project. It contains a combination of design applications and a warehouse product, plus listing information such as title, description and tags.
|
|
4
4
|
*
|
|
5
|
-
* The version of the OpenAPI document: 1.
|
|
5
|
+
* The version of the OpenAPI document: 1.11.1
|
|
6
6
|
* Contact: hello@teemill.com
|
|
7
7
|
*
|
|
8
8
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -5,7 +5,7 @@
|
|
|
5
5
|
* Product Catalog API
|
|
6
6
|
* Manage Product Catalog A catalog product is an object that represents a product listing that can be purchased from the given project. It contains a combination of design applications and a warehouse product, plus listing information such as title, description and tags.
|
|
7
7
|
*
|
|
8
|
-
* The version of the OpenAPI document: 1.
|
|
8
|
+
* The version of the OpenAPI document: 1.11.1
|
|
9
9
|
* Contact: hello@teemill.com
|
|
10
10
|
*
|
|
11
11
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
* Product Catalog API
|
|
3
3
|
* Manage Product Catalog A catalog product is an object that represents a product listing that can be purchased from the given project. It contains a combination of design applications and a warehouse product, plus listing information such as title, description and tags.
|
|
4
4
|
*
|
|
5
|
-
* The version of the OpenAPI document: 1.
|
|
5
|
+
* The version of the OpenAPI document: 1.11.1
|
|
6
6
|
* Contact: hello@teemill.com
|
|
7
7
|
*
|
|
8
8
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -5,7 +5,7 @@
|
|
|
5
5
|
* Product Catalog API
|
|
6
6
|
* Manage Product Catalog A catalog product is an object that represents a product listing that can be purchased from the given project. It contains a combination of design applications and a warehouse product, plus listing information such as title, description and tags.
|
|
7
7
|
*
|
|
8
|
-
* The version of the OpenAPI document: 1.
|
|
8
|
+
* The version of the OpenAPI document: 1.11.1
|
|
9
9
|
* Contact: hello@teemill.com
|
|
10
10
|
*
|
|
11
11
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -14,7 +14,7 @@
|
|
|
14
14
|
*/
|
|
15
15
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
16
16
|
exports.VariantsResponseToJSON = exports.VariantsResponseFromJSONTyped = exports.VariantsResponseFromJSON = exports.instanceOfVariantsResponse = void 0;
|
|
17
|
-
|
|
17
|
+
const Variant_1 = require("./Variant");
|
|
18
18
|
/**
|
|
19
19
|
* Check if a given object implements the VariantsResponse interface.
|
|
20
20
|
*/
|
package/dist/runtime.d.ts
CHANGED
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
* Product Catalog API
|
|
3
3
|
* Manage Product Catalog A catalog product is an object that represents a product listing that can be purchased from the given project. It contains a combination of design applications and a warehouse product, plus listing information such as title, description and tags.
|
|
4
4
|
*
|
|
5
|
-
* The version of the OpenAPI document: 1.
|
|
5
|
+
* The version of the OpenAPI document: 1.11.1
|
|
6
6
|
* Contact: hello@teemill.com
|
|
7
7
|
*
|
|
8
8
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|