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,468 @@
1
+ # HostingDomainsApi
2
+
3
+ All URIs are relative to *https://developers.hostinger.com*
4
+
5
+ |Method | HTTP request | Description|
6
+ |------------- | ------------- | -------------|
7
+ |[**createWebsiteParkedDomainV1**](#createwebsiteparkeddomainv1) | **POST** /api/hosting/v1/accounts/{username}/websites/{domain}/parked-domains | Create website parked domain|
8
+ |[**createWebsiteSubdomainV1**](#createwebsitesubdomainv1) | **POST** /api/hosting/v1/accounts/{username}/websites/{domain}/subdomains | Create website subdomain|
9
+ |[**deleteWebsiteParkedDomainV1**](#deletewebsiteparkeddomainv1) | **DELETE** /api/hosting/v1/accounts/{username}/websites/{domain}/parked-domains/{parkedDomain} | Delete website parked domain|
10
+ |[**deleteWebsiteSubdomainV1**](#deletewebsitesubdomainv1) | **DELETE** /api/hosting/v1/accounts/{username}/websites/{domain}/subdomains/{subdomain} | Delete website subdomain|
11
+ |[**generateAFreeSubdomainV1**](#generateafreesubdomainv1) | **POST** /api/hosting/v1/domains/free-subdomains | Generate a free subdomain|
12
+ |[**listWebsiteParkedDomainsV1**](#listwebsiteparkeddomainsv1) | **GET** /api/hosting/v1/accounts/{username}/websites/{domain}/parked-domains | List website parked domains|
13
+ |[**listWebsiteSubdomainsV1**](#listwebsitesubdomainsv1) | **GET** /api/hosting/v1/accounts/{username}/websites/{domain}/subdomains | List website subdomains|
14
+ |[**verifyDomainOwnershipV1**](#verifydomainownershipv1) | **POST** /api/hosting/v1/domains/verify-ownership | Verify domain ownership|
15
+
16
+ # **createWebsiteParkedDomainV1**
17
+ > CommonSuccessEmptyResource createWebsiteParkedDomainV1(hostingV1DomainsCreateParkedDomainRequest)
18
+
19
+ Create a parked or alias domain for the selected website. Provide a domain name or IP address to park on the website so it serves the same content as the parent domain.
20
+
21
+ ### Example
22
+
23
+ ```typescript
24
+ import {
25
+ HostingDomainsApi,
26
+ Configuration,
27
+ HostingV1DomainsCreateParkedDomainRequest
28
+ } from 'hostinger-api-sdk';
29
+
30
+ const configuration = new Configuration();
31
+ const apiInstance = new HostingDomainsApi(configuration);
32
+
33
+ let username: string; // (default to undefined)
34
+ let domain: string; //Domain name (default to undefined)
35
+ let hostingV1DomainsCreateParkedDomainRequest: HostingV1DomainsCreateParkedDomainRequest; //
36
+
37
+ const { status, data } = await apiInstance.createWebsiteParkedDomainV1(
38
+ username,
39
+ domain,
40
+ hostingV1DomainsCreateParkedDomainRequest
41
+ );
42
+ ```
43
+
44
+ ### Parameters
45
+
46
+ |Name | Type | Description | Notes|
47
+ |------------- | ------------- | ------------- | -------------|
48
+ | **hostingV1DomainsCreateParkedDomainRequest** | **HostingV1DomainsCreateParkedDomainRequest**| | |
49
+ | **username** | [**string**] | | defaults to undefined|
50
+ | **domain** | [**string**] | Domain name | defaults to undefined|
51
+
52
+
53
+ ### Return type
54
+
55
+ **CommonSuccessEmptyResource**
56
+
57
+ ### Authorization
58
+
59
+ [apiToken](../README.md#apiToken)
60
+
61
+ ### HTTP request headers
62
+
63
+ - **Content-Type**: application/json
64
+ - **Accept**: application/json
65
+
66
+
67
+ ### HTTP response details
68
+ | Status code | Description | Response headers |
69
+ |-------------|-------------|------------------|
70
+ |**200** | Success empty response | - |
71
+ |**422** | Validation error response | - |
72
+ |**401** | Unauthenticated response | - |
73
+ |**500** | Error response | - |
74
+
75
+ [[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)
76
+
77
+ # **createWebsiteSubdomainV1**
78
+ > CommonSuccessEmptyResource createWebsiteSubdomainV1(hostingV1DomainsCreateSubdomainRequest)
79
+
80
+ Create a new subdomain for the selected website. Provide a subdomain prefix and, optionally, a custom directory or the website public directory to use as the subdomain root.
81
+
82
+ ### Example
83
+
84
+ ```typescript
85
+ import {
86
+ HostingDomainsApi,
87
+ Configuration,
88
+ HostingV1DomainsCreateSubdomainRequest
89
+ } from 'hostinger-api-sdk';
90
+
91
+ const configuration = new Configuration();
92
+ const apiInstance = new HostingDomainsApi(configuration);
93
+
94
+ let username: string; // (default to undefined)
95
+ let domain: string; //Domain name (default to undefined)
96
+ let hostingV1DomainsCreateSubdomainRequest: HostingV1DomainsCreateSubdomainRequest; //
97
+
98
+ const { status, data } = await apiInstance.createWebsiteSubdomainV1(
99
+ username,
100
+ domain,
101
+ hostingV1DomainsCreateSubdomainRequest
102
+ );
103
+ ```
104
+
105
+ ### Parameters
106
+
107
+ |Name | Type | Description | Notes|
108
+ |------------- | ------------- | ------------- | -------------|
109
+ | **hostingV1DomainsCreateSubdomainRequest** | **HostingV1DomainsCreateSubdomainRequest**| | |
110
+ | **username** | [**string**] | | defaults to undefined|
111
+ | **domain** | [**string**] | Domain name | defaults to undefined|
112
+
113
+
114
+ ### Return type
115
+
116
+ **CommonSuccessEmptyResource**
117
+
118
+ ### Authorization
119
+
120
+ [apiToken](../README.md#apiToken)
121
+
122
+ ### HTTP request headers
123
+
124
+ - **Content-Type**: application/json
125
+ - **Accept**: application/json
126
+
127
+
128
+ ### HTTP response details
129
+ | Status code | Description | Response headers |
130
+ |-------------|-------------|------------------|
131
+ |**200** | Success empty response | - |
132
+ |**422** | Validation error response | - |
133
+ |**401** | Unauthenticated response | - |
134
+ |**500** | Error response | - |
135
+
136
+ [[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)
137
+
138
+ # **deleteWebsiteParkedDomainV1**
139
+ > CommonSuccessEmptyResource deleteWebsiteParkedDomainV1()
140
+
141
+ Delete an existing parked or alias domain from the selected website. Use this endpoint to remove parked domains that are no longer needed.
142
+
143
+ ### Example
144
+
145
+ ```typescript
146
+ import {
147
+ HostingDomainsApi,
148
+ Configuration
149
+ } from 'hostinger-api-sdk';
150
+
151
+ const configuration = new Configuration();
152
+ const apiInstance = new HostingDomainsApi(configuration);
153
+
154
+ let username: string; // (default to undefined)
155
+ let domain: string; //Domain name (default to undefined)
156
+ let parkedDomain: string; // (default to undefined)
157
+
158
+ const { status, data } = await apiInstance.deleteWebsiteParkedDomainV1(
159
+ username,
160
+ domain,
161
+ parkedDomain
162
+ );
163
+ ```
164
+
165
+ ### Parameters
166
+
167
+ |Name | Type | Description | Notes|
168
+ |------------- | ------------- | ------------- | -------------|
169
+ | **username** | [**string**] | | defaults to undefined|
170
+ | **domain** | [**string**] | Domain name | defaults to undefined|
171
+ | **parkedDomain** | [**string**] | | defaults to undefined|
172
+
173
+
174
+ ### Return type
175
+
176
+ **CommonSuccessEmptyResource**
177
+
178
+ ### Authorization
179
+
180
+ [apiToken](../README.md#apiToken)
181
+
182
+ ### HTTP request headers
183
+
184
+ - **Content-Type**: Not defined
185
+ - **Accept**: application/json
186
+
187
+
188
+ ### HTTP response details
189
+ | Status code | Description | Response headers |
190
+ |-------------|-------------|------------------|
191
+ |**200** | Success empty response | - |
192
+ |**401** | Unauthenticated response | - |
193
+ |**500** | Error response | - |
194
+
195
+ [[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)
196
+
197
+ # **deleteWebsiteSubdomainV1**
198
+ > CommonSuccessEmptyResource deleteWebsiteSubdomainV1()
199
+
200
+ Delete an existing subdomain from the selected website. Use this endpoint to remove subdomains that are no longer needed.
201
+
202
+ ### Example
203
+
204
+ ```typescript
205
+ import {
206
+ HostingDomainsApi,
207
+ Configuration
208
+ } from 'hostinger-api-sdk';
209
+
210
+ const configuration = new Configuration();
211
+ const apiInstance = new HostingDomainsApi(configuration);
212
+
213
+ let username: string; // (default to undefined)
214
+ let domain: string; //Domain name (default to undefined)
215
+ let subdomain: string; // (default to undefined)
216
+
217
+ const { status, data } = await apiInstance.deleteWebsiteSubdomainV1(
218
+ username,
219
+ domain,
220
+ subdomain
221
+ );
222
+ ```
223
+
224
+ ### Parameters
225
+
226
+ |Name | Type | Description | Notes|
227
+ |------------- | ------------- | ------------- | -------------|
228
+ | **username** | [**string**] | | defaults to undefined|
229
+ | **domain** | [**string**] | Domain name | defaults to undefined|
230
+ | **subdomain** | [**string**] | | defaults to undefined|
231
+
232
+
233
+ ### Return type
234
+
235
+ **CommonSuccessEmptyResource**
236
+
237
+ ### Authorization
238
+
239
+ [apiToken](../README.md#apiToken)
240
+
241
+ ### HTTP request headers
242
+
243
+ - **Content-Type**: Not defined
244
+ - **Accept**: application/json
245
+
246
+
247
+ ### HTTP response details
248
+ | Status code | Description | Response headers |
249
+ |-------------|-------------|------------------|
250
+ |**200** | Success empty response | - |
251
+ |**401** | Unauthenticated response | - |
252
+ |**500** | Error response | - |
253
+
254
+ [[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)
255
+
256
+ # **generateAFreeSubdomainV1**
257
+ > HostingV1DomainsFreeSubdomainResource generateAFreeSubdomainV1()
258
+
259
+ Generate a unique free subdomain that can be used for hosting services without purchasing custom domains. Free subdomains allow you to start using hosting services immediately and you can always connect a custom domain to your site later.
260
+
261
+ ### Example
262
+
263
+ ```typescript
264
+ import {
265
+ HostingDomainsApi,
266
+ Configuration
267
+ } from 'hostinger-api-sdk';
268
+
269
+ const configuration = new Configuration();
270
+ const apiInstance = new HostingDomainsApi(configuration);
271
+
272
+ const { status, data } = await apiInstance.generateAFreeSubdomainV1();
273
+ ```
274
+
275
+ ### Parameters
276
+ This endpoint does not have any parameters.
277
+
278
+
279
+ ### Return type
280
+
281
+ **HostingV1DomainsFreeSubdomainResource**
282
+
283
+ ### Authorization
284
+
285
+ [apiToken](../README.md#apiToken)
286
+
287
+ ### HTTP request headers
288
+
289
+ - **Content-Type**: Not defined
290
+ - **Accept**: application/json
291
+
292
+
293
+ ### HTTP response details
294
+ | Status code | Description | Response headers |
295
+ |-------------|-------------|------------------|
296
+ |**200** | Success response | - |
297
+ |**401** | Unauthenticated response | - |
298
+ |**500** | Error response | - |
299
+
300
+ [[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)
301
+
302
+ # **listWebsiteParkedDomainsV1**
303
+ > Array<HostingV1DomainsParkedDomainResource> listWebsiteParkedDomainsV1()
304
+
305
+ Retrieve all parked or alias domains created under the selected website. Use this endpoint to inspect parked domain configuration for a specific website, including the parent domain and root directory assigned to each parked domain.
306
+
307
+ ### Example
308
+
309
+ ```typescript
310
+ import {
311
+ HostingDomainsApi,
312
+ Configuration
313
+ } from 'hostinger-api-sdk';
314
+
315
+ const configuration = new Configuration();
316
+ const apiInstance = new HostingDomainsApi(configuration);
317
+
318
+ let username: string; // (default to undefined)
319
+ let domain: string; //Domain name (default to undefined)
320
+
321
+ const { status, data } = await apiInstance.listWebsiteParkedDomainsV1(
322
+ username,
323
+ domain
324
+ );
325
+ ```
326
+
327
+ ### Parameters
328
+
329
+ |Name | Type | Description | Notes|
330
+ |------------- | ------------- | ------------- | -------------|
331
+ | **username** | [**string**] | | defaults to undefined|
332
+ | **domain** | [**string**] | Domain name | defaults to undefined|
333
+
334
+
335
+ ### Return type
336
+
337
+ **Array<HostingV1DomainsParkedDomainResource>**
338
+
339
+ ### Authorization
340
+
341
+ [apiToken](../README.md#apiToken)
342
+
343
+ ### HTTP request headers
344
+
345
+ - **Content-Type**: Not defined
346
+ - **Accept**: application/json
347
+
348
+
349
+ ### HTTP response details
350
+ | Status code | Description | Response headers |
351
+ |-------------|-------------|------------------|
352
+ |**200** | Success response | - |
353
+ |**401** | Unauthenticated response | - |
354
+ |**500** | Error response | - |
355
+
356
+ [[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)
357
+
358
+ # **listWebsiteSubdomainsV1**
359
+ > Array<HostingV1DomainsSubdomainResource> listWebsiteSubdomainsV1()
360
+
361
+ Retrieve all subdomains created under the selected website. Use this endpoint to inspect subdomain configuration for a specific website, including the parent domain and root directory assigned to each subdomain.
362
+
363
+ ### Example
364
+
365
+ ```typescript
366
+ import {
367
+ HostingDomainsApi,
368
+ Configuration
369
+ } from 'hostinger-api-sdk';
370
+
371
+ const configuration = new Configuration();
372
+ const apiInstance = new HostingDomainsApi(configuration);
373
+
374
+ let username: string; // (default to undefined)
375
+ let domain: string; //Domain name (default to undefined)
376
+
377
+ const { status, data } = await apiInstance.listWebsiteSubdomainsV1(
378
+ username,
379
+ domain
380
+ );
381
+ ```
382
+
383
+ ### Parameters
384
+
385
+ |Name | Type | Description | Notes|
386
+ |------------- | ------------- | ------------- | -------------|
387
+ | **username** | [**string**] | | defaults to undefined|
388
+ | **domain** | [**string**] | Domain name | defaults to undefined|
389
+
390
+
391
+ ### Return type
392
+
393
+ **Array<HostingV1DomainsSubdomainResource>**
394
+
395
+ ### Authorization
396
+
397
+ [apiToken](../README.md#apiToken)
398
+
399
+ ### HTTP request headers
400
+
401
+ - **Content-Type**: Not defined
402
+ - **Accept**: application/json
403
+
404
+
405
+ ### HTTP response details
406
+ | Status code | Description | Response headers |
407
+ |-------------|-------------|------------------|
408
+ |**200** | Success response | - |
409
+ |**401** | Unauthenticated response | - |
410
+ |**500** | Error response | - |
411
+
412
+ [[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)
413
+
414
+ # **verifyDomainOwnershipV1**
415
+ > HostingV1DomainsDomainAccessResource verifyDomainOwnershipV1(hostingV1DomainsVerifyOwnershipRequest)
416
+
417
+ Verify ownership of a single domain and return the verification status. Use this endpoint to check if a domain is accessible for you before using it for new websites. If the domain is accessible, the response will have `is_accessible: true`. If not, add the given TXT record to your domain\'s DNS records and try verifying again. Keep in mind that it may take up to 10 minutes for new TXT DNS records to propagate. Skip this verification when using Hostinger\'s free subdomains (*.hostingersite.com).
418
+
419
+ ### Example
420
+
421
+ ```typescript
422
+ import {
423
+ HostingDomainsApi,
424
+ Configuration,
425
+ HostingV1DomainsVerifyOwnershipRequest
426
+ } from 'hostinger-api-sdk';
427
+
428
+ const configuration = new Configuration();
429
+ const apiInstance = new HostingDomainsApi(configuration);
430
+
431
+ let hostingV1DomainsVerifyOwnershipRequest: HostingV1DomainsVerifyOwnershipRequest; //
432
+
433
+ const { status, data } = await apiInstance.verifyDomainOwnershipV1(
434
+ hostingV1DomainsVerifyOwnershipRequest
435
+ );
436
+ ```
437
+
438
+ ### Parameters
439
+
440
+ |Name | Type | Description | Notes|
441
+ |------------- | ------------- | ------------- | -------------|
442
+ | **hostingV1DomainsVerifyOwnershipRequest** | **HostingV1DomainsVerifyOwnershipRequest**| | |
443
+
444
+
445
+ ### Return type
446
+
447
+ **HostingV1DomainsDomainAccessResource**
448
+
449
+ ### Authorization
450
+
451
+ [apiToken](../README.md#apiToken)
452
+
453
+ ### HTTP request headers
454
+
455
+ - **Content-Type**: application/json
456
+ - **Accept**: application/json
457
+
458
+
459
+ ### HTTP response details
460
+ | Status code | Description | Response headers |
461
+ |-------------|-------------|------------------|
462
+ |**200** | Success response | - |
463
+ |**401** | Unauthenticated response | - |
464
+ |**422** | Validation error response | - |
465
+ |**500** | Error response | - |
466
+
467
+ [[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)
468
+
@@ -0,0 +1,22 @@
1
+ # HostingListAccountDatabasesV1200Response
2
+
3
+
4
+ ## Properties
5
+
6
+ Name | Type | Description | Notes
7
+ ------------ | ------------- | ------------- | -------------
8
+ **data** | [**Array&lt;HostingV1DatabasesDatabaseResource&gt;**](HostingV1DatabasesDatabaseResource.md) | Array of [&#x60;Hosting.V1.Databases.DatabaseResource&#x60;](#model/hostingv1databasesdatabaseresource) | [optional] [default to undefined]
9
+ **meta** | [**CommonSchemaPaginationMetaSchema**](CommonSchemaPaginationMetaSchema.md) | | [optional] [default to undefined]
10
+
11
+ ## Example
12
+
13
+ ```typescript
14
+ import { HostingListAccountDatabasesV1200Response } from 'hostinger-api-sdk';
15
+
16
+ const instance: HostingListAccountDatabasesV1200Response = {
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,22 @@
1
+ # HostingListNodeJSBuildsV1200Response
2
+
3
+
4
+ ## Properties
5
+
6
+ Name | Type | Description | Notes
7
+ ------------ | ------------- | ------------- | -------------
8
+ **data** | [**Array&lt;HostingV1NodeJsBuildResource&gt;**](HostingV1NodeJsBuildResource.md) | Array of [&#x60;Hosting.V1.NodeJs.BuildResource&#x60;](#model/hostingv1nodejsbuildresource) | [optional] [default to undefined]
9
+ **meta** | [**CommonSchemaPaginationMetaSchema**](CommonSchemaPaginationMetaSchema.md) | | [optional] [default to undefined]
10
+
11
+ ## Example
12
+
13
+ ```typescript
14
+ import { HostingListNodeJSBuildsV1200Response } from 'hostinger-api-sdk';
15
+
16
+ const instance: HostingListNodeJSBuildsV1200Response = {
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,22 @@
1
+ # HostingListOrdersV1200Response
2
+
3
+
4
+ ## Properties
5
+
6
+ Name | Type | Description | Notes
7
+ ------------ | ------------- | ------------- | -------------
8
+ **data** | [**Array&lt;HostingV1OrdersOrderResource&gt;**](HostingV1OrdersOrderResource.md) | Array of [&#x60;Hosting.V1.Orders.OrderResource&#x60;](#model/hostingv1ordersorderresource) | [optional] [default to undefined]
9
+ **meta** | [**CommonSchemaPaginationMetaSchema**](CommonSchemaPaginationMetaSchema.md) | | [optional] [default to undefined]
10
+
11
+ ## Example
12
+
13
+ ```typescript
14
+ import { HostingListOrdersV1200Response } from 'hostinger-api-sdk';
15
+
16
+ const instance: HostingListOrdersV1200Response = {
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,22 @@
1
+ # HostingListWebsitesV1200Response
2
+
3
+
4
+ ## Properties
5
+
6
+ Name | Type | Description | Notes
7
+ ------------ | ------------- | ------------- | -------------
8
+ **data** | [**Array&lt;HostingV1WebsitesWebsiteResource&gt;**](HostingV1WebsitesWebsiteResource.md) | Array of [&#x60;Hosting.V1.Websites.WebsiteResource&#x60;](#model/hostingv1websiteswebsiteresource) | [optional] [default to undefined]
9
+ **meta** | [**CommonSchemaPaginationMetaSchema**](CommonSchemaPaginationMetaSchema.md) | | [optional] [default to undefined]
10
+
11
+ ## Example
12
+
13
+ ```typescript
14
+ import { HostingListWebsitesV1200Response } from 'hostinger-api-sdk';
15
+
16
+ const instance: HostingListWebsitesV1200Response = {
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)