@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/dist/api.js CHANGED
@@ -5,7 +5,7 @@
5
5
  * Website API
6
6
  * Manage your PodOS Website
7
7
  *
8
- * The version of the OpenAPI document: 0.11.0
8
+ * The version of the OpenAPI document: 0.13.0
9
9
  *
10
10
  *
11
11
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -469,6 +469,45 @@ const CollectionsApiAxiosParamCreator = function (configuration) {
469
469
  options: localVarRequestOptions,
470
470
  };
471
471
  }),
472
+ /**
473
+ * AI SEO optimises collections by a set of given IDs.
474
+ * @summary AI SEO optimise collections.
475
+ * @param {string} project What project it is
476
+ * @param {SeoOptimiseCollectionsRequest} [seoOptimiseCollectionsRequest] A set of collection IDs to AI SEO optimise.
477
+ * @param {*} [options] Override http request option.
478
+ * @throws {RequiredError}
479
+ */
480
+ seoOptimiseCollections: (project_1, seoOptimiseCollectionsRequest_1, ...args_1) => __awaiter(this, [project_1, seoOptimiseCollectionsRequest_1, ...args_1], void 0, function* (project, seoOptimiseCollectionsRequest, options = {}) {
481
+ // verify required parameter 'project' is not null or undefined
482
+ (0, common_1.assertParamExists)('seoOptimiseCollections', 'project', project);
483
+ const localVarPath = `/v1/website/collections/ai-seo-optimise`;
484
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
485
+ const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
486
+ let baseOptions;
487
+ if (configuration) {
488
+ baseOptions = configuration.baseOptions;
489
+ }
490
+ const localVarRequestOptions = Object.assign(Object.assign({ method: 'POST' }, baseOptions), options);
491
+ const localVarHeaderParameter = {};
492
+ const localVarQueryParameter = {};
493
+ // authentication session-oauth required
494
+ // oauth required
495
+ yield (0, common_1.setOAuthToObject)(localVarHeaderParameter, "session-oauth", [], configuration);
496
+ // authentication api-key required
497
+ yield (0, common_1.setApiKeyToObject)(localVarHeaderParameter, "Authorization", configuration);
498
+ if (project !== undefined) {
499
+ localVarQueryParameter['project'] = project;
500
+ }
501
+ localVarHeaderParameter['Content-Type'] = 'application/json';
502
+ (0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
503
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
504
+ localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
505
+ localVarRequestOptions.data = (0, common_1.serializeDataIfNeeded)(seoOptimiseCollectionsRequest, localVarRequestOptions, configuration);
506
+ return {
507
+ url: (0, common_1.toPathString)(localVarUrlObj),
508
+ options: localVarRequestOptions,
509
+ };
510
+ }),
472
511
  /**
473
512
  *
474
513
  * @summary Update website collection
@@ -592,6 +631,23 @@ const CollectionsApiFp = function (configuration) {
592
631
  return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
593
632
  });
594
633
  },
634
+ /**
635
+ * AI SEO optimises collections by a set of given IDs.
636
+ * @summary AI SEO optimise collections.
637
+ * @param {string} project What project it is
638
+ * @param {SeoOptimiseCollectionsRequest} [seoOptimiseCollectionsRequest] A set of collection IDs to AI SEO optimise.
639
+ * @param {*} [options] Override http request option.
640
+ * @throws {RequiredError}
641
+ */
642
+ seoOptimiseCollections(project, seoOptimiseCollectionsRequest, options) {
643
+ return __awaiter(this, void 0, void 0, function* () {
644
+ var _a, _b, _c;
645
+ const localVarAxiosArgs = yield localVarAxiosParamCreator.seoOptimiseCollections(project, seoOptimiseCollectionsRequest, options);
646
+ const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
647
+ const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['CollectionsApi.seoOptimiseCollections']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
648
+ return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
649
+ });
650
+ },
595
651
  /**
596
652
  *
597
653
  * @summary Update website collection
@@ -650,6 +706,16 @@ const CollectionsApiFactory = function (configuration, basePath, axios) {
650
706
  listCollections(requestParameters, options) {
651
707
  return localVarFp.listCollections(requestParameters.project, requestParameters.pageToken, requestParameters.pageSize, requestParameters.search, options).then((request) => request(axios, basePath));
652
708
  },
709
+ /**
710
+ * AI SEO optimises collections by a set of given IDs.
711
+ * @summary AI SEO optimise collections.
712
+ * @param {CollectionsApiSeoOptimiseCollectionsRequest} requestParameters Request parameters.
713
+ * @param {*} [options] Override http request option.
714
+ * @throws {RequiredError}
715
+ */
716
+ seoOptimiseCollections(requestParameters, options) {
717
+ return localVarFp.seoOptimiseCollections(requestParameters.project, requestParameters.seoOptimiseCollectionsRequest, options).then((request) => request(axios, basePath));
718
+ },
653
719
  /**
654
720
  *
655
721
  * @summary Update website collection
@@ -691,6 +757,17 @@ class CollectionsApi extends base_1.BaseAPI {
691
757
  listCollections(requestParameters, options) {
692
758
  return (0, exports.CollectionsApiFp)(this.configuration).listCollections(requestParameters.project, requestParameters.pageToken, requestParameters.pageSize, requestParameters.search, options).then((request) => request(this.axios, this.basePath));
693
759
  }
760
+ /**
761
+ * AI SEO optimises collections by a set of given IDs.
762
+ * @summary AI SEO optimise collections.
763
+ * @param {CollectionsApiSeoOptimiseCollectionsRequest} requestParameters Request parameters.
764
+ * @param {*} [options] Override http request option.
765
+ * @throws {RequiredError}
766
+ * @memberof CollectionsApi
767
+ */
768
+ seoOptimiseCollections(requestParameters, options) {
769
+ return (0, exports.CollectionsApiFp)(this.configuration).seoOptimiseCollections(requestParameters.project, requestParameters.seoOptimiseCollectionsRequest, options).then((request) => request(this.axios, this.basePath));
770
+ }
694
771
  /**
695
772
  *
696
773
  * @summary Update website collection
@@ -1155,6 +1232,45 @@ const PagesApiAxiosParamCreator = function (configuration) {
1155
1232
  options: localVarRequestOptions,
1156
1233
  };
1157
1234
  }),
1235
+ /**
1236
+ * AI SEO optimises pages by a set of given IDs.
1237
+ * @summary AI SEO optimise pages.
1238
+ * @param {string} project What project it is
1239
+ * @param {SeoOptimisePagesRequest} [seoOptimisePagesRequest] A set of page IDs to AI SEO optimise.
1240
+ * @param {*} [options] Override http request option.
1241
+ * @throws {RequiredError}
1242
+ */
1243
+ seoOptimisePages: (project_1, seoOptimisePagesRequest_1, ...args_1) => __awaiter(this, [project_1, seoOptimisePagesRequest_1, ...args_1], void 0, function* (project, seoOptimisePagesRequest, options = {}) {
1244
+ // verify required parameter 'project' is not null or undefined
1245
+ (0, common_1.assertParamExists)('seoOptimisePages', 'project', project);
1246
+ const localVarPath = `/v1/website/pages/ai-seo-optimise`;
1247
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
1248
+ const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
1249
+ let baseOptions;
1250
+ if (configuration) {
1251
+ baseOptions = configuration.baseOptions;
1252
+ }
1253
+ const localVarRequestOptions = Object.assign(Object.assign({ method: 'POST' }, baseOptions), options);
1254
+ const localVarHeaderParameter = {};
1255
+ const localVarQueryParameter = {};
1256
+ // authentication session-oauth required
1257
+ // oauth required
1258
+ yield (0, common_1.setOAuthToObject)(localVarHeaderParameter, "session-oauth", [], configuration);
1259
+ // authentication api-key required
1260
+ yield (0, common_1.setApiKeyToObject)(localVarHeaderParameter, "Authorization", configuration);
1261
+ if (project !== undefined) {
1262
+ localVarQueryParameter['project'] = project;
1263
+ }
1264
+ localVarHeaderParameter['Content-Type'] = 'application/json';
1265
+ (0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
1266
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
1267
+ localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
1268
+ localVarRequestOptions.data = (0, common_1.serializeDataIfNeeded)(seoOptimisePagesRequest, localVarRequestOptions, configuration);
1269
+ return {
1270
+ url: (0, common_1.toPathString)(localVarUrlObj),
1271
+ options: localVarRequestOptions,
1272
+ };
1273
+ }),
1158
1274
  /**
1159
1275
  *
1160
1276
  * @summary Update website page
@@ -1278,6 +1394,23 @@ const PagesApiFp = function (configuration) {
1278
1394
  return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
1279
1395
  });
1280
1396
  },
1397
+ /**
1398
+ * AI SEO optimises pages by a set of given IDs.
1399
+ * @summary AI SEO optimise pages.
1400
+ * @param {string} project What project it is
1401
+ * @param {SeoOptimisePagesRequest} [seoOptimisePagesRequest] A set of page IDs to AI SEO optimise.
1402
+ * @param {*} [options] Override http request option.
1403
+ * @throws {RequiredError}
1404
+ */
1405
+ seoOptimisePages(project, seoOptimisePagesRequest, options) {
1406
+ return __awaiter(this, void 0, void 0, function* () {
1407
+ var _a, _b, _c;
1408
+ const localVarAxiosArgs = yield localVarAxiosParamCreator.seoOptimisePages(project, seoOptimisePagesRequest, options);
1409
+ const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
1410
+ const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['PagesApi.seoOptimisePages']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
1411
+ return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
1412
+ });
1413
+ },
1281
1414
  /**
1282
1415
  *
1283
1416
  * @summary Update website page
@@ -1336,6 +1469,16 @@ const PagesApiFactory = function (configuration, basePath, axios) {
1336
1469
  listPages(requestParameters, options) {
1337
1470
  return localVarFp.listPages(requestParameters.project, requestParameters.pageToken, requestParameters.pageSize, requestParameters.search, options).then((request) => request(axios, basePath));
1338
1471
  },
1472
+ /**
1473
+ * AI SEO optimises pages by a set of given IDs.
1474
+ * @summary AI SEO optimise pages.
1475
+ * @param {PagesApiSeoOptimisePagesRequest} requestParameters Request parameters.
1476
+ * @param {*} [options] Override http request option.
1477
+ * @throws {RequiredError}
1478
+ */
1479
+ seoOptimisePages(requestParameters, options) {
1480
+ return localVarFp.seoOptimisePages(requestParameters.project, requestParameters.seoOptimisePagesRequest, options).then((request) => request(axios, basePath));
1481
+ },
1339
1482
  /**
1340
1483
  *
1341
1484
  * @summary Update website page
@@ -1377,6 +1520,17 @@ class PagesApi extends base_1.BaseAPI {
1377
1520
  listPages(requestParameters, options) {
1378
1521
  return (0, exports.PagesApiFp)(this.configuration).listPages(requestParameters.project, requestParameters.pageToken, requestParameters.pageSize, requestParameters.search, options).then((request) => request(this.axios, this.basePath));
1379
1522
  }
1523
+ /**
1524
+ * AI SEO optimises pages by a set of given IDs.
1525
+ * @summary AI SEO optimise pages.
1526
+ * @param {PagesApiSeoOptimisePagesRequest} requestParameters Request parameters.
1527
+ * @param {*} [options] Override http request option.
1528
+ * @throws {RequiredError}
1529
+ * @memberof PagesApi
1530
+ */
1531
+ seoOptimisePages(requestParameters, options) {
1532
+ return (0, exports.PagesApiFp)(this.configuration).seoOptimisePages(requestParameters.project, requestParameters.seoOptimisePagesRequest, options).then((request) => request(this.axios, this.basePath));
1533
+ }
1380
1534
  /**
1381
1535
  *
1382
1536
  * @summary Update website page
package/dist/base.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).
package/dist/base.js CHANGED
@@ -5,7 +5,7 @@
5
5
  * Website API
6
6
  * Manage your PodOS Website
7
7
  *
8
- * The version of the OpenAPI document: 0.11.0
8
+ * The version of the OpenAPI document: 0.13.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
  * 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).
@@ -62,4 +62,4 @@ export declare const toPathString: (url: URL) => string;
62
62
  *
63
63
  * @export
64
64
  */
65
- export declare const createRequestFunction: (axiosArgs: RequestArgs, globalAxios: AxiosInstance, BASE_PATH: string, configuration?: Configuration) => <T = unknown, R = AxiosResponse<T, any>>(axios?: AxiosInstance, basePath?: string) => Promise<R>;
65
+ export declare const createRequestFunction: (axiosArgs: RequestArgs, globalAxios: AxiosInstance, BASE_PATH: string, configuration?: Configuration) => <T = unknown, R = AxiosResponse<T>>(axios?: AxiosInstance, basePath?: string) => Promise<R>;
package/dist/common.js CHANGED
@@ -5,7 +5,7 @@
5
5
  * Website API
6
6
  * Manage your PodOS Website
7
7
  *
8
- * The version of the OpenAPI document: 0.11.0
8
+ * The version of the OpenAPI document: 0.13.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
  * 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).
@@ -5,7 +5,7 @@
5
5
  * Website API
6
6
  * Manage your PodOS Website
7
7
  *
8
- * The version of the OpenAPI document: 0.11.0
8
+ * The version of the OpenAPI document: 0.13.0
9
9
  *
10
10
  *
11
11
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
package/dist/esm/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