@teemill/product-catalog 1.38.1 → 1.39.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/README.md CHANGED
@@ -1,4 +1,4 @@
1
- ## @teemill/product-catalog@1.38.1
1
+ ## @teemill/product-catalog@1.39.0
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.38.1 --save
39
+ npm install @teemill/product-catalog@1.39.0 --save
40
40
  ```
41
41
 
42
42
  _unPublished (not recommended):_
package/api.ts CHANGED
@@ -4,7 +4,7 @@
4
4
  * Product Catalog API
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 warehouse product, plus listing information such as title, description and tags.
6
6
  *
7
- * The version of the OpenAPI document: 1.38.1
7
+ * The version of the OpenAPI document: 1.39.0
8
8
  *
9
9
  *
10
10
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -896,10 +896,10 @@ export interface Product {
896
896
  'enabled'?: boolean;
897
897
  /**
898
898
  *
899
- * @type {SeoMetadata}
899
+ * @type {SEOMetadata}
900
900
  * @memberof Product
901
901
  */
902
- 'seoMetadata'?: SeoMetadata;
902
+ 'seoMetadata'?: SEOMetadata;
903
903
  /**
904
904
  *
905
905
  * @type {TargetSearchPhraseData}
@@ -1118,22 +1118,48 @@ export interface ProductsResponse {
1118
1118
  /**
1119
1119
  * SEO metadata for the product
1120
1120
  * @export
1121
- * @interface SeoMetadata
1121
+ * @interface SEOMetadata
1122
1122
  */
1123
- export interface SeoMetadata {
1123
+ export interface SEOMetadata {
1124
1124
  /**
1125
1125
  * Meta title for the product. This appears in search engine results and social shares. If not provided, the product title will be used.
1126
1126
  * @type {string}
1127
- * @memberof SeoMetadata
1127
+ * @memberof SEOMetadata
1128
1128
  */
1129
1129
  'title'?: string;
1130
1130
  /**
1131
1131
  * Meta description for the product. This appears in search engine results and social shares. If not provided, the product description will be used.
1132
1132
  * @type {string}
1133
- * @memberof SeoMetadata
1133
+ * @memberof SEOMetadata
1134
1134
  */
1135
1135
  'description'?: string | null;
1136
1136
  }
1137
+ /**
1138
+ *
1139
+ * @export
1140
+ * @interface SeoOptimiseProducts202Response
1141
+ */
1142
+ export interface SeoOptimiseProducts202Response {
1143
+ /**
1144
+ * A message describing the optimisation status
1145
+ * @type {string}
1146
+ * @memberof SeoOptimiseProducts202Response
1147
+ */
1148
+ 'message'?: string;
1149
+ }
1150
+ /**
1151
+ *
1152
+ * @export
1153
+ * @interface SeoOptimiseProductsRequest
1154
+ */
1155
+ export interface SeoOptimiseProductsRequest {
1156
+ /**
1157
+ * A set of product IDs to AI SEO optimise.
1158
+ * @type {Array<string>}
1159
+ * @memberof SeoOptimiseProductsRequest
1160
+ */
1161
+ 'ids'?: Array<string>;
1162
+ }
1137
1163
  /**
1138
1164
  *
1139
1165
  * @export
@@ -2674,6 +2700,54 @@ export const ProductsApiAxiosParamCreator = function (configuration?: Configurat
2674
2700
  options: localVarRequestOptions,
2675
2701
  };
2676
2702
  },
2703
+ /**
2704
+ * AI SEO optimises products by a set of given IDs.
2705
+ * @summary AI SEO optimise products.
2706
+ * @param {string} project What project it is
2707
+ * @param {SeoOptimiseProductsRequest} [seoOptimiseProductsRequest] A set of product IDs to AI SEO optimise.
2708
+ * @param {*} [options] Override http request option.
2709
+ * @throws {RequiredError}
2710
+ */
2711
+ seoOptimiseProducts: async (project: string, seoOptimiseProductsRequest?: SeoOptimiseProductsRequest, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
2712
+ // verify required parameter 'project' is not null or undefined
2713
+ assertParamExists('seoOptimiseProducts', 'project', project)
2714
+ const localVarPath = `/v1/catalog/products/ai-seo-optimise`;
2715
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
2716
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
2717
+ let baseOptions;
2718
+ if (configuration) {
2719
+ baseOptions = configuration.baseOptions;
2720
+ }
2721
+
2722
+ const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options};
2723
+ const localVarHeaderParameter = {} as any;
2724
+ const localVarQueryParameter = {} as any;
2725
+
2726
+ // authentication session-oauth required
2727
+ // oauth required
2728
+ await setOAuthToObject(localVarHeaderParameter, "session-oauth", [], configuration)
2729
+
2730
+ // authentication api-key required
2731
+ await setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration)
2732
+
2733
+ if (project !== undefined) {
2734
+ localVarQueryParameter['project'] = project;
2735
+ }
2736
+
2737
+
2738
+
2739
+ localVarHeaderParameter['Content-Type'] = 'application/json';
2740
+
2741
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
2742
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
2743
+ localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
2744
+ localVarRequestOptions.data = serializeDataIfNeeded(seoOptimiseProductsRequest, localVarRequestOptions, configuration)
2745
+
2746
+ return {
2747
+ url: toPathString(localVarUrlObj),
2748
+ options: localVarRequestOptions,
2749
+ };
2750
+ },
2677
2751
  /**
2678
2752
  * Updates a product by a given ID.
2679
2753
  * @summary Update product
@@ -2861,6 +2935,20 @@ export const ProductsApiFp = function(configuration?: Configuration) {
2861
2935
  const localVarOperationServerBasePath = operationServerMap['ProductsApi.listProducts']?.[localVarOperationServerIndex]?.url;
2862
2936
  return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
2863
2937
  },
2938
+ /**
2939
+ * AI SEO optimises products by a set of given IDs.
2940
+ * @summary AI SEO optimise products.
2941
+ * @param {string} project What project it is
2942
+ * @param {SeoOptimiseProductsRequest} [seoOptimiseProductsRequest] A set of product IDs to AI SEO optimise.
2943
+ * @param {*} [options] Override http request option.
2944
+ * @throws {RequiredError}
2945
+ */
2946
+ async seoOptimiseProducts(project: string, seoOptimiseProductsRequest?: SeoOptimiseProductsRequest, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<SeoOptimiseProducts202Response>> {
2947
+ const localVarAxiosArgs = await localVarAxiosParamCreator.seoOptimiseProducts(project, seoOptimiseProductsRequest, options);
2948
+ const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
2949
+ const localVarOperationServerBasePath = operationServerMap['ProductsApi.seoOptimiseProducts']?.[localVarOperationServerIndex]?.url;
2950
+ return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
2951
+ },
2864
2952
  /**
2865
2953
  * Updates a product by a given ID.
2866
2954
  * @summary Update product
@@ -2950,6 +3038,16 @@ export const ProductsApiFactory = function (configuration?: Configuration, baseP
2950
3038
  listProducts(requestParameters: ProductsApiListProductsRequest, options?: RawAxiosRequestConfig): AxiosPromise<ProductsResponse> {
2951
3039
  return localVarFp.listProducts(requestParameters.project, requestParameters.pageToken, requestParameters.search, requestParameters.sortBy, requestParameters.pageSize, requestParameters.fields, options).then((request) => request(axios, basePath));
2952
3040
  },
3041
+ /**
3042
+ * AI SEO optimises products by a set of given IDs.
3043
+ * @summary AI SEO optimise products.
3044
+ * @param {ProductsApiSeoOptimiseProductsRequest} requestParameters Request parameters.
3045
+ * @param {*} [options] Override http request option.
3046
+ * @throws {RequiredError}
3047
+ */
3048
+ seoOptimiseProducts(requestParameters: ProductsApiSeoOptimiseProductsRequest, options?: RawAxiosRequestConfig): AxiosPromise<SeoOptimiseProducts202Response> {
3049
+ return localVarFp.seoOptimiseProducts(requestParameters.project, requestParameters.seoOptimiseProductsRequest, options).then((request) => request(axios, basePath));
3050
+ },
2953
3051
  /**
2954
3052
  * Updates a product by a given ID.
2955
3053
  * @summary Update product
@@ -3113,6 +3211,27 @@ export interface ProductsApiListProductsRequest {
3113
3211
  readonly fields?: string
3114
3212
  }
3115
3213
 
3214
+ /**
3215
+ * Request parameters for seoOptimiseProducts operation in ProductsApi.
3216
+ * @export
3217
+ * @interface ProductsApiSeoOptimiseProductsRequest
3218
+ */
3219
+ export interface ProductsApiSeoOptimiseProductsRequest {
3220
+ /**
3221
+ * What project it is
3222
+ * @type {string}
3223
+ * @memberof ProductsApiSeoOptimiseProducts
3224
+ */
3225
+ readonly project: string
3226
+
3227
+ /**
3228
+ * A set of product IDs to AI SEO optimise.
3229
+ * @type {SeoOptimiseProductsRequest}
3230
+ * @memberof ProductsApiSeoOptimiseProducts
3231
+ */
3232
+ readonly seoOptimiseProductsRequest?: SeoOptimiseProductsRequest
3233
+ }
3234
+
3116
3235
  /**
3117
3236
  * Request parameters for updateProduct operation in ProductsApi.
3118
3237
  * @export
@@ -3229,6 +3348,18 @@ export class ProductsApi extends BaseAPI {
3229
3348
  return ProductsApiFp(this.configuration).listProducts(requestParameters.project, requestParameters.pageToken, requestParameters.search, requestParameters.sortBy, requestParameters.pageSize, requestParameters.fields, options).then((request) => request(this.axios, this.basePath));
3230
3349
  }
3231
3350
 
3351
+ /**
3352
+ * AI SEO optimises products by a set of given IDs.
3353
+ * @summary AI SEO optimise products.
3354
+ * @param {ProductsApiSeoOptimiseProductsRequest} requestParameters Request parameters.
3355
+ * @param {*} [options] Override http request option.
3356
+ * @throws {RequiredError}
3357
+ * @memberof ProductsApi
3358
+ */
3359
+ public seoOptimiseProducts(requestParameters: ProductsApiSeoOptimiseProductsRequest, options?: RawAxiosRequestConfig) {
3360
+ return ProductsApiFp(this.configuration).seoOptimiseProducts(requestParameters.project, requestParameters.seoOptimiseProductsRequest, options).then((request) => request(this.axios, this.basePath));
3361
+ }
3362
+
3232
3363
  /**
3233
3364
  * Updates a product by a given ID.
3234
3365
  * @summary Update product
package/base.ts CHANGED
@@ -4,7 +4,7 @@
4
4
  * Product Catalog API
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 warehouse product, plus listing information such as title, description and tags.
6
6
  *
7
- * The version of the OpenAPI document: 1.38.1
7
+ * The version of the OpenAPI document: 1.39.0
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 API
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 warehouse product, plus listing information such as title, description and tags.
6
6
  *
7
- * The version of the OpenAPI document: 1.38.1
7
+ * The version of the OpenAPI document: 1.39.0
8
8
  *
9
9
  *
10
10
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
package/configuration.ts CHANGED
@@ -4,7 +4,7 @@
4
4
  * Product Catalog API
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 warehouse product, plus listing information such as title, description and tags.
6
6
  *
7
- * The version of the OpenAPI document: 1.38.1
7
+ * The version of the OpenAPI document: 1.39.0
8
8
  *
9
9
  *
10
10
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -92,7 +92,7 @@ export class Configuration {
92
92
  this.baseOptions = {
93
93
  headers: {
94
94
  ...param.baseOptions?.headers,
95
- 'User-Agent': "OpenAPI-Generator/1.38.1/typescript-axios"
95
+ 'User-Agent': "OpenAPI-Generator/1.39.0/typescript-axios"
96
96
  },
97
97
  ...param.baseOptions
98
98
  };
package/dist/api.d.ts CHANGED
@@ -2,7 +2,7 @@
2
2
  * Product Catalog API
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 warehouse product, plus listing information such as title, description and tags.
4
4
  *
5
- * The version of the OpenAPI document: 1.38.1
5
+ * The version of the OpenAPI document: 1.39.0
6
6
  *
7
7
  *
8
8
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -872,10 +872,10 @@ export interface Product {
872
872
  'enabled'?: boolean;
873
873
  /**
874
874
  *
875
- * @type {SeoMetadata}
875
+ * @type {SEOMetadata}
876
876
  * @memberof Product
877
877
  */
878
- 'seoMetadata'?: SeoMetadata;
878
+ 'seoMetadata'?: SEOMetadata;
879
879
  /**
880
880
  *
881
881
  * @type {TargetSearchPhraseData}
@@ -1094,22 +1094,48 @@ export interface ProductsResponse {
1094
1094
  /**
1095
1095
  * SEO metadata for the product
1096
1096
  * @export
1097
- * @interface SeoMetadata
1097
+ * @interface SEOMetadata
1098
1098
  */
1099
- export interface SeoMetadata {
1099
+ export interface SEOMetadata {
1100
1100
  /**
1101
1101
  * Meta title for the product. This appears in search engine results and social shares. If not provided, the product title will be used.
1102
1102
  * @type {string}
1103
- * @memberof SeoMetadata
1103
+ * @memberof SEOMetadata
1104
1104
  */
1105
1105
  'title'?: string;
1106
1106
  /**
1107
1107
  * Meta description for the product. This appears in search engine results and social shares. If not provided, the product description will be used.
1108
1108
  * @type {string}
1109
- * @memberof SeoMetadata
1109
+ * @memberof SEOMetadata
1110
1110
  */
1111
1111
  'description'?: string | null;
1112
1112
  }
1113
+ /**
1114
+ *
1115
+ * @export
1116
+ * @interface SeoOptimiseProducts202Response
1117
+ */
1118
+ export interface SeoOptimiseProducts202Response {
1119
+ /**
1120
+ * A message describing the optimisation status
1121
+ * @type {string}
1122
+ * @memberof SeoOptimiseProducts202Response
1123
+ */
1124
+ 'message'?: string;
1125
+ }
1126
+ /**
1127
+ *
1128
+ * @export
1129
+ * @interface SeoOptimiseProductsRequest
1130
+ */
1131
+ export interface SeoOptimiseProductsRequest {
1132
+ /**
1133
+ * A set of product IDs to AI SEO optimise.
1134
+ * @type {Array<string>}
1135
+ * @memberof SeoOptimiseProductsRequest
1136
+ */
1137
+ 'ids'?: Array<string>;
1138
+ }
1113
1139
  /**
1114
1140
  *
1115
1141
  * @export
@@ -2140,6 +2166,15 @@ export declare const ProductsApiAxiosParamCreator: (configuration?: Configuratio
2140
2166
  * @throws {RequiredError}
2141
2167
  */
2142
2168
  listProducts: (project: string, pageToken?: number, search?: string, sortBy?: Array<string>, pageSize?: number, fields?: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
2169
+ /**
2170
+ * AI SEO optimises products by a set of given IDs.
2171
+ * @summary AI SEO optimise products.
2172
+ * @param {string} project What project it is
2173
+ * @param {SeoOptimiseProductsRequest} [seoOptimiseProductsRequest] A set of product IDs to AI SEO optimise.
2174
+ * @param {*} [options] Override http request option.
2175
+ * @throws {RequiredError}
2176
+ */
2177
+ seoOptimiseProducts: (project: string, seoOptimiseProductsRequest?: SeoOptimiseProductsRequest, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
2143
2178
  /**
2144
2179
  * Updates a product by a given ID.
2145
2180
  * @summary Update product
@@ -2215,6 +2250,15 @@ export declare const ProductsApiFp: (configuration?: Configuration) => {
2215
2250
  * @throws {RequiredError}
2216
2251
  */
2217
2252
  listProducts(project: string, pageToken?: number, search?: string, sortBy?: Array<string>, pageSize?: number, fields?: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ProductsResponse>>;
2253
+ /**
2254
+ * AI SEO optimises products by a set of given IDs.
2255
+ * @summary AI SEO optimise products.
2256
+ * @param {string} project What project it is
2257
+ * @param {SeoOptimiseProductsRequest} [seoOptimiseProductsRequest] A set of product IDs to AI SEO optimise.
2258
+ * @param {*} [options] Override http request option.
2259
+ * @throws {RequiredError}
2260
+ */
2261
+ seoOptimiseProducts(project: string, seoOptimiseProductsRequest?: SeoOptimiseProductsRequest, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<SeoOptimiseProducts202Response>>;
2218
2262
  /**
2219
2263
  * Updates a product by a given ID.
2220
2264
  * @summary Update product
@@ -2280,6 +2324,14 @@ export declare const ProductsApiFactory: (configuration?: Configuration, basePat
2280
2324
  * @throws {RequiredError}
2281
2325
  */
2282
2326
  listProducts(requestParameters: ProductsApiListProductsRequest, options?: RawAxiosRequestConfig): AxiosPromise<ProductsResponse>;
2327
+ /**
2328
+ * AI SEO optimises products by a set of given IDs.
2329
+ * @summary AI SEO optimise products.
2330
+ * @param {ProductsApiSeoOptimiseProductsRequest} requestParameters Request parameters.
2331
+ * @param {*} [options] Override http request option.
2332
+ * @throws {RequiredError}
2333
+ */
2334
+ seoOptimiseProducts(requestParameters: ProductsApiSeoOptimiseProductsRequest, options?: RawAxiosRequestConfig): AxiosPromise<SeoOptimiseProducts202Response>;
2283
2335
  /**
2284
2336
  * Updates a product by a given ID.
2285
2337
  * @summary Update product
@@ -2422,6 +2474,25 @@ export interface ProductsApiListProductsRequest {
2422
2474
  */
2423
2475
  readonly fields?: string;
2424
2476
  }
2477
+ /**
2478
+ * Request parameters for seoOptimiseProducts operation in ProductsApi.
2479
+ * @export
2480
+ * @interface ProductsApiSeoOptimiseProductsRequest
2481
+ */
2482
+ export interface ProductsApiSeoOptimiseProductsRequest {
2483
+ /**
2484
+ * What project it is
2485
+ * @type {string}
2486
+ * @memberof ProductsApiSeoOptimiseProducts
2487
+ */
2488
+ readonly project: string;
2489
+ /**
2490
+ * A set of product IDs to AI SEO optimise.
2491
+ * @type {SeoOptimiseProductsRequest}
2492
+ * @memberof ProductsApiSeoOptimiseProducts
2493
+ */
2494
+ readonly seoOptimiseProductsRequest?: SeoOptimiseProductsRequest;
2495
+ }
2425
2496
  /**
2426
2497
  * Request parameters for updateProduct operation in ProductsApi.
2427
2498
  * @export
@@ -2518,6 +2589,15 @@ export declare class ProductsApi extends BaseAPI {
2518
2589
  * @memberof ProductsApi
2519
2590
  */
2520
2591
  listProducts(requestParameters: ProductsApiListProductsRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<ProductsResponse, any>>;
2592
+ /**
2593
+ * AI SEO optimises products by a set of given IDs.
2594
+ * @summary AI SEO optimise products.
2595
+ * @param {ProductsApiSeoOptimiseProductsRequest} requestParameters Request parameters.
2596
+ * @param {*} [options] Override http request option.
2597
+ * @throws {RequiredError}
2598
+ * @memberof ProductsApi
2599
+ */
2600
+ seoOptimiseProducts(requestParameters: ProductsApiSeoOptimiseProductsRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<SeoOptimiseProducts202Response, any>>;
2521
2601
  /**
2522
2602
  * Updates a product by a given ID.
2523
2603
  * @summary Update product
package/dist/api.js CHANGED
@@ -5,7 +5,7 @@
5
5
  * Product Catalog API
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 warehouse product, plus listing information such as title, description and tags.
7
7
  *
8
- * The version of the OpenAPI document: 1.38.1
8
+ * The version of the OpenAPI document: 1.39.0
9
9
  *
10
10
  *
11
11
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -748,6 +748,45 @@ const ProductsApiAxiosParamCreator = function (configuration) {
748
748
  options: localVarRequestOptions,
749
749
  };
750
750
  }),
751
+ /**
752
+ * AI SEO optimises products by a set of given IDs.
753
+ * @summary AI SEO optimise products.
754
+ * @param {string} project What project it is
755
+ * @param {SeoOptimiseProductsRequest} [seoOptimiseProductsRequest] A set of product IDs to AI SEO optimise.
756
+ * @param {*} [options] Override http request option.
757
+ * @throws {RequiredError}
758
+ */
759
+ seoOptimiseProducts: (project_1, seoOptimiseProductsRequest_1, ...args_1) => __awaiter(this, [project_1, seoOptimiseProductsRequest_1, ...args_1], void 0, function* (project, seoOptimiseProductsRequest, options = {}) {
760
+ // verify required parameter 'project' is not null or undefined
761
+ (0, common_1.assertParamExists)('seoOptimiseProducts', 'project', project);
762
+ const localVarPath = `/v1/catalog/products/ai-seo-optimise`;
763
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
764
+ const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
765
+ let baseOptions;
766
+ if (configuration) {
767
+ baseOptions = configuration.baseOptions;
768
+ }
769
+ const localVarRequestOptions = Object.assign(Object.assign({ method: 'POST' }, baseOptions), options);
770
+ const localVarHeaderParameter = {};
771
+ const localVarQueryParameter = {};
772
+ // authentication session-oauth required
773
+ // oauth required
774
+ yield (0, common_1.setOAuthToObject)(localVarHeaderParameter, "session-oauth", [], configuration);
775
+ // authentication api-key required
776
+ yield (0, common_1.setApiKeyToObject)(localVarHeaderParameter, "Authorization", configuration);
777
+ if (project !== undefined) {
778
+ localVarQueryParameter['project'] = project;
779
+ }
780
+ localVarHeaderParameter['Content-Type'] = 'application/json';
781
+ (0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
782
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
783
+ localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
784
+ localVarRequestOptions.data = (0, common_1.serializeDataIfNeeded)(seoOptimiseProductsRequest, localVarRequestOptions, configuration);
785
+ return {
786
+ url: (0, common_1.toPathString)(localVarUrlObj),
787
+ options: localVarRequestOptions,
788
+ };
789
+ }),
751
790
  /**
752
791
  * Updates a product by a given ID.
753
792
  * @summary Update product
@@ -932,6 +971,23 @@ const ProductsApiFp = function (configuration) {
932
971
  return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
933
972
  });
934
973
  },
974
+ /**
975
+ * AI SEO optimises products by a set of given IDs.
976
+ * @summary AI SEO optimise products.
977
+ * @param {string} project What project it is
978
+ * @param {SeoOptimiseProductsRequest} [seoOptimiseProductsRequest] A set of product IDs to AI SEO optimise.
979
+ * @param {*} [options] Override http request option.
980
+ * @throws {RequiredError}
981
+ */
982
+ seoOptimiseProducts(project, seoOptimiseProductsRequest, options) {
983
+ return __awaiter(this, void 0, void 0, function* () {
984
+ var _a, _b, _c;
985
+ const localVarAxiosArgs = yield localVarAxiosParamCreator.seoOptimiseProducts(project, seoOptimiseProductsRequest, options);
986
+ const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
987
+ const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['ProductsApi.seoOptimiseProducts']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
988
+ return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
989
+ });
990
+ },
935
991
  /**
936
992
  * Updates a product by a given ID.
937
993
  * @summary Update product
@@ -1027,6 +1083,16 @@ const ProductsApiFactory = function (configuration, basePath, axios) {
1027
1083
  listProducts(requestParameters, options) {
1028
1084
  return localVarFp.listProducts(requestParameters.project, requestParameters.pageToken, requestParameters.search, requestParameters.sortBy, requestParameters.pageSize, requestParameters.fields, options).then((request) => request(axios, basePath));
1029
1085
  },
1086
+ /**
1087
+ * AI SEO optimises products by a set of given IDs.
1088
+ * @summary AI SEO optimise products.
1089
+ * @param {ProductsApiSeoOptimiseProductsRequest} requestParameters Request parameters.
1090
+ * @param {*} [options] Override http request option.
1091
+ * @throws {RequiredError}
1092
+ */
1093
+ seoOptimiseProducts(requestParameters, options) {
1094
+ return localVarFp.seoOptimiseProducts(requestParameters.project, requestParameters.seoOptimiseProductsRequest, options).then((request) => request(axios, basePath));
1095
+ },
1030
1096
  /**
1031
1097
  * Updates a product by a given ID.
1032
1098
  * @summary Update product
@@ -1112,6 +1178,17 @@ class ProductsApi extends base_1.BaseAPI {
1112
1178
  listProducts(requestParameters, options) {
1113
1179
  return (0, exports.ProductsApiFp)(this.configuration).listProducts(requestParameters.project, requestParameters.pageToken, requestParameters.search, requestParameters.sortBy, requestParameters.pageSize, requestParameters.fields, options).then((request) => request(this.axios, this.basePath));
1114
1180
  }
1181
+ /**
1182
+ * AI SEO optimises products by a set of given IDs.
1183
+ * @summary AI SEO optimise products.
1184
+ * @param {ProductsApiSeoOptimiseProductsRequest} requestParameters Request parameters.
1185
+ * @param {*} [options] Override http request option.
1186
+ * @throws {RequiredError}
1187
+ * @memberof ProductsApi
1188
+ */
1189
+ seoOptimiseProducts(requestParameters, options) {
1190
+ return (0, exports.ProductsApiFp)(this.configuration).seoOptimiseProducts(requestParameters.project, requestParameters.seoOptimiseProductsRequest, options).then((request) => request(this.axios, this.basePath));
1191
+ }
1115
1192
  /**
1116
1193
  * Updates a product by a given ID.
1117
1194
  * @summary Update product
package/dist/base.d.ts CHANGED
@@ -2,7 +2,7 @@
2
2
  * Product Catalog API
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 warehouse product, plus listing information such as title, description and tags.
4
4
  *
5
- * The version of the OpenAPI document: 1.38.1
5
+ * The version of the OpenAPI document: 1.39.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 API
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 warehouse product, plus listing information such as title, description and tags.
7
7
  *
8
- * The version of the OpenAPI document: 1.38.1
8
+ * The version of the OpenAPI document: 1.39.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 API
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 warehouse product, plus listing information such as title, description and tags.
4
4
  *
5
- * The version of the OpenAPI document: 1.38.1
5
+ * The version of the OpenAPI document: 1.39.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 API
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 warehouse product, plus listing information such as title, description and tags.
7
7
  *
8
- * The version of the OpenAPI document: 1.38.1
8
+ * The version of the OpenAPI document: 1.39.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 API
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 warehouse product, plus listing information such as title, description and tags.
4
4
  *
5
- * The version of the OpenAPI document: 1.38.1
5
+ * The version of the OpenAPI document: 1.39.0
6
6
  *
7
7
  *
8
8
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -5,7 +5,7 @@
5
5
  * Product Catalog API
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 warehouse product, plus listing information such as title, description and tags.
7
7
  *
8
- * The version of the OpenAPI document: 1.38.1
8
+ * The version of the OpenAPI document: 1.39.0
9
9
  *
10
10
  *
11
11
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -23,7 +23,7 @@ class Configuration {
23
23
  this.accessToken = param.accessToken;
24
24
  this.basePath = param.basePath;
25
25
  this.serverIndex = param.serverIndex;
26
- this.baseOptions = Object.assign({ headers: Object.assign(Object.assign({}, (_a = param.baseOptions) === null || _a === void 0 ? void 0 : _a.headers), { 'User-Agent': "OpenAPI-Generator/1.38.1/typescript-axios" }) }, param.baseOptions);
26
+ this.baseOptions = Object.assign({ headers: Object.assign(Object.assign({}, (_a = param.baseOptions) === null || _a === void 0 ? void 0 : _a.headers), { 'User-Agent': "OpenAPI-Generator/1.39.0/typescript-axios" }) }, param.baseOptions);
27
27
  this.formDataCtor = param.formDataCtor;
28
28
  }
29
29
  /**
package/dist/esm/api.d.ts CHANGED
@@ -2,7 +2,7 @@
2
2
  * Product Catalog API
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 warehouse product, plus listing information such as title, description and tags.
4
4
  *
5
- * The version of the OpenAPI document: 1.38.1
5
+ * The version of the OpenAPI document: 1.39.0
6
6
  *
7
7
  *
8
8
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -872,10 +872,10 @@ export interface Product {
872
872
  'enabled'?: boolean;
873
873
  /**
874
874
  *
875
- * @type {SeoMetadata}
875
+ * @type {SEOMetadata}
876
876
  * @memberof Product
877
877
  */
878
- 'seoMetadata'?: SeoMetadata;
878
+ 'seoMetadata'?: SEOMetadata;
879
879
  /**
880
880
  *
881
881
  * @type {TargetSearchPhraseData}
@@ -1094,22 +1094,48 @@ export interface ProductsResponse {
1094
1094
  /**
1095
1095
  * SEO metadata for the product
1096
1096
  * @export
1097
- * @interface SeoMetadata
1097
+ * @interface SEOMetadata
1098
1098
  */
1099
- export interface SeoMetadata {
1099
+ export interface SEOMetadata {
1100
1100
  /**
1101
1101
  * Meta title for the product. This appears in search engine results and social shares. If not provided, the product title will be used.
1102
1102
  * @type {string}
1103
- * @memberof SeoMetadata
1103
+ * @memberof SEOMetadata
1104
1104
  */
1105
1105
  'title'?: string;
1106
1106
  /**
1107
1107
  * Meta description for the product. This appears in search engine results and social shares. If not provided, the product description will be used.
1108
1108
  * @type {string}
1109
- * @memberof SeoMetadata
1109
+ * @memberof SEOMetadata
1110
1110
  */
1111
1111
  'description'?: string | null;
1112
1112
  }
1113
+ /**
1114
+ *
1115
+ * @export
1116
+ * @interface SeoOptimiseProducts202Response
1117
+ */
1118
+ export interface SeoOptimiseProducts202Response {
1119
+ /**
1120
+ * A message describing the optimisation status
1121
+ * @type {string}
1122
+ * @memberof SeoOptimiseProducts202Response
1123
+ */
1124
+ 'message'?: string;
1125
+ }
1126
+ /**
1127
+ *
1128
+ * @export
1129
+ * @interface SeoOptimiseProductsRequest
1130
+ */
1131
+ export interface SeoOptimiseProductsRequest {
1132
+ /**
1133
+ * A set of product IDs to AI SEO optimise.
1134
+ * @type {Array<string>}
1135
+ * @memberof SeoOptimiseProductsRequest
1136
+ */
1137
+ 'ids'?: Array<string>;
1138
+ }
1113
1139
  /**
1114
1140
  *
1115
1141
  * @export
@@ -2140,6 +2166,15 @@ export declare const ProductsApiAxiosParamCreator: (configuration?: Configuratio
2140
2166
  * @throws {RequiredError}
2141
2167
  */
2142
2168
  listProducts: (project: string, pageToken?: number, search?: string, sortBy?: Array<string>, pageSize?: number, fields?: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
2169
+ /**
2170
+ * AI SEO optimises products by a set of given IDs.
2171
+ * @summary AI SEO optimise products.
2172
+ * @param {string} project What project it is
2173
+ * @param {SeoOptimiseProductsRequest} [seoOptimiseProductsRequest] A set of product IDs to AI SEO optimise.
2174
+ * @param {*} [options] Override http request option.
2175
+ * @throws {RequiredError}
2176
+ */
2177
+ seoOptimiseProducts: (project: string, seoOptimiseProductsRequest?: SeoOptimiseProductsRequest, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
2143
2178
  /**
2144
2179
  * Updates a product by a given ID.
2145
2180
  * @summary Update product
@@ -2215,6 +2250,15 @@ export declare const ProductsApiFp: (configuration?: Configuration) => {
2215
2250
  * @throws {RequiredError}
2216
2251
  */
2217
2252
  listProducts(project: string, pageToken?: number, search?: string, sortBy?: Array<string>, pageSize?: number, fields?: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ProductsResponse>>;
2253
+ /**
2254
+ * AI SEO optimises products by a set of given IDs.
2255
+ * @summary AI SEO optimise products.
2256
+ * @param {string} project What project it is
2257
+ * @param {SeoOptimiseProductsRequest} [seoOptimiseProductsRequest] A set of product IDs to AI SEO optimise.
2258
+ * @param {*} [options] Override http request option.
2259
+ * @throws {RequiredError}
2260
+ */
2261
+ seoOptimiseProducts(project: string, seoOptimiseProductsRequest?: SeoOptimiseProductsRequest, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<SeoOptimiseProducts202Response>>;
2218
2262
  /**
2219
2263
  * Updates a product by a given ID.
2220
2264
  * @summary Update product
@@ -2280,6 +2324,14 @@ export declare const ProductsApiFactory: (configuration?: Configuration, basePat
2280
2324
  * @throws {RequiredError}
2281
2325
  */
2282
2326
  listProducts(requestParameters: ProductsApiListProductsRequest, options?: RawAxiosRequestConfig): AxiosPromise<ProductsResponse>;
2327
+ /**
2328
+ * AI SEO optimises products by a set of given IDs.
2329
+ * @summary AI SEO optimise products.
2330
+ * @param {ProductsApiSeoOptimiseProductsRequest} requestParameters Request parameters.
2331
+ * @param {*} [options] Override http request option.
2332
+ * @throws {RequiredError}
2333
+ */
2334
+ seoOptimiseProducts(requestParameters: ProductsApiSeoOptimiseProductsRequest, options?: RawAxiosRequestConfig): AxiosPromise<SeoOptimiseProducts202Response>;
2283
2335
  /**
2284
2336
  * Updates a product by a given ID.
2285
2337
  * @summary Update product
@@ -2422,6 +2474,25 @@ export interface ProductsApiListProductsRequest {
2422
2474
  */
2423
2475
  readonly fields?: string;
2424
2476
  }
2477
+ /**
2478
+ * Request parameters for seoOptimiseProducts operation in ProductsApi.
2479
+ * @export
2480
+ * @interface ProductsApiSeoOptimiseProductsRequest
2481
+ */
2482
+ export interface ProductsApiSeoOptimiseProductsRequest {
2483
+ /**
2484
+ * What project it is
2485
+ * @type {string}
2486
+ * @memberof ProductsApiSeoOptimiseProducts
2487
+ */
2488
+ readonly project: string;
2489
+ /**
2490
+ * A set of product IDs to AI SEO optimise.
2491
+ * @type {SeoOptimiseProductsRequest}
2492
+ * @memberof ProductsApiSeoOptimiseProducts
2493
+ */
2494
+ readonly seoOptimiseProductsRequest?: SeoOptimiseProductsRequest;
2495
+ }
2425
2496
  /**
2426
2497
  * Request parameters for updateProduct operation in ProductsApi.
2427
2498
  * @export
@@ -2518,6 +2589,15 @@ export declare class ProductsApi extends BaseAPI {
2518
2589
  * @memberof ProductsApi
2519
2590
  */
2520
2591
  listProducts(requestParameters: ProductsApiListProductsRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<ProductsResponse, any>>;
2592
+ /**
2593
+ * AI SEO optimises products by a set of given IDs.
2594
+ * @summary AI SEO optimise products.
2595
+ * @param {ProductsApiSeoOptimiseProductsRequest} requestParameters Request parameters.
2596
+ * @param {*} [options] Override http request option.
2597
+ * @throws {RequiredError}
2598
+ * @memberof ProductsApi
2599
+ */
2600
+ seoOptimiseProducts(requestParameters: ProductsApiSeoOptimiseProductsRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<SeoOptimiseProducts202Response, any>>;
2521
2601
  /**
2522
2602
  * Updates a product by a given ID.
2523
2603
  * @summary Update product
package/dist/esm/api.js CHANGED
@@ -4,7 +4,7 @@
4
4
  * Product Catalog API
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 warehouse product, plus listing information such as title, description and tags.
6
6
  *
7
- * The version of the OpenAPI document: 1.38.1
7
+ * The version of the OpenAPI document: 1.39.0
8
8
  *
9
9
  *
10
10
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -741,6 +741,45 @@ export const ProductsApiAxiosParamCreator = function (configuration) {
741
741
  options: localVarRequestOptions,
742
742
  };
743
743
  }),
744
+ /**
745
+ * AI SEO optimises products by a set of given IDs.
746
+ * @summary AI SEO optimise products.
747
+ * @param {string} project What project it is
748
+ * @param {SeoOptimiseProductsRequest} [seoOptimiseProductsRequest] A set of product IDs to AI SEO optimise.
749
+ * @param {*} [options] Override http request option.
750
+ * @throws {RequiredError}
751
+ */
752
+ seoOptimiseProducts: (project_1, seoOptimiseProductsRequest_1, ...args_1) => __awaiter(this, [project_1, seoOptimiseProductsRequest_1, ...args_1], void 0, function* (project, seoOptimiseProductsRequest, options = {}) {
753
+ // verify required parameter 'project' is not null or undefined
754
+ assertParamExists('seoOptimiseProducts', 'project', project);
755
+ const localVarPath = `/v1/catalog/products/ai-seo-optimise`;
756
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
757
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
758
+ let baseOptions;
759
+ if (configuration) {
760
+ baseOptions = configuration.baseOptions;
761
+ }
762
+ const localVarRequestOptions = Object.assign(Object.assign({ method: 'POST' }, baseOptions), options);
763
+ const localVarHeaderParameter = {};
764
+ const localVarQueryParameter = {};
765
+ // authentication session-oauth required
766
+ // oauth required
767
+ yield setOAuthToObject(localVarHeaderParameter, "session-oauth", [], configuration);
768
+ // authentication api-key required
769
+ yield setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration);
770
+ if (project !== undefined) {
771
+ localVarQueryParameter['project'] = project;
772
+ }
773
+ localVarHeaderParameter['Content-Type'] = 'application/json';
774
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
775
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
776
+ localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
777
+ localVarRequestOptions.data = serializeDataIfNeeded(seoOptimiseProductsRequest, localVarRequestOptions, configuration);
778
+ return {
779
+ url: toPathString(localVarUrlObj),
780
+ options: localVarRequestOptions,
781
+ };
782
+ }),
744
783
  /**
745
784
  * Updates a product by a given ID.
746
785
  * @summary Update product
@@ -924,6 +963,23 @@ export const ProductsApiFp = function (configuration) {
924
963
  return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
925
964
  });
926
965
  },
966
+ /**
967
+ * AI SEO optimises products by a set of given IDs.
968
+ * @summary AI SEO optimise products.
969
+ * @param {string} project What project it is
970
+ * @param {SeoOptimiseProductsRequest} [seoOptimiseProductsRequest] A set of product IDs to AI SEO optimise.
971
+ * @param {*} [options] Override http request option.
972
+ * @throws {RequiredError}
973
+ */
974
+ seoOptimiseProducts(project, seoOptimiseProductsRequest, options) {
975
+ return __awaiter(this, void 0, void 0, function* () {
976
+ var _a, _b, _c;
977
+ const localVarAxiosArgs = yield localVarAxiosParamCreator.seoOptimiseProducts(project, seoOptimiseProductsRequest, options);
978
+ const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
979
+ const localVarOperationServerBasePath = (_c = (_b = operationServerMap['ProductsApi.seoOptimiseProducts']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
980
+ return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
981
+ });
982
+ },
927
983
  /**
928
984
  * Updates a product by a given ID.
929
985
  * @summary Update product
@@ -1018,6 +1074,16 @@ export const ProductsApiFactory = function (configuration, basePath, axios) {
1018
1074
  listProducts(requestParameters, options) {
1019
1075
  return localVarFp.listProducts(requestParameters.project, requestParameters.pageToken, requestParameters.search, requestParameters.sortBy, requestParameters.pageSize, requestParameters.fields, options).then((request) => request(axios, basePath));
1020
1076
  },
1077
+ /**
1078
+ * AI SEO optimises products by a set of given IDs.
1079
+ * @summary AI SEO optimise products.
1080
+ * @param {ProductsApiSeoOptimiseProductsRequest} requestParameters Request parameters.
1081
+ * @param {*} [options] Override http request option.
1082
+ * @throws {RequiredError}
1083
+ */
1084
+ seoOptimiseProducts(requestParameters, options) {
1085
+ return localVarFp.seoOptimiseProducts(requestParameters.project, requestParameters.seoOptimiseProductsRequest, options).then((request) => request(axios, basePath));
1086
+ },
1021
1087
  /**
1022
1088
  * Updates a product by a given ID.
1023
1089
  * @summary Update product
@@ -1102,6 +1168,17 @@ export class ProductsApi extends BaseAPI {
1102
1168
  listProducts(requestParameters, options) {
1103
1169
  return ProductsApiFp(this.configuration).listProducts(requestParameters.project, requestParameters.pageToken, requestParameters.search, requestParameters.sortBy, requestParameters.pageSize, requestParameters.fields, options).then((request) => request(this.axios, this.basePath));
1104
1170
  }
1171
+ /**
1172
+ * AI SEO optimises products by a set of given IDs.
1173
+ * @summary AI SEO optimise products.
1174
+ * @param {ProductsApiSeoOptimiseProductsRequest} requestParameters Request parameters.
1175
+ * @param {*} [options] Override http request option.
1176
+ * @throws {RequiredError}
1177
+ * @memberof ProductsApi
1178
+ */
1179
+ seoOptimiseProducts(requestParameters, options) {
1180
+ return ProductsApiFp(this.configuration).seoOptimiseProducts(requestParameters.project, requestParameters.seoOptimiseProductsRequest, options).then((request) => request(this.axios, this.basePath));
1181
+ }
1105
1182
  /**
1106
1183
  * Updates a product by a given ID.
1107
1184
  * @summary Update product
@@ -2,7 +2,7 @@
2
2
  * Product Catalog API
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 warehouse product, plus listing information such as title, description and tags.
4
4
  *
5
- * The version of the OpenAPI document: 1.38.1
5
+ * The version of the OpenAPI document: 1.39.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 API
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 warehouse product, plus listing information such as title, description and tags.
6
6
  *
7
- * The version of the OpenAPI document: 1.38.1
7
+ * The version of the OpenAPI document: 1.39.0
8
8
  *
9
9
  *
10
10
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -2,7 +2,7 @@
2
2
  * Product Catalog API
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 warehouse product, plus listing information such as title, description and tags.
4
4
  *
5
- * The version of the OpenAPI document: 1.38.1
5
+ * The version of the OpenAPI document: 1.39.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 API
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 warehouse product, plus listing information such as title, description and tags.
6
6
  *
7
- * The version of the OpenAPI document: 1.38.1
7
+ * The version of the OpenAPI document: 1.39.0
8
8
  *
9
9
  *
10
10
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -2,7 +2,7 @@
2
2
  * Product Catalog API
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 warehouse product, plus listing information such as title, description and tags.
4
4
  *
5
- * The version of the OpenAPI document: 1.38.1
5
+ * The version of the OpenAPI document: 1.39.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 API
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 warehouse product, plus listing information such as title, description and tags.
6
6
  *
7
- * The version of the OpenAPI document: 1.38.1
7
+ * The version of the OpenAPI document: 1.39.0
8
8
  *
9
9
  *
10
10
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -20,7 +20,7 @@ export class Configuration {
20
20
  this.accessToken = param.accessToken;
21
21
  this.basePath = param.basePath;
22
22
  this.serverIndex = param.serverIndex;
23
- this.baseOptions = Object.assign({ headers: Object.assign(Object.assign({}, (_a = param.baseOptions) === null || _a === void 0 ? void 0 : _a.headers), { 'User-Agent': "OpenAPI-Generator/1.38.1/typescript-axios" }) }, param.baseOptions);
23
+ this.baseOptions = Object.assign({ headers: Object.assign(Object.assign({}, (_a = param.baseOptions) === null || _a === void 0 ? void 0 : _a.headers), { 'User-Agent': "OpenAPI-Generator/1.39.0/typescript-axios" }) }, param.baseOptions);
24
24
  this.formDataCtor = param.formDataCtor;
25
25
  }
26
26
  /**
@@ -2,7 +2,7 @@
2
2
  * Product Catalog API
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 warehouse product, plus listing information such as title, description and tags.
4
4
  *
5
- * The version of the OpenAPI document: 1.38.1
5
+ * The version of the OpenAPI document: 1.39.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 API
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 warehouse product, plus listing information such as title, description and tags.
6
6
  *
7
- * The version of the OpenAPI document: 1.38.1
7
+ * The version of the OpenAPI document: 1.39.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 API
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 warehouse product, plus listing information such as title, description and tags.
4
4
  *
5
- * The version of the OpenAPI document: 1.38.1
5
+ * The version of the OpenAPI document: 1.39.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 API
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 warehouse product, plus listing information such as title, description and tags.
7
7
  *
8
- * The version of the OpenAPI document: 1.38.1
8
+ * The version of the OpenAPI document: 1.39.0
9
9
  *
10
10
  *
11
11
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
package/index.ts CHANGED
@@ -4,7 +4,7 @@
4
4
  * Product Catalog API
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 warehouse product, plus listing information such as title, description and tags.
6
6
  *
7
- * The version of the OpenAPI document: 1.38.1
7
+ * The version of the OpenAPI document: 1.39.0
8
8
  *
9
9
  *
10
10
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@teemill/product-catalog",
3
- "version": "1.38.1",
3
+ "version": "1.39.0",
4
4
  "description": "OpenAPI client for @teemill/product-catalog",
5
5
  "author": "OpenAPI-Generator Contributors",
6
6
  "repository": {