Create Contact model interfaces
parent
c9d2fd76da
commit
b90fcf4bbe
|
@ -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