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
@@ -0,0 +1,199 @@
1
+ # HostingNodeJSApi
2
+
3
+ All URIs are relative to *https://developers.hostinger.com*
4
+
5
+ |Method | HTTP request | Description|
6
+ |------------- | ------------- | -------------|
7
+ |[**createNodeJSBuildFromArchiveV1**](#createnodejsbuildfromarchivev1) | **POST** /api/hosting/v1/accounts/{username}/websites/{domain}/nodejs/builds/from-archive | Create NodeJS build from archive|
8
+ |[**getNodeJSBuildLogsV1**](#getnodejsbuildlogsv1) | **GET** /api/hosting/v1/accounts/{username}/websites/{domain}/nodejs/builds/{uuid}/logs | Get NodeJS build logs|
9
+ |[**listNodeJSBuildsV1**](#listnodejsbuildsv1) | **GET** /api/hosting/v1/accounts/{username}/websites/{domain}/nodejs/builds | List NodeJS builds|
10
+
11
+ # **createNodeJSBuildFromArchiveV1**
12
+ > HostingV1NodeJsBuildResource createNodeJSBuildFromArchiveV1(hostingV1NodeJsCreateFromArchiveRequest)
13
+
14
+ Upload a project archive, auto-detect build settings, and immediately start a Node.js build. This is the recommended single-step approach for deploying a Node.js application. The archive is uploaded to the website\'s file storage, build settings are auto-detected from the package.json inside the archive, and the build process starts automatically. Optional override fields take precedence over auto-detected values. Maximum archive size is 50MB. Before archiving, exclude `node_modules/` and any build output directories (e.g. `dist/`, `.next/`, `build/`) — they are not needed because the build process runs the install step automatically, and including them unnecessarily increases the archive size. This also helps keep the archive well under the 50MB limit. Example (zip): ``` zip -r archive.zip . --exclude \"node_modules/_*\" --exclude \"dist/_*\" ``` The returned build `uuid` can be used to poll progress and retrieve logs via the `Get Node.js Build Logs` endpoint.
15
+
16
+ ### Example
17
+
18
+ ```typescript
19
+ import {
20
+ HostingNodeJSApi,
21
+ Configuration,
22
+ HostingV1NodeJsCreateFromArchiveRequest
23
+ } from 'hostinger-api-sdk';
24
+
25
+ const configuration = new Configuration();
26
+ const apiInstance = new HostingNodeJSApi(configuration);
27
+
28
+ let username: string; // (default to undefined)
29
+ let domain: string; //Domain name (default to undefined)
30
+ let hostingV1NodeJsCreateFromArchiveRequest: HostingV1NodeJsCreateFromArchiveRequest; //
31
+
32
+ const { status, data } = await apiInstance.createNodeJSBuildFromArchiveV1(
33
+ username,
34
+ domain,
35
+ hostingV1NodeJsCreateFromArchiveRequest
36
+ );
37
+ ```
38
+
39
+ ### Parameters
40
+
41
+ |Name | Type | Description | Notes|
42
+ |------------- | ------------- | ------------- | -------------|
43
+ | **hostingV1NodeJsCreateFromArchiveRequest** | **HostingV1NodeJsCreateFromArchiveRequest**| | |
44
+ | **username** | [**string**] | | defaults to undefined|
45
+ | **domain** | [**string**] | Domain name | defaults to undefined|
46
+
47
+
48
+ ### Return type
49
+
50
+ **HostingV1NodeJsBuildResource**
51
+
52
+ ### Authorization
53
+
54
+ [apiToken](../README.md#apiToken)
55
+
56
+ ### HTTP request headers
57
+
58
+ - **Content-Type**: application/json
59
+ - **Accept**: application/json
60
+
61
+
62
+ ### HTTP response details
63
+ | Status code | Description | Response headers |
64
+ |-------------|-------------|------------------|
65
+ |**200** | Success response | - |
66
+ |**422** | Validation error response | - |
67
+ |**401** | Unauthenticated response | - |
68
+ |**500** | Error response | - |
69
+
70
+ [[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)
71
+
72
+ # **getNodeJSBuildLogsV1**
73
+ > HostingV1NodeJsBuildLogsResource getNodeJSBuildLogsV1()
74
+
75
+ Retrieve logs from a specific Node.js build process. To stream live output while a build is running, poll this endpoint repeatedly while the build state is `running`, passing the previously returned `lines` count as `from_line` to fetch only new output since the last call. Log content may contain ANSI escape sequences (color codes).
76
+
77
+ ### Example
78
+
79
+ ```typescript
80
+ import {
81
+ HostingNodeJSApi,
82
+ Configuration
83
+ } from 'hostinger-api-sdk';
84
+
85
+ const configuration = new Configuration();
86
+ const apiInstance = new HostingNodeJSApi(configuration);
87
+
88
+ let username: string; // (default to undefined)
89
+ let domain: string; //Domain name (default to undefined)
90
+ let uuid: string; //Build UUID (default to undefined)
91
+ let fromLine: number; //Line from which to start retrieving logs (optional) (default to 0)
92
+
93
+ const { status, data } = await apiInstance.getNodeJSBuildLogsV1(
94
+ username,
95
+ domain,
96
+ uuid,
97
+ fromLine
98
+ );
99
+ ```
100
+
101
+ ### Parameters
102
+
103
+ |Name | Type | Description | Notes|
104
+ |------------- | ------------- | ------------- | -------------|
105
+ | **username** | [**string**] | | defaults to undefined|
106
+ | **domain** | [**string**] | Domain name | defaults to undefined|
107
+ | **uuid** | [**string**] | Build UUID | defaults to undefined|
108
+ | **fromLine** | [**number**] | Line from which to start retrieving logs | (optional) defaults to 0|
109
+
110
+
111
+ ### Return type
112
+
113
+ **HostingV1NodeJsBuildLogsResource**
114
+
115
+ ### Authorization
116
+
117
+ [apiToken](../README.md#apiToken)
118
+
119
+ ### HTTP request headers
120
+
121
+ - **Content-Type**: Not defined
122
+ - **Accept**: application/json
123
+
124
+
125
+ ### HTTP response details
126
+ | Status code | Description | Response headers |
127
+ |-------------|-------------|------------------|
128
+ |**200** | Success response | - |
129
+ |**422** | Validation error response | - |
130
+ |**401** | Unauthenticated response | - |
131
+ |**500** | Error response | - |
132
+
133
+ [[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)
134
+
135
+ # **listNodeJSBuildsV1**
136
+ > HostingListNodeJSBuildsV1200Response listNodeJSBuildsV1()
137
+
138
+ Retrieve a paginated list of Node.js build processes for a specific website. Each build represents a single run of the Node.js build pipeline. Use the `states` query parameter to filter results by build state (pending, running, completed, failed). Use the `uuid` from a build to poll its output via the `Get Node.js Build Logs` endpoint.
139
+
140
+ ### Example
141
+
142
+ ```typescript
143
+ import {
144
+ HostingNodeJSApi,
145
+ Configuration
146
+ } from 'hostinger-api-sdk';
147
+
148
+ const configuration = new Configuration();
149
+ const apiInstance = new HostingNodeJSApi(configuration);
150
+
151
+ let username: string; // (default to undefined)
152
+ let domain: string; //Domain name (default to undefined)
153
+ let page: number; //Page number (optional) (default to undefined)
154
+ let perPage: number; //Number of items per page (optional) (default to 25)
155
+ let states: Array<'pending' | 'running' | 'completed' | 'failed'>; //Build states to filter by (optional) (default to undefined)
156
+
157
+ const { status, data } = await apiInstance.listNodeJSBuildsV1(
158
+ username,
159
+ domain,
160
+ page,
161
+ perPage,
162
+ states
163
+ );
164
+ ```
165
+
166
+ ### Parameters
167
+
168
+ |Name | Type | Description | Notes|
169
+ |------------- | ------------- | ------------- | -------------|
170
+ | **username** | [**string**] | | defaults to undefined|
171
+ | **domain** | [**string**] | Domain name | defaults to undefined|
172
+ | **page** | [**number**] | Page number | (optional) defaults to undefined|
173
+ | **perPage** | [**number**] | Number of items per page | (optional) defaults to 25|
174
+ | **states** | **Array<&#39;pending&#39; &#124; &#39;running&#39; &#124; &#39;completed&#39; &#124; &#39;failed&#39;>** | Build states to filter by | (optional) defaults to undefined|
175
+
176
+
177
+ ### Return type
178
+
179
+ **HostingListNodeJSBuildsV1200Response**
180
+
181
+ ### Authorization
182
+
183
+ [apiToken](../README.md#apiToken)
184
+
185
+ ### HTTP request headers
186
+
187
+ - **Content-Type**: Not defined
188
+ - **Accept**: application/json
189
+
190
+
191
+ ### HTTP response details
192
+ | Status code | Description | Response headers |
193
+ |-------------|-------------|------------------|
194
+ |**200** | Success response | - |
195
+ |**401** | Unauthenticated response | - |
196
+ |**500** | Error response | - |
197
+
198
+ [[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)
199
+
@@ -0,0 +1,70 @@
1
+ # HostingOrdersApi
2
+
3
+ All URIs are relative to *https://developers.hostinger.com*
4
+
5
+ |Method | HTTP request | Description|
6
+ |------------- | ------------- | -------------|
7
+ |[**listOrdersV1**](#listordersv1) | **GET** /api/hosting/v1/orders | List orders|
8
+
9
+ # **listOrdersV1**
10
+ > HostingListOrdersV1200Response listOrdersV1()
11
+
12
+ Retrieve a paginated list of orders accessible to the authenticated client. This endpoint returns orders of your hosting accounts as well as orders of other client hosting accounts that have shared access with you. Use the available query parameters to filter results by order statuses or specific order IDs for more targeted results.
13
+
14
+ ### Example
15
+
16
+ ```typescript
17
+ import {
18
+ HostingOrdersApi,
19
+ Configuration
20
+ } from 'hostinger-api-sdk';
21
+
22
+ const configuration = new Configuration();
23
+ const apiInstance = new HostingOrdersApi(configuration);
24
+
25
+ let page: number; //Page number (optional) (default to undefined)
26
+ let perPage: number; //Number of items per page (optional) (default to 25)
27
+ let statuses: Array<'active' | 'deleting' | 'deleted' | 'suspended'>; //Filter by order statuses (optional) (default to undefined)
28
+ let orderIds: Array<number>; //Filter by specific order IDs (optional) (default to undefined)
29
+
30
+ const { status, data } = await apiInstance.listOrdersV1(
31
+ page,
32
+ perPage,
33
+ statuses,
34
+ orderIds
35
+ );
36
+ ```
37
+
38
+ ### Parameters
39
+
40
+ |Name | Type | Description | Notes|
41
+ |------------- | ------------- | ------------- | -------------|
42
+ | **page** | [**number**] | Page number | (optional) defaults to undefined|
43
+ | **perPage** | [**number**] | Number of items per page | (optional) defaults to 25|
44
+ | **statuses** | **Array<&#39;active&#39; &#124; &#39;deleting&#39; &#124; &#39;deleted&#39; &#124; &#39;suspended&#39;>** | Filter by order statuses | (optional) defaults to undefined|
45
+ | **orderIds** | **Array&lt;number&gt;** | Filter by specific order IDs | (optional) defaults to undefined|
46
+
47
+
48
+ ### Return type
49
+
50
+ **HostingListOrdersV1200Response**
51
+
52
+ ### Authorization
53
+
54
+ [apiToken](../README.md#apiToken)
55
+
56
+ ### HTTP request headers
57
+
58
+ - **Content-Type**: Not defined
59
+ - **Accept**: application/json
60
+
61
+
62
+ ### HTTP response details
63
+ | Status code | Description | Response headers |
64
+ |-------------|-------------|------------------|
65
+ |**200** | Success response | - |
66
+ |**401** | Unauthenticated response | - |
67
+ |**500** | Error response | - |
68
+
69
+ [[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)
70
+
@@ -0,0 +1,20 @@
1
+ # HostingV1DatabasesChangeDatabasePasswordRequest
2
+
3
+
4
+ ## Properties
5
+
6
+ Name | Type | Description | Notes
7
+ ------------ | ------------- | ------------- | -------------
8
+ **password** | **string** | New database user password. | [default to undefined]
9
+
10
+ ## Example
11
+
12
+ ```typescript
13
+ import { HostingV1DatabasesChangeDatabasePasswordRequest } from 'hostinger-api-sdk';
14
+
15
+ const instance: HostingV1DatabasesChangeDatabasePasswordRequest = {
16
+ password,
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,26 @@
1
+ # HostingV1DatabasesCreateDatabaseRequest
2
+
3
+
4
+ ## Properties
5
+
6
+ Name | Type | Description | Notes
7
+ ------------ | ------------- | ------------- | -------------
8
+ **name** | **string** | Database name. If the account username prefix is omitted, it is added automatically. | [default to undefined]
9
+ **user** | **string** | Database user. If the account username prefix is omitted, it is added automatically. | [default to undefined]
10
+ **password** | **string** | Database user password. | [default to undefined]
11
+ **website_domain** | **string** | Website domain assigned to the database. | [default to undefined]
12
+
13
+ ## Example
14
+
15
+ ```typescript
16
+ import { HostingV1DatabasesCreateDatabaseRequest } from 'hostinger-api-sdk';
17
+
18
+ const instance: HostingV1DatabasesCreateDatabaseRequest = {
19
+ name,
20
+ user,
21
+ password,
22
+ website_domain,
23
+ };
24
+ ```
25
+
26
+ [[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,34 @@
1
+ # HostingV1DatabasesDatabaseResource
2
+
3
+
4
+ ## Properties
5
+
6
+ Name | Type | Description | Notes
7
+ ------------ | ------------- | ------------- | -------------
8
+ **name** | **string** | Database name. | [optional] [default to undefined]
9
+ **user** | **string** | Database user. | [optional] [default to undefined]
10
+ **domain** | **string** | Domain assigned to the database, or null when the database is unassigned. | [optional] [default to undefined]
11
+ **permissions** | **object** | Database user permissions keyed by permission name. | [optional] [default to undefined]
12
+ **created_at** | **string** | Database creation date in ISO 8601 format. | [optional] [default to undefined]
13
+ **updated_at** | **string** | Database last update date in ISO 8601 format. | [optional] [default to undefined]
14
+ **disk_usage_mb** | **number** | Current database disk usage in megabytes. | [optional] [default to undefined]
15
+ **max_size_mb** | **number** | Maximum allowed database size in megabytes. | [optional] [default to undefined]
16
+
17
+ ## Example
18
+
19
+ ```typescript
20
+ import { HostingV1DatabasesDatabaseResource } from 'hostinger-api-sdk';
21
+
22
+ const instance: HostingV1DatabasesDatabaseResource = {
23
+ name,
24
+ user,
25
+ domain,
26
+ permissions,
27
+ created_at,
28
+ updated_at,
29
+ disk_usage_mb,
30
+ max_size_mb,
31
+ };
32
+ ```
33
+
34
+ [[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
+ # HostingV1DatabasesPhpMyAdminLinkResource
2
+
3
+
4
+ ## Properties
5
+
6
+ Name | Type | Description | Notes
7
+ ------------ | ------------- | ------------- | -------------
8
+ **link** | **string** | Direct sign-on URL to phpMyAdmin for the specified database. | [default to undefined]
9
+
10
+ ## Example
11
+
12
+ ```typescript
13
+ import { HostingV1DatabasesPhpMyAdminLinkResource } from 'hostinger-api-sdk';
14
+
15
+ const instance: HostingV1DatabasesPhpMyAdminLinkResource = {
16
+ link,
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,22 @@
1
+ # HostingV1DatacenterCoordinatesResource
2
+
3
+
4
+ ## Properties
5
+
6
+ Name | Type | Description | Notes
7
+ ------------ | ------------- | ------------- | -------------
8
+ **latitude** | **number** | Latitude coordinate | [optional] [default to undefined]
9
+ **longitude** | **number** | Longitude coordinate | [optional] [default to undefined]
10
+
11
+ ## Example
12
+
13
+ ```typescript
14
+ import { HostingV1DatacenterCoordinatesResource } from 'hostinger-api-sdk';
15
+
16
+ const instance: HostingV1DatacenterCoordinatesResource = {
17
+ latitude,
18
+ longitude,
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
+ # HostingV1DatacenterDatacenterResource
2
+
3
+
4
+ ## Properties
5
+
6
+ Name | Type | Description | Notes
7
+ ------------ | ------------- | ------------- | -------------
8
+ **title** | **string** | Data center title | [optional] [default to undefined]
9
+ **code** | **string** | Data center code | [optional] [default to undefined]
10
+ **coordinates** | [**HostingV1DatacenterCoordinatesResource**](HostingV1DatacenterCoordinatesResource.md) | | [optional] [default to undefined]
11
+
12
+ ## Example
13
+
14
+ ```typescript
15
+ import { HostingV1DatacenterDatacenterResource } from 'hostinger-api-sdk';
16
+
17
+ const instance: HostingV1DatacenterDatacenterResource = {
18
+ title,
19
+ code,
20
+ coordinates,
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)
@@ -0,0 +1,20 @@
1
+ # HostingV1DatacentersListRequest
2
+
3
+
4
+ ## Properties
5
+
6
+ Name | Type | Description | Notes
7
+ ------------ | ------------- | ------------- | -------------
8
+ **order_id** | **number** | | [default to undefined]
9
+
10
+ ## Example
11
+
12
+ ```typescript
13
+ import { HostingV1DatacentersListRequest } from 'hostinger-api-sdk';
14
+
15
+ const instance: HostingV1DatacentersListRequest = {
16
+ order_id,
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,20 @@
1
+ # HostingV1DomainsCreateParkedDomainRequest
2
+
3
+
4
+ ## Properties
5
+
6
+ Name | Type | Description | Notes
7
+ ------------ | ------------- | ------------- | -------------
8
+ **parked_domain** | **string** | Domain name or IP address to park on the selected website | [default to undefined]
9
+
10
+ ## Example
11
+
12
+ ```typescript
13
+ import { HostingV1DomainsCreateParkedDomainRequest } from 'hostinger-api-sdk';
14
+
15
+ const instance: HostingV1DomainsCreateParkedDomainRequest = {
16
+ parked_domain,
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,24 @@
1
+ # HostingV1DomainsCreateSubdomainRequest
2
+
3
+
4
+ ## Properties
5
+
6
+ Name | Type | Description | Notes
7
+ ------------ | ------------- | ------------- | -------------
8
+ **subdomain** | **string** | Subdomain prefix to create under the selected website | [default to undefined]
9
+ **directory** | **string** | Directory name for the subdomain relative to the website root | [optional] [default to undefined]
10
+ **is_using_public_directory** | **boolean** | Use the website public directory as the subdomain root directory | [optional] [default to undefined]
11
+
12
+ ## Example
13
+
14
+ ```typescript
15
+ import { HostingV1DomainsCreateSubdomainRequest } from 'hostinger-api-sdk';
16
+
17
+ const instance: HostingV1DomainsCreateSubdomainRequest = {
18
+ subdomain,
19
+ directory,
20
+ is_using_public_directory,
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)
@@ -0,0 +1,24 @@
1
+ # HostingV1DomainsDomainAccessResource
2
+
3
+
4
+ ## Properties
5
+
6
+ Name | Type | Description | Notes
7
+ ------------ | ------------- | ------------- | -------------
8
+ **domain** | **string** | Domain name | [optional] [default to undefined]
9
+ **is_accessible** | **boolean** | Whether domain is accessible | [optional] [default to undefined]
10
+ **txt_to_verify** | **string** | TXT record for verification | [optional] [default to undefined]
11
+
12
+ ## Example
13
+
14
+ ```typescript
15
+ import { HostingV1DomainsDomainAccessResource } from 'hostinger-api-sdk';
16
+
17
+ const instance: HostingV1DomainsDomainAccessResource = {
18
+ domain,
19
+ is_accessible,
20
+ txt_to_verify,
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)
@@ -0,0 +1,20 @@
1
+ # HostingV1DomainsFreeSubdomainResource
2
+
3
+
4
+ ## Properties
5
+
6
+ Name | Type | Description | Notes
7
+ ------------ | ------------- | ------------- | -------------
8
+ **domain** | **string** | Generated free subdomain | [optional] [default to undefined]
9
+
10
+ ## Example
11
+
12
+ ```typescript
13
+ import { HostingV1DomainsFreeSubdomainResource } from 'hostinger-api-sdk';
14
+
15
+ const instance: HostingV1DomainsFreeSubdomainResource = {
16
+ domain,
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,28 @@
1
+ # HostingV1DomainsParkedDomainResource
2
+
3
+
4
+ ## Properties
5
+
6
+ Name | Type | Description | Notes
7
+ ------------ | ------------- | ------------- | -------------
8
+ **username** | **string** | Website username | [optional] [default to undefined]
9
+ **domain** | **string** | Parked domain name or IP address | [optional] [default to undefined]
10
+ **parent_domain** | **string** | Parent website domain | [optional] [default to undefined]
11
+ **root_directory** | **string** | Parked domain root directory | [optional] [default to undefined]
12
+ **type** | **string** | Whether the parked value is a domain name or an IP address (IPv4 or IPv6) | [optional] [default to undefined]
13
+
14
+ ## Example
15
+
16
+ ```typescript
17
+ import { HostingV1DomainsParkedDomainResource } from 'hostinger-api-sdk';
18
+
19
+ const instance: HostingV1DomainsParkedDomainResource = {
20
+ username,
21
+ domain,
22
+ parent_domain,
23
+ root_directory,
24
+ type,
25
+ };
26
+ ```
27
+
28
+ [[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,28 @@
1
+ # HostingV1DomainsSubdomainResource
2
+
3
+
4
+ ## Properties
5
+
6
+ Name | Type | Description | Notes
7
+ ------------ | ------------- | ------------- | -------------
8
+ **username** | **string** | Website username | [optional] [default to undefined]
9
+ **domain** | **string** | Full subdomain | [optional] [default to undefined]
10
+ **parent_domain** | **string** | Parent website domain | [optional] [default to undefined]
11
+ **root_directory** | **string** | Subdomain root directory | [optional] [default to undefined]
12
+ **subdomain** | **string** | Subdomain prefix | [optional] [default to undefined]
13
+
14
+ ## Example
15
+
16
+ ```typescript
17
+ import { HostingV1DomainsSubdomainResource } from 'hostinger-api-sdk';
18
+
19
+ const instance: HostingV1DomainsSubdomainResource = {
20
+ username,
21
+ domain,
22
+ parent_domain,
23
+ root_directory,
24
+ subdomain,
25
+ };
26
+ ```
27
+
28
+ [[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
+ # HostingV1DomainsVerifyOwnershipRequest
2
+
3
+
4
+ ## Properties
5
+
6
+ Name | Type | Description | Notes
7
+ ------------ | ------------- | ------------- | -------------
8
+ **domain** | **string** | Domain to verify ownership for | [default to undefined]
9
+
10
+ ## Example
11
+
12
+ ```typescript
13
+ import { HostingV1DomainsVerifyOwnershipRequest } from 'hostinger-api-sdk';
14
+
15
+ const instance: HostingV1DomainsVerifyOwnershipRequest = {
16
+ domain,
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,22 @@
1
+ # HostingV1NodeJsBuildLogsResource
2
+
3
+
4
+ ## Properties
5
+
6
+ Name | Type | Description | Notes
7
+ ------------ | ------------- | ------------- | -------------
8
+ **logs** | **string** | Logs from the build process, may contain ANSI escape sequences (for colors, etc.) | [default to undefined]
9
+ **lines** | **number** | Number of log lines returned | [default to undefined]
10
+
11
+ ## Example
12
+
13
+ ```typescript
14
+ import { HostingV1NodeJsBuildLogsResource } from 'hostinger-api-sdk';
15
+
16
+ const instance: HostingV1NodeJsBuildLogsResource = {
17
+ logs,
18
+ lines,
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,36 @@
1
+ # HostingV1NodeJsBuildOptionsResource
2
+
3
+
4
+ ## Properties
5
+
6
+ Name | Type | Description | Notes
7
+ ------------ | ------------- | ------------- | -------------
8
+ **node_version** | **number** | Node.js version | [default to undefined]
9
+ **app_type** | **string** | Node.js application type | [default to undefined]
10
+ **root_directory** | **string** | Application root directory | [default to undefined]
11
+ **output_directory** | **string** | Build output directory | [default to undefined]
12
+ **build_script** | **string** | The npm script to run to build the application | [default to undefined]
13
+ **entry_file** | **string** | The main entry point file for the application | [default to undefined]
14
+ **package_manager** | **string** | Package manager | [default to undefined]
15
+ **source_type** | **string** | Source type for the build | [default to undefined]
16
+ **source_options** | [**HostingV1NodeJsSourceOptionsResource**](HostingV1NodeJsSourceOptionsResource.md) | | [default to undefined]
17
+
18
+ ## Example
19
+
20
+ ```typescript
21
+ import { HostingV1NodeJsBuildOptionsResource } from 'hostinger-api-sdk';
22
+
23
+ const instance: HostingV1NodeJsBuildOptionsResource = {
24
+ node_version,
25
+ app_type,
26
+ root_directory,
27
+ output_directory,
28
+ build_script,
29
+ entry_file,
30
+ package_manager,
31
+ source_type,
32
+ source_options,
33
+ };
34
+ ```
35
+
36
+ [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)