UNPKG

cecon-interfaces

Version:
25 lines (24 loc) 749 B
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.PayioZeConfigEntity = void 0; var PayioZeConfigEntity = /** @class */ (function () { function PayioZeConfigEntity(data) { this.autoAccept = false; this.createdAt = new Date(); this.events = []; this.id = ''; this.name = ''; this.soundAlert = false; this.updatedAt = new Date(); this.webhook = []; if (data) { for (var key in data) { if (data.hasOwnProperty(key) && key in this) { this[key] = data[key]; } } } } return PayioZeConfigEntity; }()); exports.PayioZeConfigEntity = PayioZeConfigEntity;