@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/types.d.ts
CHANGED
|
@@ -3548,17 +3548,14 @@ Use this endpoint to monitor GPU instance load.
|
|
|
3548
3548
|
* Retrieve GPU pool groups, ordered by name.
|
|
3549
3549
|
|
|
3550
3550
|
Each group bundles the pools of one GPU model and lists its currently available pools,
|
|
3551
|
-
whether any of them is available and the lowest hourly price among its instance types.
|
|
3551
|
+
whether any of them is available and the lowest hourly price, in credits, among its instance types.
|
|
3552
3552
|
The price is returned even when the group is out of stock.
|
|
3553
3553
|
|
|
3554
3554
|
Use this endpoint to show which GPU models can be ordered and from what price.
|
|
3555
3555
|
*/
|
|
3556
3556
|
"gpu_catalog_pool-groups": {
|
|
3557
3557
|
params: {
|
|
3558
|
-
|
|
3559
|
-
* Currency of the returned prices, `USD` by default
|
|
3560
|
-
*/
|
|
3561
|
-
currency?: string;
|
|
3558
|
+
|
|
3562
3559
|
};
|
|
3563
3560
|
response: any; // Response structure will depend on the API
|
|
3564
3561
|
};
|
|
@@ -7342,6 +7339,67 @@ unsubscribes use the campaign statistics endpoint. The email content is not incl
|
|
|
7342
7339
|
response: any; // Response structure will depend on the API
|
|
7343
7340
|
};
|
|
7344
7341
|
|
|
7342
|
+
/**
|
|
7343
|
+
* Update a campaign's content, sender, template and audience.
|
|
7344
|
+
|
|
7345
|
+
Only `draft`, `scheduled` and `failed` campaigns can be updated; a campaign that is sending or
|
|
7346
|
+
already sent is rejected. Updating a `failed` campaign moves it back to `draft`. Audience changes
|
|
7347
|
+
replace rather than merge: `all_contacts: true` targets every contact of the profile, while
|
|
7348
|
+
`segment_uuids` replaces the segments currently targeted. Leave both out to keep the audience as
|
|
7349
|
+
it is. This does not send the campaign - use the send endpoint for that.
|
|
7350
|
+
*/
|
|
7351
|
+
"reach_campaigns_update": {
|
|
7352
|
+
params: {
|
|
7353
|
+
/**
|
|
7354
|
+
* Profile uuid parameter
|
|
7355
|
+
*/
|
|
7356
|
+
profileUuid: string;
|
|
7357
|
+
/**
|
|
7358
|
+
* Campaign uuid parameter
|
|
7359
|
+
*/
|
|
7360
|
+
campaignUuid: string;
|
|
7361
|
+
/**
|
|
7362
|
+
* Name the campaign is listed under. Not shown to the recipients.
|
|
7363
|
+
*/
|
|
7364
|
+
title?: string;
|
|
7365
|
+
/**
|
|
7366
|
+
* Subject line of the email.
|
|
7367
|
+
*/
|
|
7368
|
+
subject?: string;
|
|
7369
|
+
/**
|
|
7370
|
+
* From name shown to the recipients.
|
|
7371
|
+
*/
|
|
7372
|
+
sender_name?: string;
|
|
7373
|
+
/**
|
|
7374
|
+
* From address of the campaign. Its domain has to be verified on the profile before
|
|
7375
|
+
the campaign can be sent.
|
|
7376
|
+
*/
|
|
7377
|
+
sender_email?: string;
|
|
7378
|
+
/**
|
|
7379
|
+
* Template to send, as returned by the template endpoints.
|
|
7380
|
+
*/
|
|
7381
|
+
template_uuid?: string;
|
|
7382
|
+
/**
|
|
7383
|
+
* `true` targets every contact of the profile, `false` targets only `segment_uuids`.
|
|
7384
|
+
Required when `segment_uuids` or `excluded_segment_uuids` is sent.
|
|
7385
|
+
*/
|
|
7386
|
+
all_contacts?: boolean;
|
|
7387
|
+
/**
|
|
7388
|
+
* Segments to target. Replaces the segments currently targeted.
|
|
7389
|
+
*/
|
|
7390
|
+
segment_uuids?: array;
|
|
7391
|
+
/**
|
|
7392
|
+
* Segments to leave out. Only allowed together with `all_contacts: true`.
|
|
7393
|
+
*/
|
|
7394
|
+
excluded_segment_uuids?: array;
|
|
7395
|
+
/**
|
|
7396
|
+
* Extra campaign fields. Any key outside the listed ones is rejected.
|
|
7397
|
+
*/
|
|
7398
|
+
metadata?: object;
|
|
7399
|
+
};
|
|
7400
|
+
response: any; // Response structure will depend on the API
|
|
7401
|
+
};
|
|
7402
|
+
|
|
7345
7403
|
/**
|
|
7346
7404
|
* Get a paginated list of the campaigns in a profile.
|
|
7347
7405
|
|
|
@@ -7429,6 +7487,30 @@ attached later, but the campaign cannot be sent without one.
|
|
|
7429
7487
|
response: any; // Response structure will depend on the API
|
|
7430
7488
|
};
|
|
7431
7489
|
|
|
7490
|
+
/**
|
|
7491
|
+
* Send a campaign now to the audience stored on it.
|
|
7492
|
+
|
|
7493
|
+
This is irreversible: once accepted, the emails go out and cannot be recalled. Confirm with the
|
|
7494
|
+
customer before calling. The campaign needs a subject, sender, template and audience first - set
|
|
7495
|
+
them with the update endpoint. Delivery is asynchronous, so success means accepted, not delivered:
|
|
7496
|
+
the campaign moves to `sending` and later to `publish`, or to `failed`. Read the campaign to follow
|
|
7497
|
+
it. The request is rejected when the campaign has no recipients, its sender domain is not verified
|
|
7498
|
+
or is blocked, the plan's sending limits would be exceeded, or the campaign is already being sent.
|
|
7499
|
+
*/
|
|
7500
|
+
"reach_campaigns_send": {
|
|
7501
|
+
params: {
|
|
7502
|
+
/**
|
|
7503
|
+
* Profile uuid parameter
|
|
7504
|
+
*/
|
|
7505
|
+
profileUuid: string;
|
|
7506
|
+
/**
|
|
7507
|
+
* Campaign uuid parameter
|
|
7508
|
+
*/
|
|
7509
|
+
campaignUuid: string;
|
|
7510
|
+
};
|
|
7511
|
+
response: any; // Response structure will depend on the API
|
|
7512
|
+
};
|
|
7513
|
+
|
|
7432
7514
|
/**
|
|
7433
7515
|
* Get the performance of a campaign: delivery, opens, clicks and unsubscribes, with the
|
|
7434
7516
|
matching rates.
|