hostinger-api-sdk 2.11.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 +2 -2
- package/api.ts +5 -5
- package/base.ts +1 -1
- package/common.ts +1 -1
- package/configuration.ts +2 -2
- package/dist/api.d.ts +5 -5
- package/dist/api.js +5 -5
- package/dist/base.d.ts +1 -1
- package/dist/base.js +1 -1
- package/dist/common.d.ts +1 -1
- package/dist/common.js +1 -1
- package/dist/configuration.d.ts +1 -1
- package/dist/configuration.js +2 -2
- package/dist/esm/api.d.ts +5 -5
- package/dist/esm/api.js +5 -5
- package/dist/esm/base.d.ts +1 -1
- package/dist/esm/base.js +1 -1
- package/dist/esm/common.d.ts +1 -1
- package/dist/esm/common.js +1 -1
- package/dist/esm/configuration.d.ts +1 -1
- package/dist/esm/configuration.js +2 -2
- package/dist/esm/index.d.ts +1 -1
- package/dist/esm/index.js +1 -1
- package/dist/index.d.ts +1 -1
- package/dist/index.js +1 -1
- package/docs/DomainsMoveApi.md +1 -1
- package/index.ts +1 -1
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
## @hostinger/sdk@2.11.
|
|
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.11.
|
|
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.11.
|
|
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
|
|
@@ -25896,7 +25896,7 @@ export const DomainsMoveApiAxiosParamCreator = function (configuration?: Configu
|
|
|
25896
25896
|
};
|
|
25897
25897
|
},
|
|
25898
25898
|
/**
|
|
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. 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.
|
|
25900
25900
|
* @summary Start outgoing domain move
|
|
25901
25901
|
* @param {string} domain Domain name
|
|
25902
25902
|
* @param {DomainsV1MoveOutgoingStoreRequest} domainsV1MoveOutgoingStoreRequest
|
|
@@ -26034,7 +26034,7 @@ export const DomainsMoveApiFp = function(configuration?: Configuration) {
|
|
|
26034
26034
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
26035
26035
|
},
|
|
26036
26036
|
/**
|
|
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. 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.
|
|
26038
26038
|
* @summary Start outgoing domain move
|
|
26039
26039
|
* @param {string} domain Domain name
|
|
26040
26040
|
* @param {DomainsV1MoveOutgoingStoreRequest} domainsV1MoveOutgoingStoreRequest
|
|
@@ -26127,7 +26127,7 @@ export const DomainsMoveApiFactory = function (configuration?: Configuration, ba
|
|
|
26127
26127
|
return localVarFp.rejectIncomingDomainMoveV1(domain, options).then((request) => request(axios, basePath));
|
|
26128
26128
|
},
|
|
26129
26129
|
/**
|
|
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. 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.
|
|
26131
26131
|
* @summary Start outgoing domain move
|
|
26132
26132
|
* @param {string} domain Domain name
|
|
26133
26133
|
* @param {DomainsV1MoveOutgoingStoreRequest} domainsV1MoveOutgoingStoreRequest
|
|
@@ -26232,7 +26232,7 @@ export class DomainsMoveApi extends BaseAPI {
|
|
|
26232
26232
|
}
|
|
26233
26233
|
|
|
26234
26234
|
/**
|
|
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. 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.
|
|
26236
26236
|
* @summary Start outgoing domain move
|
|
26237
26237
|
* @param {string} domain Domain name
|
|
26238
26238
|
* @param {DomainsV1MoveOutgoingStoreRequest} domainsV1MoveOutgoingStoreRequest
|
package/base.ts
CHANGED
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
/**
|
|
4
4
|
* Hostinger API
|
|
5
5
|
*
|
|
6
|
-
* API Version: 2.11.
|
|
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.11.
|
|
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.11.
|
|
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.11.
|
|
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.11.
|
|
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
|
|
@@ -22094,7 +22094,7 @@ export declare const DomainsMoveApiAxiosParamCreator: (configuration?: Configura
|
|
|
22094
22094
|
*/
|
|
22095
22095
|
rejectIncomingDomainMoveV1: (domain: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
22096
22096
|
/**
|
|
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. 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.
|
|
22098
22098
|
* @summary Start outgoing domain move
|
|
22099
22099
|
* @param {string} domain Domain name
|
|
22100
22100
|
* @param {DomainsV1MoveOutgoingStoreRequest} domainsV1MoveOutgoingStoreRequest
|
|
@@ -22165,7 +22165,7 @@ export declare const DomainsMoveApiFp: (configuration?: Configuration) => {
|
|
|
22165
22165
|
*/
|
|
22166
22166
|
rejectIncomingDomainMoveV1(domain: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<CommonSuccessEmptyResource>>;
|
|
22167
22167
|
/**
|
|
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. 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.
|
|
22169
22169
|
* @summary Start outgoing domain move
|
|
22170
22170
|
* @param {string} domain Domain name
|
|
22171
22171
|
* @param {DomainsV1MoveOutgoingStoreRequest} domainsV1MoveOutgoingStoreRequest
|
|
@@ -22236,7 +22236,7 @@ export declare const DomainsMoveApiFactory: (configuration?: Configuration, base
|
|
|
22236
22236
|
*/
|
|
22237
22237
|
rejectIncomingDomainMoveV1(domain: string, options?: RawAxiosRequestConfig): AxiosPromise<CommonSuccessEmptyResource>;
|
|
22238
22238
|
/**
|
|
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. 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.
|
|
22240
22240
|
* @summary Start outgoing domain move
|
|
22241
22241
|
* @param {string} domain Domain name
|
|
22242
22242
|
* @param {DomainsV1MoveOutgoingStoreRequest} domainsV1MoveOutgoingStoreRequest
|
|
@@ -22316,7 +22316,7 @@ export declare class DomainsMoveApi extends BaseAPI {
|
|
|
22316
22316
|
*/
|
|
22317
22317
|
rejectIncomingDomainMoveV1(domain: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<CommonSuccessEmptyResource, any, {}, any>>;
|
|
22318
22318
|
/**
|
|
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. 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.
|
|
22320
22320
|
* @summary Start outgoing domain move
|
|
22321
22321
|
* @param {string} domain Domain name
|
|
22322
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.11.
|
|
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
|
|
@@ -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.11.
|
|
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.11.
|
|
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.11.
|
|
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.11.
|
|
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/configuration.d.ts
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* Hostinger API
|
|
3
3
|
*
|
|
4
|
-
* API Version: 2.11.
|
|
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/configuration.js
CHANGED
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
/**
|
|
5
5
|
* Hostinger API
|
|
6
6
|
*
|
|
7
|
-
* API Version: 2.11.
|
|
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.11.
|
|
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.11.
|
|
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
|
|
@@ -22094,7 +22094,7 @@ export declare const DomainsMoveApiAxiosParamCreator: (configuration?: Configura
|
|
|
22094
22094
|
*/
|
|
22095
22095
|
rejectIncomingDomainMoveV1: (domain: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
22096
22096
|
/**
|
|
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. 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.
|
|
22098
22098
|
* @summary Start outgoing domain move
|
|
22099
22099
|
* @param {string} domain Domain name
|
|
22100
22100
|
* @param {DomainsV1MoveOutgoingStoreRequest} domainsV1MoveOutgoingStoreRequest
|
|
@@ -22165,7 +22165,7 @@ export declare const DomainsMoveApiFp: (configuration?: Configuration) => {
|
|
|
22165
22165
|
*/
|
|
22166
22166
|
rejectIncomingDomainMoveV1(domain: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<CommonSuccessEmptyResource>>;
|
|
22167
22167
|
/**
|
|
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. 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.
|
|
22169
22169
|
* @summary Start outgoing domain move
|
|
22170
22170
|
* @param {string} domain Domain name
|
|
22171
22171
|
* @param {DomainsV1MoveOutgoingStoreRequest} domainsV1MoveOutgoingStoreRequest
|
|
@@ -22236,7 +22236,7 @@ export declare const DomainsMoveApiFactory: (configuration?: Configuration, base
|
|
|
22236
22236
|
*/
|
|
22237
22237
|
rejectIncomingDomainMoveV1(domain: string, options?: RawAxiosRequestConfig): AxiosPromise<CommonSuccessEmptyResource>;
|
|
22238
22238
|
/**
|
|
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. 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.
|
|
22240
22240
|
* @summary Start outgoing domain move
|
|
22241
22241
|
* @param {string} domain Domain name
|
|
22242
22242
|
* @param {DomainsV1MoveOutgoingStoreRequest} domainsV1MoveOutgoingStoreRequest
|
|
@@ -22316,7 +22316,7 @@ export declare class DomainsMoveApi extends BaseAPI {
|
|
|
22316
22316
|
*/
|
|
22317
22317
|
rejectIncomingDomainMoveV1(domain: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<CommonSuccessEmptyResource, any, {}, any>>;
|
|
22318
22318
|
/**
|
|
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. 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.
|
|
22320
22320
|
* @summary Start outgoing domain move
|
|
22321
22321
|
* @param {string} domain Domain name
|
|
22322
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.11.
|
|
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
|
|
@@ -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
|
package/dist/esm/base.d.ts
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* Hostinger API
|
|
3
3
|
*
|
|
4
|
-
* API Version: 2.11.
|
|
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.11.
|
|
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/esm/common.d.ts
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* Hostinger API
|
|
3
3
|
*
|
|
4
|
-
* API Version: 2.11.
|
|
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/common.js
CHANGED
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
/**
|
|
4
4
|
* Hostinger API
|
|
5
5
|
*
|
|
6
|
-
* API Version: 2.11.
|
|
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.11.
|
|
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.11.
|
|
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.11.
|
|
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
|
/**
|
package/dist/esm/index.d.ts
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* Hostinger API
|
|
3
3
|
*
|
|
4
|
-
* API Version: 2.11.
|
|
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.11.
|
|
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.11.
|
|
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.11.
|
|
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/docs/DomainsMoveApi.md
CHANGED
|
@@ -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
|
|
package/index.ts
CHANGED
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
/**
|
|
4
4
|
* Hostinger API
|
|
5
5
|
*
|
|
6
|
-
* API Version: 2.11.
|
|
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
|