Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var AllChannelOfContact = []ChannelOfContact{ ChannelOfContactApp, ChannelOfContactUssd, ChannelOfContactShortcode, }
View Source
var AllFilterOperatorType = []FilterOperatorType{ FilterOperatorTypeEq, FilterOperatorTypeNeq, FilterOperatorTypeLt, FilterOperatorTypeLte, FilterOperatorTypeGt, FilterOperatorTypeGte, FilterOperatorTypeHasProperty, FilterOperatorTypeNotHasProperty, FilterOperatorTypeContainsToken, FilterOperatorTypeNotContainsToken, }
View Source
var AllGeneralOptionType = []GeneralOptionType{ GeneralOptionTypeYes, GeneralOptionTypeNo, GeneralOptionTypeNotGiven, }
View Source
var AllPayor = []Payor{ PayorApa, PayorJubilee, PayorResolution, PayorBritam, PayorMinet, PayorMadison, }
View Source
var AllPersona = []Persona{ PersonaAlice, PersonaJuma, PersonaBob, PersonaAndrew, }
View Source
var AllSignUpMethod = []SignUpMethod{ SignUpMethodAnonymous, SignUpMethodApple, SignUpMethodFacebook, SignUpMethodGoogle, SignUpMethodPhone, }
View Source
var AllSortType = []SortType{ SortTypeAscending, SortTypeDescending, }
Functions ¶
This section is empty.
Types ¶
type Beneficiary ¶
type Beneficiary struct { Name string `json:"name"` Msisdns []string `json:"msisdns"` Emails []string `json:"emails"` Relationship domain.BeneficiaryRelationship `json:"relationship"` DateOfBirth scalarutils.Date `json:"dateOfBirth"` }
type BeneficiaryInput ¶
type BeneficiaryInput struct { Name string `json:"name"` Msisdns []string `json:"msisdns"` Emails []string `json:"emails"` Relationship domain.BeneficiaryRelationship `json:"relationship"` DateOfBirth scalarutils.Date `json:"dateOfBirth"` }
type ChannelOfContact ¶
type ChannelOfContact string
const ( ChannelOfContactApp ChannelOfContact = "APP" ChannelOfContactUssd ChannelOfContact = "USSD" ChannelOfContactShortcode ChannelOfContact = "SHORTCODE" )
func (ChannelOfContact) IsValid ¶
func (e ChannelOfContact) IsValid() bool
func (ChannelOfContact) MarshalGQL ¶
func (e ChannelOfContact) MarshalGQL(w io.Writer)
func (ChannelOfContact) String ¶
func (e ChannelOfContact) String() string
func (*ChannelOfContact) UnmarshalGQL ¶
func (e *ChannelOfContact) UnmarshalGQL(v interface{}) error
type FilterOperatorType ¶
type FilterOperatorType string
const ( FilterOperatorTypeEq FilterOperatorType = "EQ" FilterOperatorTypeNeq FilterOperatorType = "NEQ" FilterOperatorTypeLt FilterOperatorType = "LT" FilterOperatorTypeLte FilterOperatorType = "LTE" FilterOperatorTypeGt FilterOperatorType = "GT" FilterOperatorTypeGte FilterOperatorType = "GTE" FilterOperatorTypeHasProperty FilterOperatorType = "HAS_PROPERTY" FilterOperatorTypeNotHasProperty FilterOperatorType = "NOT_HAS_PROPERTY" FilterOperatorTypeContainsToken FilterOperatorType = "CONTAINS_TOKEN" FilterOperatorTypeNotContainsToken FilterOperatorType = "NOT_CONTAINS_TOKEN" )
func (FilterOperatorType) IsValid ¶
func (e FilterOperatorType) IsValid() bool
func (FilterOperatorType) MarshalGQL ¶
func (e FilterOperatorType) MarshalGQL(w io.Writer)
func (FilterOperatorType) String ¶
func (e FilterOperatorType) String() string
func (*FilterOperatorType) UnmarshalGQL ¶
func (e *FilterOperatorType) UnmarshalGQL(v interface{}) error
type GeneralOptionType ¶
type GeneralOptionType string
const ( GeneralOptionTypeYes GeneralOptionType = "YES" GeneralOptionTypeNo GeneralOptionType = "NO" GeneralOptionTypeNotGiven GeneralOptionType = "NOT_GIVEN" )
func (GeneralOptionType) IsValid ¶
func (e GeneralOptionType) IsValid() bool
func (GeneralOptionType) MarshalGQL ¶
func (e GeneralOptionType) MarshalGQL(w io.Writer)
func (GeneralOptionType) String ¶
func (e GeneralOptionType) String() string
func (*GeneralOptionType) UnmarshalGQL ¶
func (e *GeneralOptionType) UnmarshalGQL(v interface{}) error
type LocationInput ¶
type OtherPractitionerServiceInput ¶
type OtherPractitionerServiceInput struct {
OtherServices []string `json:"otherServices"`
}
type PractitionerServiceInput ¶
type PractitionerServiceInput struct {
Services []domain.PractitionerService `json:"services"`
}
type ServicesOffered ¶
type ServicesOffered struct { Services []domain.PractitionerService `json:"services"` OtherServices []string `json:"otherServices"` }
type SignUpMethod ¶
type SignUpMethod string
const ( SignUpMethodAnonymous SignUpMethod = "anonymous" SignUpMethodApple SignUpMethod = "apple" SignUpMethodFacebook SignUpMethod = "facebook" SignUpMethodGoogle SignUpMethod = "google" SignUpMethodPhone SignUpMethod = "phone" )
func (SignUpMethod) IsValid ¶
func (e SignUpMethod) IsValid() bool
func (SignUpMethod) MarshalGQL ¶
func (e SignUpMethod) MarshalGQL(w io.Writer)
func (SignUpMethod) String ¶
func (e SignUpMethod) String() string
func (*SignUpMethod) UnmarshalGQL ¶
func (e *SignUpMethod) UnmarshalGQL(v interface{}) error
Click to show internal directories.
Click to hide internal directories.