完成consumer端同步
This commit is contained in:
154
types/home-service.uts
Normal file
154
types/home-service.uts
Normal file
@@ -0,0 +1,154 @@
|
||||
export type HomeServiceCatalogType = {
|
||||
id: string
|
||||
name: string
|
||||
category: string
|
||||
price: number
|
||||
durationText: string
|
||||
summary: string
|
||||
tags: Array<string>
|
||||
suitableFor: string
|
||||
}
|
||||
|
||||
export type HomeServiceTimelineItemType = {
|
||||
id: string
|
||||
title: string
|
||||
time: string
|
||||
description: string
|
||||
}
|
||||
|
||||
export type HomeServiceCaseType = {
|
||||
id: string
|
||||
caseNo: string
|
||||
status: string
|
||||
statusText: string
|
||||
statusTone: string
|
||||
serviceName: string
|
||||
serviceTime: string
|
||||
applicantName: string
|
||||
elderName: string
|
||||
age: number
|
||||
phone: string
|
||||
address: string
|
||||
summary: string
|
||||
currentStep: number
|
||||
totalSteps: number
|
||||
staffName: string
|
||||
staffPhone: string
|
||||
amount: number
|
||||
timeline: Array<HomeServiceTimelineItemType>
|
||||
}
|
||||
|
||||
export type HomeServiceTaskType = {
|
||||
id: string
|
||||
caseId: string
|
||||
caseNo: string
|
||||
status: string
|
||||
statusText: string
|
||||
statusTone: string
|
||||
serviceName: string
|
||||
elderName: string
|
||||
address: string
|
||||
appointmentTime: string
|
||||
checkInStatus: string
|
||||
recordSummary: string
|
||||
staffName: string
|
||||
staffPhone: string
|
||||
actionText: string
|
||||
timeline: Array<HomeServiceTimelineItemType>
|
||||
}
|
||||
|
||||
export type HomeServiceApplicationDraftType = {
|
||||
serviceId: string
|
||||
serviceName: string
|
||||
applicantName: string
|
||||
elderName: string
|
||||
age: number
|
||||
phone: string
|
||||
address: string
|
||||
preferredTime: string
|
||||
demandSummary: string
|
||||
}
|
||||
|
||||
export type HomeServiceAdminApplicationType = {
|
||||
id: string
|
||||
caseId: string
|
||||
caseNo: string
|
||||
status: string
|
||||
statusText: string
|
||||
statusTone: string
|
||||
elderName: string
|
||||
serviceName: string
|
||||
preferredTime: string
|
||||
assessmentResult: string
|
||||
dispatcherName: string
|
||||
staffName: string
|
||||
}
|
||||
|
||||
export type HomeServiceOverviewCardType = {
|
||||
id: string
|
||||
label: string
|
||||
value: string
|
||||
tone: string
|
||||
}
|
||||
|
||||
export type HomeServiceAssessmentType = {
|
||||
caseId: string
|
||||
caseNo: string
|
||||
elderName: string
|
||||
serviceName: string
|
||||
riskLevel: string
|
||||
careLevel: string
|
||||
visitTime: string
|
||||
assessmentSummary: string
|
||||
requirementTags: Array<string>
|
||||
}
|
||||
|
||||
export type HomeServicePlanType = {
|
||||
caseId: string
|
||||
caseNo: string
|
||||
elderName: string
|
||||
serviceName: string
|
||||
planTitle: string
|
||||
serviceFrequency: string
|
||||
serviceCycle: string
|
||||
executorAdvice: string
|
||||
billingSummary: string
|
||||
planSummary: string
|
||||
}
|
||||
|
||||
export type HomeServiceAcceptanceType = {
|
||||
caseId: string
|
||||
caseNo: string
|
||||
elderName: string
|
||||
serviceName: string
|
||||
acceptanceStatus: string
|
||||
acceptanceStatusText: string
|
||||
rating: number
|
||||
feedback: string
|
||||
tags: Array<string>
|
||||
}
|
||||
|
||||
export type HomeServiceRectificationType = {
|
||||
caseId: string
|
||||
caseNo: string
|
||||
elderName: string
|
||||
serviceName: string
|
||||
issueSummary: string
|
||||
deadline: string
|
||||
ownerName: string
|
||||
status: string
|
||||
statusText: string
|
||||
}
|
||||
|
||||
export type HomeServiceSettlementType = {
|
||||
caseId: string
|
||||
caseNo: string
|
||||
elderName: string
|
||||
serviceName: string
|
||||
billingPeriod: string
|
||||
totalAmount: string
|
||||
insuranceAmount: string
|
||||
selfPayAmount: string
|
||||
archiveStatus: string
|
||||
archiveStatusText: string
|
||||
}
|
||||
Reference in New Issue
Block a user