mcpengine/servers/toast/dist/tools/employees-tools.d.ts

73 lines
2.1 KiB
TypeScript

import { z } from 'zod';
import type { ToastAPIClient } from '../api-client.js';
export declare function registerEmployeesTools(client: ToastAPIClient): ({
name: string;
description: string;
inputSchema: z.ZodObject<{
page: z.ZodOptional<z.ZodNumber>;
pageSize: z.ZodOptional<z.ZodNumber>;
}, "strip", z.ZodTypeAny, {
page?: number | undefined;
pageSize?: number | undefined;
}, {
page?: number | undefined;
pageSize?: number | undefined;
}>;
execute: (args: any) => Promise<{
content: {
type: string;
text: string;
}[];
}>;
} | {
name: string;
description: string;
inputSchema: z.ZodObject<{
employeeGuid: z.ZodString;
}, "strip", z.ZodTypeAny, {
employeeGuid: string;
}, {
employeeGuid: string;
}>;
execute: (args: any) => Promise<{
content: {
type: string;
text: string;
}[];
}>;
} | {
name: string;
description: string;
inputSchema: z.ZodObject<{
firstName: z.ZodString;
lastName: z.ZodString;
email: z.ZodOptional<z.ZodString>;
phoneNumber: z.ZodOptional<z.ZodString>;
externalEmployeeId: z.ZodOptional<z.ZodString>;
chosenName: z.ZodOptional<z.ZodString>;
passcode: z.ZodOptional<z.ZodString>;
}, "strip", z.ZodTypeAny, {
firstName: string;
lastName: string;
email?: string | undefined;
phoneNumber?: string | undefined;
externalEmployeeId?: string | undefined;
chosenName?: string | undefined;
passcode?: string | undefined;
}, {
firstName: string;
lastName: string;
email?: string | undefined;
phoneNumber?: string | undefined;
externalEmployeeId?: string | undefined;
chosenName?: string | undefined;
passcode?: string | undefined;
}>;
execute: (args: any) => Promise<{
content: {
type: string;
text: string;
}[];
}>;
})[];
//# sourceMappingURL=employees-tools.d.ts.map