Built motion from commit 10af8726.|2.6.34
[motion2.git] / server / api / voiceQueueReport / voiceQueueReport.attributes.js
index 852626b..d1fbdcb 100644 (file)
@@ -15,4 +15,4 @@
 // * treaties. The SOFTWARE PRODUCT is licensed, not sold.                        *
 // *                                                                       *
 // *************************************************************************
-var _0x8f18=['BOOLEAN','COMPLETEDBYCALLER,\x20COMPLETEDBYAGENT,\x20FORWARDTRANFER,\x20BLINDTRANSFER,\x20ATTENDEDTRANSFER,\x20EXITWITHKEY,\x20TIMEOUT','FORWARD,\x20BLIND,\x20ATTENDED','sequelize','exports','STRING','DATE','getDataValue','YYYY-MM-DD\x20HH:mm:ss','seconds','setDataValue','queuecallerleaveAt','INTEGER'];(function(_0x57f45a,_0x5736ff){var _0x1f6966=function(_0x458ea0){while(--_0x458ea0){_0x57f45a['push'](_0x57f45a['shift']());}};_0x1f6966(++_0x5736ff);}(_0x8f18,0x121));var _0x88f1=function(_0x2bf3c4,_0x3563fc){_0x2bf3c4=_0x2bf3c4-0x0;var _0x237c08=_0x8f18[_0x2bf3c4];return _0x237c08;};'use strict';var Sequelize=require(_0x88f1('0x0'));var moment=require('moment');module[_0x88f1('0x1')]={'type':{'type':Sequelize[_0x88f1('0x2')]},'uniqueid':{'type':Sequelize[_0x88f1('0x2')]},'calleridnum':{'type':Sequelize[_0x88f1('0x2')]},'calleridname':{'type':Sequelize[_0x88f1('0x2')]},'queue':{'type':Sequelize['STRING']},'queuecallerjoinAt':{'type':Sequelize[_0x88f1('0x3')]},'queuecallerleaveAt':{'type':Sequelize[_0x88f1('0x3')],'set':function(_0x4d61e6){var _0x45d218=moment(_0x4d61e6);var _0x19a20f=moment(this[_0x88f1('0x4')]('queuecallerjoinAt'))['format'](_0x88f1('0x5'));var _0x366acf=_0x45d218['diff'](_0x19a20f,_0x88f1('0x6'));this[_0x88f1('0x7')](_0x88f1('0x8'),_0x4d61e6);this['setDataValue']('holdtime',_0x366acf||null);}},'position':{'type':Sequelize['INTEGER']},'count':{'type':Sequelize[_0x88f1('0x9')]},'queuecallerabandon':{'type':Sequelize[_0x88f1('0xa')],'defaultValue':![]},'queuecallerabandonAt':{'type':Sequelize['DATE']},'queuecallercomplete':{'type':Sequelize[_0x88f1('0xa')],'defaultValue':![]},'queuecallercompleteAt':{'type':Sequelize['DATE']},'queuecallerexit':{'type':Sequelize['BOOLEAN'],'defaultValue':![]},'queuecallerexitAt':{'type':Sequelize[_0x88f1('0x3')]},'queuecallerexitreason':{'type':Sequelize[_0x88f1('0x2')],'comment':_0x88f1('0xb')},'originalposition':{'type':Sequelize['INTEGER']},'channel':{'type':Sequelize[_0x88f1('0x2')]},'connectedlinenum':{'type':Sequelize[_0x88f1('0x2')]},'connectedlinename':{'type':Sequelize[_0x88f1('0x2')]},'accountcode':{'type':Sequelize['STRING']},'context':{'type':Sequelize[_0x88f1('0x2')]},'exten':{'type':Sequelize[_0x88f1('0x2')]},'priority':{'type':Sequelize[_0x88f1('0x2')]},'holdtime':{'type':Sequelize[_0x88f1('0x9')]},'mohtime':{'type':Sequelize['INTEGER'],'defaultValue':0x0},'assigned':{'type':Sequelize['BOOLEAN'],'defaultValue':![]},'lastAssignedTo':{'type':Sequelize['STRING']},'transfer':{'type':Sequelize['BOOLEAN'],'defaultValue':![]},'transfertype':{'type':Sequelize['STRING'],'comment':_0x88f1('0xc')},'transferexten':{'type':Sequelize[_0x88f1('0x2')]},'transferuniqueid':{'type':Sequelize[_0x88f1('0x2')]},'disposition':{'type':Sequelize[_0x88f1('0x2')]},'secondDisposition':{'type':Sequelize[_0x88f1('0x2')]},'thirdDisposition':{'type':Sequelize[_0x88f1('0x2')]},'queuecallerenterreason':{'type':Sequelize['INTEGER'],'defaultValue':0x0},'note':{'type':Sequelize['STRING']}};
\ No newline at end of file
+var _0xc61a=['diff','seconds','setDataValue','queuecallerleaveAt','holdtime','INTEGER','BOOLEAN','COMPLETEDBYCALLER,\x20COMPLETEDBYAGENT,\x20FORWARDTRANFER,\x20BLINDTRANSFER,\x20ATTENDEDTRANSFER,\x20EXITWITHKEY,\x20TIMEOUT','FORWARD,\x20BLIND,\x20ATTENDED','sequelize','moment','exports','STRING','DATE','YYYY-MM-DD\x20HH:mm:ss'];(function(_0x2cfb90,_0x18474c){var _0x40db9b=function(_0x5c46c4){while(--_0x5c46c4){_0x2cfb90['push'](_0x2cfb90['shift']());}};_0x40db9b(++_0x18474c);}(_0xc61a,0x1ad));var _0xac61=function(_0x249718,_0x21947f){_0x249718=_0x249718-0x0;var _0x28a63a=_0xc61a[_0x249718];return _0x28a63a;};'use strict';var Sequelize=require(_0xac61('0x0'));var moment=require(_0xac61('0x1'));module[_0xac61('0x2')]={'type':{'type':Sequelize[_0xac61('0x3')]},'uniqueid':{'type':Sequelize[_0xac61('0x3')]},'calleridnum':{'type':Sequelize['STRING']},'calleridname':{'type':Sequelize['STRING']},'queue':{'type':Sequelize['STRING']},'queuecallerjoinAt':{'type':Sequelize['DATE']},'queuecallerleaveAt':{'type':Sequelize[_0xac61('0x4')],'set':function(_0xe1a222){var _0x3bb769=moment(_0xe1a222);var _0x112d59=moment(this['getDataValue']('queuecallerjoinAt'))['format'](_0xac61('0x5'));var _0x433632=_0x3bb769[_0xac61('0x6')](_0x112d59,_0xac61('0x7'));this[_0xac61('0x8')](_0xac61('0x9'),_0xe1a222);this[_0xac61('0x8')](_0xac61('0xa'),_0x433632||null);}},'position':{'type':Sequelize[_0xac61('0xb')]},'count':{'type':Sequelize[_0xac61('0xb')]},'queuecallerabandon':{'type':Sequelize[_0xac61('0xc')],'defaultValue':![]},'queuecallerabandonAt':{'type':Sequelize[_0xac61('0x4')]},'queuecallercomplete':{'type':Sequelize[_0xac61('0xc')],'defaultValue':![]},'queuecallercompleteAt':{'type':Sequelize[_0xac61('0x4')]},'queuecallerexit':{'type':Sequelize['BOOLEAN'],'defaultValue':![]},'queuecallerexitAt':{'type':Sequelize[_0xac61('0x4')]},'queuecallerexitreason':{'type':Sequelize[_0xac61('0x3')],'comment':_0xac61('0xd')},'originalposition':{'type':Sequelize[_0xac61('0xb')]},'channel':{'type':Sequelize['STRING']},'connectedlinenum':{'type':Sequelize[_0xac61('0x3')]},'connectedlinename':{'type':Sequelize[_0xac61('0x3')]},'accountcode':{'type':Sequelize[_0xac61('0x3')]},'context':{'type':Sequelize[_0xac61('0x3')]},'exten':{'type':Sequelize[_0xac61('0x3')]},'priority':{'type':Sequelize[_0xac61('0x3')]},'holdtime':{'type':Sequelize[_0xac61('0xb')]},'mohtime':{'type':Sequelize[_0xac61('0xb')],'defaultValue':0x0},'assigned':{'type':Sequelize[_0xac61('0xc')],'defaultValue':![]},'lastAssignedTo':{'type':Sequelize['STRING']},'transfer':{'type':Sequelize['BOOLEAN'],'defaultValue':![]},'transfertype':{'type':Sequelize[_0xac61('0x3')],'comment':_0xac61('0xe')},'transferexten':{'type':Sequelize[_0xac61('0x3')]},'transferuniqueid':{'type':Sequelize['STRING']},'disposition':{'type':Sequelize['STRING']},'secondDisposition':{'type':Sequelize[_0xac61('0x3')]},'thirdDisposition':{'type':Sequelize[_0xac61('0x3')]},'queuecallerenterreason':{'type':Sequelize[_0xac61('0xb')],'defaultValue':0x0},'note':{'type':Sequelize[_0xac61('0x3')]}};
\ No newline at end of file