hostinger-api-mcp 1.49.0 → 1.51.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 +13 -2
- package/gemini-extension.json +1 -1
- package/package.json +1 -1
- package/server.json +2 -2
- package/src/core/runtime.js +3 -1
- package/src/core/runtime.ts +3 -1
- package/src/core/tools/agency-hosting.js +239 -0
- package/src/core/tools/agency-hosting.ts +239 -0
- package/src/core/tools/all.js +2367 -0
- package/src/core/tools/all.ts +2367 -0
- package/src/core/tools/billing.js +57 -0
- package/src/core/tools/billing.ts +57 -0
- package/src/core/tools/dns.js +50 -0
- package/src/core/tools/dns.ts +50 -0
- package/src/core/tools/domains.js +255 -0
- package/src/core/tools/domains.ts +255 -0
- package/src/core/tools/ecommerce.js +180 -0
- package/src/core/tools/ecommerce.ts +180 -0
- package/src/core/tools/horizons.js +12 -0
- package/src/core/tools/horizons.ts +12 -0
- package/src/core/tools/hosting.js +365 -0
- package/src/core/tools/hosting.ts +365 -0
- package/src/core/tools/mail.js +239 -0
- package/src/core/tools/mail.ts +239 -0
- package/src/core/tools/reach.js +306 -0
- package/src/core/tools/reach.ts +306 -0
- package/src/core/tools/vps.js +432 -0
- package/src/core/tools/vps.ts +432 -0
- package/src/core/tools/wordpress.js +232 -0
- package/src/core/tools/wordpress.ts +232 -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 +25 -0
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
|
@@ -6906,6 +6906,31 @@ Use this endpoint to remove specific firewall rules.
|
|
|
6906
6906
|
response: any; // Response structure will depend on the API
|
|
6907
6907
|
};
|
|
6908
6908
|
|
|
6909
|
+
/**
|
|
6910
|
+
* Replaces all firewall rules within a specified firewall group with the provided set of rules
|
|
6911
|
+
in a single atomic operation, instead of creating or deleting rules one by one.
|
|
6912
|
+
|
|
6913
|
+
Any virtual machine using this firewall group will need to be synchronized after replacing rules;
|
|
6914
|
+
pass the "sync" query parameter to trigger synchronization immediately.
|
|
6915
|
+
*/
|
|
6916
|
+
"VPS_replaceAllFirewallRulesInGroupV1": {
|
|
6917
|
+
params: {
|
|
6918
|
+
/**
|
|
6919
|
+
* Firewall ID
|
|
6920
|
+
*/
|
|
6921
|
+
firewallId: number;
|
|
6922
|
+
/**
|
|
6923
|
+
* Synchronize the firewall group to all its virtual machines after replacing the rules
|
|
6924
|
+
*/
|
|
6925
|
+
sync?: boolean;
|
|
6926
|
+
/**
|
|
6927
|
+
* The complete set of firewall rules that atomically replaces all existing rules in the group
|
|
6928
|
+
*/
|
|
6929
|
+
rules: array;
|
|
6930
|
+
};
|
|
6931
|
+
response: any; // Response structure will depend on the API
|
|
6932
|
+
};
|
|
6933
|
+
|
|
6909
6934
|
/**
|
|
6910
6935
|
* Create new firewall rule for a specified firewall.
|
|
6911
6936
|
|