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

45 lines
1.2 KiB
TypeScript

import { z } from 'zod';
import type { ToastAPIClient } from '../api-client.js';
export declare function registerCashTools(client: ToastAPIClient): ({
name: string;
description: string;
inputSchema: z.ZodObject<{
startDate: z.ZodString;
endDate: z.ZodString;
page: z.ZodOptional<z.ZodNumber>;
pageSize: z.ZodOptional<z.ZodNumber>;
}, "strip", z.ZodTypeAny, {
startDate: string;
endDate: string;
page?: number | undefined;
pageSize?: number | undefined;
}, {
startDate: string;
endDate: string;
page?: number | undefined;
pageSize?: number | undefined;
}>;
execute: (args: any) => Promise<{
content: {
type: string;
text: string;
}[];
}>;
} | {
name: string;
description: string;
inputSchema: z.ZodObject<{
drawerGuid: z.ZodString;
}, "strip", z.ZodTypeAny, {
drawerGuid: string;
}, {
drawerGuid: string;
}>;
execute: (args: any) => Promise<{
content: {
type: string;
text: string;
}[];
}>;
})[];
//# sourceMappingURL=cash-tools.d.ts.map