@teemill/product-catalog 1.38.0 → 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.0
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.0 --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.0
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).
@@ -788,6 +788,25 @@ export interface ImportProducts200Response {
788
788
  */
789
789
  'importId'?: string;
790
790
  }
791
+ /**
792
+ *
793
+ * @export
794
+ * @interface Location
795
+ */
796
+ export interface Location {
797
+ /**
798
+ * The total number of units available at the location
799
+ * @type {number}
800
+ * @memberof Location
801
+ */
802
+ 'level': number;
803
+ /**
804
+ * ISO alpha-2 country code
805
+ * @type {string}
806
+ * @memberof Location
807
+ */
808
+ 'country': string;
809
+ }
791
810
  /**
792
811
  * Key/value pairs that can be used to store additional information on the product
793
812
  * @export
@@ -877,10 +896,10 @@ export interface Product {
877
896
  'enabled'?: boolean;
878
897
  /**
879
898
  *
880
- * @type {SeoMetadata}
899
+ * @type {SEOMetadata}
881
900
  * @memberof Product
882
901
  */
883
- 'seoMetadata'?: SeoMetadata;
902
+ 'seoMetadata'?: SEOMetadata;
884
903
  /**
885
904
  *
886
905
  * @type {TargetSearchPhraseData}
@@ -1099,22 +1118,48 @@ export interface ProductsResponse {
1099
1118
  /**
1100
1119
  * SEO metadata for the product
1101
1120
  * @export
1102
- * @interface SeoMetadata
1121
+ * @interface SEOMetadata
1103
1122
  */
1104
- export interface SeoMetadata {
1123
+ export interface SEOMetadata {
1105
1124
  /**
1106
1125
  * Meta title for the product. This appears in search engine results and social shares. If not provided, the product title will be used.
1107
1126
  * @type {string}
1108
- * @memberof SeoMetadata
1127
+ * @memberof SEOMetadata
1109
1128
  */
1110
1129
  'title'?: string;
1111
1130
  /**
1112
1131
  * Meta description for the product. This appears in search engine results and social shares. If not provided, the product description will be used.
1113
1132
  * @type {string}
1114
- * @memberof SeoMetadata
1133
+ * @memberof SEOMetadata
1115
1134
  */
1116
1135
  'description'?: string | null;
1117
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
+ }
1118
1163
  /**
1119
1164
  *
1120
1165
  * @export
@@ -1127,6 +1172,12 @@ export interface Stock {
1127
1172
  * @memberof Stock
1128
1173
  */
1129
1174
  'level'?: number;
1175
+ /**
1176
+ *
1177
+ * @type {Array<Location>}
1178
+ * @memberof Stock
1179
+ */
1180
+ 'locations'?: Array<Location>;
1130
1181
  }
1131
1182
  /**
1132
1183
  *
@@ -2649,6 +2700,54 @@ export const ProductsApiAxiosParamCreator = function (configuration?: Configurat
2649
2700
  options: localVarRequestOptions,
2650
2701
  };
2651
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
+ },
2652
2751
  /**
2653
2752
  * Updates a product by a given ID.
2654
2753
  * @summary Update product
@@ -2836,6 +2935,20 @@ export const ProductsApiFp = function(configuration?: Configuration) {
2836
2935
  const localVarOperationServerBasePath = operationServerMap['ProductsApi.listProducts']?.[localVarOperationServerIndex]?.url;
2837
2936
  return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
2838
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
+ },
2839
2952
  /**
2840
2953
  * Updates a product by a given ID.
2841
2954
  * @summary Update product
@@ -2925,6 +3038,16 @@ export const ProductsApiFactory = function (configuration?: Configuration, baseP
2925
3038
  listProducts(requestParameters: ProductsApiListProductsRequest, options?: RawAxiosRequestConfig): AxiosPromise<ProductsResponse> {
2926
3039
  return localVarFp.listProducts(requestParameters.project, requestParameters.pageToken, requestParameters.search, requestParameters.sortBy, requestParameters.pageSize, requestParameters.fields, options).then((request) => request(axios, basePath));
2927
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
+ },
2928
3051
  /**
2929
3052
  * Updates a product by a given ID.
2930
3053
  * @summary Update product
@@ -3088,6 +3211,27 @@ export interface ProductsApiListProductsRequest {
3088
3211
  readonly fields?: string
3089
3212
  }
3090
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
+
3091
3235
  /**
3092
3236
  * Request parameters for updateProduct operation in ProductsApi.
3093
3237
  * @export
@@ -3204,6 +3348,18 @@ export class ProductsApi extends BaseAPI {
3204
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));
3205
3349
  }
3206
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
+
3207
3363
  /**
3208
3364
  * Updates a product by a given ID.
3209
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.0
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.0
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.0
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.0/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.0
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).
@@ -767,6 +767,25 @@ export interface ImportProducts200Response {
767
767
  */
768
768
  'importId'?: string;
769
769
  }
770
+ /**
771
+ *
772
+ * @export
773
+ * @interface Location
774
+ */
775
+ export interface Location {
776
+ /**
777
+ * The total number of units available at the location
778
+ * @type {number}
779
+ * @memberof Location
780
+ */
781
+ 'level': number;
782
+ /**
783
+ * ISO alpha-2 country code
784
+ * @type {string}
785
+ * @memberof Location
786
+ */
787
+ 'country': string;
788
+ }
770
789
  /**
771
790
  * Key/value pairs that can be used to store additional information on the product
772
791
  * @export
@@ -853,10 +872,10 @@ export interface Product {
853
872
  'enabled'?: boolean;
854
873
  /**
855
874
  *
856
- * @type {SeoMetadata}
875
+ * @type {SEOMetadata}
857
876
  * @memberof Product
858
877
  */
859
- 'seoMetadata'?: SeoMetadata;
878
+ 'seoMetadata'?: SEOMetadata;
860
879
  /**
861
880
  *
862
881
  * @type {TargetSearchPhraseData}
@@ -1075,22 +1094,48 @@ export interface ProductsResponse {
1075
1094
  /**
1076
1095
  * SEO metadata for the product
1077
1096
  * @export
1078
- * @interface SeoMetadata
1097
+ * @interface SEOMetadata
1079
1098
  */
1080
- export interface SeoMetadata {
1099
+ export interface SEOMetadata {
1081
1100
  /**
1082
1101
  * Meta title for the product. This appears in search engine results and social shares. If not provided, the product title will be used.
1083
1102
  * @type {string}
1084
- * @memberof SeoMetadata
1103
+ * @memberof SEOMetadata
1085
1104
  */
1086
1105
  'title'?: string;
1087
1106
  /**
1088
1107
  * Meta description for the product. This appears in search engine results and social shares. If not provided, the product description will be used.
1089
1108
  * @type {string}
1090
- * @memberof SeoMetadata
1109
+ * @memberof SEOMetadata
1091
1110
  */
1092
1111
  'description'?: string | null;
1093
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
+ }
1094
1139
  /**
1095
1140
  *
1096
1141
  * @export
@@ -1103,6 +1148,12 @@ export interface Stock {
1103
1148
  * @memberof Stock
1104
1149
  */
1105
1150
  'level'?: number;
1151
+ /**
1152
+ *
1153
+ * @type {Array<Location>}
1154
+ * @memberof Stock
1155
+ */
1156
+ 'locations'?: Array<Location>;
1106
1157
  }
1107
1158
  /**
1108
1159
  *
@@ -2115,6 +2166,15 @@ export declare const ProductsApiAxiosParamCreator: (configuration?: Configuratio
2115
2166
  * @throws {RequiredError}
2116
2167
  */
2117
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>;
2118
2178
  /**
2119
2179
  * Updates a product by a given ID.
2120
2180
  * @summary Update product
@@ -2190,6 +2250,15 @@ export declare const ProductsApiFp: (configuration?: Configuration) => {
2190
2250
  * @throws {RequiredError}
2191
2251
  */
2192
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>>;
2193
2262
  /**
2194
2263
  * Updates a product by a given ID.
2195
2264
  * @summary Update product
@@ -2255,6 +2324,14 @@ export declare const ProductsApiFactory: (configuration?: Configuration, basePat
2255
2324
  * @throws {RequiredError}
2256
2325
  */
2257
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>;
2258
2335
  /**
2259
2336
  * Updates a product by a given ID.
2260
2337
  * @summary Update product
@@ -2397,6 +2474,25 @@ export interface ProductsApiListProductsRequest {
2397
2474
  */
2398
2475
  readonly fields?: string;
2399
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
+ }
2400
2496
  /**
2401
2497
  * Request parameters for updateProduct operation in ProductsApi.
2402
2498
  * @export
@@ -2493,6 +2589,15 @@ export declare class ProductsApi extends BaseAPI {
2493
2589
  * @memberof ProductsApi
2494
2590
  */
2495
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>>;
2496
2601
  /**
2497
2602
  * Updates a product by a given ID.
2498
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.0
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.0
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.0
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.0
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.0
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.0
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.0
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.0/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.0
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).
@@ -767,6 +767,25 @@ export interface ImportProducts200Response {
767
767
  */
768
768
  'importId'?: string;
769
769
  }
770
+ /**
771
+ *
772
+ * @export
773
+ * @interface Location
774
+ */
775
+ export interface Location {
776
+ /**
777
+ * The total number of units available at the location
778
+ * @type {number}
779
+ * @memberof Location
780
+ */
781
+ 'level': number;
782
+ /**
783
+ * ISO alpha-2 country code
784
+ * @type {string}
785
+ * @memberof Location
786
+ */
787
+ 'country': string;
788
+ }
770
789
  /**
771
790
  * Key/value pairs that can be used to store additional information on the product
772
791
  * @export
@@ -853,10 +872,10 @@ export interface Product {
853
872
  'enabled'?: boolean;
854
873
  /**
855
874
  *
856
- * @type {SeoMetadata}
875
+ * @type {SEOMetadata}
857
876
  * @memberof Product
858
877
  */
859
- 'seoMetadata'?: SeoMetadata;
878
+ 'seoMetadata'?: SEOMetadata;
860
879
  /**
861
880
  *
862
881
  * @type {TargetSearchPhraseData}
@@ -1075,22 +1094,48 @@ export interface ProductsResponse {
1075
1094
  /**
1076
1095
  * SEO metadata for the product
1077
1096
  * @export
1078
- * @interface SeoMetadata
1097
+ * @interface SEOMetadata
1079
1098
  */
1080
- export interface SeoMetadata {
1099
+ export interface SEOMetadata {
1081
1100
  /**
1082
1101
  * Meta title for the product. This appears in search engine results and social shares. If not provided, the product title will be used.
1083
1102
  * @type {string}
1084
- * @memberof SeoMetadata
1103
+ * @memberof SEOMetadata
1085
1104
  */
1086
1105
  'title'?: string;
1087
1106
  /**
1088
1107
  * Meta description for the product. This appears in search engine results and social shares. If not provided, the product description will be used.
1089
1108
  * @type {string}
1090
- * @memberof SeoMetadata
1109
+ * @memberof SEOMetadata
1091
1110
  */
1092
1111
  'description'?: string | null;
1093
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
+ }
1094
1139
  /**
1095
1140
  *
1096
1141
  * @export
@@ -1103,6 +1148,12 @@ export interface Stock {
1103
1148
  * @memberof Stock
1104
1149
  */
1105
1150
  'level'?: number;
1151
+ /**
1152
+ *
1153
+ * @type {Array<Location>}
1154
+ * @memberof Stock
1155
+ */
1156
+ 'locations'?: Array<Location>;
1106
1157
  }
1107
1158
  /**
1108
1159
  *
@@ -2115,6 +2166,15 @@ export declare const ProductsApiAxiosParamCreator: (configuration?: Configuratio
2115
2166
  * @throws {RequiredError}
2116
2167
  */
2117
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>;
2118
2178
  /**
2119
2179
  * Updates a product by a given ID.
2120
2180
  * @summary Update product
@@ -2190,6 +2250,15 @@ export declare const ProductsApiFp: (configuration?: Configuration) => {
2190
2250
  * @throws {RequiredError}
2191
2251
  */
2192
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>>;
2193
2262
  /**
2194
2263
  * Updates a product by a given ID.
2195
2264
  * @summary Update product
@@ -2255,6 +2324,14 @@ export declare const ProductsApiFactory: (configuration?: Configuration, basePat
2255
2324
  * @throws {RequiredError}
2256
2325
  */
2257
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>;
2258
2335
  /**
2259
2336
  * Updates a product by a given ID.
2260
2337
  * @summary Update product
@@ -2397,6 +2474,25 @@ export interface ProductsApiListProductsRequest {
2397
2474
  */
2398
2475
  readonly fields?: string;
2399
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
+ }
2400
2496
  /**
2401
2497
  * Request parameters for updateProduct operation in ProductsApi.
2402
2498
  * @export
@@ -2493,6 +2589,15 @@ export declare class ProductsApi extends BaseAPI {
2493
2589
  * @memberof ProductsApi
2494
2590
  */
2495
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>>;
2496
2601
  /**
2497
2602
  * Updates a product by a given ID.
2498
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.0
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.0
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.0
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.0
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.0
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.0
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.0
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.0/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.0
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.0
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.0
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.0
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.0
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.0",
3
+ "version": "1.39.0",
4
4
  "description": "OpenAPI client for @teemill/product-catalog",
5
5
  "author": "OpenAPI-Generator Contributors",
6
6
  "repository": {