UNPKG

@aot-tech/gmail-mcp-server

Version:

Gmail MCP Server with Bearer Token Authentication - A Model Context Protocol server for Gmail access

92 lines (91 loc) 2.56 kB
import { z } from 'zod'; export declare const SendEmailSchema: z.ZodObject<{ to: z.ZodArray<z.ZodString, "many">; subject: z.ZodString; body: z.ZodString; cc: z.ZodOptional<z.ZodArray<z.ZodString, "many">>; bcc: z.ZodOptional<z.ZodArray<z.ZodString, "many">>; }, "strip", z.ZodTypeAny, { to: string[]; subject: string; body: string; cc?: string[] | undefined; bcc?: string[] | undefined; }, { to: string[]; subject: string; body: string; cc?: string[] | undefined; bcc?: string[] | undefined; }>; export declare const SearchEmailsSchema: z.ZodObject<{ query: z.ZodString; maxResults: z.ZodDefault<z.ZodNumber>; }, "strip", z.ZodTypeAny, { query: string; maxResults: number; }, { query: string; maxResults?: number | undefined; }>; export declare const ReadEmailSchema: z.ZodObject<{ messageId: z.ZodString; }, "strip", z.ZodTypeAny, { messageId: string; }, { messageId: string; }>; export declare const DeleteEmailSchema: z.ZodObject<{ messageId: z.ZodString; }, "strip", z.ZodTypeAny, { messageId: string; }, { messageId: string; }>; export declare const ListLabelsSchema: z.ZodObject<{}, "strip", z.ZodTypeAny, {}, {}>; export declare const emailSchemas: { readonly sendEmail: z.ZodObject<{ to: z.ZodArray<z.ZodString, "many">; subject: z.ZodString; body: z.ZodString; cc: z.ZodOptional<z.ZodArray<z.ZodString, "many">>; bcc: z.ZodOptional<z.ZodArray<z.ZodString, "many">>; }, "strip", z.ZodTypeAny, { to: string[]; subject: string; body: string; cc?: string[] | undefined; bcc?: string[] | undefined; }, { to: string[]; subject: string; body: string; cc?: string[] | undefined; bcc?: string[] | undefined; }>; readonly searchEmails: z.ZodObject<{ query: z.ZodString; maxResults: z.ZodDefault<z.ZodNumber>; }, "strip", z.ZodTypeAny, { query: string; maxResults: number; }, { query: string; maxResults?: number | undefined; }>; readonly readEmail: z.ZodObject<{ messageId: z.ZodString; }, "strip", z.ZodTypeAny, { messageId: string; }, { messageId: string; }>; readonly deleteEmail: z.ZodObject<{ messageId: z.ZodString; }, "strip", z.ZodTypeAny, { messageId: string; }, { messageId: string; }>; readonly listLabels: z.ZodObject<{}, "strip", z.ZodTypeAny, {}, {}>; };