Move properties of phones to the phone, not contact_phone
This makes sense because there will naturally be cases where multiple districts have the same phone number mapped to different contacts.
This commit is contained in:
parent
f957dc6982
commit
7b04822a9b
14 changed files with 143 additions and 104 deletions
|
|
@ -19,6 +19,7 @@ type ContactSimple struct {
|
|||
type Phone struct {
|
||||
E164 string `json:"e164"`
|
||||
CanSMS bool `json:"can_sms"`
|
||||
Status string `json:"status"`
|
||||
}
|
||||
type PhoneSimple struct {
|
||||
CanSMS bool `json:"can_sms"`
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue