hostinger-api-sdk 0.0.15 → 0.0.19

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.
Files changed (109) hide show
  1. package/.github/workflows/build-release.yaml +28 -11
  2. package/CODEOWNERS +1 -1
  3. package/README.md +2 -2
  4. package/api.ts +7356 -2584
  5. package/base.ts +1 -1
  6. package/common.ts +1 -1
  7. package/configuration.ts +2 -2
  8. package/dist/api.d.ts +4966 -1780
  9. package/dist/api.js +3335 -325
  10. package/dist/base.d.ts +1 -1
  11. package/dist/base.js +1 -1
  12. package/dist/common.d.ts +1 -1
  13. package/dist/common.js +1 -1
  14. package/dist/configuration.d.ts +1 -1
  15. package/dist/configuration.js +2 -2
  16. package/dist/esm/api.d.ts +4966 -1780
  17. package/dist/esm/api.js +3283 -314
  18. package/dist/esm/base.d.ts +1 -1
  19. package/dist/esm/base.js +1 -1
  20. package/dist/esm/common.d.ts +1 -1
  21. package/dist/esm/common.js +1 -1
  22. package/dist/esm/configuration.d.ts +1 -1
  23. package/dist/esm/configuration.js +2 -2
  24. package/dist/esm/index.d.ts +1 -1
  25. package/dist/esm/index.js +1 -1
  26. package/dist/index.d.ts +1 -1
  27. package/dist/index.js +1 -1
  28. package/docs/BillingSubscriptionsApi.md +64 -15
  29. package/docs/BillingV1CatalogCatalogItemResource.md +1 -1
  30. package/docs/DomainAccessVerifierV2VerificationsActiveVerificationsCollection.md +21 -0
  31. package/docs/DomainAccessVerifierV2VerificationsActiveVerificationsCollectionData.md +23 -0
  32. package/docs/DomainAccessVerifierV2VerificationsActiveVerificationsCollectionDataPENDING.md +21 -0
  33. package/docs/DomainAccessVerifierV2VerificationsActiveVerificationsCollectionDataPENDINGDOMAINTLD.md +21 -0
  34. package/docs/DomainAccessVerifierV2VerificationsActiveVerificationsCollectionDataPENDINGDOMAINTLDVERIFICATIONTYPE.md +27 -0
  35. package/docs/DomainAccessVerifierV2VerificationsActiveVerificationsCollectionDataVERIFIED.md +21 -0
  36. package/docs/DomainAccessVerifierV2VerificationsActiveVerificationsCollectionDataVERIFIEDDOMAINTLD.md +21 -0
  37. package/docs/DomainAccessVerifierV2VerificationsActiveVerificationsCollectionDataVERIFIEDDOMAINTLDVERIFICATIONTYPE.md +21 -0
  38. package/docs/DomainAccessVerifierV2VerificationsListRequest.md +20 -0
  39. package/docs/DomainAccessVerifierVerificationsApi.md +63 -0
  40. package/docs/DomainsPortfolioApi.md +1 -1
  41. package/docs/EcommerceGetStoresV1200Response.md +22 -0
  42. package/docs/EcommerceStoresApi.md +117 -0
  43. package/docs/EcommerceV1StoreStoreCreationResource.md +22 -0
  44. package/docs/EcommerceV1StoreStoreCreationResourceSalesChannel.md +24 -0
  45. package/docs/EcommerceV1StoreStoreCreationResourceStore.md +30 -0
  46. package/docs/EcommerceV1StoreStoreRequest.md +30 -0
  47. package/docs/EcommerceV1StoreStoreRequestSalesChannel.md +22 -0
  48. package/docs/EcommerceV1StoreStoreResource.md +30 -0
  49. package/docs/HostingDatabasesApi.md +368 -0
  50. package/docs/HostingDatacentersApi.md +61 -0
  51. package/docs/HostingDomainsApi.md +468 -0
  52. package/docs/HostingListAccountDatabasesV1200Response.md +22 -0
  53. package/docs/HostingListNodeJSBuildsV1200Response.md +22 -0
  54. package/docs/HostingListOrdersV1200Response.md +22 -0
  55. package/docs/HostingListWebsitesV1200Response.md +22 -0
  56. package/docs/HostingNodeJSApi.md +199 -0
  57. package/docs/HostingOrdersApi.md +70 -0
  58. package/docs/HostingV1DatabasesChangeDatabasePasswordRequest.md +20 -0
  59. package/docs/HostingV1DatabasesCreateDatabaseRequest.md +26 -0
  60. package/docs/HostingV1DatabasesDatabaseResource.md +34 -0
  61. package/docs/HostingV1DatabasesPhpMyAdminLinkResource.md +20 -0
  62. package/docs/HostingV1DatacenterCoordinatesResource.md +22 -0
  63. package/docs/HostingV1DatacenterDatacenterResource.md +24 -0
  64. package/docs/HostingV1DatacentersListRequest.md +20 -0
  65. package/docs/HostingV1DomainsCreateParkedDomainRequest.md +20 -0
  66. package/docs/HostingV1DomainsCreateSubdomainRequest.md +24 -0
  67. package/docs/HostingV1DomainsDomainAccessResource.md +24 -0
  68. package/docs/HostingV1DomainsFreeSubdomainResource.md +20 -0
  69. package/docs/HostingV1DomainsParkedDomainResource.md +28 -0
  70. package/docs/HostingV1DomainsSubdomainResource.md +28 -0
  71. package/docs/HostingV1DomainsVerifyOwnershipRequest.md +20 -0
  72. package/docs/HostingV1NodeJsBuildLogsResource.md +22 -0
  73. package/docs/HostingV1NodeJsBuildOptionsResource.md +36 -0
  74. package/docs/HostingV1NodeJsBuildResource.md +28 -0
  75. package/docs/HostingV1NodeJsCreateFromArchiveRequest.md +34 -0
  76. package/docs/{BillingV1OrderStoreRequestItemsInner.md → HostingV1NodeJsSourceOptionsResource.md} +5 -7
  77. package/docs/HostingV1OrdersOrderResource.md +30 -0
  78. package/docs/HostingV1OrdersPlanResource.md +20 -0
  79. package/docs/HostingV1WebsitesCreateWebsiteRequest.md +24 -0
  80. package/docs/HostingV1WebsitesWebsiteResource.md +36 -0
  81. package/docs/HostingV1WordpressInstallWordpressRequest.md +36 -0
  82. package/docs/HostingV1WordpressInstallWordpressRequestCredentials.md +25 -0
  83. package/docs/HostingV1WordpressInstallWordpressRequestDatabase.md +23 -0
  84. package/docs/HostingV1WordpressWordpressInstallationResource.md +42 -0
  85. package/docs/HostingWebsitesApi.md +132 -0
  86. package/docs/HostingWordpressApi.md +126 -0
  87. package/docs/ReachContactsApi.md +63 -4
  88. package/docs/ReachListSegmentContactsV1200Response.md +22 -0
  89. package/docs/ReachProfilesApi.md +54 -0
  90. package/docs/ReachSegmentsApi.md +224 -0
  91. package/docs/ReachV1ContactsSegmentsContactSegmentResource.md +26 -0
  92. package/docs/ReachV1ContactsSegmentsSegmentResource.md +28 -0
  93. package/docs/ReachV1ContactsSegmentsSegmentationContactResource.md +34 -0
  94. package/docs/ReachV1ContactsSegmentsStoreRequest.md +24 -0
  95. package/docs/ReachV1ContactsSegmentsStoreRequestConditionsInner.md +24 -0
  96. package/docs/ReachV1ContactsSegmentsStoreRequestConditionsInnerValue.md +18 -0
  97. package/docs/ReachV1ContactsStoreRequest.md +2 -2
  98. package/docs/ReachV1ProfilesProfileResource.md +30 -0
  99. package/docs/ReachV1ProfilesProfileResourceLimits.md +26 -0
  100. package/docs/ReachV1ProfilesProfileResourceProfilesInner.md +26 -0
  101. package/docs/VPSActionsApi.md +1 -1
  102. package/docs/VPSDockerManagerApi.md +7 -7
  103. package/docs/VPSFirewallApi.md +1 -1
  104. package/docs/VPSMalwareScannerApi.md +2 -2
  105. package/docs/VPSVirtualMachineApi.md +2 -2
  106. package/index.ts +1 -1
  107. package/package.json +1 -1
  108. package/docs/BillingOrdersApi.md +0 -63
  109. package/docs/BillingV1OrderStoreRequest.md +0 -24
@@ -1,7 +1,7 @@
1
1
  /**
2
2
  * Hostinger API
3
3
  *
4
- * API Version: 0.1.7
4
+ * API Version: 0.18.2
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: 0.1.7
6
+ * API Version: 0.18.2
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: 0.1.7
4
+ * API Version: 0.18.2
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: 0.1.7
6
+ * API Version: 0.18.2
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: 0.1.7
4
+ * API Version: 0.18.2
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: 0.1.7
6
+ * API Version: 0.18.2
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/0.0.15" }, (_a = param.baseOptions) === null || _a === void 0 ? void 0 : _a.headers) });
16
+ this.baseOptions = Object.assign(Object.assign({}, param.baseOptions), { headers: Object.assign({ 'User-Agent': "hostinger-typescript-sdk/0.0.19" }, (_a = param.baseOptions) === null || _a === void 0 ? void 0 : _a.headers) });
17
17
  this.formDataCtor = param.formDataCtor;
18
18
  }
19
19
  /**
@@ -1,7 +1,7 @@
1
1
  /**
2
2
  * Hostinger API
3
3
  *
4
- * API Version: 0.1.7
4
+ * API Version: 0.18.2
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: 0.1.7
6
+ * API Version: 0.18.2
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: 0.1.7
4
+ * API Version: 0.18.2
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: 0.1.7
7
+ * API Version: 0.18.2
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
@@ -4,32 +4,83 @@ All URIs are relative to *https://developers.hostinger.com*
4
4
 
5
5
  |Method | HTTP request | Description|
6
6
  |------------- | ------------- | -------------|
7
- |[**cancelSubscriptionV1**](#cancelsubscriptionv1) | **DELETE** /api/billing/v1/subscriptions/{subscriptionId} | Cancel subscription|
7
+ |[**disableAutoRenewalV1**](#disableautorenewalv1) | **DELETE** /api/billing/v1/subscriptions/{subscriptionId}/auto-renewal/disable | Disable auto-renewal|
8
+ |[**enableAutoRenewalV1**](#enableautorenewalv1) | **PATCH** /api/billing/v1/subscriptions/{subscriptionId}/auto-renewal/enable | Enable auto-renewal|
8
9
  |[**getSubscriptionListV1**](#getsubscriptionlistv1) | **GET** /api/billing/v1/subscriptions | Get subscription list|
9
10
 
10
- # **cancelSubscriptionV1**
11
- > CommonSuccessEmptyResource cancelSubscriptionV1(billingV1SubscriptionCancelRequest)
11
+ # **disableAutoRenewalV1**
12
+ > BillingV1SubscriptionSubscriptionResource disableAutoRenewalV1()
12
13
 
13
- Cancel a subscription and stop any further billing. Use this endpoint when users want to terminate active services.
14
+ Disable auto-renewal for a subscription. Use this endpoint when disable auto-renewal for a subscription.
14
15
 
15
16
  ### Example
16
17
 
17
18
  ```typescript
18
19
  import {
19
20
  BillingSubscriptionsApi,
20
- Configuration,
21
- BillingV1SubscriptionCancelRequest
21
+ Configuration
22
+ } from 'hostinger-api-sdk';
23
+
24
+ const configuration = new Configuration();
25
+ const apiInstance = new BillingSubscriptionsApi(configuration);
26
+
27
+ let subscriptionId: string; //Subscription ID (default to undefined)
28
+
29
+ const { status, data } = await apiInstance.disableAutoRenewalV1(
30
+ subscriptionId
31
+ );
32
+ ```
33
+
34
+ ### Parameters
35
+
36
+ |Name | Type | Description | Notes|
37
+ |------------- | ------------- | ------------- | -------------|
38
+ | **subscriptionId** | [**string**] | Subscription ID | defaults to undefined|
39
+
40
+
41
+ ### Return type
42
+
43
+ **BillingV1SubscriptionSubscriptionResource**
44
+
45
+ ### Authorization
46
+
47
+ [apiToken](../README.md#apiToken)
48
+
49
+ ### HTTP request headers
50
+
51
+ - **Content-Type**: Not defined
52
+ - **Accept**: application/json
53
+
54
+
55
+ ### HTTP response details
56
+ | Status code | Description | Response headers |
57
+ |-------------|-------------|------------------|
58
+ |**200** | Success response | - |
59
+ |**401** | Unauthenticated response | - |
60
+ |**500** | Error response | - |
61
+
62
+ [[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)
63
+
64
+ # **enableAutoRenewalV1**
65
+ > BillingV1SubscriptionSubscriptionResource enableAutoRenewalV1()
66
+
67
+ Enable auto-renewal for a subscription. Use this endpoint when enable auto-renewal for a subscription.
68
+
69
+ ### Example
70
+
71
+ ```typescript
72
+ import {
73
+ BillingSubscriptionsApi,
74
+ Configuration
22
75
  } from 'hostinger-api-sdk';
23
76
 
24
77
  const configuration = new Configuration();
25
78
  const apiInstance = new BillingSubscriptionsApi(configuration);
26
79
 
27
80
  let subscriptionId: string; //Subscription ID (default to undefined)
28
- let billingV1SubscriptionCancelRequest: BillingV1SubscriptionCancelRequest; //
29
81
 
30
- const { status, data } = await apiInstance.cancelSubscriptionV1(
31
- subscriptionId,
32
- billingV1SubscriptionCancelRequest
82
+ const { status, data } = await apiInstance.enableAutoRenewalV1(
83
+ subscriptionId
33
84
  );
34
85
  ```
35
86
 
@@ -37,13 +88,12 @@ const { status, data } = await apiInstance.cancelSubscriptionV1(
37
88
 
38
89
  |Name | Type | Description | Notes|
39
90
  |------------- | ------------- | ------------- | -------------|
40
- | **billingV1SubscriptionCancelRequest** | **BillingV1SubscriptionCancelRequest**| | |
41
91
  | **subscriptionId** | [**string**] | Subscription ID | defaults to undefined|
42
92
 
43
93
 
44
94
  ### Return type
45
95
 
46
- **CommonSuccessEmptyResource**
96
+ **BillingV1SubscriptionSubscriptionResource**
47
97
 
48
98
  ### Authorization
49
99
 
@@ -51,15 +101,14 @@ const { status, data } = await apiInstance.cancelSubscriptionV1(
51
101
 
52
102
  ### HTTP request headers
53
103
 
54
- - **Content-Type**: application/json
104
+ - **Content-Type**: Not defined
55
105
  - **Accept**: application/json
56
106
 
57
107
 
58
108
  ### HTTP response details
59
109
  | Status code | Description | Response headers |
60
110
  |-------------|-------------|------------------|
61
- |**200** | Success empty response | - |
62
- |**422** | Validation error response | - |
111
+ |**200** | Success response | - |
63
112
  |**401** | Unauthenticated response | - |
64
113
  |**500** | Error response | - |
65
114
 
@@ -8,7 +8,7 @@ Name | Type | Description | Notes
8
8
  **id** | **string** | Catalog item ID | [optional] [default to undefined]
9
9
  **name** | **string** | | [optional] [default to undefined]
10
10
  **category** | **string** | | [optional] [default to undefined]
11
- **metadata** | **object** | Flexible key-value storage containing category-specific metadata for the catalog item. The structure and available fields vary depending on the item category. | [optional] [default to undefined]
11
+ **metadata** | **object** | Flexible key-value storage containing category-specific metadata for the catalog item. The structure and available fields vary depending on the item category. | [optional] [default to undefined]
12
12
  **prices** | [**Array<BillingV1CatalogCatalogItemPriceResource>**](BillingV1CatalogCatalogItemPriceResource.md) | Array of [`Billing.V1.Catalog.CatalogItemPriceResource`](#model/billingv1catalogcatalogitempriceresource) | [optional] [default to undefined]
13
13
 
14
14
  ## Example
@@ -0,0 +1,21 @@
1
+ # DomainAccessVerifierV2VerificationsActiveVerificationsCollection
2
+
3
+ Returns active verifications (PENDING and VERIFIED) grouped by status and domain. Includes last and next verification attempt dates and expiration for PENDING verifications.
4
+
5
+ ## Properties
6
+
7
+ Name | Type | Description | Notes
8
+ ------------ | ------------- | ------------- | -------------
9
+ **data** | [**DomainAccessVerifierV2VerificationsActiveVerificationsCollectionData**](DomainAccessVerifierV2VerificationsActiveVerificationsCollectionData.md) | | [optional] [default to undefined]
10
+
11
+ ## Example
12
+
13
+ ```typescript
14
+ import { DomainAccessVerifierV2VerificationsActiveVerificationsCollection } from 'hostinger-api-sdk';
15
+
16
+ const instance: DomainAccessVerifierV2VerificationsActiveVerificationsCollection = {
17
+ data,
18
+ };
19
+ ```
20
+
21
+ [[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,23 @@
1
+ # DomainAccessVerifierV2VerificationsActiveVerificationsCollectionData
2
+
3
+ List of active verifications by status. If no verifications are found, this will return an empty array.
4
+
5
+ ## Properties
6
+
7
+ Name | Type | Description | Notes
8
+ ------------ | ------------- | ------------- | -------------
9
+ **PENDING** | [**DomainAccessVerifierV2VerificationsActiveVerificationsCollectionDataPENDING**](DomainAccessVerifierV2VerificationsActiveVerificationsCollectionDataPENDING.md) | | [optional] [default to undefined]
10
+ **VERIFIED** | [**DomainAccessVerifierV2VerificationsActiveVerificationsCollectionDataVERIFIED**](DomainAccessVerifierV2VerificationsActiveVerificationsCollectionDataVERIFIED.md) | | [optional] [default to undefined]
11
+
12
+ ## Example
13
+
14
+ ```typescript
15
+ import { DomainAccessVerifierV2VerificationsActiveVerificationsCollectionData } from 'hostinger-api-sdk';
16
+
17
+ const instance: DomainAccessVerifierV2VerificationsActiveVerificationsCollectionData = {
18
+ PENDING,
19
+ VERIFIED,
20
+ };
21
+ ```
22
+
23
+ [[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,21 @@
1
+ # DomainAccessVerifierV2VerificationsActiveVerificationsCollectionDataPENDING
2
+
3
+ Pending verifications grouped by domain. Keys are domain names (e.g., \"pixel.tld\"). This property will not be returned if no pending verifications are found.
4
+
5
+ ## Properties
6
+
7
+ Name | Type | Description | Notes
8
+ ------------ | ------------- | ------------- | -------------
9
+ **DOMAIN_TLD** | [**DomainAccessVerifierV2VerificationsActiveVerificationsCollectionDataPENDINGDOMAINTLD**](DomainAccessVerifierV2VerificationsActiveVerificationsCollectionDataPENDINGDOMAINTLD.md) | | [optional] [default to undefined]
10
+
11
+ ## Example
12
+
13
+ ```typescript
14
+ import { DomainAccessVerifierV2VerificationsActiveVerificationsCollectionDataPENDING } from 'hostinger-api-sdk';
15
+
16
+ const instance: DomainAccessVerifierV2VerificationsActiveVerificationsCollectionDataPENDING = {
17
+ DOMAIN_TLD,
18
+ };
19
+ ```
20
+
21
+ [[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,21 @@
1
+ # DomainAccessVerifierV2VerificationsActiveVerificationsCollectionDataPENDINGDOMAINTLD
2
+
3
+ Domain name (example). Contains verification types as properties.
4
+
5
+ ## Properties
6
+
7
+ Name | Type | Description | Notes
8
+ ------------ | ------------- | ------------- | -------------
9
+ **VERIFICATION_TYPE** | [**DomainAccessVerifierV2VerificationsActiveVerificationsCollectionDataPENDINGDOMAINTLDVERIFICATIONTYPE**](DomainAccessVerifierV2VerificationsActiveVerificationsCollectionDataPENDINGDOMAINTLDVERIFICATIONTYPE.md) | | [optional] [default to undefined]
10
+
11
+ ## Example
12
+
13
+ ```typescript
14
+ import { DomainAccessVerifierV2VerificationsActiveVerificationsCollectionDataPENDINGDOMAINTLD } from 'hostinger-api-sdk';
15
+
16
+ const instance: DomainAccessVerifierV2VerificationsActiveVerificationsCollectionDataPENDINGDOMAINTLD = {
17
+ VERIFICATION_TYPE,
18
+ };
19
+ ```
20
+
21
+ [[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,27 @@
1
+ # DomainAccessVerifierV2VerificationsActiveVerificationsCollectionDataPENDINGDOMAINTLDVERIFICATIONTYPE
2
+
3
+ Verification type (\"NAMESERVERS\" or \"TXT\"). Only verification types that exist for this domain will be present.
4
+
5
+ ## Properties
6
+
7
+ Name | Type | Description | Notes
8
+ ------------ | ------------- | ------------- | -------------
9
+ **records** | **Array<string>** | Verification records | [optional] [default to undefined]
10
+ **last_verification_attempt** | **string** | Datetime when last verification attempt occurred | [optional] [default to undefined]
11
+ **next_verification_attempt** | **string** | Datetime when next verification attempt will occur | [optional] [default to undefined]
12
+ **verification_expiration** | **string** | Datetime when verification expires | [optional] [default to undefined]
13
+
14
+ ## Example
15
+
16
+ ```typescript
17
+ import { DomainAccessVerifierV2VerificationsActiveVerificationsCollectionDataPENDINGDOMAINTLDVERIFICATIONTYPE } from 'hostinger-api-sdk';
18
+
19
+ const instance: DomainAccessVerifierV2VerificationsActiveVerificationsCollectionDataPENDINGDOMAINTLDVERIFICATIONTYPE = {
20
+ records,
21
+ last_verification_attempt,
22
+ next_verification_attempt,
23
+ verification_expiration,
24
+ };
25
+ ```
26
+
27
+ [[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,21 @@
1
+ # DomainAccessVerifierV2VerificationsActiveVerificationsCollectionDataVERIFIED
2
+
3
+ Verified verifications grouped by domain. Keys are domain names (e.g., \"byte.tld\"). This property will not be returned if no verified verifications are found.
4
+
5
+ ## Properties
6
+
7
+ Name | Type | Description | Notes
8
+ ------------ | ------------- | ------------- | -------------
9
+ **DOMAIN_TLD** | [**DomainAccessVerifierV2VerificationsActiveVerificationsCollectionDataVERIFIEDDOMAINTLD**](DomainAccessVerifierV2VerificationsActiveVerificationsCollectionDataVERIFIEDDOMAINTLD.md) | | [optional] [default to undefined]
10
+
11
+ ## Example
12
+
13
+ ```typescript
14
+ import { DomainAccessVerifierV2VerificationsActiveVerificationsCollectionDataVERIFIED } from 'hostinger-api-sdk';
15
+
16
+ const instance: DomainAccessVerifierV2VerificationsActiveVerificationsCollectionDataVERIFIED = {
17
+ DOMAIN_TLD,
18
+ };
19
+ ```
20
+
21
+ [[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,21 @@
1
+ # DomainAccessVerifierV2VerificationsActiveVerificationsCollectionDataVERIFIEDDOMAINTLD
2
+
3
+ Domain name (example). Contains verification types as properties.
4
+
5
+ ## Properties
6
+
7
+ Name | Type | Description | Notes
8
+ ------------ | ------------- | ------------- | -------------
9
+ **VERIFICATION_TYPE** | [**DomainAccessVerifierV2VerificationsActiveVerificationsCollectionDataVERIFIEDDOMAINTLDVERIFICATIONTYPE**](DomainAccessVerifierV2VerificationsActiveVerificationsCollectionDataVERIFIEDDOMAINTLDVERIFICATIONTYPE.md) | | [optional] [default to undefined]
10
+
11
+ ## Example
12
+
13
+ ```typescript
14
+ import { DomainAccessVerifierV2VerificationsActiveVerificationsCollectionDataVERIFIEDDOMAINTLD } from 'hostinger-api-sdk';
15
+
16
+ const instance: DomainAccessVerifierV2VerificationsActiveVerificationsCollectionDataVERIFIEDDOMAINTLD = {
17
+ VERIFICATION_TYPE,
18
+ };
19
+ ```
20
+
21
+ [[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,21 @@
1
+ # DomainAccessVerifierV2VerificationsActiveVerificationsCollectionDataVERIFIEDDOMAINTLDVERIFICATIONTYPE
2
+
3
+ Verification type (e.g., \"NAMESERVERS\", \"TXT\"). Only verification types that exist for this domain will be present.
4
+
5
+ ## Properties
6
+
7
+ Name | Type | Description | Notes
8
+ ------------ | ------------- | ------------- | -------------
9
+ **records** | **Array<string>** | Verification records | [optional] [default to undefined]
10
+
11
+ ## Example
12
+
13
+ ```typescript
14
+ import { DomainAccessVerifierV2VerificationsActiveVerificationsCollectionDataVERIFIEDDOMAINTLDVERIFICATIONTYPE } from 'hostinger-api-sdk';
15
+
16
+ const instance: DomainAccessVerifierV2VerificationsActiveVerificationsCollectionDataVERIFIEDDOMAINTLDVERIFICATIONTYPE = {
17
+ records,
18
+ };
19
+ ```
20
+
21
+ [[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,20 @@
1
+ # DomainAccessVerifierV2VerificationsListRequest
2
+
3
+
4
+ ## Properties
5
+
6
+ Name | Type | Description | Notes
7
+ ------------ | ------------- | ------------- | -------------
8
+ **domains** | **Array<string>** | The list of domains for which to get verification details for. | [default to undefined]
9
+
10
+ ## Example
11
+
12
+ ```typescript
13
+ import { DomainAccessVerifierV2VerificationsListRequest } from 'hostinger-api-sdk';
14
+
15
+ const instance: DomainAccessVerifierV2VerificationsListRequest = {
16
+ domains,
17
+ };
18
+ ```
19
+
20
+ [[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,63 @@
1
+ # DomainAccessVerifierVerificationsApi
2
+
3
+ All URIs are relative to *https://developers.hostinger.com*
4
+
5
+ |Method | HTTP request | Description|
6
+ |------------- | ------------- | -------------|
7
+ |[**getDomainVerificationsDIRECT**](#getdomainverificationsdirect) | **GET** /api/v2/direct/verifications/active | Get domain verifications|
8
+
9
+ # **getDomainVerificationsDIRECT**
10
+ > DomainAccessVerifierV2VerificationsActiveVerificationsCollection getDomainVerificationsDIRECT(domainAccessVerifierV2VerificationsListRequest)
11
+
12
+ Retrieve a list of pending and completed domain verifications.
13
+
14
+ ### Example
15
+
16
+ ```typescript
17
+ import {
18
+ DomainAccessVerifierVerificationsApi,
19
+ Configuration,
20
+ DomainAccessVerifierV2VerificationsListRequest
21
+ } from 'hostinger-api-sdk';
22
+
23
+ const configuration = new Configuration();
24
+ const apiInstance = new DomainAccessVerifierVerificationsApi(configuration);
25
+
26
+ let domainAccessVerifierV2VerificationsListRequest: DomainAccessVerifierV2VerificationsListRequest; //
27
+
28
+ const { status, data } = await apiInstance.getDomainVerificationsDIRECT(
29
+ domainAccessVerifierV2VerificationsListRequest
30
+ );
31
+ ```
32
+
33
+ ### Parameters
34
+
35
+ |Name | Type | Description | Notes|
36
+ |------------- | ------------- | ------------- | -------------|
37
+ | **domainAccessVerifierV2VerificationsListRequest** | **DomainAccessVerifierV2VerificationsListRequest**| | |
38
+
39
+
40
+ ### Return type
41
+
42
+ **DomainAccessVerifierV2VerificationsActiveVerificationsCollection**
43
+
44
+ ### Authorization
45
+
46
+ [apiToken](../README.md#apiToken)
47
+
48
+ ### HTTP request headers
49
+
50
+ - **Content-Type**: application/json
51
+ - **Accept**: application/json
52
+
53
+
54
+ ### HTTP response details
55
+ | Status code | Description | Response headers |
56
+ |-------------|-------------|------------------|
57
+ |**200** | Success response | - |
58
+ |**401** | Unauthenticated response | - |
59
+ |**422** | Validation error response | - |
60
+ |**500** | Error response | - |
61
+
62
+ [[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)
63
+
@@ -327,7 +327,7 @@ This endpoint does not have any parameters.
327
327
  # **purchaseNewDomainV1**
328
328
  > BillingV1OrderOrderResource purchaseNewDomainV1(domainsV1PortfolioPurchaseRequest)
329
329
 
330
- Purchase and register a new domain name. If registration fails, login to [hPanel](https://hpanel.hostinger.com/) and check domain registration status. If no payment method is provided, your default payment method will be used automatically. 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 completing purchase. Use this endpoint to register new domains for users.
330
+ Purchase and register a new domain name. If registration fails, login to [hPanel](https://hpanel.hostinger.com/) and check domain registration status. If no payment method is provided, your default payment method will be used automatically. 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 completing purchase. Use this endpoint to register new domains for users.
331
331
 
332
332
  ### Example
333
333
 
@@ -0,0 +1,22 @@
1
+ # EcommerceGetStoresV1200Response
2
+
3
+
4
+ ## Properties
5
+
6
+ Name | Type | Description | Notes
7
+ ------------ | ------------- | ------------- | -------------
8
+ **data** | [**Array<EcommerceV1StoreStoreResource>**](EcommerceV1StoreStoreResource.md) | Array of [`Ecommerce.V1.Store.StoreResource`](#model/ecommercev1storestoreresource) | [optional] [default to undefined]
9
+ **meta** | [**CommonSchemaPaginationMetaSchema**](CommonSchemaPaginationMetaSchema.md) | | [optional] [default to undefined]
10
+
11
+ ## Example
12
+
13
+ ```typescript
14
+ import { EcommerceGetStoresV1200Response } from 'hostinger-api-sdk';
15
+
16
+ const instance: EcommerceGetStoresV1200Response = {
17
+ data,
18
+ meta,
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)