model

package
v0.0.24 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Oct 10, 2021 License: MIT Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

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 LocationInput struct {
	ID              string  `json:"id"`
	Name            string  `json:"name"`
	BranchSladeCode *string `json:"branchSladeCode"`
}

type OtherPractitionerServiceInput

type OtherPractitionerServiceInput struct {
	OtherServices []string `json:"otherServices"`
}

type Payor

type Payor string
const (
	PayorApa        Payor = "APA"
	PayorJubilee    Payor = "JUBILEE"
	PayorResolution Payor = "RESOLUTION"
	PayorBritam     Payor = "BRITAM"
	PayorMinet      Payor = "MINET"
	PayorMadison    Payor = "MADISON"
)

func (Payor) IsValid

func (e Payor) IsValid() bool

func (Payor) MarshalGQL

func (e Payor) MarshalGQL(w io.Writer)

func (Payor) String

func (e Payor) String() string

func (*Payor) UnmarshalGQL

func (e *Payor) UnmarshalGQL(v interface{}) error

type Persona

type Persona string
const (
	PersonaAlice  Persona = "ALICE"
	PersonaJuma   Persona = "JUMA"
	PersonaBob    Persona = "BOB"
	PersonaAndrew Persona = "ANDREW"
)

func (Persona) IsValid

func (e Persona) IsValid() bool

func (Persona) MarshalGQL

func (e Persona) MarshalGQL(w io.Writer)

func (Persona) String

func (e Persona) String() string

func (*Persona) UnmarshalGQL

func (e *Persona) UnmarshalGQL(v interface{}) error

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

type SortType

type SortType string
const (
	SortTypeAscending  SortType = "ASCENDING"
	SortTypeDescending SortType = "DESCENDING"
)

func (SortType) IsValid

func (e SortType) IsValid() bool

func (SortType) MarshalGQL

func (e SortType) MarshalGQL(w io.Writer)

func (SortType) String

func (e SortType) String() string

func (*SortType) UnmarshalGQL

func (e *SortType) UnmarshalGQL(v interface{}) error

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL