import { KeysRequest } from "./keysRequest" ; import { ReferenceEventRequest } from "./referenceEventRequest" ; import { KdfType } from "../../enums/kdfType" ; import { CaptchaProtectedRequest } from "./captchaProtectedRequest" ; export class RegisterRequest implements CaptchaProtectedRequest { masterPasswordHint : string ; keys : KeysRequest ; token : string ; organizationUserId : string ; constructor ( public email , public name , public masterPasswordHash , masterPasswordHint , public key , public kdf , public kdfIterations , public referenceData , public captchaResponse ) { this . masterPasswordHint = masterPasswordHint ? masterPasswordHint : null ; } }