Built motion from commit (unavailable).|2.5.9
[motion2.git] / server / api / memberReport / memberReport.attributes.js
index 35c0a9b..e212670 100644 (file)
@@ -15,4 +15,4 @@
 // * treaties. The SOFTWARE PRODUCT is licensed, not sold.                        *
 // *                                                                       *
 // *************************************************************************
-var _0xdd78=['duration','talk:[inbound,\x20outbound],\x20pause:[reason]','talk:[start]','talk:[destination]','talk:[queue]','INTEGER','sequelize','moment','STRING','DEFAULT\x20PAUSE','LOGIN,\x20PAUSE,\x20TALKING','DATE','getDataValue','enterAt','seconds','setDataValue','exitAt'];(function(_0x1a47d6,_0x1c919e){var _0x5cd63d=function(_0x15af4e){while(--_0x15af4e){_0x1a47d6['push'](_0x1a47d6['shift']());}};_0x5cd63d(++_0x1c919e);}(_0xdd78,0xb0));var _0x8dd7=function(_0x3dd15e,_0x1f0015){_0x3dd15e=_0x3dd15e-0x0;var _0x231fd0=_0xdd78[_0x3dd15e];return _0x231fd0;};'use strict';var Sequelize=require(_0x8dd7('0x0'));var moment=require(_0x8dd7('0x1'));module['exports']={'channel':{'type':Sequelize['STRING']},'membername':{'type':Sequelize[_0x8dd7('0x2')]},'interface':{'type':Sequelize[_0x8dd7('0x2')]},'type':{'type':Sequelize['STRING'],'defaultValue':_0x8dd7('0x3'),'comment':_0x8dd7('0x4')},'duration':{'type':Sequelize['INTEGER']},'enterAt':{'type':Sequelize['DATE']},'exitAt':{'type':Sequelize[_0x8dd7('0x5')],'set':function(_0x4ef171){var _0x3e5fe0=moment(_0x4ef171);var _0x1f6445=moment(this[_0x8dd7('0x6')](_0x8dd7('0x7')));var _0x5b1030=_0x3e5fe0['diff'](_0x1f6445,_0x8dd7('0x8'));this[_0x8dd7('0x9')](_0x8dd7('0xa'),_0x4ef171);this['setDataValue'](_0x8dd7('0xb'),_0x5b1030||null);}},'data1':{'type':Sequelize[_0x8dd7('0x2')],'comment':_0x8dd7('0xc')},'data2':{'type':Sequelize['STRING'],'comment':_0x8dd7('0xd')},'data3':{'type':Sequelize[_0x8dd7('0x2')],'comment':_0x8dd7('0xe')},'data4':{'type':Sequelize[_0x8dd7('0x2')],'comment':'talk:[dial\x20string]'},'data5':{'type':Sequelize[_0x8dd7('0x2')],'comment':_0x8dd7('0xf')},'role':{'type':Sequelize[_0x8dd7('0x2')]},'internal':{'type':Sequelize[_0x8dd7('0x10')]},'uniqueid':{'type':Sequelize[_0x8dd7('0x2')]}};
\ No newline at end of file
+var _0xd58c=['seconds','setDataValue','exitAt','duration','talk:[inbound,\x20outbound],\x20pause:[reason]','talk:[start]','talk:[destination]','talk:[queue]','sequelize','exports','STRING','DEFAULT\x20PAUSE','LOGIN,\x20PAUSE,\x20TALKING','INTEGER','DATE','getDataValue','diff'];(function(_0x5156c9,_0x46aba7){var _0xceadb9=function(_0x4b8efe){while(--_0x4b8efe){_0x5156c9['push'](_0x5156c9['shift']());}};_0xceadb9(++_0x46aba7);}(_0xd58c,0x1c2));var _0xcd58=function(_0x4bd335,_0x3b47a3){_0x4bd335=_0x4bd335-0x0;var _0x3e3adf=_0xd58c[_0x4bd335];return _0x3e3adf;};'use strict';var Sequelize=require(_0xcd58('0x0'));var moment=require('moment');module[_0xcd58('0x1')]={'channel':{'type':Sequelize['STRING']},'membername':{'type':Sequelize[_0xcd58('0x2')]},'interface':{'type':Sequelize['STRING']},'type':{'type':Sequelize[_0xcd58('0x2')],'defaultValue':_0xcd58('0x3'),'comment':_0xcd58('0x4')},'duration':{'type':Sequelize[_0xcd58('0x5')]},'enterAt':{'type':Sequelize[_0xcd58('0x6')]},'exitAt':{'type':Sequelize['DATE'],'set':function(_0x1e2d41){var _0x2fd255=moment(_0x1e2d41);var _0x2d51a2=moment(this[_0xcd58('0x7')]('enterAt'));var _0x24b7e6=_0x2fd255[_0xcd58('0x8')](_0x2d51a2,_0xcd58('0x9'));this[_0xcd58('0xa')](_0xcd58('0xb'),_0x1e2d41);this['setDataValue'](_0xcd58('0xc'),_0x24b7e6||null);}},'data1':{'type':Sequelize['STRING'],'comment':_0xcd58('0xd')},'data2':{'type':Sequelize['STRING'],'comment':_0xcd58('0xe')},'data3':{'type':Sequelize[_0xcd58('0x2')],'comment':_0xcd58('0xf')},'data4':{'type':Sequelize['STRING'],'comment':'talk:[dial\x20string]'},'data5':{'type':Sequelize['STRING'],'comment':_0xcd58('0x10')},'role':{'type':Sequelize['STRING']},'internal':{'type':Sequelize[_0xcd58('0x5')]},'uniqueid':{'type':Sequelize[_0xcd58('0x2')]}};
\ No newline at end of file