| | |
| | | return service.get('/appointment/getDetail/'+apointmentId, {headers}) |
| | | } |
| | | export interface Consultants { |
| | | agentNo: string, |
| | | name: string, |
| | | img: string, |
| | | new: boolean, |
| | | avgScore: number, |
| | | expertise: string[], |
| | | updateTime: Date, |
| | | seniority: string, |
| | | contactStatus?: string; |
| | | agentNo : string, |
| | | name : string, |
| | | img : string, |
| | | new : boolean, |
| | | avgScore : number, |
| | | expertise : string[], |
| | | updateTime : Date, |
| | | seniority : string, |
| | | contactStatus? : string; |
| | | latestAppointmentId: number; |
| | | role: string; |
| | | image?: string; |
| | | expertises?: string; |
| | | role : string; |
| | | image? : string; |
| | | expertises? : string; |
| | | } |
| | | |
| | | export interface FastQueryParams { |
| | | gender: string, |
| | | gender : string, |
| | | communicationStyles: string[], |
| | | avgScore: number, |
| | | status: string |
| | | avgScore : number, |
| | | status : string |
| | | } |
| | | |
| | | export interface AppointmentRequests { |
| | | phone:string, |
| | | email:string, |
| | | contactType:string, |
| | | gender:string, |
| | | age:string, |
| | | job:string, |
| | | requirement:string, |
| | | hopeContactTime:string[], |
| | | otherRequirement:string, |
| | | agentNo:string, |
| | | phone : string, |
| | | email : string, |
| | | contactType : string, |
| | | gender : string, |
| | | age : string, |
| | | job : string, |
| | | requirement : string[], |
| | | hopeContactTime: ContactTime[], |
| | | agentNo : string, |
| | | } |
| | | export interface ContactTime { |
| | | selectWeekOptions : string[], |
| | | selectTimesOptions: string[] |
| | | } |
| | | export interface AppointmentParams { |
| | | phone?: string, |
| | | email?: string, |
| | | contactType: string, |
| | | gender?: string, |
| | | age?: string, |
| | | job?: string, |
| | | requirement: string, |
| | | hopeContactTime?: string, |
| | | agentNo: string |
| | | phone : string, |
| | | email : string, |
| | | contactType : string, |
| | | gender : string, |
| | | age : string, |
| | | job : string, |
| | | requirement : string, |
| | | hopeContactTime: string, |
| | | agentNo : string |
| | | } |
| | | export interface StrictQueryParams{ |
| | | gender: string; |
| | |
| | | name: string, |
| | | /** "SMS":Otp發送手機,"EMAIL":Otp發email */ |
| | | contactType: string |
| | | } |
| | | } |