X-Git-Url: http://repos.xcallymotion.com/?a=blobdiff_plain;f=server%2Fapi%2FmemberReport%2FmemberReport.attributes.js;h=f37cedab79a421c96895bf13272897246c5d33ea;hb=c593ef5de079879fb7bfbdd8f8d4d8640e684821;hp=f773e87c8a6b84f066957828f41c033f9852ab97;hpb=7b947914a77b8347fb1d6de0275fa1bbfcdf6ff9;p=motion2.git diff --git a/server/api/memberReport/memberReport.attributes.js b/server/api/memberReport/memberReport.attributes.js index f773e87..f37ceda 100644 --- a/server/api/memberReport/memberReport.attributes.js +++ b/server/api/memberReport/memberReport.attributes.js @@ -15,4 +15,4 @@ // * treaties. The SOFTWARE PRODUCT is licensed, not sold. * // * * // ************************************************************************* -var _0x4927=['STRING','DEFAULT\x20PAUSE','LOGIN,\x20PAUSE,\x20TALKING','INTEGER','DATE','getDataValue','enterAt','diff','seconds','setDataValue','duration','talk:[start]','talk:[destination]','talk:[dial\x20string]','talk:[queue]','sequelize','moment','exports'];(function(_0x420f2a,_0x2cc58d){var _0x28f802=function(_0x3329cc){while(--_0x3329cc){_0x420f2a['push'](_0x420f2a['shift']());}};_0x28f802(++_0x2cc58d);}(_0x4927,0x69));var _0x7492=function(_0x397e5f,_0x454c8f){_0x397e5f=_0x397e5f-0x0;var _0x5302b8=_0x4927[_0x397e5f];return _0x5302b8;};'use strict';var Sequelize=require(_0x7492('0x0'));var moment=require(_0x7492('0x1'));module[_0x7492('0x2')]={'channel':{'type':Sequelize[_0x7492('0x3')]},'membername':{'type':Sequelize[_0x7492('0x3')]},'interface':{'type':Sequelize[_0x7492('0x3')]},'type':{'type':Sequelize[_0x7492('0x3')],'defaultValue':_0x7492('0x4'),'comment':_0x7492('0x5')},'duration':{'type':Sequelize[_0x7492('0x6')]},'enterAt':{'type':Sequelize[_0x7492('0x7')]},'exitAt':{'type':Sequelize['DATE'],'set':function(_0x5de04e){var _0x18097a=moment(_0x5de04e);var _0x17e4aa=moment(this[_0x7492('0x8')](_0x7492('0x9')));var _0x1d6338=_0x18097a[_0x7492('0xa')](_0x17e4aa,_0x7492('0xb'));this[_0x7492('0xc')]('exitAt',_0x5de04e);this['setDataValue'](_0x7492('0xd'),_0x1d6338>=0x0?_0x1d6338:null);}},'data1':{'type':Sequelize[_0x7492('0x3')],'comment':'talk:[inbound,\x20outbound],\x20pause:[reason]'},'data2':{'type':Sequelize[_0x7492('0x3')],'comment':_0x7492('0xe')},'data3':{'type':Sequelize[_0x7492('0x3')],'comment':_0x7492('0xf')},'data4':{'type':Sequelize[_0x7492('0x3')],'comment':_0x7492('0x10')},'data5':{'type':Sequelize[_0x7492('0x3')],'comment':_0x7492('0x11')},'role':{'type':Sequelize[_0x7492('0x3')]},'internal':{'type':Sequelize['INTEGER']},'uniqueid':{'type':Sequelize[_0x7492('0x3')]}}; \ No newline at end of file +var _0x25b8=['duration','talk:[inbound,\x20outbound],\x20pause:[reason]','talk:[start]','talk:[dial\x20string]','talk:[queue]','sequelize','exports','STRING','DEFAULT\x20PAUSE','LOGIN,\x20PAUSE,\x20TALKING','INTEGER','DATE','enterAt','diff','setDataValue'];(function(_0x474c91,_0x412782){var _0x5991cc=function(_0x2a6283){while(--_0x2a6283){_0x474c91['push'](_0x474c91['shift']());}};_0x5991cc(++_0x412782);}(_0x25b8,0xd7));var _0x825b=function(_0x51fe5f,_0x1d8632){_0x51fe5f=_0x51fe5f-0x0;var _0x4abce9=_0x25b8[_0x51fe5f];return _0x4abce9;};'use strict';var Sequelize=require(_0x825b('0x0'));var moment=require('moment');module[_0x825b('0x1')]={'channel':{'type':Sequelize[_0x825b('0x2')]},'membername':{'type':Sequelize[_0x825b('0x2')]},'interface':{'type':Sequelize['STRING']},'type':{'type':Sequelize[_0x825b('0x2')],'defaultValue':_0x825b('0x3'),'comment':_0x825b('0x4')},'duration':{'type':Sequelize[_0x825b('0x5')]},'enterAt':{'type':Sequelize[_0x825b('0x6')]},'exitAt':{'type':Sequelize['DATE'],'set':function(_0x4b1a6a){var _0x17d249=moment(_0x4b1a6a);var _0x28589f=moment(this['getDataValue'](_0x825b('0x7')));var _0x58a4c6=_0x17d249[_0x825b('0x8')](_0x28589f,'seconds');this[_0x825b('0x9')]('exitAt',_0x4b1a6a);this[_0x825b('0x9')](_0x825b('0xa'),_0x58a4c6>=0x0?_0x58a4c6:null);}},'data1':{'type':Sequelize['STRING'],'comment':_0x825b('0xb')},'data2':{'type':Sequelize[_0x825b('0x2')],'comment':_0x825b('0xc')},'data3':{'type':Sequelize['STRING'],'comment':'talk:[destination]'},'data4':{'type':Sequelize[_0x825b('0x2')],'comment':_0x825b('0xd')},'data5':{'type':Sequelize[_0x825b('0x2')],'comment':_0x825b('0xe')},'role':{'type':Sequelize[_0x825b('0x2')]},'internal':{'type':Sequelize[_0x825b('0x5')]},'uniqueid':{'type':Sequelize['STRING']}}; \ No newline at end of file