scheunemann-interfaces
Version:
Interfaces de Projetos Scheunemann
35 lines (34 loc) • 1.07 kB
JavaScript
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.EvolutionTypeBotEntity = void 0;
var EvolutionTypeBotEntity = /** @class */ (function () {
// #endregion Properties (2)
// #region Constructors (1)
function EvolutionTypeBotEntity(data) {
// #region Properties (2)
this.instanceName = '';
this.typebot = new typeBot();
if (data) {
for (var key in data) {
if (data.hasOwnProperty(key) && key in this) {
this[key] = data[key];
}
}
}
}
return EvolutionTypeBotEntity;
}());
exports.EvolutionTypeBotEntity = EvolutionTypeBotEntity;
var typeBot = /** @class */ (function () {
function typeBot() {
this.enabled = true;
this.url = '';
this.typebot = '';
this.expire = 20;
this.keywordFinish = '#SAIR';
this.delayMessage = 1000;
this.unknownMessage = 'Mensagem não reconhecida';
this.listeningFromMe = false;
}
return typeBot;
}());