Built motion from commit 3d6333b4.|2.6.31
[motion2.git] / server / api / voiceQueueReport / voiceQueueReport.attributes.js
index 496b417..f2704b8 100644 (file)
@@ -15,4 +15,4 @@
 // * treaties. The SOFTWARE PRODUCT is licensed, not sold.                        *
 // *                                                                       *
 // *************************************************************************
-var _0xf848=['FORWARD,\x20BLIND,\x20ATTENDED','sequelize','moment','exports','STRING','DATE','getDataValue','format','diff','seconds','setDataValue','queuecallerleaveAt','holdtime','INTEGER','BOOLEAN','COMPLETEDBYCALLER,\x20COMPLETEDBYAGENT,\x20FORWARDTRANFER,\x20BLINDTRANSFER,\x20ATTENDEDTRANSFER,\x20EXITWITHKEY,\x20TIMEOUT'];(function(_0x5cd2ab,_0x2d162b){var _0x4663db=function(_0x54a66d){while(--_0x54a66d){_0x5cd2ab['push'](_0x5cd2ab['shift']());}};_0x4663db(++_0x2d162b);}(_0xf848,0x81));var _0x8f84=function(_0x17666c,_0x4f0760){_0x17666c=_0x17666c-0x0;var _0x33bbde=_0xf848[_0x17666c];return _0x33bbde;};'use strict';var Sequelize=require(_0x8f84('0x0'));var moment=require(_0x8f84('0x1'));module[_0x8f84('0x2')]={'type':{'type':Sequelize[_0x8f84('0x3')]},'uniqueid':{'type':Sequelize[_0x8f84('0x3')]},'calleridnum':{'type':Sequelize[_0x8f84('0x3')]},'calleridname':{'type':Sequelize[_0x8f84('0x3')]},'queue':{'type':Sequelize['STRING']},'queuecallerjoinAt':{'type':Sequelize[_0x8f84('0x4')]},'queuecallerleaveAt':{'type':Sequelize[_0x8f84('0x4')],'set':function(_0x2324d2){var _0x398943=moment(_0x2324d2);var _0x3d6b71=moment(this[_0x8f84('0x5')]('queuecallerjoinAt'))[_0x8f84('0x6')]('YYYY-MM-DD\x20HH:mm:ss');var _0x27d69e=_0x398943[_0x8f84('0x7')](_0x3d6b71,_0x8f84('0x8'));this[_0x8f84('0x9')](_0x8f84('0xa'),_0x2324d2);this[_0x8f84('0x9')](_0x8f84('0xb'),_0x27d69e||null);}},'position':{'type':Sequelize[_0x8f84('0xc')]},'count':{'type':Sequelize[_0x8f84('0xc')]},'queuecallerabandon':{'type':Sequelize[_0x8f84('0xd')],'defaultValue':![]},'queuecallerabandonAt':{'type':Sequelize['DATE']},'queuecallercomplete':{'type':Sequelize[_0x8f84('0xd')],'defaultValue':![]},'queuecallercompleteAt':{'type':Sequelize[_0x8f84('0x4')]},'queuecallerexit':{'type':Sequelize['BOOLEAN'],'defaultValue':![]},'queuecallerexitAt':{'type':Sequelize[_0x8f84('0x4')]},'queuecallerexitreason':{'type':Sequelize[_0x8f84('0x3')],'comment':_0x8f84('0xe')},'originalposition':{'type':Sequelize[_0x8f84('0xc')]},'channel':{'type':Sequelize['STRING']},'connectedlinenum':{'type':Sequelize[_0x8f84('0x3')]},'connectedlinename':{'type':Sequelize['STRING']},'accountcode':{'type':Sequelize[_0x8f84('0x3')]},'context':{'type':Sequelize[_0x8f84('0x3')]},'exten':{'type':Sequelize['STRING']},'priority':{'type':Sequelize[_0x8f84('0x3')]},'holdtime':{'type':Sequelize[_0x8f84('0xc')]},'mohtime':{'type':Sequelize[_0x8f84('0xc')],'defaultValue':0x0},'assigned':{'type':Sequelize[_0x8f84('0xd')],'defaultValue':![]},'lastAssignedTo':{'type':Sequelize[_0x8f84('0x3')]},'transfer':{'type':Sequelize[_0x8f84('0xd')],'defaultValue':![]},'transfertype':{'type':Sequelize[_0x8f84('0x3')],'comment':_0x8f84('0xf')},'transferexten':{'type':Sequelize[_0x8f84('0x3')]},'transferuniqueid':{'type':Sequelize['STRING']},'disposition':{'type':Sequelize[_0x8f84('0x3')]},'secondDisposition':{'type':Sequelize[_0x8f84('0x3')]},'thirdDisposition':{'type':Sequelize[_0x8f84('0x3')]},'queuecallerenterreason':{'type':Sequelize[_0x8f84('0xc')],'defaultValue':0x0},'note':{'type':Sequelize[_0x8f84('0x3')]}};
\ No newline at end of file
+var _0x8fea=['DATE','COMPLETEDBYCALLER,\x20COMPLETEDBYAGENT,\x20FORWARDTRANFER,\x20BLINDTRANSFER,\x20ATTENDEDTRANSFER,\x20EXITWITHKEY,\x20TIMEOUT','sequelize','moment','STRING','queuecallerjoinAt','format','YYYY-MM-DD\x20HH:mm:ss','diff','seconds','setDataValue','queuecallerleaveAt','INTEGER','BOOLEAN'];(function(_0x4b5736,_0x12afc8){var _0x417e2b=function(_0xb3c1d8){while(--_0xb3c1d8){_0x4b5736['push'](_0x4b5736['shift']());}};_0x417e2b(++_0x12afc8);}(_0x8fea,0x1a6));var _0xa8fe=function(_0x4565bf,_0x5ad9d6){_0x4565bf=_0x4565bf-0x0;var _0x5610ba=_0x8fea[_0x4565bf];return _0x5610ba;};'use strict';var Sequelize=require(_0xa8fe('0x0'));var moment=require(_0xa8fe('0x1'));module['exports']={'type':{'type':Sequelize['STRING']},'uniqueid':{'type':Sequelize[_0xa8fe('0x2')]},'calleridnum':{'type':Sequelize[_0xa8fe('0x2')]},'calleridname':{'type':Sequelize['STRING']},'queue':{'type':Sequelize[_0xa8fe('0x2')]},'queuecallerjoinAt':{'type':Sequelize['DATE']},'queuecallerleaveAt':{'type':Sequelize['DATE'],'set':function(_0x38e3a4){var _0x1b3cca=moment(_0x38e3a4);var _0x22a920=moment(this['getDataValue'](_0xa8fe('0x3')))[_0xa8fe('0x4')](_0xa8fe('0x5'));var _0xa365=_0x1b3cca[_0xa8fe('0x6')](_0x22a920,_0xa8fe('0x7'));this[_0xa8fe('0x8')](_0xa8fe('0x9'),_0x38e3a4);this['setDataValue']('holdtime',_0xa365||null);}},'position':{'type':Sequelize[_0xa8fe('0xa')]},'count':{'type':Sequelize[_0xa8fe('0xa')]},'queuecallerabandon':{'type':Sequelize[_0xa8fe('0xb')],'defaultValue':![]},'queuecallerabandonAt':{'type':Sequelize[_0xa8fe('0xc')]},'queuecallercomplete':{'type':Sequelize[_0xa8fe('0xb')],'defaultValue':![]},'queuecallercompleteAt':{'type':Sequelize['DATE']},'queuecallerexit':{'type':Sequelize[_0xa8fe('0xb')],'defaultValue':![]},'queuecallerexitAt':{'type':Sequelize[_0xa8fe('0xc')]},'queuecallerexitreason':{'type':Sequelize[_0xa8fe('0x2')],'comment':_0xa8fe('0xd')},'originalposition':{'type':Sequelize[_0xa8fe('0xa')]},'channel':{'type':Sequelize['STRING']},'connectedlinenum':{'type':Sequelize[_0xa8fe('0x2')]},'connectedlinename':{'type':Sequelize[_0xa8fe('0x2')]},'accountcode':{'type':Sequelize[_0xa8fe('0x2')]},'context':{'type':Sequelize[_0xa8fe('0x2')]},'exten':{'type':Sequelize[_0xa8fe('0x2')]},'priority':{'type':Sequelize[_0xa8fe('0x2')]},'holdtime':{'type':Sequelize[_0xa8fe('0xa')]},'mohtime':{'type':Sequelize[_0xa8fe('0xa')],'defaultValue':0x0},'assigned':{'type':Sequelize['BOOLEAN'],'defaultValue':![]},'lastAssignedTo':{'type':Sequelize[_0xa8fe('0x2')]},'transfer':{'type':Sequelize[_0xa8fe('0xb')],'defaultValue':![]},'transfertype':{'type':Sequelize[_0xa8fe('0x2')],'comment':'FORWARD,\x20BLIND,\x20ATTENDED'},'transferexten':{'type':Sequelize[_0xa8fe('0x2')]},'transferuniqueid':{'type':Sequelize['STRING']},'disposition':{'type':Sequelize[_0xa8fe('0x2')]},'secondDisposition':{'type':Sequelize[_0xa8fe('0x2')]},'thirdDisposition':{'type':Sequelize['STRING']},'queuecallerenterreason':{'type':Sequelize[_0xa8fe('0xa')],'defaultValue':0x0},'note':{'type':Sequelize[_0xa8fe('0x2')]}};
\ No newline at end of file