From de222b7fc63dc41442fd1265366706edbeab7907 Mon Sep 17 00:00:00 2001 From: NotII <46204250+NotII@users.noreply.github.com> Date: Wed, 2 Apr 2025 15:12:08 +0100 Subject: [PATCH] Update customerService.ts --- services/customerService.ts | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/services/customerService.ts b/services/customerService.ts index 68f074b..17b4fc8 100644 --- a/services/customerService.ts +++ b/services/customerService.ts @@ -12,9 +12,10 @@ export interface CustomerStats { acknowledged: number; shipped: number; }; - lastOrderDate: string; + lastOrderDate: string | null; firstOrderDate: string; chatId: number; + hasOrders?: boolean; } export const getCustomers = async (page: number = 1, limit: number = 25): Promise<{