scheunemann-interfaces
Version:
Interfaces de Projetos Scheunemann
35 lines (34 loc) • 1.03 kB
JavaScript
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.NatiWaEntity = void 0;
var evolution_1 = require("../../evolution");
// #region Interfaces (3)
// #endregion Interfaces (3)
// #region Classes (1)
var NatiWaEntity = /** @class */ (function () {
// #endregion Properties (10)
// #region Constructors (1)
function NatiWaEntity(data) {
// #region Properties (10)
this.chatwoot = null;
this.id = '';
this.instanceName = '';
this.number = '';
this.qrcode = false;
this.token = '';
this.type = evolution_1.EEvolutionInstanceType.WEBHOOK;
this.typebot = null;
this.waServerId = '';
this.webhook = null;
if (data) {
for (var key in data) {
if (data.hasOwnProperty(key) && key in this) {
this[key] = data[key];
}
}
}
}
return NatiWaEntity;
}());
exports.NatiWaEntity = NatiWaEntity;
// #endregion Classes (1)