diff --git a/src/controllers/customer-branch-controller.ts b/src/controllers/customer-branch-controller.ts index 9cac3da..ff24201 100644 --- a/src/controllers/customer-branch-controller.ts +++ b/src/controllers/customer-branch-controller.ts @@ -36,7 +36,7 @@ export type CustomerBranchCreate = { legalPersonNo: string; - taxNo: string; + taxNo: string | null; name: string; nameEN: string; addressEN: string; @@ -44,8 +44,6 @@ export type CustomerBranchCreate = { zipCode: string; email: string; telephoneNo: string; - longitude: string; - latitude: string; registerName: string; registerDate: Date; @@ -53,7 +51,9 @@ export type CustomerBranchCreate = { employmentOffice: string; bussinessType: string; + bussinessTypeEN: string; jobPosition: string; + jobPositionEN: string; jobDescription: string; saleEmployee: string; payDate: string; @@ -71,7 +71,7 @@ export type CustomerBranchUpdate = { legalPersonNo?: string; - taxNo?: string; + taxNo?: string | null; name?: string; nameEN?: string; addressEN?: string; @@ -79,8 +79,6 @@ export type CustomerBranchUpdate = { zipCode?: string; email?: string; telephoneNo?: string; - longitude?: string; - latitude?: string; registerName?: string; registerDate?: Date; @@ -88,7 +86,9 @@ export type CustomerBranchUpdate = { employmentOffice?: string; bussinessType?: string; + bussinessTypeEN?: string; jobPosition?: string; + jobPositionEN?: string; jobDescription?: string; saleEmployee?: string; payDate?: string; diff --git a/src/controllers/customer-controller.ts b/src/controllers/customer-controller.ts index 276e863..2721e52 100644 --- a/src/controllers/customer-controller.ts +++ b/src/controllers/customer-controller.ts @@ -31,7 +31,7 @@ export type CustomerCreate = { customerType: CustomerType; customerName: string; customerNameEN: string; - taxNo?: string; + taxNo?: string | null; customerBranch?: Omit[]; }; @@ -40,7 +40,7 @@ export type CustomerUpdate = { customerType?: CustomerType; customerName?: string; customerNameEN?: string; - taxNo?: string; + taxNo?: string | null; customerBranch?: (Omit & { id: string })[]; };