@teemill/product-catalog 1.62.0 → 1.64.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/README.md +3 -3
- package/api.ts +31 -7
- package/base.ts +1 -1
- package/common.ts +1 -1
- package/configuration.ts +1 -1
- package/dist/api.d.ts +32 -8
- package/dist/api.js +1 -1
- 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 +32 -8
- package/dist/esm/api.js +1 -1
- 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/docs/Application.md +2 -0
- package/docs/CreateApplication.md +2 -0
- package/docs/ImageFile.md +5 -1
- package/docs/InlineObject.md +20 -0
- package/docs/ProductsApi.md +2 -2
- package/index.ts +1 -1
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
## @teemill/product-catalog@1.
|
|
1
|
+
## @teemill/product-catalog@1.64.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.64.0 --save
|
|
40
40
|
```
|
|
41
41
|
|
|
42
42
|
_unPublished (not recommended):_
|
|
@@ -115,7 +115,7 @@ Class | Method | HTTP request | Description
|
|
|
115
115
|
- [ExportProducts202Response](docs/ExportProducts202Response.md)
|
|
116
116
|
- [Image](docs/Image.md)
|
|
117
117
|
- [ImageFile](docs/ImageFile.md)
|
|
118
|
-
- [
|
|
118
|
+
- [InlineObject](docs/InlineObject.md)
|
|
119
119
|
- [Location](docs/Location.md)
|
|
120
120
|
- [MetaField](docs/MetaField.md)
|
|
121
121
|
- [OptimisationHistoryItem](docs/OptimisationHistoryItem.md)
|
package/api.ts
CHANGED
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
* Product Catalog API
|
|
5
5
|
* Manage your 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.64.0
|
|
8
8
|
*
|
|
9
9
|
*
|
|
10
10
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -91,6 +91,12 @@ export interface Application {
|
|
|
91
91
|
* @memberof Application
|
|
92
92
|
*/
|
|
93
93
|
'src'?: string;
|
|
94
|
+
/**
|
|
95
|
+
* The group of the application. The src across all applications in the same group will be considered the same src. The is useful for DTF when using the same transfer across multiple products.
|
|
96
|
+
* @type {string}
|
|
97
|
+
* @memberof Application
|
|
98
|
+
*/
|
|
99
|
+
'group'?: string | null;
|
|
94
100
|
/**
|
|
95
101
|
*
|
|
96
102
|
* @type {ApplicationMockup}
|
|
@@ -608,6 +614,12 @@ export interface CreateApplication {
|
|
|
608
614
|
* @memberof CreateApplication
|
|
609
615
|
*/
|
|
610
616
|
'src': string;
|
|
617
|
+
/**
|
|
618
|
+
* The group of the application. The src across all applications in the same group will be considered the same src. The is useful for DTF when using the same transfer across multiple products.
|
|
619
|
+
* @type {string}
|
|
620
|
+
* @memberof CreateApplication
|
|
621
|
+
*/
|
|
622
|
+
'group'?: string | null;
|
|
611
623
|
/**
|
|
612
624
|
* If set to true, transfers for this application will not be printed on demand, and will need to be stocked in trays in the factory. Note that this can only be set if the technology is stockable, such as DTF.
|
|
613
625
|
* @type {boolean}
|
|
@@ -1217,24 +1229,36 @@ export interface ImageFile {
|
|
|
1217
1229
|
* @type {string}
|
|
1218
1230
|
* @memberof ImageFile
|
|
1219
1231
|
*/
|
|
1220
|
-
'src'
|
|
1232
|
+
'src': string;
|
|
1233
|
+
/**
|
|
1234
|
+
* ID of the image if it already exists. A new image will be created if this is not provided.
|
|
1235
|
+
* @type {string}
|
|
1236
|
+
* @memberof ImageFile
|
|
1237
|
+
*/
|
|
1238
|
+
'id'?: string | null;
|
|
1221
1239
|
/**
|
|
1222
1240
|
* Image type.
|
|
1223
1241
|
* @type {string}
|
|
1224
1242
|
* @memberof ImageFile
|
|
1225
1243
|
*/
|
|
1226
1244
|
'type'?: string | null;
|
|
1245
|
+
/**
|
|
1246
|
+
* List of variant Ids to associate with the image.
|
|
1247
|
+
* @type {Array<string>}
|
|
1248
|
+
* @memberof ImageFile
|
|
1249
|
+
*/
|
|
1250
|
+
'variantIds'?: Array<string>;
|
|
1227
1251
|
}
|
|
1228
1252
|
/**
|
|
1229
1253
|
*
|
|
1230
1254
|
* @export
|
|
1231
|
-
* @interface
|
|
1255
|
+
* @interface InlineObject
|
|
1232
1256
|
*/
|
|
1233
|
-
export interface
|
|
1257
|
+
export interface InlineObject {
|
|
1234
1258
|
/**
|
|
1235
1259
|
* Id of the product import
|
|
1236
1260
|
* @type {string}
|
|
1237
|
-
* @memberof
|
|
1261
|
+
* @memberof InlineObject
|
|
1238
1262
|
*/
|
|
1239
1263
|
'importId'?: string;
|
|
1240
1264
|
}
|
|
@@ -4105,7 +4129,7 @@ export const ProductsApiFp = function(configuration?: Configuration) {
|
|
|
4105
4129
|
* @param {*} [options] Override http request option.
|
|
4106
4130
|
* @throws {RequiredError}
|
|
4107
4131
|
*/
|
|
4108
|
-
async importProducts(project: string, body?: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<
|
|
4132
|
+
async importProducts(project: string, body?: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<InlineObject>> {
|
|
4109
4133
|
const localVarAxiosArgs = await localVarAxiosParamCreator.importProducts(project, body, options);
|
|
4110
4134
|
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
4111
4135
|
const localVarOperationServerBasePath = operationServerMap['ProductsApi.importProducts']?.[localVarOperationServerIndex]?.url;
|
|
@@ -4252,7 +4276,7 @@ export const ProductsApiFactory = function (configuration?: Configuration, baseP
|
|
|
4252
4276
|
* @param {*} [options] Override http request option.
|
|
4253
4277
|
* @throws {RequiredError}
|
|
4254
4278
|
*/
|
|
4255
|
-
importProducts(requestParameters: ProductsApiImportProductsRequest, options?: RawAxiosRequestConfig): AxiosPromise<
|
|
4279
|
+
importProducts(requestParameters: ProductsApiImportProductsRequest, options?: RawAxiosRequestConfig): AxiosPromise<InlineObject> {
|
|
4256
4280
|
return localVarFp.importProducts(requestParameters.project, requestParameters.body, options).then((request) => request(axios, basePath));
|
|
4257
4281
|
},
|
|
4258
4282
|
/**
|
package/base.ts
CHANGED
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
* Product Catalog API
|
|
5
5
|
* Manage your 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.64.0
|
|
8
8
|
*
|
|
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 your 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.64.0
|
|
8
8
|
*
|
|
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 your 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.64.0
|
|
8
8
|
*
|
|
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 your 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.64.0
|
|
6
6
|
*
|
|
7
7
|
*
|
|
8
8
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -81,6 +81,12 @@ export interface Application {
|
|
|
81
81
|
* @memberof Application
|
|
82
82
|
*/
|
|
83
83
|
'src'?: string;
|
|
84
|
+
/**
|
|
85
|
+
* The group of the application. The src across all applications in the same group will be considered the same src. The is useful for DTF when using the same transfer across multiple products.
|
|
86
|
+
* @type {string}
|
|
87
|
+
* @memberof Application
|
|
88
|
+
*/
|
|
89
|
+
'group'?: string | null;
|
|
84
90
|
/**
|
|
85
91
|
*
|
|
86
92
|
* @type {ApplicationMockup}
|
|
@@ -586,6 +592,12 @@ export interface CreateApplication {
|
|
|
586
592
|
* @memberof CreateApplication
|
|
587
593
|
*/
|
|
588
594
|
'src': string;
|
|
595
|
+
/**
|
|
596
|
+
* The group of the application. The src across all applications in the same group will be considered the same src. The is useful for DTF when using the same transfer across multiple products.
|
|
597
|
+
* @type {string}
|
|
598
|
+
* @memberof CreateApplication
|
|
599
|
+
*/
|
|
600
|
+
'group'?: string | null;
|
|
589
601
|
/**
|
|
590
602
|
* If set to true, transfers for this application will not be printed on demand, and will need to be stocked in trays in the factory. Note that this can only be set if the technology is stockable, such as DTF.
|
|
591
603
|
* @type {boolean}
|
|
@@ -1189,24 +1201,36 @@ export interface ImageFile {
|
|
|
1189
1201
|
* @type {string}
|
|
1190
1202
|
* @memberof ImageFile
|
|
1191
1203
|
*/
|
|
1192
|
-
'src'
|
|
1204
|
+
'src': string;
|
|
1205
|
+
/**
|
|
1206
|
+
* ID of the image if it already exists. A new image will be created if this is not provided.
|
|
1207
|
+
* @type {string}
|
|
1208
|
+
* @memberof ImageFile
|
|
1209
|
+
*/
|
|
1210
|
+
'id'?: string | null;
|
|
1193
1211
|
/**
|
|
1194
1212
|
* Image type.
|
|
1195
1213
|
* @type {string}
|
|
1196
1214
|
* @memberof ImageFile
|
|
1197
1215
|
*/
|
|
1198
1216
|
'type'?: string | null;
|
|
1217
|
+
/**
|
|
1218
|
+
* List of variant Ids to associate with the image.
|
|
1219
|
+
* @type {Array<string>}
|
|
1220
|
+
* @memberof ImageFile
|
|
1221
|
+
*/
|
|
1222
|
+
'variantIds'?: Array<string>;
|
|
1199
1223
|
}
|
|
1200
1224
|
/**
|
|
1201
1225
|
*
|
|
1202
1226
|
* @export
|
|
1203
|
-
* @interface
|
|
1227
|
+
* @interface InlineObject
|
|
1204
1228
|
*/
|
|
1205
|
-
export interface
|
|
1229
|
+
export interface InlineObject {
|
|
1206
1230
|
/**
|
|
1207
1231
|
* Id of the product import
|
|
1208
1232
|
* @type {string}
|
|
1209
|
-
* @memberof
|
|
1233
|
+
* @memberof InlineObject
|
|
1210
1234
|
*/
|
|
1211
1235
|
'importId'?: string;
|
|
1212
1236
|
}
|
|
@@ -3206,7 +3230,7 @@ export declare const ProductsApiFp: (configuration?: Configuration) => {
|
|
|
3206
3230
|
* @param {*} [options] Override http request option.
|
|
3207
3231
|
* @throws {RequiredError}
|
|
3208
3232
|
*/
|
|
3209
|
-
importProducts(project: string, body?: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<
|
|
3233
|
+
importProducts(project: string, body?: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<InlineObject>>;
|
|
3210
3234
|
/**
|
|
3211
3235
|
* Lists all store listing products attached to the given project.
|
|
3212
3236
|
* @summary List products
|
|
@@ -3312,7 +3336,7 @@ export declare const ProductsApiFactory: (configuration?: Configuration, basePat
|
|
|
3312
3336
|
* @param {*} [options] Override http request option.
|
|
3313
3337
|
* @throws {RequiredError}
|
|
3314
3338
|
*/
|
|
3315
|
-
importProducts(requestParameters: ProductsApiImportProductsRequest, options?: RawAxiosRequestConfig): AxiosPromise<
|
|
3339
|
+
importProducts(requestParameters: ProductsApiImportProductsRequest, options?: RawAxiosRequestConfig): AxiosPromise<InlineObject>;
|
|
3316
3340
|
/**
|
|
3317
3341
|
* Lists all store listing products attached to the given project.
|
|
3318
3342
|
* @summary List products
|
|
@@ -3672,7 +3696,7 @@ export declare class ProductsApi extends BaseAPI {
|
|
|
3672
3696
|
* @throws {RequiredError}
|
|
3673
3697
|
* @memberof ProductsApi
|
|
3674
3698
|
*/
|
|
3675
|
-
importProducts(requestParameters: ProductsApiImportProductsRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<
|
|
3699
|
+
importProducts(requestParameters: ProductsApiImportProductsRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<InlineObject, any>>;
|
|
3676
3700
|
/**
|
|
3677
3701
|
* Lists all store listing products attached to the given project.
|
|
3678
3702
|
* @summary List products
|
package/dist/api.js
CHANGED
|
@@ -5,7 +5,7 @@
|
|
|
5
5
|
* Product Catalog API
|
|
6
6
|
* Manage your 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.64.0
|
|
9
9
|
*
|
|
10
10
|
*
|
|
11
11
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
package/dist/base.d.ts
CHANGED
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
* Product Catalog API
|
|
3
3
|
* Manage your 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.64.0
|
|
6
6
|
*
|
|
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 your 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.64.0
|
|
9
9
|
*
|
|
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 your 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.64.0
|
|
6
6
|
*
|
|
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 your 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.64.0
|
|
9
9
|
*
|
|
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 your 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.64.0
|
|
6
6
|
*
|
|
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 your 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.64.0
|
|
9
9
|
*
|
|
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 your 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.64.0
|
|
6
6
|
*
|
|
7
7
|
*
|
|
8
8
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -81,6 +81,12 @@ export interface Application {
|
|
|
81
81
|
* @memberof Application
|
|
82
82
|
*/
|
|
83
83
|
'src'?: string;
|
|
84
|
+
/**
|
|
85
|
+
* The group of the application. The src across all applications in the same group will be considered the same src. The is useful for DTF when using the same transfer across multiple products.
|
|
86
|
+
* @type {string}
|
|
87
|
+
* @memberof Application
|
|
88
|
+
*/
|
|
89
|
+
'group'?: string | null;
|
|
84
90
|
/**
|
|
85
91
|
*
|
|
86
92
|
* @type {ApplicationMockup}
|
|
@@ -586,6 +592,12 @@ export interface CreateApplication {
|
|
|
586
592
|
* @memberof CreateApplication
|
|
587
593
|
*/
|
|
588
594
|
'src': string;
|
|
595
|
+
/**
|
|
596
|
+
* The group of the application. The src across all applications in the same group will be considered the same src. The is useful for DTF when using the same transfer across multiple products.
|
|
597
|
+
* @type {string}
|
|
598
|
+
* @memberof CreateApplication
|
|
599
|
+
*/
|
|
600
|
+
'group'?: string | null;
|
|
589
601
|
/**
|
|
590
602
|
* If set to true, transfers for this application will not be printed on demand, and will need to be stocked in trays in the factory. Note that this can only be set if the technology is stockable, such as DTF.
|
|
591
603
|
* @type {boolean}
|
|
@@ -1189,24 +1201,36 @@ export interface ImageFile {
|
|
|
1189
1201
|
* @type {string}
|
|
1190
1202
|
* @memberof ImageFile
|
|
1191
1203
|
*/
|
|
1192
|
-
'src'
|
|
1204
|
+
'src': string;
|
|
1205
|
+
/**
|
|
1206
|
+
* ID of the image if it already exists. A new image will be created if this is not provided.
|
|
1207
|
+
* @type {string}
|
|
1208
|
+
* @memberof ImageFile
|
|
1209
|
+
*/
|
|
1210
|
+
'id'?: string | null;
|
|
1193
1211
|
/**
|
|
1194
1212
|
* Image type.
|
|
1195
1213
|
* @type {string}
|
|
1196
1214
|
* @memberof ImageFile
|
|
1197
1215
|
*/
|
|
1198
1216
|
'type'?: string | null;
|
|
1217
|
+
/**
|
|
1218
|
+
* List of variant Ids to associate with the image.
|
|
1219
|
+
* @type {Array<string>}
|
|
1220
|
+
* @memberof ImageFile
|
|
1221
|
+
*/
|
|
1222
|
+
'variantIds'?: Array<string>;
|
|
1199
1223
|
}
|
|
1200
1224
|
/**
|
|
1201
1225
|
*
|
|
1202
1226
|
* @export
|
|
1203
|
-
* @interface
|
|
1227
|
+
* @interface InlineObject
|
|
1204
1228
|
*/
|
|
1205
|
-
export interface
|
|
1229
|
+
export interface InlineObject {
|
|
1206
1230
|
/**
|
|
1207
1231
|
* Id of the product import
|
|
1208
1232
|
* @type {string}
|
|
1209
|
-
* @memberof
|
|
1233
|
+
* @memberof InlineObject
|
|
1210
1234
|
*/
|
|
1211
1235
|
'importId'?: string;
|
|
1212
1236
|
}
|
|
@@ -3206,7 +3230,7 @@ export declare const ProductsApiFp: (configuration?: Configuration) => {
|
|
|
3206
3230
|
* @param {*} [options] Override http request option.
|
|
3207
3231
|
* @throws {RequiredError}
|
|
3208
3232
|
*/
|
|
3209
|
-
importProducts(project: string, body?: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<
|
|
3233
|
+
importProducts(project: string, body?: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<InlineObject>>;
|
|
3210
3234
|
/**
|
|
3211
3235
|
* Lists all store listing products attached to the given project.
|
|
3212
3236
|
* @summary List products
|
|
@@ -3312,7 +3336,7 @@ export declare const ProductsApiFactory: (configuration?: Configuration, basePat
|
|
|
3312
3336
|
* @param {*} [options] Override http request option.
|
|
3313
3337
|
* @throws {RequiredError}
|
|
3314
3338
|
*/
|
|
3315
|
-
importProducts(requestParameters: ProductsApiImportProductsRequest, options?: RawAxiosRequestConfig): AxiosPromise<
|
|
3339
|
+
importProducts(requestParameters: ProductsApiImportProductsRequest, options?: RawAxiosRequestConfig): AxiosPromise<InlineObject>;
|
|
3316
3340
|
/**
|
|
3317
3341
|
* Lists all store listing products attached to the given project.
|
|
3318
3342
|
* @summary List products
|
|
@@ -3672,7 +3696,7 @@ export declare class ProductsApi extends BaseAPI {
|
|
|
3672
3696
|
* @throws {RequiredError}
|
|
3673
3697
|
* @memberof ProductsApi
|
|
3674
3698
|
*/
|
|
3675
|
-
importProducts(requestParameters: ProductsApiImportProductsRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<
|
|
3699
|
+
importProducts(requestParameters: ProductsApiImportProductsRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<InlineObject, any>>;
|
|
3676
3700
|
/**
|
|
3677
3701
|
* Lists all store listing products attached to the given project.
|
|
3678
3702
|
* @summary List products
|
package/dist/esm/api.js
CHANGED
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
* Product Catalog API
|
|
5
5
|
* Manage your 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.64.0
|
|
8
8
|
*
|
|
9
9
|
*
|
|
10
10
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
package/dist/esm/base.d.ts
CHANGED
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
* Product Catalog API
|
|
3
3
|
* Manage your 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.64.0
|
|
6
6
|
*
|
|
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 your 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.64.0
|
|
8
8
|
*
|
|
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 your 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.64.0
|
|
6
6
|
*
|
|
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 your 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.64.0
|
|
8
8
|
*
|
|
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 your 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.64.0
|
|
6
6
|
*
|
|
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 your 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.64.0
|
|
8
8
|
*
|
|
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 your 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.64.0
|
|
6
6
|
*
|
|
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 your 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.64.0
|
|
8
8
|
*
|
|
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 your 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.64.0
|
|
6
6
|
*
|
|
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 your 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.64.0
|
|
9
9
|
*
|
|
10
10
|
*
|
|
11
11
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
package/docs/Application.md
CHANGED
|
@@ -10,6 +10,7 @@ Name | Type | Description | Notes
|
|
|
10
10
|
**placement** | **string** | Placement of the application. Available placements depend on the chosen product and technology. | [default to undefined]
|
|
11
11
|
**additionalInstructions** | **string** | Any additional instructions for the application | [optional] [default to undefined]
|
|
12
12
|
**src** | **string** | 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. | [optional] [default to undefined]
|
|
13
|
+
**group** | **string** | The group of the application. The src across all applications in the same group will be considered the same src. The is useful for DTF when using the same transfer across multiple products. | [optional] [default to undefined]
|
|
13
14
|
**mockup** | [**ApplicationMockup**](ApplicationMockup.md) | | [optional] [default to undefined]
|
|
14
15
|
**stockedOnly** | **boolean** | If set to true, transfers for this application will not be printed on demand, and will need to be stocked in trays in the factory. Note that this can only be set if the technology is stockable, such as DTF. | [optional] [default to undefined]
|
|
15
16
|
**properties** | [**ApplicationPropertiesProperties**](ApplicationPropertiesProperties.md) | | [optional] [default to undefined]
|
|
@@ -25,6 +26,7 @@ const instance: Application = {
|
|
|
25
26
|
placement,
|
|
26
27
|
additionalInstructions,
|
|
27
28
|
src,
|
|
29
|
+
group,
|
|
28
30
|
mockup,
|
|
29
31
|
stockedOnly,
|
|
30
32
|
properties,
|
|
@@ -9,6 +9,7 @@ Name | Type | Description | Notes
|
|
|
9
9
|
**placement** | **string** | Placement of the application. Available placements depend on the chosen product and technology. | [default to undefined]
|
|
10
10
|
**additionalInstructions** | **string** | Any additional instructions for the application | [optional] [default to undefined]
|
|
11
11
|
**src** | **string** | 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. | [default to undefined]
|
|
12
|
+
**group** | **string** | The group of the application. The src across all applications in the same group will be considered the same src. The is useful for DTF when using the same transfer across multiple products. | [optional] [default to undefined]
|
|
12
13
|
**stockedOnly** | **boolean** | If set to true, transfers for this application will not be printed on demand, and will need to be stocked in trays in the factory. Note that this can only be set if the technology is stockable, such as DTF. | [optional] [default to undefined]
|
|
13
14
|
**properties** | [**CreateApplicationProperties**](CreateApplicationProperties.md) | | [optional] [default to undefined]
|
|
14
15
|
|
|
@@ -22,6 +23,7 @@ const instance: CreateApplication = {
|
|
|
22
23
|
placement,
|
|
23
24
|
additionalInstructions,
|
|
24
25
|
src,
|
|
26
|
+
group,
|
|
25
27
|
stockedOnly,
|
|
26
28
|
properties,
|
|
27
29
|
};
|
package/docs/ImageFile.md
CHANGED
|
@@ -5,8 +5,10 @@
|
|
|
5
5
|
|
|
6
6
|
Name | Type | Description | Notes
|
|
7
7
|
------------ | ------------- | ------------- | -------------
|
|
8
|
-
**src** | **string** | Publicly available file URL. | [
|
|
8
|
+
**src** | **string** | Publicly available file URL. | [default to undefined]
|
|
9
|
+
**id** | **string** | ID of the image if it already exists. A new image will be created if this is not provided. | [optional] [default to undefined]
|
|
9
10
|
**type** | **string** | Image type. | [optional] [default to undefined]
|
|
11
|
+
**variantIds** | **Array<string>** | List of variant Ids to associate with the image. | [optional] [default to undefined]
|
|
10
12
|
|
|
11
13
|
## Example
|
|
12
14
|
|
|
@@ -15,7 +17,9 @@ import { ImageFile } from '@teemill/product-catalog';
|
|
|
15
17
|
|
|
16
18
|
const instance: ImageFile = {
|
|
17
19
|
src,
|
|
20
|
+
id,
|
|
18
21
|
type,
|
|
22
|
+
variantIds,
|
|
19
23
|
};
|
|
20
24
|
```
|
|
21
25
|
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
# InlineObject
|
|
2
|
+
|
|
3
|
+
|
|
4
|
+
## Properties
|
|
5
|
+
|
|
6
|
+
Name | Type | Description | Notes
|
|
7
|
+
------------ | ------------- | ------------- | -------------
|
|
8
|
+
**importId** | **string** | Id of the product import | [optional] [default to undefined]
|
|
9
|
+
|
|
10
|
+
## Example
|
|
11
|
+
|
|
12
|
+
```typescript
|
|
13
|
+
import { InlineObject } from '@teemill/product-catalog';
|
|
14
|
+
|
|
15
|
+
const instance: InlineObject = {
|
|
16
|
+
importId,
|
|
17
|
+
};
|
|
18
|
+
```
|
|
19
|
+
|
|
20
|
+
[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
|
package/docs/ProductsApi.md
CHANGED
|
@@ -374,7 +374,7 @@ const { status, data } = await apiInstance.getProduct(
|
|
|
374
374
|
[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md)
|
|
375
375
|
|
|
376
376
|
# **importProducts**
|
|
377
|
-
>
|
|
377
|
+
> InlineObject importProducts()
|
|
378
378
|
|
|
379
379
|
Initiates a product import from a CSV file. The result will be available as a notification within the dashboard.
|
|
380
380
|
|
|
@@ -408,7 +408,7 @@ const { status, data } = await apiInstance.importProducts(
|
|
|
408
408
|
|
|
409
409
|
### Return type
|
|
410
410
|
|
|
411
|
-
**
|
|
411
|
+
**InlineObject**
|
|
412
412
|
|
|
413
413
|
### Authorization
|
|
414
414
|
|
package/index.ts
CHANGED
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
* Product Catalog API
|
|
5
5
|
* Manage your 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.64.0
|
|
8
8
|
*
|
|
9
9
|
*
|
|
10
10
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|