/** * Type definitions for Ponlo.ai MCP Server */ export interface Task { id: string; workspaceId: string; title: string; completed: boolean; completedAt: string | null; description: string | null; deadline: string | null; assignedTo: string | null; stars: number; order: number; createdBy: string | null; updatedBy: string | null; completedBy: string | null; createdAt: string; updatedAt: string; } export interface CalendarEvent { id: string; workspaceId: string; calendarId: string; externalId: string; title: string; startTime: string; endTime: string | null; allDay: boolean; location: string | null; description: string | null; attendees: string | null; timezone: string | null; createdBy: string | null; updatedBy: string | null; cachedAt: string; } export interface StickyNote { id: string; workspaceId: string; content: string; color: string; createdBy: string | null; createdAt: string; } export interface TasksResponse { tasks: Task[]; } export interface EventsResponse { events: CalendarEvent[]; lastUpdated: string; } export interface NoteResponse { note: StickyNote | null; } export interface ApiError { error: string; } export interface WorkspaceMember { id: string; userId: string; role: string; displayName: string | null; color: string; email: string; name: string; } export interface MembersResponse { members: WorkspaceMember[]; } export interface WeatherResponse { current: { temp: number; feelsLike: number; humidity: number; icon: string; description: string; }; today: { high: number; low: number; }; forecast: unknown[]; location: string; lastUpdated: string; } export interface Reward { id: string; workspaceId: string; title: string; description: string | null; emoji: string; starsRequired: number; assignedTo: string | null; renewable: boolean; createdBy: string | null; createdAt: string; } export interface StarBalance { earned: number; spent: number; balance: number; } export interface RewardsResponse { rewards: Reward[]; starBalances: { member: string; earned: number; spent: number; balance: number; }[]; } export interface RewardRedemption { id: string; rewardId: string; redeemedBy: string; starsSpent: number; createdAt: string; } export interface ShoppingList { id: string; workspaceId: string; title: string; type: 'grocery' | 'todo' | 'custom'; color: string; createdBy: string | null; createdAt: string; updatedAt: string; itemCount: number; completedCount: number; } export interface ListItem { id: string; listId: string; workspaceId: string; content: string; completed: boolean; quantity: string | null; order: number; addedBy: string | null; createdAt: string; } export interface ListsResponse { lists: ShoppingList[]; } export interface ListItemsResponse { items: ListItem[]; } export interface MealPlan { id: string; workspaceId: string; date: string; mealType: string; title: string; recipe: string | null; ingredients: string | null; notes: string | null; createdBy: string | null; createdAt: string; updatedAt: string; } export interface MealsResponse { meals: MealPlan[]; } export interface AIChatResponse { response: string; action: string | null; actionResult: unknown; mcpToolCalls?: unknown[]; } //# sourceMappingURL=types.d.ts.map