X-Git-Url: http://repos.xcallymotion.com/?a=blobdiff_plain;f=server%2Fapi%2FmemberReport%2FmemberReport.attributes.js;h=fe9f3165bedbe95608af8346fd83ddb31ca9c062;hb=d56da45b6e1f0bbf558177cd907ef61f0b9840c2;hp=619372b0ce7eedb787521194e1bc2279055e1b0e;hpb=d49944cc2e95578bfbd15d79d46896f71a145821;p=motion2.git diff --git a/server/api/memberReport/memberReport.attributes.js b/server/api/memberReport/memberReport.attributes.js index 619372b..fe9f316 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 _0x3722=['seconds','setDataValue','exitAt','duration','talk:[inbound,\x20outbound],\x20pause:[reason]','talk:[start]','talk:[destination]','talk:[dial\x20string]','talk:[queue]','sequelize','moment','exports','STRING','DEFAULT\x20PAUSE','INTEGER','DATE','getDataValue','diff'];(function(_0x451748,_0x39cdfd){var _0x139cdb=function(_0x1f682f){while(--_0x1f682f){_0x451748['push'](_0x451748['shift']());}};_0x139cdb(++_0x39cdfd);}(_0x3722,0x171));var _0x2372=function(_0x391674,_0x7ed97b){_0x391674=_0x391674-0x0;var _0x306b2a=_0x3722[_0x391674];return _0x306b2a;};'use strict';var Sequelize=require(_0x2372('0x0'));var moment=require(_0x2372('0x1'));module[_0x2372('0x2')]={'channel':{'type':Sequelize[_0x2372('0x3')]},'membername':{'type':Sequelize[_0x2372('0x3')]},'interface':{'type':Sequelize[_0x2372('0x3')]},'type':{'type':Sequelize[_0x2372('0x3')],'defaultValue':_0x2372('0x4'),'comment':'LOGIN,\x20PAUSE,\x20TALKING'},'duration':{'type':Sequelize[_0x2372('0x5')]},'enterAt':{'type':Sequelize[_0x2372('0x6')]},'exitAt':{'type':Sequelize[_0x2372('0x6')],'set':function(_0x1a7e9a){var _0x231ebe=moment(_0x1a7e9a);var _0x1b570d=moment(this[_0x2372('0x7')]('enterAt'));var _0x71561b=_0x231ebe[_0x2372('0x8')](_0x1b570d,_0x2372('0x9'));this[_0x2372('0xa')](_0x2372('0xb'),_0x1a7e9a);this['setDataValue'](_0x2372('0xc'),_0x71561b>=0x0?_0x71561b:null);}},'data1':{'type':Sequelize[_0x2372('0x3')],'comment':_0x2372('0xd')},'data2':{'type':Sequelize['STRING'],'comment':_0x2372('0xe')},'data3':{'type':Sequelize['STRING'],'comment':_0x2372('0xf')},'data4':{'type':Sequelize[_0x2372('0x3')],'comment':_0x2372('0x10')},'data5':{'type':Sequelize['STRING'],'comment':_0x2372('0x11')},'role':{'type':Sequelize[_0x2372('0x3')]},'internal':{'type':Sequelize[_0x2372('0x5')]},'uniqueid':{'type':Sequelize[_0x2372('0x3')]}}; \ No newline at end of file +var _0x42af=['talk:[dial\x20string]','talk:[queue]','sequelize','moment','exports','STRING','DEFAULT\x20PAUSE','LOGIN,\x20PAUSE,\x20TALKING','INTEGER','DATE','getDataValue','enterAt','diff','seconds','setDataValue','exitAt','duration','talk:[destination]'];(function(_0x23475c,_0x5f5628){var _0x5ef9b5=function(_0x9ab53){while(--_0x9ab53){_0x23475c['push'](_0x23475c['shift']());}};_0x5ef9b5(++_0x5f5628);}(_0x42af,0x122));var _0xf42a=function(_0x41a56a,_0x5c6725){_0x41a56a=_0x41a56a-0x0;var _0x1ed0b6=_0x42af[_0x41a56a];return _0x1ed0b6;};'use strict';var Sequelize=require(_0xf42a('0x0'));var moment=require(_0xf42a('0x1'));module[_0xf42a('0x2')]={'channel':{'type':Sequelize[_0xf42a('0x3')]},'membername':{'type':Sequelize['STRING']},'interface':{'type':Sequelize[_0xf42a('0x3')]},'type':{'type':Sequelize['STRING'],'defaultValue':_0xf42a('0x4'),'comment':_0xf42a('0x5')},'duration':{'type':Sequelize[_0xf42a('0x6')]},'enterAt':{'type':Sequelize['DATE']},'exitAt':{'type':Sequelize[_0xf42a('0x7')],'set':function(_0x2ef82c){var _0xf164e1=moment(_0x2ef82c);var _0x3c8470=moment(this[_0xf42a('0x8')](_0xf42a('0x9')));var _0x33141c=_0xf164e1[_0xf42a('0xa')](_0x3c8470,_0xf42a('0xb'));this[_0xf42a('0xc')](_0xf42a('0xd'),_0x2ef82c);this[_0xf42a('0xc')](_0xf42a('0xe'),_0x33141c>=0x0?_0x33141c:null);}},'data1':{'type':Sequelize[_0xf42a('0x3')],'comment':'talk:[inbound,\x20outbound],\x20pause:[reason]'},'data2':{'type':Sequelize[_0xf42a('0x3')],'comment':'talk:[start]'},'data3':{'type':Sequelize[_0xf42a('0x3')],'comment':_0xf42a('0xf')},'data4':{'type':Sequelize[_0xf42a('0x3')],'comment':_0xf42a('0x10')},'data5':{'type':Sequelize[_0xf42a('0x3')],'comment':_0xf42a('0x11')},'role':{'type':Sequelize['STRING']},'internal':{'type':Sequelize['INTEGER']},'uniqueid':{'type':Sequelize[_0xf42a('0x3')]}}; \ No newline at end of file