# Functions
AddPoints takes a programId of an existing program and memberId of existing member to add points to chosen member.
CountMembers takes search conditions as pagination object and returns the number of members who match with the condition.
CreateProgram takes a new program name and creates a new program.
CreateTier takes a programId of an existing program, creates a new template (based of default template), creates a tier, and links this tier to the program.
DeleteMember takes programId, tierId, memberId and memberDetails, deletes an existing member record.
EnrolMember takes programId, tierId and memberDetails, creates a new member record, and sends a welcome email to deliver membership card url.
GetSingleMember takes memberId and returns the record of that member.
ListMembers takes search conditions as pagination object and returns list of member records which match with the conditions.
SendWelcomeEmail takes memberId and sends a welcome email (contains membership card url) to the member.
UpdateMember takes memberId and memberDetails, and updates existing member record.
UsePoints takes a programId of an existing program and memberId of existing member to use points from a chosen member.