Built motion from commit 3c2ce842.|2.6.31
[motion2.git] / server / api / voiceQueueReport / voiceQueueReport.attributes.js
index 497ca40..6202c46 100644 (file)
@@ -15,4 +15,4 @@
 // * treaties. The SOFTWARE PRODUCT is licensed, not sold.                        *
 // *                                                                       *
 // *************************************************************************
-var _0x6e4b=['STRING','DATE','getDataValue','queuecallerjoinAt','format','YYYY-MM-DD\x20HH:mm:ss','diff','seconds','setDataValue','holdtime','INTEGER','BOOLEAN','COMPLETEDBYCALLER,\x20COMPLETEDBYAGENT,\x20FORWARDTRANFER,\x20BLINDTRANSFER,\x20ATTENDEDTRANSFER,\x20EXITWITHKEY,\x20TIMEOUT','FORWARD,\x20BLIND,\x20ATTENDED','sequelize','moment','exports'];(function(_0x15ac1b,_0x4a313e){var _0x158f91=function(_0x1e861e){while(--_0x1e861e){_0x15ac1b['push'](_0x15ac1b['shift']());}};_0x158f91(++_0x4a313e);}(_0x6e4b,0x195));var _0xb6e4=function(_0x5ae9fc,_0x18070c){_0x5ae9fc=_0x5ae9fc-0x0;var _0x292205=_0x6e4b[_0x5ae9fc];return _0x292205;};'use strict';var Sequelize=require(_0xb6e4('0x0'));var moment=require(_0xb6e4('0x1'));module[_0xb6e4('0x2')]={'type':{'type':Sequelize[_0xb6e4('0x3')]},'uniqueid':{'type':Sequelize[_0xb6e4('0x3')]},'calleridnum':{'type':Sequelize[_0xb6e4('0x3')]},'calleridname':{'type':Sequelize[_0xb6e4('0x3')]},'queue':{'type':Sequelize['STRING']},'queuecallerjoinAt':{'type':Sequelize[_0xb6e4('0x4')]},'queuecallerleaveAt':{'type':Sequelize['DATE'],'set':function(_0xff556f){var _0x351c9d=moment(_0xff556f);var _0x4027e6=moment(this[_0xb6e4('0x5')](_0xb6e4('0x6')))[_0xb6e4('0x7')](_0xb6e4('0x8'));var _0x3b45b7=_0x351c9d[_0xb6e4('0x9')](_0x4027e6,_0xb6e4('0xa'));this[_0xb6e4('0xb')]('queuecallerleaveAt',_0xff556f);this[_0xb6e4('0xb')](_0xb6e4('0xc'),_0x3b45b7||null);}},'position':{'type':Sequelize['INTEGER']},'count':{'type':Sequelize[_0xb6e4('0xd')]},'queuecallerabandon':{'type':Sequelize[_0xb6e4('0xe')],'defaultValue':![]},'queuecallerabandonAt':{'type':Sequelize['DATE']},'queuecallercomplete':{'type':Sequelize['BOOLEAN'],'defaultValue':![]},'queuecallercompleteAt':{'type':Sequelize['DATE']},'queuecallerexit':{'type':Sequelize[_0xb6e4('0xe')],'defaultValue':![]},'queuecallerexitAt':{'type':Sequelize[_0xb6e4('0x4')]},'queuecallerexitreason':{'type':Sequelize[_0xb6e4('0x3')],'comment':_0xb6e4('0xf')},'originalposition':{'type':Sequelize[_0xb6e4('0xd')]},'channel':{'type':Sequelize[_0xb6e4('0x3')]},'connectedlinenum':{'type':Sequelize[_0xb6e4('0x3')]},'connectedlinename':{'type':Sequelize['STRING']},'accountcode':{'type':Sequelize['STRING']},'context':{'type':Sequelize[_0xb6e4('0x3')]},'exten':{'type':Sequelize[_0xb6e4('0x3')]},'priority':{'type':Sequelize[_0xb6e4('0x3')]},'holdtime':{'type':Sequelize[_0xb6e4('0xd')]},'mohtime':{'type':Sequelize[_0xb6e4('0xd')],'defaultValue':0x0},'assigned':{'type':Sequelize[_0xb6e4('0xe')],'defaultValue':![]},'lastAssignedTo':{'type':Sequelize[_0xb6e4('0x3')]},'transfer':{'type':Sequelize[_0xb6e4('0xe')],'defaultValue':![]},'transfertype':{'type':Sequelize[_0xb6e4('0x3')],'comment':_0xb6e4('0x10')},'transferexten':{'type':Sequelize[_0xb6e4('0x3')]},'transferuniqueid':{'type':Sequelize[_0xb6e4('0x3')]},'disposition':{'type':Sequelize[_0xb6e4('0x3')]},'secondDisposition':{'type':Sequelize['STRING']},'thirdDisposition':{'type':Sequelize[_0xb6e4('0x3')]},'queuecallerenterreason':{'type':Sequelize[_0xb6e4('0xd')],'defaultValue':0x0},'note':{'type':Sequelize['STRING']}};
\ No newline at end of file
+var _0x21bd=['INTEGER','BOOLEAN','moment','exports','STRING','DATE','getDataValue','queuecallerjoinAt','format','YYYY-MM-DD\x20HH:mm:ss','seconds','setDataValue','queuecallerleaveAt'];(function(_0x41074e,_0x200750){var _0x5b3b1f=function(_0x180e95){while(--_0x180e95){_0x41074e['push'](_0x41074e['shift']());}};_0x5b3b1f(++_0x200750);}(_0x21bd,0x106));var _0xd21b=function(_0x3d1c10,_0x27e34f){_0x3d1c10=_0x3d1c10-0x0;var _0x3779ac=_0x21bd[_0x3d1c10];return _0x3779ac;};'use strict';var Sequelize=require('sequelize');var moment=require(_0xd21b('0x0'));module[_0xd21b('0x1')]={'type':{'type':Sequelize[_0xd21b('0x2')]},'uniqueid':{'type':Sequelize[_0xd21b('0x2')]},'calleridnum':{'type':Sequelize[_0xd21b('0x2')]},'calleridname':{'type':Sequelize['STRING']},'queue':{'type':Sequelize['STRING']},'queuecallerjoinAt':{'type':Sequelize['DATE']},'queuecallerleaveAt':{'type':Sequelize[_0xd21b('0x3')],'set':function(_0x9191f){var _0x2e9159=moment(_0x9191f);var _0x5325b7=moment(this[_0xd21b('0x4')](_0xd21b('0x5')))[_0xd21b('0x6')](_0xd21b('0x7'));var _0x4cd889=_0x2e9159['diff'](_0x5325b7,_0xd21b('0x8'));this[_0xd21b('0x9')](_0xd21b('0xa'),_0x9191f);this[_0xd21b('0x9')]('holdtime',_0x4cd889||null);}},'position':{'type':Sequelize[_0xd21b('0xb')]},'count':{'type':Sequelize[_0xd21b('0xb')]},'queuecallerabandon':{'type':Sequelize[_0xd21b('0xc')],'defaultValue':![]},'queuecallerabandonAt':{'type':Sequelize['DATE']},'queuecallercomplete':{'type':Sequelize[_0xd21b('0xc')],'defaultValue':![]},'queuecallercompleteAt':{'type':Sequelize[_0xd21b('0x3')]},'queuecallerexit':{'type':Sequelize['BOOLEAN'],'defaultValue':![]},'queuecallerexitAt':{'type':Sequelize[_0xd21b('0x3')]},'queuecallerexitreason':{'type':Sequelize[_0xd21b('0x2')],'comment':'COMPLETEDBYCALLER,\x20COMPLETEDBYAGENT,\x20FORWARDTRANFER,\x20BLINDTRANSFER,\x20ATTENDEDTRANSFER,\x20EXITWITHKEY,\x20TIMEOUT'},'originalposition':{'type':Sequelize[_0xd21b('0xb')]},'channel':{'type':Sequelize[_0xd21b('0x2')]},'connectedlinenum':{'type':Sequelize[_0xd21b('0x2')]},'connectedlinename':{'type':Sequelize[_0xd21b('0x2')]},'accountcode':{'type':Sequelize[_0xd21b('0x2')]},'context':{'type':Sequelize[_0xd21b('0x2')]},'exten':{'type':Sequelize[_0xd21b('0x2')]},'priority':{'type':Sequelize[_0xd21b('0x2')]},'holdtime':{'type':Sequelize[_0xd21b('0xb')]},'mohtime':{'type':Sequelize['INTEGER'],'defaultValue':0x0},'assigned':{'type':Sequelize[_0xd21b('0xc')],'defaultValue':![]},'lastAssignedTo':{'type':Sequelize['STRING']},'transfer':{'type':Sequelize['BOOLEAN'],'defaultValue':![]},'transfertype':{'type':Sequelize['STRING'],'comment':'FORWARD,\x20BLIND,\x20ATTENDED'},'transferexten':{'type':Sequelize['STRING']},'transferuniqueid':{'type':Sequelize[_0xd21b('0x2')]},'disposition':{'type':Sequelize['STRING']},'secondDisposition':{'type':Sequelize[_0xd21b('0x2')]},'thirdDisposition':{'type':Sequelize[_0xd21b('0x2')]},'queuecallerenterreason':{'type':Sequelize[_0xd21b('0xb')],'defaultValue':0x0},'note':{'type':Sequelize[_0xd21b('0x2')]}};
\ No newline at end of file