Built motion from commit efa66e19.|2.6.22
[motion2.git] / server / api / memberReport / memberReport.attributes.js
index 2839eda..c62c026 100644 (file)
@@ -15,4 +15,4 @@
 // * treaties. The SOFTWARE PRODUCT is licensed, not sold.                        *
 // *                                                                       *
 // *************************************************************************
-var _0x51f4=['DEFAULT\x20PAUSE','LOGIN,\x20PAUSE,\x20TALKING','INTEGER','DATE','getDataValue','enterAt','diff','seconds','setDataValue','talk:[inbound,\x20outbound],\x20pause:[reason]','talk:[queue]','sequelize','moment','STRING'];(function(_0x6b1e6a,_0x15f84a){var _0x4e65bc=function(_0x5e34f5){while(--_0x5e34f5){_0x6b1e6a['push'](_0x6b1e6a['shift']());}};_0x4e65bc(++_0x15f84a);}(_0x51f4,0x1e7));var _0x451f=function(_0x2641f9,_0x26715f){_0x2641f9=_0x2641f9-0x0;var _0x585741=_0x51f4[_0x2641f9];return _0x585741;};'use strict';var Sequelize=require(_0x451f('0x0'));var moment=require(_0x451f('0x1'));module['exports']={'channel':{'type':Sequelize['STRING']},'membername':{'type':Sequelize[_0x451f('0x2')]},'interface':{'type':Sequelize[_0x451f('0x2')]},'type':{'type':Sequelize[_0x451f('0x2')],'defaultValue':_0x451f('0x3'),'comment':_0x451f('0x4')},'duration':{'type':Sequelize[_0x451f('0x5')]},'enterAt':{'type':Sequelize[_0x451f('0x6')]},'exitAt':{'type':Sequelize[_0x451f('0x6')],'set':function(_0x465a36){var _0x180e69=moment(_0x465a36);var _0x4a7300=moment(this[_0x451f('0x7')](_0x451f('0x8')));var _0x1ad145=_0x180e69[_0x451f('0x9')](_0x4a7300,_0x451f('0xa'));this[_0x451f('0xb')]('exitAt',_0x465a36);this['setDataValue']('duration',_0x1ad145>=0x0?_0x1ad145:null);}},'data1':{'type':Sequelize[_0x451f('0x2')],'comment':_0x451f('0xc')},'data2':{'type':Sequelize['STRING'],'comment':'talk:[start]'},'data3':{'type':Sequelize[_0x451f('0x2')],'comment':'talk:[destination]'},'data4':{'type':Sequelize[_0x451f('0x2')],'comment':'talk:[dial\x20string]'},'data5':{'type':Sequelize['STRING'],'comment':_0x451f('0xd')},'role':{'type':Sequelize[_0x451f('0x2')]},'internal':{'type':Sequelize[_0x451f('0x5')]},'uniqueid':{'type':Sequelize[_0x451f('0x2')]}};
\ No newline at end of file
+var _0x20e5=['getDataValue','enterAt','diff','seconds','setDataValue','exitAt','talk:[inbound,\x20outbound],\x20pause:[reason]','talk:[destination]','talk:[dial\x20string]','talk:[queue]','INTEGER','sequelize','exports','STRING','LOGIN,\x20PAUSE,\x20TALKING','DATE'];(function(_0x30ae5e,_0x391fc4){var _0x1f2e93=function(_0x60307d){while(--_0x60307d){_0x30ae5e['push'](_0x30ae5e['shift']());}};_0x1f2e93(++_0x391fc4);}(_0x20e5,0xbb));var _0x520e=function(_0x1cf2b0,_0x3be4e0){_0x1cf2b0=_0x1cf2b0-0x0;var _0x4e849b=_0x20e5[_0x1cf2b0];return _0x4e849b;};'use strict';var Sequelize=require(_0x520e('0x0'));var moment=require('moment');module[_0x520e('0x1')]={'channel':{'type':Sequelize[_0x520e('0x2')]},'membername':{'type':Sequelize[_0x520e('0x2')]},'interface':{'type':Sequelize['STRING']},'type':{'type':Sequelize[_0x520e('0x2')],'defaultValue':'DEFAULT\x20PAUSE','comment':_0x520e('0x3')},'duration':{'type':Sequelize['INTEGER']},'enterAt':{'type':Sequelize[_0x520e('0x4')]},'exitAt':{'type':Sequelize[_0x520e('0x4')],'set':function(_0x225dcf){var _0x4d5d66=moment(_0x225dcf);var _0x3e66e6=moment(this[_0x520e('0x5')](_0x520e('0x6')));var _0x160309=_0x4d5d66[_0x520e('0x7')](_0x3e66e6,_0x520e('0x8'));this[_0x520e('0x9')](_0x520e('0xa'),_0x225dcf);this[_0x520e('0x9')]('duration',_0x160309>=0x0?_0x160309:null);}},'data1':{'type':Sequelize[_0x520e('0x2')],'comment':_0x520e('0xb')},'data2':{'type':Sequelize[_0x520e('0x2')],'comment':'talk:[start]'},'data3':{'type':Sequelize[_0x520e('0x2')],'comment':_0x520e('0xc')},'data4':{'type':Sequelize[_0x520e('0x2')],'comment':_0x520e('0xd')},'data5':{'type':Sequelize['STRING'],'comment':_0x520e('0xe')},'role':{'type':Sequelize['STRING']},'internal':{'type':Sequelize[_0x520e('0xf')]},'uniqueid':{'type':Sequelize[_0x520e('0x2')]}};
\ No newline at end of file