@hostinger/sdk 1.49.4 → 1.50.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.
@@ -9,6 +9,7 @@ Name | Type | Description | Notes
9
9
  **tld** | **string** | TLD to which contact profile can be applied to | [optional] [default to undefined]
10
10
  **country** | **string** | ISO 3166 2-letter country code | [optional] [default to undefined]
11
11
  **entity_type** | **string** | WHOIS profile entity type | [optional] [default to undefined]
12
+ **is_default** | **boolean** | Whether the profile is pre-selected when registering new domains of its TLD | [optional] [default to undefined]
12
13
  **whois_details** | **object** | WHOIS profile details | [optional] [default to undefined]
13
14
  **tld_details** | **object** | TLD details | [optional] [default to undefined]
14
15
  **created_at** | **string** | | [optional] [default to undefined]
@@ -24,6 +25,7 @@ const instance: DomainsV1WHOISProfileResource = {
24
25
  tld,
25
26
  country,
26
27
  entity_type,
28
+ is_default,
27
29
  whois_details,
28
30
  tld_details,
29
31
  created_at,
@@ -238,7 +238,7 @@ This endpoint does not have any parameters.
238
238
  # **purchaseNewVirtualMachineV1**
239
239
  > BillingV1OrderVirtualMachineOrderResource purchaseNewVirtualMachineV1(vPSV1VirtualMachinePurchaseRequest)
240
240
 
241
- Purchase and setup a new virtual machine. If virtual machine setup fails for any reason, login to [hPanel](https://hpanel.hostinger.com/) and complete the setup manually. If no payment method is provided, your default payment method will be used automatically. Use this endpoint to create new VPS instances.
241
+ Purchase and setup a new virtual machine. If virtual machine setup fails for any reason, login to [hPanel](https://hpanel.hostinger.com/) and complete the setup manually. If no payment method is provided, your default payment method will be used automatically. If the response is `202 Accepted`, the payment is still being processed and the virtual machine was not set up. Login to [hPanel](https://hpanel.hostinger.com/) and complete the setup manually. Use this endpoint to create new VPS instances.
242
242
 
243
243
  ### Example
244
244
 
@@ -284,6 +284,7 @@ const { status, data } = await apiInstance.purchaseNewVirtualMachineV1(
284
284
  | Status code | Description | Response headers |
285
285
  |-------------|-------------|------------------|
286
286
  |**200** | Success response | - |
287
+ |**202** | Payment is being processed, the order will complete asynchronously | - |
287
288
  |**422** | Validation error response | - |
288
289
  |**401** | Unauthenticated response | - |
289
290
  |**500** | Error response | - |
package/index.ts CHANGED
@@ -3,7 +3,7 @@
3
3
  /**
4
4
  * Hostinger API
5
5
  *
6
- * API Version: 1.49.4
6
+ * API Version: 1.50.1
7
7
  *
8
8
  * NOTE: This file is auto-generated, DO NOT EDIT THIS FILE MANUALLY!
9
9
  * If you want to contribute or request a new feature, please create an issue or pull request on https://github.com/hostinger/api
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@hostinger/sdk",
3
- "version": "1.49.4",
3
+ "version": "1.50.1",
4
4
  "description": "Hostinger API TypeScript SDK",
5
5
  "author": "Hostinger",
6
6
  "repository": {