hostinger-api-sdk 1.5.0 → 1.21.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/.github/workflows/build-release.yaml +29 -1
- package/README.md +2 -2
- package/api.ts +18747 -8098
- package/base.ts +1 -1
- package/common.ts +1 -1
- package/configuration.ts +2 -2
- package/dist/api.d.ts +13312 -6201
- package/dist/api.js +10299 -3751
- 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 +13312 -6201
- package/dist/esm/api.js +10191 -3729
- 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/BillingV1OrderPurchaseRequest.md +24 -0
- package/docs/BillingV1OrderPurchaseRequestItemsInner.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/HostingCacheApi.md +26 -130
- package/docs/HostingDatabasesApi.md +63 -63
- package/docs/HostingNodeJSApi.md +122 -0
- package/docs/HostingV1CacheToggleCacheRequest.md +20 -0
- package/docs/HostingV1CacheToggleCachelessModeRequest.md +20 -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,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)
|