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.
- package/.github/workflows/build-release.yaml +29 -1
- package/README.md +2 -2
- package/api.ts +19008 -8147
- package/base.ts +1 -1
- package/common.ts +2 -2
- package/configuration.ts +2 -2
- package/dist/api.d.ts +13441 -6234
- package/dist/api.js +10911 -4155
- package/dist/base.d.ts +1 -1
- package/dist/base.js +1 -1
- package/dist/common.d.ts +1 -1
- package/dist/common.js +1 -1
- package/dist/configuration.d.ts +1 -1
- package/dist/configuration.js +2 -2
- package/dist/esm/api.d.ts +13441 -6234
- package/dist/esm/api.js +10589 -3919
- package/dist/esm/base.d.ts +1 -1
- package/dist/esm/base.js +1 -1
- package/dist/esm/common.d.ts +1 -1
- package/dist/esm/common.js +1 -1
- package/dist/esm/configuration.d.ts +1 -1
- package/dist/esm/configuration.js +2 -2
- package/dist/esm/index.d.ts +1 -1
- package/dist/esm/index.js +1 -1
- package/dist/index.d.ts +1 -1
- package/dist/index.js +1 -1
- package/docs/AgencyHostingCacheApi.md +61 -0
- package/docs/AgencyHostingCronJobsApi.md +183 -0
- package/docs/AgencyHostingDatabasesApi.md +305 -0
- package/docs/AgencyHostingDatacentersApi.md +61 -0
- package/docs/AgencyHostingDomainsApi.md +245 -0
- package/docs/AgencyHostingFilesApi.md +66 -0
- package/docs/AgencyHostingListAgencyPlanDomainsV1200Response.md +22 -0
- package/docs/AgencyHostingListAgencyPlanOrdersV1200Response.md +22 -0
- package/docs/AgencyHostingListAgencyPlanWebsiteCronJobsV1200Response.md +22 -0
- package/docs/AgencyHostingListAgencyPlanWebsiteDatabasesV1200Response.md +22 -0
- package/docs/AgencyHostingOrdersApi.md +64 -0
- package/docs/AgencyHostingV1DatacentersCoordinatesResource.md +22 -0
- package/docs/AgencyHostingV1DatacentersDatacenterResource.md +28 -0
- package/docs/AgencyHostingV1DomainsChangeDomainRequest.md +20 -0
- package/docs/AgencyHostingV1DomainsDomainResource.md +24 -0
- package/docs/AgencyHostingV1DomainsLinkDomainRequest.md +20 -0
- package/docs/AgencyHostingV1FilesImportArchiveRequest.md +21 -0
- package/docs/AgencyHostingV1FilesUploadUrlResource.md +24 -0
- package/docs/AgencyHostingV1OrdersDatacenterResource.md +22 -0
- package/docs/AgencyHostingV1OrdersOrderResource.md +30 -0
- package/docs/AgencyHostingV1OrdersPlanResource.md +22 -0
- package/docs/AgencyHostingV1SetupsCreateSetupRequest.md +35 -0
- package/docs/AgencyHostingV1SetupsCreateSetupRequestClone.md +21 -0
- package/docs/AgencyHostingV1SetupsCreateSetupRequestDeriveDomain.md +21 -0
- package/docs/AgencyHostingV1SetupsCreateSetupRequestDeriveDomainFromVhost.md +22 -0
- package/docs/AgencyHostingV1SetupsCreateSetupRequestSettings.md +21 -0
- package/docs/AgencyHostingV1SetupsCreateSetupRequestSettingsPhp.md +20 -0
- package/docs/AgencyHostingV1SetupsCreateSetupRequestWordpress.md +25 -0
- package/docs/AgencyHostingV1SetupsCreateSetupRequestWordpressAdmin.md +24 -0
- package/docs/AgencyHostingV1SetupsWebsiteSetupResource.md +20 -0
- package/docs/AgencyHostingV1SetupsWebsiteSetupStatusResource.md +22 -0
- package/docs/AgencyHostingV1WebsitesBuildAssetsRequest.md +21 -0
- package/docs/AgencyHostingV1WebsitesCronJobsCreateCronJobRequest.md +22 -0
- package/docs/AgencyHostingV1WebsitesCronJobsCronJobResource.md +26 -0
- package/docs/AgencyHostingV1WebsitesCustomSslCertResource.md +24 -0
- package/docs/AgencyHostingV1WebsitesDatabasesCreateDatabaseRequest.md +24 -0
- package/docs/AgencyHostingV1WebsitesDatabasesDatabaseResource.md +24 -0
- package/docs/AgencyHostingV1WebsitesDatabasesDatabaseUserResource.md +24 -0
- package/docs/AgencyHostingV1WebsitesDatabasesUsersCreateDatabaseUserRequest.md +24 -0
- package/docs/AgencyHostingV1WebsitesSslCertResource.md +24 -0
- package/docs/AgencyHostingV1WebsitesWebsiteDeletionResource.md +28 -0
- package/docs/AgencyHostingV1WebsitesWebsiteDomainDetailsResource.md +32 -0
- package/docs/AgencyHostingV1WebsitesWebsiteOrderPlanResource.md +22 -0
- package/docs/AgencyHostingV1WebsitesWebsiteOrderPlanResourceParameters.md +37 -0
- package/docs/AgencyHostingV1WebsitesWebsiteOrderResource.md +26 -0
- package/docs/AgencyHostingV1WebsitesWebsitePhpSettingsResource.md +22 -0
- package/docs/AgencyHostingV1WebsitesWebsitePreviewDomainResource.md +22 -0
- package/docs/AgencyHostingV1WebsitesWebsiteProcessResource.md +24 -0
- package/docs/AgencyHostingV1WebsitesWebsiteRemoteAccessResource.md +24 -0
- package/docs/AgencyHostingV1WebsitesWebsiteResource.md +50 -0
- package/docs/AgencyHostingV1WebsitesWebsiteServerResource.md +22 -0
- package/docs/AgencyHostingV1WebsitesWebsiteSettingsResource.md +20 -0
- package/docs/AgencyHostingV1WebsitesWebsiteSftpDetailsResource.md +26 -0
- package/docs/AgencyHostingV1WebsitesWebsiteSshDetailsResource.md +28 -0
- package/docs/AgencyHostingV1WebsitesWebsiteStagingRootResource.md +20 -0
- package/docs/AgencyHostingV1WebsitesWebsiteUserResource.md +22 -0
- package/docs/AgencyHostingV1WebsitesWordPressInstallResource.md +28 -0
- package/docs/AgencyHostingV1WordPressChangeVersionRequest.md +20 -0
- package/docs/AgencyHostingV1WordPressSettingsResource.md +26 -0
- package/docs/AgencyHostingV1WordPressVersionResource.md +20 -0
- package/docs/AgencyHostingWebsiteSetupsApi.md +123 -0
- package/docs/AgencyHostingWebsitesApi.md +228 -0
- package/docs/AgencyHostingWordPressApi.md +174 -0
- package/docs/BillingCatalogApi.md +2 -2
- package/docs/BillingOrdersApi.md +63 -0
- package/docs/BillingSubscriptionsApi.md +59 -0
- package/docs/BillingV1OrderPurchaseRequest.md +24 -0
- package/docs/BillingV1OrderPurchaseRequestItemsInner.md +22 -0
- package/docs/BillingV1SubscriptionRenewalRenewRequest.md +22 -0
- package/docs/DomainsForwardingApi.md +59 -0
- package/docs/DomainsPortfolioApi.md +108 -0
- package/docs/DomainsTransferApi.md +108 -0
- package/docs/DomainsV1ForwardingUpdateRequest.md +22 -0
- package/docs/DomainsV1PortfolioAuthCodeAuthCodeResource.md +20 -0
- package/docs/DomainsV1PortfolioRenewalRenewalInformationResource.md +24 -0
- package/docs/DomainsV1TransferTransferResource.md +26 -0
- package/docs/HostingDatabasesApi.md +63 -63
- package/docs/HostingNodeJSApi.md +122 -0
- package/docs/HostingV1NodeJsPatchResultResource.md +26 -0
- package/docs/HostingV1NodeJsPatchVulnerabilitiesRequest.md +20 -0
- package/docs/HostingV1NodeJsVulnerabilityResource.md +48 -0
- package/docs/HostingV1WebsitesDeleteWebsiteRequest.md +20 -0
- package/docs/HostingWebsitesApi.md +59 -0
- package/docs/MailAPITokensApi.md +185 -0
- package/docs/MailAliasesApi.md +186 -0
- package/docs/MailAutorepliesApi.md +246 -0
- package/docs/MailCatchallsApi.md +239 -0
- package/docs/MailForwardersApi.md +304 -0
- package/docs/MailListAPITokensV1200Response.md +22 -0
- package/docs/MailListAccessLogsV1200Response.md +22 -0
- package/docs/MailListActionLogsV1200Response.md +22 -0
- package/docs/MailListAliasesV1200Response.md +22 -0
- package/docs/MailListAutorepliesV1200Response.md +22 -0
- package/docs/MailListCatchAllsV1200Response.md +22 -0
- package/docs/MailListForwardersV1200Response.md +22 -0
- package/docs/MailListInboundLogsV1200Response.md +22 -0
- package/docs/MailListMailboxActionLogsV1200Response.md +22 -0
- package/docs/MailListMailboxesV1200Response.md +22 -0
- package/docs/MailListOrdersV1200Response.md +22 -0
- package/docs/MailListWebhookDeliveryLogsV1200Response.md +22 -0
- package/docs/MailListWebhooksV1200Response.md +22 -0
- package/docs/MailLogsApi.md +410 -0
- package/docs/MailMailboxesApi.md +253 -0
- package/docs/MailOrdersApi.md +132 -0
- package/docs/MailV1AliasesAliasMailboxResource.md +22 -0
- package/docs/MailV1AliasesAliasResource.md +30 -0
- package/docs/MailV1ApiTokensApiTokenCreatedResource.md +30 -0
- package/docs/MailV1ApiTokensApiTokenMailboxResource.md +22 -0
- package/docs/MailV1ApiTokensApiTokenResource.md +32 -0
- package/docs/MailV1ApiTokensApiTokenScopeResource.md +22 -0
- package/docs/MailV1AutorepliesAutoreplyMailboxResource.md +22 -0
- package/docs/MailV1AutorepliesAutoreplyResource.md +36 -0
- package/docs/MailV1CatchallsCatchallMailboxResource.md +22 -0
- package/docs/MailV1CatchallsCatchallResource.md +32 -0
- package/docs/MailV1ForwardersForwarderMailboxResource.md +22 -0
- package/docs/MailV1ForwardersForwarderResource.md +34 -0
- package/docs/MailV1LogsAccessAccessLogResource.md +54 -0
- package/docs/MailV1LogsActionActionLogResource.md +32 -0
- package/docs/MailV1LogsCommonDeliveryLogRelayEventResource.md +32 -0
- package/docs/MailV1LogsCommonDeliveryLogResource.md +38 -0
- package/docs/MailV1LogsMailboxActionsMailboxActionLogResource.md +30 -0
- package/docs/MailV1MailboxesMailboxCountsResource.md +24 -0
- package/docs/MailV1MailboxesMailboxProtocolsResource.md +26 -0
- package/docs/MailV1MailboxesMailboxResource.md +38 -0
- package/docs/MailV1MailboxesMailboxUsageResource.md +29 -0
- package/docs/MailV1OrdersOrderDomainResource.md +22 -0
- package/docs/MailV1OrdersOrderPlanResource.md +22 -0
- package/docs/MailV1OrdersOrderResource.md +36 -0
- package/docs/MailV1OrdersPlanDomainResource.md +30 -0
- package/docs/MailV1OrdersPlanMailboxResource.md +36 -0
- package/docs/MailV1OrdersPlanResource.md +26 -0
- package/docs/MailV1SchemaChangeMailboxPasswordRequestSchema.md +20 -0
- package/docs/MailV1SchemaCreateAliasRequestSchema.md +20 -0
- package/docs/MailV1SchemaCreateApiTokenRequestSchema.md +22 -0
- package/docs/MailV1SchemaCreateApiTokenRequestSchemaScope.md +23 -0
- package/docs/MailV1SchemaCreateForwarderRequestSchema.md +22 -0
- package/docs/MailV1SchemaCreateMailboxRequestSchema.md +22 -0
- package/docs/MailV1SchemaCreateWebhookRequestSchema.md +28 -0
- package/docs/MailV1SchemaUpdateForwarderKeepCopyRequestSchema.md +20 -0
- package/docs/MailV1SchemaUpdateWebhookRequestSchema.md +29 -0
- package/docs/MailV1SchemaUpsertAutoreplyRequestSchema.md +28 -0
- package/docs/MailV1WebhooksWebhookCreatedResource.md +38 -0
- package/docs/MailV1WebhooksWebhookDeliveryLogResource.md +32 -0
- package/docs/MailV1WebhooksWebhookMailboxResource.md +22 -0
- package/docs/MailV1WebhooksWebhookResource.md +36 -0
- package/docs/MailV1WebhooksWebhookSecretResource.md +38 -0
- package/docs/MailV1WebhooksWebhookTestResultResource.md +24 -0
- package/docs/MailWebhooksApi.md +488 -0
- package/docs/WordPressV1InstallationsWordPressMcpDetailsResource.md +26 -0
- package/docs/WordPressV1InstallationsWordPressMcpInstallationResource.md +28 -0
- package/index.ts +1 -1
- package/package.json +2 -2
|
@@ -0,0 +1,253 @@
|
|
|
1
|
+
# MailMailboxesApi
|
|
2
|
+
|
|
3
|
+
All URIs are relative to *https://developers.hostinger.com*
|
|
4
|
+
|
|
5
|
+
|Method | HTTP request | Description|
|
|
6
|
+
|------------- | ------------- | -------------|
|
|
7
|
+
|[**changeMailboxPasswordV1**](#changemailboxpasswordv1) | **PATCH** /api/mail/v1/mailboxes/{mailboxId}/password | Change mailbox password|
|
|
8
|
+
|[**createMailboxV1**](#createmailboxv1) | **POST** /api/mail/v1/orders/{orderId}/mailboxes | Create mailbox|
|
|
9
|
+
|[**deleteMailboxV1**](#deletemailboxv1) | **DELETE** /api/mail/v1/mailboxes/{mailboxId} | Delete mailbox|
|
|
10
|
+
|[**listMailboxesV1**](#listmailboxesv1) | **GET** /api/mail/v1/orders/{orderId}/mailboxes | List mailboxes|
|
|
11
|
+
|
|
12
|
+
# **changeMailboxPasswordV1**
|
|
13
|
+
> CommonSuccessEmptyResource changeMailboxPasswordV1(mailV1SchemaChangeMailboxPasswordRequestSchema)
|
|
14
|
+
|
|
15
|
+
Change the password of a mailbox.
|
|
16
|
+
|
|
17
|
+
### Example
|
|
18
|
+
|
|
19
|
+
```typescript
|
|
20
|
+
import {
|
|
21
|
+
MailMailboxesApi,
|
|
22
|
+
Configuration,
|
|
23
|
+
MailV1SchemaChangeMailboxPasswordRequestSchema
|
|
24
|
+
} from 'hostinger-api-sdk';
|
|
25
|
+
|
|
26
|
+
const configuration = new Configuration();
|
|
27
|
+
const apiInstance = new MailMailboxesApi(configuration);
|
|
28
|
+
|
|
29
|
+
let mailboxId: string; //Mailbox resource ID (default to undefined)
|
|
30
|
+
let mailV1SchemaChangeMailboxPasswordRequestSchema: MailV1SchemaChangeMailboxPasswordRequestSchema; //
|
|
31
|
+
|
|
32
|
+
const { status, data } = await apiInstance.changeMailboxPasswordV1(
|
|
33
|
+
mailboxId,
|
|
34
|
+
mailV1SchemaChangeMailboxPasswordRequestSchema
|
|
35
|
+
);
|
|
36
|
+
```
|
|
37
|
+
|
|
38
|
+
### Parameters
|
|
39
|
+
|
|
40
|
+
|Name | Type | Description | Notes|
|
|
41
|
+
|------------- | ------------- | ------------- | -------------|
|
|
42
|
+
| **mailV1SchemaChangeMailboxPasswordRequestSchema** | **MailV1SchemaChangeMailboxPasswordRequestSchema**| | |
|
|
43
|
+
| **mailboxId** | [**string**] | Mailbox resource ID | 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 response | - |
|
|
64
|
+
|**401** | Unauthenticated response | - |
|
|
65
|
+
|**400** | Error response | - |
|
|
66
|
+
|**404** | Error response | - |
|
|
67
|
+
|**422** | Error response | - |
|
|
68
|
+
|**500** | Error response | - |
|
|
69
|
+
|
|
70
|
+
[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md)
|
|
71
|
+
|
|
72
|
+
# **createMailboxV1**
|
|
73
|
+
> MailV1MailboxesMailboxResource createMailboxV1(mailV1SchemaCreateMailboxRequestSchema)
|
|
74
|
+
|
|
75
|
+
Create a mailbox under the given mail order. The full email address is composed from the given local part and the domain of the order.
|
|
76
|
+
|
|
77
|
+
### Example
|
|
78
|
+
|
|
79
|
+
```typescript
|
|
80
|
+
import {
|
|
81
|
+
MailMailboxesApi,
|
|
82
|
+
Configuration,
|
|
83
|
+
MailV1SchemaCreateMailboxRequestSchema
|
|
84
|
+
} from 'hostinger-api-sdk';
|
|
85
|
+
|
|
86
|
+
const configuration = new Configuration();
|
|
87
|
+
const apiInstance = new MailMailboxesApi(configuration);
|
|
88
|
+
|
|
89
|
+
let orderId: string; //Order resource ID (default to undefined)
|
|
90
|
+
let mailV1SchemaCreateMailboxRequestSchema: MailV1SchemaCreateMailboxRequestSchema; //
|
|
91
|
+
|
|
92
|
+
const { status, data } = await apiInstance.createMailboxV1(
|
|
93
|
+
orderId,
|
|
94
|
+
mailV1SchemaCreateMailboxRequestSchema
|
|
95
|
+
);
|
|
96
|
+
```
|
|
97
|
+
|
|
98
|
+
### Parameters
|
|
99
|
+
|
|
100
|
+
|Name | Type | Description | Notes|
|
|
101
|
+
|------------- | ------------- | ------------- | -------------|
|
|
102
|
+
| **mailV1SchemaCreateMailboxRequestSchema** | **MailV1SchemaCreateMailboxRequestSchema**| | |
|
|
103
|
+
| **orderId** | [**string**] | Order resource ID | defaults to undefined|
|
|
104
|
+
|
|
105
|
+
|
|
106
|
+
### Return type
|
|
107
|
+
|
|
108
|
+
**MailV1MailboxesMailboxResource**
|
|
109
|
+
|
|
110
|
+
### Authorization
|
|
111
|
+
|
|
112
|
+
[apiToken](../README.md#apiToken)
|
|
113
|
+
|
|
114
|
+
### HTTP request headers
|
|
115
|
+
|
|
116
|
+
- **Content-Type**: application/json
|
|
117
|
+
- **Accept**: application/json
|
|
118
|
+
|
|
119
|
+
|
|
120
|
+
### HTTP response details
|
|
121
|
+
| Status code | Description | Response headers |
|
|
122
|
+
|-------------|-------------|------------------|
|
|
123
|
+
|**201** | Created response | - |
|
|
124
|
+
|**401** | Unauthenticated response | - |
|
|
125
|
+
|**404** | Error response | - |
|
|
126
|
+
|**409** | Error response | - |
|
|
127
|
+
|**422** | Error response | - |
|
|
128
|
+
|**500** | Error response | - |
|
|
129
|
+
|
|
130
|
+
[[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)
|
|
131
|
+
|
|
132
|
+
# **deleteMailboxV1**
|
|
133
|
+
> CommonSuccessEmptyResource deleteMailboxV1()
|
|
134
|
+
|
|
135
|
+
Delete a mailbox. The mailbox is soft-deleted and stays restorable for a limited period before it is permanently removed.
|
|
136
|
+
|
|
137
|
+
### Example
|
|
138
|
+
|
|
139
|
+
```typescript
|
|
140
|
+
import {
|
|
141
|
+
MailMailboxesApi,
|
|
142
|
+
Configuration
|
|
143
|
+
} from 'hostinger-api-sdk';
|
|
144
|
+
|
|
145
|
+
const configuration = new Configuration();
|
|
146
|
+
const apiInstance = new MailMailboxesApi(configuration);
|
|
147
|
+
|
|
148
|
+
let mailboxId: string; //Mailbox resource ID (default to undefined)
|
|
149
|
+
|
|
150
|
+
const { status, data } = await apiInstance.deleteMailboxV1(
|
|
151
|
+
mailboxId
|
|
152
|
+
);
|
|
153
|
+
```
|
|
154
|
+
|
|
155
|
+
### Parameters
|
|
156
|
+
|
|
157
|
+
|Name | Type | Description | Notes|
|
|
158
|
+
|------------- | ------------- | ------------- | -------------|
|
|
159
|
+
| **mailboxId** | [**string**] | Mailbox resource ID | defaults to undefined|
|
|
160
|
+
|
|
161
|
+
|
|
162
|
+
### Return type
|
|
163
|
+
|
|
164
|
+
**CommonSuccessEmptyResource**
|
|
165
|
+
|
|
166
|
+
### Authorization
|
|
167
|
+
|
|
168
|
+
[apiToken](../README.md#apiToken)
|
|
169
|
+
|
|
170
|
+
### HTTP request headers
|
|
171
|
+
|
|
172
|
+
- **Content-Type**: Not defined
|
|
173
|
+
- **Accept**: application/json
|
|
174
|
+
|
|
175
|
+
|
|
176
|
+
### HTTP response details
|
|
177
|
+
| Status code | Description | Response headers |
|
|
178
|
+
|-------------|-------------|------------------|
|
|
179
|
+
|**200** | Success response | - |
|
|
180
|
+
|**401** | Unauthenticated response | - |
|
|
181
|
+
|**404** | Error response | - |
|
|
182
|
+
|**409** | Error response | - |
|
|
183
|
+
|**500** | Error response | - |
|
|
184
|
+
|
|
185
|
+
[[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)
|
|
186
|
+
|
|
187
|
+
# **listMailboxesV1**
|
|
188
|
+
> MailListMailboxesV1200Response listMailboxesV1()
|
|
189
|
+
|
|
190
|
+
Retrieve a paginated list of mailboxes belonging to a mail order. Use this endpoint to monitor mailboxes of your mail service, including their status, enabled protocols, attached resource counts, and periodically synced usage numbers (usage may lag behind live values).
|
|
191
|
+
|
|
192
|
+
### Example
|
|
193
|
+
|
|
194
|
+
```typescript
|
|
195
|
+
import {
|
|
196
|
+
MailMailboxesApi,
|
|
197
|
+
Configuration
|
|
198
|
+
} from 'hostinger-api-sdk';
|
|
199
|
+
|
|
200
|
+
const configuration = new Configuration();
|
|
201
|
+
const apiInstance = new MailMailboxesApi(configuration);
|
|
202
|
+
|
|
203
|
+
let orderId: string; //Order resource ID (default to undefined)
|
|
204
|
+
let search: string; //Filter mailboxes whose email address contains the given string (optional) (default to undefined)
|
|
205
|
+
let sort: 'address' | '-address'; //Sort mailboxes by field. Prefix with `-` for descending order. (optional) (default to 'address')
|
|
206
|
+
let page: number; //Page number (optional) (default to undefined)
|
|
207
|
+
let perPage: number; //Number of items per page (optional) (default to 25)
|
|
208
|
+
|
|
209
|
+
const { status, data } = await apiInstance.listMailboxesV1(
|
|
210
|
+
orderId,
|
|
211
|
+
search,
|
|
212
|
+
sort,
|
|
213
|
+
page,
|
|
214
|
+
perPage
|
|
215
|
+
);
|
|
216
|
+
```
|
|
217
|
+
|
|
218
|
+
### Parameters
|
|
219
|
+
|
|
220
|
+
|Name | Type | Description | Notes|
|
|
221
|
+
|------------- | ------------- | ------------- | -------------|
|
|
222
|
+
| **orderId** | [**string**] | Order resource ID | defaults to undefined|
|
|
223
|
+
| **search** | [**string**] | Filter mailboxes whose email address contains the given string | (optional) defaults to undefined|
|
|
224
|
+
| **sort** | [**'address' | '-address'**]**Array<'address' | '-address'>** | Sort mailboxes by field. Prefix with `-` for descending order. | (optional) defaults to 'address'|
|
|
225
|
+
| **page** | [**number**] | Page number | (optional) defaults to undefined|
|
|
226
|
+
| **perPage** | [**number**] | Number of items per page | (optional) defaults to 25|
|
|
227
|
+
|
|
228
|
+
|
|
229
|
+
### Return type
|
|
230
|
+
|
|
231
|
+
**MailListMailboxesV1200Response**
|
|
232
|
+
|
|
233
|
+
### Authorization
|
|
234
|
+
|
|
235
|
+
[apiToken](../README.md#apiToken)
|
|
236
|
+
|
|
237
|
+
### HTTP request headers
|
|
238
|
+
|
|
239
|
+
- **Content-Type**: Not defined
|
|
240
|
+
- **Accept**: application/json
|
|
241
|
+
|
|
242
|
+
|
|
243
|
+
### HTTP response details
|
|
244
|
+
| Status code | Description | Response headers |
|
|
245
|
+
|-------------|-------------|------------------|
|
|
246
|
+
|**200** | Success response | - |
|
|
247
|
+
|**401** | Unauthenticated response | - |
|
|
248
|
+
|**404** | Error response | - |
|
|
249
|
+
|**422** | Error response | - |
|
|
250
|
+
|**500** | Error response | - |
|
|
251
|
+
|
|
252
|
+
[[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)
|
|
253
|
+
|
|
@@ -0,0 +1,132 @@
|
|
|
1
|
+
# MailOrdersApi
|
|
2
|
+
|
|
3
|
+
All URIs are relative to *https://developers.hostinger.com*
|
|
4
|
+
|
|
5
|
+
|Method | HTTP request | Description|
|
|
6
|
+
|------------- | ------------- | -------------|
|
|
7
|
+
|[**getOrderPlanV1**](#getorderplanv1) | **GET** /api/mail/v1/orders/{orderId}/plan | Get order plan|
|
|
8
|
+
|[**listOrdersV1**](#listordersv1) | **GET** /api/mail/v1/orders | List orders|
|
|
9
|
+
|
|
10
|
+
# **getOrderPlanV1**
|
|
11
|
+
> MailV1OrdersPlanResource getOrderPlanV1()
|
|
12
|
+
|
|
13
|
+
Retrieve the plan the given mail order was purchased with, including domain-level and mailbox-level quotas, limits, and protocol availability.
|
|
14
|
+
|
|
15
|
+
### Example
|
|
16
|
+
|
|
17
|
+
```typescript
|
|
18
|
+
import {
|
|
19
|
+
MailOrdersApi,
|
|
20
|
+
Configuration
|
|
21
|
+
} from 'hostinger-api-sdk';
|
|
22
|
+
|
|
23
|
+
const configuration = new Configuration();
|
|
24
|
+
const apiInstance = new MailOrdersApi(configuration);
|
|
25
|
+
|
|
26
|
+
let orderId: string; //Order resource ID (default to undefined)
|
|
27
|
+
|
|
28
|
+
const { status, data } = await apiInstance.getOrderPlanV1(
|
|
29
|
+
orderId
|
|
30
|
+
);
|
|
31
|
+
```
|
|
32
|
+
|
|
33
|
+
### Parameters
|
|
34
|
+
|
|
35
|
+
|Name | Type | Description | Notes|
|
|
36
|
+
|------------- | ------------- | ------------- | -------------|
|
|
37
|
+
| **orderId** | [**string**] | Order resource ID | defaults to undefined|
|
|
38
|
+
|
|
39
|
+
|
|
40
|
+
### Return type
|
|
41
|
+
|
|
42
|
+
**MailV1OrdersPlanResource**
|
|
43
|
+
|
|
44
|
+
### Authorization
|
|
45
|
+
|
|
46
|
+
[apiToken](../README.md#apiToken)
|
|
47
|
+
|
|
48
|
+
### HTTP request headers
|
|
49
|
+
|
|
50
|
+
- **Content-Type**: Not defined
|
|
51
|
+
- **Accept**: application/json
|
|
52
|
+
|
|
53
|
+
|
|
54
|
+
### HTTP response details
|
|
55
|
+
| Status code | Description | Response headers |
|
|
56
|
+
|-------------|-------------|------------------|
|
|
57
|
+
|**200** | Success response | - |
|
|
58
|
+
|**401** | Unauthenticated response | - |
|
|
59
|
+
|**404** | Error 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
|
+
|
|
64
|
+
# **listOrdersV1**
|
|
65
|
+
> MailListOrdersV1200Response listOrdersV1()
|
|
66
|
+
|
|
67
|
+
Retrieve a paginated list of mail orders associated with your account. Use this endpoint to monitor your mail services, including their status, plan, attached domain, and expiration details.
|
|
68
|
+
|
|
69
|
+
### Example
|
|
70
|
+
|
|
71
|
+
```typescript
|
|
72
|
+
import {
|
|
73
|
+
MailOrdersApi,
|
|
74
|
+
Configuration
|
|
75
|
+
} from 'hostinger-api-sdk';
|
|
76
|
+
|
|
77
|
+
const configuration = new Configuration();
|
|
78
|
+
const apiInstance = new MailOrdersApi(configuration);
|
|
79
|
+
|
|
80
|
+
let domain: string; //Filter orders by domain name (exact match) (optional) (default to undefined)
|
|
81
|
+
let status: 'pending_setup' | 'active' | 'suspended'; //Filter orders by status (optional) (default to undefined)
|
|
82
|
+
let isTrial: boolean; //Filter orders by trial state (optional) (default to undefined)
|
|
83
|
+
let sort: 'created_at' | '-created_at' | 'expires_at' | '-expires_at'; //Sort orders by field. Prefix with `-` for descending order. (optional) (default to '-created_at')
|
|
84
|
+
let page: number; //Page number (optional) (default to undefined)
|
|
85
|
+
let perPage: number; //Number of items per page (optional) (default to 25)
|
|
86
|
+
|
|
87
|
+
const { status, data } = await apiInstance.listOrdersV1(
|
|
88
|
+
domain,
|
|
89
|
+
status,
|
|
90
|
+
isTrial,
|
|
91
|
+
sort,
|
|
92
|
+
page,
|
|
93
|
+
perPage
|
|
94
|
+
);
|
|
95
|
+
```
|
|
96
|
+
|
|
97
|
+
### Parameters
|
|
98
|
+
|
|
99
|
+
|Name | Type | Description | Notes|
|
|
100
|
+
|------------- | ------------- | ------------- | -------------|
|
|
101
|
+
| **domain** | [**string**] | Filter orders by domain name (exact match) | (optional) defaults to undefined|
|
|
102
|
+
| **status** | [**'pending_setup' | 'active' | 'suspended'**]**Array<'pending_setup' | 'active' | 'suspended'>** | Filter orders by status | (optional) defaults to undefined|
|
|
103
|
+
| **isTrial** | [**boolean**] | Filter orders by trial state | (optional) defaults to undefined|
|
|
104
|
+
| **sort** | [**'created_at' | '-created_at' | 'expires_at' | '-expires_at'**]**Array<'created_at' | '-created_at' | 'expires_at' | '-expires_at'>** | Sort orders by field. Prefix with `-` for descending order. | (optional) defaults to '-created_at'|
|
|
105
|
+
| **page** | [**number**] | Page number | (optional) defaults to undefined|
|
|
106
|
+
| **perPage** | [**number**] | Number of items per page | (optional) defaults to 25|
|
|
107
|
+
|
|
108
|
+
|
|
109
|
+
### Return type
|
|
110
|
+
|
|
111
|
+
**MailListOrdersV1200Response**
|
|
112
|
+
|
|
113
|
+
### Authorization
|
|
114
|
+
|
|
115
|
+
[apiToken](../README.md#apiToken)
|
|
116
|
+
|
|
117
|
+
### HTTP request headers
|
|
118
|
+
|
|
119
|
+
- **Content-Type**: Not defined
|
|
120
|
+
- **Accept**: application/json
|
|
121
|
+
|
|
122
|
+
|
|
123
|
+
### HTTP response details
|
|
124
|
+
| Status code | Description | Response headers |
|
|
125
|
+
|-------------|-------------|------------------|
|
|
126
|
+
|**200** | Success response | - |
|
|
127
|
+
|**401** | Unauthenticated response | - |
|
|
128
|
+
|**422** | Error response | - |
|
|
129
|
+
|**500** | Error response | - |
|
|
130
|
+
|
|
131
|
+
[[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)
|
|
132
|
+
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
# MailV1AliasesAliasMailboxResource
|
|
2
|
+
|
|
3
|
+
|
|
4
|
+
## Properties
|
|
5
|
+
|
|
6
|
+
Name | Type | Description | Notes
|
|
7
|
+
------------ | ------------- | ------------- | -------------
|
|
8
|
+
**id** | **string** | Mailbox resource ID | [optional] [default to undefined]
|
|
9
|
+
**address** | **string** | | [optional] [default to undefined]
|
|
10
|
+
|
|
11
|
+
## Example
|
|
12
|
+
|
|
13
|
+
```typescript
|
|
14
|
+
import { MailV1AliasesAliasMailboxResource } from 'hostinger-api-sdk';
|
|
15
|
+
|
|
16
|
+
const instance: MailV1AliasesAliasMailboxResource = {
|
|
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)
|
|
@@ -0,0 +1,30 @@
|
|
|
1
|
+
# MailV1AliasesAliasResource
|
|
2
|
+
|
|
3
|
+
|
|
4
|
+
## Properties
|
|
5
|
+
|
|
6
|
+
Name | Type | Description | Notes
|
|
7
|
+
------------ | ------------- | ------------- | -------------
|
|
8
|
+
**id** | **string** | Unique alias identifier | [optional] [default to undefined]
|
|
9
|
+
**address** | **string** | Email address of the alias | [optional] [default to undefined]
|
|
10
|
+
**mailbox** | [**MailV1AliasesAliasMailboxResource**](MailV1AliasesAliasMailboxResource.md) | | [optional] [default to undefined]
|
|
11
|
+
**is_active** | **boolean** | Whether the alias is active and not suspended | [optional] [default to undefined]
|
|
12
|
+
**created_at** | **string** | | [optional] [default to undefined]
|
|
13
|
+
**updated_at** | **string** | | [optional] [default to undefined]
|
|
14
|
+
|
|
15
|
+
## Example
|
|
16
|
+
|
|
17
|
+
```typescript
|
|
18
|
+
import { MailV1AliasesAliasResource } from 'hostinger-api-sdk';
|
|
19
|
+
|
|
20
|
+
const instance: MailV1AliasesAliasResource = {
|
|
21
|
+
id,
|
|
22
|
+
address,
|
|
23
|
+
mailbox,
|
|
24
|
+
is_active,
|
|
25
|
+
created_at,
|
|
26
|
+
updated_at,
|
|
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,30 @@
|
|
|
1
|
+
# MailV1ApiTokensApiTokenCreatedResource
|
|
2
|
+
|
|
3
|
+
|
|
4
|
+
## Properties
|
|
5
|
+
|
|
6
|
+
Name | Type | Description | Notes
|
|
7
|
+
------------ | ------------- | ------------- | -------------
|
|
8
|
+
**id** | **string** | Unique API token identifier | [optional] [default to undefined]
|
|
9
|
+
**token** | **string** | Plaintext API token, returned only in this response. Grants access to the [Hostinger Email API](https://api.mail.hostinger.com/) for mailbox provisioning and management. | [optional] [default to undefined]
|
|
10
|
+
**name** | **string** | Human-readable label for this token | [optional] [default to undefined]
|
|
11
|
+
**scope** | [**MailV1ApiTokensApiTokenScopeResource**](MailV1ApiTokensApiTokenScopeResource.md) | | [optional] [default to undefined]
|
|
12
|
+
**created_at** | **string** | | [optional] [default to undefined]
|
|
13
|
+
**type** | **string** | | [optional] [default to undefined]
|
|
14
|
+
|
|
15
|
+
## Example
|
|
16
|
+
|
|
17
|
+
```typescript
|
|
18
|
+
import { MailV1ApiTokensApiTokenCreatedResource } from 'hostinger-api-sdk';
|
|
19
|
+
|
|
20
|
+
const instance: MailV1ApiTokensApiTokenCreatedResource = {
|
|
21
|
+
id,
|
|
22
|
+
token,
|
|
23
|
+
name,
|
|
24
|
+
scope,
|
|
25
|
+
created_at,
|
|
26
|
+
type,
|
|
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,22 @@
|
|
|
1
|
+
# MailV1ApiTokensApiTokenMailboxResource
|
|
2
|
+
|
|
3
|
+
|
|
4
|
+
## Properties
|
|
5
|
+
|
|
6
|
+
Name | Type | Description | Notes
|
|
7
|
+
------------ | ------------- | ------------- | -------------
|
|
8
|
+
**id** | **string** | Mailbox resource ID | [optional] [default to undefined]
|
|
9
|
+
**address** | **string** | | [optional] [default to undefined]
|
|
10
|
+
|
|
11
|
+
## Example
|
|
12
|
+
|
|
13
|
+
```typescript
|
|
14
|
+
import { MailV1ApiTokensApiTokenMailboxResource } from 'hostinger-api-sdk';
|
|
15
|
+
|
|
16
|
+
const instance: MailV1ApiTokensApiTokenMailboxResource = {
|
|
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)
|
|
@@ -0,0 +1,32 @@
|
|
|
1
|
+
# MailV1ApiTokensApiTokenResource
|
|
2
|
+
|
|
3
|
+
|
|
4
|
+
## Properties
|
|
5
|
+
|
|
6
|
+
Name | Type | Description | Notes
|
|
7
|
+
------------ | ------------- | ------------- | -------------
|
|
8
|
+
**id** | **string** | Unique API token identifier | [optional] [default to undefined]
|
|
9
|
+
**order_id** | **string** | Resource ID of the owning mail order | [optional] [default to undefined]
|
|
10
|
+
**name** | **string** | Human-readable label for this token | [optional] [default to undefined]
|
|
11
|
+
**scope** | [**MailV1ApiTokensApiTokenScopeResource**](MailV1ApiTokensApiTokenScopeResource.md) | | [optional] [default to undefined]
|
|
12
|
+
**created_at** | **string** | | [optional] [default to undefined]
|
|
13
|
+
**last_used_at** | **string** | Last successful authentication using this token | [optional] [default to undefined]
|
|
14
|
+
**type** | **string** | | [optional] [default to undefined]
|
|
15
|
+
|
|
16
|
+
## Example
|
|
17
|
+
|
|
18
|
+
```typescript
|
|
19
|
+
import { MailV1ApiTokensApiTokenResource } from 'hostinger-api-sdk';
|
|
20
|
+
|
|
21
|
+
const instance: MailV1ApiTokensApiTokenResource = {
|
|
22
|
+
id,
|
|
23
|
+
order_id,
|
|
24
|
+
name,
|
|
25
|
+
scope,
|
|
26
|
+
created_at,
|
|
27
|
+
last_used_at,
|
|
28
|
+
type,
|
|
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
|
+
# MailV1ApiTokensApiTokenScopeResource
|
|
2
|
+
|
|
3
|
+
|
|
4
|
+
## Properties
|
|
5
|
+
|
|
6
|
+
Name | Type | Description | Notes
|
|
7
|
+
------------ | ------------- | ------------- | -------------
|
|
8
|
+
**has_all_mailboxes** | **boolean** | Whether the token covers all current and future mailboxes of the order | [optional] [default to undefined]
|
|
9
|
+
**mailboxes** | [**Array<MailV1ApiTokensApiTokenMailboxResource>**](MailV1ApiTokensApiTokenMailboxResource.md) | Mailboxes this token grants access to. Empty when `has_all_mailboxes` is true. | [optional] [default to undefined]
|
|
10
|
+
|
|
11
|
+
## Example
|
|
12
|
+
|
|
13
|
+
```typescript
|
|
14
|
+
import { MailV1ApiTokensApiTokenScopeResource } from 'hostinger-api-sdk';
|
|
15
|
+
|
|
16
|
+
const instance: MailV1ApiTokensApiTokenScopeResource = {
|
|
17
|
+
has_all_mailboxes,
|
|
18
|
+
mailboxes,
|
|
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
|
+
# MailV1AutorepliesAutoreplyMailboxResource
|
|
2
|
+
|
|
3
|
+
|
|
4
|
+
## Properties
|
|
5
|
+
|
|
6
|
+
Name | Type | Description | Notes
|
|
7
|
+
------------ | ------------- | ------------- | -------------
|
|
8
|
+
**id** | **string** | Mailbox resource ID | [optional] [default to undefined]
|
|
9
|
+
**address** | **string** | | [optional] [default to undefined]
|
|
10
|
+
|
|
11
|
+
## Example
|
|
12
|
+
|
|
13
|
+
```typescript
|
|
14
|
+
import { MailV1AutorepliesAutoreplyMailboxResource } from 'hostinger-api-sdk';
|
|
15
|
+
|
|
16
|
+
const instance: MailV1AutorepliesAutoreplyMailboxResource = {
|
|
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)
|
|
@@ -0,0 +1,36 @@
|
|
|
1
|
+
# MailV1AutorepliesAutoreplyResource
|
|
2
|
+
|
|
3
|
+
|
|
4
|
+
## Properties
|
|
5
|
+
|
|
6
|
+
Name | Type | Description | Notes
|
|
7
|
+
------------ | ------------- | ------------- | -------------
|
|
8
|
+
**id** | **string** | Unique autoreply identifier | [optional] [default to undefined]
|
|
9
|
+
**mailbox** | [**MailV1AutorepliesAutoreplyMailboxResource**](MailV1AutorepliesAutoreplyMailboxResource.md) | | [optional] [default to undefined]
|
|
10
|
+
**subject** | **string** | Subject of the automatic reply | [optional] [default to undefined]
|
|
11
|
+
**body** | **string** | Body of the automatic reply | [optional] [default to undefined]
|
|
12
|
+
**display_name** | **string** | Sender display name used for the reply | [optional] [default to undefined]
|
|
13
|
+
**starts_at** | **string** | When the autoreply becomes active | [optional] [default to undefined]
|
|
14
|
+
**ends_at** | **string** | When the autoreply stops | [optional] [default to undefined]
|
|
15
|
+
**created_at** | **string** | | [optional] [default to undefined]
|
|
16
|
+
**updated_at** | **string** | | [optional] [default to undefined]
|
|
17
|
+
|
|
18
|
+
## Example
|
|
19
|
+
|
|
20
|
+
```typescript
|
|
21
|
+
import { MailV1AutorepliesAutoreplyResource } from 'hostinger-api-sdk';
|
|
22
|
+
|
|
23
|
+
const instance: MailV1AutorepliesAutoreplyResource = {
|
|
24
|
+
id,
|
|
25
|
+
mailbox,
|
|
26
|
+
subject,
|
|
27
|
+
body,
|
|
28
|
+
display_name,
|
|
29
|
+
starts_at,
|
|
30
|
+
ends_at,
|
|
31
|
+
created_at,
|
|
32
|
+
updated_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,22 @@
|
|
|
1
|
+
# MailV1CatchallsCatchallMailboxResource
|
|
2
|
+
|
|
3
|
+
|
|
4
|
+
## Properties
|
|
5
|
+
|
|
6
|
+
Name | Type | Description | Notes
|
|
7
|
+
------------ | ------------- | ------------- | -------------
|
|
8
|
+
**id** | **string** | Mailbox resource ID | [optional] [default to undefined]
|
|
9
|
+
**address** | **string** | | [optional] [default to undefined]
|
|
10
|
+
|
|
11
|
+
## Example
|
|
12
|
+
|
|
13
|
+
```typescript
|
|
14
|
+
import { MailV1CatchallsCatchallMailboxResource } from 'hostinger-api-sdk';
|
|
15
|
+
|
|
16
|
+
const instance: MailV1CatchallsCatchallMailboxResource = {
|
|
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)
|
|
@@ -0,0 +1,32 @@
|
|
|
1
|
+
# MailV1CatchallsCatchallResource
|
|
2
|
+
|
|
3
|
+
|
|
4
|
+
## Properties
|
|
5
|
+
|
|
6
|
+
Name | Type | Description | Notes
|
|
7
|
+
------------ | ------------- | ------------- | -------------
|
|
8
|
+
**id** | **string** | Unique catch-all identifier | [optional] [default to undefined]
|
|
9
|
+
**mailbox** | [**MailV1CatchallsCatchallMailboxResource**](MailV1CatchallsCatchallMailboxResource.md) | | [optional] [default to undefined]
|
|
10
|
+
**domain** | **string** | Domain whose unrouted messages are caught | [optional] [default to undefined]
|
|
11
|
+
**is_active** | **boolean** | Whether the catch-all is active | [optional] [default to undefined]
|
|
12
|
+
**is_confirmed** | **boolean** | Whether the mailbox address has confirmed the catch-all | [optional] [default to undefined]
|
|
13
|
+
**created_at** | **string** | | [optional] [default to undefined]
|
|
14
|
+
**updated_at** | **string** | | [optional] [default to undefined]
|
|
15
|
+
|
|
16
|
+
## Example
|
|
17
|
+
|
|
18
|
+
```typescript
|
|
19
|
+
import { MailV1CatchallsCatchallResource } from 'hostinger-api-sdk';
|
|
20
|
+
|
|
21
|
+
const instance: MailV1CatchallsCatchallResource = {
|
|
22
|
+
id,
|
|
23
|
+
mailbox,
|
|
24
|
+
domain,
|
|
25
|
+
is_active,
|
|
26
|
+
is_confirmed,
|
|
27
|
+
created_at,
|
|
28
|
+
updated_at,
|
|
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
|
+
# MailV1ForwardersForwarderMailboxResource
|
|
2
|
+
|
|
3
|
+
|
|
4
|
+
## Properties
|
|
5
|
+
|
|
6
|
+
Name | Type | Description | Notes
|
|
7
|
+
------------ | ------------- | ------------- | -------------
|
|
8
|
+
**id** | **string** | Mailbox resource ID | [optional] [default to undefined]
|
|
9
|
+
**address** | **string** | | [optional] [default to undefined]
|
|
10
|
+
|
|
11
|
+
## Example
|
|
12
|
+
|
|
13
|
+
```typescript
|
|
14
|
+
import { MailV1ForwardersForwarderMailboxResource } from 'hostinger-api-sdk';
|
|
15
|
+
|
|
16
|
+
const instance: MailV1ForwardersForwarderMailboxResource = {
|
|
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)
|