Skip to content

Commit bff84dd

Browse files
chore: sdk update
1 parent 528f61f commit bff84dd

9 files changed

Lines changed: 24 additions & 24 deletions

File tree

‎README.md‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,9 @@
1-
## @hostinger/sdk@2.8.0
1+
## @hostinger/sdk@2.8.1
22

33
For more information, please visit [https://developers.hostinger.com](https://developers.hostinger.com).
44

55
### Usage
66

77
```
8-
npm install @hostinger/sdk@2.8.0 --save
8+
npm install @hostinger/sdk@2.8.1 --save
99
```

‎api.ts‎

Lines changed: 13 additions & 13 deletions
Large diffs are not rendered by default.

‎base.ts‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
/**
44
* Hostinger API
55
*
6-
* API Version: 2.8.0
6+
* API Version: 2.8.1
77
*
88
* NOTE: This file is auto-generated, DO NOT EDIT THIS FILE MANUALLY!
99
* If you want to contribute or request a new feature, please create an issue or pull request on https://github.com/hostinger/api

‎common.ts‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
/**
44
* Hostinger API
55
*
6-
* API Version: 2.8.0
6+
* API Version: 2.8.1
77
*
88
* NOTE: This file is auto-generated, DO NOT EDIT THIS FILE MANUALLY!
99
* If you want to contribute or request a new feature, please create an issue or pull request on https://github.com/hostinger/api

‎configuration.ts‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
/**
44
* Hostinger API
55
*
6-
* API Version: 2.8.0
6+
* API Version: 2.8.1
77
*
88
* NOTE: This file is auto-generated, DO NOT EDIT THIS FILE MANUALLY!
99
* 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 {
4848
this.baseOptions = {
4949
...param.baseOptions,
5050
headers: {
51-
'User-Agent': "hostinger-typescript-sdk/2.8.0",
51+
'User-Agent': "hostinger-typescript-sdk/2.8.1",
5252
...param.baseOptions?.headers,
5353
},
5454
};

‎docs/DomainsPortfolioApi.md‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ All URIs are relative to *https://developers.hostinger.com*
2020
# **claimFreeDomainV1**
2121
> DomainsV1PortfolioClaimResource claimFreeDomainV1(domainsV1PortfolioClaimRequest)
2222
23-
Claim a free domain available on your account and register it. Unlike purchasing a domain, this consumes a free domain you already have, so no payment method is required. A successful response means the domain is registered. If registration fails, login to [hPanel](https://hpanel.hostinger.com/) and check domain registration status. If no WHOIS information is provided, default contact information for that TLD will be used. Before making request, ensure WHOIS information for desired TLD exists in your account. Some TLDs require `additional_details` to be provided and these will be validated before claiming. Requests which cannot be fulfilled are rejected with an error code in the response body, for example `2037` when no free domain is available. Use this endpoint to register a domain using a free domain from your account.
23+
Claim a free domain available on your account and register it. Unlike purchasing a domain, this consumes a free domain you already have, so no payment method is required. A free domain and a free domain transfer from the same plan are alternatives: claiming the free domain removes the plan\'s free domain transfer (`type: free_domain_transfer`). Before making request, confirm with the user which of the two they want. Right after a claim, the removed free domain transfer may still appear in the [domain list endpoint](#tag/domains-portfolio) for a short time; do not claim it. A successful response means the domain is registered. If registration fails, login to [hPanel](https://hpanel.hostinger.com/) and check domain registration status. If no WHOIS information is provided, default contact information for that TLD will be used. Before making request, ensure WHOIS information for desired TLD exists in your account. Some TLDs require `additional_details` to be provided and these will be validated before claiming. Requests which cannot be fulfilled are rejected with an error code in the response body, for example `2037` when no free domain is available. Use this endpoint to register a domain using a free domain from your account.
2424

2525
### Example
2626

@@ -452,7 +452,7 @@ const { status, data } = await apiInstance.getDomainDetailsV1(
452452
# **getDomainListV1**
453453
> Array<DomainsV1DomainDomainResource> getDomainListV1()
454454
455-
Retrieve all domains associated with your account. Use this endpoint to view user\'s domain portfolio.
455+
Retrieve all domains associated with your account. A plan can include both a free domain (`type: free_domain`) and a free domain transfer (`type: free_domain_transfer`). They are alternatives: claiming one removes the other, which may still be listed for a short time after the claim. Use this endpoint to view user\'s domain portfolio.
456456

457457
### Example
458458

‎docs/DomainsTransferApi.md‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ All URIs are relative to *https://developers.hostinger.com*
1212
# **claimFreeDomainTransferV1**
1313
> DomainsV1TransferTransferResource claimFreeDomainTransferV1(domainsV1TransferClaimRequest)
1414
15-
Claim a free domain transfer available on your account and start the transfer. Unlike purchasing a transfer, this consumes a free domain transfer you already have, so no payment method is required. Before making request, unlock the domain at the current registrar and get its authorization code. The transfer is validated first, so domains which cannot be transferred are rejected before the free domain transfer is consumed. A successful response means the transfer has been started. Completion depends on the current registrar and can be followed with the [transfer list endpoint](#tag/domains-transfer). If no WHOIS information is provided, default contact information for that TLD will be used. Before making request, ensure WHOIS information for desired TLD exists in your account. Requests which cannot be fulfilled are rejected with an error code in the response body. Use this endpoint to transfer a domain using a free domain transfer from your account.
15+
Claim a free domain transfer available on your account and start the transfer. Unlike purchasing a transfer, this consumes a free domain transfer you already have, so no payment method is required. A free domain and a free domain transfer from the same plan are alternatives: claiming the free domain transfer removes the plan\'s free domain (`type: free_domain`). Before making request, confirm with the user which of the two they want. Right after a claim, the removed free domain may still appear in the [domain list endpoint](#tag/domains-portfolio) for a short time; do not claim it. Before making request, unlock the domain at the current registrar and get its authorization code. The transfer is validated first, so domains which cannot be transferred are rejected before the free domain transfer is consumed. A successful response means the transfer has been started. Completion depends on the current registrar and can be followed with the [transfer list endpoint](#tag/domains-transfer). If no WHOIS information is provided, default contact information for that TLD will be used. Before making request, ensure WHOIS information for desired TLD exists in your account. Requests which cannot be fulfilled are rejected with an error code in the response body. Use this endpoint to transfer a domain using a free domain transfer from your account.
1616

1717
### Example
1818

‎index.ts‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
/**
44
* Hostinger API
55
*
6-
* API Version: 2.8.0
6+
* API Version: 2.8.1
77
*
88
* NOTE: This file is auto-generated, DO NOT EDIT THIS FILE MANUALLY!
99
* If you want to contribute or request a new feature, please create an issue or pull request on https://github.com/hostinger/api

‎package.json‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@hostinger/sdk",
3-
"version": "2.8.0",
3+
"version": "2.8.1",
44
"description": "Hostinger API TypeScript SDK",
55
"author": "Hostinger",
66
"repository": {

0 commit comments

Comments
 (0)