Built motion from commit 47436d59.|2.6.7
[motion2.git] / server / api / memberReport / memberReport.attributes.js
index 6a36b58..f8012f0 100644 (file)
@@ -15,4 +15,4 @@
 // * treaties. The SOFTWARE PRODUCT is licensed, not sold.                        *
 // *                                                                       *
 // *************************************************************************
-var _0x69be=['talk:[start]','talk:[dial\x20string]','talk:[queue]','sequelize','moment','exports','STRING','DEFAULT\x20PAUSE','LOGIN,\x20PAUSE,\x20TALKING','INTEGER','DATE','getDataValue','enterAt','diff','setDataValue','exitAt','duration'];(function(_0x2bd66b,_0x13a4a9){var _0x2f30fe=function(_0x33e69a){while(--_0x33e69a){_0x2bd66b['push'](_0x2bd66b['shift']());}};_0x2f30fe(++_0x13a4a9);}(_0x69be,0x1f0));var _0xe69b=function(_0xca00ad,_0x157742){_0xca00ad=_0xca00ad-0x0;var _0x324aef=_0x69be[_0xca00ad];return _0x324aef;};'use strict';var Sequelize=require(_0xe69b('0x0'));var moment=require(_0xe69b('0x1'));module[_0xe69b('0x2')]={'channel':{'type':Sequelize['STRING']},'membername':{'type':Sequelize[_0xe69b('0x3')]},'interface':{'type':Sequelize[_0xe69b('0x3')]},'type':{'type':Sequelize[_0xe69b('0x3')],'defaultValue':_0xe69b('0x4'),'comment':_0xe69b('0x5')},'duration':{'type':Sequelize[_0xe69b('0x6')]},'enterAt':{'type':Sequelize[_0xe69b('0x7')]},'exitAt':{'type':Sequelize[_0xe69b('0x7')],'set':function(_0x159113){var _0x3cc10b=moment(_0x159113);var _0x544b12=moment(this[_0xe69b('0x8')](_0xe69b('0x9')));var _0x34caa0=_0x3cc10b[_0xe69b('0xa')](_0x544b12,'seconds');this[_0xe69b('0xb')](_0xe69b('0xc'),_0x159113);this[_0xe69b('0xb')](_0xe69b('0xd'),_0x34caa0||null);}},'data1':{'type':Sequelize[_0xe69b('0x3')],'comment':'talk:[inbound,\x20outbound],\x20pause:[reason]'},'data2':{'type':Sequelize['STRING'],'comment':_0xe69b('0xe')},'data3':{'type':Sequelize['STRING'],'comment':'talk:[destination]'},'data4':{'type':Sequelize[_0xe69b('0x3')],'comment':_0xe69b('0xf')},'data5':{'type':Sequelize['STRING'],'comment':_0xe69b('0x10')},'role':{'type':Sequelize[_0xe69b('0x3')]},'internal':{'type':Sequelize[_0xe69b('0x6')]},'uniqueid':{'type':Sequelize[_0xe69b('0x3')]}};
\ No newline at end of file
+var _0xc7e9=['exitAt','duration','talk:[inbound,\x20outbound],\x20pause:[reason]','talk:[start]','talk:[destination]','talk:[dial\x20string]','talk:[queue]','INTEGER','sequelize','moment','STRING','DEFAULT\x20PAUSE','LOGIN,\x20PAUSE,\x20TALKING','getDataValue','enterAt','setDataValue'];(function(_0x21379,_0xf1e228){var _0x2d3752=function(_0x4bd911){while(--_0x4bd911){_0x21379['push'](_0x21379['shift']());}};_0x2d3752(++_0xf1e228);}(_0xc7e9,0x1b8));var _0x9c7e=function(_0x29d94e,_0xf386d6){_0x29d94e=_0x29d94e-0x0;var _0x106237=_0xc7e9[_0x29d94e];return _0x106237;};'use strict';var Sequelize=require(_0x9c7e('0x0'));var moment=require(_0x9c7e('0x1'));module['exports']={'channel':{'type':Sequelize[_0x9c7e('0x2')]},'membername':{'type':Sequelize[_0x9c7e('0x2')]},'interface':{'type':Sequelize[_0x9c7e('0x2')]},'type':{'type':Sequelize[_0x9c7e('0x2')],'defaultValue':_0x9c7e('0x3'),'comment':_0x9c7e('0x4')},'duration':{'type':Sequelize['INTEGER']},'enterAt':{'type':Sequelize['DATE']},'exitAt':{'type':Sequelize['DATE'],'set':function(_0x1c80ba){var _0x226f40=moment(_0x1c80ba);var _0x1ca6b5=moment(this[_0x9c7e('0x5')](_0x9c7e('0x6')));var _0x3a8952=_0x226f40['diff'](_0x1ca6b5,'seconds');this[_0x9c7e('0x7')](_0x9c7e('0x8'),_0x1c80ba);this[_0x9c7e('0x7')](_0x9c7e('0x9'),_0x3a8952>=0x0?_0x3a8952:null);}},'data1':{'type':Sequelize[_0x9c7e('0x2')],'comment':_0x9c7e('0xa')},'data2':{'type':Sequelize[_0x9c7e('0x2')],'comment':_0x9c7e('0xb')},'data3':{'type':Sequelize[_0x9c7e('0x2')],'comment':_0x9c7e('0xc')},'data4':{'type':Sequelize[_0x9c7e('0x2')],'comment':_0x9c7e('0xd')},'data5':{'type':Sequelize[_0x9c7e('0x2')],'comment':_0x9c7e('0xe')},'role':{'type':Sequelize[_0x9c7e('0x2')]},'internal':{'type':Sequelize[_0x9c7e('0xf')]},'uniqueid':{'type':Sequelize[_0x9c7e('0x2')]}};
\ No newline at end of file