Built motion from commit a9fb64cc6defd8fb3a5cc199221f878e91c0e969. Version 3.0.0...
[motion-next.git] / server / api / voiceQueueReport / voiceQueueReport.attributes.js
1 const a759_0x406d=['diff','setDataValue','DATE','COMPLETEDBYCALLER,\x20COMPLETEDBYAGENT,\x20FORWARDTRANFER,\x20BLINDTRANSFER,\x20ATTENDEDTRANSFER,\x20EXITWITHKEY,\x20TIMEOUT','BOOLEAN','exports','queuecallerjoinAt','seconds','moment','INTEGER','queuecallerleaveAt','YYYY-MM-DD\x20HH:mm:ss','holdtime','FORWARD,\x20BLIND,\x20ATTENDED','STRING','format'];(function(_0x504482,_0x406d09){const _0x3a7808=function(_0x1d710a){while(--_0x1d710a){_0x504482['push'](_0x504482['shift']());}};_0x3a7808(++_0x406d09);}(a759_0x406d,0x12c));const a759_0x3a78=function(_0x504482,_0x406d09){_0x504482=_0x504482-0x0;let _0x3a7808=a759_0x406d[_0x504482];return _0x3a7808;};const _0x46af7e=a759_0x3a78;'use strict';const Sequelize=require('sequelize'),moment=require(_0x46af7e('0xc'));module[_0x46af7e('0x9')]={'type':{'type':Sequelize[_0x46af7e('0x2')]},'uniqueid':{'type':Sequelize[_0x46af7e('0x2')]},'calleridnum':{'type':Sequelize[_0x46af7e('0x2')]},'calleridname':{'type':Sequelize[_0x46af7e('0x2')]},'queue':{'type':Sequelize[_0x46af7e('0x2')]},'queuecallerjoinAt':{'type':Sequelize[_0x46af7e('0x6')]},'queuecallerleaveAt':{'type':Sequelize[_0x46af7e('0x6')],'set':function(_0x1d710a){const _0x1afda6=_0x46af7e,_0x158d0f=moment(_0x1d710a),_0x3098cb=moment(this['getDataValue'](_0x1afda6('0xa')))[_0x1afda6('0x3')](_0x1afda6('0xf')),_0x38718f=_0x158d0f[_0x1afda6('0x4')](_0x3098cb,_0x1afda6('0xb'));this['setDataValue'](_0x1afda6('0xe'),_0x1d710a),this[_0x1afda6('0x5')](_0x1afda6('0x0'),_0x38718f||null);}},'position':{'type':Sequelize[_0x46af7e('0xd')]},'count':{'type':Sequelize[_0x46af7e('0xd')]},'queuecallerabandon':{'type':Sequelize[_0x46af7e('0x8')],'defaultValue':![]},'queuecallerabandonAt':{'type':Sequelize[_0x46af7e('0x6')]},'queuecallercomplete':{'type':Sequelize['BOOLEAN'],'defaultValue':![]},'queuecallercompleteAt':{'type':Sequelize[_0x46af7e('0x6')]},'queuecallerexit':{'type':Sequelize['BOOLEAN'],'defaultValue':![]},'queuecallerexitAt':{'type':Sequelize[_0x46af7e('0x6')]},'queuecallerexitreason':{'type':Sequelize[_0x46af7e('0x2')],'comment':_0x46af7e('0x7')},'originalposition':{'type':Sequelize[_0x46af7e('0xd')]},'channel':{'type':Sequelize[_0x46af7e('0x2')]},'connectedlinenum':{'type':Sequelize[_0x46af7e('0x2')]},'connectedlinename':{'type':Sequelize[_0x46af7e('0x2')]},'accountcode':{'type':Sequelize[_0x46af7e('0x2')]},'context':{'type':Sequelize[_0x46af7e('0x2')]},'exten':{'type':Sequelize[_0x46af7e('0x2')]},'priority':{'type':Sequelize[_0x46af7e('0x2')]},'holdtime':{'type':Sequelize[_0x46af7e('0xd')]},'mohtime':{'type':Sequelize[_0x46af7e('0xd')],'defaultValue':0x0},'assigned':{'type':Sequelize[_0x46af7e('0x8')],'defaultValue':![]},'lastAssignedTo':{'type':Sequelize[_0x46af7e('0x2')]},'transfer':{'type':Sequelize[_0x46af7e('0x8')],'defaultValue':![]},'transfertype':{'type':Sequelize['STRING'],'comment':_0x46af7e('0x1')},'transferexten':{'type':Sequelize[_0x46af7e('0x2')]},'transferuniqueid':{'type':Sequelize['STRING']},'disposition':{'type':Sequelize[_0x46af7e('0x2')]},'secondDisposition':{'type':Sequelize[_0x46af7e('0x2')]},'thirdDisposition':{'type':Sequelize[_0x46af7e('0x2')]},'queuecallerenterreason':{'type':Sequelize['INTEGER'],'defaultValue':0x0}};