X-Git-Url: http://repos.xcallymotion.com/?a=blobdiff_plain;f=server%2Fapi%2FmemberReport%2FmemberReport.attributes.js;fp=server%2Fapi%2FmemberReport%2FmemberReport.attributes.js;h=e630fdbcb63fd330ce5e1c5d74c604dd7cf0c2b6;hb=8de30684771e4539598fcfa869d5f97a2efb140f;hp=46fa0bd9b2bf1017d2ea31d93ad507d965972caf;hpb=3912498a4dca9582374ca5cc8bf0a6347dda17ea;p=motion2.git diff --git a/server/api/memberReport/memberReport.attributes.js b/server/api/memberReport/memberReport.attributes.js index 46fa0bd..e630fdb 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 _0x05b2=['seconds','setDataValue','duration','talk:[inbound,\x20outbound],\x20pause:[reason]','talk:[start]','talk:[queue]','INTEGER','sequelize','moment','exports','STRING','DEFAULT\x20PAUSE','DATE','getDataValue','enterAt','diff'];(function(_0x1057a3,_0x28d9b7){var _0x131cdb=function(_0x47a386){while(--_0x47a386){_0x1057a3['push'](_0x1057a3['shift']());}};_0x131cdb(++_0x28d9b7);}(_0x05b2,0x77));var _0x205b=function(_0x4b250a,_0x32a950){_0x4b250a=_0x4b250a-0x0;var _0x1ed247=_0x05b2[_0x4b250a];return _0x1ed247;};'use strict';var Sequelize=require(_0x205b('0x0'));var moment=require(_0x205b('0x1'));module[_0x205b('0x2')]={'channel':{'type':Sequelize['STRING']},'membername':{'type':Sequelize[_0x205b('0x3')]},'interface':{'type':Sequelize[_0x205b('0x3')]},'type':{'type':Sequelize['STRING'],'defaultValue':_0x205b('0x4'),'comment':'LOGIN,\x20PAUSE,\x20TALKING'},'duration':{'type':Sequelize['INTEGER']},'enterAt':{'type':Sequelize['DATE']},'exitAt':{'type':Sequelize[_0x205b('0x5')],'set':function(_0x65929){var _0xbb4fe1=moment(_0x65929);var _0x2d6888=moment(this[_0x205b('0x6')](_0x205b('0x7')));var _0xd814cd=_0xbb4fe1[_0x205b('0x8')](_0x2d6888,_0x205b('0x9'));this[_0x205b('0xa')]('exitAt',_0x65929);this[_0x205b('0xa')](_0x205b('0xb'),_0xd814cd>=0x0?_0xd814cd:null);}},'data1':{'type':Sequelize[_0x205b('0x3')],'comment':_0x205b('0xc')},'data2':{'type':Sequelize[_0x205b('0x3')],'comment':_0x205b('0xd')},'data3':{'type':Sequelize['STRING'],'comment':'talk:[destination]'},'data4':{'type':Sequelize[_0x205b('0x3')],'comment':'talk:[dial\x20string]'},'data5':{'type':Sequelize[_0x205b('0x3')],'comment':_0x205b('0xe')},'role':{'type':Sequelize[_0x205b('0x3')]},'internal':{'type':Sequelize[_0x205b('0xf')]},'uniqueid':{'type':Sequelize[_0x205b('0x3')]}}; \ No newline at end of file +var _0xb1c9=['enterAt','diff','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'];(function(_0x3a7a9c,_0x24f7d6){var _0x59156e=function(_0x5bc930){while(--_0x5bc930){_0x3a7a9c['push'](_0x3a7a9c['shift']());}};_0x59156e(++_0x24f7d6);}(_0xb1c9,0x1cc));var _0x9b1c=function(_0x2064e5,_0x4f6fa2){_0x2064e5=_0x2064e5-0x0;var _0x21a233=_0xb1c9[_0x2064e5];return _0x21a233;};'use strict';var Sequelize=require(_0x9b1c('0x0'));var moment=require('moment');module[_0x9b1c('0x1')]={'channel':{'type':Sequelize[_0x9b1c('0x2')]},'membername':{'type':Sequelize[_0x9b1c('0x2')]},'interface':{'type':Sequelize[_0x9b1c('0x2')]},'type':{'type':Sequelize[_0x9b1c('0x2')],'defaultValue':_0x9b1c('0x3'),'comment':_0x9b1c('0x4')},'duration':{'type':Sequelize[_0x9b1c('0x5')]},'enterAt':{'type':Sequelize[_0x9b1c('0x6')]},'exitAt':{'type':Sequelize['DATE'],'set':function(_0x5e7a13){var _0x144ab2=moment(_0x5e7a13);var _0x275d5a=moment(this[_0x9b1c('0x7')](_0x9b1c('0x8')));var _0x254964=_0x144ab2[_0x9b1c('0x9')](_0x275d5a,_0x9b1c('0xa'));this[_0x9b1c('0xb')](_0x9b1c('0xc'),_0x5e7a13);this[_0x9b1c('0xb')](_0x9b1c('0xd'),_0x254964>=0x0?_0x254964:null);}},'data1':{'type':Sequelize[_0x9b1c('0x2')],'comment':_0x9b1c('0xe')},'data2':{'type':Sequelize[_0x9b1c('0x2')],'comment':_0x9b1c('0xf')},'data3':{'type':Sequelize[_0x9b1c('0x2')],'comment':_0x9b1c('0x10')},'data4':{'type':Sequelize[_0x9b1c('0x2')],'comment':'talk:[dial\x20string]'},'data5':{'type':Sequelize[_0x9b1c('0x2')],'comment':_0x9b1c('0x11')},'role':{'type':Sequelize[_0x9b1c('0x2')]},'internal':{'type':Sequelize[_0x9b1c('0x5')]},'uniqueid':{'type':Sequelize[_0x9b1c('0x2')]}}; \ No newline at end of file