import type { MockCustomerHistory, MockStylistProfileTemplate, MockStylistReviewCard, MockTemplateUsageResult, MockWorkbench, } from '../../mocks/db' export type CustomerEntity = { id: string name: string kana?: string summary?: string lastVisit?: string nextVisit?: string hairLength?: string contact?: string phone: string email?: string concern?: string tags?: string[] image?: string birthday?: string visitCycle?: string hairCondition?: string hairType?: string formulaNote?: string privateNote?: string desiredImage?: string allergyNote?: string lineStatus?: string followStatus?: string followTiming?: string followMessage?: string } export type TemplateEntity = { id: string name: string category: string purpose?: string status: string description: string tags: string[] image?: string generationJobId?: number templateUrl?: string generationStatus?: string generationProgressMessage?: string generationErrorMessage?: string referenceImage?: string modelImageUrl?: string outfitImageUrl?: string backgroundImageUrl?: string usedCount: number } export type WorkbenchEntity = MockWorkbench export type SimulationResultEntity = { id: string title: string note: string | null image: string | null resultType: string status: string templateId: string | null } export type AftercareOptionEntity = { id: string title: string image: string } export type SimulationTemplateEntity = { id: string name: string image: string category: string } export type StylistProfileTemplateEntity = MockStylistProfileTemplate export type StylistReviewCardEntity = MockStylistReviewCard export type CustomerHistoryEntity = MockCustomerHistory export type TemplateUsageResultEntity = MockTemplateUsageResult export type CustomerDashboardSummary = { total: number today: number followUp: number simulated: number weeklyRecords?: number } export type TemplateDashboardSummary = { total: number published: number weeklyUsed: number draft: number } export type TemplateDetailStats = { customerCount: number saveRate: number monthlyGeneratedCount: number } export type GetCustomerByIdParams = { customerId?: string } export type GetTemplateByIdParams = { templateId?: string } export type ListResponse = { items: T[] total: number } export type PaginatedCustomerList = { items: CustomerEntity[] total: number page: number pageSize: number }