Create Contact model interfaces
parent
b4ff7793a0
commit
38b9a40167
|
@ -0,0 +1,20 @@
|
|||
export interface Name {
|
||||
firstName?: string;
|
||||
lastName?: string;
|
||||
middleName?: string;
|
||||
prefix?: string;
|
||||
suffix?: string;
|
||||
}
|
||||
|
||||
export interface Address {
|
||||
line_1?: string;
|
||||
line_2?: string;
|
||||
city?: string;
|
||||
state?: string;
|
||||
postalCode?: string;
|
||||
}
|
||||
|
||||
export interface Contact {
|
||||
name?: Name;
|
||||
addresses?: Address[];
|
||||
}
|
Loading…
Reference in New Issue