@teemill/website 0.15.0 → 0.17.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.15.0
1
+ ## @teemill/website@0.17.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.15.0 --save
39
+ npm install @teemill/website@0.17.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.15.0
7
+ * The version of the OpenAPI document: 0.17.0
8
8
  *
9
9
  *
10
10
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -249,6 +249,18 @@ export interface Blog {
249
249
  * @memberof Blog
250
250
  */
251
251
  'targetSearchPhraseData'?: TargetSearchPhraseData;
252
+ /**
253
+ *
254
+ * @type {MetaImage}
255
+ * @memberof Blog
256
+ */
257
+ 'metaImage'?: MetaImage;
258
+ /**
259
+ *
260
+ * @type {string}
261
+ * @memberof Blog
262
+ */
263
+ 'publishedAt'?: string | null;
252
264
  }
253
265
  /**
254
266
  *
@@ -323,6 +335,12 @@ export interface Collection {
323
335
  * @memberof Collection
324
336
  */
325
337
  'optimisationHistory'?: Array<OptimisationHistoryItem>;
338
+ /**
339
+ *
340
+ * @type {MetaImage}
341
+ * @memberof Collection
342
+ */
343
+ 'metaImage'?: MetaImage;
326
344
  }
327
345
  /**
328
346
  *
@@ -473,6 +491,18 @@ export interface MenuItem {
473
491
  * @memberof MenuItem
474
492
  */
475
493
  'link': string;
494
+ /**
495
+ *
496
+ * @type {string}
497
+ * @memberof MenuItem
498
+ */
499
+ 'color': string | null;
500
+ /**
501
+ *
502
+ * @type {string}
503
+ * @memberof MenuItem
504
+ */
505
+ 'backgroundColor': string | null;
476
506
  /**
477
507
  *
478
508
  * @type {number}
@@ -505,6 +535,25 @@ export interface MetaField {
505
535
  */
506
536
  'value': string;
507
537
  }
538
+ /**
539
+ * The image that will in links shared on social media platforms
540
+ * @export
541
+ * @interface MetaImage
542
+ */
543
+ export interface MetaImage {
544
+ /**
545
+ *
546
+ * @type {string}
547
+ * @memberof MetaImage
548
+ */
549
+ 'src'?: string;
550
+ /**
551
+ *
552
+ * @type {string}
553
+ * @memberof MetaImage
554
+ */
555
+ 'alt'?: string;
556
+ }
508
557
  /**
509
558
  *
510
559
  * @export
@@ -566,6 +615,18 @@ export interface Page {
566
615
  * @memberof Page
567
616
  */
568
617
  'optimisationHistory'?: Array<OptimisationHistoryItem>;
618
+ /**
619
+ *
620
+ * @type {MetaImage}
621
+ * @memberof Page
622
+ */
623
+ 'metaImage'?: MetaImage;
624
+ /**
625
+ *
626
+ * @type {string}
627
+ * @memberof Page
628
+ */
629
+ 'publishedAt'?: string | null;
569
630
  }
570
631
  /**
571
632
  *
@@ -1270,6 +1331,18 @@ export interface SubmenuItem {
1270
1331
  * @memberof SubmenuItem
1271
1332
  */
1272
1333
  'link': string;
1334
+ /**
1335
+ *
1336
+ * @type {string}
1337
+ * @memberof SubmenuItem
1338
+ */
1339
+ 'color': string | null;
1340
+ /**
1341
+ *
1342
+ * @type {string}
1343
+ * @memberof SubmenuItem
1344
+ */
1345
+ 'backgroundColor': string | null;
1273
1346
  /**
1274
1347
  *
1275
1348
  * @type {number}
@@ -1593,6 +1666,18 @@ export interface UpdateMenuRequestItem {
1593
1666
  * @memberof UpdateMenuRequestItem
1594
1667
  */
1595
1668
  'link': string;
1669
+ /**
1670
+ *
1671
+ * @type {string}
1672
+ * @memberof UpdateMenuRequestItem
1673
+ */
1674
+ 'color'?: string | null;
1675
+ /**
1676
+ *
1677
+ * @type {string}
1678
+ * @memberof UpdateMenuRequestItem
1679
+ */
1680
+ 'backgroundColor'?: string | null;
1596
1681
  /**
1597
1682
  *
1598
1683
  * @type {number}
@@ -1849,6 +1934,18 @@ export interface UpdateMenuRequestSubmenuItem {
1849
1934
  * @memberof UpdateMenuRequestSubmenuItem
1850
1935
  */
1851
1936
  'link': string;
1937
+ /**
1938
+ *
1939
+ * @type {string}
1940
+ * @memberof UpdateMenuRequestSubmenuItem
1941
+ */
1942
+ 'color'?: string | null;
1943
+ /**
1944
+ *
1945
+ * @type {string}
1946
+ * @memberof UpdateMenuRequestSubmenuItem
1947
+ */
1948
+ 'backgroundColor'?: string | null;
1852
1949
  /**
1853
1950
  *
1854
1951
  * @type {number}
@@ -2146,6 +2243,54 @@ export interface Video {
2146
2243
  */
2147
2244
  export const BlogsApiAxiosParamCreator = function (configuration?: Configuration) {
2148
2245
  return {
2246
+ /**
2247
+ *
2248
+ * @summary Get website blog post
2249
+ * @param {string} project What project it is
2250
+ * @param {string} blogId Blog\&#39;s unique identifier
2251
+ * @param {*} [options] Override http request option.
2252
+ * @throws {RequiredError}
2253
+ */
2254
+ getBlog: async (project: string, blogId: string, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
2255
+ // verify required parameter 'project' is not null or undefined
2256
+ assertParamExists('getBlog', 'project', project)
2257
+ // verify required parameter 'blogId' is not null or undefined
2258
+ assertParamExists('getBlog', 'blogId', blogId)
2259
+ const localVarPath = `/v1/website/blogs/{blogId}`
2260
+ .replace(`{${"blogId"}}`, encodeURIComponent(String(blogId)));
2261
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
2262
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
2263
+ let baseOptions;
2264
+ if (configuration) {
2265
+ baseOptions = configuration.baseOptions;
2266
+ }
2267
+
2268
+ const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
2269
+ const localVarHeaderParameter = {} as any;
2270
+ const localVarQueryParameter = {} as any;
2271
+
2272
+ // authentication session-oauth required
2273
+ // oauth required
2274
+ await setOAuthToObject(localVarHeaderParameter, "session-oauth", [], configuration)
2275
+
2276
+ // authentication api-key required
2277
+ await setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration)
2278
+
2279
+ if (project !== undefined) {
2280
+ localVarQueryParameter['project'] = project;
2281
+ }
2282
+
2283
+
2284
+
2285
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
2286
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
2287
+ localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
2288
+
2289
+ return {
2290
+ url: toPathString(localVarUrlObj),
2291
+ options: localVarRequestOptions,
2292
+ };
2293
+ },
2149
2294
  /**
2150
2295
  *
2151
2296
  * @summary List website blog posts
@@ -2330,6 +2475,20 @@ export const BlogsApiAxiosParamCreator = function (configuration?: Configuration
2330
2475
  export const BlogsApiFp = function(configuration?: Configuration) {
2331
2476
  const localVarAxiosParamCreator = BlogsApiAxiosParamCreator(configuration)
2332
2477
  return {
2478
+ /**
2479
+ *
2480
+ * @summary Get website blog post
2481
+ * @param {string} project What project it is
2482
+ * @param {string} blogId Blog\&#39;s unique identifier
2483
+ * @param {*} [options] Override http request option.
2484
+ * @throws {RequiredError}
2485
+ */
2486
+ async getBlog(project: string, blogId: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Blog>> {
2487
+ const localVarAxiosArgs = await localVarAxiosParamCreator.getBlog(project, blogId, options);
2488
+ const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
2489
+ const localVarOperationServerBasePath = operationServerMap['BlogsApi.getBlog']?.[localVarOperationServerIndex]?.url;
2490
+ return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
2491
+ },
2333
2492
  /**
2334
2493
  *
2335
2494
  * @summary List website blog posts
@@ -2388,6 +2547,16 @@ export const BlogsApiFp = function(configuration?: Configuration) {
2388
2547
  export const BlogsApiFactory = function (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) {
2389
2548
  const localVarFp = BlogsApiFp(configuration)
2390
2549
  return {
2550
+ /**
2551
+ *
2552
+ * @summary Get website blog post
2553
+ * @param {BlogsApiGetBlogRequest} requestParameters Request parameters.
2554
+ * @param {*} [options] Override http request option.
2555
+ * @throws {RequiredError}
2556
+ */
2557
+ getBlog(requestParameters: BlogsApiGetBlogRequest, options?: RawAxiosRequestConfig): AxiosPromise<Blog> {
2558
+ return localVarFp.getBlog(requestParameters.project, requestParameters.blogId, options).then((request) => request(axios, basePath));
2559
+ },
2391
2560
  /**
2392
2561
  *
2393
2562
  * @summary List website blog posts
@@ -2421,6 +2590,27 @@ export const BlogsApiFactory = function (configuration?: Configuration, basePath
2421
2590
  };
2422
2591
  };
2423
2592
 
2593
+ /**
2594
+ * Request parameters for getBlog operation in BlogsApi.
2595
+ * @export
2596
+ * @interface BlogsApiGetBlogRequest
2597
+ */
2598
+ export interface BlogsApiGetBlogRequest {
2599
+ /**
2600
+ * What project it is
2601
+ * @type {string}
2602
+ * @memberof BlogsApiGetBlog
2603
+ */
2604
+ readonly project: string
2605
+
2606
+ /**
2607
+ * Blog\&#39;s unique identifier
2608
+ * @type {string}
2609
+ * @memberof BlogsApiGetBlog
2610
+ */
2611
+ readonly blogId: string
2612
+ }
2613
+
2424
2614
  /**
2425
2615
  * Request parameters for listBlogs operation in BlogsApi.
2426
2616
  * @export
@@ -2533,6 +2723,18 @@ export interface BlogsApiUpdateBlogsRequest {
2533
2723
  * @extends {BaseAPI}
2534
2724
  */
2535
2725
  export class BlogsApi extends BaseAPI {
2726
+ /**
2727
+ *
2728
+ * @summary Get website blog post
2729
+ * @param {BlogsApiGetBlogRequest} requestParameters Request parameters.
2730
+ * @param {*} [options] Override http request option.
2731
+ * @throws {RequiredError}
2732
+ * @memberof BlogsApi
2733
+ */
2734
+ public getBlog(requestParameters: BlogsApiGetBlogRequest, options?: RawAxiosRequestConfig) {
2735
+ return BlogsApiFp(this.configuration).getBlog(requestParameters.project, requestParameters.blogId, options).then((request) => request(this.axios, this.basePath));
2736
+ }
2737
+
2536
2738
  /**
2537
2739
  *
2538
2740
  * @summary List website blog posts
@@ -2578,6 +2780,54 @@ export class BlogsApi extends BaseAPI {
2578
2780
  */
2579
2781
  export const CollectionsApiAxiosParamCreator = function (configuration?: Configuration) {
2580
2782
  return {
2783
+ /**
2784
+ *
2785
+ * @summary Get website collection
2786
+ * @param {string} project What project it is
2787
+ * @param {string} collectionId Collection\&#39;s unique identifier
2788
+ * @param {*} [options] Override http request option.
2789
+ * @throws {RequiredError}
2790
+ */
2791
+ getCollection: async (project: string, collectionId: string, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
2792
+ // verify required parameter 'project' is not null or undefined
2793
+ assertParamExists('getCollection', 'project', project)
2794
+ // verify required parameter 'collectionId' is not null or undefined
2795
+ assertParamExists('getCollection', 'collectionId', collectionId)
2796
+ const localVarPath = `/v1/website/collections/{collectionId}`
2797
+ .replace(`{${"collectionId"}}`, encodeURIComponent(String(collectionId)));
2798
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
2799
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
2800
+ let baseOptions;
2801
+ if (configuration) {
2802
+ baseOptions = configuration.baseOptions;
2803
+ }
2804
+
2805
+ const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
2806
+ const localVarHeaderParameter = {} as any;
2807
+ const localVarQueryParameter = {} as any;
2808
+
2809
+ // authentication session-oauth required
2810
+ // oauth required
2811
+ await setOAuthToObject(localVarHeaderParameter, "session-oauth", [], configuration)
2812
+
2813
+ // authentication api-key required
2814
+ await setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration)
2815
+
2816
+ if (project !== undefined) {
2817
+ localVarQueryParameter['project'] = project;
2818
+ }
2819
+
2820
+
2821
+
2822
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
2823
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
2824
+ localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
2825
+
2826
+ return {
2827
+ url: toPathString(localVarUrlObj),
2828
+ options: localVarRequestOptions,
2829
+ };
2830
+ },
2581
2831
  /**
2582
2832
  *
2583
2833
  * @summary List website collections
@@ -2810,6 +3060,20 @@ export const CollectionsApiAxiosParamCreator = function (configuration?: Configu
2810
3060
  export const CollectionsApiFp = function(configuration?: Configuration) {
2811
3061
  const localVarAxiosParamCreator = CollectionsApiAxiosParamCreator(configuration)
2812
3062
  return {
3063
+ /**
3064
+ *
3065
+ * @summary Get website collection
3066
+ * @param {string} project What project it is
3067
+ * @param {string} collectionId Collection\&#39;s unique identifier
3068
+ * @param {*} [options] Override http request option.
3069
+ * @throws {RequiredError}
3070
+ */
3071
+ async getCollection(project: string, collectionId: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Collection>> {
3072
+ const localVarAxiosArgs = await localVarAxiosParamCreator.getCollection(project, collectionId, options);
3073
+ const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
3074
+ const localVarOperationServerBasePath = operationServerMap['CollectionsApi.getCollection']?.[localVarOperationServerIndex]?.url;
3075
+ return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
3076
+ },
2813
3077
  /**
2814
3078
  *
2815
3079
  * @summary List website collections
@@ -2882,6 +3146,16 @@ export const CollectionsApiFp = function(configuration?: Configuration) {
2882
3146
  export const CollectionsApiFactory = function (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) {
2883
3147
  const localVarFp = CollectionsApiFp(configuration)
2884
3148
  return {
3149
+ /**
3150
+ *
3151
+ * @summary Get website collection
3152
+ * @param {CollectionsApiGetCollectionRequest} requestParameters Request parameters.
3153
+ * @param {*} [options] Override http request option.
3154
+ * @throws {RequiredError}
3155
+ */
3156
+ getCollection(requestParameters: CollectionsApiGetCollectionRequest, options?: RawAxiosRequestConfig): AxiosPromise<Collection> {
3157
+ return localVarFp.getCollection(requestParameters.project, requestParameters.collectionId, options).then((request) => request(axios, basePath));
3158
+ },
2885
3159
  /**
2886
3160
  *
2887
3161
  * @summary List website collections
@@ -2925,6 +3199,27 @@ export const CollectionsApiFactory = function (configuration?: Configuration, ba
2925
3199
  };
2926
3200
  };
2927
3201
 
3202
+ /**
3203
+ * Request parameters for getCollection operation in CollectionsApi.
3204
+ * @export
3205
+ * @interface CollectionsApiGetCollectionRequest
3206
+ */
3207
+ export interface CollectionsApiGetCollectionRequest {
3208
+ /**
3209
+ * What project it is
3210
+ * @type {string}
3211
+ * @memberof CollectionsApiGetCollection
3212
+ */
3213
+ readonly project: string
3214
+
3215
+ /**
3216
+ * Collection\&#39;s unique identifier
3217
+ * @type {string}
3218
+ * @memberof CollectionsApiGetCollection
3219
+ */
3220
+ readonly collectionId: string
3221
+ }
3222
+
2928
3223
  /**
2929
3224
  * Request parameters for listCollections operation in CollectionsApi.
2930
3225
  * @export
@@ -3058,6 +3353,18 @@ export interface CollectionsApiUpdateCollectionsRequest {
3058
3353
  * @extends {BaseAPI}
3059
3354
  */
3060
3355
  export class CollectionsApi extends BaseAPI {
3356
+ /**
3357
+ *
3358
+ * @summary Get website collection
3359
+ * @param {CollectionsApiGetCollectionRequest} requestParameters Request parameters.
3360
+ * @param {*} [options] Override http request option.
3361
+ * @throws {RequiredError}
3362
+ * @memberof CollectionsApi
3363
+ */
3364
+ public getCollection(requestParameters: CollectionsApiGetCollectionRequest, options?: RawAxiosRequestConfig) {
3365
+ return CollectionsApiFp(this.configuration).getCollection(requestParameters.project, requestParameters.collectionId, options).then((request) => request(this.axios, this.basePath));
3366
+ }
3367
+
3061
3368
  /**
3062
3369
  *
3063
3370
  * @summary List website collections
@@ -3613,6 +3920,54 @@ export class MenuApi extends BaseAPI {
3613
3920
  */
3614
3921
  export const PagesApiAxiosParamCreator = function (configuration?: Configuration) {
3615
3922
  return {
3923
+ /**
3924
+ *
3925
+ * @summary Get website page
3926
+ * @param {string} project What project it is
3927
+ * @param {string} pageId Page\&#39;s unique identifier
3928
+ * @param {*} [options] Override http request option.
3929
+ * @throws {RequiredError}
3930
+ */
3931
+ getPage: async (project: string, pageId: string, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
3932
+ // verify required parameter 'project' is not null or undefined
3933
+ assertParamExists('getPage', 'project', project)
3934
+ // verify required parameter 'pageId' is not null or undefined
3935
+ assertParamExists('getPage', 'pageId', pageId)
3936
+ const localVarPath = `/v1/website/pages/{pageId}`
3937
+ .replace(`{${"pageId"}}`, encodeURIComponent(String(pageId)));
3938
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
3939
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
3940
+ let baseOptions;
3941
+ if (configuration) {
3942
+ baseOptions = configuration.baseOptions;
3943
+ }
3944
+
3945
+ const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
3946
+ const localVarHeaderParameter = {} as any;
3947
+ const localVarQueryParameter = {} as any;
3948
+
3949
+ // authentication session-oauth required
3950
+ // oauth required
3951
+ await setOAuthToObject(localVarHeaderParameter, "session-oauth", [], configuration)
3952
+
3953
+ // authentication api-key required
3954
+ await setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration)
3955
+
3956
+ if (project !== undefined) {
3957
+ localVarQueryParameter['project'] = project;
3958
+ }
3959
+
3960
+
3961
+
3962
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
3963
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
3964
+ localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
3965
+
3966
+ return {
3967
+ url: toPathString(localVarUrlObj),
3968
+ options: localVarRequestOptions,
3969
+ };
3970
+ },
3616
3971
  /**
3617
3972
  *
3618
3973
  * @summary List website pages
@@ -3845,6 +4200,20 @@ export const PagesApiAxiosParamCreator = function (configuration?: Configuration
3845
4200
  export const PagesApiFp = function(configuration?: Configuration) {
3846
4201
  const localVarAxiosParamCreator = PagesApiAxiosParamCreator(configuration)
3847
4202
  return {
4203
+ /**
4204
+ *
4205
+ * @summary Get website page
4206
+ * @param {string} project What project it is
4207
+ * @param {string} pageId Page\&#39;s unique identifier
4208
+ * @param {*} [options] Override http request option.
4209
+ * @throws {RequiredError}
4210
+ */
4211
+ async getPage(project: string, pageId: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Page>> {
4212
+ const localVarAxiosArgs = await localVarAxiosParamCreator.getPage(project, pageId, options);
4213
+ const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
4214
+ const localVarOperationServerBasePath = operationServerMap['PagesApi.getPage']?.[localVarOperationServerIndex]?.url;
4215
+ return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
4216
+ },
3848
4217
  /**
3849
4218
  *
3850
4219
  * @summary List website pages
@@ -3917,6 +4286,16 @@ export const PagesApiFp = function(configuration?: Configuration) {
3917
4286
  export const PagesApiFactory = function (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) {
3918
4287
  const localVarFp = PagesApiFp(configuration)
3919
4288
  return {
4289
+ /**
4290
+ *
4291
+ * @summary Get website page
4292
+ * @param {PagesApiGetPageRequest} requestParameters Request parameters.
4293
+ * @param {*} [options] Override http request option.
4294
+ * @throws {RequiredError}
4295
+ */
4296
+ getPage(requestParameters: PagesApiGetPageRequest, options?: RawAxiosRequestConfig): AxiosPromise<Page> {
4297
+ return localVarFp.getPage(requestParameters.project, requestParameters.pageId, options).then((request) => request(axios, basePath));
4298
+ },
3920
4299
  /**
3921
4300
  *
3922
4301
  * @summary List website pages
@@ -3960,6 +4339,27 @@ export const PagesApiFactory = function (configuration?: Configuration, basePath
3960
4339
  };
3961
4340
  };
3962
4341
 
4342
+ /**
4343
+ * Request parameters for getPage operation in PagesApi.
4344
+ * @export
4345
+ * @interface PagesApiGetPageRequest
4346
+ */
4347
+ export interface PagesApiGetPageRequest {
4348
+ /**
4349
+ * What project it is
4350
+ * @type {string}
4351
+ * @memberof PagesApiGetPage
4352
+ */
4353
+ readonly project: string
4354
+
4355
+ /**
4356
+ * Page\&#39;s unique identifier
4357
+ * @type {string}
4358
+ * @memberof PagesApiGetPage
4359
+ */
4360
+ readonly pageId: string
4361
+ }
4362
+
3963
4363
  /**
3964
4364
  * Request parameters for listPages operation in PagesApi.
3965
4365
  * @export
@@ -4093,6 +4493,18 @@ export interface PagesApiUpdatePagesRequest {
4093
4493
  * @extends {BaseAPI}
4094
4494
  */
4095
4495
  export class PagesApi extends BaseAPI {
4496
+ /**
4497
+ *
4498
+ * @summary Get website page
4499
+ * @param {PagesApiGetPageRequest} requestParameters Request parameters.
4500
+ * @param {*} [options] Override http request option.
4501
+ * @throws {RequiredError}
4502
+ * @memberof PagesApi
4503
+ */
4504
+ public getPage(requestParameters: PagesApiGetPageRequest, options?: RawAxiosRequestConfig) {
4505
+ return PagesApiFp(this.configuration).getPage(requestParameters.project, requestParameters.pageId, options).then((request) => request(this.axios, this.basePath));
4506
+ }
4507
+
4096
4508
  /**
4097
4509
  *
4098
4510
  * @summary List website pages
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.15.0
7
+ * The version of the OpenAPI document: 0.17.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.15.0
7
+ * The version of the OpenAPI document: 0.17.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.15.0
7
+ * The version of the OpenAPI document: 0.17.0
8
8
  *
9
9
  *
10
10
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).