@teemill/product-catalog 1.6.2 → 1.6.4
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 +5 -4
- package/dist/apis/ProductsApi.d.ts +11 -25
- package/dist/apis/ProductsApi.js +10 -75
- package/dist/apis/VariantsApi.d.ts +6 -6
- package/dist/apis/VariantsApi.js +6 -6
- package/dist/models/ApiError.d.ts +2 -2
- package/dist/models/ApiError.js +2 -2
- package/dist/models/Attribute.d.ts +2 -2
- package/dist/models/Attribute.js +2 -2
- package/dist/models/AttributeThumbnail.d.ts +3 -3
- package/dist/models/AttributeThumbnail.js +2 -2
- package/dist/models/CreateProductRequest.d.ts +7 -7
- package/dist/models/CreateProductRequest.js +2 -2
- package/dist/models/CreateProductRequestVariantsInner.d.ts +10 -10
- package/dist/models/CreateProductRequestVariantsInner.js +9 -7
- package/dist/models/CreateProductRequestVariantsInnerApplicationsInner.d.ts +12 -8
- package/dist/models/CreateProductRequestVariantsInnerApplicationsInner.js +14 -8
- package/dist/models/CreateProductRequestVariantsInnerAttributesInner.d.ts +4 -4
- package/dist/models/CreateProductRequestVariantsInnerAttributesInner.js +6 -5
- package/dist/models/CreateProductRequestVariantsInnerImagesInner.d.ts +3 -3
- package/dist/models/CreateProductRequestVariantsInnerImagesInner.js +2 -2
- package/dist/models/CreateProductRequestVariantsInnerRetailPrice.d.ts +37 -0
- package/dist/models/CreateProductRequestVariantsInnerRetailPrice.js +53 -0
- package/dist/models/Image.d.ts +2 -2
- package/dist/models/Image.js +2 -2
- package/dist/models/ImportProducts200Response.d.ts +2 -2
- package/dist/models/ImportProducts200Response.js +2 -2
- package/dist/models/Price.d.ts +2 -2
- package/dist/models/Price.js +2 -2
- package/dist/models/Product.d.ts +3 -3
- package/dist/models/Product.js +2 -2
- package/dist/models/ProductAdditionalFilesInner.d.ts +3 -3
- package/dist/models/ProductAdditionalFilesInner.js +2 -2
- package/dist/models/ProductsResponse.d.ts +2 -2
- package/dist/models/ProductsResponse.js +2 -2
- package/dist/models/Stock.d.ts +2 -2
- package/dist/models/Stock.js +2 -2
- package/dist/models/Variant.d.ts +2 -2
- package/dist/models/Variant.js +2 -2
- package/dist/models/VariantProduct.d.ts +2 -2
- package/dist/models/VariantProduct.js +2 -2
- package/dist/models/VariantsResponse.d.ts +2 -2
- package/dist/models/VariantsResponse.js +2 -2
- package/dist/models/index.d.ts +1 -0
- package/dist/models/index.js +1 -0
- package/dist/runtime.d.ts +2 -2
- package/dist/runtime.js +2 -2
- package/package.json +1 -1
- package/src/apis/ProductsApi.ts +10 -77
- package/src/apis/VariantsApi.ts +6 -6
- package/src/models/ApiError.ts +2 -2
- package/src/models/Attribute.ts +2 -2
- package/src/models/AttributeThumbnail.ts +3 -3
- package/src/models/CreateProductRequest.ts +7 -7
- package/src/models/CreateProductRequestVariantsInner.ts +20 -18
- package/src/models/CreateProductRequestVariantsInnerApplicationsInner.ts +20 -13
- package/src/models/CreateProductRequestVariantsInnerAttributesInner.ts +8 -6
- package/src/models/CreateProductRequestVariantsInnerImagesInner.ts +3 -3
- package/src/models/CreateProductRequestVariantsInnerRetailPrice.ts +75 -0
- package/src/models/Image.ts +2 -2
- package/src/models/ImportProducts200Response.ts +2 -2
- package/src/models/Price.ts +2 -2
- package/src/models/Product.ts +3 -3
- package/src/models/ProductAdditionalFilesInner.ts +3 -3
- package/src/models/ProductsResponse.ts +2 -2
- package/src/models/Stock.ts +2 -2
- package/src/models/Variant.ts +2 -2
- package/src/models/VariantProduct.ts +2 -2
- package/src/models/VariantsResponse.ts +2 -2
- package/src/models/index.ts +1 -0
- package/src/runtime.ts +2 -2
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* Product Catalog API
|
|
3
|
-
* Manage Product Catalog
|
|
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.6.
|
|
5
|
+
* The version of the OpenAPI document: 1.6.4
|
|
6
6
|
* Contact: hello@teemill.com
|
|
7
7
|
*
|
|
8
8
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -16,23 +16,23 @@
|
|
|
16
16
|
*/
|
|
17
17
|
export interface CreateProductRequestVariantsInnerApplicationsInner {
|
|
18
18
|
/**
|
|
19
|
-
* Technology to use for the application
|
|
19
|
+
* Technology to use for the application.
|
|
20
20
|
* @type {string}
|
|
21
21
|
* @memberof CreateProductRequestVariantsInnerApplicationsInner
|
|
22
22
|
*/
|
|
23
|
-
technology
|
|
23
|
+
technology: CreateProductRequestVariantsInnerApplicationsInnerTechnologyEnum;
|
|
24
24
|
/**
|
|
25
|
-
* Placement of the application
|
|
25
|
+
* Placement of the application. Available placements depend on the chosen product and technology.
|
|
26
26
|
* @type {string}
|
|
27
27
|
* @memberof CreateProductRequestVariantsInnerApplicationsInner
|
|
28
28
|
*/
|
|
29
|
-
placement
|
|
29
|
+
placement: CreateProductRequestVariantsInnerApplicationsInnerPlacementEnum;
|
|
30
30
|
/**
|
|
31
|
-
*
|
|
31
|
+
* Publicly available design file URL. This will fill the design area of the warehouse product. It will be centered horizontally and aligned to the top of the design area. Accepts PNG and JPEG files.
|
|
32
32
|
* @type {string}
|
|
33
33
|
* @memberof CreateProductRequestVariantsInnerApplicationsInner
|
|
34
34
|
*/
|
|
35
|
-
src
|
|
35
|
+
src: string;
|
|
36
36
|
}
|
|
37
37
|
/**
|
|
38
38
|
* @export
|
|
@@ -40,6 +40,7 @@ export interface CreateProductRequestVariantsInnerApplicationsInner {
|
|
|
40
40
|
export declare const CreateProductRequestVariantsInnerApplicationsInnerTechnologyEnum: {
|
|
41
41
|
readonly Dtg: "dtg";
|
|
42
42
|
readonly Embroidery: "embroidery";
|
|
43
|
+
readonly Dtf: "dtf";
|
|
43
44
|
};
|
|
44
45
|
export type CreateProductRequestVariantsInnerApplicationsInnerTechnologyEnum = typeof CreateProductRequestVariantsInnerApplicationsInnerTechnologyEnum[keyof typeof CreateProductRequestVariantsInnerApplicationsInnerTechnologyEnum];
|
|
45
46
|
/**
|
|
@@ -48,6 +49,9 @@ export type CreateProductRequestVariantsInnerApplicationsInnerTechnologyEnum = t
|
|
|
48
49
|
export declare const CreateProductRequestVariantsInnerApplicationsInnerPlacementEnum: {
|
|
49
50
|
readonly Front: "front";
|
|
50
51
|
readonly Back: "back";
|
|
52
|
+
readonly Left: "left";
|
|
53
|
+
readonly Right: "right";
|
|
54
|
+
readonly Neck: "neck";
|
|
51
55
|
};
|
|
52
56
|
export type CreateProductRequestVariantsInnerApplicationsInnerPlacementEnum = typeof CreateProductRequestVariantsInnerApplicationsInnerPlacementEnum[keyof typeof CreateProductRequestVariantsInnerApplicationsInnerPlacementEnum];
|
|
53
57
|
/**
|
|
@@ -3,9 +3,9 @@
|
|
|
3
3
|
/* eslint-disable */
|
|
4
4
|
/**
|
|
5
5
|
* Product Catalog API
|
|
6
|
-
* Manage Product Catalog
|
|
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.6.
|
|
8
|
+
* The version of the OpenAPI document: 1.6.4
|
|
9
9
|
* Contact: hello@teemill.com
|
|
10
10
|
*
|
|
11
11
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -14,26 +14,32 @@
|
|
|
14
14
|
*/
|
|
15
15
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
16
16
|
exports.CreateProductRequestVariantsInnerApplicationsInnerToJSON = exports.CreateProductRequestVariantsInnerApplicationsInnerFromJSONTyped = exports.CreateProductRequestVariantsInnerApplicationsInnerFromJSON = exports.instanceOfCreateProductRequestVariantsInnerApplicationsInner = exports.CreateProductRequestVariantsInnerApplicationsInnerPlacementEnum = exports.CreateProductRequestVariantsInnerApplicationsInnerTechnologyEnum = void 0;
|
|
17
|
-
var runtime_1 = require("../runtime");
|
|
18
17
|
/**
|
|
19
18
|
* @export
|
|
20
19
|
*/
|
|
21
20
|
exports.CreateProductRequestVariantsInnerApplicationsInnerTechnologyEnum = {
|
|
22
21
|
Dtg: 'dtg',
|
|
23
|
-
Embroidery: 'embroidery'
|
|
22
|
+
Embroidery: 'embroidery',
|
|
23
|
+
Dtf: 'dtf'
|
|
24
24
|
};
|
|
25
25
|
/**
|
|
26
26
|
* @export
|
|
27
27
|
*/
|
|
28
28
|
exports.CreateProductRequestVariantsInnerApplicationsInnerPlacementEnum = {
|
|
29
29
|
Front: 'front',
|
|
30
|
-
Back: 'back'
|
|
30
|
+
Back: 'back',
|
|
31
|
+
Left: 'left',
|
|
32
|
+
Right: 'right',
|
|
33
|
+
Neck: 'neck'
|
|
31
34
|
};
|
|
32
35
|
/**
|
|
33
36
|
* Check if a given object implements the CreateProductRequestVariantsInnerApplicationsInner interface.
|
|
34
37
|
*/
|
|
35
38
|
function instanceOfCreateProductRequestVariantsInnerApplicationsInner(value) {
|
|
36
39
|
var isInstance = true;
|
|
40
|
+
isInstance = isInstance && "technology" in value;
|
|
41
|
+
isInstance = isInstance && "placement" in value;
|
|
42
|
+
isInstance = isInstance && "src" in value;
|
|
37
43
|
return isInstance;
|
|
38
44
|
}
|
|
39
45
|
exports.instanceOfCreateProductRequestVariantsInnerApplicationsInner = instanceOfCreateProductRequestVariantsInnerApplicationsInner;
|
|
@@ -46,9 +52,9 @@ function CreateProductRequestVariantsInnerApplicationsInnerFromJSONTyped(json, i
|
|
|
46
52
|
return json;
|
|
47
53
|
}
|
|
48
54
|
return {
|
|
49
|
-
'technology':
|
|
50
|
-
'placement':
|
|
51
|
-
'src':
|
|
55
|
+
'technology': json['technology'],
|
|
56
|
+
'placement': json['placement'],
|
|
57
|
+
'src': json['src'],
|
|
52
58
|
};
|
|
53
59
|
}
|
|
54
60
|
exports.CreateProductRequestVariantsInnerApplicationsInnerFromJSONTyped = CreateProductRequestVariantsInnerApplicationsInnerFromJSONTyped;
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* Product Catalog API
|
|
3
|
-
* Manage Product Catalog
|
|
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.6.
|
|
5
|
+
* The version of the OpenAPI document: 1.6.4
|
|
6
6
|
* Contact: hello@teemill.com
|
|
7
7
|
*
|
|
8
8
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -20,13 +20,13 @@ export interface CreateProductRequestVariantsInnerAttributesInner {
|
|
|
20
20
|
* @type {string}
|
|
21
21
|
* @memberof CreateProductRequestVariantsInnerAttributesInner
|
|
22
22
|
*/
|
|
23
|
-
name
|
|
23
|
+
name: string;
|
|
24
24
|
/**
|
|
25
25
|
* Attribute value
|
|
26
26
|
* @type {string}
|
|
27
27
|
* @memberof CreateProductRequestVariantsInnerAttributesInner
|
|
28
28
|
*/
|
|
29
|
-
value
|
|
29
|
+
value: string;
|
|
30
30
|
}
|
|
31
31
|
/**
|
|
32
32
|
* Check if a given object implements the CreateProductRequestVariantsInnerAttributesInner interface.
|
|
@@ -3,9 +3,9 @@
|
|
|
3
3
|
/* eslint-disable */
|
|
4
4
|
/**
|
|
5
5
|
* Product Catalog API
|
|
6
|
-
* Manage Product Catalog
|
|
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.6.
|
|
8
|
+
* The version of the OpenAPI document: 1.6.4
|
|
9
9
|
* Contact: hello@teemill.com
|
|
10
10
|
*
|
|
11
11
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -14,12 +14,13 @@
|
|
|
14
14
|
*/
|
|
15
15
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
16
16
|
exports.CreateProductRequestVariantsInnerAttributesInnerToJSON = exports.CreateProductRequestVariantsInnerAttributesInnerFromJSONTyped = exports.CreateProductRequestVariantsInnerAttributesInnerFromJSON = exports.instanceOfCreateProductRequestVariantsInnerAttributesInner = void 0;
|
|
17
|
-
var runtime_1 = require("../runtime");
|
|
18
17
|
/**
|
|
19
18
|
* Check if a given object implements the CreateProductRequestVariantsInnerAttributesInner interface.
|
|
20
19
|
*/
|
|
21
20
|
function instanceOfCreateProductRequestVariantsInnerAttributesInner(value) {
|
|
22
21
|
var isInstance = true;
|
|
22
|
+
isInstance = isInstance && "name" in value;
|
|
23
|
+
isInstance = isInstance && "value" in value;
|
|
23
24
|
return isInstance;
|
|
24
25
|
}
|
|
25
26
|
exports.instanceOfCreateProductRequestVariantsInnerAttributesInner = instanceOfCreateProductRequestVariantsInnerAttributesInner;
|
|
@@ -32,8 +33,8 @@ function CreateProductRequestVariantsInnerAttributesInnerFromJSONTyped(json, ign
|
|
|
32
33
|
return json;
|
|
33
34
|
}
|
|
34
35
|
return {
|
|
35
|
-
'name':
|
|
36
|
-
'value':
|
|
36
|
+
'name': json['name'],
|
|
37
|
+
'value': json['value'],
|
|
37
38
|
};
|
|
38
39
|
}
|
|
39
40
|
exports.CreateProductRequestVariantsInnerAttributesInnerFromJSONTyped = CreateProductRequestVariantsInnerAttributesInnerFromJSONTyped;
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* Product Catalog API
|
|
3
|
-
* Manage Product Catalog
|
|
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.6.
|
|
5
|
+
* The version of the OpenAPI document: 1.6.4
|
|
6
6
|
* Contact: hello@teemill.com
|
|
7
7
|
*
|
|
8
8
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -16,7 +16,7 @@
|
|
|
16
16
|
*/
|
|
17
17
|
export interface CreateProductRequestVariantsInnerImagesInner {
|
|
18
18
|
/**
|
|
19
|
-
*
|
|
19
|
+
* Publicly available file URL.
|
|
20
20
|
* @type {string}
|
|
21
21
|
* @memberof CreateProductRequestVariantsInnerImagesInner
|
|
22
22
|
*/
|
|
@@ -3,9 +3,9 @@
|
|
|
3
3
|
/* eslint-disable */
|
|
4
4
|
/**
|
|
5
5
|
* Product Catalog API
|
|
6
|
-
* Manage Product Catalog
|
|
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.6.
|
|
8
|
+
* The version of the OpenAPI document: 1.6.4
|
|
9
9
|
* Contact: hello@teemill.com
|
|
10
10
|
*
|
|
11
11
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -0,0 +1,37 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Product Catalog API
|
|
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
|
+
*
|
|
5
|
+
* The version of the OpenAPI document: 1.6.4
|
|
6
|
+
* Contact: hello@teemill.com
|
|
7
|
+
*
|
|
8
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
9
|
+
* https://openapi-generator.tech
|
|
10
|
+
* Do not edit the class manually.
|
|
11
|
+
*/
|
|
12
|
+
/**
|
|
13
|
+
* Variant retail price including tax.
|
|
14
|
+
* @export
|
|
15
|
+
* @interface CreateProductRequestVariantsInnerRetailPrice
|
|
16
|
+
*/
|
|
17
|
+
export interface CreateProductRequestVariantsInnerRetailPrice {
|
|
18
|
+
/**
|
|
19
|
+
* Price including tax in the specified currency.
|
|
20
|
+
* @type {number}
|
|
21
|
+
* @memberof CreateProductRequestVariantsInnerRetailPrice
|
|
22
|
+
*/
|
|
23
|
+
amount: number;
|
|
24
|
+
/**
|
|
25
|
+
* Currency code for the currency the price is valued in.
|
|
26
|
+
* @type {string}
|
|
27
|
+
* @memberof CreateProductRequestVariantsInnerRetailPrice
|
|
28
|
+
*/
|
|
29
|
+
currencyCode: string;
|
|
30
|
+
}
|
|
31
|
+
/**
|
|
32
|
+
* Check if a given object implements the CreateProductRequestVariantsInnerRetailPrice interface.
|
|
33
|
+
*/
|
|
34
|
+
export declare function instanceOfCreateProductRequestVariantsInnerRetailPrice(value: object): boolean;
|
|
35
|
+
export declare function CreateProductRequestVariantsInnerRetailPriceFromJSON(json: any): CreateProductRequestVariantsInnerRetailPrice;
|
|
36
|
+
export declare function CreateProductRequestVariantsInnerRetailPriceFromJSONTyped(json: any, ignoreDiscriminator: boolean): CreateProductRequestVariantsInnerRetailPrice;
|
|
37
|
+
export declare function CreateProductRequestVariantsInnerRetailPriceToJSON(value?: CreateProductRequestVariantsInnerRetailPrice | null): any;
|
|
@@ -0,0 +1,53 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/* tslint:disable */
|
|
3
|
+
/* eslint-disable */
|
|
4
|
+
/**
|
|
5
|
+
* Product Catalog API
|
|
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
|
+
*
|
|
8
|
+
* The version of the OpenAPI document: 1.6.4
|
|
9
|
+
* Contact: hello@teemill.com
|
|
10
|
+
*
|
|
11
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
12
|
+
* https://openapi-generator.tech
|
|
13
|
+
* Do not edit the class manually.
|
|
14
|
+
*/
|
|
15
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
16
|
+
exports.CreateProductRequestVariantsInnerRetailPriceToJSON = exports.CreateProductRequestVariantsInnerRetailPriceFromJSONTyped = exports.CreateProductRequestVariantsInnerRetailPriceFromJSON = exports.instanceOfCreateProductRequestVariantsInnerRetailPrice = void 0;
|
|
17
|
+
/**
|
|
18
|
+
* Check if a given object implements the CreateProductRequestVariantsInnerRetailPrice interface.
|
|
19
|
+
*/
|
|
20
|
+
function instanceOfCreateProductRequestVariantsInnerRetailPrice(value) {
|
|
21
|
+
var isInstance = true;
|
|
22
|
+
isInstance = isInstance && "amount" in value;
|
|
23
|
+
isInstance = isInstance && "currencyCode" in value;
|
|
24
|
+
return isInstance;
|
|
25
|
+
}
|
|
26
|
+
exports.instanceOfCreateProductRequestVariantsInnerRetailPrice = instanceOfCreateProductRequestVariantsInnerRetailPrice;
|
|
27
|
+
function CreateProductRequestVariantsInnerRetailPriceFromJSON(json) {
|
|
28
|
+
return CreateProductRequestVariantsInnerRetailPriceFromJSONTyped(json, false);
|
|
29
|
+
}
|
|
30
|
+
exports.CreateProductRequestVariantsInnerRetailPriceFromJSON = CreateProductRequestVariantsInnerRetailPriceFromJSON;
|
|
31
|
+
function CreateProductRequestVariantsInnerRetailPriceFromJSONTyped(json, ignoreDiscriminator) {
|
|
32
|
+
if ((json === undefined) || (json === null)) {
|
|
33
|
+
return json;
|
|
34
|
+
}
|
|
35
|
+
return {
|
|
36
|
+
'amount': json['amount'],
|
|
37
|
+
'currencyCode': json['currencyCode'],
|
|
38
|
+
};
|
|
39
|
+
}
|
|
40
|
+
exports.CreateProductRequestVariantsInnerRetailPriceFromJSONTyped = CreateProductRequestVariantsInnerRetailPriceFromJSONTyped;
|
|
41
|
+
function CreateProductRequestVariantsInnerRetailPriceToJSON(value) {
|
|
42
|
+
if (value === undefined) {
|
|
43
|
+
return undefined;
|
|
44
|
+
}
|
|
45
|
+
if (value === null) {
|
|
46
|
+
return null;
|
|
47
|
+
}
|
|
48
|
+
return {
|
|
49
|
+
'amount': value.amount,
|
|
50
|
+
'currencyCode': value.currencyCode,
|
|
51
|
+
};
|
|
52
|
+
}
|
|
53
|
+
exports.CreateProductRequestVariantsInnerRetailPriceToJSON = CreateProductRequestVariantsInnerRetailPriceToJSON;
|
package/dist/models/Image.d.ts
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* Product Catalog API
|
|
3
|
-
* Manage Product Catalog
|
|
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.6.
|
|
5
|
+
* The version of the OpenAPI document: 1.6.4
|
|
6
6
|
* Contact: hello@teemill.com
|
|
7
7
|
*
|
|
8
8
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
package/dist/models/Image.js
CHANGED
|
@@ -3,9 +3,9 @@
|
|
|
3
3
|
/* eslint-disable */
|
|
4
4
|
/**
|
|
5
5
|
* Product Catalog API
|
|
6
|
-
* Manage Product Catalog
|
|
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.6.
|
|
8
|
+
* The version of the OpenAPI document: 1.6.4
|
|
9
9
|
* Contact: hello@teemill.com
|
|
10
10
|
*
|
|
11
11
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* Product Catalog API
|
|
3
|
-
* Manage Product Catalog
|
|
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.6.
|
|
5
|
+
* The version of the OpenAPI document: 1.6.4
|
|
6
6
|
* Contact: hello@teemill.com
|
|
7
7
|
*
|
|
8
8
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -3,9 +3,9 @@
|
|
|
3
3
|
/* eslint-disable */
|
|
4
4
|
/**
|
|
5
5
|
* Product Catalog API
|
|
6
|
-
* Manage Product Catalog
|
|
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.6.
|
|
8
|
+
* The version of the OpenAPI document: 1.6.4
|
|
9
9
|
* Contact: hello@teemill.com
|
|
10
10
|
*
|
|
11
11
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
package/dist/models/Price.d.ts
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* Product Catalog API
|
|
3
|
-
* Manage Product Catalog
|
|
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.6.
|
|
5
|
+
* The version of the OpenAPI document: 1.6.4
|
|
6
6
|
* Contact: hello@teemill.com
|
|
7
7
|
*
|
|
8
8
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
package/dist/models/Price.js
CHANGED
|
@@ -3,9 +3,9 @@
|
|
|
3
3
|
/* eslint-disable */
|
|
4
4
|
/**
|
|
5
5
|
* Product Catalog API
|
|
6
|
-
* Manage Product Catalog
|
|
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.6.
|
|
8
|
+
* The version of the OpenAPI document: 1.6.4
|
|
9
9
|
* Contact: hello@teemill.com
|
|
10
10
|
*
|
|
11
11
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
package/dist/models/Product.d.ts
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* Product Catalog API
|
|
3
|
-
* Manage Product Catalog
|
|
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.6.
|
|
5
|
+
* The version of the OpenAPI document: 1.6.4
|
|
6
6
|
* Contact: hello@teemill.com
|
|
7
7
|
*
|
|
8
8
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -85,7 +85,7 @@ export interface Product {
|
|
|
85
85
|
*/
|
|
86
86
|
variants?: Array<Variant>;
|
|
87
87
|
/**
|
|
88
|
-
* Additional files
|
|
88
|
+
* Additional files attached to the product.
|
|
89
89
|
* @type {Array<ProductAdditionalFilesInner>}
|
|
90
90
|
* @memberof Product
|
|
91
91
|
*/
|
package/dist/models/Product.js
CHANGED
|
@@ -3,9 +3,9 @@
|
|
|
3
3
|
/* eslint-disable */
|
|
4
4
|
/**
|
|
5
5
|
* Product Catalog API
|
|
6
|
-
* Manage Product Catalog
|
|
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.6.
|
|
8
|
+
* The version of the OpenAPI document: 1.6.4
|
|
9
9
|
* Contact: hello@teemill.com
|
|
10
10
|
*
|
|
11
11
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* Product Catalog API
|
|
3
|
-
* Manage Product Catalog
|
|
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.6.
|
|
5
|
+
* The version of the OpenAPI document: 1.6.4
|
|
6
6
|
* Contact: hello@teemill.com
|
|
7
7
|
*
|
|
8
8
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -22,7 +22,7 @@ export interface ProductAdditionalFilesInner {
|
|
|
22
22
|
*/
|
|
23
23
|
id?: string;
|
|
24
24
|
/**
|
|
25
|
-
* File
|
|
25
|
+
* File URL
|
|
26
26
|
* @type {string}
|
|
27
27
|
* @memberof ProductAdditionalFilesInner
|
|
28
28
|
*/
|
|
@@ -3,9 +3,9 @@
|
|
|
3
3
|
/* eslint-disable */
|
|
4
4
|
/**
|
|
5
5
|
* Product Catalog API
|
|
6
|
-
* Manage Product Catalog
|
|
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.6.
|
|
8
|
+
* The version of the OpenAPI document: 1.6.4
|
|
9
9
|
* Contact: hello@teemill.com
|
|
10
10
|
*
|
|
11
11
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* Product Catalog API
|
|
3
|
-
* Manage Product Catalog
|
|
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.6.
|
|
5
|
+
* The version of the OpenAPI document: 1.6.4
|
|
6
6
|
* Contact: hello@teemill.com
|
|
7
7
|
*
|
|
8
8
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -3,9 +3,9 @@
|
|
|
3
3
|
/* eslint-disable */
|
|
4
4
|
/**
|
|
5
5
|
* Product Catalog API
|
|
6
|
-
* Manage Product Catalog
|
|
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.6.
|
|
8
|
+
* The version of the OpenAPI document: 1.6.4
|
|
9
9
|
* Contact: hello@teemill.com
|
|
10
10
|
*
|
|
11
11
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
package/dist/models/Stock.d.ts
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* Product Catalog API
|
|
3
|
-
* Manage Product Catalog
|
|
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.6.
|
|
5
|
+
* The version of the OpenAPI document: 1.6.4
|
|
6
6
|
* Contact: hello@teemill.com
|
|
7
7
|
*
|
|
8
8
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
package/dist/models/Stock.js
CHANGED
|
@@ -3,9 +3,9 @@
|
|
|
3
3
|
/* eslint-disable */
|
|
4
4
|
/**
|
|
5
5
|
* Product Catalog API
|
|
6
|
-
* Manage Product Catalog
|
|
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.6.
|
|
8
|
+
* The version of the OpenAPI document: 1.6.4
|
|
9
9
|
* Contact: hello@teemill.com
|
|
10
10
|
*
|
|
11
11
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
package/dist/models/Variant.d.ts
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* Product Catalog API
|
|
3
|
-
* Manage Product Catalog
|
|
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.6.
|
|
5
|
+
* The version of the OpenAPI document: 1.6.4
|
|
6
6
|
* Contact: hello@teemill.com
|
|
7
7
|
*
|
|
8
8
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
package/dist/models/Variant.js
CHANGED
|
@@ -3,9 +3,9 @@
|
|
|
3
3
|
/* eslint-disable */
|
|
4
4
|
/**
|
|
5
5
|
* Product Catalog API
|
|
6
|
-
* Manage Product Catalog
|
|
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.6.
|
|
8
|
+
* The version of the OpenAPI document: 1.6.4
|
|
9
9
|
* Contact: hello@teemill.com
|
|
10
10
|
*
|
|
11
11
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* Product Catalog API
|
|
3
|
-
* Manage Product Catalog
|
|
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.6.
|
|
5
|
+
* The version of the OpenAPI document: 1.6.4
|
|
6
6
|
* Contact: hello@teemill.com
|
|
7
7
|
*
|
|
8
8
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -3,9 +3,9 @@
|
|
|
3
3
|
/* eslint-disable */
|
|
4
4
|
/**
|
|
5
5
|
* Product Catalog API
|
|
6
|
-
* Manage Product Catalog
|
|
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.6.
|
|
8
|
+
* The version of the OpenAPI document: 1.6.4
|
|
9
9
|
* Contact: hello@teemill.com
|
|
10
10
|
*
|
|
11
11
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* Product Catalog API
|
|
3
|
-
* Manage Product Catalog
|
|
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.6.
|
|
5
|
+
* The version of the OpenAPI document: 1.6.4
|
|
6
6
|
* Contact: hello@teemill.com
|
|
7
7
|
*
|
|
8
8
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -3,9 +3,9 @@
|
|
|
3
3
|
/* eslint-disable */
|
|
4
4
|
/**
|
|
5
5
|
* Product Catalog API
|
|
6
|
-
* Manage Product Catalog
|
|
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.6.
|
|
8
|
+
* The version of the OpenAPI document: 1.6.4
|
|
9
9
|
* Contact: hello@teemill.com
|
|
10
10
|
*
|
|
11
11
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
package/dist/models/index.d.ts
CHANGED
|
@@ -6,6 +6,7 @@ export * from './CreateProductRequestVariantsInner';
|
|
|
6
6
|
export * from './CreateProductRequestVariantsInnerApplicationsInner';
|
|
7
7
|
export * from './CreateProductRequestVariantsInnerAttributesInner';
|
|
8
8
|
export * from './CreateProductRequestVariantsInnerImagesInner';
|
|
9
|
+
export * from './CreateProductRequestVariantsInnerRetailPrice';
|
|
9
10
|
export * from './Image';
|
|
10
11
|
export * from './ImportProducts200Response';
|
|
11
12
|
export * from './Price';
|
package/dist/models/index.js
CHANGED
|
@@ -24,6 +24,7 @@ __exportStar(require("./CreateProductRequestVariantsInner"), exports);
|
|
|
24
24
|
__exportStar(require("./CreateProductRequestVariantsInnerApplicationsInner"), exports);
|
|
25
25
|
__exportStar(require("./CreateProductRequestVariantsInnerAttributesInner"), exports);
|
|
26
26
|
__exportStar(require("./CreateProductRequestVariantsInnerImagesInner"), exports);
|
|
27
|
+
__exportStar(require("./CreateProductRequestVariantsInnerRetailPrice"), exports);
|
|
27
28
|
__exportStar(require("./Image"), exports);
|
|
28
29
|
__exportStar(require("./ImportProducts200Response"), exports);
|
|
29
30
|
__exportStar(require("./Price"), exports);
|
package/dist/runtime.d.ts
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* Product Catalog API
|
|
3
|
-
* Manage Product Catalog
|
|
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.6.
|
|
5
|
+
* The version of the OpenAPI document: 1.6.4
|
|
6
6
|
* Contact: hello@teemill.com
|
|
7
7
|
*
|
|
8
8
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|