@hostinger/sdk 1.46.4 → 1.47.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 +1 -59
- package/base.ts +1 -1
- package/common.ts +1 -1
- package/configuration.ts +2 -2
- package/dist/api.d.ts +1 -59
- package/dist/api.js +1 -2
- 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 +2 -2
- package/dist/esm/api.d.ts +1 -59
- package/dist/esm/api.js +1 -2
- 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 +2 -2
- 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/AgencyHostingV1SetupsCreateSetupRequest.md +0 -4
- package/index.ts +1 -1
- package/package.json +1 -1
- package/docs/AgencyHostingV1SetupsCreateSetupRequestClone.md +0 -21
- package/docs/AgencyHostingV1SetupsCreateSetupRequestDeriveDomain.md +0 -21
- package/docs/AgencyHostingV1SetupsCreateSetupRequestDeriveDomainFromVhost.md +0 -22
package/README.md
CHANGED
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
## @hostinger/sdk@1.
|
|
1
|
+
## @hostinger/sdk@1.47.0
|
|
2
2
|
|
|
3
3
|
For more information, please visit [https://developers.hostinger.com](https://developers.hostinger.com).
|
|
4
4
|
|
|
5
5
|
### Usage
|
|
6
6
|
|
|
7
7
|
```
|
|
8
|
-
npm install @hostinger/sdk@1.
|
|
8
|
+
npm install @hostinger/sdk@1.47.0 --save
|
|
9
9
|
```
|
package/api.ts
CHANGED
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
/**
|
|
4
4
|
* Hostinger API
|
|
5
5
|
*
|
|
6
|
-
* API Version: 1.
|
|
6
|
+
* API Version: 1.47.0
|
|
7
7
|
*
|
|
8
8
|
* NOTE: This file is auto-generated, DO NOT EDIT THIS FILE MANUALLY!
|
|
9
9
|
* If you want to contribute or request a new feature, please create an issue or pull request on https://github.com/hostinger/api
|
|
@@ -708,72 +708,14 @@ export interface AgencyHostingV1SetupsCreateSetupRequest {
|
|
|
708
708
|
* @memberof AgencyHostingV1SetupsCreateSetupRequest
|
|
709
709
|
*/
|
|
710
710
|
'wordpress': AgencyHostingV1SetupsCreateSetupRequestWordpress;
|
|
711
|
-
/**
|
|
712
|
-
*
|
|
713
|
-
* @type {AgencyHostingV1SetupsCreateSetupRequestClone}
|
|
714
|
-
* @memberof AgencyHostingV1SetupsCreateSetupRequest
|
|
715
|
-
*/
|
|
716
|
-
'clone': AgencyHostingV1SetupsCreateSetupRequestClone;
|
|
717
|
-
/**
|
|
718
|
-
*
|
|
719
|
-
* @type {AgencyHostingV1SetupsCreateSetupRequestDeriveDomain}
|
|
720
|
-
* @memberof AgencyHostingV1SetupsCreateSetupRequest
|
|
721
|
-
*/
|
|
722
|
-
'derive_domain': AgencyHostingV1SetupsCreateSetupRequestDeriveDomain;
|
|
723
711
|
}
|
|
724
712
|
|
|
725
713
|
export const AgencyHostingV1SetupsCreateSetupRequestTypeEnum = {
|
|
726
|
-
Horizons: 'horizons',
|
|
727
714
|
NodeStatic: 'node-static'
|
|
728
715
|
} as const;
|
|
729
716
|
|
|
730
717
|
export type AgencyHostingV1SetupsCreateSetupRequestTypeEnum = typeof AgencyHostingV1SetupsCreateSetupRequestTypeEnum[keyof typeof AgencyHostingV1SetupsCreateSetupRequestTypeEnum];
|
|
731
718
|
|
|
732
|
-
/**
|
|
733
|
-
* Clone the new website from an existing website
|
|
734
|
-
* @export
|
|
735
|
-
* @interface AgencyHostingV1SetupsCreateSetupRequestClone
|
|
736
|
-
*/
|
|
737
|
-
export interface AgencyHostingV1SetupsCreateSetupRequestClone {
|
|
738
|
-
/**
|
|
739
|
-
*
|
|
740
|
-
* @type {string}
|
|
741
|
-
* @memberof AgencyHostingV1SetupsCreateSetupRequestClone
|
|
742
|
-
*/
|
|
743
|
-
'website_uid': string;
|
|
744
|
-
}
|
|
745
|
-
/**
|
|
746
|
-
* Derive the domain from an existing vhost
|
|
747
|
-
* @export
|
|
748
|
-
* @interface AgencyHostingV1SetupsCreateSetupRequestDeriveDomain
|
|
749
|
-
*/
|
|
750
|
-
export interface AgencyHostingV1SetupsCreateSetupRequestDeriveDomain {
|
|
751
|
-
/**
|
|
752
|
-
*
|
|
753
|
-
* @type {AgencyHostingV1SetupsCreateSetupRequestDeriveDomainFromVhost}
|
|
754
|
-
* @memberof AgencyHostingV1SetupsCreateSetupRequestDeriveDomain
|
|
755
|
-
*/
|
|
756
|
-
'from_vhost': AgencyHostingV1SetupsCreateSetupRequestDeriveDomainFromVhost;
|
|
757
|
-
}
|
|
758
|
-
/**
|
|
759
|
-
*
|
|
760
|
-
* @export
|
|
761
|
-
* @interface AgencyHostingV1SetupsCreateSetupRequestDeriveDomainFromVhost
|
|
762
|
-
*/
|
|
763
|
-
export interface AgencyHostingV1SetupsCreateSetupRequestDeriveDomainFromVhost {
|
|
764
|
-
/**
|
|
765
|
-
*
|
|
766
|
-
* @type {string}
|
|
767
|
-
* @memberof AgencyHostingV1SetupsCreateSetupRequestDeriveDomainFromVhost
|
|
768
|
-
*/
|
|
769
|
-
'username': string;
|
|
770
|
-
/**
|
|
771
|
-
*
|
|
772
|
-
* @type {string}
|
|
773
|
-
* @memberof AgencyHostingV1SetupsCreateSetupRequestDeriveDomainFromVhost
|
|
774
|
-
*/
|
|
775
|
-
'vhost': string;
|
|
776
|
-
}
|
|
777
719
|
/**
|
|
778
720
|
* Website settings
|
|
779
721
|
* @export
|
package/base.ts
CHANGED
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
/**
|
|
4
4
|
* Hostinger API
|
|
5
5
|
*
|
|
6
|
-
* API Version: 1.
|
|
6
|
+
* API Version: 1.47.0
|
|
7
7
|
*
|
|
8
8
|
* NOTE: This file is auto-generated, DO NOT EDIT THIS FILE MANUALLY!
|
|
9
9
|
* If you want to contribute or request a new feature, please create an issue or pull request on https://github.com/hostinger/api
|
package/common.ts
CHANGED
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
/**
|
|
4
4
|
* Hostinger API
|
|
5
5
|
*
|
|
6
|
-
* API Version: 1.
|
|
6
|
+
* API Version: 1.47.0
|
|
7
7
|
*
|
|
8
8
|
* NOTE: This file is auto-generated, DO NOT EDIT THIS FILE MANUALLY!
|
|
9
9
|
* If you want to contribute or request a new feature, please create an issue or pull request on https://github.com/hostinger/api
|
package/configuration.ts
CHANGED
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
/**
|
|
4
4
|
* Hostinger API
|
|
5
5
|
*
|
|
6
|
-
* API Version: 1.
|
|
6
|
+
* API Version: 1.47.0
|
|
7
7
|
*
|
|
8
8
|
* NOTE: This file is auto-generated, DO NOT EDIT THIS FILE MANUALLY!
|
|
9
9
|
* If you want to contribute or request a new feature, please create an issue or pull request on https://github.com/hostinger/api
|
|
@@ -48,7 +48,7 @@ export class Configuration {
|
|
|
48
48
|
this.baseOptions = {
|
|
49
49
|
...param.baseOptions,
|
|
50
50
|
headers: {
|
|
51
|
-
'User-Agent': "hostinger-typescript-sdk/1.
|
|
51
|
+
'User-Agent': "hostinger-typescript-sdk/1.47.0",
|
|
52
52
|
...param.baseOptions?.headers,
|
|
53
53
|
},
|
|
54
54
|
};
|
package/dist/api.d.ts
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* Hostinger API
|
|
3
3
|
*
|
|
4
|
-
* API Version: 1.
|
|
4
|
+
* API Version: 1.47.0
|
|
5
5
|
*
|
|
6
6
|
* NOTE: This file is auto-generated, DO NOT EDIT THIS FILE MANUALLY!
|
|
7
7
|
* If you want to contribute or request a new feature, please create an issue or pull request on https://github.com/hostinger/api
|
|
@@ -692,69 +692,11 @@ export interface AgencyHostingV1SetupsCreateSetupRequest {
|
|
|
692
692
|
* @memberof AgencyHostingV1SetupsCreateSetupRequest
|
|
693
693
|
*/
|
|
694
694
|
'wordpress': AgencyHostingV1SetupsCreateSetupRequestWordpress;
|
|
695
|
-
/**
|
|
696
|
-
*
|
|
697
|
-
* @type {AgencyHostingV1SetupsCreateSetupRequestClone}
|
|
698
|
-
* @memberof AgencyHostingV1SetupsCreateSetupRequest
|
|
699
|
-
*/
|
|
700
|
-
'clone': AgencyHostingV1SetupsCreateSetupRequestClone;
|
|
701
|
-
/**
|
|
702
|
-
*
|
|
703
|
-
* @type {AgencyHostingV1SetupsCreateSetupRequestDeriveDomain}
|
|
704
|
-
* @memberof AgencyHostingV1SetupsCreateSetupRequest
|
|
705
|
-
*/
|
|
706
|
-
'derive_domain': AgencyHostingV1SetupsCreateSetupRequestDeriveDomain;
|
|
707
695
|
}
|
|
708
696
|
export declare const AgencyHostingV1SetupsCreateSetupRequestTypeEnum: {
|
|
709
|
-
readonly Horizons: "horizons";
|
|
710
697
|
readonly NodeStatic: "node-static";
|
|
711
698
|
};
|
|
712
699
|
export type AgencyHostingV1SetupsCreateSetupRequestTypeEnum = typeof AgencyHostingV1SetupsCreateSetupRequestTypeEnum[keyof typeof AgencyHostingV1SetupsCreateSetupRequestTypeEnum];
|
|
713
|
-
/**
|
|
714
|
-
* Clone the new website from an existing website
|
|
715
|
-
* @export
|
|
716
|
-
* @interface AgencyHostingV1SetupsCreateSetupRequestClone
|
|
717
|
-
*/
|
|
718
|
-
export interface AgencyHostingV1SetupsCreateSetupRequestClone {
|
|
719
|
-
/**
|
|
720
|
-
*
|
|
721
|
-
* @type {string}
|
|
722
|
-
* @memberof AgencyHostingV1SetupsCreateSetupRequestClone
|
|
723
|
-
*/
|
|
724
|
-
'website_uid': string;
|
|
725
|
-
}
|
|
726
|
-
/**
|
|
727
|
-
* Derive the domain from an existing vhost
|
|
728
|
-
* @export
|
|
729
|
-
* @interface AgencyHostingV1SetupsCreateSetupRequestDeriveDomain
|
|
730
|
-
*/
|
|
731
|
-
export interface AgencyHostingV1SetupsCreateSetupRequestDeriveDomain {
|
|
732
|
-
/**
|
|
733
|
-
*
|
|
734
|
-
* @type {AgencyHostingV1SetupsCreateSetupRequestDeriveDomainFromVhost}
|
|
735
|
-
* @memberof AgencyHostingV1SetupsCreateSetupRequestDeriveDomain
|
|
736
|
-
*/
|
|
737
|
-
'from_vhost': AgencyHostingV1SetupsCreateSetupRequestDeriveDomainFromVhost;
|
|
738
|
-
}
|
|
739
|
-
/**
|
|
740
|
-
*
|
|
741
|
-
* @export
|
|
742
|
-
* @interface AgencyHostingV1SetupsCreateSetupRequestDeriveDomainFromVhost
|
|
743
|
-
*/
|
|
744
|
-
export interface AgencyHostingV1SetupsCreateSetupRequestDeriveDomainFromVhost {
|
|
745
|
-
/**
|
|
746
|
-
*
|
|
747
|
-
* @type {string}
|
|
748
|
-
* @memberof AgencyHostingV1SetupsCreateSetupRequestDeriveDomainFromVhost
|
|
749
|
-
*/
|
|
750
|
-
'username': string;
|
|
751
|
-
/**
|
|
752
|
-
*
|
|
753
|
-
* @type {string}
|
|
754
|
-
* @memberof AgencyHostingV1SetupsCreateSetupRequestDeriveDomainFromVhost
|
|
755
|
-
*/
|
|
756
|
-
'vhost': string;
|
|
757
|
-
}
|
|
758
700
|
/**
|
|
759
701
|
* Website settings
|
|
760
702
|
* @export
|
package/dist/api.js
CHANGED
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
/**
|
|
5
5
|
* Hostinger API
|
|
6
6
|
*
|
|
7
|
-
* API Version: 1.
|
|
7
|
+
* API Version: 1.47.0
|
|
8
8
|
*
|
|
9
9
|
* NOTE: This file is auto-generated, DO NOT EDIT THIS FILE MANUALLY!
|
|
10
10
|
* If you want to contribute or request a new feature, please create an issue or pull request on https://github.com/hostinger/api
|
|
@@ -46,7 +46,6 @@ exports.AgencyHostingV1PhpOptionResourceTypeEnum = {
|
|
|
46
46
|
List: 'list'
|
|
47
47
|
};
|
|
48
48
|
exports.AgencyHostingV1SetupsCreateSetupRequestTypeEnum = {
|
|
49
|
-
Horizons: 'horizons',
|
|
50
49
|
NodeStatic: 'node-static'
|
|
51
50
|
};
|
|
52
51
|
exports.AgencyHostingV1SetupsWebsiteSetupStatusResourceStatusEnum = {
|
package/dist/base.d.ts
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* Hostinger API
|
|
3
3
|
*
|
|
4
|
-
* API Version: 1.
|
|
4
|
+
* API Version: 1.47.0
|
|
5
5
|
*
|
|
6
6
|
* NOTE: This file is auto-generated, DO NOT EDIT THIS FILE MANUALLY!
|
|
7
7
|
* If you want to contribute or request a new feature, please create an issue or pull request on https://github.com/hostinger/api
|
package/dist/base.js
CHANGED
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
/**
|
|
5
5
|
* Hostinger API
|
|
6
6
|
*
|
|
7
|
-
* API Version: 1.
|
|
7
|
+
* API Version: 1.47.0
|
|
8
8
|
*
|
|
9
9
|
* NOTE: This file is auto-generated, DO NOT EDIT THIS FILE MANUALLY!
|
|
10
10
|
* If you want to contribute or request a new feature, please create an issue or pull request on https://github.com/hostinger/api
|
package/dist/common.d.ts
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* Hostinger API
|
|
3
3
|
*
|
|
4
|
-
* API Version: 1.
|
|
4
|
+
* API Version: 1.47.0
|
|
5
5
|
*
|
|
6
6
|
* NOTE: This file is auto-generated, DO NOT EDIT THIS FILE MANUALLY!
|
|
7
7
|
* If you want to contribute or request a new feature, please create an issue or pull request on https://github.com/hostinger/api
|
package/dist/common.js
CHANGED
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
/**
|
|
5
5
|
* Hostinger API
|
|
6
6
|
*
|
|
7
|
-
* API Version: 1.
|
|
7
|
+
* API Version: 1.47.0
|
|
8
8
|
*
|
|
9
9
|
* NOTE: This file is auto-generated, DO NOT EDIT THIS FILE MANUALLY!
|
|
10
10
|
* If you want to contribute or request a new feature, please create an issue or pull request on https://github.com/hostinger/api
|
package/dist/configuration.d.ts
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* Hostinger API
|
|
3
3
|
*
|
|
4
|
-
* API Version: 1.
|
|
4
|
+
* API Version: 1.47.0
|
|
5
5
|
*
|
|
6
6
|
* NOTE: This file is auto-generated, DO NOT EDIT THIS FILE MANUALLY!
|
|
7
7
|
* If you want to contribute or request a new feature, please create an issue or pull request on https://github.com/hostinger/api
|
package/dist/configuration.js
CHANGED
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
/**
|
|
5
5
|
* Hostinger API
|
|
6
6
|
*
|
|
7
|
-
* API Version: 1.
|
|
7
|
+
* API Version: 1.47.0
|
|
8
8
|
*
|
|
9
9
|
* NOTE: This file is auto-generated, DO NOT EDIT THIS FILE MANUALLY!
|
|
10
10
|
* If you want to contribute or request a new feature, please create an issue or pull request on https://github.com/hostinger/api
|
|
@@ -16,7 +16,7 @@ class Configuration {
|
|
|
16
16
|
var _a;
|
|
17
17
|
this.accessToken = param.accessToken;
|
|
18
18
|
this.basePath = param.basePath;
|
|
19
|
-
this.baseOptions = Object.assign(Object.assign({}, param.baseOptions), { headers: Object.assign({ 'User-Agent': "hostinger-typescript-sdk/1.
|
|
19
|
+
this.baseOptions = Object.assign(Object.assign({}, param.baseOptions), { headers: Object.assign({ 'User-Agent': "hostinger-typescript-sdk/1.47.0" }, (_a = param.baseOptions) === null || _a === void 0 ? void 0 : _a.headers) });
|
|
20
20
|
this.formDataCtor = param.formDataCtor;
|
|
21
21
|
}
|
|
22
22
|
/**
|
package/dist/esm/api.d.ts
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* Hostinger API
|
|
3
3
|
*
|
|
4
|
-
* API Version: 1.
|
|
4
|
+
* API Version: 1.47.0
|
|
5
5
|
*
|
|
6
6
|
* NOTE: This file is auto-generated, DO NOT EDIT THIS FILE MANUALLY!
|
|
7
7
|
* If you want to contribute or request a new feature, please create an issue or pull request on https://github.com/hostinger/api
|
|
@@ -692,69 +692,11 @@ export interface AgencyHostingV1SetupsCreateSetupRequest {
|
|
|
692
692
|
* @memberof AgencyHostingV1SetupsCreateSetupRequest
|
|
693
693
|
*/
|
|
694
694
|
'wordpress': AgencyHostingV1SetupsCreateSetupRequestWordpress;
|
|
695
|
-
/**
|
|
696
|
-
*
|
|
697
|
-
* @type {AgencyHostingV1SetupsCreateSetupRequestClone}
|
|
698
|
-
* @memberof AgencyHostingV1SetupsCreateSetupRequest
|
|
699
|
-
*/
|
|
700
|
-
'clone': AgencyHostingV1SetupsCreateSetupRequestClone;
|
|
701
|
-
/**
|
|
702
|
-
*
|
|
703
|
-
* @type {AgencyHostingV1SetupsCreateSetupRequestDeriveDomain}
|
|
704
|
-
* @memberof AgencyHostingV1SetupsCreateSetupRequest
|
|
705
|
-
*/
|
|
706
|
-
'derive_domain': AgencyHostingV1SetupsCreateSetupRequestDeriveDomain;
|
|
707
695
|
}
|
|
708
696
|
export declare const AgencyHostingV1SetupsCreateSetupRequestTypeEnum: {
|
|
709
|
-
readonly Horizons: "horizons";
|
|
710
697
|
readonly NodeStatic: "node-static";
|
|
711
698
|
};
|
|
712
699
|
export type AgencyHostingV1SetupsCreateSetupRequestTypeEnum = typeof AgencyHostingV1SetupsCreateSetupRequestTypeEnum[keyof typeof AgencyHostingV1SetupsCreateSetupRequestTypeEnum];
|
|
713
|
-
/**
|
|
714
|
-
* Clone the new website from an existing website
|
|
715
|
-
* @export
|
|
716
|
-
* @interface AgencyHostingV1SetupsCreateSetupRequestClone
|
|
717
|
-
*/
|
|
718
|
-
export interface AgencyHostingV1SetupsCreateSetupRequestClone {
|
|
719
|
-
/**
|
|
720
|
-
*
|
|
721
|
-
* @type {string}
|
|
722
|
-
* @memberof AgencyHostingV1SetupsCreateSetupRequestClone
|
|
723
|
-
*/
|
|
724
|
-
'website_uid': string;
|
|
725
|
-
}
|
|
726
|
-
/**
|
|
727
|
-
* Derive the domain from an existing vhost
|
|
728
|
-
* @export
|
|
729
|
-
* @interface AgencyHostingV1SetupsCreateSetupRequestDeriveDomain
|
|
730
|
-
*/
|
|
731
|
-
export interface AgencyHostingV1SetupsCreateSetupRequestDeriveDomain {
|
|
732
|
-
/**
|
|
733
|
-
*
|
|
734
|
-
* @type {AgencyHostingV1SetupsCreateSetupRequestDeriveDomainFromVhost}
|
|
735
|
-
* @memberof AgencyHostingV1SetupsCreateSetupRequestDeriveDomain
|
|
736
|
-
*/
|
|
737
|
-
'from_vhost': AgencyHostingV1SetupsCreateSetupRequestDeriveDomainFromVhost;
|
|
738
|
-
}
|
|
739
|
-
/**
|
|
740
|
-
*
|
|
741
|
-
* @export
|
|
742
|
-
* @interface AgencyHostingV1SetupsCreateSetupRequestDeriveDomainFromVhost
|
|
743
|
-
*/
|
|
744
|
-
export interface AgencyHostingV1SetupsCreateSetupRequestDeriveDomainFromVhost {
|
|
745
|
-
/**
|
|
746
|
-
*
|
|
747
|
-
* @type {string}
|
|
748
|
-
* @memberof AgencyHostingV1SetupsCreateSetupRequestDeriveDomainFromVhost
|
|
749
|
-
*/
|
|
750
|
-
'username': string;
|
|
751
|
-
/**
|
|
752
|
-
*
|
|
753
|
-
* @type {string}
|
|
754
|
-
* @memberof AgencyHostingV1SetupsCreateSetupRequestDeriveDomainFromVhost
|
|
755
|
-
*/
|
|
756
|
-
'vhost': string;
|
|
757
|
-
}
|
|
758
700
|
/**
|
|
759
701
|
* Website settings
|
|
760
702
|
* @export
|
package/dist/esm/api.js
CHANGED
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
/**
|
|
4
4
|
* Hostinger API
|
|
5
5
|
*
|
|
6
|
-
* API Version: 1.
|
|
6
|
+
* API Version: 1.47.0
|
|
7
7
|
*
|
|
8
8
|
* NOTE: This file is auto-generated, DO NOT EDIT THIS FILE MANUALLY!
|
|
9
9
|
* If you want to contribute or request a new feature, please create an issue or pull request on https://github.com/hostinger/api
|
|
@@ -33,7 +33,6 @@ export const AgencyHostingV1PhpOptionResourceTypeEnum = {
|
|
|
33
33
|
List: 'list'
|
|
34
34
|
};
|
|
35
35
|
export const AgencyHostingV1SetupsCreateSetupRequestTypeEnum = {
|
|
36
|
-
Horizons: 'horizons',
|
|
37
36
|
NodeStatic: 'node-static'
|
|
38
37
|
};
|
|
39
38
|
export const AgencyHostingV1SetupsWebsiteSetupStatusResourceStatusEnum = {
|
package/dist/esm/base.d.ts
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* Hostinger API
|
|
3
3
|
*
|
|
4
|
-
* API Version: 1.
|
|
4
|
+
* API Version: 1.47.0
|
|
5
5
|
*
|
|
6
6
|
* NOTE: This file is auto-generated, DO NOT EDIT THIS FILE MANUALLY!
|
|
7
7
|
* If you want to contribute or request a new feature, please create an issue or pull request on https://github.com/hostinger/api
|
package/dist/esm/base.js
CHANGED
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
/**
|
|
4
4
|
* Hostinger API
|
|
5
5
|
*
|
|
6
|
-
* API Version: 1.
|
|
6
|
+
* API Version: 1.47.0
|
|
7
7
|
*
|
|
8
8
|
* NOTE: This file is auto-generated, DO NOT EDIT THIS FILE MANUALLY!
|
|
9
9
|
* If you want to contribute or request a new feature, please create an issue or pull request on https://github.com/hostinger/api
|
package/dist/esm/common.d.ts
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* Hostinger API
|
|
3
3
|
*
|
|
4
|
-
* API Version: 1.
|
|
4
|
+
* API Version: 1.47.0
|
|
5
5
|
*
|
|
6
6
|
* NOTE: This file is auto-generated, DO NOT EDIT THIS FILE MANUALLY!
|
|
7
7
|
* If you want to contribute or request a new feature, please create an issue or pull request on https://github.com/hostinger/api
|
package/dist/esm/common.js
CHANGED
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
/**
|
|
4
4
|
* Hostinger API
|
|
5
5
|
*
|
|
6
|
-
* API Version: 1.
|
|
6
|
+
* API Version: 1.47.0
|
|
7
7
|
*
|
|
8
8
|
* NOTE: This file is auto-generated, DO NOT EDIT THIS FILE MANUALLY!
|
|
9
9
|
* If you want to contribute or request a new feature, please create an issue or pull request on https://github.com/hostinger/api
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* Hostinger API
|
|
3
3
|
*
|
|
4
|
-
* API Version: 1.
|
|
4
|
+
* API Version: 1.47.0
|
|
5
5
|
*
|
|
6
6
|
* NOTE: This file is auto-generated, DO NOT EDIT THIS FILE MANUALLY!
|
|
7
7
|
* If you want to contribute or request a new feature, please create an issue or pull request on https://github.com/hostinger/api
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
/**
|
|
4
4
|
* Hostinger API
|
|
5
5
|
*
|
|
6
|
-
* API Version: 1.
|
|
6
|
+
* API Version: 1.47.0
|
|
7
7
|
*
|
|
8
8
|
* NOTE: This file is auto-generated, DO NOT EDIT THIS FILE MANUALLY!
|
|
9
9
|
* If you want to contribute or request a new feature, please create an issue or pull request on https://github.com/hostinger/api
|
|
@@ -13,7 +13,7 @@ export class Configuration {
|
|
|
13
13
|
var _a;
|
|
14
14
|
this.accessToken = param.accessToken;
|
|
15
15
|
this.basePath = param.basePath;
|
|
16
|
-
this.baseOptions = Object.assign(Object.assign({}, param.baseOptions), { headers: Object.assign({ 'User-Agent': "hostinger-typescript-sdk/1.
|
|
16
|
+
this.baseOptions = Object.assign(Object.assign({}, param.baseOptions), { headers: Object.assign({ 'User-Agent': "hostinger-typescript-sdk/1.47.0" }, (_a = param.baseOptions) === null || _a === void 0 ? void 0 : _a.headers) });
|
|
17
17
|
this.formDataCtor = param.formDataCtor;
|
|
18
18
|
}
|
|
19
19
|
/**
|
package/dist/esm/index.d.ts
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* Hostinger API
|
|
3
3
|
*
|
|
4
|
-
* API Version: 1.
|
|
4
|
+
* API Version: 1.47.0
|
|
5
5
|
*
|
|
6
6
|
* NOTE: This file is auto-generated, DO NOT EDIT THIS FILE MANUALLY!
|
|
7
7
|
* If you want to contribute or request a new feature, please create an issue or pull request on https://github.com/hostinger/api
|
package/dist/esm/index.js
CHANGED
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
/**
|
|
4
4
|
* Hostinger API
|
|
5
5
|
*
|
|
6
|
-
* API Version: 1.
|
|
6
|
+
* API Version: 1.47.0
|
|
7
7
|
*
|
|
8
8
|
* NOTE: This file is auto-generated, DO NOT EDIT THIS FILE MANUALLY!
|
|
9
9
|
* If you want to contribute or request a new feature, please create an issue or pull request on https://github.com/hostinger/api
|
package/dist/index.d.ts
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* Hostinger API
|
|
3
3
|
*
|
|
4
|
-
* API Version: 1.
|
|
4
|
+
* API Version: 1.47.0
|
|
5
5
|
*
|
|
6
6
|
* NOTE: This file is auto-generated, DO NOT EDIT THIS FILE MANUALLY!
|
|
7
7
|
* If you want to contribute or request a new feature, please create an issue or pull request on https://github.com/hostinger/api
|
package/dist/index.js
CHANGED
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
/**
|
|
5
5
|
* Hostinger API
|
|
6
6
|
*
|
|
7
|
-
* API Version: 1.
|
|
7
|
+
* API Version: 1.47.0
|
|
8
8
|
*
|
|
9
9
|
* NOTE: This file is auto-generated, DO NOT EDIT THIS FILE MANUALLY!
|
|
10
10
|
* If you want to contribute or request a new feature, please create an issue or pull request on https://github.com/hostinger/api
|
|
@@ -12,8 +12,6 @@ Name | Type | Description | Notes
|
|
|
12
12
|
**domain** | **string** | Primary domain to attach to the website. Omit or set to null to get a free auto-generated *.hostingersite.com subdomain instead. | [optional] [default to undefined]
|
|
13
13
|
**type** | **string** | Website type | [optional] [default to undefined]
|
|
14
14
|
**wordpress** | [**AgencyHostingV1SetupsCreateSetupRequestWordpress**](AgencyHostingV1SetupsCreateSetupRequestWordpress.md) | | [optional] [default to undefined]
|
|
15
|
-
**clone** | [**AgencyHostingV1SetupsCreateSetupRequestClone**](AgencyHostingV1SetupsCreateSetupRequestClone.md) | | [optional] [default to undefined]
|
|
16
|
-
**derive_domain** | [**AgencyHostingV1SetupsCreateSetupRequestDeriveDomain**](AgencyHostingV1SetupsCreateSetupRequestDeriveDomain.md) | | [optional] [default to undefined]
|
|
17
15
|
|
|
18
16
|
## Example
|
|
19
17
|
|
|
@@ -27,8 +25,6 @@ const instance: AgencyHostingV1SetupsCreateSetupRequest = {
|
|
|
27
25
|
domain,
|
|
28
26
|
type,
|
|
29
27
|
wordpress,
|
|
30
|
-
clone,
|
|
31
|
-
derive_domain,
|
|
32
28
|
};
|
|
33
29
|
```
|
|
34
30
|
|
package/index.ts
CHANGED
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
/**
|
|
4
4
|
* Hostinger API
|
|
5
5
|
*
|
|
6
|
-
* API Version: 1.
|
|
6
|
+
* API Version: 1.47.0
|
|
7
7
|
*
|
|
8
8
|
* NOTE: This file is auto-generated, DO NOT EDIT THIS FILE MANUALLY!
|
|
9
9
|
* If you want to contribute or request a new feature, please create an issue or pull request on https://github.com/hostinger/api
|
package/package.json
CHANGED
|
@@ -1,21 +0,0 @@
|
|
|
1
|
-
# AgencyHostingV1SetupsCreateSetupRequestClone
|
|
2
|
-
|
|
3
|
-
Clone the new website from an existing website
|
|
4
|
-
|
|
5
|
-
## Properties
|
|
6
|
-
|
|
7
|
-
Name | Type | Description | Notes
|
|
8
|
-
------------ | ------------- | ------------- | -------------
|
|
9
|
-
**website_uid** | **string** | | [default to undefined]
|
|
10
|
-
|
|
11
|
-
## Example
|
|
12
|
-
|
|
13
|
-
```typescript
|
|
14
|
-
import { AgencyHostingV1SetupsCreateSetupRequestClone } from '@hostinger/sdk';
|
|
15
|
-
|
|
16
|
-
const instance: AgencyHostingV1SetupsCreateSetupRequestClone = {
|
|
17
|
-
website_uid,
|
|
18
|
-
};
|
|
19
|
-
```
|
|
20
|
-
|
|
21
|
-
[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
|
|
@@ -1,21 +0,0 @@
|
|
|
1
|
-
# AgencyHostingV1SetupsCreateSetupRequestDeriveDomain
|
|
2
|
-
|
|
3
|
-
Derive the domain from an existing vhost
|
|
4
|
-
|
|
5
|
-
## Properties
|
|
6
|
-
|
|
7
|
-
Name | Type | Description | Notes
|
|
8
|
-
------------ | ------------- | ------------- | -------------
|
|
9
|
-
**from_vhost** | [**AgencyHostingV1SetupsCreateSetupRequestDeriveDomainFromVhost**](AgencyHostingV1SetupsCreateSetupRequestDeriveDomainFromVhost.md) | | [default to undefined]
|
|
10
|
-
|
|
11
|
-
## Example
|
|
12
|
-
|
|
13
|
-
```typescript
|
|
14
|
-
import { AgencyHostingV1SetupsCreateSetupRequestDeriveDomain } from '@hostinger/sdk';
|
|
15
|
-
|
|
16
|
-
const instance: AgencyHostingV1SetupsCreateSetupRequestDeriveDomain = {
|
|
17
|
-
from_vhost,
|
|
18
|
-
};
|
|
19
|
-
```
|
|
20
|
-
|
|
21
|
-
[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
|
|
@@ -1,22 +0,0 @@
|
|
|
1
|
-
# AgencyHostingV1SetupsCreateSetupRequestDeriveDomainFromVhost
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
## Properties
|
|
5
|
-
|
|
6
|
-
Name | Type | Description | Notes
|
|
7
|
-
------------ | ------------- | ------------- | -------------
|
|
8
|
-
**username** | **string** | | [default to undefined]
|
|
9
|
-
**vhost** | **string** | | [default to undefined]
|
|
10
|
-
|
|
11
|
-
## Example
|
|
12
|
-
|
|
13
|
-
```typescript
|
|
14
|
-
import { AgencyHostingV1SetupsCreateSetupRequestDeriveDomainFromVhost } from '@hostinger/sdk';
|
|
15
|
-
|
|
16
|
-
const instance: AgencyHostingV1SetupsCreateSetupRequestDeriveDomainFromVhost = {
|
|
17
|
-
username,
|
|
18
|
-
vhost,
|
|
19
|
-
};
|
|
20
|
-
```
|
|
21
|
-
|
|
22
|
-
[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
|