hostinger-api-sdk 2.9.1 → 2.11.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/README.md CHANGED
@@ -1,9 +1,9 @@
1
- ## @hostinger/sdk@2.9.1
1
+ ## @hostinger/sdk@2.11.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.9.1 --save
8
+ npm install @hostinger/sdk@2.11.0 --save
9
9
  ```
package/api.ts CHANGED
@@ -3,7 +3,7 @@
3
3
  /**
4
4
  * Hostinger API
5
5
  *
6
- * API Version: 2.9.1
6
+ * API Version: 2.11.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
@@ -3360,6 +3360,12 @@ export interface DomainsV1AvailabilityAvailabilityResource {
3360
3360
  * @memberof DomainsV1AvailabilityAvailabilityResource
3361
3361
  */
3362
3362
  'is_alternative': boolean;
3363
+ /**
3364
+ * `true` if domain is premium and is charged at a premium price
3365
+ * @type {boolean}
3366
+ * @memberof DomainsV1AvailabilityAvailabilityResource
3367
+ */
3368
+ 'is_premium': boolean;
3363
3369
  /**
3364
3370
  * Special rules and/or restrictions applied for registering TLD
3365
3371
  * @type {string}
@@ -4028,6 +4034,36 @@ export interface DomainsV1PortfolioRenewalRenewalInformationResource {
4028
4034
  * @memberof DomainsV1PortfolioRenewalRenewalInformationResource
4029
4035
  */
4030
4036
  'expires_at': string;
4037
+ /**
4038
+ * Whether the domain is in its post-expiration grace period
4039
+ * @type {boolean}
4040
+ * @memberof DomainsV1PortfolioRenewalRenewalInformationResource
4041
+ */
4042
+ 'is_grace_period': boolean;
4043
+ /**
4044
+ * When the grace period ends, set even when the domain is not in it
4045
+ * @type {string}
4046
+ * @memberof DomainsV1PortfolioRenewalRenewalInformationResource
4047
+ */
4048
+ 'grace_period_ends_at': string | null;
4049
+ /**
4050
+ * Whether the domain is in its redemption period
4051
+ * @type {boolean}
4052
+ * @memberof DomainsV1PortfolioRenewalRenewalInformationResource
4053
+ */
4054
+ 'is_redemption_period': boolean;
4055
+ /**
4056
+ * When the redemption period ends, set even when the domain is not in it
4057
+ * @type {string}
4058
+ * @memberof DomainsV1PortfolioRenewalRenewalInformationResource
4059
+ */
4060
+ 'redemption_period_ends_at': string | null;
4061
+ /**
4062
+ * Whether the domain can be renewed
4063
+ * @type {boolean}
4064
+ * @memberof DomainsV1PortfolioRenewalRenewalInformationResource
4065
+ */
4066
+ 'is_renewable': boolean;
4031
4067
  }
4032
4068
  /**
4033
4069
  *
@@ -24992,7 +25028,7 @@ export class DomainAccessVerifierVerificationsApi extends BaseAPI {
24992
25028
  export const DomainsAvailabilityApiAxiosParamCreator = function (configuration?: Configuration) {
24993
25029
  return {
24994
25030
  /**
24995
- * Check availability of domain names across multiple TLDs. Multiple TLDs can be checked at once. If you want alternative domains with response, provide only one TLD and set `with_alternatives` to `true`. TLDs should be provided without leading dot (e.g. `com`, `net`, `org`). Endpoint has rate limit of 90 requests per minute. Use this endpoint to verify domain availability before purchase.
25031
+ * Check availability of domain names across multiple TLDs. Multiple TLDs can be checked at once. If you want alternative domains with response, provide only one TLD and set `with_alternatives` to `true`. TLDs should be provided without leading dot (e.g. `com`, `net`, `org`). Premium domains are included: an available premium domain has `is_available` and `is_premium` set to `true`. Endpoint has rate limit of 90 requests per minute. Use this endpoint to verify domain availability before purchase.
24996
25032
  * @summary Check domain availability
24997
25033
  * @param {DomainsV1AvailabilityAvailabilityRequest} domainsV1AvailabilityAvailabilityRequest
24998
25034
  * @param {*} [options] Override http request option.
@@ -25122,7 +25158,7 @@ export const DomainsAvailabilityApiFp = function(configuration?: Configuration)
25122
25158
  const localVarAxiosParamCreator = DomainsAvailabilityApiAxiosParamCreator(configuration)
25123
25159
  return {
25124
25160
  /**
25125
- * Check availability of domain names across multiple TLDs. Multiple TLDs can be checked at once. If you want alternative domains with response, provide only one TLD and set `with_alternatives` to `true`. TLDs should be provided without leading dot (e.g. `com`, `net`, `org`). Endpoint has rate limit of 90 requests per minute. Use this endpoint to verify domain availability before purchase.
25161
+ * Check availability of domain names across multiple TLDs. Multiple TLDs can be checked at once. If you want alternative domains with response, provide only one TLD and set `with_alternatives` to `true`. TLDs should be provided without leading dot (e.g. `com`, `net`, `org`). Premium domains are included: an available premium domain has `is_available` and `is_premium` set to `true`. Endpoint has rate limit of 90 requests per minute. Use this endpoint to verify domain availability before purchase.
25126
25162
  * @summary Check domain availability
25127
25163
  * @param {DomainsV1AvailabilityAvailabilityRequest} domainsV1AvailabilityAvailabilityRequest
25128
25164
  * @param {*} [options] Override http request option.
@@ -25168,7 +25204,7 @@ export const DomainsAvailabilityApiFactory = function (configuration?: Configura
25168
25204
  const localVarFp = DomainsAvailabilityApiFp(configuration)
25169
25205
  return {
25170
25206
  /**
25171
- * Check availability of domain names across multiple TLDs. Multiple TLDs can be checked at once. If you want alternative domains with response, provide only one TLD and set `with_alternatives` to `true`. TLDs should be provided without leading dot (e.g. `com`, `net`, `org`). Endpoint has rate limit of 90 requests per minute. Use this endpoint to verify domain availability before purchase.
25207
+ * Check availability of domain names across multiple TLDs. Multiple TLDs can be checked at once. If you want alternative domains with response, provide only one TLD and set `with_alternatives` to `true`. TLDs should be provided without leading dot (e.g. `com`, `net`, `org`). Premium domains are included: an available premium domain has `is_available` and `is_premium` set to `true`. Endpoint has rate limit of 90 requests per minute. Use this endpoint to verify domain availability before purchase.
25172
25208
  * @summary Check domain availability
25173
25209
  * @param {DomainsV1AvailabilityAvailabilityRequest} domainsV1AvailabilityAvailabilityRequest
25174
25210
  * @param {*} [options] Override http request option.
@@ -25208,7 +25244,7 @@ export const DomainsAvailabilityApiFactory = function (configuration?: Configura
25208
25244
  */
25209
25245
  export class DomainsAvailabilityApi extends BaseAPI {
25210
25246
  /**
25211
- * Check availability of domain names across multiple TLDs. Multiple TLDs can be checked at once. If you want alternative domains with response, provide only one TLD and set `with_alternatives` to `true`. TLDs should be provided without leading dot (e.g. `com`, `net`, `org`). Endpoint has rate limit of 90 requests per minute. Use this endpoint to verify domain availability before purchase.
25247
+ * Check availability of domain names across multiple TLDs. Multiple TLDs can be checked at once. If you want alternative domains with response, provide only one TLD and set `with_alternatives` to `true`. TLDs should be provided without leading dot (e.g. `com`, `net`, `org`). Premium domains are included: an available premium domain has `is_available` and `is_premium` set to `true`. Endpoint has rate limit of 90 requests per minute. Use this endpoint to verify domain availability before purchase.
25212
25248
  * @summary Check domain availability
25213
25249
  * @param {DomainsV1AvailabilityAvailabilityRequest} domainsV1AvailabilityAvailabilityRequest
25214
25250
  * @param {*} [options] Override http request option.
@@ -26564,7 +26600,7 @@ export const DomainsPortfolioApiAxiosParamCreator = function (configuration?: Co
26564
26600
  };
26565
26601
  },
26566
26602
  /**
26567
- * Retrieve renewal information for a specified domain, including its status and current expiration date. Use this endpoint to build renewal automation and expiry monitoring for a single domain.
26603
+ * 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
26604
  * @summary Get domain renewal information
26569
26605
  * @param {string} domain Domain name
26570
26606
  * @param {*} [options] Override http request option.
@@ -26804,7 +26840,7 @@ export const DomainsPortfolioApiFp = function(configuration?: Configuration) {
26804
26840
  return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
26805
26841
  },
26806
26842
  /**
26807
- * Retrieve renewal information for a specified domain, including its status and current expiration date. Use this endpoint to build renewal automation and expiry monitoring for a single domain.
26843
+ * 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
26844
  * @summary Get domain renewal information
26809
26845
  * @param {string} domain Domain name
26810
26846
  * @param {*} [options] Override http request option.
@@ -26941,7 +26977,7 @@ export const DomainsPortfolioApiFactory = function (configuration?: Configuratio
26941
26977
  return localVarFp.getDomainListV1(options).then((request) => request(axios, basePath));
26942
26978
  },
26943
26979
  /**
26944
- * Retrieve renewal information for a specified domain, including its status and current expiration date. Use this endpoint to build renewal automation and expiry monitoring for a single domain.
26980
+ * 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
26981
  * @summary Get domain renewal information
26946
26982
  * @param {string} domain Domain name
26947
26983
  * @param {*} [options] Override http request option.
@@ -27090,7 +27126,7 @@ export class DomainsPortfolioApi extends BaseAPI {
27090
27126
  }
27091
27127
 
27092
27128
  /**
27093
- * Retrieve renewal information for a specified domain, including its status and current expiration date. Use this endpoint to build renewal automation and expiry monitoring for a single domain.
27129
+ * 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
27130
  * @summary Get domain renewal information
27095
27131
  * @param {string} domain Domain name
27096
27132
  * @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.9.1
6
+ * API Version: 2.11.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.9.1
6
+ * API Version: 2.11.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.9.1
6
+ * API Version: 2.11.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.9.1",
51
+ 'User-Agent': "hostinger-typescript-sdk/2.11.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.9.1
4
+ * API Version: 2.11.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
@@ -3287,6 +3287,12 @@ export interface DomainsV1AvailabilityAvailabilityResource {
3287
3287
  * @memberof DomainsV1AvailabilityAvailabilityResource
3288
3288
  */
3289
3289
  'is_alternative': boolean;
3290
+ /**
3291
+ * `true` if domain is premium and is charged at a premium price
3292
+ * @type {boolean}
3293
+ * @memberof DomainsV1AvailabilityAvailabilityResource
3294
+ */
3295
+ 'is_premium': boolean;
3290
3296
  /**
3291
3297
  * Special rules and/or restrictions applied for registering TLD
3292
3298
  * @type {string}
@@ -3930,6 +3936,36 @@ export interface DomainsV1PortfolioRenewalRenewalInformationResource {
3930
3936
  * @memberof DomainsV1PortfolioRenewalRenewalInformationResource
3931
3937
  */
3932
3938
  'expires_at': string;
3939
+ /**
3940
+ * Whether the domain is in its post-expiration grace period
3941
+ * @type {boolean}
3942
+ * @memberof DomainsV1PortfolioRenewalRenewalInformationResource
3943
+ */
3944
+ 'is_grace_period': boolean;
3945
+ /**
3946
+ * When the grace period ends, set even when the domain is not in it
3947
+ * @type {string}
3948
+ * @memberof DomainsV1PortfolioRenewalRenewalInformationResource
3949
+ */
3950
+ 'grace_period_ends_at': string | null;
3951
+ /**
3952
+ * Whether the domain is in its redemption period
3953
+ * @type {boolean}
3954
+ * @memberof DomainsV1PortfolioRenewalRenewalInformationResource
3955
+ */
3956
+ 'is_redemption_period': boolean;
3957
+ /**
3958
+ * When the redemption period ends, set even when the domain is not in it
3959
+ * @type {string}
3960
+ * @memberof DomainsV1PortfolioRenewalRenewalInformationResource
3961
+ */
3962
+ 'redemption_period_ends_at': string | null;
3963
+ /**
3964
+ * Whether the domain can be renewed
3965
+ * @type {boolean}
3966
+ * @memberof DomainsV1PortfolioRenewalRenewalInformationResource
3967
+ */
3968
+ 'is_renewable': boolean;
3933
3969
  }
3934
3970
  /**
3935
3971
  *
@@ -21715,7 +21751,7 @@ export declare class DomainAccessVerifierVerificationsApi extends BaseAPI {
21715
21751
  */
21716
21752
  export declare const DomainsAvailabilityApiAxiosParamCreator: (configuration?: Configuration) => {
21717
21753
  /**
21718
- * Check availability of domain names across multiple TLDs. Multiple TLDs can be checked at once. If you want alternative domains with response, provide only one TLD and set `with_alternatives` to `true`. TLDs should be provided without leading dot (e.g. `com`, `net`, `org`). Endpoint has rate limit of 90 requests per minute. Use this endpoint to verify domain availability before purchase.
21754
+ * Check availability of domain names across multiple TLDs. Multiple TLDs can be checked at once. If you want alternative domains with response, provide only one TLD and set `with_alternatives` to `true`. TLDs should be provided without leading dot (e.g. `com`, `net`, `org`). Premium domains are included: an available premium domain has `is_available` and `is_premium` set to `true`. Endpoint has rate limit of 90 requests per minute. Use this endpoint to verify domain availability before purchase.
21719
21755
  * @summary Check domain availability
21720
21756
  * @param {DomainsV1AvailabilityAvailabilityRequest} domainsV1AvailabilityAvailabilityRequest
21721
21757
  * @param {*} [options] Override http request option.
@@ -21745,7 +21781,7 @@ export declare const DomainsAvailabilityApiAxiosParamCreator: (configuration?: C
21745
21781
  */
21746
21782
  export declare const DomainsAvailabilityApiFp: (configuration?: Configuration) => {
21747
21783
  /**
21748
- * Check availability of domain names across multiple TLDs. Multiple TLDs can be checked at once. If you want alternative domains with response, provide only one TLD and set `with_alternatives` to `true`. TLDs should be provided without leading dot (e.g. `com`, `net`, `org`). Endpoint has rate limit of 90 requests per minute. Use this endpoint to verify domain availability before purchase.
21784
+ * Check availability of domain names across multiple TLDs. Multiple TLDs can be checked at once. If you want alternative domains with response, provide only one TLD and set `with_alternatives` to `true`. TLDs should be provided without leading dot (e.g. `com`, `net`, `org`). Premium domains are included: an available premium domain has `is_available` and `is_premium` set to `true`. Endpoint has rate limit of 90 requests per minute. Use this endpoint to verify domain availability before purchase.
21749
21785
  * @summary Check domain availability
21750
21786
  * @param {DomainsV1AvailabilityAvailabilityRequest} domainsV1AvailabilityAvailabilityRequest
21751
21787
  * @param {*} [options] Override http request option.
@@ -21775,7 +21811,7 @@ export declare const DomainsAvailabilityApiFp: (configuration?: Configuration) =
21775
21811
  */
21776
21812
  export declare const DomainsAvailabilityApiFactory: (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) => {
21777
21813
  /**
21778
- * Check availability of domain names across multiple TLDs. Multiple TLDs can be checked at once. If you want alternative domains with response, provide only one TLD and set `with_alternatives` to `true`. TLDs should be provided without leading dot (e.g. `com`, `net`, `org`). Endpoint has rate limit of 90 requests per minute. Use this endpoint to verify domain availability before purchase.
21814
+ * Check availability of domain names across multiple TLDs. Multiple TLDs can be checked at once. If you want alternative domains with response, provide only one TLD and set `with_alternatives` to `true`. TLDs should be provided without leading dot (e.g. `com`, `net`, `org`). Premium domains are included: an available premium domain has `is_available` and `is_premium` set to `true`. Endpoint has rate limit of 90 requests per minute. Use this endpoint to verify domain availability before purchase.
21779
21815
  * @summary Check domain availability
21780
21816
  * @param {DomainsV1AvailabilityAvailabilityRequest} domainsV1AvailabilityAvailabilityRequest
21781
21817
  * @param {*} [options] Override http request option.
@@ -21807,7 +21843,7 @@ export declare const DomainsAvailabilityApiFactory: (configuration?: Configurati
21807
21843
  */
21808
21844
  export declare class DomainsAvailabilityApi extends BaseAPI {
21809
21845
  /**
21810
- * Check availability of domain names across multiple TLDs. Multiple TLDs can be checked at once. If you want alternative domains with response, provide only one TLD and set `with_alternatives` to `true`. TLDs should be provided without leading dot (e.g. `com`, `net`, `org`). Endpoint has rate limit of 90 requests per minute. Use this endpoint to verify domain availability before purchase.
21846
+ * Check availability of domain names across multiple TLDs. Multiple TLDs can be checked at once. If you want alternative domains with response, provide only one TLD and set `with_alternatives` to `true`. TLDs should be provided without leading dot (e.g. `com`, `net`, `org`). Premium domains are included: an available premium domain has `is_available` and `is_premium` set to `true`. Endpoint has rate limit of 90 requests per minute. Use this endpoint to verify domain availability before purchase.
21811
21847
  * @summary Check domain availability
21812
21848
  * @param {DomainsV1AvailabilityAvailabilityRequest} domainsV1AvailabilityAvailabilityRequest
21813
21849
  * @param {*} [options] Override http request option.
@@ -22368,7 +22404,7 @@ export declare const DomainsPortfolioApiAxiosParamCreator: (configuration?: Conf
22368
22404
  */
22369
22405
  getDomainListV1: (options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
22370
22406
  /**
22371
- * Retrieve renewal information for a specified domain, including its status and current expiration date. Use this endpoint to build renewal automation and expiry monitoring for a single domain.
22407
+ * 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
22408
  * @summary Get domain renewal information
22373
22409
  * @param {string} domain Domain name
22374
22410
  * @param {*} [options] Override http request option.
@@ -22471,7 +22507,7 @@ export declare const DomainsPortfolioApiFp: (configuration?: Configuration) => {
22471
22507
  */
22472
22508
  getDomainListV1(options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Array<DomainsV1DomainDomainResource>>>;
22473
22509
  /**
22474
- * Retrieve renewal information for a specified domain, including its status and current expiration date. Use this endpoint to build renewal automation and expiry monitoring for a single domain.
22510
+ * 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
22511
  * @summary Get domain renewal information
22476
22512
  * @param {string} domain Domain name
22477
22513
  * @param {*} [options] Override http request option.
@@ -22574,7 +22610,7 @@ export declare const DomainsPortfolioApiFactory: (configuration?: Configuration,
22574
22610
  */
22575
22611
  getDomainListV1(options?: RawAxiosRequestConfig): AxiosPromise<Array<DomainsV1DomainDomainResource>>;
22576
22612
  /**
22577
- * Retrieve renewal information for a specified domain, including its status and current expiration date. Use this endpoint to build renewal automation and expiry monitoring for a single domain.
22613
+ * 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
22614
  * @summary Get domain renewal information
22579
22615
  * @param {string} domain Domain name
22580
22616
  * @param {*} [options] Override http request option.
@@ -22688,7 +22724,7 @@ export declare class DomainsPortfolioApi extends BaseAPI {
22688
22724
  */
22689
22725
  getDomainListV1(options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<DomainsV1DomainDomainResource[], any, {}, any>>;
22690
22726
  /**
22691
- * Retrieve renewal information for a specified domain, including its status and current expiration date. Use this endpoint to build renewal automation and expiry monitoring for a single domain.
22727
+ * 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
22728
  * @summary Get domain renewal information
22693
22729
  * @param {string} domain Domain name
22694
22730
  * @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.9.1
7
+ * API Version: 2.11.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
@@ -6619,7 +6619,7 @@ exports.DomainAccessVerifierVerificationsApi = DomainAccessVerifierVerifications
6619
6619
  const DomainsAvailabilityApiAxiosParamCreator = function (configuration) {
6620
6620
  return {
6621
6621
  /**
6622
- * Check availability of domain names across multiple TLDs. Multiple TLDs can be checked at once. If you want alternative domains with response, provide only one TLD and set `with_alternatives` to `true`. TLDs should be provided without leading dot (e.g. `com`, `net`, `org`). Endpoint has rate limit of 90 requests per minute. Use this endpoint to verify domain availability before purchase.
6622
+ * Check availability of domain names across multiple TLDs. Multiple TLDs can be checked at once. If you want alternative domains with response, provide only one TLD and set `with_alternatives` to `true`. TLDs should be provided without leading dot (e.g. `com`, `net`, `org`). Premium domains are included: an available premium domain has `is_available` and `is_premium` set to `true`. Endpoint has rate limit of 90 requests per minute. Use this endpoint to verify domain availability before purchase.
6623
6623
  * @summary Check domain availability
6624
6624
  * @param {DomainsV1AvailabilityAvailabilityRequest} domainsV1AvailabilityAvailabilityRequest
6625
6625
  * @param {*} [options] Override http request option.
@@ -6728,7 +6728,7 @@ const DomainsAvailabilityApiFp = function (configuration) {
6728
6728
  const localVarAxiosParamCreator = (0, exports.DomainsAvailabilityApiAxiosParamCreator)(configuration);
6729
6729
  return {
6730
6730
  /**
6731
- * Check availability of domain names across multiple TLDs. Multiple TLDs can be checked at once. If you want alternative domains with response, provide only one TLD and set `with_alternatives` to `true`. TLDs should be provided without leading dot (e.g. `com`, `net`, `org`). Endpoint has rate limit of 90 requests per minute. Use this endpoint to verify domain availability before purchase.
6731
+ * Check availability of domain names across multiple TLDs. Multiple TLDs can be checked at once. If you want alternative domains with response, provide only one TLD and set `with_alternatives` to `true`. TLDs should be provided without leading dot (e.g. `com`, `net`, `org`). Premium domains are included: an available premium domain has `is_available` and `is_premium` set to `true`. Endpoint has rate limit of 90 requests per minute. Use this endpoint to verify domain availability before purchase.
6732
6732
  * @summary Check domain availability
6733
6733
  * @param {DomainsV1AvailabilityAvailabilityRequest} domainsV1AvailabilityAvailabilityRequest
6734
6734
  * @param {*} [options] Override http request option.
@@ -6783,7 +6783,7 @@ const DomainsAvailabilityApiFactory = function (configuration, basePath, axios)
6783
6783
  const localVarFp = (0, exports.DomainsAvailabilityApiFp)(configuration);
6784
6784
  return {
6785
6785
  /**
6786
- * Check availability of domain names across multiple TLDs. Multiple TLDs can be checked at once. If you want alternative domains with response, provide only one TLD and set `with_alternatives` to `true`. TLDs should be provided without leading dot (e.g. `com`, `net`, `org`). Endpoint has rate limit of 90 requests per minute. Use this endpoint to verify domain availability before purchase.
6786
+ * Check availability of domain names across multiple TLDs. Multiple TLDs can be checked at once. If you want alternative domains with response, provide only one TLD and set `with_alternatives` to `true`. TLDs should be provided without leading dot (e.g. `com`, `net`, `org`). Premium domains are included: an available premium domain has `is_available` and `is_premium` set to `true`. Endpoint has rate limit of 90 requests per minute. Use this endpoint to verify domain availability before purchase.
6787
6787
  * @summary Check domain availability
6788
6788
  * @param {DomainsV1AvailabilityAvailabilityRequest} domainsV1AvailabilityAvailabilityRequest
6789
6789
  * @param {*} [options] Override http request option.
@@ -6823,7 +6823,7 @@ exports.DomainsAvailabilityApiFactory = DomainsAvailabilityApiFactory;
6823
6823
  */
6824
6824
  class DomainsAvailabilityApi extends base_1.BaseAPI {
6825
6825
  /**
6826
- * Check availability of domain names across multiple TLDs. Multiple TLDs can be checked at once. If you want alternative domains with response, provide only one TLD and set `with_alternatives` to `true`. TLDs should be provided without leading dot (e.g. `com`, `net`, `org`). Endpoint has rate limit of 90 requests per minute. Use this endpoint to verify domain availability before purchase.
6826
+ * Check availability of domain names across multiple TLDs. Multiple TLDs can be checked at once. If you want alternative domains with response, provide only one TLD and set `with_alternatives` to `true`. TLDs should be provided without leading dot (e.g. `com`, `net`, `org`). Premium domains are included: an available premium domain has `is_available` and `is_premium` set to `true`. Endpoint has rate limit of 90 requests per minute. Use this endpoint to verify domain availability before purchase.
6827
6827
  * @summary Check domain availability
6828
6828
  * @param {DomainsV1AvailabilityAvailabilityRequest} domainsV1AvailabilityAvailabilityRequest
6829
6829
  * @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 and current expiration date. Use this endpoint to build renewal automation and expiry monitoring for a single domain.
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 and current expiration date. Use this endpoint to build renewal automation and expiry monitoring for a single domain.
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 and current expiration date. Use this endpoint to build renewal automation and expiry monitoring for a single domain.
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 and current expiration date. Use this endpoint to build renewal automation and expiry monitoring for a single domain.
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.9.1
4
+ * API Version: 2.11.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.9.1
7
+ * API Version: 2.11.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.9.1
4
+ * API Version: 2.11.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.9.1
7
+ * API Version: 2.11.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
@@ -1,7 +1,7 @@
1
1
  /**
2
2
  * Hostinger API
3
3
  *
4
- * API Version: 2.9.1
4
+ * API Version: 2.11.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
@@ -4,7 +4,7 @@
4
4
  /**
5
5
  * Hostinger API
6
6
  *
7
- * API Version: 2.9.1
7
+ * API Version: 2.11.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.9.1" }, (_a = param.baseOptions) === null || _a === void 0 ? void 0 : _a.headers) });
19
+ this.baseOptions = Object.assign(Object.assign({}, param.baseOptions), { headers: Object.assign({ 'User-Agent': "hostinger-typescript-sdk/2.11.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.9.1
4
+ * API Version: 2.11.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
@@ -3287,6 +3287,12 @@ export interface DomainsV1AvailabilityAvailabilityResource {
3287
3287
  * @memberof DomainsV1AvailabilityAvailabilityResource
3288
3288
  */
3289
3289
  'is_alternative': boolean;
3290
+ /**
3291
+ * `true` if domain is premium and is charged at a premium price
3292
+ * @type {boolean}
3293
+ * @memberof DomainsV1AvailabilityAvailabilityResource
3294
+ */
3295
+ 'is_premium': boolean;
3290
3296
  /**
3291
3297
  * Special rules and/or restrictions applied for registering TLD
3292
3298
  * @type {string}
@@ -3930,6 +3936,36 @@ export interface DomainsV1PortfolioRenewalRenewalInformationResource {
3930
3936
  * @memberof DomainsV1PortfolioRenewalRenewalInformationResource
3931
3937
  */
3932
3938
  'expires_at': string;
3939
+ /**
3940
+ * Whether the domain is in its post-expiration grace period
3941
+ * @type {boolean}
3942
+ * @memberof DomainsV1PortfolioRenewalRenewalInformationResource
3943
+ */
3944
+ 'is_grace_period': boolean;
3945
+ /**
3946
+ * When the grace period ends, set even when the domain is not in it
3947
+ * @type {string}
3948
+ * @memberof DomainsV1PortfolioRenewalRenewalInformationResource
3949
+ */
3950
+ 'grace_period_ends_at': string | null;
3951
+ /**
3952
+ * Whether the domain is in its redemption period
3953
+ * @type {boolean}
3954
+ * @memberof DomainsV1PortfolioRenewalRenewalInformationResource
3955
+ */
3956
+ 'is_redemption_period': boolean;
3957
+ /**
3958
+ * When the redemption period ends, set even when the domain is not in it
3959
+ * @type {string}
3960
+ * @memberof DomainsV1PortfolioRenewalRenewalInformationResource
3961
+ */
3962
+ 'redemption_period_ends_at': string | null;
3963
+ /**
3964
+ * Whether the domain can be renewed
3965
+ * @type {boolean}
3966
+ * @memberof DomainsV1PortfolioRenewalRenewalInformationResource
3967
+ */
3968
+ 'is_renewable': boolean;
3933
3969
  }
3934
3970
  /**
3935
3971
  *
@@ -21715,7 +21751,7 @@ export declare class DomainAccessVerifierVerificationsApi extends BaseAPI {
21715
21751
  */
21716
21752
  export declare const DomainsAvailabilityApiAxiosParamCreator: (configuration?: Configuration) => {
21717
21753
  /**
21718
- * Check availability of domain names across multiple TLDs. Multiple TLDs can be checked at once. If you want alternative domains with response, provide only one TLD and set `with_alternatives` to `true`. TLDs should be provided without leading dot (e.g. `com`, `net`, `org`). Endpoint has rate limit of 90 requests per minute. Use this endpoint to verify domain availability before purchase.
21754
+ * Check availability of domain names across multiple TLDs. Multiple TLDs can be checked at once. If you want alternative domains with response, provide only one TLD and set `with_alternatives` to `true`. TLDs should be provided without leading dot (e.g. `com`, `net`, `org`). Premium domains are included: an available premium domain has `is_available` and `is_premium` set to `true`. Endpoint has rate limit of 90 requests per minute. Use this endpoint to verify domain availability before purchase.
21719
21755
  * @summary Check domain availability
21720
21756
  * @param {DomainsV1AvailabilityAvailabilityRequest} domainsV1AvailabilityAvailabilityRequest
21721
21757
  * @param {*} [options] Override http request option.
@@ -21745,7 +21781,7 @@ export declare const DomainsAvailabilityApiAxiosParamCreator: (configuration?: C
21745
21781
  */
21746
21782
  export declare const DomainsAvailabilityApiFp: (configuration?: Configuration) => {
21747
21783
  /**
21748
- * Check availability of domain names across multiple TLDs. Multiple TLDs can be checked at once. If you want alternative domains with response, provide only one TLD and set `with_alternatives` to `true`. TLDs should be provided without leading dot (e.g. `com`, `net`, `org`). Endpoint has rate limit of 90 requests per minute. Use this endpoint to verify domain availability before purchase.
21784
+ * Check availability of domain names across multiple TLDs. Multiple TLDs can be checked at once. If you want alternative domains with response, provide only one TLD and set `with_alternatives` to `true`. TLDs should be provided without leading dot (e.g. `com`, `net`, `org`). Premium domains are included: an available premium domain has `is_available` and `is_premium` set to `true`. Endpoint has rate limit of 90 requests per minute. Use this endpoint to verify domain availability before purchase.
21749
21785
  * @summary Check domain availability
21750
21786
  * @param {DomainsV1AvailabilityAvailabilityRequest} domainsV1AvailabilityAvailabilityRequest
21751
21787
  * @param {*} [options] Override http request option.
@@ -21775,7 +21811,7 @@ export declare const DomainsAvailabilityApiFp: (configuration?: Configuration) =
21775
21811
  */
21776
21812
  export declare const DomainsAvailabilityApiFactory: (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) => {
21777
21813
  /**
21778
- * Check availability of domain names across multiple TLDs. Multiple TLDs can be checked at once. If you want alternative domains with response, provide only one TLD and set `with_alternatives` to `true`. TLDs should be provided without leading dot (e.g. `com`, `net`, `org`). Endpoint has rate limit of 90 requests per minute. Use this endpoint to verify domain availability before purchase.
21814
+ * Check availability of domain names across multiple TLDs. Multiple TLDs can be checked at once. If you want alternative domains with response, provide only one TLD and set `with_alternatives` to `true`. TLDs should be provided without leading dot (e.g. `com`, `net`, `org`). Premium domains are included: an available premium domain has `is_available` and `is_premium` set to `true`. Endpoint has rate limit of 90 requests per minute. Use this endpoint to verify domain availability before purchase.
21779
21815
  * @summary Check domain availability
21780
21816
  * @param {DomainsV1AvailabilityAvailabilityRequest} domainsV1AvailabilityAvailabilityRequest
21781
21817
  * @param {*} [options] Override http request option.
@@ -21807,7 +21843,7 @@ export declare const DomainsAvailabilityApiFactory: (configuration?: Configurati
21807
21843
  */
21808
21844
  export declare class DomainsAvailabilityApi extends BaseAPI {
21809
21845
  /**
21810
- * Check availability of domain names across multiple TLDs. Multiple TLDs can be checked at once. If you want alternative domains with response, provide only one TLD and set `with_alternatives` to `true`. TLDs should be provided without leading dot (e.g. `com`, `net`, `org`). Endpoint has rate limit of 90 requests per minute. Use this endpoint to verify domain availability before purchase.
21846
+ * Check availability of domain names across multiple TLDs. Multiple TLDs can be checked at once. If you want alternative domains with response, provide only one TLD and set `with_alternatives` to `true`. TLDs should be provided without leading dot (e.g. `com`, `net`, `org`). Premium domains are included: an available premium domain has `is_available` and `is_premium` set to `true`. Endpoint has rate limit of 90 requests per minute. Use this endpoint to verify domain availability before purchase.
21811
21847
  * @summary Check domain availability
21812
21848
  * @param {DomainsV1AvailabilityAvailabilityRequest} domainsV1AvailabilityAvailabilityRequest
21813
21849
  * @param {*} [options] Override http request option.
@@ -22368,7 +22404,7 @@ export declare const DomainsPortfolioApiAxiosParamCreator: (configuration?: Conf
22368
22404
  */
22369
22405
  getDomainListV1: (options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
22370
22406
  /**
22371
- * Retrieve renewal information for a specified domain, including its status and current expiration date. Use this endpoint to build renewal automation and expiry monitoring for a single domain.
22407
+ * 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
22408
  * @summary Get domain renewal information
22373
22409
  * @param {string} domain Domain name
22374
22410
  * @param {*} [options] Override http request option.
@@ -22471,7 +22507,7 @@ export declare const DomainsPortfolioApiFp: (configuration?: Configuration) => {
22471
22507
  */
22472
22508
  getDomainListV1(options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Array<DomainsV1DomainDomainResource>>>;
22473
22509
  /**
22474
- * Retrieve renewal information for a specified domain, including its status and current expiration date. Use this endpoint to build renewal automation and expiry monitoring for a single domain.
22510
+ * 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
22511
  * @summary Get domain renewal information
22476
22512
  * @param {string} domain Domain name
22477
22513
  * @param {*} [options] Override http request option.
@@ -22574,7 +22610,7 @@ export declare const DomainsPortfolioApiFactory: (configuration?: Configuration,
22574
22610
  */
22575
22611
  getDomainListV1(options?: RawAxiosRequestConfig): AxiosPromise<Array<DomainsV1DomainDomainResource>>;
22576
22612
  /**
22577
- * Retrieve renewal information for a specified domain, including its status and current expiration date. Use this endpoint to build renewal automation and expiry monitoring for a single domain.
22613
+ * 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
22614
  * @summary Get domain renewal information
22579
22615
  * @param {string} domain Domain name
22580
22616
  * @param {*} [options] Override http request option.
@@ -22688,7 +22724,7 @@ export declare class DomainsPortfolioApi extends BaseAPI {
22688
22724
  */
22689
22725
  getDomainListV1(options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<DomainsV1DomainDomainResource[], any, {}, any>>;
22690
22726
  /**
22691
- * Retrieve renewal information for a specified domain, including its status and current expiration date. Use this endpoint to build renewal automation and expiry monitoring for a single domain.
22727
+ * 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
22728
  * @summary Get domain renewal information
22693
22729
  * @param {string} domain Domain name
22694
22730
  * @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.9.1
6
+ * API Version: 2.11.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
@@ -6516,7 +6516,7 @@ export class DomainAccessVerifierVerificationsApi extends BaseAPI {
6516
6516
  export const DomainsAvailabilityApiAxiosParamCreator = function (configuration) {
6517
6517
  return {
6518
6518
  /**
6519
- * Check availability of domain names across multiple TLDs. Multiple TLDs can be checked at once. If you want alternative domains with response, provide only one TLD and set `with_alternatives` to `true`. TLDs should be provided without leading dot (e.g. `com`, `net`, `org`). Endpoint has rate limit of 90 requests per minute. Use this endpoint to verify domain availability before purchase.
6519
+ * Check availability of domain names across multiple TLDs. Multiple TLDs can be checked at once. If you want alternative domains with response, provide only one TLD and set `with_alternatives` to `true`. TLDs should be provided without leading dot (e.g. `com`, `net`, `org`). Premium domains are included: an available premium domain has `is_available` and `is_premium` set to `true`. Endpoint has rate limit of 90 requests per minute. Use this endpoint to verify domain availability before purchase.
6520
6520
  * @summary Check domain availability
6521
6521
  * @param {DomainsV1AvailabilityAvailabilityRequest} domainsV1AvailabilityAvailabilityRequest
6522
6522
  * @param {*} [options] Override http request option.
@@ -6624,7 +6624,7 @@ export const DomainsAvailabilityApiFp = function (configuration) {
6624
6624
  const localVarAxiosParamCreator = DomainsAvailabilityApiAxiosParamCreator(configuration);
6625
6625
  return {
6626
6626
  /**
6627
- * Check availability of domain names across multiple TLDs. Multiple TLDs can be checked at once. If you want alternative domains with response, provide only one TLD and set `with_alternatives` to `true`. TLDs should be provided without leading dot (e.g. `com`, `net`, `org`). Endpoint has rate limit of 90 requests per minute. Use this endpoint to verify domain availability before purchase.
6627
+ * Check availability of domain names across multiple TLDs. Multiple TLDs can be checked at once. If you want alternative domains with response, provide only one TLD and set `with_alternatives` to `true`. TLDs should be provided without leading dot (e.g. `com`, `net`, `org`). Premium domains are included: an available premium domain has `is_available` and `is_premium` set to `true`. Endpoint has rate limit of 90 requests per minute. Use this endpoint to verify domain availability before purchase.
6628
6628
  * @summary Check domain availability
6629
6629
  * @param {DomainsV1AvailabilityAvailabilityRequest} domainsV1AvailabilityAvailabilityRequest
6630
6630
  * @param {*} [options] Override http request option.
@@ -6678,7 +6678,7 @@ export const DomainsAvailabilityApiFactory = function (configuration, basePath,
6678
6678
  const localVarFp = DomainsAvailabilityApiFp(configuration);
6679
6679
  return {
6680
6680
  /**
6681
- * Check availability of domain names across multiple TLDs. Multiple TLDs can be checked at once. If you want alternative domains with response, provide only one TLD and set `with_alternatives` to `true`. TLDs should be provided without leading dot (e.g. `com`, `net`, `org`). Endpoint has rate limit of 90 requests per minute. Use this endpoint to verify domain availability before purchase.
6681
+ * Check availability of domain names across multiple TLDs. Multiple TLDs can be checked at once. If you want alternative domains with response, provide only one TLD and set `with_alternatives` to `true`. TLDs should be provided without leading dot (e.g. `com`, `net`, `org`). Premium domains are included: an available premium domain has `is_available` and `is_premium` set to `true`. Endpoint has rate limit of 90 requests per minute. Use this endpoint to verify domain availability before purchase.
6682
6682
  * @summary Check domain availability
6683
6683
  * @param {DomainsV1AvailabilityAvailabilityRequest} domainsV1AvailabilityAvailabilityRequest
6684
6684
  * @param {*} [options] Override http request option.
@@ -6717,7 +6717,7 @@ export const DomainsAvailabilityApiFactory = function (configuration, basePath,
6717
6717
  */
6718
6718
  export class DomainsAvailabilityApi extends BaseAPI {
6719
6719
  /**
6720
- * Check availability of domain names across multiple TLDs. Multiple TLDs can be checked at once. If you want alternative domains with response, provide only one TLD and set `with_alternatives` to `true`. TLDs should be provided without leading dot (e.g. `com`, `net`, `org`). Endpoint has rate limit of 90 requests per minute. Use this endpoint to verify domain availability before purchase.
6720
+ * Check availability of domain names across multiple TLDs. Multiple TLDs can be checked at once. If you want alternative domains with response, provide only one TLD and set `with_alternatives` to `true`. TLDs should be provided without leading dot (e.g. `com`, `net`, `org`). Premium domains are included: an available premium domain has `is_available` and `is_premium` set to `true`. Endpoint has rate limit of 90 requests per minute. Use this endpoint to verify domain availability before purchase.
6721
6721
  * @summary Check domain availability
6722
6722
  * @param {DomainsV1AvailabilityAvailabilityRequest} domainsV1AvailabilityAvailabilityRequest
6723
6723
  * @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 and current expiration date. Use this endpoint to build renewal automation and expiry monitoring for a single domain.
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 and current expiration date. Use this endpoint to build renewal automation and expiry monitoring for a single domain.
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 and current expiration date. Use this endpoint to build renewal automation and expiry monitoring for a single domain.
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 and current expiration date. Use this endpoint to build renewal automation and expiry monitoring for a single domain.
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.
@@ -1,7 +1,7 @@
1
1
  /**
2
2
  * Hostinger API
3
3
  *
4
- * API Version: 2.9.1
4
+ * API Version: 2.11.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.9.1
6
+ * API Version: 2.11.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.9.1
4
+ * API Version: 2.11.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.9.1
6
+ * API Version: 2.11.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.9.1
4
+ * API Version: 2.11.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.9.1
6
+ * API Version: 2.11.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.9.1" }, (_a = param.baseOptions) === null || _a === void 0 ? void 0 : _a.headers) });
16
+ this.baseOptions = Object.assign(Object.assign({}, param.baseOptions), { headers: Object.assign({ 'User-Agent': "hostinger-typescript-sdk/2.11.0" }, (_a = param.baseOptions) === null || _a === void 0 ? void 0 : _a.headers) });
17
17
  this.formDataCtor = param.formDataCtor;
18
18
  }
19
19
  /**
@@ -1,7 +1,7 @@
1
1
  /**
2
2
  * Hostinger API
3
3
  *
4
- * API Version: 2.9.1
4
+ * API Version: 2.11.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.9.1
6
+ * API Version: 2.11.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.9.1
4
+ * API Version: 2.11.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.9.1
7
+ * API Version: 2.11.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
@@ -11,7 +11,7 @@ All URIs are relative to *https://developers.hostinger.com*
11
11
  # **checkDomainAvailabilityV1**
12
12
  > Array<DomainsV1AvailabilityAvailabilityResource> checkDomainAvailabilityV1(domainsV1AvailabilityAvailabilityRequest)
13
13
 
14
- Check availability of domain names across multiple TLDs. Multiple TLDs can be checked at once. If you want alternative domains with response, provide only one TLD and set `with_alternatives` to `true`. TLDs should be provided without leading dot (e.g. `com`, `net`, `org`). Endpoint has rate limit of 90 requests per minute. Use this endpoint to verify domain availability before purchase.
14
+ Check availability of domain names across multiple TLDs. Multiple TLDs can be checked at once. If you want alternative domains with response, provide only one TLD and set `with_alternatives` to `true`. TLDs should be provided without leading dot (e.g. `com`, `net`, `org`). Premium domains are included: an available premium domain has `is_available` and `is_premium` set to `true`. Endpoint has rate limit of 90 requests per minute. Use this endpoint to verify domain availability before purchase.
15
15
 
16
16
  ### Example
17
17
 
@@ -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 and current expiration date. Use this endpoint to build renewal automation and expiry monitoring for a single domain.
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,7 @@ Name | Type | Description | Notes
8
8
  **domain** | **string** | Domain name, &#x60;null&#x60; when not claimed free domain | [optional] [default to undefined]
9
9
  **is_available** | **boolean** | &#x60;true&#x60; if domain is available for registration | [optional] [default to undefined]
10
10
  **is_alternative** | **boolean** | &#x60;true&#x60; if domain is provided as an alternative | [optional] [default to undefined]
11
+ **is_premium** | **boolean** | &#x60;true&#x60; if domain is premium and is charged at a premium price | [optional] [default to undefined]
11
12
  **restriction** | **string** | Special rules and/or restrictions applied for registering TLD | [optional] [default to undefined]
12
13
 
13
14
  ## Example
@@ -19,6 +20,7 @@ const instance: DomainsV1AvailabilityAvailabilityResource = {
19
20
  domain,
20
21
  is_available,
21
22
  is_alternative,
23
+ is_premium,
22
24
  restriction,
23
25
  };
24
26
  ```
@@ -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.9.1
6
+ * API Version: 2.11.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,6 +1,6 @@
1
1
  {
2
2
  "name": "hostinger-api-sdk",
3
- "version": "2.9.1",
3
+ "version": "2.11.0",
4
4
  "description": "Hostinger API TypeScript SDK",
5
5
  "author": "Hostinger",
6
6
  "repository": {