Built motion from commit 1fa89557.|2.6.10
[motion2.git] / server / api / cmHopperHistory / cmHopperHistory.controller.js
index 41c910c..1f005b5 100644 (file)
@@ -15,4 +15,4 @@
 // * treaties. The SOFTWARE PRODUCT is licensed, not sold.                        *
 // *                                                                       *
 // *************************************************************************
-var _0x9fc6=['find','eml-format','rimraf','zip-dir','fast-json-patch','request-promise','moment','bluebird','mustache','util','path','to-csv','ejs','squel','crypto','jsforce','desk.js','papaparse','ioredis','../../components/auth/service','../../config/license/hardware','../../config/logger','api','../../config/utils','../../config/license/util','../../mysqldb','sendStatus','status','end','json','undefined','limit','count','offset','set','Content-Range','reject','save','update','destroy','then','stack','name','send','index','map','CmHopperHistory','fieldName','type','key','model','query','keys','filters','attributes','fields','hasOwnProperty','nolimit','order','sort','where','pick','filter','merge','VIRTUAL','options','includeAll','include','findAll','rows','catch','show','params','intersection','length','create','body','uniqueid'];(function(_0x585d09,_0x1274bc){var _0x7d9a14=function(_0x343d4e){while(--_0x343d4e){_0x585d09['push'](_0x585d09['shift']());}};_0x7d9a14(++_0x1274bc);}(_0x9fc6,0x1d5));var _0x69fc=function(_0x468b0f,_0x408566){_0x468b0f=_0x468b0f-0x0;var _0x3e74d9=_0x9fc6[_0x468b0f];return _0x3e74d9;};'use strict';var emlformat=require(_0x69fc('0x0'));var rimraf=require(_0x69fc('0x1'));var zipdir=require(_0x69fc('0x2'));var jsonpatch=require(_0x69fc('0x3'));var rp=require(_0x69fc('0x4'));var moment=require(_0x69fc('0x5'));var BPromise=require(_0x69fc('0x6'));var Mustache=require(_0x69fc('0x7'));var util=require(_0x69fc('0x8'));var path=require(_0x69fc('0x9'));var sox=require('sox');var csv=require(_0x69fc('0xa'));var ejs=require(_0x69fc('0xb'));var fs=require('fs');var fs_extra=require('fs-extra');var _=require('lodash');var squel=require(_0x69fc('0xc'));var crypto=require(_0x69fc('0xd'));var jsforce=require(_0x69fc('0xe'));var deskjs=require(_0x69fc('0xf'));var toCsv=require(_0x69fc('0xa'));var querystring=require('querystring');var Papa=require(_0x69fc('0x10'));var Redis=require(_0x69fc('0x11'));var authService=require(_0x69fc('0x12'));var qs=require('../../components/parsers/qs');var as=require('../../components/parsers/advancedSearch');var hardwareService=require(_0x69fc('0x13'));var logger=require(_0x69fc('0x14'))(_0x69fc('0x15'));var utils=require(_0x69fc('0x16'));var config=require('../../config/environment');var licenseUtil=require(_0x69fc('0x17'));var db=require(_0x69fc('0x18'))['db'];function respondWithStatusCode(_0x243c3a,_0x1c1c73){_0x1c1c73=_0x1c1c73||0xcc;return function(_0x1cd5f9){if(_0x1cd5f9){return _0x243c3a[_0x69fc('0x19')](_0x1c1c73);}return _0x243c3a[_0x69fc('0x1a')](_0x1c1c73)[_0x69fc('0x1b')]();};}function respondWithResult(_0x138d0d,_0x1de368){_0x1de368=_0x1de368||0xc8;return function(_0x2e9038){if(_0x2e9038){return _0x138d0d[_0x69fc('0x1a')](_0x1de368)[_0x69fc('0x1c')](_0x2e9038);}};}function respondWithFilteredResult(_0x3466f2,_0x41e0bd){return function(_0x29939f){if(_0x29939f){var _0x3c260a=typeof _0x41e0bd['offset']===_0x69fc('0x1d')&&typeof _0x41e0bd[_0x69fc('0x1e')]==='undefined';var _0x54a94e=_0x29939f[_0x69fc('0x1f')];var _0x126642=_0x3c260a?0x0:_0x41e0bd[_0x69fc('0x20')];var _0x38e8eb=_0x3c260a?_0x29939f[_0x69fc('0x1f')]:_0x41e0bd['offset']+_0x41e0bd[_0x69fc('0x1e')];var _0x3d8378;if(_0x38e8eb>=_0x54a94e){_0x38e8eb=_0x54a94e;_0x3d8378=0xc8;}else{_0x3d8378=0xce;}_0x3466f2[_0x69fc('0x1a')](_0x3d8378);return _0x3466f2[_0x69fc('0x21')](_0x69fc('0x22'),_0x126642+'-'+_0x38e8eb+'/'+_0x54a94e)['json'](_0x29939f);}return null;};}function patchUpdates(_0xffc7e5){return function(_0x5a640b){try{jsonpatch['apply'](_0x5a640b,_0xffc7e5,!![]);}catch(_0x2efa49){return BPromise[_0x69fc('0x23')](_0x2efa49);}return _0x5a640b[_0x69fc('0x24')]();};}function saveUpdates(_0x4fedfc,_0x40cb6b){return function(_0x5ad863){if(_0x5ad863){return _0x5ad863[_0x69fc('0x25')](_0x4fedfc)['then'](function(_0x50321e){return _0x50321e;});}return null;};}function removeEntity(_0x4737f5,_0x642eb5){return function(_0x5c8837){if(_0x5c8837){return _0x5c8837[_0x69fc('0x26')]()[_0x69fc('0x27')](function(){_0x4737f5[_0x69fc('0x1a')](0xcc)[_0x69fc('0x1b')]();});}};}function handleEntityNotFound(_0x2f8270,_0x4e8efb){return function(_0x8f62cd){if(!_0x8f62cd){_0x2f8270[_0x69fc('0x19')](0x194);}return _0x8f62cd;};}function handleError(_0x55d93f,_0x3894d3){_0x3894d3=_0x3894d3||0x1f4;return function(_0x3b7d77){logger['error'](_0x3b7d77[_0x69fc('0x28')]);if(_0x3b7d77['name']){delete _0x3b7d77[_0x69fc('0x29')];}_0x55d93f[_0x69fc('0x1a')](_0x3894d3)[_0x69fc('0x2a')](_0x3b7d77);};}exports[_0x69fc('0x2b')]=function(_0x400b7f,_0xcb3477){var _0x21a335={},_0xf6e372={},_0x4c3617={'count':0x0,'rows':[]};var _0x37fbbf=_[_0x69fc('0x2c')](db[_0x69fc('0x2d')]['rawAttributes'],function(_0x4fbe3c){return{'name':_0x4fbe3c[_0x69fc('0x2e')],'type':_0x4fbe3c[_0x69fc('0x2f')][_0x69fc('0x30')]};});_0xf6e372[_0x69fc('0x31')]=_[_0x69fc('0x2c')](_0x37fbbf,'name');_0xf6e372[_0x69fc('0x32')]=_[_0x69fc('0x33')](_0x400b7f[_0x69fc('0x32')]);_0xf6e372[_0x69fc('0x34')]=_['intersection'](_0xf6e372[_0x69fc('0x31')],_0xf6e372[_0x69fc('0x32')]);_0x21a335[_0x69fc('0x35')]=_['intersection'](_0xf6e372[_0x69fc('0x31')],qs[_0x69fc('0x36')](_0x400b7f[_0x69fc('0x32')][_0x69fc('0x36')]));_0x21a335[_0x69fc('0x35')]=_0x21a335[_0x69fc('0x35')]['length']?_0x21a335[_0x69fc('0x35')]:_0xf6e372['model'];if(!_0x400b7f['query'][_0x69fc('0x37')](_0x69fc('0x38'))){_0x21a335[_0x69fc('0x1e')]=qs[_0x69fc('0x1e')](_0x400b7f[_0x69fc('0x32')]['limit']);_0x21a335[_0x69fc('0x20')]=qs[_0x69fc('0x20')](_0x400b7f[_0x69fc('0x32')]['offset']);}_0x21a335[_0x69fc('0x39')]=qs[_0x69fc('0x3a')](_0x400b7f[_0x69fc('0x32')]['sort']);_0x21a335[_0x69fc('0x3b')]=qs[_0x69fc('0x34')](_[_0x69fc('0x3c')](_0x400b7f[_0x69fc('0x32')],_0xf6e372[_0x69fc('0x34')]),_0x37fbbf);if(_0x400b7f[_0x69fc('0x32')][_0x69fc('0x3d')]){_0x21a335[_0x69fc('0x3b')]=_[_0x69fc('0x3e')](_0x21a335['where'],{'$or':_[_0x69fc('0x2c')](_0x37fbbf,function(_0x166c60){if(_0x166c60[_0x69fc('0x2f')]!==_0x69fc('0x3f')){var _0x406750={};_0x406750[_0x166c60['name']]={'$like':'%'+_0x400b7f['query'][_0x69fc('0x3d')]+'%'};return _0x406750;}})});}_0x21a335=_[_0x69fc('0x3e')]({},_0x21a335,_0x400b7f[_0x69fc('0x40')]);var _0x429f38={'where':_0x21a335['where']};return db[_0x69fc('0x2d')][_0x69fc('0x1f')](_0x429f38)[_0x69fc('0x27')](function(_0x15e9b4){_0x4c3617[_0x69fc('0x1f')]=_0x15e9b4;if(_0x400b7f[_0x69fc('0x32')][_0x69fc('0x41')]){_0x21a335[_0x69fc('0x42')]=[{'all':!![]}];}return db[_0x69fc('0x2d')][_0x69fc('0x43')](_0x21a335);})[_0x69fc('0x27')](function(_0x478c97){_0x4c3617[_0x69fc('0x44')]=_0x478c97;return _0x4c3617;})['then'](respondWithFilteredResult(_0xcb3477,_0x21a335))[_0x69fc('0x45')](handleError(_0xcb3477,null));};exports[_0x69fc('0x46')]=function(_0x321958,_0x5ce37d){var _0x16b139={'raw':!![],'where':{'id':_0x321958[_0x69fc('0x47')]['id']}},_0x1c60fb={};_0x1c60fb[_0x69fc('0x31')]=_[_0x69fc('0x33')](db['CmHopperHistory']['rawAttributes']);_0x1c60fb[_0x69fc('0x32')]=_[_0x69fc('0x33')](_0x321958[_0x69fc('0x32')]);_0x1c60fb[_0x69fc('0x34')]=_[_0x69fc('0x48')](_0x1c60fb[_0x69fc('0x31')],_0x1c60fb[_0x69fc('0x32')]);_0x16b139[_0x69fc('0x35')]=_[_0x69fc('0x48')](_0x1c60fb[_0x69fc('0x31')],qs[_0x69fc('0x36')](_0x321958[_0x69fc('0x32')][_0x69fc('0x36')]));_0x16b139[_0x69fc('0x35')]=_0x16b139['attributes'][_0x69fc('0x49')]?_0x16b139['attributes']:_0x1c60fb[_0x69fc('0x31')];if(_0x321958[_0x69fc('0x32')]['includeAll']){_0x16b139[_0x69fc('0x42')]=[{'all':!![]}];}_0x16b139=_[_0x69fc('0x3e')]({},_0x16b139,_0x321958[_0x69fc('0x40')]);return db[_0x69fc('0x2d')]['find'](_0x16b139)['then'](handleEntityNotFound(_0x5ce37d,null))[_0x69fc('0x27')](respondWithResult(_0x5ce37d,null))[_0x69fc('0x45')](handleError(_0x5ce37d,null));};exports[_0x69fc('0x4a')]=function(_0x534a35,_0x54250){return db[_0x69fc('0x2d')][_0x69fc('0x4a')](_0x534a35[_0x69fc('0x4b')],{})['then'](respondWithResult(_0x54250,0xc9))[_0x69fc('0x45')](handleError(_0x54250,null));};exports['describe']=function(_0x331be0,_0x3e87fe){return db[_0x69fc('0x2d')]['describe']()[_0x69fc('0x27')](respondWithResult(_0x3e87fe,null))[_0x69fc('0x45')](handleError(_0x3e87fe,null));};exports[_0x69fc('0x25')]=function(_0x29488f,_0x4f7eb5){if(_0x29488f[_0x69fc('0x4b')]['uniqueid']){delete _0x29488f[_0x69fc('0x4b')][_0x69fc('0x4c')];}return db[_0x69fc('0x2d')][_0x69fc('0x4d')]({'where':{'uniqueid':_0x29488f[_0x69fc('0x47')]['id']}})[_0x69fc('0x27')](handleEntityNotFound(_0x4f7eb5,null))[_0x69fc('0x27')](saveUpdates(_0x29488f[_0x69fc('0x4b')],null))[_0x69fc('0x27')](respondWithResult(_0x4f7eb5,null))[_0x69fc('0x45')](handleError(_0x4f7eb5,null));};
\ No newline at end of file
+var _0xb1ae=['fieldName','type','key','model','query','keys','filters','intersection','attributes','fields','length','nolimit','sort','where','filter','merge','VIRTUAL','options','includeAll','findAll','show','params','include','find','create','catch','describe','body','uniqueid','eml-format','rimraf','zip-dir','fast-json-patch','request-promise','moment','bluebird','util','path','ejs','lodash','squel','crypto','jsforce','to-csv','ioredis','../../components/parsers/qs','../../components/parsers/advancedSearch','../../config/license/hardware','../../config/logger','../../config/utils','../../mysqldb','sendStatus','end','status','json','offset','limit','count','set','Content-Range','apply','reject','save','update','then','destroy','error','name','send','map','CmHopperHistory','rawAttributes'];(function(_0x4f7231,_0x372629){var _0x42e62c=function(_0x5360dd){while(--_0x5360dd){_0x4f7231['push'](_0x4f7231['shift']());}};_0x42e62c(++_0x372629);}(_0xb1ae,0x185));var _0xeb1a=function(_0x20a584,_0xe384a5){_0x20a584=_0x20a584-0x0;var _0x4b41a8=_0xb1ae[_0x20a584];return _0x4b41a8;};'use strict';var emlformat=require(_0xeb1a('0x0'));var rimraf=require(_0xeb1a('0x1'));var zipdir=require(_0xeb1a('0x2'));var jsonpatch=require(_0xeb1a('0x3'));var rp=require(_0xeb1a('0x4'));var moment=require(_0xeb1a('0x5'));var BPromise=require(_0xeb1a('0x6'));var Mustache=require('mustache');var util=require(_0xeb1a('0x7'));var path=require(_0xeb1a('0x8'));var sox=require('sox');var csv=require('to-csv');var ejs=require(_0xeb1a('0x9'));var fs=require('fs');var fs_extra=require('fs-extra');var _=require(_0xeb1a('0xa'));var squel=require(_0xeb1a('0xb'));var crypto=require(_0xeb1a('0xc'));var jsforce=require(_0xeb1a('0xd'));var deskjs=require('desk.js');var toCsv=require(_0xeb1a('0xe'));var querystring=require('querystring');var Papa=require('papaparse');var Redis=require(_0xeb1a('0xf'));var authService=require('../../components/auth/service');var qs=require(_0xeb1a('0x10'));var as=require(_0xeb1a('0x11'));var hardwareService=require(_0xeb1a('0x12'));var logger=require(_0xeb1a('0x13'))('api');var utils=require(_0xeb1a('0x14'));var config=require('../../config/environment');var licenseUtil=require('../../config/license/util');var db=require(_0xeb1a('0x15'))['db'];function respondWithStatusCode(_0x398226,_0x457440){_0x457440=_0x457440||0xcc;return function(_0x55b15f){if(_0x55b15f){return _0x398226[_0xeb1a('0x16')](_0x457440);}return _0x398226['status'](_0x457440)[_0xeb1a('0x17')]();};}function respondWithResult(_0x5eea7c,_0x2dfe2e){_0x2dfe2e=_0x2dfe2e||0xc8;return function(_0x1433ac){if(_0x1433ac){return _0x5eea7c[_0xeb1a('0x18')](_0x2dfe2e)[_0xeb1a('0x19')](_0x1433ac);}};}function respondWithFilteredResult(_0x9a1a58,_0x400711){return function(_0x1746fb){if(_0x1746fb){var _0x591f2f=typeof _0x400711[_0xeb1a('0x1a')]==='undefined'&&typeof _0x400711[_0xeb1a('0x1b')]==='undefined';var _0x1b2182=_0x1746fb[_0xeb1a('0x1c')];var _0x21f158=_0x591f2f?0x0:_0x400711['offset'];var _0x766a5a=_0x591f2f?_0x1746fb['count']:_0x400711[_0xeb1a('0x1a')]+_0x400711['limit'];var _0x4b4b8e;if(_0x766a5a>=_0x1b2182){_0x766a5a=_0x1b2182;_0x4b4b8e=0xc8;}else{_0x4b4b8e=0xce;}_0x9a1a58[_0xeb1a('0x18')](_0x4b4b8e);return _0x9a1a58[_0xeb1a('0x1d')](_0xeb1a('0x1e'),_0x21f158+'-'+_0x766a5a+'/'+_0x1b2182)[_0xeb1a('0x19')](_0x1746fb);}return null;};}function patchUpdates(_0x417976){return function(_0x355db5){try{jsonpatch[_0xeb1a('0x1f')](_0x355db5,_0x417976,!![]);}catch(_0x5cc0d6){return BPromise[_0xeb1a('0x20')](_0x5cc0d6);}return _0x355db5[_0xeb1a('0x21')]();};}function saveUpdates(_0x13b6d4,_0x39a829){return function(_0x228381){if(_0x228381){return _0x228381[_0xeb1a('0x22')](_0x13b6d4)[_0xeb1a('0x23')](function(_0x790b3b){return _0x790b3b;});}return null;};}function removeEntity(_0x75f4b3,_0x589f74){return function(_0x125e54){if(_0x125e54){return _0x125e54[_0xeb1a('0x24')]()['then'](function(){_0x75f4b3[_0xeb1a('0x18')](0xcc)[_0xeb1a('0x17')]();});}};}function handleEntityNotFound(_0x254488,_0x5e6da4){return function(_0x34fecd){if(!_0x34fecd){_0x254488[_0xeb1a('0x16')](0x194);}return _0x34fecd;};}function handleError(_0x25f332,_0x299608){_0x299608=_0x299608||0x1f4;return function(_0x5c4ccb){logger[_0xeb1a('0x25')](_0x5c4ccb['stack']);if(_0x5c4ccb[_0xeb1a('0x26')]){delete _0x5c4ccb[_0xeb1a('0x26')];}_0x25f332[_0xeb1a('0x18')](_0x299608)[_0xeb1a('0x27')](_0x5c4ccb);};}exports['index']=function(_0x5901b6,_0x1c86a0){var _0x378a44={},_0x576df1={},_0x584f25={'count':0x0,'rows':[]};var _0x3b1005=_[_0xeb1a('0x28')](db[_0xeb1a('0x29')][_0xeb1a('0x2a')],function(_0x135eab){return{'name':_0x135eab[_0xeb1a('0x2b')],'type':_0x135eab[_0xeb1a('0x2c')][_0xeb1a('0x2d')]};});_0x576df1[_0xeb1a('0x2e')]=_['map'](_0x3b1005,_0xeb1a('0x26'));_0x576df1[_0xeb1a('0x2f')]=_[_0xeb1a('0x30')](_0x5901b6[_0xeb1a('0x2f')]);_0x576df1[_0xeb1a('0x31')]=_[_0xeb1a('0x32')](_0x576df1['model'],_0x576df1[_0xeb1a('0x2f')]);_0x378a44[_0xeb1a('0x33')]=_[_0xeb1a('0x32')](_0x576df1[_0xeb1a('0x2e')],qs[_0xeb1a('0x34')](_0x5901b6['query'][_0xeb1a('0x34')]));_0x378a44[_0xeb1a('0x33')]=_0x378a44[_0xeb1a('0x33')][_0xeb1a('0x35')]?_0x378a44[_0xeb1a('0x33')]:_0x576df1['model'];if(!_0x5901b6[_0xeb1a('0x2f')]['hasOwnProperty'](_0xeb1a('0x36'))){_0x378a44[_0xeb1a('0x1b')]=qs['limit'](_0x5901b6['query'][_0xeb1a('0x1b')]);_0x378a44[_0xeb1a('0x1a')]=qs['offset'](_0x5901b6['query']['offset']);}_0x378a44['order']=qs[_0xeb1a('0x37')](_0x5901b6['query']['sort']);_0x378a44[_0xeb1a('0x38')]=qs['filters'](_['pick'](_0x5901b6[_0xeb1a('0x2f')],_0x576df1['filters']),_0x3b1005);if(_0x5901b6[_0xeb1a('0x2f')][_0xeb1a('0x39')]){_0x378a44[_0xeb1a('0x38')]=_[_0xeb1a('0x3a')](_0x378a44['where'],{'$or':_[_0xeb1a('0x28')](_0x3b1005,function(_0x46dded){if(_0x46dded[_0xeb1a('0x2c')]!==_0xeb1a('0x3b')){var _0x451341={};_0x451341[_0x46dded[_0xeb1a('0x26')]]={'$like':'%'+_0x5901b6[_0xeb1a('0x2f')][_0xeb1a('0x39')]+'%'};return _0x451341;}})});}_0x378a44=_[_0xeb1a('0x3a')]({},_0x378a44,_0x5901b6[_0xeb1a('0x3c')]);var _0x365771={'where':_0x378a44['where']};return db[_0xeb1a('0x29')]['count'](_0x365771)['then'](function(_0x31e92f){_0x584f25[_0xeb1a('0x1c')]=_0x31e92f;if(_0x5901b6[_0xeb1a('0x2f')][_0xeb1a('0x3d')]){_0x378a44['include']=[{'all':!![]}];}return db['CmHopperHistory'][_0xeb1a('0x3e')](_0x378a44);})[_0xeb1a('0x23')](function(_0x5ebbd1){_0x584f25['rows']=_0x5ebbd1;return _0x584f25;})[_0xeb1a('0x23')](respondWithFilteredResult(_0x1c86a0,_0x378a44))['catch'](handleError(_0x1c86a0,null));};exports[_0xeb1a('0x3f')]=function(_0x500b8d,_0x4e5ad1){var _0x33db6={'raw':!![],'where':{'id':_0x500b8d[_0xeb1a('0x40')]['id']}},_0x3289cd={};_0x3289cd['model']=_['keys'](db[_0xeb1a('0x29')][_0xeb1a('0x2a')]);_0x3289cd[_0xeb1a('0x2f')]=_['keys'](_0x500b8d[_0xeb1a('0x2f')]);_0x3289cd[_0xeb1a('0x31')]=_[_0xeb1a('0x32')](_0x3289cd[_0xeb1a('0x2e')],_0x3289cd[_0xeb1a('0x2f')]);_0x33db6[_0xeb1a('0x33')]=_[_0xeb1a('0x32')](_0x3289cd[_0xeb1a('0x2e')],qs['fields'](_0x500b8d[_0xeb1a('0x2f')][_0xeb1a('0x34')]));_0x33db6[_0xeb1a('0x33')]=_0x33db6[_0xeb1a('0x33')][_0xeb1a('0x35')]?_0x33db6[_0xeb1a('0x33')]:_0x3289cd[_0xeb1a('0x2e')];if(_0x500b8d[_0xeb1a('0x2f')][_0xeb1a('0x3d')]){_0x33db6[_0xeb1a('0x41')]=[{'all':!![]}];}_0x33db6=_['merge']({},_0x33db6,_0x500b8d[_0xeb1a('0x3c')]);return db[_0xeb1a('0x29')][_0xeb1a('0x42')](_0x33db6)['then'](handleEntityNotFound(_0x4e5ad1,null))[_0xeb1a('0x23')](respondWithResult(_0x4e5ad1,null))['catch'](handleError(_0x4e5ad1,null));};exports[_0xeb1a('0x43')]=function(_0x9b4223,_0x47a5fd){return db[_0xeb1a('0x29')][_0xeb1a('0x43')](_0x9b4223['body'],{})['then'](respondWithResult(_0x47a5fd,0xc9))[_0xeb1a('0x44')](handleError(_0x47a5fd,null));};exports[_0xeb1a('0x45')]=function(_0x4b48ee,_0x53f5da){return db[_0xeb1a('0x29')]['describe']()[_0xeb1a('0x23')](respondWithResult(_0x53f5da,null))[_0xeb1a('0x44')](handleError(_0x53f5da,null));};exports['update']=function(_0x1143a3,_0x57167e){if(_0x1143a3[_0xeb1a('0x46')][_0xeb1a('0x47')]){delete _0x1143a3['body'][_0xeb1a('0x47')];}return db[_0xeb1a('0x29')][_0xeb1a('0x42')]({'where':{'uniqueid':_0x1143a3[_0xeb1a('0x40')]['id']}})[_0xeb1a('0x23')](handleEntityNotFound(_0x57167e,null))[_0xeb1a('0x23')](saveUpdates(_0x1143a3[_0xeb1a('0x46')],null))[_0xeb1a('0x23')](respondWithResult(_0x57167e,null))['catch'](handleError(_0x57167e,null));};
\ No newline at end of file