APIInterface
: { emailExistsGET
: undefined | ((input
: { email
: string; options
: APIOptions; userContext
: any }) => Promise<{ exists
: boolean; status
: "OK" }>); generatePasswordResetTokenPOST
: undefined | ((input
: { formFields
: { id
: string; value
: string }[]; options
: APIOptions; userContext
: any }) => Promise<{ status
: "OK" }>); passwordResetPOST
: undefined | ((input
: { formFields
: { id
: string; value
: string }[]; options
: APIOptions; token
: string; userContext
: any }) => Promise<{ status
: "OK"; userId
?: string } | { status
: "RESET_PASSWORD_INVALID_TOKEN_ERROR" }>); signInPOST
: undefined | ((input
: { formFields
: { id
: string; value
: string }[]; options
: APIOptions; userContext
: any }) => Promise<{ session
: SessionContainer; status
: "OK"; user
: User } | { status
: "WRONG_CREDENTIALS_ERROR" }>); signUpPOST
: undefined | ((input
: { formFields
: { id
: string; value
: string }[]; options
: APIOptions; userContext
: any }) => Promise<{ session
: SessionContainer; status
: "OK"; user
: User } | { status
: "EMAIL_ALREADY_EXISTS_ERROR" }>) }