import type {Brand} from 'e2ed/types'; /** * Device id. */ export type DeviceId = Brand; /** * API params for device creation. */ export type ApiDeviceParams = Readonly<{ cookies: readonly string[]; input: number; model: MobileDeviceModel; title: string; version: string; }>; /** * Params for device creation. */ export type DeviceParams = Partial; /** * Device object. */ export type Device = Readonly; /** * Device object returned by API. */ export type ApiDevice = Device; /** * Mobile device type. */ export type MobileDeviceModel = 'iphone' | 'samsung';