Account
This model represents the Account properties associated with a user's account.
| Name | Description |
|---|---|
| id | A unique identifier of the account holder |
| firstName | The first name of the account holder |
| lastName | The last name of the account holder |
| bio | A brief description of the account holder |
| emailMatch | This represents the matched email |
| The email of the account holder | |
| authyId | The 2FA authentication uiique identifier |
| emailVerified | A boolean confirms email as verified |
| sendPromoEmails | A boolean that confirms account holder can receive promotional emails |
| profileCompleted | A boolean that confirm the profile of the account holder is completed |
| provider | The name of the authentication provider. This value is persisted if the account holder registered with a thirdpary authentication provider such as Google |
| providerId | The unique identifier of the providder |
| deviceID | A unique identifier of the authenticating device |
| photoURL | The URL to the account holder profile picture |
| waiverName | A created waiver name |
| gender | The gender of the account holder |
| idCountry | A unique identifier of the country of the account holder |
| idType | A type of card used in user verification |
| idNum | ID numbmber of the card used in verification |
| idState | A unique identifier of the state |
| address1 | The primary address of the account holder |
| address2 | The secondary address of the account holder |
| city | The city of the account holder |
| state | The state in which the account holder lives |
| zip | The zip code of the country in which the account holder lives |
| checkin_time | A timestamp showing the checkin time |
| waiverSignedStatus | A boolean that verifies a waiver is signed |
| locale | The languate locale of the account holder |
| phone | The phone number of the user |
| country_code | The country code of the authenticated user |
| isFirstTime | A boolean that verifies it is the clients first time of login |
| isSignUpComplete | A boolean that shows if the signup process is complete for this account |
| consent | A boolean that shows if concent is required for a created waiver |
| dob | The date of birth of the account holder |
| createdAt | A timestamp of when this account was created |
| lastUpdatedAt | A timestamp of when this account was last updated |
| organizationId | The unique identifier of the organization the account holder belongs to |
| status | This repesents the state of the accout |
| createdById | A unique identifer of the |
| sports | A list of the favourite sports and activities of the user |
| role | This represents the role of the account holder |
| refreshToken | A string representing the refresh token |
| permission | A list of permissions for the account holder |