@teemill/product-catalog 1.96.0 → 1.97.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/.openapi-generator/FILES +0 -10
- package/README.md +2 -15
- package/api.ts +1 -397
- package/base.ts +1 -1
- package/common.ts +2 -2
- package/configuration.ts +1 -1
- package/dist/api.d.ts +1 -240
- package/dist/api.js +1 -240
- package/dist/base.d.ts +1 -1
- package/dist/base.js +1 -1
- package/dist/common.d.ts +1 -1
- package/dist/common.js +2 -2
- package/dist/configuration.d.ts +1 -1
- package/dist/configuration.js +1 -1
- package/dist/esm/api.d.ts +1 -240
- package/dist/esm/api.js +1 -240
- 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 +2 -2
- 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/ProductsApi.md +0 -185
- package/index.ts +1 -1
- package/package.json +1 -1
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.97.0
|
|
9
9
|
*
|
|
10
10
|
*
|
|
11
11
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -1870,48 +1870,6 @@ const ProductsApiAxiosParamCreator = function (configuration) {
|
|
|
1870
1870
|
options: localVarRequestOptions,
|
|
1871
1871
|
};
|
|
1872
1872
|
}),
|
|
1873
|
-
/**
|
|
1874
|
-
* Updates marketplace listing data for multiple products under a single marketplace. Each request carries exactly one marketplace group (see `BulkUpdateMarketplaceListingRequest.marketplace`); send additional requests to update another marketplace code.
|
|
1875
|
-
* @summary Bulk update product marketplaces
|
|
1876
|
-
* @param {string} project What project it is
|
|
1877
|
-
* @param {BulkUpdateMarketplaceListingRequest} bulkUpdateMarketplaceListingRequest Update marketplace listing fields for multiple products for one marketplace only. The `marketplaces` array must contain exactly one item (one `code` and its `products`).
|
|
1878
|
-
* @param {*} [options] Override http request option.
|
|
1879
|
-
* @throws {RequiredError}
|
|
1880
|
-
*/
|
|
1881
|
-
bulkUpdateProductMarketplaceListings: (project_1, bulkUpdateMarketplaceListingRequest_1, ...args_1) => __awaiter(this, [project_1, bulkUpdateMarketplaceListingRequest_1, ...args_1], void 0, function* (project, bulkUpdateMarketplaceListingRequest, options = {}) {
|
|
1882
|
-
// verify required parameter 'project' is not null or undefined
|
|
1883
|
-
(0, common_1.assertParamExists)('bulkUpdateProductMarketplaceListings', 'project', project);
|
|
1884
|
-
// verify required parameter 'bulkUpdateMarketplaceListingRequest' is not null or undefined
|
|
1885
|
-
(0, common_1.assertParamExists)('bulkUpdateProductMarketplaceListings', 'bulkUpdateMarketplaceListingRequest', bulkUpdateMarketplaceListingRequest);
|
|
1886
|
-
const localVarPath = `/v1/catalog/products/marketplace-listings`;
|
|
1887
|
-
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
1888
|
-
const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
1889
|
-
let baseOptions;
|
|
1890
|
-
if (configuration) {
|
|
1891
|
-
baseOptions = configuration.baseOptions;
|
|
1892
|
-
}
|
|
1893
|
-
const localVarRequestOptions = Object.assign(Object.assign({ method: 'PATCH' }, baseOptions), options);
|
|
1894
|
-
const localVarHeaderParameter = {};
|
|
1895
|
-
const localVarQueryParameter = {};
|
|
1896
|
-
// authentication session-oauth required
|
|
1897
|
-
// oauth required
|
|
1898
|
-
yield (0, common_1.setOAuthToObject)(localVarHeaderParameter, "session-oauth", [], configuration);
|
|
1899
|
-
// authentication api-key required
|
|
1900
|
-
yield (0, common_1.setApiKeyToObject)(localVarHeaderParameter, "Authorization", configuration);
|
|
1901
|
-
if (project !== undefined) {
|
|
1902
|
-
localVarQueryParameter['project'] = project;
|
|
1903
|
-
}
|
|
1904
|
-
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
1905
|
-
localVarHeaderParameter['Accept'] = 'application/json';
|
|
1906
|
-
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
1907
|
-
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
1908
|
-
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
1909
|
-
localVarRequestOptions.data = (0, common_1.serializeDataIfNeeded)(bulkUpdateMarketplaceListingRequest, localVarRequestOptions, configuration);
|
|
1910
|
-
return {
|
|
1911
|
-
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
1912
|
-
options: localVarRequestOptions,
|
|
1913
|
-
};
|
|
1914
|
-
}),
|
|
1915
1873
|
/**
|
|
1916
1874
|
* 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.
|
|
1917
1875
|
* @summary Create product
|
|
@@ -2144,47 +2102,6 @@ const ProductsApiAxiosParamCreator = function (configuration) {
|
|
|
2144
2102
|
options: localVarRequestOptions,
|
|
2145
2103
|
};
|
|
2146
2104
|
}),
|
|
2147
|
-
/**
|
|
2148
|
-
* Gets marketplace listing data for a product.
|
|
2149
|
-
* @summary Get product marketplaces
|
|
2150
|
-
* @param {string} project What project it is
|
|
2151
|
-
* @param {string} productId Product\'s unique identifier
|
|
2152
|
-
* @param {*} [options] Override http request option.
|
|
2153
|
-
* @throws {RequiredError}
|
|
2154
|
-
*/
|
|
2155
|
-
getMarketplaceListings: (project_1, productId_1, ...args_1) => __awaiter(this, [project_1, productId_1, ...args_1], void 0, function* (project, productId, options = {}) {
|
|
2156
|
-
// verify required parameter 'project' is not null or undefined
|
|
2157
|
-
(0, common_1.assertParamExists)('getMarketplaceListings', 'project', project);
|
|
2158
|
-
// verify required parameter 'productId' is not null or undefined
|
|
2159
|
-
(0, common_1.assertParamExists)('getMarketplaceListings', 'productId', productId);
|
|
2160
|
-
const localVarPath = `/v1/catalog/products/{productId}/marketplace-listings`
|
|
2161
|
-
.replace('{productId}', encodeURIComponent(String(productId)));
|
|
2162
|
-
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
2163
|
-
const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
2164
|
-
let baseOptions;
|
|
2165
|
-
if (configuration) {
|
|
2166
|
-
baseOptions = configuration.baseOptions;
|
|
2167
|
-
}
|
|
2168
|
-
const localVarRequestOptions = Object.assign(Object.assign({ method: 'GET' }, baseOptions), options);
|
|
2169
|
-
const localVarHeaderParameter = {};
|
|
2170
|
-
const localVarQueryParameter = {};
|
|
2171
|
-
// authentication session-oauth required
|
|
2172
|
-
// oauth required
|
|
2173
|
-
yield (0, common_1.setOAuthToObject)(localVarHeaderParameter, "session-oauth", [], configuration);
|
|
2174
|
-
// authentication api-key required
|
|
2175
|
-
yield (0, common_1.setApiKeyToObject)(localVarHeaderParameter, "Authorization", configuration);
|
|
2176
|
-
if (project !== undefined) {
|
|
2177
|
-
localVarQueryParameter['project'] = project;
|
|
2178
|
-
}
|
|
2179
|
-
localVarHeaderParameter['Accept'] = 'application/json';
|
|
2180
|
-
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
2181
|
-
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
2182
|
-
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
2183
|
-
return {
|
|
2184
|
-
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
2185
|
-
options: localVarRequestOptions,
|
|
2186
|
-
};
|
|
2187
|
-
}),
|
|
2188
2105
|
/**
|
|
2189
2106
|
* Gets a product by a given ID.
|
|
2190
2107
|
* @summary Get product
|
|
@@ -2459,50 +2376,6 @@ const ProductsApiAxiosParamCreator = function (configuration) {
|
|
|
2459
2376
|
options: localVarRequestOptions,
|
|
2460
2377
|
};
|
|
2461
2378
|
}),
|
|
2462
|
-
/**
|
|
2463
|
-
* Updates marketplace listing data for a product.
|
|
2464
|
-
* @summary Update product marketplaces
|
|
2465
|
-
* @param {string} project What project it is
|
|
2466
|
-
* @param {string} productId Product\'s unique identifier
|
|
2467
|
-
* @param {UpdateMarketplaceListingRequest} [updateMarketplaceListingRequest] The marketplace listing fields to update. Only the fields provided will be modified.
|
|
2468
|
-
* @param {*} [options] Override http request option.
|
|
2469
|
-
* @throws {RequiredError}
|
|
2470
|
-
*/
|
|
2471
|
-
updateMarketplaceListings: (project_1, productId_1, updateMarketplaceListingRequest_1, ...args_1) => __awaiter(this, [project_1, productId_1, updateMarketplaceListingRequest_1, ...args_1], void 0, function* (project, productId, updateMarketplaceListingRequest, options = {}) {
|
|
2472
|
-
// verify required parameter 'project' is not null or undefined
|
|
2473
|
-
(0, common_1.assertParamExists)('updateMarketplaceListings', 'project', project);
|
|
2474
|
-
// verify required parameter 'productId' is not null or undefined
|
|
2475
|
-
(0, common_1.assertParamExists)('updateMarketplaceListings', 'productId', productId);
|
|
2476
|
-
const localVarPath = `/v1/catalog/products/{productId}/marketplace-listings`
|
|
2477
|
-
.replace('{productId}', encodeURIComponent(String(productId)));
|
|
2478
|
-
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
2479
|
-
const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
2480
|
-
let baseOptions;
|
|
2481
|
-
if (configuration) {
|
|
2482
|
-
baseOptions = configuration.baseOptions;
|
|
2483
|
-
}
|
|
2484
|
-
const localVarRequestOptions = Object.assign(Object.assign({ method: 'PATCH' }, baseOptions), options);
|
|
2485
|
-
const localVarHeaderParameter = {};
|
|
2486
|
-
const localVarQueryParameter = {};
|
|
2487
|
-
// authentication session-oauth required
|
|
2488
|
-
// oauth required
|
|
2489
|
-
yield (0, common_1.setOAuthToObject)(localVarHeaderParameter, "session-oauth", [], configuration);
|
|
2490
|
-
// authentication api-key required
|
|
2491
|
-
yield (0, common_1.setApiKeyToObject)(localVarHeaderParameter, "Authorization", configuration);
|
|
2492
|
-
if (project !== undefined) {
|
|
2493
|
-
localVarQueryParameter['project'] = project;
|
|
2494
|
-
}
|
|
2495
|
-
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
2496
|
-
localVarHeaderParameter['Accept'] = 'application/json';
|
|
2497
|
-
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
2498
|
-
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
2499
|
-
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
2500
|
-
localVarRequestOptions.data = (0, common_1.serializeDataIfNeeded)(updateMarketplaceListingRequest, localVarRequestOptions, configuration);
|
|
2501
|
-
return {
|
|
2502
|
-
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
2503
|
-
options: localVarRequestOptions,
|
|
2504
|
-
};
|
|
2505
|
-
}),
|
|
2506
2379
|
/**
|
|
2507
2380
|
* Updates a product by a given ID.
|
|
2508
2381
|
* @summary Update product
|
|
@@ -2615,23 +2488,6 @@ const ProductsApiFp = function (configuration) {
|
|
|
2615
2488
|
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
2616
2489
|
});
|
|
2617
2490
|
},
|
|
2618
|
-
/**
|
|
2619
|
-
* Updates marketplace listing data for multiple products under a single marketplace. Each request carries exactly one marketplace group (see `BulkUpdateMarketplaceListingRequest.marketplace`); send additional requests to update another marketplace code.
|
|
2620
|
-
* @summary Bulk update product marketplaces
|
|
2621
|
-
* @param {string} project What project it is
|
|
2622
|
-
* @param {BulkUpdateMarketplaceListingRequest} bulkUpdateMarketplaceListingRequest Update marketplace listing fields for multiple products for one marketplace only. The `marketplaces` array must contain exactly one item (one `code` and its `products`).
|
|
2623
|
-
* @param {*} [options] Override http request option.
|
|
2624
|
-
* @throws {RequiredError}
|
|
2625
|
-
*/
|
|
2626
|
-
bulkUpdateProductMarketplaceListings(project, bulkUpdateMarketplaceListingRequest, options) {
|
|
2627
|
-
return __awaiter(this, void 0, void 0, function* () {
|
|
2628
|
-
var _a, _b, _c;
|
|
2629
|
-
const localVarAxiosArgs = yield localVarAxiosParamCreator.bulkUpdateProductMarketplaceListings(project, bulkUpdateMarketplaceListingRequest, options);
|
|
2630
|
-
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
2631
|
-
const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['ProductsApi.bulkUpdateProductMarketplaceListings']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
2632
|
-
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
2633
|
-
});
|
|
2634
|
-
},
|
|
2635
2491
|
/**
|
|
2636
2492
|
* 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.
|
|
2637
2493
|
* @summary Create product
|
|
@@ -2723,23 +2579,6 @@ const ProductsApiFp = function (configuration) {
|
|
|
2723
2579
|
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
2724
2580
|
});
|
|
2725
2581
|
},
|
|
2726
|
-
/**
|
|
2727
|
-
* Gets marketplace listing data for a product.
|
|
2728
|
-
* @summary Get product marketplaces
|
|
2729
|
-
* @param {string} project What project it is
|
|
2730
|
-
* @param {string} productId Product\'s unique identifier
|
|
2731
|
-
* @param {*} [options] Override http request option.
|
|
2732
|
-
* @throws {RequiredError}
|
|
2733
|
-
*/
|
|
2734
|
-
getMarketplaceListings(project, productId, options) {
|
|
2735
|
-
return __awaiter(this, void 0, void 0, function* () {
|
|
2736
|
-
var _a, _b, _c;
|
|
2737
|
-
const localVarAxiosArgs = yield localVarAxiosParamCreator.getMarketplaceListings(project, productId, options);
|
|
2738
|
-
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
2739
|
-
const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['ProductsApi.getMarketplaceListings']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
2740
|
-
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
2741
|
-
});
|
|
2742
|
-
},
|
|
2743
2582
|
/**
|
|
2744
2583
|
* Gets a product by a given ID.
|
|
2745
2584
|
* @summary Get product
|
|
@@ -2832,24 +2671,6 @@ const ProductsApiFp = function (configuration) {
|
|
|
2832
2671
|
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
2833
2672
|
});
|
|
2834
2673
|
},
|
|
2835
|
-
/**
|
|
2836
|
-
* Updates marketplace listing data for a product.
|
|
2837
|
-
* @summary Update product marketplaces
|
|
2838
|
-
* @param {string} project What project it is
|
|
2839
|
-
* @param {string} productId Product\'s unique identifier
|
|
2840
|
-
* @param {UpdateMarketplaceListingRequest} [updateMarketplaceListingRequest] The marketplace listing fields to update. Only the fields provided will be modified.
|
|
2841
|
-
* @param {*} [options] Override http request option.
|
|
2842
|
-
* @throws {RequiredError}
|
|
2843
|
-
*/
|
|
2844
|
-
updateMarketplaceListings(project, productId, updateMarketplaceListingRequest, options) {
|
|
2845
|
-
return __awaiter(this, void 0, void 0, function* () {
|
|
2846
|
-
var _a, _b, _c;
|
|
2847
|
-
const localVarAxiosArgs = yield localVarAxiosParamCreator.updateMarketplaceListings(project, productId, updateMarketplaceListingRequest, options);
|
|
2848
|
-
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
2849
|
-
const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['ProductsApi.updateMarketplaceListings']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
2850
|
-
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
2851
|
-
});
|
|
2852
|
-
},
|
|
2853
2674
|
/**
|
|
2854
2675
|
* Updates a product by a given ID.
|
|
2855
2676
|
* @summary Update product
|
|
@@ -2904,16 +2725,6 @@ const ProductsApiFactory = function (configuration, basePath, axios) {
|
|
|
2904
2725
|
autoMerchProducts(requestParameters, options) {
|
|
2905
2726
|
return localVarFp.autoMerchProducts(requestParameters.project, requestParameters.autoMerchProductsRequest, options).then((request) => request(axios, basePath));
|
|
2906
2727
|
},
|
|
2907
|
-
/**
|
|
2908
|
-
* Updates marketplace listing data for multiple products under a single marketplace. Each request carries exactly one marketplace group (see `BulkUpdateMarketplaceListingRequest.marketplace`); send additional requests to update another marketplace code.
|
|
2909
|
-
* @summary Bulk update product marketplaces
|
|
2910
|
-
* @param {ProductsApiBulkUpdateProductMarketplaceListingsRequest} requestParameters Request parameters.
|
|
2911
|
-
* @param {*} [options] Override http request option.
|
|
2912
|
-
* @throws {RequiredError}
|
|
2913
|
-
*/
|
|
2914
|
-
bulkUpdateProductMarketplaceListings(requestParameters, options) {
|
|
2915
|
-
return localVarFp.bulkUpdateProductMarketplaceListings(requestParameters.project, requestParameters.bulkUpdateMarketplaceListingRequest, options).then((request) => request(axios, basePath));
|
|
2916
|
-
},
|
|
2917
2728
|
/**
|
|
2918
2729
|
* 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.
|
|
2919
2730
|
* @summary Create product
|
|
@@ -2964,16 +2775,6 @@ const ProductsApiFactory = function (configuration, basePath, axios) {
|
|
|
2964
2775
|
exportProducts(requestParameters, options) {
|
|
2965
2776
|
return localVarFp.exportProducts(requestParameters.project, requestParameters.search, requestParameters.start, requestParameters.end, requestParameters.dateFilterType, requestParameters.maxRetailPrice, requestParameters.minRetailPrice, requestParameters.marketplaceCode, options).then((request) => request(axios, basePath));
|
|
2966
2777
|
},
|
|
2967
|
-
/**
|
|
2968
|
-
* Gets marketplace listing data for a product.
|
|
2969
|
-
* @summary Get product marketplaces
|
|
2970
|
-
* @param {ProductsApiGetMarketplaceListingsRequest} requestParameters Request parameters.
|
|
2971
|
-
* @param {*} [options] Override http request option.
|
|
2972
|
-
* @throws {RequiredError}
|
|
2973
|
-
*/
|
|
2974
|
-
getMarketplaceListings(requestParameters, options) {
|
|
2975
|
-
return localVarFp.getMarketplaceListings(requestParameters.project, requestParameters.productId, options).then((request) => request(axios, basePath));
|
|
2976
|
-
},
|
|
2977
2778
|
/**
|
|
2978
2779
|
* Gets a product by a given ID.
|
|
2979
2780
|
* @summary Get product
|
|
@@ -3014,16 +2815,6 @@ const ProductsApiFactory = function (configuration, basePath, axios) {
|
|
|
3014
2815
|
seoOptimiseProducts(requestParameters, options) {
|
|
3015
2816
|
return localVarFp.seoOptimiseProducts(requestParameters.project, requestParameters.seoOptimiseProductsRequest, options).then((request) => request(axios, basePath));
|
|
3016
2817
|
},
|
|
3017
|
-
/**
|
|
3018
|
-
* Updates marketplace listing data for a product.
|
|
3019
|
-
* @summary Update product marketplaces
|
|
3020
|
-
* @param {ProductsApiUpdateMarketplaceListingsRequest} requestParameters Request parameters.
|
|
3021
|
-
* @param {*} [options] Override http request option.
|
|
3022
|
-
* @throws {RequiredError}
|
|
3023
|
-
*/
|
|
3024
|
-
updateMarketplaceListings(requestParameters, options) {
|
|
3025
|
-
return localVarFp.updateMarketplaceListings(requestParameters.project, requestParameters.productId, requestParameters.updateMarketplaceListingRequest, options).then((request) => request(axios, basePath));
|
|
3026
|
-
},
|
|
3027
2818
|
/**
|
|
3028
2819
|
* Updates a product by a given ID.
|
|
3029
2820
|
* @summary Update product
|
|
@@ -3061,16 +2852,6 @@ class ProductsApi extends base_1.BaseAPI {
|
|
|
3061
2852
|
autoMerchProducts(requestParameters, options) {
|
|
3062
2853
|
return (0, exports.ProductsApiFp)(this.configuration).autoMerchProducts(requestParameters.project, requestParameters.autoMerchProductsRequest, options).then((request) => request(this.axios, this.basePath));
|
|
3063
2854
|
}
|
|
3064
|
-
/**
|
|
3065
|
-
* Updates marketplace listing data for multiple products under a single marketplace. Each request carries exactly one marketplace group (see `BulkUpdateMarketplaceListingRequest.marketplace`); send additional requests to update another marketplace code.
|
|
3066
|
-
* @summary Bulk update product marketplaces
|
|
3067
|
-
* @param {ProductsApiBulkUpdateProductMarketplaceListingsRequest} requestParameters Request parameters.
|
|
3068
|
-
* @param {*} [options] Override http request option.
|
|
3069
|
-
* @throws {RequiredError}
|
|
3070
|
-
*/
|
|
3071
|
-
bulkUpdateProductMarketplaceListings(requestParameters, options) {
|
|
3072
|
-
return (0, exports.ProductsApiFp)(this.configuration).bulkUpdateProductMarketplaceListings(requestParameters.project, requestParameters.bulkUpdateMarketplaceListingRequest, options).then((request) => request(this.axios, this.basePath));
|
|
3073
|
-
}
|
|
3074
2855
|
/**
|
|
3075
2856
|
* 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.
|
|
3076
2857
|
* @summary Create product
|
|
@@ -3121,16 +2902,6 @@ class ProductsApi extends base_1.BaseAPI {
|
|
|
3121
2902
|
exportProducts(requestParameters, options) {
|
|
3122
2903
|
return (0, exports.ProductsApiFp)(this.configuration).exportProducts(requestParameters.project, requestParameters.search, requestParameters.start, requestParameters.end, requestParameters.dateFilterType, requestParameters.maxRetailPrice, requestParameters.minRetailPrice, requestParameters.marketplaceCode, options).then((request) => request(this.axios, this.basePath));
|
|
3123
2904
|
}
|
|
3124
|
-
/**
|
|
3125
|
-
* Gets marketplace listing data for a product.
|
|
3126
|
-
* @summary Get product marketplaces
|
|
3127
|
-
* @param {ProductsApiGetMarketplaceListingsRequest} requestParameters Request parameters.
|
|
3128
|
-
* @param {*} [options] Override http request option.
|
|
3129
|
-
* @throws {RequiredError}
|
|
3130
|
-
*/
|
|
3131
|
-
getMarketplaceListings(requestParameters, options) {
|
|
3132
|
-
return (0, exports.ProductsApiFp)(this.configuration).getMarketplaceListings(requestParameters.project, requestParameters.productId, options).then((request) => request(this.axios, this.basePath));
|
|
3133
|
-
}
|
|
3134
2905
|
/**
|
|
3135
2906
|
* Gets a product by a given ID.
|
|
3136
2907
|
* @summary Get product
|
|
@@ -3171,16 +2942,6 @@ class ProductsApi extends base_1.BaseAPI {
|
|
|
3171
2942
|
seoOptimiseProducts(requestParameters, options) {
|
|
3172
2943
|
return (0, exports.ProductsApiFp)(this.configuration).seoOptimiseProducts(requestParameters.project, requestParameters.seoOptimiseProductsRequest, options).then((request) => request(this.axios, this.basePath));
|
|
3173
2944
|
}
|
|
3174
|
-
/**
|
|
3175
|
-
* Updates marketplace listing data for a product.
|
|
3176
|
-
* @summary Update product marketplaces
|
|
3177
|
-
* @param {ProductsApiUpdateMarketplaceListingsRequest} requestParameters Request parameters.
|
|
3178
|
-
* @param {*} [options] Override http request option.
|
|
3179
|
-
* @throws {RequiredError}
|
|
3180
|
-
*/
|
|
3181
|
-
updateMarketplaceListings(requestParameters, options) {
|
|
3182
|
-
return (0, exports.ProductsApiFp)(this.configuration).updateMarketplaceListings(requestParameters.project, requestParameters.productId, requestParameters.updateMarketplaceListingRequest, options).then((request) => request(this.axios, this.basePath));
|
|
3183
|
-
}
|
|
3184
2945
|
/**
|
|
3185
2946
|
* Updates a product by a given ID.
|
|
3186
2947
|
* @summary Update product
|
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.97.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
|
|
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.97.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
|
|
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.97.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
|
|
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.97.0
|
|
9
9
|
*
|
|
10
10
|
*
|
|
11
11
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -122,7 +122,7 @@ function setFlattenedQueryParams(urlSearchParams, parameter, key = "") {
|
|
|
122
122
|
const setSearchParams = function (url, ...objects) {
|
|
123
123
|
const searchParams = new URLSearchParams(url.search);
|
|
124
124
|
setFlattenedQueryParams(searchParams, objects);
|
|
125
|
-
url.search =
|
|
125
|
+
url.search = searchParams.toString();
|
|
126
126
|
};
|
|
127
127
|
exports.setSearchParams = setSearchParams;
|
|
128
128
|
/**
|
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.97.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
|
@@ -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.97.0
|
|
8
8
|
*
|
|
9
9
|
*
|
|
10
10
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|