Built motion from commit (unavailable).|2.0.78
[motion2.git] / server / api / voiceQueueReport / voiceQueueReport.attributes.js
index 732bd66..1d9aa06 100644 (file)
@@ -15,4 +15,4 @@
 // * treaties. The SOFTWARE PRODUCT is licensed, not sold.                        *
 // *                                                                       *
 // *************************************************************************
-var _0x1dc8=['DATE','format','YYYY-MM-DD\x20HH:mm:ss','diff','seconds','setDataValue','holdtime','BOOLEAN','COMPLETEDBYCALLER,\x20COMPLETEDBYAGENT,\x20FORWARDTRANFER,\x20BLINDTRANSFER,\x20ATTENDEDTRANSFER,\x20EXITWITHKEY,\x20TIMEOUT','INTEGER','FORWARD,\x20BLIND,\x20ATTENDED','sequelize','moment','exports','STRING'];(function(_0x43700a,_0x33b280){var _0x3c388c=function(_0x3152c5){while(--_0x3152c5){_0x43700a['push'](_0x43700a['shift']());}};_0x3c388c(++_0x33b280);}(_0x1dc8,0x191));var _0x81dc=function(_0x5a757d,_0x3c59ea){_0x5a757d=_0x5a757d-0x0;var _0x10f45d=_0x1dc8[_0x5a757d];return _0x10f45d;};'use strict';var Sequelize=require(_0x81dc('0x0'));var moment=require(_0x81dc('0x1'));module[_0x81dc('0x2')]={'type':{'type':Sequelize[_0x81dc('0x3')]},'uniqueid':{'type':Sequelize[_0x81dc('0x3')]},'calleridnum':{'type':Sequelize[_0x81dc('0x3')]},'calleridname':{'type':Sequelize[_0x81dc('0x3')]},'queue':{'type':Sequelize[_0x81dc('0x3')]},'queuecallerjoinAt':{'type':Sequelize[_0x81dc('0x4')]},'queuecallerleaveAt':{'type':Sequelize[_0x81dc('0x4')],'set':function(_0x301d41){var _0x1b9b04=moment(_0x301d41);var _0x29550c=moment(this['getDataValue']('queuecallerjoinAt'))[_0x81dc('0x5')](_0x81dc('0x6'));var _0x27d767=_0x1b9b04[_0x81dc('0x7')](_0x29550c,_0x81dc('0x8'));this[_0x81dc('0x9')]('queuecallerleaveAt',_0x301d41);this[_0x81dc('0x9')](_0x81dc('0xa'),_0x27d767||null);}},'position':{'type':Sequelize['INTEGER']},'count':{'type':Sequelize['INTEGER']},'queuecallerabandon':{'type':Sequelize['BOOLEAN'],'defaultValue':![]},'queuecallerabandonAt':{'type':Sequelize[_0x81dc('0x4')]},'queuecallercomplete':{'type':Sequelize[_0x81dc('0xb')],'defaultValue':![]},'queuecallercompleteAt':{'type':Sequelize[_0x81dc('0x4')]},'queuecallerexit':{'type':Sequelize[_0x81dc('0xb')],'defaultValue':![]},'queuecallerexitAt':{'type':Sequelize[_0x81dc('0x4')]},'queuecallerexitreason':{'type':Sequelize[_0x81dc('0x3')],'comment':_0x81dc('0xc')},'originalposition':{'type':Sequelize[_0x81dc('0xd')]},'channel':{'type':Sequelize['STRING']},'connectedlinenum':{'type':Sequelize[_0x81dc('0x3')]},'connectedlinename':{'type':Sequelize[_0x81dc('0x3')]},'accountcode':{'type':Sequelize[_0x81dc('0x3')]},'context':{'type':Sequelize[_0x81dc('0x3')]},'exten':{'type':Sequelize[_0x81dc('0x3')]},'priority':{'type':Sequelize[_0x81dc('0x3')]},'holdtime':{'type':Sequelize[_0x81dc('0xd')]},'mohtime':{'type':Sequelize[_0x81dc('0xd')],'defaultValue':0x0},'assigned':{'type':Sequelize[_0x81dc('0xb')],'defaultValue':![]},'lastAssignedTo':{'type':Sequelize[_0x81dc('0x3')]},'transfer':{'type':Sequelize[_0x81dc('0xb')],'defaultValue':![]},'transfertype':{'type':Sequelize[_0x81dc('0x3')],'comment':_0x81dc('0xe')},'transferexten':{'type':Sequelize[_0x81dc('0x3')]},'transferuniqueid':{'type':Sequelize[_0x81dc('0x3')]},'disposition':{'type':Sequelize[_0x81dc('0x3')]}};
\ No newline at end of file
+var _0xb766=['STRING','DATE','getDataValue','format','YYYY-MM-DD\x20HH:mm:ss','diff','seconds','setDataValue','holdtime','INTEGER','BOOLEAN','sequelize'];(function(_0x43139e,_0x762629){var _0x2bc838=function(_0x593ec3){while(--_0x593ec3){_0x43139e['push'](_0x43139e['shift']());}};_0x2bc838(++_0x762629);}(_0xb766,0x14f));var _0x6b76=function(_0x5b561d,_0x422b7c){_0x5b561d=_0x5b561d-0x0;var _0x431060=_0xb766[_0x5b561d];return _0x431060;};'use strict';var Sequelize=require(_0x6b76('0x0'));var moment=require('moment');module['exports']={'type':{'type':Sequelize[_0x6b76('0x1')]},'uniqueid':{'type':Sequelize[_0x6b76('0x1')]},'calleridnum':{'type':Sequelize[_0x6b76('0x1')]},'calleridname':{'type':Sequelize[_0x6b76('0x1')]},'queue':{'type':Sequelize[_0x6b76('0x1')]},'queuecallerjoinAt':{'type':Sequelize['DATE']},'queuecallerleaveAt':{'type':Sequelize[_0x6b76('0x2')],'set':function(_0xa4798f){var _0x16f2c6=moment(_0xa4798f);var _0x8e43bd=moment(this[_0x6b76('0x3')]('queuecallerjoinAt'))[_0x6b76('0x4')](_0x6b76('0x5'));var _0x541cf0=_0x16f2c6[_0x6b76('0x6')](_0x8e43bd,_0x6b76('0x7'));this['setDataValue']('queuecallerleaveAt',_0xa4798f);this[_0x6b76('0x8')](_0x6b76('0x9'),_0x541cf0||null);}},'position':{'type':Sequelize[_0x6b76('0xa')]},'count':{'type':Sequelize[_0x6b76('0xa')]},'queuecallerabandon':{'type':Sequelize[_0x6b76('0xb')],'defaultValue':![]},'queuecallerabandonAt':{'type':Sequelize[_0x6b76('0x2')]},'queuecallercomplete':{'type':Sequelize['BOOLEAN'],'defaultValue':![]},'queuecallercompleteAt':{'type':Sequelize['DATE']},'queuecallerexit':{'type':Sequelize[_0x6b76('0xb')],'defaultValue':![]},'queuecallerexitAt':{'type':Sequelize['DATE']},'queuecallerexitreason':{'type':Sequelize['STRING'],'comment':'COMPLETEDBYCALLER,\x20COMPLETEDBYAGENT,\x20FORWARDTRANFER,\x20BLINDTRANSFER,\x20ATTENDEDTRANSFER,\x20EXITWITHKEY,\x20TIMEOUT'},'originalposition':{'type':Sequelize['INTEGER']},'channel':{'type':Sequelize['STRING']},'connectedlinenum':{'type':Sequelize[_0x6b76('0x1')]},'connectedlinename':{'type':Sequelize[_0x6b76('0x1')]},'accountcode':{'type':Sequelize[_0x6b76('0x1')]},'context':{'type':Sequelize[_0x6b76('0x1')]},'exten':{'type':Sequelize[_0x6b76('0x1')]},'priority':{'type':Sequelize[_0x6b76('0x1')]},'holdtime':{'type':Sequelize[_0x6b76('0xa')]},'mohtime':{'type':Sequelize[_0x6b76('0xa')],'defaultValue':0x0},'assigned':{'type':Sequelize[_0x6b76('0xb')],'defaultValue':![]},'lastAssignedTo':{'type':Sequelize['STRING']},'transfer':{'type':Sequelize[_0x6b76('0xb')],'defaultValue':![]},'transfertype':{'type':Sequelize[_0x6b76('0x1')],'comment':'FORWARD,\x20BLIND,\x20ATTENDED'},'transferexten':{'type':Sequelize['STRING']},'transferuniqueid':{'type':Sequelize[_0x6b76('0x1')]},'disposition':{'type':Sequelize[_0x6b76('0x1')]}};
\ No newline at end of file