@teemill/product-catalog 1.96.0 → 1.97.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/.openapi-generator/FILES +0 -10
- package/README.md +2 -15
- package/api.ts +5 -397
- package/base.ts +1 -1
- package/common.ts +2 -2
- package/configuration.ts +1 -1
- package/dist/api.d.ts +5 -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 +5 -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/MarketplaceListing.md +2 -0
- package/docs/ProductsApi.md +0 -185
- package/index.ts +1 -1
- package/package.json +1 -1
package/.openapi-generator/FILES
CHANGED
|
@@ -37,12 +37,6 @@ docs/AttributeThumbnail.md
|
|
|
37
37
|
docs/Attributes1Inner.md
|
|
38
38
|
docs/AutoMerchProducts202Response.md
|
|
39
39
|
docs/AutoMerchProductsRequest.md
|
|
40
|
-
docs/BulkUpdateMarketplaceListing.md
|
|
41
|
-
docs/BulkUpdateMarketplaceListingProduct.md
|
|
42
|
-
docs/BulkUpdateMarketplaceListingRequest.md
|
|
43
|
-
docs/BulkUpdateMarketplaceListingResponse.md
|
|
44
|
-
docs/BulkUpdatedMarketplaceListing.md
|
|
45
|
-
docs/BulkUpdatedMarketplaceListings.md
|
|
46
40
|
docs/BundleProduct.md
|
|
47
41
|
docs/CreateApplication.md
|
|
48
42
|
docs/CreateApplicationGroupRequest.md
|
|
@@ -75,8 +69,6 @@ docs/ImportProducts200Response.md
|
|
|
75
69
|
docs/License.md
|
|
76
70
|
docs/Location.md
|
|
77
71
|
docs/MarketplaceListing.md
|
|
78
|
-
docs/MarketplaceListingFields.md
|
|
79
|
-
docs/MarketplaceListingsResponse.md
|
|
80
72
|
docs/MetaField.md
|
|
81
73
|
docs/NamedPrice.md
|
|
82
74
|
docs/OptimisationHistoryItem.md
|
|
@@ -117,8 +109,6 @@ docs/UpdateApplicationGroupRequest.md
|
|
|
117
109
|
docs/UpdateApplicationSetRequest.md
|
|
118
110
|
docs/UpdateApplicationSetRequestRecordsInner.md
|
|
119
111
|
docs/UpdateApplicationSetRequestRecordsInnerAttributesInner.md
|
|
120
|
-
docs/UpdateMarketplaceListing.md
|
|
121
|
-
docs/UpdateMarketplaceListingRequest.md
|
|
122
112
|
docs/UpdateProductRequest.md
|
|
123
113
|
docs/UpdateProductRequestAttributesInner.md
|
|
124
114
|
docs/UpdateProductRequestBundleItemsInner.md
|
package/README.md
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
## @teemill/product-catalog@1.
|
|
1
|
+
## @teemill/product-catalog@1.97.1
|
|
2
2
|
|
|
3
3
|
This generator creates TypeScript/JavaScript client that utilizes [axios](https://github.com/axios/axios). The generated Node module can be used in the following environments:
|
|
4
4
|
|
|
@@ -36,7 +36,7 @@ navigate to the folder of your consuming project and run one of the following co
|
|
|
36
36
|
_published:_
|
|
37
37
|
|
|
38
38
|
```
|
|
39
|
-
npm install @teemill/product-catalog@1.
|
|
39
|
+
npm install @teemill/product-catalog@1.97.1 --save
|
|
40
40
|
```
|
|
41
41
|
|
|
42
42
|
_unPublished (not recommended):_
|
|
@@ -68,18 +68,15 @@ Class | Method | HTTP request | Description
|
|
|
68
68
|
*ProductCreatorsApi* | [**listProductCreators**](docs/ProductCreatorsApi.md#listproductcreators) | **GET** /v1/catalog/creators | List product creators
|
|
69
69
|
*ProductTypesApi* | [**listProductTypes**](docs/ProductTypesApi.md#listproducttypes) | **GET** /v1/catalog/product-types | List product types
|
|
70
70
|
*ProductsApi* | [**autoMerchProducts**](docs/ProductsApi.md#automerchproducts) | **POST** /v1/catalog/products/auto-merch | AI auto merchandise products.
|
|
71
|
-
*ProductsApi* | [**bulkUpdateProductMarketplaceListings**](docs/ProductsApi.md#bulkupdateproductmarketplacelistings) | **PATCH** /v1/catalog/products/marketplace-listings | Bulk update product marketplaces
|
|
72
71
|
*ProductsApi* | [**createProduct**](docs/ProductsApi.md#createproduct) | **POST** /v1/catalog/products | Create product
|
|
73
72
|
*ProductsApi* | [**deleteProduct**](docs/ProductsApi.md#deleteproduct) | **DELETE** /v1/catalog/products/{productId} | Delete catalog product
|
|
74
73
|
*ProductsApi* | [**deleteProducts**](docs/ProductsApi.md#deleteproducts) | **DELETE** /v1/catalog/products | Delete products
|
|
75
74
|
*ProductsApi* | [**duplicateProducts**](docs/ProductsApi.md#duplicateproducts) | **POST** /v1/catalog/products/duplicate | Duplicate products.
|
|
76
75
|
*ProductsApi* | [**exportProducts**](docs/ProductsApi.md#exportproducts) | **GET** /v1/catalog/products/export | Export products
|
|
77
|
-
*ProductsApi* | [**getMarketplaceListings**](docs/ProductsApi.md#getmarketplacelistings) | **GET** /v1/catalog/products/{productId}/marketplace-listings | Get product marketplaces
|
|
78
76
|
*ProductsApi* | [**getProduct**](docs/ProductsApi.md#getproduct) | **GET** /v1/catalog/products/{productId} | Get product
|
|
79
77
|
*ProductsApi* | [**importProducts**](docs/ProductsApi.md#importproducts) | **POST** /v1/catalog/products/import | Import products
|
|
80
78
|
*ProductsApi* | [**listProducts**](docs/ProductsApi.md#listproducts) | **GET** /v1/catalog/products | List products
|
|
81
79
|
*ProductsApi* | [**seoOptimiseProducts**](docs/ProductsApi.md#seooptimiseproducts) | **POST** /v1/catalog/products/ai-seo-optimise | AI SEO optimise products.
|
|
82
|
-
*ProductsApi* | [**updateMarketplaceListings**](docs/ProductsApi.md#updatemarketplacelistings) | **PATCH** /v1/catalog/products/{productId}/marketplace-listings | Update product marketplaces
|
|
83
80
|
*ProductsApi* | [**updateProduct**](docs/ProductsApi.md#updateproduct) | **PATCH** /v1/catalog/products/{productId} | Update product
|
|
84
81
|
*ProductsApi* | [**updateProducts**](docs/ProductsApi.md#updateproducts) | **PATCH** /v1/catalog/products | Update products
|
|
85
82
|
*VariantsApi* | [**getVariant**](docs/VariantsApi.md#getvariant) | **GET** /v1/catalog/variants/{variantId} | Get variant
|
|
@@ -117,12 +114,6 @@ Class | Method | HTTP request | Description
|
|
|
117
114
|
- [Attributes1Inner](docs/Attributes1Inner.md)
|
|
118
115
|
- [AutoMerchProducts202Response](docs/AutoMerchProducts202Response.md)
|
|
119
116
|
- [AutoMerchProductsRequest](docs/AutoMerchProductsRequest.md)
|
|
120
|
-
- [BulkUpdateMarketplaceListing](docs/BulkUpdateMarketplaceListing.md)
|
|
121
|
-
- [BulkUpdateMarketplaceListingProduct](docs/BulkUpdateMarketplaceListingProduct.md)
|
|
122
|
-
- [BulkUpdateMarketplaceListingRequest](docs/BulkUpdateMarketplaceListingRequest.md)
|
|
123
|
-
- [BulkUpdateMarketplaceListingResponse](docs/BulkUpdateMarketplaceListingResponse.md)
|
|
124
|
-
- [BulkUpdatedMarketplaceListing](docs/BulkUpdatedMarketplaceListing.md)
|
|
125
|
-
- [BulkUpdatedMarketplaceListings](docs/BulkUpdatedMarketplaceListings.md)
|
|
126
117
|
- [BundleProduct](docs/BundleProduct.md)
|
|
127
118
|
- [CreateApplication](docs/CreateApplication.md)
|
|
128
119
|
- [CreateApplicationGroupRequest](docs/CreateApplicationGroupRequest.md)
|
|
@@ -155,8 +146,6 @@ Class | Method | HTTP request | Description
|
|
|
155
146
|
- [License](docs/License.md)
|
|
156
147
|
- [Location](docs/Location.md)
|
|
157
148
|
- [MarketplaceListing](docs/MarketplaceListing.md)
|
|
158
|
-
- [MarketplaceListingFields](docs/MarketplaceListingFields.md)
|
|
159
|
-
- [MarketplaceListingsResponse](docs/MarketplaceListingsResponse.md)
|
|
160
149
|
- [MetaField](docs/MetaField.md)
|
|
161
150
|
- [NamedPrice](docs/NamedPrice.md)
|
|
162
151
|
- [OptimisationHistoryItem](docs/OptimisationHistoryItem.md)
|
|
@@ -193,8 +182,6 @@ Class | Method | HTTP request | Description
|
|
|
193
182
|
- [UpdateApplicationSetRequest](docs/UpdateApplicationSetRequest.md)
|
|
194
183
|
- [UpdateApplicationSetRequestRecordsInner](docs/UpdateApplicationSetRequestRecordsInner.md)
|
|
195
184
|
- [UpdateApplicationSetRequestRecordsInnerAttributesInner](docs/UpdateApplicationSetRequestRecordsInnerAttributesInner.md)
|
|
196
|
-
- [UpdateMarketplaceListing](docs/UpdateMarketplaceListing.md)
|
|
197
|
-
- [UpdateMarketplaceListingRequest](docs/UpdateMarketplaceListingRequest.md)
|
|
198
185
|
- [UpdateProductRequest](docs/UpdateProductRequest.md)
|
|
199
186
|
- [UpdateProductRequestAttributesInner](docs/UpdateProductRequestAttributesInner.md)
|
|
200
187
|
- [UpdateProductRequestBundleItemsInner](docs/UpdateProductRequestBundleItemsInner.md)
|
package/api.ts
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.1
|
|
8
8
|
*
|
|
9
9
|
*
|
|
10
10
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -535,63 +535,6 @@ export const AutoMerchProductsRequestFieldsEnum = {
|
|
|
535
535
|
|
|
536
536
|
export type AutoMerchProductsRequestFieldsEnum = typeof AutoMerchProductsRequestFieldsEnum[keyof typeof AutoMerchProductsRequestFieldsEnum];
|
|
537
537
|
|
|
538
|
-
/**
|
|
539
|
-
* Product marketplace listing updates grouped by marketplace.
|
|
540
|
-
*/
|
|
541
|
-
export interface BulkUpdateMarketplaceListing {
|
|
542
|
-
/**
|
|
543
|
-
* The marketplace code to update.
|
|
544
|
-
*/
|
|
545
|
-
'code': string;
|
|
546
|
-
'products': Array<BulkUpdateMarketplaceListingProduct>;
|
|
547
|
-
}
|
|
548
|
-
/**
|
|
549
|
-
* Marketplace listing fields to update for a single product within a marketplace group.
|
|
550
|
-
*/
|
|
551
|
-
export interface BulkUpdateMarketplaceListingProduct {
|
|
552
|
-
/**
|
|
553
|
-
* Unique object identifier
|
|
554
|
-
*/
|
|
555
|
-
'id': string;
|
|
556
|
-
'title'?: string | null;
|
|
557
|
-
'description'?: string | null;
|
|
558
|
-
'metaTitle'?: string | null;
|
|
559
|
-
'metaDescription'?: string | null;
|
|
560
|
-
'price'?: number | null;
|
|
561
|
-
'images'?: Array<ImageFile> | null;
|
|
562
|
-
}
|
|
563
|
-
/**
|
|
564
|
-
* Listing updates scoped to exactly one marketplace per HTTP request. To change another marketplace, issue another request.
|
|
565
|
-
*/
|
|
566
|
-
export interface BulkUpdateMarketplaceListingRequest {
|
|
567
|
-
/**
|
|
568
|
-
* Must contain exactly one marketplace group (`code` plus the `products` to update).
|
|
569
|
-
*/
|
|
570
|
-
'marketplace': Array<BulkUpdateMarketplaceListing>;
|
|
571
|
-
}
|
|
572
|
-
/**
|
|
573
|
-
* Updated marketplace listing data grouped by marketplace.
|
|
574
|
-
*/
|
|
575
|
-
export interface BulkUpdateMarketplaceListingResponse {
|
|
576
|
-
'marketplaceListings': Array<BulkUpdatedMarketplaceListings>;
|
|
577
|
-
}
|
|
578
|
-
/**
|
|
579
|
-
* Updated marketplace listing data for a product.
|
|
580
|
-
*/
|
|
581
|
-
export interface BulkUpdatedMarketplaceListing {
|
|
582
|
-
/**
|
|
583
|
-
* Unique object identifier
|
|
584
|
-
*/
|
|
585
|
-
'id': string;
|
|
586
|
-
'listing': MarketplaceListingFields | null;
|
|
587
|
-
}
|
|
588
|
-
/**
|
|
589
|
-
* Updated product listings for a marketplace.
|
|
590
|
-
*/
|
|
591
|
-
export interface BulkUpdatedMarketplaceListings {
|
|
592
|
-
'code': string;
|
|
593
|
-
'products': Array<BulkUpdatedMarketplaceListing>;
|
|
594
|
-
}
|
|
595
538
|
/**
|
|
596
539
|
* A bundle product that groups multiple items together at a combined price.
|
|
597
540
|
*/
|
|
@@ -1299,22 +1242,12 @@ export interface MarketplaceListing {
|
|
|
1299
1242
|
'metaTitle'?: string | null;
|
|
1300
1243
|
'metaDescription'?: string | null;
|
|
1301
1244
|
'price'?: number | null;
|
|
1245
|
+
/**
|
|
1246
|
+
* Listing-specific tags for this marketplace.
|
|
1247
|
+
*/
|
|
1248
|
+
'tags'?: Array<string> | null;
|
|
1302
1249
|
'images'?: Array<Image>;
|
|
1303
1250
|
}
|
|
1304
|
-
/**
|
|
1305
|
-
* Product listing fields for a marketplace.
|
|
1306
|
-
*/
|
|
1307
|
-
export interface MarketplaceListingFields {
|
|
1308
|
-
'title'?: string | null;
|
|
1309
|
-
'description'?: string | null;
|
|
1310
|
-
'metaTitle'?: string | null;
|
|
1311
|
-
'metaDescription'?: string | null;
|
|
1312
|
-
'price'?: number | null;
|
|
1313
|
-
'images'?: Array<Image> | null;
|
|
1314
|
-
}
|
|
1315
|
-
export interface MarketplaceListingsResponse {
|
|
1316
|
-
'marketplaceListings': Array<MarketplaceListing>;
|
|
1317
|
-
}
|
|
1318
1251
|
/**
|
|
1319
1252
|
* Key/value pairs that can be used to store additional information on the product
|
|
1320
1253
|
*/
|
|
@@ -2072,27 +2005,6 @@ export interface UpdateApplicationSetRequestRecordsInnerAttributesInner {
|
|
|
2072
2005
|
*/
|
|
2073
2006
|
'value'?: string;
|
|
2074
2007
|
}
|
|
2075
|
-
/**
|
|
2076
|
-
* Marketplace listing fields to update for a product.
|
|
2077
|
-
*/
|
|
2078
|
-
export interface UpdateMarketplaceListing {
|
|
2079
|
-
/**
|
|
2080
|
-
* The marketplace code to update.
|
|
2081
|
-
*/
|
|
2082
|
-
'code': string;
|
|
2083
|
-
'title'?: string | null;
|
|
2084
|
-
'description'?: string | null;
|
|
2085
|
-
'metaTitle'?: string | null;
|
|
2086
|
-
'metaDescription'?: string | null;
|
|
2087
|
-
'price'?: number | null;
|
|
2088
|
-
'images'?: Array<ImageFile> | null;
|
|
2089
|
-
}
|
|
2090
|
-
/**
|
|
2091
|
-
* Marketplace listings to update for a product.
|
|
2092
|
-
*/
|
|
2093
|
-
export interface UpdateMarketplaceListingRequest {
|
|
2094
|
-
'marketplaces': Array<UpdateMarketplaceListing>;
|
|
2095
|
-
}
|
|
2096
2008
|
export interface UpdateProductRequest {
|
|
2097
2009
|
/**
|
|
2098
2010
|
* Reference to the product in the GFN catalog that will be used as a base for this product. A list of available products for the given project can be obtained from the GFN Catalog API.
|
|
@@ -4893,55 +4805,6 @@ export const ProductsApiAxiosParamCreator = function (configuration?: Configurat
|
|
|
4893
4805
|
options: localVarRequestOptions,
|
|
4894
4806
|
};
|
|
4895
4807
|
},
|
|
4896
|
-
/**
|
|
4897
|
-
* 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.
|
|
4898
|
-
* @summary Bulk update product marketplaces
|
|
4899
|
-
* @param {string} project What project it is
|
|
4900
|
-
* @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`).
|
|
4901
|
-
* @param {*} [options] Override http request option.
|
|
4902
|
-
* @throws {RequiredError}
|
|
4903
|
-
*/
|
|
4904
|
-
bulkUpdateProductMarketplaceListings: async (project: string, bulkUpdateMarketplaceListingRequest: BulkUpdateMarketplaceListingRequest, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
4905
|
-
// verify required parameter 'project' is not null or undefined
|
|
4906
|
-
assertParamExists('bulkUpdateProductMarketplaceListings', 'project', project)
|
|
4907
|
-
// verify required parameter 'bulkUpdateMarketplaceListingRequest' is not null or undefined
|
|
4908
|
-
assertParamExists('bulkUpdateProductMarketplaceListings', 'bulkUpdateMarketplaceListingRequest', bulkUpdateMarketplaceListingRequest)
|
|
4909
|
-
const localVarPath = `/v1/catalog/products/marketplace-listings`;
|
|
4910
|
-
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
4911
|
-
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
4912
|
-
let baseOptions;
|
|
4913
|
-
if (configuration) {
|
|
4914
|
-
baseOptions = configuration.baseOptions;
|
|
4915
|
-
}
|
|
4916
|
-
|
|
4917
|
-
const localVarRequestOptions = { method: 'PATCH', ...baseOptions, ...options};
|
|
4918
|
-
const localVarHeaderParameter = {} as any;
|
|
4919
|
-
const localVarQueryParameter = {} as any;
|
|
4920
|
-
|
|
4921
|
-
// authentication session-oauth required
|
|
4922
|
-
// oauth required
|
|
4923
|
-
await setOAuthToObject(localVarHeaderParameter, "session-oauth", [], configuration)
|
|
4924
|
-
|
|
4925
|
-
// authentication api-key required
|
|
4926
|
-
await setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration)
|
|
4927
|
-
|
|
4928
|
-
if (project !== undefined) {
|
|
4929
|
-
localVarQueryParameter['project'] = project;
|
|
4930
|
-
}
|
|
4931
|
-
|
|
4932
|
-
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
4933
|
-
localVarHeaderParameter['Accept'] = 'application/json';
|
|
4934
|
-
|
|
4935
|
-
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
4936
|
-
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
4937
|
-
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
4938
|
-
localVarRequestOptions.data = serializeDataIfNeeded(bulkUpdateMarketplaceListingRequest, localVarRequestOptions, configuration)
|
|
4939
|
-
|
|
4940
|
-
return {
|
|
4941
|
-
url: toPathString(localVarUrlObj),
|
|
4942
|
-
options: localVarRequestOptions,
|
|
4943
|
-
};
|
|
4944
|
-
},
|
|
4945
4808
|
/**
|
|
4946
4809
|
* 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.
|
|
4947
4810
|
* @summary Create product
|
|
@@ -5216,54 +5079,6 @@ export const ProductsApiAxiosParamCreator = function (configuration?: Configurat
|
|
|
5216
5079
|
options: localVarRequestOptions,
|
|
5217
5080
|
};
|
|
5218
5081
|
},
|
|
5219
|
-
/**
|
|
5220
|
-
* Gets marketplace listing data for a product.
|
|
5221
|
-
* @summary Get product marketplaces
|
|
5222
|
-
* @param {string} project What project it is
|
|
5223
|
-
* @param {string} productId Product\'s unique identifier
|
|
5224
|
-
* @param {*} [options] Override http request option.
|
|
5225
|
-
* @throws {RequiredError}
|
|
5226
|
-
*/
|
|
5227
|
-
getMarketplaceListings: async (project: string, productId: string, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
5228
|
-
// verify required parameter 'project' is not null or undefined
|
|
5229
|
-
assertParamExists('getMarketplaceListings', 'project', project)
|
|
5230
|
-
// verify required parameter 'productId' is not null or undefined
|
|
5231
|
-
assertParamExists('getMarketplaceListings', 'productId', productId)
|
|
5232
|
-
const localVarPath = `/v1/catalog/products/{productId}/marketplace-listings`
|
|
5233
|
-
.replace('{productId}', encodeURIComponent(String(productId)));
|
|
5234
|
-
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
5235
|
-
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
5236
|
-
let baseOptions;
|
|
5237
|
-
if (configuration) {
|
|
5238
|
-
baseOptions = configuration.baseOptions;
|
|
5239
|
-
}
|
|
5240
|
-
|
|
5241
|
-
const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
|
|
5242
|
-
const localVarHeaderParameter = {} as any;
|
|
5243
|
-
const localVarQueryParameter = {} as any;
|
|
5244
|
-
|
|
5245
|
-
// authentication session-oauth required
|
|
5246
|
-
// oauth required
|
|
5247
|
-
await setOAuthToObject(localVarHeaderParameter, "session-oauth", [], configuration)
|
|
5248
|
-
|
|
5249
|
-
// authentication api-key required
|
|
5250
|
-
await setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration)
|
|
5251
|
-
|
|
5252
|
-
if (project !== undefined) {
|
|
5253
|
-
localVarQueryParameter['project'] = project;
|
|
5254
|
-
}
|
|
5255
|
-
|
|
5256
|
-
localVarHeaderParameter['Accept'] = 'application/json';
|
|
5257
|
-
|
|
5258
|
-
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
5259
|
-
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
5260
|
-
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
5261
|
-
|
|
5262
|
-
return {
|
|
5263
|
-
url: toPathString(localVarUrlObj),
|
|
5264
|
-
options: localVarRequestOptions,
|
|
5265
|
-
};
|
|
5266
|
-
},
|
|
5267
5082
|
/**
|
|
5268
5083
|
* Gets a product by a given ID.
|
|
5269
5084
|
* @summary Get product
|
|
@@ -5591,57 +5406,6 @@ export const ProductsApiAxiosParamCreator = function (configuration?: Configurat
|
|
|
5591
5406
|
options: localVarRequestOptions,
|
|
5592
5407
|
};
|
|
5593
5408
|
},
|
|
5594
|
-
/**
|
|
5595
|
-
* Updates marketplace listing data for a product.
|
|
5596
|
-
* @summary Update product marketplaces
|
|
5597
|
-
* @param {string} project What project it is
|
|
5598
|
-
* @param {string} productId Product\'s unique identifier
|
|
5599
|
-
* @param {UpdateMarketplaceListingRequest} [updateMarketplaceListingRequest] The marketplace listing fields to update. Only the fields provided will be modified.
|
|
5600
|
-
* @param {*} [options] Override http request option.
|
|
5601
|
-
* @throws {RequiredError}
|
|
5602
|
-
*/
|
|
5603
|
-
updateMarketplaceListings: async (project: string, productId: string, updateMarketplaceListingRequest?: UpdateMarketplaceListingRequest, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
5604
|
-
// verify required parameter 'project' is not null or undefined
|
|
5605
|
-
assertParamExists('updateMarketplaceListings', 'project', project)
|
|
5606
|
-
// verify required parameter 'productId' is not null or undefined
|
|
5607
|
-
assertParamExists('updateMarketplaceListings', 'productId', productId)
|
|
5608
|
-
const localVarPath = `/v1/catalog/products/{productId}/marketplace-listings`
|
|
5609
|
-
.replace('{productId}', encodeURIComponent(String(productId)));
|
|
5610
|
-
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
5611
|
-
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
5612
|
-
let baseOptions;
|
|
5613
|
-
if (configuration) {
|
|
5614
|
-
baseOptions = configuration.baseOptions;
|
|
5615
|
-
}
|
|
5616
|
-
|
|
5617
|
-
const localVarRequestOptions = { method: 'PATCH', ...baseOptions, ...options};
|
|
5618
|
-
const localVarHeaderParameter = {} as any;
|
|
5619
|
-
const localVarQueryParameter = {} as any;
|
|
5620
|
-
|
|
5621
|
-
// authentication session-oauth required
|
|
5622
|
-
// oauth required
|
|
5623
|
-
await setOAuthToObject(localVarHeaderParameter, "session-oauth", [], configuration)
|
|
5624
|
-
|
|
5625
|
-
// authentication api-key required
|
|
5626
|
-
await setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration)
|
|
5627
|
-
|
|
5628
|
-
if (project !== undefined) {
|
|
5629
|
-
localVarQueryParameter['project'] = project;
|
|
5630
|
-
}
|
|
5631
|
-
|
|
5632
|
-
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
5633
|
-
localVarHeaderParameter['Accept'] = 'application/json';
|
|
5634
|
-
|
|
5635
|
-
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
5636
|
-
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
5637
|
-
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
5638
|
-
localVarRequestOptions.data = serializeDataIfNeeded(updateMarketplaceListingRequest, localVarRequestOptions, configuration)
|
|
5639
|
-
|
|
5640
|
-
return {
|
|
5641
|
-
url: toPathString(localVarUrlObj),
|
|
5642
|
-
options: localVarRequestOptions,
|
|
5643
|
-
};
|
|
5644
|
-
},
|
|
5645
5409
|
/**
|
|
5646
5410
|
* Updates a product by a given ID.
|
|
5647
5411
|
* @summary Update product
|
|
@@ -5765,20 +5529,6 @@ export const ProductsApiFp = function(configuration?: Configuration) {
|
|
|
5765
5529
|
const localVarOperationServerBasePath = operationServerMap['ProductsApi.autoMerchProducts']?.[localVarOperationServerIndex]?.url;
|
|
5766
5530
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
5767
5531
|
},
|
|
5768
|
-
/**
|
|
5769
|
-
* 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.
|
|
5770
|
-
* @summary Bulk update product marketplaces
|
|
5771
|
-
* @param {string} project What project it is
|
|
5772
|
-
* @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`).
|
|
5773
|
-
* @param {*} [options] Override http request option.
|
|
5774
|
-
* @throws {RequiredError}
|
|
5775
|
-
*/
|
|
5776
|
-
async bulkUpdateProductMarketplaceListings(project: string, bulkUpdateMarketplaceListingRequest: BulkUpdateMarketplaceListingRequest, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<BulkUpdateMarketplaceListingResponse>> {
|
|
5777
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.bulkUpdateProductMarketplaceListings(project, bulkUpdateMarketplaceListingRequest, options);
|
|
5778
|
-
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
5779
|
-
const localVarOperationServerBasePath = operationServerMap['ProductsApi.bulkUpdateProductMarketplaceListings']?.[localVarOperationServerIndex]?.url;
|
|
5780
|
-
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
5781
|
-
},
|
|
5782
5532
|
/**
|
|
5783
5533
|
* 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.
|
|
5784
5534
|
* @summary Create product
|
|
@@ -5855,20 +5605,6 @@ export const ProductsApiFp = function(configuration?: Configuration) {
|
|
|
5855
5605
|
const localVarOperationServerBasePath = operationServerMap['ProductsApi.exportProducts']?.[localVarOperationServerIndex]?.url;
|
|
5856
5606
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
5857
5607
|
},
|
|
5858
|
-
/**
|
|
5859
|
-
* Gets marketplace listing data for a product.
|
|
5860
|
-
* @summary Get product marketplaces
|
|
5861
|
-
* @param {string} project What project it is
|
|
5862
|
-
* @param {string} productId Product\'s unique identifier
|
|
5863
|
-
* @param {*} [options] Override http request option.
|
|
5864
|
-
* @throws {RequiredError}
|
|
5865
|
-
*/
|
|
5866
|
-
async getMarketplaceListings(project: string, productId: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<MarketplaceListingsResponse>> {
|
|
5867
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.getMarketplaceListings(project, productId, options);
|
|
5868
|
-
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
5869
|
-
const localVarOperationServerBasePath = operationServerMap['ProductsApi.getMarketplaceListings']?.[localVarOperationServerIndex]?.url;
|
|
5870
|
-
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
5871
|
-
},
|
|
5872
5608
|
/**
|
|
5873
5609
|
* Gets a product by a given ID.
|
|
5874
5610
|
* @summary Get product
|
|
@@ -5949,21 +5685,6 @@ export const ProductsApiFp = function(configuration?: Configuration) {
|
|
|
5949
5685
|
const localVarOperationServerBasePath = operationServerMap['ProductsApi.seoOptimiseProducts']?.[localVarOperationServerIndex]?.url;
|
|
5950
5686
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
5951
5687
|
},
|
|
5952
|
-
/**
|
|
5953
|
-
* Updates marketplace listing data for a product.
|
|
5954
|
-
* @summary Update product marketplaces
|
|
5955
|
-
* @param {string} project What project it is
|
|
5956
|
-
* @param {string} productId Product\'s unique identifier
|
|
5957
|
-
* @param {UpdateMarketplaceListingRequest} [updateMarketplaceListingRequest] The marketplace listing fields to update. Only the fields provided will be modified.
|
|
5958
|
-
* @param {*} [options] Override http request option.
|
|
5959
|
-
* @throws {RequiredError}
|
|
5960
|
-
*/
|
|
5961
|
-
async updateMarketplaceListings(project: string, productId: string, updateMarketplaceListingRequest?: UpdateMarketplaceListingRequest, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<MarketplaceListingsResponse>> {
|
|
5962
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.updateMarketplaceListings(project, productId, updateMarketplaceListingRequest, options);
|
|
5963
|
-
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
5964
|
-
const localVarOperationServerBasePath = operationServerMap['ProductsApi.updateMarketplaceListings']?.[localVarOperationServerIndex]?.url;
|
|
5965
|
-
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
5966
|
-
},
|
|
5967
5688
|
/**
|
|
5968
5689
|
* Updates a product by a given ID.
|
|
5969
5690
|
* @summary Update product
|
|
@@ -6012,16 +5733,6 @@ export const ProductsApiFactory = function (configuration?: Configuration, baseP
|
|
|
6012
5733
|
autoMerchProducts(requestParameters: ProductsApiAutoMerchProductsRequest, options?: RawAxiosRequestConfig): AxiosPromise<AutoMerchProducts202Response> {
|
|
6013
5734
|
return localVarFp.autoMerchProducts(requestParameters.project, requestParameters.autoMerchProductsRequest, options).then((request) => request(axios, basePath));
|
|
6014
5735
|
},
|
|
6015
|
-
/**
|
|
6016
|
-
* 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.
|
|
6017
|
-
* @summary Bulk update product marketplaces
|
|
6018
|
-
* @param {ProductsApiBulkUpdateProductMarketplaceListingsRequest} requestParameters Request parameters.
|
|
6019
|
-
* @param {*} [options] Override http request option.
|
|
6020
|
-
* @throws {RequiredError}
|
|
6021
|
-
*/
|
|
6022
|
-
bulkUpdateProductMarketplaceListings(requestParameters: ProductsApiBulkUpdateProductMarketplaceListingsRequest, options?: RawAxiosRequestConfig): AxiosPromise<BulkUpdateMarketplaceListingResponse> {
|
|
6023
|
-
return localVarFp.bulkUpdateProductMarketplaceListings(requestParameters.project, requestParameters.bulkUpdateMarketplaceListingRequest, options).then((request) => request(axios, basePath));
|
|
6024
|
-
},
|
|
6025
5736
|
/**
|
|
6026
5737
|
* 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.
|
|
6027
5738
|
* @summary Create product
|
|
@@ -6072,16 +5783,6 @@ export const ProductsApiFactory = function (configuration?: Configuration, baseP
|
|
|
6072
5783
|
exportProducts(requestParameters: ProductsApiExportProductsRequest, options?: RawAxiosRequestConfig): AxiosPromise<File> {
|
|
6073
5784
|
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));
|
|
6074
5785
|
},
|
|
6075
|
-
/**
|
|
6076
|
-
* Gets marketplace listing data for a product.
|
|
6077
|
-
* @summary Get product marketplaces
|
|
6078
|
-
* @param {ProductsApiGetMarketplaceListingsRequest} requestParameters Request parameters.
|
|
6079
|
-
* @param {*} [options] Override http request option.
|
|
6080
|
-
* @throws {RequiredError}
|
|
6081
|
-
*/
|
|
6082
|
-
getMarketplaceListings(requestParameters: ProductsApiGetMarketplaceListingsRequest, options?: RawAxiosRequestConfig): AxiosPromise<MarketplaceListingsResponse> {
|
|
6083
|
-
return localVarFp.getMarketplaceListings(requestParameters.project, requestParameters.productId, options).then((request) => request(axios, basePath));
|
|
6084
|
-
},
|
|
6085
5786
|
/**
|
|
6086
5787
|
* Gets a product by a given ID.
|
|
6087
5788
|
* @summary Get product
|
|
@@ -6122,16 +5823,6 @@ export const ProductsApiFactory = function (configuration?: Configuration, baseP
|
|
|
6122
5823
|
seoOptimiseProducts(requestParameters: ProductsApiSeoOptimiseProductsRequest, options?: RawAxiosRequestConfig): AxiosPromise<SeoOptimiseProducts202Response> {
|
|
6123
5824
|
return localVarFp.seoOptimiseProducts(requestParameters.project, requestParameters.seoOptimiseProductsRequest, options).then((request) => request(axios, basePath));
|
|
6124
5825
|
},
|
|
6125
|
-
/**
|
|
6126
|
-
* Updates marketplace listing data for a product.
|
|
6127
|
-
* @summary Update product marketplaces
|
|
6128
|
-
* @param {ProductsApiUpdateMarketplaceListingsRequest} requestParameters Request parameters.
|
|
6129
|
-
* @param {*} [options] Override http request option.
|
|
6130
|
-
* @throws {RequiredError}
|
|
6131
|
-
*/
|
|
6132
|
-
updateMarketplaceListings(requestParameters: ProductsApiUpdateMarketplaceListingsRequest, options?: RawAxiosRequestConfig): AxiosPromise<MarketplaceListingsResponse> {
|
|
6133
|
-
return localVarFp.updateMarketplaceListings(requestParameters.project, requestParameters.productId, requestParameters.updateMarketplaceListingRequest, options).then((request) => request(axios, basePath));
|
|
6134
|
-
},
|
|
6135
5826
|
/**
|
|
6136
5827
|
* Updates a product by a given ID.
|
|
6137
5828
|
* @summary Update product
|
|
@@ -6170,21 +5861,6 @@ export interface ProductsApiAutoMerchProductsRequest {
|
|
|
6170
5861
|
readonly autoMerchProductsRequest?: AutoMerchProductsRequest
|
|
6171
5862
|
}
|
|
6172
5863
|
|
|
6173
|
-
/**
|
|
6174
|
-
* Request parameters for bulkUpdateProductMarketplaceListings operation in ProductsApi.
|
|
6175
|
-
*/
|
|
6176
|
-
export interface ProductsApiBulkUpdateProductMarketplaceListingsRequest {
|
|
6177
|
-
/**
|
|
6178
|
-
* What project it is
|
|
6179
|
-
*/
|
|
6180
|
-
readonly project: string
|
|
6181
|
-
|
|
6182
|
-
/**
|
|
6183
|
-
* Update marketplace listing fields for multiple products for one marketplace only. The `marketplaces` array must contain exactly one item (one `code` and its `products`).
|
|
6184
|
-
*/
|
|
6185
|
-
readonly bulkUpdateMarketplaceListingRequest: BulkUpdateMarketplaceListingRequest
|
|
6186
|
-
}
|
|
6187
|
-
|
|
6188
5864
|
/**
|
|
6189
5865
|
* Request parameters for createProduct operation in ProductsApi.
|
|
6190
5866
|
*/
|
|
@@ -6290,21 +5966,6 @@ export interface ProductsApiExportProductsRequest {
|
|
|
6290
5966
|
readonly marketplaceCode?: string
|
|
6291
5967
|
}
|
|
6292
5968
|
|
|
6293
|
-
/**
|
|
6294
|
-
* Request parameters for getMarketplaceListings operation in ProductsApi.
|
|
6295
|
-
*/
|
|
6296
|
-
export interface ProductsApiGetMarketplaceListingsRequest {
|
|
6297
|
-
/**
|
|
6298
|
-
* What project it is
|
|
6299
|
-
*/
|
|
6300
|
-
readonly project: string
|
|
6301
|
-
|
|
6302
|
-
/**
|
|
6303
|
-
* Product\'s unique identifier
|
|
6304
|
-
*/
|
|
6305
|
-
readonly productId: string
|
|
6306
|
-
}
|
|
6307
|
-
|
|
6308
5969
|
/**
|
|
6309
5970
|
* Request parameters for getProduct operation in ProductsApi.
|
|
6310
5971
|
*/
|
|
@@ -6485,26 +6146,6 @@ export interface ProductsApiSeoOptimiseProductsRequest {
|
|
|
6485
6146
|
readonly seoOptimiseProductsRequest?: SeoOptimiseProductsRequest
|
|
6486
6147
|
}
|
|
6487
6148
|
|
|
6488
|
-
/**
|
|
6489
|
-
* Request parameters for updateMarketplaceListings operation in ProductsApi.
|
|
6490
|
-
*/
|
|
6491
|
-
export interface ProductsApiUpdateMarketplaceListingsRequest {
|
|
6492
|
-
/**
|
|
6493
|
-
* What project it is
|
|
6494
|
-
*/
|
|
6495
|
-
readonly project: string
|
|
6496
|
-
|
|
6497
|
-
/**
|
|
6498
|
-
* Product\'s unique identifier
|
|
6499
|
-
*/
|
|
6500
|
-
readonly productId: string
|
|
6501
|
-
|
|
6502
|
-
/**
|
|
6503
|
-
* The marketplace listing fields to update. Only the fields provided will be modified.
|
|
6504
|
-
*/
|
|
6505
|
-
readonly updateMarketplaceListingRequest?: UpdateMarketplaceListingRequest
|
|
6506
|
-
}
|
|
6507
|
-
|
|
6508
6149
|
/**
|
|
6509
6150
|
* Request parameters for updateProduct operation in ProductsApi.
|
|
6510
6151
|
*/
|
|
@@ -6555,17 +6196,6 @@ export class ProductsApi extends BaseAPI {
|
|
|
6555
6196
|
return ProductsApiFp(this.configuration).autoMerchProducts(requestParameters.project, requestParameters.autoMerchProductsRequest, options).then((request) => request(this.axios, this.basePath));
|
|
6556
6197
|
}
|
|
6557
6198
|
|
|
6558
|
-
/**
|
|
6559
|
-
* 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.
|
|
6560
|
-
* @summary Bulk update product marketplaces
|
|
6561
|
-
* @param {ProductsApiBulkUpdateProductMarketplaceListingsRequest} requestParameters Request parameters.
|
|
6562
|
-
* @param {*} [options] Override http request option.
|
|
6563
|
-
* @throws {RequiredError}
|
|
6564
|
-
*/
|
|
6565
|
-
public bulkUpdateProductMarketplaceListings(requestParameters: ProductsApiBulkUpdateProductMarketplaceListingsRequest, options?: RawAxiosRequestConfig) {
|
|
6566
|
-
return ProductsApiFp(this.configuration).bulkUpdateProductMarketplaceListings(requestParameters.project, requestParameters.bulkUpdateMarketplaceListingRequest, options).then((request) => request(this.axios, this.basePath));
|
|
6567
|
-
}
|
|
6568
|
-
|
|
6569
6199
|
/**
|
|
6570
6200
|
* 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.
|
|
6571
6201
|
* @summary Create product
|
|
@@ -6621,17 +6251,6 @@ export class ProductsApi extends BaseAPI {
|
|
|
6621
6251
|
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));
|
|
6622
6252
|
}
|
|
6623
6253
|
|
|
6624
|
-
/**
|
|
6625
|
-
* Gets marketplace listing data for a product.
|
|
6626
|
-
* @summary Get product marketplaces
|
|
6627
|
-
* @param {ProductsApiGetMarketplaceListingsRequest} requestParameters Request parameters.
|
|
6628
|
-
* @param {*} [options] Override http request option.
|
|
6629
|
-
* @throws {RequiredError}
|
|
6630
|
-
*/
|
|
6631
|
-
public getMarketplaceListings(requestParameters: ProductsApiGetMarketplaceListingsRequest, options?: RawAxiosRequestConfig) {
|
|
6632
|
-
return ProductsApiFp(this.configuration).getMarketplaceListings(requestParameters.project, requestParameters.productId, options).then((request) => request(this.axios, this.basePath));
|
|
6633
|
-
}
|
|
6634
|
-
|
|
6635
6254
|
/**
|
|
6636
6255
|
* Gets a product by a given ID.
|
|
6637
6256
|
* @summary Get product
|
|
@@ -6676,17 +6295,6 @@ export class ProductsApi extends BaseAPI {
|
|
|
6676
6295
|
return ProductsApiFp(this.configuration).seoOptimiseProducts(requestParameters.project, requestParameters.seoOptimiseProductsRequest, options).then((request) => request(this.axios, this.basePath));
|
|
6677
6296
|
}
|
|
6678
6297
|
|
|
6679
|
-
/**
|
|
6680
|
-
* Updates marketplace listing data for a product.
|
|
6681
|
-
* @summary Update product marketplaces
|
|
6682
|
-
* @param {ProductsApiUpdateMarketplaceListingsRequest} requestParameters Request parameters.
|
|
6683
|
-
* @param {*} [options] Override http request option.
|
|
6684
|
-
* @throws {RequiredError}
|
|
6685
|
-
*/
|
|
6686
|
-
public updateMarketplaceListings(requestParameters: ProductsApiUpdateMarketplaceListingsRequest, options?: RawAxiosRequestConfig) {
|
|
6687
|
-
return ProductsApiFp(this.configuration).updateMarketplaceListings(requestParameters.project, requestParameters.productId, requestParameters.updateMarketplaceListingRequest, options).then((request) => request(this.axios, this.basePath));
|
|
6688
|
-
}
|
|
6689
|
-
|
|
6690
6298
|
/**
|
|
6691
6299
|
* Updates a product by a given ID.
|
|
6692
6300
|
* @summary Update product
|
package/base.ts
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.1
|
|
8
8
|
*
|
|
9
9
|
*
|
|
10
10
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
package/common.ts
CHANGED
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
* Product Catalog
|
|
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.1
|
|
8
8
|
*
|
|
9
9
|
*
|
|
10
10
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -112,7 +112,7 @@ function setFlattenedQueryParams(urlSearchParams: URLSearchParams, parameter: an
|
|
|
112
112
|
export const setSearchParams = function (url: URL, ...objects: any[]) {
|
|
113
113
|
const searchParams = new URLSearchParams(url.search);
|
|
114
114
|
setFlattenedQueryParams(searchParams, objects);
|
|
115
|
-
url.search =
|
|
115
|
+
url.search = searchParams.toString();
|
|
116
116
|
}
|
|
117
117
|
|
|
118
118
|
/**
|