@teemill/website 0.21.0 → 0.22.1
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 +12 -5
- package/base.ts +1 -1
- package/common.ts +1 -1
- package/configuration.ts +1 -1
- package/dist/api.d.ts +14 -7
- package/dist/api.js +1 -1
- 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 +14 -7
- package/dist/esm/api.js +1 -1
- 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/docs/FooterApi.md +4 -4
- package/docs/Page.md +2 -0
- package/index.ts +1 -1
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
## @teemill/website@0.
|
|
1
|
+
## @teemill/website@0.22.1
|
|
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.
|
|
39
|
+
npm install @teemill/website@0.22.1 --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.
|
|
7
|
+
* The version of the OpenAPI document: 0.22.1
|
|
8
8
|
*
|
|
9
9
|
*
|
|
10
10
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -693,6 +693,13 @@ export interface Page {
|
|
|
693
693
|
* @memberof Page
|
|
694
694
|
*/
|
|
695
695
|
'slug'?: string;
|
|
696
|
+
/**
|
|
697
|
+
*
|
|
698
|
+
* @type {boolean}
|
|
699
|
+
* @memberof Page
|
|
700
|
+
* @deprecated
|
|
701
|
+
*/
|
|
702
|
+
'published'?: boolean;
|
|
696
703
|
/**
|
|
697
704
|
*
|
|
698
705
|
* @type {TargetSearchPhraseData}
|
|
@@ -4555,7 +4562,7 @@ export const FooterApiFp = function(configuration?: Configuration) {
|
|
|
4555
4562
|
* @param {*} [options] Override http request option.
|
|
4556
4563
|
* @throws {RequiredError}
|
|
4557
4564
|
*/
|
|
4558
|
-
async getFooter(project: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<
|
|
4565
|
+
async getFooter(project: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Footer>> {
|
|
4559
4566
|
const localVarAxiosArgs = await localVarAxiosParamCreator.getFooter(project, options);
|
|
4560
4567
|
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
4561
4568
|
const localVarOperationServerBasePath = operationServerMap['FooterApi.getFooter']?.[localVarOperationServerIndex]?.url;
|
|
@@ -4569,7 +4576,7 @@ export const FooterApiFp = function(configuration?: Configuration) {
|
|
|
4569
4576
|
* @param {*} [options] Override http request option.
|
|
4570
4577
|
* @throws {RequiredError}
|
|
4571
4578
|
*/
|
|
4572
|
-
async updateFooter(project: string, updateFooterRequest?: UpdateFooterRequest, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<
|
|
4579
|
+
async updateFooter(project: string, updateFooterRequest?: UpdateFooterRequest, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Footer>> {
|
|
4573
4580
|
const localVarAxiosArgs = await localVarAxiosParamCreator.updateFooter(project, updateFooterRequest, options);
|
|
4574
4581
|
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
4575
4582
|
const localVarOperationServerBasePath = operationServerMap['FooterApi.updateFooter']?.[localVarOperationServerIndex]?.url;
|
|
@@ -4592,7 +4599,7 @@ export const FooterApiFactory = function (configuration?: Configuration, basePat
|
|
|
4592
4599
|
* @param {*} [options] Override http request option.
|
|
4593
4600
|
* @throws {RequiredError}
|
|
4594
4601
|
*/
|
|
4595
|
-
getFooter(requestParameters: FooterApiGetFooterRequest, options?: RawAxiosRequestConfig): AxiosPromise<
|
|
4602
|
+
getFooter(requestParameters: FooterApiGetFooterRequest, options?: RawAxiosRequestConfig): AxiosPromise<Footer> {
|
|
4596
4603
|
return localVarFp.getFooter(requestParameters.project, options).then((request) => request(axios, basePath));
|
|
4597
4604
|
},
|
|
4598
4605
|
/**
|
|
@@ -4602,7 +4609,7 @@ export const FooterApiFactory = function (configuration?: Configuration, basePat
|
|
|
4602
4609
|
* @param {*} [options] Override http request option.
|
|
4603
4610
|
* @throws {RequiredError}
|
|
4604
4611
|
*/
|
|
4605
|
-
updateFooter(requestParameters: FooterApiUpdateFooterRequest, options?: RawAxiosRequestConfig): AxiosPromise<
|
|
4612
|
+
updateFooter(requestParameters: FooterApiUpdateFooterRequest, options?: RawAxiosRequestConfig): AxiosPromise<Footer> {
|
|
4606
4613
|
return localVarFp.updateFooter(requestParameters.project, requestParameters.updateFooterRequest, options).then((request) => request(axios, basePath));
|
|
4607
4614
|
},
|
|
4608
4615
|
};
|
package/base.ts
CHANGED
package/common.ts
CHANGED
package/configuration.ts
CHANGED
package/dist/api.d.ts
CHANGED
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
* Website API
|
|
3
3
|
* Manage your PodOS Website
|
|
4
4
|
*
|
|
5
|
-
* The version of the OpenAPI document: 0.
|
|
5
|
+
* The version of the OpenAPI document: 0.22.1
|
|
6
6
|
*
|
|
7
7
|
*
|
|
8
8
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -676,6 +676,13 @@ export interface Page {
|
|
|
676
676
|
* @memberof Page
|
|
677
677
|
*/
|
|
678
678
|
'slug'?: string;
|
|
679
|
+
/**
|
|
680
|
+
*
|
|
681
|
+
* @type {boolean}
|
|
682
|
+
* @memberof Page
|
|
683
|
+
* @deprecated
|
|
684
|
+
*/
|
|
685
|
+
'published'?: boolean;
|
|
679
686
|
/**
|
|
680
687
|
*
|
|
681
688
|
* @type {TargetSearchPhraseData}
|
|
@@ -3559,7 +3566,7 @@ export declare const FooterApiFp: (configuration?: Configuration) => {
|
|
|
3559
3566
|
* @param {*} [options] Override http request option.
|
|
3560
3567
|
* @throws {RequiredError}
|
|
3561
3568
|
*/
|
|
3562
|
-
getFooter(project: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<
|
|
3569
|
+
getFooter(project: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Footer>>;
|
|
3563
3570
|
/**
|
|
3564
3571
|
* Update a footer
|
|
3565
3572
|
* @summary Update footer
|
|
@@ -3568,7 +3575,7 @@ export declare const FooterApiFp: (configuration?: Configuration) => {
|
|
|
3568
3575
|
* @param {*} [options] Override http request option.
|
|
3569
3576
|
* @throws {RequiredError}
|
|
3570
3577
|
*/
|
|
3571
|
-
updateFooter(project: string, updateFooterRequest?: UpdateFooterRequest, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<
|
|
3578
|
+
updateFooter(project: string, updateFooterRequest?: UpdateFooterRequest, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Footer>>;
|
|
3572
3579
|
};
|
|
3573
3580
|
/**
|
|
3574
3581
|
* FooterApi - factory interface
|
|
@@ -3582,7 +3589,7 @@ export declare const FooterApiFactory: (configuration?: Configuration, basePath?
|
|
|
3582
3589
|
* @param {*} [options] Override http request option.
|
|
3583
3590
|
* @throws {RequiredError}
|
|
3584
3591
|
*/
|
|
3585
|
-
getFooter(requestParameters: FooterApiGetFooterRequest, options?: RawAxiosRequestConfig): AxiosPromise<
|
|
3592
|
+
getFooter(requestParameters: FooterApiGetFooterRequest, options?: RawAxiosRequestConfig): AxiosPromise<Footer>;
|
|
3586
3593
|
/**
|
|
3587
3594
|
* Update a footer
|
|
3588
3595
|
* @summary Update footer
|
|
@@ -3590,7 +3597,7 @@ export declare const FooterApiFactory: (configuration?: Configuration, basePath?
|
|
|
3590
3597
|
* @param {*} [options] Override http request option.
|
|
3591
3598
|
* @throws {RequiredError}
|
|
3592
3599
|
*/
|
|
3593
|
-
updateFooter(requestParameters: FooterApiUpdateFooterRequest, options?: RawAxiosRequestConfig): AxiosPromise<
|
|
3600
|
+
updateFooter(requestParameters: FooterApiUpdateFooterRequest, options?: RawAxiosRequestConfig): AxiosPromise<Footer>;
|
|
3594
3601
|
};
|
|
3595
3602
|
/**
|
|
3596
3603
|
* Request parameters for getFooter operation in FooterApi.
|
|
@@ -3639,7 +3646,7 @@ export declare class FooterApi extends BaseAPI {
|
|
|
3639
3646
|
* @throws {RequiredError}
|
|
3640
3647
|
* @memberof FooterApi
|
|
3641
3648
|
*/
|
|
3642
|
-
getFooter(requestParameters: FooterApiGetFooterRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<Footer
|
|
3649
|
+
getFooter(requestParameters: FooterApiGetFooterRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<Footer, any>>;
|
|
3643
3650
|
/**
|
|
3644
3651
|
* Update a footer
|
|
3645
3652
|
* @summary Update footer
|
|
@@ -3648,7 +3655,7 @@ export declare class FooterApi extends BaseAPI {
|
|
|
3648
3655
|
* @throws {RequiredError}
|
|
3649
3656
|
* @memberof FooterApi
|
|
3650
3657
|
*/
|
|
3651
|
-
updateFooter(requestParameters: FooterApiUpdateFooterRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<Footer
|
|
3658
|
+
updateFooter(requestParameters: FooterApiUpdateFooterRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<Footer, any>>;
|
|
3652
3659
|
}
|
|
3653
3660
|
/**
|
|
3654
3661
|
* MenuApi - axios parameter creator
|
package/dist/api.js
CHANGED
package/dist/base.d.ts
CHANGED
package/dist/base.js
CHANGED
package/dist/common.d.ts
CHANGED
package/dist/common.js
CHANGED
package/dist/configuration.d.ts
CHANGED
package/dist/configuration.js
CHANGED
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.
|
|
5
|
+
* The version of the OpenAPI document: 0.22.1
|
|
6
6
|
*
|
|
7
7
|
*
|
|
8
8
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -676,6 +676,13 @@ export interface Page {
|
|
|
676
676
|
* @memberof Page
|
|
677
677
|
*/
|
|
678
678
|
'slug'?: string;
|
|
679
|
+
/**
|
|
680
|
+
*
|
|
681
|
+
* @type {boolean}
|
|
682
|
+
* @memberof Page
|
|
683
|
+
* @deprecated
|
|
684
|
+
*/
|
|
685
|
+
'published'?: boolean;
|
|
679
686
|
/**
|
|
680
687
|
*
|
|
681
688
|
* @type {TargetSearchPhraseData}
|
|
@@ -3559,7 +3566,7 @@ export declare const FooterApiFp: (configuration?: Configuration) => {
|
|
|
3559
3566
|
* @param {*} [options] Override http request option.
|
|
3560
3567
|
* @throws {RequiredError}
|
|
3561
3568
|
*/
|
|
3562
|
-
getFooter(project: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<
|
|
3569
|
+
getFooter(project: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Footer>>;
|
|
3563
3570
|
/**
|
|
3564
3571
|
* Update a footer
|
|
3565
3572
|
* @summary Update footer
|
|
@@ -3568,7 +3575,7 @@ export declare const FooterApiFp: (configuration?: Configuration) => {
|
|
|
3568
3575
|
* @param {*} [options] Override http request option.
|
|
3569
3576
|
* @throws {RequiredError}
|
|
3570
3577
|
*/
|
|
3571
|
-
updateFooter(project: string, updateFooterRequest?: UpdateFooterRequest, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<
|
|
3578
|
+
updateFooter(project: string, updateFooterRequest?: UpdateFooterRequest, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Footer>>;
|
|
3572
3579
|
};
|
|
3573
3580
|
/**
|
|
3574
3581
|
* FooterApi - factory interface
|
|
@@ -3582,7 +3589,7 @@ export declare const FooterApiFactory: (configuration?: Configuration, basePath?
|
|
|
3582
3589
|
* @param {*} [options] Override http request option.
|
|
3583
3590
|
* @throws {RequiredError}
|
|
3584
3591
|
*/
|
|
3585
|
-
getFooter(requestParameters: FooterApiGetFooterRequest, options?: RawAxiosRequestConfig): AxiosPromise<
|
|
3592
|
+
getFooter(requestParameters: FooterApiGetFooterRequest, options?: RawAxiosRequestConfig): AxiosPromise<Footer>;
|
|
3586
3593
|
/**
|
|
3587
3594
|
* Update a footer
|
|
3588
3595
|
* @summary Update footer
|
|
@@ -3590,7 +3597,7 @@ export declare const FooterApiFactory: (configuration?: Configuration, basePath?
|
|
|
3590
3597
|
* @param {*} [options] Override http request option.
|
|
3591
3598
|
* @throws {RequiredError}
|
|
3592
3599
|
*/
|
|
3593
|
-
updateFooter(requestParameters: FooterApiUpdateFooterRequest, options?: RawAxiosRequestConfig): AxiosPromise<
|
|
3600
|
+
updateFooter(requestParameters: FooterApiUpdateFooterRequest, options?: RawAxiosRequestConfig): AxiosPromise<Footer>;
|
|
3594
3601
|
};
|
|
3595
3602
|
/**
|
|
3596
3603
|
* Request parameters for getFooter operation in FooterApi.
|
|
@@ -3639,7 +3646,7 @@ export declare class FooterApi extends BaseAPI {
|
|
|
3639
3646
|
* @throws {RequiredError}
|
|
3640
3647
|
* @memberof FooterApi
|
|
3641
3648
|
*/
|
|
3642
|
-
getFooter(requestParameters: FooterApiGetFooterRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<Footer
|
|
3649
|
+
getFooter(requestParameters: FooterApiGetFooterRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<Footer, any>>;
|
|
3643
3650
|
/**
|
|
3644
3651
|
* Update a footer
|
|
3645
3652
|
* @summary Update footer
|
|
@@ -3648,7 +3655,7 @@ export declare class FooterApi extends BaseAPI {
|
|
|
3648
3655
|
* @throws {RequiredError}
|
|
3649
3656
|
* @memberof FooterApi
|
|
3650
3657
|
*/
|
|
3651
|
-
updateFooter(requestParameters: FooterApiUpdateFooterRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<Footer
|
|
3658
|
+
updateFooter(requestParameters: FooterApiUpdateFooterRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<Footer, any>>;
|
|
3652
3659
|
}
|
|
3653
3660
|
/**
|
|
3654
3661
|
* MenuApi - axios parameter creator
|
package/dist/esm/api.js
CHANGED
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/docs/FooterApi.md
CHANGED
|
@@ -8,7 +8,7 @@ All URIs are relative to *https://api.localhost:8080*
|
|
|
8
8
|
|[**updateFooter**](#updatefooter) | **PUT** /v1/website/footer | Update footer|
|
|
9
9
|
|
|
10
10
|
# **getFooter**
|
|
11
|
-
>
|
|
11
|
+
> Footer getFooter()
|
|
12
12
|
|
|
13
13
|
Get the footer for the project
|
|
14
14
|
|
|
@@ -39,7 +39,7 @@ const { status, data } = await apiInstance.getFooter(
|
|
|
39
39
|
|
|
40
40
|
### Return type
|
|
41
41
|
|
|
42
|
-
**
|
|
42
|
+
**Footer**
|
|
43
43
|
|
|
44
44
|
### Authorization
|
|
45
45
|
|
|
@@ -63,7 +63,7 @@ const { status, data } = await apiInstance.getFooter(
|
|
|
63
63
|
[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md)
|
|
64
64
|
|
|
65
65
|
# **updateFooter**
|
|
66
|
-
>
|
|
66
|
+
> Footer updateFooter()
|
|
67
67
|
|
|
68
68
|
Update a footer
|
|
69
69
|
|
|
@@ -98,7 +98,7 @@ const { status, data } = await apiInstance.updateFooter(
|
|
|
98
98
|
|
|
99
99
|
### Return type
|
|
100
100
|
|
|
101
|
-
**
|
|
101
|
+
**Footer**
|
|
102
102
|
|
|
103
103
|
### Authorization
|
|
104
104
|
|
package/docs/Page.md
CHANGED
|
@@ -10,6 +10,7 @@ Name | Type | Description | Notes
|
|
|
10
10
|
**title** | **string** | | [optional] [default to undefined]
|
|
11
11
|
**description** | **string** | | [optional] [default to undefined]
|
|
12
12
|
**slug** | **string** | | [optional] [default to undefined]
|
|
13
|
+
**published** | **boolean** | | [optional] [default to undefined]
|
|
13
14
|
**targetSearchPhraseData** | [**TargetSearchPhraseData**](TargetSearchPhraseData.md) | | [optional] [default to undefined]
|
|
14
15
|
**optimisationHistory** | [**Array<OptimisationHistoryItem>**](OptimisationHistoryItem.md) | History of AI optimisations performed on the page | [optional] [default to undefined]
|
|
15
16
|
**metaImage** | [**MetaImage**](MetaImage.md) | | [optional] [default to undefined]
|
|
@@ -26,6 +27,7 @@ const instance: Page = {
|
|
|
26
27
|
title,
|
|
27
28
|
description,
|
|
28
29
|
slug,
|
|
30
|
+
published,
|
|
29
31
|
targetSearchPhraseData,
|
|
30
32
|
optimisationHistory,
|
|
31
33
|
metaImage,
|
package/index.ts
CHANGED