Built motion from commit (unavailable).|2.5.9
[motion2.git] / server / api / memberReport / memberReport.attributes.js
index 5596d01..e212670 100644 (file)
@@ -15,4 +15,4 @@
 // * treaties. The SOFTWARE PRODUCT is licensed, not sold.                        *
 // *                                                                       *
 // *************************************************************************
-var _0xc3bd=['LOGIN,\x20PAUSE,\x20TALKING','INTEGER','DATE','getDataValue','enterAt','seconds','setDataValue','talk:[inbound,\x20outbound],\x20pause:[reason]','talk:[destination]','talk:[queue]','sequelize','moment','exports','STRING'];(function(_0x4a04ab,_0x4d5245){var _0x19b95a=function(_0x19fd10){while(--_0x19fd10){_0x4a04ab['push'](_0x4a04ab['shift']());}};_0x19b95a(++_0x4d5245);}(_0xc3bd,0x1a0));var _0xdc3b=function(_0x277306,_0x49fa48){_0x277306=_0x277306-0x0;var _0x1694aa=_0xc3bd[_0x277306];return _0x1694aa;};'use strict';var Sequelize=require(_0xdc3b('0x0'));var moment=require(_0xdc3b('0x1'));module[_0xdc3b('0x2')]={'channel':{'type':Sequelize[_0xdc3b('0x3')]},'membername':{'type':Sequelize['STRING']},'interface':{'type':Sequelize[_0xdc3b('0x3')]},'type':{'type':Sequelize[_0xdc3b('0x3')],'defaultValue':'DEFAULT\x20PAUSE','comment':_0xdc3b('0x4')},'duration':{'type':Sequelize[_0xdc3b('0x5')]},'enterAt':{'type':Sequelize[_0xdc3b('0x6')]},'exitAt':{'type':Sequelize['DATE'],'set':function(_0x3e42c0){var _0x41cbe4=moment(_0x3e42c0);var _0x1c9935=moment(this[_0xdc3b('0x7')](_0xdc3b('0x8')));var _0x76be52=_0x41cbe4['diff'](_0x1c9935,_0xdc3b('0x9'));this[_0xdc3b('0xa')]('exitAt',_0x3e42c0);this[_0xdc3b('0xa')]('duration',_0x76be52||null);}},'data1':{'type':Sequelize['STRING'],'comment':_0xdc3b('0xb')},'data2':{'type':Sequelize[_0xdc3b('0x3')],'comment':'talk:[start]'},'data3':{'type':Sequelize['STRING'],'comment':_0xdc3b('0xc')},'data4':{'type':Sequelize[_0xdc3b('0x3')],'comment':'talk:[dial\x20string]'},'data5':{'type':Sequelize['STRING'],'comment':_0xdc3b('0xd')},'role':{'type':Sequelize[_0xdc3b('0x3')]},'internal':{'type':Sequelize[_0xdc3b('0x5')]},'uniqueid':{'type':Sequelize[_0xdc3b('0x3')]}};
\ No newline at end of file
+var _0xd58c=['seconds','setDataValue','exitAt','duration','talk:[inbound,\x20outbound],\x20pause:[reason]','talk:[start]','talk:[destination]','talk:[queue]','sequelize','exports','STRING','DEFAULT\x20PAUSE','LOGIN,\x20PAUSE,\x20TALKING','INTEGER','DATE','getDataValue','diff'];(function(_0x5156c9,_0x46aba7){var _0xceadb9=function(_0x4b8efe){while(--_0x4b8efe){_0x5156c9['push'](_0x5156c9['shift']());}};_0xceadb9(++_0x46aba7);}(_0xd58c,0x1c2));var _0xcd58=function(_0x4bd335,_0x3b47a3){_0x4bd335=_0x4bd335-0x0;var _0x3e3adf=_0xd58c[_0x4bd335];return _0x3e3adf;};'use strict';var Sequelize=require(_0xcd58('0x0'));var moment=require('moment');module[_0xcd58('0x1')]={'channel':{'type':Sequelize['STRING']},'membername':{'type':Sequelize[_0xcd58('0x2')]},'interface':{'type':Sequelize['STRING']},'type':{'type':Sequelize[_0xcd58('0x2')],'defaultValue':_0xcd58('0x3'),'comment':_0xcd58('0x4')},'duration':{'type':Sequelize[_0xcd58('0x5')]},'enterAt':{'type':Sequelize[_0xcd58('0x6')]},'exitAt':{'type':Sequelize['DATE'],'set':function(_0x1e2d41){var _0x2fd255=moment(_0x1e2d41);var _0x2d51a2=moment(this[_0xcd58('0x7')]('enterAt'));var _0x24b7e6=_0x2fd255[_0xcd58('0x8')](_0x2d51a2,_0xcd58('0x9'));this[_0xcd58('0xa')](_0xcd58('0xb'),_0x1e2d41);this['setDataValue'](_0xcd58('0xc'),_0x24b7e6||null);}},'data1':{'type':Sequelize['STRING'],'comment':_0xcd58('0xd')},'data2':{'type':Sequelize['STRING'],'comment':_0xcd58('0xe')},'data3':{'type':Sequelize[_0xcd58('0x2')],'comment':_0xcd58('0xf')},'data4':{'type':Sequelize['STRING'],'comment':'talk:[dial\x20string]'},'data5':{'type':Sequelize['STRING'],'comment':_0xcd58('0x10')},'role':{'type':Sequelize['STRING']},'internal':{'type':Sequelize[_0xcd58('0x5')]},'uniqueid':{'type':Sequelize[_0xcd58('0x2')]}};
\ No newline at end of file