Skip to content

Commit 2e5af4d

Browse files
types: add ContactFields and ContactData interfaces for managing contact information
1 parent 8b86d36 commit 2e5af4d

File tree

1 file changed

+12
-0
lines changed

1 file changed

+12
-0
lines changed

src/types/mailtrap.ts

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -111,3 +111,15 @@ export interface BatchSendRequest {
111111
custom_variables?: Record<string, string>;
112112
}[];
113113
}
114+
115+
export interface ContactFields {
116+
first_name?: string;
117+
last_name?: string;
118+
[key: string]: string | undefined;
119+
}
120+
121+
export interface ContactData {
122+
email: string;
123+
fields?: ContactFields;
124+
list_ids?: number[];
125+
}

0 commit comments

Comments
 (0)