init project
This commit is contained in:
@@ -0,0 +1,60 @@
|
||||
import type { Attachment, Model, User } from "timi-web";
|
||||
|
||||
export type CustomerGender = "MALE" | "FEMALE";
|
||||
|
||||
export type BodyAreaValue = {
|
||||
selectedCodeList: string[];
|
||||
};
|
||||
|
||||
export type Customer = {
|
||||
code?: string;
|
||||
name?: string;
|
||||
gender?: CustomerGender;
|
||||
age?: number;
|
||||
telephone?: string;
|
||||
address?: string;
|
||||
remark?: string;
|
||||
disease?: string;
|
||||
conditioningPart?: BodyAreaValue;
|
||||
introducerCustomerId?: string;
|
||||
creatorUserId?: string;
|
||||
lastSignInAt?: number;
|
||||
introducerCustomer?: Customer;
|
||||
creatorUser?: Partial<User>;
|
||||
invitedCount?: number;
|
||||
attachmentList?: Attachment[];
|
||||
attachmentIdList?: string[];
|
||||
} & Model;
|
||||
|
||||
export type CustomerSearchReq = {
|
||||
keyword?: string;
|
||||
introducerCustomerId?: string;
|
||||
};
|
||||
|
||||
export type CustomerTrendStatReq = {
|
||||
beginCreatedAt: number;
|
||||
endCreatedAt: number;
|
||||
};
|
||||
|
||||
export type CustomerDailyStatView = {
|
||||
dateValue?: number;
|
||||
newCustomerCount?: number;
|
||||
totalCustomerCount?: number;
|
||||
};
|
||||
|
||||
export type CustomerGenderStatView = {
|
||||
genderCode?: CustomerGender | "UNKNOWN";
|
||||
count?: number;
|
||||
};
|
||||
|
||||
export type CustomerInviteUpdateReq = {
|
||||
customerId: string;
|
||||
introducerCustomerId?: string;
|
||||
};
|
||||
|
||||
export type QuickRegisterReq = {
|
||||
customerCode: string;
|
||||
registrationEventId: string;
|
||||
remark?: string;
|
||||
attachmentIdList?: string[];
|
||||
};
|
||||
Reference in New Issue
Block a user