Built motion from commit d5e4af8c.|2.6.23
[motion2.git] / server / api / memberReport / memberReport.attributes.js
index b7ce8a8..ab38798 100644 (file)
@@ -15,4 +15,4 @@
 // * treaties. The SOFTWARE PRODUCT is licensed, not sold.                        *
 // *                                                                       *
 // *************************************************************************
-var _0x0f5a=['moment','exports','STRING','DEFAULT\x20PAUSE','INTEGER','DATE','getDataValue','enterAt','diff','setDataValue','talk:[inbound,\x20outbound],\x20pause:[reason]','talk:[start]','talk:[dial\x20string]','talk:[queue]'];(function(_0xec7cf7,_0x10e706){var _0x1e108c=function(_0x4982f9){while(--_0x4982f9){_0xec7cf7['push'](_0xec7cf7['shift']());}};_0x1e108c(++_0x10e706);}(_0x0f5a,0x1c0));var _0xa0f5=function(_0x414ff1,_0xf0462b){_0x414ff1=_0x414ff1-0x0;var _0x29c53f=_0x0f5a[_0x414ff1];return _0x29c53f;};'use strict';var Sequelize=require('sequelize');var moment=require(_0xa0f5('0x0'));module[_0xa0f5('0x1')]={'channel':{'type':Sequelize['STRING']},'membername':{'type':Sequelize[_0xa0f5('0x2')]},'interface':{'type':Sequelize[_0xa0f5('0x2')]},'type':{'type':Sequelize[_0xa0f5('0x2')],'defaultValue':_0xa0f5('0x3'),'comment':'LOGIN,\x20PAUSE,\x20TALKING'},'duration':{'type':Sequelize[_0xa0f5('0x4')]},'enterAt':{'type':Sequelize[_0xa0f5('0x5')]},'exitAt':{'type':Sequelize[_0xa0f5('0x5')],'set':function(_0x458ba4){var _0x4d2c7f=moment(_0x458ba4);var _0x20edd7=moment(this[_0xa0f5('0x6')](_0xa0f5('0x7')));var _0x726148=_0x4d2c7f[_0xa0f5('0x8')](_0x20edd7,'seconds');this[_0xa0f5('0x9')]('exitAt',_0x458ba4);this[_0xa0f5('0x9')]('duration',_0x726148>=0x0?_0x726148:null);}},'data1':{'type':Sequelize[_0xa0f5('0x2')],'comment':_0xa0f5('0xa')},'data2':{'type':Sequelize[_0xa0f5('0x2')],'comment':_0xa0f5('0xb')},'data3':{'type':Sequelize['STRING'],'comment':'talk:[destination]'},'data4':{'type':Sequelize[_0xa0f5('0x2')],'comment':_0xa0f5('0xc')},'data5':{'type':Sequelize['STRING'],'comment':_0xa0f5('0xd')},'role':{'type':Sequelize[_0xa0f5('0x2')]},'internal':{'type':Sequelize[_0xa0f5('0x4')]},'uniqueid':{'type':Sequelize[_0xa0f5('0x2')]}};
\ 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