@meetbot/mcp
Version:
Model Context Protocol (MCP) server for Meet.bot booking page API
207 lines • 5.61 kB
TypeScript
import { z } from 'zod';
/**
* Zod schemas for runtime validation of Meet.bot API data
*/
export declare const BookSlotSchema: z.ZodObject<{
success: z.ZodBoolean;
page: z.ZodString;
guest_email: z.ZodString;
guest_name: z.ZodString;
notes: z.ZodOptional<z.ZodString>;
start: z.ZodString;
ical_uid: z.ZodString;
}, "strip", z.ZodTypeAny, {
success: boolean;
page: string;
guest_email: string;
guest_name: string;
start: string;
ical_uid: string;
notes?: string | undefined;
}, {
success: boolean;
page: string;
guest_email: string;
guest_name: string;
start: string;
ical_uid: string;
notes?: string | undefined;
}>;
export declare const PageInfoSchema: z.ZodObject<{
title: z.ZodString;
duration: z.ZodNumber;
url: z.ZodString;
owner_name: z.ZodString;
max_days_into_the_future: z.ZodNumber;
}, "strip", z.ZodTypeAny, {
title: string;
duration: number;
url: string;
owner_name: string;
max_days_into_the_future: number;
}, {
title: string;
duration: number;
url: string;
owner_name: string;
max_days_into_the_future: number;
}>;
export declare const SchedulingPageSchema: z.ZodObject<{
title: z.ZodString;
duration: z.ZodNumber;
url: z.ZodString;
}, "strip", z.ZodTypeAny, {
title: string;
duration: number;
url: string;
}, {
title: string;
duration: number;
url: string;
}>;
export declare const PagesSchema: z.ZodObject<{
email: z.ZodString;
pages: z.ZodArray<z.ZodObject<{
title: z.ZodString;
duration: z.ZodNumber;
url: z.ZodString;
}, "strip", z.ZodTypeAny, {
title: string;
duration: number;
url: string;
}, {
title: string;
duration: number;
url: string;
}>, "many">;
}, "strip", z.ZodTypeAny, {
email: string;
pages: {
title: string;
duration: number;
url: string;
}[];
}, {
email: string;
pages: {
title: string;
duration: number;
url: string;
}[];
}>;
export declare const SlotDetailsSchema: z.ZodObject<{
start: z.ZodString;
url: z.ZodOptional<z.ZodString>;
}, "strip", z.ZodTypeAny, {
start: string;
url?: string | undefined;
}, {
start: string;
url?: string | undefined;
}>;
export declare const SlotsSchema: z.ZodObject<{
count: z.ZodNumber;
duration: z.ZodNumber;
slots: z.ZodArray<z.ZodObject<{
start: z.ZodString;
url: z.ZodOptional<z.ZodString>;
}, "strip", z.ZodTypeAny, {
start: string;
url?: string | undefined;
}, {
start: string;
url?: string | undefined;
}>, "many">;
}, "strip", z.ZodTypeAny, {
duration: number;
count: number;
slots: {
start: string;
url?: string | undefined;
}[];
}, {
duration: number;
count: number;
slots: {
start: string;
url?: string | undefined;
}[];
}>;
export declare const BookSlotRequestSchema: z.ZodObject<{
page: z.ZodString;
guest_email: z.ZodString;
guest_name: z.ZodString;
notes: z.ZodOptional<z.ZodString>;
start: z.ZodString;
}, "strip", z.ZodTypeAny, {
page: string;
guest_email: string;
guest_name: string;
start: string;
notes?: string | undefined;
}, {
page: string;
guest_email: string;
guest_name: string;
start: string;
notes?: string | undefined;
}>;
export declare const GetSlotsParamsSchema: z.ZodObject<{
page: z.ZodString;
count: z.ZodOptional<z.ZodNumber>;
start: z.ZodOptional<z.ZodString>;
end: z.ZodOptional<z.ZodString>;
timezone: z.ZodOptional<z.ZodString>;
booking_link: z.ZodOptional<z.ZodBoolean>;
}, "strip", z.ZodTypeAny, {
page: string;
start?: string | undefined;
count?: number | undefined;
end?: string | undefined;
timezone?: string | undefined;
booking_link?: boolean | undefined;
}, {
page: string;
start?: string | undefined;
count?: number | undefined;
end?: string | undefined;
timezone?: string | undefined;
booking_link?: boolean | undefined;
}>;
export declare const GetInfoParamsSchema: z.ZodObject<{
page: z.ZodString;
}, "strip", z.ZodTypeAny, {
page: string;
}, {
page: string;
}>;
export declare const ApiErrorSchema: z.ZodObject<{
success: z.ZodLiteral<false>;
error: z.ZodString;
errors: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodArray<z.ZodString, "many">>>;
}, "strip", z.ZodTypeAny, {
success: false;
error: string;
errors?: Record<string, string[]> | undefined;
}, {
success: false;
error: string;
errors?: Record<string, string[]> | undefined;
}>;
export declare const MeetbotConfigSchema: z.ZodObject<{
authToken: z.ZodOptional<z.ZodString>;
}, "strip", z.ZodTypeAny, {
authToken?: string | undefined;
}, {
authToken?: string | undefined;
}>;
export type ValidatedBookSlot = z.infer<typeof BookSlotSchema>;
export type ValidatedPageInfo = z.infer<typeof PageInfoSchema>;
export type ValidatedSchedulingPage = z.infer<typeof SchedulingPageSchema>;
export type ValidatedPages = z.infer<typeof PagesSchema>;
export type ValidatedSlots = z.infer<typeof SlotsSchema>;
export type ValidatedBookSlotRequest = z.infer<typeof BookSlotRequestSchema>;
export type ValidatedGetSlotsParams = z.infer<typeof GetSlotsParamsSchema>;
export type ValidatedGetInfoParams = z.infer<typeof GetInfoParamsSchema>;
export type ValidatedMeetbotConfig = z.infer<typeof MeetbotConfigSchema>;
//# sourceMappingURL=schemas.d.ts.map