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