hostinger-api-sdk 2.9.0 → 2.10.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 +39 -9
- package/base.ts +1 -1
- package/common.ts +1 -1
- package/configuration.ts +2 -2
- package/dist/api.d.ts +39 -9
- package/dist/api.js +9 -9
- package/dist/base.d.ts +1 -1
- package/dist/base.js +1 -1
- package/dist/common.d.ts +1 -1
- package/dist/common.js +1 -1
- package/dist/configuration.d.ts +1 -1
- package/dist/configuration.js +2 -2
- package/dist/esm/api.d.ts +39 -9
- package/dist/esm/api.js +9 -9
- package/dist/esm/base.d.ts +1 -1
- package/dist/esm/base.js +1 -1
- package/dist/esm/common.d.ts +1 -1
- package/dist/esm/common.js +1 -1
- package/dist/esm/configuration.d.ts +1 -1
- package/dist/esm/configuration.js +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/DomainsForwardingApi.md +1 -1
- package/docs/DomainsPortfolioApi.md +1 -1
- package/docs/DomainsV1PortfolioRenewalRenewalInformationResource.md +10 -0
- package/index.ts +1 -1
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
## @hostinger/sdk@2.
|
|
1
|
+
## @hostinger/sdk@2.10.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@2.
|
|
8
|
+
npm install @hostinger/sdk@2.10.0 --save
|
|
9
9
|
```
|
package/api.ts
CHANGED
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
/**
|
|
4
4
|
* Hostinger API
|
|
5
5
|
*
|
|
6
|
-
* API Version: 2.
|
|
6
|
+
* API Version: 2.10.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
|
|
@@ -4028,6 +4028,36 @@ export interface DomainsV1PortfolioRenewalRenewalInformationResource {
|
|
|
4028
4028
|
* @memberof DomainsV1PortfolioRenewalRenewalInformationResource
|
|
4029
4029
|
*/
|
|
4030
4030
|
'expires_at': string;
|
|
4031
|
+
/**
|
|
4032
|
+
* Whether the domain is in its post-expiration grace period
|
|
4033
|
+
* @type {boolean}
|
|
4034
|
+
* @memberof DomainsV1PortfolioRenewalRenewalInformationResource
|
|
4035
|
+
*/
|
|
4036
|
+
'is_grace_period': boolean;
|
|
4037
|
+
/**
|
|
4038
|
+
* When the grace period ends, set even when the domain is not in it
|
|
4039
|
+
* @type {string}
|
|
4040
|
+
* @memberof DomainsV1PortfolioRenewalRenewalInformationResource
|
|
4041
|
+
*/
|
|
4042
|
+
'grace_period_ends_at': string | null;
|
|
4043
|
+
/**
|
|
4044
|
+
* Whether the domain is in its redemption period
|
|
4045
|
+
* @type {boolean}
|
|
4046
|
+
* @memberof DomainsV1PortfolioRenewalRenewalInformationResource
|
|
4047
|
+
*/
|
|
4048
|
+
'is_redemption_period': boolean;
|
|
4049
|
+
/**
|
|
4050
|
+
* When the redemption period ends, set even when the domain is not in it
|
|
4051
|
+
* @type {string}
|
|
4052
|
+
* @memberof DomainsV1PortfolioRenewalRenewalInformationResource
|
|
4053
|
+
*/
|
|
4054
|
+
'redemption_period_ends_at': string | null;
|
|
4055
|
+
/**
|
|
4056
|
+
* Whether the domain can be renewed
|
|
4057
|
+
* @type {boolean}
|
|
4058
|
+
* @memberof DomainsV1PortfolioRenewalRenewalInformationResource
|
|
4059
|
+
*/
|
|
4060
|
+
'is_renewable': boolean;
|
|
4031
4061
|
}
|
|
4032
4062
|
/**
|
|
4033
4063
|
*
|
|
@@ -25331,7 +25361,7 @@ export const DomainsForwardingApiAxiosParamCreator = function (configuration?: C
|
|
|
25331
25361
|
};
|
|
25332
25362
|
},
|
|
25333
25363
|
/**
|
|
25334
|
-
* Retrieve domain forwarding data. Use this endpoint to view current redirect configuration for domains.
|
|
25364
|
+
* Retrieve domain forwarding data. Returns 404 when the domain has no forwarding. Use this endpoint to view current redirect configuration for domains.
|
|
25335
25365
|
* @summary Get domain forwarding
|
|
25336
25366
|
* @param {string} domain Domain name
|
|
25337
25367
|
* @param {*} [options] Override http request option.
|
|
@@ -25447,7 +25477,7 @@ export const DomainsForwardingApiFp = function(configuration?: Configuration) {
|
|
|
25447
25477
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
25448
25478
|
},
|
|
25449
25479
|
/**
|
|
25450
|
-
* Retrieve domain forwarding data. Use this endpoint to view current redirect configuration for domains.
|
|
25480
|
+
* Retrieve domain forwarding data. Returns 404 when the domain has no forwarding. Use this endpoint to view current redirect configuration for domains.
|
|
25451
25481
|
* @summary Get domain forwarding
|
|
25452
25482
|
* @param {string} domain Domain name
|
|
25453
25483
|
* @param {*} [options] Override http request option.
|
|
@@ -25502,7 +25532,7 @@ export const DomainsForwardingApiFactory = function (configuration?: Configurati
|
|
|
25502
25532
|
return localVarFp.deleteDomainForwardingV1(domain, options).then((request) => request(axios, basePath));
|
|
25503
25533
|
},
|
|
25504
25534
|
/**
|
|
25505
|
-
* Retrieve domain forwarding data. Use this endpoint to view current redirect configuration for domains.
|
|
25535
|
+
* Retrieve domain forwarding data. Returns 404 when the domain has no forwarding. Use this endpoint to view current redirect configuration for domains.
|
|
25506
25536
|
* @summary Get domain forwarding
|
|
25507
25537
|
* @param {string} domain Domain name
|
|
25508
25538
|
* @param {*} [options] Override http request option.
|
|
@@ -25557,7 +25587,7 @@ export class DomainsForwardingApi extends BaseAPI {
|
|
|
25557
25587
|
}
|
|
25558
25588
|
|
|
25559
25589
|
/**
|
|
25560
|
-
* Retrieve domain forwarding data. Use this endpoint to view current redirect configuration for domains.
|
|
25590
|
+
* Retrieve domain forwarding data. Returns 404 when the domain has no forwarding. Use this endpoint to view current redirect configuration for domains.
|
|
25561
25591
|
* @summary Get domain forwarding
|
|
25562
25592
|
* @param {string} domain Domain name
|
|
25563
25593
|
* @param {*} [options] Override http request option.
|
|
@@ -26564,7 +26594,7 @@ export const DomainsPortfolioApiAxiosParamCreator = function (configuration?: Co
|
|
|
26564
26594
|
};
|
|
26565
26595
|
},
|
|
26566
26596
|
/**
|
|
26567
|
-
* Retrieve renewal information for a specified domain, including its status
|
|
26597
|
+
* Retrieve renewal information for a specified domain, including its status, current expiration date, whether it can be renewed, whether it is in its grace or redemption period, and when each of those periods ends. Use this endpoint to build renewal automation and expiry monitoring for a single domain.
|
|
26568
26598
|
* @summary Get domain renewal information
|
|
26569
26599
|
* @param {string} domain Domain name
|
|
26570
26600
|
* @param {*} [options] Override http request option.
|
|
@@ -26804,7 +26834,7 @@ export const DomainsPortfolioApiFp = function(configuration?: Configuration) {
|
|
|
26804
26834
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
26805
26835
|
},
|
|
26806
26836
|
/**
|
|
26807
|
-
* Retrieve renewal information for a specified domain, including its status
|
|
26837
|
+
* Retrieve renewal information for a specified domain, including its status, current expiration date, whether it can be renewed, whether it is in its grace or redemption period, and when each of those periods ends. Use this endpoint to build renewal automation and expiry monitoring for a single domain.
|
|
26808
26838
|
* @summary Get domain renewal information
|
|
26809
26839
|
* @param {string} domain Domain name
|
|
26810
26840
|
* @param {*} [options] Override http request option.
|
|
@@ -26941,7 +26971,7 @@ export const DomainsPortfolioApiFactory = function (configuration?: Configuratio
|
|
|
26941
26971
|
return localVarFp.getDomainListV1(options).then((request) => request(axios, basePath));
|
|
26942
26972
|
},
|
|
26943
26973
|
/**
|
|
26944
|
-
* Retrieve renewal information for a specified domain, including its status
|
|
26974
|
+
* Retrieve renewal information for a specified domain, including its status, current expiration date, whether it can be renewed, whether it is in its grace or redemption period, and when each of those periods ends. Use this endpoint to build renewal automation and expiry monitoring for a single domain.
|
|
26945
26975
|
* @summary Get domain renewal information
|
|
26946
26976
|
* @param {string} domain Domain name
|
|
26947
26977
|
* @param {*} [options] Override http request option.
|
|
@@ -27090,7 +27120,7 @@ export class DomainsPortfolioApi extends BaseAPI {
|
|
|
27090
27120
|
}
|
|
27091
27121
|
|
|
27092
27122
|
/**
|
|
27093
|
-
* Retrieve renewal information for a specified domain, including its status
|
|
27123
|
+
* Retrieve renewal information for a specified domain, including its status, current expiration date, whether it can be renewed, whether it is in its grace or redemption period, and when each of those periods ends. Use this endpoint to build renewal automation and expiry monitoring for a single domain.
|
|
27094
27124
|
* @summary Get domain renewal information
|
|
27095
27125
|
* @param {string} domain Domain name
|
|
27096
27126
|
* @param {*} [options] Override http request option.
|
package/base.ts
CHANGED
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
/**
|
|
4
4
|
* Hostinger API
|
|
5
5
|
*
|
|
6
|
-
* API Version: 2.
|
|
6
|
+
* API Version: 2.10.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: 2.
|
|
6
|
+
* API Version: 2.10.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: 2.
|
|
6
|
+
* API Version: 2.10.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/2.
|
|
51
|
+
'User-Agent': "hostinger-typescript-sdk/2.10.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: 2.
|
|
4
|
+
* API Version: 2.10.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
|
|
@@ -3930,6 +3930,36 @@ export interface DomainsV1PortfolioRenewalRenewalInformationResource {
|
|
|
3930
3930
|
* @memberof DomainsV1PortfolioRenewalRenewalInformationResource
|
|
3931
3931
|
*/
|
|
3932
3932
|
'expires_at': string;
|
|
3933
|
+
/**
|
|
3934
|
+
* Whether the domain is in its post-expiration grace period
|
|
3935
|
+
* @type {boolean}
|
|
3936
|
+
* @memberof DomainsV1PortfolioRenewalRenewalInformationResource
|
|
3937
|
+
*/
|
|
3938
|
+
'is_grace_period': boolean;
|
|
3939
|
+
/**
|
|
3940
|
+
* When the grace period ends, set even when the domain is not in it
|
|
3941
|
+
* @type {string}
|
|
3942
|
+
* @memberof DomainsV1PortfolioRenewalRenewalInformationResource
|
|
3943
|
+
*/
|
|
3944
|
+
'grace_period_ends_at': string | null;
|
|
3945
|
+
/**
|
|
3946
|
+
* Whether the domain is in its redemption period
|
|
3947
|
+
* @type {boolean}
|
|
3948
|
+
* @memberof DomainsV1PortfolioRenewalRenewalInformationResource
|
|
3949
|
+
*/
|
|
3950
|
+
'is_redemption_period': boolean;
|
|
3951
|
+
/**
|
|
3952
|
+
* When the redemption period ends, set even when the domain is not in it
|
|
3953
|
+
* @type {string}
|
|
3954
|
+
* @memberof DomainsV1PortfolioRenewalRenewalInformationResource
|
|
3955
|
+
*/
|
|
3956
|
+
'redemption_period_ends_at': string | null;
|
|
3957
|
+
/**
|
|
3958
|
+
* Whether the domain can be renewed
|
|
3959
|
+
* @type {boolean}
|
|
3960
|
+
* @memberof DomainsV1PortfolioRenewalRenewalInformationResource
|
|
3961
|
+
*/
|
|
3962
|
+
'is_renewable': boolean;
|
|
3933
3963
|
}
|
|
3934
3964
|
/**
|
|
3935
3965
|
*
|
|
@@ -21856,7 +21886,7 @@ export declare const DomainsForwardingApiAxiosParamCreator: (configuration?: Con
|
|
|
21856
21886
|
*/
|
|
21857
21887
|
deleteDomainForwardingV1: (domain: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
21858
21888
|
/**
|
|
21859
|
-
* Retrieve domain forwarding data. Use this endpoint to view current redirect configuration for domains.
|
|
21889
|
+
* Retrieve domain forwarding data. Returns 404 when the domain has no forwarding. Use this endpoint to view current redirect configuration for domains.
|
|
21860
21890
|
* @summary Get domain forwarding
|
|
21861
21891
|
* @param {string} domain Domain name
|
|
21862
21892
|
* @param {*} [options] Override http request option.
|
|
@@ -21895,7 +21925,7 @@ export declare const DomainsForwardingApiFp: (configuration?: Configuration) =>
|
|
|
21895
21925
|
*/
|
|
21896
21926
|
deleteDomainForwardingV1(domain: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<CommonSuccessEmptyResource>>;
|
|
21897
21927
|
/**
|
|
21898
|
-
* Retrieve domain forwarding data. Use this endpoint to view current redirect configuration for domains.
|
|
21928
|
+
* Retrieve domain forwarding data. Returns 404 when the domain has no forwarding. Use this endpoint to view current redirect configuration for domains.
|
|
21899
21929
|
* @summary Get domain forwarding
|
|
21900
21930
|
* @param {string} domain Domain name
|
|
21901
21931
|
* @param {*} [options] Override http request option.
|
|
@@ -21934,7 +21964,7 @@ export declare const DomainsForwardingApiFactory: (configuration?: Configuration
|
|
|
21934
21964
|
*/
|
|
21935
21965
|
deleteDomainForwardingV1(domain: string, options?: RawAxiosRequestConfig): AxiosPromise<CommonSuccessEmptyResource>;
|
|
21936
21966
|
/**
|
|
21937
|
-
* Retrieve domain forwarding data. Use this endpoint to view current redirect configuration for domains.
|
|
21967
|
+
* Retrieve domain forwarding data. Returns 404 when the domain has no forwarding. Use this endpoint to view current redirect configuration for domains.
|
|
21938
21968
|
* @summary Get domain forwarding
|
|
21939
21969
|
* @param {string} domain Domain name
|
|
21940
21970
|
* @param {*} [options] Override http request option.
|
|
@@ -21977,7 +22007,7 @@ export declare class DomainsForwardingApi extends BaseAPI {
|
|
|
21977
22007
|
*/
|
|
21978
22008
|
deleteDomainForwardingV1(domain: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<CommonSuccessEmptyResource, any, {}, any>>;
|
|
21979
22009
|
/**
|
|
21980
|
-
* Retrieve domain forwarding data. Use this endpoint to view current redirect configuration for domains.
|
|
22010
|
+
* Retrieve domain forwarding data. Returns 404 when the domain has no forwarding. Use this endpoint to view current redirect configuration for domains.
|
|
21981
22011
|
* @summary Get domain forwarding
|
|
21982
22012
|
* @param {string} domain Domain name
|
|
21983
22013
|
* @param {*} [options] Override http request option.
|
|
@@ -22368,7 +22398,7 @@ export declare const DomainsPortfolioApiAxiosParamCreator: (configuration?: Conf
|
|
|
22368
22398
|
*/
|
|
22369
22399
|
getDomainListV1: (options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
22370
22400
|
/**
|
|
22371
|
-
* Retrieve renewal information for a specified domain, including its status
|
|
22401
|
+
* Retrieve renewal information for a specified domain, including its status, current expiration date, whether it can be renewed, whether it is in its grace or redemption period, and when each of those periods ends. Use this endpoint to build renewal automation and expiry monitoring for a single domain.
|
|
22372
22402
|
* @summary Get domain renewal information
|
|
22373
22403
|
* @param {string} domain Domain name
|
|
22374
22404
|
* @param {*} [options] Override http request option.
|
|
@@ -22471,7 +22501,7 @@ export declare const DomainsPortfolioApiFp: (configuration?: Configuration) => {
|
|
|
22471
22501
|
*/
|
|
22472
22502
|
getDomainListV1(options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Array<DomainsV1DomainDomainResource>>>;
|
|
22473
22503
|
/**
|
|
22474
|
-
* Retrieve renewal information for a specified domain, including its status
|
|
22504
|
+
* Retrieve renewal information for a specified domain, including its status, current expiration date, whether it can be renewed, whether it is in its grace or redemption period, and when each of those periods ends. Use this endpoint to build renewal automation and expiry monitoring for a single domain.
|
|
22475
22505
|
* @summary Get domain renewal information
|
|
22476
22506
|
* @param {string} domain Domain name
|
|
22477
22507
|
* @param {*} [options] Override http request option.
|
|
@@ -22574,7 +22604,7 @@ export declare const DomainsPortfolioApiFactory: (configuration?: Configuration,
|
|
|
22574
22604
|
*/
|
|
22575
22605
|
getDomainListV1(options?: RawAxiosRequestConfig): AxiosPromise<Array<DomainsV1DomainDomainResource>>;
|
|
22576
22606
|
/**
|
|
22577
|
-
* Retrieve renewal information for a specified domain, including its status
|
|
22607
|
+
* Retrieve renewal information for a specified domain, including its status, current expiration date, whether it can be renewed, whether it is in its grace or redemption period, and when each of those periods ends. Use this endpoint to build renewal automation and expiry monitoring for a single domain.
|
|
22578
22608
|
* @summary Get domain renewal information
|
|
22579
22609
|
* @param {string} domain Domain name
|
|
22580
22610
|
* @param {*} [options] Override http request option.
|
|
@@ -22688,7 +22718,7 @@ export declare class DomainsPortfolioApi extends BaseAPI {
|
|
|
22688
22718
|
*/
|
|
22689
22719
|
getDomainListV1(options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<DomainsV1DomainDomainResource[], any, {}, any>>;
|
|
22690
22720
|
/**
|
|
22691
|
-
* Retrieve renewal information for a specified domain, including its status
|
|
22721
|
+
* Retrieve renewal information for a specified domain, including its status, current expiration date, whether it can be renewed, whether it is in its grace or redemption period, and when each of those periods ends. Use this endpoint to build renewal automation and expiry monitoring for a single domain.
|
|
22692
22722
|
* @summary Get domain renewal information
|
|
22693
22723
|
* @param {string} domain Domain name
|
|
22694
22724
|
* @param {*} [options] Override http request option.
|
package/dist/api.js
CHANGED
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
/**
|
|
5
5
|
* Hostinger API
|
|
6
6
|
*
|
|
7
|
-
* API Version: 2.
|
|
7
|
+
* API Version: 2.10.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
|
|
@@ -6929,7 +6929,7 @@ const DomainsForwardingApiAxiosParamCreator = function (configuration) {
|
|
|
6929
6929
|
};
|
|
6930
6930
|
}),
|
|
6931
6931
|
/**
|
|
6932
|
-
* Retrieve domain forwarding data. Use this endpoint to view current redirect configuration for domains.
|
|
6932
|
+
* Retrieve domain forwarding data. Returns 404 when the domain has no forwarding. Use this endpoint to view current redirect configuration for domains.
|
|
6933
6933
|
* @summary Get domain forwarding
|
|
6934
6934
|
* @param {string} domain Domain name
|
|
6935
6935
|
* @param {*} [options] Override http request option.
|
|
@@ -7038,7 +7038,7 @@ const DomainsForwardingApiFp = function (configuration) {
|
|
|
7038
7038
|
});
|
|
7039
7039
|
},
|
|
7040
7040
|
/**
|
|
7041
|
-
* Retrieve domain forwarding data. Use this endpoint to view current redirect configuration for domains.
|
|
7041
|
+
* Retrieve domain forwarding data. Returns 404 when the domain has no forwarding. Use this endpoint to view current redirect configuration for domains.
|
|
7042
7042
|
* @summary Get domain forwarding
|
|
7043
7043
|
* @param {string} domain Domain name
|
|
7044
7044
|
* @param {*} [options] Override http request option.
|
|
@@ -7099,7 +7099,7 @@ const DomainsForwardingApiFactory = function (configuration, basePath, axios) {
|
|
|
7099
7099
|
return localVarFp.deleteDomainForwardingV1(domain, options).then((request) => request(axios, basePath));
|
|
7100
7100
|
},
|
|
7101
7101
|
/**
|
|
7102
|
-
* Retrieve domain forwarding data. Use this endpoint to view current redirect configuration for domains.
|
|
7102
|
+
* Retrieve domain forwarding data. Returns 404 when the domain has no forwarding. Use this endpoint to view current redirect configuration for domains.
|
|
7103
7103
|
* @summary Get domain forwarding
|
|
7104
7104
|
* @param {string} domain Domain name
|
|
7105
7105
|
* @param {*} [options] Override http request option.
|
|
@@ -7152,7 +7152,7 @@ class DomainsForwardingApi extends base_1.BaseAPI {
|
|
|
7152
7152
|
return (0, exports.DomainsForwardingApiFp)(this.configuration).deleteDomainForwardingV1(domain, options).then((request) => request(this.axios, this.basePath));
|
|
7153
7153
|
}
|
|
7154
7154
|
/**
|
|
7155
|
-
* Retrieve domain forwarding data. Use this endpoint to view current redirect configuration for domains.
|
|
7155
|
+
* Retrieve domain forwarding data. Returns 404 when the domain has no forwarding. Use this endpoint to view current redirect configuration for domains.
|
|
7156
7156
|
* @summary Get domain forwarding
|
|
7157
7157
|
* @param {string} domain Domain name
|
|
7158
7158
|
* @param {*} [options] Override http request option.
|
|
@@ -8064,7 +8064,7 @@ const DomainsPortfolioApiAxiosParamCreator = function (configuration) {
|
|
|
8064
8064
|
};
|
|
8065
8065
|
}),
|
|
8066
8066
|
/**
|
|
8067
|
-
* Retrieve renewal information for a specified domain, including its status
|
|
8067
|
+
* Retrieve renewal information for a specified domain, including its status, current expiration date, whether it can be renewed, whether it is in its grace or redemption period, and when each of those periods ends. Use this endpoint to build renewal automation and expiry monitoring for a single domain.
|
|
8068
8068
|
* @summary Get domain renewal information
|
|
8069
8069
|
* @param {string} domain Domain name
|
|
8070
8070
|
* @param {*} [options] Override http request option.
|
|
@@ -8311,7 +8311,7 @@ const DomainsPortfolioApiFp = function (configuration) {
|
|
|
8311
8311
|
});
|
|
8312
8312
|
},
|
|
8313
8313
|
/**
|
|
8314
|
-
* Retrieve renewal information for a specified domain, including its status
|
|
8314
|
+
* Retrieve renewal information for a specified domain, including its status, current expiration date, whether it can be renewed, whether it is in its grace or redemption period, and when each of those periods ends. Use this endpoint to build renewal automation and expiry monitoring for a single domain.
|
|
8315
8315
|
* @summary Get domain renewal information
|
|
8316
8316
|
* @param {string} domain Domain name
|
|
8317
8317
|
* @param {*} [options] Override http request option.
|
|
@@ -8457,7 +8457,7 @@ const DomainsPortfolioApiFactory = function (configuration, basePath, axios) {
|
|
|
8457
8457
|
return localVarFp.getDomainListV1(options).then((request) => request(axios, basePath));
|
|
8458
8458
|
},
|
|
8459
8459
|
/**
|
|
8460
|
-
* Retrieve renewal information for a specified domain, including its status
|
|
8460
|
+
* Retrieve renewal information for a specified domain, including its status, current expiration date, whether it can be renewed, whether it is in its grace or redemption period, and when each of those periods ends. Use this endpoint to build renewal automation and expiry monitoring for a single domain.
|
|
8461
8461
|
* @summary Get domain renewal information
|
|
8462
8462
|
* @param {string} domain Domain name
|
|
8463
8463
|
* @param {*} [options] Override http request option.
|
|
@@ -8597,7 +8597,7 @@ class DomainsPortfolioApi extends base_1.BaseAPI {
|
|
|
8597
8597
|
return (0, exports.DomainsPortfolioApiFp)(this.configuration).getDomainListV1(options).then((request) => request(this.axios, this.basePath));
|
|
8598
8598
|
}
|
|
8599
8599
|
/**
|
|
8600
|
-
* Retrieve renewal information for a specified domain, including its status
|
|
8600
|
+
* Retrieve renewal information for a specified domain, including its status, current expiration date, whether it can be renewed, whether it is in its grace or redemption period, and when each of those periods ends. Use this endpoint to build renewal automation and expiry monitoring for a single domain.
|
|
8601
8601
|
* @summary Get domain renewal information
|
|
8602
8602
|
* @param {string} domain Domain name
|
|
8603
8603
|
* @param {*} [options] Override http request option.
|
package/dist/base.d.ts
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* Hostinger API
|
|
3
3
|
*
|
|
4
|
-
* API Version: 2.
|
|
4
|
+
* API Version: 2.10.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: 2.
|
|
7
|
+
* API Version: 2.10.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: 2.
|
|
4
|
+
* API Version: 2.10.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: 2.
|
|
7
|
+
* API Version: 2.10.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: 2.
|
|
4
|
+
* API Version: 2.10.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: 2.
|
|
7
|
+
* API Version: 2.10.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/2.
|
|
19
|
+
this.baseOptions = Object.assign(Object.assign({}, param.baseOptions), { headers: Object.assign({ 'User-Agent': "hostinger-typescript-sdk/2.10.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: 2.
|
|
4
|
+
* API Version: 2.10.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
|
|
@@ -3930,6 +3930,36 @@ export interface DomainsV1PortfolioRenewalRenewalInformationResource {
|
|
|
3930
3930
|
* @memberof DomainsV1PortfolioRenewalRenewalInformationResource
|
|
3931
3931
|
*/
|
|
3932
3932
|
'expires_at': string;
|
|
3933
|
+
/**
|
|
3934
|
+
* Whether the domain is in its post-expiration grace period
|
|
3935
|
+
* @type {boolean}
|
|
3936
|
+
* @memberof DomainsV1PortfolioRenewalRenewalInformationResource
|
|
3937
|
+
*/
|
|
3938
|
+
'is_grace_period': boolean;
|
|
3939
|
+
/**
|
|
3940
|
+
* When the grace period ends, set even when the domain is not in it
|
|
3941
|
+
* @type {string}
|
|
3942
|
+
* @memberof DomainsV1PortfolioRenewalRenewalInformationResource
|
|
3943
|
+
*/
|
|
3944
|
+
'grace_period_ends_at': string | null;
|
|
3945
|
+
/**
|
|
3946
|
+
* Whether the domain is in its redemption period
|
|
3947
|
+
* @type {boolean}
|
|
3948
|
+
* @memberof DomainsV1PortfolioRenewalRenewalInformationResource
|
|
3949
|
+
*/
|
|
3950
|
+
'is_redemption_period': boolean;
|
|
3951
|
+
/**
|
|
3952
|
+
* When the redemption period ends, set even when the domain is not in it
|
|
3953
|
+
* @type {string}
|
|
3954
|
+
* @memberof DomainsV1PortfolioRenewalRenewalInformationResource
|
|
3955
|
+
*/
|
|
3956
|
+
'redemption_period_ends_at': string | null;
|
|
3957
|
+
/**
|
|
3958
|
+
* Whether the domain can be renewed
|
|
3959
|
+
* @type {boolean}
|
|
3960
|
+
* @memberof DomainsV1PortfolioRenewalRenewalInformationResource
|
|
3961
|
+
*/
|
|
3962
|
+
'is_renewable': boolean;
|
|
3933
3963
|
}
|
|
3934
3964
|
/**
|
|
3935
3965
|
*
|
|
@@ -21856,7 +21886,7 @@ export declare const DomainsForwardingApiAxiosParamCreator: (configuration?: Con
|
|
|
21856
21886
|
*/
|
|
21857
21887
|
deleteDomainForwardingV1: (domain: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
21858
21888
|
/**
|
|
21859
|
-
* Retrieve domain forwarding data. Use this endpoint to view current redirect configuration for domains.
|
|
21889
|
+
* Retrieve domain forwarding data. Returns 404 when the domain has no forwarding. Use this endpoint to view current redirect configuration for domains.
|
|
21860
21890
|
* @summary Get domain forwarding
|
|
21861
21891
|
* @param {string} domain Domain name
|
|
21862
21892
|
* @param {*} [options] Override http request option.
|
|
@@ -21895,7 +21925,7 @@ export declare const DomainsForwardingApiFp: (configuration?: Configuration) =>
|
|
|
21895
21925
|
*/
|
|
21896
21926
|
deleteDomainForwardingV1(domain: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<CommonSuccessEmptyResource>>;
|
|
21897
21927
|
/**
|
|
21898
|
-
* Retrieve domain forwarding data. Use this endpoint to view current redirect configuration for domains.
|
|
21928
|
+
* Retrieve domain forwarding data. Returns 404 when the domain has no forwarding. Use this endpoint to view current redirect configuration for domains.
|
|
21899
21929
|
* @summary Get domain forwarding
|
|
21900
21930
|
* @param {string} domain Domain name
|
|
21901
21931
|
* @param {*} [options] Override http request option.
|
|
@@ -21934,7 +21964,7 @@ export declare const DomainsForwardingApiFactory: (configuration?: Configuration
|
|
|
21934
21964
|
*/
|
|
21935
21965
|
deleteDomainForwardingV1(domain: string, options?: RawAxiosRequestConfig): AxiosPromise<CommonSuccessEmptyResource>;
|
|
21936
21966
|
/**
|
|
21937
|
-
* Retrieve domain forwarding data. Use this endpoint to view current redirect configuration for domains.
|
|
21967
|
+
* Retrieve domain forwarding data. Returns 404 when the domain has no forwarding. Use this endpoint to view current redirect configuration for domains.
|
|
21938
21968
|
* @summary Get domain forwarding
|
|
21939
21969
|
* @param {string} domain Domain name
|
|
21940
21970
|
* @param {*} [options] Override http request option.
|
|
@@ -21977,7 +22007,7 @@ export declare class DomainsForwardingApi extends BaseAPI {
|
|
|
21977
22007
|
*/
|
|
21978
22008
|
deleteDomainForwardingV1(domain: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<CommonSuccessEmptyResource, any, {}, any>>;
|
|
21979
22009
|
/**
|
|
21980
|
-
* Retrieve domain forwarding data. Use this endpoint to view current redirect configuration for domains.
|
|
22010
|
+
* Retrieve domain forwarding data. Returns 404 when the domain has no forwarding. Use this endpoint to view current redirect configuration for domains.
|
|
21981
22011
|
* @summary Get domain forwarding
|
|
21982
22012
|
* @param {string} domain Domain name
|
|
21983
22013
|
* @param {*} [options] Override http request option.
|
|
@@ -22368,7 +22398,7 @@ export declare const DomainsPortfolioApiAxiosParamCreator: (configuration?: Conf
|
|
|
22368
22398
|
*/
|
|
22369
22399
|
getDomainListV1: (options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
22370
22400
|
/**
|
|
22371
|
-
* Retrieve renewal information for a specified domain, including its status
|
|
22401
|
+
* Retrieve renewal information for a specified domain, including its status, current expiration date, whether it can be renewed, whether it is in its grace or redemption period, and when each of those periods ends. Use this endpoint to build renewal automation and expiry monitoring for a single domain.
|
|
22372
22402
|
* @summary Get domain renewal information
|
|
22373
22403
|
* @param {string} domain Domain name
|
|
22374
22404
|
* @param {*} [options] Override http request option.
|
|
@@ -22471,7 +22501,7 @@ export declare const DomainsPortfolioApiFp: (configuration?: Configuration) => {
|
|
|
22471
22501
|
*/
|
|
22472
22502
|
getDomainListV1(options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Array<DomainsV1DomainDomainResource>>>;
|
|
22473
22503
|
/**
|
|
22474
|
-
* Retrieve renewal information for a specified domain, including its status
|
|
22504
|
+
* Retrieve renewal information for a specified domain, including its status, current expiration date, whether it can be renewed, whether it is in its grace or redemption period, and when each of those periods ends. Use this endpoint to build renewal automation and expiry monitoring for a single domain.
|
|
22475
22505
|
* @summary Get domain renewal information
|
|
22476
22506
|
* @param {string} domain Domain name
|
|
22477
22507
|
* @param {*} [options] Override http request option.
|
|
@@ -22574,7 +22604,7 @@ export declare const DomainsPortfolioApiFactory: (configuration?: Configuration,
|
|
|
22574
22604
|
*/
|
|
22575
22605
|
getDomainListV1(options?: RawAxiosRequestConfig): AxiosPromise<Array<DomainsV1DomainDomainResource>>;
|
|
22576
22606
|
/**
|
|
22577
|
-
* Retrieve renewal information for a specified domain, including its status
|
|
22607
|
+
* Retrieve renewal information for a specified domain, including its status, current expiration date, whether it can be renewed, whether it is in its grace or redemption period, and when each of those periods ends. Use this endpoint to build renewal automation and expiry monitoring for a single domain.
|
|
22578
22608
|
* @summary Get domain renewal information
|
|
22579
22609
|
* @param {string} domain Domain name
|
|
22580
22610
|
* @param {*} [options] Override http request option.
|
|
@@ -22688,7 +22718,7 @@ export declare class DomainsPortfolioApi extends BaseAPI {
|
|
|
22688
22718
|
*/
|
|
22689
22719
|
getDomainListV1(options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<DomainsV1DomainDomainResource[], any, {}, any>>;
|
|
22690
22720
|
/**
|
|
22691
|
-
* Retrieve renewal information for a specified domain, including its status
|
|
22721
|
+
* Retrieve renewal information for a specified domain, including its status, current expiration date, whether it can be renewed, whether it is in its grace or redemption period, and when each of those periods ends. Use this endpoint to build renewal automation and expiry monitoring for a single domain.
|
|
22692
22722
|
* @summary Get domain renewal information
|
|
22693
22723
|
* @param {string} domain Domain name
|
|
22694
22724
|
* @param {*} [options] Override http request option.
|
package/dist/esm/api.js
CHANGED
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
/**
|
|
4
4
|
* Hostinger API
|
|
5
5
|
*
|
|
6
|
-
* API Version: 2.
|
|
6
|
+
* API Version: 2.10.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
|
|
@@ -6822,7 +6822,7 @@ export const DomainsForwardingApiAxiosParamCreator = function (configuration) {
|
|
|
6822
6822
|
};
|
|
6823
6823
|
}),
|
|
6824
6824
|
/**
|
|
6825
|
-
* Retrieve domain forwarding data. Use this endpoint to view current redirect configuration for domains.
|
|
6825
|
+
* Retrieve domain forwarding data. Returns 404 when the domain has no forwarding. Use this endpoint to view current redirect configuration for domains.
|
|
6826
6826
|
* @summary Get domain forwarding
|
|
6827
6827
|
* @param {string} domain Domain name
|
|
6828
6828
|
* @param {*} [options] Override http request option.
|
|
@@ -6930,7 +6930,7 @@ export const DomainsForwardingApiFp = function (configuration) {
|
|
|
6930
6930
|
});
|
|
6931
6931
|
},
|
|
6932
6932
|
/**
|
|
6933
|
-
* Retrieve domain forwarding data. Use this endpoint to view current redirect configuration for domains.
|
|
6933
|
+
* Retrieve domain forwarding data. Returns 404 when the domain has no forwarding. Use this endpoint to view current redirect configuration for domains.
|
|
6934
6934
|
* @summary Get domain forwarding
|
|
6935
6935
|
* @param {string} domain Domain name
|
|
6936
6936
|
* @param {*} [options] Override http request option.
|
|
@@ -6990,7 +6990,7 @@ export const DomainsForwardingApiFactory = function (configuration, basePath, ax
|
|
|
6990
6990
|
return localVarFp.deleteDomainForwardingV1(domain, options).then((request) => request(axios, basePath));
|
|
6991
6991
|
},
|
|
6992
6992
|
/**
|
|
6993
|
-
* Retrieve domain forwarding data. Use this endpoint to view current redirect configuration for domains.
|
|
6993
|
+
* Retrieve domain forwarding data. Returns 404 when the domain has no forwarding. Use this endpoint to view current redirect configuration for domains.
|
|
6994
6994
|
* @summary Get domain forwarding
|
|
6995
6995
|
* @param {string} domain Domain name
|
|
6996
6996
|
* @param {*} [options] Override http request option.
|
|
@@ -7042,7 +7042,7 @@ export class DomainsForwardingApi extends BaseAPI {
|
|
|
7042
7042
|
return DomainsForwardingApiFp(this.configuration).deleteDomainForwardingV1(domain, options).then((request) => request(this.axios, this.basePath));
|
|
7043
7043
|
}
|
|
7044
7044
|
/**
|
|
7045
|
-
* Retrieve domain forwarding data. Use this endpoint to view current redirect configuration for domains.
|
|
7045
|
+
* Retrieve domain forwarding data. Returns 404 when the domain has no forwarding. Use this endpoint to view current redirect configuration for domains.
|
|
7046
7046
|
* @summary Get domain forwarding
|
|
7047
7047
|
* @param {string} domain Domain name
|
|
7048
7048
|
* @param {*} [options] Override http request option.
|
|
@@ -7949,7 +7949,7 @@ export const DomainsPortfolioApiAxiosParamCreator = function (configuration) {
|
|
|
7949
7949
|
};
|
|
7950
7950
|
}),
|
|
7951
7951
|
/**
|
|
7952
|
-
* Retrieve renewal information for a specified domain, including its status
|
|
7952
|
+
* Retrieve renewal information for a specified domain, including its status, current expiration date, whether it can be renewed, whether it is in its grace or redemption period, and when each of those periods ends. Use this endpoint to build renewal automation and expiry monitoring for a single domain.
|
|
7953
7953
|
* @summary Get domain renewal information
|
|
7954
7954
|
* @param {string} domain Domain name
|
|
7955
7955
|
* @param {*} [options] Override http request option.
|
|
@@ -8195,7 +8195,7 @@ export const DomainsPortfolioApiFp = function (configuration) {
|
|
|
8195
8195
|
});
|
|
8196
8196
|
},
|
|
8197
8197
|
/**
|
|
8198
|
-
* Retrieve renewal information for a specified domain, including its status
|
|
8198
|
+
* Retrieve renewal information for a specified domain, including its status, current expiration date, whether it can be renewed, whether it is in its grace or redemption period, and when each of those periods ends. Use this endpoint to build renewal automation and expiry monitoring for a single domain.
|
|
8199
8199
|
* @summary Get domain renewal information
|
|
8200
8200
|
* @param {string} domain Domain name
|
|
8201
8201
|
* @param {*} [options] Override http request option.
|
|
@@ -8340,7 +8340,7 @@ export const DomainsPortfolioApiFactory = function (configuration, basePath, axi
|
|
|
8340
8340
|
return localVarFp.getDomainListV1(options).then((request) => request(axios, basePath));
|
|
8341
8341
|
},
|
|
8342
8342
|
/**
|
|
8343
|
-
* Retrieve renewal information for a specified domain, including its status
|
|
8343
|
+
* Retrieve renewal information for a specified domain, including its status, current expiration date, whether it can be renewed, whether it is in its grace or redemption period, and when each of those periods ends. Use this endpoint to build renewal automation and expiry monitoring for a single domain.
|
|
8344
8344
|
* @summary Get domain renewal information
|
|
8345
8345
|
* @param {string} domain Domain name
|
|
8346
8346
|
* @param {*} [options] Override http request option.
|
|
@@ -8479,7 +8479,7 @@ export class DomainsPortfolioApi extends BaseAPI {
|
|
|
8479
8479
|
return DomainsPortfolioApiFp(this.configuration).getDomainListV1(options).then((request) => request(this.axios, this.basePath));
|
|
8480
8480
|
}
|
|
8481
8481
|
/**
|
|
8482
|
-
* Retrieve renewal information for a specified domain, including its status
|
|
8482
|
+
* Retrieve renewal information for a specified domain, including its status, current expiration date, whether it can be renewed, whether it is in its grace or redemption period, and when each of those periods ends. Use this endpoint to build renewal automation and expiry monitoring for a single domain.
|
|
8483
8483
|
* @summary Get domain renewal information
|
|
8484
8484
|
* @param {string} domain Domain name
|
|
8485
8485
|
* @param {*} [options] Override http request option.
|
package/dist/esm/base.d.ts
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* Hostinger API
|
|
3
3
|
*
|
|
4
|
-
* API Version: 2.
|
|
4
|
+
* API Version: 2.10.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: 2.
|
|
6
|
+
* API Version: 2.10.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: 2.
|
|
4
|
+
* API Version: 2.10.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: 2.
|
|
6
|
+
* API Version: 2.10.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: 2.
|
|
4
|
+
* API Version: 2.10.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: 2.
|
|
6
|
+
* API Version: 2.10.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/2.
|
|
16
|
+
this.baseOptions = Object.assign(Object.assign({}, param.baseOptions), { headers: Object.assign({ 'User-Agent': "hostinger-typescript-sdk/2.10.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: 2.
|
|
4
|
+
* API Version: 2.10.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: 2.
|
|
6
|
+
* API Version: 2.10.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: 2.
|
|
4
|
+
* API Version: 2.10.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: 2.
|
|
7
|
+
* API Version: 2.10.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
|
|
@@ -120,7 +120,7 @@ const { status, data } = await apiInstance.deleteDomainForwardingV1(
|
|
|
120
120
|
# **getDomainForwardingV1**
|
|
121
121
|
> DomainsV1ForwardingForwardingResource getDomainForwardingV1()
|
|
122
122
|
|
|
123
|
-
Retrieve domain forwarding data. Use this endpoint to view current redirect configuration for domains.
|
|
123
|
+
Retrieve domain forwarding data. Returns 404 when the domain has no forwarding. Use this endpoint to view current redirect configuration for domains.
|
|
124
124
|
|
|
125
125
|
### Example
|
|
126
126
|
|
|
@@ -498,7 +498,7 @@ This endpoint does not have any parameters.
|
|
|
498
498
|
# **getDomainRenewalInformationV1**
|
|
499
499
|
> DomainsV1PortfolioRenewalRenewalInformationResource getDomainRenewalInformationV1()
|
|
500
500
|
|
|
501
|
-
Retrieve renewal information for a specified domain, including its status
|
|
501
|
+
Retrieve renewal information for a specified domain, including its status, current expiration date, whether it can be renewed, whether it is in its grace or redemption period, and when each of those periods ends. Use this endpoint to build renewal automation and expiry monitoring for a single domain.
|
|
502
502
|
|
|
503
503
|
### Example
|
|
504
504
|
|
|
@@ -8,6 +8,11 @@ Name | Type | Description | Notes
|
|
|
8
8
|
**domain** | **string** | Domain name | [optional] [default to undefined]
|
|
9
9
|
**status** | **string** | Domain status | [optional] [default to undefined]
|
|
10
10
|
**expires_at** | **string** | Domain expiration date | [optional] [default to undefined]
|
|
11
|
+
**is_grace_period** | **boolean** | Whether the domain is in its post-expiration grace period | [optional] [default to undefined]
|
|
12
|
+
**grace_period_ends_at** | **string** | When the grace period ends, set even when the domain is not in it | [optional] [default to undefined]
|
|
13
|
+
**is_redemption_period** | **boolean** | Whether the domain is in its redemption period | [optional] [default to undefined]
|
|
14
|
+
**redemption_period_ends_at** | **string** | When the redemption period ends, set even when the domain is not in it | [optional] [default to undefined]
|
|
15
|
+
**is_renewable** | **boolean** | Whether the domain can be renewed | [optional] [default to undefined]
|
|
11
16
|
|
|
12
17
|
## Example
|
|
13
18
|
|
|
@@ -18,6 +23,11 @@ const instance: DomainsV1PortfolioRenewalRenewalInformationResource = {
|
|
|
18
23
|
domain,
|
|
19
24
|
status,
|
|
20
25
|
expires_at,
|
|
26
|
+
is_grace_period,
|
|
27
|
+
grace_period_ends_at,
|
|
28
|
+
is_redemption_period,
|
|
29
|
+
redemption_period_ends_at,
|
|
30
|
+
is_renewable,
|
|
21
31
|
};
|
|
22
32
|
```
|
|
23
33
|
|
package/index.ts
CHANGED
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
/**
|
|
4
4
|
* Hostinger API
|
|
5
5
|
*
|
|
6
|
-
* API Version: 2.
|
|
6
|
+
* API Version: 2.10.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
|