UNPKG

cecon-interfaces

Version:
30 lines (29 loc) 905 B
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.NatipayTokenEntity = void 0; var NatipayTokenEntity = /** @class */ (function () { function NatipayTokenEntity(data) { this.appId = ''; this.createdAt = new Date(); this.deviceId = null; this.expiresAt = new Date(); this.id = ''; this.ipAddress = null; this.isRevoked = false; 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 NatipayTokenEntity; }()); exports.NatipayTokenEntity = NatipayTokenEntity;