Built motion from commit (unavailable).|2.5.1
[motion2.git] / server / api / memberReport / memberReport.attributes.js
index 545217c..5d9c1f5 100644 (file)
@@ -15,4 +15,4 @@
 // * treaties. The SOFTWARE PRODUCT is licensed, not sold.                        *
 // *                                                                       *
 // *************************************************************************
-var _0xa213=['enterAt','diff','setDataValue','exitAt','talk:[inbound,\x20outbound],\x20pause:[reason]','talk:[start]','talk:[destination]','talk:[queue]','moment','exports','STRING','DEFAULT\x20PAUSE','LOGIN,\x20PAUSE,\x20TALKING','INTEGER','DATE','getDataValue'];(function(_0x2e71ba,_0x4e04f4){var _0x4715d4=function(_0x33c8be){while(--_0x33c8be){_0x2e71ba['push'](_0x2e71ba['shift']());}};_0x4715d4(++_0x4e04f4);}(_0xa213,0x128));var _0x3a21=function(_0x403254,_0x153b1a){_0x403254=_0x403254-0x0;var _0x3787cf=_0xa213[_0x403254];return _0x3787cf;};'use strict';var Sequelize=require('sequelize');var moment=require(_0x3a21('0x0'));module[_0x3a21('0x1')]={'channel':{'type':Sequelize[_0x3a21('0x2')]},'membername':{'type':Sequelize[_0x3a21('0x2')]},'interface':{'type':Sequelize['STRING']},'type':{'type':Sequelize[_0x3a21('0x2')],'defaultValue':_0x3a21('0x3'),'comment':_0x3a21('0x4')},'duration':{'type':Sequelize[_0x3a21('0x5')]},'enterAt':{'type':Sequelize[_0x3a21('0x6')]},'exitAt':{'type':Sequelize['DATE'],'set':function(_0x15f209){var _0x14b95d=moment(_0x15f209);var _0x4fca9b=moment(this[_0x3a21('0x7')](_0x3a21('0x8')));var _0x4c96b1=_0x14b95d[_0x3a21('0x9')](_0x4fca9b,'seconds');this[_0x3a21('0xa')](_0x3a21('0xb'),_0x15f209);this[_0x3a21('0xa')]('duration',_0x4c96b1||null);}},'data1':{'type':Sequelize[_0x3a21('0x2')],'comment':_0x3a21('0xc')},'data2':{'type':Sequelize['STRING'],'comment':_0x3a21('0xd')},'data3':{'type':Sequelize[_0x3a21('0x2')],'comment':_0x3a21('0xe')},'data4':{'type':Sequelize[_0x3a21('0x2')],'comment':'talk:[dial\x20string]'},'data5':{'type':Sequelize[_0x3a21('0x2')],'comment':_0x3a21('0xf')},'role':{'type':Sequelize['STRING']},'internal':{'type':Sequelize[_0x3a21('0x5')]},'uniqueid':{'type':Sequelize[_0x3a21('0x2')]}};
\ No newline at end of file
+var _0xd0dc=['duration','talk:[inbound,\x20outbound],\x20pause:[reason]','talk:[start]','talk:[destination]','talk:[queue]','INTEGER','sequelize','moment','exports','STRING','LOGIN,\x20PAUSE,\x20TALKING','DATE','getDataValue','enterAt','seconds','setDataValue','exitAt'];(function(_0xf3f1ed,_0x57e63e){var _0x3f5837=function(_0x29216f){while(--_0x29216f){_0xf3f1ed['push'](_0xf3f1ed['shift']());}};_0x3f5837(++_0x57e63e);}(_0xd0dc,0xf4));var _0xcd0d=function(_0x3b0b34,_0xe6a14f){_0x3b0b34=_0x3b0b34-0x0;var _0x5f5496=_0xd0dc[_0x3b0b34];return _0x5f5496;};'use strict';var Sequelize=require(_0xcd0d('0x0'));var moment=require(_0xcd0d('0x1'));module[_0xcd0d('0x2')]={'channel':{'type':Sequelize[_0xcd0d('0x3')]},'membername':{'type':Sequelize[_0xcd0d('0x3')]},'interface':{'type':Sequelize[_0xcd0d('0x3')]},'type':{'type':Sequelize[_0xcd0d('0x3')],'defaultValue':'DEFAULT\x20PAUSE','comment':_0xcd0d('0x4')},'duration':{'type':Sequelize['INTEGER']},'enterAt':{'type':Sequelize[_0xcd0d('0x5')]},'exitAt':{'type':Sequelize[_0xcd0d('0x5')],'set':function(_0x20d9eb){var _0x4576fc=moment(_0x20d9eb);var _0x5a72aa=moment(this[_0xcd0d('0x6')](_0xcd0d('0x7')));var _0x480e37=_0x4576fc['diff'](_0x5a72aa,_0xcd0d('0x8'));this[_0xcd0d('0x9')](_0xcd0d('0xa'),_0x20d9eb);this['setDataValue'](_0xcd0d('0xb'),_0x480e37||null);}},'data1':{'type':Sequelize[_0xcd0d('0x3')],'comment':_0xcd0d('0xc')},'data2':{'type':Sequelize[_0xcd0d('0x3')],'comment':_0xcd0d('0xd')},'data3':{'type':Sequelize[_0xcd0d('0x3')],'comment':_0xcd0d('0xe')},'data4':{'type':Sequelize[_0xcd0d('0x3')],'comment':'talk:[dial\x20string]'},'data5':{'type':Sequelize['STRING'],'comment':_0xcd0d('0xf')},'role':{'type':Sequelize[_0xcd0d('0x3')]},'internal':{'type':Sequelize[_0xcd0d('0x10')]},'uniqueid':{'type':Sequelize[_0xcd0d('0x3')]}};
\ No newline at end of file