hostinger-api-mcp 1.8.1 → 1.9.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 +24 -2
- package/gemini-extension.json +1 -1
- package/package.json +2 -1
- package/server.json +2 -2
- package/src/core/runtime.js +1 -1
- package/src/core/runtime.ts +1 -1
- package/src/core/tools/agency-hosting.js +24 -0
- package/src/core/tools/agency-hosting.ts +24 -0
- package/src/core/tools/all.js +77 -0
- package/src/core/tools/all.ts +77 -0
- package/src/core/tools/mail.js +56 -0
- package/src/core/tools/mail.ts +71 -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 +6 -0
- package/src/servers/mail.ts +6 -0
- 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 +51 -0
package/README.md
CHANGED
|
@@ -49,14 +49,15 @@ 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 (
|
|
53
|
-
- `hostinger-agency-hosting-mcp` —
|
|
52
|
+
- `hostinger-api-mcp` — unified server with every tool (224 total)
|
|
53
|
+
- `hostinger-agency-hosting-mcp` — 18 tools for agency-hosting
|
|
54
54
|
- `hostinger-billing-mcp` — 7 tools for billing
|
|
55
55
|
- `hostinger-dns-mcp` — 8 tools for dns
|
|
56
56
|
- `hostinger-domains-mcp` — 19 tools for domains
|
|
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` — 1 tools for mail
|
|
60
61
|
- `hostinger-reach-mcp` — 12 tools for reach
|
|
61
62
|
- `hostinger-vps-mcp` — 62 tools for vps
|
|
62
63
|
- `hostinger-wordpress-mcp` — 35 tools for wordpress
|
|
@@ -323,6 +324,15 @@ Website contents are overwritten by the build result, which is deployed to publi
|
|
|
323
324
|
- **Method**: `POST`
|
|
324
325
|
- **Path**: `/api/agency-hosting/v1/websites/{website_uid}/build-assets`
|
|
325
326
|
|
|
327
|
+
#### agency-hosting_clearAgencyPlanWebsiteCacheV1
|
|
328
|
+
|
|
329
|
+
Clears cache for all domains associated with an Agency Plan website, including its preview domain.
|
|
330
|
+
|
|
331
|
+
This operation clears all cache types for the website.
|
|
332
|
+
|
|
333
|
+
- **Method**: `DELETE`
|
|
334
|
+
- **Path**: `/api/agency-hosting/v1/websites/{website_uid}/cache`
|
|
335
|
+
|
|
326
336
|
#### agency-hosting_listAgencyPlanWebsiteCronJobsV1
|
|
327
337
|
|
|
328
338
|
Returns a paginated list of cron jobs configured for an Agency Plan website.
|
|
@@ -1408,6 +1418,18 @@ complete. The response returns before the removal finishes.
|
|
|
1408
1418
|
- **Method**: `DELETE`
|
|
1409
1419
|
- **Path**: `/api/hosting/v1/websites/{domain}`
|
|
1410
1420
|
|
|
1421
|
+
### `hostinger-mail-mcp`
|
|
1422
|
+
|
|
1423
|
+
#### mail_getMailOrderListV1
|
|
1424
|
+
|
|
1425
|
+
Retrieve a paginated list of mail orders associated with your account.
|
|
1426
|
+
|
|
1427
|
+
Use this endpoint to monitor your mail services, including their status,
|
|
1428
|
+
plan, attached domain, and expiration details.
|
|
1429
|
+
|
|
1430
|
+
- **Method**: `GET`
|
|
1431
|
+
- **Path**: `/api/mail/v1/orders`
|
|
1432
|
+
|
|
1411
1433
|
### `hostinger-reach-mcp`
|
|
1412
1434
|
|
|
1413
1435
|
#### reach_deleteAContactV1
|
package/gemini-extension.json
CHANGED
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "hostinger-api-mcp",
|
|
3
|
-
"version": "1.
|
|
3
|
+
"version": "1.9.0",
|
|
4
4
|
"mcpName": "io.github.hostinger/hostinger-api-mcp",
|
|
5
5
|
"description": "MCP server for Hostinger API",
|
|
6
6
|
"repository": {
|
|
@@ -26,6 +26,7 @@
|
|
|
26
26
|
"hostinger-ecommerce-mcp": "./src/servers/ecommerce.js",
|
|
27
27
|
"hostinger-horizons-mcp": "./src/servers/horizons.js",
|
|
28
28
|
"hostinger-hosting-mcp": "./src/servers/hosting.js",
|
|
29
|
+
"hostinger-mail-mcp": "./src/servers/mail.js",
|
|
29
30
|
"hostinger-reach-mcp": "./src/servers/reach.js",
|
|
30
31
|
"hostinger-vps-mcp": "./src/servers/vps.js",
|
|
31
32
|
"hostinger-wordpress-mcp": "./src/servers/wordpress.js"
|
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.9.0",
|
|
10
10
|
"packages": [
|
|
11
11
|
{
|
|
12
12
|
"registryType": "npm",
|
|
13
13
|
"identifier": "hostinger-api-mcp",
|
|
14
|
-
"version": "1.
|
|
14
|
+
"version": "1.9.0",
|
|
15
15
|
"transport": {
|
|
16
16
|
"type": "stdio"
|
|
17
17
|
},
|
package/src/core/runtime.js
CHANGED
package/src/core/runtime.ts
CHANGED
|
@@ -456,6 +456,30 @@ export default [
|
|
|
456
456
|
],
|
|
457
457
|
"group": "agency-hosting"
|
|
458
458
|
},
|
|
459
|
+
{
|
|
460
|
+
"name": "agency-hosting_clearAgencyPlanWebsiteCacheV1",
|
|
461
|
+
"description": "Clears cache for all domains associated with an Agency Plan website, including its preview domain.\n\nThis operation clears all cache types for the website.",
|
|
462
|
+
"method": "DELETE",
|
|
463
|
+
"path": "/api/agency-hosting/v1/websites/{website_uid}/cache",
|
|
464
|
+
"inputSchema": {
|
|
465
|
+
"type": "object",
|
|
466
|
+
"properties": {
|
|
467
|
+
"website_uid": {
|
|
468
|
+
"type": "string",
|
|
469
|
+
"description": "Agency Plan website UID"
|
|
470
|
+
}
|
|
471
|
+
},
|
|
472
|
+
"required": [
|
|
473
|
+
"website_uid"
|
|
474
|
+
]
|
|
475
|
+
},
|
|
476
|
+
"security": [
|
|
477
|
+
{
|
|
478
|
+
"apiToken": []
|
|
479
|
+
}
|
|
480
|
+
],
|
|
481
|
+
"group": "agency-hosting"
|
|
482
|
+
},
|
|
459
483
|
{
|
|
460
484
|
"name": "agency-hosting_listAgencyPlanWebsiteCronJobsV1",
|
|
461
485
|
"description": "Returns a paginated list of cron jobs configured for an Agency Plan website.\n\nEach entry includes the schedule expression and the command executed on that schedule.",
|
|
@@ -470,6 +470,30 @@ const tools: OpenApiTool[] = [
|
|
|
470
470
|
],
|
|
471
471
|
"group": "agency-hosting"
|
|
472
472
|
},
|
|
473
|
+
{
|
|
474
|
+
"name": "agency-hosting_clearAgencyPlanWebsiteCacheV1",
|
|
475
|
+
"description": "Clears cache for all domains associated with an Agency Plan website, including its preview domain.\n\nThis operation clears all cache types for the website.",
|
|
476
|
+
"method": "DELETE",
|
|
477
|
+
"path": "/api/agency-hosting/v1/websites/{website_uid}/cache",
|
|
478
|
+
"inputSchema": {
|
|
479
|
+
"type": "object",
|
|
480
|
+
"properties": {
|
|
481
|
+
"website_uid": {
|
|
482
|
+
"type": "string",
|
|
483
|
+
"description": "Agency Plan website UID"
|
|
484
|
+
}
|
|
485
|
+
},
|
|
486
|
+
"required": [
|
|
487
|
+
"website_uid"
|
|
488
|
+
]
|
|
489
|
+
},
|
|
490
|
+
"security": [
|
|
491
|
+
{
|
|
492
|
+
"apiToken": []
|
|
493
|
+
}
|
|
494
|
+
],
|
|
495
|
+
"group": "agency-hosting"
|
|
496
|
+
},
|
|
473
497
|
{
|
|
474
498
|
"name": "agency-hosting_listAgencyPlanWebsiteCronJobsV1",
|
|
475
499
|
"description": "Returns a paginated list of cron jobs configured for an Agency Plan website.\n\nEach entry includes the schedule expression and the command executed on that schedule.",
|
package/src/core/tools/all.js
CHANGED
|
@@ -713,6 +713,30 @@ export default [
|
|
|
713
713
|
],
|
|
714
714
|
"group": "agency-hosting"
|
|
715
715
|
},
|
|
716
|
+
{
|
|
717
|
+
"name": "agency-hosting_clearAgencyPlanWebsiteCacheV1",
|
|
718
|
+
"description": "Clears cache for all domains associated with an Agency Plan website, including its preview domain.\n\nThis operation clears all cache types for the website.",
|
|
719
|
+
"method": "DELETE",
|
|
720
|
+
"path": "/api/agency-hosting/v1/websites/{website_uid}/cache",
|
|
721
|
+
"inputSchema": {
|
|
722
|
+
"type": "object",
|
|
723
|
+
"properties": {
|
|
724
|
+
"website_uid": {
|
|
725
|
+
"type": "string",
|
|
726
|
+
"description": "Agency Plan website UID"
|
|
727
|
+
}
|
|
728
|
+
},
|
|
729
|
+
"required": [
|
|
730
|
+
"website_uid"
|
|
731
|
+
]
|
|
732
|
+
},
|
|
733
|
+
"security": [
|
|
734
|
+
{
|
|
735
|
+
"apiToken": []
|
|
736
|
+
}
|
|
737
|
+
],
|
|
738
|
+
"group": "agency-hosting"
|
|
739
|
+
},
|
|
716
740
|
{
|
|
717
741
|
"name": "agency-hosting_listAgencyPlanWebsiteCronJobsV1",
|
|
718
742
|
"description": "Returns a paginated list of cron jobs configured for an Agency Plan website.\n\nEach entry includes the schedule expression and the command executed on that schedule.",
|
|
@@ -3813,6 +3837,59 @@ export default [
|
|
|
3813
3837
|
],
|
|
3814
3838
|
"group": "hosting"
|
|
3815
3839
|
},
|
|
3840
|
+
{
|
|
3841
|
+
"name": "mail_getMailOrderListV1",
|
|
3842
|
+
"description": "Retrieve a paginated list of mail orders associated with your account.\n\nUse this endpoint to monitor your mail services, including their status,\nplan, attached domain, and expiration details.",
|
|
3843
|
+
"method": "GET",
|
|
3844
|
+
"path": "/api/mail/v1/orders",
|
|
3845
|
+
"inputSchema": {
|
|
3846
|
+
"type": "object",
|
|
3847
|
+
"properties": {
|
|
3848
|
+
"domain": {
|
|
3849
|
+
"type": "string",
|
|
3850
|
+
"description": "Filter orders by domain name (exact match)"
|
|
3851
|
+
},
|
|
3852
|
+
"status": {
|
|
3853
|
+
"type": "string",
|
|
3854
|
+
"description": "Filter orders by status",
|
|
3855
|
+
"enum": [
|
|
3856
|
+
"pending_setup",
|
|
3857
|
+
"active",
|
|
3858
|
+
"suspended"
|
|
3859
|
+
]
|
|
3860
|
+
},
|
|
3861
|
+
"is_trial": {
|
|
3862
|
+
"type": "boolean",
|
|
3863
|
+
"description": "Filter orders by trial state"
|
|
3864
|
+
},
|
|
3865
|
+
"sort": {
|
|
3866
|
+
"type": "string",
|
|
3867
|
+
"description": "Sort orders by field. Prefix with `-` for descending order.",
|
|
3868
|
+
"enum": [
|
|
3869
|
+
"created_at",
|
|
3870
|
+
"-created_at",
|
|
3871
|
+
"expires_at",
|
|
3872
|
+
"-expires_at"
|
|
3873
|
+
]
|
|
3874
|
+
},
|
|
3875
|
+
"page": {
|
|
3876
|
+
"type": "integer",
|
|
3877
|
+
"description": "Page number"
|
|
3878
|
+
},
|
|
3879
|
+
"per_page": {
|
|
3880
|
+
"type": "integer",
|
|
3881
|
+
"description": "Number of items per page"
|
|
3882
|
+
}
|
|
3883
|
+
},
|
|
3884
|
+
"required": []
|
|
3885
|
+
},
|
|
3886
|
+
"security": [
|
|
3887
|
+
{
|
|
3888
|
+
"apiToken": []
|
|
3889
|
+
}
|
|
3890
|
+
],
|
|
3891
|
+
"group": "mail"
|
|
3892
|
+
},
|
|
3816
3893
|
{
|
|
3817
3894
|
"name": "reach_deleteAContactV1",
|
|
3818
3895
|
"description": "Delete a contact with the specified UUID.\n\nThis endpoint permanently removes a contact from the email marketing system.",
|
package/src/core/tools/all.ts
CHANGED
|
@@ -727,6 +727,30 @@ const tools: OpenApiTool[] = [
|
|
|
727
727
|
],
|
|
728
728
|
"group": "agency-hosting"
|
|
729
729
|
},
|
|
730
|
+
{
|
|
731
|
+
"name": "agency-hosting_clearAgencyPlanWebsiteCacheV1",
|
|
732
|
+
"description": "Clears cache for all domains associated with an Agency Plan website, including its preview domain.\n\nThis operation clears all cache types for the website.",
|
|
733
|
+
"method": "DELETE",
|
|
734
|
+
"path": "/api/agency-hosting/v1/websites/{website_uid}/cache",
|
|
735
|
+
"inputSchema": {
|
|
736
|
+
"type": "object",
|
|
737
|
+
"properties": {
|
|
738
|
+
"website_uid": {
|
|
739
|
+
"type": "string",
|
|
740
|
+
"description": "Agency Plan website UID"
|
|
741
|
+
}
|
|
742
|
+
},
|
|
743
|
+
"required": [
|
|
744
|
+
"website_uid"
|
|
745
|
+
]
|
|
746
|
+
},
|
|
747
|
+
"security": [
|
|
748
|
+
{
|
|
749
|
+
"apiToken": []
|
|
750
|
+
}
|
|
751
|
+
],
|
|
752
|
+
"group": "agency-hosting"
|
|
753
|
+
},
|
|
730
754
|
{
|
|
731
755
|
"name": "agency-hosting_listAgencyPlanWebsiteCronJobsV1",
|
|
732
756
|
"description": "Returns a paginated list of cron jobs configured for an Agency Plan website.\n\nEach entry includes the schedule expression and the command executed on that schedule.",
|
|
@@ -3827,6 +3851,59 @@ const tools: OpenApiTool[] = [
|
|
|
3827
3851
|
],
|
|
3828
3852
|
"group": "hosting"
|
|
3829
3853
|
},
|
|
3854
|
+
{
|
|
3855
|
+
"name": "mail_getMailOrderListV1",
|
|
3856
|
+
"description": "Retrieve a paginated list of mail orders associated with your account.\n\nUse this endpoint to monitor your mail services, including their status,\nplan, attached domain, and expiration details.",
|
|
3857
|
+
"method": "GET",
|
|
3858
|
+
"path": "/api/mail/v1/orders",
|
|
3859
|
+
"inputSchema": {
|
|
3860
|
+
"type": "object",
|
|
3861
|
+
"properties": {
|
|
3862
|
+
"domain": {
|
|
3863
|
+
"type": "string",
|
|
3864
|
+
"description": "Filter orders by domain name (exact match)"
|
|
3865
|
+
},
|
|
3866
|
+
"status": {
|
|
3867
|
+
"type": "string",
|
|
3868
|
+
"description": "Filter orders by status",
|
|
3869
|
+
"enum": [
|
|
3870
|
+
"pending_setup",
|
|
3871
|
+
"active",
|
|
3872
|
+
"suspended"
|
|
3873
|
+
]
|
|
3874
|
+
},
|
|
3875
|
+
"is_trial": {
|
|
3876
|
+
"type": "boolean",
|
|
3877
|
+
"description": "Filter orders by trial state"
|
|
3878
|
+
},
|
|
3879
|
+
"sort": {
|
|
3880
|
+
"type": "string",
|
|
3881
|
+
"description": "Sort orders by field. Prefix with `-` for descending order.",
|
|
3882
|
+
"enum": [
|
|
3883
|
+
"created_at",
|
|
3884
|
+
"-created_at",
|
|
3885
|
+
"expires_at",
|
|
3886
|
+
"-expires_at"
|
|
3887
|
+
]
|
|
3888
|
+
},
|
|
3889
|
+
"page": {
|
|
3890
|
+
"type": "integer",
|
|
3891
|
+
"description": "Page number"
|
|
3892
|
+
},
|
|
3893
|
+
"per_page": {
|
|
3894
|
+
"type": "integer",
|
|
3895
|
+
"description": "Number of items per page"
|
|
3896
|
+
}
|
|
3897
|
+
},
|
|
3898
|
+
"required": []
|
|
3899
|
+
},
|
|
3900
|
+
"security": [
|
|
3901
|
+
{
|
|
3902
|
+
"apiToken": []
|
|
3903
|
+
}
|
|
3904
|
+
],
|
|
3905
|
+
"group": "mail"
|
|
3906
|
+
},
|
|
3830
3907
|
{
|
|
3831
3908
|
"name": "reach_deleteAContactV1",
|
|
3832
3909
|
"description": "Delete a contact with the specified UUID.\n\nThis endpoint permanently removes a contact from the email marketing system.",
|
|
@@ -0,0 +1,56 @@
|
|
|
1
|
+
// Auto-generated tool list for group: mail
|
|
2
|
+
export default [
|
|
3
|
+
{
|
|
4
|
+
"name": "mail_getMailOrderListV1",
|
|
5
|
+
"description": "Retrieve a paginated list of mail orders associated with your account.\n\nUse this endpoint to monitor your mail services, including their status,\nplan, attached domain, and expiration details.",
|
|
6
|
+
"method": "GET",
|
|
7
|
+
"path": "/api/mail/v1/orders",
|
|
8
|
+
"inputSchema": {
|
|
9
|
+
"type": "object",
|
|
10
|
+
"properties": {
|
|
11
|
+
"domain": {
|
|
12
|
+
"type": "string",
|
|
13
|
+
"description": "Filter orders by domain name (exact match)"
|
|
14
|
+
},
|
|
15
|
+
"status": {
|
|
16
|
+
"type": "string",
|
|
17
|
+
"description": "Filter orders by status",
|
|
18
|
+
"enum": [
|
|
19
|
+
"pending_setup",
|
|
20
|
+
"active",
|
|
21
|
+
"suspended"
|
|
22
|
+
]
|
|
23
|
+
},
|
|
24
|
+
"is_trial": {
|
|
25
|
+
"type": "boolean",
|
|
26
|
+
"description": "Filter orders by trial state"
|
|
27
|
+
},
|
|
28
|
+
"sort": {
|
|
29
|
+
"type": "string",
|
|
30
|
+
"description": "Sort orders by field. Prefix with `-` for descending order.",
|
|
31
|
+
"enum": [
|
|
32
|
+
"created_at",
|
|
33
|
+
"-created_at",
|
|
34
|
+
"expires_at",
|
|
35
|
+
"-expires_at"
|
|
36
|
+
]
|
|
37
|
+
},
|
|
38
|
+
"page": {
|
|
39
|
+
"type": "integer",
|
|
40
|
+
"description": "Page number"
|
|
41
|
+
},
|
|
42
|
+
"per_page": {
|
|
43
|
+
"type": "integer",
|
|
44
|
+
"description": "Number of items per page"
|
|
45
|
+
}
|
|
46
|
+
},
|
|
47
|
+
"required": []
|
|
48
|
+
},
|
|
49
|
+
"security": [
|
|
50
|
+
{
|
|
51
|
+
"apiToken": []
|
|
52
|
+
}
|
|
53
|
+
],
|
|
54
|
+
"group": "mail"
|
|
55
|
+
}
|
|
56
|
+
];
|
|
@@ -0,0 +1,71 @@
|
|
|
1
|
+
// Auto-generated tool list for group: mail
|
|
2
|
+
import type { Tool } from "@modelcontextprotocol/sdk/types.js";
|
|
3
|
+
|
|
4
|
+
export interface OpenApiTool extends Tool {
|
|
5
|
+
method: string;
|
|
6
|
+
path: string;
|
|
7
|
+
security: unknown[];
|
|
8
|
+
custom?: boolean;
|
|
9
|
+
group?: string;
|
|
10
|
+
topic?: string;
|
|
11
|
+
handlerMethod?: string;
|
|
12
|
+
templateFile?: string;
|
|
13
|
+
templateFileTS?: string;
|
|
14
|
+
}
|
|
15
|
+
|
|
16
|
+
const tools: OpenApiTool[] = [
|
|
17
|
+
{
|
|
18
|
+
"name": "mail_getMailOrderListV1",
|
|
19
|
+
"description": "Retrieve a paginated list of mail orders associated with your account.\n\nUse this endpoint to monitor your mail services, including their status,\nplan, attached domain, and expiration details.",
|
|
20
|
+
"method": "GET",
|
|
21
|
+
"path": "/api/mail/v1/orders",
|
|
22
|
+
"inputSchema": {
|
|
23
|
+
"type": "object",
|
|
24
|
+
"properties": {
|
|
25
|
+
"domain": {
|
|
26
|
+
"type": "string",
|
|
27
|
+
"description": "Filter orders by domain name (exact match)"
|
|
28
|
+
},
|
|
29
|
+
"status": {
|
|
30
|
+
"type": "string",
|
|
31
|
+
"description": "Filter orders by status",
|
|
32
|
+
"enum": [
|
|
33
|
+
"pending_setup",
|
|
34
|
+
"active",
|
|
35
|
+
"suspended"
|
|
36
|
+
]
|
|
37
|
+
},
|
|
38
|
+
"is_trial": {
|
|
39
|
+
"type": "boolean",
|
|
40
|
+
"description": "Filter orders by trial state"
|
|
41
|
+
},
|
|
42
|
+
"sort": {
|
|
43
|
+
"type": "string",
|
|
44
|
+
"description": "Sort orders by field. Prefix with `-` for descending order.",
|
|
45
|
+
"enum": [
|
|
46
|
+
"created_at",
|
|
47
|
+
"-created_at",
|
|
48
|
+
"expires_at",
|
|
49
|
+
"-expires_at"
|
|
50
|
+
]
|
|
51
|
+
},
|
|
52
|
+
"page": {
|
|
53
|
+
"type": "integer",
|
|
54
|
+
"description": "Page number"
|
|
55
|
+
},
|
|
56
|
+
"per_page": {
|
|
57
|
+
"type": "integer",
|
|
58
|
+
"description": "Number of items per page"
|
|
59
|
+
}
|
|
60
|
+
},
|
|
61
|
+
"required": []
|
|
62
|
+
},
|
|
63
|
+
"security": [
|
|
64
|
+
{
|
|
65
|
+
"apiToken": []
|
|
66
|
+
}
|
|
67
|
+
],
|
|
68
|
+
"group": "mail"
|
|
69
|
+
}
|
|
70
|
+
];
|
|
71
|
+
export default 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/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
|
@@ -429,6 +429,21 @@ Website contents are overwritten by the build result, which is deployed to publi
|
|
|
429
429
|
response: any; // Response structure will depend on the API
|
|
430
430
|
};
|
|
431
431
|
|
|
432
|
+
/**
|
|
433
|
+
* Clears cache for all domains associated with an Agency Plan website, including its preview domain.
|
|
434
|
+
|
|
435
|
+
This operation clears all cache types for the website.
|
|
436
|
+
*/
|
|
437
|
+
"agency-hosting_clearAgencyPlanWebsiteCacheV1": {
|
|
438
|
+
params: {
|
|
439
|
+
/**
|
|
440
|
+
* Agency Plan website UID
|
|
441
|
+
*/
|
|
442
|
+
website_uid: string;
|
|
443
|
+
};
|
|
444
|
+
response: any; // Response structure will depend on the API
|
|
445
|
+
};
|
|
446
|
+
|
|
432
447
|
/**
|
|
433
448
|
* Returns a paginated list of cron jobs configured for an Agency Plan website.
|
|
434
449
|
|
|
@@ -2556,6 +2571,42 @@ complete. The response returns before the removal finishes.
|
|
|
2556
2571
|
response: any; // Response structure will depend on the API
|
|
2557
2572
|
};
|
|
2558
2573
|
|
|
2574
|
+
/**
|
|
2575
|
+
* Retrieve a paginated list of mail orders associated with your account.
|
|
2576
|
+
|
|
2577
|
+
Use this endpoint to monitor your mail services, including their status,
|
|
2578
|
+
plan, attached domain, and expiration details.
|
|
2579
|
+
*/
|
|
2580
|
+
"mail_getMailOrderListV1": {
|
|
2581
|
+
params: {
|
|
2582
|
+
/**
|
|
2583
|
+
* Filter orders by domain name (exact match)
|
|
2584
|
+
*/
|
|
2585
|
+
domain?: string;
|
|
2586
|
+
/**
|
|
2587
|
+
* Filter orders by status
|
|
2588
|
+
*/
|
|
2589
|
+
status?: string;
|
|
2590
|
+
/**
|
|
2591
|
+
* Filter orders by trial state
|
|
2592
|
+
*/
|
|
2593
|
+
is_trial?: boolean;
|
|
2594
|
+
/**
|
|
2595
|
+
* Sort orders by field. Prefix with `-` for descending order.
|
|
2596
|
+
*/
|
|
2597
|
+
sort?: string;
|
|
2598
|
+
/**
|
|
2599
|
+
* Page number
|
|
2600
|
+
*/
|
|
2601
|
+
page?: number;
|
|
2602
|
+
/**
|
|
2603
|
+
* Number of items per page
|
|
2604
|
+
*/
|
|
2605
|
+
per_page?: number;
|
|
2606
|
+
};
|
|
2607
|
+
response: any; // Response structure will depend on the API
|
|
2608
|
+
};
|
|
2609
|
+
|
|
2559
2610
|
/**
|
|
2560
2611
|
* Delete a contact with the specified UUID.
|
|
2561
2612
|
|