Built motion from commit b517aaa2a6638133380e4d135c64a80893061362. Version 3.0.0...
[motion-next.git] / server / api / openchannelQueueReport / openchannelQueueReport.rpc.js
index 3d132ef..b2ec3eb 100644 (file)
@@ -1 +1 @@
-const a503_0x32e3=['message','attributes','OpenchannelQueueReport','catch','body','then','stringify','raw','debug','update','rpc','error','UpdateOpenchannelQueueReport','where','../../mysqldb','info','options','../../config/logger','CreateOpenchannelQueueReport'];(function(_0x3791a7,_0x32e347){const _0x33d9f1=function(_0x4bc33a){while(--_0x4bc33a){_0x3791a7['push'](_0x3791a7['shift']());}};_0x33d9f1(++_0x32e347);}(a503_0x32e3,0x192));const a503_0x33d9=function(_0x3791a7,_0x32e347){_0x3791a7=_0x3791a7-0x0;let _0x33d9f1=a503_0x32e3[_0x3791a7];return _0x33d9f1;};const _0x5bc894=a503_0x33d9;'use strict';const db=require(_0x5bc894('0xb'))['db'],logger=require(_0x5bc894('0xe'))(_0x5bc894('0x7'));exports[_0x5bc894('0xf')]=function(_0x4bc33a){const _0x192caf=this;return new Promise(function(_0x4b086f,_0x5c7700){const _0x108f39=a503_0x33d9;return db[_0x108f39('0x12')]['create'](_0x4bc33a[_0x108f39('0x1')],{'raw':_0x4bc33a[_0x108f39('0xd')]?_0x4bc33a['options'][_0x108f39('0x4')]===undefined?!![]:![]:!![]})['then'](function(_0x595489){const _0x1db4db=_0x108f39;logger['info'](_0x1db4db('0xf'),_0x4bc33a),logger[_0x1db4db('0x5')](_0x1db4db('0xf'),_0x4bc33a,JSON['stringify'](_0x595489)),_0x4b086f(_0x595489);})[_0x108f39('0x0')](function(_0xf7a44d){const _0x5b447b=_0x108f39;logger['error']('CreateOpenchannelQueueReport',_0xf7a44d[_0x5b447b('0x10')],_0x4bc33a),_0x5c7700(_0x192caf[_0x5b447b('0x8')](0x1f4,_0xf7a44d['message']));});});},exports[_0x5bc894('0x9')]=function(_0x112de9){const _0x20c3a7=this;return new Promise(function(_0x201251,_0x444e49){const _0x5cc6da=a503_0x33d9;return db[_0x5cc6da('0x12')][_0x5cc6da('0x6')](_0x112de9['body'],{'raw':_0x112de9[_0x5cc6da('0xd')]?_0x112de9[_0x5cc6da('0xd')][_0x5cc6da('0x4')]===undefined?!![]:![]:!![],'individualHooks':!![],'where':_0x112de9[_0x5cc6da('0xd')]?_0x112de9[_0x5cc6da('0xd')][_0x5cc6da('0xa')]||null:null,'attributes':_0x112de9['options']?_0x112de9[_0x5cc6da('0xd')][_0x5cc6da('0x11')]||null:null,'limit':_0x112de9[_0x5cc6da('0xd')]?_0x112de9['options']['limit']||null:null})[_0x5cc6da('0x2')](function(_0x438b9a){const _0x5c0f41=_0x5cc6da;logger[_0x5c0f41('0xc')]('UpdateOpenchannelQueueReport',_0x112de9),logger[_0x5c0f41('0x5')](_0x5c0f41('0x9'),_0x112de9,JSON[_0x5c0f41('0x3')](_0x438b9a)),_0x201251(_0x438b9a);})['catch'](function(_0x321f0b){const _0x58729f=_0x5cc6da;logger['error']('UpdateOpenchannelQueueReport',_0x321f0b[_0x58729f('0x10')],_0x112de9),_0x444e49(_0x20c3a7[_0x58729f('0x8')](0x1f4,_0x321f0b[_0x58729f('0x10')]));});});};
\ No newline at end of file
+const a503_0x455f=['catch','info','CreateOpenchannelQueueReport','rpc','../../config/logger','OpenchannelQueueReport','body','update','raw','stringify','message','attributes','error','options','then','create','UpdateOpenchannelQueueReport','debug'];(function(_0x2423b3,_0x455ff7){const _0x32e6de=function(_0x493d2a){while(--_0x493d2a){_0x2423b3['push'](_0x2423b3['shift']());}};_0x32e6de(++_0x455ff7);}(a503_0x455f,0x1b9));const a503_0x32e6=function(_0x2423b3,_0x455ff7){_0x2423b3=_0x2423b3-0x0;let _0x32e6de=a503_0x455f[_0x2423b3];return _0x32e6de;};const _0x58631e=a503_0x32e6;'use strict';const db=require('../../mysqldb')['db'],logger=require(_0x58631e('0xd'))(_0x58631e('0xc'));exports['CreateOpenchannelQueueReport']=function(_0x493d2a){const _0x2240cd=this;return new Promise(function(_0x21e5ae,_0x55d328){const _0x1175b6=a503_0x32e6;return db[_0x1175b6('0xe')][_0x1175b6('0x6')](_0x493d2a[_0x1175b6('0xf')],{'raw':_0x493d2a['options']?_0x493d2a[_0x1175b6('0x4')][_0x1175b6('0x11')]===undefined?!![]:![]:!![]})[_0x1175b6('0x5')](function(_0x34a0fc){const _0x4a5c0e=_0x1175b6;logger['info']('CreateOpenchannelQueueReport',_0x493d2a),logger[_0x4a5c0e('0x8')](_0x4a5c0e('0xb'),_0x493d2a,JSON[_0x4a5c0e('0x0')](_0x34a0fc)),_0x21e5ae(_0x34a0fc);})[_0x1175b6('0x9')](function(_0x20ec62){const _0x361f03=_0x1175b6;logger[_0x361f03('0x3')](_0x361f03('0xb'),_0x20ec62['message'],_0x493d2a),_0x55d328(_0x2240cd[_0x361f03('0x3')](0x1f4,_0x20ec62['message']));});});},exports['UpdateOpenchannelQueueReport']=function(_0x3883ef){const _0x102d7c=this;return new Promise(function(_0x40c784,_0x216280){const _0x383516=a503_0x32e6;return db[_0x383516('0xe')][_0x383516('0x10')](_0x3883ef[_0x383516('0xf')],{'raw':_0x3883ef['options']?_0x3883ef[_0x383516('0x4')]['raw']===undefined?!![]:![]:!![],'individualHooks':!![],'where':_0x3883ef['options']?_0x3883ef[_0x383516('0x4')]['where']||null:null,'attributes':_0x3883ef['options']?_0x3883ef[_0x383516('0x4')][_0x383516('0x2')]||null:null,'limit':_0x3883ef[_0x383516('0x4')]?_0x3883ef[_0x383516('0x4')]['limit']||null:null})[_0x383516('0x5')](function(_0x1dd435){const _0x2c2c66=_0x383516;logger[_0x2c2c66('0xa')](_0x2c2c66('0x7'),_0x3883ef),logger[_0x2c2c66('0x8')](_0x2c2c66('0x7'),_0x3883ef,JSON[_0x2c2c66('0x0')](_0x1dd435)),_0x40c784(_0x1dd435);})[_0x383516('0x9')](function(_0x2487c9){const _0x4c3cf8=_0x383516;logger[_0x4c3cf8('0x3')]('UpdateOpenchannelQueueReport',_0x2487c9[_0x4c3cf8('0x1')],_0x3883ef),_0x216280(_0x102d7c[_0x4c3cf8('0x3')](0x1f4,_0x2487c9['message']));});});};
\ No newline at end of file