hostinger-api-sdk 2.12.3 → 2.13.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +2 -2
- package/api.ts +72 -13
- package/base.ts +1 -1
- package/common.ts +1 -1
- package/configuration.ts +2 -2
- package/dist/api.d.ts +69 -13
- package/dist/api.js +31 -26
- 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 +69 -13
- package/dist/esm/api.js +18 -13
- 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/DomainsPortfolioApi.md +1 -1
- package/docs/DomainsV1DomainDomainContactVerificationChannelResource.md +22 -0
- package/docs/DomainsV1DomainDomainContactVerificationResource.md +24 -0
- package/docs/DomainsV1DomainDomainExtendedResource.md +2 -0
- package/docs/DomainsWHOISApi.md +1 -1
- package/docs/VPSSnapshotsApi.md +2 -1
- package/index.ts +1 -1
- package/package.json +1 -1
package/dist/esm/api.js
CHANGED
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
/**
|
|
4
4
|
* Hostinger API
|
|
5
5
|
*
|
|
6
|
-
* API Version: 2.
|
|
6
|
+
* API Version: 2.13.0
|
|
7
7
|
*
|
|
8
8
|
* NOTE: This file is auto-generated, DO NOT EDIT THIS FILE MANUALLY!
|
|
9
9
|
* If you want to contribute or request a new feature, please create an issue or pull request on https://github.com/hostinger/api
|
|
@@ -160,6 +160,11 @@ export const DNSV1ZoneUpdateRequestZoneInnerTypeEnum = {
|
|
|
160
160
|
Srv: 'SRV',
|
|
161
161
|
Caa: 'CAA'
|
|
162
162
|
};
|
|
163
|
+
export const DomainsV1DomainDomainContactVerificationChannelResourceStatusEnum = {
|
|
164
|
+
Pending: 'pending',
|
|
165
|
+
Verified: 'verified',
|
|
166
|
+
Suspended: 'suspended'
|
|
167
|
+
};
|
|
163
168
|
export const DomainsV1DomainDomainExtendedResourceStatusEnum = {
|
|
164
169
|
Active: 'active',
|
|
165
170
|
PendingSetup: 'pending_setup',
|
|
@@ -7894,7 +7899,7 @@ export const DomainsPortfolioApiAxiosParamCreator = function (configuration) {
|
|
|
7894
7899
|
};
|
|
7895
7900
|
}),
|
|
7896
7901
|
/**
|
|
7897
|
-
* Retrieve detailed information for specified domain. A domain is found here only once it is registered. Until then, `Get domain list` shows it, and its `verification` field says what registration waits for when the domain is held for verification. Use this endpoint to view comprehensive domain configuration and status.
|
|
7902
|
+
* Retrieve detailed information for specified domain. A domain is found here only once it is registered. Until then, `Get domain list` shows it, and its `verification` field says what registration waits for when the domain is held for verification. After registration, the registry may require the owner contact to be verified by email, phone number or contact name before a deadline, after which the domain is suspended. The `contact_verification` field shows what needs verifying, its state and the deadline. Use this endpoint to view comprehensive domain configuration and status.
|
|
7898
7903
|
* @summary Get domain details
|
|
7899
7904
|
* @param {string} domain Domain name
|
|
7900
7905
|
* @param {*} [options] Override http request option.
|
|
@@ -8171,7 +8176,7 @@ export const DomainsPortfolioApiFp = function (configuration) {
|
|
|
8171
8176
|
});
|
|
8172
8177
|
},
|
|
8173
8178
|
/**
|
|
8174
|
-
* Retrieve detailed information for specified domain. A domain is found here only once it is registered. Until then, `Get domain list` shows it, and its `verification` field says what registration waits for when the domain is held for verification. Use this endpoint to view comprehensive domain configuration and status.
|
|
8179
|
+
* Retrieve detailed information for specified domain. A domain is found here only once it is registered. Until then, `Get domain list` shows it, and its `verification` field says what registration waits for when the domain is held for verification. After registration, the registry may require the owner contact to be verified by email, phone number or contact name before a deadline, after which the domain is suspended. The `contact_verification` field shows what needs verifying, its state and the deadline. Use this endpoint to view comprehensive domain configuration and status.
|
|
8175
8180
|
* @summary Get domain details
|
|
8176
8181
|
* @param {string} domain Domain name
|
|
8177
8182
|
* @param {*} [options] Override http request option.
|
|
@@ -8326,7 +8331,7 @@ export const DomainsPortfolioApiFactory = function (configuration, basePath, axi
|
|
|
8326
8331
|
return localVarFp.getDomainAuthorizationCodeV1(domain, options).then((request) => request(axios, basePath));
|
|
8327
8332
|
},
|
|
8328
8333
|
/**
|
|
8329
|
-
* Retrieve detailed information for specified domain. A domain is found here only once it is registered. Until then, `Get domain list` shows it, and its `verification` field says what registration waits for when the domain is held for verification. Use this endpoint to view comprehensive domain configuration and status.
|
|
8334
|
+
* Retrieve detailed information for specified domain. A domain is found here only once it is registered. Until then, `Get domain list` shows it, and its `verification` field says what registration waits for when the domain is held for verification. After registration, the registry may require the owner contact to be verified by email, phone number or contact name before a deadline, after which the domain is suspended. The `contact_verification` field shows what needs verifying, its state and the deadline. Use this endpoint to view comprehensive domain configuration and status.
|
|
8330
8335
|
* @summary Get domain details
|
|
8331
8336
|
* @param {string} domain Domain name
|
|
8332
8337
|
* @param {*} [options] Override http request option.
|
|
@@ -8463,7 +8468,7 @@ export class DomainsPortfolioApi extends BaseAPI {
|
|
|
8463
8468
|
return DomainsPortfolioApiFp(this.configuration).getDomainAuthorizationCodeV1(domain, options).then((request) => request(this.axios, this.basePath));
|
|
8464
8469
|
}
|
|
8465
8470
|
/**
|
|
8466
|
-
* Retrieve detailed information for specified domain. A domain is found here only once it is registered. Until then, `Get domain list` shows it, and its `verification` field says what registration waits for when the domain is held for verification. Use this endpoint to view comprehensive domain configuration and status.
|
|
8471
|
+
* Retrieve detailed information for specified domain. A domain is found here only once it is registered. Until then, `Get domain list` shows it, and its `verification` field says what registration waits for when the domain is held for verification. After registration, the registry may require the owner contact to be verified by email, phone number or contact name before a deadline, after which the domain is suspended. The `contact_verification` field shows what needs verifying, its state and the deadline. Use this endpoint to view comprehensive domain configuration and status.
|
|
8467
8472
|
* @summary Get domain details
|
|
8468
8473
|
* @param {string} domain Domain name
|
|
8469
8474
|
* @param {*} [options] Override http request option.
|
|
@@ -8956,7 +8961,7 @@ export const DomainsWHOISApiAxiosParamCreator = function (configuration) {
|
|
|
8956
8961
|
};
|
|
8957
8962
|
}),
|
|
8958
8963
|
/**
|
|
8959
|
-
* Retrieve a pending IRTP verification for a domain. Both the old and new registrant must confirm it before the WHOIS change takes effect. Use this endpoint to check the status of a WHOIS change awaiting registrant confirmation.
|
|
8964
|
+
* Retrieve a pending IRTP verification for a domain. Both the old and new registrant must confirm it before the WHOIS change takes effect. Returns 404 when the domain has no pending IRTP verification. Use this endpoint to check the status of a WHOIS change awaiting registrant confirmation.
|
|
8960
8965
|
* @summary Get pending IRTP verification
|
|
8961
8966
|
* @param {string} domain Domain name
|
|
8962
8967
|
* @param {*} [options] Override http request option.
|
|
@@ -9217,7 +9222,7 @@ export const DomainsWHOISApiFp = function (configuration) {
|
|
|
9217
9222
|
});
|
|
9218
9223
|
},
|
|
9219
9224
|
/**
|
|
9220
|
-
* Retrieve a pending IRTP verification for a domain. Both the old and new registrant must confirm it before the WHOIS change takes effect. Use this endpoint to check the status of a WHOIS change awaiting registrant confirmation.
|
|
9225
|
+
* Retrieve a pending IRTP verification for a domain. Both the old and new registrant must confirm it before the WHOIS change takes effect. Returns 404 when the domain has no pending IRTP verification. Use this endpoint to check the status of a WHOIS change awaiting registrant confirmation.
|
|
9221
9226
|
* @summary Get pending IRTP verification
|
|
9222
9227
|
* @param {string} domain Domain name
|
|
9223
9228
|
* @param {*} [options] Override http request option.
|
|
@@ -9356,7 +9361,7 @@ export const DomainsWHOISApiFactory = function (configuration, basePath, axios)
|
|
|
9356
9361
|
return localVarFp.deleteWHOISProfileV1(whoisId, options).then((request) => request(axios, basePath));
|
|
9357
9362
|
},
|
|
9358
9363
|
/**
|
|
9359
|
-
* Retrieve a pending IRTP verification for a domain. Both the old and new registrant must confirm it before the WHOIS change takes effect. Use this endpoint to check the status of a WHOIS change awaiting registrant confirmation.
|
|
9364
|
+
* Retrieve a pending IRTP verification for a domain. Both the old and new registrant must confirm it before the WHOIS change takes effect. Returns 404 when the domain has no pending IRTP verification. Use this endpoint to check the status of a WHOIS change awaiting registrant confirmation.
|
|
9360
9365
|
* @summary Get pending IRTP verification
|
|
9361
9366
|
* @param {string} domain Domain name
|
|
9362
9367
|
* @param {*} [options] Override http request option.
|
|
@@ -9469,7 +9474,7 @@ export class DomainsWHOISApi extends BaseAPI {
|
|
|
9469
9474
|
return DomainsWHOISApiFp(this.configuration).deleteWHOISProfileV1(whoisId, options).then((request) => request(this.axios, this.basePath));
|
|
9470
9475
|
}
|
|
9471
9476
|
/**
|
|
9472
|
-
* Retrieve a pending IRTP verification for a domain. Both the old and new registrant must confirm it before the WHOIS change takes effect. Use this endpoint to check the status of a WHOIS change awaiting registrant confirmation.
|
|
9477
|
+
* Retrieve a pending IRTP verification for a domain. Both the old and new registrant must confirm it before the WHOIS change takes effect. Returns 404 when the domain has no pending IRTP verification. Use this endpoint to check the status of a WHOIS change awaiting registrant confirmation.
|
|
9473
9478
|
* @summary Get pending IRTP verification
|
|
9474
9479
|
* @param {string} domain Domain name
|
|
9475
9480
|
* @param {*} [options] Override http request option.
|
|
@@ -33317,7 +33322,7 @@ export const VPSSnapshotsApiAxiosParamCreator = function (configuration) {
|
|
|
33317
33322
|
};
|
|
33318
33323
|
}),
|
|
33319
33324
|
/**
|
|
33320
|
-
* Retrieve snapshot for a specified virtual machine. Use this endpoint to view current VPS snapshot information.
|
|
33325
|
+
* Retrieve snapshot for a specified virtual machine. Use this endpoint to view current VPS snapshot information. Returns 404 when the virtual machine has no snapshot.
|
|
33321
33326
|
* @summary Get snapshot
|
|
33322
33327
|
* @param {number} virtualMachineId Virtual Machine ID
|
|
33323
33328
|
* @param {*} [options] Override http request option.
|
|
@@ -33420,7 +33425,7 @@ export const VPSSnapshotsApiFp = function (configuration) {
|
|
|
33420
33425
|
});
|
|
33421
33426
|
},
|
|
33422
33427
|
/**
|
|
33423
|
-
* Retrieve snapshot for a specified virtual machine. Use this endpoint to view current VPS snapshot information.
|
|
33428
|
+
* Retrieve snapshot for a specified virtual machine. Use this endpoint to view current VPS snapshot information. Returns 404 when the virtual machine has no snapshot.
|
|
33424
33429
|
* @summary Get snapshot
|
|
33425
33430
|
* @param {number} virtualMachineId Virtual Machine ID
|
|
33426
33431
|
* @param {*} [options] Override http request option.
|
|
@@ -33479,7 +33484,7 @@ export const VPSSnapshotsApiFactory = function (configuration, basePath, axios)
|
|
|
33479
33484
|
return localVarFp.deleteSnapshotV1(virtualMachineId, options).then((request) => request(axios, basePath));
|
|
33480
33485
|
},
|
|
33481
33486
|
/**
|
|
33482
|
-
* Retrieve snapshot for a specified virtual machine. Use this endpoint to view current VPS snapshot information.
|
|
33487
|
+
* Retrieve snapshot for a specified virtual machine. Use this endpoint to view current VPS snapshot information. Returns 404 when the virtual machine has no snapshot.
|
|
33483
33488
|
* @summary Get snapshot
|
|
33484
33489
|
* @param {number} virtualMachineId Virtual Machine ID
|
|
33485
33490
|
* @param {*} [options] Override http request option.
|
|
@@ -33530,7 +33535,7 @@ export class VPSSnapshotsApi extends BaseAPI {
|
|
|
33530
33535
|
return VPSSnapshotsApiFp(this.configuration).deleteSnapshotV1(virtualMachineId, options).then((request) => request(this.axios, this.basePath));
|
|
33531
33536
|
}
|
|
33532
33537
|
/**
|
|
33533
|
-
* Retrieve snapshot for a specified virtual machine. Use this endpoint to view current VPS snapshot information.
|
|
33538
|
+
* Retrieve snapshot for a specified virtual machine. Use this endpoint to view current VPS snapshot information. Returns 404 when the virtual machine has no snapshot.
|
|
33534
33539
|
* @summary Get snapshot
|
|
33535
33540
|
* @param {number} virtualMachineId Virtual Machine ID
|
|
33536
33541
|
* @param {*} [options] Override http request option.
|
package/dist/esm/base.d.ts
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* Hostinger API
|
|
3
3
|
*
|
|
4
|
-
* API Version: 2.
|
|
4
|
+
* API Version: 2.13.0
|
|
5
5
|
*
|
|
6
6
|
* NOTE: This file is auto-generated, DO NOT EDIT THIS FILE MANUALLY!
|
|
7
7
|
* If you want to contribute or request a new feature, please create an issue or pull request on https://github.com/hostinger/api
|
package/dist/esm/base.js
CHANGED
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
/**
|
|
4
4
|
* Hostinger API
|
|
5
5
|
*
|
|
6
|
-
* API Version: 2.
|
|
6
|
+
* API Version: 2.13.0
|
|
7
7
|
*
|
|
8
8
|
* NOTE: This file is auto-generated, DO NOT EDIT THIS FILE MANUALLY!
|
|
9
9
|
* If you want to contribute or request a new feature, please create an issue or pull request on https://github.com/hostinger/api
|
package/dist/esm/common.d.ts
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* Hostinger API
|
|
3
3
|
*
|
|
4
|
-
* API Version: 2.
|
|
4
|
+
* API Version: 2.13.0
|
|
5
5
|
*
|
|
6
6
|
* NOTE: This file is auto-generated, DO NOT EDIT THIS FILE MANUALLY!
|
|
7
7
|
* If you want to contribute or request a new feature, please create an issue or pull request on https://github.com/hostinger/api
|
package/dist/esm/common.js
CHANGED
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
/**
|
|
4
4
|
* Hostinger API
|
|
5
5
|
*
|
|
6
|
-
* API Version: 2.
|
|
6
|
+
* API Version: 2.13.0
|
|
7
7
|
*
|
|
8
8
|
* NOTE: This file is auto-generated, DO NOT EDIT THIS FILE MANUALLY!
|
|
9
9
|
* If you want to contribute or request a new feature, please create an issue or pull request on https://github.com/hostinger/api
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* Hostinger API
|
|
3
3
|
*
|
|
4
|
-
* API Version: 2.
|
|
4
|
+
* API Version: 2.13.0
|
|
5
5
|
*
|
|
6
6
|
* NOTE: This file is auto-generated, DO NOT EDIT THIS FILE MANUALLY!
|
|
7
7
|
* If you want to contribute or request a new feature, please create an issue or pull request on https://github.com/hostinger/api
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
/**
|
|
4
4
|
* Hostinger API
|
|
5
5
|
*
|
|
6
|
-
* API Version: 2.
|
|
6
|
+
* API Version: 2.13.0
|
|
7
7
|
*
|
|
8
8
|
* NOTE: This file is auto-generated, DO NOT EDIT THIS FILE MANUALLY!
|
|
9
9
|
* If you want to contribute or request a new feature, please create an issue or pull request on https://github.com/hostinger/api
|
|
@@ -13,7 +13,7 @@ export class Configuration {
|
|
|
13
13
|
var _a;
|
|
14
14
|
this.accessToken = param.accessToken;
|
|
15
15
|
this.basePath = param.basePath;
|
|
16
|
-
this.baseOptions = Object.assign(Object.assign({}, param.baseOptions), { headers: Object.assign({ 'User-Agent': "hostinger-typescript-sdk/2.
|
|
16
|
+
this.baseOptions = Object.assign(Object.assign({}, param.baseOptions), { headers: Object.assign({ 'User-Agent': "hostinger-typescript-sdk/2.13.0" }, (_a = param.baseOptions) === null || _a === void 0 ? void 0 : _a.headers) });
|
|
17
17
|
this.formDataCtor = param.formDataCtor;
|
|
18
18
|
}
|
|
19
19
|
/**
|
package/dist/esm/index.d.ts
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* Hostinger API
|
|
3
3
|
*
|
|
4
|
-
* API Version: 2.
|
|
4
|
+
* API Version: 2.13.0
|
|
5
5
|
*
|
|
6
6
|
* NOTE: This file is auto-generated, DO NOT EDIT THIS FILE MANUALLY!
|
|
7
7
|
* If you want to contribute or request a new feature, please create an issue or pull request on https://github.com/hostinger/api
|
package/dist/esm/index.js
CHANGED
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
/**
|
|
4
4
|
* Hostinger API
|
|
5
5
|
*
|
|
6
|
-
* API Version: 2.
|
|
6
|
+
* API Version: 2.13.0
|
|
7
7
|
*
|
|
8
8
|
* NOTE: This file is auto-generated, DO NOT EDIT THIS FILE MANUALLY!
|
|
9
9
|
* If you want to contribute or request a new feature, please create an issue or pull request on https://github.com/hostinger/api
|
package/dist/index.d.ts
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* Hostinger API
|
|
3
3
|
*
|
|
4
|
-
* API Version: 2.
|
|
4
|
+
* API Version: 2.13.0
|
|
5
5
|
*
|
|
6
6
|
* NOTE: This file is auto-generated, DO NOT EDIT THIS FILE MANUALLY!
|
|
7
7
|
* If you want to contribute or request a new feature, please create an issue or pull request on https://github.com/hostinger/api
|
package/dist/index.js
CHANGED
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
/**
|
|
5
5
|
* Hostinger API
|
|
6
6
|
*
|
|
7
|
-
* API Version: 2.
|
|
7
|
+
* API Version: 2.13.0
|
|
8
8
|
*
|
|
9
9
|
* NOTE: This file is auto-generated, DO NOT EDIT THIS FILE MANUALLY!
|
|
10
10
|
* If you want to contribute or request a new feature, please create an issue or pull request on https://github.com/hostinger/api
|
|
@@ -399,7 +399,7 @@ const { status, data } = await apiInstance.getDomainAuthorizationCodeV1(
|
|
|
399
399
|
# **getDomainDetailsV1**
|
|
400
400
|
> DomainsV1DomainDomainExtendedResource getDomainDetailsV1()
|
|
401
401
|
|
|
402
|
-
Retrieve detailed information for specified domain. A domain is found here only once it is registered. Until then, `Get domain list` shows it, and its `verification` field says what registration waits for when the domain is held for verification. Use this endpoint to view comprehensive domain configuration and status.
|
|
402
|
+
Retrieve detailed information for specified domain. A domain is found here only once it is registered. Until then, `Get domain list` shows it, and its `verification` field says what registration waits for when the domain is held for verification. After registration, the registry may require the owner contact to be verified by email, phone number or contact name before a deadline, after which the domain is suspended. The `contact_verification` field shows what needs verifying, its state and the deadline. Use this endpoint to view comprehensive domain configuration and status.
|
|
403
403
|
|
|
404
404
|
### Example
|
|
405
405
|
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
# DomainsV1DomainDomainContactVerificationChannelResource
|
|
2
|
+
|
|
3
|
+
|
|
4
|
+
## Properties
|
|
5
|
+
|
|
6
|
+
Name | Type | Description | Notes
|
|
7
|
+
------------ | ------------- | ------------- | -------------
|
|
8
|
+
**status** | **string** | - `pending`: not verified yet. Verify it in [hPanel](https://hpanel.hostinger.com/) before `ends_at`. - `verified`: verified, or never required for this TLD. Nothing to do. - `suspended`: not verified in time, so the domain is suspended until the owner contact is verified in [hPanel](https://hpanel.hostinger.com/). | [optional] [default to undefined]
|
|
9
|
+
**ends_at** | **string** | Deadline to verify by while `status` is `pending`, after which the domain is suspended. It can still hold the past deadline once the channel is `verified` or `suspended`. | [optional] [default to undefined]
|
|
10
|
+
|
|
11
|
+
## Example
|
|
12
|
+
|
|
13
|
+
```typescript
|
|
14
|
+
import { DomainsV1DomainDomainContactVerificationChannelResource } from '@hostinger/sdk';
|
|
15
|
+
|
|
16
|
+
const instance: DomainsV1DomainDomainContactVerificationChannelResource = {
|
|
17
|
+
status,
|
|
18
|
+
ends_at,
|
|
19
|
+
};
|
|
20
|
+
```
|
|
21
|
+
|
|
22
|
+
[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
# DomainsV1DomainDomainContactVerificationResource
|
|
2
|
+
|
|
3
|
+
|
|
4
|
+
## Properties
|
|
5
|
+
|
|
6
|
+
Name | Type | Description | Notes
|
|
7
|
+
------------ | ------------- | ------------- | -------------
|
|
8
|
+
**email** | [**DomainsV1DomainDomainContactVerificationChannelResource**](DomainsV1DomainDomainContactVerificationChannelResource.md) | | [optional] [default to undefined]
|
|
9
|
+
**phone** | [**DomainsV1DomainDomainContactVerificationChannelResource**](DomainsV1DomainDomainContactVerificationChannelResource.md) | | [optional] [default to undefined]
|
|
10
|
+
**contact_name** | [**DomainsV1DomainDomainContactVerificationChannelResource**](DomainsV1DomainDomainContactVerificationChannelResource.md) | | [optional] [default to undefined]
|
|
11
|
+
|
|
12
|
+
## Example
|
|
13
|
+
|
|
14
|
+
```typescript
|
|
15
|
+
import { DomainsV1DomainDomainContactVerificationResource } from '@hostinger/sdk';
|
|
16
|
+
|
|
17
|
+
const instance: DomainsV1DomainDomainContactVerificationResource = {
|
|
18
|
+
email,
|
|
19
|
+
phone,
|
|
20
|
+
contact_name,
|
|
21
|
+
};
|
|
22
|
+
```
|
|
23
|
+
|
|
24
|
+
[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
|
|
@@ -20,6 +20,7 @@ Name | Type | Description | Notes
|
|
|
20
20
|
**_60_days_lock_expires_at** | **string** | | [optional] [default to undefined]
|
|
21
21
|
**registered_at** | **string** | | [optional] [default to undefined]
|
|
22
22
|
**expires_at** | **string** | | [optional] [default to undefined]
|
|
23
|
+
**contact_verification** | [**DomainsV1DomainDomainContactVerificationResource**](DomainsV1DomainDomainContactVerificationResource.md) | | [optional] [default to undefined]
|
|
23
24
|
|
|
24
25
|
## Example
|
|
25
26
|
|
|
@@ -42,6 +43,7 @@ const instance: DomainsV1DomainDomainExtendedResource = {
|
|
|
42
43
|
_60_days_lock_expires_at,
|
|
43
44
|
registered_at,
|
|
44
45
|
expires_at,
|
|
46
|
+
contact_verification,
|
|
45
47
|
};
|
|
46
48
|
```
|
|
47
49
|
|
package/docs/DomainsWHOISApi.md
CHANGED
|
@@ -234,7 +234,7 @@ const { status, data } = await apiInstance.deleteWHOISProfileV1(
|
|
|
234
234
|
# **getPendingIRTPVerificationV1**
|
|
235
235
|
> DomainsV1IRTPVerificationResource getPendingIRTPVerificationV1()
|
|
236
236
|
|
|
237
|
-
Retrieve a pending IRTP verification for a domain. Both the old and new registrant must confirm it before the WHOIS change takes effect. Use this endpoint to check the status of a WHOIS change awaiting registrant confirmation.
|
|
237
|
+
Retrieve a pending IRTP verification for a domain. Both the old and new registrant must confirm it before the WHOIS change takes effect. Returns 404 when the domain has no pending IRTP verification. Use this endpoint to check the status of a WHOIS change awaiting registrant confirmation.
|
|
238
238
|
|
|
239
239
|
### Example
|
|
240
240
|
|
package/docs/VPSSnapshotsApi.md
CHANGED
|
@@ -118,7 +118,7 @@ const { status, data } = await apiInstance.deleteSnapshotV1(
|
|
|
118
118
|
# **getSnapshotV1**
|
|
119
119
|
> VPSV1SnapshotSnapshotResource getSnapshotV1()
|
|
120
120
|
|
|
121
|
-
Retrieve snapshot for a specified virtual machine. Use this endpoint to view current VPS snapshot information.
|
|
121
|
+
Retrieve snapshot for a specified virtual machine. Use this endpoint to view current VPS snapshot information. Returns 404 when the virtual machine has no snapshot.
|
|
122
122
|
|
|
123
123
|
### Example
|
|
124
124
|
|
|
@@ -164,6 +164,7 @@ const { status, data } = await apiInstance.getSnapshotV1(
|
|
|
164
164
|
|-------------|-------------|------------------|
|
|
165
165
|
|**200** | Success response | - |
|
|
166
166
|
|**401** | Unauthenticated response | - |
|
|
167
|
+
|**404** | Error response | - |
|
|
167
168
|
|**500** | Error response | - |
|
|
168
169
|
|
|
169
170
|
[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md)
|
package/index.ts
CHANGED
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
/**
|
|
4
4
|
* Hostinger API
|
|
5
5
|
*
|
|
6
|
-
* API Version: 2.
|
|
6
|
+
* API Version: 2.13.0
|
|
7
7
|
*
|
|
8
8
|
* NOTE: This file is auto-generated, DO NOT EDIT THIS FILE MANUALLY!
|
|
9
9
|
* If you want to contribute or request a new feature, please create an issue or pull request on https://github.com/hostinger/api
|