import { DeviceType } from "../../enums/deviceType" ; import { PlatformUtilsService } from "../../abstractions/platformUtils.service" ; export class DeviceRequest { type : DeviceType ; name : string ; identifier : string ; pushToken ? : string ; constructor ( appId , platformUtilsService ) { this . type = platformUtilsService . getDevice ( ) ; this . name = platformUtilsService . getDeviceString ( ) ; this . identifier = appId ; this . pushToken = null ; } }