@bit-ui-libs/common
Version:
This library was generated with [Nx](https://nx.dev).
37 lines (33 loc) • 743 B
text/typescript
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;
}