hostinger-api-sdk 2.10.0 → 2.11.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/README.md CHANGED
@@ -1,9 +1,9 @@
1
- ## @hostinger/sdk@2.10.0
1
+ ## @hostinger/sdk@2.11.1
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.10.0 --save
8
+ npm install @hostinger/sdk@2.11.1 --save
9
9
  ```
package/api.ts CHANGED
@@ -3,7 +3,7 @@
3
3
  /**
4
4
  * Hostinger API
5
5
  *
6
- * API Version: 2.10.0
6
+ * API Version: 2.11.1
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}
@@ -25022,7 +25028,7 @@ export class DomainAccessVerifierVerificationsApi extends BaseAPI {
25022
25028
  export const DomainsAvailabilityApiAxiosParamCreator = function (configuration?: Configuration) {
25023
25029
  return {
25024
25030
  /**
25025
- * 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.
25026
25032
  * @summary Check domain availability
25027
25033
  * @param {DomainsV1AvailabilityAvailabilityRequest} domainsV1AvailabilityAvailabilityRequest
25028
25034
  * @param {*} [options] Override http request option.
@@ -25152,7 +25158,7 @@ export const DomainsAvailabilityApiFp = function(configuration?: Configuration)
25152
25158
  const localVarAxiosParamCreator = DomainsAvailabilityApiAxiosParamCreator(configuration)
25153
25159
  return {
25154
25160
  /**
25155
- * 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.
25156
25162
  * @summary Check domain availability
25157
25163
  * @param {DomainsV1AvailabilityAvailabilityRequest} domainsV1AvailabilityAvailabilityRequest
25158
25164
  * @param {*} [options] Override http request option.
@@ -25198,7 +25204,7 @@ export const DomainsAvailabilityApiFactory = function (configuration?: Configura
25198
25204
  const localVarFp = DomainsAvailabilityApiFp(configuration)
25199
25205
  return {
25200
25206
  /**
25201
- * 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.
25202
25208
  * @summary Check domain availability
25203
25209
  * @param {DomainsV1AvailabilityAvailabilityRequest} domainsV1AvailabilityAvailabilityRequest
25204
25210
  * @param {*} [options] Override http request option.
@@ -25238,7 +25244,7 @@ export const DomainsAvailabilityApiFactory = function (configuration?: Configura
25238
25244
  */
25239
25245
  export class DomainsAvailabilityApi extends BaseAPI {
25240
25246
  /**
25241
- * 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.
25242
25248
  * @summary Check domain availability
25243
25249
  * @param {DomainsV1AvailabilityAvailabilityRequest} domainsV1AvailabilityAvailabilityRequest
25244
25250
  * @param {*} [options] Override http request option.
@@ -25890,7 +25896,7 @@ export const DomainsMoveApiAxiosParamCreator = function (configuration?: Configu
25890
25896
  };
25891
25897
  },
25892
25898
  /**
25893
- * Initiate a move of a specified domain to another Hostinger account. The receiving account has to already exist and accept the move before the domain changes hands. The domain must be active. The subscription it belongs to is resolved automatically, and the request is rejected with a 404 status code when the domain has no domain subscription of its own. Domains protected by premium protection require an additional verification step, such requests are rejected with a 428 status code. Use this endpoint to hand a domain over to another Hostinger user.
25899
+ * Initiate a move of a specified domain to another Hostinger account. The receiving account has to already exist and accept the move before the domain changes hands. The domain must be active. The subscription it belongs to is resolved automatically, and the request is rejected with a 404 status code when the domain has no domain subscription of its own. The move is also refused unless the domain: - was registered at least 4 days ago - does not expire within the next 10 days - has an extension that supports moves - has no move already in progress - was not moved in the last 10 days - is not a premium domain - is not still processing a recent renewal A move refused for one of these rules is rejected with a 404 status code and error code 2048, with a message naming the rule. The receiving account is checked first, and when it cannot be used the message stays generic. Domains protected by premium protection require an additional verification step, such requests are rejected with a 428 status code. Use this endpoint to hand a domain over to another Hostinger user.
25894
25900
  * @summary Start outgoing domain move
25895
25901
  * @param {string} domain Domain name
25896
25902
  * @param {DomainsV1MoveOutgoingStoreRequest} domainsV1MoveOutgoingStoreRequest
@@ -26028,7 +26034,7 @@ export const DomainsMoveApiFp = function(configuration?: Configuration) {
26028
26034
  return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
26029
26035
  },
26030
26036
  /**
26031
- * Initiate a move of a specified domain to another Hostinger account. The receiving account has to already exist and accept the move before the domain changes hands. The domain must be active. The subscription it belongs to is resolved automatically, and the request is rejected with a 404 status code when the domain has no domain subscription of its own. Domains protected by premium protection require an additional verification step, such requests are rejected with a 428 status code. Use this endpoint to hand a domain over to another Hostinger user.
26037
+ * Initiate a move of a specified domain to another Hostinger account. The receiving account has to already exist and accept the move before the domain changes hands. The domain must be active. The subscription it belongs to is resolved automatically, and the request is rejected with a 404 status code when the domain has no domain subscription of its own. The move is also refused unless the domain: - was registered at least 4 days ago - does not expire within the next 10 days - has an extension that supports moves - has no move already in progress - was not moved in the last 10 days - is not a premium domain - is not still processing a recent renewal A move refused for one of these rules is rejected with a 404 status code and error code 2048, with a message naming the rule. The receiving account is checked first, and when it cannot be used the message stays generic. Domains protected by premium protection require an additional verification step, such requests are rejected with a 428 status code. Use this endpoint to hand a domain over to another Hostinger user.
26032
26038
  * @summary Start outgoing domain move
26033
26039
  * @param {string} domain Domain name
26034
26040
  * @param {DomainsV1MoveOutgoingStoreRequest} domainsV1MoveOutgoingStoreRequest
@@ -26121,7 +26127,7 @@ export const DomainsMoveApiFactory = function (configuration?: Configuration, ba
26121
26127
  return localVarFp.rejectIncomingDomainMoveV1(domain, options).then((request) => request(axios, basePath));
26122
26128
  },
26123
26129
  /**
26124
- * Initiate a move of a specified domain to another Hostinger account. The receiving account has to already exist and accept the move before the domain changes hands. The domain must be active. The subscription it belongs to is resolved automatically, and the request is rejected with a 404 status code when the domain has no domain subscription of its own. Domains protected by premium protection require an additional verification step, such requests are rejected with a 428 status code. Use this endpoint to hand a domain over to another Hostinger user.
26130
+ * Initiate a move of a specified domain to another Hostinger account. The receiving account has to already exist and accept the move before the domain changes hands. The domain must be active. The subscription it belongs to is resolved automatically, and the request is rejected with a 404 status code when the domain has no domain subscription of its own. The move is also refused unless the domain: - was registered at least 4 days ago - does not expire within the next 10 days - has an extension that supports moves - has no move already in progress - was not moved in the last 10 days - is not a premium domain - is not still processing a recent renewal A move refused for one of these rules is rejected with a 404 status code and error code 2048, with a message naming the rule. The receiving account is checked first, and when it cannot be used the message stays generic. Domains protected by premium protection require an additional verification step, such requests are rejected with a 428 status code. Use this endpoint to hand a domain over to another Hostinger user.
26125
26131
  * @summary Start outgoing domain move
26126
26132
  * @param {string} domain Domain name
26127
26133
  * @param {DomainsV1MoveOutgoingStoreRequest} domainsV1MoveOutgoingStoreRequest
@@ -26226,7 +26232,7 @@ export class DomainsMoveApi extends BaseAPI {
26226
26232
  }
26227
26233
 
26228
26234
  /**
26229
- * Initiate a move of a specified domain to another Hostinger account. The receiving account has to already exist and accept the move before the domain changes hands. The domain must be active. The subscription it belongs to is resolved automatically, and the request is rejected with a 404 status code when the domain has no domain subscription of its own. Domains protected by premium protection require an additional verification step, such requests are rejected with a 428 status code. Use this endpoint to hand a domain over to another Hostinger user.
26235
+ * Initiate a move of a specified domain to another Hostinger account. The receiving account has to already exist and accept the move before the domain changes hands. The domain must be active. The subscription it belongs to is resolved automatically, and the request is rejected with a 404 status code when the domain has no domain subscription of its own. The move is also refused unless the domain: - was registered at least 4 days ago - does not expire within the next 10 days - has an extension that supports moves - has no move already in progress - was not moved in the last 10 days - is not a premium domain - is not still processing a recent renewal A move refused for one of these rules is rejected with a 404 status code and error code 2048, with a message naming the rule. The receiving account is checked first, and when it cannot be used the message stays generic. Domains protected by premium protection require an additional verification step, such requests are rejected with a 428 status code. Use this endpoint to hand a domain over to another Hostinger user.
26230
26236
  * @summary Start outgoing domain move
26231
26237
  * @param {string} domain Domain name
26232
26238
  * @param {DomainsV1MoveOutgoingStoreRequest} domainsV1MoveOutgoingStoreRequest
package/base.ts CHANGED
@@ -3,7 +3,7 @@
3
3
  /**
4
4
  * Hostinger API
5
5
  *
6
- * API Version: 2.10.0
6
+ * API Version: 2.11.1
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.10.0
6
+ * API Version: 2.11.1
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.10.0
6
+ * API Version: 2.11.1
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.10.0",
51
+ 'User-Agent': "hostinger-typescript-sdk/2.11.1",
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.10.0
4
+ * API Version: 2.11.1
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}
@@ -21745,7 +21751,7 @@ export declare class DomainAccessVerifierVerificationsApi extends BaseAPI {
21745
21751
  */
21746
21752
  export declare const DomainsAvailabilityApiAxiosParamCreator: (configuration?: Configuration) => {
21747
21753
  /**
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.
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.
21749
21755
  * @summary Check domain availability
21750
21756
  * @param {DomainsV1AvailabilityAvailabilityRequest} domainsV1AvailabilityAvailabilityRequest
21751
21757
  * @param {*} [options] Override http request option.
@@ -21775,7 +21781,7 @@ export declare const DomainsAvailabilityApiAxiosParamCreator: (configuration?: C
21775
21781
  */
21776
21782
  export declare const DomainsAvailabilityApiFp: (configuration?: Configuration) => {
21777
21783
  /**
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.
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.
21779
21785
  * @summary Check domain availability
21780
21786
  * @param {DomainsV1AvailabilityAvailabilityRequest} domainsV1AvailabilityAvailabilityRequest
21781
21787
  * @param {*} [options] Override http request option.
@@ -21805,7 +21811,7 @@ export declare const DomainsAvailabilityApiFp: (configuration?: Configuration) =
21805
21811
  */
21806
21812
  export declare const DomainsAvailabilityApiFactory: (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) => {
21807
21813
  /**
21808
- * 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.
21809
21815
  * @summary Check domain availability
21810
21816
  * @param {DomainsV1AvailabilityAvailabilityRequest} domainsV1AvailabilityAvailabilityRequest
21811
21817
  * @param {*} [options] Override http request option.
@@ -21837,7 +21843,7 @@ export declare const DomainsAvailabilityApiFactory: (configuration?: Configurati
21837
21843
  */
21838
21844
  export declare class DomainsAvailabilityApi extends BaseAPI {
21839
21845
  /**
21840
- * 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.
21841
21847
  * @summary Check domain availability
21842
21848
  * @param {DomainsV1AvailabilityAvailabilityRequest} domainsV1AvailabilityAvailabilityRequest
21843
21849
  * @param {*} [options] Override http request option.
@@ -22088,7 +22094,7 @@ export declare const DomainsMoveApiAxiosParamCreator: (configuration?: Configura
22088
22094
  */
22089
22095
  rejectIncomingDomainMoveV1: (domain: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
22090
22096
  /**
22091
- * Initiate a move of a specified domain to another Hostinger account. The receiving account has to already exist and accept the move before the domain changes hands. The domain must be active. The subscription it belongs to is resolved automatically, and the request is rejected with a 404 status code when the domain has no domain subscription of its own. Domains protected by premium protection require an additional verification step, such requests are rejected with a 428 status code. Use this endpoint to hand a domain over to another Hostinger user.
22097
+ * Initiate a move of a specified domain to another Hostinger account. The receiving account has to already exist and accept the move before the domain changes hands. The domain must be active. The subscription it belongs to is resolved automatically, and the request is rejected with a 404 status code when the domain has no domain subscription of its own. The move is also refused unless the domain: - was registered at least 4 days ago - does not expire within the next 10 days - has an extension that supports moves - has no move already in progress - was not moved in the last 10 days - is not a premium domain - is not still processing a recent renewal A move refused for one of these rules is rejected with a 404 status code and error code 2048, with a message naming the rule. The receiving account is checked first, and when it cannot be used the message stays generic. Domains protected by premium protection require an additional verification step, such requests are rejected with a 428 status code. Use this endpoint to hand a domain over to another Hostinger user.
22092
22098
  * @summary Start outgoing domain move
22093
22099
  * @param {string} domain Domain name
22094
22100
  * @param {DomainsV1MoveOutgoingStoreRequest} domainsV1MoveOutgoingStoreRequest
@@ -22159,7 +22165,7 @@ export declare const DomainsMoveApiFp: (configuration?: Configuration) => {
22159
22165
  */
22160
22166
  rejectIncomingDomainMoveV1(domain: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<CommonSuccessEmptyResource>>;
22161
22167
  /**
22162
- * Initiate a move of a specified domain to another Hostinger account. The receiving account has to already exist and accept the move before the domain changes hands. The domain must be active. The subscription it belongs to is resolved automatically, and the request is rejected with a 404 status code when the domain has no domain subscription of its own. Domains protected by premium protection require an additional verification step, such requests are rejected with a 428 status code. Use this endpoint to hand a domain over to another Hostinger user.
22168
+ * Initiate a move of a specified domain to another Hostinger account. The receiving account has to already exist and accept the move before the domain changes hands. The domain must be active. The subscription it belongs to is resolved automatically, and the request is rejected with a 404 status code when the domain has no domain subscription of its own. The move is also refused unless the domain: - was registered at least 4 days ago - does not expire within the next 10 days - has an extension that supports moves - has no move already in progress - was not moved in the last 10 days - is not a premium domain - is not still processing a recent renewal A move refused for one of these rules is rejected with a 404 status code and error code 2048, with a message naming the rule. The receiving account is checked first, and when it cannot be used the message stays generic. Domains protected by premium protection require an additional verification step, such requests are rejected with a 428 status code. Use this endpoint to hand a domain over to another Hostinger user.
22163
22169
  * @summary Start outgoing domain move
22164
22170
  * @param {string} domain Domain name
22165
22171
  * @param {DomainsV1MoveOutgoingStoreRequest} domainsV1MoveOutgoingStoreRequest
@@ -22230,7 +22236,7 @@ export declare const DomainsMoveApiFactory: (configuration?: Configuration, base
22230
22236
  */
22231
22237
  rejectIncomingDomainMoveV1(domain: string, options?: RawAxiosRequestConfig): AxiosPromise<CommonSuccessEmptyResource>;
22232
22238
  /**
22233
- * Initiate a move of a specified domain to another Hostinger account. The receiving account has to already exist and accept the move before the domain changes hands. The domain must be active. The subscription it belongs to is resolved automatically, and the request is rejected with a 404 status code when the domain has no domain subscription of its own. Domains protected by premium protection require an additional verification step, such requests are rejected with a 428 status code. Use this endpoint to hand a domain over to another Hostinger user.
22239
+ * Initiate a move of a specified domain to another Hostinger account. The receiving account has to already exist and accept the move before the domain changes hands. The domain must be active. The subscription it belongs to is resolved automatically, and the request is rejected with a 404 status code when the domain has no domain subscription of its own. The move is also refused unless the domain: - was registered at least 4 days ago - does not expire within the next 10 days - has an extension that supports moves - has no move already in progress - was not moved in the last 10 days - is not a premium domain - is not still processing a recent renewal A move refused for one of these rules is rejected with a 404 status code and error code 2048, with a message naming the rule. The receiving account is checked first, and when it cannot be used the message stays generic. Domains protected by premium protection require an additional verification step, such requests are rejected with a 428 status code. Use this endpoint to hand a domain over to another Hostinger user.
22234
22240
  * @summary Start outgoing domain move
22235
22241
  * @param {string} domain Domain name
22236
22242
  * @param {DomainsV1MoveOutgoingStoreRequest} domainsV1MoveOutgoingStoreRequest
@@ -22310,7 +22316,7 @@ export declare class DomainsMoveApi extends BaseAPI {
22310
22316
  */
22311
22317
  rejectIncomingDomainMoveV1(domain: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<CommonSuccessEmptyResource, any, {}, any>>;
22312
22318
  /**
22313
- * Initiate a move of a specified domain to another Hostinger account. The receiving account has to already exist and accept the move before the domain changes hands. The domain must be active. The subscription it belongs to is resolved automatically, and the request is rejected with a 404 status code when the domain has no domain subscription of its own. Domains protected by premium protection require an additional verification step, such requests are rejected with a 428 status code. Use this endpoint to hand a domain over to another Hostinger user.
22319
+ * Initiate a move of a specified domain to another Hostinger account. The receiving account has to already exist and accept the move before the domain changes hands. The domain must be active. The subscription it belongs to is resolved automatically, and the request is rejected with a 404 status code when the domain has no domain subscription of its own. The move is also refused unless the domain: - was registered at least 4 days ago - does not expire within the next 10 days - has an extension that supports moves - has no move already in progress - was not moved in the last 10 days - is not a premium domain - is not still processing a recent renewal A move refused for one of these rules is rejected with a 404 status code and error code 2048, with a message naming the rule. The receiving account is checked first, and when it cannot be used the message stays generic. Domains protected by premium protection require an additional verification step, such requests are rejected with a 428 status code. Use this endpoint to hand a domain over to another Hostinger user.
22314
22320
  * @summary Start outgoing domain move
22315
22321
  * @param {string} domain Domain name
22316
22322
  * @param {DomainsV1MoveOutgoingStoreRequest} domainsV1MoveOutgoingStoreRequest
package/dist/api.js CHANGED
@@ -4,7 +4,7 @@
4
4
  /**
5
5
  * Hostinger API
6
6
  *
7
- * API Version: 2.10.0
7
+ * API Version: 2.11.1
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.
@@ -7408,7 +7408,7 @@ const DomainsMoveApiAxiosParamCreator = function (configuration) {
7408
7408
  };
7409
7409
  }),
7410
7410
  /**
7411
- * Initiate a move of a specified domain to another Hostinger account. The receiving account has to already exist and accept the move before the domain changes hands. The domain must be active. The subscription it belongs to is resolved automatically, and the request is rejected with a 404 status code when the domain has no domain subscription of its own. Domains protected by premium protection require an additional verification step, such requests are rejected with a 428 status code. Use this endpoint to hand a domain over to another Hostinger user.
7411
+ * Initiate a move of a specified domain to another Hostinger account. The receiving account has to already exist and accept the move before the domain changes hands. The domain must be active. The subscription it belongs to is resolved automatically, and the request is rejected with a 404 status code when the domain has no domain subscription of its own. The move is also refused unless the domain: - was registered at least 4 days ago - does not expire within the next 10 days - has an extension that supports moves - has no move already in progress - was not moved in the last 10 days - is not a premium domain - is not still processing a recent renewal A move refused for one of these rules is rejected with a 404 status code and error code 2048, with a message naming the rule. The receiving account is checked first, and when it cannot be used the message stays generic. Domains protected by premium protection require an additional verification step, such requests are rejected with a 428 status code. Use this endpoint to hand a domain over to another Hostinger user.
7412
7412
  * @summary Start outgoing domain move
7413
7413
  * @param {string} domain Domain name
7414
7414
  * @param {DomainsV1MoveOutgoingStoreRequest} domainsV1MoveOutgoingStoreRequest
@@ -7560,7 +7560,7 @@ const DomainsMoveApiFp = function (configuration) {
7560
7560
  });
7561
7561
  },
7562
7562
  /**
7563
- * Initiate a move of a specified domain to another Hostinger account. The receiving account has to already exist and accept the move before the domain changes hands. The domain must be active. The subscription it belongs to is resolved automatically, and the request is rejected with a 404 status code when the domain has no domain subscription of its own. Domains protected by premium protection require an additional verification step, such requests are rejected with a 428 status code. Use this endpoint to hand a domain over to another Hostinger user.
7563
+ * Initiate a move of a specified domain to another Hostinger account. The receiving account has to already exist and accept the move before the domain changes hands. The domain must be active. The subscription it belongs to is resolved automatically, and the request is rejected with a 404 status code when the domain has no domain subscription of its own. The move is also refused unless the domain: - was registered at least 4 days ago - does not expire within the next 10 days - has an extension that supports moves - has no move already in progress - was not moved in the last 10 days - is not a premium domain - is not still processing a recent renewal A move refused for one of these rules is rejected with a 404 status code and error code 2048, with a message naming the rule. The receiving account is checked first, and when it cannot be used the message stays generic. Domains protected by premium protection require an additional verification step, such requests are rejected with a 428 status code. Use this endpoint to hand a domain over to another Hostinger user.
7564
7564
  * @summary Start outgoing domain move
7565
7565
  * @param {string} domain Domain name
7566
7566
  * @param {DomainsV1MoveOutgoingStoreRequest} domainsV1MoveOutgoingStoreRequest
@@ -7656,7 +7656,7 @@ const DomainsMoveApiFactory = function (configuration, basePath, axios) {
7656
7656
  return localVarFp.rejectIncomingDomainMoveV1(domain, options).then((request) => request(axios, basePath));
7657
7657
  },
7658
7658
  /**
7659
- * Initiate a move of a specified domain to another Hostinger account. The receiving account has to already exist and accept the move before the domain changes hands. The domain must be active. The subscription it belongs to is resolved automatically, and the request is rejected with a 404 status code when the domain has no domain subscription of its own. Domains protected by premium protection require an additional verification step, such requests are rejected with a 428 status code. Use this endpoint to hand a domain over to another Hostinger user.
7659
+ * Initiate a move of a specified domain to another Hostinger account. The receiving account has to already exist and accept the move before the domain changes hands. The domain must be active. The subscription it belongs to is resolved automatically, and the request is rejected with a 404 status code when the domain has no domain subscription of its own. The move is also refused unless the domain: - was registered at least 4 days ago - does not expire within the next 10 days - has an extension that supports moves - has no move already in progress - was not moved in the last 10 days - is not a premium domain - is not still processing a recent renewal A move refused for one of these rules is rejected with a 404 status code and error code 2048, with a message naming the rule. The receiving account is checked first, and when it cannot be used the message stays generic. Domains protected by premium protection require an additional verification step, such requests are rejected with a 428 status code. Use this endpoint to hand a domain over to another Hostinger user.
7660
7660
  * @summary Start outgoing domain move
7661
7661
  * @param {string} domain Domain name
7662
7662
  * @param {DomainsV1MoveOutgoingStoreRequest} domainsV1MoveOutgoingStoreRequest
@@ -7754,7 +7754,7 @@ class DomainsMoveApi extends base_1.BaseAPI {
7754
7754
  return (0, exports.DomainsMoveApiFp)(this.configuration).rejectIncomingDomainMoveV1(domain, options).then((request) => request(this.axios, this.basePath));
7755
7755
  }
7756
7756
  /**
7757
- * Initiate a move of a specified domain to another Hostinger account. The receiving account has to already exist and accept the move before the domain changes hands. The domain must be active. The subscription it belongs to is resolved automatically, and the request is rejected with a 404 status code when the domain has no domain subscription of its own. Domains protected by premium protection require an additional verification step, such requests are rejected with a 428 status code. Use this endpoint to hand a domain over to another Hostinger user.
7757
+ * Initiate a move of a specified domain to another Hostinger account. The receiving account has to already exist and accept the move before the domain changes hands. The domain must be active. The subscription it belongs to is resolved automatically, and the request is rejected with a 404 status code when the domain has no domain subscription of its own. The move is also refused unless the domain: - was registered at least 4 days ago - does not expire within the next 10 days - has an extension that supports moves - has no move already in progress - was not moved in the last 10 days - is not a premium domain - is not still processing a recent renewal A move refused for one of these rules is rejected with a 404 status code and error code 2048, with a message naming the rule. The receiving account is checked first, and when it cannot be used the message stays generic. Domains protected by premium protection require an additional verification step, such requests are rejected with a 428 status code. Use this endpoint to hand a domain over to another Hostinger user.
7758
7758
  * @summary Start outgoing domain move
7759
7759
  * @param {string} domain Domain name
7760
7760
  * @param {DomainsV1MoveOutgoingStoreRequest} domainsV1MoveOutgoingStoreRequest
package/dist/base.d.ts CHANGED
@@ -1,7 +1,7 @@
1
1
  /**
2
2
  * Hostinger API
3
3
  *
4
- * API Version: 2.10.0
4
+ * API Version: 2.11.1
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.10.0
7
+ * API Version: 2.11.1
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.10.0
4
+ * API Version: 2.11.1
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.10.0
7
+ * API Version: 2.11.1
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.10.0
4
+ * API Version: 2.11.1
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.10.0
7
+ * API Version: 2.11.1
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.10.0" }, (_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.1" }, (_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.10.0
4
+ * API Version: 2.11.1
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}
@@ -21745,7 +21751,7 @@ export declare class DomainAccessVerifierVerificationsApi extends BaseAPI {
21745
21751
  */
21746
21752
  export declare const DomainsAvailabilityApiAxiosParamCreator: (configuration?: Configuration) => {
21747
21753
  /**
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.
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.
21749
21755
  * @summary Check domain availability
21750
21756
  * @param {DomainsV1AvailabilityAvailabilityRequest} domainsV1AvailabilityAvailabilityRequest
21751
21757
  * @param {*} [options] Override http request option.
@@ -21775,7 +21781,7 @@ export declare const DomainsAvailabilityApiAxiosParamCreator: (configuration?: C
21775
21781
  */
21776
21782
  export declare const DomainsAvailabilityApiFp: (configuration?: Configuration) => {
21777
21783
  /**
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.
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.
21779
21785
  * @summary Check domain availability
21780
21786
  * @param {DomainsV1AvailabilityAvailabilityRequest} domainsV1AvailabilityAvailabilityRequest
21781
21787
  * @param {*} [options] Override http request option.
@@ -21805,7 +21811,7 @@ export declare const DomainsAvailabilityApiFp: (configuration?: Configuration) =
21805
21811
  */
21806
21812
  export declare const DomainsAvailabilityApiFactory: (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) => {
21807
21813
  /**
21808
- * 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.
21809
21815
  * @summary Check domain availability
21810
21816
  * @param {DomainsV1AvailabilityAvailabilityRequest} domainsV1AvailabilityAvailabilityRequest
21811
21817
  * @param {*} [options] Override http request option.
@@ -21837,7 +21843,7 @@ export declare const DomainsAvailabilityApiFactory: (configuration?: Configurati
21837
21843
  */
21838
21844
  export declare class DomainsAvailabilityApi extends BaseAPI {
21839
21845
  /**
21840
- * 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.
21841
21847
  * @summary Check domain availability
21842
21848
  * @param {DomainsV1AvailabilityAvailabilityRequest} domainsV1AvailabilityAvailabilityRequest
21843
21849
  * @param {*} [options] Override http request option.
@@ -22088,7 +22094,7 @@ export declare const DomainsMoveApiAxiosParamCreator: (configuration?: Configura
22088
22094
  */
22089
22095
  rejectIncomingDomainMoveV1: (domain: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
22090
22096
  /**
22091
- * Initiate a move of a specified domain to another Hostinger account. The receiving account has to already exist and accept the move before the domain changes hands. The domain must be active. The subscription it belongs to is resolved automatically, and the request is rejected with a 404 status code when the domain has no domain subscription of its own. Domains protected by premium protection require an additional verification step, such requests are rejected with a 428 status code. Use this endpoint to hand a domain over to another Hostinger user.
22097
+ * Initiate a move of a specified domain to another Hostinger account. The receiving account has to already exist and accept the move before the domain changes hands. The domain must be active. The subscription it belongs to is resolved automatically, and the request is rejected with a 404 status code when the domain has no domain subscription of its own. The move is also refused unless the domain: - was registered at least 4 days ago - does not expire within the next 10 days - has an extension that supports moves - has no move already in progress - was not moved in the last 10 days - is not a premium domain - is not still processing a recent renewal A move refused for one of these rules is rejected with a 404 status code and error code 2048, with a message naming the rule. The receiving account is checked first, and when it cannot be used the message stays generic. Domains protected by premium protection require an additional verification step, such requests are rejected with a 428 status code. Use this endpoint to hand a domain over to another Hostinger user.
22092
22098
  * @summary Start outgoing domain move
22093
22099
  * @param {string} domain Domain name
22094
22100
  * @param {DomainsV1MoveOutgoingStoreRequest} domainsV1MoveOutgoingStoreRequest
@@ -22159,7 +22165,7 @@ export declare const DomainsMoveApiFp: (configuration?: Configuration) => {
22159
22165
  */
22160
22166
  rejectIncomingDomainMoveV1(domain: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<CommonSuccessEmptyResource>>;
22161
22167
  /**
22162
- * Initiate a move of a specified domain to another Hostinger account. The receiving account has to already exist and accept the move before the domain changes hands. The domain must be active. The subscription it belongs to is resolved automatically, and the request is rejected with a 404 status code when the domain has no domain subscription of its own. Domains protected by premium protection require an additional verification step, such requests are rejected with a 428 status code. Use this endpoint to hand a domain over to another Hostinger user.
22168
+ * Initiate a move of a specified domain to another Hostinger account. The receiving account has to already exist and accept the move before the domain changes hands. The domain must be active. The subscription it belongs to is resolved automatically, and the request is rejected with a 404 status code when the domain has no domain subscription of its own. The move is also refused unless the domain: - was registered at least 4 days ago - does not expire within the next 10 days - has an extension that supports moves - has no move already in progress - was not moved in the last 10 days - is not a premium domain - is not still processing a recent renewal A move refused for one of these rules is rejected with a 404 status code and error code 2048, with a message naming the rule. The receiving account is checked first, and when it cannot be used the message stays generic. Domains protected by premium protection require an additional verification step, such requests are rejected with a 428 status code. Use this endpoint to hand a domain over to another Hostinger user.
22163
22169
  * @summary Start outgoing domain move
22164
22170
  * @param {string} domain Domain name
22165
22171
  * @param {DomainsV1MoveOutgoingStoreRequest} domainsV1MoveOutgoingStoreRequest
@@ -22230,7 +22236,7 @@ export declare const DomainsMoveApiFactory: (configuration?: Configuration, base
22230
22236
  */
22231
22237
  rejectIncomingDomainMoveV1(domain: string, options?: RawAxiosRequestConfig): AxiosPromise<CommonSuccessEmptyResource>;
22232
22238
  /**
22233
- * Initiate a move of a specified domain to another Hostinger account. The receiving account has to already exist and accept the move before the domain changes hands. The domain must be active. The subscription it belongs to is resolved automatically, and the request is rejected with a 404 status code when the domain has no domain subscription of its own. Domains protected by premium protection require an additional verification step, such requests are rejected with a 428 status code. Use this endpoint to hand a domain over to another Hostinger user.
22239
+ * Initiate a move of a specified domain to another Hostinger account. The receiving account has to already exist and accept the move before the domain changes hands. The domain must be active. The subscription it belongs to is resolved automatically, and the request is rejected with a 404 status code when the domain has no domain subscription of its own. The move is also refused unless the domain: - was registered at least 4 days ago - does not expire within the next 10 days - has an extension that supports moves - has no move already in progress - was not moved in the last 10 days - is not a premium domain - is not still processing a recent renewal A move refused for one of these rules is rejected with a 404 status code and error code 2048, with a message naming the rule. The receiving account is checked first, and when it cannot be used the message stays generic. Domains protected by premium protection require an additional verification step, such requests are rejected with a 428 status code. Use this endpoint to hand a domain over to another Hostinger user.
22234
22240
  * @summary Start outgoing domain move
22235
22241
  * @param {string} domain Domain name
22236
22242
  * @param {DomainsV1MoveOutgoingStoreRequest} domainsV1MoveOutgoingStoreRequest
@@ -22310,7 +22316,7 @@ export declare class DomainsMoveApi extends BaseAPI {
22310
22316
  */
22311
22317
  rejectIncomingDomainMoveV1(domain: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<CommonSuccessEmptyResource, any, {}, any>>;
22312
22318
  /**
22313
- * Initiate a move of a specified domain to another Hostinger account. The receiving account has to already exist and accept the move before the domain changes hands. The domain must be active. The subscription it belongs to is resolved automatically, and the request is rejected with a 404 status code when the domain has no domain subscription of its own. Domains protected by premium protection require an additional verification step, such requests are rejected with a 428 status code. Use this endpoint to hand a domain over to another Hostinger user.
22319
+ * Initiate a move of a specified domain to another Hostinger account. The receiving account has to already exist and accept the move before the domain changes hands. The domain must be active. The subscription it belongs to is resolved automatically, and the request is rejected with a 404 status code when the domain has no domain subscription of its own. The move is also refused unless the domain: - was registered at least 4 days ago - does not expire within the next 10 days - has an extension that supports moves - has no move already in progress - was not moved in the last 10 days - is not a premium domain - is not still processing a recent renewal A move refused for one of these rules is rejected with a 404 status code and error code 2048, with a message naming the rule. The receiving account is checked first, and when it cannot be used the message stays generic. Domains protected by premium protection require an additional verification step, such requests are rejected with a 428 status code. Use this endpoint to hand a domain over to another Hostinger user.
22314
22320
  * @summary Start outgoing domain move
22315
22321
  * @param {string} domain Domain name
22316
22322
  * @param {DomainsV1MoveOutgoingStoreRequest} domainsV1MoveOutgoingStoreRequest
package/dist/esm/api.js CHANGED
@@ -3,7 +3,7 @@
3
3
  /**
4
4
  * Hostinger API
5
5
  *
6
- * API Version: 2.10.0
6
+ * API Version: 2.11.1
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.
@@ -7297,7 +7297,7 @@ export const DomainsMoveApiAxiosParamCreator = function (configuration) {
7297
7297
  };
7298
7298
  }),
7299
7299
  /**
7300
- * Initiate a move of a specified domain to another Hostinger account. The receiving account has to already exist and accept the move before the domain changes hands. The domain must be active. The subscription it belongs to is resolved automatically, and the request is rejected with a 404 status code when the domain has no domain subscription of its own. Domains protected by premium protection require an additional verification step, such requests are rejected with a 428 status code. Use this endpoint to hand a domain over to another Hostinger user.
7300
+ * Initiate a move of a specified domain to another Hostinger account. The receiving account has to already exist and accept the move before the domain changes hands. The domain must be active. The subscription it belongs to is resolved automatically, and the request is rejected with a 404 status code when the domain has no domain subscription of its own. The move is also refused unless the domain: - was registered at least 4 days ago - does not expire within the next 10 days - has an extension that supports moves - has no move already in progress - was not moved in the last 10 days - is not a premium domain - is not still processing a recent renewal A move refused for one of these rules is rejected with a 404 status code and error code 2048, with a message naming the rule. The receiving account is checked first, and when it cannot be used the message stays generic. Domains protected by premium protection require an additional verification step, such requests are rejected with a 428 status code. Use this endpoint to hand a domain over to another Hostinger user.
7301
7301
  * @summary Start outgoing domain move
7302
7302
  * @param {string} domain Domain name
7303
7303
  * @param {DomainsV1MoveOutgoingStoreRequest} domainsV1MoveOutgoingStoreRequest
@@ -7448,7 +7448,7 @@ export const DomainsMoveApiFp = function (configuration) {
7448
7448
  });
7449
7449
  },
7450
7450
  /**
7451
- * Initiate a move of a specified domain to another Hostinger account. The receiving account has to already exist and accept the move before the domain changes hands. The domain must be active. The subscription it belongs to is resolved automatically, and the request is rejected with a 404 status code when the domain has no domain subscription of its own. Domains protected by premium protection require an additional verification step, such requests are rejected with a 428 status code. Use this endpoint to hand a domain over to another Hostinger user.
7451
+ * Initiate a move of a specified domain to another Hostinger account. The receiving account has to already exist and accept the move before the domain changes hands. The domain must be active. The subscription it belongs to is resolved automatically, and the request is rejected with a 404 status code when the domain has no domain subscription of its own. The move is also refused unless the domain: - was registered at least 4 days ago - does not expire within the next 10 days - has an extension that supports moves - has no move already in progress - was not moved in the last 10 days - is not a premium domain - is not still processing a recent renewal A move refused for one of these rules is rejected with a 404 status code and error code 2048, with a message naming the rule. The receiving account is checked first, and when it cannot be used the message stays generic. Domains protected by premium protection require an additional verification step, such requests are rejected with a 428 status code. Use this endpoint to hand a domain over to another Hostinger user.
7452
7452
  * @summary Start outgoing domain move
7453
7453
  * @param {string} domain Domain name
7454
7454
  * @param {DomainsV1MoveOutgoingStoreRequest} domainsV1MoveOutgoingStoreRequest
@@ -7543,7 +7543,7 @@ export const DomainsMoveApiFactory = function (configuration, basePath, axios) {
7543
7543
  return localVarFp.rejectIncomingDomainMoveV1(domain, options).then((request) => request(axios, basePath));
7544
7544
  },
7545
7545
  /**
7546
- * Initiate a move of a specified domain to another Hostinger account. The receiving account has to already exist and accept the move before the domain changes hands. The domain must be active. The subscription it belongs to is resolved automatically, and the request is rejected with a 404 status code when the domain has no domain subscription of its own. Domains protected by premium protection require an additional verification step, such requests are rejected with a 428 status code. Use this endpoint to hand a domain over to another Hostinger user.
7546
+ * Initiate a move of a specified domain to another Hostinger account. The receiving account has to already exist and accept the move before the domain changes hands. The domain must be active. The subscription it belongs to is resolved automatically, and the request is rejected with a 404 status code when the domain has no domain subscription of its own. The move is also refused unless the domain: - was registered at least 4 days ago - does not expire within the next 10 days - has an extension that supports moves - has no move already in progress - was not moved in the last 10 days - is not a premium domain - is not still processing a recent renewal A move refused for one of these rules is rejected with a 404 status code and error code 2048, with a message naming the rule. The receiving account is checked first, and when it cannot be used the message stays generic. Domains protected by premium protection require an additional verification step, such requests are rejected with a 428 status code. Use this endpoint to hand a domain over to another Hostinger user.
7547
7547
  * @summary Start outgoing domain move
7548
7548
  * @param {string} domain Domain name
7549
7549
  * @param {DomainsV1MoveOutgoingStoreRequest} domainsV1MoveOutgoingStoreRequest
@@ -7640,7 +7640,7 @@ export class DomainsMoveApi extends BaseAPI {
7640
7640
  return DomainsMoveApiFp(this.configuration).rejectIncomingDomainMoveV1(domain, options).then((request) => request(this.axios, this.basePath));
7641
7641
  }
7642
7642
  /**
7643
- * Initiate a move of a specified domain to another Hostinger account. The receiving account has to already exist and accept the move before the domain changes hands. The domain must be active. The subscription it belongs to is resolved automatically, and the request is rejected with a 404 status code when the domain has no domain subscription of its own. Domains protected by premium protection require an additional verification step, such requests are rejected with a 428 status code. Use this endpoint to hand a domain over to another Hostinger user.
7643
+ * Initiate a move of a specified domain to another Hostinger account. The receiving account has to already exist and accept the move before the domain changes hands. The domain must be active. The subscription it belongs to is resolved automatically, and the request is rejected with a 404 status code when the domain has no domain subscription of its own. The move is also refused unless the domain: - was registered at least 4 days ago - does not expire within the next 10 days - has an extension that supports moves - has no move already in progress - was not moved in the last 10 days - is not a premium domain - is not still processing a recent renewal A move refused for one of these rules is rejected with a 404 status code and error code 2048, with a message naming the rule. The receiving account is checked first, and when it cannot be used the message stays generic. Domains protected by premium protection require an additional verification step, such requests are rejected with a 428 status code. Use this endpoint to hand a domain over to another Hostinger user.
7644
7644
  * @summary Start outgoing domain move
7645
7645
  * @param {string} domain Domain name
7646
7646
  * @param {DomainsV1MoveOutgoingStoreRequest} domainsV1MoveOutgoingStoreRequest
@@ -1,7 +1,7 @@
1
1
  /**
2
2
  * Hostinger API
3
3
  *
4
- * API Version: 2.10.0
4
+ * API Version: 2.11.1
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.10.0
6
+ * API Version: 2.11.1
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.10.0
4
+ * API Version: 2.11.1
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.10.0
6
+ * API Version: 2.11.1
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.10.0
4
+ * API Version: 2.11.1
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.10.0
6
+ * API Version: 2.11.1
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.10.0" }, (_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.1" }, (_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.10.0
4
+ * API Version: 2.11.1
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.10.0
6
+ * API Version: 2.11.1
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.10.0
4
+ * API Version: 2.11.1
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.10.0
7
+ * API Version: 2.11.1
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
 
@@ -381,7 +381,7 @@ const { status, data } = await apiInstance.rejectIncomingDomainMoveV1(
381
381
  # **startOutgoingDomainMoveV1**
382
382
  > CommonSuccessEmptyResource startOutgoingDomainMoveV1(domainsV1MoveOutgoingStoreRequest)
383
383
 
384
- Initiate a move of a specified domain to another Hostinger account. The receiving account has to already exist and accept the move before the domain changes hands. The domain must be active. The subscription it belongs to is resolved automatically, and the request is rejected with a 404 status code when the domain has no domain subscription of its own. Domains protected by premium protection require an additional verification step, such requests are rejected with a 428 status code. Use this endpoint to hand a domain over to another Hostinger user.
384
+ Initiate a move of a specified domain to another Hostinger account. The receiving account has to already exist and accept the move before the domain changes hands. The domain must be active. The subscription it belongs to is resolved automatically, and the request is rejected with a 404 status code when the domain has no domain subscription of its own. The move is also refused unless the domain: - was registered at least 4 days ago - does not expire within the next 10 days - has an extension that supports moves - has no move already in progress - was not moved in the last 10 days - is not a premium domain - is not still processing a recent renewal A move refused for one of these rules is rejected with a 404 status code and error code 2048, with a message naming the rule. The receiving account is checked first, and when it cannot be used the message stays generic. Domains protected by premium protection require an additional verification step, such requests are rejected with a 428 status code. Use this endpoint to hand a domain over to another Hostinger user.
385
385
 
386
386
  ### Example
387
387
 
@@ -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
  ```
package/index.ts CHANGED
@@ -3,7 +3,7 @@
3
3
  /**
4
4
  * Hostinger API
5
5
  *
6
- * API Version: 2.10.0
6
+ * API Version: 2.11.1
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.10.0",
3
+ "version": "2.11.1",
4
4
  "description": "Hostinger API TypeScript SDK",
5
5
  "author": "Hostinger",
6
6
  "repository": {