Built motion from commit d9028345.|2.5.43
[motion2.git] / server / api / memberReport / memberReport.attributes.js
index d61717c..016662b 100644 (file)
@@ -15,4 +15,4 @@
 // * treaties. The SOFTWARE PRODUCT is licensed, not sold.                        *
 // *                                                                       *
 // *************************************************************************
-var _0x1884=['seconds','setDataValue','exitAt','duration','talk:[inbound,\x20outbound],\x20pause:[reason]','talk:[destination]','talk:[dial\x20string]','talk:[queue]','sequelize','STRING','DEFAULT\x20PAUSE','LOGIN,\x20PAUSE,\x20TALKING','INTEGER','DATE','getDataValue','enterAt','diff'];(function(_0x4fdd9a,_0x1e68d6){var _0x31dad9=function(_0x3461ae){while(--_0x3461ae){_0x4fdd9a['push'](_0x4fdd9a['shift']());}};_0x31dad9(++_0x1e68d6);}(_0x1884,0x14b));var _0x4188=function(_0x1e68d3,_0x353f2a){_0x1e68d3=_0x1e68d3-0x0;var _0x58f709=_0x1884[_0x1e68d3];return _0x58f709;};'use strict';var Sequelize=require(_0x4188('0x0'));var moment=require('moment');module['exports']={'channel':{'type':Sequelize[_0x4188('0x1')]},'membername':{'type':Sequelize['STRING']},'interface':{'type':Sequelize[_0x4188('0x1')]},'type':{'type':Sequelize[_0x4188('0x1')],'defaultValue':_0x4188('0x2'),'comment':_0x4188('0x3')},'duration':{'type':Sequelize[_0x4188('0x4')]},'enterAt':{'type':Sequelize[_0x4188('0x5')]},'exitAt':{'type':Sequelize[_0x4188('0x5')],'set':function(_0x1bccb1){var _0x4b1d8f=moment(_0x1bccb1);var _0x18f421=moment(this[_0x4188('0x6')](_0x4188('0x7')));var _0x3a7947=_0x4b1d8f[_0x4188('0x8')](_0x18f421,_0x4188('0x9'));this[_0x4188('0xa')](_0x4188('0xb'),_0x1bccb1);this[_0x4188('0xa')](_0x4188('0xc'),_0x3a7947>=0x0?_0x3a7947:null);}},'data1':{'type':Sequelize[_0x4188('0x1')],'comment':_0x4188('0xd')},'data2':{'type':Sequelize[_0x4188('0x1')],'comment':'talk:[start]'},'data3':{'type':Sequelize[_0x4188('0x1')],'comment':_0x4188('0xe')},'data4':{'type':Sequelize[_0x4188('0x1')],'comment':_0x4188('0xf')},'data5':{'type':Sequelize[_0x4188('0x1')],'comment':_0x4188('0x10')},'role':{'type':Sequelize[_0x4188('0x1')]},'internal':{'type':Sequelize[_0x4188('0x4')]},'uniqueid':{'type':Sequelize[_0x4188('0x1')]}};
\ No newline at end of file
+var _0x230f=['talk:[dial\x20string]','talk:[queue]','sequelize','moment','exports','STRING','DEFAULT\x20PAUSE','INTEGER','DATE','getDataValue','diff','seconds','duration','talk:[start]'];(function(_0x42f009,_0x5e27b1){var _0x22a1e0=function(_0x297993){while(--_0x297993){_0x42f009['push'](_0x42f009['shift']());}};_0x22a1e0(++_0x5e27b1);}(_0x230f,0x1d0));var _0xf230=function(_0x460666,_0x24bfa0){_0x460666=_0x460666-0x0;var _0x555cbf=_0x230f[_0x460666];return _0x555cbf;};'use strict';var Sequelize=require(_0xf230('0x0'));var moment=require(_0xf230('0x1'));module[_0xf230('0x2')]={'channel':{'type':Sequelize[_0xf230('0x3')]},'membername':{'type':Sequelize['STRING']},'interface':{'type':Sequelize[_0xf230('0x3')]},'type':{'type':Sequelize[_0xf230('0x3')],'defaultValue':_0xf230('0x4'),'comment':'LOGIN,\x20PAUSE,\x20TALKING'},'duration':{'type':Sequelize[_0xf230('0x5')]},'enterAt':{'type':Sequelize[_0xf230('0x6')]},'exitAt':{'type':Sequelize[_0xf230('0x6')],'set':function(_0x30af9d){var _0x46f76a=moment(_0x30af9d);var _0x147ae7=moment(this[_0xf230('0x7')]('enterAt'));var _0xcd73ff=_0x46f76a[_0xf230('0x8')](_0x147ae7,_0xf230('0x9'));this['setDataValue']('exitAt',_0x30af9d);this['setDataValue'](_0xf230('0xa'),_0xcd73ff>=0x0?_0xcd73ff:null);}},'data1':{'type':Sequelize[_0xf230('0x3')],'comment':'talk:[inbound,\x20outbound],\x20pause:[reason]'},'data2':{'type':Sequelize[_0xf230('0x3')],'comment':_0xf230('0xb')},'data3':{'type':Sequelize[_0xf230('0x3')],'comment':'talk:[destination]'},'data4':{'type':Sequelize['STRING'],'comment':_0xf230('0xc')},'data5':{'type':Sequelize[_0xf230('0x3')],'comment':_0xf230('0xd')},'role':{'type':Sequelize[_0xf230('0x3')]},'internal':{'type':Sequelize[_0xf230('0x5')]},'uniqueid':{'type':Sequelize[_0xf230('0x3')]}};
\ No newline at end of file