fix: update field can be optional

This commit is contained in:
Methapon Metanipat 2024-08-27 13:28:51 +07:00
parent 7e03c239d3
commit 5cadf48bc3

View file

@ -54,14 +54,14 @@ export type CustomerUpdate = {
status?: "ACTIVE" | "INACTIVE"; status?: "ACTIVE" | "INACTIVE";
customerType: CustomerType; customerType?: CustomerType;
namePrefix: string; namePrefix?: string;
firstName: string; firstName?: string;
firstNameEN?: string; firstNameEN?: string;
lastName: string; lastName?: string;
lastNameEN?: string; lastNameEN?: string;
gender: string; gender?: string;
birthDate: Date; birthDate?: Date;
}; };
function imageLocation(id: string) { function imageLocation(id: string) {