hostinger-api-mcp 1.18.0 → 1.19.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 +64 -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 +233 -0
- package/src/core/tools/all.ts +233 -0
- package/src/core/tools/mail.js +233 -0
- package/src/core/tools/mail.ts +233 -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 +152 -0
package/types.d.ts
CHANGED
|
@@ -3255,6 +3255,158 @@ every delivery.
|
|
|
3255
3255
|
response: any; // Response structure will depend on the API
|
|
3256
3256
|
};
|
|
3257
3257
|
|
|
3258
|
+
/**
|
|
3259
|
+
* Retrieve a paginated list of webhook delivery logs for the given mail
|
|
3260
|
+
order, including delivery outcome, duration, and retry counts.
|
|
3261
|
+
Supports filtering by mailbox.
|
|
3262
|
+
*/
|
|
3263
|
+
"mail_listWebhookDeliveryLogsV1": {
|
|
3264
|
+
params: {
|
|
3265
|
+
/**
|
|
3266
|
+
* Order resource ID
|
|
3267
|
+
*/
|
|
3268
|
+
orderId: string;
|
|
3269
|
+
/**
|
|
3270
|
+
* Filter by the mailbox resource ID the webhooks are attached to
|
|
3271
|
+
*/
|
|
3272
|
+
mailbox_id?: string;
|
|
3273
|
+
/**
|
|
3274
|
+
* Page number
|
|
3275
|
+
*/
|
|
3276
|
+
page?: number;
|
|
3277
|
+
/**
|
|
3278
|
+
* Number of items per page
|
|
3279
|
+
*/
|
|
3280
|
+
per_page?: number;
|
|
3281
|
+
};
|
|
3282
|
+
response: any; // Response structure will depend on the API
|
|
3283
|
+
};
|
|
3284
|
+
|
|
3285
|
+
/**
|
|
3286
|
+
* Retrieve the details of a single webhook. The webhook secret is never
|
|
3287
|
+
included; it is returned only when a webhook is created or its secret
|
|
3288
|
+
is regenerated.
|
|
3289
|
+
*/
|
|
3290
|
+
"mail_getWebhookV1": {
|
|
3291
|
+
params: {
|
|
3292
|
+
/**
|
|
3293
|
+
* Webhook ID (returned when the webhook was created)
|
|
3294
|
+
*/
|
|
3295
|
+
webhookId: string;
|
|
3296
|
+
};
|
|
3297
|
+
response: any; // Response structure will depend on the API
|
|
3298
|
+
};
|
|
3299
|
+
|
|
3300
|
+
/**
|
|
3301
|
+
* Permanently delete a webhook. This action cannot be undone. After
|
|
3302
|
+
deletion the URL no longer receives event notifications.
|
|
3303
|
+
*/
|
|
3304
|
+
"mail_deleteWebhookV1": {
|
|
3305
|
+
params: {
|
|
3306
|
+
/**
|
|
3307
|
+
* Webhook ID (returned when the webhook was created)
|
|
3308
|
+
*/
|
|
3309
|
+
webhookId: string;
|
|
3310
|
+
};
|
|
3311
|
+
response: any; // Response structure will depend on the API
|
|
3312
|
+
};
|
|
3313
|
+
|
|
3314
|
+
/**
|
|
3315
|
+
* Partially update a webhook. Only the fields included in the request
|
|
3316
|
+
body are changed; omitted fields retain their current values. Pass
|
|
3317
|
+
`"description": null` to clear the description.
|
|
3318
|
+
*/
|
|
3319
|
+
"mail_updateWebhookV1": {
|
|
3320
|
+
params: {
|
|
3321
|
+
/**
|
|
3322
|
+
* Webhook ID (returned when the webhook was created)
|
|
3323
|
+
*/
|
|
3324
|
+
webhookId: string;
|
|
3325
|
+
/**
|
|
3326
|
+
* New human-readable name for the webhook
|
|
3327
|
+
*/
|
|
3328
|
+
name?: string;
|
|
3329
|
+
/**
|
|
3330
|
+
* New description, or null to clear it
|
|
3331
|
+
*/
|
|
3332
|
+
description?: string;
|
|
3333
|
+
/**
|
|
3334
|
+
* Replaces the full list of subscribed events
|
|
3335
|
+
*/
|
|
3336
|
+
events?: array;
|
|
3337
|
+
/**
|
|
3338
|
+
* New status for the webhook
|
|
3339
|
+
*/
|
|
3340
|
+
status?: string;
|
|
3341
|
+
/**
|
|
3342
|
+
* New URL to deliver events to
|
|
3343
|
+
*/
|
|
3344
|
+
url?: string;
|
|
3345
|
+
};
|
|
3346
|
+
response: any; // Response structure will depend on the API
|
|
3347
|
+
};
|
|
3348
|
+
|
|
3349
|
+
/**
|
|
3350
|
+
* Retrieve a paginated list of webhooks belonging to the given mail
|
|
3351
|
+
order. Supports filtering by mailbox and status. The webhook secret
|
|
3352
|
+
is never included; it is returned only when a webhook is created or
|
|
3353
|
+
its secret is regenerated.
|
|
3354
|
+
*/
|
|
3355
|
+
"mail_listWebhooksV1": {
|
|
3356
|
+
params: {
|
|
3357
|
+
/**
|
|
3358
|
+
* Order resource ID
|
|
3359
|
+
*/
|
|
3360
|
+
orderId: string;
|
|
3361
|
+
/**
|
|
3362
|
+
* Filter by the mailbox resource ID the webhooks are attached to
|
|
3363
|
+
*/
|
|
3364
|
+
mailbox_id?: string;
|
|
3365
|
+
/**
|
|
3366
|
+
* Filter webhooks by status
|
|
3367
|
+
*/
|
|
3368
|
+
status?: string;
|
|
3369
|
+
/**
|
|
3370
|
+
* Page number
|
|
3371
|
+
*/
|
|
3372
|
+
page?: number;
|
|
3373
|
+
/**
|
|
3374
|
+
* Number of items per page
|
|
3375
|
+
*/
|
|
3376
|
+
per_page?: number;
|
|
3377
|
+
};
|
|
3378
|
+
response: any; // Response structure will depend on the API
|
|
3379
|
+
};
|
|
3380
|
+
|
|
3381
|
+
/**
|
|
3382
|
+
* Regenerate the secret of a webhook. The previous secret is
|
|
3383
|
+
immediately invalidated. The new secret is returned only in this
|
|
3384
|
+
response and is sent as a bearer token with every delivery.
|
|
3385
|
+
*/
|
|
3386
|
+
"mail_regenerateWebhookSecretV1": {
|
|
3387
|
+
params: {
|
|
3388
|
+
/**
|
|
3389
|
+
* Webhook ID (returned when the webhook was created)
|
|
3390
|
+
*/
|
|
3391
|
+
webhookId: string;
|
|
3392
|
+
};
|
|
3393
|
+
response: any; // Response structure will depend on the API
|
|
3394
|
+
};
|
|
3395
|
+
|
|
3396
|
+
/**
|
|
3397
|
+
* Send a test delivery to the webhook URL and return the result. Test
|
|
3398
|
+
requests are rate limited upstream.
|
|
3399
|
+
*/
|
|
3400
|
+
"mail_testWebhookV1": {
|
|
3401
|
+
params: {
|
|
3402
|
+
/**
|
|
3403
|
+
* Webhook ID (returned when the webhook was created)
|
|
3404
|
+
*/
|
|
3405
|
+
webhookId: string;
|
|
3406
|
+
};
|
|
3407
|
+
response: any; // Response structure will depend on the API
|
|
3408
|
+
};
|
|
3409
|
+
|
|
3258
3410
|
/**
|
|
3259
3411
|
* Delete a contact with the specified UUID.
|
|
3260
3412
|
|