fix: update payload
This commit is contained in:
parent
472db99c50
commit
96b18f1049
1 changed files with 24 additions and 18 deletions
|
|
@ -104,30 +104,36 @@ export type CustomerBranchCreate = {
|
|||
provinceId?: string | null;
|
||||
};
|
||||
|
||||
export type CustomerBranchUpdate = (
|
||||
| {
|
||||
// NOTE: About (Natural Person)
|
||||
citizenId: string;
|
||||
}
|
||||
| {
|
||||
// NOTE: About (Legal Entity)
|
||||
legalPersonNo: string;
|
||||
registerName?: string;
|
||||
registerNameEN?: string;
|
||||
registerDate?: Date;
|
||||
authorizedCapital?: string;
|
||||
authorizedName: string;
|
||||
authorizedNameEN: string;
|
||||
}
|
||||
) & {
|
||||
customerId?: string;
|
||||
export type CustomerBranchUpdate = {
|
||||
customerId: string;
|
||||
|
||||
// NOTE: About (Natural Person)
|
||||
citizenId?: string;
|
||||
namePrefix?: string;
|
||||
firstName?: string;
|
||||
firstNameEN?: string;
|
||||
lastName?: string;
|
||||
lastNameEN?: string;
|
||||
gender?: string;
|
||||
birthDate?: Date;
|
||||
|
||||
// NOTE: About (Legal Entity)
|
||||
legalPersonNo?: string;
|
||||
registerName?: string;
|
||||
registerNameEN?: string;
|
||||
registerDate?: Date;
|
||||
authorizedCapital?: string;
|
||||
authorizedName?: string;
|
||||
authorizedNameEN?: string;
|
||||
customerName?: string;
|
||||
|
||||
telephoneNo: string;
|
||||
|
||||
status?: "ACTIVE" | "INACTIVE";
|
||||
status?: Status;
|
||||
|
||||
homeCode?: string;
|
||||
employmentOffice?: string;
|
||||
employmentOfficeEN?: string;
|
||||
address?: string;
|
||||
addressEN?: string;
|
||||
soi?: string | null;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue