hostinger-api-mcp 1.22.0 → 1.23.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/types.d.ts CHANGED
@@ -2071,7 +2071,7 @@ The database name must be the full name returned by the list databases endpoint.
2071
2071
  Provide an IPv4/IPv6 address, or "%" to allow any host. The database name must be
2072
2072
  the full name returned by the list databases endpoint.
2073
2073
  */
2074
- "hosting_createAccountDatabaseRemoteConnectionV1": {
2074
+ "hosting_createDatabaseRemoteConnectionV1": {
2075
2075
  params: {
2076
2076
  /**
2077
2077
  * username parameter
@@ -2096,7 +2096,7 @@ Identify the rule with the required ip query parameter (the IPv4/IPv6 address, o
2096
2096
  exactly as returned by the list remote connections endpoint). The database name must be
2097
2097
  the full name returned by the list databases endpoint.
2098
2098
  */
2099
- "hosting_deleteAccountDatabaseRemoteConnectionV1": {
2099
+ "hosting_deleteDatabaseRemoteConnectionV1": {
2100
2100
  params: {
2101
2101
  /**
2102
2102
  * username parameter
@@ -2121,7 +2121,7 @@ exactly as returned by the list remote connections endpoint.
2121
2121
 
2122
2122
  Use the domain filter to only return rules for databases assigned to a specific domain.
2123
2123
  */
2124
- "hosting_listAccountDatabaseRemoteConnectionsV1": {
2124
+ "hosting_listDatabaseRemoteConnectionsV1": {
2125
2125
  params: {
2126
2126
  /**
2127
2127
  * username parameter
@@ -2858,6 +2858,61 @@ complete. The response returns before the removal finishes.
2858
2858
  response: any; // Response structure will depend on the API
2859
2859
  };
2860
2860
 
2861
+ /**
2862
+ * Create an alias for the given mailbox. The alias address is formed
2863
+ from the given local part and the domain of the mailbox. Messages
2864
+ sent to the alias are delivered to the mailbox.
2865
+ */
2866
+ "mail_createAliasV1": {
2867
+ params: {
2868
+ /**
2869
+ * Mailbox resource ID
2870
+ */
2871
+ mailboxId: string;
2872
+ /**
2873
+ * Local part of the alias address (the part before the @). The domain is taken from the mailbox. Case-insensitive and stored lowercase; must start and end with a letter or digit; single dots, underscores and hyphens are allowed in between.
2874
+ */
2875
+ local_part: string;
2876
+ };
2877
+ response: any; // Response structure will depend on the API
2878
+ };
2879
+
2880
+ /**
2881
+ * Delete an alias. Messages sent to the alias address are no longer
2882
+ delivered to the mailbox.
2883
+ */
2884
+ "mail_deleteAliasV1": {
2885
+ params: {
2886
+ /**
2887
+ * Alias resource ID
2888
+ */
2889
+ aliasId: string;
2890
+ };
2891
+ response: any; // Response structure will depend on the API
2892
+ };
2893
+
2894
+ /**
2895
+ * Retrieve a paginated list of aliases across all mailboxes of a mail
2896
+ order.
2897
+ */
2898
+ "mail_listAliasesV1": {
2899
+ params: {
2900
+ /**
2901
+ * Order resource ID
2902
+ */
2903
+ orderId: string;
2904
+ /**
2905
+ * Page number
2906
+ */
2907
+ page?: number;
2908
+ /**
2909
+ * Number of items per page
2910
+ */
2911
+ per_page?: number;
2912
+ };
2913
+ response: any; // Response structure will depend on the API
2914
+ };
2915
+
2861
2916
  /**
2862
2917
  * Create an API token for the given mail order. The token grants access
2863
2918
  to the [Hostinger Email API](https://api.mail.hostinger.com/), where
@@ -3032,6 +3087,72 @@ mail order.
3032
3087
  response: any; // Response structure will depend on the API
3033
3088
  };
3034
3089
 
3090
+ /**
3091
+ * Create a catch-all that routes all messages sent to unknown addresses
3092
+ of the domain to the given mailbox. The mailbox address receives a
3093
+ confirmation email and the catch-all becomes active only after it is
3094
+ confirmed. A domain can have only one catch-all.
3095
+ */
3096
+ "mail_createCatchAllV1": {
3097
+ params: {
3098
+ /**
3099
+ * Mailbox resource ID
3100
+ */
3101
+ mailboxId: string;
3102
+ };
3103
+ response: any; // Response structure will depend on the API
3104
+ };
3105
+
3106
+ /**
3107
+ * Delete a catch-all. Messages sent to unknown addresses of the domain
3108
+ are no longer routed to the mailbox.
3109
+ */
3110
+ "mail_deleteCatchAllV1": {
3111
+ params: {
3112
+ /**
3113
+ * Catch-all resource ID
3114
+ */
3115
+ catchallId: string;
3116
+ };
3117
+ response: any; // Response structure will depend on the API
3118
+ };
3119
+
3120
+ /**
3121
+ * Retrieve a paginated list of catch-alls across all mailboxes of a
3122
+ mail order.
3123
+ */
3124
+ "mail_listCatchAllsV1": {
3125
+ params: {
3126
+ /**
3127
+ * Order resource ID
3128
+ */
3129
+ orderId: string;
3130
+ /**
3131
+ * Page number
3132
+ */
3133
+ page?: number;
3134
+ /**
3135
+ * Number of items per page
3136
+ */
3137
+ per_page?: number;
3138
+ };
3139
+ response: any; // Response structure will depend on the API
3140
+ };
3141
+
3142
+ /**
3143
+ * Resend the confirmation email to the mailbox address of an
3144
+ unconfirmed catch-all.
3145
+ */
3146
+ "mail_resendCatchAllConfirmationV1": {
3147
+ params: {
3148
+ /**
3149
+ * Catch-all resource ID
3150
+ */
3151
+ catchallId: string;
3152
+ };
3153
+ response: any; // Response structure will depend on the API
3154
+ };
3155
+
3035
3156
  /**
3036
3157
  * Create a forwarder from the given mailbox to the destination address.
3037
3158
  The destination receives a confirmation email and forwarding becomes