@teemill/product-catalog 1.73.0 → 1.74.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 +4 -2
- package/api.ts +39 -4
- package/base.ts +1 -1
- package/common.ts +1 -1
- package/configuration.ts +1 -1
- package/dist/api.d.ts +36 -4
- 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 +36 -4
- 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/NamedPrice.md +22 -0
- package/docs/Price.md +1 -1
- package/docs/RequiredPrice.md +23 -0
- package/docs/VariantWholesaleCost.md +6 -2
- package/index.ts +1 -1
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
## @teemill/product-catalog@1.
|
|
1
|
+
## @teemill/product-catalog@1.74.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.74.0 --save
|
|
40
40
|
```
|
|
41
41
|
|
|
42
42
|
_unPublished (not recommended):_
|
|
@@ -127,6 +127,7 @@ Class | Method | HTTP request | Description
|
|
|
127
127
|
- [ImportProducts200Response](docs/ImportProducts200Response.md)
|
|
128
128
|
- [Location](docs/Location.md)
|
|
129
129
|
- [MetaField](docs/MetaField.md)
|
|
130
|
+
- [NamedPrice](docs/NamedPrice.md)
|
|
130
131
|
- [OptimisationHistoryItem](docs/OptimisationHistoryItem.md)
|
|
131
132
|
- [Price](docs/Price.md)
|
|
132
133
|
- [Product](docs/Product.md)
|
|
@@ -135,6 +136,7 @@ Class | Method | HTTP request | Description
|
|
|
135
136
|
- [ProductBundleItemsInner](docs/ProductBundleItemsInner.md)
|
|
136
137
|
- [ProductWarehouseProduct](docs/ProductWarehouseProduct.md)
|
|
137
138
|
- [ProductsResponse](docs/ProductsResponse.md)
|
|
139
|
+
- [RequiredPrice](docs/RequiredPrice.md)
|
|
138
140
|
- [SEOMetadata](docs/SEOMetadata.md)
|
|
139
141
|
- [SalePrice](docs/SalePrice.md)
|
|
140
142
|
- [SeoOptimiseProducts202Response](docs/SeoOptimiseProducts202Response.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.74.0
|
|
8
8
|
*
|
|
9
9
|
*
|
|
10
10
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -864,6 +864,13 @@ export interface MetaField {
|
|
|
864
864
|
*/
|
|
865
865
|
'value': string;
|
|
866
866
|
}
|
|
867
|
+
export interface NamedPrice {
|
|
868
|
+
/**
|
|
869
|
+
* The name of the price
|
|
870
|
+
*/
|
|
871
|
+
'name': string;
|
|
872
|
+
'price': RequiredPrice;
|
|
873
|
+
}
|
|
867
874
|
export interface OptimisationHistoryItem {
|
|
868
875
|
/**
|
|
869
876
|
* Unique object identifier
|
|
@@ -872,7 +879,7 @@ export interface OptimisationHistoryItem {
|
|
|
872
879
|
'createdAt'?: string;
|
|
873
880
|
}
|
|
874
881
|
/**
|
|
875
|
-
* Standard price definition that defines the amount
|
|
882
|
+
* Standard price definition that defines the amount and currency.
|
|
876
883
|
*/
|
|
877
884
|
export interface Price {
|
|
878
885
|
/**
|
|
@@ -1105,6 +1112,26 @@ export interface ProductsResponse {
|
|
|
1105
1112
|
*/
|
|
1106
1113
|
'nextPageToken'?: number | null;
|
|
1107
1114
|
}
|
|
1115
|
+
/**
|
|
1116
|
+
* Required price definition that defines the amount and currency.
|
|
1117
|
+
*/
|
|
1118
|
+
export interface RequiredPrice {
|
|
1119
|
+
/**
|
|
1120
|
+
* Price including tax in the specified currency.
|
|
1121
|
+
*/
|
|
1122
|
+
'amount': number;
|
|
1123
|
+
/**
|
|
1124
|
+
* Currency code for the currency the price is valued in.
|
|
1125
|
+
*/
|
|
1126
|
+
'currencyCode': RequiredPriceCurrencyCodeEnum;
|
|
1127
|
+
}
|
|
1128
|
+
|
|
1129
|
+
export const RequiredPriceCurrencyCodeEnum = {
|
|
1130
|
+
Gbp: 'GBP'
|
|
1131
|
+
} as const;
|
|
1132
|
+
|
|
1133
|
+
export type RequiredPriceCurrencyCodeEnum = typeof RequiredPriceCurrencyCodeEnum[keyof typeof RequiredPriceCurrencyCodeEnum];
|
|
1134
|
+
|
|
1108
1135
|
/**
|
|
1109
1136
|
* SEO metadata for the product
|
|
1110
1137
|
*/
|
|
@@ -1671,8 +1698,16 @@ export interface VariantProduct {
|
|
|
1671
1698
|
'ref'?: string;
|
|
1672
1699
|
}
|
|
1673
1700
|
export interface VariantWholesaleCost {
|
|
1674
|
-
'item'
|
|
1675
|
-
|
|
1701
|
+
'item': RequiredPrice;
|
|
1702
|
+
/**
|
|
1703
|
+
* A breakdown of the cost per application
|
|
1704
|
+
*/
|
|
1705
|
+
'applications': Array<NamedPrice>;
|
|
1706
|
+
/**
|
|
1707
|
+
* a breakdown of the cost per handling fee
|
|
1708
|
+
*/
|
|
1709
|
+
'handling': Array<NamedPrice>;
|
|
1710
|
+
'fulfillment': RequiredPrice;
|
|
1676
1711
|
}
|
|
1677
1712
|
export interface VariantsResponse {
|
|
1678
1713
|
'variants'?: Array<Variant>;
|
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.74.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.74.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.74.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.74.0
|
|
6
6
|
*
|
|
7
7
|
*
|
|
8
8
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -830,6 +830,13 @@ export interface MetaField {
|
|
|
830
830
|
*/
|
|
831
831
|
'value': string;
|
|
832
832
|
}
|
|
833
|
+
export interface NamedPrice {
|
|
834
|
+
/**
|
|
835
|
+
* The name of the price
|
|
836
|
+
*/
|
|
837
|
+
'name': string;
|
|
838
|
+
'price': RequiredPrice;
|
|
839
|
+
}
|
|
833
840
|
export interface OptimisationHistoryItem {
|
|
834
841
|
/**
|
|
835
842
|
* Unique object identifier
|
|
@@ -838,7 +845,7 @@ export interface OptimisationHistoryItem {
|
|
|
838
845
|
'createdAt'?: string;
|
|
839
846
|
}
|
|
840
847
|
/**
|
|
841
|
-
* Standard price definition that defines the amount
|
|
848
|
+
* Standard price definition that defines the amount and currency.
|
|
842
849
|
*/
|
|
843
850
|
export interface Price {
|
|
844
851
|
/**
|
|
@@ -1068,6 +1075,23 @@ export interface ProductsResponse {
|
|
|
1068
1075
|
*/
|
|
1069
1076
|
'nextPageToken'?: number | null;
|
|
1070
1077
|
}
|
|
1078
|
+
/**
|
|
1079
|
+
* Required price definition that defines the amount and currency.
|
|
1080
|
+
*/
|
|
1081
|
+
export interface RequiredPrice {
|
|
1082
|
+
/**
|
|
1083
|
+
* Price including tax in the specified currency.
|
|
1084
|
+
*/
|
|
1085
|
+
'amount': number;
|
|
1086
|
+
/**
|
|
1087
|
+
* Currency code for the currency the price is valued in.
|
|
1088
|
+
*/
|
|
1089
|
+
'currencyCode': RequiredPriceCurrencyCodeEnum;
|
|
1090
|
+
}
|
|
1091
|
+
export declare const RequiredPriceCurrencyCodeEnum: {
|
|
1092
|
+
readonly Gbp: "GBP";
|
|
1093
|
+
};
|
|
1094
|
+
export type RequiredPriceCurrencyCodeEnum = typeof RequiredPriceCurrencyCodeEnum[keyof typeof RequiredPriceCurrencyCodeEnum];
|
|
1071
1095
|
/**
|
|
1072
1096
|
* SEO metadata for the product
|
|
1073
1097
|
*/
|
|
@@ -1615,8 +1639,16 @@ export interface VariantProduct {
|
|
|
1615
1639
|
'ref'?: string;
|
|
1616
1640
|
}
|
|
1617
1641
|
export interface VariantWholesaleCost {
|
|
1618
|
-
'item'
|
|
1619
|
-
|
|
1642
|
+
'item': RequiredPrice;
|
|
1643
|
+
/**
|
|
1644
|
+
* A breakdown of the cost per application
|
|
1645
|
+
*/
|
|
1646
|
+
'applications': Array<NamedPrice>;
|
|
1647
|
+
/**
|
|
1648
|
+
* a breakdown of the cost per handling fee
|
|
1649
|
+
*/
|
|
1650
|
+
'handling': Array<NamedPrice>;
|
|
1651
|
+
'fulfillment': RequiredPrice;
|
|
1620
1652
|
}
|
|
1621
1653
|
export interface VariantsResponse {
|
|
1622
1654
|
'variants'?: Array<Variant>;
|
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.74.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.ListProductsDateFilterTypeEnum = 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.ApplicationGroupsApi = exports.ApplicationGroupsApiFactory = exports.ApplicationGroupsApiFp = exports.ApplicationGroupsApiAxiosParamCreator = exports.UpdateProductsRequestProductsInnerVariantsInnerSalePriceCurrencyCodeEnum = exports.UpdateProductsRequestProductsInnerVariantsInnerRetailPriceCurrencyCodeEnum = exports.UpdateProductsRequestProductsInnerVariantsInnerAttributesInnerNameEnum = exports.TextApplicationPropertiesPersonalizationTypeEnum = exports.TextApplicationPropertiesFontStyleEnum = exports.TextApplicationPropertiesFontWeightEnum = exports.SalePriceCurrencyCodeEnum = exports.PriceCurrencyCodeEnum = exports.CreateApplicationPropertiesFontStyleEnum = exports.CreateApplicationPropertiesFontWeightEnum = exports.CreateApplicationPlacementEnum = exports.CreateApplicationTechnologyEnum = exports.AttributeThumbnailTypeEnum = exports.ApplicationPropertiesPropertiesFontStyleEnum = exports.ApplicationPropertiesPropertiesFontWeightEnum = exports.ApplicationPropertiesPersonalizationRulesFitEnum = exports.ApplicationPlacementEnum = exports.ApplicationTechnologyEnum = void 0;
|
|
25
|
+
exports.VariantsApi = exports.VariantsApiFactory = exports.VariantsApiFp = exports.VariantsApiAxiosParamCreator = exports.ListProductsDateFilterTypeEnum = 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.ApplicationGroupsApi = exports.ApplicationGroupsApiFactory = exports.ApplicationGroupsApiFp = exports.ApplicationGroupsApiAxiosParamCreator = exports.UpdateProductsRequestProductsInnerVariantsInnerSalePriceCurrencyCodeEnum = exports.UpdateProductsRequestProductsInnerVariantsInnerRetailPriceCurrencyCodeEnum = exports.UpdateProductsRequestProductsInnerVariantsInnerAttributesInnerNameEnum = exports.TextApplicationPropertiesPersonalizationTypeEnum = exports.TextApplicationPropertiesFontStyleEnum = exports.TextApplicationPropertiesFontWeightEnum = exports.SalePriceCurrencyCodeEnum = exports.RequiredPriceCurrencyCodeEnum = exports.PriceCurrencyCodeEnum = exports.CreateApplicationPropertiesFontStyleEnum = exports.CreateApplicationPropertiesFontWeightEnum = exports.CreateApplicationPlacementEnum = exports.CreateApplicationTechnologyEnum = exports.AttributeThumbnailTypeEnum = exports.ApplicationPropertiesPropertiesFontStyleEnum = exports.ApplicationPropertiesPropertiesFontWeightEnum = exports.ApplicationPropertiesPersonalizationRulesFitEnum = 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
|
|
@@ -103,6 +103,9 @@ exports.CreateApplicationPropertiesFontStyleEnum = {
|
|
|
103
103
|
exports.PriceCurrencyCodeEnum = {
|
|
104
104
|
Gbp: 'GBP'
|
|
105
105
|
};
|
|
106
|
+
exports.RequiredPriceCurrencyCodeEnum = {
|
|
107
|
+
Gbp: 'GBP'
|
|
108
|
+
};
|
|
106
109
|
exports.SalePriceCurrencyCodeEnum = {
|
|
107
110
|
Gbp: 'GBP'
|
|
108
111
|
};
|
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.74.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.74.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.74.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.74.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.74.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.74.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.74.0
|
|
6
6
|
*
|
|
7
7
|
*
|
|
8
8
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -830,6 +830,13 @@ export interface MetaField {
|
|
|
830
830
|
*/
|
|
831
831
|
'value': string;
|
|
832
832
|
}
|
|
833
|
+
export interface NamedPrice {
|
|
834
|
+
/**
|
|
835
|
+
* The name of the price
|
|
836
|
+
*/
|
|
837
|
+
'name': string;
|
|
838
|
+
'price': RequiredPrice;
|
|
839
|
+
}
|
|
833
840
|
export interface OptimisationHistoryItem {
|
|
834
841
|
/**
|
|
835
842
|
* Unique object identifier
|
|
@@ -838,7 +845,7 @@ export interface OptimisationHistoryItem {
|
|
|
838
845
|
'createdAt'?: string;
|
|
839
846
|
}
|
|
840
847
|
/**
|
|
841
|
-
* Standard price definition that defines the amount
|
|
848
|
+
* Standard price definition that defines the amount and currency.
|
|
842
849
|
*/
|
|
843
850
|
export interface Price {
|
|
844
851
|
/**
|
|
@@ -1068,6 +1075,23 @@ export interface ProductsResponse {
|
|
|
1068
1075
|
*/
|
|
1069
1076
|
'nextPageToken'?: number | null;
|
|
1070
1077
|
}
|
|
1078
|
+
/**
|
|
1079
|
+
* Required price definition that defines the amount and currency.
|
|
1080
|
+
*/
|
|
1081
|
+
export interface RequiredPrice {
|
|
1082
|
+
/**
|
|
1083
|
+
* Price including tax in the specified currency.
|
|
1084
|
+
*/
|
|
1085
|
+
'amount': number;
|
|
1086
|
+
/**
|
|
1087
|
+
* Currency code for the currency the price is valued in.
|
|
1088
|
+
*/
|
|
1089
|
+
'currencyCode': RequiredPriceCurrencyCodeEnum;
|
|
1090
|
+
}
|
|
1091
|
+
export declare const RequiredPriceCurrencyCodeEnum: {
|
|
1092
|
+
readonly Gbp: "GBP";
|
|
1093
|
+
};
|
|
1094
|
+
export type RequiredPriceCurrencyCodeEnum = typeof RequiredPriceCurrencyCodeEnum[keyof typeof RequiredPriceCurrencyCodeEnum];
|
|
1071
1095
|
/**
|
|
1072
1096
|
* SEO metadata for the product
|
|
1073
1097
|
*/
|
|
@@ -1615,8 +1639,16 @@ export interface VariantProduct {
|
|
|
1615
1639
|
'ref'?: string;
|
|
1616
1640
|
}
|
|
1617
1641
|
export interface VariantWholesaleCost {
|
|
1618
|
-
'item'
|
|
1619
|
-
|
|
1642
|
+
'item': RequiredPrice;
|
|
1643
|
+
/**
|
|
1644
|
+
* A breakdown of the cost per application
|
|
1645
|
+
*/
|
|
1646
|
+
'applications': Array<NamedPrice>;
|
|
1647
|
+
/**
|
|
1648
|
+
* a breakdown of the cost per handling fee
|
|
1649
|
+
*/
|
|
1650
|
+
'handling': Array<NamedPrice>;
|
|
1651
|
+
'fulfillment': RequiredPrice;
|
|
1620
1652
|
}
|
|
1621
1653
|
export interface VariantsResponse {
|
|
1622
1654
|
'variants'?: Array<Variant>;
|
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.74.0
|
|
8
8
|
*
|
|
9
9
|
*
|
|
10
10
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -100,6 +100,9 @@ export const CreateApplicationPropertiesFontStyleEnum = {
|
|
|
100
100
|
export const PriceCurrencyCodeEnum = {
|
|
101
101
|
Gbp: 'GBP'
|
|
102
102
|
};
|
|
103
|
+
export const RequiredPriceCurrencyCodeEnum = {
|
|
104
|
+
Gbp: 'GBP'
|
|
105
|
+
};
|
|
103
106
|
export const SalePriceCurrencyCodeEnum = {
|
|
104
107
|
Gbp: 'GBP'
|
|
105
108
|
};
|
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.74.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.74.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.74.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.74.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.74.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.74.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.74.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.74.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.74.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.74.0
|
|
9
9
|
*
|
|
10
10
|
*
|
|
11
11
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
# NamedPrice
|
|
2
|
+
|
|
3
|
+
|
|
4
|
+
## Properties
|
|
5
|
+
|
|
6
|
+
Name | Type | Description | Notes
|
|
7
|
+
------------ | ------------- | ------------- | -------------
|
|
8
|
+
**name** | **string** | The name of the price | [default to undefined]
|
|
9
|
+
**price** | [**RequiredPrice**](RequiredPrice.md) | | [default to undefined]
|
|
10
|
+
|
|
11
|
+
## Example
|
|
12
|
+
|
|
13
|
+
```typescript
|
|
14
|
+
import { NamedPrice } from '@teemill/product-catalog';
|
|
15
|
+
|
|
16
|
+
const instance: NamedPrice = {
|
|
17
|
+
name,
|
|
18
|
+
price,
|
|
19
|
+
};
|
|
20
|
+
```
|
|
21
|
+
|
|
22
|
+
[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
|
package/docs/Price.md
CHANGED
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
# RequiredPrice
|
|
2
|
+
|
|
3
|
+
Required price definition that defines the amount and currency.
|
|
4
|
+
|
|
5
|
+
## Properties
|
|
6
|
+
|
|
7
|
+
Name | Type | Description | Notes
|
|
8
|
+
------------ | ------------- | ------------- | -------------
|
|
9
|
+
**amount** | **number** | Price including tax in the specified currency. | [default to undefined]
|
|
10
|
+
**currencyCode** | **string** | Currency code for the currency the price is valued in. | [default to undefined]
|
|
11
|
+
|
|
12
|
+
## Example
|
|
13
|
+
|
|
14
|
+
```typescript
|
|
15
|
+
import { RequiredPrice } from '@teemill/product-catalog';
|
|
16
|
+
|
|
17
|
+
const instance: RequiredPrice = {
|
|
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)
|
|
@@ -5,8 +5,10 @@
|
|
|
5
5
|
|
|
6
6
|
Name | Type | Description | Notes
|
|
7
7
|
------------ | ------------- | ------------- | -------------
|
|
8
|
-
**item** | [**
|
|
9
|
-
**
|
|
8
|
+
**item** | [**RequiredPrice**](RequiredPrice.md) | | [default to undefined]
|
|
9
|
+
**applications** | [**Array<NamedPrice>**](NamedPrice.md) | A breakdown of the cost per application | [default to undefined]
|
|
10
|
+
**handling** | [**Array<NamedPrice>**](NamedPrice.md) | a breakdown of the cost per handling fee | [default to undefined]
|
|
11
|
+
**fulfillment** | [**RequiredPrice**](RequiredPrice.md) | | [default to undefined]
|
|
10
12
|
|
|
11
13
|
## Example
|
|
12
14
|
|
|
@@ -15,6 +17,8 @@ import { VariantWholesaleCost } from '@teemill/product-catalog';
|
|
|
15
17
|
|
|
16
18
|
const instance: VariantWholesaleCost = {
|
|
17
19
|
item,
|
|
20
|
+
applications,
|
|
21
|
+
handling,
|
|
18
22
|
fulfillment,
|
|
19
23
|
};
|
|
20
24
|
```
|
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.74.0
|
|
8
8
|
*
|
|
9
9
|
*
|
|
10
10
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|