Built motion from commit df3e9871f6bcc3432fec345b2f4facbd4dba8b5c. Version 3.0.0...
[motion-next.git] / server / api / openchannelQueueReport / openchannelQueueReport.rpc.js
index 0be48ff..7453571 100644 (file)
@@ -1 +1 @@
-const a503_0x1b47=['raw','debug','body','then','limit','../../mysqldb','rpc','attributes','catch','stringify','message','where','CreateOpenchannelQueueReport','create','error','info','options','UpdateOpenchannelQueueReport'];(function(_0x9c0397,_0x1b47f1){const _0x48123a=function(_0x959326){while(--_0x959326){_0x9c0397['push'](_0x9c0397['shift']());}};_0x48123a(++_0x1b47f1);}(a503_0x1b47,0xc1));const a503_0x4812=function(_0x9c0397,_0x1b47f1){_0x9c0397=_0x9c0397-0x0;let _0x48123a=a503_0x1b47[_0x9c0397];return _0x48123a;};const _0x32b31c=a503_0x4812;'use strict';const db=require(_0x32b31c('0xa'))['db'],logger=require('../../config/logger')(_0x32b31c('0xb'));exports[_0x32b31c('0x11')]=function(_0x959326){const _0x3696b9=this;return new Promise(function(_0x596e15,_0x35dcff){const _0x305547=a503_0x4812;return db['OpenchannelQueueReport'][_0x305547('0x0')](_0x959326[_0x305547('0x7')],{'raw':_0x959326[_0x305547('0x3')]?_0x959326[_0x305547('0x3')][_0x305547('0x5')]===undefined?!![]:![]:!![]})[_0x305547('0x8')](function(_0x23cabd){const _0x49a015=_0x305547;logger[_0x49a015('0x2')](_0x49a015('0x11'),_0x959326),logger[_0x49a015('0x6')]('CreateOpenchannelQueueReport',_0x959326,JSON[_0x49a015('0xe')](_0x23cabd)),_0x596e15(_0x23cabd);})[_0x305547('0xd')](function(_0x519459){const _0x397ceb=_0x305547;logger[_0x397ceb('0x1')](_0x397ceb('0x11'),_0x519459[_0x397ceb('0xf')],_0x959326),_0x35dcff(_0x3696b9[_0x397ceb('0x1')](0x1f4,_0x519459[_0x397ceb('0xf')]));});});},exports['UpdateOpenchannelQueueReport']=function(_0x30e098){const _0x3342f3=this;return new Promise(function(_0x14c618,_0x4a1c57){const _0x3c501d=a503_0x4812;return db['OpenchannelQueueReport']['update'](_0x30e098['body'],{'raw':_0x30e098[_0x3c501d('0x3')]?_0x30e098['options'][_0x3c501d('0x5')]===undefined?!![]:![]:!![],'individualHooks':!![],'where':_0x30e098[_0x3c501d('0x3')]?_0x30e098[_0x3c501d('0x3')][_0x3c501d('0x10')]||null:null,'attributes':_0x30e098[_0x3c501d('0x3')]?_0x30e098[_0x3c501d('0x3')][_0x3c501d('0xc')]||null:null,'limit':_0x30e098[_0x3c501d('0x3')]?_0x30e098[_0x3c501d('0x3')][_0x3c501d('0x9')]||null:null})[_0x3c501d('0x8')](function(_0x3d6814){const _0x53c5e0=_0x3c501d;logger[_0x53c5e0('0x2')](_0x53c5e0('0x4'),_0x30e098),logger['debug'](_0x53c5e0('0x4'),_0x30e098,JSON[_0x53c5e0('0xe')](_0x3d6814)),_0x14c618(_0x3d6814);})['catch'](function(_0x324da5){const _0x5afc34=_0x3c501d;logger[_0x5afc34('0x1')]('UpdateOpenchannelQueueReport',_0x324da5[_0x5afc34('0xf')],_0x30e098),_0x4a1c57(_0x3342f3[_0x5afc34('0x1')](0x1f4,_0x324da5[_0x5afc34('0xf')]));});});};
\ No newline at end of file
+const a503_0x47f4=['body','then','../../config/logger','UpdateOpenchannelQueueReport','rpc','stringify','raw','error','create','where','debug','limit','catch','options','info','update','attributes','CreateOpenchannelQueueReport','message'];(function(_0x33907b,_0x47f4ad){const _0x4f726a=function(_0x5a9324){while(--_0x5a9324){_0x33907b['push'](_0x33907b['shift']());}};_0x4f726a(++_0x47f4ad);}(a503_0x47f4,0x1e1));const a503_0x4f72=function(_0x33907b,_0x47f4ad){_0x33907b=_0x33907b-0x0;let _0x4f726a=a503_0x47f4[_0x33907b];return _0x4f726a;};const _0x49af2=a503_0x4f72;'use strict';const db=require('../../mysqldb')['db'],logger=require(_0x49af2('0xf'))(_0x49af2('0x11'));exports[_0x49af2('0xb')]=function(_0x5a9324){const _0xbbc41e=this;return new Promise(function(_0xed701d,_0x21ece1){const _0x142bb1=a503_0x4f72;return db['OpenchannelQueueReport'][_0x142bb1('0x2')](_0x5a9324[_0x142bb1('0xd')],{'raw':_0x5a9324[_0x142bb1('0x7')]?_0x5a9324[_0x142bb1('0x7')][_0x142bb1('0x0')]===undefined?!![]:![]:!![]})[_0x142bb1('0xe')](function(_0x37b1df){const _0x283163=_0x142bb1;logger[_0x283163('0x8')]('CreateOpenchannelQueueReport',_0x5a9324),logger[_0x283163('0x4')]('CreateOpenchannelQueueReport',_0x5a9324,JSON[_0x283163('0x12')](_0x37b1df)),_0xed701d(_0x37b1df);})['catch'](function(_0x19ba6d){const _0x504fd0=_0x142bb1;logger['error'](_0x504fd0('0xb'),_0x19ba6d[_0x504fd0('0xc')],_0x5a9324),_0x21ece1(_0xbbc41e[_0x504fd0('0x1')](0x1f4,_0x19ba6d[_0x504fd0('0xc')]));});});},exports['UpdateOpenchannelQueueReport']=function(_0x2f01ef){const _0x568a55=this;return new Promise(function(_0x25289f,_0x118e9e){const _0x49dcb1=a503_0x4f72;return db['OpenchannelQueueReport'][_0x49dcb1('0x9')](_0x2f01ef['body'],{'raw':_0x2f01ef[_0x49dcb1('0x7')]?_0x2f01ef[_0x49dcb1('0x7')][_0x49dcb1('0x0')]===undefined?!![]:![]:!![],'individualHooks':!![],'where':_0x2f01ef[_0x49dcb1('0x7')]?_0x2f01ef[_0x49dcb1('0x7')][_0x49dcb1('0x3')]||null:null,'attributes':_0x2f01ef[_0x49dcb1('0x7')]?_0x2f01ef[_0x49dcb1('0x7')][_0x49dcb1('0xa')]||null:null,'limit':_0x2f01ef[_0x49dcb1('0x7')]?_0x2f01ef['options'][_0x49dcb1('0x5')]||null:null})[_0x49dcb1('0xe')](function(_0x1e9c09){const _0x55277f=_0x49dcb1;logger[_0x55277f('0x8')]('UpdateOpenchannelQueueReport',_0x2f01ef),logger[_0x55277f('0x4')](_0x55277f('0x10'),_0x2f01ef,JSON[_0x55277f('0x12')](_0x1e9c09)),_0x25289f(_0x1e9c09);})[_0x49dcb1('0x6')](function(_0x9a23e6){const _0x224cf8=_0x49dcb1;logger[_0x224cf8('0x1')](_0x224cf8('0x10'),_0x9a23e6[_0x224cf8('0xc')],_0x2f01ef),_0x118e9e(_0x568a55[_0x224cf8('0x1')](0x1f4,_0x9a23e6[_0x224cf8('0xc')]));});});};
\ No newline at end of file