73 lines
2.2 KiB
TypeScript
73 lines
2.2 KiB
TypeScript
import { z } from 'zod';
|
|
import type { ToastAPIClient } from '../api-client.js';
|
|
export declare function registerOrdersTools(client: ToastAPIClient): ({
|
|
name: string;
|
|
description: string;
|
|
inputSchema: z.ZodObject<{
|
|
startDate: z.ZodOptional<z.ZodString>;
|
|
endDate: z.ZodOptional<z.ZodString>;
|
|
page: z.ZodOptional<z.ZodNumber>;
|
|
pageSize: z.ZodOptional<z.ZodNumber>;
|
|
}, "strip", z.ZodTypeAny, {
|
|
page?: number | undefined;
|
|
pageSize?: number | undefined;
|
|
startDate?: string | undefined;
|
|
endDate?: string | undefined;
|
|
}, {
|
|
page?: number | undefined;
|
|
pageSize?: number | undefined;
|
|
startDate?: string | undefined;
|
|
endDate?: string | undefined;
|
|
}>;
|
|
execute: (args: any) => Promise<{
|
|
content: {
|
|
type: string;
|
|
text: string;
|
|
}[];
|
|
}>;
|
|
} | {
|
|
name: string;
|
|
description: string;
|
|
inputSchema: z.ZodObject<{
|
|
orderId: z.ZodString;
|
|
}, "strip", z.ZodTypeAny, {
|
|
orderId: string;
|
|
}, {
|
|
orderId: string;
|
|
}>;
|
|
execute: (args: any) => Promise<{
|
|
content: {
|
|
type: string;
|
|
text: string;
|
|
}[];
|
|
}>;
|
|
} | {
|
|
name: string;
|
|
description: string;
|
|
inputSchema: z.ZodObject<{
|
|
diningOptionGuid: z.ZodString;
|
|
revenueCenterGuid: z.ZodOptional<z.ZodString>;
|
|
tableGuid: z.ZodOptional<z.ZodString>;
|
|
numberOfGuests: z.ZodOptional<z.ZodNumber>;
|
|
estimatedFulfillmentDate: z.ZodOptional<z.ZodString>;
|
|
}, "strip", z.ZodTypeAny, {
|
|
diningOptionGuid: string;
|
|
revenueCenterGuid?: string | undefined;
|
|
tableGuid?: string | undefined;
|
|
numberOfGuests?: number | undefined;
|
|
estimatedFulfillmentDate?: string | undefined;
|
|
}, {
|
|
diningOptionGuid: string;
|
|
revenueCenterGuid?: string | undefined;
|
|
tableGuid?: string | undefined;
|
|
numberOfGuests?: number | undefined;
|
|
estimatedFulfillmentDate?: string | undefined;
|
|
}>;
|
|
execute: (args: any) => Promise<{
|
|
content: {
|
|
type: string;
|
|
text: string;
|
|
}[];
|
|
}>;
|
|
})[];
|
|
//# sourceMappingURL=orders-tools.d.ts.map
|