pizzamcp
Version:
Model Context Protocol server for ordering Domino's pizza via conversational interface
32 lines • 1.07 kB
TypeScript
interface PaymentInfo {
card_number: string;
expiration: string;
cvv: string;
zip_code: string;
}
export declare class DominosOrderService {
private currentStore?;
private currentMenu?;
private orderItems;
private customerInfo;
private deliveryAddress?;
private currentOrder?;
startNewOrder(): string;
findStore(address: string): Promise<string>;
getMenu(category?: string): Promise<string>;
private parseV3Menu;
private getProductVariants;
private parsePrice;
private getProductPrice;
private extractMenuItems;
addItem(itemName: string, size?: string, quantity?: number, itemCode?: string): Promise<string>;
private findItemByCode;
private findItemByName;
removeItem(index: number): string;
getOrderSummary(): Promise<string>;
setCustomerInfo(name?: string, phone?: string, email?: string): string;
private calculateEstimatedTotal;
placeOrder(paymentInfo: PaymentInfo, tipAmount?: number): Promise<string>;
}
export {};
//# sourceMappingURL=dominos-service.d.ts.map