diff --git a/src/controllers/customer-controller.ts b/src/controllers/customer-controller.ts index 32efafe..d4025ca 100644 --- a/src/controllers/customer-controller.ts +++ b/src/controllers/customer-controller.ts @@ -54,14 +54,14 @@ export type CustomerUpdate = { status?: "ACTIVE" | "INACTIVE"; - customerType: CustomerType; - namePrefix: string; - firstName: string; + customerType?: CustomerType; + namePrefix?: string; + firstName?: string; firstNameEN?: string; - lastName: string; + lastName?: string; lastNameEN?: string; - gender: string; - birthDate: Date; + gender?: string; + birthDate?: Date; }; function imageLocation(id: string) {