UNPKG

cecon-interfaces

Version:
33 lines (32 loc) 1.01 kB
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.PayioTokenEntity = void 0; var PayioTokenEntity = /** @class */ (function () { function PayioTokenEntity(data) { this.appId = ''; this.companyId = null; this.createdAt = new Date(); /** @deprecated use machineUid instead */ this.deviceId = null; this.expiresAt = new Date(); this.id = ''; this.ipAddress = null; this.isRevoked = false; this.machineUid = null; this.refreshToken = ''; this.revokedAt = null; this.sandbox = false; this.updatedAt = new Date(); this.userAgent = null; this.userId = ''; if (data) { for (var key in data) { if (data.hasOwnProperty(key) && key in this) { this[key] = data[key]; } } } } return PayioTokenEntity; }()); exports.PayioTokenEntity = PayioTokenEntity;