Built motion from commit c116dc8b.|2.6.30
[motion2.git] / server / api / voiceQueueReport / voiceQueueReport.attributes.js
index 7df81ac..13b81bb 100644 (file)
@@ -15,4 +15,4 @@
 // * treaties. The SOFTWARE PRODUCT is licensed, not sold.                        *
 // *                                                                       *
 // *************************************************************************
-var _0x5b46=['INTEGER','BOOLEAN','COMPLETEDBYCALLER,\x20COMPLETEDBYAGENT,\x20FORWARDTRANFER,\x20BLINDTRANSFER,\x20ATTENDEDTRANSFER,\x20EXITWITHKEY,\x20TIMEOUT','FORWARD,\x20BLIND,\x20ATTENDED','exports','STRING','DATE','getDataValue','format','diff','seconds','setDataValue','queuecallerleaveAt','holdtime'];(function(_0x2779e9,_0x1d6a6a){var _0x3b3a46=function(_0x2a2bab){while(--_0x2a2bab){_0x2779e9['push'](_0x2779e9['shift']());}};_0x3b3a46(++_0x1d6a6a);}(_0x5b46,0x1d2));var _0x65b4=function(_0x1c10dc,_0x1d220b){_0x1c10dc=_0x1c10dc-0x0;var _0x55c774=_0x5b46[_0x1c10dc];return _0x55c774;};'use strict';var Sequelize=require('sequelize');var moment=require('moment');module[_0x65b4('0x0')]={'type':{'type':Sequelize[_0x65b4('0x1')]},'uniqueid':{'type':Sequelize[_0x65b4('0x1')]},'calleridnum':{'type':Sequelize[_0x65b4('0x1')]},'calleridname':{'type':Sequelize[_0x65b4('0x1')]},'queue':{'type':Sequelize[_0x65b4('0x1')]},'queuecallerjoinAt':{'type':Sequelize[_0x65b4('0x2')]},'queuecallerleaveAt':{'type':Sequelize['DATE'],'set':function(_0x4ba06d){var _0x1df25f=moment(_0x4ba06d);var _0x5af232=moment(this[_0x65b4('0x3')]('queuecallerjoinAt'))[_0x65b4('0x4')]('YYYY-MM-DD\x20HH:mm:ss');var _0x490474=_0x1df25f[_0x65b4('0x5')](_0x5af232,_0x65b4('0x6'));this[_0x65b4('0x7')](_0x65b4('0x8'),_0x4ba06d);this[_0x65b4('0x7')](_0x65b4('0x9'),_0x490474||null);}},'position':{'type':Sequelize[_0x65b4('0xa')]},'count':{'type':Sequelize[_0x65b4('0xa')]},'queuecallerabandon':{'type':Sequelize[_0x65b4('0xb')],'defaultValue':![]},'queuecallerabandonAt':{'type':Sequelize['DATE']},'queuecallercomplete':{'type':Sequelize['BOOLEAN'],'defaultValue':![]},'queuecallercompleteAt':{'type':Sequelize[_0x65b4('0x2')]},'queuecallerexit':{'type':Sequelize[_0x65b4('0xb')],'defaultValue':![]},'queuecallerexitAt':{'type':Sequelize['DATE']},'queuecallerexitreason':{'type':Sequelize['STRING'],'comment':_0x65b4('0xc')},'originalposition':{'type':Sequelize[_0x65b4('0xa')]},'channel':{'type':Sequelize[_0x65b4('0x1')]},'connectedlinenum':{'type':Sequelize['STRING']},'connectedlinename':{'type':Sequelize[_0x65b4('0x1')]},'accountcode':{'type':Sequelize[_0x65b4('0x1')]},'context':{'type':Sequelize[_0x65b4('0x1')]},'exten':{'type':Sequelize[_0x65b4('0x1')]},'priority':{'type':Sequelize[_0x65b4('0x1')]},'holdtime':{'type':Sequelize[_0x65b4('0xa')]},'mohtime':{'type':Sequelize[_0x65b4('0xa')],'defaultValue':0x0},'assigned':{'type':Sequelize[_0x65b4('0xb')],'defaultValue':![]},'lastAssignedTo':{'type':Sequelize['STRING']},'transfer':{'type':Sequelize[_0x65b4('0xb')],'defaultValue':![]},'transfertype':{'type':Sequelize[_0x65b4('0x1')],'comment':_0x65b4('0xd')},'transferexten':{'type':Sequelize[_0x65b4('0x1')]},'transferuniqueid':{'type':Sequelize[_0x65b4('0x1')]},'disposition':{'type':Sequelize[_0x65b4('0x1')]},'secondDisposition':{'type':Sequelize[_0x65b4('0x1')]},'thirdDisposition':{'type':Sequelize[_0x65b4('0x1')]},'queuecallerenterreason':{'type':Sequelize[_0x65b4('0xa')],'defaultValue':0x0},'note':{'type':Sequelize[_0x65b4('0x1')]}};
\ No newline at end of file
+var _0xb5ce=['holdtime','INTEGER','BOOLEAN','COMPLETEDBYCALLER,\x20COMPLETEDBYAGENT,\x20FORWARDTRANFER,\x20BLINDTRANSFER,\x20ATTENDEDTRANSFER,\x20EXITWITHKEY,\x20TIMEOUT','FORWARD,\x20BLIND,\x20ATTENDED','sequelize','moment','STRING','DATE','getDataValue','queuecallerjoinAt','YYYY-MM-DD\x20HH:mm:ss','diff','seconds','setDataValue','queuecallerleaveAt'];(function(_0x5c51fb,_0x49db9f){var _0x2c07eb=function(_0x1f57e4){while(--_0x1f57e4){_0x5c51fb['push'](_0x5c51fb['shift']());}};_0x2c07eb(++_0x49db9f);}(_0xb5ce,0x145));var _0xeb5c=function(_0x465b25,_0x2d23d4){_0x465b25=_0x465b25-0x0;var _0x3aed8d=_0xb5ce[_0x465b25];return _0x3aed8d;};'use strict';var Sequelize=require(_0xeb5c('0x0'));var moment=require(_0xeb5c('0x1'));module['exports']={'type':{'type':Sequelize['STRING']},'uniqueid':{'type':Sequelize[_0xeb5c('0x2')]},'calleridnum':{'type':Sequelize[_0xeb5c('0x2')]},'calleridname':{'type':Sequelize[_0xeb5c('0x2')]},'queue':{'type':Sequelize[_0xeb5c('0x2')]},'queuecallerjoinAt':{'type':Sequelize['DATE']},'queuecallerleaveAt':{'type':Sequelize[_0xeb5c('0x3')],'set':function(_0x5a5064){var _0x35c6b4=moment(_0x5a5064);var _0x1718d3=moment(this[_0xeb5c('0x4')](_0xeb5c('0x5')))['format'](_0xeb5c('0x6'));var _0x5dce42=_0x35c6b4[_0xeb5c('0x7')](_0x1718d3,_0xeb5c('0x8'));this[_0xeb5c('0x9')](_0xeb5c('0xa'),_0x5a5064);this['setDataValue'](_0xeb5c('0xb'),_0x5dce42||null);}},'position':{'type':Sequelize[_0xeb5c('0xc')]},'count':{'type':Sequelize[_0xeb5c('0xc')]},'queuecallerabandon':{'type':Sequelize[_0xeb5c('0xd')],'defaultValue':![]},'queuecallerabandonAt':{'type':Sequelize[_0xeb5c('0x3')]},'queuecallercomplete':{'type':Sequelize[_0xeb5c('0xd')],'defaultValue':![]},'queuecallercompleteAt':{'type':Sequelize['DATE']},'queuecallerexit':{'type':Sequelize[_0xeb5c('0xd')],'defaultValue':![]},'queuecallerexitAt':{'type':Sequelize[_0xeb5c('0x3')]},'queuecallerexitreason':{'type':Sequelize[_0xeb5c('0x2')],'comment':_0xeb5c('0xe')},'originalposition':{'type':Sequelize[_0xeb5c('0xc')]},'channel':{'type':Sequelize[_0xeb5c('0x2')]},'connectedlinenum':{'type':Sequelize[_0xeb5c('0x2')]},'connectedlinename':{'type':Sequelize['STRING']},'accountcode':{'type':Sequelize['STRING']},'context':{'type':Sequelize[_0xeb5c('0x2')]},'exten':{'type':Sequelize[_0xeb5c('0x2')]},'priority':{'type':Sequelize[_0xeb5c('0x2')]},'holdtime':{'type':Sequelize[_0xeb5c('0xc')]},'mohtime':{'type':Sequelize[_0xeb5c('0xc')],'defaultValue':0x0},'assigned':{'type':Sequelize[_0xeb5c('0xd')],'defaultValue':![]},'lastAssignedTo':{'type':Sequelize['STRING']},'transfer':{'type':Sequelize[_0xeb5c('0xd')],'defaultValue':![]},'transfertype':{'type':Sequelize['STRING'],'comment':_0xeb5c('0xf')},'transferexten':{'type':Sequelize[_0xeb5c('0x2')]},'transferuniqueid':{'type':Sequelize[_0xeb5c('0x2')]},'disposition':{'type':Sequelize[_0xeb5c('0x2')]},'secondDisposition':{'type':Sequelize['STRING']},'thirdDisposition':{'type':Sequelize[_0xeb5c('0x2')]},'queuecallerenterreason':{'type':Sequelize[_0xeb5c('0xc')],'defaultValue':0x0},'note':{'type':Sequelize['STRING']}};
\ No newline at end of file