Built motion from commit d6d69adf.|2.6.33
[motion2.git] / server / api / memberReport / memberReport.attributes.js
index 914485e..25e22fd 100644 (file)
@@ -15,4 +15,4 @@
 // * treaties. The SOFTWARE PRODUCT is licensed, not sold.                        *
 // *                                                                       *
 // *************************************************************************
-var _0x7345=['enterAt','seconds','setDataValue','exitAt','duration','talk:[inbound,\x20outbound],\x20pause:[reason]','talk:[destination]','talk:[dial\x20string]','talk:[queue]','INTEGER','sequelize','moment','exports','STRING','DEFAULT\x20PAUSE','LOGIN,\x20PAUSE,\x20TALKING','DATE','getDataValue'];(function(_0x124c75,_0x332013){var _0x5c5471=function(_0x2fd3eb){while(--_0x2fd3eb){_0x124c75['push'](_0x124c75['shift']());}};_0x5c5471(++_0x332013);}(_0x7345,0x1ba));var _0x5734=function(_0x44b04e,_0x3bbf02){_0x44b04e=_0x44b04e-0x0;var _0x1cb884=_0x7345[_0x44b04e];return _0x1cb884;};'use strict';var Sequelize=require(_0x5734('0x0'));var moment=require(_0x5734('0x1'));module[_0x5734('0x2')]={'channel':{'type':Sequelize[_0x5734('0x3')]},'membername':{'type':Sequelize[_0x5734('0x3')]},'interface':{'type':Sequelize[_0x5734('0x3')]},'type':{'type':Sequelize[_0x5734('0x3')],'defaultValue':_0x5734('0x4'),'comment':_0x5734('0x5')},'duration':{'type':Sequelize['INTEGER']},'enterAt':{'type':Sequelize[_0x5734('0x6')]},'exitAt':{'type':Sequelize[_0x5734('0x6')],'set':function(_0x1c7072){var _0x5c220a=moment(_0x1c7072);var _0xec897d=moment(this[_0x5734('0x7')](_0x5734('0x8')));var _0x30a17b=_0x5c220a['diff'](_0xec897d,_0x5734('0x9'));this[_0x5734('0xa')](_0x5734('0xb'),_0x1c7072);this[_0x5734('0xa')](_0x5734('0xc'),_0x30a17b>=0x0?_0x30a17b:null);}},'data1':{'type':Sequelize[_0x5734('0x3')],'comment':_0x5734('0xd')},'data2':{'type':Sequelize[_0x5734('0x3')],'comment':'talk:[start]'},'data3':{'type':Sequelize[_0x5734('0x3')],'comment':_0x5734('0xe')},'data4':{'type':Sequelize[_0x5734('0x3')],'comment':_0x5734('0xf')},'data5':{'type':Sequelize[_0x5734('0x3')],'comment':_0x5734('0x10')},'role':{'type':Sequelize[_0x5734('0x3')]},'internal':{'type':Sequelize[_0x5734('0x11')]},'uniqueid':{'type':Sequelize[_0x5734('0x3')]}};
\ No newline at end of file
+var _0x8c9b=['enterAt','seconds','setDataValue','exitAt','talk:[start]','talk:[destination]','talk:[dial\x20string]','talk:[queue]','moment','exports','STRING','INTEGER','DATE','getDataValue'];(function(_0x346f31,_0x3616bc){var _0x31920f=function(_0x21b578){while(--_0x21b578){_0x346f31['push'](_0x346f31['shift']());}};_0x31920f(++_0x3616bc);}(_0x8c9b,0x120));var _0xb8c9=function(_0x17afca,_0x5d6455){_0x17afca=_0x17afca-0x0;var _0x4691c9=_0x8c9b[_0x17afca];return _0x4691c9;};'use strict';var Sequelize=require('sequelize');var moment=require(_0xb8c9('0x0'));module[_0xb8c9('0x1')]={'channel':{'type':Sequelize[_0xb8c9('0x2')]},'membername':{'type':Sequelize[_0xb8c9('0x2')]},'interface':{'type':Sequelize[_0xb8c9('0x2')]},'type':{'type':Sequelize[_0xb8c9('0x2')],'defaultValue':'DEFAULT\x20PAUSE','comment':'LOGIN,\x20PAUSE,\x20TALKING'},'duration':{'type':Sequelize[_0xb8c9('0x3')]},'enterAt':{'type':Sequelize[_0xb8c9('0x4')]},'exitAt':{'type':Sequelize[_0xb8c9('0x4')],'set':function(_0x3f4a33){var _0x1a652b=moment(_0x3f4a33);var _0x33560d=moment(this[_0xb8c9('0x5')](_0xb8c9('0x6')));var _0x47447d=_0x1a652b['diff'](_0x33560d,_0xb8c9('0x7'));this[_0xb8c9('0x8')](_0xb8c9('0x9'),_0x3f4a33);this['setDataValue']('duration',_0x47447d>=0x0?_0x47447d:null);}},'data1':{'type':Sequelize[_0xb8c9('0x2')],'comment':'talk:[inbound,\x20outbound],\x20pause:[reason]'},'data2':{'type':Sequelize[_0xb8c9('0x2')],'comment':_0xb8c9('0xa')},'data3':{'type':Sequelize['STRING'],'comment':_0xb8c9('0xb')},'data4':{'type':Sequelize[_0xb8c9('0x2')],'comment':_0xb8c9('0xc')},'data5':{'type':Sequelize[_0xb8c9('0x2')],'comment':_0xb8c9('0xd')},'role':{'type':Sequelize[_0xb8c9('0x2')]},'internal':{'type':Sequelize[_0xb8c9('0x3')]},'uniqueid':{'type':Sequelize[_0xb8c9('0x2')]}};
\ No newline at end of file