UNPKG

scheunemann-interfaces

Version:
27 lines (26 loc) 954 B
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.EvolutionEntity = void 0; var hash_entity_1 = require("./hash.entity"); var instance_entity_1 = require("./instance.entity"); var qrcode_entity_1 = require("./qrcode.entity"); var EvolutionEntity = /** @class */ (function () { function EvolutionEntity(data) { // #region Properties (6) this.chatwoot = null; this.events = []; this.hash = new hash_entity_1.EvolutionHashEntity(); this.instance = new instance_entity_1.EvolutionInstanceEntity(); this.qrcode = new qrcode_entity_1.EvolutionQrcodeEntity(); this.webhook = ''; if (data) { for (var key in data) { if (data.hasOwnProperty(key) && key in this) { this[key] = data[key]; } } } } return EvolutionEntity; }()); exports.EvolutionEntity = EvolutionEntity;