msexchange-mcp
Version:
MCP server for Microsoft Exchange/Outlook email operations via Microsoft Graph API
276 lines • 7.61 kB
TypeScript
import { z } from 'zod';
export declare const UserIdSchema: z.ZodObject<{
__user_id__: z.ZodString;
}, "strip", z.ZodTypeAny, {
__user_id__: string;
}, {
__user_id__: string;
}>;
export declare const EmailAddressSchema: z.ZodString;
export declare const AttachmentSchema: z.ZodObject<{
id: z.ZodString;
name: z.ZodString;
contentType: z.ZodString;
size: z.ZodNumber;
contentBytes: z.ZodOptional<z.ZodString>;
}, "strip", z.ZodTypeAny, {
name: string;
contentType: string;
id: string;
size: number;
contentBytes?: string | undefined;
}, {
name: string;
contentType: string;
id: string;
size: number;
contentBytes?: string | undefined;
}>;
export declare const EmailSchema: z.ZodObject<{
id: z.ZodString;
subject: z.ZodString;
from: z.ZodOptional<z.ZodObject<{
emailAddress: z.ZodObject<{
name: z.ZodOptional<z.ZodString>;
address: z.ZodString;
}, "strip", z.ZodTypeAny, {
address: string;
name?: string | undefined;
}, {
address: string;
name?: string | undefined;
}>;
}, "strip", z.ZodTypeAny, {
emailAddress: {
address: string;
name?: string | undefined;
};
}, {
emailAddress: {
address: string;
name?: string | undefined;
};
}>>;
toRecipients: z.ZodOptional<z.ZodArray<z.ZodObject<{
emailAddress: z.ZodObject<{
name: z.ZodOptional<z.ZodString>;
address: z.ZodString;
}, "strip", z.ZodTypeAny, {
address: string;
name?: string | undefined;
}, {
address: string;
name?: string | undefined;
}>;
}, "strip", z.ZodTypeAny, {
emailAddress: {
address: string;
name?: string | undefined;
};
}, {
emailAddress: {
address: string;
name?: string | undefined;
};
}>, "many">>;
ccRecipients: z.ZodOptional<z.ZodArray<z.ZodObject<{
emailAddress: z.ZodObject<{
name: z.ZodOptional<z.ZodString>;
address: z.ZodString;
}, "strip", z.ZodTypeAny, {
address: string;
name?: string | undefined;
}, {
address: string;
name?: string | undefined;
}>;
}, "strip", z.ZodTypeAny, {
emailAddress: {
address: string;
name?: string | undefined;
};
}, {
emailAddress: {
address: string;
name?: string | undefined;
};
}>, "many">>;
bccRecipients: z.ZodOptional<z.ZodArray<z.ZodObject<{
emailAddress: z.ZodObject<{
name: z.ZodOptional<z.ZodString>;
address: z.ZodString;
}, "strip", z.ZodTypeAny, {
address: string;
name?: string | undefined;
}, {
address: string;
name?: string | undefined;
}>;
}, "strip", z.ZodTypeAny, {
emailAddress: {
address: string;
name?: string | undefined;
};
}, {
emailAddress: {
address: string;
name?: string | undefined;
};
}>, "many">>;
receivedDateTime: z.ZodString;
sentDateTime: z.ZodOptional<z.ZodString>;
bodyPreview: z.ZodString;
body: z.ZodOptional<z.ZodObject<{
contentType: z.ZodString;
content: z.ZodString;
}, "strip", z.ZodTypeAny, {
contentType: string;
content: string;
}, {
contentType: string;
content: string;
}>>;
isRead: z.ZodBoolean;
isDraft: z.ZodOptional<z.ZodBoolean>;
hasAttachments: z.ZodBoolean;
attachments: z.ZodOptional<z.ZodArray<z.ZodObject<{
id: z.ZodString;
name: z.ZodString;
contentType: z.ZodString;
size: z.ZodNumber;
contentBytes: z.ZodOptional<z.ZodString>;
}, "strip", z.ZodTypeAny, {
name: string;
contentType: string;
id: string;
size: number;
contentBytes?: string | undefined;
}, {
name: string;
contentType: string;
id: string;
size: number;
contentBytes?: string | undefined;
}>, "many">>;
importance: z.ZodOptional<z.ZodString>;
categories: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
conversationId: z.ZodOptional<z.ZodString>;
parentFolderId: z.ZodOptional<z.ZodString>;
internetMessageHeaders: z.ZodOptional<z.ZodArray<z.ZodObject<{
name: z.ZodString;
value: z.ZodString;
}, "strip", z.ZodTypeAny, {
name: string;
value: string;
}, {
name: string;
value: string;
}>, "many">>;
}, "strip", z.ZodTypeAny, {
id: string;
subject: string;
receivedDateTime: string;
bodyPreview: string;
isRead: boolean;
hasAttachments: boolean;
from?: {
emailAddress: {
address: string;
name?: string | undefined;
};
} | undefined;
toRecipients?: {
emailAddress: {
address: string;
name?: string | undefined;
};
}[] | undefined;
ccRecipients?: {
emailAddress: {
address: string;
name?: string | undefined;
};
}[] | undefined;
bccRecipients?: {
emailAddress: {
address: string;
name?: string | undefined;
};
}[] | undefined;
sentDateTime?: string | undefined;
body?: {
contentType: string;
content: string;
} | undefined;
isDraft?: boolean | undefined;
attachments?: {
name: string;
contentType: string;
id: string;
size: number;
contentBytes?: string | undefined;
}[] | undefined;
importance?: string | undefined;
categories?: string[] | undefined;
conversationId?: string | undefined;
parentFolderId?: string | undefined;
internetMessageHeaders?: {
name: string;
value: string;
}[] | undefined;
}, {
id: string;
subject: string;
receivedDateTime: string;
bodyPreview: string;
isRead: boolean;
hasAttachments: boolean;
from?: {
emailAddress: {
address: string;
name?: string | undefined;
};
} | undefined;
toRecipients?: {
emailAddress: {
address: string;
name?: string | undefined;
};
}[] | undefined;
ccRecipients?: {
emailAddress: {
address: string;
name?: string | undefined;
};
}[] | undefined;
bccRecipients?: {
emailAddress: {
address: string;
name?: string | undefined;
};
}[] | undefined;
sentDateTime?: string | undefined;
body?: {
contentType: string;
content: string;
} | undefined;
isDraft?: boolean | undefined;
attachments?: {
name: string;
contentType: string;
id: string;
size: number;
contentBytes?: string | undefined;
}[] | undefined;
importance?: string | undefined;
categories?: string[] | undefined;
conversationId?: string | undefined;
parentFolderId?: string | undefined;
internetMessageHeaders?: {
name: string;
value: string;
}[] | undefined;
}>;
export type Email = z.infer<typeof EmailSchema>;
export type Attachment = z.infer<typeof AttachmentSchema>;
//# sourceMappingURL=types.d.ts.map