@teemill/website 0.17.0 → 0.18.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 +2 -2
- package/api.ts +301 -9
- package/base.ts +1 -1
- package/common.ts +1 -1
- package/configuration.ts +1 -1
- package/dist/api.d.ts +160 -9
- package/dist/api.js +228 -9
- package/dist/base.d.ts +1 -1
- package/dist/base.js +1 -1
- package/dist/common.d.ts +1 -1
- package/dist/common.js +1 -1
- package/dist/configuration.d.ts +1 -1
- package/dist/configuration.js +1 -1
- package/dist/esm/api.d.ts +160 -9
- package/dist/esm/api.js +228 -9
- package/dist/esm/base.d.ts +1 -1
- package/dist/esm/base.js +1 -1
- package/dist/esm/common.d.ts +1 -1
- package/dist/esm/common.js +1 -1
- package/dist/esm/configuration.d.ts +1 -1
- package/dist/esm/configuration.js +1 -1
- package/dist/esm/index.d.ts +1 -1
- package/dist/esm/index.js +1 -1
- package/dist/index.d.ts +1 -1
- package/dist/index.js +1 -1
- package/index.ts +1 -1
- package/package.json +1 -1
package/dist/esm/api.js
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.
|
|
7
|
+
* The version of the OpenAPI document: 0.18.0
|
|
8
8
|
*
|
|
9
9
|
*
|
|
10
10
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -118,6 +118,42 @@ export const UpdateMenuRequestItemSubmenuInnerImageTextShadowEnum = {
|
|
|
118
118
|
*/
|
|
119
119
|
export const BlogsApiAxiosParamCreator = function (configuration) {
|
|
120
120
|
return {
|
|
121
|
+
/**
|
|
122
|
+
* Export blogs as a CSV file.
|
|
123
|
+
* @summary Export blogs
|
|
124
|
+
* @param {string} project What project it is
|
|
125
|
+
* @param {*} [options] Override http request option.
|
|
126
|
+
* @throws {RequiredError}
|
|
127
|
+
*/
|
|
128
|
+
exportBlogs: (project_1, ...args_1) => __awaiter(this, [project_1, ...args_1], void 0, function* (project, options = {}) {
|
|
129
|
+
// verify required parameter 'project' is not null or undefined
|
|
130
|
+
assertParamExists('exportBlogs', 'project', project);
|
|
131
|
+
const localVarPath = `/v1/website/blogs/export`;
|
|
132
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
133
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
134
|
+
let baseOptions;
|
|
135
|
+
if (configuration) {
|
|
136
|
+
baseOptions = configuration.baseOptions;
|
|
137
|
+
}
|
|
138
|
+
const localVarRequestOptions = Object.assign(Object.assign({ method: 'GET' }, baseOptions), options);
|
|
139
|
+
const localVarHeaderParameter = {};
|
|
140
|
+
const localVarQueryParameter = {};
|
|
141
|
+
// authentication session-oauth required
|
|
142
|
+
// oauth required
|
|
143
|
+
yield setOAuthToObject(localVarHeaderParameter, "session-oauth", [], configuration);
|
|
144
|
+
// authentication api-key required
|
|
145
|
+
yield setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration);
|
|
146
|
+
if (project !== undefined) {
|
|
147
|
+
localVarQueryParameter['project'] = project;
|
|
148
|
+
}
|
|
149
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
150
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
151
|
+
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
152
|
+
return {
|
|
153
|
+
url: toPathString(localVarUrlObj),
|
|
154
|
+
options: localVarRequestOptions,
|
|
155
|
+
};
|
|
156
|
+
}),
|
|
121
157
|
/**
|
|
122
158
|
*
|
|
123
159
|
* @summary Get website blog post
|
|
@@ -309,6 +345,22 @@ export const BlogsApiAxiosParamCreator = function (configuration) {
|
|
|
309
345
|
export const BlogsApiFp = function (configuration) {
|
|
310
346
|
const localVarAxiosParamCreator = BlogsApiAxiosParamCreator(configuration);
|
|
311
347
|
return {
|
|
348
|
+
/**
|
|
349
|
+
* Export blogs as a CSV file.
|
|
350
|
+
* @summary Export blogs
|
|
351
|
+
* @param {string} project What project it is
|
|
352
|
+
* @param {*} [options] Override http request option.
|
|
353
|
+
* @throws {RequiredError}
|
|
354
|
+
*/
|
|
355
|
+
exportBlogs(project, options) {
|
|
356
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
357
|
+
var _a, _b, _c;
|
|
358
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.exportBlogs(project, options);
|
|
359
|
+
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
360
|
+
const localVarOperationServerBasePath = (_c = (_b = operationServerMap['BlogsApi.exportBlogs']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
361
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
362
|
+
});
|
|
363
|
+
},
|
|
312
364
|
/**
|
|
313
365
|
*
|
|
314
366
|
* @summary Get website blog post
|
|
@@ -392,6 +444,16 @@ export const BlogsApiFp = function (configuration) {
|
|
|
392
444
|
export const BlogsApiFactory = function (configuration, basePath, axios) {
|
|
393
445
|
const localVarFp = BlogsApiFp(configuration);
|
|
394
446
|
return {
|
|
447
|
+
/**
|
|
448
|
+
* Export blogs as a CSV file.
|
|
449
|
+
* @summary Export blogs
|
|
450
|
+
* @param {BlogsApiExportBlogsRequest} requestParameters Request parameters.
|
|
451
|
+
* @param {*} [options] Override http request option.
|
|
452
|
+
* @throws {RequiredError}
|
|
453
|
+
*/
|
|
454
|
+
exportBlogs(requestParameters, options) {
|
|
455
|
+
return localVarFp.exportBlogs(requestParameters.project, options).then((request) => request(axios, basePath));
|
|
456
|
+
},
|
|
395
457
|
/**
|
|
396
458
|
*
|
|
397
459
|
* @summary Get website blog post
|
|
@@ -441,6 +503,17 @@ export const BlogsApiFactory = function (configuration, basePath, axios) {
|
|
|
441
503
|
* @extends {BaseAPI}
|
|
442
504
|
*/
|
|
443
505
|
export class BlogsApi extends BaseAPI {
|
|
506
|
+
/**
|
|
507
|
+
* Export blogs as a CSV file.
|
|
508
|
+
* @summary Export blogs
|
|
509
|
+
* @param {BlogsApiExportBlogsRequest} requestParameters Request parameters.
|
|
510
|
+
* @param {*} [options] Override http request option.
|
|
511
|
+
* @throws {RequiredError}
|
|
512
|
+
* @memberof BlogsApi
|
|
513
|
+
*/
|
|
514
|
+
exportBlogs(requestParameters, options) {
|
|
515
|
+
return BlogsApiFp(this.configuration).exportBlogs(requestParameters.project, options).then((request) => request(this.axios, this.basePath));
|
|
516
|
+
}
|
|
444
517
|
/**
|
|
445
518
|
*
|
|
446
519
|
* @summary Get website blog post
|
|
@@ -492,6 +565,42 @@ export class BlogsApi extends BaseAPI {
|
|
|
492
565
|
*/
|
|
493
566
|
export const CollectionsApiAxiosParamCreator = function (configuration) {
|
|
494
567
|
return {
|
|
568
|
+
/**
|
|
569
|
+
* Export collections as a CSV file.
|
|
570
|
+
* @summary Export collections
|
|
571
|
+
* @param {string} project What project it is
|
|
572
|
+
* @param {*} [options] Override http request option.
|
|
573
|
+
* @throws {RequiredError}
|
|
574
|
+
*/
|
|
575
|
+
exportCollections: (project_1, ...args_1) => __awaiter(this, [project_1, ...args_1], void 0, function* (project, options = {}) {
|
|
576
|
+
// verify required parameter 'project' is not null or undefined
|
|
577
|
+
assertParamExists('exportCollections', 'project', project);
|
|
578
|
+
const localVarPath = `/v1/website/collections/export`;
|
|
579
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
580
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
581
|
+
let baseOptions;
|
|
582
|
+
if (configuration) {
|
|
583
|
+
baseOptions = configuration.baseOptions;
|
|
584
|
+
}
|
|
585
|
+
const localVarRequestOptions = Object.assign(Object.assign({ method: 'GET' }, baseOptions), options);
|
|
586
|
+
const localVarHeaderParameter = {};
|
|
587
|
+
const localVarQueryParameter = {};
|
|
588
|
+
// authentication session-oauth required
|
|
589
|
+
// oauth required
|
|
590
|
+
yield setOAuthToObject(localVarHeaderParameter, "session-oauth", [], configuration);
|
|
591
|
+
// authentication api-key required
|
|
592
|
+
yield setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration);
|
|
593
|
+
if (project !== undefined) {
|
|
594
|
+
localVarQueryParameter['project'] = project;
|
|
595
|
+
}
|
|
596
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
597
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
598
|
+
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
599
|
+
return {
|
|
600
|
+
url: toPathString(localVarUrlObj),
|
|
601
|
+
options: localVarRequestOptions,
|
|
602
|
+
};
|
|
603
|
+
}),
|
|
495
604
|
/**
|
|
496
605
|
*
|
|
497
606
|
* @summary Get website collection
|
|
@@ -582,7 +691,7 @@ export const CollectionsApiAxiosParamCreator = function (configuration) {
|
|
|
582
691
|
}),
|
|
583
692
|
/**
|
|
584
693
|
* AI SEO optimises collections by a set of given IDs.
|
|
585
|
-
* @summary AI SEO optimise collections
|
|
694
|
+
* @summary AI SEO optimise collections
|
|
586
695
|
* @param {string} project What project it is
|
|
587
696
|
* @param {SeoOptimiseCollectionsRequest} [seoOptimiseCollectionsRequest] A set of collection IDs to AI SEO optimise.
|
|
588
697
|
* @param {*} [options] Override http request option.
|
|
@@ -722,6 +831,22 @@ export const CollectionsApiAxiosParamCreator = function (configuration) {
|
|
|
722
831
|
export const CollectionsApiFp = function (configuration) {
|
|
723
832
|
const localVarAxiosParamCreator = CollectionsApiAxiosParamCreator(configuration);
|
|
724
833
|
return {
|
|
834
|
+
/**
|
|
835
|
+
* Export collections as a CSV file.
|
|
836
|
+
* @summary Export collections
|
|
837
|
+
* @param {string} project What project it is
|
|
838
|
+
* @param {*} [options] Override http request option.
|
|
839
|
+
* @throws {RequiredError}
|
|
840
|
+
*/
|
|
841
|
+
exportCollections(project, options) {
|
|
842
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
843
|
+
var _a, _b, _c;
|
|
844
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.exportCollections(project, options);
|
|
845
|
+
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
846
|
+
const localVarOperationServerBasePath = (_c = (_b = operationServerMap['CollectionsApi.exportCollections']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
847
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
848
|
+
});
|
|
849
|
+
},
|
|
725
850
|
/**
|
|
726
851
|
*
|
|
727
852
|
* @summary Get website collection
|
|
@@ -760,7 +885,7 @@ export const CollectionsApiFp = function (configuration) {
|
|
|
760
885
|
},
|
|
761
886
|
/**
|
|
762
887
|
* AI SEO optimises collections by a set of given IDs.
|
|
763
|
-
* @summary AI SEO optimise collections
|
|
888
|
+
* @summary AI SEO optimise collections
|
|
764
889
|
* @param {string} project What project it is
|
|
765
890
|
* @param {SeoOptimiseCollectionsRequest} [seoOptimiseCollectionsRequest] A set of collection IDs to AI SEO optimise.
|
|
766
891
|
* @param {*} [options] Override http request option.
|
|
@@ -822,6 +947,16 @@ export const CollectionsApiFp = function (configuration) {
|
|
|
822
947
|
export const CollectionsApiFactory = function (configuration, basePath, axios) {
|
|
823
948
|
const localVarFp = CollectionsApiFp(configuration);
|
|
824
949
|
return {
|
|
950
|
+
/**
|
|
951
|
+
* Export collections as a CSV file.
|
|
952
|
+
* @summary Export collections
|
|
953
|
+
* @param {CollectionsApiExportCollectionsRequest} requestParameters Request parameters.
|
|
954
|
+
* @param {*} [options] Override http request option.
|
|
955
|
+
* @throws {RequiredError}
|
|
956
|
+
*/
|
|
957
|
+
exportCollections(requestParameters, options) {
|
|
958
|
+
return localVarFp.exportCollections(requestParameters.project, options).then((request) => request(axios, basePath));
|
|
959
|
+
},
|
|
825
960
|
/**
|
|
826
961
|
*
|
|
827
962
|
* @summary Get website collection
|
|
@@ -844,7 +979,7 @@ export const CollectionsApiFactory = function (configuration, basePath, axios) {
|
|
|
844
979
|
},
|
|
845
980
|
/**
|
|
846
981
|
* AI SEO optimises collections by a set of given IDs.
|
|
847
|
-
* @summary AI SEO optimise collections
|
|
982
|
+
* @summary AI SEO optimise collections
|
|
848
983
|
* @param {CollectionsApiSeoOptimiseCollectionsRequest} requestParameters Request parameters.
|
|
849
984
|
* @param {*} [options] Override http request option.
|
|
850
985
|
* @throws {RequiredError}
|
|
@@ -881,6 +1016,17 @@ export const CollectionsApiFactory = function (configuration, basePath, axios) {
|
|
|
881
1016
|
* @extends {BaseAPI}
|
|
882
1017
|
*/
|
|
883
1018
|
export class CollectionsApi extends BaseAPI {
|
|
1019
|
+
/**
|
|
1020
|
+
* Export collections as a CSV file.
|
|
1021
|
+
* @summary Export collections
|
|
1022
|
+
* @param {CollectionsApiExportCollectionsRequest} requestParameters Request parameters.
|
|
1023
|
+
* @param {*} [options] Override http request option.
|
|
1024
|
+
* @throws {RequiredError}
|
|
1025
|
+
* @memberof CollectionsApi
|
|
1026
|
+
*/
|
|
1027
|
+
exportCollections(requestParameters, options) {
|
|
1028
|
+
return CollectionsApiFp(this.configuration).exportCollections(requestParameters.project, options).then((request) => request(this.axios, this.basePath));
|
|
1029
|
+
}
|
|
884
1030
|
/**
|
|
885
1031
|
*
|
|
886
1032
|
* @summary Get website collection
|
|
@@ -905,7 +1051,7 @@ export class CollectionsApi extends BaseAPI {
|
|
|
905
1051
|
}
|
|
906
1052
|
/**
|
|
907
1053
|
* AI SEO optimises collections by a set of given IDs.
|
|
908
|
-
* @summary AI SEO optimise collections
|
|
1054
|
+
* @summary AI SEO optimise collections
|
|
909
1055
|
* @param {CollectionsApiSeoOptimiseCollectionsRequest} requestParameters Request parameters.
|
|
910
1056
|
* @param {*} [options] Override http request option.
|
|
911
1057
|
* @throws {RequiredError}
|
|
@@ -1321,6 +1467,42 @@ export class MenuApi extends BaseAPI {
|
|
|
1321
1467
|
*/
|
|
1322
1468
|
export const PagesApiAxiosParamCreator = function (configuration) {
|
|
1323
1469
|
return {
|
|
1470
|
+
/**
|
|
1471
|
+
* Export pages as a CSV file.
|
|
1472
|
+
* @summary Export pages
|
|
1473
|
+
* @param {string} project What project it is
|
|
1474
|
+
* @param {*} [options] Override http request option.
|
|
1475
|
+
* @throws {RequiredError}
|
|
1476
|
+
*/
|
|
1477
|
+
exportPages: (project_1, ...args_1) => __awaiter(this, [project_1, ...args_1], void 0, function* (project, options = {}) {
|
|
1478
|
+
// verify required parameter 'project' is not null or undefined
|
|
1479
|
+
assertParamExists('exportPages', 'project', project);
|
|
1480
|
+
const localVarPath = `/v1/website/pages/export`;
|
|
1481
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
1482
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
1483
|
+
let baseOptions;
|
|
1484
|
+
if (configuration) {
|
|
1485
|
+
baseOptions = configuration.baseOptions;
|
|
1486
|
+
}
|
|
1487
|
+
const localVarRequestOptions = Object.assign(Object.assign({ method: 'GET' }, baseOptions), options);
|
|
1488
|
+
const localVarHeaderParameter = {};
|
|
1489
|
+
const localVarQueryParameter = {};
|
|
1490
|
+
// authentication session-oauth required
|
|
1491
|
+
// oauth required
|
|
1492
|
+
yield setOAuthToObject(localVarHeaderParameter, "session-oauth", [], configuration);
|
|
1493
|
+
// authentication api-key required
|
|
1494
|
+
yield setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration);
|
|
1495
|
+
if (project !== undefined) {
|
|
1496
|
+
localVarQueryParameter['project'] = project;
|
|
1497
|
+
}
|
|
1498
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
1499
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
1500
|
+
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
1501
|
+
return {
|
|
1502
|
+
url: toPathString(localVarUrlObj),
|
|
1503
|
+
options: localVarRequestOptions,
|
|
1504
|
+
};
|
|
1505
|
+
}),
|
|
1324
1506
|
/**
|
|
1325
1507
|
*
|
|
1326
1508
|
* @summary Get website page
|
|
@@ -1411,7 +1593,7 @@ export const PagesApiAxiosParamCreator = function (configuration) {
|
|
|
1411
1593
|
}),
|
|
1412
1594
|
/**
|
|
1413
1595
|
* AI SEO optimises pages by a set of given IDs.
|
|
1414
|
-
* @summary AI SEO optimise pages
|
|
1596
|
+
* @summary AI SEO optimise pages
|
|
1415
1597
|
* @param {string} project What project it is
|
|
1416
1598
|
* @param {SeoOptimisePagesRequest} [seoOptimisePagesRequest] A set of page IDs to AI SEO optimise.
|
|
1417
1599
|
* @param {*} [options] Override http request option.
|
|
@@ -1551,6 +1733,22 @@ export const PagesApiAxiosParamCreator = function (configuration) {
|
|
|
1551
1733
|
export const PagesApiFp = function (configuration) {
|
|
1552
1734
|
const localVarAxiosParamCreator = PagesApiAxiosParamCreator(configuration);
|
|
1553
1735
|
return {
|
|
1736
|
+
/**
|
|
1737
|
+
* Export pages as a CSV file.
|
|
1738
|
+
* @summary Export pages
|
|
1739
|
+
* @param {string} project What project it is
|
|
1740
|
+
* @param {*} [options] Override http request option.
|
|
1741
|
+
* @throws {RequiredError}
|
|
1742
|
+
*/
|
|
1743
|
+
exportPages(project, options) {
|
|
1744
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
1745
|
+
var _a, _b, _c;
|
|
1746
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.exportPages(project, options);
|
|
1747
|
+
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
1748
|
+
const localVarOperationServerBasePath = (_c = (_b = operationServerMap['PagesApi.exportPages']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
1749
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
1750
|
+
});
|
|
1751
|
+
},
|
|
1554
1752
|
/**
|
|
1555
1753
|
*
|
|
1556
1754
|
* @summary Get website page
|
|
@@ -1589,7 +1787,7 @@ export const PagesApiFp = function (configuration) {
|
|
|
1589
1787
|
},
|
|
1590
1788
|
/**
|
|
1591
1789
|
* AI SEO optimises pages by a set of given IDs.
|
|
1592
|
-
* @summary AI SEO optimise pages
|
|
1790
|
+
* @summary AI SEO optimise pages
|
|
1593
1791
|
* @param {string} project What project it is
|
|
1594
1792
|
* @param {SeoOptimisePagesRequest} [seoOptimisePagesRequest] A set of page IDs to AI SEO optimise.
|
|
1595
1793
|
* @param {*} [options] Override http request option.
|
|
@@ -1651,6 +1849,16 @@ export const PagesApiFp = function (configuration) {
|
|
|
1651
1849
|
export const PagesApiFactory = function (configuration, basePath, axios) {
|
|
1652
1850
|
const localVarFp = PagesApiFp(configuration);
|
|
1653
1851
|
return {
|
|
1852
|
+
/**
|
|
1853
|
+
* Export pages as a CSV file.
|
|
1854
|
+
* @summary Export pages
|
|
1855
|
+
* @param {PagesApiExportPagesRequest} requestParameters Request parameters.
|
|
1856
|
+
* @param {*} [options] Override http request option.
|
|
1857
|
+
* @throws {RequiredError}
|
|
1858
|
+
*/
|
|
1859
|
+
exportPages(requestParameters, options) {
|
|
1860
|
+
return localVarFp.exportPages(requestParameters.project, options).then((request) => request(axios, basePath));
|
|
1861
|
+
},
|
|
1654
1862
|
/**
|
|
1655
1863
|
*
|
|
1656
1864
|
* @summary Get website page
|
|
@@ -1673,7 +1881,7 @@ export const PagesApiFactory = function (configuration, basePath, axios) {
|
|
|
1673
1881
|
},
|
|
1674
1882
|
/**
|
|
1675
1883
|
* AI SEO optimises pages by a set of given IDs.
|
|
1676
|
-
* @summary AI SEO optimise pages
|
|
1884
|
+
* @summary AI SEO optimise pages
|
|
1677
1885
|
* @param {PagesApiSeoOptimisePagesRequest} requestParameters Request parameters.
|
|
1678
1886
|
* @param {*} [options] Override http request option.
|
|
1679
1887
|
* @throws {RequiredError}
|
|
@@ -1710,6 +1918,17 @@ export const PagesApiFactory = function (configuration, basePath, axios) {
|
|
|
1710
1918
|
* @extends {BaseAPI}
|
|
1711
1919
|
*/
|
|
1712
1920
|
export class PagesApi extends BaseAPI {
|
|
1921
|
+
/**
|
|
1922
|
+
* Export pages as a CSV file.
|
|
1923
|
+
* @summary Export pages
|
|
1924
|
+
* @param {PagesApiExportPagesRequest} requestParameters Request parameters.
|
|
1925
|
+
* @param {*} [options] Override http request option.
|
|
1926
|
+
* @throws {RequiredError}
|
|
1927
|
+
* @memberof PagesApi
|
|
1928
|
+
*/
|
|
1929
|
+
exportPages(requestParameters, options) {
|
|
1930
|
+
return PagesApiFp(this.configuration).exportPages(requestParameters.project, options).then((request) => request(this.axios, this.basePath));
|
|
1931
|
+
}
|
|
1713
1932
|
/**
|
|
1714
1933
|
*
|
|
1715
1934
|
* @summary Get website page
|
|
@@ -1734,7 +1953,7 @@ export class PagesApi extends BaseAPI {
|
|
|
1734
1953
|
}
|
|
1735
1954
|
/**
|
|
1736
1955
|
* AI SEO optimises pages by a set of given IDs.
|
|
1737
|
-
* @summary AI SEO optimise pages
|
|
1956
|
+
* @summary AI SEO optimise pages
|
|
1738
1957
|
* @param {PagesApiSeoOptimisePagesRequest} requestParameters Request parameters.
|
|
1739
1958
|
* @param {*} [options] Override http request option.
|
|
1740
1959
|
* @throws {RequiredError}
|
package/dist/esm/base.d.ts
CHANGED
package/dist/esm/base.js
CHANGED
package/dist/esm/common.d.ts
CHANGED
package/dist/esm/common.js
CHANGED
package/dist/esm/index.d.ts
CHANGED
package/dist/esm/index.js
CHANGED
package/dist/index.d.ts
CHANGED
package/dist/index.js
CHANGED
package/index.ts
CHANGED