hostinger-api-mcp 1.20.2 → 1.22.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 +78 -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 +290 -0
- package/src/core/tools/all.ts +290 -0
- package/src/core/tools/mail.js +290 -0
- package/src/core/tools/mail.ts +290 -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 +198 -0
package/src/core/tools/mail.ts
CHANGED
|
@@ -119,6 +119,296 @@ const tools: OpenApiTool[] = [
|
|
|
119
119
|
],
|
|
120
120
|
"group": "mail"
|
|
121
121
|
},
|
|
122
|
+
{
|
|
123
|
+
"name": "mail_createAutoreplyV1",
|
|
124
|
+
"description": "Create an automatic reply for the given mailbox. A mailbox can have\nonly one autoreply. Omit `starts_at` to activate the autoreply\nimmediately and omit `ends_at` to keep it active indefinitely.",
|
|
125
|
+
"method": "POST",
|
|
126
|
+
"path": "/api/mail/v1/mailboxes/{mailboxId}/autoreplies",
|
|
127
|
+
"inputSchema": {
|
|
128
|
+
"type": "object",
|
|
129
|
+
"properties": {
|
|
130
|
+
"mailboxId": {
|
|
131
|
+
"type": "string",
|
|
132
|
+
"description": "Mailbox resource ID"
|
|
133
|
+
},
|
|
134
|
+
"subject": {
|
|
135
|
+
"type": "string",
|
|
136
|
+
"description": "Subject of the automatic reply"
|
|
137
|
+
},
|
|
138
|
+
"body": {
|
|
139
|
+
"type": "string",
|
|
140
|
+
"description": "Body of the automatic reply"
|
|
141
|
+
},
|
|
142
|
+
"display_name": {
|
|
143
|
+
"type": "string",
|
|
144
|
+
"description": "Sender display name used for the reply"
|
|
145
|
+
},
|
|
146
|
+
"starts_at": {
|
|
147
|
+
"type": "string",
|
|
148
|
+
"description": "When the autoreply becomes active. Defaults to now."
|
|
149
|
+
},
|
|
150
|
+
"ends_at": {
|
|
151
|
+
"type": "string",
|
|
152
|
+
"description": "When the autoreply stops. Omit for an indefinite autoreply."
|
|
153
|
+
}
|
|
154
|
+
},
|
|
155
|
+
"required": [
|
|
156
|
+
"mailboxId",
|
|
157
|
+
"subject",
|
|
158
|
+
"body"
|
|
159
|
+
]
|
|
160
|
+
},
|
|
161
|
+
"security": [
|
|
162
|
+
{
|
|
163
|
+
"apiToken": []
|
|
164
|
+
}
|
|
165
|
+
],
|
|
166
|
+
"group": "mail"
|
|
167
|
+
},
|
|
168
|
+
{
|
|
169
|
+
"name": "mail_updateAutoreplyV1",
|
|
170
|
+
"description": "Replace the autoreply with the given content and schedule. Omitted\noptional fields are cleared: omit `starts_at` to activate the\nautoreply immediately and omit `ends_at` to keep it active\nindefinitely.",
|
|
171
|
+
"method": "PUT",
|
|
172
|
+
"path": "/api/mail/v1/autoreplies/{autoreplyId}",
|
|
173
|
+
"inputSchema": {
|
|
174
|
+
"type": "object",
|
|
175
|
+
"properties": {
|
|
176
|
+
"autoreplyId": {
|
|
177
|
+
"type": "string",
|
|
178
|
+
"description": "Autoreply resource ID"
|
|
179
|
+
},
|
|
180
|
+
"subject": {
|
|
181
|
+
"type": "string",
|
|
182
|
+
"description": "Subject of the automatic reply"
|
|
183
|
+
},
|
|
184
|
+
"body": {
|
|
185
|
+
"type": "string",
|
|
186
|
+
"description": "Body of the automatic reply"
|
|
187
|
+
},
|
|
188
|
+
"display_name": {
|
|
189
|
+
"type": "string",
|
|
190
|
+
"description": "Sender display name used for the reply"
|
|
191
|
+
},
|
|
192
|
+
"starts_at": {
|
|
193
|
+
"type": "string",
|
|
194
|
+
"description": "When the autoreply becomes active. Defaults to now."
|
|
195
|
+
},
|
|
196
|
+
"ends_at": {
|
|
197
|
+
"type": "string",
|
|
198
|
+
"description": "When the autoreply stops. Omit for an indefinite autoreply."
|
|
199
|
+
}
|
|
200
|
+
},
|
|
201
|
+
"required": [
|
|
202
|
+
"autoreplyId",
|
|
203
|
+
"subject",
|
|
204
|
+
"body"
|
|
205
|
+
]
|
|
206
|
+
},
|
|
207
|
+
"security": [
|
|
208
|
+
{
|
|
209
|
+
"apiToken": []
|
|
210
|
+
}
|
|
211
|
+
],
|
|
212
|
+
"group": "mail"
|
|
213
|
+
},
|
|
214
|
+
{
|
|
215
|
+
"name": "mail_deleteAutoreplyV1",
|
|
216
|
+
"description": "Delete the autoreply of a mailbox. The mailbox stops sending\nautomatic replies immediately.",
|
|
217
|
+
"method": "DELETE",
|
|
218
|
+
"path": "/api/mail/v1/autoreplies/{autoreplyId}",
|
|
219
|
+
"inputSchema": {
|
|
220
|
+
"type": "object",
|
|
221
|
+
"properties": {
|
|
222
|
+
"autoreplyId": {
|
|
223
|
+
"type": "string",
|
|
224
|
+
"description": "Autoreply resource ID"
|
|
225
|
+
}
|
|
226
|
+
},
|
|
227
|
+
"required": [
|
|
228
|
+
"autoreplyId"
|
|
229
|
+
]
|
|
230
|
+
},
|
|
231
|
+
"security": [
|
|
232
|
+
{
|
|
233
|
+
"apiToken": []
|
|
234
|
+
}
|
|
235
|
+
],
|
|
236
|
+
"group": "mail"
|
|
237
|
+
},
|
|
238
|
+
{
|
|
239
|
+
"name": "mail_listAutorepliesV1",
|
|
240
|
+
"description": "Retrieve a paginated list of autoreplies across all mailboxes of a\nmail order.",
|
|
241
|
+
"method": "GET",
|
|
242
|
+
"path": "/api/mail/v1/orders/{orderId}/autoreplies",
|
|
243
|
+
"inputSchema": {
|
|
244
|
+
"type": "object",
|
|
245
|
+
"properties": {
|
|
246
|
+
"orderId": {
|
|
247
|
+
"type": "string",
|
|
248
|
+
"description": "Order resource ID"
|
|
249
|
+
},
|
|
250
|
+
"page": {
|
|
251
|
+
"type": "integer",
|
|
252
|
+
"description": "Page number"
|
|
253
|
+
},
|
|
254
|
+
"per_page": {
|
|
255
|
+
"type": "integer",
|
|
256
|
+
"description": "Number of items per page"
|
|
257
|
+
}
|
|
258
|
+
},
|
|
259
|
+
"required": [
|
|
260
|
+
"orderId"
|
|
261
|
+
]
|
|
262
|
+
},
|
|
263
|
+
"security": [
|
|
264
|
+
{
|
|
265
|
+
"apiToken": []
|
|
266
|
+
}
|
|
267
|
+
],
|
|
268
|
+
"group": "mail"
|
|
269
|
+
},
|
|
270
|
+
{
|
|
271
|
+
"name": "mail_createForwarderV1",
|
|
272
|
+
"description": "Create a forwarder from the given mailbox to the destination address.\nThe destination receives a confirmation email and forwarding becomes\nactive only after it is confirmed.",
|
|
273
|
+
"method": "POST",
|
|
274
|
+
"path": "/api/mail/v1/mailboxes/{mailboxId}/forwarders",
|
|
275
|
+
"inputSchema": {
|
|
276
|
+
"type": "object",
|
|
277
|
+
"properties": {
|
|
278
|
+
"mailboxId": {
|
|
279
|
+
"type": "string",
|
|
280
|
+
"description": "Mailbox resource ID"
|
|
281
|
+
},
|
|
282
|
+
"destination": {
|
|
283
|
+
"type": "string",
|
|
284
|
+
"description": "Email address the messages will be forwarded to"
|
|
285
|
+
},
|
|
286
|
+
"is_keep_copy_enabled": {
|
|
287
|
+
"type": "boolean",
|
|
288
|
+
"description": "Whether to keep a copy of forwarded messages in the mailbox. Defaults to false."
|
|
289
|
+
}
|
|
290
|
+
},
|
|
291
|
+
"required": [
|
|
292
|
+
"mailboxId",
|
|
293
|
+
"destination"
|
|
294
|
+
]
|
|
295
|
+
},
|
|
296
|
+
"security": [
|
|
297
|
+
{
|
|
298
|
+
"apiToken": []
|
|
299
|
+
}
|
|
300
|
+
],
|
|
301
|
+
"group": "mail"
|
|
302
|
+
},
|
|
303
|
+
{
|
|
304
|
+
"name": "mail_deleteForwarderV1",
|
|
305
|
+
"description": "Delete a forwarder. The mailbox stops forwarding messages to the\ndestination address immediately.",
|
|
306
|
+
"method": "DELETE",
|
|
307
|
+
"path": "/api/mail/v1/forwarders/{forwarderId}",
|
|
308
|
+
"inputSchema": {
|
|
309
|
+
"type": "object",
|
|
310
|
+
"properties": {
|
|
311
|
+
"forwarderId": {
|
|
312
|
+
"type": "string",
|
|
313
|
+
"description": "Forwarder resource ID"
|
|
314
|
+
}
|
|
315
|
+
},
|
|
316
|
+
"required": [
|
|
317
|
+
"forwarderId"
|
|
318
|
+
]
|
|
319
|
+
},
|
|
320
|
+
"security": [
|
|
321
|
+
{
|
|
322
|
+
"apiToken": []
|
|
323
|
+
}
|
|
324
|
+
],
|
|
325
|
+
"group": "mail"
|
|
326
|
+
},
|
|
327
|
+
{
|
|
328
|
+
"name": "mail_listForwardersV1",
|
|
329
|
+
"description": "Retrieve a paginated list of forwarders across all mailboxes of a\nmail order.",
|
|
330
|
+
"method": "GET",
|
|
331
|
+
"path": "/api/mail/v1/orders/{orderId}/forwarders",
|
|
332
|
+
"inputSchema": {
|
|
333
|
+
"type": "object",
|
|
334
|
+
"properties": {
|
|
335
|
+
"orderId": {
|
|
336
|
+
"type": "string",
|
|
337
|
+
"description": "Order resource ID"
|
|
338
|
+
},
|
|
339
|
+
"page": {
|
|
340
|
+
"type": "integer",
|
|
341
|
+
"description": "Page number"
|
|
342
|
+
},
|
|
343
|
+
"per_page": {
|
|
344
|
+
"type": "integer",
|
|
345
|
+
"description": "Number of items per page"
|
|
346
|
+
}
|
|
347
|
+
},
|
|
348
|
+
"required": [
|
|
349
|
+
"orderId"
|
|
350
|
+
]
|
|
351
|
+
},
|
|
352
|
+
"security": [
|
|
353
|
+
{
|
|
354
|
+
"apiToken": []
|
|
355
|
+
}
|
|
356
|
+
],
|
|
357
|
+
"group": "mail"
|
|
358
|
+
},
|
|
359
|
+
{
|
|
360
|
+
"name": "mail_resendForwarderConfirmationV1",
|
|
361
|
+
"description": "Resend the confirmation email to the destination address of an\nunconfirmed forwarder.",
|
|
362
|
+
"method": "POST",
|
|
363
|
+
"path": "/api/mail/v1/forwarders/{forwarderId}/confirmation/resend",
|
|
364
|
+
"inputSchema": {
|
|
365
|
+
"type": "object",
|
|
366
|
+
"properties": {
|
|
367
|
+
"forwarderId": {
|
|
368
|
+
"type": "string",
|
|
369
|
+
"description": "Forwarder resource ID"
|
|
370
|
+
}
|
|
371
|
+
},
|
|
372
|
+
"required": [
|
|
373
|
+
"forwarderId"
|
|
374
|
+
]
|
|
375
|
+
},
|
|
376
|
+
"security": [
|
|
377
|
+
{
|
|
378
|
+
"apiToken": []
|
|
379
|
+
}
|
|
380
|
+
],
|
|
381
|
+
"group": "mail"
|
|
382
|
+
},
|
|
383
|
+
{
|
|
384
|
+
"name": "mail_updateForwarderKeepCopySettingV1",
|
|
385
|
+
"description": "Enable or disable keeping a copy of forwarded messages in the\nmailbox.",
|
|
386
|
+
"method": "PATCH",
|
|
387
|
+
"path": "/api/mail/v1/forwarders/{forwarderId}/keep-copy",
|
|
388
|
+
"inputSchema": {
|
|
389
|
+
"type": "object",
|
|
390
|
+
"properties": {
|
|
391
|
+
"forwarderId": {
|
|
392
|
+
"type": "string",
|
|
393
|
+
"description": "Forwarder resource ID"
|
|
394
|
+
},
|
|
395
|
+
"is_keep_copy_enabled": {
|
|
396
|
+
"type": "boolean",
|
|
397
|
+
"description": "Whether to keep a copy of forwarded messages in the mailbox"
|
|
398
|
+
}
|
|
399
|
+
},
|
|
400
|
+
"required": [
|
|
401
|
+
"forwarderId",
|
|
402
|
+
"is_keep_copy_enabled"
|
|
403
|
+
]
|
|
404
|
+
},
|
|
405
|
+
"security": [
|
|
406
|
+
{
|
|
407
|
+
"apiToken": []
|
|
408
|
+
}
|
|
409
|
+
],
|
|
410
|
+
"group": "mail"
|
|
411
|
+
},
|
|
122
412
|
{
|
|
123
413
|
"name": "mail_listAccessLogsV1",
|
|
124
414
|
"description": "Retrieve paginated access logs for the domain attached to the given\nmail order. Supports filtering by account, date range, protocol,\nstatus, and deletion flag. Results are sorted by timestamp descending.",
|
|
@@ -3,4 +3,4 @@
|
|
|
3
3
|
import { startServer } from '../core/runtime.js';
|
|
4
4
|
import tools from '../core/tools/agency-hosting.js';
|
|
5
5
|
|
|
6
|
-
startServer({ name: 'hostinger-agency-hosting-mcp', version: '1.
|
|
6
|
+
startServer({ name: 'hostinger-agency-hosting-mcp', version: '1.22.0', tools });
|
|
@@ -3,4 +3,4 @@
|
|
|
3
3
|
import { startServer } from '../core/runtime.js';
|
|
4
4
|
import tools from '../core/tools/agency-hosting.js';
|
|
5
5
|
|
|
6
|
-
startServer({ name: 'hostinger-agency-hosting-mcp', version: '1.
|
|
6
|
+
startServer({ name: 'hostinger-agency-hosting-mcp', version: '1.22.0', tools });
|
package/src/servers/all.js
CHANGED
package/src/servers/all.ts
CHANGED
package/src/servers/billing.js
CHANGED
package/src/servers/billing.ts
CHANGED
package/src/servers/dns.js
CHANGED
package/src/servers/dns.ts
CHANGED
package/src/servers/domains.js
CHANGED
package/src/servers/domains.ts
CHANGED
package/src/servers/ecommerce.js
CHANGED
package/src/servers/ecommerce.ts
CHANGED
package/src/servers/horizons.js
CHANGED
package/src/servers/horizons.ts
CHANGED
package/src/servers/hosting.js
CHANGED
package/src/servers/hosting.ts
CHANGED
package/src/servers/mail.js
CHANGED
package/src/servers/mail.ts
CHANGED
package/src/servers/reach.js
CHANGED
package/src/servers/reach.ts
CHANGED
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
|
@@ -2925,6 +2925,204 @@ are never included; they are returned only when a token is created.
|
|
|
2925
2925
|
response: any; // Response structure will depend on the API
|
|
2926
2926
|
};
|
|
2927
2927
|
|
|
2928
|
+
/**
|
|
2929
|
+
* Create an automatic reply for the given mailbox. A mailbox can have
|
|
2930
|
+
only one autoreply. Omit `starts_at` to activate the autoreply
|
|
2931
|
+
immediately and omit `ends_at` to keep it active indefinitely.
|
|
2932
|
+
*/
|
|
2933
|
+
"mail_createAutoreplyV1": {
|
|
2934
|
+
params: {
|
|
2935
|
+
/**
|
|
2936
|
+
* Mailbox resource ID
|
|
2937
|
+
*/
|
|
2938
|
+
mailboxId: string;
|
|
2939
|
+
/**
|
|
2940
|
+
* Subject of the automatic reply
|
|
2941
|
+
*/
|
|
2942
|
+
subject: string;
|
|
2943
|
+
/**
|
|
2944
|
+
* Body of the automatic reply
|
|
2945
|
+
*/
|
|
2946
|
+
body: string;
|
|
2947
|
+
/**
|
|
2948
|
+
* Sender display name used for the reply
|
|
2949
|
+
*/
|
|
2950
|
+
display_name?: string;
|
|
2951
|
+
/**
|
|
2952
|
+
* When the autoreply becomes active. Defaults to now.
|
|
2953
|
+
*/
|
|
2954
|
+
starts_at?: string;
|
|
2955
|
+
/**
|
|
2956
|
+
* When the autoreply stops. Omit for an indefinite autoreply.
|
|
2957
|
+
*/
|
|
2958
|
+
ends_at?: string;
|
|
2959
|
+
};
|
|
2960
|
+
response: any; // Response structure will depend on the API
|
|
2961
|
+
};
|
|
2962
|
+
|
|
2963
|
+
/**
|
|
2964
|
+
* Replace the autoreply with the given content and schedule. Omitted
|
|
2965
|
+
optional fields are cleared: omit `starts_at` to activate the
|
|
2966
|
+
autoreply immediately and omit `ends_at` to keep it active
|
|
2967
|
+
indefinitely.
|
|
2968
|
+
*/
|
|
2969
|
+
"mail_updateAutoreplyV1": {
|
|
2970
|
+
params: {
|
|
2971
|
+
/**
|
|
2972
|
+
* Autoreply resource ID
|
|
2973
|
+
*/
|
|
2974
|
+
autoreplyId: string;
|
|
2975
|
+
/**
|
|
2976
|
+
* Subject of the automatic reply
|
|
2977
|
+
*/
|
|
2978
|
+
subject: string;
|
|
2979
|
+
/**
|
|
2980
|
+
* Body of the automatic reply
|
|
2981
|
+
*/
|
|
2982
|
+
body: string;
|
|
2983
|
+
/**
|
|
2984
|
+
* Sender display name used for the reply
|
|
2985
|
+
*/
|
|
2986
|
+
display_name?: string;
|
|
2987
|
+
/**
|
|
2988
|
+
* When the autoreply becomes active. Defaults to now.
|
|
2989
|
+
*/
|
|
2990
|
+
starts_at?: string;
|
|
2991
|
+
/**
|
|
2992
|
+
* When the autoreply stops. Omit for an indefinite autoreply.
|
|
2993
|
+
*/
|
|
2994
|
+
ends_at?: string;
|
|
2995
|
+
};
|
|
2996
|
+
response: any; // Response structure will depend on the API
|
|
2997
|
+
};
|
|
2998
|
+
|
|
2999
|
+
/**
|
|
3000
|
+
* Delete the autoreply of a mailbox. The mailbox stops sending
|
|
3001
|
+
automatic replies immediately.
|
|
3002
|
+
*/
|
|
3003
|
+
"mail_deleteAutoreplyV1": {
|
|
3004
|
+
params: {
|
|
3005
|
+
/**
|
|
3006
|
+
* Autoreply resource ID
|
|
3007
|
+
*/
|
|
3008
|
+
autoreplyId: string;
|
|
3009
|
+
};
|
|
3010
|
+
response: any; // Response structure will depend on the API
|
|
3011
|
+
};
|
|
3012
|
+
|
|
3013
|
+
/**
|
|
3014
|
+
* Retrieve a paginated list of autoreplies across all mailboxes of a
|
|
3015
|
+
mail order.
|
|
3016
|
+
*/
|
|
3017
|
+
"mail_listAutorepliesV1": {
|
|
3018
|
+
params: {
|
|
3019
|
+
/**
|
|
3020
|
+
* Order resource ID
|
|
3021
|
+
*/
|
|
3022
|
+
orderId: string;
|
|
3023
|
+
/**
|
|
3024
|
+
* Page number
|
|
3025
|
+
*/
|
|
3026
|
+
page?: number;
|
|
3027
|
+
/**
|
|
3028
|
+
* Number of items per page
|
|
3029
|
+
*/
|
|
3030
|
+
per_page?: number;
|
|
3031
|
+
};
|
|
3032
|
+
response: any; // Response structure will depend on the API
|
|
3033
|
+
};
|
|
3034
|
+
|
|
3035
|
+
/**
|
|
3036
|
+
* Create a forwarder from the given mailbox to the destination address.
|
|
3037
|
+
The destination receives a confirmation email and forwarding becomes
|
|
3038
|
+
active only after it is confirmed.
|
|
3039
|
+
*/
|
|
3040
|
+
"mail_createForwarderV1": {
|
|
3041
|
+
params: {
|
|
3042
|
+
/**
|
|
3043
|
+
* Mailbox resource ID
|
|
3044
|
+
*/
|
|
3045
|
+
mailboxId: string;
|
|
3046
|
+
/**
|
|
3047
|
+
* Email address the messages will be forwarded to
|
|
3048
|
+
*/
|
|
3049
|
+
destination: string;
|
|
3050
|
+
/**
|
|
3051
|
+
* Whether to keep a copy of forwarded messages in the mailbox. Defaults to false.
|
|
3052
|
+
*/
|
|
3053
|
+
is_keep_copy_enabled?: boolean;
|
|
3054
|
+
};
|
|
3055
|
+
response: any; // Response structure will depend on the API
|
|
3056
|
+
};
|
|
3057
|
+
|
|
3058
|
+
/**
|
|
3059
|
+
* Delete a forwarder. The mailbox stops forwarding messages to the
|
|
3060
|
+
destination address immediately.
|
|
3061
|
+
*/
|
|
3062
|
+
"mail_deleteForwarderV1": {
|
|
3063
|
+
params: {
|
|
3064
|
+
/**
|
|
3065
|
+
* Forwarder resource ID
|
|
3066
|
+
*/
|
|
3067
|
+
forwarderId: string;
|
|
3068
|
+
};
|
|
3069
|
+
response: any; // Response structure will depend on the API
|
|
3070
|
+
};
|
|
3071
|
+
|
|
3072
|
+
/**
|
|
3073
|
+
* Retrieve a paginated list of forwarders across all mailboxes of a
|
|
3074
|
+
mail order.
|
|
3075
|
+
*/
|
|
3076
|
+
"mail_listForwardersV1": {
|
|
3077
|
+
params: {
|
|
3078
|
+
/**
|
|
3079
|
+
* Order resource ID
|
|
3080
|
+
*/
|
|
3081
|
+
orderId: string;
|
|
3082
|
+
/**
|
|
3083
|
+
* Page number
|
|
3084
|
+
*/
|
|
3085
|
+
page?: number;
|
|
3086
|
+
/**
|
|
3087
|
+
* Number of items per page
|
|
3088
|
+
*/
|
|
3089
|
+
per_page?: number;
|
|
3090
|
+
};
|
|
3091
|
+
response: any; // Response structure will depend on the API
|
|
3092
|
+
};
|
|
3093
|
+
|
|
3094
|
+
/**
|
|
3095
|
+
* Resend the confirmation email to the destination address of an
|
|
3096
|
+
unconfirmed forwarder.
|
|
3097
|
+
*/
|
|
3098
|
+
"mail_resendForwarderConfirmationV1": {
|
|
3099
|
+
params: {
|
|
3100
|
+
/**
|
|
3101
|
+
* Forwarder resource ID
|
|
3102
|
+
*/
|
|
3103
|
+
forwarderId: string;
|
|
3104
|
+
};
|
|
3105
|
+
response: any; // Response structure will depend on the API
|
|
3106
|
+
};
|
|
3107
|
+
|
|
3108
|
+
/**
|
|
3109
|
+
* Enable or disable keeping a copy of forwarded messages in the
|
|
3110
|
+
mailbox.
|
|
3111
|
+
*/
|
|
3112
|
+
"mail_updateForwarderKeepCopySettingV1": {
|
|
3113
|
+
params: {
|
|
3114
|
+
/**
|
|
3115
|
+
* Forwarder resource ID
|
|
3116
|
+
*/
|
|
3117
|
+
forwarderId: string;
|
|
3118
|
+
/**
|
|
3119
|
+
* Whether to keep a copy of forwarded messages in the mailbox
|
|
3120
|
+
*/
|
|
3121
|
+
is_keep_copy_enabled: boolean;
|
|
3122
|
+
};
|
|
3123
|
+
response: any; // Response structure will depend on the API
|
|
3124
|
+
};
|
|
3125
|
+
|
|
2928
3126
|
/**
|
|
2929
3127
|
* Retrieve paginated access logs for the domain attached to the given
|
|
2930
3128
|
mail order. Supports filtering by account, date range, protocol,
|