2023-09-11 17:16:35 +07:00
|
|
|
interface attachments {
|
|
|
|
|
name: string;
|
|
|
|
|
url: string;
|
|
|
|
|
}
|
2023-08-16 12:55:07 +07:00
|
|
|
interface ResponseInbox {
|
|
|
|
|
body: string;
|
|
|
|
|
createdFullName: string;
|
|
|
|
|
createdUserId: string;
|
|
|
|
|
id: string;
|
|
|
|
|
isOpen: boolean;
|
|
|
|
|
lastUpdateFullName: string;
|
|
|
|
|
lastUpdateUserId: string;
|
|
|
|
|
lastUpdatedAt: Date;
|
|
|
|
|
openDate: Date | null;
|
2023-09-11 17:16:35 +07:00
|
|
|
payload: {attachments:attachments[]}
|
2023-08-16 12:55:07 +07:00
|
|
|
receiveDate: Date;
|
|
|
|
|
receiverUserId: string;
|
|
|
|
|
subject: string;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
interface DataInbox {
|
|
|
|
|
no: string;
|
|
|
|
|
sender: string;
|
|
|
|
|
subject: string;
|
|
|
|
|
timereceive: Date;
|
|
|
|
|
body: string;
|
2023-09-11 17:16:35 +07:00
|
|
|
payload: {attachments:attachments[]}
|
2023-08-16 12:55:07 +07:00
|
|
|
ratingModel: number;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
export type { ResponseInbox, DataInbox };
|