@teemill/website 0.11.0 → 0.13.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/website@0.11.0
1
+ ## @teemill/website@0.13.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/website@0.11.0 --save
39
+ npm install @teemill/website@0.13.0 --save
40
40
  ```
41
41
 
42
42
  _unPublished (not recommended):_
package/api.ts CHANGED
@@ -4,7 +4,7 @@
4
4
  * Website API
5
5
  * Manage your PodOS Website
6
6
  *
7
- * The version of the OpenAPI document: 0.11.0
7
+ * The version of the OpenAPI document: 0.13.0
8
8
  *
9
9
  *
10
10
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -859,6 +859,45 @@ export interface SeoMetadata {
859
859
  */
860
860
  'description'?: string | null;
861
861
  }
862
+ /**
863
+ *
864
+ * @export
865
+ * @interface SeoOptimiseCollectionsRequest
866
+ */
867
+ export interface SeoOptimiseCollectionsRequest {
868
+ /**
869
+ * A set of collection IDs to AI SEO optimise.
870
+ * @type {Array<string>}
871
+ * @memberof SeoOptimiseCollectionsRequest
872
+ */
873
+ 'ids'?: Array<string>;
874
+ }
875
+ /**
876
+ *
877
+ * @export
878
+ * @interface SeoOptimisePages202Response
879
+ */
880
+ export interface SeoOptimisePages202Response {
881
+ /**
882
+ * A message describing the optimisation status
883
+ * @type {string}
884
+ * @memberof SeoOptimisePages202Response
885
+ */
886
+ 'message'?: string;
887
+ }
888
+ /**
889
+ *
890
+ * @export
891
+ * @interface SeoOptimisePagesRequest
892
+ */
893
+ export interface SeoOptimisePagesRequest {
894
+ /**
895
+ * A set of page IDs to AI SEO optimise.
896
+ * @type {Array<string>}
897
+ * @memberof SeoOptimisePagesRequest
898
+ */
899
+ 'ids'?: Array<string>;
900
+ }
862
901
  /**
863
902
  *
864
903
  * @export
@@ -2461,6 +2500,54 @@ export const CollectionsApiAxiosParamCreator = function (configuration?: Configu
2461
2500
  options: localVarRequestOptions,
2462
2501
  };
2463
2502
  },
2503
+ /**
2504
+ * AI SEO optimises collections by a set of given IDs.
2505
+ * @summary AI SEO optimise collections.
2506
+ * @param {string} project What project it is
2507
+ * @param {SeoOptimiseCollectionsRequest} [seoOptimiseCollectionsRequest] A set of collection IDs to AI SEO optimise.
2508
+ * @param {*} [options] Override http request option.
2509
+ * @throws {RequiredError}
2510
+ */
2511
+ seoOptimiseCollections: async (project: string, seoOptimiseCollectionsRequest?: SeoOptimiseCollectionsRequest, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
2512
+ // verify required parameter 'project' is not null or undefined
2513
+ assertParamExists('seoOptimiseCollections', 'project', project)
2514
+ const localVarPath = `/v1/website/collections/ai-seo-optimise`;
2515
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
2516
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
2517
+ let baseOptions;
2518
+ if (configuration) {
2519
+ baseOptions = configuration.baseOptions;
2520
+ }
2521
+
2522
+ const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options};
2523
+ const localVarHeaderParameter = {} as any;
2524
+ const localVarQueryParameter = {} as any;
2525
+
2526
+ // authentication session-oauth required
2527
+ // oauth required
2528
+ await setOAuthToObject(localVarHeaderParameter, "session-oauth", [], configuration)
2529
+
2530
+ // authentication api-key required
2531
+ await setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration)
2532
+
2533
+ if (project !== undefined) {
2534
+ localVarQueryParameter['project'] = project;
2535
+ }
2536
+
2537
+
2538
+
2539
+ localVarHeaderParameter['Content-Type'] = 'application/json';
2540
+
2541
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
2542
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
2543
+ localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
2544
+ localVarRequestOptions.data = serializeDataIfNeeded(seoOptimiseCollectionsRequest, localVarRequestOptions, configuration)
2545
+
2546
+ return {
2547
+ url: toPathString(localVarUrlObj),
2548
+ options: localVarRequestOptions,
2549
+ };
2550
+ },
2464
2551
  /**
2465
2552
  *
2466
2553
  * @summary Update website collection
@@ -2602,6 +2689,20 @@ export const CollectionsApiFp = function(configuration?: Configuration) {
2602
2689
  const localVarOperationServerBasePath = operationServerMap['CollectionsApi.listCollections']?.[localVarOperationServerIndex]?.url;
2603
2690
  return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
2604
2691
  },
2692
+ /**
2693
+ * AI SEO optimises collections by a set of given IDs.
2694
+ * @summary AI SEO optimise collections.
2695
+ * @param {string} project What project it is
2696
+ * @param {SeoOptimiseCollectionsRequest} [seoOptimiseCollectionsRequest] A set of collection IDs to AI SEO optimise.
2697
+ * @param {*} [options] Override http request option.
2698
+ * @throws {RequiredError}
2699
+ */
2700
+ async seoOptimiseCollections(project: string, seoOptimiseCollectionsRequest?: SeoOptimiseCollectionsRequest, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<SeoOptimisePages202Response>> {
2701
+ const localVarAxiosArgs = await localVarAxiosParamCreator.seoOptimiseCollections(project, seoOptimiseCollectionsRequest, options);
2702
+ const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
2703
+ const localVarOperationServerBasePath = operationServerMap['CollectionsApi.seoOptimiseCollections']?.[localVarOperationServerIndex]?.url;
2704
+ return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
2705
+ },
2605
2706
  /**
2606
2707
  *
2607
2708
  * @summary Update website collection
@@ -2654,6 +2755,16 @@ export const CollectionsApiFactory = function (configuration?: Configuration, ba
2654
2755
  listCollections(requestParameters: CollectionsApiListCollectionsRequest, options?: RawAxiosRequestConfig): AxiosPromise<CollectionsResponse> {
2655
2756
  return localVarFp.listCollections(requestParameters.project, requestParameters.pageToken, requestParameters.pageSize, requestParameters.search, options).then((request) => request(axios, basePath));
2656
2757
  },
2758
+ /**
2759
+ * AI SEO optimises collections by a set of given IDs.
2760
+ * @summary AI SEO optimise collections.
2761
+ * @param {CollectionsApiSeoOptimiseCollectionsRequest} requestParameters Request parameters.
2762
+ * @param {*} [options] Override http request option.
2763
+ * @throws {RequiredError}
2764
+ */
2765
+ seoOptimiseCollections(requestParameters: CollectionsApiSeoOptimiseCollectionsRequest, options?: RawAxiosRequestConfig): AxiosPromise<SeoOptimisePages202Response> {
2766
+ return localVarFp.seoOptimiseCollections(requestParameters.project, requestParameters.seoOptimiseCollectionsRequest, options).then((request) => request(axios, basePath));
2767
+ },
2657
2768
  /**
2658
2769
  *
2659
2770
  * @summary Update website collection
@@ -2712,6 +2823,27 @@ export interface CollectionsApiListCollectionsRequest {
2712
2823
  readonly search?: string
2713
2824
  }
2714
2825
 
2826
+ /**
2827
+ * Request parameters for seoOptimiseCollections operation in CollectionsApi.
2828
+ * @export
2829
+ * @interface CollectionsApiSeoOptimiseCollectionsRequest
2830
+ */
2831
+ export interface CollectionsApiSeoOptimiseCollectionsRequest {
2832
+ /**
2833
+ * What project it is
2834
+ * @type {string}
2835
+ * @memberof CollectionsApiSeoOptimiseCollections
2836
+ */
2837
+ readonly project: string
2838
+
2839
+ /**
2840
+ * A set of collection IDs to AI SEO optimise.
2841
+ * @type {SeoOptimiseCollectionsRequest}
2842
+ * @memberof CollectionsApiSeoOptimiseCollections
2843
+ */
2844
+ readonly seoOptimiseCollectionsRequest?: SeoOptimiseCollectionsRequest
2845
+ }
2846
+
2715
2847
  /**
2716
2848
  * Request parameters for updateCollection operation in CollectionsApi.
2717
2849
  * @export
@@ -2801,6 +2933,18 @@ export class CollectionsApi extends BaseAPI {
2801
2933
  return CollectionsApiFp(this.configuration).listCollections(requestParameters.project, requestParameters.pageToken, requestParameters.pageSize, requestParameters.search, options).then((request) => request(this.axios, this.basePath));
2802
2934
  }
2803
2935
 
2936
+ /**
2937
+ * AI SEO optimises collections by a set of given IDs.
2938
+ * @summary AI SEO optimise collections.
2939
+ * @param {CollectionsApiSeoOptimiseCollectionsRequest} requestParameters Request parameters.
2940
+ * @param {*} [options] Override http request option.
2941
+ * @throws {RequiredError}
2942
+ * @memberof CollectionsApi
2943
+ */
2944
+ public seoOptimiseCollections(requestParameters: CollectionsApiSeoOptimiseCollectionsRequest, options?: RawAxiosRequestConfig) {
2945
+ return CollectionsApiFp(this.configuration).seoOptimiseCollections(requestParameters.project, requestParameters.seoOptimiseCollectionsRequest, options).then((request) => request(this.axios, this.basePath));
2946
+ }
2947
+
2804
2948
  /**
2805
2949
  *
2806
2950
  * @summary Update website collection
@@ -3391,6 +3535,54 @@ export const PagesApiAxiosParamCreator = function (configuration?: Configuration
3391
3535
  options: localVarRequestOptions,
3392
3536
  };
3393
3537
  },
3538
+ /**
3539
+ * AI SEO optimises pages by a set of given IDs.
3540
+ * @summary AI SEO optimise pages.
3541
+ * @param {string} project What project it is
3542
+ * @param {SeoOptimisePagesRequest} [seoOptimisePagesRequest] A set of page IDs to AI SEO optimise.
3543
+ * @param {*} [options] Override http request option.
3544
+ * @throws {RequiredError}
3545
+ */
3546
+ seoOptimisePages: async (project: string, seoOptimisePagesRequest?: SeoOptimisePagesRequest, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
3547
+ // verify required parameter 'project' is not null or undefined
3548
+ assertParamExists('seoOptimisePages', 'project', project)
3549
+ const localVarPath = `/v1/website/pages/ai-seo-optimise`;
3550
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
3551
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
3552
+ let baseOptions;
3553
+ if (configuration) {
3554
+ baseOptions = configuration.baseOptions;
3555
+ }
3556
+
3557
+ const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options};
3558
+ const localVarHeaderParameter = {} as any;
3559
+ const localVarQueryParameter = {} as any;
3560
+
3561
+ // authentication session-oauth required
3562
+ // oauth required
3563
+ await setOAuthToObject(localVarHeaderParameter, "session-oauth", [], configuration)
3564
+
3565
+ // authentication api-key required
3566
+ await setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration)
3567
+
3568
+ if (project !== undefined) {
3569
+ localVarQueryParameter['project'] = project;
3570
+ }
3571
+
3572
+
3573
+
3574
+ localVarHeaderParameter['Content-Type'] = 'application/json';
3575
+
3576
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
3577
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
3578
+ localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
3579
+ localVarRequestOptions.data = serializeDataIfNeeded(seoOptimisePagesRequest, localVarRequestOptions, configuration)
3580
+
3581
+ return {
3582
+ url: toPathString(localVarUrlObj),
3583
+ options: localVarRequestOptions,
3584
+ };
3585
+ },
3394
3586
  /**
3395
3587
  *
3396
3588
  * @summary Update website page
@@ -3532,6 +3724,20 @@ export const PagesApiFp = function(configuration?: Configuration) {
3532
3724
  const localVarOperationServerBasePath = operationServerMap['PagesApi.listPages']?.[localVarOperationServerIndex]?.url;
3533
3725
  return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
3534
3726
  },
3727
+ /**
3728
+ * AI SEO optimises pages by a set of given IDs.
3729
+ * @summary AI SEO optimise pages.
3730
+ * @param {string} project What project it is
3731
+ * @param {SeoOptimisePagesRequest} [seoOptimisePagesRequest] A set of page IDs to AI SEO optimise.
3732
+ * @param {*} [options] Override http request option.
3733
+ * @throws {RequiredError}
3734
+ */
3735
+ async seoOptimisePages(project: string, seoOptimisePagesRequest?: SeoOptimisePagesRequest, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<SeoOptimisePages202Response>> {
3736
+ const localVarAxiosArgs = await localVarAxiosParamCreator.seoOptimisePages(project, seoOptimisePagesRequest, options);
3737
+ const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
3738
+ const localVarOperationServerBasePath = operationServerMap['PagesApi.seoOptimisePages']?.[localVarOperationServerIndex]?.url;
3739
+ return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
3740
+ },
3535
3741
  /**
3536
3742
  *
3537
3743
  * @summary Update website page
@@ -3584,6 +3790,16 @@ export const PagesApiFactory = function (configuration?: Configuration, basePath
3584
3790
  listPages(requestParameters: PagesApiListPagesRequest, options?: RawAxiosRequestConfig): AxiosPromise<PagesResponse> {
3585
3791
  return localVarFp.listPages(requestParameters.project, requestParameters.pageToken, requestParameters.pageSize, requestParameters.search, options).then((request) => request(axios, basePath));
3586
3792
  },
3793
+ /**
3794
+ * AI SEO optimises pages by a set of given IDs.
3795
+ * @summary AI SEO optimise pages.
3796
+ * @param {PagesApiSeoOptimisePagesRequest} requestParameters Request parameters.
3797
+ * @param {*} [options] Override http request option.
3798
+ * @throws {RequiredError}
3799
+ */
3800
+ seoOptimisePages(requestParameters: PagesApiSeoOptimisePagesRequest, options?: RawAxiosRequestConfig): AxiosPromise<SeoOptimisePages202Response> {
3801
+ return localVarFp.seoOptimisePages(requestParameters.project, requestParameters.seoOptimisePagesRequest, options).then((request) => request(axios, basePath));
3802
+ },
3587
3803
  /**
3588
3804
  *
3589
3805
  * @summary Update website page
@@ -3642,6 +3858,27 @@ export interface PagesApiListPagesRequest {
3642
3858
  readonly search?: string
3643
3859
  }
3644
3860
 
3861
+ /**
3862
+ * Request parameters for seoOptimisePages operation in PagesApi.
3863
+ * @export
3864
+ * @interface PagesApiSeoOptimisePagesRequest
3865
+ */
3866
+ export interface PagesApiSeoOptimisePagesRequest {
3867
+ /**
3868
+ * What project it is
3869
+ * @type {string}
3870
+ * @memberof PagesApiSeoOptimisePages
3871
+ */
3872
+ readonly project: string
3873
+
3874
+ /**
3875
+ * A set of page IDs to AI SEO optimise.
3876
+ * @type {SeoOptimisePagesRequest}
3877
+ * @memberof PagesApiSeoOptimisePages
3878
+ */
3879
+ readonly seoOptimisePagesRequest?: SeoOptimisePagesRequest
3880
+ }
3881
+
3645
3882
  /**
3646
3883
  * Request parameters for updatePage operation in PagesApi.
3647
3884
  * @export
@@ -3731,6 +3968,18 @@ export class PagesApi extends BaseAPI {
3731
3968
  return PagesApiFp(this.configuration).listPages(requestParameters.project, requestParameters.pageToken, requestParameters.pageSize, requestParameters.search, options).then((request) => request(this.axios, this.basePath));
3732
3969
  }
3733
3970
 
3971
+ /**
3972
+ * AI SEO optimises pages by a set of given IDs.
3973
+ * @summary AI SEO optimise pages.
3974
+ * @param {PagesApiSeoOptimisePagesRequest} requestParameters Request parameters.
3975
+ * @param {*} [options] Override http request option.
3976
+ * @throws {RequiredError}
3977
+ * @memberof PagesApi
3978
+ */
3979
+ public seoOptimisePages(requestParameters: PagesApiSeoOptimisePagesRequest, options?: RawAxiosRequestConfig) {
3980
+ return PagesApiFp(this.configuration).seoOptimisePages(requestParameters.project, requestParameters.seoOptimisePagesRequest, options).then((request) => request(this.axios, this.basePath));
3981
+ }
3982
+
3734
3983
  /**
3735
3984
  *
3736
3985
  * @summary Update website page
package/base.ts CHANGED
@@ -4,7 +4,7 @@
4
4
  * Website API
5
5
  * Manage your PodOS Website
6
6
  *
7
- * The version of the OpenAPI document: 0.11.0
7
+ * The version of the OpenAPI document: 0.13.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
  * Website API
5
5
  * Manage your PodOS Website
6
6
  *
7
- * The version of the OpenAPI document: 0.11.0
7
+ * The version of the OpenAPI document: 0.13.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
  * Website API
5
5
  * Manage your PodOS Website
6
6
  *
7
- * The version of the OpenAPI document: 0.11.0
7
+ * The version of the OpenAPI document: 0.13.0
8
8
  *
9
9
  *
10
10
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
package/dist/api.d.ts CHANGED
@@ -2,7 +2,7 @@
2
2
  * Website API
3
3
  * Manage your PodOS Website
4
4
  *
5
- * The version of the OpenAPI document: 0.11.0
5
+ * The version of the OpenAPI document: 0.13.0
6
6
  *
7
7
  *
8
8
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -838,6 +838,45 @@ export interface SeoMetadata {
838
838
  */
839
839
  'description'?: string | null;
840
840
  }
841
+ /**
842
+ *
843
+ * @export
844
+ * @interface SeoOptimiseCollectionsRequest
845
+ */
846
+ export interface SeoOptimiseCollectionsRequest {
847
+ /**
848
+ * A set of collection IDs to AI SEO optimise.
849
+ * @type {Array<string>}
850
+ * @memberof SeoOptimiseCollectionsRequest
851
+ */
852
+ 'ids'?: Array<string>;
853
+ }
854
+ /**
855
+ *
856
+ * @export
857
+ * @interface SeoOptimisePages202Response
858
+ */
859
+ export interface SeoOptimisePages202Response {
860
+ /**
861
+ * A message describing the optimisation status
862
+ * @type {string}
863
+ * @memberof SeoOptimisePages202Response
864
+ */
865
+ 'message'?: string;
866
+ }
867
+ /**
868
+ *
869
+ * @export
870
+ * @interface SeoOptimisePagesRequest
871
+ */
872
+ export interface SeoOptimisePagesRequest {
873
+ /**
874
+ * A set of page IDs to AI SEO optimise.
875
+ * @type {Array<string>}
876
+ * @memberof SeoOptimisePagesRequest
877
+ */
878
+ 'ids'?: Array<string>;
879
+ }
841
880
  /**
842
881
  *
843
882
  * @export
@@ -2169,6 +2208,15 @@ export declare const CollectionsApiAxiosParamCreator: (configuration?: Configura
2169
2208
  * @throws {RequiredError}
2170
2209
  */
2171
2210
  listCollections: (project: string, pageToken?: number, pageSize?: number, search?: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
2211
+ /**
2212
+ * AI SEO optimises collections by a set of given IDs.
2213
+ * @summary AI SEO optimise collections.
2214
+ * @param {string} project What project it is
2215
+ * @param {SeoOptimiseCollectionsRequest} [seoOptimiseCollectionsRequest] A set of collection IDs to AI SEO optimise.
2216
+ * @param {*} [options] Override http request option.
2217
+ * @throws {RequiredError}
2218
+ */
2219
+ seoOptimiseCollections: (project: string, seoOptimiseCollectionsRequest?: SeoOptimiseCollectionsRequest, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
2172
2220
  /**
2173
2221
  *
2174
2222
  * @summary Update website collection
@@ -2208,6 +2256,15 @@ export declare const CollectionsApiFp: (configuration?: Configuration) => {
2208
2256
  * @throws {RequiredError}
2209
2257
  */
2210
2258
  listCollections(project: string, pageToken?: number, pageSize?: number, search?: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<CollectionsResponse>>;
2259
+ /**
2260
+ * AI SEO optimises collections by a set of given IDs.
2261
+ * @summary AI SEO optimise collections.
2262
+ * @param {string} project What project it is
2263
+ * @param {SeoOptimiseCollectionsRequest} [seoOptimiseCollectionsRequest] A set of collection IDs to AI SEO optimise.
2264
+ * @param {*} [options] Override http request option.
2265
+ * @throws {RequiredError}
2266
+ */
2267
+ seoOptimiseCollections(project: string, seoOptimiseCollectionsRequest?: SeoOptimiseCollectionsRequest, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<SeoOptimisePages202Response>>;
2211
2268
  /**
2212
2269
  *
2213
2270
  * @summary Update website collection
@@ -2244,6 +2301,14 @@ export declare const CollectionsApiFactory: (configuration?: Configuration, base
2244
2301
  * @throws {RequiredError}
2245
2302
  */
2246
2303
  listCollections(requestParameters: CollectionsApiListCollectionsRequest, options?: RawAxiosRequestConfig): AxiosPromise<CollectionsResponse>;
2304
+ /**
2305
+ * AI SEO optimises collections by a set of given IDs.
2306
+ * @summary AI SEO optimise collections.
2307
+ * @param {CollectionsApiSeoOptimiseCollectionsRequest} requestParameters Request parameters.
2308
+ * @param {*} [options] Override http request option.
2309
+ * @throws {RequiredError}
2310
+ */
2311
+ seoOptimiseCollections(requestParameters: CollectionsApiSeoOptimiseCollectionsRequest, options?: RawAxiosRequestConfig): AxiosPromise<SeoOptimisePages202Response>;
2247
2312
  /**
2248
2313
  *
2249
2314
  * @summary Update website collection
@@ -2292,6 +2357,25 @@ export interface CollectionsApiListCollectionsRequest {
2292
2357
  */
2293
2358
  readonly search?: string;
2294
2359
  }
2360
+ /**
2361
+ * Request parameters for seoOptimiseCollections operation in CollectionsApi.
2362
+ * @export
2363
+ * @interface CollectionsApiSeoOptimiseCollectionsRequest
2364
+ */
2365
+ export interface CollectionsApiSeoOptimiseCollectionsRequest {
2366
+ /**
2367
+ * What project it is
2368
+ * @type {string}
2369
+ * @memberof CollectionsApiSeoOptimiseCollections
2370
+ */
2371
+ readonly project: string;
2372
+ /**
2373
+ * A set of collection IDs to AI SEO optimise.
2374
+ * @type {SeoOptimiseCollectionsRequest}
2375
+ * @memberof CollectionsApiSeoOptimiseCollections
2376
+ */
2377
+ readonly seoOptimiseCollectionsRequest?: SeoOptimiseCollectionsRequest;
2378
+ }
2295
2379
  /**
2296
2380
  * Request parameters for updateCollection operation in CollectionsApi.
2297
2381
  * @export
@@ -2370,6 +2454,15 @@ export declare class CollectionsApi extends BaseAPI {
2370
2454
  * @memberof CollectionsApi
2371
2455
  */
2372
2456
  listCollections(requestParameters: CollectionsApiListCollectionsRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<CollectionsResponse, any>>;
2457
+ /**
2458
+ * AI SEO optimises collections by a set of given IDs.
2459
+ * @summary AI SEO optimise collections.
2460
+ * @param {CollectionsApiSeoOptimiseCollectionsRequest} requestParameters Request parameters.
2461
+ * @param {*} [options] Override http request option.
2462
+ * @throws {RequiredError}
2463
+ * @memberof CollectionsApi
2464
+ */
2465
+ seoOptimiseCollections(requestParameters: CollectionsApiSeoOptimiseCollectionsRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<SeoOptimisePages202Response, any>>;
2373
2466
  /**
2374
2467
  *
2375
2468
  * @summary Update website collection
@@ -2673,6 +2766,15 @@ export declare const PagesApiAxiosParamCreator: (configuration?: Configuration)
2673
2766
  * @throws {RequiredError}
2674
2767
  */
2675
2768
  listPages: (project: string, pageToken?: number, pageSize?: number, search?: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
2769
+ /**
2770
+ * AI SEO optimises pages by a set of given IDs.
2771
+ * @summary AI SEO optimise pages.
2772
+ * @param {string} project What project it is
2773
+ * @param {SeoOptimisePagesRequest} [seoOptimisePagesRequest] A set of page IDs to AI SEO optimise.
2774
+ * @param {*} [options] Override http request option.
2775
+ * @throws {RequiredError}
2776
+ */
2777
+ seoOptimisePages: (project: string, seoOptimisePagesRequest?: SeoOptimisePagesRequest, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
2676
2778
  /**
2677
2779
  *
2678
2780
  * @summary Update website page
@@ -2712,6 +2814,15 @@ export declare const PagesApiFp: (configuration?: Configuration) => {
2712
2814
  * @throws {RequiredError}
2713
2815
  */
2714
2816
  listPages(project: string, pageToken?: number, pageSize?: number, search?: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<PagesResponse>>;
2817
+ /**
2818
+ * AI SEO optimises pages by a set of given IDs.
2819
+ * @summary AI SEO optimise pages.
2820
+ * @param {string} project What project it is
2821
+ * @param {SeoOptimisePagesRequest} [seoOptimisePagesRequest] A set of page IDs to AI SEO optimise.
2822
+ * @param {*} [options] Override http request option.
2823
+ * @throws {RequiredError}
2824
+ */
2825
+ seoOptimisePages(project: string, seoOptimisePagesRequest?: SeoOptimisePagesRequest, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<SeoOptimisePages202Response>>;
2715
2826
  /**
2716
2827
  *
2717
2828
  * @summary Update website page
@@ -2748,6 +2859,14 @@ export declare const PagesApiFactory: (configuration?: Configuration, basePath?:
2748
2859
  * @throws {RequiredError}
2749
2860
  */
2750
2861
  listPages(requestParameters: PagesApiListPagesRequest, options?: RawAxiosRequestConfig): AxiosPromise<PagesResponse>;
2862
+ /**
2863
+ * AI SEO optimises pages by a set of given IDs.
2864
+ * @summary AI SEO optimise pages.
2865
+ * @param {PagesApiSeoOptimisePagesRequest} requestParameters Request parameters.
2866
+ * @param {*} [options] Override http request option.
2867
+ * @throws {RequiredError}
2868
+ */
2869
+ seoOptimisePages(requestParameters: PagesApiSeoOptimisePagesRequest, options?: RawAxiosRequestConfig): AxiosPromise<SeoOptimisePages202Response>;
2751
2870
  /**
2752
2871
  *
2753
2872
  * @summary Update website page
@@ -2796,6 +2915,25 @@ export interface PagesApiListPagesRequest {
2796
2915
  */
2797
2916
  readonly search?: string;
2798
2917
  }
2918
+ /**
2919
+ * Request parameters for seoOptimisePages operation in PagesApi.
2920
+ * @export
2921
+ * @interface PagesApiSeoOptimisePagesRequest
2922
+ */
2923
+ export interface PagesApiSeoOptimisePagesRequest {
2924
+ /**
2925
+ * What project it is
2926
+ * @type {string}
2927
+ * @memberof PagesApiSeoOptimisePages
2928
+ */
2929
+ readonly project: string;
2930
+ /**
2931
+ * A set of page IDs to AI SEO optimise.
2932
+ * @type {SeoOptimisePagesRequest}
2933
+ * @memberof PagesApiSeoOptimisePages
2934
+ */
2935
+ readonly seoOptimisePagesRequest?: SeoOptimisePagesRequest;
2936
+ }
2799
2937
  /**
2800
2938
  * Request parameters for updatePage operation in PagesApi.
2801
2939
  * @export
@@ -2874,6 +3012,15 @@ export declare class PagesApi extends BaseAPI {
2874
3012
  * @memberof PagesApi
2875
3013
  */
2876
3014
  listPages(requestParameters: PagesApiListPagesRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<PagesResponse, any>>;
3015
+ /**
3016
+ * AI SEO optimises pages by a set of given IDs.
3017
+ * @summary AI SEO optimise pages.
3018
+ * @param {PagesApiSeoOptimisePagesRequest} requestParameters Request parameters.
3019
+ * @param {*} [options] Override http request option.
3020
+ * @throws {RequiredError}
3021
+ * @memberof PagesApi
3022
+ */
3023
+ seoOptimisePages(requestParameters: PagesApiSeoOptimisePagesRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<SeoOptimisePages202Response, any>>;
2877
3024
  /**
2878
3025
  *
2879
3026
  * @summary Update website page