hostinger-api-mcp 1.14.1 → 1.16.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 +52 -4
- 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 +317 -2
- package/src/core/tools/all.ts +317 -2
- package/src/core/tools/mail.js +317 -2
- package/src/core/tools/mail.ts +317 -2
- 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 +244 -2
package/types.d.ts
CHANGED
|
@@ -2841,6 +2841,248 @@ complete. The response returns before the removal finishes.
|
|
|
2841
2841
|
response: any; // Response structure will depend on the API
|
|
2842
2842
|
};
|
|
2843
2843
|
|
|
2844
|
+
/**
|
|
2845
|
+
* Retrieve paginated access logs for the domain attached to the given
|
|
2846
|
+
mail order. Supports filtering by account, date range, protocol,
|
|
2847
|
+
status, and deletion flag. Results are sorted by timestamp descending.
|
|
2848
|
+
*/
|
|
2849
|
+
"mail_listAccessLogsV1": {
|
|
2850
|
+
params: {
|
|
2851
|
+
/**
|
|
2852
|
+
* Order resource ID
|
|
2853
|
+
*/
|
|
2854
|
+
orderId: string;
|
|
2855
|
+
/**
|
|
2856
|
+
* Filter log entries by a specific email account
|
|
2857
|
+
*/
|
|
2858
|
+
account?: string;
|
|
2859
|
+
/**
|
|
2860
|
+
* Exact date filter (YYYY-MM-DD). Takes precedence over `from_date`/`to_date` when both are given.
|
|
2861
|
+
*/
|
|
2862
|
+
date?: string;
|
|
2863
|
+
/**
|
|
2864
|
+
* Date range start (RFC 3339)
|
|
2865
|
+
*/
|
|
2866
|
+
from_date?: string;
|
|
2867
|
+
/**
|
|
2868
|
+
* Date range end (RFC 3339)
|
|
2869
|
+
*/
|
|
2870
|
+
to_date?: string;
|
|
2871
|
+
/**
|
|
2872
|
+
* Filter log entries by status
|
|
2873
|
+
*/
|
|
2874
|
+
status?: string;
|
|
2875
|
+
/**
|
|
2876
|
+
* Filter access log entries by protocol
|
|
2877
|
+
*/
|
|
2878
|
+
protocol?: string;
|
|
2879
|
+
/**
|
|
2880
|
+
* Filter access log entries by whether the session had deletions
|
|
2881
|
+
*/
|
|
2882
|
+
has_deletions?: boolean;
|
|
2883
|
+
/**
|
|
2884
|
+
* Page number
|
|
2885
|
+
*/
|
|
2886
|
+
page?: number;
|
|
2887
|
+
/**
|
|
2888
|
+
* Number of items per page
|
|
2889
|
+
*/
|
|
2890
|
+
per_page?: number;
|
|
2891
|
+
};
|
|
2892
|
+
response: any; // Response structure will depend on the API
|
|
2893
|
+
};
|
|
2894
|
+
|
|
2895
|
+
/**
|
|
2896
|
+
* Retrieve paginated account action logs (administrative and user
|
|
2897
|
+
actions) for the given mail order. Supports filtering by account,
|
|
2898
|
+
date range, and status. Results are sorted by timestamp descending.
|
|
2899
|
+
*/
|
|
2900
|
+
"mail_listActionLogsV1": {
|
|
2901
|
+
params: {
|
|
2902
|
+
/**
|
|
2903
|
+
* Order resource ID
|
|
2904
|
+
*/
|
|
2905
|
+
orderId: string;
|
|
2906
|
+
/**
|
|
2907
|
+
* Filter log entries by a specific email account
|
|
2908
|
+
*/
|
|
2909
|
+
account?: string;
|
|
2910
|
+
/**
|
|
2911
|
+
* Exact date filter (YYYY-MM-DD). Takes precedence over `from_date`/`to_date` when both are given.
|
|
2912
|
+
*/
|
|
2913
|
+
date?: string;
|
|
2914
|
+
/**
|
|
2915
|
+
* Date range start (RFC 3339)
|
|
2916
|
+
*/
|
|
2917
|
+
from_date?: string;
|
|
2918
|
+
/**
|
|
2919
|
+
* Date range end (RFC 3339)
|
|
2920
|
+
*/
|
|
2921
|
+
to_date?: string;
|
|
2922
|
+
/**
|
|
2923
|
+
* Filter log entries by status
|
|
2924
|
+
*/
|
|
2925
|
+
status?: string;
|
|
2926
|
+
/**
|
|
2927
|
+
* Page number
|
|
2928
|
+
*/
|
|
2929
|
+
page?: number;
|
|
2930
|
+
/**
|
|
2931
|
+
* Number of items per page
|
|
2932
|
+
*/
|
|
2933
|
+
per_page?: number;
|
|
2934
|
+
};
|
|
2935
|
+
response: any; // Response structure will depend on the API
|
|
2936
|
+
};
|
|
2937
|
+
|
|
2938
|
+
/**
|
|
2939
|
+
* Retrieve paginated inbound (received mail) delivery logs for the
|
|
2940
|
+
domain attached to the given mail order. Supports filtering by
|
|
2941
|
+
account, date range, status, sender, and recipient. Results are
|
|
2942
|
+
sorted by timestamp descending.
|
|
2943
|
+
*/
|
|
2944
|
+
"mail_listInboundLogsV1": {
|
|
2945
|
+
params: {
|
|
2946
|
+
/**
|
|
2947
|
+
* Order resource ID
|
|
2948
|
+
*/
|
|
2949
|
+
orderId: string;
|
|
2950
|
+
/**
|
|
2951
|
+
* Filter log entries by a specific email account
|
|
2952
|
+
*/
|
|
2953
|
+
account?: string;
|
|
2954
|
+
/**
|
|
2955
|
+
* Exact date filter (YYYY-MM-DD). Takes precedence over `from_date`/`to_date` when both are given.
|
|
2956
|
+
*/
|
|
2957
|
+
date?: string;
|
|
2958
|
+
/**
|
|
2959
|
+
* Date range start (RFC 3339)
|
|
2960
|
+
*/
|
|
2961
|
+
from_date?: string;
|
|
2962
|
+
/**
|
|
2963
|
+
* Date range end (RFC 3339)
|
|
2964
|
+
*/
|
|
2965
|
+
to_date?: string;
|
|
2966
|
+
/**
|
|
2967
|
+
* Filter log entries by status
|
|
2968
|
+
*/
|
|
2969
|
+
status?: string;
|
|
2970
|
+
/**
|
|
2971
|
+
* Filter log entries by sender. Accepts a full email address or a domain.
|
|
2972
|
+
*/
|
|
2973
|
+
sender?: string;
|
|
2974
|
+
/**
|
|
2975
|
+
* Filter log entries by recipient. Accepts a full email address or a domain.
|
|
2976
|
+
*/
|
|
2977
|
+
recipient?: string;
|
|
2978
|
+
/**
|
|
2979
|
+
* Page number
|
|
2980
|
+
*/
|
|
2981
|
+
page?: number;
|
|
2982
|
+
/**
|
|
2983
|
+
* Number of items per page
|
|
2984
|
+
*/
|
|
2985
|
+
per_page?: number;
|
|
2986
|
+
};
|
|
2987
|
+
response: any; // Response structure will depend on the API
|
|
2988
|
+
};
|
|
2989
|
+
|
|
2990
|
+
/**
|
|
2991
|
+
* Retrieve paginated mailbox action logs (message and mailbox events)
|
|
2992
|
+
for a mailbox in the given mail order. The mailbox email must belong
|
|
2993
|
+
to the order's domain. Supports date range and event type filters.
|
|
2994
|
+
Results are sorted by timestamp descending.
|
|
2995
|
+
*/
|
|
2996
|
+
"mail_listMailboxActionLogsV1": {
|
|
2997
|
+
params: {
|
|
2998
|
+
/**
|
|
2999
|
+
* Order resource ID
|
|
3000
|
+
*/
|
|
3001
|
+
orderId: string;
|
|
3002
|
+
/**
|
|
3003
|
+
* Mailbox email address. Must belong to the order's domain.
|
|
3004
|
+
*/
|
|
3005
|
+
email: string;
|
|
3006
|
+
/**
|
|
3007
|
+
* Exact date filter (YYYY-MM-DD). Takes precedence over `from_date`/`to_date` when both are given.
|
|
3008
|
+
*/
|
|
3009
|
+
date?: string;
|
|
3010
|
+
/**
|
|
3011
|
+
* Date range start (RFC 3339)
|
|
3012
|
+
*/
|
|
3013
|
+
from_date?: string;
|
|
3014
|
+
/**
|
|
3015
|
+
* Date range end (RFC 3339)
|
|
3016
|
+
*/
|
|
3017
|
+
to_date?: string;
|
|
3018
|
+
/**
|
|
3019
|
+
* Filter mailbox action log entries by event type
|
|
3020
|
+
*/
|
|
3021
|
+
event?: string;
|
|
3022
|
+
/**
|
|
3023
|
+
* Page number
|
|
3024
|
+
*/
|
|
3025
|
+
page?: number;
|
|
3026
|
+
/**
|
|
3027
|
+
* Number of items per page
|
|
3028
|
+
*/
|
|
3029
|
+
per_page?: number;
|
|
3030
|
+
};
|
|
3031
|
+
response: any; // Response structure will depend on the API
|
|
3032
|
+
};
|
|
3033
|
+
|
|
3034
|
+
/**
|
|
3035
|
+
* Retrieve paginated outbound (sent mail) delivery logs for the domain
|
|
3036
|
+
attached to the given mail order. Supports filtering by account, date
|
|
3037
|
+
range, status, sender, and recipient. Results are sorted by timestamp
|
|
3038
|
+
descending.
|
|
3039
|
+
*/
|
|
3040
|
+
"mail_listOutboundLogsV1": {
|
|
3041
|
+
params: {
|
|
3042
|
+
/**
|
|
3043
|
+
* Order resource ID
|
|
3044
|
+
*/
|
|
3045
|
+
orderId: string;
|
|
3046
|
+
/**
|
|
3047
|
+
* Filter log entries by a specific email account
|
|
3048
|
+
*/
|
|
3049
|
+
account?: string;
|
|
3050
|
+
/**
|
|
3051
|
+
* Exact date filter (YYYY-MM-DD). Takes precedence over `from_date`/`to_date` when both are given.
|
|
3052
|
+
*/
|
|
3053
|
+
date?: string;
|
|
3054
|
+
/**
|
|
3055
|
+
* Date range start (RFC 3339)
|
|
3056
|
+
*/
|
|
3057
|
+
from_date?: string;
|
|
3058
|
+
/**
|
|
3059
|
+
* Date range end (RFC 3339)
|
|
3060
|
+
*/
|
|
3061
|
+
to_date?: string;
|
|
3062
|
+
/**
|
|
3063
|
+
* Filter log entries by status
|
|
3064
|
+
*/
|
|
3065
|
+
status?: string;
|
|
3066
|
+
/**
|
|
3067
|
+
* Filter log entries by sender. Accepts a full email address or a domain.
|
|
3068
|
+
*/
|
|
3069
|
+
sender?: string;
|
|
3070
|
+
/**
|
|
3071
|
+
* Filter log entries by recipient. Accepts a full email address or a domain.
|
|
3072
|
+
*/
|
|
3073
|
+
recipient?: string;
|
|
3074
|
+
/**
|
|
3075
|
+
* Page number
|
|
3076
|
+
*/
|
|
3077
|
+
page?: number;
|
|
3078
|
+
/**
|
|
3079
|
+
* Number of items per page
|
|
3080
|
+
*/
|
|
3081
|
+
per_page?: number;
|
|
3082
|
+
};
|
|
3083
|
+
response: any; // Response structure will depend on the API
|
|
3084
|
+
};
|
|
3085
|
+
|
|
2844
3086
|
/**
|
|
2845
3087
|
* Retrieve a paginated list of mailboxes belonging to a mail order.
|
|
2846
3088
|
|
|
@@ -2848,7 +3090,7 @@ Use this endpoint to monitor mailboxes of your mail service, including
|
|
|
2848
3090
|
their status, enabled protocols, attached resource counts, and
|
|
2849
3091
|
periodically synced usage numbers (usage may lag behind live values).
|
|
2850
3092
|
*/
|
|
2851
|
-
"
|
|
3093
|
+
"mail_listMailboxesV1": {
|
|
2852
3094
|
params: {
|
|
2853
3095
|
/**
|
|
2854
3096
|
* Order resource ID
|
|
@@ -2933,7 +3175,7 @@ for a limited period before it is permanently removed.
|
|
|
2933
3175
|
Use this endpoint to monitor your mail services, including their status,
|
|
2934
3176
|
plan, attached domain, and expiration details.
|
|
2935
3177
|
*/
|
|
2936
|
-
"
|
|
3178
|
+
"mail_listOrdersV1": {
|
|
2937
3179
|
params: {
|
|
2938
3180
|
/**
|
|
2939
3181
|
* Filter orders by domain name (exact match)
|