hostinger-api-sdk 1.5.1 → 1.22.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 (178) hide show
  1. package/.github/workflows/build-release.yaml +29 -1
  2. package/README.md +2 -2
  3. package/api.ts +19008 -8147
  4. package/base.ts +1 -1
  5. package/common.ts +2 -2
  6. package/configuration.ts +2 -2
  7. package/dist/api.d.ts +13441 -6234
  8. package/dist/api.js +10911 -4155
  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 +13441 -6234
  16. package/dist/esm/api.js +10589 -3919
  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/BillingSubscriptionsApi.md +59 -0
  93. package/docs/BillingV1OrderPurchaseRequest.md +24 -0
  94. package/docs/BillingV1OrderPurchaseRequestItemsInner.md +22 -0
  95. package/docs/BillingV1SubscriptionRenewalRenewRequest.md +22 -0
  96. package/docs/DomainsForwardingApi.md +59 -0
  97. package/docs/DomainsPortfolioApi.md +108 -0
  98. package/docs/DomainsTransferApi.md +108 -0
  99. package/docs/DomainsV1ForwardingUpdateRequest.md +22 -0
  100. package/docs/DomainsV1PortfolioAuthCodeAuthCodeResource.md +20 -0
  101. package/docs/DomainsV1PortfolioRenewalRenewalInformationResource.md +24 -0
  102. package/docs/DomainsV1TransferTransferResource.md +26 -0
  103. package/docs/HostingDatabasesApi.md +63 -63
  104. package/docs/HostingNodeJSApi.md +122 -0
  105. package/docs/HostingV1NodeJsPatchResultResource.md +26 -0
  106. package/docs/HostingV1NodeJsPatchVulnerabilitiesRequest.md +20 -0
  107. package/docs/HostingV1NodeJsVulnerabilityResource.md +48 -0
  108. package/docs/HostingV1WebsitesDeleteWebsiteRequest.md +20 -0
  109. package/docs/HostingWebsitesApi.md +59 -0
  110. package/docs/MailAPITokensApi.md +185 -0
  111. package/docs/MailAliasesApi.md +186 -0
  112. package/docs/MailAutorepliesApi.md +246 -0
  113. package/docs/MailCatchallsApi.md +239 -0
  114. package/docs/MailForwardersApi.md +304 -0
  115. package/docs/MailListAPITokensV1200Response.md +22 -0
  116. package/docs/MailListAccessLogsV1200Response.md +22 -0
  117. package/docs/MailListActionLogsV1200Response.md +22 -0
  118. package/docs/MailListAliasesV1200Response.md +22 -0
  119. package/docs/MailListAutorepliesV1200Response.md +22 -0
  120. package/docs/MailListCatchAllsV1200Response.md +22 -0
  121. package/docs/MailListForwardersV1200Response.md +22 -0
  122. package/docs/MailListInboundLogsV1200Response.md +22 -0
  123. package/docs/MailListMailboxActionLogsV1200Response.md +22 -0
  124. package/docs/MailListMailboxesV1200Response.md +22 -0
  125. package/docs/MailListOrdersV1200Response.md +22 -0
  126. package/docs/MailListWebhookDeliveryLogsV1200Response.md +22 -0
  127. package/docs/MailListWebhooksV1200Response.md +22 -0
  128. package/docs/MailLogsApi.md +410 -0
  129. package/docs/MailMailboxesApi.md +253 -0
  130. package/docs/MailOrdersApi.md +132 -0
  131. package/docs/MailV1AliasesAliasMailboxResource.md +22 -0
  132. package/docs/MailV1AliasesAliasResource.md +30 -0
  133. package/docs/MailV1ApiTokensApiTokenCreatedResource.md +30 -0
  134. package/docs/MailV1ApiTokensApiTokenMailboxResource.md +22 -0
  135. package/docs/MailV1ApiTokensApiTokenResource.md +32 -0
  136. package/docs/MailV1ApiTokensApiTokenScopeResource.md +22 -0
  137. package/docs/MailV1AutorepliesAutoreplyMailboxResource.md +22 -0
  138. package/docs/MailV1AutorepliesAutoreplyResource.md +36 -0
  139. package/docs/MailV1CatchallsCatchallMailboxResource.md +22 -0
  140. package/docs/MailV1CatchallsCatchallResource.md +32 -0
  141. package/docs/MailV1ForwardersForwarderMailboxResource.md +22 -0
  142. package/docs/MailV1ForwardersForwarderResource.md +34 -0
  143. package/docs/MailV1LogsAccessAccessLogResource.md +54 -0
  144. package/docs/MailV1LogsActionActionLogResource.md +32 -0
  145. package/docs/MailV1LogsCommonDeliveryLogRelayEventResource.md +32 -0
  146. package/docs/MailV1LogsCommonDeliveryLogResource.md +38 -0
  147. package/docs/MailV1LogsMailboxActionsMailboxActionLogResource.md +30 -0
  148. package/docs/MailV1MailboxesMailboxCountsResource.md +24 -0
  149. package/docs/MailV1MailboxesMailboxProtocolsResource.md +26 -0
  150. package/docs/MailV1MailboxesMailboxResource.md +38 -0
  151. package/docs/MailV1MailboxesMailboxUsageResource.md +29 -0
  152. package/docs/MailV1OrdersOrderDomainResource.md +22 -0
  153. package/docs/MailV1OrdersOrderPlanResource.md +22 -0
  154. package/docs/MailV1OrdersOrderResource.md +36 -0
  155. package/docs/MailV1OrdersPlanDomainResource.md +30 -0
  156. package/docs/MailV1OrdersPlanMailboxResource.md +36 -0
  157. package/docs/MailV1OrdersPlanResource.md +26 -0
  158. package/docs/MailV1SchemaChangeMailboxPasswordRequestSchema.md +20 -0
  159. package/docs/MailV1SchemaCreateAliasRequestSchema.md +20 -0
  160. package/docs/MailV1SchemaCreateApiTokenRequestSchema.md +22 -0
  161. package/docs/MailV1SchemaCreateApiTokenRequestSchemaScope.md +23 -0
  162. package/docs/MailV1SchemaCreateForwarderRequestSchema.md +22 -0
  163. package/docs/MailV1SchemaCreateMailboxRequestSchema.md +22 -0
  164. package/docs/MailV1SchemaCreateWebhookRequestSchema.md +28 -0
  165. package/docs/MailV1SchemaUpdateForwarderKeepCopyRequestSchema.md +20 -0
  166. package/docs/MailV1SchemaUpdateWebhookRequestSchema.md +29 -0
  167. package/docs/MailV1SchemaUpsertAutoreplyRequestSchema.md +28 -0
  168. package/docs/MailV1WebhooksWebhookCreatedResource.md +38 -0
  169. package/docs/MailV1WebhooksWebhookDeliveryLogResource.md +32 -0
  170. package/docs/MailV1WebhooksWebhookMailboxResource.md +22 -0
  171. package/docs/MailV1WebhooksWebhookResource.md +36 -0
  172. package/docs/MailV1WebhooksWebhookSecretResource.md +38 -0
  173. package/docs/MailV1WebhooksWebhookTestResultResource.md +24 -0
  174. package/docs/MailWebhooksApi.md +488 -0
  175. package/docs/WordPressV1InstallationsWordPressMcpDetailsResource.md +26 -0
  176. package/docs/WordPressV1InstallationsWordPressMcpInstallationResource.md +28 -0
  177. package/index.ts +1 -1
  178. package/package.json +2 -2
@@ -0,0 +1,239 @@
1
+ # MailCatchallsApi
2
+
3
+ All URIs are relative to *https://developers.hostinger.com*
4
+
5
+ |Method | HTTP request | Description|
6
+ |------------- | ------------- | -------------|
7
+ |[**createCatchAllV1**](#createcatchallv1) | **POST** /api/mail/v1/mailboxes/{mailboxId}/catchalls | Create catch-all|
8
+ |[**deleteCatchAllV1**](#deletecatchallv1) | **DELETE** /api/mail/v1/catchalls/{catchallId} | Delete catch-all|
9
+ |[**listCatchAllsV1**](#listcatchallsv1) | **GET** /api/mail/v1/orders/{orderId}/catchalls | List catch-alls|
10
+ |[**resendCatchAllConfirmationV1**](#resendcatchallconfirmationv1) | **POST** /api/mail/v1/catchalls/{catchallId}/confirmation/resend | Resend catch-all confirmation|
11
+
12
+ # **createCatchAllV1**
13
+ > MailV1CatchallsCatchallResource createCatchAllV1()
14
+
15
+ Create a catch-all that routes all messages sent to unknown addresses of the domain to the given mailbox. The mailbox address receives a confirmation email and the catch-all becomes active only after it is confirmed. A domain can have only one catch-all.
16
+
17
+ ### Example
18
+
19
+ ```typescript
20
+ import {
21
+ MailCatchallsApi,
22
+ Configuration
23
+ } from 'hostinger-api-sdk';
24
+
25
+ const configuration = new Configuration();
26
+ const apiInstance = new MailCatchallsApi(configuration);
27
+
28
+ let mailboxId: string; //Mailbox resource ID (default to undefined)
29
+
30
+ const { status, data } = await apiInstance.createCatchAllV1(
31
+ mailboxId
32
+ );
33
+ ```
34
+
35
+ ### Parameters
36
+
37
+ |Name | Type | Description | Notes|
38
+ |------------- | ------------- | ------------- | -------------|
39
+ | **mailboxId** | [**string**] | Mailbox resource ID | defaults to undefined|
40
+
41
+
42
+ ### Return type
43
+
44
+ **MailV1CatchallsCatchallResource**
45
+
46
+ ### Authorization
47
+
48
+ [apiToken](../README.md#apiToken)
49
+
50
+ ### HTTP request headers
51
+
52
+ - **Content-Type**: Not defined
53
+ - **Accept**: application/json
54
+
55
+
56
+ ### HTTP response details
57
+ | Status code | Description | Response headers |
58
+ |-------------|-------------|------------------|
59
+ |**201** | Created response | - |
60
+ |**401** | Unauthenticated response | - |
61
+ |**404** | Error response | - |
62
+ |**409** | Error response | - |
63
+ |**422** | Error response | - |
64
+ |**500** | Error response | - |
65
+
66
+ [[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)
67
+
68
+ # **deleteCatchAllV1**
69
+ > CommonSuccessEmptyResource deleteCatchAllV1()
70
+
71
+ Delete a catch-all. Messages sent to unknown addresses of the domain are no longer routed to the mailbox.
72
+
73
+ ### Example
74
+
75
+ ```typescript
76
+ import {
77
+ MailCatchallsApi,
78
+ Configuration
79
+ } from 'hostinger-api-sdk';
80
+
81
+ const configuration = new Configuration();
82
+ const apiInstance = new MailCatchallsApi(configuration);
83
+
84
+ let catchallId: string; //Catch-all resource ID (default to undefined)
85
+
86
+ const { status, data } = await apiInstance.deleteCatchAllV1(
87
+ catchallId
88
+ );
89
+ ```
90
+
91
+ ### Parameters
92
+
93
+ |Name | Type | Description | Notes|
94
+ |------------- | ------------- | ------------- | -------------|
95
+ | **catchallId** | [**string**] | Catch-all resource ID | defaults to undefined|
96
+
97
+
98
+ ### Return type
99
+
100
+ **CommonSuccessEmptyResource**
101
+
102
+ ### Authorization
103
+
104
+ [apiToken](../README.md#apiToken)
105
+
106
+ ### HTTP request headers
107
+
108
+ - **Content-Type**: Not defined
109
+ - **Accept**: application/json
110
+
111
+
112
+ ### HTTP response details
113
+ | Status code | Description | Response headers |
114
+ |-------------|-------------|------------------|
115
+ |**200** | Success response | - |
116
+ |**401** | Unauthenticated response | - |
117
+ |**404** | Error response | - |
118
+ |**422** | Error 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
+ # **listCatchAllsV1**
124
+ > MailListCatchAllsV1200Response listCatchAllsV1()
125
+
126
+ Retrieve a paginated list of catch-alls across all mailboxes of a mail order.
127
+
128
+ ### Example
129
+
130
+ ```typescript
131
+ import {
132
+ MailCatchallsApi,
133
+ Configuration
134
+ } from 'hostinger-api-sdk';
135
+
136
+ const configuration = new Configuration();
137
+ const apiInstance = new MailCatchallsApi(configuration);
138
+
139
+ let orderId: string; //Order resource ID (default to undefined)
140
+ let page: number; //Page number (optional) (default to undefined)
141
+ let perPage: number; //Number of items per page (optional) (default to 25)
142
+
143
+ const { status, data } = await apiInstance.listCatchAllsV1(
144
+ orderId,
145
+ page,
146
+ perPage
147
+ );
148
+ ```
149
+
150
+ ### Parameters
151
+
152
+ |Name | Type | Description | Notes|
153
+ |------------- | ------------- | ------------- | -------------|
154
+ | **orderId** | [**string**] | Order resource ID | defaults to undefined|
155
+ | **page** | [**number**] | Page number | (optional) defaults to undefined|
156
+ | **perPage** | [**number**] | Number of items per page | (optional) defaults to 25|
157
+
158
+
159
+ ### Return type
160
+
161
+ **MailListCatchAllsV1200Response**
162
+
163
+ ### Authorization
164
+
165
+ [apiToken](../README.md#apiToken)
166
+
167
+ ### HTTP request headers
168
+
169
+ - **Content-Type**: Not defined
170
+ - **Accept**: application/json
171
+
172
+
173
+ ### HTTP response details
174
+ | Status code | Description | Response headers |
175
+ |-------------|-------------|------------------|
176
+ |**200** | Success response | - |
177
+ |**401** | Unauthenticated response | - |
178
+ |**404** | Error response | - |
179
+ |**422** | Error response | - |
180
+ |**500** | Error response | - |
181
+
182
+ [[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)
183
+
184
+ # **resendCatchAllConfirmationV1**
185
+ > CommonSuccessEmptyResource resendCatchAllConfirmationV1()
186
+
187
+ Resend the confirmation email to the mailbox address of an unconfirmed catch-all.
188
+
189
+ ### Example
190
+
191
+ ```typescript
192
+ import {
193
+ MailCatchallsApi,
194
+ Configuration
195
+ } from 'hostinger-api-sdk';
196
+
197
+ const configuration = new Configuration();
198
+ const apiInstance = new MailCatchallsApi(configuration);
199
+
200
+ let catchallId: string; //Catch-all resource ID (default to undefined)
201
+
202
+ const { status, data } = await apiInstance.resendCatchAllConfirmationV1(
203
+ catchallId
204
+ );
205
+ ```
206
+
207
+ ### Parameters
208
+
209
+ |Name | Type | Description | Notes|
210
+ |------------- | ------------- | ------------- | -------------|
211
+ | **catchallId** | [**string**] | Catch-all resource ID | defaults to undefined|
212
+
213
+
214
+ ### Return type
215
+
216
+ **CommonSuccessEmptyResource**
217
+
218
+ ### Authorization
219
+
220
+ [apiToken](../README.md#apiToken)
221
+
222
+ ### HTTP request headers
223
+
224
+ - **Content-Type**: Not defined
225
+ - **Accept**: application/json
226
+
227
+
228
+ ### HTTP response details
229
+ | Status code | Description | Response headers |
230
+ |-------------|-------------|------------------|
231
+ |**200** | Success response | - |
232
+ |**401** | Unauthenticated response | - |
233
+ |**404** | Error response | - |
234
+ |**409** | Error response | - |
235
+ |**422** | Error response | - |
236
+ |**500** | Error response | - |
237
+
238
+ [[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)
239
+
@@ -0,0 +1,304 @@
1
+ # MailForwardersApi
2
+
3
+ All URIs are relative to *https://developers.hostinger.com*
4
+
5
+ |Method | HTTP request | Description|
6
+ |------------- | ------------- | -------------|
7
+ |[**createForwarderV1**](#createforwarderv1) | **POST** /api/mail/v1/mailboxes/{mailboxId}/forwarders | Create forwarder|
8
+ |[**deleteForwarderV1**](#deleteforwarderv1) | **DELETE** /api/mail/v1/forwarders/{forwarderId} | Delete forwarder|
9
+ |[**listForwardersV1**](#listforwardersv1) | **GET** /api/mail/v1/orders/{orderId}/forwarders | List forwarders|
10
+ |[**resendForwarderConfirmationV1**](#resendforwarderconfirmationv1) | **POST** /api/mail/v1/forwarders/{forwarderId}/confirmation/resend | Resend forwarder confirmation|
11
+ |[**updateForwarderKeepCopySettingV1**](#updateforwarderkeepcopysettingv1) | **PATCH** /api/mail/v1/forwarders/{forwarderId}/keep-copy | Update forwarder keep-copy setting|
12
+
13
+ # **createForwarderV1**
14
+ > MailV1ForwardersForwarderResource createForwarderV1(mailV1SchemaCreateForwarderRequestSchema)
15
+
16
+ Create a forwarder from the given mailbox to the destination address. The destination receives a confirmation email and forwarding becomes active only after it is confirmed.
17
+
18
+ ### Example
19
+
20
+ ```typescript
21
+ import {
22
+ MailForwardersApi,
23
+ Configuration,
24
+ MailV1SchemaCreateForwarderRequestSchema
25
+ } from 'hostinger-api-sdk';
26
+
27
+ const configuration = new Configuration();
28
+ const apiInstance = new MailForwardersApi(configuration);
29
+
30
+ let mailboxId: string; //Mailbox resource ID (default to undefined)
31
+ let mailV1SchemaCreateForwarderRequestSchema: MailV1SchemaCreateForwarderRequestSchema; //
32
+
33
+ const { status, data } = await apiInstance.createForwarderV1(
34
+ mailboxId,
35
+ mailV1SchemaCreateForwarderRequestSchema
36
+ );
37
+ ```
38
+
39
+ ### Parameters
40
+
41
+ |Name | Type | Description | Notes|
42
+ |------------- | ------------- | ------------- | -------------|
43
+ | **mailV1SchemaCreateForwarderRequestSchema** | **MailV1SchemaCreateForwarderRequestSchema**| | |
44
+ | **mailboxId** | [**string**] | Mailbox resource ID | defaults to undefined|
45
+
46
+
47
+ ### Return type
48
+
49
+ **MailV1ForwardersForwarderResource**
50
+
51
+ ### Authorization
52
+
53
+ [apiToken](../README.md#apiToken)
54
+
55
+ ### HTTP request headers
56
+
57
+ - **Content-Type**: application/json
58
+ - **Accept**: application/json
59
+
60
+
61
+ ### HTTP response details
62
+ | Status code | Description | Response headers |
63
+ |-------------|-------------|------------------|
64
+ |**201** | Created response | - |
65
+ |**401** | Unauthenticated response | - |
66
+ |**400** | Error response | - |
67
+ |**404** | Error response | - |
68
+ |**409** | Error response | - |
69
+ |**422** | Error response | - |
70
+ |**500** | Error response | - |
71
+
72
+ [[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)
73
+
74
+ # **deleteForwarderV1**
75
+ > CommonSuccessEmptyResource deleteForwarderV1()
76
+
77
+ Delete a forwarder. The mailbox stops forwarding messages to the destination address immediately.
78
+
79
+ ### Example
80
+
81
+ ```typescript
82
+ import {
83
+ MailForwardersApi,
84
+ Configuration
85
+ } from 'hostinger-api-sdk';
86
+
87
+ const configuration = new Configuration();
88
+ const apiInstance = new MailForwardersApi(configuration);
89
+
90
+ let forwarderId: string; //Forwarder resource ID (default to undefined)
91
+
92
+ const { status, data } = await apiInstance.deleteForwarderV1(
93
+ forwarderId
94
+ );
95
+ ```
96
+
97
+ ### Parameters
98
+
99
+ |Name | Type | Description | Notes|
100
+ |------------- | ------------- | ------------- | -------------|
101
+ | **forwarderId** | [**string**] | Forwarder resource ID | defaults to undefined|
102
+
103
+
104
+ ### Return type
105
+
106
+ **CommonSuccessEmptyResource**
107
+
108
+ ### Authorization
109
+
110
+ [apiToken](../README.md#apiToken)
111
+
112
+ ### HTTP request headers
113
+
114
+ - **Content-Type**: Not defined
115
+ - **Accept**: application/json
116
+
117
+
118
+ ### HTTP response details
119
+ | Status code | Description | Response headers |
120
+ |-------------|-------------|------------------|
121
+ |**200** | Success response | - |
122
+ |**401** | Unauthenticated response | - |
123
+ |**404** | Error response | - |
124
+ |**422** | Error response | - |
125
+ |**500** | Error response | - |
126
+
127
+ [[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)
128
+
129
+ # **listForwardersV1**
130
+ > MailListForwardersV1200Response listForwardersV1()
131
+
132
+ Retrieve a paginated list of forwarders across all mailboxes of a mail order.
133
+
134
+ ### Example
135
+
136
+ ```typescript
137
+ import {
138
+ MailForwardersApi,
139
+ Configuration
140
+ } from 'hostinger-api-sdk';
141
+
142
+ const configuration = new Configuration();
143
+ const apiInstance = new MailForwardersApi(configuration);
144
+
145
+ let orderId: string; //Order resource ID (default to undefined)
146
+ let page: number; //Page number (optional) (default to undefined)
147
+ let perPage: number; //Number of items per page (optional) (default to 25)
148
+
149
+ const { status, data } = await apiInstance.listForwardersV1(
150
+ orderId,
151
+ page,
152
+ perPage
153
+ );
154
+ ```
155
+
156
+ ### Parameters
157
+
158
+ |Name | Type | Description | Notes|
159
+ |------------- | ------------- | ------------- | -------------|
160
+ | **orderId** | [**string**] | Order resource ID | defaults to undefined|
161
+ | **page** | [**number**] | Page number | (optional) defaults to undefined|
162
+ | **perPage** | [**number**] | Number of items per page | (optional) defaults to 25|
163
+
164
+
165
+ ### Return type
166
+
167
+ **MailListForwardersV1200Response**
168
+
169
+ ### Authorization
170
+
171
+ [apiToken](../README.md#apiToken)
172
+
173
+ ### HTTP request headers
174
+
175
+ - **Content-Type**: Not defined
176
+ - **Accept**: application/json
177
+
178
+
179
+ ### HTTP response details
180
+ | Status code | Description | Response headers |
181
+ |-------------|-------------|------------------|
182
+ |**200** | Success response | - |
183
+ |**401** | Unauthenticated response | - |
184
+ |**404** | Error response | - |
185
+ |**422** | Error response | - |
186
+ |**500** | Error response | - |
187
+
188
+ [[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)
189
+
190
+ # **resendForwarderConfirmationV1**
191
+ > CommonSuccessEmptyResource resendForwarderConfirmationV1()
192
+
193
+ Resend the confirmation email to the destination address of an unconfirmed forwarder.
194
+
195
+ ### Example
196
+
197
+ ```typescript
198
+ import {
199
+ MailForwardersApi,
200
+ Configuration
201
+ } from 'hostinger-api-sdk';
202
+
203
+ const configuration = new Configuration();
204
+ const apiInstance = new MailForwardersApi(configuration);
205
+
206
+ let forwarderId: string; //Forwarder resource ID (default to undefined)
207
+
208
+ const { status, data } = await apiInstance.resendForwarderConfirmationV1(
209
+ forwarderId
210
+ );
211
+ ```
212
+
213
+ ### Parameters
214
+
215
+ |Name | Type | Description | Notes|
216
+ |------------- | ------------- | ------------- | -------------|
217
+ | **forwarderId** | [**string**] | Forwarder resource ID | defaults to undefined|
218
+
219
+
220
+ ### Return type
221
+
222
+ **CommonSuccessEmptyResource**
223
+
224
+ ### Authorization
225
+
226
+ [apiToken](../README.md#apiToken)
227
+
228
+ ### HTTP request headers
229
+
230
+ - **Content-Type**: Not defined
231
+ - **Accept**: application/json
232
+
233
+
234
+ ### HTTP response details
235
+ | Status code | Description | Response headers |
236
+ |-------------|-------------|------------------|
237
+ |**200** | Success response | - |
238
+ |**401** | Unauthenticated response | - |
239
+ |**404** | Error response | - |
240
+ |**409** | Error response | - |
241
+ |**422** | Error response | - |
242
+ |**500** | Error response | - |
243
+
244
+ [[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)
245
+
246
+ # **updateForwarderKeepCopySettingV1**
247
+ > CommonSuccessEmptyResource updateForwarderKeepCopySettingV1(mailV1SchemaUpdateForwarderKeepCopyRequestSchema)
248
+
249
+ Enable or disable keeping a copy of forwarded messages in the mailbox.
250
+
251
+ ### Example
252
+
253
+ ```typescript
254
+ import {
255
+ MailForwardersApi,
256
+ Configuration,
257
+ MailV1SchemaUpdateForwarderKeepCopyRequestSchema
258
+ } from 'hostinger-api-sdk';
259
+
260
+ const configuration = new Configuration();
261
+ const apiInstance = new MailForwardersApi(configuration);
262
+
263
+ let forwarderId: string; //Forwarder resource ID (default to undefined)
264
+ let mailV1SchemaUpdateForwarderKeepCopyRequestSchema: MailV1SchemaUpdateForwarderKeepCopyRequestSchema; //
265
+
266
+ const { status, data } = await apiInstance.updateForwarderKeepCopySettingV1(
267
+ forwarderId,
268
+ mailV1SchemaUpdateForwarderKeepCopyRequestSchema
269
+ );
270
+ ```
271
+
272
+ ### Parameters
273
+
274
+ |Name | Type | Description | Notes|
275
+ |------------- | ------------- | ------------- | -------------|
276
+ | **mailV1SchemaUpdateForwarderKeepCopyRequestSchema** | **MailV1SchemaUpdateForwarderKeepCopyRequestSchema**| | |
277
+ | **forwarderId** | [**string**] | Forwarder resource ID | defaults to undefined|
278
+
279
+
280
+ ### Return type
281
+
282
+ **CommonSuccessEmptyResource**
283
+
284
+ ### Authorization
285
+
286
+ [apiToken](../README.md#apiToken)
287
+
288
+ ### HTTP request headers
289
+
290
+ - **Content-Type**: application/json
291
+ - **Accept**: application/json
292
+
293
+
294
+ ### HTTP response details
295
+ | Status code | Description | Response headers |
296
+ |-------------|-------------|------------------|
297
+ |**200** | Success response | - |
298
+ |**401** | Unauthenticated response | - |
299
+ |**404** | Error response | - |
300
+ |**422** | Error response | - |
301
+ |**500** | Error response | - |
302
+
303
+ [[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)
304
+
@@ -0,0 +1,22 @@
1
+ # MailListAPITokensV1200Response
2
+
3
+
4
+ ## Properties
5
+
6
+ Name | Type | Description | Notes
7
+ ------------ | ------------- | ------------- | -------------
8
+ **data** | [**Array<MailV1ApiTokensApiTokenResource>**](MailV1ApiTokensApiTokenResource.md) | Array of [`Mail.V1.ApiTokens.ApiTokenResource`](#model/mailv1apitokensapitokenresource) | [optional] [default to undefined]
9
+ **meta** | [**CommonSchemaPaginationMetaSchema**](CommonSchemaPaginationMetaSchema.md) | | [optional] [default to undefined]
10
+
11
+ ## Example
12
+
13
+ ```typescript
14
+ import { MailListAPITokensV1200Response } from 'hostinger-api-sdk';
15
+
16
+ const instance: MailListAPITokensV1200Response = {
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
+ # MailListAccessLogsV1200Response
2
+
3
+
4
+ ## Properties
5
+
6
+ Name | Type | Description | Notes
7
+ ------------ | ------------- | ------------- | -------------
8
+ **data** | [**Array<MailV1LogsAccessAccessLogResource>**](MailV1LogsAccessAccessLogResource.md) | Array of [`Mail.V1.Logs.Access.AccessLogResource`](#model/mailv1logsaccessaccesslogresource) | [optional] [default to undefined]
9
+ **meta** | [**CommonSchemaPaginationMetaSchema**](CommonSchemaPaginationMetaSchema.md) | | [optional] [default to undefined]
10
+
11
+ ## Example
12
+
13
+ ```typescript
14
+ import { MailListAccessLogsV1200Response } from 'hostinger-api-sdk';
15
+
16
+ const instance: MailListAccessLogsV1200Response = {
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
+ # MailListActionLogsV1200Response
2
+
3
+
4
+ ## Properties
5
+
6
+ Name | Type | Description | Notes
7
+ ------------ | ------------- | ------------- | -------------
8
+ **data** | [**Array<MailV1LogsActionActionLogResource>**](MailV1LogsActionActionLogResource.md) | Array of [`Mail.V1.Logs.Action.ActionLogResource`](#model/mailv1logsactionactionlogresource) | [optional] [default to undefined]
9
+ **meta** | [**CommonSchemaPaginationMetaSchema**](CommonSchemaPaginationMetaSchema.md) | | [optional] [default to undefined]
10
+
11
+ ## Example
12
+
13
+ ```typescript
14
+ import { MailListActionLogsV1200Response } from 'hostinger-api-sdk';
15
+
16
+ const instance: MailListActionLogsV1200Response = {
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
+ # MailListAliasesV1200Response
2
+
3
+
4
+ ## Properties
5
+
6
+ Name | Type | Description | Notes
7
+ ------------ | ------------- | ------------- | -------------
8
+ **data** | [**Array<MailV1AliasesAliasResource>**](MailV1AliasesAliasResource.md) | Array of [`Mail.V1.Aliases.AliasResource`](#model/mailv1aliasesaliasresource) | [optional] [default to undefined]
9
+ **meta** | [**CommonSchemaPaginationMetaSchema**](CommonSchemaPaginationMetaSchema.md) | | [optional] [default to undefined]
10
+
11
+ ## Example
12
+
13
+ ```typescript
14
+ import { MailListAliasesV1200Response } from 'hostinger-api-sdk';
15
+
16
+ const instance: MailListAliasesV1200Response = {
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
+ # MailListAutorepliesV1200Response
2
+
3
+
4
+ ## Properties
5
+
6
+ Name | Type | Description | Notes
7
+ ------------ | ------------- | ------------- | -------------
8
+ **data** | [**Array<MailV1AutorepliesAutoreplyResource>**](MailV1AutorepliesAutoreplyResource.md) | Array of [`Mail.V1.Autoreplies.AutoreplyResource`](#model/mailv1autorepliesautoreplyresource) | [optional] [default to undefined]
9
+ **meta** | [**CommonSchemaPaginationMetaSchema**](CommonSchemaPaginationMetaSchema.md) | | [optional] [default to undefined]
10
+
11
+ ## Example
12
+
13
+ ```typescript
14
+ import { MailListAutorepliesV1200Response } from 'hostinger-api-sdk';
15
+
16
+ const instance: MailListAutorepliesV1200Response = {
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
+ # MailListCatchAllsV1200Response
2
+
3
+
4
+ ## Properties
5
+
6
+ Name | Type | Description | Notes
7
+ ------------ | ------------- | ------------- | -------------
8
+ **data** | [**Array<MailV1CatchallsCatchallResource>**](MailV1CatchallsCatchallResource.md) | Array of [`Mail.V1.Catchalls.CatchallResource`](#model/mailv1catchallscatchallresource) | [optional] [default to undefined]
9
+ **meta** | [**CommonSchemaPaginationMetaSchema**](CommonSchemaPaginationMetaSchema.md) | | [optional] [default to undefined]
10
+
11
+ ## Example
12
+
13
+ ```typescript
14
+ import { MailListCatchAllsV1200Response } from 'hostinger-api-sdk';
15
+
16
+ const instance: MailListCatchAllsV1200Response = {
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
+ # MailListForwardersV1200Response
2
+
3
+
4
+ ## Properties
5
+
6
+ Name | Type | Description | Notes
7
+ ------------ | ------------- | ------------- | -------------
8
+ **data** | [**Array<MailV1ForwardersForwarderResource>**](MailV1ForwardersForwarderResource.md) | Array of [`Mail.V1.Forwarders.ForwarderResource`](#model/mailv1forwardersforwarderresource) | [optional] [default to undefined]
9
+ **meta** | [**CommonSchemaPaginationMetaSchema**](CommonSchemaPaginationMetaSchema.md) | | [optional] [default to undefined]
10
+
11
+ ## Example
12
+
13
+ ```typescript
14
+ import { MailListForwardersV1200Response } from 'hostinger-api-sdk';
15
+
16
+ const instance: MailListForwardersV1200Response = {
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)