Built motion from commit 639a1a7f.|2.6.19
[motion2.git] / server / api / voiceQueueReport / voiceQueueReport.attributes.js
index a4a4a88..1cea97f 100644 (file)
@@ -15,4 +15,4 @@
 // * treaties. The SOFTWARE PRODUCT is licensed, not sold.                        *
 // *                                                                       *
 // *************************************************************************
-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
+var _0x15d8=['exports','STRING','DATE','getDataValue','queuecallerjoinAt','format','seconds','setDataValue','holdtime','INTEGER','BOOLEAN','FORWARD,\x20BLIND,\x20ATTENDED','sequelize','moment'];(function(_0x2bd839,_0x324135){var _0x31a8a9=function(_0x40b957){while(--_0x40b957){_0x2bd839['push'](_0x2bd839['shift']());}};_0x31a8a9(++_0x324135);}(_0x15d8,0x8a));var _0x815d=function(_0x3dd15e,_0x1f0015){_0x3dd15e=_0x3dd15e-0x0;var _0x231fd0=_0x15d8[_0x3dd15e];return _0x231fd0;};'use strict';var Sequelize=require(_0x815d('0x0'));var moment=require(_0x815d('0x1'));module[_0x815d('0x2')]={'type':{'type':Sequelize['STRING']},'uniqueid':{'type':Sequelize['STRING']},'calleridnum':{'type':Sequelize[_0x815d('0x3')]},'calleridname':{'type':Sequelize[_0x815d('0x3')]},'queue':{'type':Sequelize[_0x815d('0x3')]},'queuecallerjoinAt':{'type':Sequelize[_0x815d('0x4')]},'queuecallerleaveAt':{'type':Sequelize['DATE'],'set':function(_0x4bcd35){var _0x226f9f=moment(_0x4bcd35);var _0x542e63=moment(this[_0x815d('0x5')](_0x815d('0x6')))[_0x815d('0x7')]('YYYY-MM-DD\x20HH:mm:ss');var _0x35b006=_0x226f9f['diff'](_0x542e63,_0x815d('0x8'));this[_0x815d('0x9')]('queuecallerleaveAt',_0x4bcd35);this[_0x815d('0x9')](_0x815d('0xa'),_0x35b006||null);}},'position':{'type':Sequelize[_0x815d('0xb')]},'count':{'type':Sequelize[_0x815d('0xb')]},'queuecallerabandon':{'type':Sequelize[_0x815d('0xc')],'defaultValue':![]},'queuecallerabandonAt':{'type':Sequelize[_0x815d('0x4')]},'queuecallercomplete':{'type':Sequelize[_0x815d('0xc')],'defaultValue':![]},'queuecallercompleteAt':{'type':Sequelize[_0x815d('0x4')]},'queuecallerexit':{'type':Sequelize[_0x815d('0xc')],'defaultValue':![]},'queuecallerexitAt':{'type':Sequelize[_0x815d('0x4')]},'queuecallerexitreason':{'type':Sequelize[_0x815d('0x3')],'comment':'COMPLETEDBYCALLER,\x20COMPLETEDBYAGENT,\x20FORWARDTRANFER,\x20BLINDTRANSFER,\x20ATTENDEDTRANSFER,\x20EXITWITHKEY,\x20TIMEOUT'},'originalposition':{'type':Sequelize[_0x815d('0xb')]},'channel':{'type':Sequelize[_0x815d('0x3')]},'connectedlinenum':{'type':Sequelize[_0x815d('0x3')]},'connectedlinename':{'type':Sequelize[_0x815d('0x3')]},'accountcode':{'type':Sequelize[_0x815d('0x3')]},'context':{'type':Sequelize[_0x815d('0x3')]},'exten':{'type':Sequelize[_0x815d('0x3')]},'priority':{'type':Sequelize[_0x815d('0x3')]},'holdtime':{'type':Sequelize[_0x815d('0xb')]},'mohtime':{'type':Sequelize[_0x815d('0xb')],'defaultValue':0x0},'assigned':{'type':Sequelize[_0x815d('0xc')],'defaultValue':![]},'lastAssignedTo':{'type':Sequelize[_0x815d('0x3')]},'transfer':{'type':Sequelize[_0x815d('0xc')],'defaultValue':![]},'transfertype':{'type':Sequelize[_0x815d('0x3')],'comment':_0x815d('0xd')},'transferexten':{'type':Sequelize[_0x815d('0x3')]},'transferuniqueid':{'type':Sequelize[_0x815d('0x3')]},'disposition':{'type':Sequelize[_0x815d('0x3')]},'secondDisposition':{'type':Sequelize[_0x815d('0x3')]},'thirdDisposition':{'type':Sequelize[_0x815d('0x3')]},'queuecallerenterreason':{'type':Sequelize[_0x815d('0xb')],'defaultValue':0x0},'note':{'type':Sequelize[_0x815d('0x3')]}};
\ No newline at end of file