@sinch/mcp
Version:
Sinch MCP server
15 lines (14 loc) • 864 B
TypeScript
import { McpServer } from '@modelcontextprotocol/sdk/server/mcp.js';
import { z } from 'zod';
import { IPromptResponse, Tags } from '../../types';
declare const ListEmailEventsInput: {
domain: z.ZodOptional<z.ZodString>;
event: z.ZodOptional<z.ZodEnum<["accepted", "rejected", "delivered", "failed", "opened", "clicked", "unsubscribed", "complained", "stored"]>>;
limit: z.ZodOptional<z.ZodNumber>;
beginSearchPeriod: z.ZodOptional<z.ZodString>;
endSearchPeriod: z.ZodOptional<z.ZodString>;
};
type ListEmailEventsInputSchema = z.infer<z.ZodObject<typeof ListEmailEventsInput>>;
export declare const registerListEmailEvents: (server: McpServer, tags: Tags[]) => void;
export declare const listEmailEventsHandler: ({ domain, event, limit, beginSearchPeriod, endSearchPeriod }: ListEmailEventsInputSchema) => Promise<IPromptResponse>;
export {};