@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/esm/api.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).
|
|
@@ -1842,48 +1842,6 @@ export const ProductsApiAxiosParamCreator = function (configuration) {
|
|
|
1842
1842
|
options: localVarRequestOptions,
|
|
1843
1843
|
};
|
|
1844
1844
|
}),
|
|
1845
|
-
/**
|
|
1846
|
-
* 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.
|
|
1847
|
-
* @summary Bulk update product marketplaces
|
|
1848
|
-
* @param {string} project What project it is
|
|
1849
|
-
* @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`).
|
|
1850
|
-
* @param {*} [options] Override http request option.
|
|
1851
|
-
* @throws {RequiredError}
|
|
1852
|
-
*/
|
|
1853
|
-
bulkUpdateProductMarketplaceListings: (project_1, bulkUpdateMarketplaceListingRequest_1, ...args_1) => __awaiter(this, [project_1, bulkUpdateMarketplaceListingRequest_1, ...args_1], void 0, function* (project, bulkUpdateMarketplaceListingRequest, options = {}) {
|
|
1854
|
-
// verify required parameter 'project' is not null or undefined
|
|
1855
|
-
assertParamExists('bulkUpdateProductMarketplaceListings', 'project', project);
|
|
1856
|
-
// verify required parameter 'bulkUpdateMarketplaceListingRequest' is not null or undefined
|
|
1857
|
-
assertParamExists('bulkUpdateProductMarketplaceListings', 'bulkUpdateMarketplaceListingRequest', bulkUpdateMarketplaceListingRequest);
|
|
1858
|
-
const localVarPath = `/v1/catalog/products/marketplace-listings`;
|
|
1859
|
-
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
1860
|
-
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
1861
|
-
let baseOptions;
|
|
1862
|
-
if (configuration) {
|
|
1863
|
-
baseOptions = configuration.baseOptions;
|
|
1864
|
-
}
|
|
1865
|
-
const localVarRequestOptions = Object.assign(Object.assign({ method: 'PATCH' }, baseOptions), options);
|
|
1866
|
-
const localVarHeaderParameter = {};
|
|
1867
|
-
const localVarQueryParameter = {};
|
|
1868
|
-
// authentication session-oauth required
|
|
1869
|
-
// oauth required
|
|
1870
|
-
yield setOAuthToObject(localVarHeaderParameter, "session-oauth", [], configuration);
|
|
1871
|
-
// authentication api-key required
|
|
1872
|
-
yield setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration);
|
|
1873
|
-
if (project !== undefined) {
|
|
1874
|
-
localVarQueryParameter['project'] = project;
|
|
1875
|
-
}
|
|
1876
|
-
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
1877
|
-
localVarHeaderParameter['Accept'] = 'application/json';
|
|
1878
|
-
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
1879
|
-
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
1880
|
-
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
1881
|
-
localVarRequestOptions.data = serializeDataIfNeeded(bulkUpdateMarketplaceListingRequest, localVarRequestOptions, configuration);
|
|
1882
|
-
return {
|
|
1883
|
-
url: toPathString(localVarUrlObj),
|
|
1884
|
-
options: localVarRequestOptions,
|
|
1885
|
-
};
|
|
1886
|
-
}),
|
|
1887
1845
|
/**
|
|
1888
1846
|
* 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.
|
|
1889
1847
|
* @summary Create product
|
|
@@ -2116,47 +2074,6 @@ export const ProductsApiAxiosParamCreator = function (configuration) {
|
|
|
2116
2074
|
options: localVarRequestOptions,
|
|
2117
2075
|
};
|
|
2118
2076
|
}),
|
|
2119
|
-
/**
|
|
2120
|
-
* Gets marketplace listing data for a product.
|
|
2121
|
-
* @summary Get product marketplaces
|
|
2122
|
-
* @param {string} project What project it is
|
|
2123
|
-
* @param {string} productId Product\'s unique identifier
|
|
2124
|
-
* @param {*} [options] Override http request option.
|
|
2125
|
-
* @throws {RequiredError}
|
|
2126
|
-
*/
|
|
2127
|
-
getMarketplaceListings: (project_1, productId_1, ...args_1) => __awaiter(this, [project_1, productId_1, ...args_1], void 0, function* (project, productId, options = {}) {
|
|
2128
|
-
// verify required parameter 'project' is not null or undefined
|
|
2129
|
-
assertParamExists('getMarketplaceListings', 'project', project);
|
|
2130
|
-
// verify required parameter 'productId' is not null or undefined
|
|
2131
|
-
assertParamExists('getMarketplaceListings', 'productId', productId);
|
|
2132
|
-
const localVarPath = `/v1/catalog/products/{productId}/marketplace-listings`
|
|
2133
|
-
.replace('{productId}', encodeURIComponent(String(productId)));
|
|
2134
|
-
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
2135
|
-
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
2136
|
-
let baseOptions;
|
|
2137
|
-
if (configuration) {
|
|
2138
|
-
baseOptions = configuration.baseOptions;
|
|
2139
|
-
}
|
|
2140
|
-
const localVarRequestOptions = Object.assign(Object.assign({ method: 'GET' }, baseOptions), options);
|
|
2141
|
-
const localVarHeaderParameter = {};
|
|
2142
|
-
const localVarQueryParameter = {};
|
|
2143
|
-
// authentication session-oauth required
|
|
2144
|
-
// oauth required
|
|
2145
|
-
yield setOAuthToObject(localVarHeaderParameter, "session-oauth", [], configuration);
|
|
2146
|
-
// authentication api-key required
|
|
2147
|
-
yield setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration);
|
|
2148
|
-
if (project !== undefined) {
|
|
2149
|
-
localVarQueryParameter['project'] = project;
|
|
2150
|
-
}
|
|
2151
|
-
localVarHeaderParameter['Accept'] = 'application/json';
|
|
2152
|
-
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
2153
|
-
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
2154
|
-
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
2155
|
-
return {
|
|
2156
|
-
url: toPathString(localVarUrlObj),
|
|
2157
|
-
options: localVarRequestOptions,
|
|
2158
|
-
};
|
|
2159
|
-
}),
|
|
2160
2077
|
/**
|
|
2161
2078
|
* Gets a product by a given ID.
|
|
2162
2079
|
* @summary Get product
|
|
@@ -2431,50 +2348,6 @@ export const ProductsApiAxiosParamCreator = function (configuration) {
|
|
|
2431
2348
|
options: localVarRequestOptions,
|
|
2432
2349
|
};
|
|
2433
2350
|
}),
|
|
2434
|
-
/**
|
|
2435
|
-
* Updates marketplace listing data for a product.
|
|
2436
|
-
* @summary Update product marketplaces
|
|
2437
|
-
* @param {string} project What project it is
|
|
2438
|
-
* @param {string} productId Product\'s unique identifier
|
|
2439
|
-
* @param {UpdateMarketplaceListingRequest} [updateMarketplaceListingRequest] The marketplace listing fields to update. Only the fields provided will be modified.
|
|
2440
|
-
* @param {*} [options] Override http request option.
|
|
2441
|
-
* @throws {RequiredError}
|
|
2442
|
-
*/
|
|
2443
|
-
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 = {}) {
|
|
2444
|
-
// verify required parameter 'project' is not null or undefined
|
|
2445
|
-
assertParamExists('updateMarketplaceListings', 'project', project);
|
|
2446
|
-
// verify required parameter 'productId' is not null or undefined
|
|
2447
|
-
assertParamExists('updateMarketplaceListings', 'productId', productId);
|
|
2448
|
-
const localVarPath = `/v1/catalog/products/{productId}/marketplace-listings`
|
|
2449
|
-
.replace('{productId}', encodeURIComponent(String(productId)));
|
|
2450
|
-
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
2451
|
-
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
2452
|
-
let baseOptions;
|
|
2453
|
-
if (configuration) {
|
|
2454
|
-
baseOptions = configuration.baseOptions;
|
|
2455
|
-
}
|
|
2456
|
-
const localVarRequestOptions = Object.assign(Object.assign({ method: 'PATCH' }, baseOptions), options);
|
|
2457
|
-
const localVarHeaderParameter = {};
|
|
2458
|
-
const localVarQueryParameter = {};
|
|
2459
|
-
// authentication session-oauth required
|
|
2460
|
-
// oauth required
|
|
2461
|
-
yield setOAuthToObject(localVarHeaderParameter, "session-oauth", [], configuration);
|
|
2462
|
-
// authentication api-key required
|
|
2463
|
-
yield setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration);
|
|
2464
|
-
if (project !== undefined) {
|
|
2465
|
-
localVarQueryParameter['project'] = project;
|
|
2466
|
-
}
|
|
2467
|
-
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
2468
|
-
localVarHeaderParameter['Accept'] = 'application/json';
|
|
2469
|
-
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
2470
|
-
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
2471
|
-
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
2472
|
-
localVarRequestOptions.data = serializeDataIfNeeded(updateMarketplaceListingRequest, localVarRequestOptions, configuration);
|
|
2473
|
-
return {
|
|
2474
|
-
url: toPathString(localVarUrlObj),
|
|
2475
|
-
options: localVarRequestOptions,
|
|
2476
|
-
};
|
|
2477
|
-
}),
|
|
2478
2351
|
/**
|
|
2479
2352
|
* Updates a product by a given ID.
|
|
2480
2353
|
* @summary Update product
|
|
@@ -2586,23 +2459,6 @@ export const ProductsApiFp = function (configuration) {
|
|
|
2586
2459
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
2587
2460
|
});
|
|
2588
2461
|
},
|
|
2589
|
-
/**
|
|
2590
|
-
* 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.
|
|
2591
|
-
* @summary Bulk update product marketplaces
|
|
2592
|
-
* @param {string} project What project it is
|
|
2593
|
-
* @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`).
|
|
2594
|
-
* @param {*} [options] Override http request option.
|
|
2595
|
-
* @throws {RequiredError}
|
|
2596
|
-
*/
|
|
2597
|
-
bulkUpdateProductMarketplaceListings(project, bulkUpdateMarketplaceListingRequest, options) {
|
|
2598
|
-
return __awaiter(this, void 0, void 0, function* () {
|
|
2599
|
-
var _a, _b, _c;
|
|
2600
|
-
const localVarAxiosArgs = yield localVarAxiosParamCreator.bulkUpdateProductMarketplaceListings(project, bulkUpdateMarketplaceListingRequest, options);
|
|
2601
|
-
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
2602
|
-
const localVarOperationServerBasePath = (_c = (_b = operationServerMap['ProductsApi.bulkUpdateProductMarketplaceListings']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
2603
|
-
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
2604
|
-
});
|
|
2605
|
-
},
|
|
2606
2462
|
/**
|
|
2607
2463
|
* 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.
|
|
2608
2464
|
* @summary Create product
|
|
@@ -2694,23 +2550,6 @@ export const ProductsApiFp = function (configuration) {
|
|
|
2694
2550
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
2695
2551
|
});
|
|
2696
2552
|
},
|
|
2697
|
-
/**
|
|
2698
|
-
* Gets marketplace listing data for a product.
|
|
2699
|
-
* @summary Get product marketplaces
|
|
2700
|
-
* @param {string} project What project it is
|
|
2701
|
-
* @param {string} productId Product\'s unique identifier
|
|
2702
|
-
* @param {*} [options] Override http request option.
|
|
2703
|
-
* @throws {RequiredError}
|
|
2704
|
-
*/
|
|
2705
|
-
getMarketplaceListings(project, productId, options) {
|
|
2706
|
-
return __awaiter(this, void 0, void 0, function* () {
|
|
2707
|
-
var _a, _b, _c;
|
|
2708
|
-
const localVarAxiosArgs = yield localVarAxiosParamCreator.getMarketplaceListings(project, productId, options);
|
|
2709
|
-
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
2710
|
-
const localVarOperationServerBasePath = (_c = (_b = operationServerMap['ProductsApi.getMarketplaceListings']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
2711
|
-
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
2712
|
-
});
|
|
2713
|
-
},
|
|
2714
2553
|
/**
|
|
2715
2554
|
* Gets a product by a given ID.
|
|
2716
2555
|
* @summary Get product
|
|
@@ -2803,24 +2642,6 @@ export const ProductsApiFp = function (configuration) {
|
|
|
2803
2642
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
2804
2643
|
});
|
|
2805
2644
|
},
|
|
2806
|
-
/**
|
|
2807
|
-
* Updates marketplace listing data for a product.
|
|
2808
|
-
* @summary Update product marketplaces
|
|
2809
|
-
* @param {string} project What project it is
|
|
2810
|
-
* @param {string} productId Product\'s unique identifier
|
|
2811
|
-
* @param {UpdateMarketplaceListingRequest} [updateMarketplaceListingRequest] The marketplace listing fields to update. Only the fields provided will be modified.
|
|
2812
|
-
* @param {*} [options] Override http request option.
|
|
2813
|
-
* @throws {RequiredError}
|
|
2814
|
-
*/
|
|
2815
|
-
updateMarketplaceListings(project, productId, updateMarketplaceListingRequest, options) {
|
|
2816
|
-
return __awaiter(this, void 0, void 0, function* () {
|
|
2817
|
-
var _a, _b, _c;
|
|
2818
|
-
const localVarAxiosArgs = yield localVarAxiosParamCreator.updateMarketplaceListings(project, productId, updateMarketplaceListingRequest, options);
|
|
2819
|
-
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
2820
|
-
const localVarOperationServerBasePath = (_c = (_b = operationServerMap['ProductsApi.updateMarketplaceListings']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
2821
|
-
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
2822
|
-
});
|
|
2823
|
-
},
|
|
2824
2645
|
/**
|
|
2825
2646
|
* Updates a product by a given ID.
|
|
2826
2647
|
* @summary Update product
|
|
@@ -2874,16 +2695,6 @@ export const ProductsApiFactory = function (configuration, basePath, axios) {
|
|
|
2874
2695
|
autoMerchProducts(requestParameters, options) {
|
|
2875
2696
|
return localVarFp.autoMerchProducts(requestParameters.project, requestParameters.autoMerchProductsRequest, options).then((request) => request(axios, basePath));
|
|
2876
2697
|
},
|
|
2877
|
-
/**
|
|
2878
|
-
* 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.
|
|
2879
|
-
* @summary Bulk update product marketplaces
|
|
2880
|
-
* @param {ProductsApiBulkUpdateProductMarketplaceListingsRequest} requestParameters Request parameters.
|
|
2881
|
-
* @param {*} [options] Override http request option.
|
|
2882
|
-
* @throws {RequiredError}
|
|
2883
|
-
*/
|
|
2884
|
-
bulkUpdateProductMarketplaceListings(requestParameters, options) {
|
|
2885
|
-
return localVarFp.bulkUpdateProductMarketplaceListings(requestParameters.project, requestParameters.bulkUpdateMarketplaceListingRequest, options).then((request) => request(axios, basePath));
|
|
2886
|
-
},
|
|
2887
2698
|
/**
|
|
2888
2699
|
* 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.
|
|
2889
2700
|
* @summary Create product
|
|
@@ -2934,16 +2745,6 @@ export const ProductsApiFactory = function (configuration, basePath, axios) {
|
|
|
2934
2745
|
exportProducts(requestParameters, options) {
|
|
2935
2746
|
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));
|
|
2936
2747
|
},
|
|
2937
|
-
/**
|
|
2938
|
-
* Gets marketplace listing data for a product.
|
|
2939
|
-
* @summary Get product marketplaces
|
|
2940
|
-
* @param {ProductsApiGetMarketplaceListingsRequest} requestParameters Request parameters.
|
|
2941
|
-
* @param {*} [options] Override http request option.
|
|
2942
|
-
* @throws {RequiredError}
|
|
2943
|
-
*/
|
|
2944
|
-
getMarketplaceListings(requestParameters, options) {
|
|
2945
|
-
return localVarFp.getMarketplaceListings(requestParameters.project, requestParameters.productId, options).then((request) => request(axios, basePath));
|
|
2946
|
-
},
|
|
2947
2748
|
/**
|
|
2948
2749
|
* Gets a product by a given ID.
|
|
2949
2750
|
* @summary Get product
|
|
@@ -2984,16 +2785,6 @@ export const ProductsApiFactory = function (configuration, basePath, axios) {
|
|
|
2984
2785
|
seoOptimiseProducts(requestParameters, options) {
|
|
2985
2786
|
return localVarFp.seoOptimiseProducts(requestParameters.project, requestParameters.seoOptimiseProductsRequest, options).then((request) => request(axios, basePath));
|
|
2986
2787
|
},
|
|
2987
|
-
/**
|
|
2988
|
-
* Updates marketplace listing data for a product.
|
|
2989
|
-
* @summary Update product marketplaces
|
|
2990
|
-
* @param {ProductsApiUpdateMarketplaceListingsRequest} requestParameters Request parameters.
|
|
2991
|
-
* @param {*} [options] Override http request option.
|
|
2992
|
-
* @throws {RequiredError}
|
|
2993
|
-
*/
|
|
2994
|
-
updateMarketplaceListings(requestParameters, options) {
|
|
2995
|
-
return localVarFp.updateMarketplaceListings(requestParameters.project, requestParameters.productId, requestParameters.updateMarketplaceListingRequest, options).then((request) => request(axios, basePath));
|
|
2996
|
-
},
|
|
2997
2788
|
/**
|
|
2998
2789
|
* Updates a product by a given ID.
|
|
2999
2790
|
* @summary Update product
|
|
@@ -3030,16 +2821,6 @@ export class ProductsApi extends BaseAPI {
|
|
|
3030
2821
|
autoMerchProducts(requestParameters, options) {
|
|
3031
2822
|
return ProductsApiFp(this.configuration).autoMerchProducts(requestParameters.project, requestParameters.autoMerchProductsRequest, options).then((request) => request(this.axios, this.basePath));
|
|
3032
2823
|
}
|
|
3033
|
-
/**
|
|
3034
|
-
* 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.
|
|
3035
|
-
* @summary Bulk update product marketplaces
|
|
3036
|
-
* @param {ProductsApiBulkUpdateProductMarketplaceListingsRequest} requestParameters Request parameters.
|
|
3037
|
-
* @param {*} [options] Override http request option.
|
|
3038
|
-
* @throws {RequiredError}
|
|
3039
|
-
*/
|
|
3040
|
-
bulkUpdateProductMarketplaceListings(requestParameters, options) {
|
|
3041
|
-
return ProductsApiFp(this.configuration).bulkUpdateProductMarketplaceListings(requestParameters.project, requestParameters.bulkUpdateMarketplaceListingRequest, options).then((request) => request(this.axios, this.basePath));
|
|
3042
|
-
}
|
|
3043
2824
|
/**
|
|
3044
2825
|
* 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.
|
|
3045
2826
|
* @summary Create product
|
|
@@ -3090,16 +2871,6 @@ export class ProductsApi extends BaseAPI {
|
|
|
3090
2871
|
exportProducts(requestParameters, options) {
|
|
3091
2872
|
return 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));
|
|
3092
2873
|
}
|
|
3093
|
-
/**
|
|
3094
|
-
* Gets marketplace listing data for a product.
|
|
3095
|
-
* @summary Get product marketplaces
|
|
3096
|
-
* @param {ProductsApiGetMarketplaceListingsRequest} requestParameters Request parameters.
|
|
3097
|
-
* @param {*} [options] Override http request option.
|
|
3098
|
-
* @throws {RequiredError}
|
|
3099
|
-
*/
|
|
3100
|
-
getMarketplaceListings(requestParameters, options) {
|
|
3101
|
-
return ProductsApiFp(this.configuration).getMarketplaceListings(requestParameters.project, requestParameters.productId, options).then((request) => request(this.axios, this.basePath));
|
|
3102
|
-
}
|
|
3103
2874
|
/**
|
|
3104
2875
|
* Gets a product by a given ID.
|
|
3105
2876
|
* @summary Get product
|
|
@@ -3140,16 +2911,6 @@ export class ProductsApi extends BaseAPI {
|
|
|
3140
2911
|
seoOptimiseProducts(requestParameters, options) {
|
|
3141
2912
|
return ProductsApiFp(this.configuration).seoOptimiseProducts(requestParameters.project, requestParameters.seoOptimiseProductsRequest, options).then((request) => request(this.axios, this.basePath));
|
|
3142
2913
|
}
|
|
3143
|
-
/**
|
|
3144
|
-
* Updates marketplace listing data for a product.
|
|
3145
|
-
* @summary Update product marketplaces
|
|
3146
|
-
* @param {ProductsApiUpdateMarketplaceListingsRequest} requestParameters Request parameters.
|
|
3147
|
-
* @param {*} [options] Override http request option.
|
|
3148
|
-
* @throws {RequiredError}
|
|
3149
|
-
*/
|
|
3150
|
-
updateMarketplaceListings(requestParameters, options) {
|
|
3151
|
-
return ProductsApiFp(this.configuration).updateMarketplaceListings(requestParameters.project, requestParameters.productId, requestParameters.updateMarketplaceListingRequest, options).then((request) => request(this.axios, this.basePath));
|
|
3152
|
-
}
|
|
3153
2914
|
/**
|
|
3154
2915
|
* Updates a product by a given ID.
|
|
3155
2916
|
* @summary Update product
|
package/dist/esm/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/esm/base.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).
|
package/dist/esm/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/esm/common.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).
|
|
@@ -114,7 +114,7 @@ function setFlattenedQueryParams(urlSearchParams, parameter, key = "") {
|
|
|
114
114
|
export const setSearchParams = function (url, ...objects) {
|
|
115
115
|
const searchParams = new URLSearchParams(url.search);
|
|
116
116
|
setFlattenedQueryParams(searchParams, objects);
|
|
117
|
-
url.search =
|
|
117
|
+
url.search = searchParams.toString();
|
|
118
118
|
};
|
|
119
119
|
/**
|
|
120
120
|
*
|
|
@@ -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).
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
* Product Catalog
|
|
4
4
|
* 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.
|
|
5
5
|
*
|
|
6
|
-
* The version of the OpenAPI document: 1.
|
|
6
|
+
* The version of the OpenAPI document: 1.97.0
|
|
7
7
|
*
|
|
8
8
|
*
|
|
9
9
|
* 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
|
|
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/esm/index.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).
|
package/dist/index.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/index.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).
|