APIInterface
: { emailExistsGET
: undefined | ((input
: { email
: string; options
: APIOptions; userContext
: any }) => Promise<{ exists
: boolean; status
: "OK" } | GeneralErrorResponse>); generatePasswordResetTokenPOST
: undefined | ((input
: { formFields
: { id
: string; value
: string }[]; options
: APIOptions; userContext
: any }) => Promise<{ status
: "OK" } | GeneralErrorResponse>); 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" } | GeneralErrorResponse>); signInPOST
: undefined | ((input
: { formFields
: { id
: string; value
: string }[]; options
: APIOptions; userContext
: any }) => Promise<{ session
: SessionContainer; status
: "OK"; user
: User } | { status
: "WRONG_CREDENTIALS_ERROR" } | GeneralErrorResponse>); signUpPOST
: undefined | ((input
: { formFields
: { id
: string; value
: string }[]; options
: APIOptions; userContext
: any }) => Promise<{ session
: SessionContainer; status
: "OK"; user
: User } | { status
: "EMAIL_ALREADY_EXISTS_ERROR" } | GeneralErrorResponse>) }