We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 9c41d98 commit 9c36c34Copy full SHA for 9c36c34
src/types/api/messages.ts
@@ -1,3 +1,8 @@
1
+export type SmtpInformationData = {
2
+ mail_from_addr: string;
3
+ client_ip: string;
4
+};
5
+
6
export type Message = {
7
id: number;
8
inbox_id: number;
@@ -22,6 +27,7 @@ export type Message = {
22
27
blacklists_report_info: boolean;
23
28
smtp_information: {
24
29
ok: boolean;
30
+ data?: SmtpInformationData;
25
31
};
26
32
33
@@ -69,3 +75,9 @@ export type SpamReport = {
69
75
export type MessageUpdateParams = {
70
76
isRead: boolean;
71
77
78
79
+export type MessageListOptions = {
80
+ last_id?: number;
81
+ page?: number;
82
+ search?: string;
83
0 commit comments