export type SignInCredential = { userName: string password: string twoFactorCode: string captchaResponse: string } export type SignInResponse = { access_token: string expires_in: number refresh_token: string token_type: string } export type FailedSignInResponse = { result: number pResult: number description: string } export type FailedRefreshResponse = { error: string error_description: string error_uri: string } export type SignUpResponse = SignInResponse export type SignUpCredential = { email: string password: string name: string surname: string captchaResponse: string }