From e29a35806b82eb633210882c032664097d37dee5 Mon Sep 17 00:00:00 2001 From: Colin Williams Date: Sun, 12 Mar 2023 14:10:34 -0700 Subject: [PATCH] Updated some member fields to be optional, per API --- lib/src/member.ts | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/lib/src/member.ts b/lib/src/member.ts index 415ba2d..f5caa39 100644 --- a/lib/src/member.ts +++ b/lib/src/member.ts @@ -34,16 +34,16 @@ export interface MemberStatusLabel { export interface Member { address: string; custom_fields: CustomField[]; - email: string; + email?: string; emergency_contacts: EmergencyContact; - group_ids: number[]; + group_ids?: number[]; homephone: string; id: number; - mobilephone: string; + mobilephone?: string; name: string; notes: string; position: string; - ref: string; + ref?: string; status: MemberStatus; workphone: string; } \ No newline at end of file