@teemill/product-catalog 1.91.0 → 1.92.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/.openapi-generator/FILES +2 -1
- package/README.md +4 -3
- package/api.ts +297 -47
- package/base.ts +1 -1
- package/common.ts +1 -1
- package/configuration.ts +1 -1
- package/dist/api.d.ts +271 -41
- package/dist/api.js +35 -15
- 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 +271 -41
- package/dist/esm/api.js +35 -15
- 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/Action.md +2 -1
- package/docs/AdditionalFile.md +1 -0
- package/docs/AnalyticsItem.md +1 -0
- package/docs/AnalyticsSummary.md +1 -0
- package/docs/ApiError.md +3 -2
- package/docs/Application.md +2 -1
- package/docs/ApplicationGroup.md +3 -2
- package/docs/ApplicationProperties.md +1 -0
- package/docs/ApplicationPropertiesPersonalization.md +1 -0
- package/docs/ApplicationSet.md +3 -2
- package/docs/ApplicationSetRecord.md +2 -1
- package/docs/ApplicationTechnologiesApi.md +7 -1
- package/docs/ApplicationTechnology.md +2 -1
- package/docs/BundleProduct.md +9 -8
- package/docs/CreateApplication.md +1 -0
- package/docs/CreateBundleProduct.md +2 -1
- package/docs/CreateProduct.md +3 -0
- package/docs/CreateProductRequest.md +3 -1
- package/docs/CreateProductVariant.md +1 -0
- package/docs/Image.md +2 -2
- package/docs/ImageFile.md +1 -0
- package/docs/Location.md +1 -0
- package/docs/NamedPrice.md +2 -1
- package/docs/OptimisationHistoryItem.md +3 -2
- package/docs/Product.md +11 -8
- package/docs/ProductAnalyticsApi.md +2 -2
- package/docs/ProductBundleItemsInner.md +8 -8
- package/docs/ProductCreatorsApi.md +7 -1
- package/docs/ProductStaticCollectionsInner.md +22 -0
- package/docs/ProductType.md +2 -1
- package/docs/ProductsApi.md +6 -6
- package/docs/Recommendation.md +2 -1
- package/docs/Stock.md +3 -2
- package/docs/TargetSearchPhraseData.md +1 -0
- package/docs/TextApplicationProperties.md +1 -0
- package/docs/TextApplicationPropertiesPersonalization.md +1 -0
- package/docs/UpdateProductRequest.md +4 -2
- package/docs/UpdateProductRequestBundleItemsInner.md +1 -1
- package/docs/UpdateProductsRequestProductsInner.md +2 -0
- package/docs/UpdateProductsRequestProductsInnerCollectionsInner.md +20 -0
- package/docs/UserList.md +2 -1
- package/docs/Variant.md +5 -4
- package/docs/VariantWholesaleCost.md +2 -2
- package/docs/Video.md +2 -2
- package/docs/VideoFile.md +1 -0
- package/index.ts +1 -1
- package/package.json +2 -2
package/dist/api.js
CHANGED
|
@@ -5,7 +5,7 @@
|
|
|
5
5
|
* Product Catalog
|
|
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 product from the GFN Catalog, 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.92.1
|
|
9
9
|
*
|
|
10
10
|
*
|
|
11
11
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -1030,10 +1030,12 @@ const ApplicationTechnologiesApiAxiosParamCreator = function (configuration) {
|
|
|
1030
1030
|
* Lists all technologies available to this project.
|
|
1031
1031
|
* @summary List technologies available to this project
|
|
1032
1032
|
* @param {string} project What project it is
|
|
1033
|
+
* @param {number} [pageToken] Page reference token
|
|
1034
|
+
* @param {number} [pageSize] Max page size. This is the maximum page size that will be returned, but it might be smaller.
|
|
1033
1035
|
* @param {*} [options] Override http request option.
|
|
1034
1036
|
* @throws {RequiredError}
|
|
1035
1037
|
*/
|
|
1036
|
-
listTechnologies: (project_1, ...args_1) => __awaiter(this, [project_1, ...args_1], void 0, function* (project, options = {}) {
|
|
1038
|
+
listTechnologies: (project_1, pageToken_1, pageSize_1, ...args_1) => __awaiter(this, [project_1, pageToken_1, pageSize_1, ...args_1], void 0, function* (project, pageToken, pageSize, options = {}) {
|
|
1037
1039
|
// verify required parameter 'project' is not null or undefined
|
|
1038
1040
|
(0, common_1.assertParamExists)('listTechnologies', 'project', project);
|
|
1039
1041
|
const localVarPath = `/v1/catalog/applications/technologies`;
|
|
@@ -1054,6 +1056,12 @@ const ApplicationTechnologiesApiAxiosParamCreator = function (configuration) {
|
|
|
1054
1056
|
if (project !== undefined) {
|
|
1055
1057
|
localVarQueryParameter['project'] = project;
|
|
1056
1058
|
}
|
|
1059
|
+
if (pageToken !== undefined) {
|
|
1060
|
+
localVarQueryParameter['pageToken'] = pageToken;
|
|
1061
|
+
}
|
|
1062
|
+
if (pageSize !== undefined) {
|
|
1063
|
+
localVarQueryParameter['pageSize'] = pageSize;
|
|
1064
|
+
}
|
|
1057
1065
|
localVarHeaderParameter['Accept'] = 'application/json';
|
|
1058
1066
|
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
1059
1067
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
@@ -1076,13 +1084,15 @@ const ApplicationTechnologiesApiFp = function (configuration) {
|
|
|
1076
1084
|
* Lists all technologies available to this project.
|
|
1077
1085
|
* @summary List technologies available to this project
|
|
1078
1086
|
* @param {string} project What project it is
|
|
1087
|
+
* @param {number} [pageToken] Page reference token
|
|
1088
|
+
* @param {number} [pageSize] Max page size. This is the maximum page size that will be returned, but it might be smaller.
|
|
1079
1089
|
* @param {*} [options] Override http request option.
|
|
1080
1090
|
* @throws {RequiredError}
|
|
1081
1091
|
*/
|
|
1082
|
-
listTechnologies(project, options) {
|
|
1092
|
+
listTechnologies(project, pageToken, pageSize, options) {
|
|
1083
1093
|
return __awaiter(this, void 0, void 0, function* () {
|
|
1084
1094
|
var _a, _b, _c;
|
|
1085
|
-
const localVarAxiosArgs = yield localVarAxiosParamCreator.listTechnologies(project, options);
|
|
1095
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.listTechnologies(project, pageToken, pageSize, options);
|
|
1086
1096
|
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
1087
1097
|
const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['ApplicationTechnologiesApi.listTechnologies']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
1088
1098
|
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
@@ -1105,7 +1115,7 @@ const ApplicationTechnologiesApiFactory = function (configuration, basePath, axi
|
|
|
1105
1115
|
* @throws {RequiredError}
|
|
1106
1116
|
*/
|
|
1107
1117
|
listTechnologies(requestParameters, options) {
|
|
1108
|
-
return localVarFp.listTechnologies(requestParameters.project, options).then((request) => request(axios, basePath));
|
|
1118
|
+
return localVarFp.listTechnologies(requestParameters.project, requestParameters.pageToken, requestParameters.pageSize, options).then((request) => request(axios, basePath));
|
|
1109
1119
|
},
|
|
1110
1120
|
};
|
|
1111
1121
|
};
|
|
@@ -1122,7 +1132,7 @@ class ApplicationTechnologiesApi extends base_1.BaseAPI {
|
|
|
1122
1132
|
* @throws {RequiredError}
|
|
1123
1133
|
*/
|
|
1124
1134
|
listTechnologies(requestParameters, options) {
|
|
1125
|
-
return (0, exports.ApplicationTechnologiesApiFp)(this.configuration).listTechnologies(requestParameters.project, options).then((request) => request(this.axios, this.basePath));
|
|
1135
|
+
return (0, exports.ApplicationTechnologiesApiFp)(this.configuration).listTechnologies(requestParameters.project, requestParameters.pageToken, requestParameters.pageSize, options).then((request) => request(this.axios, this.basePath));
|
|
1126
1136
|
}
|
|
1127
1137
|
}
|
|
1128
1138
|
exports.ApplicationTechnologiesApi = ApplicationTechnologiesApi;
|
|
@@ -1580,10 +1590,12 @@ const ProductCreatorsApiAxiosParamCreator = function (configuration) {
|
|
|
1580
1590
|
* Lists all the unique users that have created products for the given project.
|
|
1581
1591
|
* @summary List product creators
|
|
1582
1592
|
* @param {string} project What project it is
|
|
1593
|
+
* @param {number} [pageToken] Page reference token
|
|
1594
|
+
* @param {number} [pageSize] Max page size. This is the maximum page size that will be returned, but it might be smaller.
|
|
1583
1595
|
* @param {*} [options] Override http request option.
|
|
1584
1596
|
* @throws {RequiredError}
|
|
1585
1597
|
*/
|
|
1586
|
-
listProductCreators: (project_1, ...args_1) => __awaiter(this, [project_1, ...args_1], void 0, function* (project, options = {}) {
|
|
1598
|
+
listProductCreators: (project_1, pageToken_1, pageSize_1, ...args_1) => __awaiter(this, [project_1, pageToken_1, pageSize_1, ...args_1], void 0, function* (project, pageToken, pageSize, options = {}) {
|
|
1587
1599
|
// verify required parameter 'project' is not null or undefined
|
|
1588
1600
|
(0, common_1.assertParamExists)('listProductCreators', 'project', project);
|
|
1589
1601
|
const localVarPath = `/v1/catalog/creators`;
|
|
@@ -1604,6 +1616,12 @@ const ProductCreatorsApiAxiosParamCreator = function (configuration) {
|
|
|
1604
1616
|
if (project !== undefined) {
|
|
1605
1617
|
localVarQueryParameter['project'] = project;
|
|
1606
1618
|
}
|
|
1619
|
+
if (pageToken !== undefined) {
|
|
1620
|
+
localVarQueryParameter['pageToken'] = pageToken;
|
|
1621
|
+
}
|
|
1622
|
+
if (pageSize !== undefined) {
|
|
1623
|
+
localVarQueryParameter['pageSize'] = pageSize;
|
|
1624
|
+
}
|
|
1607
1625
|
localVarHeaderParameter['Accept'] = 'application/json';
|
|
1608
1626
|
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
1609
1627
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
@@ -1626,13 +1644,15 @@ const ProductCreatorsApiFp = function (configuration) {
|
|
|
1626
1644
|
* Lists all the unique users that have created products for the given project.
|
|
1627
1645
|
* @summary List product creators
|
|
1628
1646
|
* @param {string} project What project it is
|
|
1647
|
+
* @param {number} [pageToken] Page reference token
|
|
1648
|
+
* @param {number} [pageSize] Max page size. This is the maximum page size that will be returned, but it might be smaller.
|
|
1629
1649
|
* @param {*} [options] Override http request option.
|
|
1630
1650
|
* @throws {RequiredError}
|
|
1631
1651
|
*/
|
|
1632
|
-
listProductCreators(project, options) {
|
|
1652
|
+
listProductCreators(project, pageToken, pageSize, options) {
|
|
1633
1653
|
return __awaiter(this, void 0, void 0, function* () {
|
|
1634
1654
|
var _a, _b, _c;
|
|
1635
|
-
const localVarAxiosArgs = yield localVarAxiosParamCreator.listProductCreators(project, options);
|
|
1655
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.listProductCreators(project, pageToken, pageSize, options);
|
|
1636
1656
|
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
1637
1657
|
const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['ProductCreatorsApi.listProductCreators']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
1638
1658
|
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
@@ -1655,7 +1675,7 @@ const ProductCreatorsApiFactory = function (configuration, basePath, axios) {
|
|
|
1655
1675
|
* @throws {RequiredError}
|
|
1656
1676
|
*/
|
|
1657
1677
|
listProductCreators(requestParameters, options) {
|
|
1658
|
-
return localVarFp.listProductCreators(requestParameters.project, options).then((request) => request(axios, basePath));
|
|
1678
|
+
return localVarFp.listProductCreators(requestParameters.project, requestParameters.pageToken, requestParameters.pageSize, options).then((request) => request(axios, basePath));
|
|
1659
1679
|
},
|
|
1660
1680
|
};
|
|
1661
1681
|
};
|
|
@@ -1672,7 +1692,7 @@ class ProductCreatorsApi extends base_1.BaseAPI {
|
|
|
1672
1692
|
* @throws {RequiredError}
|
|
1673
1693
|
*/
|
|
1674
1694
|
listProductCreators(requestParameters, options) {
|
|
1675
|
-
return (0, exports.ProductCreatorsApiFp)(this.configuration).listProductCreators(requestParameters.project, options).then((request) => request(this.axios, this.basePath));
|
|
1695
|
+
return (0, exports.ProductCreatorsApiFp)(this.configuration).listProductCreators(requestParameters.project, requestParameters.pageToken, requestParameters.pageSize, options).then((request) => request(this.axios, this.basePath));
|
|
1676
1696
|
}
|
|
1677
1697
|
}
|
|
1678
1698
|
exports.ProductCreatorsApi = ProductCreatorsApi;
|
|
@@ -1800,7 +1820,7 @@ const ProductsApiAxiosParamCreator = function (configuration) {
|
|
|
1800
1820
|
* Creates a new catalog product based on a product from the GFN Catalog, with the variants and design applications you provide. Use the [GFN Catalog API](/developer/api/gfn-catalog) to list available products and their variants (including exact attribute names and values) for the project.
|
|
1801
1821
|
* @summary Create product
|
|
1802
1822
|
* @param {string} project What project it is
|
|
1803
|
-
* @param {CreateProductRequest} [createProductRequest]
|
|
1823
|
+
* @param {CreateProductRequest} [createProductRequest] The product to create, including title, variants, design applications, and pricing.
|
|
1804
1824
|
* @param {*} [options] Override http request option.
|
|
1805
1825
|
* @throws {RequiredError}
|
|
1806
1826
|
*/
|
|
@@ -2303,7 +2323,7 @@ const ProductsApiAxiosParamCreator = function (configuration) {
|
|
|
2303
2323
|
* @summary Update product
|
|
2304
2324
|
* @param {string} project What project it is
|
|
2305
2325
|
* @param {string} productId Product\'s unique identifier
|
|
2306
|
-
* @param {UpdateProductRequest} [updateProductRequest]
|
|
2326
|
+
* @param {UpdateProductRequest} [updateProductRequest] The product fields to update. Only the fields provided will be modified.
|
|
2307
2327
|
* @param {*} [options] Override http request option.
|
|
2308
2328
|
* @throws {RequiredError}
|
|
2309
2329
|
*/
|
|
@@ -2397,7 +2417,7 @@ const ProductsApiFp = function (configuration) {
|
|
|
2397
2417
|
* Creates a new catalog product based on a product from the GFN Catalog, with the variants and design applications you provide. Use the [GFN Catalog API](/developer/api/gfn-catalog) to list available products and their variants (including exact attribute names and values) for the project.
|
|
2398
2418
|
* @summary Create product
|
|
2399
2419
|
* @param {string} project What project it is
|
|
2400
|
-
* @param {CreateProductRequest} [createProductRequest]
|
|
2420
|
+
* @param {CreateProductRequest} [createProductRequest] The product to create, including title, variants, design applications, and pricing.
|
|
2401
2421
|
* @param {*} [options] Override http request option.
|
|
2402
2422
|
* @throws {RequiredError}
|
|
2403
2423
|
*/
|
|
@@ -2580,7 +2600,7 @@ const ProductsApiFp = function (configuration) {
|
|
|
2580
2600
|
* @summary Update product
|
|
2581
2601
|
* @param {string} project What project it is
|
|
2582
2602
|
* @param {string} productId Product\'s unique identifier
|
|
2583
|
-
* @param {UpdateProductRequest} [updateProductRequest]
|
|
2603
|
+
* @param {UpdateProductRequest} [updateProductRequest] The product fields to update. Only the fields provided will be modified.
|
|
2584
2604
|
* @param {*} [options] Override http request option.
|
|
2585
2605
|
* @throws {RequiredError}
|
|
2586
2606
|
*/
|
package/dist/base.d.ts
CHANGED
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
* Product Catalog
|
|
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 product from the GFN Catalog, 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.92.1
|
|
6
6
|
*
|
|
7
7
|
*
|
|
8
8
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
package/dist/base.js
CHANGED
|
@@ -5,7 +5,7 @@
|
|
|
5
5
|
* Product Catalog
|
|
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 product from the GFN Catalog, 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.92.1
|
|
9
9
|
*
|
|
10
10
|
*
|
|
11
11
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
package/dist/common.d.ts
CHANGED
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
* Product Catalog
|
|
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 product from the GFN Catalog, 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.92.1
|
|
6
6
|
*
|
|
7
7
|
*
|
|
8
8
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
package/dist/common.js
CHANGED
|
@@ -5,7 +5,7 @@
|
|
|
5
5
|
* Product Catalog
|
|
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 product from the GFN Catalog, 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.92.1
|
|
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
|
|
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 product from the GFN Catalog, 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.92.1
|
|
6
6
|
*
|
|
7
7
|
*
|
|
8
8
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
package/dist/configuration.js
CHANGED
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
* Product Catalog
|
|
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 product from the GFN Catalog, 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.92.1
|
|
8
8
|
*
|
|
9
9
|
*
|
|
10
10
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|