@teemill/product-catalog 1.52.0 → 1.54.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 CHANGED
@@ -1,4 +1,4 @@
1
- ## @teemill/product-catalog@1.52.0
1
+ ## @teemill/product-catalog@1.54.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.52.0 --save
39
+ npm install @teemill/product-catalog@1.54.0 --save
40
40
  ```
41
41
 
42
42
  _unPublished (not recommended):_
@@ -117,6 +117,7 @@ Class | Method | HTTP request | Description
117
117
  - [ProductWarehouseProduct](docs/ProductWarehouseProduct.md)
118
118
  - [ProductsResponse](docs/ProductsResponse.md)
119
119
  - [SEOMetadata](docs/SEOMetadata.md)
120
+ - [SalePrice](docs/SalePrice.md)
120
121
  - [SeoOptimiseProducts202Response](docs/SeoOptimiseProducts202Response.md)
121
122
  - [SeoOptimiseProductsRequest](docs/SeoOptimiseProductsRequest.md)
122
123
  - [Stock](docs/Stock.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.52.0
7
+ * The version of the OpenAPI document: 1.54.0
8
8
  *
9
9
  *
10
10
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -79,6 +79,12 @@ export interface Application {
79
79
  * @memberof Application
80
80
  */
81
81
  'placement': ApplicationPlacementEnum;
82
+ /**
83
+ * Any additional instructions for the application
84
+ * @type {string}
85
+ * @memberof Application
86
+ */
87
+ 'additionalInstructions'?: string | null;
82
88
  /**
83
89
  * 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.
84
90
  * @type {string}
@@ -436,6 +442,12 @@ export interface CreateApplication {
436
442
  * @memberof CreateApplication
437
443
  */
438
444
  'placement': CreateApplicationPlacementEnum;
445
+ /**
446
+ * Any additional instructions for the application
447
+ * @type {string}
448
+ * @memberof CreateApplication
449
+ */
450
+ 'additionalInstructions'?: string | null;
439
451
  /**
440
452
  * 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.
441
453
  * @type {string}
@@ -658,10 +670,10 @@ export interface CreateBundleProduct {
658
670
  'retailPrice'?: Price;
659
671
  /**
660
672
  *
661
- * @type {Price}
673
+ * @type {SalePrice}
662
674
  * @memberof CreateBundleProduct
663
675
  */
664
- 'salePrice'?: Price;
676
+ 'salePrice'?: SalePrice | null;
665
677
  /**
666
678
  *
667
679
  * @type {Price}
@@ -851,7 +863,7 @@ export interface CreateProductVariant {
851
863
  * @type {UpdateProductsRequestProductsInnerVariantsInnerSalePrice}
852
864
  * @memberof CreateProductVariant
853
865
  */
854
- 'salePrice'?: UpdateProductsRequestProductsInnerVariantsInnerSalePrice;
866
+ 'salePrice'?: UpdateProductsRequestProductsInnerVariantsInnerSalePrice | null;
855
867
  /**
856
868
  * A custom stock keeping unit for the variant.
857
869
  * @type {string}
@@ -1259,10 +1271,10 @@ export interface Product {
1259
1271
  'retailPrice'?: Price;
1260
1272
  /**
1261
1273
  *
1262
- * @type {Price}
1274
+ * @type {SalePrice}
1263
1275
  * @memberof Product
1264
1276
  */
1265
- 'salePrice'?: Price;
1277
+ 'salePrice'?: SalePrice | null;
1266
1278
  /**
1267
1279
  * Additional files attached to the product.
1268
1280
  * @type {Array<ProductAdditionalFilesInner>}
@@ -1455,6 +1467,32 @@ export interface SEOMetadata {
1455
1467
  */
1456
1468
  'description'?: string | null;
1457
1469
  }
1470
+ /**
1471
+ * Discounted price including tax.
1472
+ * @export
1473
+ * @interface SalePrice
1474
+ */
1475
+ export interface SalePrice {
1476
+ /**
1477
+ * Discounted price including tax in the specified currency.
1478
+ * @type {number}
1479
+ * @memberof SalePrice
1480
+ */
1481
+ 'amount': number;
1482
+ /**
1483
+ * Currency code for the currency the sale price is valued in.
1484
+ * @type {string}
1485
+ * @memberof SalePrice
1486
+ */
1487
+ 'currencyCode': SalePriceCurrencyCodeEnum;
1488
+ }
1489
+
1490
+ export const SalePriceCurrencyCodeEnum = {
1491
+ Gbp: 'GBP'
1492
+ } as const;
1493
+
1494
+ export type SalePriceCurrencyCodeEnum = typeof SalePriceCurrencyCodeEnum[keyof typeof SalePriceCurrencyCodeEnum];
1495
+
1458
1496
  /**
1459
1497
  *
1460
1498
  * @export
@@ -1692,10 +1730,10 @@ export interface UpdateProductRequest {
1692
1730
  'retailPrice'?: Price;
1693
1731
  /**
1694
1732
  *
1695
- * @type {Price}
1733
+ * @type {SalePrice}
1696
1734
  * @memberof UpdateProductRequest
1697
1735
  */
1698
- 'salePrice'?: Price;
1736
+ 'salePrice'?: SalePrice | null;
1699
1737
  /**
1700
1738
  * Images to attach to the product. For example, photos of models using/wearing the product.
1701
1739
  * @type {Array<ImageFile>}
@@ -1923,7 +1961,7 @@ export interface UpdateProductsRequestProductsInnerVariantsInner {
1923
1961
  * @type {UpdateProductsRequestProductsInnerVariantsInnerSalePrice}
1924
1962
  * @memberof UpdateProductsRequestProductsInnerVariantsInner
1925
1963
  */
1926
- 'salePrice'?: UpdateProductsRequestProductsInnerVariantsInnerSalePrice;
1964
+ 'salePrice'?: UpdateProductsRequestProductsInnerVariantsInnerSalePrice | null;
1927
1965
  /**
1928
1966
  * The GTIN (Global Trade Item Number) or EAN (European Article Number) of the variant. Please note that a barcode can only be attached after the Barcodes module has been installed.
1929
1967
  * @type {string}
@@ -2022,7 +2060,7 @@ export type UpdateProductsRequestProductsInnerVariantsInnerRetailPriceCurrencyCo
2022
2060
  */
2023
2061
  export interface UpdateProductsRequestProductsInnerVariantsInnerSalePrice {
2024
2062
  /**
2025
- * Sale price including tax in the specified currency.
2063
+ * Discounted price including tax in the specified currency.
2026
2064
  * @type {number}
2027
2065
  * @memberof UpdateProductsRequestProductsInnerVariantsInnerSalePrice
2028
2066
  */
@@ -2091,10 +2129,10 @@ export interface Variant {
2091
2129
  'retailPrice'?: Price;
2092
2130
  /**
2093
2131
  *
2094
- * @type {Price}
2132
+ * @type {SalePrice}
2095
2133
  * @memberof Variant
2096
2134
  */
2097
- 'salePrice'?: Price;
2135
+ 'salePrice'?: SalePrice | null;
2098
2136
  /**
2099
2137
  *
2100
2138
  * @type {Price}
@@ -2168,6 +2206,12 @@ export interface Variant {
2168
2206
  * @memberof Variant
2169
2207
  */
2170
2208
  'integrationConnections'?: Array<VariantIntegrationConnectionsInner>;
2209
+ /**
2210
+ *
2211
+ * @type {Price}
2212
+ * @memberof Variant
2213
+ */
2214
+ 'wholesaleCost'?: Price;
2171
2215
  }
2172
2216
  /**
2173
2217
  *
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.52.0
7
+ * The version of the OpenAPI document: 1.54.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.52.0
7
+ * The version of the OpenAPI document: 1.54.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.52.0
7
+ * The version of the OpenAPI document: 1.54.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.52.0
5
+ * The version of the OpenAPI document: 1.54.0
6
6
  *
7
7
  *
8
8
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -69,6 +69,12 @@ export interface Application {
69
69
  * @memberof Application
70
70
  */
71
71
  'placement': ApplicationPlacementEnum;
72
+ /**
73
+ * Any additional instructions for the application
74
+ * @type {string}
75
+ * @memberof Application
76
+ */
77
+ 'additionalInstructions'?: string | null;
72
78
  /**
73
79
  * 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.
74
80
  * @type {string}
@@ -419,6 +425,12 @@ export interface CreateApplication {
419
425
  * @memberof CreateApplication
420
426
  */
421
427
  'placement': CreateApplicationPlacementEnum;
428
+ /**
429
+ * Any additional instructions for the application
430
+ * @type {string}
431
+ * @memberof CreateApplication
432
+ */
433
+ 'additionalInstructions'?: string | null;
422
434
  /**
423
435
  * 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.
424
436
  * @type {string}
@@ -637,10 +649,10 @@ export interface CreateBundleProduct {
637
649
  'retailPrice'?: Price;
638
650
  /**
639
651
  *
640
- * @type {Price}
652
+ * @type {SalePrice}
641
653
  * @memberof CreateBundleProduct
642
654
  */
643
- 'salePrice'?: Price;
655
+ 'salePrice'?: SalePrice | null;
644
656
  /**
645
657
  *
646
658
  * @type {Price}
@@ -829,7 +841,7 @@ export interface CreateProductVariant {
829
841
  * @type {UpdateProductsRequestProductsInnerVariantsInnerSalePrice}
830
842
  * @memberof CreateProductVariant
831
843
  */
832
- 'salePrice'?: UpdateProductsRequestProductsInnerVariantsInnerSalePrice;
844
+ 'salePrice'?: UpdateProductsRequestProductsInnerVariantsInnerSalePrice | null;
833
845
  /**
834
846
  * A custom stock keeping unit for the variant.
835
847
  * @type {string}
@@ -1234,10 +1246,10 @@ export interface Product {
1234
1246
  'retailPrice'?: Price;
1235
1247
  /**
1236
1248
  *
1237
- * @type {Price}
1249
+ * @type {SalePrice}
1238
1250
  * @memberof Product
1239
1251
  */
1240
- 'salePrice'?: Price;
1252
+ 'salePrice'?: SalePrice | null;
1241
1253
  /**
1242
1254
  * Additional files attached to the product.
1243
1255
  * @type {Array<ProductAdditionalFilesInner>}
@@ -1430,6 +1442,29 @@ export interface SEOMetadata {
1430
1442
  */
1431
1443
  'description'?: string | null;
1432
1444
  }
1445
+ /**
1446
+ * Discounted price including tax.
1447
+ * @export
1448
+ * @interface SalePrice
1449
+ */
1450
+ export interface SalePrice {
1451
+ /**
1452
+ * Discounted price including tax in the specified currency.
1453
+ * @type {number}
1454
+ * @memberof SalePrice
1455
+ */
1456
+ 'amount': number;
1457
+ /**
1458
+ * Currency code for the currency the sale price is valued in.
1459
+ * @type {string}
1460
+ * @memberof SalePrice
1461
+ */
1462
+ 'currencyCode': SalePriceCurrencyCodeEnum;
1463
+ }
1464
+ export declare const SalePriceCurrencyCodeEnum: {
1465
+ readonly Gbp: "GBP";
1466
+ };
1467
+ export type SalePriceCurrencyCodeEnum = typeof SalePriceCurrencyCodeEnum[keyof typeof SalePriceCurrencyCodeEnum];
1433
1468
  /**
1434
1469
  *
1435
1470
  * @export
@@ -1667,10 +1702,10 @@ export interface UpdateProductRequest {
1667
1702
  'retailPrice'?: Price;
1668
1703
  /**
1669
1704
  *
1670
- * @type {Price}
1705
+ * @type {SalePrice}
1671
1706
  * @memberof UpdateProductRequest
1672
1707
  */
1673
- 'salePrice'?: Price;
1708
+ 'salePrice'?: SalePrice | null;
1674
1709
  /**
1675
1710
  * Images to attach to the product. For example, photos of models using/wearing the product.
1676
1711
  * @type {Array<ImageFile>}
@@ -1898,7 +1933,7 @@ export interface UpdateProductsRequestProductsInnerVariantsInner {
1898
1933
  * @type {UpdateProductsRequestProductsInnerVariantsInnerSalePrice}
1899
1934
  * @memberof UpdateProductsRequestProductsInnerVariantsInner
1900
1935
  */
1901
- 'salePrice'?: UpdateProductsRequestProductsInnerVariantsInnerSalePrice;
1936
+ 'salePrice'?: UpdateProductsRequestProductsInnerVariantsInnerSalePrice | null;
1902
1937
  /**
1903
1938
  * The GTIN (Global Trade Item Number) or EAN (European Article Number) of the variant. Please note that a barcode can only be attached after the Barcodes module has been installed.
1904
1939
  * @type {string}
@@ -1991,7 +2026,7 @@ export type UpdateProductsRequestProductsInnerVariantsInnerRetailPriceCurrencyCo
1991
2026
  */
1992
2027
  export interface UpdateProductsRequestProductsInnerVariantsInnerSalePrice {
1993
2028
  /**
1994
- * Sale price including tax in the specified currency.
2029
+ * Discounted price including tax in the specified currency.
1995
2030
  * @type {number}
1996
2031
  * @memberof UpdateProductsRequestProductsInnerVariantsInnerSalePrice
1997
2032
  */
@@ -2057,10 +2092,10 @@ export interface Variant {
2057
2092
  'retailPrice'?: Price;
2058
2093
  /**
2059
2094
  *
2060
- * @type {Price}
2095
+ * @type {SalePrice}
2061
2096
  * @memberof Variant
2062
2097
  */
2063
- 'salePrice'?: Price;
2098
+ 'salePrice'?: SalePrice | null;
2064
2099
  /**
2065
2100
  *
2066
2101
  * @type {Price}
@@ -2134,6 +2169,12 @@ export interface Variant {
2134
2169
  * @memberof Variant
2135
2170
  */
2136
2171
  'integrationConnections'?: Array<VariantIntegrationConnectionsInner>;
2172
+ /**
2173
+ *
2174
+ * @type {Price}
2175
+ * @memberof Variant
2176
+ */
2177
+ 'wholesaleCost'?: Price;
2137
2178
  }
2138
2179
  /**
2139
2180
  *
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.52.0
8
+ * The version of the OpenAPI document: 1.54.0
9
9
  *
10
10
  *
11
11
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -22,7 +22,7 @@ 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.ApplicationTechnologiesApi = exports.ApplicationTechnologiesApiFactory = exports.ApplicationTechnologiesApiFp = exports.ApplicationTechnologiesApiAxiosParamCreator = exports.ApplicationSetsApi = exports.ApplicationSetsApiFactory = exports.ApplicationSetsApiFp = exports.ApplicationSetsApiAxiosParamCreator = exports.UpdateProductsRequestProductsInnerVariantsInnerSalePriceCurrencyCodeEnum = exports.UpdateProductsRequestProductsInnerVariantsInnerRetailPriceCurrencyCodeEnum = exports.UpdateProductsRequestProductsInnerVariantsInnerAttributesInnerNameEnum = exports.PriceCurrencyCodeEnum = exports.CreateApplicationPlacementEnum = exports.CreateApplicationTechnologyEnum = exports.AttributeThumbnailTypeEnum = exports.ApplicationPlacementEnum = exports.ApplicationTechnologyEnum = void 0;
25
+ exports.VariantsApi = exports.VariantsApiFactory = exports.VariantsApiFp = exports.VariantsApiAxiosParamCreator = exports.ProductsApi = exports.ProductsApiFactory = exports.ProductsApiFp = exports.ProductsApiAxiosParamCreator = exports.ApplicationTechnologiesApi = exports.ApplicationTechnologiesApiFactory = exports.ApplicationTechnologiesApiFp = exports.ApplicationTechnologiesApiAxiosParamCreator = exports.ApplicationSetsApi = exports.ApplicationSetsApiFactory = exports.ApplicationSetsApiFp = exports.ApplicationSetsApiAxiosParamCreator = exports.UpdateProductsRequestProductsInnerVariantsInnerSalePriceCurrencyCodeEnum = exports.UpdateProductsRequestProductsInnerVariantsInnerRetailPriceCurrencyCodeEnum = exports.UpdateProductsRequestProductsInnerVariantsInnerAttributesInnerNameEnum = exports.SalePriceCurrencyCodeEnum = exports.PriceCurrencyCodeEnum = exports.CreateApplicationPlacementEnum = exports.CreateApplicationTechnologyEnum = exports.AttributeThumbnailTypeEnum = exports.ApplicationPlacementEnum = exports.ApplicationTechnologyEnum = void 0;
26
26
  const axios_1 = require("axios");
27
27
  // Some imports not used depending on template conditions
28
28
  // @ts-ignore
@@ -73,6 +73,9 @@ exports.CreateApplicationPlacementEnum = {
73
73
  exports.PriceCurrencyCodeEnum = {
74
74
  Gbp: 'GBP'
75
75
  };
76
+ exports.SalePriceCurrencyCodeEnum = {
77
+ Gbp: 'GBP'
78
+ };
76
79
  exports.UpdateProductsRequestProductsInnerVariantsInnerAttributesInnerNameEnum = {
77
80
  Size: 'Size',
78
81
  Colour: 'Colour'
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.52.0
5
+ * The version of the OpenAPI document: 1.54.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.52.0
8
+ * The version of the OpenAPI document: 1.54.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.52.0
5
+ * The version of the OpenAPI document: 1.54.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.52.0
8
+ * The version of the OpenAPI document: 1.54.0
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.52.0
5
+ * The version of the OpenAPI document: 1.54.0
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.52.0
8
+ * The version of the OpenAPI document: 1.54.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.52.0
5
+ * The version of the OpenAPI document: 1.54.0
6
6
  *
7
7
  *
8
8
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -69,6 +69,12 @@ export interface Application {
69
69
  * @memberof Application
70
70
  */
71
71
  'placement': ApplicationPlacementEnum;
72
+ /**
73
+ * Any additional instructions for the application
74
+ * @type {string}
75
+ * @memberof Application
76
+ */
77
+ 'additionalInstructions'?: string | null;
72
78
  /**
73
79
  * 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.
74
80
  * @type {string}
@@ -419,6 +425,12 @@ export interface CreateApplication {
419
425
  * @memberof CreateApplication
420
426
  */
421
427
  'placement': CreateApplicationPlacementEnum;
428
+ /**
429
+ * Any additional instructions for the application
430
+ * @type {string}
431
+ * @memberof CreateApplication
432
+ */
433
+ 'additionalInstructions'?: string | null;
422
434
  /**
423
435
  * 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.
424
436
  * @type {string}
@@ -637,10 +649,10 @@ export interface CreateBundleProduct {
637
649
  'retailPrice'?: Price;
638
650
  /**
639
651
  *
640
- * @type {Price}
652
+ * @type {SalePrice}
641
653
  * @memberof CreateBundleProduct
642
654
  */
643
- 'salePrice'?: Price;
655
+ 'salePrice'?: SalePrice | null;
644
656
  /**
645
657
  *
646
658
  * @type {Price}
@@ -829,7 +841,7 @@ export interface CreateProductVariant {
829
841
  * @type {UpdateProductsRequestProductsInnerVariantsInnerSalePrice}
830
842
  * @memberof CreateProductVariant
831
843
  */
832
- 'salePrice'?: UpdateProductsRequestProductsInnerVariantsInnerSalePrice;
844
+ 'salePrice'?: UpdateProductsRequestProductsInnerVariantsInnerSalePrice | null;
833
845
  /**
834
846
  * A custom stock keeping unit for the variant.
835
847
  * @type {string}
@@ -1234,10 +1246,10 @@ export interface Product {
1234
1246
  'retailPrice'?: Price;
1235
1247
  /**
1236
1248
  *
1237
- * @type {Price}
1249
+ * @type {SalePrice}
1238
1250
  * @memberof Product
1239
1251
  */
1240
- 'salePrice'?: Price;
1252
+ 'salePrice'?: SalePrice | null;
1241
1253
  /**
1242
1254
  * Additional files attached to the product.
1243
1255
  * @type {Array<ProductAdditionalFilesInner>}
@@ -1430,6 +1442,29 @@ export interface SEOMetadata {
1430
1442
  */
1431
1443
  'description'?: string | null;
1432
1444
  }
1445
+ /**
1446
+ * Discounted price including tax.
1447
+ * @export
1448
+ * @interface SalePrice
1449
+ */
1450
+ export interface SalePrice {
1451
+ /**
1452
+ * Discounted price including tax in the specified currency.
1453
+ * @type {number}
1454
+ * @memberof SalePrice
1455
+ */
1456
+ 'amount': number;
1457
+ /**
1458
+ * Currency code for the currency the sale price is valued in.
1459
+ * @type {string}
1460
+ * @memberof SalePrice
1461
+ */
1462
+ 'currencyCode': SalePriceCurrencyCodeEnum;
1463
+ }
1464
+ export declare const SalePriceCurrencyCodeEnum: {
1465
+ readonly Gbp: "GBP";
1466
+ };
1467
+ export type SalePriceCurrencyCodeEnum = typeof SalePriceCurrencyCodeEnum[keyof typeof SalePriceCurrencyCodeEnum];
1433
1468
  /**
1434
1469
  *
1435
1470
  * @export
@@ -1667,10 +1702,10 @@ export interface UpdateProductRequest {
1667
1702
  'retailPrice'?: Price;
1668
1703
  /**
1669
1704
  *
1670
- * @type {Price}
1705
+ * @type {SalePrice}
1671
1706
  * @memberof UpdateProductRequest
1672
1707
  */
1673
- 'salePrice'?: Price;
1708
+ 'salePrice'?: SalePrice | null;
1674
1709
  /**
1675
1710
  * Images to attach to the product. For example, photos of models using/wearing the product.
1676
1711
  * @type {Array<ImageFile>}
@@ -1898,7 +1933,7 @@ export interface UpdateProductsRequestProductsInnerVariantsInner {
1898
1933
  * @type {UpdateProductsRequestProductsInnerVariantsInnerSalePrice}
1899
1934
  * @memberof UpdateProductsRequestProductsInnerVariantsInner
1900
1935
  */
1901
- 'salePrice'?: UpdateProductsRequestProductsInnerVariantsInnerSalePrice;
1936
+ 'salePrice'?: UpdateProductsRequestProductsInnerVariantsInnerSalePrice | null;
1902
1937
  /**
1903
1938
  * The GTIN (Global Trade Item Number) or EAN (European Article Number) of the variant. Please note that a barcode can only be attached after the Barcodes module has been installed.
1904
1939
  * @type {string}
@@ -1991,7 +2026,7 @@ export type UpdateProductsRequestProductsInnerVariantsInnerRetailPriceCurrencyCo
1991
2026
  */
1992
2027
  export interface UpdateProductsRequestProductsInnerVariantsInnerSalePrice {
1993
2028
  /**
1994
- * Sale price including tax in the specified currency.
2029
+ * Discounted price including tax in the specified currency.
1995
2030
  * @type {number}
1996
2031
  * @memberof UpdateProductsRequestProductsInnerVariantsInnerSalePrice
1997
2032
  */
@@ -2057,10 +2092,10 @@ export interface Variant {
2057
2092
  'retailPrice'?: Price;
2058
2093
  /**
2059
2094
  *
2060
- * @type {Price}
2095
+ * @type {SalePrice}
2061
2096
  * @memberof Variant
2062
2097
  */
2063
- 'salePrice'?: Price;
2098
+ 'salePrice'?: SalePrice | null;
2064
2099
  /**
2065
2100
  *
2066
2101
  * @type {Price}
@@ -2134,6 +2169,12 @@ export interface Variant {
2134
2169
  * @memberof Variant
2135
2170
  */
2136
2171
  'integrationConnections'?: Array<VariantIntegrationConnectionsInner>;
2172
+ /**
2173
+ *
2174
+ * @type {Price}
2175
+ * @memberof Variant
2176
+ */
2177
+ 'wholesaleCost'?: Price;
2137
2178
  }
2138
2179
  /**
2139
2180
  *
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.52.0
7
+ * The version of the OpenAPI document: 1.54.0
8
8
  *
9
9
  *
10
10
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -70,6 +70,9 @@ export const CreateApplicationPlacementEnum = {
70
70
  export const PriceCurrencyCodeEnum = {
71
71
  Gbp: 'GBP'
72
72
  };
73
+ export const SalePriceCurrencyCodeEnum = {
74
+ Gbp: 'GBP'
75
+ };
73
76
  export const UpdateProductsRequestProductsInnerVariantsInnerAttributesInnerNameEnum = {
74
77
  Size: 'Size',
75
78
  Colour: 'Colour'
@@ -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.52.0
5
+ * The version of the OpenAPI document: 1.54.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.52.0
7
+ * The version of the OpenAPI document: 1.54.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.52.0
5
+ * The version of the OpenAPI document: 1.54.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.52.0
7
+ * The version of the OpenAPI document: 1.54.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.52.0
5
+ * The version of the OpenAPI document: 1.54.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.52.0
7
+ * The version of the OpenAPI document: 1.54.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.52.0
5
+ * The version of the OpenAPI document: 1.54.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.52.0
7
+ * The version of the OpenAPI document: 1.54.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.52.0
5
+ * The version of the OpenAPI document: 1.54.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.52.0
8
+ * The version of the OpenAPI document: 1.54.0
9
9
  *
10
10
  *
11
11
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -8,6 +8,7 @@ Name | Type | Description | Notes
8
8
  **id** | **string** | Unique object identifier | [optional] [default to undefined]
9
9
  **technology** | **string** | Technology to use for the application. | [default to undefined]
10
10
  **placement** | **string** | Placement of the application. Available placements depend on the chosen product and technology. | [default to undefined]
11
+ **additionalInstructions** | **string** | Any additional instructions for the application | [optional] [default to undefined]
11
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. Accepts PNG and JPEG files. | [default to undefined]
12
13
  **mockup** | [**ApplicationMockup**](ApplicationMockup.md) | | [optional] [default to undefined]
13
14
  **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]
@@ -21,6 +22,7 @@ const instance: Application = {
21
22
  id,
22
23
  technology,
23
24
  placement,
25
+ additionalInstructions,
24
26
  src,
25
27
  mockup,
26
28
  stockedOnly,
@@ -7,6 +7,7 @@ Name | Type | Description | Notes
7
7
  ------------ | ------------- | ------------- | -------------
8
8
  **technology** | **string** | Technology to use for the application. | [default to undefined]
9
9
  **placement** | **string** | Placement of the application. Available placements depend on the chosen product and technology. | [default to undefined]
10
+ **additionalInstructions** | **string** | Any additional instructions for the application | [optional] [default to undefined]
10
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. Accepts PNG and JPEG files. | [default to undefined]
11
12
  **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]
12
13
 
@@ -18,6 +19,7 @@ import { CreateApplication } from '@teemill/product-catalog';
18
19
  const instance: CreateApplication = {
19
20
  technology,
20
21
  placement,
22
+ additionalInstructions,
21
23
  src,
22
24
  stockedOnly,
23
25
  };
@@ -21,7 +21,7 @@ Name | Type | Description | Notes
21
21
  **metafields** | [**Array&lt;MetaField&gt;**](MetaField.md) | Key/value pairs that can be used to store additional information about the product | [optional] [default to undefined]
22
22
  **bundleItems** | **Array&lt;string&gt;** | A list of product uuids to include in this bundle | [default to undefined]
23
23
  **retailPrice** | [**Price**](Price.md) | | [optional] [default to undefined]
24
- **salePrice** | [**Price**](Price.md) | | [optional] [default to undefined]
24
+ **salePrice** | [**SalePrice**](SalePrice.md) | | [optional] [default to undefined]
25
25
  **price** | [**Price**](Price.md) | | [optional] [readonly] [default to undefined]
26
26
 
27
27
  ## Example
@@ -26,7 +26,7 @@ Name | Type | Description | Notes
26
26
  **personalizationTemplate** | **string** | A JSON object that defines the personalization template for the product. | [optional] [default to undefined]
27
27
  **bundleItems** | **Array&lt;string&gt;** | A list of product uuids to include in this bundle | [default to undefined]
28
28
  **retailPrice** | [**Price**](Price.md) | | [optional] [default to undefined]
29
- **salePrice** | [**Price**](Price.md) | | [optional] [default to undefined]
29
+ **salePrice** | [**SalePrice**](SalePrice.md) | | [optional] [default to undefined]
30
30
  **price** | [**Price**](Price.md) | | [optional] [readonly] [default to undefined]
31
31
 
32
32
  ## Example
package/docs/Product.md CHANGED
@@ -23,7 +23,7 @@ Name | Type | Description | Notes
23
23
  **variants** | [**Array&lt;Variant&gt;**](Variant.md) | Variants | [optional] [default to undefined]
24
24
  **bundleItems** | [**Array&lt;Product&gt;**](Product.md) | Products in the bundle. | [optional] [default to undefined]
25
25
  **retailPrice** | [**Price**](Price.md) | | [optional] [default to undefined]
26
- **salePrice** | [**Price**](Price.md) | | [optional] [default to undefined]
26
+ **salePrice** | [**SalePrice**](SalePrice.md) | | [optional] [default to undefined]
27
27
  **additionalFiles** | [**Array&lt;ProductAdditionalFilesInner&gt;**](ProductAdditionalFilesInner.md) | Additional files attached to the product. | [optional] [default to undefined]
28
28
  **applicationSets** | [**Array&lt;ProductApplicationSetsInner&gt;**](ProductApplicationSetsInner.md) | List of application sets associated with this product | [optional] [default to undefined]
29
29
  **reviewScore** | **number** | The average review rating. This field is only present if included in the fields query parameter | [optional] [default to undefined]
@@ -0,0 +1,23 @@
1
+ # SalePrice
2
+
3
+ Discounted price including tax.
4
+
5
+ ## Properties
6
+
7
+ Name | Type | Description | Notes
8
+ ------------ | ------------- | ------------- | -------------
9
+ **amount** | **number** | Discounted price including tax in the specified currency. | [default to undefined]
10
+ **currencyCode** | **string** | Currency code for the currency the sale price is valued in. | [default to undefined]
11
+
12
+ ## Example
13
+
14
+ ```typescript
15
+ import { SalePrice } from '@teemill/product-catalog';
16
+
17
+ const instance: SalePrice = {
18
+ amount,
19
+ currencyCode,
20
+ };
21
+ ```
22
+
23
+ [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
@@ -18,7 +18,7 @@ Name | Type | Description | Notes
18
18
  **variants** | [**Array&lt;CreateProductVariant&gt;**](CreateProductVariant.md) | Variants | [optional] [default to undefined]
19
19
  **bundleItems** | **Array&lt;string&gt;** | A list of product uuids to be in this bundle. Only valid if the product is already a bundle. | [optional] [default to undefined]
20
20
  **retailPrice** | [**Price**](Price.md) | | [optional] [default to undefined]
21
- **salePrice** | [**Price**](Price.md) | | [optional] [default to undefined]
21
+ **salePrice** | [**SalePrice**](SalePrice.md) | | [optional] [default to undefined]
22
22
  **images** | [**Array&lt;ImageFile&gt;**](ImageFile.md) | Images to attach to the product. For example, photos of models using/wearing the product. | [optional] [default to undefined]
23
23
  **videos** | [**Array&lt;VideoFile&gt;**](VideoFile.md) | Videos to attach to the product. | [optional] [default to undefined]
24
24
  **additionalFiles** | [**Array&lt;AdditionalFile&gt;**](AdditionalFile.md) | Additional files to attach to the product. For example, original design files e.g. PSD, AI, etc. | [optional] [default to undefined]
@@ -6,7 +6,7 @@ Variant discounted price including tax.
6
6
 
7
7
  Name | Type | Description | Notes
8
8
  ------------ | ------------- | ------------- | -------------
9
- **amount** | **number** | Sale price including tax in the specified currency. | [default to undefined]
9
+ **amount** | **number** | Discounted price including tax in the specified currency. | [default to undefined]
10
10
  **currencyCode** | **string** | Currency code for the currency the sale price is valued in. | [default to undefined]
11
11
 
12
12
  ## Example
package/docs/Variant.md CHANGED
@@ -12,7 +12,7 @@ Name | Type | Description | Notes
12
12
  **product** | [**VariantProduct**](VariantProduct.md) | | [optional] [default to undefined]
13
13
  **sortOrder** | **number** | | [optional] [readonly] [default to undefined]
14
14
  **retailPrice** | [**Price**](Price.md) | | [optional] [default to undefined]
15
- **salePrice** | [**Price**](Price.md) | | [optional] [default to undefined]
15
+ **salePrice** | [**SalePrice**](SalePrice.md) | | [optional] [default to undefined]
16
16
  **price** | [**Price**](Price.md) | | [optional] [readonly] [default to undefined]
17
17
  **stock** | [**Stock**](Stock.md) | | [optional] [default to undefined]
18
18
  **createdAt** | **string** | | [optional] [default to undefined]
@@ -25,6 +25,7 @@ Name | Type | Description | Notes
25
25
  **shopifyId** | **number** | For use with the Shopify integration. The Shopify variant ID that this variant is linked to. | [optional] [default to undefined]
26
26
  **metafields** | [**Array&lt;MetaField&gt;**](MetaField.md) | Key/value pairs that can be used to store additional information about the variant | [optional] [default to undefined]
27
27
  **integrationConnections** | [**Array&lt;VariantIntegrationConnectionsInner&gt;**](VariantIntegrationConnectionsInner.md) | | [optional] [default to undefined]
28
+ **wholesaleCost** | [**Price**](Price.md) | | [optional] [default to undefined]
28
29
 
29
30
  ## Example
30
31
 
@@ -52,6 +53,7 @@ const instance: Variant = {
52
53
  shopifyId,
53
54
  metafields,
54
55
  integrationConnections,
56
+ wholesaleCost,
55
57
  };
56
58
  ```
57
59
 
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.52.0
7
+ * The version of the OpenAPI document: 1.54.0
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.52.0",
3
+ "version": "1.54.0",
4
4
  "description": "OpenAPI client for @teemill/product-catalog",
5
5
  "author": "OpenAPI-Generator Contributors",
6
6
  "repository": {