@teemill/product-catalog 1.53.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 +3 -2
- package/api.ts +44 -12
- package/base.ts +1 -1
- package/common.ts +1 -1
- package/configuration.ts +1 -1
- package/dist/api.d.ts +41 -12
- package/dist/api.js +5 -2
- 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 +41 -12
- package/dist/esm/api.js +4 -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/CreateBundleProduct.md +1 -1
- package/docs/CreateProductRequest.md +1 -1
- package/docs/Product.md +1 -1
- package/docs/SalePrice.md +23 -0
- package/docs/UpdateProductRequest.md +1 -1
- package/docs/UpdateProductsRequestProductsInnerVariantsInnerSalePrice.md +1 -1
- package/docs/Variant.md +3 -1
- 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.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.
|
|
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.
|
|
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).
|
|
@@ -670,10 +670,10 @@ export interface CreateBundleProduct {
|
|
|
670
670
|
'retailPrice'?: Price;
|
|
671
671
|
/**
|
|
672
672
|
*
|
|
673
|
-
* @type {
|
|
673
|
+
* @type {SalePrice}
|
|
674
674
|
* @memberof CreateBundleProduct
|
|
675
675
|
*/
|
|
676
|
-
'salePrice'?:
|
|
676
|
+
'salePrice'?: SalePrice | null;
|
|
677
677
|
/**
|
|
678
678
|
*
|
|
679
679
|
* @type {Price}
|
|
@@ -863,7 +863,7 @@ export interface CreateProductVariant {
|
|
|
863
863
|
* @type {UpdateProductsRequestProductsInnerVariantsInnerSalePrice}
|
|
864
864
|
* @memberof CreateProductVariant
|
|
865
865
|
*/
|
|
866
|
-
'salePrice'?: UpdateProductsRequestProductsInnerVariantsInnerSalePrice;
|
|
866
|
+
'salePrice'?: UpdateProductsRequestProductsInnerVariantsInnerSalePrice | null;
|
|
867
867
|
/**
|
|
868
868
|
* A custom stock keeping unit for the variant.
|
|
869
869
|
* @type {string}
|
|
@@ -1271,10 +1271,10 @@ export interface Product {
|
|
|
1271
1271
|
'retailPrice'?: Price;
|
|
1272
1272
|
/**
|
|
1273
1273
|
*
|
|
1274
|
-
* @type {
|
|
1274
|
+
* @type {SalePrice}
|
|
1275
1275
|
* @memberof Product
|
|
1276
1276
|
*/
|
|
1277
|
-
'salePrice'?:
|
|
1277
|
+
'salePrice'?: SalePrice | null;
|
|
1278
1278
|
/**
|
|
1279
1279
|
* Additional files attached to the product.
|
|
1280
1280
|
* @type {Array<ProductAdditionalFilesInner>}
|
|
@@ -1467,6 +1467,32 @@ export interface SEOMetadata {
|
|
|
1467
1467
|
*/
|
|
1468
1468
|
'description'?: string | null;
|
|
1469
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
|
+
|
|
1470
1496
|
/**
|
|
1471
1497
|
*
|
|
1472
1498
|
* @export
|
|
@@ -1704,10 +1730,10 @@ export interface UpdateProductRequest {
|
|
|
1704
1730
|
'retailPrice'?: Price;
|
|
1705
1731
|
/**
|
|
1706
1732
|
*
|
|
1707
|
-
* @type {
|
|
1733
|
+
* @type {SalePrice}
|
|
1708
1734
|
* @memberof UpdateProductRequest
|
|
1709
1735
|
*/
|
|
1710
|
-
'salePrice'?:
|
|
1736
|
+
'salePrice'?: SalePrice | null;
|
|
1711
1737
|
/**
|
|
1712
1738
|
* Images to attach to the product. For example, photos of models using/wearing the product.
|
|
1713
1739
|
* @type {Array<ImageFile>}
|
|
@@ -1935,7 +1961,7 @@ export interface UpdateProductsRequestProductsInnerVariantsInner {
|
|
|
1935
1961
|
* @type {UpdateProductsRequestProductsInnerVariantsInnerSalePrice}
|
|
1936
1962
|
* @memberof UpdateProductsRequestProductsInnerVariantsInner
|
|
1937
1963
|
*/
|
|
1938
|
-
'salePrice'?: UpdateProductsRequestProductsInnerVariantsInnerSalePrice;
|
|
1964
|
+
'salePrice'?: UpdateProductsRequestProductsInnerVariantsInnerSalePrice | null;
|
|
1939
1965
|
/**
|
|
1940
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.
|
|
1941
1967
|
* @type {string}
|
|
@@ -2034,7 +2060,7 @@ export type UpdateProductsRequestProductsInnerVariantsInnerRetailPriceCurrencyCo
|
|
|
2034
2060
|
*/
|
|
2035
2061
|
export interface UpdateProductsRequestProductsInnerVariantsInnerSalePrice {
|
|
2036
2062
|
/**
|
|
2037
|
-
*
|
|
2063
|
+
* Discounted price including tax in the specified currency.
|
|
2038
2064
|
* @type {number}
|
|
2039
2065
|
* @memberof UpdateProductsRequestProductsInnerVariantsInnerSalePrice
|
|
2040
2066
|
*/
|
|
@@ -2103,10 +2129,10 @@ export interface Variant {
|
|
|
2103
2129
|
'retailPrice'?: Price;
|
|
2104
2130
|
/**
|
|
2105
2131
|
*
|
|
2106
|
-
* @type {
|
|
2132
|
+
* @type {SalePrice}
|
|
2107
2133
|
* @memberof Variant
|
|
2108
2134
|
*/
|
|
2109
|
-
'salePrice'?:
|
|
2135
|
+
'salePrice'?: SalePrice | null;
|
|
2110
2136
|
/**
|
|
2111
2137
|
*
|
|
2112
2138
|
* @type {Price}
|
|
@@ -2180,6 +2206,12 @@ export interface Variant {
|
|
|
2180
2206
|
* @memberof Variant
|
|
2181
2207
|
*/
|
|
2182
2208
|
'integrationConnections'?: Array<VariantIntegrationConnectionsInner>;
|
|
2209
|
+
/**
|
|
2210
|
+
*
|
|
2211
|
+
* @type {Price}
|
|
2212
|
+
* @memberof Variant
|
|
2213
|
+
*/
|
|
2214
|
+
'wholesaleCost'?: Price;
|
|
2183
2215
|
}
|
|
2184
2216
|
/**
|
|
2185
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.
|
|
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.
|
|
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.
|
|
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.
|
|
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).
|
|
@@ -649,10 +649,10 @@ export interface CreateBundleProduct {
|
|
|
649
649
|
'retailPrice'?: Price;
|
|
650
650
|
/**
|
|
651
651
|
*
|
|
652
|
-
* @type {
|
|
652
|
+
* @type {SalePrice}
|
|
653
653
|
* @memberof CreateBundleProduct
|
|
654
654
|
*/
|
|
655
|
-
'salePrice'?:
|
|
655
|
+
'salePrice'?: SalePrice | null;
|
|
656
656
|
/**
|
|
657
657
|
*
|
|
658
658
|
* @type {Price}
|
|
@@ -841,7 +841,7 @@ export interface CreateProductVariant {
|
|
|
841
841
|
* @type {UpdateProductsRequestProductsInnerVariantsInnerSalePrice}
|
|
842
842
|
* @memberof CreateProductVariant
|
|
843
843
|
*/
|
|
844
|
-
'salePrice'?: UpdateProductsRequestProductsInnerVariantsInnerSalePrice;
|
|
844
|
+
'salePrice'?: UpdateProductsRequestProductsInnerVariantsInnerSalePrice | null;
|
|
845
845
|
/**
|
|
846
846
|
* A custom stock keeping unit for the variant.
|
|
847
847
|
* @type {string}
|
|
@@ -1246,10 +1246,10 @@ export interface Product {
|
|
|
1246
1246
|
'retailPrice'?: Price;
|
|
1247
1247
|
/**
|
|
1248
1248
|
*
|
|
1249
|
-
* @type {
|
|
1249
|
+
* @type {SalePrice}
|
|
1250
1250
|
* @memberof Product
|
|
1251
1251
|
*/
|
|
1252
|
-
'salePrice'?:
|
|
1252
|
+
'salePrice'?: SalePrice | null;
|
|
1253
1253
|
/**
|
|
1254
1254
|
* Additional files attached to the product.
|
|
1255
1255
|
* @type {Array<ProductAdditionalFilesInner>}
|
|
@@ -1442,6 +1442,29 @@ export interface SEOMetadata {
|
|
|
1442
1442
|
*/
|
|
1443
1443
|
'description'?: string | null;
|
|
1444
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];
|
|
1445
1468
|
/**
|
|
1446
1469
|
*
|
|
1447
1470
|
* @export
|
|
@@ -1679,10 +1702,10 @@ export interface UpdateProductRequest {
|
|
|
1679
1702
|
'retailPrice'?: Price;
|
|
1680
1703
|
/**
|
|
1681
1704
|
*
|
|
1682
|
-
* @type {
|
|
1705
|
+
* @type {SalePrice}
|
|
1683
1706
|
* @memberof UpdateProductRequest
|
|
1684
1707
|
*/
|
|
1685
|
-
'salePrice'?:
|
|
1708
|
+
'salePrice'?: SalePrice | null;
|
|
1686
1709
|
/**
|
|
1687
1710
|
* Images to attach to the product. For example, photos of models using/wearing the product.
|
|
1688
1711
|
* @type {Array<ImageFile>}
|
|
@@ -1910,7 +1933,7 @@ export interface UpdateProductsRequestProductsInnerVariantsInner {
|
|
|
1910
1933
|
* @type {UpdateProductsRequestProductsInnerVariantsInnerSalePrice}
|
|
1911
1934
|
* @memberof UpdateProductsRequestProductsInnerVariantsInner
|
|
1912
1935
|
*/
|
|
1913
|
-
'salePrice'?: UpdateProductsRequestProductsInnerVariantsInnerSalePrice;
|
|
1936
|
+
'salePrice'?: UpdateProductsRequestProductsInnerVariantsInnerSalePrice | null;
|
|
1914
1937
|
/**
|
|
1915
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.
|
|
1916
1939
|
* @type {string}
|
|
@@ -2003,7 +2026,7 @@ export type UpdateProductsRequestProductsInnerVariantsInnerRetailPriceCurrencyCo
|
|
|
2003
2026
|
*/
|
|
2004
2027
|
export interface UpdateProductsRequestProductsInnerVariantsInnerSalePrice {
|
|
2005
2028
|
/**
|
|
2006
|
-
*
|
|
2029
|
+
* Discounted price including tax in the specified currency.
|
|
2007
2030
|
* @type {number}
|
|
2008
2031
|
* @memberof UpdateProductsRequestProductsInnerVariantsInnerSalePrice
|
|
2009
2032
|
*/
|
|
@@ -2069,10 +2092,10 @@ export interface Variant {
|
|
|
2069
2092
|
'retailPrice'?: Price;
|
|
2070
2093
|
/**
|
|
2071
2094
|
*
|
|
2072
|
-
* @type {
|
|
2095
|
+
* @type {SalePrice}
|
|
2073
2096
|
* @memberof Variant
|
|
2074
2097
|
*/
|
|
2075
|
-
'salePrice'?:
|
|
2098
|
+
'salePrice'?: SalePrice | null;
|
|
2076
2099
|
/**
|
|
2077
2100
|
*
|
|
2078
2101
|
* @type {Price}
|
|
@@ -2146,6 +2169,12 @@ export interface Variant {
|
|
|
2146
2169
|
* @memberof Variant
|
|
2147
2170
|
*/
|
|
2148
2171
|
'integrationConnections'?: Array<VariantIntegrationConnectionsInner>;
|
|
2172
|
+
/**
|
|
2173
|
+
*
|
|
2174
|
+
* @type {Price}
|
|
2175
|
+
* @memberof Variant
|
|
2176
|
+
*/
|
|
2177
|
+
'wholesaleCost'?: Price;
|
|
2149
2178
|
}
|
|
2150
2179
|
/**
|
|
2151
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.
|
|
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.
|
|
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.
|
|
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.
|
|
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.
|
|
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/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.54.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.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.
|
|
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).
|
|
@@ -649,10 +649,10 @@ export interface CreateBundleProduct {
|
|
|
649
649
|
'retailPrice'?: Price;
|
|
650
650
|
/**
|
|
651
651
|
*
|
|
652
|
-
* @type {
|
|
652
|
+
* @type {SalePrice}
|
|
653
653
|
* @memberof CreateBundleProduct
|
|
654
654
|
*/
|
|
655
|
-
'salePrice'?:
|
|
655
|
+
'salePrice'?: SalePrice | null;
|
|
656
656
|
/**
|
|
657
657
|
*
|
|
658
658
|
* @type {Price}
|
|
@@ -841,7 +841,7 @@ export interface CreateProductVariant {
|
|
|
841
841
|
* @type {UpdateProductsRequestProductsInnerVariantsInnerSalePrice}
|
|
842
842
|
* @memberof CreateProductVariant
|
|
843
843
|
*/
|
|
844
|
-
'salePrice'?: UpdateProductsRequestProductsInnerVariantsInnerSalePrice;
|
|
844
|
+
'salePrice'?: UpdateProductsRequestProductsInnerVariantsInnerSalePrice | null;
|
|
845
845
|
/**
|
|
846
846
|
* A custom stock keeping unit for the variant.
|
|
847
847
|
* @type {string}
|
|
@@ -1246,10 +1246,10 @@ export interface Product {
|
|
|
1246
1246
|
'retailPrice'?: Price;
|
|
1247
1247
|
/**
|
|
1248
1248
|
*
|
|
1249
|
-
* @type {
|
|
1249
|
+
* @type {SalePrice}
|
|
1250
1250
|
* @memberof Product
|
|
1251
1251
|
*/
|
|
1252
|
-
'salePrice'?:
|
|
1252
|
+
'salePrice'?: SalePrice | null;
|
|
1253
1253
|
/**
|
|
1254
1254
|
* Additional files attached to the product.
|
|
1255
1255
|
* @type {Array<ProductAdditionalFilesInner>}
|
|
@@ -1442,6 +1442,29 @@ export interface SEOMetadata {
|
|
|
1442
1442
|
*/
|
|
1443
1443
|
'description'?: string | null;
|
|
1444
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];
|
|
1445
1468
|
/**
|
|
1446
1469
|
*
|
|
1447
1470
|
* @export
|
|
@@ -1679,10 +1702,10 @@ export interface UpdateProductRequest {
|
|
|
1679
1702
|
'retailPrice'?: Price;
|
|
1680
1703
|
/**
|
|
1681
1704
|
*
|
|
1682
|
-
* @type {
|
|
1705
|
+
* @type {SalePrice}
|
|
1683
1706
|
* @memberof UpdateProductRequest
|
|
1684
1707
|
*/
|
|
1685
|
-
'salePrice'?:
|
|
1708
|
+
'salePrice'?: SalePrice | null;
|
|
1686
1709
|
/**
|
|
1687
1710
|
* Images to attach to the product. For example, photos of models using/wearing the product.
|
|
1688
1711
|
* @type {Array<ImageFile>}
|
|
@@ -1910,7 +1933,7 @@ export interface UpdateProductsRequestProductsInnerVariantsInner {
|
|
|
1910
1933
|
* @type {UpdateProductsRequestProductsInnerVariantsInnerSalePrice}
|
|
1911
1934
|
* @memberof UpdateProductsRequestProductsInnerVariantsInner
|
|
1912
1935
|
*/
|
|
1913
|
-
'salePrice'?: UpdateProductsRequestProductsInnerVariantsInnerSalePrice;
|
|
1936
|
+
'salePrice'?: UpdateProductsRequestProductsInnerVariantsInnerSalePrice | null;
|
|
1914
1937
|
/**
|
|
1915
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.
|
|
1916
1939
|
* @type {string}
|
|
@@ -2003,7 +2026,7 @@ export type UpdateProductsRequestProductsInnerVariantsInnerRetailPriceCurrencyCo
|
|
|
2003
2026
|
*/
|
|
2004
2027
|
export interface UpdateProductsRequestProductsInnerVariantsInnerSalePrice {
|
|
2005
2028
|
/**
|
|
2006
|
-
*
|
|
2029
|
+
* Discounted price including tax in the specified currency.
|
|
2007
2030
|
* @type {number}
|
|
2008
2031
|
* @memberof UpdateProductsRequestProductsInnerVariantsInnerSalePrice
|
|
2009
2032
|
*/
|
|
@@ -2069,10 +2092,10 @@ export interface Variant {
|
|
|
2069
2092
|
'retailPrice'?: Price;
|
|
2070
2093
|
/**
|
|
2071
2094
|
*
|
|
2072
|
-
* @type {
|
|
2095
|
+
* @type {SalePrice}
|
|
2073
2096
|
* @memberof Variant
|
|
2074
2097
|
*/
|
|
2075
|
-
'salePrice'?:
|
|
2098
|
+
'salePrice'?: SalePrice | null;
|
|
2076
2099
|
/**
|
|
2077
2100
|
*
|
|
2078
2101
|
* @type {Price}
|
|
@@ -2146,6 +2169,12 @@ export interface Variant {
|
|
|
2146
2169
|
* @memberof Variant
|
|
2147
2170
|
*/
|
|
2148
2171
|
'integrationConnections'?: Array<VariantIntegrationConnectionsInner>;
|
|
2172
|
+
/**
|
|
2173
|
+
*
|
|
2174
|
+
* @type {Price}
|
|
2175
|
+
* @memberof Variant
|
|
2176
|
+
*/
|
|
2177
|
+
'wholesaleCost'?: Price;
|
|
2149
2178
|
}
|
|
2150
2179
|
/**
|
|
2151
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.
|
|
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'
|
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.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.
|
|
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/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.54.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.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.
|
|
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.
|
|
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/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.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.
|
|
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.
|
|
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.
|
|
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).
|
|
@@ -21,7 +21,7 @@ Name | Type | Description | Notes
|
|
|
21
21
|
**metafields** | [**Array<MetaField>**](MetaField.md) | Key/value pairs that can be used to store additional information about the product | [optional] [default to undefined]
|
|
22
22
|
**bundleItems** | **Array<string>** | 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** | [**
|
|
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<string>** | 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** | [**
|
|
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<Variant>**](Variant.md) | Variants | [optional] [default to undefined]
|
|
24
24
|
**bundleItems** | [**Array<Product>**](Product.md) | Products in the bundle. | [optional] [default to undefined]
|
|
25
25
|
**retailPrice** | [**Price**](Price.md) | | [optional] [default to undefined]
|
|
26
|
-
**salePrice** | [**
|
|
26
|
+
**salePrice** | [**SalePrice**](SalePrice.md) | | [optional] [default to undefined]
|
|
27
27
|
**additionalFiles** | [**Array<ProductAdditionalFilesInner>**](ProductAdditionalFilesInner.md) | Additional files attached to the product. | [optional] [default to undefined]
|
|
28
28
|
**applicationSets** | [**Array<ProductApplicationSetsInner>**](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<CreateProductVariant>**](CreateProductVariant.md) | Variants | [optional] [default to undefined]
|
|
19
19
|
**bundleItems** | **Array<string>** | 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** | [**
|
|
21
|
+
**salePrice** | [**SalePrice**](SalePrice.md) | | [optional] [default to undefined]
|
|
22
22
|
**images** | [**Array<ImageFile>**](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<VideoFile>**](VideoFile.md) | Videos to attach to the product. | [optional] [default to undefined]
|
|
24
24
|
**additionalFiles** | [**Array<AdditionalFile>**](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** |
|
|
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** | [**
|
|
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<MetaField>**](MetaField.md) | Key/value pairs that can be used to store additional information about the variant | [optional] [default to undefined]
|
|
27
27
|
**integrationConnections** | [**Array<VariantIntegrationConnectionsInner>**](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.
|
|
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).
|