Built motion from commit (unavailable).|2.5.4
[motion2.git] / server / api / memberReport / memberReport.attributes.js
index ab31b28..186c12a 100644 (file)
@@ -15,4 +15,4 @@
 // * treaties. The SOFTWARE PRODUCT is licensed, not sold.                        *
 // *                                                                       *
 // *************************************************************************
-var _0xb563=['exports','STRING','LOGIN,\x20PAUSE,\x20TALKING','DATE','getDataValue','setDataValue','exitAt','duration','talk:[destination]','talk:[dial\x20string]','talk:[queue]','INTEGER','sequelize','moment'];(function(_0x8f385a,_0x34a09a){var _0x3f2c76=function(_0x4b838c){while(--_0x4b838c){_0x8f385a['push'](_0x8f385a['shift']());}};_0x3f2c76(++_0x34a09a);}(_0xb563,0xb4));var _0x3b56=function(_0x4eac29,_0x2ac1cf){_0x4eac29=_0x4eac29-0x0;var _0xd0d6d5=_0xb563[_0x4eac29];return _0xd0d6d5;};'use strict';var Sequelize=require(_0x3b56('0x0'));var moment=require(_0x3b56('0x1'));module[_0x3b56('0x2')]={'channel':{'type':Sequelize[_0x3b56('0x3')]},'membername':{'type':Sequelize['STRING']},'interface':{'type':Sequelize['STRING']},'type':{'type':Sequelize[_0x3b56('0x3')],'defaultValue':'DEFAULT\x20PAUSE','comment':_0x3b56('0x4')},'duration':{'type':Sequelize['INTEGER']},'enterAt':{'type':Sequelize['DATE']},'exitAt':{'type':Sequelize[_0x3b56('0x5')],'set':function(_0x1c47b2){var _0x14f215=moment(_0x1c47b2);var _0x35b1a2=moment(this[_0x3b56('0x6')]('enterAt'));var _0x11ab74=_0x14f215['diff'](_0x35b1a2,'seconds');this[_0x3b56('0x7')](_0x3b56('0x8'),_0x1c47b2);this[_0x3b56('0x7')](_0x3b56('0x9'),_0x11ab74||null);}},'data1':{'type':Sequelize['STRING'],'comment':'talk:[inbound,\x20outbound],\x20pause:[reason]'},'data2':{'type':Sequelize['STRING'],'comment':'talk:[start]'},'data3':{'type':Sequelize[_0x3b56('0x3')],'comment':_0x3b56('0xa')},'data4':{'type':Sequelize['STRING'],'comment':_0x3b56('0xb')},'data5':{'type':Sequelize[_0x3b56('0x3')],'comment':_0x3b56('0xc')},'role':{'type':Sequelize[_0x3b56('0x3')]},'internal':{'type':Sequelize[_0x3b56('0xd')]},'uniqueid':{'type':Sequelize[_0x3b56('0x3')]}};
\ No newline at end of file
+var _0x616b=['talk:[destination]','talk:[dial\x20string]','talk:[queue]','sequelize','exports','STRING','DEFAULT\x20PAUSE','LOGIN,\x20PAUSE,\x20TALKING','INTEGER','DATE','getDataValue','diff','setDataValue','exitAt'];(function(_0x2c91e9,_0x2fb965){var _0x13f0ff=function(_0xb39edf){while(--_0xb39edf){_0x2c91e9['push'](_0x2c91e9['shift']());}};_0x13f0ff(++_0x2fb965);}(_0x616b,0x17d));var _0xb616=function(_0x3df822,_0x299495){_0x3df822=_0x3df822-0x0;var _0x4e457d=_0x616b[_0x3df822];return _0x4e457d;};'use strict';var Sequelize=require(_0xb616('0x0'));var moment=require('moment');module[_0xb616('0x1')]={'channel':{'type':Sequelize[_0xb616('0x2')]},'membername':{'type':Sequelize['STRING']},'interface':{'type':Sequelize[_0xb616('0x2')]},'type':{'type':Sequelize[_0xb616('0x2')],'defaultValue':_0xb616('0x3'),'comment':_0xb616('0x4')},'duration':{'type':Sequelize[_0xb616('0x5')]},'enterAt':{'type':Sequelize['DATE']},'exitAt':{'type':Sequelize[_0xb616('0x6')],'set':function(_0x254312){var _0xd6a820=moment(_0x254312);var _0x4e6b77=moment(this[_0xb616('0x7')]('enterAt'));var _0x59620f=_0xd6a820[_0xb616('0x8')](_0x4e6b77,'seconds');this[_0xb616('0x9')](_0xb616('0xa'),_0x254312);this[_0xb616('0x9')]('duration',_0x59620f||null);}},'data1':{'type':Sequelize[_0xb616('0x2')],'comment':'talk:[inbound,\x20outbound],\x20pause:[reason]'},'data2':{'type':Sequelize[_0xb616('0x2')],'comment':'talk:[start]'},'data3':{'type':Sequelize[_0xb616('0x2')],'comment':_0xb616('0xb')},'data4':{'type':Sequelize[_0xb616('0x2')],'comment':_0xb616('0xc')},'data5':{'type':Sequelize[_0xb616('0x2')],'comment':_0xb616('0xd')},'role':{'type':Sequelize[_0xb616('0x2')]},'internal':{'type':Sequelize[_0xb616('0x5')]},'uniqueid':{'type':Sequelize[_0xb616('0x2')]}};
\ No newline at end of file