chore: add type

This commit is contained in:
Methapon Metanipat 2024-09-17 13:36:50 +07:00
parent e98540a4c9
commit d66c3d7856

View file

@ -282,3 +282,35 @@ export type NewEmployeeHistory = {
history: { valueAfter: string; valueBefore: string; field: string }[];
}[];
};
export type EmployeeVisaPayload = {
number: string;
type: string;
entryCount: number;
issueCountry: string;
issuePlace: string;
issueDate: Date;
expireDate: Date;
mrz?: string;
remark?: string;
};
export type EmployeePassportPayload = {
number: string;
type: string;
issueDate: Date;
expireDate: Date;
issueCountry: string;
issuePlace: string;
previousPassportRef?: string | null;
};
export type EmployeeInCountryNoticePayload = {
noticeNumber: string;
noticeDate: string;
nextNoticeDate: Date;
tmNumber: string;
entryDate: Date;
travelBy: string;
travelFrom: string;
};