@teemill/product-catalog 1.12.0 → 1.14.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/.openapi-generator/FILES +0 -1
- package/README.md +2 -2
- package/api.ts +51 -39
- package/base.ts +1 -1
- package/common.ts +1 -1
- package/configuration.ts +1 -1
- package/dist/api.d.ts +48 -36
- package/dist/api.js +8 -8
- package/dist/base.d.ts +1 -1
- package/dist/base.js +1 -1
- package/dist/common.d.ts +1 -1
- package/dist/common.js +1 -1
- package/dist/configuration.d.ts +1 -1
- package/dist/configuration.js +1 -1
- package/dist/esm/api.d.ts +48 -36
- package/dist/esm/api.js +7 -7
- package/dist/esm/base.d.ts +1 -1
- package/dist/esm/base.js +1 -1
- package/dist/esm/common.d.ts +1 -1
- package/dist/esm/common.js +1 -1
- package/dist/esm/configuration.d.ts +1 -1
- package/dist/esm/configuration.js +1 -1
- package/dist/esm/index.d.ts +1 -1
- package/dist/esm/index.js +1 -1
- package/dist/index.d.ts +1 -1
- package/dist/index.js +1 -1
- package/index.ts +1 -1
- package/package.json +1 -1
package/.openapi-generator/FILES
CHANGED
package/README.md
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
## @teemill/product-catalog@1.
|
|
1
|
+
## @teemill/product-catalog@1.14.0
|
|
2
2
|
|
|
3
3
|
This generator creates TypeScript/JavaScript client that utilizes [axios](https://github.com/axios/axios). The generated Node module can be used in the following environments:
|
|
4
4
|
|
|
@@ -36,7 +36,7 @@ navigate to the folder of your consuming project and run one of the following co
|
|
|
36
36
|
_published:_
|
|
37
37
|
|
|
38
38
|
```
|
|
39
|
-
npm install @teemill/product-catalog@1.
|
|
39
|
+
npm install @teemill/product-catalog@1.14.0 --save
|
|
40
40
|
```
|
|
41
41
|
|
|
42
42
|
_unPublished (not recommended):_
|
package/api.ts
CHANGED
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
* Product Catalog API
|
|
5
5
|
* 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.
|
|
6
6
|
*
|
|
7
|
-
* The version of the OpenAPI document: 1.
|
|
7
|
+
* The version of the OpenAPI document: 1.14.0
|
|
8
8
|
* Contact: hello@teemill.com
|
|
9
9
|
*
|
|
10
10
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -42,6 +42,42 @@ export interface ApiError {
|
|
|
42
42
|
*/
|
|
43
43
|
'message': string;
|
|
44
44
|
}
|
|
45
|
+
/**
|
|
46
|
+
*
|
|
47
|
+
* @export
|
|
48
|
+
* @interface Application
|
|
49
|
+
*/
|
|
50
|
+
export interface Application {
|
|
51
|
+
/**
|
|
52
|
+
* Technology to use for the application.
|
|
53
|
+
* @type {string}
|
|
54
|
+
* @memberof Application
|
|
55
|
+
*/
|
|
56
|
+
'technology': string;
|
|
57
|
+
/**
|
|
58
|
+
* Placement of the application. Available placements depend on the chosen product and technology.
|
|
59
|
+
* @type {string}
|
|
60
|
+
* @memberof Application
|
|
61
|
+
*/
|
|
62
|
+
'placement': ApplicationPlacementEnum;
|
|
63
|
+
/**
|
|
64
|
+
* 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.
|
|
65
|
+
* @type {string}
|
|
66
|
+
* @memberof Application
|
|
67
|
+
*/
|
|
68
|
+
'src': string;
|
|
69
|
+
}
|
|
70
|
+
|
|
71
|
+
export const ApplicationPlacementEnum = {
|
|
72
|
+
Front: 'front',
|
|
73
|
+
Back: 'back',
|
|
74
|
+
Left: 'left',
|
|
75
|
+
Right: 'right',
|
|
76
|
+
Neck: 'neck'
|
|
77
|
+
} as const;
|
|
78
|
+
|
|
79
|
+
export type ApplicationPlacementEnum = typeof ApplicationPlacementEnum[keyof typeof ApplicationPlacementEnum];
|
|
80
|
+
|
|
45
81
|
/**
|
|
46
82
|
*
|
|
47
83
|
* @export
|
|
@@ -220,10 +256,10 @@ export interface CreateProductVariant {
|
|
|
220
256
|
'sku'?: string;
|
|
221
257
|
/**
|
|
222
258
|
* Design applications. If not provided, the product will be blank.
|
|
223
|
-
* @type {Array<
|
|
259
|
+
* @type {Array<Application>}
|
|
224
260
|
* @memberof CreateProductVariant
|
|
225
261
|
*/
|
|
226
|
-
'applications'?: Array<
|
|
262
|
+
'applications'?: Array<Application>;
|
|
227
263
|
/**
|
|
228
264
|
* Only use if you want to override the main product image. If not provided, mockups will be generated using the design applications and the warehouse product provided. Accepts PNG and JPEG files.
|
|
229
265
|
* @type {Array<CreateProductRequestImagesInner>}
|
|
@@ -231,42 +267,6 @@ export interface CreateProductVariant {
|
|
|
231
267
|
*/
|
|
232
268
|
'images'?: Array<CreateProductRequestImagesInner>;
|
|
233
269
|
}
|
|
234
|
-
/**
|
|
235
|
-
*
|
|
236
|
-
* @export
|
|
237
|
-
* @interface CreateProductVariantApplicationsInner
|
|
238
|
-
*/
|
|
239
|
-
export interface CreateProductVariantApplicationsInner {
|
|
240
|
-
/**
|
|
241
|
-
* Technology to use for the application.
|
|
242
|
-
* @type {string}
|
|
243
|
-
* @memberof CreateProductVariantApplicationsInner
|
|
244
|
-
*/
|
|
245
|
-
'technology': string;
|
|
246
|
-
/**
|
|
247
|
-
* Placement of the application. Available placements depend on the chosen product and technology.
|
|
248
|
-
* @type {string}
|
|
249
|
-
* @memberof CreateProductVariantApplicationsInner
|
|
250
|
-
*/
|
|
251
|
-
'placement': CreateProductVariantApplicationsInnerPlacementEnum;
|
|
252
|
-
/**
|
|
253
|
-
* 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.
|
|
254
|
-
* @type {string}
|
|
255
|
-
* @memberof CreateProductVariantApplicationsInner
|
|
256
|
-
*/
|
|
257
|
-
'src': string;
|
|
258
|
-
}
|
|
259
|
-
|
|
260
|
-
export const CreateProductVariantApplicationsInnerPlacementEnum = {
|
|
261
|
-
Front: 'front',
|
|
262
|
-
Back: 'back',
|
|
263
|
-
Left: 'left',
|
|
264
|
-
Right: 'right',
|
|
265
|
-
Neck: 'neck'
|
|
266
|
-
} as const;
|
|
267
|
-
|
|
268
|
-
export type CreateProductVariantApplicationsInnerPlacementEnum = typeof CreateProductVariantApplicationsInnerPlacementEnum[keyof typeof CreateProductVariantApplicationsInnerPlacementEnum];
|
|
269
|
-
|
|
270
270
|
/**
|
|
271
271
|
*
|
|
272
272
|
* @export
|
|
@@ -711,6 +711,18 @@ export interface Variant {
|
|
|
711
711
|
* @memberof Variant
|
|
712
712
|
*/
|
|
713
713
|
'images'?: Array<Image>;
|
|
714
|
+
/**
|
|
715
|
+
* Design applications. If not provided, the product will be blank.
|
|
716
|
+
* @type {Array<Application>}
|
|
717
|
+
* @memberof Variant
|
|
718
|
+
*/
|
|
719
|
+
'applications'?: Array<Application>;
|
|
720
|
+
/**
|
|
721
|
+
* Global Trade Item Number
|
|
722
|
+
* @type {string}
|
|
723
|
+
* @memberof Variant
|
|
724
|
+
*/
|
|
725
|
+
'gtin'?: string | null;
|
|
714
726
|
}
|
|
715
727
|
/**
|
|
716
728
|
*
|
package/base.ts
CHANGED
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
* Product Catalog API
|
|
5
5
|
* 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.
|
|
6
6
|
*
|
|
7
|
-
* The version of the OpenAPI document: 1.
|
|
7
|
+
* The version of the OpenAPI document: 1.14.0
|
|
8
8
|
* Contact: hello@teemill.com
|
|
9
9
|
*
|
|
10
10
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
package/common.ts
CHANGED
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
* Product Catalog API
|
|
5
5
|
* 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.
|
|
6
6
|
*
|
|
7
|
-
* The version of the OpenAPI document: 1.
|
|
7
|
+
* The version of the OpenAPI document: 1.14.0
|
|
8
8
|
* Contact: hello@teemill.com
|
|
9
9
|
*
|
|
10
10
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
package/configuration.ts
CHANGED
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
* Product Catalog API
|
|
5
5
|
* 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.
|
|
6
6
|
*
|
|
7
|
-
* The version of the OpenAPI document: 1.
|
|
7
|
+
* The version of the OpenAPI document: 1.14.0
|
|
8
8
|
* Contact: hello@teemill.com
|
|
9
9
|
*
|
|
10
10
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
package/dist/api.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.14.0
|
|
6
6
|
* Contact: hello@teemill.com
|
|
7
7
|
*
|
|
8
8
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -32,6 +32,39 @@ export interface ApiError {
|
|
|
32
32
|
*/
|
|
33
33
|
'message': string;
|
|
34
34
|
}
|
|
35
|
+
/**
|
|
36
|
+
*
|
|
37
|
+
* @export
|
|
38
|
+
* @interface Application
|
|
39
|
+
*/
|
|
40
|
+
export interface Application {
|
|
41
|
+
/**
|
|
42
|
+
* Technology to use for the application.
|
|
43
|
+
* @type {string}
|
|
44
|
+
* @memberof Application
|
|
45
|
+
*/
|
|
46
|
+
'technology': string;
|
|
47
|
+
/**
|
|
48
|
+
* Placement of the application. Available placements depend on the chosen product and technology.
|
|
49
|
+
* @type {string}
|
|
50
|
+
* @memberof Application
|
|
51
|
+
*/
|
|
52
|
+
'placement': ApplicationPlacementEnum;
|
|
53
|
+
/**
|
|
54
|
+
* 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.
|
|
55
|
+
* @type {string}
|
|
56
|
+
* @memberof Application
|
|
57
|
+
*/
|
|
58
|
+
'src': string;
|
|
59
|
+
}
|
|
60
|
+
export declare const ApplicationPlacementEnum: {
|
|
61
|
+
readonly Front: "front";
|
|
62
|
+
readonly Back: "back";
|
|
63
|
+
readonly Left: "left";
|
|
64
|
+
readonly Right: "right";
|
|
65
|
+
readonly Neck: "neck";
|
|
66
|
+
};
|
|
67
|
+
export type ApplicationPlacementEnum = typeof ApplicationPlacementEnum[keyof typeof ApplicationPlacementEnum];
|
|
35
68
|
/**
|
|
36
69
|
*
|
|
37
70
|
* @export
|
|
@@ -207,10 +240,10 @@ export interface CreateProductVariant {
|
|
|
207
240
|
'sku'?: string;
|
|
208
241
|
/**
|
|
209
242
|
* Design applications. If not provided, the product will be blank.
|
|
210
|
-
* @type {Array<
|
|
243
|
+
* @type {Array<Application>}
|
|
211
244
|
* @memberof CreateProductVariant
|
|
212
245
|
*/
|
|
213
|
-
'applications'?: Array<
|
|
246
|
+
'applications'?: Array<Application>;
|
|
214
247
|
/**
|
|
215
248
|
* Only use if you want to override the main product image. If not provided, mockups will be generated using the design applications and the warehouse product provided. Accepts PNG and JPEG files.
|
|
216
249
|
* @type {Array<CreateProductRequestImagesInner>}
|
|
@@ -218,39 +251,6 @@ export interface CreateProductVariant {
|
|
|
218
251
|
*/
|
|
219
252
|
'images'?: Array<CreateProductRequestImagesInner>;
|
|
220
253
|
}
|
|
221
|
-
/**
|
|
222
|
-
*
|
|
223
|
-
* @export
|
|
224
|
-
* @interface CreateProductVariantApplicationsInner
|
|
225
|
-
*/
|
|
226
|
-
export interface CreateProductVariantApplicationsInner {
|
|
227
|
-
/**
|
|
228
|
-
* Technology to use for the application.
|
|
229
|
-
* @type {string}
|
|
230
|
-
* @memberof CreateProductVariantApplicationsInner
|
|
231
|
-
*/
|
|
232
|
-
'technology': string;
|
|
233
|
-
/**
|
|
234
|
-
* Placement of the application. Available placements depend on the chosen product and technology.
|
|
235
|
-
* @type {string}
|
|
236
|
-
* @memberof CreateProductVariantApplicationsInner
|
|
237
|
-
*/
|
|
238
|
-
'placement': CreateProductVariantApplicationsInnerPlacementEnum;
|
|
239
|
-
/**
|
|
240
|
-
* 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.
|
|
241
|
-
* @type {string}
|
|
242
|
-
* @memberof CreateProductVariantApplicationsInner
|
|
243
|
-
*/
|
|
244
|
-
'src': string;
|
|
245
|
-
}
|
|
246
|
-
export declare const CreateProductVariantApplicationsInnerPlacementEnum: {
|
|
247
|
-
readonly Front: "front";
|
|
248
|
-
readonly Back: "back";
|
|
249
|
-
readonly Left: "left";
|
|
250
|
-
readonly Right: "right";
|
|
251
|
-
readonly Neck: "neck";
|
|
252
|
-
};
|
|
253
|
-
export type CreateProductVariantApplicationsInnerPlacementEnum = typeof CreateProductVariantApplicationsInnerPlacementEnum[keyof typeof CreateProductVariantApplicationsInnerPlacementEnum];
|
|
254
254
|
/**
|
|
255
255
|
*
|
|
256
256
|
* @export
|
|
@@ -695,6 +695,18 @@ export interface Variant {
|
|
|
695
695
|
* @memberof Variant
|
|
696
696
|
*/
|
|
697
697
|
'images'?: Array<Image>;
|
|
698
|
+
/**
|
|
699
|
+
* Design applications. If not provided, the product will be blank.
|
|
700
|
+
* @type {Array<Application>}
|
|
701
|
+
* @memberof Variant
|
|
702
|
+
*/
|
|
703
|
+
'applications'?: Array<Application>;
|
|
704
|
+
/**
|
|
705
|
+
* Global Trade Item Number
|
|
706
|
+
* @type {string}
|
|
707
|
+
* @memberof Variant
|
|
708
|
+
*/
|
|
709
|
+
'gtin'?: string | null;
|
|
698
710
|
}
|
|
699
711
|
/**
|
|
700
712
|
*
|
package/dist/api.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.14.0
|
|
9
9
|
* Contact: hello@teemill.com
|
|
10
10
|
*
|
|
11
11
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -22,25 +22,25 @@ var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, ge
|
|
|
22
22
|
});
|
|
23
23
|
};
|
|
24
24
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
25
|
-
exports.VariantsApi = exports.VariantsApiFactory = exports.VariantsApiFp = exports.VariantsApiAxiosParamCreator = exports.ProductsApi = exports.ProductsApiFactory = exports.ProductsApiFp = exports.ProductsApiAxiosParamCreator = exports.
|
|
25
|
+
exports.VariantsApi = exports.VariantsApiFactory = exports.VariantsApiFp = exports.VariantsApiAxiosParamCreator = exports.ProductsApi = exports.ProductsApiFactory = exports.ProductsApiFp = exports.ProductsApiAxiosParamCreator = exports.AttributeThumbnailTypeEnum = exports.ApplicationPlacementEnum = void 0;
|
|
26
26
|
const axios_1 = require("axios");
|
|
27
27
|
// Some imports not used depending on template conditions
|
|
28
28
|
// @ts-ignore
|
|
29
29
|
const common_1 = require("./common");
|
|
30
30
|
// @ts-ignore
|
|
31
31
|
const base_1 = require("./base");
|
|
32
|
-
exports.
|
|
33
|
-
Text: 'text',
|
|
34
|
-
Color: 'color',
|
|
35
|
-
Image: 'image'
|
|
36
|
-
};
|
|
37
|
-
exports.CreateProductVariantApplicationsInnerPlacementEnum = {
|
|
32
|
+
exports.ApplicationPlacementEnum = {
|
|
38
33
|
Front: 'front',
|
|
39
34
|
Back: 'back',
|
|
40
35
|
Left: 'left',
|
|
41
36
|
Right: 'right',
|
|
42
37
|
Neck: 'neck'
|
|
43
38
|
};
|
|
39
|
+
exports.AttributeThumbnailTypeEnum = {
|
|
40
|
+
Text: 'text',
|
|
41
|
+
Color: 'color',
|
|
42
|
+
Image: 'image'
|
|
43
|
+
};
|
|
44
44
|
/**
|
|
45
45
|
* ProductsApi - axios parameter creator
|
|
46
46
|
* @export
|
package/dist/base.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.14.0
|
|
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/base.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.14.0
|
|
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/common.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.14.0
|
|
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/common.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.14.0
|
|
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/configuration.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.14.0
|
|
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/configuration.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.14.0
|
|
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/esm/api.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.14.0
|
|
6
6
|
* Contact: hello@teemill.com
|
|
7
7
|
*
|
|
8
8
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -32,6 +32,39 @@ export interface ApiError {
|
|
|
32
32
|
*/
|
|
33
33
|
'message': string;
|
|
34
34
|
}
|
|
35
|
+
/**
|
|
36
|
+
*
|
|
37
|
+
* @export
|
|
38
|
+
* @interface Application
|
|
39
|
+
*/
|
|
40
|
+
export interface Application {
|
|
41
|
+
/**
|
|
42
|
+
* Technology to use for the application.
|
|
43
|
+
* @type {string}
|
|
44
|
+
* @memberof Application
|
|
45
|
+
*/
|
|
46
|
+
'technology': string;
|
|
47
|
+
/**
|
|
48
|
+
* Placement of the application. Available placements depend on the chosen product and technology.
|
|
49
|
+
* @type {string}
|
|
50
|
+
* @memberof Application
|
|
51
|
+
*/
|
|
52
|
+
'placement': ApplicationPlacementEnum;
|
|
53
|
+
/**
|
|
54
|
+
* 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.
|
|
55
|
+
* @type {string}
|
|
56
|
+
* @memberof Application
|
|
57
|
+
*/
|
|
58
|
+
'src': string;
|
|
59
|
+
}
|
|
60
|
+
export declare const ApplicationPlacementEnum: {
|
|
61
|
+
readonly Front: "front";
|
|
62
|
+
readonly Back: "back";
|
|
63
|
+
readonly Left: "left";
|
|
64
|
+
readonly Right: "right";
|
|
65
|
+
readonly Neck: "neck";
|
|
66
|
+
};
|
|
67
|
+
export type ApplicationPlacementEnum = typeof ApplicationPlacementEnum[keyof typeof ApplicationPlacementEnum];
|
|
35
68
|
/**
|
|
36
69
|
*
|
|
37
70
|
* @export
|
|
@@ -207,10 +240,10 @@ export interface CreateProductVariant {
|
|
|
207
240
|
'sku'?: string;
|
|
208
241
|
/**
|
|
209
242
|
* Design applications. If not provided, the product will be blank.
|
|
210
|
-
* @type {Array<
|
|
243
|
+
* @type {Array<Application>}
|
|
211
244
|
* @memberof CreateProductVariant
|
|
212
245
|
*/
|
|
213
|
-
'applications'?: Array<
|
|
246
|
+
'applications'?: Array<Application>;
|
|
214
247
|
/**
|
|
215
248
|
* Only use if you want to override the main product image. If not provided, mockups will be generated using the design applications and the warehouse product provided. Accepts PNG and JPEG files.
|
|
216
249
|
* @type {Array<CreateProductRequestImagesInner>}
|
|
@@ -218,39 +251,6 @@ export interface CreateProductVariant {
|
|
|
218
251
|
*/
|
|
219
252
|
'images'?: Array<CreateProductRequestImagesInner>;
|
|
220
253
|
}
|
|
221
|
-
/**
|
|
222
|
-
*
|
|
223
|
-
* @export
|
|
224
|
-
* @interface CreateProductVariantApplicationsInner
|
|
225
|
-
*/
|
|
226
|
-
export interface CreateProductVariantApplicationsInner {
|
|
227
|
-
/**
|
|
228
|
-
* Technology to use for the application.
|
|
229
|
-
* @type {string}
|
|
230
|
-
* @memberof CreateProductVariantApplicationsInner
|
|
231
|
-
*/
|
|
232
|
-
'technology': string;
|
|
233
|
-
/**
|
|
234
|
-
* Placement of the application. Available placements depend on the chosen product and technology.
|
|
235
|
-
* @type {string}
|
|
236
|
-
* @memberof CreateProductVariantApplicationsInner
|
|
237
|
-
*/
|
|
238
|
-
'placement': CreateProductVariantApplicationsInnerPlacementEnum;
|
|
239
|
-
/**
|
|
240
|
-
* 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.
|
|
241
|
-
* @type {string}
|
|
242
|
-
* @memberof CreateProductVariantApplicationsInner
|
|
243
|
-
*/
|
|
244
|
-
'src': string;
|
|
245
|
-
}
|
|
246
|
-
export declare const CreateProductVariantApplicationsInnerPlacementEnum: {
|
|
247
|
-
readonly Front: "front";
|
|
248
|
-
readonly Back: "back";
|
|
249
|
-
readonly Left: "left";
|
|
250
|
-
readonly Right: "right";
|
|
251
|
-
readonly Neck: "neck";
|
|
252
|
-
};
|
|
253
|
-
export type CreateProductVariantApplicationsInnerPlacementEnum = typeof CreateProductVariantApplicationsInnerPlacementEnum[keyof typeof CreateProductVariantApplicationsInnerPlacementEnum];
|
|
254
254
|
/**
|
|
255
255
|
*
|
|
256
256
|
* @export
|
|
@@ -695,6 +695,18 @@ export interface Variant {
|
|
|
695
695
|
* @memberof Variant
|
|
696
696
|
*/
|
|
697
697
|
'images'?: Array<Image>;
|
|
698
|
+
/**
|
|
699
|
+
* Design applications. If not provided, the product will be blank.
|
|
700
|
+
* @type {Array<Application>}
|
|
701
|
+
* @memberof Variant
|
|
702
|
+
*/
|
|
703
|
+
'applications'?: Array<Application>;
|
|
704
|
+
/**
|
|
705
|
+
* Global Trade Item Number
|
|
706
|
+
* @type {string}
|
|
707
|
+
* @memberof Variant
|
|
708
|
+
*/
|
|
709
|
+
'gtin'?: string | null;
|
|
698
710
|
}
|
|
699
711
|
/**
|
|
700
712
|
*
|
package/dist/esm/api.js
CHANGED
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
* Product Catalog API
|
|
5
5
|
* 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.
|
|
6
6
|
*
|
|
7
|
-
* The version of the OpenAPI document: 1.
|
|
7
|
+
* The version of the OpenAPI document: 1.14.0
|
|
8
8
|
* Contact: hello@teemill.com
|
|
9
9
|
*
|
|
10
10
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -26,18 +26,18 @@ import globalAxios from 'axios';
|
|
|
26
26
|
import { DUMMY_BASE_URL, assertParamExists, setApiKeyToObject, setOAuthToObject, setSearchParams, serializeDataIfNeeded, toPathString, createRequestFunction } from './common';
|
|
27
27
|
// @ts-ignore
|
|
28
28
|
import { BASE_PATH, BaseAPI, operationServerMap } from './base';
|
|
29
|
-
export const
|
|
30
|
-
Text: 'text',
|
|
31
|
-
Color: 'color',
|
|
32
|
-
Image: 'image'
|
|
33
|
-
};
|
|
34
|
-
export const CreateProductVariantApplicationsInnerPlacementEnum = {
|
|
29
|
+
export const ApplicationPlacementEnum = {
|
|
35
30
|
Front: 'front',
|
|
36
31
|
Back: 'back',
|
|
37
32
|
Left: 'left',
|
|
38
33
|
Right: 'right',
|
|
39
34
|
Neck: 'neck'
|
|
40
35
|
};
|
|
36
|
+
export const AttributeThumbnailTypeEnum = {
|
|
37
|
+
Text: 'text',
|
|
38
|
+
Color: 'color',
|
|
39
|
+
Image: 'image'
|
|
40
|
+
};
|
|
41
41
|
/**
|
|
42
42
|
* ProductsApi - axios parameter creator
|
|
43
43
|
* @export
|
package/dist/esm/base.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.14.0
|
|
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/esm/base.js
CHANGED
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
* Product Catalog API
|
|
5
5
|
* 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.
|
|
6
6
|
*
|
|
7
|
-
* The version of the OpenAPI document: 1.
|
|
7
|
+
* The version of the OpenAPI document: 1.14.0
|
|
8
8
|
* Contact: hello@teemill.com
|
|
9
9
|
*
|
|
10
10
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
package/dist/esm/common.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.14.0
|
|
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/esm/common.js
CHANGED
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
* Product Catalog API
|
|
5
5
|
* 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.
|
|
6
6
|
*
|
|
7
|
-
* The version of the OpenAPI document: 1.
|
|
7
|
+
* The version of the OpenAPI document: 1.14.0
|
|
8
8
|
* Contact: hello@teemill.com
|
|
9
9
|
*
|
|
10
10
|
* 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.14.0
|
|
6
6
|
* Contact: hello@teemill.com
|
|
7
7
|
*
|
|
8
8
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
* Product Catalog API
|
|
5
5
|
* 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.
|
|
6
6
|
*
|
|
7
|
-
* The version of the OpenAPI document: 1.
|
|
7
|
+
* The version of the OpenAPI document: 1.14.0
|
|
8
8
|
* Contact: hello@teemill.com
|
|
9
9
|
*
|
|
10
10
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
package/dist/esm/index.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.14.0
|
|
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/esm/index.js
CHANGED
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
* Product Catalog API
|
|
5
5
|
* 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.
|
|
6
6
|
*
|
|
7
|
-
* The version of the OpenAPI document: 1.
|
|
7
|
+
* The version of the OpenAPI document: 1.14.0
|
|
8
8
|
* Contact: hello@teemill.com
|
|
9
9
|
*
|
|
10
10
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
package/dist/index.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.14.0
|
|
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/index.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.14.0
|
|
9
9
|
* Contact: hello@teemill.com
|
|
10
10
|
*
|
|
11
11
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
package/index.ts
CHANGED
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
* Product Catalog API
|
|
5
5
|
* 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.
|
|
6
6
|
*
|
|
7
|
-
* The version of the OpenAPI document: 1.
|
|
7
|
+
* The version of the OpenAPI document: 1.14.0
|
|
8
8
|
* Contact: hello@teemill.com
|
|
9
9
|
*
|
|
10
10
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|