Built motion from commit f67b3b02.|2.6.31
[motion2.git] / server / api / memberReport / memberReport.attributes.js
index 15c32df..bb40407 100644 (file)
@@ -15,4 +15,4 @@
 // * treaties. The SOFTWARE PRODUCT is licensed, not sold.                        *
 // *                                                                       *
 // *************************************************************************
-var _0x9166=['talk:[start]','talk:[destination]','talk:[dial\x20string]','talk:[queue]','exports','STRING','DEFAULT\x20PAUSE','DATE','getDataValue','enterAt','diff','seconds','setDataValue','talk:[inbound,\x20outbound],\x20pause:[reason]'];(function(_0x5b451a,_0x376391){var _0x53e94e=function(_0x1ac3e5){while(--_0x1ac3e5){_0x5b451a['push'](_0x5b451a['shift']());}};_0x53e94e(++_0x376391);}(_0x9166,0x1e0));var _0x6916=function(_0x3cae69,_0x233c38){_0x3cae69=_0x3cae69-0x0;var _0x3128eb=_0x9166[_0x3cae69];return _0x3128eb;};'use strict';var Sequelize=require('sequelize');var moment=require('moment');module[_0x6916('0x0')]={'channel':{'type':Sequelize['STRING']},'membername':{'type':Sequelize[_0x6916('0x1')]},'interface':{'type':Sequelize[_0x6916('0x1')]},'type':{'type':Sequelize['STRING'],'defaultValue':_0x6916('0x2'),'comment':'LOGIN,\x20PAUSE,\x20TALKING'},'duration':{'type':Sequelize['INTEGER']},'enterAt':{'type':Sequelize[_0x6916('0x3')]},'exitAt':{'type':Sequelize[_0x6916('0x3')],'set':function(_0x287ff9){var _0x5df0c2=moment(_0x287ff9);var _0x273c4=moment(this[_0x6916('0x4')](_0x6916('0x5')));var _0x2423ba=_0x5df0c2[_0x6916('0x6')](_0x273c4,_0x6916('0x7'));this[_0x6916('0x8')]('exitAt',_0x287ff9);this[_0x6916('0x8')]('duration',_0x2423ba>=0x0?_0x2423ba:null);}},'data1':{'type':Sequelize[_0x6916('0x1')],'comment':_0x6916('0x9')},'data2':{'type':Sequelize['STRING'],'comment':_0x6916('0xa')},'data3':{'type':Sequelize['STRING'],'comment':_0x6916('0xb')},'data4':{'type':Sequelize[_0x6916('0x1')],'comment':_0x6916('0xc')},'data5':{'type':Sequelize['STRING'],'comment':_0x6916('0xd')},'role':{'type':Sequelize['STRING']},'internal':{'type':Sequelize['INTEGER']},'uniqueid':{'type':Sequelize['STRING']}};
\ No newline at end of file
+var _0x99de=['DATE','getDataValue','diff','setDataValue','exitAt','talk:[inbound,\x20outbound],\x20pause:[reason]','talk:[destination]','talk:[dial\x20string]','sequelize','exports','STRING','DEFAULT\x20PAUSE','INTEGER'];(function(_0xb71076,_0x504a41){var _0x5dd6a6=function(_0x218a76){while(--_0x218a76){_0xb71076['push'](_0xb71076['shift']());}};_0x5dd6a6(++_0x504a41);}(_0x99de,0x8a));var _0xe99d=function(_0xbb14db,_0x3ee8c6){_0xbb14db=_0xbb14db-0x0;var _0x36bed7=_0x99de[_0xbb14db];return _0x36bed7;};'use strict';var Sequelize=require(_0xe99d('0x0'));var moment=require('moment');module[_0xe99d('0x1')]={'channel':{'type':Sequelize['STRING']},'membername':{'type':Sequelize[_0xe99d('0x2')]},'interface':{'type':Sequelize[_0xe99d('0x2')]},'type':{'type':Sequelize[_0xe99d('0x2')],'defaultValue':_0xe99d('0x3'),'comment':'LOGIN,\x20PAUSE,\x20TALKING'},'duration':{'type':Sequelize[_0xe99d('0x4')]},'enterAt':{'type':Sequelize[_0xe99d('0x5')]},'exitAt':{'type':Sequelize[_0xe99d('0x5')],'set':function(_0x56c005){var _0x241d7f=moment(_0x56c005);var _0x243e47=moment(this[_0xe99d('0x6')]('enterAt'));var _0x124b20=_0x241d7f[_0xe99d('0x7')](_0x243e47,'seconds');this[_0xe99d('0x8')](_0xe99d('0x9'),_0x56c005);this[_0xe99d('0x8')]('duration',_0x124b20>=0x0?_0x124b20:null);}},'data1':{'type':Sequelize[_0xe99d('0x2')],'comment':_0xe99d('0xa')},'data2':{'type':Sequelize[_0xe99d('0x2')],'comment':'talk:[start]'},'data3':{'type':Sequelize[_0xe99d('0x2')],'comment':_0xe99d('0xb')},'data4':{'type':Sequelize['STRING'],'comment':_0xe99d('0xc')},'data5':{'type':Sequelize['STRING'],'comment':'talk:[queue]'},'role':{'type':Sequelize[_0xe99d('0x2')]},'internal':{'type':Sequelize[_0xe99d('0x4')]},'uniqueid':{'type':Sequelize['STRING']}};
\ No newline at end of file