| 123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121 |
- 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<T> = {
- items: T[]
- total: number
- }
- export type PaginatedCustomerList = {
- items: CustomerEntity[]
- total: number
- page: number
- pageSize: number
- }
|