New User
data class NewUser(val token: String, val email: String?, val sex: UserSex, val region: UserRegion = UserRegion.NORTH_AMERICA, val usaResidence: String?, val birthDate: LocalDate, val weight: Weight, val height: Height, val researchConsent: Boolean, val termsOfService: TermsOfService)
A object representing the data used to create a new user in Prism's systems. This must be done before any scans can be created. Note that user creation will fail if the user does not explicitly accept the terms of service.
Constructors
Properties
Link copied to clipboard
{string} The region the user resides in
Link copied to clipboard
{boolean} Research Consent for the user. This is used to enroll or unenroll the user in using the uploaded body scans for training purposes.
Link copied to clipboard
{TermsOfService} A property that is explicit acceptance by the user of the TOS
Link copied to clipboard
{string} The US state the user resides in