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;
|
provinceId?: string | null;
|
||||||
};
|
};
|
||||||
|
|
||||||
export type CustomerBranchUpdate = (
|
export type CustomerBranchUpdate = {
|
||||||
| {
|
customerId: string;
|
||||||
// NOTE: About (Natural Person)
|
|
||||||
citizenId: string;
|
// NOTE: About (Natural Person)
|
||||||
}
|
citizenId?: string;
|
||||||
| {
|
namePrefix?: string;
|
||||||
// NOTE: About (Legal Entity)
|
firstName?: string;
|
||||||
legalPersonNo: string;
|
firstNameEN?: string;
|
||||||
registerName?: string;
|
lastName?: string;
|
||||||
registerNameEN?: string;
|
lastNameEN?: string;
|
||||||
registerDate?: Date;
|
gender?: string;
|
||||||
authorizedCapital?: string;
|
birthDate?: Date;
|
||||||
authorizedName: string;
|
|
||||||
authorizedNameEN: string;
|
// NOTE: About (Legal Entity)
|
||||||
}
|
legalPersonNo?: string;
|
||||||
) & {
|
registerName?: string;
|
||||||
customerId?: string;
|
registerNameEN?: string;
|
||||||
|
registerDate?: Date;
|
||||||
|
authorizedCapital?: string;
|
||||||
|
authorizedName?: string;
|
||||||
|
authorizedNameEN?: string;
|
||||||
customerName?: string;
|
customerName?: string;
|
||||||
|
|
||||||
telephoneNo: string;
|
telephoneNo: string;
|
||||||
|
|
||||||
status?: "ACTIVE" | "INACTIVE";
|
status?: Status;
|
||||||
|
|
||||||
homeCode?: string;
|
homeCode?: string;
|
||||||
|
employmentOffice?: string;
|
||||||
|
employmentOfficeEN?: string;
|
||||||
address?: string;
|
address?: string;
|
||||||
addressEN?: string;
|
addressEN?: string;
|
||||||
soi?: string | null;
|
soi?: string | null;
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue