Built motion from commit d5e4af8c.|2.6.23
[motion2.git] / server / api / memberReport / memberReport.attributes.js
index 8ea625b..ab38798 100644 (file)
@@ -15,4 +15,4 @@
 // * treaties. The SOFTWARE PRODUCT is licensed, not sold.                        *
 // *                                                                       *
 // *************************************************************************
-var _0xaf52=['getDataValue','enterAt','seconds','setDataValue','duration','talk:[inbound,\x20outbound],\x20pause:[reason]','talk:[destination]','talk:[dial\x20string]','talk:[queue]','sequelize','moment','exports','STRING','DEFAULT\x20PAUSE','LOGIN,\x20PAUSE,\x20TALKING','INTEGER','DATE'];(function(_0xca5b7b,_0x5b6b47){var _0x2dd301=function(_0x2cbf13){while(--_0x2cbf13){_0xca5b7b['push'](_0xca5b7b['shift']());}};_0x2dd301(++_0x5b6b47);}(_0xaf52,0xb3));var _0x2af5=function(_0x48d007,_0x446953){_0x48d007=_0x48d007-0x0;var _0x412d80=_0xaf52[_0x48d007];return _0x412d80;};'use strict';var Sequelize=require(_0x2af5('0x0'));var moment=require(_0x2af5('0x1'));module[_0x2af5('0x2')]={'channel':{'type':Sequelize[_0x2af5('0x3')]},'membername':{'type':Sequelize[_0x2af5('0x3')]},'interface':{'type':Sequelize[_0x2af5('0x3')]},'type':{'type':Sequelize[_0x2af5('0x3')],'defaultValue':_0x2af5('0x4'),'comment':_0x2af5('0x5')},'duration':{'type':Sequelize[_0x2af5('0x6')]},'enterAt':{'type':Sequelize['DATE']},'exitAt':{'type':Sequelize[_0x2af5('0x7')],'set':function(_0x3a42c4){var _0x146a70=moment(_0x3a42c4);var _0x1feb08=moment(this[_0x2af5('0x8')](_0x2af5('0x9')));var _0x32ac5e=_0x146a70['diff'](_0x1feb08,_0x2af5('0xa'));this[_0x2af5('0xb')]('exitAt',_0x3a42c4);this[_0x2af5('0xb')](_0x2af5('0xc'),_0x32ac5e>=0x0?_0x32ac5e:null);}},'data1':{'type':Sequelize[_0x2af5('0x3')],'comment':_0x2af5('0xd')},'data2':{'type':Sequelize[_0x2af5('0x3')],'comment':'talk:[start]'},'data3':{'type':Sequelize['STRING'],'comment':_0x2af5('0xe')},'data4':{'type':Sequelize[_0x2af5('0x3')],'comment':_0x2af5('0xf')},'data5':{'type':Sequelize[_0x2af5('0x3')],'comment':_0x2af5('0x10')},'role':{'type':Sequelize[_0x2af5('0x3')]},'internal':{'type':Sequelize[_0x2af5('0x6')]},'uniqueid':{'type':Sequelize[_0x2af5('0x3')]}};
\ No newline at end of file
+var _0x714e=['getDataValue','enterAt','diff','setDataValue','duration','talk:[inbound,\x20outbound],\x20pause:[reason]','talk:[start]','talk:[destination]','talk:[queue]','sequelize','exports','STRING','DEFAULT\x20PAUSE','LOGIN,\x20PAUSE,\x20TALKING','INTEGER'];(function(_0x3219cc,_0x50a602){var _0x480c96=function(_0x3c3bf2){while(--_0x3c3bf2){_0x3219cc['push'](_0x3219cc['shift']());}};_0x480c96(++_0x50a602);}(_0x714e,0xcc));var _0xe714=function(_0x568427,_0x742280){_0x568427=_0x568427-0x0;var _0x3c2f86=_0x714e[_0x568427];return _0x3c2f86;};'use strict';var Sequelize=require(_0xe714('0x0'));var moment=require('moment');module[_0xe714('0x1')]={'channel':{'type':Sequelize[_0xe714('0x2')]},'membername':{'type':Sequelize[_0xe714('0x2')]},'interface':{'type':Sequelize['STRING']},'type':{'type':Sequelize[_0xe714('0x2')],'defaultValue':_0xe714('0x3'),'comment':_0xe714('0x4')},'duration':{'type':Sequelize[_0xe714('0x5')]},'enterAt':{'type':Sequelize['DATE']},'exitAt':{'type':Sequelize['DATE'],'set':function(_0x44eeba){var _0x24c5b0=moment(_0x44eeba);var _0x54be19=moment(this[_0xe714('0x6')](_0xe714('0x7')));var _0x564be3=_0x24c5b0[_0xe714('0x8')](_0x54be19,'seconds');this['setDataValue']('exitAt',_0x44eeba);this[_0xe714('0x9')](_0xe714('0xa'),_0x564be3>=0x0?_0x564be3:null);}},'data1':{'type':Sequelize[_0xe714('0x2')],'comment':_0xe714('0xb')},'data2':{'type':Sequelize['STRING'],'comment':_0xe714('0xc')},'data3':{'type':Sequelize[_0xe714('0x2')],'comment':_0xe714('0xd')},'data4':{'type':Sequelize[_0xe714('0x2')],'comment':'talk:[dial\x20string]'},'data5':{'type':Sequelize[_0xe714('0x2')],'comment':_0xe714('0xe')},'role':{'type':Sequelize['STRING']},'internal':{'type':Sequelize[_0xe714('0x5')]},'uniqueid':{'type':Sequelize[_0xe714('0x2')]}};
\ No newline at end of file