@teemill/product-catalog 1.37.0 → 1.38.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/README.md CHANGED
@@ -1,4 +1,4 @@
1
- ## @teemill/product-catalog@1.37.0
1
+ ## @teemill/product-catalog@1.38.1
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.37.0 --save
39
+ npm install @teemill/product-catalog@1.38.1 --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 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.37.0
7
+ * The version of the OpenAPI document: 1.38.1
8
8
  *
9
9
  *
10
10
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -556,6 +556,12 @@ export interface CreateProductRequest {
556
556
  * @memberof CreateProductRequest
557
557
  */
558
558
  'metafields'?: Array<MetaField>;
559
+ /**
560
+ * A JSON object that defines the personalization template for the product.
561
+ * @type {string}
562
+ * @memberof CreateProductRequest
563
+ */
564
+ 'personalizationTemplate'?: string;
559
565
  }
560
566
  /**
561
567
  *
@@ -782,6 +788,25 @@ export interface ImportProducts200Response {
782
788
  */
783
789
  'importId'?: string;
784
790
  }
791
+ /**
792
+ *
793
+ * @export
794
+ * @interface Location
795
+ */
796
+ export interface Location {
797
+ /**
798
+ * The total number of units available at the location
799
+ * @type {number}
800
+ * @memberof Location
801
+ */
802
+ 'level': number;
803
+ /**
804
+ * ISO alpha-2 country code
805
+ * @type {string}
806
+ * @memberof Location
807
+ */
808
+ 'country': string;
809
+ }
785
810
  /**
786
811
  * Key/value pairs that can be used to store additional information on the product
787
812
  * @export
@@ -1001,6 +1026,12 @@ export interface Product {
1001
1026
  * @memberof Product
1002
1027
  */
1003
1028
  'metafields'?: Array<MetaField>;
1029
+ /**
1030
+ * a JSON string representing the personalization template for the product
1031
+ * @type {string}
1032
+ * @memberof Product
1033
+ */
1034
+ 'personalizationTemplate'?: string;
1004
1035
  }
1005
1036
  /**
1006
1037
  *
@@ -1115,6 +1146,12 @@ export interface Stock {
1115
1146
  * @memberof Stock
1116
1147
  */
1117
1148
  'level'?: number;
1149
+ /**
1150
+ *
1151
+ * @type {Array<Location>}
1152
+ * @memberof Stock
1153
+ */
1154
+ 'locations'?: Array<Location>;
1118
1155
  }
1119
1156
  /**
1120
1157
  *
@@ -1336,6 +1373,12 @@ export interface UpdateProductRequest {
1336
1373
  * @memberof UpdateProductRequest
1337
1374
  */
1338
1375
  'metafields'?: Array<MetaField>;
1376
+ /**
1377
+ * A JSON object that defines the personalization template for the product.
1378
+ * @type {string}
1379
+ * @memberof UpdateProductRequest
1380
+ */
1381
+ 'personalizationTemplate'?: string;
1339
1382
  }
1340
1383
  /**
1341
1384
  *
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.37.0
7
+ * The version of the OpenAPI document: 1.38.1
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.37.0
7
+ * The version of the OpenAPI document: 1.38.1
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.37.0
7
+ * The version of the OpenAPI document: 1.38.1
8
8
  *
9
9
  *
10
10
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -92,7 +92,7 @@ export class Configuration {
92
92
  this.baseOptions = {
93
93
  headers: {
94
94
  ...param.baseOptions?.headers,
95
- 'User-Agent': "OpenAPI-Generator/1.37.0/typescript-axios"
95
+ 'User-Agent': "OpenAPI-Generator/1.38.1/typescript-axios"
96
96
  },
97
97
  ...param.baseOptions
98
98
  };
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.37.0
5
+ * The version of the OpenAPI document: 1.38.1
6
6
  *
7
7
  *
8
8
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -535,6 +535,12 @@ export interface CreateProductRequest {
535
535
  * @memberof CreateProductRequest
536
536
  */
537
537
  'metafields'?: Array<MetaField>;
538
+ /**
539
+ * A JSON object that defines the personalization template for the product.
540
+ * @type {string}
541
+ * @memberof CreateProductRequest
542
+ */
543
+ 'personalizationTemplate'?: string;
538
544
  }
539
545
  /**
540
546
  *
@@ -761,6 +767,25 @@ export interface ImportProducts200Response {
761
767
  */
762
768
  'importId'?: string;
763
769
  }
770
+ /**
771
+ *
772
+ * @export
773
+ * @interface Location
774
+ */
775
+ export interface Location {
776
+ /**
777
+ * The total number of units available at the location
778
+ * @type {number}
779
+ * @memberof Location
780
+ */
781
+ 'level': number;
782
+ /**
783
+ * ISO alpha-2 country code
784
+ * @type {string}
785
+ * @memberof Location
786
+ */
787
+ 'country': string;
788
+ }
764
789
  /**
765
790
  * Key/value pairs that can be used to store additional information on the product
766
791
  * @export
@@ -977,6 +1002,12 @@ export interface Product {
977
1002
  * @memberof Product
978
1003
  */
979
1004
  'metafields'?: Array<MetaField>;
1005
+ /**
1006
+ * a JSON string representing the personalization template for the product
1007
+ * @type {string}
1008
+ * @memberof Product
1009
+ */
1010
+ 'personalizationTemplate'?: string;
980
1011
  }
981
1012
  /**
982
1013
  *
@@ -1091,6 +1122,12 @@ export interface Stock {
1091
1122
  * @memberof Stock
1092
1123
  */
1093
1124
  'level'?: number;
1125
+ /**
1126
+ *
1127
+ * @type {Array<Location>}
1128
+ * @memberof Stock
1129
+ */
1130
+ 'locations'?: Array<Location>;
1094
1131
  }
1095
1132
  /**
1096
1133
  *
@@ -1312,6 +1349,12 @@ export interface UpdateProductRequest {
1312
1349
  * @memberof UpdateProductRequest
1313
1350
  */
1314
1351
  'metafields'?: Array<MetaField>;
1352
+ /**
1353
+ * A JSON object that defines the personalization template for the product.
1354
+ * @type {string}
1355
+ * @memberof UpdateProductRequest
1356
+ */
1357
+ 'personalizationTemplate'?: string;
1315
1358
  }
1316
1359
  /**
1317
1360
  *
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.37.0
8
+ * The version of the OpenAPI document: 1.38.1
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.37.0
5
+ * The version of the OpenAPI document: 1.38.1
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.37.0
8
+ * The version of the OpenAPI document: 1.38.1
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.37.0
5
+ * The version of the OpenAPI document: 1.38.1
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.37.0
8
+ * The version of the OpenAPI document: 1.38.1
9
9
  *
10
10
  *
11
11
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -2,7 +2,7 @@
2
2
  * Product Catalog API
3
3
  * Manage 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.37.0
5
+ * The version of the OpenAPI document: 1.38.1
6
6
  *
7
7
  *
8
8
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -5,7 +5,7 @@
5
5
  * Product Catalog API
6
6
  * Manage 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.37.0
8
+ * The version of the OpenAPI document: 1.38.1
9
9
  *
10
10
  *
11
11
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -23,7 +23,7 @@ class Configuration {
23
23
  this.accessToken = param.accessToken;
24
24
  this.basePath = param.basePath;
25
25
  this.serverIndex = param.serverIndex;
26
- this.baseOptions = Object.assign({ headers: Object.assign(Object.assign({}, (_a = param.baseOptions) === null || _a === void 0 ? void 0 : _a.headers), { 'User-Agent': "OpenAPI-Generator/1.37.0/typescript-axios" }) }, param.baseOptions);
26
+ this.baseOptions = Object.assign({ headers: Object.assign(Object.assign({}, (_a = param.baseOptions) === null || _a === void 0 ? void 0 : _a.headers), { 'User-Agent': "OpenAPI-Generator/1.38.1/typescript-axios" }) }, param.baseOptions);
27
27
  this.formDataCtor = param.formDataCtor;
28
28
  }
29
29
  /**
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.37.0
5
+ * The version of the OpenAPI document: 1.38.1
6
6
  *
7
7
  *
8
8
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -535,6 +535,12 @@ export interface CreateProductRequest {
535
535
  * @memberof CreateProductRequest
536
536
  */
537
537
  'metafields'?: Array<MetaField>;
538
+ /**
539
+ * A JSON object that defines the personalization template for the product.
540
+ * @type {string}
541
+ * @memberof CreateProductRequest
542
+ */
543
+ 'personalizationTemplate'?: string;
538
544
  }
539
545
  /**
540
546
  *
@@ -761,6 +767,25 @@ export interface ImportProducts200Response {
761
767
  */
762
768
  'importId'?: string;
763
769
  }
770
+ /**
771
+ *
772
+ * @export
773
+ * @interface Location
774
+ */
775
+ export interface Location {
776
+ /**
777
+ * The total number of units available at the location
778
+ * @type {number}
779
+ * @memberof Location
780
+ */
781
+ 'level': number;
782
+ /**
783
+ * ISO alpha-2 country code
784
+ * @type {string}
785
+ * @memberof Location
786
+ */
787
+ 'country': string;
788
+ }
764
789
  /**
765
790
  * Key/value pairs that can be used to store additional information on the product
766
791
  * @export
@@ -977,6 +1002,12 @@ export interface Product {
977
1002
  * @memberof Product
978
1003
  */
979
1004
  'metafields'?: Array<MetaField>;
1005
+ /**
1006
+ * a JSON string representing the personalization template for the product
1007
+ * @type {string}
1008
+ * @memberof Product
1009
+ */
1010
+ 'personalizationTemplate'?: string;
980
1011
  }
981
1012
  /**
982
1013
  *
@@ -1091,6 +1122,12 @@ export interface Stock {
1091
1122
  * @memberof Stock
1092
1123
  */
1093
1124
  'level'?: number;
1125
+ /**
1126
+ *
1127
+ * @type {Array<Location>}
1128
+ * @memberof Stock
1129
+ */
1130
+ 'locations'?: Array<Location>;
1094
1131
  }
1095
1132
  /**
1096
1133
  *
@@ -1312,6 +1349,12 @@ export interface UpdateProductRequest {
1312
1349
  * @memberof UpdateProductRequest
1313
1350
  */
1314
1351
  'metafields'?: Array<MetaField>;
1352
+ /**
1353
+ * A JSON object that defines the personalization template for the product.
1354
+ * @type {string}
1355
+ * @memberof UpdateProductRequest
1356
+ */
1357
+ 'personalizationTemplate'?: string;
1315
1358
  }
1316
1359
  /**
1317
1360
  *
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.37.0
7
+ * The version of the OpenAPI document: 1.38.1
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.37.0
5
+ * The version of the OpenAPI document: 1.38.1
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.37.0
7
+ * The version of the OpenAPI document: 1.38.1
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.37.0
5
+ * The version of the OpenAPI document: 1.38.1
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.37.0
7
+ * The version of the OpenAPI document: 1.38.1
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.37.0
5
+ * The version of the OpenAPI document: 1.38.1
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.37.0
7
+ * The version of the OpenAPI document: 1.38.1
8
8
  *
9
9
  *
10
10
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -20,7 +20,7 @@ export class Configuration {
20
20
  this.accessToken = param.accessToken;
21
21
  this.basePath = param.basePath;
22
22
  this.serverIndex = param.serverIndex;
23
- this.baseOptions = Object.assign({ headers: Object.assign(Object.assign({}, (_a = param.baseOptions) === null || _a === void 0 ? void 0 : _a.headers), { 'User-Agent': "OpenAPI-Generator/1.37.0/typescript-axios" }) }, param.baseOptions);
23
+ this.baseOptions = Object.assign({ headers: Object.assign(Object.assign({}, (_a = param.baseOptions) === null || _a === void 0 ? void 0 : _a.headers), { 'User-Agent': "OpenAPI-Generator/1.38.1/typescript-axios" }) }, param.baseOptions);
24
24
  this.formDataCtor = param.formDataCtor;
25
25
  }
26
26
  /**
@@ -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.37.0
5
+ * The version of the OpenAPI document: 1.38.1
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.37.0
7
+ * The version of the OpenAPI document: 1.38.1
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.37.0
5
+ * The version of the OpenAPI document: 1.38.1
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.37.0
8
+ * The version of the OpenAPI document: 1.38.1
9
9
  *
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 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.37.0
7
+ * The version of the OpenAPI document: 1.38.1
8
8
  *
9
9
  *
10
10
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@teemill/product-catalog",
3
- "version": "1.37.0",
3
+ "version": "1.38.1",
4
4
  "description": "OpenAPI client for @teemill/product-catalog",
5
5
  "author": "OpenAPI-Generator Contributors",
6
6
  "repository": {