package types

import (
// "github.com/rs/zerolog/log"
)

type Contact struct {
	Emails []string `json:"emails"`
	ID     int32    `json:"-"`
	Name   string   `json:"name"`
	Phones []Phone  `json:"phones"`
}
type ContactSimple struct {
	Email string      `json:"email"`
	ID    int32       `json:"-"`
	Name  string      `json:"name"`
	Phone PhoneSimple `json:"phone"`
}
type Phone struct {
	E164   string `json:"e164"`
	CanSMS bool   `json:"can_sms"`
	Status string `json:"status"`
}
type PhoneSimple struct {
	CanSMS bool   `json:"can_sms"`
	Number string `json:"number"`
}

/*
func ContactFromModel(m model.Contact) Contact {
	return Contact{
		Emails:
}
*/
