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,28 @@
|
|
|
1
|
+
# MailV1SchemaCreateWebhookRequestSchema
|
|
2
|
+
|
|
3
|
+
|
|
4
|
+
## Properties
|
|
5
|
+
|
|
6
|
+
Name | Type | Description | Notes
|
|
7
|
+
------------ | ------------- | ------------- | -------------
|
|
8
|
+
**name** | **string** | Human-readable name for this webhook | [default to undefined]
|
|
9
|
+
**description** | **string** | Optional description of the webhook\'s purpose | [optional] [default to undefined]
|
|
10
|
+
**events** | **Array<string>** | Events that trigger this webhook | [default to undefined]
|
|
11
|
+
**status** | **string** | Initial status of the webhook | [optional] [default to StatusEnum_Active]
|
|
12
|
+
**url** | **string** | Publicly reachable URL that receives the webhook POST requests | [default to undefined]
|
|
13
|
+
|
|
14
|
+
## Example
|
|
15
|
+
|
|
16
|
+
```typescript
|
|
17
|
+
import { MailV1SchemaCreateWebhookRequestSchema } from 'hostinger-api-sdk';
|
|
18
|
+
|
|
19
|
+
const instance: MailV1SchemaCreateWebhookRequestSchema = {
|
|
20
|
+
name,
|
|
21
|
+
description,
|
|
22
|
+
events,
|
|
23
|
+
status,
|
|
24
|
+
url,
|
|
25
|
+
};
|
|
26
|
+
```
|
|
27
|
+
|
|
28
|
+
[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
# MailV1SchemaUpdateForwarderKeepCopyRequestSchema
|
|
2
|
+
|
|
3
|
+
|
|
4
|
+
## Properties
|
|
5
|
+
|
|
6
|
+
Name | Type | Description | Notes
|
|
7
|
+
------------ | ------------- | ------------- | -------------
|
|
8
|
+
**is_keep_copy_enabled** | **boolean** | Whether to keep a copy of forwarded messages in the mailbox | [default to undefined]
|
|
9
|
+
|
|
10
|
+
## Example
|
|
11
|
+
|
|
12
|
+
```typescript
|
|
13
|
+
import { MailV1SchemaUpdateForwarderKeepCopyRequestSchema } from 'hostinger-api-sdk';
|
|
14
|
+
|
|
15
|
+
const instance: MailV1SchemaUpdateForwarderKeepCopyRequestSchema = {
|
|
16
|
+
is_keep_copy_enabled,
|
|
17
|
+
};
|
|
18
|
+
```
|
|
19
|
+
|
|
20
|
+
[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
|
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
# MailV1SchemaUpdateWebhookRequestSchema
|
|
2
|
+
|
|
3
|
+
Fields to update. All fields are optional; only provided fields are changed. Pass `\"description\": null` to clear the description.
|
|
4
|
+
|
|
5
|
+
## Properties
|
|
6
|
+
|
|
7
|
+
Name | Type | Description | Notes
|
|
8
|
+
------------ | ------------- | ------------- | -------------
|
|
9
|
+
**name** | **string** | New human-readable name for the webhook | [optional] [default to undefined]
|
|
10
|
+
**description** | **string** | New description, or null to clear it | [optional] [default to undefined]
|
|
11
|
+
**events** | **Array<string>** | Replaces the full list of subscribed events | [optional] [default to undefined]
|
|
12
|
+
**status** | **string** | New status for the webhook | [optional] [default to undefined]
|
|
13
|
+
**url** | **string** | New URL to deliver events to | [optional] [default to undefined]
|
|
14
|
+
|
|
15
|
+
## Example
|
|
16
|
+
|
|
17
|
+
```typescript
|
|
18
|
+
import { MailV1SchemaUpdateWebhookRequestSchema } from 'hostinger-api-sdk';
|
|
19
|
+
|
|
20
|
+
const instance: MailV1SchemaUpdateWebhookRequestSchema = {
|
|
21
|
+
name,
|
|
22
|
+
description,
|
|
23
|
+
events,
|
|
24
|
+
status,
|
|
25
|
+
url,
|
|
26
|
+
};
|
|
27
|
+
```
|
|
28
|
+
|
|
29
|
+
[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
|
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
# MailV1SchemaUpsertAutoreplyRequestSchema
|
|
2
|
+
|
|
3
|
+
|
|
4
|
+
## Properties
|
|
5
|
+
|
|
6
|
+
Name | Type | Description | Notes
|
|
7
|
+
------------ | ------------- | ------------- | -------------
|
|
8
|
+
**subject** | **string** | Subject of the automatic reply | [default to undefined]
|
|
9
|
+
**body** | **string** | Body of the automatic reply | [default to undefined]
|
|
10
|
+
**display_name** | **string** | Sender display name used for the reply | [optional] [default to undefined]
|
|
11
|
+
**starts_at** | **string** | When the autoreply becomes active. Defaults to now. | [optional] [default to undefined]
|
|
12
|
+
**ends_at** | **string** | When the autoreply stops. Omit for an indefinite autoreply. | [optional] [default to undefined]
|
|
13
|
+
|
|
14
|
+
## Example
|
|
15
|
+
|
|
16
|
+
```typescript
|
|
17
|
+
import { MailV1SchemaUpsertAutoreplyRequestSchema } from 'hostinger-api-sdk';
|
|
18
|
+
|
|
19
|
+
const instance: MailV1SchemaUpsertAutoreplyRequestSchema = {
|
|
20
|
+
subject,
|
|
21
|
+
body,
|
|
22
|
+
display_name,
|
|
23
|
+
starts_at,
|
|
24
|
+
ends_at,
|
|
25
|
+
};
|
|
26
|
+
```
|
|
27
|
+
|
|
28
|
+
[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
|
|
@@ -0,0 +1,38 @@
|
|
|
1
|
+
# MailV1WebhooksWebhookCreatedResource
|
|
2
|
+
|
|
3
|
+
|
|
4
|
+
## Properties
|
|
5
|
+
|
|
6
|
+
Name | Type | Description | Notes
|
|
7
|
+
------------ | ------------- | ------------- | -------------
|
|
8
|
+
**id** | **string** | Unique webhook identifier | [optional] [default to undefined]
|
|
9
|
+
**mailbox** | [**MailV1WebhooksWebhookMailboxResource**](MailV1WebhooksWebhookMailboxResource.md) | | [optional] [default to undefined]
|
|
10
|
+
**name** | **string** | Human-readable name for this webhook | [optional] [default to undefined]
|
|
11
|
+
**description** | **string** | Optional description of the webhook\'s purpose | [optional] [default to undefined]
|
|
12
|
+
**events** | **Array<string>** | Events that trigger this webhook | [optional] [default to undefined]
|
|
13
|
+
**status** | **string** | Current status of the webhook | [optional] [default to undefined]
|
|
14
|
+
**url** | **string** | URL that receives webhook POST requests | [optional] [default to undefined]
|
|
15
|
+
**secret** | **string** | One-time webhook secret, returned only on creation. Sent as `Authorization: Bearer <secret>` with every delivery. | [optional] [default to undefined]
|
|
16
|
+
**created_at** | **string** | | [optional] [default to undefined]
|
|
17
|
+
**updated_at** | **string** | | [optional] [default to undefined]
|
|
18
|
+
|
|
19
|
+
## Example
|
|
20
|
+
|
|
21
|
+
```typescript
|
|
22
|
+
import { MailV1WebhooksWebhookCreatedResource } from 'hostinger-api-sdk';
|
|
23
|
+
|
|
24
|
+
const instance: MailV1WebhooksWebhookCreatedResource = {
|
|
25
|
+
id,
|
|
26
|
+
mailbox,
|
|
27
|
+
name,
|
|
28
|
+
description,
|
|
29
|
+
events,
|
|
30
|
+
status,
|
|
31
|
+
url,
|
|
32
|
+
secret,
|
|
33
|
+
created_at,
|
|
34
|
+
updated_at,
|
|
35
|
+
};
|
|
36
|
+
```
|
|
37
|
+
|
|
38
|
+
[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
|
|
@@ -0,0 +1,32 @@
|
|
|
1
|
+
# MailV1WebhooksWebhookDeliveryLogResource
|
|
2
|
+
|
|
3
|
+
|
|
4
|
+
## Properties
|
|
5
|
+
|
|
6
|
+
Name | Type | Description | Notes
|
|
7
|
+
------------ | ------------- | ------------- | -------------
|
|
8
|
+
**created_at** | **string** | | [optional] [default to undefined]
|
|
9
|
+
**mailbox_address** | **string** | Email address of the mailbox this delivery is attached to | [optional] [default to undefined]
|
|
10
|
+
**webhook_url** | **string** | URL that received the webhook POST request | [optional] [default to undefined]
|
|
11
|
+
**is_successful** | **boolean** | Whether the delivery was successful | [optional] [default to undefined]
|
|
12
|
+
**duration** | **number** | Webhook request duration in milliseconds | [optional] [default to undefined]
|
|
13
|
+
**retry_count** | **number** | Number of delivery attempts made | [optional] [default to undefined]
|
|
14
|
+
**max_retry_count** | **number** | Maximum number of delivery attempts allowed | [optional] [default to undefined]
|
|
15
|
+
|
|
16
|
+
## Example
|
|
17
|
+
|
|
18
|
+
```typescript
|
|
19
|
+
import { MailV1WebhooksWebhookDeliveryLogResource } from 'hostinger-api-sdk';
|
|
20
|
+
|
|
21
|
+
const instance: MailV1WebhooksWebhookDeliveryLogResource = {
|
|
22
|
+
created_at,
|
|
23
|
+
mailbox_address,
|
|
24
|
+
webhook_url,
|
|
25
|
+
is_successful,
|
|
26
|
+
duration,
|
|
27
|
+
retry_count,
|
|
28
|
+
max_retry_count,
|
|
29
|
+
};
|
|
30
|
+
```
|
|
31
|
+
|
|
32
|
+
[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
# MailV1WebhooksWebhookMailboxResource
|
|
2
|
+
|
|
3
|
+
|
|
4
|
+
## Properties
|
|
5
|
+
|
|
6
|
+
Name | Type | Description | Notes
|
|
7
|
+
------------ | ------------- | ------------- | -------------
|
|
8
|
+
**id** | **string** | | [optional] [default to undefined]
|
|
9
|
+
**address** | **string** | | [optional] [default to undefined]
|
|
10
|
+
|
|
11
|
+
## Example
|
|
12
|
+
|
|
13
|
+
```typescript
|
|
14
|
+
import { MailV1WebhooksWebhookMailboxResource } from 'hostinger-api-sdk';
|
|
15
|
+
|
|
16
|
+
const instance: MailV1WebhooksWebhookMailboxResource = {
|
|
17
|
+
id,
|
|
18
|
+
address,
|
|
19
|
+
};
|
|
20
|
+
```
|
|
21
|
+
|
|
22
|
+
[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
|
|
@@ -0,0 +1,36 @@
|
|
|
1
|
+
# MailV1WebhooksWebhookResource
|
|
2
|
+
|
|
3
|
+
|
|
4
|
+
## Properties
|
|
5
|
+
|
|
6
|
+
Name | Type | Description | Notes
|
|
7
|
+
------------ | ------------- | ------------- | -------------
|
|
8
|
+
**id** | **string** | Unique webhook identifier | [optional] [default to undefined]
|
|
9
|
+
**mailbox** | [**MailV1WebhooksWebhookMailboxResource**](MailV1WebhooksWebhookMailboxResource.md) | | [optional] [default to undefined]
|
|
10
|
+
**name** | **string** | Human-readable name for this webhook | [optional] [default to undefined]
|
|
11
|
+
**description** | **string** | Optional description of the webhook\'s purpose | [optional] [default to undefined]
|
|
12
|
+
**events** | **Array<string>** | Events that trigger this webhook | [optional] [default to undefined]
|
|
13
|
+
**status** | **string** | Current status of the webhook | [optional] [default to undefined]
|
|
14
|
+
**url** | **string** | URL that receives webhook POST requests | [optional] [default to undefined]
|
|
15
|
+
**created_at** | **string** | | [optional] [default to undefined]
|
|
16
|
+
**updated_at** | **string** | | [optional] [default to undefined]
|
|
17
|
+
|
|
18
|
+
## Example
|
|
19
|
+
|
|
20
|
+
```typescript
|
|
21
|
+
import { MailV1WebhooksWebhookResource } from 'hostinger-api-sdk';
|
|
22
|
+
|
|
23
|
+
const instance: MailV1WebhooksWebhookResource = {
|
|
24
|
+
id,
|
|
25
|
+
mailbox,
|
|
26
|
+
name,
|
|
27
|
+
description,
|
|
28
|
+
events,
|
|
29
|
+
status,
|
|
30
|
+
url,
|
|
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,38 @@
|
|
|
1
|
+
# MailV1WebhooksWebhookSecretResource
|
|
2
|
+
|
|
3
|
+
|
|
4
|
+
## Properties
|
|
5
|
+
|
|
6
|
+
Name | Type | Description | Notes
|
|
7
|
+
------------ | ------------- | ------------- | -------------
|
|
8
|
+
**id** | **string** | Unique webhook identifier | [optional] [default to undefined]
|
|
9
|
+
**mailbox** | [**MailV1WebhooksWebhookMailboxResource**](MailV1WebhooksWebhookMailboxResource.md) | | [optional] [default to undefined]
|
|
10
|
+
**name** | **string** | Human-readable name for this webhook | [optional] [default to undefined]
|
|
11
|
+
**description** | **string** | Optional description of the webhook\'s purpose | [optional] [default to undefined]
|
|
12
|
+
**events** | **Array<string>** | Events that trigger this webhook | [optional] [default to undefined]
|
|
13
|
+
**status** | **string** | Current status of the webhook | [optional] [default to undefined]
|
|
14
|
+
**url** | **string** | URL that receives webhook POST requests | [optional] [default to undefined]
|
|
15
|
+
**secret** | **string** | New webhook secret, sent as `Authorization: Bearer <secret>` with every delivery. The previous secret is immediately invalidated and the new one is not returned again. | [optional] [default to undefined]
|
|
16
|
+
**created_at** | **string** | | [optional] [default to undefined]
|
|
17
|
+
**updated_at** | **string** | | [optional] [default to undefined]
|
|
18
|
+
|
|
19
|
+
## Example
|
|
20
|
+
|
|
21
|
+
```typescript
|
|
22
|
+
import { MailV1WebhooksWebhookSecretResource } from 'hostinger-api-sdk';
|
|
23
|
+
|
|
24
|
+
const instance: MailV1WebhooksWebhookSecretResource = {
|
|
25
|
+
id,
|
|
26
|
+
mailbox,
|
|
27
|
+
name,
|
|
28
|
+
description,
|
|
29
|
+
events,
|
|
30
|
+
status,
|
|
31
|
+
url,
|
|
32
|
+
secret,
|
|
33
|
+
created_at,
|
|
34
|
+
updated_at,
|
|
35
|
+
};
|
|
36
|
+
```
|
|
37
|
+
|
|
38
|
+
[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
# MailV1WebhooksWebhookTestResultResource
|
|
2
|
+
|
|
3
|
+
|
|
4
|
+
## Properties
|
|
5
|
+
|
|
6
|
+
Name | Type | Description | Notes
|
|
7
|
+
------------ | ------------- | ------------- | -------------
|
|
8
|
+
**http_status** | **number** | HTTP status code returned by the webhook endpoint | [optional] [default to undefined]
|
|
9
|
+
**is_successful** | **boolean** | Whether the test delivery was successful | [optional] [default to undefined]
|
|
10
|
+
**error** | **string** | Error message returned by the webhook endpoint in case of failure | [optional] [default to undefined]
|
|
11
|
+
|
|
12
|
+
## Example
|
|
13
|
+
|
|
14
|
+
```typescript
|
|
15
|
+
import { MailV1WebhooksWebhookTestResultResource } from 'hostinger-api-sdk';
|
|
16
|
+
|
|
17
|
+
const instance: MailV1WebhooksWebhookTestResultResource = {
|
|
18
|
+
http_status,
|
|
19
|
+
is_successful,
|
|
20
|
+
error,
|
|
21
|
+
};
|
|
22
|
+
```
|
|
23
|
+
|
|
24
|
+
[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
|