35e27973f5f7a7287eef968b5692cc4e958296d4
[motion-next.git] / server / api / cmHopperFinal / cmHopperFinal.attributes.js
1 const a146_0x5aca=['moment','followuptime','INTEGER','dispositionat','getDataValue','exports','STRING','seconds','setDataValue','BOOLEAN','DATE'];(function(_0x2374f6,_0x5acace){const _0x159dc2=function(_0x4e64a2){while(--_0x4e64a2){_0x2374f6['push'](_0x2374f6['shift']());}};_0x159dc2(++_0x5acace);}(a146_0x5aca,0xa9));const a146_0x159d=function(_0x2374f6,_0x5acace){_0x2374f6=_0x2374f6-0x0;let _0x159dc2=a146_0x5aca[_0x2374f6];return _0x159dc2;};const _0x5ab3aa=a146_0x159d;'use strict';const Sequelize=require('sequelize'),moment=require(_0x5ab3aa('0x7'));module[_0x5ab3aa('0x1')]={'state':{'type':Sequelize[_0x5ab3aa('0x9')](0x2)},'statedesc':{'type':Sequelize['STRING']},'scheduledat':{'type':Sequelize['DATE']},'countbusyretry':{'type':Sequelize[_0x5ab3aa('0x9')],'defaultValue':0x0},'countcongestionretry':{'type':Sequelize['INTEGER'],'defaultValue':0x0},'countnoanswerretry':{'type':Sequelize[_0x5ab3aa('0x9')],'defaultValue':0x0},'countglobal':{'type':Sequelize[_0x5ab3aa('0x9')],'defaultValue':0x0},'uniqueid':{'type':Sequelize[_0x5ab3aa('0x2')]},'originatecalleridnum':{'type':Sequelize['STRING']},'originatecalleridname':{'type':Sequelize[_0x5ab3aa('0x2')]},'calleridnum':{'type':Sequelize[_0x5ab3aa('0x2')]},'calleridname':{'type':Sequelize[_0x5ab3aa('0x2')]},'starttime':{'type':Sequelize[_0x5ab3aa('0x6')]},'responsetime':{'type':Sequelize[_0x5ab3aa('0x6')]},'answertime':{'type':Sequelize['DATE']},'droptime':{'type':Sequelize[_0x5ab3aa('0x6')]},'endtime':{'type':Sequelize[_0x5ab3aa('0x6')]},'ringtime':{'type':Sequelize[_0x5ab3aa('0x9')],'defaultValue':0x0},'holdtime':{'type':Sequelize[_0x5ab3aa('0x9')],'defaultValue':0x0},'talktime':{'type':Sequelize[_0x5ab3aa('0x9')],'defaultValue':0x0},'followuptime':{'type':Sequelize[_0x5ab3aa('0x9')],'defaultValue':0x0},'dropreason':{'type':Sequelize[_0x5ab3aa('0x2')]},'campaign':{'type':Sequelize[_0x5ab3aa('0x2')]},'campaigntype':{'type':Sequelize[_0x5ab3aa('0x2')]},'membername':{'type':Sequelize[_0x5ab3aa('0x2')]},'reason':{'type':Sequelize[_0x5ab3aa('0x2')]},'disposition':{'type':Sequelize[_0x5ab3aa('0x2')]},'secondDisposition':{'type':Sequelize[_0x5ab3aa('0x2')]},'thirdDisposition':{'type':Sequelize[_0x5ab3aa('0x2')]},'dispositionat':{'type':Sequelize[_0x5ab3aa('0x6')],'set':function(_0x4e64a2){const _0x5d50c4=_0x5ab3aa,_0x282247=this[_0x5d50c4('0x0')]('endtime');return _0x282247&&_0x4e64a2&&this[_0x5d50c4('0x4')](_0x5d50c4('0x8'),moment(_0x4e64a2)['diff'](moment(_0x282247),_0x5d50c4('0x3'))),this[_0x5d50c4('0x4')](_0x5d50c4('0xa'),_0x4e64a2);}},'amd':{'type':Sequelize['BOOLEAN'],'defaultValue':![]},'fax':{'type':Sequelize['BOOLEAN'],'defaultValue':![]},'blacklist':{'type':Sequelize['BOOLEAN'],'defaultValue':![]},'rescheduled':{'type':Sequelize[_0x5ab3aa('0x5')],'defaultValue':![]},'rescheduledat':{'type':Sequelize[_0x5ab3aa('0x6')]},'callback':{'type':Sequelize[_0x5ab3aa('0x5')],'defaultValue':![]},'callbackuniqueid':{'type':Sequelize['STRING'],'defaultValue':null},'callbackat':{'type':Sequelize[_0x5ab3aa('0x6')]},'deleted':{'type':Sequelize['STRING'],'defaultValue':null},'deletedat':{'type':Sequelize[_0x5ab3aa('0x6')]},'recallme':{'type':Sequelize['BOOLEAN'],'defaultValue':![]},'agiafterat':{'type':Sequelize['DATE']},'countnosuchnumberretry':{'type':Sequelize[_0x5ab3aa('0x9')],'defaultValue':0x0},'countdropretry':{'type':Sequelize['INTEGER'],'defaultValue':0x0},'countabandonedretry':{'type':Sequelize['INTEGER'],'defaultValue':0x0},'countmachineretry':{'type':Sequelize[_0x5ab3aa('0x9')],'defaultValue':0x0},'countagentrejectretry':{'type':Sequelize[_0x5ab3aa('0x9')],'defaultValue':0x0}};