Built motion from commit e1760111.|2.6.18
[motion2.git] / server / api / voiceQueueReport / voiceQueueReport.attributes.js
index 7f6de58..a4a4a88 100644 (file)
@@ -15,4 +15,4 @@
 // * treaties. The SOFTWARE PRODUCT is licensed, not sold.                        *
 // *                                                                       *
 // *************************************************************************
-var _0x014b=['DATE','getDataValue','queuecallerjoinAt','format','seconds','setDataValue','queuecallerleaveAt','holdtime','INTEGER','BOOLEAN','COMPLETEDBYCALLER,\x20COMPLETEDBYAGENT,\x20FORWARDTRANFER,\x20BLINDTRANSFER,\x20ATTENDEDTRANSFER,\x20EXITWITHKEY,\x20TIMEOUT','FORWARD,\x20BLIND,\x20ATTENDED','moment','STRING'];(function(_0x51f593,_0x38d2ec){var _0x4ccfbf=function(_0x4267c8){while(--_0x4267c8){_0x51f593['push'](_0x51f593['shift']());}};_0x4ccfbf(++_0x38d2ec);}(_0x014b,0x1da));var _0xb014=function(_0x57613d,_0x360549){_0x57613d=_0x57613d-0x0;var _0x45bc2d=_0x014b[_0x57613d];return _0x45bc2d;};'use strict';var Sequelize=require('sequelize');var moment=require(_0xb014('0x0'));module['exports']={'type':{'type':Sequelize[_0xb014('0x1')]},'uniqueid':{'type':Sequelize['STRING']},'calleridnum':{'type':Sequelize[_0xb014('0x1')]},'calleridname':{'type':Sequelize[_0xb014('0x1')]},'queue':{'type':Sequelize[_0xb014('0x1')]},'queuecallerjoinAt':{'type':Sequelize[_0xb014('0x2')]},'queuecallerleaveAt':{'type':Sequelize[_0xb014('0x2')],'set':function(_0x3d3b8d){var _0x200b8c=moment(_0x3d3b8d);var _0x188933=moment(this[_0xb014('0x3')](_0xb014('0x4')))[_0xb014('0x5')]('YYYY-MM-DD\x20HH:mm:ss');var _0x48c197=_0x200b8c['diff'](_0x188933,_0xb014('0x6'));this[_0xb014('0x7')](_0xb014('0x8'),_0x3d3b8d);this['setDataValue'](_0xb014('0x9'),_0x48c197||null);}},'position':{'type':Sequelize[_0xb014('0xa')]},'count':{'type':Sequelize['INTEGER']},'queuecallerabandon':{'type':Sequelize[_0xb014('0xb')],'defaultValue':![]},'queuecallerabandonAt':{'type':Sequelize[_0xb014('0x2')]},'queuecallercomplete':{'type':Sequelize['BOOLEAN'],'defaultValue':![]},'queuecallercompleteAt':{'type':Sequelize[_0xb014('0x2')]},'queuecallerexit':{'type':Sequelize['BOOLEAN'],'defaultValue':![]},'queuecallerexitAt':{'type':Sequelize[_0xb014('0x2')]},'queuecallerexitreason':{'type':Sequelize[_0xb014('0x1')],'comment':_0xb014('0xc')},'originalposition':{'type':Sequelize['INTEGER']},'channel':{'type':Sequelize[_0xb014('0x1')]},'connectedlinenum':{'type':Sequelize[_0xb014('0x1')]},'connectedlinename':{'type':Sequelize[_0xb014('0x1')]},'accountcode':{'type':Sequelize[_0xb014('0x1')]},'context':{'type':Sequelize['STRING']},'exten':{'type':Sequelize[_0xb014('0x1')]},'priority':{'type':Sequelize[_0xb014('0x1')]},'holdtime':{'type':Sequelize[_0xb014('0xa')]},'mohtime':{'type':Sequelize['INTEGER'],'defaultValue':0x0},'assigned':{'type':Sequelize[_0xb014('0xb')],'defaultValue':![]},'lastAssignedTo':{'type':Sequelize[_0xb014('0x1')]},'transfer':{'type':Sequelize[_0xb014('0xb')],'defaultValue':![]},'transfertype':{'type':Sequelize['STRING'],'comment':_0xb014('0xd')},'transferexten':{'type':Sequelize[_0xb014('0x1')]},'transferuniqueid':{'type':Sequelize['STRING']},'disposition':{'type':Sequelize[_0xb014('0x1')]},'secondDisposition':{'type':Sequelize['STRING']},'thirdDisposition':{'type':Sequelize[_0xb014('0x1')]},'queuecallerenterreason':{'type':Sequelize[_0xb014('0xa')],'defaultValue':0x0},'note':{'type':Sequelize[_0xb014('0x1')]}};
\ No newline at end of file
+var _0xf7ee=['queuecallerleaveAt','holdtime','INTEGER','BOOLEAN','DATE','COMPLETEDBYCALLER,\x20COMPLETEDBYAGENT,\x20FORWARDTRANFER,\x20BLINDTRANSFER,\x20ATTENDEDTRANSFER,\x20EXITWITHKEY,\x20TIMEOUT','sequelize','moment','exports','STRING','getDataValue','queuecallerjoinAt','format','YYYY-MM-DD\x20HH:mm:ss','diff','seconds','setDataValue'];(function(_0x1cd47d,_0x55bc75){var _0x29d52f=function(_0x37737a){while(--_0x37737a){_0x1cd47d['push'](_0x1cd47d['shift']());}};_0x29d52f(++_0x55bc75);}(_0xf7ee,0x15a));var _0xef7e=function(_0x46b1bc,_0x7a279){_0x46b1bc=_0x46b1bc-0x0;var _0x42899=_0xf7ee[_0x46b1bc];return _0x42899;};'use strict';var Sequelize=require(_0xef7e('0x0'));var moment=require(_0xef7e('0x1'));module[_0xef7e('0x2')]={'type':{'type':Sequelize[_0xef7e('0x3')]},'uniqueid':{'type':Sequelize[_0xef7e('0x3')]},'calleridnum':{'type':Sequelize[_0xef7e('0x3')]},'calleridname':{'type':Sequelize[_0xef7e('0x3')]},'queue':{'type':Sequelize[_0xef7e('0x3')]},'queuecallerjoinAt':{'type':Sequelize['DATE']},'queuecallerleaveAt':{'type':Sequelize['DATE'],'set':function(_0x274340){var _0x11ec3c=moment(_0x274340);var _0x58d5b0=moment(this[_0xef7e('0x4')](_0xef7e('0x5')))[_0xef7e('0x6')](_0xef7e('0x7'));var _0x5e00ea=_0x11ec3c[_0xef7e('0x8')](_0x58d5b0,_0xef7e('0x9'));this[_0xef7e('0xa')](_0xef7e('0xb'),_0x274340);this[_0xef7e('0xa')](_0xef7e('0xc'),_0x5e00ea||null);}},'position':{'type':Sequelize[_0xef7e('0xd')]},'count':{'type':Sequelize[_0xef7e('0xd')]},'queuecallerabandon':{'type':Sequelize[_0xef7e('0xe')],'defaultValue':![]},'queuecallerabandonAt':{'type':Sequelize['DATE']},'queuecallercomplete':{'type':Sequelize[_0xef7e('0xe')],'defaultValue':![]},'queuecallercompleteAt':{'type':Sequelize[_0xef7e('0xf')]},'queuecallerexit':{'type':Sequelize[_0xef7e('0xe')],'defaultValue':![]},'queuecallerexitAt':{'type':Sequelize['DATE']},'queuecallerexitreason':{'type':Sequelize['STRING'],'comment':_0xef7e('0x10')},'originalposition':{'type':Sequelize[_0xef7e('0xd')]},'channel':{'type':Sequelize[_0xef7e('0x3')]},'connectedlinenum':{'type':Sequelize['STRING']},'connectedlinename':{'type':Sequelize[_0xef7e('0x3')]},'accountcode':{'type':Sequelize[_0xef7e('0x3')]},'context':{'type':Sequelize[_0xef7e('0x3')]},'exten':{'type':Sequelize[_0xef7e('0x3')]},'priority':{'type':Sequelize['STRING']},'holdtime':{'type':Sequelize['INTEGER']},'mohtime':{'type':Sequelize[_0xef7e('0xd')],'defaultValue':0x0},'assigned':{'type':Sequelize[_0xef7e('0xe')],'defaultValue':![]},'lastAssignedTo':{'type':Sequelize[_0xef7e('0x3')]},'transfer':{'type':Sequelize[_0xef7e('0xe')],'defaultValue':![]},'transfertype':{'type':Sequelize['STRING'],'comment':'FORWARD,\x20BLIND,\x20ATTENDED'},'transferexten':{'type':Sequelize[_0xef7e('0x3')]},'transferuniqueid':{'type':Sequelize[_0xef7e('0x3')]},'disposition':{'type':Sequelize[_0xef7e('0x3')]},'secondDisposition':{'type':Sequelize['STRING']},'thirdDisposition':{'type':Sequelize[_0xef7e('0x3')]},'queuecallerenterreason':{'type':Sequelize[_0xef7e('0xd')],'defaultValue':0x0},'note':{'type':Sequelize[_0xef7e('0x3')]}};
\ No newline at end of file