UNPKG

@bit-ui-libs/common

Version:
37 lines (33 loc) 743 B
import { DeviceTypeEnum, DeviceTypeIdEnum } from '../common'; export interface DeviceOwner { id: string; isPersonal: boolean; } export interface DeviceInformation { model: string; os: string; imei: string; macAddress: string; } export interface Device { id: string; typeId: DeviceTypeIdEnum; typeName: DeviceTypeEnum; hardwareLevel: number; orgId?: string; userId?: string; image?: string; appName: string; owner: DeviceOwner; externalId: string; name: string; deviceInfo: DeviceInformation; locationId?: string; latitude: number; longitude: number; meanSeaLevel: number; platform: 'ethereum' | 'polygon'; recipientAddress: string; createdAt?: string | null; deletedAt?: string | null; }