Built motion from commit 459747fdfe53bbf13fbede61eeaffea1f1438f86. Version 3.0.0...
[motion-next.git] / server / api / voiceDialReport / voiceDialReport.rpc.js
index 33aa893..132df57 100644 (file)
@@ -1 +1 @@
-const a724_0x5343=['rpc','../../config/logger','attributes','raw','where','../../mysqldb','options','update','create','debug','info','VoiceDialReport','stringify','body','CreateVoiceDialReport','UpdateVoiceDialReport','catch','then','error','message'];(function(_0x126dc0,_0x534325){const _0x2804c8=function(_0x4fddfd){while(--_0x4fddfd){_0x126dc0['push'](_0x126dc0['shift']());}};_0x2804c8(++_0x534325);}(a724_0x5343,0x138));const a724_0x2804=function(_0x126dc0,_0x534325){_0x126dc0=_0x126dc0-0x0;let _0x2804c8=a724_0x5343[_0x126dc0];return _0x2804c8;};const _0x1efb20=a724_0x2804;'use strict';const db=require(_0x1efb20('0xd'))['db'],logger=require(_0x1efb20('0x9'))(_0x1efb20('0x8'));exports[_0x1efb20('0x2')]=function(_0x4fddfd){const _0x5de01b=this;return new Promise(function(_0x445c8a,_0x84ca83){const _0x20bcdd=a724_0x2804;return db['VoiceDialReport'][_0x20bcdd('0x10')](_0x4fddfd[_0x20bcdd('0x1')],{'raw':_0x4fddfd['options']?_0x4fddfd['options']['raw']===undefined?!![]:![]:!![]})[_0x20bcdd('0x5')](function(_0x27e956){const _0xdd1a2b=_0x20bcdd;logger[_0xdd1a2b('0x12')](_0xdd1a2b('0x2'),_0x4fddfd),logger['debug'](_0xdd1a2b('0x2'),_0x4fddfd,JSON[_0xdd1a2b('0x0')](_0x27e956)),_0x445c8a(_0x27e956);})[_0x20bcdd('0x4')](function(_0x266ad8){const _0x21a847=_0x20bcdd;logger[_0x21a847('0x6')]('CreateVoiceDialReport',_0x266ad8[_0x21a847('0x7')],_0x4fddfd),_0x84ca83(_0x5de01b[_0x21a847('0x6')](0x1f4,_0x266ad8[_0x21a847('0x7')]));});});},exports['UpdateVoiceDialReport']=function(_0x3c2917){const _0x24dc64=this;return new Promise(function(_0x2b0f7f,_0x38a008){const _0x3d556d=a724_0x2804;return db[_0x3d556d('0x13')][_0x3d556d('0xf')](_0x3c2917['body'],{'raw':_0x3c2917['options']?_0x3c2917['options'][_0x3d556d('0xb')]===undefined?!![]:![]:!![],'individualHooks':!![],'where':_0x3c2917[_0x3d556d('0xe')]?_0x3c2917[_0x3d556d('0xe')][_0x3d556d('0xc')]||null:null,'attributes':_0x3c2917[_0x3d556d('0xe')]?_0x3c2917['options'][_0x3d556d('0xa')]||null:null,'limit':_0x3c2917[_0x3d556d('0xe')]?_0x3c2917['options']['limit']||null:null})[_0x3d556d('0x5')](function(_0x530cd2){const _0x34b6e4=_0x3d556d;logger['info'](_0x34b6e4('0x3'),_0x3c2917),logger[_0x34b6e4('0x11')](_0x34b6e4('0x3'),_0x3c2917,JSON[_0x34b6e4('0x0')](_0x530cd2)),_0x2b0f7f(_0x530cd2);})[_0x3d556d('0x4')](function(_0x1cb9cb){const _0x44c8e8=_0x3d556d;logger[_0x44c8e8('0x6')]('UpdateVoiceDialReport',_0x1cb9cb[_0x44c8e8('0x7')],_0x3c2917),_0x38a008(_0x24dc64[_0x44c8e8('0x6')](0x1f4,_0x1cb9cb[_0x44c8e8('0x7')]));});});};
\ No newline at end of file
+const a724_0x35fe=['message','CreateVoiceDialReport','../../mysqldb','UpdateVoiceDialReport','catch','limit','update','attributes','rpc','debug','then','error','options','VoiceDialReport','where','info','body','raw','create'];(function(_0x4a3e2a,_0x35fe37){const _0x242f86=function(_0x3a4a94){while(--_0x3a4a94){_0x4a3e2a['push'](_0x4a3e2a['shift']());}};_0x242f86(++_0x35fe37);}(a724_0x35fe,0x1d1));const a724_0x242f=function(_0x4a3e2a,_0x35fe37){_0x4a3e2a=_0x4a3e2a-0x0;let _0x242f86=a724_0x35fe[_0x4a3e2a];return _0x242f86;};const _0x554040=a724_0x242f;'use strict';const db=require(_0x554040('0xc'))['db'],logger=require('../../config/logger')(_0x554040('0x12'));exports[_0x554040('0xb')]=function(_0x3a4a94){const _0x459be9=this;return new Promise(function(_0x4c771d,_0x16c172){const _0x202589=a724_0x242f;return db[_0x202589('0x4')][_0x202589('0x9')](_0x3a4a94[_0x202589('0x7')],{'raw':_0x3a4a94[_0x202589('0x3')]?_0x3a4a94[_0x202589('0x3')][_0x202589('0x8')]===undefined?!![]:![]:!![]})['then'](function(_0x443bb3){const _0x5cb748=_0x202589;logger['info'](_0x5cb748('0xb'),_0x3a4a94),logger[_0x5cb748('0x0')](_0x5cb748('0xb'),_0x3a4a94,JSON['stringify'](_0x443bb3)),_0x4c771d(_0x443bb3);})[_0x202589('0xe')](function(_0x3f32e0){const _0x4f6074=_0x202589;logger[_0x4f6074('0x2')]('CreateVoiceDialReport',_0x3f32e0['message'],_0x3a4a94),_0x16c172(_0x459be9[_0x4f6074('0x2')](0x1f4,_0x3f32e0[_0x4f6074('0xa')]));});});},exports[_0x554040('0xd')]=function(_0x22911a){const _0x1d933d=this;return new Promise(function(_0x21feed,_0x31b6b4){const _0x6f0620=a724_0x242f;return db[_0x6f0620('0x4')][_0x6f0620('0x10')](_0x22911a['body'],{'raw':_0x22911a[_0x6f0620('0x3')]?_0x22911a[_0x6f0620('0x3')]['raw']===undefined?!![]:![]:!![],'individualHooks':!![],'where':_0x22911a[_0x6f0620('0x3')]?_0x22911a[_0x6f0620('0x3')][_0x6f0620('0x5')]||null:null,'attributes':_0x22911a[_0x6f0620('0x3')]?_0x22911a['options'][_0x6f0620('0x11')]||null:null,'limit':_0x22911a[_0x6f0620('0x3')]?_0x22911a['options'][_0x6f0620('0xf')]||null:null})[_0x6f0620('0x1')](function(_0x49f591){const _0x4bc794=_0x6f0620;logger[_0x4bc794('0x6')](_0x4bc794('0xd'),_0x22911a),logger[_0x4bc794('0x0')](_0x4bc794('0xd'),_0x22911a,JSON['stringify'](_0x49f591)),_0x21feed(_0x49f591);})[_0x6f0620('0xe')](function(_0x52099a){const _0x40a83f=_0x6f0620;logger[_0x40a83f('0x2')](_0x40a83f('0xd'),_0x52099a[_0x40a83f('0xa')],_0x22911a),_0x31b6b4(_0x1d933d[_0x40a83f('0x2')](0x1f4,_0x52099a['message']));});});};
\ No newline at end of file