hostinger-api-mcp 1.22.1 → 1.23.0
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/README.md +61 -2
- package/gemini-extension.json +1 -1
- package/package.json +1 -1
- package/server.json +2 -2
- package/src/core/runtime.js +1 -1
- package/src/core/runtime.ts +1 -1
- package/src/core/tools/all.js +189 -0
- package/src/core/tools/all.ts +189 -0
- package/src/core/tools/mail.js +189 -0
- package/src/core/tools/mail.ts +189 -0
- package/src/servers/agency-hosting.js +1 -1
- package/src/servers/agency-hosting.ts +1 -1
- package/src/servers/all.js +1 -1
- package/src/servers/all.ts +1 -1
- package/src/servers/billing.js +1 -1
- package/src/servers/billing.ts +1 -1
- package/src/servers/dns.js +1 -1
- package/src/servers/dns.ts +1 -1
- package/src/servers/domains.js +1 -1
- package/src/servers/domains.ts +1 -1
- package/src/servers/ecommerce.js +1 -1
- package/src/servers/ecommerce.ts +1 -1
- package/src/servers/horizons.js +1 -1
- package/src/servers/horizons.ts +1 -1
- package/src/servers/hosting.js +1 -1
- package/src/servers/hosting.ts +1 -1
- package/src/servers/mail.js +1 -1
- package/src/servers/mail.ts +1 -1
- package/src/servers/reach.js +1 -1
- package/src/servers/reach.ts +1 -1
- package/src/servers/vps.js +1 -1
- package/src/servers/vps.ts +1 -1
- package/src/servers/wordpress.js +1 -1
- package/src/servers/wordpress.ts +1 -1
- package/types.d.ts +121 -0
package/README.md
CHANGED
|
@@ -49,7 +49,7 @@ pnpm update -g hostinger-api-mcp
|
|
|
49
49
|
|
|
50
50
|
This package installs the following MCP server commands:
|
|
51
51
|
|
|
52
|
-
- `hostinger-api-mcp` — unified server with every tool (
|
|
52
|
+
- `hostinger-api-mcp` — unified server with every tool (275 total)
|
|
53
53
|
- `hostinger-agency-hosting-mcp` — 27 tools for agency-hosting
|
|
54
54
|
- `hostinger-billing-mcp` — 8 tools for billing
|
|
55
55
|
- `hostinger-dns-mcp` — 8 tools for dns
|
|
@@ -57,7 +57,7 @@ This package installs the following MCP server commands:
|
|
|
57
57
|
- `hostinger-ecommerce-mcp` — 12 tools for ecommerce
|
|
58
58
|
- `hostinger-horizons-mcp` — 2 tools for horizons
|
|
59
59
|
- `hostinger-hosting-mcp` — 48 tools for hosting
|
|
60
|
-
- `hostinger-mail-mcp` —
|
|
60
|
+
- `hostinger-mail-mcp` — 38 tools for mail
|
|
61
61
|
- `hostinger-reach-mcp` — 12 tools for reach
|
|
62
62
|
- `hostinger-vps-mcp` — 62 tools for vps
|
|
63
63
|
- `hostinger-wordpress-mcp` — 35 tools for wordpress
|
|
@@ -1554,6 +1554,31 @@ complete. The response returns before the removal finishes.
|
|
|
1554
1554
|
|
|
1555
1555
|
### `hostinger-mail-mcp`
|
|
1556
1556
|
|
|
1557
|
+
#### mail_createAliasV1
|
|
1558
|
+
|
|
1559
|
+
Create an alias for the given mailbox. The alias address is formed
|
|
1560
|
+
from the given local part and the domain of the mailbox. Messages
|
|
1561
|
+
sent to the alias are delivered to the mailbox.
|
|
1562
|
+
|
|
1563
|
+
- **Method**: `POST`
|
|
1564
|
+
- **Path**: `/api/mail/v1/mailboxes/{mailboxId}/aliases`
|
|
1565
|
+
|
|
1566
|
+
#### mail_deleteAliasV1
|
|
1567
|
+
|
|
1568
|
+
Delete an alias. Messages sent to the alias address are no longer
|
|
1569
|
+
delivered to the mailbox.
|
|
1570
|
+
|
|
1571
|
+
- **Method**: `DELETE`
|
|
1572
|
+
- **Path**: `/api/mail/v1/aliases/{aliasId}`
|
|
1573
|
+
|
|
1574
|
+
#### mail_listAliasesV1
|
|
1575
|
+
|
|
1576
|
+
Retrieve a paginated list of aliases across all mailboxes of a mail
|
|
1577
|
+
order.
|
|
1578
|
+
|
|
1579
|
+
- **Method**: `GET`
|
|
1580
|
+
- **Path**: `/api/mail/v1/orders/{orderId}/aliases`
|
|
1581
|
+
|
|
1557
1582
|
#### mail_createAPITokenV1
|
|
1558
1583
|
|
|
1559
1584
|
Create an API token for the given mail order. The token grants access
|
|
@@ -1622,6 +1647,40 @@ mail order.
|
|
|
1622
1647
|
- **Method**: `GET`
|
|
1623
1648
|
- **Path**: `/api/mail/v1/orders/{orderId}/autoreplies`
|
|
1624
1649
|
|
|
1650
|
+
#### mail_createCatchAllV1
|
|
1651
|
+
|
|
1652
|
+
Create a catch-all that routes all messages sent to unknown addresses
|
|
1653
|
+
of the domain to the given mailbox. The mailbox address receives a
|
|
1654
|
+
confirmation email and the catch-all becomes active only after it is
|
|
1655
|
+
confirmed. A domain can have only one catch-all.
|
|
1656
|
+
|
|
1657
|
+
- **Method**: `POST`
|
|
1658
|
+
- **Path**: `/api/mail/v1/mailboxes/{mailboxId}/catchalls`
|
|
1659
|
+
|
|
1660
|
+
#### mail_deleteCatchAllV1
|
|
1661
|
+
|
|
1662
|
+
Delete a catch-all. Messages sent to unknown addresses of the domain
|
|
1663
|
+
are no longer routed to the mailbox.
|
|
1664
|
+
|
|
1665
|
+
- **Method**: `DELETE`
|
|
1666
|
+
- **Path**: `/api/mail/v1/catchalls/{catchallId}`
|
|
1667
|
+
|
|
1668
|
+
#### mail_listCatchAllsV1
|
|
1669
|
+
|
|
1670
|
+
Retrieve a paginated list of catch-alls across all mailboxes of a
|
|
1671
|
+
mail order.
|
|
1672
|
+
|
|
1673
|
+
- **Method**: `GET`
|
|
1674
|
+
- **Path**: `/api/mail/v1/orders/{orderId}/catchalls`
|
|
1675
|
+
|
|
1676
|
+
#### mail_resendCatchAllConfirmationV1
|
|
1677
|
+
|
|
1678
|
+
Resend the confirmation email to the mailbox address of an
|
|
1679
|
+
unconfirmed catch-all.
|
|
1680
|
+
|
|
1681
|
+
- **Method**: `POST`
|
|
1682
|
+
- **Path**: `/api/mail/v1/catchalls/{catchallId}/confirmation/resend`
|
|
1683
|
+
|
|
1625
1684
|
#### mail_createForwarderV1
|
|
1626
1685
|
|
|
1627
1686
|
Create a forwarder from the given mailbox to the destination address.
|
package/gemini-extension.json
CHANGED
package/package.json
CHANGED
package/server.json
CHANGED
|
@@ -6,12 +6,12 @@
|
|
|
6
6
|
"url": "https://github.com/hostinger/api-mcp-server",
|
|
7
7
|
"source": "github"
|
|
8
8
|
},
|
|
9
|
-
"version": "1.
|
|
9
|
+
"version": "1.23.0",
|
|
10
10
|
"packages": [
|
|
11
11
|
{
|
|
12
12
|
"registryType": "npm",
|
|
13
13
|
"identifier": "hostinger-api-mcp",
|
|
14
|
-
"version": "1.
|
|
14
|
+
"version": "1.23.0",
|
|
15
15
|
"transport": {
|
|
16
16
|
"type": "stdio"
|
|
17
17
|
},
|
package/src/core/runtime.js
CHANGED
package/src/core/runtime.ts
CHANGED
package/src/core/tools/all.js
CHANGED
|
@@ -4273,6 +4273,91 @@ export default [
|
|
|
4273
4273
|
],
|
|
4274
4274
|
"group": "hosting"
|
|
4275
4275
|
},
|
|
4276
|
+
{
|
|
4277
|
+
"name": "mail_createAliasV1",
|
|
4278
|
+
"description": "Create an alias for the given mailbox. The alias address is formed\nfrom the given local part and the domain of the mailbox. Messages\nsent to the alias are delivered to the mailbox.",
|
|
4279
|
+
"method": "POST",
|
|
4280
|
+
"path": "/api/mail/v1/mailboxes/{mailboxId}/aliases",
|
|
4281
|
+
"inputSchema": {
|
|
4282
|
+
"type": "object",
|
|
4283
|
+
"properties": {
|
|
4284
|
+
"mailboxId": {
|
|
4285
|
+
"type": "string",
|
|
4286
|
+
"description": "Mailbox resource ID"
|
|
4287
|
+
},
|
|
4288
|
+
"local_part": {
|
|
4289
|
+
"type": "string",
|
|
4290
|
+
"description": "Local part of the alias address (the part before the @). The domain is taken from the mailbox. Case-insensitive and stored lowercase; must start and end with a letter or digit; single dots, underscores and hyphens are allowed in between."
|
|
4291
|
+
}
|
|
4292
|
+
},
|
|
4293
|
+
"required": [
|
|
4294
|
+
"mailboxId",
|
|
4295
|
+
"local_part"
|
|
4296
|
+
]
|
|
4297
|
+
},
|
|
4298
|
+
"security": [
|
|
4299
|
+
{
|
|
4300
|
+
"apiToken": []
|
|
4301
|
+
}
|
|
4302
|
+
],
|
|
4303
|
+
"group": "mail"
|
|
4304
|
+
},
|
|
4305
|
+
{
|
|
4306
|
+
"name": "mail_deleteAliasV1",
|
|
4307
|
+
"description": "Delete an alias. Messages sent to the alias address are no longer\ndelivered to the mailbox.",
|
|
4308
|
+
"method": "DELETE",
|
|
4309
|
+
"path": "/api/mail/v1/aliases/{aliasId}",
|
|
4310
|
+
"inputSchema": {
|
|
4311
|
+
"type": "object",
|
|
4312
|
+
"properties": {
|
|
4313
|
+
"aliasId": {
|
|
4314
|
+
"type": "string",
|
|
4315
|
+
"description": "Alias resource ID"
|
|
4316
|
+
}
|
|
4317
|
+
},
|
|
4318
|
+
"required": [
|
|
4319
|
+
"aliasId"
|
|
4320
|
+
]
|
|
4321
|
+
},
|
|
4322
|
+
"security": [
|
|
4323
|
+
{
|
|
4324
|
+
"apiToken": []
|
|
4325
|
+
}
|
|
4326
|
+
],
|
|
4327
|
+
"group": "mail"
|
|
4328
|
+
},
|
|
4329
|
+
{
|
|
4330
|
+
"name": "mail_listAliasesV1",
|
|
4331
|
+
"description": "Retrieve a paginated list of aliases across all mailboxes of a mail\norder.",
|
|
4332
|
+
"method": "GET",
|
|
4333
|
+
"path": "/api/mail/v1/orders/{orderId}/aliases",
|
|
4334
|
+
"inputSchema": {
|
|
4335
|
+
"type": "object",
|
|
4336
|
+
"properties": {
|
|
4337
|
+
"orderId": {
|
|
4338
|
+
"type": "string",
|
|
4339
|
+
"description": "Order resource ID"
|
|
4340
|
+
},
|
|
4341
|
+
"page": {
|
|
4342
|
+
"type": "integer",
|
|
4343
|
+
"description": "Page number"
|
|
4344
|
+
},
|
|
4345
|
+
"per_page": {
|
|
4346
|
+
"type": "integer",
|
|
4347
|
+
"description": "Number of items per page"
|
|
4348
|
+
}
|
|
4349
|
+
},
|
|
4350
|
+
"required": [
|
|
4351
|
+
"orderId"
|
|
4352
|
+
]
|
|
4353
|
+
},
|
|
4354
|
+
"security": [
|
|
4355
|
+
{
|
|
4356
|
+
"apiToken": []
|
|
4357
|
+
}
|
|
4358
|
+
],
|
|
4359
|
+
"group": "mail"
|
|
4360
|
+
},
|
|
4276
4361
|
{
|
|
4277
4362
|
"name": "mail_createAPITokenV1",
|
|
4278
4363
|
"description": "Create an API token for the given mail order. The token grants access\nto the [Hostinger Email API](https://api.mail.hostinger.com/), where\nyou can provision and manage the mailboxes it is scoped to.\n\nThe plaintext token is returned only in this response, never again.\nA maximum of 10 tokens can exist per order. Use\n`scope.has_all_mailboxes` to cover all current and future mailboxes,\nor list specific mailboxes in `scope.mailbox_ids`.",
|
|
@@ -4526,6 +4611,110 @@ export default [
|
|
|
4526
4611
|
],
|
|
4527
4612
|
"group": "mail"
|
|
4528
4613
|
},
|
|
4614
|
+
{
|
|
4615
|
+
"name": "mail_createCatchAllV1",
|
|
4616
|
+
"description": "Create a catch-all that routes all messages sent to unknown addresses\nof the domain to the given mailbox. The mailbox address receives a\nconfirmation email and the catch-all becomes active only after it is\nconfirmed. A domain can have only one catch-all.",
|
|
4617
|
+
"method": "POST",
|
|
4618
|
+
"path": "/api/mail/v1/mailboxes/{mailboxId}/catchalls",
|
|
4619
|
+
"inputSchema": {
|
|
4620
|
+
"type": "object",
|
|
4621
|
+
"properties": {
|
|
4622
|
+
"mailboxId": {
|
|
4623
|
+
"type": "string",
|
|
4624
|
+
"description": "Mailbox resource ID"
|
|
4625
|
+
}
|
|
4626
|
+
},
|
|
4627
|
+
"required": [
|
|
4628
|
+
"mailboxId"
|
|
4629
|
+
]
|
|
4630
|
+
},
|
|
4631
|
+
"security": [
|
|
4632
|
+
{
|
|
4633
|
+
"apiToken": []
|
|
4634
|
+
}
|
|
4635
|
+
],
|
|
4636
|
+
"group": "mail"
|
|
4637
|
+
},
|
|
4638
|
+
{
|
|
4639
|
+
"name": "mail_deleteCatchAllV1",
|
|
4640
|
+
"description": "Delete a catch-all. Messages sent to unknown addresses of the domain\nare no longer routed to the mailbox.",
|
|
4641
|
+
"method": "DELETE",
|
|
4642
|
+
"path": "/api/mail/v1/catchalls/{catchallId}",
|
|
4643
|
+
"inputSchema": {
|
|
4644
|
+
"type": "object",
|
|
4645
|
+
"properties": {
|
|
4646
|
+
"catchallId": {
|
|
4647
|
+
"type": "string",
|
|
4648
|
+
"description": "Catch-all resource ID"
|
|
4649
|
+
}
|
|
4650
|
+
},
|
|
4651
|
+
"required": [
|
|
4652
|
+
"catchallId"
|
|
4653
|
+
]
|
|
4654
|
+
},
|
|
4655
|
+
"security": [
|
|
4656
|
+
{
|
|
4657
|
+
"apiToken": []
|
|
4658
|
+
}
|
|
4659
|
+
],
|
|
4660
|
+
"group": "mail"
|
|
4661
|
+
},
|
|
4662
|
+
{
|
|
4663
|
+
"name": "mail_listCatchAllsV1",
|
|
4664
|
+
"description": "Retrieve a paginated list of catch-alls across all mailboxes of a\nmail order.",
|
|
4665
|
+
"method": "GET",
|
|
4666
|
+
"path": "/api/mail/v1/orders/{orderId}/catchalls",
|
|
4667
|
+
"inputSchema": {
|
|
4668
|
+
"type": "object",
|
|
4669
|
+
"properties": {
|
|
4670
|
+
"orderId": {
|
|
4671
|
+
"type": "string",
|
|
4672
|
+
"description": "Order resource ID"
|
|
4673
|
+
},
|
|
4674
|
+
"page": {
|
|
4675
|
+
"type": "integer",
|
|
4676
|
+
"description": "Page number"
|
|
4677
|
+
},
|
|
4678
|
+
"per_page": {
|
|
4679
|
+
"type": "integer",
|
|
4680
|
+
"description": "Number of items per page"
|
|
4681
|
+
}
|
|
4682
|
+
},
|
|
4683
|
+
"required": [
|
|
4684
|
+
"orderId"
|
|
4685
|
+
]
|
|
4686
|
+
},
|
|
4687
|
+
"security": [
|
|
4688
|
+
{
|
|
4689
|
+
"apiToken": []
|
|
4690
|
+
}
|
|
4691
|
+
],
|
|
4692
|
+
"group": "mail"
|
|
4693
|
+
},
|
|
4694
|
+
{
|
|
4695
|
+
"name": "mail_resendCatchAllConfirmationV1",
|
|
4696
|
+
"description": "Resend the confirmation email to the mailbox address of an\nunconfirmed catch-all.",
|
|
4697
|
+
"method": "POST",
|
|
4698
|
+
"path": "/api/mail/v1/catchalls/{catchallId}/confirmation/resend",
|
|
4699
|
+
"inputSchema": {
|
|
4700
|
+
"type": "object",
|
|
4701
|
+
"properties": {
|
|
4702
|
+
"catchallId": {
|
|
4703
|
+
"type": "string",
|
|
4704
|
+
"description": "Catch-all resource ID"
|
|
4705
|
+
}
|
|
4706
|
+
},
|
|
4707
|
+
"required": [
|
|
4708
|
+
"catchallId"
|
|
4709
|
+
]
|
|
4710
|
+
},
|
|
4711
|
+
"security": [
|
|
4712
|
+
{
|
|
4713
|
+
"apiToken": []
|
|
4714
|
+
}
|
|
4715
|
+
],
|
|
4716
|
+
"group": "mail"
|
|
4717
|
+
},
|
|
4529
4718
|
{
|
|
4530
4719
|
"name": "mail_createForwarderV1",
|
|
4531
4720
|
"description": "Create a forwarder from the given mailbox to the destination address.\nThe destination receives a confirmation email and forwarding becomes\nactive only after it is confirmed.",
|
package/src/core/tools/all.ts
CHANGED
|
@@ -4287,6 +4287,91 @@ const tools: OpenApiTool[] = [
|
|
|
4287
4287
|
],
|
|
4288
4288
|
"group": "hosting"
|
|
4289
4289
|
},
|
|
4290
|
+
{
|
|
4291
|
+
"name": "mail_createAliasV1",
|
|
4292
|
+
"description": "Create an alias for the given mailbox. The alias address is formed\nfrom the given local part and the domain of the mailbox. Messages\nsent to the alias are delivered to the mailbox.",
|
|
4293
|
+
"method": "POST",
|
|
4294
|
+
"path": "/api/mail/v1/mailboxes/{mailboxId}/aliases",
|
|
4295
|
+
"inputSchema": {
|
|
4296
|
+
"type": "object",
|
|
4297
|
+
"properties": {
|
|
4298
|
+
"mailboxId": {
|
|
4299
|
+
"type": "string",
|
|
4300
|
+
"description": "Mailbox resource ID"
|
|
4301
|
+
},
|
|
4302
|
+
"local_part": {
|
|
4303
|
+
"type": "string",
|
|
4304
|
+
"description": "Local part of the alias address (the part before the @). The domain is taken from the mailbox. Case-insensitive and stored lowercase; must start and end with a letter or digit; single dots, underscores and hyphens are allowed in between."
|
|
4305
|
+
}
|
|
4306
|
+
},
|
|
4307
|
+
"required": [
|
|
4308
|
+
"mailboxId",
|
|
4309
|
+
"local_part"
|
|
4310
|
+
]
|
|
4311
|
+
},
|
|
4312
|
+
"security": [
|
|
4313
|
+
{
|
|
4314
|
+
"apiToken": []
|
|
4315
|
+
}
|
|
4316
|
+
],
|
|
4317
|
+
"group": "mail"
|
|
4318
|
+
},
|
|
4319
|
+
{
|
|
4320
|
+
"name": "mail_deleteAliasV1",
|
|
4321
|
+
"description": "Delete an alias. Messages sent to the alias address are no longer\ndelivered to the mailbox.",
|
|
4322
|
+
"method": "DELETE",
|
|
4323
|
+
"path": "/api/mail/v1/aliases/{aliasId}",
|
|
4324
|
+
"inputSchema": {
|
|
4325
|
+
"type": "object",
|
|
4326
|
+
"properties": {
|
|
4327
|
+
"aliasId": {
|
|
4328
|
+
"type": "string",
|
|
4329
|
+
"description": "Alias resource ID"
|
|
4330
|
+
}
|
|
4331
|
+
},
|
|
4332
|
+
"required": [
|
|
4333
|
+
"aliasId"
|
|
4334
|
+
]
|
|
4335
|
+
},
|
|
4336
|
+
"security": [
|
|
4337
|
+
{
|
|
4338
|
+
"apiToken": []
|
|
4339
|
+
}
|
|
4340
|
+
],
|
|
4341
|
+
"group": "mail"
|
|
4342
|
+
},
|
|
4343
|
+
{
|
|
4344
|
+
"name": "mail_listAliasesV1",
|
|
4345
|
+
"description": "Retrieve a paginated list of aliases across all mailboxes of a mail\norder.",
|
|
4346
|
+
"method": "GET",
|
|
4347
|
+
"path": "/api/mail/v1/orders/{orderId}/aliases",
|
|
4348
|
+
"inputSchema": {
|
|
4349
|
+
"type": "object",
|
|
4350
|
+
"properties": {
|
|
4351
|
+
"orderId": {
|
|
4352
|
+
"type": "string",
|
|
4353
|
+
"description": "Order resource ID"
|
|
4354
|
+
},
|
|
4355
|
+
"page": {
|
|
4356
|
+
"type": "integer",
|
|
4357
|
+
"description": "Page number"
|
|
4358
|
+
},
|
|
4359
|
+
"per_page": {
|
|
4360
|
+
"type": "integer",
|
|
4361
|
+
"description": "Number of items per page"
|
|
4362
|
+
}
|
|
4363
|
+
},
|
|
4364
|
+
"required": [
|
|
4365
|
+
"orderId"
|
|
4366
|
+
]
|
|
4367
|
+
},
|
|
4368
|
+
"security": [
|
|
4369
|
+
{
|
|
4370
|
+
"apiToken": []
|
|
4371
|
+
}
|
|
4372
|
+
],
|
|
4373
|
+
"group": "mail"
|
|
4374
|
+
},
|
|
4290
4375
|
{
|
|
4291
4376
|
"name": "mail_createAPITokenV1",
|
|
4292
4377
|
"description": "Create an API token for the given mail order. The token grants access\nto the [Hostinger Email API](https://api.mail.hostinger.com/), where\nyou can provision and manage the mailboxes it is scoped to.\n\nThe plaintext token is returned only in this response, never again.\nA maximum of 10 tokens can exist per order. Use\n`scope.has_all_mailboxes` to cover all current and future mailboxes,\nor list specific mailboxes in `scope.mailbox_ids`.",
|
|
@@ -4540,6 +4625,110 @@ const tools: OpenApiTool[] = [
|
|
|
4540
4625
|
],
|
|
4541
4626
|
"group": "mail"
|
|
4542
4627
|
},
|
|
4628
|
+
{
|
|
4629
|
+
"name": "mail_createCatchAllV1",
|
|
4630
|
+
"description": "Create a catch-all that routes all messages sent to unknown addresses\nof the domain to the given mailbox. The mailbox address receives a\nconfirmation email and the catch-all becomes active only after it is\nconfirmed. A domain can have only one catch-all.",
|
|
4631
|
+
"method": "POST",
|
|
4632
|
+
"path": "/api/mail/v1/mailboxes/{mailboxId}/catchalls",
|
|
4633
|
+
"inputSchema": {
|
|
4634
|
+
"type": "object",
|
|
4635
|
+
"properties": {
|
|
4636
|
+
"mailboxId": {
|
|
4637
|
+
"type": "string",
|
|
4638
|
+
"description": "Mailbox resource ID"
|
|
4639
|
+
}
|
|
4640
|
+
},
|
|
4641
|
+
"required": [
|
|
4642
|
+
"mailboxId"
|
|
4643
|
+
]
|
|
4644
|
+
},
|
|
4645
|
+
"security": [
|
|
4646
|
+
{
|
|
4647
|
+
"apiToken": []
|
|
4648
|
+
}
|
|
4649
|
+
],
|
|
4650
|
+
"group": "mail"
|
|
4651
|
+
},
|
|
4652
|
+
{
|
|
4653
|
+
"name": "mail_deleteCatchAllV1",
|
|
4654
|
+
"description": "Delete a catch-all. Messages sent to unknown addresses of the domain\nare no longer routed to the mailbox.",
|
|
4655
|
+
"method": "DELETE",
|
|
4656
|
+
"path": "/api/mail/v1/catchalls/{catchallId}",
|
|
4657
|
+
"inputSchema": {
|
|
4658
|
+
"type": "object",
|
|
4659
|
+
"properties": {
|
|
4660
|
+
"catchallId": {
|
|
4661
|
+
"type": "string",
|
|
4662
|
+
"description": "Catch-all resource ID"
|
|
4663
|
+
}
|
|
4664
|
+
},
|
|
4665
|
+
"required": [
|
|
4666
|
+
"catchallId"
|
|
4667
|
+
]
|
|
4668
|
+
},
|
|
4669
|
+
"security": [
|
|
4670
|
+
{
|
|
4671
|
+
"apiToken": []
|
|
4672
|
+
}
|
|
4673
|
+
],
|
|
4674
|
+
"group": "mail"
|
|
4675
|
+
},
|
|
4676
|
+
{
|
|
4677
|
+
"name": "mail_listCatchAllsV1",
|
|
4678
|
+
"description": "Retrieve a paginated list of catch-alls across all mailboxes of a\nmail order.",
|
|
4679
|
+
"method": "GET",
|
|
4680
|
+
"path": "/api/mail/v1/orders/{orderId}/catchalls",
|
|
4681
|
+
"inputSchema": {
|
|
4682
|
+
"type": "object",
|
|
4683
|
+
"properties": {
|
|
4684
|
+
"orderId": {
|
|
4685
|
+
"type": "string",
|
|
4686
|
+
"description": "Order resource ID"
|
|
4687
|
+
},
|
|
4688
|
+
"page": {
|
|
4689
|
+
"type": "integer",
|
|
4690
|
+
"description": "Page number"
|
|
4691
|
+
},
|
|
4692
|
+
"per_page": {
|
|
4693
|
+
"type": "integer",
|
|
4694
|
+
"description": "Number of items per page"
|
|
4695
|
+
}
|
|
4696
|
+
},
|
|
4697
|
+
"required": [
|
|
4698
|
+
"orderId"
|
|
4699
|
+
]
|
|
4700
|
+
},
|
|
4701
|
+
"security": [
|
|
4702
|
+
{
|
|
4703
|
+
"apiToken": []
|
|
4704
|
+
}
|
|
4705
|
+
],
|
|
4706
|
+
"group": "mail"
|
|
4707
|
+
},
|
|
4708
|
+
{
|
|
4709
|
+
"name": "mail_resendCatchAllConfirmationV1",
|
|
4710
|
+
"description": "Resend the confirmation email to the mailbox address of an\nunconfirmed catch-all.",
|
|
4711
|
+
"method": "POST",
|
|
4712
|
+
"path": "/api/mail/v1/catchalls/{catchallId}/confirmation/resend",
|
|
4713
|
+
"inputSchema": {
|
|
4714
|
+
"type": "object",
|
|
4715
|
+
"properties": {
|
|
4716
|
+
"catchallId": {
|
|
4717
|
+
"type": "string",
|
|
4718
|
+
"description": "Catch-all resource ID"
|
|
4719
|
+
}
|
|
4720
|
+
},
|
|
4721
|
+
"required": [
|
|
4722
|
+
"catchallId"
|
|
4723
|
+
]
|
|
4724
|
+
},
|
|
4725
|
+
"security": [
|
|
4726
|
+
{
|
|
4727
|
+
"apiToken": []
|
|
4728
|
+
}
|
|
4729
|
+
],
|
|
4730
|
+
"group": "mail"
|
|
4731
|
+
},
|
|
4543
4732
|
{
|
|
4544
4733
|
"name": "mail_createForwarderV1",
|
|
4545
4734
|
"description": "Create a forwarder from the given mailbox to the destination address.\nThe destination receives a confirmation email and forwarding becomes\nactive only after it is confirmed.",
|
package/src/core/tools/mail.js
CHANGED
|
@@ -1,5 +1,90 @@
|
|
|
1
1
|
// Auto-generated tool list for group: mail
|
|
2
2
|
export default [
|
|
3
|
+
{
|
|
4
|
+
"name": "mail_createAliasV1",
|
|
5
|
+
"description": "Create an alias for the given mailbox. The alias address is formed\nfrom the given local part and the domain of the mailbox. Messages\nsent to the alias are delivered to the mailbox.",
|
|
6
|
+
"method": "POST",
|
|
7
|
+
"path": "/api/mail/v1/mailboxes/{mailboxId}/aliases",
|
|
8
|
+
"inputSchema": {
|
|
9
|
+
"type": "object",
|
|
10
|
+
"properties": {
|
|
11
|
+
"mailboxId": {
|
|
12
|
+
"type": "string",
|
|
13
|
+
"description": "Mailbox resource ID"
|
|
14
|
+
},
|
|
15
|
+
"local_part": {
|
|
16
|
+
"type": "string",
|
|
17
|
+
"description": "Local part of the alias address (the part before the @). The domain is taken from the mailbox. Case-insensitive and stored lowercase; must start and end with a letter or digit; single dots, underscores and hyphens are allowed in between."
|
|
18
|
+
}
|
|
19
|
+
},
|
|
20
|
+
"required": [
|
|
21
|
+
"mailboxId",
|
|
22
|
+
"local_part"
|
|
23
|
+
]
|
|
24
|
+
},
|
|
25
|
+
"security": [
|
|
26
|
+
{
|
|
27
|
+
"apiToken": []
|
|
28
|
+
}
|
|
29
|
+
],
|
|
30
|
+
"group": "mail"
|
|
31
|
+
},
|
|
32
|
+
{
|
|
33
|
+
"name": "mail_deleteAliasV1",
|
|
34
|
+
"description": "Delete an alias. Messages sent to the alias address are no longer\ndelivered to the mailbox.",
|
|
35
|
+
"method": "DELETE",
|
|
36
|
+
"path": "/api/mail/v1/aliases/{aliasId}",
|
|
37
|
+
"inputSchema": {
|
|
38
|
+
"type": "object",
|
|
39
|
+
"properties": {
|
|
40
|
+
"aliasId": {
|
|
41
|
+
"type": "string",
|
|
42
|
+
"description": "Alias resource ID"
|
|
43
|
+
}
|
|
44
|
+
},
|
|
45
|
+
"required": [
|
|
46
|
+
"aliasId"
|
|
47
|
+
]
|
|
48
|
+
},
|
|
49
|
+
"security": [
|
|
50
|
+
{
|
|
51
|
+
"apiToken": []
|
|
52
|
+
}
|
|
53
|
+
],
|
|
54
|
+
"group": "mail"
|
|
55
|
+
},
|
|
56
|
+
{
|
|
57
|
+
"name": "mail_listAliasesV1",
|
|
58
|
+
"description": "Retrieve a paginated list of aliases across all mailboxes of a mail\norder.",
|
|
59
|
+
"method": "GET",
|
|
60
|
+
"path": "/api/mail/v1/orders/{orderId}/aliases",
|
|
61
|
+
"inputSchema": {
|
|
62
|
+
"type": "object",
|
|
63
|
+
"properties": {
|
|
64
|
+
"orderId": {
|
|
65
|
+
"type": "string",
|
|
66
|
+
"description": "Order resource ID"
|
|
67
|
+
},
|
|
68
|
+
"page": {
|
|
69
|
+
"type": "integer",
|
|
70
|
+
"description": "Page number"
|
|
71
|
+
},
|
|
72
|
+
"per_page": {
|
|
73
|
+
"type": "integer",
|
|
74
|
+
"description": "Number of items per page"
|
|
75
|
+
}
|
|
76
|
+
},
|
|
77
|
+
"required": [
|
|
78
|
+
"orderId"
|
|
79
|
+
]
|
|
80
|
+
},
|
|
81
|
+
"security": [
|
|
82
|
+
{
|
|
83
|
+
"apiToken": []
|
|
84
|
+
}
|
|
85
|
+
],
|
|
86
|
+
"group": "mail"
|
|
87
|
+
},
|
|
3
88
|
{
|
|
4
89
|
"name": "mail_createAPITokenV1",
|
|
5
90
|
"description": "Create an API token for the given mail order. The token grants access\nto the [Hostinger Email API](https://api.mail.hostinger.com/), where\nyou can provision and manage the mailboxes it is scoped to.\n\nThe plaintext token is returned only in this response, never again.\nA maximum of 10 tokens can exist per order. Use\n`scope.has_all_mailboxes` to cover all current and future mailboxes,\nor list specific mailboxes in `scope.mailbox_ids`.",
|
|
@@ -253,6 +338,110 @@ export default [
|
|
|
253
338
|
],
|
|
254
339
|
"group": "mail"
|
|
255
340
|
},
|
|
341
|
+
{
|
|
342
|
+
"name": "mail_createCatchAllV1",
|
|
343
|
+
"description": "Create a catch-all that routes all messages sent to unknown addresses\nof the domain to the given mailbox. The mailbox address receives a\nconfirmation email and the catch-all becomes active only after it is\nconfirmed. A domain can have only one catch-all.",
|
|
344
|
+
"method": "POST",
|
|
345
|
+
"path": "/api/mail/v1/mailboxes/{mailboxId}/catchalls",
|
|
346
|
+
"inputSchema": {
|
|
347
|
+
"type": "object",
|
|
348
|
+
"properties": {
|
|
349
|
+
"mailboxId": {
|
|
350
|
+
"type": "string",
|
|
351
|
+
"description": "Mailbox resource ID"
|
|
352
|
+
}
|
|
353
|
+
},
|
|
354
|
+
"required": [
|
|
355
|
+
"mailboxId"
|
|
356
|
+
]
|
|
357
|
+
},
|
|
358
|
+
"security": [
|
|
359
|
+
{
|
|
360
|
+
"apiToken": []
|
|
361
|
+
}
|
|
362
|
+
],
|
|
363
|
+
"group": "mail"
|
|
364
|
+
},
|
|
365
|
+
{
|
|
366
|
+
"name": "mail_deleteCatchAllV1",
|
|
367
|
+
"description": "Delete a catch-all. Messages sent to unknown addresses of the domain\nare no longer routed to the mailbox.",
|
|
368
|
+
"method": "DELETE",
|
|
369
|
+
"path": "/api/mail/v1/catchalls/{catchallId}",
|
|
370
|
+
"inputSchema": {
|
|
371
|
+
"type": "object",
|
|
372
|
+
"properties": {
|
|
373
|
+
"catchallId": {
|
|
374
|
+
"type": "string",
|
|
375
|
+
"description": "Catch-all resource ID"
|
|
376
|
+
}
|
|
377
|
+
},
|
|
378
|
+
"required": [
|
|
379
|
+
"catchallId"
|
|
380
|
+
]
|
|
381
|
+
},
|
|
382
|
+
"security": [
|
|
383
|
+
{
|
|
384
|
+
"apiToken": []
|
|
385
|
+
}
|
|
386
|
+
],
|
|
387
|
+
"group": "mail"
|
|
388
|
+
},
|
|
389
|
+
{
|
|
390
|
+
"name": "mail_listCatchAllsV1",
|
|
391
|
+
"description": "Retrieve a paginated list of catch-alls across all mailboxes of a\nmail order.",
|
|
392
|
+
"method": "GET",
|
|
393
|
+
"path": "/api/mail/v1/orders/{orderId}/catchalls",
|
|
394
|
+
"inputSchema": {
|
|
395
|
+
"type": "object",
|
|
396
|
+
"properties": {
|
|
397
|
+
"orderId": {
|
|
398
|
+
"type": "string",
|
|
399
|
+
"description": "Order resource ID"
|
|
400
|
+
},
|
|
401
|
+
"page": {
|
|
402
|
+
"type": "integer",
|
|
403
|
+
"description": "Page number"
|
|
404
|
+
},
|
|
405
|
+
"per_page": {
|
|
406
|
+
"type": "integer",
|
|
407
|
+
"description": "Number of items per page"
|
|
408
|
+
}
|
|
409
|
+
},
|
|
410
|
+
"required": [
|
|
411
|
+
"orderId"
|
|
412
|
+
]
|
|
413
|
+
},
|
|
414
|
+
"security": [
|
|
415
|
+
{
|
|
416
|
+
"apiToken": []
|
|
417
|
+
}
|
|
418
|
+
],
|
|
419
|
+
"group": "mail"
|
|
420
|
+
},
|
|
421
|
+
{
|
|
422
|
+
"name": "mail_resendCatchAllConfirmationV1",
|
|
423
|
+
"description": "Resend the confirmation email to the mailbox address of an\nunconfirmed catch-all.",
|
|
424
|
+
"method": "POST",
|
|
425
|
+
"path": "/api/mail/v1/catchalls/{catchallId}/confirmation/resend",
|
|
426
|
+
"inputSchema": {
|
|
427
|
+
"type": "object",
|
|
428
|
+
"properties": {
|
|
429
|
+
"catchallId": {
|
|
430
|
+
"type": "string",
|
|
431
|
+
"description": "Catch-all resource ID"
|
|
432
|
+
}
|
|
433
|
+
},
|
|
434
|
+
"required": [
|
|
435
|
+
"catchallId"
|
|
436
|
+
]
|
|
437
|
+
},
|
|
438
|
+
"security": [
|
|
439
|
+
{
|
|
440
|
+
"apiToken": []
|
|
441
|
+
}
|
|
442
|
+
],
|
|
443
|
+
"group": "mail"
|
|
444
|
+
},
|
|
256
445
|
{
|
|
257
446
|
"name": "mail_createForwarderV1",
|
|
258
447
|
"description": "Create a forwarder from the given mailbox to the destination address.\nThe destination receives a confirmation email and forwarding becomes\nactive only after it is confirmed.",
|
package/src/core/tools/mail.ts
CHANGED
|
@@ -14,6 +14,91 @@ export interface OpenApiTool extends Tool {
|
|
|
14
14
|
}
|
|
15
15
|
|
|
16
16
|
const tools: OpenApiTool[] = [
|
|
17
|
+
{
|
|
18
|
+
"name": "mail_createAliasV1",
|
|
19
|
+
"description": "Create an alias for the given mailbox. The alias address is formed\nfrom the given local part and the domain of the mailbox. Messages\nsent to the alias are delivered to the mailbox.",
|
|
20
|
+
"method": "POST",
|
|
21
|
+
"path": "/api/mail/v1/mailboxes/{mailboxId}/aliases",
|
|
22
|
+
"inputSchema": {
|
|
23
|
+
"type": "object",
|
|
24
|
+
"properties": {
|
|
25
|
+
"mailboxId": {
|
|
26
|
+
"type": "string",
|
|
27
|
+
"description": "Mailbox resource ID"
|
|
28
|
+
},
|
|
29
|
+
"local_part": {
|
|
30
|
+
"type": "string",
|
|
31
|
+
"description": "Local part of the alias address (the part before the @). The domain is taken from the mailbox. Case-insensitive and stored lowercase; must start and end with a letter or digit; single dots, underscores and hyphens are allowed in between."
|
|
32
|
+
}
|
|
33
|
+
},
|
|
34
|
+
"required": [
|
|
35
|
+
"mailboxId",
|
|
36
|
+
"local_part"
|
|
37
|
+
]
|
|
38
|
+
},
|
|
39
|
+
"security": [
|
|
40
|
+
{
|
|
41
|
+
"apiToken": []
|
|
42
|
+
}
|
|
43
|
+
],
|
|
44
|
+
"group": "mail"
|
|
45
|
+
},
|
|
46
|
+
{
|
|
47
|
+
"name": "mail_deleteAliasV1",
|
|
48
|
+
"description": "Delete an alias. Messages sent to the alias address are no longer\ndelivered to the mailbox.",
|
|
49
|
+
"method": "DELETE",
|
|
50
|
+
"path": "/api/mail/v1/aliases/{aliasId}",
|
|
51
|
+
"inputSchema": {
|
|
52
|
+
"type": "object",
|
|
53
|
+
"properties": {
|
|
54
|
+
"aliasId": {
|
|
55
|
+
"type": "string",
|
|
56
|
+
"description": "Alias resource ID"
|
|
57
|
+
}
|
|
58
|
+
},
|
|
59
|
+
"required": [
|
|
60
|
+
"aliasId"
|
|
61
|
+
]
|
|
62
|
+
},
|
|
63
|
+
"security": [
|
|
64
|
+
{
|
|
65
|
+
"apiToken": []
|
|
66
|
+
}
|
|
67
|
+
],
|
|
68
|
+
"group": "mail"
|
|
69
|
+
},
|
|
70
|
+
{
|
|
71
|
+
"name": "mail_listAliasesV1",
|
|
72
|
+
"description": "Retrieve a paginated list of aliases across all mailboxes of a mail\norder.",
|
|
73
|
+
"method": "GET",
|
|
74
|
+
"path": "/api/mail/v1/orders/{orderId}/aliases",
|
|
75
|
+
"inputSchema": {
|
|
76
|
+
"type": "object",
|
|
77
|
+
"properties": {
|
|
78
|
+
"orderId": {
|
|
79
|
+
"type": "string",
|
|
80
|
+
"description": "Order resource ID"
|
|
81
|
+
},
|
|
82
|
+
"page": {
|
|
83
|
+
"type": "integer",
|
|
84
|
+
"description": "Page number"
|
|
85
|
+
},
|
|
86
|
+
"per_page": {
|
|
87
|
+
"type": "integer",
|
|
88
|
+
"description": "Number of items per page"
|
|
89
|
+
}
|
|
90
|
+
},
|
|
91
|
+
"required": [
|
|
92
|
+
"orderId"
|
|
93
|
+
]
|
|
94
|
+
},
|
|
95
|
+
"security": [
|
|
96
|
+
{
|
|
97
|
+
"apiToken": []
|
|
98
|
+
}
|
|
99
|
+
],
|
|
100
|
+
"group": "mail"
|
|
101
|
+
},
|
|
17
102
|
{
|
|
18
103
|
"name": "mail_createAPITokenV1",
|
|
19
104
|
"description": "Create an API token for the given mail order. The token grants access\nto the [Hostinger Email API](https://api.mail.hostinger.com/), where\nyou can provision and manage the mailboxes it is scoped to.\n\nThe plaintext token is returned only in this response, never again.\nA maximum of 10 tokens can exist per order. Use\n`scope.has_all_mailboxes` to cover all current and future mailboxes,\nor list specific mailboxes in `scope.mailbox_ids`.",
|
|
@@ -267,6 +352,110 @@ const tools: OpenApiTool[] = [
|
|
|
267
352
|
],
|
|
268
353
|
"group": "mail"
|
|
269
354
|
},
|
|
355
|
+
{
|
|
356
|
+
"name": "mail_createCatchAllV1",
|
|
357
|
+
"description": "Create a catch-all that routes all messages sent to unknown addresses\nof the domain to the given mailbox. The mailbox address receives a\nconfirmation email and the catch-all becomes active only after it is\nconfirmed. A domain can have only one catch-all.",
|
|
358
|
+
"method": "POST",
|
|
359
|
+
"path": "/api/mail/v1/mailboxes/{mailboxId}/catchalls",
|
|
360
|
+
"inputSchema": {
|
|
361
|
+
"type": "object",
|
|
362
|
+
"properties": {
|
|
363
|
+
"mailboxId": {
|
|
364
|
+
"type": "string",
|
|
365
|
+
"description": "Mailbox resource ID"
|
|
366
|
+
}
|
|
367
|
+
},
|
|
368
|
+
"required": [
|
|
369
|
+
"mailboxId"
|
|
370
|
+
]
|
|
371
|
+
},
|
|
372
|
+
"security": [
|
|
373
|
+
{
|
|
374
|
+
"apiToken": []
|
|
375
|
+
}
|
|
376
|
+
],
|
|
377
|
+
"group": "mail"
|
|
378
|
+
},
|
|
379
|
+
{
|
|
380
|
+
"name": "mail_deleteCatchAllV1",
|
|
381
|
+
"description": "Delete a catch-all. Messages sent to unknown addresses of the domain\nare no longer routed to the mailbox.",
|
|
382
|
+
"method": "DELETE",
|
|
383
|
+
"path": "/api/mail/v1/catchalls/{catchallId}",
|
|
384
|
+
"inputSchema": {
|
|
385
|
+
"type": "object",
|
|
386
|
+
"properties": {
|
|
387
|
+
"catchallId": {
|
|
388
|
+
"type": "string",
|
|
389
|
+
"description": "Catch-all resource ID"
|
|
390
|
+
}
|
|
391
|
+
},
|
|
392
|
+
"required": [
|
|
393
|
+
"catchallId"
|
|
394
|
+
]
|
|
395
|
+
},
|
|
396
|
+
"security": [
|
|
397
|
+
{
|
|
398
|
+
"apiToken": []
|
|
399
|
+
}
|
|
400
|
+
],
|
|
401
|
+
"group": "mail"
|
|
402
|
+
},
|
|
403
|
+
{
|
|
404
|
+
"name": "mail_listCatchAllsV1",
|
|
405
|
+
"description": "Retrieve a paginated list of catch-alls across all mailboxes of a\nmail order.",
|
|
406
|
+
"method": "GET",
|
|
407
|
+
"path": "/api/mail/v1/orders/{orderId}/catchalls",
|
|
408
|
+
"inputSchema": {
|
|
409
|
+
"type": "object",
|
|
410
|
+
"properties": {
|
|
411
|
+
"orderId": {
|
|
412
|
+
"type": "string",
|
|
413
|
+
"description": "Order resource ID"
|
|
414
|
+
},
|
|
415
|
+
"page": {
|
|
416
|
+
"type": "integer",
|
|
417
|
+
"description": "Page number"
|
|
418
|
+
},
|
|
419
|
+
"per_page": {
|
|
420
|
+
"type": "integer",
|
|
421
|
+
"description": "Number of items per page"
|
|
422
|
+
}
|
|
423
|
+
},
|
|
424
|
+
"required": [
|
|
425
|
+
"orderId"
|
|
426
|
+
]
|
|
427
|
+
},
|
|
428
|
+
"security": [
|
|
429
|
+
{
|
|
430
|
+
"apiToken": []
|
|
431
|
+
}
|
|
432
|
+
],
|
|
433
|
+
"group": "mail"
|
|
434
|
+
},
|
|
435
|
+
{
|
|
436
|
+
"name": "mail_resendCatchAllConfirmationV1",
|
|
437
|
+
"description": "Resend the confirmation email to the mailbox address of an\nunconfirmed catch-all.",
|
|
438
|
+
"method": "POST",
|
|
439
|
+
"path": "/api/mail/v1/catchalls/{catchallId}/confirmation/resend",
|
|
440
|
+
"inputSchema": {
|
|
441
|
+
"type": "object",
|
|
442
|
+
"properties": {
|
|
443
|
+
"catchallId": {
|
|
444
|
+
"type": "string",
|
|
445
|
+
"description": "Catch-all resource ID"
|
|
446
|
+
}
|
|
447
|
+
},
|
|
448
|
+
"required": [
|
|
449
|
+
"catchallId"
|
|
450
|
+
]
|
|
451
|
+
},
|
|
452
|
+
"security": [
|
|
453
|
+
{
|
|
454
|
+
"apiToken": []
|
|
455
|
+
}
|
|
456
|
+
],
|
|
457
|
+
"group": "mail"
|
|
458
|
+
},
|
|
270
459
|
{
|
|
271
460
|
"name": "mail_createForwarderV1",
|
|
272
461
|
"description": "Create a forwarder from the given mailbox to the destination address.\nThe destination receives a confirmation email and forwarding becomes\nactive only after it is confirmed.",
|
|
@@ -3,4 +3,4 @@
|
|
|
3
3
|
import { startServer } from '../core/runtime.js';
|
|
4
4
|
import tools from '../core/tools/agency-hosting.js';
|
|
5
5
|
|
|
6
|
-
startServer({ name: 'hostinger-agency-hosting-mcp', version: '1.
|
|
6
|
+
startServer({ name: 'hostinger-agency-hosting-mcp', version: '1.23.0', tools });
|
|
@@ -3,4 +3,4 @@
|
|
|
3
3
|
import { startServer } from '../core/runtime.js';
|
|
4
4
|
import tools from '../core/tools/agency-hosting.js';
|
|
5
5
|
|
|
6
|
-
startServer({ name: 'hostinger-agency-hosting-mcp', version: '1.
|
|
6
|
+
startServer({ name: 'hostinger-agency-hosting-mcp', version: '1.23.0', tools });
|
package/src/servers/all.js
CHANGED
package/src/servers/all.ts
CHANGED
package/src/servers/billing.js
CHANGED
package/src/servers/billing.ts
CHANGED
package/src/servers/dns.js
CHANGED
package/src/servers/dns.ts
CHANGED
package/src/servers/domains.js
CHANGED
package/src/servers/domains.ts
CHANGED
package/src/servers/ecommerce.js
CHANGED
package/src/servers/ecommerce.ts
CHANGED
package/src/servers/horizons.js
CHANGED
package/src/servers/horizons.ts
CHANGED
package/src/servers/hosting.js
CHANGED
package/src/servers/hosting.ts
CHANGED
package/src/servers/mail.js
CHANGED
package/src/servers/mail.ts
CHANGED
package/src/servers/reach.js
CHANGED
package/src/servers/reach.ts
CHANGED
package/src/servers/vps.js
CHANGED
package/src/servers/vps.ts
CHANGED
package/src/servers/wordpress.js
CHANGED
package/src/servers/wordpress.ts
CHANGED
package/types.d.ts
CHANGED
|
@@ -2858,6 +2858,61 @@ complete. The response returns before the removal finishes.
|
|
|
2858
2858
|
response: any; // Response structure will depend on the API
|
|
2859
2859
|
};
|
|
2860
2860
|
|
|
2861
|
+
/**
|
|
2862
|
+
* Create an alias for the given mailbox. The alias address is formed
|
|
2863
|
+
from the given local part and the domain of the mailbox. Messages
|
|
2864
|
+
sent to the alias are delivered to the mailbox.
|
|
2865
|
+
*/
|
|
2866
|
+
"mail_createAliasV1": {
|
|
2867
|
+
params: {
|
|
2868
|
+
/**
|
|
2869
|
+
* Mailbox resource ID
|
|
2870
|
+
*/
|
|
2871
|
+
mailboxId: string;
|
|
2872
|
+
/**
|
|
2873
|
+
* Local part of the alias address (the part before the @). The domain is taken from the mailbox. Case-insensitive and stored lowercase; must start and end with a letter or digit; single dots, underscores and hyphens are allowed in between.
|
|
2874
|
+
*/
|
|
2875
|
+
local_part: string;
|
|
2876
|
+
};
|
|
2877
|
+
response: any; // Response structure will depend on the API
|
|
2878
|
+
};
|
|
2879
|
+
|
|
2880
|
+
/**
|
|
2881
|
+
* Delete an alias. Messages sent to the alias address are no longer
|
|
2882
|
+
delivered to the mailbox.
|
|
2883
|
+
*/
|
|
2884
|
+
"mail_deleteAliasV1": {
|
|
2885
|
+
params: {
|
|
2886
|
+
/**
|
|
2887
|
+
* Alias resource ID
|
|
2888
|
+
*/
|
|
2889
|
+
aliasId: string;
|
|
2890
|
+
};
|
|
2891
|
+
response: any; // Response structure will depend on the API
|
|
2892
|
+
};
|
|
2893
|
+
|
|
2894
|
+
/**
|
|
2895
|
+
* Retrieve a paginated list of aliases across all mailboxes of a mail
|
|
2896
|
+
order.
|
|
2897
|
+
*/
|
|
2898
|
+
"mail_listAliasesV1": {
|
|
2899
|
+
params: {
|
|
2900
|
+
/**
|
|
2901
|
+
* Order resource ID
|
|
2902
|
+
*/
|
|
2903
|
+
orderId: string;
|
|
2904
|
+
/**
|
|
2905
|
+
* Page number
|
|
2906
|
+
*/
|
|
2907
|
+
page?: number;
|
|
2908
|
+
/**
|
|
2909
|
+
* Number of items per page
|
|
2910
|
+
*/
|
|
2911
|
+
per_page?: number;
|
|
2912
|
+
};
|
|
2913
|
+
response: any; // Response structure will depend on the API
|
|
2914
|
+
};
|
|
2915
|
+
|
|
2861
2916
|
/**
|
|
2862
2917
|
* Create an API token for the given mail order. The token grants access
|
|
2863
2918
|
to the [Hostinger Email API](https://api.mail.hostinger.com/), where
|
|
@@ -3032,6 +3087,72 @@ mail order.
|
|
|
3032
3087
|
response: any; // Response structure will depend on the API
|
|
3033
3088
|
};
|
|
3034
3089
|
|
|
3090
|
+
/**
|
|
3091
|
+
* Create a catch-all that routes all messages sent to unknown addresses
|
|
3092
|
+
of the domain to the given mailbox. The mailbox address receives a
|
|
3093
|
+
confirmation email and the catch-all becomes active only after it is
|
|
3094
|
+
confirmed. A domain can have only one catch-all.
|
|
3095
|
+
*/
|
|
3096
|
+
"mail_createCatchAllV1": {
|
|
3097
|
+
params: {
|
|
3098
|
+
/**
|
|
3099
|
+
* Mailbox resource ID
|
|
3100
|
+
*/
|
|
3101
|
+
mailboxId: string;
|
|
3102
|
+
};
|
|
3103
|
+
response: any; // Response structure will depend on the API
|
|
3104
|
+
};
|
|
3105
|
+
|
|
3106
|
+
/**
|
|
3107
|
+
* Delete a catch-all. Messages sent to unknown addresses of the domain
|
|
3108
|
+
are no longer routed to the mailbox.
|
|
3109
|
+
*/
|
|
3110
|
+
"mail_deleteCatchAllV1": {
|
|
3111
|
+
params: {
|
|
3112
|
+
/**
|
|
3113
|
+
* Catch-all resource ID
|
|
3114
|
+
*/
|
|
3115
|
+
catchallId: string;
|
|
3116
|
+
};
|
|
3117
|
+
response: any; // Response structure will depend on the API
|
|
3118
|
+
};
|
|
3119
|
+
|
|
3120
|
+
/**
|
|
3121
|
+
* Retrieve a paginated list of catch-alls across all mailboxes of a
|
|
3122
|
+
mail order.
|
|
3123
|
+
*/
|
|
3124
|
+
"mail_listCatchAllsV1": {
|
|
3125
|
+
params: {
|
|
3126
|
+
/**
|
|
3127
|
+
* Order resource ID
|
|
3128
|
+
*/
|
|
3129
|
+
orderId: string;
|
|
3130
|
+
/**
|
|
3131
|
+
* Page number
|
|
3132
|
+
*/
|
|
3133
|
+
page?: number;
|
|
3134
|
+
/**
|
|
3135
|
+
* Number of items per page
|
|
3136
|
+
*/
|
|
3137
|
+
per_page?: number;
|
|
3138
|
+
};
|
|
3139
|
+
response: any; // Response structure will depend on the API
|
|
3140
|
+
};
|
|
3141
|
+
|
|
3142
|
+
/**
|
|
3143
|
+
* Resend the confirmation email to the mailbox address of an
|
|
3144
|
+
unconfirmed catch-all.
|
|
3145
|
+
*/
|
|
3146
|
+
"mail_resendCatchAllConfirmationV1": {
|
|
3147
|
+
params: {
|
|
3148
|
+
/**
|
|
3149
|
+
* Catch-all resource ID
|
|
3150
|
+
*/
|
|
3151
|
+
catchallId: string;
|
|
3152
|
+
};
|
|
3153
|
+
response: any; // Response structure will depend on the API
|
|
3154
|
+
};
|
|
3155
|
+
|
|
3035
3156
|
/**
|
|
3036
3157
|
* Create a forwarder from the given mailbox to the destination address.
|
|
3037
3158
|
The destination receives a confirmation email and forwarding becomes
|