hostinger-api-sdk 1.5.1 → 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 (176) hide show
  1. package/.github/workflows/build-release.yaml +29 -1
  2. package/README.md +2 -2
  3. package/api.ts +18917 -8154
  4. package/base.ts +1 -1
  5. package/common.ts +1 -1
  6. package/configuration.ts +2 -2
  7. package/dist/api.d.ts +13394 -6243
  8. package/dist/api.js +10470 -3788
  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 +13394 -6243
  16. package/dist/esm/api.js +10463 -3867
  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/HostingDatabasesApi.md +63 -63
  102. package/docs/HostingNodeJSApi.md +122 -0
  103. package/docs/HostingV1NodeJsPatchResultResource.md +26 -0
  104. package/docs/HostingV1NodeJsPatchVulnerabilitiesRequest.md +20 -0
  105. package/docs/HostingV1NodeJsVulnerabilityResource.md +48 -0
  106. package/docs/HostingV1WebsitesDeleteWebsiteRequest.md +20 -0
  107. package/docs/HostingWebsitesApi.md +59 -0
  108. package/docs/MailAPITokensApi.md +185 -0
  109. package/docs/MailAliasesApi.md +186 -0
  110. package/docs/MailAutorepliesApi.md +246 -0
  111. package/docs/MailCatchallsApi.md +239 -0
  112. package/docs/MailForwardersApi.md +304 -0
  113. package/docs/MailListAPITokensV1200Response.md +22 -0
  114. package/docs/MailListAccessLogsV1200Response.md +22 -0
  115. package/docs/MailListActionLogsV1200Response.md +22 -0
  116. package/docs/MailListAliasesV1200Response.md +22 -0
  117. package/docs/MailListAutorepliesV1200Response.md +22 -0
  118. package/docs/MailListCatchAllsV1200Response.md +22 -0
  119. package/docs/MailListForwardersV1200Response.md +22 -0
  120. package/docs/MailListInboundLogsV1200Response.md +22 -0
  121. package/docs/MailListMailboxActionLogsV1200Response.md +22 -0
  122. package/docs/MailListMailboxesV1200Response.md +22 -0
  123. package/docs/MailListOrdersV1200Response.md +22 -0
  124. package/docs/MailListWebhookDeliveryLogsV1200Response.md +22 -0
  125. package/docs/MailListWebhooksV1200Response.md +22 -0
  126. package/docs/MailLogsApi.md +410 -0
  127. package/docs/MailMailboxesApi.md +253 -0
  128. package/docs/MailOrdersApi.md +132 -0
  129. package/docs/MailV1AliasesAliasMailboxResource.md +22 -0
  130. package/docs/MailV1AliasesAliasResource.md +30 -0
  131. package/docs/MailV1ApiTokensApiTokenCreatedResource.md +30 -0
  132. package/docs/MailV1ApiTokensApiTokenMailboxResource.md +22 -0
  133. package/docs/MailV1ApiTokensApiTokenResource.md +32 -0
  134. package/docs/MailV1ApiTokensApiTokenScopeResource.md +22 -0
  135. package/docs/MailV1AutorepliesAutoreplyMailboxResource.md +22 -0
  136. package/docs/MailV1AutorepliesAutoreplyResource.md +36 -0
  137. package/docs/MailV1CatchallsCatchallMailboxResource.md +22 -0
  138. package/docs/MailV1CatchallsCatchallResource.md +32 -0
  139. package/docs/MailV1ForwardersForwarderMailboxResource.md +22 -0
  140. package/docs/MailV1ForwardersForwarderResource.md +34 -0
  141. package/docs/MailV1LogsAccessAccessLogResource.md +54 -0
  142. package/docs/MailV1LogsActionActionLogResource.md +32 -0
  143. package/docs/MailV1LogsCommonDeliveryLogRelayEventResource.md +32 -0
  144. package/docs/MailV1LogsCommonDeliveryLogResource.md +38 -0
  145. package/docs/MailV1LogsMailboxActionsMailboxActionLogResource.md +30 -0
  146. package/docs/MailV1MailboxesMailboxCountsResource.md +24 -0
  147. package/docs/MailV1MailboxesMailboxProtocolsResource.md +26 -0
  148. package/docs/MailV1MailboxesMailboxResource.md +38 -0
  149. package/docs/MailV1MailboxesMailboxUsageResource.md +29 -0
  150. package/docs/MailV1OrdersOrderDomainResource.md +22 -0
  151. package/docs/MailV1OrdersOrderPlanResource.md +22 -0
  152. package/docs/MailV1OrdersOrderResource.md +36 -0
  153. package/docs/MailV1OrdersPlanDomainResource.md +30 -0
  154. package/docs/MailV1OrdersPlanMailboxResource.md +36 -0
  155. package/docs/MailV1OrdersPlanResource.md +26 -0
  156. package/docs/MailV1SchemaChangeMailboxPasswordRequestSchema.md +20 -0
  157. package/docs/MailV1SchemaCreateAliasRequestSchema.md +20 -0
  158. package/docs/MailV1SchemaCreateApiTokenRequestSchema.md +22 -0
  159. package/docs/MailV1SchemaCreateApiTokenRequestSchemaScope.md +23 -0
  160. package/docs/MailV1SchemaCreateForwarderRequestSchema.md +22 -0
  161. package/docs/MailV1SchemaCreateMailboxRequestSchema.md +22 -0
  162. package/docs/MailV1SchemaCreateWebhookRequestSchema.md +28 -0
  163. package/docs/MailV1SchemaUpdateForwarderKeepCopyRequestSchema.md +20 -0
  164. package/docs/MailV1SchemaUpdateWebhookRequestSchema.md +29 -0
  165. package/docs/MailV1SchemaUpsertAutoreplyRequestSchema.md +28 -0
  166. package/docs/MailV1WebhooksWebhookCreatedResource.md +38 -0
  167. package/docs/MailV1WebhooksWebhookDeliveryLogResource.md +32 -0
  168. package/docs/MailV1WebhooksWebhookMailboxResource.md +22 -0
  169. package/docs/MailV1WebhooksWebhookResource.md +36 -0
  170. package/docs/MailV1WebhooksWebhookSecretResource.md +38 -0
  171. package/docs/MailV1WebhooksWebhookTestResultResource.md +24 -0
  172. package/docs/MailWebhooksApi.md +488 -0
  173. package/docs/WordPressV1InstallationsWordPressMcpDetailsResource.md +26 -0
  174. package/docs/WordPressV1InstallationsWordPressMcpInstallationResource.md +28 -0
  175. package/index.ts +1 -1
  176. package/package.json +2 -2
@@ -0,0 +1,24 @@
1
+ # MailV1MailboxesMailboxCountsResource
2
+
3
+
4
+ ## Properties
5
+
6
+ Name | Type | Description | Notes
7
+ ------------ | ------------- | ------------- | -------------
8
+ **forwarders** | **number** | Number of attached forwarders | [optional] [default to undefined]
9
+ **aliases** | **number** | Number of attached aliases | [optional] [default to undefined]
10
+ **autoreplies** | **number** | Number of attached auto-replies | [optional] [default to undefined]
11
+
12
+ ## Example
13
+
14
+ ```typescript
15
+ import { MailV1MailboxesMailboxCountsResource } from 'hostinger-api-sdk';
16
+
17
+ const instance: MailV1MailboxesMailboxCountsResource = {
18
+ forwarders,
19
+ aliases,
20
+ autoreplies,
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,26 @@
1
+ # MailV1MailboxesMailboxProtocolsResource
2
+
3
+
4
+ ## Properties
5
+
6
+ Name | Type | Description | Notes
7
+ ------------ | ------------- | ------------- | -------------
8
+ **is_imap_enabled** | **boolean** | | [optional] [default to undefined]
9
+ **is_pop3_enabled** | **boolean** | | [optional] [default to undefined]
10
+ **is_smtp_in_enabled** | **boolean** | | [optional] [default to undefined]
11
+ **is_smtp_out_enabled** | **boolean** | | [optional] [default to undefined]
12
+
13
+ ## Example
14
+
15
+ ```typescript
16
+ import { MailV1MailboxesMailboxProtocolsResource } from 'hostinger-api-sdk';
17
+
18
+ const instance: MailV1MailboxesMailboxProtocolsResource = {
19
+ is_imap_enabled,
20
+ is_pop3_enabled,
21
+ is_smtp_in_enabled,
22
+ is_smtp_out_enabled,
23
+ };
24
+ ```
25
+
26
+ [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
@@ -0,0 +1,38 @@
1
+ # MailV1MailboxesMailboxResource
2
+
3
+
4
+ ## Properties
5
+
6
+ Name | Type | Description | Notes
7
+ ------------ | ------------- | ------------- | -------------
8
+ **id** | **string** | Mailbox resource ID | [optional] [default to undefined]
9
+ **address** | **string** | Email address of the mailbox | [optional] [default to undefined]
10
+ **status** | **string** | Mailbox status | [optional] [default to undefined]
11
+ **status_reason** | **string** | Reason the mailbox was suspended | [optional] [default to undefined]
12
+ **protocols** | [**MailV1MailboxesMailboxProtocolsResource**](MailV1MailboxesMailboxProtocolsResource.md) | | [optional] [default to undefined]
13
+ **counts** | [**MailV1MailboxesMailboxCountsResource**](MailV1MailboxesMailboxCountsResource.md) | | [optional] [default to undefined]
14
+ **is_catchall** | **boolean** | Whether the mailbox is the catch-all destination for its domain | [optional] [default to undefined]
15
+ **usage** | [**MailV1MailboxesMailboxUsageResource**](MailV1MailboxesMailboxUsageResource.md) | | [optional] [default to undefined]
16
+ **created_at** | **string** | | [optional] [default to undefined]
17
+ **updated_at** | **string** | | [optional] [default to undefined]
18
+
19
+ ## Example
20
+
21
+ ```typescript
22
+ import { MailV1MailboxesMailboxResource } from 'hostinger-api-sdk';
23
+
24
+ const instance: MailV1MailboxesMailboxResource = {
25
+ id,
26
+ address,
27
+ status,
28
+ status_reason,
29
+ protocols,
30
+ counts,
31
+ is_catchall,
32
+ usage,
33
+ created_at,
34
+ updated_at,
35
+ };
36
+ ```
37
+
38
+ [[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,29 @@
1
+ # MailV1MailboxesMailboxUsageResource
2
+
3
+ Periodically synced usage numbers (may lag behind live values)
4
+
5
+ ## Properties
6
+
7
+ Name | Type | Description | Notes
8
+ ------------ | ------------- | ------------- | -------------
9
+ **storage_used** | **number** | Storage used in kilobytes | [optional] [default to undefined]
10
+ **storage_quota** | **number** | Storage quota in kilobytes | [optional] [default to undefined]
11
+ **messages_used** | **number** | | [optional] [default to undefined]
12
+ **messages_quota** | **number** | | [optional] [default to undefined]
13
+ **synced_at** | **string** | When the usage numbers were last synced; null if never synced | [optional] [default to undefined]
14
+
15
+ ## Example
16
+
17
+ ```typescript
18
+ import { MailV1MailboxesMailboxUsageResource } from 'hostinger-api-sdk';
19
+
20
+ const instance: MailV1MailboxesMailboxUsageResource = {
21
+ storage_used,
22
+ storage_quota,
23
+ messages_used,
24
+ messages_quota,
25
+ synced_at,
26
+ };
27
+ ```
28
+
29
+ [[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
+ # MailV1OrdersOrderDomainResource
2
+
3
+
4
+ ## Properties
5
+
6
+ Name | Type | Description | Notes
7
+ ------------ | ------------- | ------------- | -------------
8
+ **id** | **string** | Domain resource ID | [optional] [default to undefined]
9
+ **name** | **string** | Domain name | [optional] [default to undefined]
10
+
11
+ ## Example
12
+
13
+ ```typescript
14
+ import { MailV1OrdersOrderDomainResource } from 'hostinger-api-sdk';
15
+
16
+ const instance: MailV1OrdersOrderDomainResource = {
17
+ id,
18
+ name,
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
+ # MailV1OrdersOrderPlanResource
2
+
3
+
4
+ ## Properties
5
+
6
+ Name | Type | Description | Notes
7
+ ------------ | ------------- | ------------- | -------------
8
+ **name** | **string** | Plan name | [optional] [default to undefined]
9
+ **title** | **string** | Plan title | [optional] [default to undefined]
10
+
11
+ ## Example
12
+
13
+ ```typescript
14
+ import { MailV1OrdersOrderPlanResource } from 'hostinger-api-sdk';
15
+
16
+ const instance: MailV1OrdersOrderPlanResource = {
17
+ name,
18
+ title,
19
+ };
20
+ ```
21
+
22
+ [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
@@ -0,0 +1,36 @@
1
+ # MailV1OrdersOrderResource
2
+
3
+
4
+ ## Properties
5
+
6
+ Name | Type | Description | Notes
7
+ ------------ | ------------- | ------------- | -------------
8
+ **id** | **string** | Order resource ID | [optional] [default to undefined]
9
+ **status** | **string** | Order status | [optional] [default to undefined]
10
+ **is_trial** | **boolean** | Whether the order is currently in a trial period | [optional] [default to undefined]
11
+ **seats** | **number** | Number of mailbox seats purchased with the order | [optional] [default to undefined]
12
+ **domain** | [**MailV1OrdersOrderDomainResource**](MailV1OrdersOrderDomainResource.md) | | [optional] [default to undefined]
13
+ **plan** | [**MailV1OrdersOrderPlanResource**](MailV1OrdersOrderPlanResource.md) | | [optional] [default to undefined]
14
+ **has_pending_upgrade** | **boolean** | Whether an upgrade is currently pending for the order | [optional] [default to undefined]
15
+ **created_at** | **string** | | [optional] [default to undefined]
16
+ **expires_at** | **string** | | [optional] [default to undefined]
17
+
18
+ ## Example
19
+
20
+ ```typescript
21
+ import { MailV1OrdersOrderResource } from 'hostinger-api-sdk';
22
+
23
+ const instance: MailV1OrdersOrderResource = {
24
+ id,
25
+ status,
26
+ is_trial,
27
+ seats,
28
+ domain,
29
+ plan,
30
+ has_pending_upgrade,
31
+ created_at,
32
+ expires_at,
33
+ };
34
+ ```
35
+
36
+ [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
@@ -0,0 +1,30 @@
1
+ # MailV1OrdersPlanDomainResource
2
+
3
+
4
+ ## Properties
5
+
6
+ Name | Type | Description | Notes
7
+ ------------ | ------------- | ------------- | -------------
8
+ **mailbox_quota** | **number** | Maximum number of mailboxes per domain | [optional] [default to undefined]
9
+ **forwarder_quota** | **number** | Maximum number of forwarders per domain | [optional] [default to undefined]
10
+ **alias_quota** | **number** | Maximum number of aliases per domain | [optional] [default to undefined]
11
+ **is_catchall_enabled** | **boolean** | Whether catch-all mailboxes are available | [optional] [default to undefined]
12
+ **is_imap_enabled** | **boolean** | Whether IMAP access is available | [optional] [default to undefined]
13
+ **is_pop3_enabled** | **boolean** | Whether POP3 access is available | [optional] [default to undefined]
14
+
15
+ ## Example
16
+
17
+ ```typescript
18
+ import { MailV1OrdersPlanDomainResource } from 'hostinger-api-sdk';
19
+
20
+ const instance: MailV1OrdersPlanDomainResource = {
21
+ mailbox_quota,
22
+ forwarder_quota,
23
+ alias_quota,
24
+ is_catchall_enabled,
25
+ is_imap_enabled,
26
+ is_pop3_enabled,
27
+ };
28
+ ```
29
+
30
+ [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
@@ -0,0 +1,36 @@
1
+ # MailV1OrdersPlanMailboxResource
2
+
3
+
4
+ ## Properties
5
+
6
+ Name | Type | Description | Notes
7
+ ------------ | ------------- | ------------- | -------------
8
+ **storage_quota** | **number** | Storage quota per mailbox in megabytes | [optional] [default to undefined]
9
+ **messages_quota** | **number** | Maximum number of stored messages per mailbox | [optional] [default to undefined]
10
+ **forwarder_quota** | **number** | Maximum number of forwarders per mailbox | [optional] [default to undefined]
11
+ **alias_quota** | **number** | Maximum number of aliases per mailbox | [optional] [default to undefined]
12
+ **max_outbound_message_size** | **number** | Maximum outbound message size in bytes | [optional] [default to undefined]
13
+ **max_outbound_attachment_size** | **number** | Maximum outbound attachment size in bytes | [optional] [default to undefined]
14
+ **max_outbound_recipient_limit** | **number** | Maximum number of recipients per outbound message | [optional] [default to undefined]
15
+ **rate_limit_inbound** | **string** | Inbound message rate limit as `messages/seconds` | [optional] [default to undefined]
16
+ **rate_limit_outbound** | **string** | Outbound message rate limit as `messages/seconds` | [optional] [default to undefined]
17
+
18
+ ## Example
19
+
20
+ ```typescript
21
+ import { MailV1OrdersPlanMailboxResource } from 'hostinger-api-sdk';
22
+
23
+ const instance: MailV1OrdersPlanMailboxResource = {
24
+ storage_quota,
25
+ messages_quota,
26
+ forwarder_quota,
27
+ alias_quota,
28
+ max_outbound_message_size,
29
+ max_outbound_attachment_size,
30
+ max_outbound_recipient_limit,
31
+ rate_limit_inbound,
32
+ rate_limit_outbound,
33
+ };
34
+ ```
35
+
36
+ [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
@@ -0,0 +1,26 @@
1
+ # MailV1OrdersPlanResource
2
+
3
+
4
+ ## Properties
5
+
6
+ Name | Type | Description | Notes
7
+ ------------ | ------------- | ------------- | -------------
8
+ **name** | **string** | Machine name of the plan | [optional] [default to undefined]
9
+ **title** | **string** | Human-readable plan title | [optional] [default to undefined]
10
+ **domain** | [**MailV1OrdersPlanDomainResource**](MailV1OrdersPlanDomainResource.md) | | [optional] [default to undefined]
11
+ **mailbox** | [**MailV1OrdersPlanMailboxResource**](MailV1OrdersPlanMailboxResource.md) | | [optional] [default to undefined]
12
+
13
+ ## Example
14
+
15
+ ```typescript
16
+ import { MailV1OrdersPlanResource } from 'hostinger-api-sdk';
17
+
18
+ const instance: MailV1OrdersPlanResource = {
19
+ name,
20
+ title,
21
+ domain,
22
+ mailbox,
23
+ };
24
+ ```
25
+
26
+ [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
@@ -0,0 +1,20 @@
1
+ # MailV1SchemaChangeMailboxPasswordRequestSchema
2
+
3
+
4
+ ## Properties
5
+
6
+ Name | Type | Description | Notes
7
+ ------------ | ------------- | ------------- | -------------
8
+ **password** | **string** | New mailbox password. Minimum 8 characters with uppercase, lowercase, number and special character; must not be a commonly used password. | [default to undefined]
9
+
10
+ ## Example
11
+
12
+ ```typescript
13
+ import { MailV1SchemaChangeMailboxPasswordRequestSchema } from 'hostinger-api-sdk';
14
+
15
+ const instance: MailV1SchemaChangeMailboxPasswordRequestSchema = {
16
+ password,
17
+ };
18
+ ```
19
+
20
+ [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
@@ -0,0 +1,20 @@
1
+ # MailV1SchemaCreateAliasRequestSchema
2
+
3
+
4
+ ## Properties
5
+
6
+ Name | Type | Description | Notes
7
+ ------------ | ------------- | ------------- | -------------
8
+ **local_part** | **string** | Local part of the alias address (the part before the @). The domain is taken from the mailbox. Case-insensitive and stored lowercase; must start and end with a letter or digit; single dots, underscores and hyphens are allowed in between. | [default to undefined]
9
+
10
+ ## Example
11
+
12
+ ```typescript
13
+ import { MailV1SchemaCreateAliasRequestSchema } from 'hostinger-api-sdk';
14
+
15
+ const instance: MailV1SchemaCreateAliasRequestSchema = {
16
+ local_part,
17
+ };
18
+ ```
19
+
20
+ [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
@@ -0,0 +1,22 @@
1
+ # MailV1SchemaCreateApiTokenRequestSchema
2
+
3
+
4
+ ## Properties
5
+
6
+ Name | Type | Description | Notes
7
+ ------------ | ------------- | ------------- | -------------
8
+ **name** | **string** | Human-readable label for this token | [default to undefined]
9
+ **scope** | [**MailV1SchemaCreateApiTokenRequestSchemaScope**](MailV1SchemaCreateApiTokenRequestSchemaScope.md) | | [default to undefined]
10
+
11
+ ## Example
12
+
13
+ ```typescript
14
+ import { MailV1SchemaCreateApiTokenRequestSchema } from 'hostinger-api-sdk';
15
+
16
+ const instance: MailV1SchemaCreateApiTokenRequestSchema = {
17
+ name,
18
+ scope,
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,23 @@
1
+ # MailV1SchemaCreateApiTokenRequestSchemaScope
2
+
3
+ Mailbox scope this token can access
4
+
5
+ ## Properties
6
+
7
+ Name | Type | Description | Notes
8
+ ------------ | ------------- | ------------- | -------------
9
+ **has_all_mailboxes** | **boolean** | Grant access to all current and future mailboxes of the order | [default to undefined]
10
+ **mailbox_ids** | **Array<string>** | Required when `has_all_mailboxes` is false. Mailbox resource IDs of this order. | [optional] [default to undefined]
11
+
12
+ ## Example
13
+
14
+ ```typescript
15
+ import { MailV1SchemaCreateApiTokenRequestSchemaScope } from 'hostinger-api-sdk';
16
+
17
+ const instance: MailV1SchemaCreateApiTokenRequestSchemaScope = {
18
+ has_all_mailboxes,
19
+ mailbox_ids,
20
+ };
21
+ ```
22
+
23
+ [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
@@ -0,0 +1,22 @@
1
+ # MailV1SchemaCreateForwarderRequestSchema
2
+
3
+
4
+ ## Properties
5
+
6
+ Name | Type | Description | Notes
7
+ ------------ | ------------- | ------------- | -------------
8
+ **destination** | **string** | Email address the messages will be forwarded to | [default to undefined]
9
+ **is_keep_copy_enabled** | **boolean** | Whether to keep a copy of forwarded messages in the mailbox. Defaults to false. | [optional] [default to undefined]
10
+
11
+ ## Example
12
+
13
+ ```typescript
14
+ import { MailV1SchemaCreateForwarderRequestSchema } from 'hostinger-api-sdk';
15
+
16
+ const instance: MailV1SchemaCreateForwarderRequestSchema = {
17
+ destination,
18
+ is_keep_copy_enabled,
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
+ # MailV1SchemaCreateMailboxRequestSchema
2
+
3
+
4
+ ## Properties
5
+
6
+ Name | Type | Description | Notes
7
+ ------------ | ------------- | ------------- | -------------
8
+ **local_part** | **string** | Local part of the mailbox address (the part before the @). The domain is taken from the order. Must start and end with a letter or digit; single dots, underscores and hyphens are allowed in between. | [default to undefined]
9
+ **password** | **string** | Mailbox password. Minimum 8 characters with uppercase, lowercase, number and special character. | [default to undefined]
10
+
11
+ ## Example
12
+
13
+ ```typescript
14
+ import { MailV1SchemaCreateMailboxRequestSchema } from 'hostinger-api-sdk';
15
+
16
+ const instance: MailV1SchemaCreateMailboxRequestSchema = {
17
+ local_part,
18
+ password,
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,28 @@
1
+ # MailV1SchemaCreateWebhookRequestSchema
2
+
3
+
4
+ ## Properties
5
+
6
+ Name | Type | Description | Notes
7
+ ------------ | ------------- | ------------- | -------------
8
+ **name** | **string** | Human-readable name for this webhook | [default to undefined]
9
+ **description** | **string** | Optional description of the webhook\'s purpose | [optional] [default to undefined]
10
+ **events** | **Array<string>** | Events that trigger this webhook | [default to undefined]
11
+ **status** | **string** | Initial status of the webhook | [optional] [default to StatusEnum_Active]
12
+ **url** | **string** | Publicly reachable URL that receives the webhook POST requests | [default to undefined]
13
+
14
+ ## Example
15
+
16
+ ```typescript
17
+ import { MailV1SchemaCreateWebhookRequestSchema } from 'hostinger-api-sdk';
18
+
19
+ const instance: MailV1SchemaCreateWebhookRequestSchema = {
20
+ name,
21
+ description,
22
+ events,
23
+ status,
24
+ url,
25
+ };
26
+ ```
27
+
28
+ [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
@@ -0,0 +1,20 @@
1
+ # MailV1SchemaUpdateForwarderKeepCopyRequestSchema
2
+
3
+
4
+ ## Properties
5
+
6
+ Name | Type | Description | Notes
7
+ ------------ | ------------- | ------------- | -------------
8
+ **is_keep_copy_enabled** | **boolean** | Whether to keep a copy of forwarded messages in the mailbox | [default to undefined]
9
+
10
+ ## Example
11
+
12
+ ```typescript
13
+ import { MailV1SchemaUpdateForwarderKeepCopyRequestSchema } from 'hostinger-api-sdk';
14
+
15
+ const instance: MailV1SchemaUpdateForwarderKeepCopyRequestSchema = {
16
+ is_keep_copy_enabled,
17
+ };
18
+ ```
19
+
20
+ [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
@@ -0,0 +1,29 @@
1
+ # MailV1SchemaUpdateWebhookRequestSchema
2
+
3
+ Fields to update. All fields are optional; only provided fields are changed. Pass `\"description\": null` to clear the description.
4
+
5
+ ## Properties
6
+
7
+ Name | Type | Description | Notes
8
+ ------------ | ------------- | ------------- | -------------
9
+ **name** | **string** | New human-readable name for the webhook | [optional] [default to undefined]
10
+ **description** | **string** | New description, or null to clear it | [optional] [default to undefined]
11
+ **events** | **Array<string>** | Replaces the full list of subscribed events | [optional] [default to undefined]
12
+ **status** | **string** | New status for the webhook | [optional] [default to undefined]
13
+ **url** | **string** | New URL to deliver events to | [optional] [default to undefined]
14
+
15
+ ## Example
16
+
17
+ ```typescript
18
+ import { MailV1SchemaUpdateWebhookRequestSchema } from 'hostinger-api-sdk';
19
+
20
+ const instance: MailV1SchemaUpdateWebhookRequestSchema = {
21
+ name,
22
+ description,
23
+ events,
24
+ status,
25
+ url,
26
+ };
27
+ ```
28
+
29
+ [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
@@ -0,0 +1,28 @@
1
+ # MailV1SchemaUpsertAutoreplyRequestSchema
2
+
3
+
4
+ ## Properties
5
+
6
+ Name | Type | Description | Notes
7
+ ------------ | ------------- | ------------- | -------------
8
+ **subject** | **string** | Subject of the automatic reply | [default to undefined]
9
+ **body** | **string** | Body of the automatic reply | [default to undefined]
10
+ **display_name** | **string** | Sender display name used for the reply | [optional] [default to undefined]
11
+ **starts_at** | **string** | When the autoreply becomes active. Defaults to now. | [optional] [default to undefined]
12
+ **ends_at** | **string** | When the autoreply stops. Omit for an indefinite autoreply. | [optional] [default to undefined]
13
+
14
+ ## Example
15
+
16
+ ```typescript
17
+ import { MailV1SchemaUpsertAutoreplyRequestSchema } from 'hostinger-api-sdk';
18
+
19
+ const instance: MailV1SchemaUpsertAutoreplyRequestSchema = {
20
+ subject,
21
+ body,
22
+ display_name,
23
+ starts_at,
24
+ ends_at,
25
+ };
26
+ ```
27
+
28
+ [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
@@ -0,0 +1,38 @@
1
+ # MailV1WebhooksWebhookCreatedResource
2
+
3
+
4
+ ## Properties
5
+
6
+ Name | Type | Description | Notes
7
+ ------------ | ------------- | ------------- | -------------
8
+ **id** | **string** | Unique webhook identifier | [optional] [default to undefined]
9
+ **mailbox** | [**MailV1WebhooksWebhookMailboxResource**](MailV1WebhooksWebhookMailboxResource.md) | | [optional] [default to undefined]
10
+ **name** | **string** | Human-readable name for this webhook | [optional] [default to undefined]
11
+ **description** | **string** | Optional description of the webhook\'s purpose | [optional] [default to undefined]
12
+ **events** | **Array<string>** | Events that trigger this webhook | [optional] [default to undefined]
13
+ **status** | **string** | Current status of the webhook | [optional] [default to undefined]
14
+ **url** | **string** | URL that receives webhook POST requests | [optional] [default to undefined]
15
+ **secret** | **string** | One-time webhook secret, returned only on creation. Sent as `Authorization: Bearer <secret>` with every delivery. | [optional] [default to undefined]
16
+ **created_at** | **string** | | [optional] [default to undefined]
17
+ **updated_at** | **string** | | [optional] [default to undefined]
18
+
19
+ ## Example
20
+
21
+ ```typescript
22
+ import { MailV1WebhooksWebhookCreatedResource } from 'hostinger-api-sdk';
23
+
24
+ const instance: MailV1WebhooksWebhookCreatedResource = {
25
+ id,
26
+ mailbox,
27
+ name,
28
+ description,
29
+ events,
30
+ status,
31
+ url,
32
+ secret,
33
+ created_at,
34
+ updated_at,
35
+ };
36
+ ```
37
+
38
+ [[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,32 @@
1
+ # MailV1WebhooksWebhookDeliveryLogResource
2
+
3
+
4
+ ## Properties
5
+
6
+ Name | Type | Description | Notes
7
+ ------------ | ------------- | ------------- | -------------
8
+ **created_at** | **string** | | [optional] [default to undefined]
9
+ **mailbox_address** | **string** | Email address of the mailbox this delivery is attached to | [optional] [default to undefined]
10
+ **webhook_url** | **string** | URL that received the webhook POST request | [optional] [default to undefined]
11
+ **is_successful** | **boolean** | Whether the delivery was successful | [optional] [default to undefined]
12
+ **duration** | **number** | Webhook request duration in milliseconds | [optional] [default to undefined]
13
+ **retry_count** | **number** | Number of delivery attempts made | [optional] [default to undefined]
14
+ **max_retry_count** | **number** | Maximum number of delivery attempts allowed | [optional] [default to undefined]
15
+
16
+ ## Example
17
+
18
+ ```typescript
19
+ import { MailV1WebhooksWebhookDeliveryLogResource } from 'hostinger-api-sdk';
20
+
21
+ const instance: MailV1WebhooksWebhookDeliveryLogResource = {
22
+ created_at,
23
+ mailbox_address,
24
+ webhook_url,
25
+ is_successful,
26
+ duration,
27
+ retry_count,
28
+ max_retry_count,
29
+ };
30
+ ```
31
+
32
+ [[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
+ # MailV1WebhooksWebhookMailboxResource
2
+
3
+
4
+ ## Properties
5
+
6
+ Name | Type | Description | Notes
7
+ ------------ | ------------- | ------------- | -------------
8
+ **id** | **string** | | [optional] [default to undefined]
9
+ **address** | **string** | | [optional] [default to undefined]
10
+
11
+ ## Example
12
+
13
+ ```typescript
14
+ import { MailV1WebhooksWebhookMailboxResource } from 'hostinger-api-sdk';
15
+
16
+ const instance: MailV1WebhooksWebhookMailboxResource = {
17
+ id,
18
+ address,
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)