@teemill/website 0.16.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 CHANGED
@@ -1,4 +1,4 @@
1
- ## @teemill/website@0.16.0
1
+ ## @teemill/website@0.18.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.16.0 --save
39
+ npm install @teemill/website@0.18.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.16.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).
@@ -380,6 +380,19 @@ export interface CreateSearchRedirectRequest {
380
380
  */
381
381
  'destinationUrl': string;
382
382
  }
383
+ /**
384
+ *
385
+ * @export
386
+ * @interface ExportPages202Response
387
+ */
388
+ export interface ExportPages202Response {
389
+ /**
390
+ * A message describing the export status
391
+ * @type {string}
392
+ * @memberof ExportPages202Response
393
+ */
394
+ 'message'?: string;
395
+ }
383
396
  /**
384
397
  * Image description
385
398
  * @export
@@ -491,6 +504,18 @@ export interface MenuItem {
491
504
  * @memberof MenuItem
492
505
  */
493
506
  'link': string;
507
+ /**
508
+ *
509
+ * @type {string}
510
+ * @memberof MenuItem
511
+ */
512
+ 'color': string | null;
513
+ /**
514
+ *
515
+ * @type {string}
516
+ * @memberof MenuItem
517
+ */
518
+ 'backgroundColor': string | null;
494
519
  /**
495
520
  *
496
521
  * @type {number}
@@ -1319,6 +1344,18 @@ export interface SubmenuItem {
1319
1344
  * @memberof SubmenuItem
1320
1345
  */
1321
1346
  'link': string;
1347
+ /**
1348
+ *
1349
+ * @type {string}
1350
+ * @memberof SubmenuItem
1351
+ */
1352
+ 'color': string | null;
1353
+ /**
1354
+ *
1355
+ * @type {string}
1356
+ * @memberof SubmenuItem
1357
+ */
1358
+ 'backgroundColor': string | null;
1322
1359
  /**
1323
1360
  *
1324
1361
  * @type {number}
@@ -1642,6 +1679,18 @@ export interface UpdateMenuRequestItem {
1642
1679
  * @memberof UpdateMenuRequestItem
1643
1680
  */
1644
1681
  'link': string;
1682
+ /**
1683
+ *
1684
+ * @type {string}
1685
+ * @memberof UpdateMenuRequestItem
1686
+ */
1687
+ 'color'?: string | null;
1688
+ /**
1689
+ *
1690
+ * @type {string}
1691
+ * @memberof UpdateMenuRequestItem
1692
+ */
1693
+ 'backgroundColor'?: string | null;
1645
1694
  /**
1646
1695
  *
1647
1696
  * @type {number}
@@ -1898,6 +1947,18 @@ export interface UpdateMenuRequestSubmenuItem {
1898
1947
  * @memberof UpdateMenuRequestSubmenuItem
1899
1948
  */
1900
1949
  'link': string;
1950
+ /**
1951
+ *
1952
+ * @type {string}
1953
+ * @memberof UpdateMenuRequestSubmenuItem
1954
+ */
1955
+ 'color'?: string | null;
1956
+ /**
1957
+ *
1958
+ * @type {string}
1959
+ * @memberof UpdateMenuRequestSubmenuItem
1960
+ */
1961
+ 'backgroundColor'?: string | null;
1901
1962
  /**
1902
1963
  *
1903
1964
  * @type {number}
@@ -2195,6 +2256,50 @@ export interface Video {
2195
2256
  */
2196
2257
  export const BlogsApiAxiosParamCreator = function (configuration?: Configuration) {
2197
2258
  return {
2259
+ /**
2260
+ * Export blogs as a CSV file.
2261
+ * @summary Export blogs
2262
+ * @param {string} project What project it is
2263
+ * @param {*} [options] Override http request option.
2264
+ * @throws {RequiredError}
2265
+ */
2266
+ exportBlogs: async (project: string, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
2267
+ // verify required parameter 'project' is not null or undefined
2268
+ assertParamExists('exportBlogs', 'project', project)
2269
+ const localVarPath = `/v1/website/blogs/export`;
2270
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
2271
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
2272
+ let baseOptions;
2273
+ if (configuration) {
2274
+ baseOptions = configuration.baseOptions;
2275
+ }
2276
+
2277
+ const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
2278
+ const localVarHeaderParameter = {} as any;
2279
+ const localVarQueryParameter = {} as any;
2280
+
2281
+ // authentication session-oauth required
2282
+ // oauth required
2283
+ await setOAuthToObject(localVarHeaderParameter, "session-oauth", [], configuration)
2284
+
2285
+ // authentication api-key required
2286
+ await setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration)
2287
+
2288
+ if (project !== undefined) {
2289
+ localVarQueryParameter['project'] = project;
2290
+ }
2291
+
2292
+
2293
+
2294
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
2295
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
2296
+ localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
2297
+
2298
+ return {
2299
+ url: toPathString(localVarUrlObj),
2300
+ options: localVarRequestOptions,
2301
+ };
2302
+ },
2198
2303
  /**
2199
2304
  *
2200
2305
  * @summary Get website blog post
@@ -2427,6 +2532,19 @@ export const BlogsApiAxiosParamCreator = function (configuration?: Configuration
2427
2532
  export const BlogsApiFp = function(configuration?: Configuration) {
2428
2533
  const localVarAxiosParamCreator = BlogsApiAxiosParamCreator(configuration)
2429
2534
  return {
2535
+ /**
2536
+ * Export blogs as a CSV file.
2537
+ * @summary Export blogs
2538
+ * @param {string} project What project it is
2539
+ * @param {*} [options] Override http request option.
2540
+ * @throws {RequiredError}
2541
+ */
2542
+ async exportBlogs(project: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<File>> {
2543
+ const localVarAxiosArgs = await localVarAxiosParamCreator.exportBlogs(project, options);
2544
+ const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
2545
+ const localVarOperationServerBasePath = operationServerMap['BlogsApi.exportBlogs']?.[localVarOperationServerIndex]?.url;
2546
+ return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
2547
+ },
2430
2548
  /**
2431
2549
  *
2432
2550
  * @summary Get website blog post
@@ -2499,6 +2617,16 @@ export const BlogsApiFp = function(configuration?: Configuration) {
2499
2617
  export const BlogsApiFactory = function (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) {
2500
2618
  const localVarFp = BlogsApiFp(configuration)
2501
2619
  return {
2620
+ /**
2621
+ * Export blogs as a CSV file.
2622
+ * @summary Export blogs
2623
+ * @param {BlogsApiExportBlogsRequest} requestParameters Request parameters.
2624
+ * @param {*} [options] Override http request option.
2625
+ * @throws {RequiredError}
2626
+ */
2627
+ exportBlogs(requestParameters: BlogsApiExportBlogsRequest, options?: RawAxiosRequestConfig): AxiosPromise<File> {
2628
+ return localVarFp.exportBlogs(requestParameters.project, options).then((request) => request(axios, basePath));
2629
+ },
2502
2630
  /**
2503
2631
  *
2504
2632
  * @summary Get website blog post
@@ -2542,6 +2670,20 @@ export const BlogsApiFactory = function (configuration?: Configuration, basePath
2542
2670
  };
2543
2671
  };
2544
2672
 
2673
+ /**
2674
+ * Request parameters for exportBlogs operation in BlogsApi.
2675
+ * @export
2676
+ * @interface BlogsApiExportBlogsRequest
2677
+ */
2678
+ export interface BlogsApiExportBlogsRequest {
2679
+ /**
2680
+ * What project it is
2681
+ * @type {string}
2682
+ * @memberof BlogsApiExportBlogs
2683
+ */
2684
+ readonly project: string
2685
+ }
2686
+
2545
2687
  /**
2546
2688
  * Request parameters for getBlog operation in BlogsApi.
2547
2689
  * @export
@@ -2675,6 +2817,18 @@ export interface BlogsApiUpdateBlogsRequest {
2675
2817
  * @extends {BaseAPI}
2676
2818
  */
2677
2819
  export class BlogsApi extends BaseAPI {
2820
+ /**
2821
+ * Export blogs as a CSV file.
2822
+ * @summary Export blogs
2823
+ * @param {BlogsApiExportBlogsRequest} requestParameters Request parameters.
2824
+ * @param {*} [options] Override http request option.
2825
+ * @throws {RequiredError}
2826
+ * @memberof BlogsApi
2827
+ */
2828
+ public exportBlogs(requestParameters: BlogsApiExportBlogsRequest, options?: RawAxiosRequestConfig) {
2829
+ return BlogsApiFp(this.configuration).exportBlogs(requestParameters.project, options).then((request) => request(this.axios, this.basePath));
2830
+ }
2831
+
2678
2832
  /**
2679
2833
  *
2680
2834
  * @summary Get website blog post
@@ -2732,6 +2886,50 @@ export class BlogsApi extends BaseAPI {
2732
2886
  */
2733
2887
  export const CollectionsApiAxiosParamCreator = function (configuration?: Configuration) {
2734
2888
  return {
2889
+ /**
2890
+ * Export collections as a CSV file.
2891
+ * @summary Export collections
2892
+ * @param {string} project What project it is
2893
+ * @param {*} [options] Override http request option.
2894
+ * @throws {RequiredError}
2895
+ */
2896
+ exportCollections: async (project: string, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
2897
+ // verify required parameter 'project' is not null or undefined
2898
+ assertParamExists('exportCollections', 'project', project)
2899
+ const localVarPath = `/v1/website/collections/export`;
2900
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
2901
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
2902
+ let baseOptions;
2903
+ if (configuration) {
2904
+ baseOptions = configuration.baseOptions;
2905
+ }
2906
+
2907
+ const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
2908
+ const localVarHeaderParameter = {} as any;
2909
+ const localVarQueryParameter = {} as any;
2910
+
2911
+ // authentication session-oauth required
2912
+ // oauth required
2913
+ await setOAuthToObject(localVarHeaderParameter, "session-oauth", [], configuration)
2914
+
2915
+ // authentication api-key required
2916
+ await setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration)
2917
+
2918
+ if (project !== undefined) {
2919
+ localVarQueryParameter['project'] = project;
2920
+ }
2921
+
2922
+
2923
+
2924
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
2925
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
2926
+ localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
2927
+
2928
+ return {
2929
+ url: toPathString(localVarUrlObj),
2930
+ options: localVarRequestOptions,
2931
+ };
2932
+ },
2735
2933
  /**
2736
2934
  *
2737
2935
  * @summary Get website collection
@@ -2841,7 +3039,7 @@ export const CollectionsApiAxiosParamCreator = function (configuration?: Configu
2841
3039
  },
2842
3040
  /**
2843
3041
  * AI SEO optimises collections by a set of given IDs.
2844
- * @summary AI SEO optimise collections.
3042
+ * @summary AI SEO optimise collections
2845
3043
  * @param {string} project What project it is
2846
3044
  * @param {SeoOptimiseCollectionsRequest} [seoOptimiseCollectionsRequest] A set of collection IDs to AI SEO optimise.
2847
3045
  * @param {*} [options] Override http request option.
@@ -3012,6 +3210,19 @@ export const CollectionsApiAxiosParamCreator = function (configuration?: Configu
3012
3210
  export const CollectionsApiFp = function(configuration?: Configuration) {
3013
3211
  const localVarAxiosParamCreator = CollectionsApiAxiosParamCreator(configuration)
3014
3212
  return {
3213
+ /**
3214
+ * Export collections as a CSV file.
3215
+ * @summary Export collections
3216
+ * @param {string} project What project it is
3217
+ * @param {*} [options] Override http request option.
3218
+ * @throws {RequiredError}
3219
+ */
3220
+ async exportCollections(project: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<File>> {
3221
+ const localVarAxiosArgs = await localVarAxiosParamCreator.exportCollections(project, options);
3222
+ const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
3223
+ const localVarOperationServerBasePath = operationServerMap['CollectionsApi.exportCollections']?.[localVarOperationServerIndex]?.url;
3224
+ return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
3225
+ },
3015
3226
  /**
3016
3227
  *
3017
3228
  * @summary Get website collection
@@ -3044,7 +3255,7 @@ export const CollectionsApiFp = function(configuration?: Configuration) {
3044
3255
  },
3045
3256
  /**
3046
3257
  * AI SEO optimises collections by a set of given IDs.
3047
- * @summary AI SEO optimise collections.
3258
+ * @summary AI SEO optimise collections
3048
3259
  * @param {string} project What project it is
3049
3260
  * @param {SeoOptimiseCollectionsRequest} [seoOptimiseCollectionsRequest] A set of collection IDs to AI SEO optimise.
3050
3261
  * @param {*} [options] Override http request option.
@@ -3098,6 +3309,16 @@ export const CollectionsApiFp = function(configuration?: Configuration) {
3098
3309
  export const CollectionsApiFactory = function (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) {
3099
3310
  const localVarFp = CollectionsApiFp(configuration)
3100
3311
  return {
3312
+ /**
3313
+ * Export collections as a CSV file.
3314
+ * @summary Export collections
3315
+ * @param {CollectionsApiExportCollectionsRequest} requestParameters Request parameters.
3316
+ * @param {*} [options] Override http request option.
3317
+ * @throws {RequiredError}
3318
+ */
3319
+ exportCollections(requestParameters: CollectionsApiExportCollectionsRequest, options?: RawAxiosRequestConfig): AxiosPromise<File> {
3320
+ return localVarFp.exportCollections(requestParameters.project, options).then((request) => request(axios, basePath));
3321
+ },
3101
3322
  /**
3102
3323
  *
3103
3324
  * @summary Get website collection
@@ -3120,7 +3341,7 @@ export const CollectionsApiFactory = function (configuration?: Configuration, ba
3120
3341
  },
3121
3342
  /**
3122
3343
  * AI SEO optimises collections by a set of given IDs.
3123
- * @summary AI SEO optimise collections.
3344
+ * @summary AI SEO optimise collections
3124
3345
  * @param {CollectionsApiSeoOptimiseCollectionsRequest} requestParameters Request parameters.
3125
3346
  * @param {*} [options] Override http request option.
3126
3347
  * @throws {RequiredError}
@@ -3151,6 +3372,20 @@ export const CollectionsApiFactory = function (configuration?: Configuration, ba
3151
3372
  };
3152
3373
  };
3153
3374
 
3375
+ /**
3376
+ * Request parameters for exportCollections operation in CollectionsApi.
3377
+ * @export
3378
+ * @interface CollectionsApiExportCollectionsRequest
3379
+ */
3380
+ export interface CollectionsApiExportCollectionsRequest {
3381
+ /**
3382
+ * What project it is
3383
+ * @type {string}
3384
+ * @memberof CollectionsApiExportCollections
3385
+ */
3386
+ readonly project: string
3387
+ }
3388
+
3154
3389
  /**
3155
3390
  * Request parameters for getCollection operation in CollectionsApi.
3156
3391
  * @export
@@ -3305,6 +3540,18 @@ export interface CollectionsApiUpdateCollectionsRequest {
3305
3540
  * @extends {BaseAPI}
3306
3541
  */
3307
3542
  export class CollectionsApi extends BaseAPI {
3543
+ /**
3544
+ * Export collections as a CSV file.
3545
+ * @summary Export collections
3546
+ * @param {CollectionsApiExportCollectionsRequest} requestParameters Request parameters.
3547
+ * @param {*} [options] Override http request option.
3548
+ * @throws {RequiredError}
3549
+ * @memberof CollectionsApi
3550
+ */
3551
+ public exportCollections(requestParameters: CollectionsApiExportCollectionsRequest, options?: RawAxiosRequestConfig) {
3552
+ return CollectionsApiFp(this.configuration).exportCollections(requestParameters.project, options).then((request) => request(this.axios, this.basePath));
3553
+ }
3554
+
3308
3555
  /**
3309
3556
  *
3310
3557
  * @summary Get website collection
@@ -3331,7 +3578,7 @@ export class CollectionsApi extends BaseAPI {
3331
3578
 
3332
3579
  /**
3333
3580
  * AI SEO optimises collections by a set of given IDs.
3334
- * @summary AI SEO optimise collections.
3581
+ * @summary AI SEO optimise collections
3335
3582
  * @param {CollectionsApiSeoOptimiseCollectionsRequest} requestParameters Request parameters.
3336
3583
  * @param {*} [options] Override http request option.
3337
3584
  * @throws {RequiredError}
@@ -3872,6 +4119,50 @@ export class MenuApi extends BaseAPI {
3872
4119
  */
3873
4120
  export const PagesApiAxiosParamCreator = function (configuration?: Configuration) {
3874
4121
  return {
4122
+ /**
4123
+ * Export pages as a CSV file.
4124
+ * @summary Export pages
4125
+ * @param {string} project What project it is
4126
+ * @param {*} [options] Override http request option.
4127
+ * @throws {RequiredError}
4128
+ */
4129
+ exportPages: async (project: string, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
4130
+ // verify required parameter 'project' is not null or undefined
4131
+ assertParamExists('exportPages', 'project', project)
4132
+ const localVarPath = `/v1/website/pages/export`;
4133
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
4134
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
4135
+ let baseOptions;
4136
+ if (configuration) {
4137
+ baseOptions = configuration.baseOptions;
4138
+ }
4139
+
4140
+ const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
4141
+ const localVarHeaderParameter = {} as any;
4142
+ const localVarQueryParameter = {} as any;
4143
+
4144
+ // authentication session-oauth required
4145
+ // oauth required
4146
+ await setOAuthToObject(localVarHeaderParameter, "session-oauth", [], configuration)
4147
+
4148
+ // authentication api-key required
4149
+ await setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration)
4150
+
4151
+ if (project !== undefined) {
4152
+ localVarQueryParameter['project'] = project;
4153
+ }
4154
+
4155
+
4156
+
4157
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
4158
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
4159
+ localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
4160
+
4161
+ return {
4162
+ url: toPathString(localVarUrlObj),
4163
+ options: localVarRequestOptions,
4164
+ };
4165
+ },
3875
4166
  /**
3876
4167
  *
3877
4168
  * @summary Get website page
@@ -3981,7 +4272,7 @@ export const PagesApiAxiosParamCreator = function (configuration?: Configuration
3981
4272
  },
3982
4273
  /**
3983
4274
  * AI SEO optimises pages by a set of given IDs.
3984
- * @summary AI SEO optimise pages.
4275
+ * @summary AI SEO optimise pages
3985
4276
  * @param {string} project What project it is
3986
4277
  * @param {SeoOptimisePagesRequest} [seoOptimisePagesRequest] A set of page IDs to AI SEO optimise.
3987
4278
  * @param {*} [options] Override http request option.
@@ -4152,6 +4443,19 @@ export const PagesApiAxiosParamCreator = function (configuration?: Configuration
4152
4443
  export const PagesApiFp = function(configuration?: Configuration) {
4153
4444
  const localVarAxiosParamCreator = PagesApiAxiosParamCreator(configuration)
4154
4445
  return {
4446
+ /**
4447
+ * Export pages as a CSV file.
4448
+ * @summary Export pages
4449
+ * @param {string} project What project it is
4450
+ * @param {*} [options] Override http request option.
4451
+ * @throws {RequiredError}
4452
+ */
4453
+ async exportPages(project: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<File>> {
4454
+ const localVarAxiosArgs = await localVarAxiosParamCreator.exportPages(project, options);
4455
+ const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
4456
+ const localVarOperationServerBasePath = operationServerMap['PagesApi.exportPages']?.[localVarOperationServerIndex]?.url;
4457
+ return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
4458
+ },
4155
4459
  /**
4156
4460
  *
4157
4461
  * @summary Get website page
@@ -4184,7 +4488,7 @@ export const PagesApiFp = function(configuration?: Configuration) {
4184
4488
  },
4185
4489
  /**
4186
4490
  * AI SEO optimises pages by a set of given IDs.
4187
- * @summary AI SEO optimise pages.
4491
+ * @summary AI SEO optimise pages
4188
4492
  * @param {string} project What project it is
4189
4493
  * @param {SeoOptimisePagesRequest} [seoOptimisePagesRequest] A set of page IDs to AI SEO optimise.
4190
4494
  * @param {*} [options] Override http request option.
@@ -4238,6 +4542,16 @@ export const PagesApiFp = function(configuration?: Configuration) {
4238
4542
  export const PagesApiFactory = function (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) {
4239
4543
  const localVarFp = PagesApiFp(configuration)
4240
4544
  return {
4545
+ /**
4546
+ * Export pages as a CSV file.
4547
+ * @summary Export pages
4548
+ * @param {PagesApiExportPagesRequest} requestParameters Request parameters.
4549
+ * @param {*} [options] Override http request option.
4550
+ * @throws {RequiredError}
4551
+ */
4552
+ exportPages(requestParameters: PagesApiExportPagesRequest, options?: RawAxiosRequestConfig): AxiosPromise<File> {
4553
+ return localVarFp.exportPages(requestParameters.project, options).then((request) => request(axios, basePath));
4554
+ },
4241
4555
  /**
4242
4556
  *
4243
4557
  * @summary Get website page
@@ -4260,7 +4574,7 @@ export const PagesApiFactory = function (configuration?: Configuration, basePath
4260
4574
  },
4261
4575
  /**
4262
4576
  * AI SEO optimises pages by a set of given IDs.
4263
- * @summary AI SEO optimise pages.
4577
+ * @summary AI SEO optimise pages
4264
4578
  * @param {PagesApiSeoOptimisePagesRequest} requestParameters Request parameters.
4265
4579
  * @param {*} [options] Override http request option.
4266
4580
  * @throws {RequiredError}
@@ -4291,6 +4605,20 @@ export const PagesApiFactory = function (configuration?: Configuration, basePath
4291
4605
  };
4292
4606
  };
4293
4607
 
4608
+ /**
4609
+ * Request parameters for exportPages operation in PagesApi.
4610
+ * @export
4611
+ * @interface PagesApiExportPagesRequest
4612
+ */
4613
+ export interface PagesApiExportPagesRequest {
4614
+ /**
4615
+ * What project it is
4616
+ * @type {string}
4617
+ * @memberof PagesApiExportPages
4618
+ */
4619
+ readonly project: string
4620
+ }
4621
+
4294
4622
  /**
4295
4623
  * Request parameters for getPage operation in PagesApi.
4296
4624
  * @export
@@ -4445,6 +4773,18 @@ export interface PagesApiUpdatePagesRequest {
4445
4773
  * @extends {BaseAPI}
4446
4774
  */
4447
4775
  export class PagesApi extends BaseAPI {
4776
+ /**
4777
+ * Export pages as a CSV file.
4778
+ * @summary Export pages
4779
+ * @param {PagesApiExportPagesRequest} requestParameters Request parameters.
4780
+ * @param {*} [options] Override http request option.
4781
+ * @throws {RequiredError}
4782
+ * @memberof PagesApi
4783
+ */
4784
+ public exportPages(requestParameters: PagesApiExportPagesRequest, options?: RawAxiosRequestConfig) {
4785
+ return PagesApiFp(this.configuration).exportPages(requestParameters.project, options).then((request) => request(this.axios, this.basePath));
4786
+ }
4787
+
4448
4788
  /**
4449
4789
  *
4450
4790
  * @summary Get website page
@@ -4471,7 +4811,7 @@ export class PagesApi extends BaseAPI {
4471
4811
 
4472
4812
  /**
4473
4813
  * AI SEO optimises pages by a set of given IDs.
4474
- * @summary AI SEO optimise pages.
4814
+ * @summary AI SEO optimise pages
4475
4815
  * @param {PagesApiSeoOptimisePagesRequest} requestParameters Request parameters.
4476
4816
  * @param {*} [options] Override http request option.
4477
4817
  * @throws {RequiredError}
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.16.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).
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.16.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).
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.16.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).