UNPKG

@atlas-kitchen/atlas-mcp

Version:

Model Context Protocol server for Atlas restaurant management system - enables Claude to interact with restaurant orders, menus, and reports

129 lines 2.64 kB
export interface AuthTokens { accessToken: string; refreshToken: string; } export interface Account { id: string; email: string; name?: string; username?: string; isVerified?: boolean; requireSetPassword?: boolean; merchants?: Merchant[]; merchantAccounts?: MerchantAccount[]; } export interface Merchant { id: string; name: string; identifier: string; } export interface MerchantAccount { id: string; merchantId: string; role: string; } export interface LoginResponse { accessToken: string; refreshToken: string; account: Account; merchants: Merchant[]; } export interface ApiKeyLoginResponse { accessToken: string; refreshToken: string; } export interface Order { id: string; identifier: string; state: string; fulfilmentType: string; createdAt: string; updatedAt: string; grossAmount: number; netAmount: number; currency: string; items?: OrderItem[]; payments?: OrderPayment[]; user?: { id: string; email?: string; firstName?: string; lastName?: string; }; outlet?: { id: string; name: string; }; brand?: { id: string; name: string; }; } export interface OrderItem { id: string; name: string; quantity: number; price: number; modifiers?: string[]; } export interface OrderPayment { id: string; paymentType: string; amount: number; status: string; } export interface Cart { id: string; identifier: string; platform: string; fulfilmentType: string; isCheckedOut: boolean; items?: CartItem[]; grossAmount: number; netAmount: number; currency: string; } export interface CartItem { id: string; itemId: string; name: string; quantity: number; price: number; } export interface Menu { id: string; identifier: string; name: string; state: string; startDate?: string; endDate?: string; sections?: MenuSection[]; } export interface MenuSection { id: string; name: string; identifier: string; items?: MenuItem[]; } export interface MenuItem { id: string; name: string; identifier: string; price: number; description?: string; imageUrl?: string; } export interface SalesReport { startDate: string; endDate: string; totalRevenue: number; totalOrders: number; averageOrderValue: number; topSellingItems?: { itemId: string; name: string; quantity: number; revenue: number; }[]; } //# sourceMappingURL=atlas.d.ts.map