Built motion from commit 00bf23f6.|2.6.16
[motion2.git] / server / api / voiceQueueReport / voiceQueueReport.attributes.js
index 49d7d60..baa5462 100644 (file)
@@ -15,4 +15,4 @@
 // * treaties. The SOFTWARE PRODUCT is licensed, not sold.                        *
 // *                                                                       *
 // *************************************************************************
-var _0x0d7f=['FORWARD,\x20BLIND,\x20ATTENDED','sequelize','moment','exports','STRING','DATE','queuecallerjoinAt','YYYY-MM-DD\x20HH:mm:ss','diff','seconds','setDataValue','queuecallerleaveAt','holdtime','INTEGER','BOOLEAN','COMPLETEDBYCALLER,\x20COMPLETEDBYAGENT,\x20FORWARDTRANFER,\x20BLINDTRANSFER,\x20ATTENDEDTRANSFER,\x20EXITWITHKEY,\x20TIMEOUT'];(function(_0x43f61d,_0x559906){var _0x4410ab=function(_0x48fb93){while(--_0x48fb93){_0x43f61d['push'](_0x43f61d['shift']());}};_0x4410ab(++_0x559906);}(_0x0d7f,0x1b1));var _0xf0d7=function(_0x13e741,_0x5d3c24){_0x13e741=_0x13e741-0x0;var _0x3f8bb3=_0x0d7f[_0x13e741];return _0x3f8bb3;};'use strict';var Sequelize=require(_0xf0d7('0x0'));var moment=require(_0xf0d7('0x1'));module[_0xf0d7('0x2')]={'type':{'type':Sequelize[_0xf0d7('0x3')]},'uniqueid':{'type':Sequelize[_0xf0d7('0x3')]},'calleridnum':{'type':Sequelize[_0xf0d7('0x3')]},'calleridname':{'type':Sequelize[_0xf0d7('0x3')]},'queue':{'type':Sequelize['STRING']},'queuecallerjoinAt':{'type':Sequelize[_0xf0d7('0x4')]},'queuecallerleaveAt':{'type':Sequelize[_0xf0d7('0x4')],'set':function(_0x286853){var _0x5ab5d7=moment(_0x286853);var _0x4d4073=moment(this['getDataValue'](_0xf0d7('0x5')))['format'](_0xf0d7('0x6'));var _0x199cca=_0x5ab5d7[_0xf0d7('0x7')](_0x4d4073,_0xf0d7('0x8'));this[_0xf0d7('0x9')](_0xf0d7('0xa'),_0x286853);this[_0xf0d7('0x9')](_0xf0d7('0xb'),_0x199cca||null);}},'position':{'type':Sequelize[_0xf0d7('0xc')]},'count':{'type':Sequelize['INTEGER']},'queuecallerabandon':{'type':Sequelize[_0xf0d7('0xd')],'defaultValue':![]},'queuecallerabandonAt':{'type':Sequelize[_0xf0d7('0x4')]},'queuecallercomplete':{'type':Sequelize['BOOLEAN'],'defaultValue':![]},'queuecallercompleteAt':{'type':Sequelize['DATE']},'queuecallerexit':{'type':Sequelize['BOOLEAN'],'defaultValue':![]},'queuecallerexitAt':{'type':Sequelize['DATE']},'queuecallerexitreason':{'type':Sequelize[_0xf0d7('0x3')],'comment':_0xf0d7('0xe')},'originalposition':{'type':Sequelize[_0xf0d7('0xc')]},'channel':{'type':Sequelize['STRING']},'connectedlinenum':{'type':Sequelize[_0xf0d7('0x3')]},'connectedlinename':{'type':Sequelize['STRING']},'accountcode':{'type':Sequelize[_0xf0d7('0x3')]},'context':{'type':Sequelize['STRING']},'exten':{'type':Sequelize[_0xf0d7('0x3')]},'priority':{'type':Sequelize[_0xf0d7('0x3')]},'holdtime':{'type':Sequelize['INTEGER']},'mohtime':{'type':Sequelize[_0xf0d7('0xc')],'defaultValue':0x0},'assigned':{'type':Sequelize['BOOLEAN'],'defaultValue':![]},'lastAssignedTo':{'type':Sequelize[_0xf0d7('0x3')]},'transfer':{'type':Sequelize[_0xf0d7('0xd')],'defaultValue':![]},'transfertype':{'type':Sequelize[_0xf0d7('0x3')],'comment':_0xf0d7('0xf')},'transferexten':{'type':Sequelize[_0xf0d7('0x3')]},'transferuniqueid':{'type':Sequelize[_0xf0d7('0x3')]},'disposition':{'type':Sequelize[_0xf0d7('0x3')]},'secondDisposition':{'type':Sequelize[_0xf0d7('0x3')]},'thirdDisposition':{'type':Sequelize[_0xf0d7('0x3')]},'queuecallerenterreason':{'type':Sequelize[_0xf0d7('0xc')],'defaultValue':0x0},'note':{'type':Sequelize[_0xf0d7('0x3')]}};
\ No newline at end of file
+var _0x5e28=['sequelize','moment','exports','STRING','DATE','getDataValue','YYYY-MM-DD\x20HH:mm:ss','diff','setDataValue','holdtime','INTEGER','BOOLEAN','COMPLETEDBYCALLER,\x20COMPLETEDBYAGENT,\x20FORWARDTRANFER,\x20BLINDTRANSFER,\x20ATTENDEDTRANSFER,\x20EXITWITHKEY,\x20TIMEOUT','FORWARD,\x20BLIND,\x20ATTENDED'];(function(_0x3620c,_0x4e7acd){var _0x409ef2=function(_0x25b786){while(--_0x25b786){_0x3620c['push'](_0x3620c['shift']());}};_0x409ef2(++_0x4e7acd);}(_0x5e28,0x16c));var _0x85e2=function(_0x23be51,_0xc02a1b){_0x23be51=_0x23be51-0x0;var _0x47a26d=_0x5e28[_0x23be51];return _0x47a26d;};'use strict';var Sequelize=require(_0x85e2('0x0'));var moment=require(_0x85e2('0x1'));module[_0x85e2('0x2')]={'type':{'type':Sequelize[_0x85e2('0x3')]},'uniqueid':{'type':Sequelize[_0x85e2('0x3')]},'calleridnum':{'type':Sequelize[_0x85e2('0x3')]},'calleridname':{'type':Sequelize[_0x85e2('0x3')]},'queue':{'type':Sequelize[_0x85e2('0x3')]},'queuecallerjoinAt':{'type':Sequelize[_0x85e2('0x4')]},'queuecallerleaveAt':{'type':Sequelize[_0x85e2('0x4')],'set':function(_0x3723dc){var _0x2e69ee=moment(_0x3723dc);var _0x451aa6=moment(this[_0x85e2('0x5')]('queuecallerjoinAt'))['format'](_0x85e2('0x6'));var _0x24a77f=_0x2e69ee[_0x85e2('0x7')](_0x451aa6,'seconds');this['setDataValue']('queuecallerleaveAt',_0x3723dc);this[_0x85e2('0x8')](_0x85e2('0x9'),_0x24a77f||null);}},'position':{'type':Sequelize[_0x85e2('0xa')]},'count':{'type':Sequelize[_0x85e2('0xa')]},'queuecallerabandon':{'type':Sequelize[_0x85e2('0xb')],'defaultValue':![]},'queuecallerabandonAt':{'type':Sequelize['DATE']},'queuecallercomplete':{'type':Sequelize[_0x85e2('0xb')],'defaultValue':![]},'queuecallercompleteAt':{'type':Sequelize['DATE']},'queuecallerexit':{'type':Sequelize[_0x85e2('0xb')],'defaultValue':![]},'queuecallerexitAt':{'type':Sequelize[_0x85e2('0x4')]},'queuecallerexitreason':{'type':Sequelize[_0x85e2('0x3')],'comment':_0x85e2('0xc')},'originalposition':{'type':Sequelize[_0x85e2('0xa')]},'channel':{'type':Sequelize[_0x85e2('0x3')]},'connectedlinenum':{'type':Sequelize['STRING']},'connectedlinename':{'type':Sequelize[_0x85e2('0x3')]},'accountcode':{'type':Sequelize[_0x85e2('0x3')]},'context':{'type':Sequelize[_0x85e2('0x3')]},'exten':{'type':Sequelize[_0x85e2('0x3')]},'priority':{'type':Sequelize[_0x85e2('0x3')]},'holdtime':{'type':Sequelize[_0x85e2('0xa')]},'mohtime':{'type':Sequelize['INTEGER'],'defaultValue':0x0},'assigned':{'type':Sequelize[_0x85e2('0xb')],'defaultValue':![]},'lastAssignedTo':{'type':Sequelize['STRING']},'transfer':{'type':Sequelize[_0x85e2('0xb')],'defaultValue':![]},'transfertype':{'type':Sequelize[_0x85e2('0x3')],'comment':_0x85e2('0xd')},'transferexten':{'type':Sequelize['STRING']},'transferuniqueid':{'type':Sequelize[_0x85e2('0x3')]},'disposition':{'type':Sequelize[_0x85e2('0x3')]},'secondDisposition':{'type':Sequelize[_0x85e2('0x3')]},'thirdDisposition':{'type':Sequelize[_0x85e2('0x3')]},'queuecallerenterreason':{'type':Sequelize[_0x85e2('0xa')],'defaultValue':0x0},'note':{'type':Sequelize[_0x85e2('0x3')]}};
\ No newline at end of file