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.
- package/.github/workflows/build-release.yaml +29 -1
- package/README.md +2 -2
- package/api.ts +18917 -8154
- package/base.ts +1 -1
- package/common.ts +1 -1
- package/configuration.ts +2 -2
- package/dist/api.d.ts +13394 -6243
- package/dist/api.js +10470 -3788
- 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 +13394 -6243
- package/dist/esm/api.js +10463 -3867
- 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/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,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)
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
# MailListInboundLogsV1200Response
|
|
2
|
+
|
|
3
|
+
|
|
4
|
+
## Properties
|
|
5
|
+
|
|
6
|
+
Name | Type | Description | Notes
|
|
7
|
+
------------ | ------------- | ------------- | -------------
|
|
8
|
+
**data** | [**Array<MailV1LogsCommonDeliveryLogResource>**](MailV1LogsCommonDeliveryLogResource.md) | Array of [`Mail.V1.Logs.Common.DeliveryLogResource`](#model/mailv1logscommondeliverylogresource) | [optional] [default to undefined]
|
|
9
|
+
**meta** | [**CommonSchemaPaginationMetaSchema**](CommonSchemaPaginationMetaSchema.md) | | [optional] [default to undefined]
|
|
10
|
+
|
|
11
|
+
## Example
|
|
12
|
+
|
|
13
|
+
```typescript
|
|
14
|
+
import { MailListInboundLogsV1200Response } from 'hostinger-api-sdk';
|
|
15
|
+
|
|
16
|
+
const instance: MailListInboundLogsV1200Response = {
|
|
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
|
+
# MailListMailboxActionLogsV1200Response
|
|
2
|
+
|
|
3
|
+
|
|
4
|
+
## Properties
|
|
5
|
+
|
|
6
|
+
Name | Type | Description | Notes
|
|
7
|
+
------------ | ------------- | ------------- | -------------
|
|
8
|
+
**data** | [**Array<MailV1LogsMailboxActionsMailboxActionLogResource>**](MailV1LogsMailboxActionsMailboxActionLogResource.md) | Array of [`Mail.V1.Logs.MailboxActions.MailboxActionLogResource`](#model/mailv1logsmailboxactionsmailboxactionlogresource) | [optional] [default to undefined]
|
|
9
|
+
**meta** | [**CommonSchemaPaginationMetaSchema**](CommonSchemaPaginationMetaSchema.md) | | [optional] [default to undefined]
|
|
10
|
+
|
|
11
|
+
## Example
|
|
12
|
+
|
|
13
|
+
```typescript
|
|
14
|
+
import { MailListMailboxActionLogsV1200Response } from 'hostinger-api-sdk';
|
|
15
|
+
|
|
16
|
+
const instance: MailListMailboxActionLogsV1200Response = {
|
|
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
|
+
# MailListMailboxesV1200Response
|
|
2
|
+
|
|
3
|
+
|
|
4
|
+
## Properties
|
|
5
|
+
|
|
6
|
+
Name | Type | Description | Notes
|
|
7
|
+
------------ | ------------- | ------------- | -------------
|
|
8
|
+
**data** | [**Array<MailV1MailboxesMailboxResource>**](MailV1MailboxesMailboxResource.md) | Array of [`Mail.V1.Mailboxes.MailboxResource`](#model/mailv1mailboxesmailboxresource) | [optional] [default to undefined]
|
|
9
|
+
**meta** | [**CommonSchemaPaginationMetaSchema**](CommonSchemaPaginationMetaSchema.md) | | [optional] [default to undefined]
|
|
10
|
+
|
|
11
|
+
## Example
|
|
12
|
+
|
|
13
|
+
```typescript
|
|
14
|
+
import { MailListMailboxesV1200Response } from 'hostinger-api-sdk';
|
|
15
|
+
|
|
16
|
+
const instance: MailListMailboxesV1200Response = {
|
|
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
|
+
# MailListOrdersV1200Response
|
|
2
|
+
|
|
3
|
+
|
|
4
|
+
## Properties
|
|
5
|
+
|
|
6
|
+
Name | Type | Description | Notes
|
|
7
|
+
------------ | ------------- | ------------- | -------------
|
|
8
|
+
**data** | [**Array<MailV1OrdersOrderResource>**](MailV1OrdersOrderResource.md) | Array of [`Mail.V1.Orders.OrderResource`](#model/mailv1ordersorderresource) | [optional] [default to undefined]
|
|
9
|
+
**meta** | [**CommonSchemaPaginationMetaSchema**](CommonSchemaPaginationMetaSchema.md) | | [optional] [default to undefined]
|
|
10
|
+
|
|
11
|
+
## Example
|
|
12
|
+
|
|
13
|
+
```typescript
|
|
14
|
+
import { MailListOrdersV1200Response } from 'hostinger-api-sdk';
|
|
15
|
+
|
|
16
|
+
const instance: MailListOrdersV1200Response = {
|
|
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
|
+
# MailListWebhookDeliveryLogsV1200Response
|
|
2
|
+
|
|
3
|
+
|
|
4
|
+
## Properties
|
|
5
|
+
|
|
6
|
+
Name | Type | Description | Notes
|
|
7
|
+
------------ | ------------- | ------------- | -------------
|
|
8
|
+
**data** | [**Array<MailV1WebhooksWebhookDeliveryLogResource>**](MailV1WebhooksWebhookDeliveryLogResource.md) | Array of [`Mail.V1.Webhooks.WebhookDeliveryLogResource`](#model/mailv1webhookswebhookdeliverylogresource) | [optional] [default to undefined]
|
|
9
|
+
**meta** | [**CommonSchemaPaginationMetaSchema**](CommonSchemaPaginationMetaSchema.md) | | [optional] [default to undefined]
|
|
10
|
+
|
|
11
|
+
## Example
|
|
12
|
+
|
|
13
|
+
```typescript
|
|
14
|
+
import { MailListWebhookDeliveryLogsV1200Response } from 'hostinger-api-sdk';
|
|
15
|
+
|
|
16
|
+
const instance: MailListWebhookDeliveryLogsV1200Response = {
|
|
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
|
+
# MailListWebhooksV1200Response
|
|
2
|
+
|
|
3
|
+
|
|
4
|
+
## Properties
|
|
5
|
+
|
|
6
|
+
Name | Type | Description | Notes
|
|
7
|
+
------------ | ------------- | ------------- | -------------
|
|
8
|
+
**data** | [**Array<MailV1WebhooksWebhookResource>**](MailV1WebhooksWebhookResource.md) | Array of [`Mail.V1.Webhooks.WebhookResource`](#model/mailv1webhookswebhookresource) | [optional] [default to undefined]
|
|
9
|
+
**meta** | [**CommonSchemaPaginationMetaSchema**](CommonSchemaPaginationMetaSchema.md) | | [optional] [default to undefined]
|
|
10
|
+
|
|
11
|
+
## Example
|
|
12
|
+
|
|
13
|
+
```typescript
|
|
14
|
+
import { MailListWebhooksV1200Response } from 'hostinger-api-sdk';
|
|
15
|
+
|
|
16
|
+
const instance: MailListWebhooksV1200Response = {
|
|
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)
|