Built motion from commit fade34fd.|2.5.41
[motion2.git] / server / api / memberReport / memberReport.attributes.js
index 9221f76..ebe8f9a 100644 (file)
@@ -15,4 +15,4 @@
 // * treaties. The SOFTWARE PRODUCT is licensed, not sold.                        *
 // *                                                                       *
 // *************************************************************************
-var _0x41a1=['STRING','DEFAULT\x20PAUSE','INTEGER','enterAt','diff','seconds','setDataValue','exitAt','duration','talk:[destination]','talk:[queue]','sequelize','moment','exports'];(function(_0x42cae2,_0x284ef8){var _0x5f256f=function(_0x41abc8){while(--_0x41abc8){_0x42cae2['push'](_0x42cae2['shift']());}};_0x5f256f(++_0x284ef8);}(_0x41a1,0x1cb));var _0x141a=function(_0x408f32,_0x57a30e){_0x408f32=_0x408f32-0x0;var _0x43206a=_0x41a1[_0x408f32];return _0x43206a;};'use strict';var Sequelize=require(_0x141a('0x0'));var moment=require(_0x141a('0x1'));module[_0x141a('0x2')]={'channel':{'type':Sequelize[_0x141a('0x3')]},'membername':{'type':Sequelize[_0x141a('0x3')]},'interface':{'type':Sequelize[_0x141a('0x3')]},'type':{'type':Sequelize[_0x141a('0x3')],'defaultValue':_0x141a('0x4'),'comment':'LOGIN,\x20PAUSE,\x20TALKING'},'duration':{'type':Sequelize[_0x141a('0x5')]},'enterAt':{'type':Sequelize['DATE']},'exitAt':{'type':Sequelize['DATE'],'set':function(_0x2b2f5e){var _0x128681=moment(_0x2b2f5e);var _0x27ccee=moment(this['getDataValue'](_0x141a('0x6')));var _0x1ae839=_0x128681[_0x141a('0x7')](_0x27ccee,_0x141a('0x8'));this[_0x141a('0x9')](_0x141a('0xa'),_0x2b2f5e);this[_0x141a('0x9')](_0x141a('0xb'),_0x1ae839>=0x0?_0x1ae839:null);}},'data1':{'type':Sequelize[_0x141a('0x3')],'comment':'talk:[inbound,\x20outbound],\x20pause:[reason]'},'data2':{'type':Sequelize[_0x141a('0x3')],'comment':'talk:[start]'},'data3':{'type':Sequelize[_0x141a('0x3')],'comment':_0x141a('0xc')},'data4':{'type':Sequelize[_0x141a('0x3')],'comment':'talk:[dial\x20string]'},'data5':{'type':Sequelize[_0x141a('0x3')],'comment':_0x141a('0xd')},'role':{'type':Sequelize[_0x141a('0x3')]},'internal':{'type':Sequelize['INTEGER']},'uniqueid':{'type':Sequelize['STRING']}};
\ No newline at end of file
+var _0x943d=['STRING','DEFAULT\x20PAUSE','LOGIN,\x20PAUSE,\x20TALKING','INTEGER','DATE','getDataValue','enterAt','diff','seconds','setDataValue','exitAt','duration','talk:[destination]','sequelize','moment','exports'];(function(_0x1018ba,_0x9c8bf0){var _0x304b52=function(_0x5bbdbc){while(--_0x5bbdbc){_0x1018ba['push'](_0x1018ba['shift']());}};_0x304b52(++_0x9c8bf0);}(_0x943d,0xed));var _0xd943=function(_0x50a0c2,_0x4befab){_0x50a0c2=_0x50a0c2-0x0;var _0x5ebadd=_0x943d[_0x50a0c2];return _0x5ebadd;};'use strict';var Sequelize=require(_0xd943('0x0'));var moment=require(_0xd943('0x1'));module[_0xd943('0x2')]={'channel':{'type':Sequelize[_0xd943('0x3')]},'membername':{'type':Sequelize[_0xd943('0x3')]},'interface':{'type':Sequelize['STRING']},'type':{'type':Sequelize['STRING'],'defaultValue':_0xd943('0x4'),'comment':_0xd943('0x5')},'duration':{'type':Sequelize[_0xd943('0x6')]},'enterAt':{'type':Sequelize[_0xd943('0x7')]},'exitAt':{'type':Sequelize['DATE'],'set':function(_0x3bba51){var _0x21b1b8=moment(_0x3bba51);var _0x34ef57=moment(this[_0xd943('0x8')](_0xd943('0x9')));var _0x37a7d5=_0x21b1b8[_0xd943('0xa')](_0x34ef57,_0xd943('0xb'));this[_0xd943('0xc')](_0xd943('0xd'),_0x3bba51);this['setDataValue'](_0xd943('0xe'),_0x37a7d5>=0x0?_0x37a7d5:null);}},'data1':{'type':Sequelize[_0xd943('0x3')],'comment':'talk:[inbound,\x20outbound],\x20pause:[reason]'},'data2':{'type':Sequelize[_0xd943('0x3')],'comment':'talk:[start]'},'data3':{'type':Sequelize[_0xd943('0x3')],'comment':_0xd943('0xf')},'data4':{'type':Sequelize[_0xd943('0x3')],'comment':'talk:[dial\x20string]'},'data5':{'type':Sequelize[_0xd943('0x3')],'comment':'talk:[queue]'},'role':{'type':Sequelize[_0xd943('0x3')]},'internal':{'type':Sequelize[_0xd943('0x6')]},'uniqueid':{'type':Sequelize[_0xd943('0x3')]}};
\ No newline at end of file