@hostinger/mcp 3.42.0 → 4.0.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/CHANGELOG.md +25 -0
- package/README.md +30 -3
- package/gemini-extension.json +1 -1
- package/package.json +1 -1
- package/server.json +2 -2
- package/skills/headless/VERSION +1 -1
- package/src/core/runtime.js +1 -1
- package/src/core/runtime.ts +1 -1
- package/src/core/tools/all.js +127 -58
- package/src/core/tools/all.ts +127 -58
- package/src/core/tools/gpu.js +2 -58
- package/src/core/tools/gpu.ts +2 -58
- package/src/core/tools/reach.js +125 -0
- package/src/core/tools/reach.ts +125 -0
- package/src/servers/agency-hosting.js +1 -1
- package/src/servers/agency-hosting.ts +1 -1
- package/src/servers/agent-readiness.js +1 -1
- package/src/servers/agent-readiness.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/gpu.js +1 -1
- package/src/servers/gpu.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 +87 -5
package/CHANGELOG.md
CHANGED
|
@@ -4,6 +4,31 @@ Generated at release time from the diff between the previous and current
|
|
|
4
4
|
build. Tool changes are listed individually; everything else is summarised
|
|
5
5
|
by area.
|
|
6
6
|
|
|
7
|
+
## v4.0.0 — 2026-11-13
|
|
8
|
+
|
|
9
|
+
### Operations
|
|
10
|
+
|
|
11
|
+
- Changed the description and input schema of `gpu_catalog_pool-groups`
|
|
12
|
+
|
|
13
|
+
### Also in this release
|
|
14
|
+
|
|
15
|
+
- Documentation: `README.md`
|
|
16
|
+
- Request handling and authentication: `src/core/runtime.js`, `src/core/runtime.ts`
|
|
17
|
+
- Build and packaging: `types.d.ts`
|
|
18
|
+
|
|
19
|
+
## v3.42.1 — 2026-11-13
|
|
20
|
+
|
|
21
|
+
### Operations
|
|
22
|
+
|
|
23
|
+
- Added `reach_campaigns_update` — Update campaign
|
|
24
|
+
- Added `reach_campaigns_send` — Send campaign
|
|
25
|
+
|
|
26
|
+
### Also in this release
|
|
27
|
+
|
|
28
|
+
- Documentation: `README.md`
|
|
29
|
+
- Request handling and authentication: `src/core/runtime.js`, `src/core/runtime.ts`
|
|
30
|
+
- Build and packaging: `types.d.ts`
|
|
31
|
+
|
|
7
32
|
## v3.42.0 — 2026-11-13
|
|
8
33
|
|
|
9
34
|
### Operations
|
package/README.md
CHANGED
|
@@ -78,7 +78,7 @@ pnpm update -g @hostinger/mcp
|
|
|
78
78
|
|
|
79
79
|
This package installs the following MCP server commands:
|
|
80
80
|
|
|
81
|
-
- `hostinger-api-mcp` — unified server over every operation (
|
|
81
|
+
- `hostinger-api-mcp` — unified server over every operation (424 total)
|
|
82
82
|
- `hostinger-agency-hosting-mcp` — 43 operations for agency-hosting
|
|
83
83
|
- `hostinger-agent-readiness-mcp` — 4 operations for agent-readiness
|
|
84
84
|
- `hostinger-billing-mcp` — 10 operations for billing
|
|
@@ -89,7 +89,7 @@ This package installs the following MCP server commands:
|
|
|
89
89
|
- `hostinger-horizons-mcp` — 7 operations for horizons
|
|
90
90
|
- `hostinger-hosting-mcp` — 59 operations for hosting
|
|
91
91
|
- `hostinger-mail-mcp` — 39 operations for mail
|
|
92
|
-
- `hostinger-reach-mcp` —
|
|
92
|
+
- `hostinger-reach-mcp` — 73 operations for reach
|
|
93
93
|
- `hostinger-vps-mcp` — 68 operations for vps
|
|
94
94
|
- `hostinger-wordpress-mcp` — 41 operations for wordpress
|
|
95
95
|
|
|
@@ -1935,7 +1935,7 @@ Use this endpoint to monitor GPU instance load.
|
|
|
1935
1935
|
Retrieve GPU pool groups, ordered by name.
|
|
1936
1936
|
|
|
1937
1937
|
Each group bundles the pools of one GPU model and lists its currently available pools,
|
|
1938
|
-
whether any of them is available and the lowest hourly price among its instance types.
|
|
1938
|
+
whether any of them is available and the lowest hourly price, in credits, among its instance types.
|
|
1939
1939
|
The price is returned even when the group is out of stock.
|
|
1940
1940
|
|
|
1941
1941
|
Use this endpoint to show which GPU models can be ordered and from what price.
|
|
@@ -3290,6 +3290,19 @@ unsubscribes use the campaign statistics endpoint. The email content is not incl
|
|
|
3290
3290
|
- **Method**: `GET`
|
|
3291
3291
|
- **Path**: `/api/reach/v1/profiles/{profileUuid}/campaigns/{campaignUuid}`
|
|
3292
3292
|
|
|
3293
|
+
#### reach_campaigns_update
|
|
3294
|
+
|
|
3295
|
+
Update a campaign's content, sender, template and audience.
|
|
3296
|
+
|
|
3297
|
+
Only `draft`, `scheduled` and `failed` campaigns can be updated; a campaign that is sending or
|
|
3298
|
+
already sent is rejected. Updating a `failed` campaign moves it back to `draft`. Audience changes
|
|
3299
|
+
replace rather than merge: `all_contacts: true` targets every contact of the profile, while
|
|
3300
|
+
`segment_uuids` replaces the segments currently targeted. Leave both out to keep the audience as
|
|
3301
|
+
it is. This does not send the campaign - use the send endpoint for that.
|
|
3302
|
+
|
|
3303
|
+
- **Method**: `PATCH`
|
|
3304
|
+
- **Path**: `/api/reach/v1/profiles/{profileUuid}/campaigns/{campaignUuid}`
|
|
3305
|
+
|
|
3293
3306
|
#### reach_campaigns_list
|
|
3294
3307
|
|
|
3295
3308
|
Get a paginated list of the campaigns in a profile.
|
|
@@ -3313,6 +3326,20 @@ finished and sent from the Reach interface.
|
|
|
3313
3326
|
- **Method**: `POST`
|
|
3314
3327
|
- **Path**: `/api/reach/v1/profiles/{profileUuid}/campaigns`
|
|
3315
3328
|
|
|
3329
|
+
#### reach_campaigns_send
|
|
3330
|
+
|
|
3331
|
+
Send a campaign now to the audience stored on it.
|
|
3332
|
+
|
|
3333
|
+
This is irreversible: once accepted, the emails go out and cannot be recalled. Confirm with the
|
|
3334
|
+
customer before calling. The campaign needs a subject, sender, template and audience first - set
|
|
3335
|
+
them with the update endpoint. Delivery is asynchronous, so success means accepted, not delivered:
|
|
3336
|
+
the campaign moves to `sending` and later to `publish`, or to `failed`. Read the campaign to follow
|
|
3337
|
+
it. The request is rejected when the campaign has no recipients, its sender domain is not verified
|
|
3338
|
+
or is blocked, the plan's sending limits would be exceeded, or the campaign is already being sent.
|
|
3339
|
+
|
|
3340
|
+
- **Method**: `POST`
|
|
3341
|
+
- **Path**: `/api/reach/v1/profiles/{profileUuid}/campaigns/{campaignUuid}/send`
|
|
3342
|
+
|
|
3316
3343
|
#### reach_campaigns_performance
|
|
3317
3344
|
|
|
3318
3345
|
Get the performance of a campaign: delivery, opens, clicks and unsubscribes, with the
|
package/gemini-extension.json
CHANGED
package/package.json
CHANGED
package/server.json
CHANGED
|
@@ -17,12 +17,12 @@
|
|
|
17
17
|
"url": "https://github.com/hostinger/api-mcp-server",
|
|
18
18
|
"source": "github"
|
|
19
19
|
},
|
|
20
|
-
"version": "
|
|
20
|
+
"version": "4.0.0",
|
|
21
21
|
"packages": [
|
|
22
22
|
{
|
|
23
23
|
"registryType": "npm",
|
|
24
24
|
"identifier": "@hostinger/mcp",
|
|
25
|
-
"version": "
|
|
25
|
+
"version": "4.0.0",
|
|
26
26
|
"transport": {
|
|
27
27
|
"type": "stdio"
|
|
28
28
|
},
|
package/skills/headless/VERSION
CHANGED
package/src/core/runtime.js
CHANGED
|
@@ -62,7 +62,7 @@ const GetSkillRequestSchema = z.object({
|
|
|
62
62
|
|
|
63
63
|
/**
|
|
64
64
|
* MCP Server for Hostinger API
|
|
65
|
-
* Generated from OpenAPI spec version
|
|
65
|
+
* Generated from OpenAPI spec version 3.0.0
|
|
66
66
|
*/
|
|
67
67
|
class MCPServer {
|
|
68
68
|
constructor({ name, version, tools, instructions, skills = [] }) {
|
package/src/core/runtime.ts
CHANGED
|
@@ -96,7 +96,7 @@ interface Skill { uri: string; frontmatter: Record<string, unknown>; resources:
|
|
|
96
96
|
|
|
97
97
|
/**
|
|
98
98
|
* MCP Server for Hostinger API
|
|
99
|
-
* Generated from OpenAPI spec version
|
|
99
|
+
* Generated from OpenAPI spec version 3.0.0
|
|
100
100
|
*/
|
|
101
101
|
class MCPServer {
|
|
102
102
|
private readonly name: string;
|
package/src/core/tools/all.js
CHANGED
|
@@ -6418,68 +6418,12 @@ export default [
|
|
|
6418
6418
|
"readOnlyHint": true,
|
|
6419
6419
|
"destructiveHint": false
|
|
6420
6420
|
},
|
|
6421
|
-
"description": "Retrieve GPU pool groups, ordered by name.\n\nEach group bundles the pools of one GPU model and lists its currently available pools,\nwhether any of them is available and the lowest hourly price among its instance types.\nThe price is returned even when the group is out of stock.\n\nUse this endpoint to show which GPU models can be ordered and from what price.",
|
|
6421
|
+
"description": "Retrieve GPU pool groups, ordered by name.\n\nEach group bundles the pools of one GPU model and lists its currently available pools,\nwhether any of them is available and the lowest hourly price, in credits, among its instance types.\nThe price is returned even when the group is out of stock.\n\nUse this endpoint to show which GPU models can be ordered and from what price.",
|
|
6422
6422
|
"method": "GET",
|
|
6423
6423
|
"path": "/api/gpu/v1/pools/groups",
|
|
6424
6424
|
"inputSchema": {
|
|
6425
6425
|
"type": "object",
|
|
6426
|
-
"properties": {
|
|
6427
|
-
"currency": {
|
|
6428
|
-
"type": "string",
|
|
6429
|
-
"description": "Currency of the returned prices, `USD` by default",
|
|
6430
|
-
"enum": [
|
|
6431
|
-
"USD",
|
|
6432
|
-
"ARS",
|
|
6433
|
-
"AMD",
|
|
6434
|
-
"AUD",
|
|
6435
|
-
"AZN",
|
|
6436
|
-
"BDT",
|
|
6437
|
-
"BRL",
|
|
6438
|
-
"BTC",
|
|
6439
|
-
"BYN",
|
|
6440
|
-
"CAD",
|
|
6441
|
-
"CHF",
|
|
6442
|
-
"CLP",
|
|
6443
|
-
"CNY",
|
|
6444
|
-
"COP",
|
|
6445
|
-
"CZK",
|
|
6446
|
-
"DKK",
|
|
6447
|
-
"EGP",
|
|
6448
|
-
"EUR",
|
|
6449
|
-
"GBP",
|
|
6450
|
-
"GEL",
|
|
6451
|
-
"HKD",
|
|
6452
|
-
"HRK",
|
|
6453
|
-
"HUF",
|
|
6454
|
-
"IDR",
|
|
6455
|
-
"ILS",
|
|
6456
|
-
"INR",
|
|
6457
|
-
"JPY",
|
|
6458
|
-
"KGS",
|
|
6459
|
-
"KRW",
|
|
6460
|
-
"KZT",
|
|
6461
|
-
"MAD",
|
|
6462
|
-
"MXN",
|
|
6463
|
-
"MYR",
|
|
6464
|
-
"NGN",
|
|
6465
|
-
"NOK",
|
|
6466
|
-
"NZD",
|
|
6467
|
-
"PEN",
|
|
6468
|
-
"PHP",
|
|
6469
|
-
"PKR",
|
|
6470
|
-
"PLN",
|
|
6471
|
-
"SEK",
|
|
6472
|
-
"SGD",
|
|
6473
|
-
"THB",
|
|
6474
|
-
"TJS",
|
|
6475
|
-
"TRY",
|
|
6476
|
-
"TWD",
|
|
6477
|
-
"UAH",
|
|
6478
|
-
"VND",
|
|
6479
|
-
"ZAR"
|
|
6480
|
-
]
|
|
6481
|
-
}
|
|
6482
|
-
},
|
|
6426
|
+
"properties": {},
|
|
6483
6427
|
"required": []
|
|
6484
6428
|
},
|
|
6485
6429
|
"security": [
|
|
@@ -12497,6 +12441,96 @@ export default [
|
|
|
12497
12441
|
],
|
|
12498
12442
|
"group": "reach"
|
|
12499
12443
|
},
|
|
12444
|
+
{
|
|
12445
|
+
"name": "reach_campaigns_update",
|
|
12446
|
+
"title": "Update campaign",
|
|
12447
|
+
"annotations": {
|
|
12448
|
+
"title": "Update campaign",
|
|
12449
|
+
"readOnlyHint": false,
|
|
12450
|
+
"destructiveHint": true,
|
|
12451
|
+
"idempotentHint": true
|
|
12452
|
+
},
|
|
12453
|
+
"description": "Update a campaign's content, sender, template and audience.\n\nOnly `draft`, `scheduled` and `failed` campaigns can be updated; a campaign that is sending or\nalready sent is rejected. Updating a `failed` campaign moves it back to `draft`. Audience changes\nreplace rather than merge: `all_contacts: true` targets every contact of the profile, while\n`segment_uuids` replaces the segments currently targeted. Leave both out to keep the audience as\nit is. This does not send the campaign - use the send endpoint for that.",
|
|
12454
|
+
"method": "PATCH",
|
|
12455
|
+
"path": "/api/reach/v1/profiles/{profileUuid}/campaigns/{campaignUuid}",
|
|
12456
|
+
"inputSchema": {
|
|
12457
|
+
"type": "object",
|
|
12458
|
+
"properties": {
|
|
12459
|
+
"profileUuid": {
|
|
12460
|
+
"type": "string",
|
|
12461
|
+
"description": "Profile uuid parameter"
|
|
12462
|
+
},
|
|
12463
|
+
"campaignUuid": {
|
|
12464
|
+
"type": "string",
|
|
12465
|
+
"description": "Campaign uuid parameter"
|
|
12466
|
+
},
|
|
12467
|
+
"title": {
|
|
12468
|
+
"type": "string",
|
|
12469
|
+
"description": "Name the campaign is listed under. Not shown to the recipients."
|
|
12470
|
+
},
|
|
12471
|
+
"subject": {
|
|
12472
|
+
"type": "string",
|
|
12473
|
+
"description": "Subject line of the email."
|
|
12474
|
+
},
|
|
12475
|
+
"sender_name": {
|
|
12476
|
+
"type": "string",
|
|
12477
|
+
"description": "From name shown to the recipients."
|
|
12478
|
+
},
|
|
12479
|
+
"sender_email": {
|
|
12480
|
+
"type": "string",
|
|
12481
|
+
"description": "From address of the campaign. Its domain has to be verified on the profile before\nthe campaign can be sent."
|
|
12482
|
+
},
|
|
12483
|
+
"template_uuid": {
|
|
12484
|
+
"type": "string",
|
|
12485
|
+
"description": "Template to send, as returned by the template endpoints."
|
|
12486
|
+
},
|
|
12487
|
+
"all_contacts": {
|
|
12488
|
+
"type": "boolean",
|
|
12489
|
+
"description": "`true` targets every contact of the profile, `false` targets only `segment_uuids`.\nRequired when `segment_uuids` or `excluded_segment_uuids` is sent."
|
|
12490
|
+
},
|
|
12491
|
+
"segment_uuids": {
|
|
12492
|
+
"type": "array",
|
|
12493
|
+
"description": "Segments to target. Replaces the segments currently targeted.",
|
|
12494
|
+
"items": {
|
|
12495
|
+
"type": "string",
|
|
12496
|
+
"description": "segment_uuids parameter"
|
|
12497
|
+
}
|
|
12498
|
+
},
|
|
12499
|
+
"excluded_segment_uuids": {
|
|
12500
|
+
"type": "array",
|
|
12501
|
+
"description": "Segments to leave out. Only allowed together with `all_contacts: true`.",
|
|
12502
|
+
"items": {
|
|
12503
|
+
"type": "string",
|
|
12504
|
+
"description": "excluded_segment_uuids parameter"
|
|
12505
|
+
}
|
|
12506
|
+
},
|
|
12507
|
+
"metadata": {
|
|
12508
|
+
"type": "object",
|
|
12509
|
+
"description": "Extra campaign fields. Any key outside the listed ones is rejected.",
|
|
12510
|
+
"properties": {
|
|
12511
|
+
"preheader": {
|
|
12512
|
+
"type": "string",
|
|
12513
|
+
"description": "Preview text shown after the subject line in the inbox."
|
|
12514
|
+
},
|
|
12515
|
+
"source": {
|
|
12516
|
+
"type": "string",
|
|
12517
|
+
"description": "Where the campaign was created from."
|
|
12518
|
+
}
|
|
12519
|
+
}
|
|
12520
|
+
}
|
|
12521
|
+
},
|
|
12522
|
+
"required": [
|
|
12523
|
+
"profileUuid",
|
|
12524
|
+
"campaignUuid"
|
|
12525
|
+
]
|
|
12526
|
+
},
|
|
12527
|
+
"security": [
|
|
12528
|
+
{
|
|
12529
|
+
"apiToken": []
|
|
12530
|
+
}
|
|
12531
|
+
],
|
|
12532
|
+
"group": "reach"
|
|
12533
|
+
},
|
|
12500
12534
|
{
|
|
12501
12535
|
"name": "reach_campaigns_list",
|
|
12502
12536
|
"title": "List campaigns",
|
|
@@ -12629,6 +12663,41 @@ export default [
|
|
|
12629
12663
|
],
|
|
12630
12664
|
"group": "reach"
|
|
12631
12665
|
},
|
|
12666
|
+
{
|
|
12667
|
+
"name": "reach_campaigns_send",
|
|
12668
|
+
"title": "Send campaign",
|
|
12669
|
+
"annotations": {
|
|
12670
|
+
"title": "Send campaign",
|
|
12671
|
+
"readOnlyHint": false,
|
|
12672
|
+
"destructiveHint": false
|
|
12673
|
+
},
|
|
12674
|
+
"description": "Send a campaign now to the audience stored on it.\n\nThis is irreversible: once accepted, the emails go out and cannot be recalled. Confirm with the\ncustomer before calling. The campaign needs a subject, sender, template and audience first - set\nthem with the update endpoint. Delivery is asynchronous, so success means accepted, not delivered:\nthe campaign moves to `sending` and later to `publish`, or to `failed`. Read the campaign to follow\nit. The request is rejected when the campaign has no recipients, its sender domain is not verified\nor is blocked, the plan's sending limits would be exceeded, or the campaign is already being sent.",
|
|
12675
|
+
"method": "POST",
|
|
12676
|
+
"path": "/api/reach/v1/profiles/{profileUuid}/campaigns/{campaignUuid}/send",
|
|
12677
|
+
"inputSchema": {
|
|
12678
|
+
"type": "object",
|
|
12679
|
+
"properties": {
|
|
12680
|
+
"profileUuid": {
|
|
12681
|
+
"type": "string",
|
|
12682
|
+
"description": "Profile uuid parameter"
|
|
12683
|
+
},
|
|
12684
|
+
"campaignUuid": {
|
|
12685
|
+
"type": "string",
|
|
12686
|
+
"description": "Campaign uuid parameter"
|
|
12687
|
+
}
|
|
12688
|
+
},
|
|
12689
|
+
"required": [
|
|
12690
|
+
"profileUuid",
|
|
12691
|
+
"campaignUuid"
|
|
12692
|
+
]
|
|
12693
|
+
},
|
|
12694
|
+
"security": [
|
|
12695
|
+
{
|
|
12696
|
+
"apiToken": []
|
|
12697
|
+
}
|
|
12698
|
+
],
|
|
12699
|
+
"group": "reach"
|
|
12700
|
+
},
|
|
12632
12701
|
{
|
|
12633
12702
|
"name": "reach_campaigns_performance",
|
|
12634
12703
|
"title": "Get campaign performance",
|
package/src/core/tools/all.ts
CHANGED
|
@@ -6437,68 +6437,12 @@ const tools: OpenApiTool[] = [
|
|
|
6437
6437
|
"readOnlyHint": true,
|
|
6438
6438
|
"destructiveHint": false
|
|
6439
6439
|
},
|
|
6440
|
-
"description": "Retrieve GPU pool groups, ordered by name.\n\nEach group bundles the pools of one GPU model and lists its currently available pools,\nwhether any of them is available and the lowest hourly price among its instance types.\nThe price is returned even when the group is out of stock.\n\nUse this endpoint to show which GPU models can be ordered and from what price.",
|
|
6440
|
+
"description": "Retrieve GPU pool groups, ordered by name.\n\nEach group bundles the pools of one GPU model and lists its currently available pools,\nwhether any of them is available and the lowest hourly price, in credits, among its instance types.\nThe price is returned even when the group is out of stock.\n\nUse this endpoint to show which GPU models can be ordered and from what price.",
|
|
6441
6441
|
"method": "GET",
|
|
6442
6442
|
"path": "/api/gpu/v1/pools/groups",
|
|
6443
6443
|
"inputSchema": {
|
|
6444
6444
|
"type": "object",
|
|
6445
|
-
"properties": {
|
|
6446
|
-
"currency": {
|
|
6447
|
-
"type": "string",
|
|
6448
|
-
"description": "Currency of the returned prices, `USD` by default",
|
|
6449
|
-
"enum": [
|
|
6450
|
-
"USD",
|
|
6451
|
-
"ARS",
|
|
6452
|
-
"AMD",
|
|
6453
|
-
"AUD",
|
|
6454
|
-
"AZN",
|
|
6455
|
-
"BDT",
|
|
6456
|
-
"BRL",
|
|
6457
|
-
"BTC",
|
|
6458
|
-
"BYN",
|
|
6459
|
-
"CAD",
|
|
6460
|
-
"CHF",
|
|
6461
|
-
"CLP",
|
|
6462
|
-
"CNY",
|
|
6463
|
-
"COP",
|
|
6464
|
-
"CZK",
|
|
6465
|
-
"DKK",
|
|
6466
|
-
"EGP",
|
|
6467
|
-
"EUR",
|
|
6468
|
-
"GBP",
|
|
6469
|
-
"GEL",
|
|
6470
|
-
"HKD",
|
|
6471
|
-
"HRK",
|
|
6472
|
-
"HUF",
|
|
6473
|
-
"IDR",
|
|
6474
|
-
"ILS",
|
|
6475
|
-
"INR",
|
|
6476
|
-
"JPY",
|
|
6477
|
-
"KGS",
|
|
6478
|
-
"KRW",
|
|
6479
|
-
"KZT",
|
|
6480
|
-
"MAD",
|
|
6481
|
-
"MXN",
|
|
6482
|
-
"MYR",
|
|
6483
|
-
"NGN",
|
|
6484
|
-
"NOK",
|
|
6485
|
-
"NZD",
|
|
6486
|
-
"PEN",
|
|
6487
|
-
"PHP",
|
|
6488
|
-
"PKR",
|
|
6489
|
-
"PLN",
|
|
6490
|
-
"SEK",
|
|
6491
|
-
"SGD",
|
|
6492
|
-
"THB",
|
|
6493
|
-
"TJS",
|
|
6494
|
-
"TRY",
|
|
6495
|
-
"TWD",
|
|
6496
|
-
"UAH",
|
|
6497
|
-
"VND",
|
|
6498
|
-
"ZAR"
|
|
6499
|
-
]
|
|
6500
|
-
}
|
|
6501
|
-
},
|
|
6445
|
+
"properties": {},
|
|
6502
6446
|
"required": []
|
|
6503
6447
|
},
|
|
6504
6448
|
"security": [
|
|
@@ -12516,6 +12460,96 @@ const tools: OpenApiTool[] = [
|
|
|
12516
12460
|
],
|
|
12517
12461
|
"group": "reach"
|
|
12518
12462
|
},
|
|
12463
|
+
{
|
|
12464
|
+
"name": "reach_campaigns_update",
|
|
12465
|
+
"title": "Update campaign",
|
|
12466
|
+
"annotations": {
|
|
12467
|
+
"title": "Update campaign",
|
|
12468
|
+
"readOnlyHint": false,
|
|
12469
|
+
"destructiveHint": true,
|
|
12470
|
+
"idempotentHint": true
|
|
12471
|
+
},
|
|
12472
|
+
"description": "Update a campaign's content, sender, template and audience.\n\nOnly `draft`, `scheduled` and `failed` campaigns can be updated; a campaign that is sending or\nalready sent is rejected. Updating a `failed` campaign moves it back to `draft`. Audience changes\nreplace rather than merge: `all_contacts: true` targets every contact of the profile, while\n`segment_uuids` replaces the segments currently targeted. Leave both out to keep the audience as\nit is. This does not send the campaign - use the send endpoint for that.",
|
|
12473
|
+
"method": "PATCH",
|
|
12474
|
+
"path": "/api/reach/v1/profiles/{profileUuid}/campaigns/{campaignUuid}",
|
|
12475
|
+
"inputSchema": {
|
|
12476
|
+
"type": "object",
|
|
12477
|
+
"properties": {
|
|
12478
|
+
"profileUuid": {
|
|
12479
|
+
"type": "string",
|
|
12480
|
+
"description": "Profile uuid parameter"
|
|
12481
|
+
},
|
|
12482
|
+
"campaignUuid": {
|
|
12483
|
+
"type": "string",
|
|
12484
|
+
"description": "Campaign uuid parameter"
|
|
12485
|
+
},
|
|
12486
|
+
"title": {
|
|
12487
|
+
"type": "string",
|
|
12488
|
+
"description": "Name the campaign is listed under. Not shown to the recipients."
|
|
12489
|
+
},
|
|
12490
|
+
"subject": {
|
|
12491
|
+
"type": "string",
|
|
12492
|
+
"description": "Subject line of the email."
|
|
12493
|
+
},
|
|
12494
|
+
"sender_name": {
|
|
12495
|
+
"type": "string",
|
|
12496
|
+
"description": "From name shown to the recipients."
|
|
12497
|
+
},
|
|
12498
|
+
"sender_email": {
|
|
12499
|
+
"type": "string",
|
|
12500
|
+
"description": "From address of the campaign. Its domain has to be verified on the profile before\nthe campaign can be sent."
|
|
12501
|
+
},
|
|
12502
|
+
"template_uuid": {
|
|
12503
|
+
"type": "string",
|
|
12504
|
+
"description": "Template to send, as returned by the template endpoints."
|
|
12505
|
+
},
|
|
12506
|
+
"all_contacts": {
|
|
12507
|
+
"type": "boolean",
|
|
12508
|
+
"description": "`true` targets every contact of the profile, `false` targets only `segment_uuids`.\nRequired when `segment_uuids` or `excluded_segment_uuids` is sent."
|
|
12509
|
+
},
|
|
12510
|
+
"segment_uuids": {
|
|
12511
|
+
"type": "array",
|
|
12512
|
+
"description": "Segments to target. Replaces the segments currently targeted.",
|
|
12513
|
+
"items": {
|
|
12514
|
+
"type": "string",
|
|
12515
|
+
"description": "segment_uuids parameter"
|
|
12516
|
+
}
|
|
12517
|
+
},
|
|
12518
|
+
"excluded_segment_uuids": {
|
|
12519
|
+
"type": "array",
|
|
12520
|
+
"description": "Segments to leave out. Only allowed together with `all_contacts: true`.",
|
|
12521
|
+
"items": {
|
|
12522
|
+
"type": "string",
|
|
12523
|
+
"description": "excluded_segment_uuids parameter"
|
|
12524
|
+
}
|
|
12525
|
+
},
|
|
12526
|
+
"metadata": {
|
|
12527
|
+
"type": "object",
|
|
12528
|
+
"description": "Extra campaign fields. Any key outside the listed ones is rejected.",
|
|
12529
|
+
"properties": {
|
|
12530
|
+
"preheader": {
|
|
12531
|
+
"type": "string",
|
|
12532
|
+
"description": "Preview text shown after the subject line in the inbox."
|
|
12533
|
+
},
|
|
12534
|
+
"source": {
|
|
12535
|
+
"type": "string",
|
|
12536
|
+
"description": "Where the campaign was created from."
|
|
12537
|
+
}
|
|
12538
|
+
}
|
|
12539
|
+
}
|
|
12540
|
+
},
|
|
12541
|
+
"required": [
|
|
12542
|
+
"profileUuid",
|
|
12543
|
+
"campaignUuid"
|
|
12544
|
+
]
|
|
12545
|
+
},
|
|
12546
|
+
"security": [
|
|
12547
|
+
{
|
|
12548
|
+
"apiToken": []
|
|
12549
|
+
}
|
|
12550
|
+
],
|
|
12551
|
+
"group": "reach"
|
|
12552
|
+
},
|
|
12519
12553
|
{
|
|
12520
12554
|
"name": "reach_campaigns_list",
|
|
12521
12555
|
"title": "List campaigns",
|
|
@@ -12648,6 +12682,41 @@ const tools: OpenApiTool[] = [
|
|
|
12648
12682
|
],
|
|
12649
12683
|
"group": "reach"
|
|
12650
12684
|
},
|
|
12685
|
+
{
|
|
12686
|
+
"name": "reach_campaigns_send",
|
|
12687
|
+
"title": "Send campaign",
|
|
12688
|
+
"annotations": {
|
|
12689
|
+
"title": "Send campaign",
|
|
12690
|
+
"readOnlyHint": false,
|
|
12691
|
+
"destructiveHint": false
|
|
12692
|
+
},
|
|
12693
|
+
"description": "Send a campaign now to the audience stored on it.\n\nThis is irreversible: once accepted, the emails go out and cannot be recalled. Confirm with the\ncustomer before calling. The campaign needs a subject, sender, template and audience first - set\nthem with the update endpoint. Delivery is asynchronous, so success means accepted, not delivered:\nthe campaign moves to `sending` and later to `publish`, or to `failed`. Read the campaign to follow\nit. The request is rejected when the campaign has no recipients, its sender domain is not verified\nor is blocked, the plan's sending limits would be exceeded, or the campaign is already being sent.",
|
|
12694
|
+
"method": "POST",
|
|
12695
|
+
"path": "/api/reach/v1/profiles/{profileUuid}/campaigns/{campaignUuid}/send",
|
|
12696
|
+
"inputSchema": {
|
|
12697
|
+
"type": "object",
|
|
12698
|
+
"properties": {
|
|
12699
|
+
"profileUuid": {
|
|
12700
|
+
"type": "string",
|
|
12701
|
+
"description": "Profile uuid parameter"
|
|
12702
|
+
},
|
|
12703
|
+
"campaignUuid": {
|
|
12704
|
+
"type": "string",
|
|
12705
|
+
"description": "Campaign uuid parameter"
|
|
12706
|
+
}
|
|
12707
|
+
},
|
|
12708
|
+
"required": [
|
|
12709
|
+
"profileUuid",
|
|
12710
|
+
"campaignUuid"
|
|
12711
|
+
]
|
|
12712
|
+
},
|
|
12713
|
+
"security": [
|
|
12714
|
+
{
|
|
12715
|
+
"apiToken": []
|
|
12716
|
+
}
|
|
12717
|
+
],
|
|
12718
|
+
"group": "reach"
|
|
12719
|
+
},
|
|
12651
12720
|
{
|
|
12652
12721
|
"name": "reach_campaigns_performance",
|
|
12653
12722
|
"title": "Get campaign performance",
|
package/src/core/tools/gpu.js
CHANGED
|
@@ -345,68 +345,12 @@ export default [
|
|
|
345
345
|
"readOnlyHint": true,
|
|
346
346
|
"destructiveHint": false
|
|
347
347
|
},
|
|
348
|
-
"description": "Retrieve GPU pool groups, ordered by name.\n\nEach group bundles the pools of one GPU model and lists its currently available pools,\nwhether any of them is available and the lowest hourly price among its instance types.\nThe price is returned even when the group is out of stock.\n\nUse this endpoint to show which GPU models can be ordered and from what price.",
|
|
348
|
+
"description": "Retrieve GPU pool groups, ordered by name.\n\nEach group bundles the pools of one GPU model and lists its currently available pools,\nwhether any of them is available and the lowest hourly price, in credits, among its instance types.\nThe price is returned even when the group is out of stock.\n\nUse this endpoint to show which GPU models can be ordered and from what price.",
|
|
349
349
|
"method": "GET",
|
|
350
350
|
"path": "/api/gpu/v1/pools/groups",
|
|
351
351
|
"inputSchema": {
|
|
352
352
|
"type": "object",
|
|
353
|
-
"properties": {
|
|
354
|
-
"currency": {
|
|
355
|
-
"type": "string",
|
|
356
|
-
"description": "Currency of the returned prices, `USD` by default",
|
|
357
|
-
"enum": [
|
|
358
|
-
"USD",
|
|
359
|
-
"ARS",
|
|
360
|
-
"AMD",
|
|
361
|
-
"AUD",
|
|
362
|
-
"AZN",
|
|
363
|
-
"BDT",
|
|
364
|
-
"BRL",
|
|
365
|
-
"BTC",
|
|
366
|
-
"BYN",
|
|
367
|
-
"CAD",
|
|
368
|
-
"CHF",
|
|
369
|
-
"CLP",
|
|
370
|
-
"CNY",
|
|
371
|
-
"COP",
|
|
372
|
-
"CZK",
|
|
373
|
-
"DKK",
|
|
374
|
-
"EGP",
|
|
375
|
-
"EUR",
|
|
376
|
-
"GBP",
|
|
377
|
-
"GEL",
|
|
378
|
-
"HKD",
|
|
379
|
-
"HRK",
|
|
380
|
-
"HUF",
|
|
381
|
-
"IDR",
|
|
382
|
-
"ILS",
|
|
383
|
-
"INR",
|
|
384
|
-
"JPY",
|
|
385
|
-
"KGS",
|
|
386
|
-
"KRW",
|
|
387
|
-
"KZT",
|
|
388
|
-
"MAD",
|
|
389
|
-
"MXN",
|
|
390
|
-
"MYR",
|
|
391
|
-
"NGN",
|
|
392
|
-
"NOK",
|
|
393
|
-
"NZD",
|
|
394
|
-
"PEN",
|
|
395
|
-
"PHP",
|
|
396
|
-
"PKR",
|
|
397
|
-
"PLN",
|
|
398
|
-
"SEK",
|
|
399
|
-
"SGD",
|
|
400
|
-
"THB",
|
|
401
|
-
"TJS",
|
|
402
|
-
"TRY",
|
|
403
|
-
"TWD",
|
|
404
|
-
"UAH",
|
|
405
|
-
"VND",
|
|
406
|
-
"ZAR"
|
|
407
|
-
]
|
|
408
|
-
}
|
|
409
|
-
},
|
|
353
|
+
"properties": {},
|
|
410
354
|
"required": []
|
|
411
355
|
},
|
|
412
356
|
"security": [
|