Built motion from commit 10af8726.|2.6.34
[motion2.git] / server / api / memberReport / memberReport.attributes.js
index 52b2b70..90a0534 100644 (file)
@@ -15,4 +15,4 @@
 // * treaties. The SOFTWARE PRODUCT is licensed, not sold.                        *
 // *                                                                       *
 // *************************************************************************
-var _0xdc4c=['STRING','DEFAULT\x20PAUSE','LOGIN,\x20PAUSE,\x20TALKING','INTEGER','DATE','getDataValue','enterAt','diff','seconds','setDataValue','exitAt','duration','talk:[inbound,\x20outbound],\x20pause:[reason]','talk:[start]','talk:[destination]','talk:[dial\x20string]','sequelize','exports'];(function(_0x411017,_0x4a8117){var _0x2adeea=function(_0x545222){while(--_0x545222){_0x411017['push'](_0x411017['shift']());}};_0x2adeea(++_0x4a8117);}(_0xdc4c,0x166));var _0xcdc4=function(_0x27fe02,_0x4b1e01){_0x27fe02=_0x27fe02-0x0;var _0x2064d7=_0xdc4c[_0x27fe02];return _0x2064d7;};'use strict';var Sequelize=require(_0xcdc4('0x0'));var moment=require('moment');module[_0xcdc4('0x1')]={'channel':{'type':Sequelize[_0xcdc4('0x2')]},'membername':{'type':Sequelize[_0xcdc4('0x2')]},'interface':{'type':Sequelize[_0xcdc4('0x2')]},'type':{'type':Sequelize['STRING'],'defaultValue':_0xcdc4('0x3'),'comment':_0xcdc4('0x4')},'duration':{'type':Sequelize[_0xcdc4('0x5')]},'enterAt':{'type':Sequelize[_0xcdc4('0x6')]},'exitAt':{'type':Sequelize[_0xcdc4('0x6')],'set':function(_0x1bda2f){var _0x563aeb=moment(_0x1bda2f);var _0x50850e=moment(this[_0xcdc4('0x7')](_0xcdc4('0x8')));var _0x1f978a=_0x563aeb[_0xcdc4('0x9')](_0x50850e,_0xcdc4('0xa'));this[_0xcdc4('0xb')](_0xcdc4('0xc'),_0x1bda2f);this[_0xcdc4('0xb')](_0xcdc4('0xd'),_0x1f978a>=0x0?_0x1f978a:null);}},'data1':{'type':Sequelize[_0xcdc4('0x2')],'comment':_0xcdc4('0xe')},'data2':{'type':Sequelize['STRING'],'comment':_0xcdc4('0xf')},'data3':{'type':Sequelize[_0xcdc4('0x2')],'comment':_0xcdc4('0x10')},'data4':{'type':Sequelize[_0xcdc4('0x2')],'comment':_0xcdc4('0x11')},'data5':{'type':Sequelize[_0xcdc4('0x2')],'comment':'talk:[queue]'},'role':{'type':Sequelize[_0xcdc4('0x2')]},'internal':{'type':Sequelize['INTEGER']},'uniqueid':{'type':Sequelize[_0xcdc4('0x2')]}};
\ No newline at end of file
+var _0xaefa=['enterAt','diff','setDataValue','exitAt','duration','talk:[destination]','talk:[queue]','moment','STRING','DEFAULT\x20PAUSE','INTEGER','DATE','getDataValue'];(function(_0x5f09c5,_0x2bfca0){var _0x426ad9=function(_0x18fe5f){while(--_0x18fe5f){_0x5f09c5['push'](_0x5f09c5['shift']());}};_0x426ad9(++_0x2bfca0);}(_0xaefa,0x159));var _0xaaef=function(_0x2c72ea,_0x1d7828){_0x2c72ea=_0x2c72ea-0x0;var _0x3bb993=_0xaefa[_0x2c72ea];return _0x3bb993;};'use strict';var Sequelize=require('sequelize');var moment=require(_0xaaef('0x0'));module['exports']={'channel':{'type':Sequelize[_0xaaef('0x1')]},'membername':{'type':Sequelize['STRING']},'interface':{'type':Sequelize[_0xaaef('0x1')]},'type':{'type':Sequelize[_0xaaef('0x1')],'defaultValue':_0xaaef('0x2'),'comment':'LOGIN,\x20PAUSE,\x20TALKING'},'duration':{'type':Sequelize[_0xaaef('0x3')]},'enterAt':{'type':Sequelize['DATE']},'exitAt':{'type':Sequelize[_0xaaef('0x4')],'set':function(_0x9d4d13){var _0x7369eb=moment(_0x9d4d13);var _0x521583=moment(this[_0xaaef('0x5')](_0xaaef('0x6')));var _0x5639dc=_0x7369eb[_0xaaef('0x7')](_0x521583,'seconds');this[_0xaaef('0x8')](_0xaaef('0x9'),_0x9d4d13);this[_0xaaef('0x8')](_0xaaef('0xa'),_0x5639dc>=0x0?_0x5639dc:null);}},'data1':{'type':Sequelize['STRING'],'comment':'talk:[inbound,\x20outbound],\x20pause:[reason]'},'data2':{'type':Sequelize[_0xaaef('0x1')],'comment':'talk:[start]'},'data3':{'type':Sequelize[_0xaaef('0x1')],'comment':_0xaaef('0xb')},'data4':{'type':Sequelize[_0xaaef('0x1')],'comment':'talk:[dial\x20string]'},'data5':{'type':Sequelize[_0xaaef('0x1')],'comment':_0xaaef('0xc')},'role':{'type':Sequelize[_0xaaef('0x1')]},'internal':{'type':Sequelize[_0xaaef('0x3')]},'uniqueid':{'type':Sequelize[_0xaaef('0x1')]}};
\ No newline at end of file