hostinger-api-sdk 0.0.17 → 0.0.20

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 (127) hide show
  1. package/.github/workflows/build-release.yaml +28 -11
  2. package/README.md +2 -2
  3. package/api.ts +8387 -2618
  4. package/base.ts +1 -1
  5. package/common.ts +1 -1
  6. package/configuration.ts +2 -2
  7. package/dist/api.d.ts +5666 -1808
  8. package/dist/api.js +4008 -376
  9. package/dist/base.d.ts +1 -1
  10. package/dist/base.js +1 -1
  11. package/dist/common.d.ts +1 -1
  12. package/dist/common.js +1 -1
  13. package/dist/configuration.d.ts +1 -1
  14. package/dist/configuration.js +2 -2
  15. package/dist/esm/api.d.ts +5666 -1808
  16. package/dist/esm/api.js +3939 -365
  17. package/dist/esm/base.d.ts +1 -1
  18. package/dist/esm/base.js +1 -1
  19. package/dist/esm/common.d.ts +1 -1
  20. package/dist/esm/common.js +1 -1
  21. package/dist/esm/configuration.d.ts +1 -1
  22. package/dist/esm/configuration.js +2 -2
  23. package/dist/esm/index.d.ts +1 -1
  24. package/dist/esm/index.js +1 -1
  25. package/dist/index.d.ts +1 -1
  26. package/dist/index.js +1 -1
  27. package/docs/BillingSubscriptionsApi.md +0 -59
  28. package/docs/BillingV1CatalogCatalogItemResource.md +1 -1
  29. package/docs/DomainAccessVerifierV2VerificationsActiveVerificationsCollection.md +21 -0
  30. package/docs/DomainAccessVerifierV2VerificationsActiveVerificationsCollectionData.md +23 -0
  31. package/docs/DomainAccessVerifierV2VerificationsActiveVerificationsCollectionDataPENDING.md +21 -0
  32. package/docs/DomainAccessVerifierV2VerificationsActiveVerificationsCollectionDataPENDINGDOMAINTLD.md +21 -0
  33. package/docs/DomainAccessVerifierV2VerificationsActiveVerificationsCollectionDataPENDINGDOMAINTLDVERIFICATIONTYPE.md +27 -0
  34. package/docs/DomainAccessVerifierV2VerificationsActiveVerificationsCollectionDataVERIFIED.md +21 -0
  35. package/docs/DomainAccessVerifierV2VerificationsActiveVerificationsCollectionDataVERIFIEDDOMAINTLD.md +21 -0
  36. package/docs/DomainAccessVerifierV2VerificationsActiveVerificationsCollectionDataVERIFIEDDOMAINTLDVERIFICATIONTYPE.md +21 -0
  37. package/docs/DomainAccessVerifierV2VerificationsListRequest.md +20 -0
  38. package/docs/DomainAccessVerifierVerificationsApi.md +63 -0
  39. package/docs/DomainsPortfolioApi.md +1 -1
  40. package/docs/EcommerceGetStoresV1200Response.md +22 -0
  41. package/docs/EcommercePaymentsApi.md +66 -0
  42. package/docs/EcommerceProductsApi.md +125 -0
  43. package/docs/EcommerceShippingApi.md +66 -0
  44. package/docs/EcommerceStoresApi.md +171 -0
  45. package/docs/EcommerceV1PaymentEnableManualPaymentRequest.md +20 -0
  46. package/docs/EcommerceV1PaymentManualPaymentResource.md +22 -0
  47. package/docs/EcommerceV1PaymentManualPaymentResourcePaymentMethod.md +26 -0
  48. package/docs/EcommerceV1ProductCreateDigitalProductRequest.md +28 -0
  49. package/docs/EcommerceV1ProductCreatePhysicalProductRequest.md +26 -0
  50. package/docs/EcommerceV1ProductProductCreationResource.md +22 -0
  51. package/docs/EcommerceV1ProductProductCreationResourceProduct.md +30 -0
  52. package/docs/EcommerceV1ShippingSetShippingRequest.md +20 -0
  53. package/docs/EcommerceV1ShippingShippingResource.md +22 -0
  54. package/docs/EcommerceV1ShippingShippingResourceShippingOption.md +24 -0
  55. package/docs/EcommerceV1StoreStoreCreationResource.md +22 -0
  56. package/docs/EcommerceV1StoreStoreCreationResourceSalesChannel.md +24 -0
  57. package/docs/EcommerceV1StoreStoreCreationResourceStore.md +30 -0
  58. package/docs/EcommerceV1StoreStoreDeleteResource.md +22 -0
  59. package/docs/EcommerceV1StoreStoreRequest.md +30 -0
  60. package/docs/EcommerceV1StoreStoreRequestSalesChannel.md +22 -0
  61. package/docs/EcommerceV1StoreStoreResource.md +30 -0
  62. package/docs/HorizonsV1WebsitesCreateWebsiteRequest.md +20 -0
  63. package/docs/HorizonsV1WebsitesCreateWebsiteRequestMessageInner.md +22 -0
  64. package/docs/HorizonsV1WebsitesCreatedWebsiteResource.md +22 -0
  65. package/docs/HorizonsV1WebsitesWebsiteUrlResource.md +20 -0
  66. package/docs/HorizonsWebsitesApi.md +117 -0
  67. package/docs/HostingDatabasesApi.md +368 -0
  68. package/docs/HostingDatacentersApi.md +61 -0
  69. package/docs/HostingDomainsApi.md +468 -0
  70. package/docs/HostingListAccountDatabasesV1200Response.md +22 -0
  71. package/docs/HostingListNodeJSBuildsV1200Response.md +22 -0
  72. package/docs/HostingListOrdersV1200Response.md +22 -0
  73. package/docs/HostingListWebsitesV1200Response.md +22 -0
  74. package/docs/HostingNodeJSApi.md +199 -0
  75. package/docs/HostingOrdersApi.md +70 -0
  76. package/docs/HostingV1DatabasesChangeDatabasePasswordRequest.md +20 -0
  77. package/docs/HostingV1DatabasesCreateDatabaseRequest.md +26 -0
  78. package/docs/HostingV1DatabasesDatabaseResource.md +34 -0
  79. package/docs/HostingV1DatabasesPhpMyAdminLinkResource.md +20 -0
  80. package/docs/HostingV1DatacenterCoordinatesResource.md +22 -0
  81. package/docs/HostingV1DatacenterDatacenterResource.md +24 -0
  82. package/docs/HostingV1DatacentersListRequest.md +20 -0
  83. package/docs/HostingV1DomainsCreateParkedDomainRequest.md +20 -0
  84. package/docs/HostingV1DomainsCreateSubdomainRequest.md +24 -0
  85. package/docs/HostingV1DomainsDomainAccessResource.md +24 -0
  86. package/docs/HostingV1DomainsFreeSubdomainResource.md +20 -0
  87. package/docs/HostingV1DomainsParkedDomainResource.md +28 -0
  88. package/docs/HostingV1DomainsSubdomainResource.md +28 -0
  89. package/docs/HostingV1DomainsVerifyOwnershipRequest.md +20 -0
  90. package/docs/HostingV1NodeJsBuildLogsResource.md +22 -0
  91. package/docs/HostingV1NodeJsBuildOptionsResource.md +36 -0
  92. package/docs/HostingV1NodeJsBuildResource.md +28 -0
  93. package/docs/HostingV1NodeJsCreateFromArchiveRequest.md +34 -0
  94. package/docs/{BillingV1OrderStoreRequestItemsInner.md → HostingV1NodeJsSourceOptionsResource.md} +5 -7
  95. package/docs/HostingV1OrdersOrderResource.md +30 -0
  96. package/docs/HostingV1OrdersPlanResource.md +20 -0
  97. package/docs/HostingV1WebsitesCreateWebsiteRequest.md +24 -0
  98. package/docs/HostingV1WebsitesWebsiteResource.md +36 -0
  99. package/docs/HostingV1WordpressInstallWordpressRequest.md +36 -0
  100. package/docs/HostingV1WordpressInstallWordpressRequestCredentials.md +25 -0
  101. package/docs/HostingV1WordpressInstallWordpressRequestDatabase.md +23 -0
  102. package/docs/HostingV1WordpressWordpressInstallationResource.md +42 -0
  103. package/docs/HostingWebsitesApi.md +132 -0
  104. package/docs/HostingWordpressApi.md +126 -0
  105. package/docs/ReachContactsApi.md +63 -4
  106. package/docs/ReachListProfileSegmentContactsV1200Response.md +22 -0
  107. package/docs/ReachProfilesApi.md +54 -0
  108. package/docs/ReachSegmentsApi.md +287 -0
  109. package/docs/ReachV1ContactsSegmentsContactSegmentResource.md +26 -0
  110. package/docs/ReachV1ContactsSegmentsSegmentResource.md +28 -0
  111. package/docs/ReachV1ContactsSegmentsSegmentationContactResource.md +34 -0
  112. package/docs/ReachV1ContactsSegmentsStoreRequest.md +24 -0
  113. package/docs/ReachV1ContactsSegmentsStoreRequestConditionsInner.md +24 -0
  114. package/docs/ReachV1ContactsSegmentsStoreRequestConditionsInnerValue.md +18 -0
  115. package/docs/ReachV1ContactsStoreRequest.md +2 -2
  116. package/docs/ReachV1ProfilesProfileResource.md +30 -0
  117. package/docs/ReachV1ProfilesProfileResourceLimits.md +26 -0
  118. package/docs/ReachV1ProfilesProfileResourceProfilesInner.md +26 -0
  119. package/docs/VPSActionsApi.md +1 -1
  120. package/docs/VPSDockerManagerApi.md +7 -7
  121. package/docs/VPSFirewallApi.md +1 -1
  122. package/docs/VPSMalwareScannerApi.md +2 -2
  123. package/docs/VPSVirtualMachineApi.md +2 -2
  124. package/index.ts +1 -1
  125. package/package.json +1 -1
  126. package/docs/BillingOrdersApi.md +0 -63
  127. package/docs/BillingV1OrderStoreRequest.md +0 -24
@@ -1,7 +1,7 @@
1
1
  /**
2
2
  * Hostinger API
3
3
  *
4
- * API Version: 0.1.16
4
+ * API Version: 0.19.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.16
6
+ * API Version: 0.19.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.16
4
+ * API Version: 0.19.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.16
6
+ * API Version: 0.19.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.16
4
+ * API Version: 0.19.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.16
6
+ * API Version: 0.19.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.17" }, (_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.20" }, (_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.16
4
+ * API Version: 0.19.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.16
6
+ * API Version: 0.19.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.16
4
+ * API Version: 0.19.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.16
7
+ * API Version: 0.19.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,69 +4,10 @@ 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|
8
7
  |[**disableAutoRenewalV1**](#disableautorenewalv1) | **DELETE** /api/billing/v1/subscriptions/{subscriptionId}/auto-renewal/disable | Disable auto-renewal|
9
8
  |[**enableAutoRenewalV1**](#enableautorenewalv1) | **PATCH** /api/billing/v1/subscriptions/{subscriptionId}/auto-renewal/enable | Enable auto-renewal|
10
9
  |[**getSubscriptionListV1**](#getsubscriptionlistv1) | **GET** /api/billing/v1/subscriptions | Get subscription list|
11
10
 
12
- # **cancelSubscriptionV1**
13
- > CommonSuccessEmptyResource cancelSubscriptionV1(billingV1SubscriptionCancelRequest)
14
-
15
- Cancel a subscription and stop any further billing. Use this endpoint when users want to terminate active services.
16
-
17
- ### Example
18
-
19
- ```typescript
20
- import {
21
- BillingSubscriptionsApi,
22
- Configuration,
23
- BillingV1SubscriptionCancelRequest
24
- } from 'hostinger-api-sdk';
25
-
26
- const configuration = new Configuration();
27
- const apiInstance = new BillingSubscriptionsApi(configuration);
28
-
29
- let subscriptionId: string; //Subscription ID (default to undefined)
30
- let billingV1SubscriptionCancelRequest: BillingV1SubscriptionCancelRequest; //
31
-
32
- const { status, data } = await apiInstance.cancelSubscriptionV1(
33
- subscriptionId,
34
- billingV1SubscriptionCancelRequest
35
- );
36
- ```
37
-
38
- ### Parameters
39
-
40
- |Name | Type | Description | Notes|
41
- |------------- | ------------- | ------------- | -------------|
42
- | **billingV1SubscriptionCancelRequest** | **BillingV1SubscriptionCancelRequest**| | |
43
- | **subscriptionId** | [**string**] | Subscription ID | defaults to undefined|
44
-
45
-
46
- ### Return type
47
-
48
- **CommonSuccessEmptyResource**
49
-
50
- ### Authorization
51
-
52
- [apiToken](../README.md#apiToken)
53
-
54
- ### HTTP request headers
55
-
56
- - **Content-Type**: application/json
57
- - **Accept**: application/json
58
-
59
-
60
- ### HTTP response details
61
- | Status code | Description | Response headers |
62
- |-------------|-------------|------------------|
63
- |**200** | Success empty response | - |
64
- |**422** | Validation error response | - |
65
- |**401** | Unauthenticated response | - |
66
- |**500** | Error response | - |
67
-
68
- [[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)
69
-
70
11
  # **disableAutoRenewalV1**
71
12
  > BillingV1SubscriptionSubscriptionResource disableAutoRenewalV1()
72
13
 
@@ -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)
@@ -0,0 +1,66 @@
1
+ # EcommercePaymentsApi
2
+
3
+ All URIs are relative to *https://developers.hostinger.com*
4
+
5
+ |Method | HTTP request | Description|
6
+ |------------- | ------------- | -------------|
7
+ |[**enableManualPaymentMethodV1**](#enablemanualpaymentmethodv1) | **POST** /api/ecommerce/v1/stores/{store_id}/payment-methods/manual | Enable manual payment method|
8
+
9
+ # **enableManualPaymentMethodV1**
10
+ > EcommerceV1PaymentManualPaymentResource enableManualPaymentMethodV1(ecommerceV1PaymentEnableManualPaymentRequest)
11
+
12
+ Enable a manual payment method so the store can accept orders without an online payment provider.
13
+
14
+ ### Example
15
+
16
+ ```typescript
17
+ import {
18
+ EcommercePaymentsApi,
19
+ Configuration,
20
+ EcommerceV1PaymentEnableManualPaymentRequest
21
+ } from 'hostinger-api-sdk';
22
+
23
+ const configuration = new Configuration();
24
+ const apiInstance = new EcommercePaymentsApi(configuration);
25
+
26
+ let storeId: string; //The ID of the store to enable manual payment for. (default to undefined)
27
+ let ecommerceV1PaymentEnableManualPaymentRequest: EcommerceV1PaymentEnableManualPaymentRequest; //
28
+
29
+ const { status, data } = await apiInstance.enableManualPaymentMethodV1(
30
+ storeId,
31
+ ecommerceV1PaymentEnableManualPaymentRequest
32
+ );
33
+ ```
34
+
35
+ ### Parameters
36
+
37
+ |Name | Type | Description | Notes|
38
+ |------------- | ------------- | ------------- | -------------|
39
+ | **ecommerceV1PaymentEnableManualPaymentRequest** | **EcommerceV1PaymentEnableManualPaymentRequest**| | |
40
+ | **storeId** | [**string**] | The ID of the store to enable manual payment for. | defaults to undefined|
41
+
42
+
43
+ ### Return type
44
+
45
+ **EcommerceV1PaymentManualPaymentResource**
46
+
47
+ ### Authorization
48
+
49
+ [apiToken](../README.md#apiToken)
50
+
51
+ ### HTTP request headers
52
+
53
+ - **Content-Type**: application/json
54
+ - **Accept**: application/json
55
+
56
+
57
+ ### HTTP response details
58
+ | Status code | Description | Response headers |
59
+ |-------------|-------------|------------------|
60
+ |**201** | Created response | - |
61
+ |**422** | Validation error response | - |
62
+ |**401** | Unauthenticated response | - |
63
+ |**500** | Error response | - |
64
+
65
+ [[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)
66
+