Built motion from commit f25620e4.|2.6.30
[motion2.git] / server / api / memberReport / memberReport.attributes.js
index 2929e58..e12af69 100644 (file)
@@ -15,4 +15,4 @@
 // * treaties. The SOFTWARE PRODUCT is licensed, not sold.                        *
 // *                                                                       *
 // *************************************************************************
-var _0xbe1e=['talk:[destination]','talk:[queue]','sequelize','moment','exports','STRING','LOGIN,\x20PAUSE,\x20TALKING','INTEGER','DATE','getDataValue','seconds','exitAt','talk:[start]'];(function(_0x1facfa,_0x1acf7d){var _0x9ec701=function(_0x115e37){while(--_0x115e37){_0x1facfa['push'](_0x1facfa['shift']());}};_0x9ec701(++_0x1acf7d);}(_0xbe1e,0xb8));var _0xebe1=function(_0x428411,_0x15b7f6){_0x428411=_0x428411-0x0;var _0x52a8fc=_0xbe1e[_0x428411];return _0x52a8fc;};'use strict';var Sequelize=require(_0xebe1('0x0'));var moment=require(_0xebe1('0x1'));module[_0xebe1('0x2')]={'channel':{'type':Sequelize[_0xebe1('0x3')]},'membername':{'type':Sequelize[_0xebe1('0x3')]},'interface':{'type':Sequelize['STRING']},'type':{'type':Sequelize['STRING'],'defaultValue':'DEFAULT\x20PAUSE','comment':_0xebe1('0x4')},'duration':{'type':Sequelize[_0xebe1('0x5')]},'enterAt':{'type':Sequelize['DATE']},'exitAt':{'type':Sequelize[_0xebe1('0x6')],'set':function(_0x4199a3){var _0x12aa5a=moment(_0x4199a3);var _0x269ad3=moment(this[_0xebe1('0x7')]('enterAt'));var _0x290e22=_0x12aa5a['diff'](_0x269ad3,_0xebe1('0x8'));this['setDataValue'](_0xebe1('0x9'),_0x4199a3);this['setDataValue']('duration',_0x290e22>=0x0?_0x290e22:null);}},'data1':{'type':Sequelize['STRING'],'comment':'talk:[inbound,\x20outbound],\x20pause:[reason]'},'data2':{'type':Sequelize[_0xebe1('0x3')],'comment':_0xebe1('0xa')},'data3':{'type':Sequelize['STRING'],'comment':_0xebe1('0xb')},'data4':{'type':Sequelize['STRING'],'comment':'talk:[dial\x20string]'},'data5':{'type':Sequelize['STRING'],'comment':_0xebe1('0xc')},'role':{'type':Sequelize['STRING']},'internal':{'type':Sequelize[_0xebe1('0x5')]},'uniqueid':{'type':Sequelize['STRING']}};
\ No newline at end of file
+var _0x6832=['LOGIN,\x20PAUSE,\x20TALKING','DATE','getDataValue','enterAt','diff','setDataValue','duration','talk:[inbound,\x20outbound],\x20pause:[reason]','talk:[destination]','talk:[dial\x20string]','talk:[queue]','sequelize','moment','STRING','DEFAULT\x20PAUSE'];(function(_0x3b3f4f,_0x403216){var _0x174dbe=function(_0x30e333){while(--_0x30e333){_0x3b3f4f['push'](_0x3b3f4f['shift']());}};_0x174dbe(++_0x403216);}(_0x6832,0x1be));var _0x2683=function(_0x15dac1,_0x3368f3){_0x15dac1=_0x15dac1-0x0;var _0x24cbfe=_0x6832[_0x15dac1];return _0x24cbfe;};'use strict';var Sequelize=require(_0x2683('0x0'));var moment=require(_0x2683('0x1'));module['exports']={'channel':{'type':Sequelize['STRING']},'membername':{'type':Sequelize[_0x2683('0x2')]},'interface':{'type':Sequelize[_0x2683('0x2')]},'type':{'type':Sequelize[_0x2683('0x2')],'defaultValue':_0x2683('0x3'),'comment':_0x2683('0x4')},'duration':{'type':Sequelize['INTEGER']},'enterAt':{'type':Sequelize[_0x2683('0x5')]},'exitAt':{'type':Sequelize[_0x2683('0x5')],'set':function(_0x2a9f99){var _0x3a61c3=moment(_0x2a9f99);var _0x4e2d31=moment(this[_0x2683('0x6')](_0x2683('0x7')));var _0x41a426=_0x3a61c3[_0x2683('0x8')](_0x4e2d31,'seconds');this[_0x2683('0x9')]('exitAt',_0x2a9f99);this['setDataValue'](_0x2683('0xa'),_0x41a426>=0x0?_0x41a426:null);}},'data1':{'type':Sequelize[_0x2683('0x2')],'comment':_0x2683('0xb')},'data2':{'type':Sequelize[_0x2683('0x2')],'comment':'talk:[start]'},'data3':{'type':Sequelize[_0x2683('0x2')],'comment':_0x2683('0xc')},'data4':{'type':Sequelize[_0x2683('0x2')],'comment':_0x2683('0xd')},'data5':{'type':Sequelize['STRING'],'comment':_0x2683('0xe')},'role':{'type':Sequelize[_0x2683('0x2')]},'internal':{'type':Sequelize['INTEGER']},'uniqueid':{'type':Sequelize[_0x2683('0x2')]}};
\ No newline at end of file