UNPKG

msexchange-mcp

Version:

MCP server for Microsoft Exchange/Outlook email operations via Microsoft Graph API

135 lines 5.73 kB
import { z } from 'zod'; export declare const modifyMailRuleTool: { name: string; description: string; parameters: z.ZodObject<{ user_id: z.ZodString; rule_id: z.ZodString; rule_name: z.ZodOptional<z.ZodString>; conditions: z.ZodOptional<z.ZodObject<{ from_addresses: z.ZodOptional<z.ZodArray<z.ZodString, "many">>; subject_contains: z.ZodOptional<z.ZodArray<z.ZodString, "many">>; body_contains: z.ZodOptional<z.ZodArray<z.ZodString, "many">>; to_me: z.ZodOptional<z.ZodBoolean>; cc_me: z.ZodOptional<z.ZodBoolean>; sent_to: z.ZodOptional<z.ZodArray<z.ZodString, "many">>; importance: z.ZodOptional<z.ZodEnum<["low", "normal", "high"]>>; has_attachments: z.ZodOptional<z.ZodBoolean>; }, "strip", z.ZodTypeAny, { importance?: "low" | "normal" | "high" | undefined; from_addresses?: string[] | undefined; subject_contains?: string[] | undefined; body_contains?: string[] | undefined; to_me?: boolean | undefined; cc_me?: boolean | undefined; sent_to?: string[] | undefined; has_attachments?: boolean | undefined; }, { importance?: "low" | "normal" | "high" | undefined; from_addresses?: string[] | undefined; subject_contains?: string[] | undefined; body_contains?: string[] | undefined; to_me?: boolean | undefined; cc_me?: boolean | undefined; sent_to?: string[] | undefined; has_attachments?: boolean | undefined; }>>; actions: z.ZodOptional<z.ZodObject<{ move_to_folder: z.ZodOptional<z.ZodString>; copy_to_folder: z.ZodOptional<z.ZodString>; add_categories: z.ZodOptional<z.ZodArray<z.ZodString, "many">>; mark_as_read: z.ZodOptional<z.ZodBoolean>; mark_importance: z.ZodOptional<z.ZodEnum<["low", "normal", "high"]>>; forward_to: z.ZodOptional<z.ZodString>; delete_message: z.ZodOptional<z.ZodBoolean>; stop_processing: z.ZodOptional<z.ZodBoolean>; }, "strip", z.ZodTypeAny, { move_to_folder?: string | undefined; copy_to_folder?: string | undefined; add_categories?: string[] | undefined; mark_as_read?: boolean | undefined; mark_importance?: "low" | "normal" | "high" | undefined; forward_to?: string | undefined; delete_message?: boolean | undefined; stop_processing?: boolean | undefined; }, { move_to_folder?: string | undefined; copy_to_folder?: string | undefined; add_categories?: string[] | undefined; mark_as_read?: boolean | undefined; mark_importance?: "low" | "normal" | "high" | undefined; forward_to?: string | undefined; delete_message?: boolean | undefined; stop_processing?: boolean | undefined; }>>; enabled: z.ZodOptional<z.ZodBoolean>; sequence: z.ZodOptional<z.ZodNumber>; }, "strip", z.ZodTypeAny, { user_id: string; rule_id: string; enabled?: boolean | undefined; rule_name?: string | undefined; conditions?: { importance?: "low" | "normal" | "high" | undefined; from_addresses?: string[] | undefined; subject_contains?: string[] | undefined; body_contains?: string[] | undefined; to_me?: boolean | undefined; cc_me?: boolean | undefined; sent_to?: string[] | undefined; has_attachments?: boolean | undefined; } | undefined; actions?: { move_to_folder?: string | undefined; copy_to_folder?: string | undefined; add_categories?: string[] | undefined; mark_as_read?: boolean | undefined; mark_importance?: "low" | "normal" | "high" | undefined; forward_to?: string | undefined; delete_message?: boolean | undefined; stop_processing?: boolean | undefined; } | undefined; sequence?: number | undefined; }, { user_id: string; rule_id: string; enabled?: boolean | undefined; rule_name?: string | undefined; conditions?: { importance?: "low" | "normal" | "high" | undefined; from_addresses?: string[] | undefined; subject_contains?: string[] | undefined; body_contains?: string[] | undefined; to_me?: boolean | undefined; cc_me?: boolean | undefined; sent_to?: string[] | undefined; has_attachments?: boolean | undefined; } | undefined; actions?: { move_to_folder?: string | undefined; copy_to_folder?: string | undefined; add_categories?: string[] | undefined; mark_as_read?: boolean | undefined; mark_importance?: "low" | "normal" | "high" | undefined; forward_to?: string | undefined; delete_message?: boolean | undefined; stop_processing?: boolean | undefined; } | undefined; sequence?: number | undefined; }>; execute: (params: { user_id: string; rule_id: string; rule_name?: string; conditions?: any; actions?: any; enabled?: boolean; sequence?: number; }) => Promise<{ content: { type: "text"; text: string; }[]; }>; }; //# sourceMappingURL=modifyMailRule.d.ts.map