UNPKG

emotiv-ts

Version:

A Typescript library that wraps the Cortex API functionalities to communicate with Emotiv headsets

75 lines (74 loc) 2.15 kB
import { CortexResponse } from "../../internal/cortex-response"; export class License extends CortexResponse { isOnline; license; constructor(isOnline, license) { super(); this.isOnline = isOnline; this.license = license; } } export class LicenseDetail { applications; billingFrom; billingTo; deviceInfo; expired; extenderLimit; hardLimitTime; isCommercial; licenseId; licenseName; localQuota; scopes; seatCount; sessionCount; softLimitTime; totalDebit; totalRegisteredDevices; validFrom; validTo; maxDebit; constructor(applications, billingFrom, billingTo, deviceInfo, expired, extenderLimit, hardLimitTime, isCommercial, licenseId, licenseName, localQuota, scopes, seatCount, sessionCount, softLimitTime, totalDebit, totalRegisteredDevices, validFrom, validTo, maxDebit) { this.applications = applications; this.billingFrom = billingFrom; this.billingTo = billingTo; this.deviceInfo = deviceInfo; this.expired = expired; this.extenderLimit = extenderLimit; this.hardLimitTime = hardLimitTime; this.isCommercial = isCommercial; this.licenseId = licenseId; this.licenseName = licenseName; this.localQuota = localQuota; this.scopes = scopes; this.seatCount = seatCount; this.sessionCount = sessionCount; this.softLimitTime = softLimitTime; this.totalDebit = totalDebit; this.totalRegisteredDevices = totalRegisteredDevices; this.validFrom = validFrom; this.validTo = validTo; this.maxDebit = maxDebit; } } export class DeviceInfo { deviceLimit; devicesPerSeat; sessionLimit; constructor(deviceLimit, devicesPerSeat, sessionLimit) { this.deviceLimit = deviceLimit; this.devicesPerSeat = devicesPerSeat; this.sessionLimit = sessionLimit; } } export class SessionLimit { day; month; year; constructor(day, month, year) { this.day = day; this.month = month; this.year = year; } }