diff --git a/tx0/contact/contact.go b/tx0/contact/contact.go index e3b277d..6baee60 100644 --- a/tx0/contact/contact.go +++ b/tx0/contact/contact.go @@ -5,7 +5,10 @@ import ( ) type Contact struct { - Id uuid.UUID `json:"id,omitempty"` - PhoneNumber string `json:"phone_number,omitempty"` - UserId uuid.UUID `json:"user_id,omitempty"` + Id *uuid.UUID `json:"id,omitempty"` + Firstname *string `json:"first_name,omitempty"` + Lastname *string `json:"last_name,omitempty"` + Nickname *string `json:"nickname,omitempty"` + PhoneNumber string `json:"phone_number"` + UserId *uuid.UUID `json:"user_id,omitempty"` }