UNPKG

cecon-interfaces

Version:
35 lines (34 loc) 1.17 kB
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.PayioTerminalEntity = void 0; var enum_1 = require("../enum"); var operation_enum_1 = require("../enum/operation.enum"); var PayioTerminalEntity = /** @class */ (function () { function PayioTerminalEntity(data) { this.activationKey = null; this.activationId = null; this.active = false; this.appId = ''; this.companyId = ''; this.createdAt = new Date(); this.deviceId = ''; this.id = ''; this.ipAddress = ''; this.ipServerAddress = null; this.model = enum_1.EPayioVisionTerminalModel.CONTROL_ID; this.name = ''; this.operation = operation_enum_1.EPayioVisionTerminalOperation.CHECKIN; this.tags = []; this.updatedAt = new Date(); this.webhookUrl = null; if (data) { for (var key in data) { if (data.hasOwnProperty(key) && key in this) { this[key] = data[key]; } } } } return PayioTerminalEntity; }()); exports.PayioTerminalEntity = PayioTerminalEntity;