hostinger-api-sdk 1.5.0 → 1.21.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (179) hide show
  1. package/.github/workflows/build-release.yaml +29 -1
  2. package/README.md +2 -2
  3. package/api.ts +18747 -8098
  4. package/base.ts +1 -1
  5. package/common.ts +1 -1
  6. package/configuration.ts +2 -2
  7. package/dist/api.d.ts +13312 -6201
  8. package/dist/api.js +10299 -3751
  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 +13312 -6201
  16. package/dist/esm/api.js +10191 -3729
  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/AgencyHostingCacheApi.md +61 -0
  28. package/docs/AgencyHostingCronJobsApi.md +183 -0
  29. package/docs/AgencyHostingDatabasesApi.md +305 -0
  30. package/docs/AgencyHostingDatacentersApi.md +61 -0
  31. package/docs/AgencyHostingDomainsApi.md +245 -0
  32. package/docs/AgencyHostingFilesApi.md +66 -0
  33. package/docs/AgencyHostingListAgencyPlanDomainsV1200Response.md +22 -0
  34. package/docs/AgencyHostingListAgencyPlanOrdersV1200Response.md +22 -0
  35. package/docs/AgencyHostingListAgencyPlanWebsiteCronJobsV1200Response.md +22 -0
  36. package/docs/AgencyHostingListAgencyPlanWebsiteDatabasesV1200Response.md +22 -0
  37. package/docs/AgencyHostingOrdersApi.md +64 -0
  38. package/docs/AgencyHostingV1DatacentersCoordinatesResource.md +22 -0
  39. package/docs/AgencyHostingV1DatacentersDatacenterResource.md +28 -0
  40. package/docs/AgencyHostingV1DomainsChangeDomainRequest.md +20 -0
  41. package/docs/AgencyHostingV1DomainsDomainResource.md +24 -0
  42. package/docs/AgencyHostingV1DomainsLinkDomainRequest.md +20 -0
  43. package/docs/AgencyHostingV1FilesImportArchiveRequest.md +21 -0
  44. package/docs/AgencyHostingV1FilesUploadUrlResource.md +24 -0
  45. package/docs/AgencyHostingV1OrdersDatacenterResource.md +22 -0
  46. package/docs/AgencyHostingV1OrdersOrderResource.md +30 -0
  47. package/docs/AgencyHostingV1OrdersPlanResource.md +22 -0
  48. package/docs/AgencyHostingV1SetupsCreateSetupRequest.md +35 -0
  49. package/docs/AgencyHostingV1SetupsCreateSetupRequestClone.md +21 -0
  50. package/docs/AgencyHostingV1SetupsCreateSetupRequestDeriveDomain.md +21 -0
  51. package/docs/AgencyHostingV1SetupsCreateSetupRequestDeriveDomainFromVhost.md +22 -0
  52. package/docs/AgencyHostingV1SetupsCreateSetupRequestSettings.md +21 -0
  53. package/docs/AgencyHostingV1SetupsCreateSetupRequestSettingsPhp.md +20 -0
  54. package/docs/AgencyHostingV1SetupsCreateSetupRequestWordpress.md +25 -0
  55. package/docs/AgencyHostingV1SetupsCreateSetupRequestWordpressAdmin.md +24 -0
  56. package/docs/AgencyHostingV1SetupsWebsiteSetupResource.md +20 -0
  57. package/docs/AgencyHostingV1SetupsWebsiteSetupStatusResource.md +22 -0
  58. package/docs/AgencyHostingV1WebsitesBuildAssetsRequest.md +21 -0
  59. package/docs/AgencyHostingV1WebsitesCronJobsCreateCronJobRequest.md +22 -0
  60. package/docs/AgencyHostingV1WebsitesCronJobsCronJobResource.md +26 -0
  61. package/docs/AgencyHostingV1WebsitesCustomSslCertResource.md +24 -0
  62. package/docs/AgencyHostingV1WebsitesDatabasesCreateDatabaseRequest.md +24 -0
  63. package/docs/AgencyHostingV1WebsitesDatabasesDatabaseResource.md +24 -0
  64. package/docs/AgencyHostingV1WebsitesDatabasesDatabaseUserResource.md +24 -0
  65. package/docs/AgencyHostingV1WebsitesDatabasesUsersCreateDatabaseUserRequest.md +24 -0
  66. package/docs/AgencyHostingV1WebsitesSslCertResource.md +24 -0
  67. package/docs/AgencyHostingV1WebsitesWebsiteDeletionResource.md +28 -0
  68. package/docs/AgencyHostingV1WebsitesWebsiteDomainDetailsResource.md +32 -0
  69. package/docs/AgencyHostingV1WebsitesWebsiteOrderPlanResource.md +22 -0
  70. package/docs/AgencyHostingV1WebsitesWebsiteOrderPlanResourceParameters.md +37 -0
  71. package/docs/AgencyHostingV1WebsitesWebsiteOrderResource.md +26 -0
  72. package/docs/AgencyHostingV1WebsitesWebsitePhpSettingsResource.md +22 -0
  73. package/docs/AgencyHostingV1WebsitesWebsitePreviewDomainResource.md +22 -0
  74. package/docs/AgencyHostingV1WebsitesWebsiteProcessResource.md +24 -0
  75. package/docs/AgencyHostingV1WebsitesWebsiteRemoteAccessResource.md +24 -0
  76. package/docs/AgencyHostingV1WebsitesWebsiteResource.md +50 -0
  77. package/docs/AgencyHostingV1WebsitesWebsiteServerResource.md +22 -0
  78. package/docs/AgencyHostingV1WebsitesWebsiteSettingsResource.md +20 -0
  79. package/docs/AgencyHostingV1WebsitesWebsiteSftpDetailsResource.md +26 -0
  80. package/docs/AgencyHostingV1WebsitesWebsiteSshDetailsResource.md +28 -0
  81. package/docs/AgencyHostingV1WebsitesWebsiteStagingRootResource.md +20 -0
  82. package/docs/AgencyHostingV1WebsitesWebsiteUserResource.md +22 -0
  83. package/docs/AgencyHostingV1WebsitesWordPressInstallResource.md +28 -0
  84. package/docs/AgencyHostingV1WordPressChangeVersionRequest.md +20 -0
  85. package/docs/AgencyHostingV1WordPressSettingsResource.md +26 -0
  86. package/docs/AgencyHostingV1WordPressVersionResource.md +20 -0
  87. package/docs/AgencyHostingWebsiteSetupsApi.md +123 -0
  88. package/docs/AgencyHostingWebsitesApi.md +228 -0
  89. package/docs/AgencyHostingWordPressApi.md +174 -0
  90. package/docs/BillingCatalogApi.md +2 -2
  91. package/docs/BillingOrdersApi.md +63 -0
  92. package/docs/BillingV1OrderPurchaseRequest.md +24 -0
  93. package/docs/BillingV1OrderPurchaseRequestItemsInner.md +22 -0
  94. package/docs/DomainsForwardingApi.md +59 -0
  95. package/docs/DomainsPortfolioApi.md +108 -0
  96. package/docs/DomainsTransferApi.md +108 -0
  97. package/docs/DomainsV1ForwardingUpdateRequest.md +22 -0
  98. package/docs/DomainsV1PortfolioAuthCodeAuthCodeResource.md +20 -0
  99. package/docs/DomainsV1PortfolioRenewalRenewalInformationResource.md +24 -0
  100. package/docs/DomainsV1TransferTransferResource.md +26 -0
  101. package/docs/HostingCacheApi.md +26 -130
  102. package/docs/HostingDatabasesApi.md +63 -63
  103. package/docs/HostingNodeJSApi.md +122 -0
  104. package/docs/HostingV1CacheToggleCacheRequest.md +20 -0
  105. package/docs/HostingV1CacheToggleCachelessModeRequest.md +20 -0
  106. package/docs/HostingV1NodeJsPatchResultResource.md +26 -0
  107. package/docs/HostingV1NodeJsPatchVulnerabilitiesRequest.md +20 -0
  108. package/docs/HostingV1NodeJsVulnerabilityResource.md +48 -0
  109. package/docs/HostingV1WebsitesDeleteWebsiteRequest.md +20 -0
  110. package/docs/HostingWebsitesApi.md +59 -0
  111. package/docs/MailAPITokensApi.md +185 -0
  112. package/docs/MailAliasesApi.md +186 -0
  113. package/docs/MailAutorepliesApi.md +246 -0
  114. package/docs/MailCatchallsApi.md +239 -0
  115. package/docs/MailForwardersApi.md +304 -0
  116. package/docs/MailListAPITokensV1200Response.md +22 -0
  117. package/docs/MailListAccessLogsV1200Response.md +22 -0
  118. package/docs/MailListActionLogsV1200Response.md +22 -0
  119. package/docs/MailListAliasesV1200Response.md +22 -0
  120. package/docs/MailListAutorepliesV1200Response.md +22 -0
  121. package/docs/MailListCatchAllsV1200Response.md +22 -0
  122. package/docs/MailListForwardersV1200Response.md +22 -0
  123. package/docs/MailListInboundLogsV1200Response.md +22 -0
  124. package/docs/MailListMailboxActionLogsV1200Response.md +22 -0
  125. package/docs/MailListMailboxesV1200Response.md +22 -0
  126. package/docs/MailListOrdersV1200Response.md +22 -0
  127. package/docs/MailListWebhookDeliveryLogsV1200Response.md +22 -0
  128. package/docs/MailListWebhooksV1200Response.md +22 -0
  129. package/docs/MailLogsApi.md +410 -0
  130. package/docs/MailMailboxesApi.md +253 -0
  131. package/docs/MailOrdersApi.md +132 -0
  132. package/docs/MailV1AliasesAliasMailboxResource.md +22 -0
  133. package/docs/MailV1AliasesAliasResource.md +30 -0
  134. package/docs/MailV1ApiTokensApiTokenCreatedResource.md +30 -0
  135. package/docs/MailV1ApiTokensApiTokenMailboxResource.md +22 -0
  136. package/docs/MailV1ApiTokensApiTokenResource.md +32 -0
  137. package/docs/MailV1ApiTokensApiTokenScopeResource.md +22 -0
  138. package/docs/MailV1AutorepliesAutoreplyMailboxResource.md +22 -0
  139. package/docs/MailV1AutorepliesAutoreplyResource.md +36 -0
  140. package/docs/MailV1CatchallsCatchallMailboxResource.md +22 -0
  141. package/docs/MailV1CatchallsCatchallResource.md +32 -0
  142. package/docs/MailV1ForwardersForwarderMailboxResource.md +22 -0
  143. package/docs/MailV1ForwardersForwarderResource.md +34 -0
  144. package/docs/MailV1LogsAccessAccessLogResource.md +54 -0
  145. package/docs/MailV1LogsActionActionLogResource.md +32 -0
  146. package/docs/MailV1LogsCommonDeliveryLogRelayEventResource.md +32 -0
  147. package/docs/MailV1LogsCommonDeliveryLogResource.md +38 -0
  148. package/docs/MailV1LogsMailboxActionsMailboxActionLogResource.md +30 -0
  149. package/docs/MailV1MailboxesMailboxCountsResource.md +24 -0
  150. package/docs/MailV1MailboxesMailboxProtocolsResource.md +26 -0
  151. package/docs/MailV1MailboxesMailboxResource.md +38 -0
  152. package/docs/MailV1MailboxesMailboxUsageResource.md +29 -0
  153. package/docs/MailV1OrdersOrderDomainResource.md +22 -0
  154. package/docs/MailV1OrdersOrderPlanResource.md +22 -0
  155. package/docs/MailV1OrdersOrderResource.md +36 -0
  156. package/docs/MailV1OrdersPlanDomainResource.md +30 -0
  157. package/docs/MailV1OrdersPlanMailboxResource.md +36 -0
  158. package/docs/MailV1OrdersPlanResource.md +26 -0
  159. package/docs/MailV1SchemaChangeMailboxPasswordRequestSchema.md +20 -0
  160. package/docs/MailV1SchemaCreateAliasRequestSchema.md +20 -0
  161. package/docs/MailV1SchemaCreateApiTokenRequestSchema.md +22 -0
  162. package/docs/MailV1SchemaCreateApiTokenRequestSchemaScope.md +23 -0
  163. package/docs/MailV1SchemaCreateForwarderRequestSchema.md +22 -0
  164. package/docs/MailV1SchemaCreateMailboxRequestSchema.md +22 -0
  165. package/docs/MailV1SchemaCreateWebhookRequestSchema.md +28 -0
  166. package/docs/MailV1SchemaUpdateForwarderKeepCopyRequestSchema.md +20 -0
  167. package/docs/MailV1SchemaUpdateWebhookRequestSchema.md +29 -0
  168. package/docs/MailV1SchemaUpsertAutoreplyRequestSchema.md +28 -0
  169. package/docs/MailV1WebhooksWebhookCreatedResource.md +38 -0
  170. package/docs/MailV1WebhooksWebhookDeliveryLogResource.md +32 -0
  171. package/docs/MailV1WebhooksWebhookMailboxResource.md +22 -0
  172. package/docs/MailV1WebhooksWebhookResource.md +36 -0
  173. package/docs/MailV1WebhooksWebhookSecretResource.md +38 -0
  174. package/docs/MailV1WebhooksWebhookTestResultResource.md +24 -0
  175. package/docs/MailWebhooksApi.md +488 -0
  176. package/docs/WordPressV1InstallationsWordPressMcpDetailsResource.md +26 -0
  177. package/docs/WordPressV1InstallationsWordPressMcpInstallationResource.md +28 -0
  178. package/index.ts +1 -1
  179. package/package.json +2 -2
@@ -0,0 +1,228 @@
1
+ # AgencyHostingWebsitesApi
2
+
3
+ All URIs are relative to *https://developers.hostinger.com*
4
+
5
+ |Method | HTTP request | Description|
6
+ |------------- | ------------- | -------------|
7
+ |[**buildAgencyPlanWebsiteNodeJSAssetsV1**](#buildagencyplanwebsitenodejsassetsv1) | **POST** /api/agency-hosting/v1/websites/{website_uid}/build-assets | Build Agency Plan website NodeJS assets|
8
+ |[**deleteAgencyPlanWebsiteV1**](#deleteagencyplanwebsitev1) | **DELETE** /api/agency-hosting/v1/websites/{website_uid} | Delete Agency Plan website|
9
+ |[**getAgencyPlanWebsiteDetailsV1**](#getagencyplanwebsitedetailsv1) | **GET** /api/agency-hosting/v1/websites/{website_uid} | Get Agency Plan website details|
10
+ |[**listRunningAgencyPlanWebsiteProcessesV1**](#listrunningagencyplanwebsiteprocessesv1) | **GET** /api/agency-hosting/v1/websites/{website_uid}/processes | List running Agency Plan website processes|
11
+
12
+ # **buildAgencyPlanWebsiteNodeJSAssetsV1**
13
+ > CommonSuccessEmptyResource buildAgencyPlanWebsiteNodeJSAssetsV1(agencyHostingV1WebsitesBuildAssetsRequest)
14
+
15
+ Builds and deploys a Node.js application for an Agency Plan website from an already-uploaded archive. Upload the archive to file browser first, then provide its relative path from document root in this request. Website contents are overwritten by the build result, which is deployed to public_html.
16
+
17
+ ### Example
18
+
19
+ ```typescript
20
+ import {
21
+ AgencyHostingWebsitesApi,
22
+ Configuration,
23
+ AgencyHostingV1WebsitesBuildAssetsRequest
24
+ } from 'hostinger-api-sdk';
25
+
26
+ const configuration = new Configuration();
27
+ const apiInstance = new AgencyHostingWebsitesApi(configuration);
28
+
29
+ let websiteUid: string; //Agency Plan website UID (default to undefined)
30
+ let agencyHostingV1WebsitesBuildAssetsRequest: AgencyHostingV1WebsitesBuildAssetsRequest; //
31
+
32
+ const { status, data } = await apiInstance.buildAgencyPlanWebsiteNodeJSAssetsV1(
33
+ websiteUid,
34
+ agencyHostingV1WebsitesBuildAssetsRequest
35
+ );
36
+ ```
37
+
38
+ ### Parameters
39
+
40
+ |Name | Type | Description | Notes|
41
+ |------------- | ------------- | ------------- | -------------|
42
+ | **agencyHostingV1WebsitesBuildAssetsRequest** | **AgencyHostingV1WebsitesBuildAssetsRequest**| | |
43
+ | **websiteUid** | [**string**] | Agency Plan website UID | 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
+ # **deleteAgencyPlanWebsiteV1**
71
+ > AgencyHostingV1WebsitesWebsiteDeletionResource deleteAgencyPlanWebsiteV1()
72
+
73
+ Deletes an Agency Plan website and schedules cleanup of its resources. This action is irreversible. Website files, databases, and linked domains are removed.
74
+
75
+ ### Example
76
+
77
+ ```typescript
78
+ import {
79
+ AgencyHostingWebsitesApi,
80
+ Configuration
81
+ } from 'hostinger-api-sdk';
82
+
83
+ const configuration = new Configuration();
84
+ const apiInstance = new AgencyHostingWebsitesApi(configuration);
85
+
86
+ let websiteUid: string; //Agency Plan website UID (default to undefined)
87
+
88
+ const { status, data } = await apiInstance.deleteAgencyPlanWebsiteV1(
89
+ websiteUid
90
+ );
91
+ ```
92
+
93
+ ### Parameters
94
+
95
+ |Name | Type | Description | Notes|
96
+ |------------- | ------------- | ------------- | -------------|
97
+ | **websiteUid** | [**string**] | Agency Plan website UID | defaults to undefined|
98
+
99
+
100
+ ### Return type
101
+
102
+ **AgencyHostingV1WebsitesWebsiteDeletionResource**
103
+
104
+ ### Authorization
105
+
106
+ [apiToken](../README.md#apiToken)
107
+
108
+ ### HTTP request headers
109
+
110
+ - **Content-Type**: Not defined
111
+ - **Accept**: application/json
112
+
113
+
114
+ ### HTTP response details
115
+ | Status code | Description | Response headers |
116
+ |-------------|-------------|------------------|
117
+ |**200** | Success response | - |
118
+ |**401** | Unauthenticated response | - |
119
+ |**500** | Error response | - |
120
+
121
+ [[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)
122
+
123
+ # **getAgencyPlanWebsiteDetailsV1**
124
+ > AgencyHostingV1WebsitesWebsiteResource getAgencyPlanWebsiteDetailsV1()
125
+
126
+ Retrieves detailed information about a specific Agency Plan website, including configuration, status, metadata, hosting plan details, and resource quotas.
127
+
128
+ ### Example
129
+
130
+ ```typescript
131
+ import {
132
+ AgencyHostingWebsitesApi,
133
+ Configuration
134
+ } from 'hostinger-api-sdk';
135
+
136
+ const configuration = new Configuration();
137
+ const apiInstance = new AgencyHostingWebsitesApi(configuration);
138
+
139
+ let websiteUid: string; //Agency Plan website UID (default to undefined)
140
+
141
+ const { status, data } = await apiInstance.getAgencyPlanWebsiteDetailsV1(
142
+ websiteUid
143
+ );
144
+ ```
145
+
146
+ ### Parameters
147
+
148
+ |Name | Type | Description | Notes|
149
+ |------------- | ------------- | ------------- | -------------|
150
+ | **websiteUid** | [**string**] | Agency Plan website UID | defaults to undefined|
151
+
152
+
153
+ ### Return type
154
+
155
+ **AgencyHostingV1WebsitesWebsiteResource**
156
+
157
+ ### Authorization
158
+
159
+ [apiToken](../README.md#apiToken)
160
+
161
+ ### HTTP request headers
162
+
163
+ - **Content-Type**: Not defined
164
+ - **Accept**: application/json
165
+
166
+
167
+ ### HTTP response details
168
+ | Status code | Description | Response headers |
169
+ |-------------|-------------|------------------|
170
+ |**200** | Success response | - |
171
+ |**401** | Unauthenticated response | - |
172
+ |**500** | Error response | - |
173
+
174
+ [[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)
175
+
176
+ # **listRunningAgencyPlanWebsiteProcessesV1**
177
+ > Array<AgencyHostingV1WebsitesWebsiteProcessResource> listRunningAgencyPlanWebsiteProcessesV1()
178
+
179
+ Lists active and recently completed asynchronous processes for an Agency Plan website. Each process has a unique ID (for tracking), a type, and a status (running, completed, failed). Poll this endpoint after initiating async operations (SSL setup, backups, cloning) to track progress.
180
+
181
+ ### Example
182
+
183
+ ```typescript
184
+ import {
185
+ AgencyHostingWebsitesApi,
186
+ Configuration
187
+ } from 'hostinger-api-sdk';
188
+
189
+ const configuration = new Configuration();
190
+ const apiInstance = new AgencyHostingWebsitesApi(configuration);
191
+
192
+ let websiteUid: string; //Agency Plan website UID (default to undefined)
193
+
194
+ const { status, data } = await apiInstance.listRunningAgencyPlanWebsiteProcessesV1(
195
+ websiteUid
196
+ );
197
+ ```
198
+
199
+ ### Parameters
200
+
201
+ |Name | Type | Description | Notes|
202
+ |------------- | ------------- | ------------- | -------------|
203
+ | **websiteUid** | [**string**] | Agency Plan website UID | defaults to undefined|
204
+
205
+
206
+ ### Return type
207
+
208
+ **Array<AgencyHostingV1WebsitesWebsiteProcessResource>**
209
+
210
+ ### Authorization
211
+
212
+ [apiToken](../README.md#apiToken)
213
+
214
+ ### HTTP request headers
215
+
216
+ - **Content-Type**: Not defined
217
+ - **Accept**: application/json
218
+
219
+
220
+ ### HTTP response details
221
+ | Status code | Description | Response headers |
222
+ |-------------|-------------|------------------|
223
+ |**200** | Success response | - |
224
+ |**401** | Unauthenticated response | - |
225
+ |**500** | Error response | - |
226
+
227
+ [[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)
228
+
@@ -0,0 +1,174 @@
1
+ # AgencyHostingWordPressApi
2
+
3
+ All URIs are relative to *https://developers.hostinger.com*
4
+
5
+ |Method | HTTP request | Description|
6
+ |------------- | ------------- | -------------|
7
+ |[**changeAgencyPlanWebsiteWordPressCoreVersionV1**](#changeagencyplanwebsitewordpresscoreversionv1) | **PATCH** /api/agency-hosting/v1/websites/{website_uid}/wordpress/settings/version | Change Agency Plan website WordPress core version|
8
+ |[**getAgencyPlanWebsiteWordPressSettingsV1**](#getagencyplanwebsitewordpresssettingsv1) | **GET** /api/agency-hosting/v1/websites/{website_uid}/wordpress/settings | Get Agency Plan website WordPress settings|
9
+ |[**listAvailableWordPressVersionsForAnAgencyPlanWebsiteV1**](#listavailablewordpressversionsforanagencyplanwebsitev1) | **GET** /api/agency-hosting/v1/websites/{website_uid}/wordpress/settings/versions | List available WordPress versions for an Agency Plan website|
10
+
11
+ # **changeAgencyPlanWebsiteWordPressCoreVersionV1**
12
+ > CommonSuccessEmptyResource changeAgencyPlanWebsiteWordPressCoreVersionV1(agencyHostingV1WordPressChangeVersionRequest)
13
+
14
+ Changes the installed WordPress core version on an Agency Plan website to one of the versions available for installation.
15
+
16
+ ### Example
17
+
18
+ ```typescript
19
+ import {
20
+ AgencyHostingWordPressApi,
21
+ Configuration,
22
+ AgencyHostingV1WordPressChangeVersionRequest
23
+ } from 'hostinger-api-sdk';
24
+
25
+ const configuration = new Configuration();
26
+ const apiInstance = new AgencyHostingWordPressApi(configuration);
27
+
28
+ let websiteUid: string; //Agency Plan website UID (default to undefined)
29
+ let agencyHostingV1WordPressChangeVersionRequest: AgencyHostingV1WordPressChangeVersionRequest; //
30
+
31
+ const { status, data } = await apiInstance.changeAgencyPlanWebsiteWordPressCoreVersionV1(
32
+ websiteUid,
33
+ agencyHostingV1WordPressChangeVersionRequest
34
+ );
35
+ ```
36
+
37
+ ### Parameters
38
+
39
+ |Name | Type | Description | Notes|
40
+ |------------- | ------------- | ------------- | -------------|
41
+ | **agencyHostingV1WordPressChangeVersionRequest** | **AgencyHostingV1WordPressChangeVersionRequest**| | |
42
+ | **websiteUid** | [**string**] | Agency Plan website UID | defaults to undefined|
43
+
44
+
45
+ ### Return type
46
+
47
+ **CommonSuccessEmptyResource**
48
+
49
+ ### Authorization
50
+
51
+ [apiToken](../README.md#apiToken)
52
+
53
+ ### HTTP request headers
54
+
55
+ - **Content-Type**: application/json
56
+ - **Accept**: application/json
57
+
58
+
59
+ ### HTTP response details
60
+ | Status code | Description | Response headers |
61
+ |-------------|-------------|------------------|
62
+ |**200** | Success empty response | - |
63
+ |**422** | Validation error response | - |
64
+ |**401** | Unauthenticated response | - |
65
+ |**500** | Error response | - |
66
+
67
+ [[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)
68
+
69
+ # **getAgencyPlanWebsiteWordPressSettingsV1**
70
+ > AgencyHostingV1WordPressSettingsResource getAgencyPlanWebsiteWordPressSettingsV1()
71
+
72
+ Returns the current WordPress settings for an Agency Plan website: installed core version, LiteSpeed Cache plugin status, object cache status, and maintenance mode status.
73
+
74
+ ### Example
75
+
76
+ ```typescript
77
+ import {
78
+ AgencyHostingWordPressApi,
79
+ Configuration
80
+ } from 'hostinger-api-sdk';
81
+
82
+ const configuration = new Configuration();
83
+ const apiInstance = new AgencyHostingWordPressApi(configuration);
84
+
85
+ let websiteUid: string; //Agency Plan website UID (default to undefined)
86
+
87
+ const { status, data } = await apiInstance.getAgencyPlanWebsiteWordPressSettingsV1(
88
+ websiteUid
89
+ );
90
+ ```
91
+
92
+ ### Parameters
93
+
94
+ |Name | Type | Description | Notes|
95
+ |------------- | ------------- | ------------- | -------------|
96
+ | **websiteUid** | [**string**] | Agency Plan website UID | defaults to undefined|
97
+
98
+
99
+ ### Return type
100
+
101
+ **AgencyHostingV1WordPressSettingsResource**
102
+
103
+ ### Authorization
104
+
105
+ [apiToken](../README.md#apiToken)
106
+
107
+ ### HTTP request headers
108
+
109
+ - **Content-Type**: Not defined
110
+ - **Accept**: application/json
111
+
112
+
113
+ ### HTTP response details
114
+ | Status code | Description | Response headers |
115
+ |-------------|-------------|------------------|
116
+ |**200** | Success response | - |
117
+ |**401** | Unauthenticated response | - |
118
+ |**500** | Error response | - |
119
+
120
+ [[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)
121
+
122
+ # **listAvailableWordPressVersionsForAnAgencyPlanWebsiteV1**
123
+ > Array<AgencyHostingV1WordPressVersionResource> listAvailableWordPressVersionsForAnAgencyPlanWebsiteV1()
124
+
125
+ Lists the WordPress core versions available for installation on an Agency Plan website.
126
+
127
+ ### Example
128
+
129
+ ```typescript
130
+ import {
131
+ AgencyHostingWordPressApi,
132
+ Configuration
133
+ } from 'hostinger-api-sdk';
134
+
135
+ const configuration = new Configuration();
136
+ const apiInstance = new AgencyHostingWordPressApi(configuration);
137
+
138
+ let websiteUid: string; //Agency Plan website UID (default to undefined)
139
+
140
+ const { status, data } = await apiInstance.listAvailableWordPressVersionsForAnAgencyPlanWebsiteV1(
141
+ websiteUid
142
+ );
143
+ ```
144
+
145
+ ### Parameters
146
+
147
+ |Name | Type | Description | Notes|
148
+ |------------- | ------------- | ------------- | -------------|
149
+ | **websiteUid** | [**string**] | Agency Plan website UID | defaults to undefined|
150
+
151
+
152
+ ### Return type
153
+
154
+ **Array<AgencyHostingV1WordPressVersionResource>**
155
+
156
+ ### Authorization
157
+
158
+ [apiToken](../README.md#apiToken)
159
+
160
+ ### HTTP request headers
161
+
162
+ - **Content-Type**: Not defined
163
+ - **Accept**: application/json
164
+
165
+
166
+ ### HTTP response details
167
+ | Status code | Description | Response headers |
168
+ |-------------|-------------|------------------|
169
+ |**200** | Success response | - |
170
+ |**401** | Unauthenticated response | - |
171
+ |**500** | Error response | - |
172
+
173
+ [[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)
174
+
@@ -22,7 +22,7 @@ import {
22
22
  const configuration = new Configuration();
23
23
  const apiInstance = new BillingCatalogApi(configuration);
24
24
 
25
- let category: 'DOMAIN' | 'VPS'; //Filter catalog items by category (optional) (default to undefined)
25
+ let category: 'DOMAIN' | 'VPS' | 'EMAIL'; //Filter catalog items by category (optional) (default to undefined)
26
26
  let name: string; //Filter catalog items by name. Use `*` for wildcard search, e.g. `.COM*` to find .com domain (optional) (default to undefined)
27
27
 
28
28
  const { status, data } = await apiInstance.getCatalogItemListV1(
@@ -35,7 +35,7 @@ const { status, data } = await apiInstance.getCatalogItemListV1(
35
35
 
36
36
  |Name | Type | Description | Notes|
37
37
  |------------- | ------------- | ------------- | -------------|
38
- | **category** | [**&#39;DOMAIN&#39; | &#39;VPS&#39;**]**Array<&#39;DOMAIN&#39; &#124; &#39;VPS&#39;>** | Filter catalog items by category | (optional) defaults to undefined|
38
+ | **category** | [**&#39;DOMAIN&#39; | &#39;VPS&#39; | &#39;EMAIL&#39;**]**Array<&#39;DOMAIN&#39; &#124; &#39;VPS&#39; &#124; &#39;EMAIL&#39;>** | Filter catalog items by category | (optional) defaults to undefined|
39
39
  | **name** | [**string**] | Filter catalog items by name. Use &#x60;*&#x60; for wildcard search, e.g. &#x60;.COM*&#x60; to find .com domain | (optional) defaults to undefined|
40
40
 
41
41
 
@@ -0,0 +1,63 @@
1
+ # BillingOrdersApi
2
+
3
+ All URIs are relative to *https://developers.hostinger.com*
4
+
5
+ |Method | HTTP request | Description|
6
+ |------------- | ------------- | -------------|
7
+ |[**createPurchaseOrderV1**](#createpurchaseorderv1) | **POST** /api/billing/v1/orders | Create purchase order|
8
+
9
+ # **createPurchaseOrderV1**
10
+ > BillingV1OrderOrderResource createPurchaseOrderV1(billingV1OrderPurchaseRequest)
11
+
12
+ Create a purchase order for any Hostinger product. This unified endpoint places an order for one or more catalog items and works across all Hostinger products, leveraging the existing billing infrastructure. Use the [catalog endpoint](#tag/billing-catalog) to look up the `item_id` values available for purchase. If no payment method is provided, your default payment method will be used automatically. This endpoint only places the order. Product-specific provisioning (e.g. VPS setup or domain registration) is not performed here — once the order completes, use the relevant product endpoints or [hPanel](https://hpanel.hostinger.com/) to finalize setup. Use this endpoint to purchase any product available in the catalog.
13
+
14
+ ### Example
15
+
16
+ ```typescript
17
+ import {
18
+ BillingOrdersApi,
19
+ Configuration,
20
+ BillingV1OrderPurchaseRequest
21
+ } from 'hostinger-api-sdk';
22
+
23
+ const configuration = new Configuration();
24
+ const apiInstance = new BillingOrdersApi(configuration);
25
+
26
+ let billingV1OrderPurchaseRequest: BillingV1OrderPurchaseRequest; //
27
+
28
+ const { status, data } = await apiInstance.createPurchaseOrderV1(
29
+ billingV1OrderPurchaseRequest
30
+ );
31
+ ```
32
+
33
+ ### Parameters
34
+
35
+ |Name | Type | Description | Notes|
36
+ |------------- | ------------- | ------------- | -------------|
37
+ | **billingV1OrderPurchaseRequest** | **BillingV1OrderPurchaseRequest**| | |
38
+
39
+
40
+ ### Return type
41
+
42
+ **BillingV1OrderOrderResource**
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
+ |**422** | Validation error response | - |
59
+ |**401** | Unauthenticated response | - |
60
+ |**500** | Error response | - |
61
+
62
+ [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md)
63
+
@@ -0,0 +1,24 @@
1
+ # BillingV1OrderPurchaseRequest
2
+
3
+
4
+ ## Properties
5
+
6
+ Name | Type | Description | Notes
7
+ ------------ | ------------- | ------------- | -------------
8
+ **payment_method_id** | **number** | Payment method ID, default will be used if not provided | [optional] [default to undefined]
9
+ **items** | [**Array&lt;BillingV1OrderPurchaseRequestItemsInner&gt;**](BillingV1OrderPurchaseRequestItemsInner.md) | Catalog price items to purchase | [default to undefined]
10
+ **coupons** | **Array&lt;any&gt;** | Discount coupon codes | [optional] [default to undefined]
11
+
12
+ ## Example
13
+
14
+ ```typescript
15
+ import { BillingV1OrderPurchaseRequest } from 'hostinger-api-sdk';
16
+
17
+ const instance: BillingV1OrderPurchaseRequest = {
18
+ payment_method_id,
19
+ items,
20
+ coupons,
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,22 @@
1
+ # BillingV1OrderPurchaseRequestItemsInner
2
+
3
+
4
+ ## Properties
5
+
6
+ Name | Type | Description | Notes
7
+ ------------ | ------------- | ------------- | -------------
8
+ **item_id** | **string** | Catalog price item ID | [default to undefined]
9
+ **quantity** | **number** | Quantity to purchase | [optional] [default to 1]
10
+
11
+ ## Example
12
+
13
+ ```typescript
14
+ import { BillingV1OrderPurchaseRequestItemsInner } from 'hostinger-api-sdk';
15
+
16
+ const instance: BillingV1OrderPurchaseRequestItemsInner = {
17
+ item_id,
18
+ quantity,
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)
@@ -7,6 +7,7 @@ All URIs are relative to *https://developers.hostinger.com*
7
7
  |[**createDomainForwardingV1**](#createdomainforwardingv1) | **POST** /api/domains/v1/forwarding | Create domain forwarding|
8
8
  |[**deleteDomainForwardingV1**](#deletedomainforwardingv1) | **DELETE** /api/domains/v1/forwarding/{domain} | Delete domain forwarding|
9
9
  |[**getDomainForwardingV1**](#getdomainforwardingv1) | **GET** /api/domains/v1/forwarding/{domain} | Get domain forwarding|
10
+ |[**updateDomainForwardingV1**](#updatedomainforwardingv1) | **PUT** /api/domains/v1/forwarding/{domain} | Update domain forwarding|
10
11
 
11
12
  # **createDomainForwardingV1**
12
13
  > DomainsV1ForwardingForwardingResource createDomainForwardingV1(domainsV1ForwardingStoreRequest)
@@ -169,3 +170,61 @@ const { status, data } = await apiInstance.getDomainForwardingV1(
169
170
 
170
171
  [[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)
171
172
 
173
+ # **updateDomainForwardingV1**
174
+ > DomainsV1ForwardingForwardingResource updateDomainForwardingV1(domainsV1ForwardingUpdateRequest)
175
+
176
+ Update domain forwarding configuration. Use this endpoint to modify existing redirect configuration for domains.
177
+
178
+ ### Example
179
+
180
+ ```typescript
181
+ import {
182
+ DomainsForwardingApi,
183
+ Configuration,
184
+ DomainsV1ForwardingUpdateRequest
185
+ } from 'hostinger-api-sdk';
186
+
187
+ const configuration = new Configuration();
188
+ const apiInstance = new DomainsForwardingApi(configuration);
189
+
190
+ let domain: string; //Domain name (default to undefined)
191
+ let domainsV1ForwardingUpdateRequest: DomainsV1ForwardingUpdateRequest; //
192
+
193
+ const { status, data } = await apiInstance.updateDomainForwardingV1(
194
+ domain,
195
+ domainsV1ForwardingUpdateRequest
196
+ );
197
+ ```
198
+
199
+ ### Parameters
200
+
201
+ |Name | Type | Description | Notes|
202
+ |------------- | ------------- | ------------- | -------------|
203
+ | **domainsV1ForwardingUpdateRequest** | **DomainsV1ForwardingUpdateRequest**| | |
204
+ | **domain** | [**string**] | Domain name | defaults to undefined|
205
+
206
+
207
+ ### Return type
208
+
209
+ **DomainsV1ForwardingForwardingResource**
210
+
211
+ ### Authorization
212
+
213
+ [apiToken](../README.md#apiToken)
214
+
215
+ ### HTTP request headers
216
+
217
+ - **Content-Type**: application/json
218
+ - **Accept**: application/json
219
+
220
+
221
+ ### HTTP response details
222
+ | Status code | Description | Response headers |
223
+ |-------------|-------------|------------------|
224
+ |**200** | Success response | - |
225
+ |**422** | Validation error response | - |
226
+ |**401** | Unauthenticated response | - |
227
+ |**500** | Error response | - |
228
+
229
+ [[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)
230
+