hostinger-api-mcp 1.8.2 → 1.10.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/all.js +91 -0
- package/src/core/tools/all.ts +91 -0
- package/src/core/tools/domains.js +38 -0
- package/src/core/tools/domains.ts +38 -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 +59 -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 (
|
|
52
|
+
- `hostinger-api-mcp` — unified server with every tool (225 total)
|
|
53
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
|
-
- `hostinger-domains-mcp` —
|
|
56
|
+
- `hostinger-domains-mcp` — 20 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
|
|
@@ -576,6 +577,15 @@ Use this endpoint to view current redirect configuration for domains.
|
|
|
576
577
|
- **Method**: `GET`
|
|
577
578
|
- **Path**: `/api/domains/v1/forwarding/{domain}`
|
|
578
579
|
|
|
580
|
+
#### domains_updateDomainForwardingV1
|
|
581
|
+
|
|
582
|
+
Update domain forwarding configuration.
|
|
583
|
+
|
|
584
|
+
Use this endpoint to modify existing redirect configuration for domains.
|
|
585
|
+
|
|
586
|
+
- **Method**: `PUT`
|
|
587
|
+
- **Path**: `/api/domains/v1/forwarding/{domain}`
|
|
588
|
+
|
|
579
589
|
#### domains_deleteDomainForwardingV1
|
|
580
590
|
|
|
581
591
|
Delete domain forwarding data.
|
|
@@ -1417,6 +1427,18 @@ complete. The response returns before the removal finishes.
|
|
|
1417
1427
|
- **Method**: `DELETE`
|
|
1418
1428
|
- **Path**: `/api/hosting/v1/websites/{domain}`
|
|
1419
1429
|
|
|
1430
|
+
### `hostinger-mail-mcp`
|
|
1431
|
+
|
|
1432
|
+
#### mail_getMailOrderListV1
|
|
1433
|
+
|
|
1434
|
+
Retrieve a paginated list of mail orders associated with your account.
|
|
1435
|
+
|
|
1436
|
+
Use this endpoint to monitor your mail services, including their status,
|
|
1437
|
+
plan, attached domain, and expiration details.
|
|
1438
|
+
|
|
1439
|
+
- **Method**: `GET`
|
|
1440
|
+
- **Path**: `/api/mail/v1/orders`
|
|
1441
|
+
|
|
1420
1442
|
### `hostinger-reach-mcp`
|
|
1421
1443
|
|
|
1422
1444
|
#### 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.10.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.10.0",
|
|
10
10
|
"packages": [
|
|
11
11
|
{
|
|
12
12
|
"registryType": "npm",
|
|
13
13
|
"identifier": "hostinger-api-mcp",
|
|
14
|
-
"version": "1.
|
|
14
|
+
"version": "1.10.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
|
@@ -1482,6 +1482,44 @@ export default [
|
|
|
1482
1482
|
],
|
|
1483
1483
|
"group": "domains"
|
|
1484
1484
|
},
|
|
1485
|
+
{
|
|
1486
|
+
"name": "domains_updateDomainForwardingV1",
|
|
1487
|
+
"description": "Update domain forwarding configuration.\n\nUse this endpoint to modify existing redirect configuration for domains.",
|
|
1488
|
+
"method": "PUT",
|
|
1489
|
+
"path": "/api/domains/v1/forwarding/{domain}",
|
|
1490
|
+
"inputSchema": {
|
|
1491
|
+
"type": "object",
|
|
1492
|
+
"properties": {
|
|
1493
|
+
"domain": {
|
|
1494
|
+
"type": "string",
|
|
1495
|
+
"description": "Domain name"
|
|
1496
|
+
},
|
|
1497
|
+
"redirect_type": {
|
|
1498
|
+
"type": "string",
|
|
1499
|
+
"description": "Redirect type",
|
|
1500
|
+
"enum": [
|
|
1501
|
+
"301",
|
|
1502
|
+
"302"
|
|
1503
|
+
]
|
|
1504
|
+
},
|
|
1505
|
+
"redirect_url": {
|
|
1506
|
+
"type": "string",
|
|
1507
|
+
"description": "URL to forward domain to"
|
|
1508
|
+
}
|
|
1509
|
+
},
|
|
1510
|
+
"required": [
|
|
1511
|
+
"domain",
|
|
1512
|
+
"redirect_type",
|
|
1513
|
+
"redirect_url"
|
|
1514
|
+
]
|
|
1515
|
+
},
|
|
1516
|
+
"security": [
|
|
1517
|
+
{
|
|
1518
|
+
"apiToken": []
|
|
1519
|
+
}
|
|
1520
|
+
],
|
|
1521
|
+
"group": "domains"
|
|
1522
|
+
},
|
|
1485
1523
|
{
|
|
1486
1524
|
"name": "domains_deleteDomainForwardingV1",
|
|
1487
1525
|
"description": "Delete domain forwarding data.\n\nUse this endpoint to remove redirect configuration from domains.",
|
|
@@ -3837,6 +3875,59 @@ export default [
|
|
|
3837
3875
|
],
|
|
3838
3876
|
"group": "hosting"
|
|
3839
3877
|
},
|
|
3878
|
+
{
|
|
3879
|
+
"name": "mail_getMailOrderListV1",
|
|
3880
|
+
"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.",
|
|
3881
|
+
"method": "GET",
|
|
3882
|
+
"path": "/api/mail/v1/orders",
|
|
3883
|
+
"inputSchema": {
|
|
3884
|
+
"type": "object",
|
|
3885
|
+
"properties": {
|
|
3886
|
+
"domain": {
|
|
3887
|
+
"type": "string",
|
|
3888
|
+
"description": "Filter orders by domain name (exact match)"
|
|
3889
|
+
},
|
|
3890
|
+
"status": {
|
|
3891
|
+
"type": "string",
|
|
3892
|
+
"description": "Filter orders by status",
|
|
3893
|
+
"enum": [
|
|
3894
|
+
"pending_setup",
|
|
3895
|
+
"active",
|
|
3896
|
+
"suspended"
|
|
3897
|
+
]
|
|
3898
|
+
},
|
|
3899
|
+
"is_trial": {
|
|
3900
|
+
"type": "boolean",
|
|
3901
|
+
"description": "Filter orders by trial state"
|
|
3902
|
+
},
|
|
3903
|
+
"sort": {
|
|
3904
|
+
"type": "string",
|
|
3905
|
+
"description": "Sort orders by field. Prefix with `-` for descending order.",
|
|
3906
|
+
"enum": [
|
|
3907
|
+
"created_at",
|
|
3908
|
+
"-created_at",
|
|
3909
|
+
"expires_at",
|
|
3910
|
+
"-expires_at"
|
|
3911
|
+
]
|
|
3912
|
+
},
|
|
3913
|
+
"page": {
|
|
3914
|
+
"type": "integer",
|
|
3915
|
+
"description": "Page number"
|
|
3916
|
+
},
|
|
3917
|
+
"per_page": {
|
|
3918
|
+
"type": "integer",
|
|
3919
|
+
"description": "Number of items per page"
|
|
3920
|
+
}
|
|
3921
|
+
},
|
|
3922
|
+
"required": []
|
|
3923
|
+
},
|
|
3924
|
+
"security": [
|
|
3925
|
+
{
|
|
3926
|
+
"apiToken": []
|
|
3927
|
+
}
|
|
3928
|
+
],
|
|
3929
|
+
"group": "mail"
|
|
3930
|
+
},
|
|
3840
3931
|
{
|
|
3841
3932
|
"name": "reach_deleteAContactV1",
|
|
3842
3933
|
"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
|
@@ -1496,6 +1496,44 @@ const tools: OpenApiTool[] = [
|
|
|
1496
1496
|
],
|
|
1497
1497
|
"group": "domains"
|
|
1498
1498
|
},
|
|
1499
|
+
{
|
|
1500
|
+
"name": "domains_updateDomainForwardingV1",
|
|
1501
|
+
"description": "Update domain forwarding configuration.\n\nUse this endpoint to modify existing redirect configuration for domains.",
|
|
1502
|
+
"method": "PUT",
|
|
1503
|
+
"path": "/api/domains/v1/forwarding/{domain}",
|
|
1504
|
+
"inputSchema": {
|
|
1505
|
+
"type": "object",
|
|
1506
|
+
"properties": {
|
|
1507
|
+
"domain": {
|
|
1508
|
+
"type": "string",
|
|
1509
|
+
"description": "Domain name"
|
|
1510
|
+
},
|
|
1511
|
+
"redirect_type": {
|
|
1512
|
+
"type": "string",
|
|
1513
|
+
"description": "Redirect type",
|
|
1514
|
+
"enum": [
|
|
1515
|
+
"301",
|
|
1516
|
+
"302"
|
|
1517
|
+
]
|
|
1518
|
+
},
|
|
1519
|
+
"redirect_url": {
|
|
1520
|
+
"type": "string",
|
|
1521
|
+
"description": "URL to forward domain to"
|
|
1522
|
+
}
|
|
1523
|
+
},
|
|
1524
|
+
"required": [
|
|
1525
|
+
"domain",
|
|
1526
|
+
"redirect_type",
|
|
1527
|
+
"redirect_url"
|
|
1528
|
+
]
|
|
1529
|
+
},
|
|
1530
|
+
"security": [
|
|
1531
|
+
{
|
|
1532
|
+
"apiToken": []
|
|
1533
|
+
}
|
|
1534
|
+
],
|
|
1535
|
+
"group": "domains"
|
|
1536
|
+
},
|
|
1499
1537
|
{
|
|
1500
1538
|
"name": "domains_deleteDomainForwardingV1",
|
|
1501
1539
|
"description": "Delete domain forwarding data.\n\nUse this endpoint to remove redirect configuration from domains.",
|
|
@@ -3851,6 +3889,59 @@ const tools: OpenApiTool[] = [
|
|
|
3851
3889
|
],
|
|
3852
3890
|
"group": "hosting"
|
|
3853
3891
|
},
|
|
3892
|
+
{
|
|
3893
|
+
"name": "mail_getMailOrderListV1",
|
|
3894
|
+
"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.",
|
|
3895
|
+
"method": "GET",
|
|
3896
|
+
"path": "/api/mail/v1/orders",
|
|
3897
|
+
"inputSchema": {
|
|
3898
|
+
"type": "object",
|
|
3899
|
+
"properties": {
|
|
3900
|
+
"domain": {
|
|
3901
|
+
"type": "string",
|
|
3902
|
+
"description": "Filter orders by domain name (exact match)"
|
|
3903
|
+
},
|
|
3904
|
+
"status": {
|
|
3905
|
+
"type": "string",
|
|
3906
|
+
"description": "Filter orders by status",
|
|
3907
|
+
"enum": [
|
|
3908
|
+
"pending_setup",
|
|
3909
|
+
"active",
|
|
3910
|
+
"suspended"
|
|
3911
|
+
]
|
|
3912
|
+
},
|
|
3913
|
+
"is_trial": {
|
|
3914
|
+
"type": "boolean",
|
|
3915
|
+
"description": "Filter orders by trial state"
|
|
3916
|
+
},
|
|
3917
|
+
"sort": {
|
|
3918
|
+
"type": "string",
|
|
3919
|
+
"description": "Sort orders by field. Prefix with `-` for descending order.",
|
|
3920
|
+
"enum": [
|
|
3921
|
+
"created_at",
|
|
3922
|
+
"-created_at",
|
|
3923
|
+
"expires_at",
|
|
3924
|
+
"-expires_at"
|
|
3925
|
+
]
|
|
3926
|
+
},
|
|
3927
|
+
"page": {
|
|
3928
|
+
"type": "integer",
|
|
3929
|
+
"description": "Page number"
|
|
3930
|
+
},
|
|
3931
|
+
"per_page": {
|
|
3932
|
+
"type": "integer",
|
|
3933
|
+
"description": "Number of items per page"
|
|
3934
|
+
}
|
|
3935
|
+
},
|
|
3936
|
+
"required": []
|
|
3937
|
+
},
|
|
3938
|
+
"security": [
|
|
3939
|
+
{
|
|
3940
|
+
"apiToken": []
|
|
3941
|
+
}
|
|
3942
|
+
],
|
|
3943
|
+
"group": "mail"
|
|
3944
|
+
},
|
|
3854
3945
|
{
|
|
3855
3946
|
"name": "reach_deleteAContactV1",
|
|
3856
3947
|
"description": "Delete a contact with the specified UUID.\n\nThis endpoint permanently removes a contact from the email marketing system.",
|
|
@@ -78,6 +78,44 @@ export default [
|
|
|
78
78
|
],
|
|
79
79
|
"group": "domains"
|
|
80
80
|
},
|
|
81
|
+
{
|
|
82
|
+
"name": "domains_updateDomainForwardingV1",
|
|
83
|
+
"description": "Update domain forwarding configuration.\n\nUse this endpoint to modify existing redirect configuration for domains.",
|
|
84
|
+
"method": "PUT",
|
|
85
|
+
"path": "/api/domains/v1/forwarding/{domain}",
|
|
86
|
+
"inputSchema": {
|
|
87
|
+
"type": "object",
|
|
88
|
+
"properties": {
|
|
89
|
+
"domain": {
|
|
90
|
+
"type": "string",
|
|
91
|
+
"description": "Domain name"
|
|
92
|
+
},
|
|
93
|
+
"redirect_type": {
|
|
94
|
+
"type": "string",
|
|
95
|
+
"description": "Redirect type",
|
|
96
|
+
"enum": [
|
|
97
|
+
"301",
|
|
98
|
+
"302"
|
|
99
|
+
]
|
|
100
|
+
},
|
|
101
|
+
"redirect_url": {
|
|
102
|
+
"type": "string",
|
|
103
|
+
"description": "URL to forward domain to"
|
|
104
|
+
}
|
|
105
|
+
},
|
|
106
|
+
"required": [
|
|
107
|
+
"domain",
|
|
108
|
+
"redirect_type",
|
|
109
|
+
"redirect_url"
|
|
110
|
+
]
|
|
111
|
+
},
|
|
112
|
+
"security": [
|
|
113
|
+
{
|
|
114
|
+
"apiToken": []
|
|
115
|
+
}
|
|
116
|
+
],
|
|
117
|
+
"group": "domains"
|
|
118
|
+
},
|
|
81
119
|
{
|
|
82
120
|
"name": "domains_deleteDomainForwardingV1",
|
|
83
121
|
"description": "Delete domain forwarding data.\n\nUse this endpoint to remove redirect configuration from domains.",
|
|
@@ -92,6 +92,44 @@ const tools: OpenApiTool[] = [
|
|
|
92
92
|
],
|
|
93
93
|
"group": "domains"
|
|
94
94
|
},
|
|
95
|
+
{
|
|
96
|
+
"name": "domains_updateDomainForwardingV1",
|
|
97
|
+
"description": "Update domain forwarding configuration.\n\nUse this endpoint to modify existing redirect configuration for domains.",
|
|
98
|
+
"method": "PUT",
|
|
99
|
+
"path": "/api/domains/v1/forwarding/{domain}",
|
|
100
|
+
"inputSchema": {
|
|
101
|
+
"type": "object",
|
|
102
|
+
"properties": {
|
|
103
|
+
"domain": {
|
|
104
|
+
"type": "string",
|
|
105
|
+
"description": "Domain name"
|
|
106
|
+
},
|
|
107
|
+
"redirect_type": {
|
|
108
|
+
"type": "string",
|
|
109
|
+
"description": "Redirect type",
|
|
110
|
+
"enum": [
|
|
111
|
+
"301",
|
|
112
|
+
"302"
|
|
113
|
+
]
|
|
114
|
+
},
|
|
115
|
+
"redirect_url": {
|
|
116
|
+
"type": "string",
|
|
117
|
+
"description": "URL to forward domain to"
|
|
118
|
+
}
|
|
119
|
+
},
|
|
120
|
+
"required": [
|
|
121
|
+
"domain",
|
|
122
|
+
"redirect_type",
|
|
123
|
+
"redirect_url"
|
|
124
|
+
]
|
|
125
|
+
},
|
|
126
|
+
"security": [
|
|
127
|
+
{
|
|
128
|
+
"apiToken": []
|
|
129
|
+
}
|
|
130
|
+
],
|
|
131
|
+
"group": "domains"
|
|
132
|
+
},
|
|
95
133
|
{
|
|
96
134
|
"name": "domains_deleteDomainForwardingV1",
|
|
97
135
|
"description": "Delete domain forwarding data.\n\nUse this endpoint to remove redirect configuration from domains.",
|
|
@@ -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
|
@@ -889,6 +889,29 @@ Use this endpoint to view current redirect configuration for domains.
|
|
|
889
889
|
response: any; // Response structure will depend on the API
|
|
890
890
|
};
|
|
891
891
|
|
|
892
|
+
/**
|
|
893
|
+
* Update domain forwarding configuration.
|
|
894
|
+
|
|
895
|
+
Use this endpoint to modify existing redirect configuration for domains.
|
|
896
|
+
*/
|
|
897
|
+
"domains_updateDomainForwardingV1": {
|
|
898
|
+
params: {
|
|
899
|
+
/**
|
|
900
|
+
* Domain name
|
|
901
|
+
*/
|
|
902
|
+
domain: string;
|
|
903
|
+
/**
|
|
904
|
+
* Redirect type
|
|
905
|
+
*/
|
|
906
|
+
redirect_type: string;
|
|
907
|
+
/**
|
|
908
|
+
* URL to forward domain to
|
|
909
|
+
*/
|
|
910
|
+
redirect_url: string;
|
|
911
|
+
};
|
|
912
|
+
response: any; // Response structure will depend on the API
|
|
913
|
+
};
|
|
914
|
+
|
|
892
915
|
/**
|
|
893
916
|
* Delete domain forwarding data.
|
|
894
917
|
|
|
@@ -2571,6 +2594,42 @@ complete. The response returns before the removal finishes.
|
|
|
2571
2594
|
response: any; // Response structure will depend on the API
|
|
2572
2595
|
};
|
|
2573
2596
|
|
|
2597
|
+
/**
|
|
2598
|
+
* Retrieve a paginated list of mail orders associated with your account.
|
|
2599
|
+
|
|
2600
|
+
Use this endpoint to monitor your mail services, including their status,
|
|
2601
|
+
plan, attached domain, and expiration details.
|
|
2602
|
+
*/
|
|
2603
|
+
"mail_getMailOrderListV1": {
|
|
2604
|
+
params: {
|
|
2605
|
+
/**
|
|
2606
|
+
* Filter orders by domain name (exact match)
|
|
2607
|
+
*/
|
|
2608
|
+
domain?: string;
|
|
2609
|
+
/**
|
|
2610
|
+
* Filter orders by status
|
|
2611
|
+
*/
|
|
2612
|
+
status?: string;
|
|
2613
|
+
/**
|
|
2614
|
+
* Filter orders by trial state
|
|
2615
|
+
*/
|
|
2616
|
+
is_trial?: boolean;
|
|
2617
|
+
/**
|
|
2618
|
+
* Sort orders by field. Prefix with `-` for descending order.
|
|
2619
|
+
*/
|
|
2620
|
+
sort?: string;
|
|
2621
|
+
/**
|
|
2622
|
+
* Page number
|
|
2623
|
+
*/
|
|
2624
|
+
page?: number;
|
|
2625
|
+
/**
|
|
2626
|
+
* Number of items per page
|
|
2627
|
+
*/
|
|
2628
|
+
per_page?: number;
|
|
2629
|
+
};
|
|
2630
|
+
response: any; // Response structure will depend on the API
|
|
2631
|
+
};
|
|
2632
|
+
|
|
2574
2633
|
/**
|
|
2575
2634
|
* Delete a contact with the specified UUID.
|
|
2576
2635
|
|