From 38b9a40167a70736fdbe0c263896e990e3202998 Mon Sep 17 00:00:00 2001 From: "Kevin C. Coram" Date: Tue, 27 Aug 2019 23:16:55 -0400 Subject: [PATCH] Create Contact model interfaces --- libs/contact-model/src/lib/contact-model.ts | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) diff --git a/libs/contact-model/src/lib/contact-model.ts b/libs/contact-model/src/lib/contact-model.ts index e69de29..df754da 100644 --- a/libs/contact-model/src/lib/contact-model.ts +++ b/libs/contact-model/src/lib/contact-model.ts @@ -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[]; +}