import type {Device} from 'autotests/types'; import type {Brand} from 'e2ed/types'; /** * User email. */ export type Email = Brand; /** * User language. */ export type Language = 'de' | 'en'; /** * User password. */ export type Password = Brand; /** * User id. */ export type UserId = Brand; /** * API params for user creation. */ export type ApiUserParams = Readonly<{ device: Device; email: Email; name: string; password: Password; }>; /** * Params for user creation. */ export type UserParams = Partial; /** * User phone. */ export type UserPhone = Brand; /** * User object. */ export type User = Readonly; /** * User object returned by API. */ export type ApiUser = Omit;