@teemill/product-catalog 1.95.3 → 1.96.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.
Files changed (41) hide show
  1. package/.openapi-generator/FILES +11 -0
  2. package/README.md +16 -2
  3. package/api.ts +436 -6
  4. package/base.ts +1 -1
  5. package/common.ts +1 -1
  6. package/configuration.ts +1 -1
  7. package/dist/api.d.ts +271 -3
  8. package/dist/api.js +250 -6
  9. package/dist/base.d.ts +1 -1
  10. package/dist/base.js +1 -1
  11. package/dist/common.d.ts +1 -1
  12. package/dist/common.js +1 -1
  13. package/dist/configuration.d.ts +1 -1
  14. package/dist/configuration.js +1 -1
  15. package/dist/esm/api.d.ts +271 -3
  16. package/dist/esm/api.js +250 -6
  17. package/dist/esm/base.d.ts +1 -1
  18. package/dist/esm/base.js +1 -1
  19. package/dist/esm/common.d.ts +1 -1
  20. package/dist/esm/common.js +1 -1
  21. package/dist/esm/configuration.d.ts +1 -1
  22. package/dist/esm/configuration.js +1 -1
  23. package/dist/esm/index.d.ts +1 -1
  24. package/dist/esm/index.js +1 -1
  25. package/dist/index.d.ts +1 -1
  26. package/dist/index.js +1 -1
  27. package/docs/BulkUpdateMarketplaceListing.md +23 -0
  28. package/docs/BulkUpdateMarketplaceListingProduct.md +33 -0
  29. package/docs/BulkUpdateMarketplaceListingRequest.md +21 -0
  30. package/docs/BulkUpdateMarketplaceListingResponse.md +21 -0
  31. package/docs/BulkUpdatedMarketplaceListing.md +23 -0
  32. package/docs/BulkUpdatedMarketplaceListings.md +23 -0
  33. package/docs/MarketplaceListing.md +35 -0
  34. package/docs/MarketplaceListingFields.md +31 -0
  35. package/docs/MarketplaceListingsResponse.md +20 -0
  36. package/docs/Product.md +2 -0
  37. package/docs/ProductsApi.md +189 -1
  38. package/docs/UpdateMarketplaceListing.md +33 -0
  39. package/docs/UpdateMarketplaceListingRequest.md +21 -0
  40. package/index.ts +1 -1
  41. 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.95.3
8
+ * The version of the OpenAPI document: 1.96.0
9
9
  *
10
10
  *
11
11
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -1870,6 +1870,48 @@ 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
+ }),
1873
1915
  /**
1874
1916
  * 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.
1875
1917
  * @summary Create product
@@ -2043,10 +2085,11 @@ const ProductsApiAxiosParamCreator = function (configuration) {
2043
2085
  * @param {ExportProductsDateFilterTypeEnum} [dateFilterType] Specifies the type of date range filter to apply. Determines which date field the `start` and `end` fields should query.
2044
2086
  * @param {number} [maxRetailPrice] Specify the maximum retail price to filter by. Products will be included so long as either at least one variant or the product itself (in the case of bundles) has a retail price less than or equal to the specified value.
2045
2087
  * @param {number} [minRetailPrice] Specify the minimum retail price to filter by. Products will be included so long as either at least one variant or the product itself (in the case of bundles) has a retail price greater than or equal to the specified value.
2088
+ * @param {string} [marketplaceCode] Export product data in the listing format for the selected marketplace code.
2046
2089
  * @param {*} [options] Override http request option.
2047
2090
  * @throws {RequiredError}
2048
2091
  */
2049
- exportProducts: (project_1, search_1, start_1, end_1, dateFilterType_1, maxRetailPrice_1, minRetailPrice_1, ...args_1) => __awaiter(this, [project_1, search_1, start_1, end_1, dateFilterType_1, maxRetailPrice_1, minRetailPrice_1, ...args_1], void 0, function* (project, search, start, end, dateFilterType, maxRetailPrice, minRetailPrice, options = {}) {
2092
+ exportProducts: (project_1, search_1, start_1, end_1, dateFilterType_1, maxRetailPrice_1, minRetailPrice_1, marketplaceCode_1, ...args_1) => __awaiter(this, [project_1, search_1, start_1, end_1, dateFilterType_1, maxRetailPrice_1, minRetailPrice_1, marketplaceCode_1, ...args_1], void 0, function* (project, search, start, end, dateFilterType, maxRetailPrice, minRetailPrice, marketplaceCode, options = {}) {
2050
2093
  // verify required parameter 'project' is not null or undefined
2051
2094
  (0, common_1.assertParamExists)('exportProducts', 'project', project);
2052
2095
  const localVarPath = `/v1/catalog/products/export`;
@@ -2089,6 +2132,9 @@ const ProductsApiAxiosParamCreator = function (configuration) {
2089
2132
  if (minRetailPrice !== undefined) {
2090
2133
  localVarQueryParameter['minRetailPrice'] = minRetailPrice;
2091
2134
  }
2135
+ if (marketplaceCode !== undefined) {
2136
+ localVarQueryParameter['marketplaceCode'] = marketplaceCode;
2137
+ }
2092
2138
  localVarHeaderParameter['Accept'] = 'text/csv; charset=utf-8,application/json';
2093
2139
  (0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
2094
2140
  let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
@@ -2098,6 +2144,47 @@ const ProductsApiAxiosParamCreator = function (configuration) {
2098
2144
  options: localVarRequestOptions,
2099
2145
  };
2100
2146
  }),
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
+ }),
2101
2188
  /**
2102
2189
  * Gets a product by a given ID.
2103
2190
  * @summary Get product
@@ -2372,6 +2459,50 @@ const ProductsApiAxiosParamCreator = function (configuration) {
2372
2459
  options: localVarRequestOptions,
2373
2460
  };
2374
2461
  }),
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
+ }),
2375
2506
  /**
2376
2507
  * Updates a product by a given ID.
2377
2508
  * @summary Update product
@@ -2484,6 +2615,23 @@ const ProductsApiFp = function (configuration) {
2484
2615
  return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
2485
2616
  });
2486
2617
  },
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
+ },
2487
2635
  /**
2488
2636
  * 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.
2489
2637
  * @summary Create product
@@ -2562,18 +2710,36 @@ const ProductsApiFp = function (configuration) {
2562
2710
  * @param {ExportProductsDateFilterTypeEnum} [dateFilterType] Specifies the type of date range filter to apply. Determines which date field the `start` and `end` fields should query.
2563
2711
  * @param {number} [maxRetailPrice] Specify the maximum retail price to filter by. Products will be included so long as either at least one variant or the product itself (in the case of bundles) has a retail price less than or equal to the specified value.
2564
2712
  * @param {number} [minRetailPrice] Specify the minimum retail price to filter by. Products will be included so long as either at least one variant or the product itself (in the case of bundles) has a retail price greater than or equal to the specified value.
2713
+ * @param {string} [marketplaceCode] Export product data in the listing format for the selected marketplace code.
2565
2714
  * @param {*} [options] Override http request option.
2566
2715
  * @throws {RequiredError}
2567
2716
  */
2568
- exportProducts(project, search, start, end, dateFilterType, maxRetailPrice, minRetailPrice, options) {
2717
+ exportProducts(project, search, start, end, dateFilterType, maxRetailPrice, minRetailPrice, marketplaceCode, options) {
2569
2718
  return __awaiter(this, void 0, void 0, function* () {
2570
2719
  var _a, _b, _c;
2571
- const localVarAxiosArgs = yield localVarAxiosParamCreator.exportProducts(project, search, start, end, dateFilterType, maxRetailPrice, minRetailPrice, options);
2720
+ const localVarAxiosArgs = yield localVarAxiosParamCreator.exportProducts(project, search, start, end, dateFilterType, maxRetailPrice, minRetailPrice, marketplaceCode, options);
2572
2721
  const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
2573
2722
  const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['ProductsApi.exportProducts']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
2574
2723
  return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
2575
2724
  });
2576
2725
  },
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
+ },
2577
2743
  /**
2578
2744
  * Gets a product by a given ID.
2579
2745
  * @summary Get product
@@ -2666,6 +2832,24 @@ const ProductsApiFp = function (configuration) {
2666
2832
  return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
2667
2833
  });
2668
2834
  },
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
+ },
2669
2853
  /**
2670
2854
  * Updates a product by a given ID.
2671
2855
  * @summary Update product
@@ -2720,6 +2904,16 @@ const ProductsApiFactory = function (configuration, basePath, axios) {
2720
2904
  autoMerchProducts(requestParameters, options) {
2721
2905
  return localVarFp.autoMerchProducts(requestParameters.project, requestParameters.autoMerchProductsRequest, options).then((request) => request(axios, basePath));
2722
2906
  },
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
+ },
2723
2917
  /**
2724
2918
  * 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.
2725
2919
  * @summary Create product
@@ -2768,7 +2962,17 @@ const ProductsApiFactory = function (configuration, basePath, axios) {
2768
2962
  * @throws {RequiredError}
2769
2963
  */
2770
2964
  exportProducts(requestParameters, options) {
2771
- return localVarFp.exportProducts(requestParameters.project, requestParameters.search, requestParameters.start, requestParameters.end, requestParameters.dateFilterType, requestParameters.maxRetailPrice, requestParameters.minRetailPrice, options).then((request) => request(axios, basePath));
2965
+ 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
+ },
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));
2772
2976
  },
2773
2977
  /**
2774
2978
  * Gets a product by a given ID.
@@ -2810,6 +3014,16 @@ const ProductsApiFactory = function (configuration, basePath, axios) {
2810
3014
  seoOptimiseProducts(requestParameters, options) {
2811
3015
  return localVarFp.seoOptimiseProducts(requestParameters.project, requestParameters.seoOptimiseProductsRequest, options).then((request) => request(axios, basePath));
2812
3016
  },
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
+ },
2813
3027
  /**
2814
3028
  * Updates a product by a given ID.
2815
3029
  * @summary Update product
@@ -2847,6 +3061,16 @@ class ProductsApi extends base_1.BaseAPI {
2847
3061
  autoMerchProducts(requestParameters, options) {
2848
3062
  return (0, exports.ProductsApiFp)(this.configuration).autoMerchProducts(requestParameters.project, requestParameters.autoMerchProductsRequest, options).then((request) => request(this.axios, this.basePath));
2849
3063
  }
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
+ }
2850
3074
  /**
2851
3075
  * 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.
2852
3076
  * @summary Create product
@@ -2895,7 +3119,17 @@ class ProductsApi extends base_1.BaseAPI {
2895
3119
  * @throws {RequiredError}
2896
3120
  */
2897
3121
  exportProducts(requestParameters, options) {
2898
- return (0, exports.ProductsApiFp)(this.configuration).exportProducts(requestParameters.project, requestParameters.search, requestParameters.start, requestParameters.end, requestParameters.dateFilterType, requestParameters.maxRetailPrice, requestParameters.minRetailPrice, options).then((request) => request(this.axios, this.basePath));
3122
+ 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
+ }
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));
2899
3133
  }
2900
3134
  /**
2901
3135
  * Gets a product by a given ID.
@@ -2937,6 +3171,16 @@ class ProductsApi extends base_1.BaseAPI {
2937
3171
  seoOptimiseProducts(requestParameters, options) {
2938
3172
  return (0, exports.ProductsApiFp)(this.configuration).seoOptimiseProducts(requestParameters.project, requestParameters.seoOptimiseProductsRequest, options).then((request) => request(this.axios, this.basePath));
2939
3173
  }
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
+ }
2940
3184
  /**
2941
3185
  * Updates a product by a given ID.
2942
3186
  * @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.95.3
5
+ * The version of the OpenAPI document: 1.96.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.95.3
8
+ * The version of the OpenAPI document: 1.96.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.95.3
5
+ * The version of the OpenAPI document: 1.96.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.95.3
8
+ * The version of the OpenAPI document: 1.96.0
9
9
  *
10
10
  *
11
11
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -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.95.3
5
+ * The version of the OpenAPI document: 1.96.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
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.95.3
7
+ * The version of the OpenAPI document: 1.96.0
8
8
  *
9
9
  *
10
10
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).