เพิ่มapi download เอกสาร

This commit is contained in:
setthawutttty 2023-09-11 17:16:35 +07:00
parent 0171aec669
commit dd27f0c835
2 changed files with 51 additions and 62 deletions

View file

@ -1,6 +1,9 @@
interface attachments {
name: string;
url: string;
}
interface ResponseInbox {
body: string;
createdAt: Date;
createdFullName: string;
createdUserId: string;
id: string;
@ -9,7 +12,7 @@ interface ResponseInbox {
lastUpdateUserId: string;
lastUpdatedAt: Date;
openDate: Date | null;
payload: string;
payload: {attachments:attachments[]}
receiveDate: Date;
receiverUserId: string;
subject: string;
@ -21,7 +24,7 @@ interface DataInbox {
subject: string;
timereceive: Date;
body: string;
payload: string;
payload: {attachments:attachments[]}
ratingModel: number;
}