Built motion from commit 092f8824.|2.5.49
[motion2.git] / server / api / cmHopperHistory / cmHopperHistory.controller.js
index a80f58f..ae7326b 100644 (file)
@@ -15,4 +15,4 @@
 // * treaties. The SOFTWARE PRODUCT is licensed, not sold.                        *
 // *                                                                       *
 // *************************************************************************
-var _0xf296=['path','sox','to-csv','ejs','lodash','crypto','jsforce','papaparse','../../components/auth/service','../../components/parsers/qs','../../components/parsers/advancedSearch','../../config/license/hardware','../../config/logger','api','../../config/utils','../../config/license/util','../../mysqldb','sendStatus','status','end','offset','limit','set','Content-Range','json','reject','save','update','then','destroy','stack','name','index','map','rawAttributes','fieldName','key','model','query','filters','intersection','attributes','fields','length','order','sort','where','pick','merge','type','filter','options','CmHopperHistory','count','includeAll','include','findAll','catch','show','params','keys','create','body','describe','uniqueid','html-pdf','eml-format','rimraf','request-promise','moment','bluebird','mustache','util'];(function(_0x7bb82c,_0x3b2e09){var _0x5a29ae=function(_0x1d863d){while(--_0x1d863d){_0x7bb82c['push'](_0x7bb82c['shift']());}};_0x5a29ae(++_0x3b2e09);}(_0xf296,0x11c));var _0x6f29=function(_0x1d36e9,_0x486977){_0x1d36e9=_0x1d36e9-0x0;var _0x824c53=_0xf296[_0x1d36e9];return _0x824c53;};'use strict';var pdf=require(_0x6f29('0x0'));var emlformat=require(_0x6f29('0x1'));var rimraf=require(_0x6f29('0x2'));var zipdir=require('zip-dir');var jsonpatch=require('fast-json-patch');var rp=require(_0x6f29('0x3'));var moment=require(_0x6f29('0x4'));var BPromise=require(_0x6f29('0x5'));var Mustache=require(_0x6f29('0x6'));var util=require(_0x6f29('0x7'));var path=require(_0x6f29('0x8'));var sox=require(_0x6f29('0x9'));var csv=require(_0x6f29('0xa'));var ejs=require(_0x6f29('0xb'));var fs=require('fs');var _=require(_0x6f29('0xc'));var squel=require('squel');var crypto=require(_0x6f29('0xd'));var jsforce=require(_0x6f29('0xe'));var deskjs=require('desk.js');var toCsv=require(_0x6f29('0xa'));var querystring=require('querystring');var Papa=require(_0x6f29('0xf'));var Redis=require('ioredis');var authService=require(_0x6f29('0x10'));var qs=require(_0x6f29('0x11'));var as=require(_0x6f29('0x12'));var hardwareService=require(_0x6f29('0x13'));var logger=require(_0x6f29('0x14'))(_0x6f29('0x15'));var utils=require(_0x6f29('0x16'));var config=require('../../config/environment');var licenseUtil=require(_0x6f29('0x17'));var db=require(_0x6f29('0x18'))['db'];function respondWithStatusCode(_0x26de9e,_0x3c1c25){_0x3c1c25=_0x3c1c25||0xcc;return function(_0x43ea0f){if(_0x43ea0f){return _0x26de9e[_0x6f29('0x19')](_0x3c1c25);}return _0x26de9e[_0x6f29('0x1a')](_0x3c1c25)[_0x6f29('0x1b')]();};}function respondWithResult(_0x207a0b,_0x32b57b){_0x32b57b=_0x32b57b||0xc8;return function(_0x637dd7){if(_0x637dd7){return _0x207a0b[_0x6f29('0x1a')](_0x32b57b)['json'](_0x637dd7);}};}function respondWithFilteredResult(_0x599e79,_0x4d40fc){return function(_0x5ebaad){if(_0x5ebaad){var _0x3d427f=_0x5ebaad['count'],_0x447ff9=_0x4d40fc[_0x6f29('0x1c')],_0x438992=_0x4d40fc[_0x6f29('0x1c')]+_0x4d40fc[_0x6f29('0x1d')],_0x5718f6;if(_0x438992>=_0x3d427f){_0x438992=_0x3d427f;_0x5718f6=0xc8;}else{_0x5718f6=0xce;}_0x599e79[_0x6f29('0x1a')](_0x5718f6);return _0x599e79[_0x6f29('0x1e')](_0x6f29('0x1f'),_0x447ff9+'-'+_0x438992+'/'+_0x3d427f)[_0x6f29('0x20')](_0x5ebaad);}return null;};}function patchUpdates(_0x37c766){return function(_0x508c30){try{jsonpatch['apply'](_0x508c30,_0x37c766,!![]);}catch(_0x632a68){return BPromise[_0x6f29('0x21')](_0x632a68);}return _0x508c30[_0x6f29('0x22')]();};}function saveUpdates(_0x2de476,_0x1e5b45){return function(_0x196402){if(_0x196402){return _0x196402[_0x6f29('0x23')](_0x2de476)[_0x6f29('0x24')](function(_0x5a5bdd){return _0x5a5bdd;});}return null;};}function removeEntity(_0x478138,_0x519758){return function(_0x12d9d4){if(_0x12d9d4){return _0x12d9d4[_0x6f29('0x25')]()[_0x6f29('0x24')](function(){_0x478138[_0x6f29('0x1a')](0xcc)['end']();});}};}function handleEntityNotFound(_0x1b5585,_0x4548b6){return function(_0x559481){if(!_0x559481){_0x1b5585['sendStatus'](0x194);}return _0x559481;};}function handleError(_0x5b8a61,_0x38fe65){_0x38fe65=_0x38fe65||0x1f4;return function(_0x3c4923){logger['error'](_0x3c4923[_0x6f29('0x26')]);if(_0x3c4923[_0x6f29('0x27')]){delete _0x3c4923[_0x6f29('0x27')];}_0x5b8a61[_0x6f29('0x1a')](_0x38fe65)['send'](_0x3c4923);};}exports[_0x6f29('0x28')]=function(_0x573e54,_0xf5085e){var _0x2ee4d9={},_0x5591a7={},_0x98a32={'count':0x0,'rows':[]};var _0x72934b=_[_0x6f29('0x29')](db['CmHopperHistory'][_0x6f29('0x2a')],function(_0x489522){return{'name':_0x489522[_0x6f29('0x2b')],'type':_0x489522['type'][_0x6f29('0x2c')]};});_0x5591a7[_0x6f29('0x2d')]=_[_0x6f29('0x29')](_0x72934b,_0x6f29('0x27'));_0x5591a7['query']=_['keys'](_0x573e54[_0x6f29('0x2e')]);_0x5591a7[_0x6f29('0x2f')]=_[_0x6f29('0x30')](_0x5591a7['model'],_0x5591a7['query']);_0x2ee4d9[_0x6f29('0x31')]=_[_0x6f29('0x30')](_0x5591a7[_0x6f29('0x2d')],qs[_0x6f29('0x32')](_0x573e54[_0x6f29('0x2e')][_0x6f29('0x32')]));_0x2ee4d9[_0x6f29('0x31')]=_0x2ee4d9['attributes'][_0x6f29('0x33')]?_0x2ee4d9[_0x6f29('0x31')]:_0x5591a7[_0x6f29('0x2d')];if(!_0x573e54[_0x6f29('0x2e')]['hasOwnProperty']('nolimit')){_0x2ee4d9[_0x6f29('0x1d')]=qs[_0x6f29('0x1d')](_0x573e54['query']['limit']);_0x2ee4d9[_0x6f29('0x1c')]=qs[_0x6f29('0x1c')](_0x573e54[_0x6f29('0x2e')]['offset']);}_0x2ee4d9[_0x6f29('0x34')]=qs[_0x6f29('0x35')](_0x573e54[_0x6f29('0x2e')]['sort']);_0x2ee4d9[_0x6f29('0x36')]=qs[_0x6f29('0x2f')](_[_0x6f29('0x37')](_0x573e54['query'],_0x5591a7[_0x6f29('0x2f')]),_0x72934b);if(_0x573e54['query']['filter']){_0x2ee4d9[_0x6f29('0x36')]=_[_0x6f29('0x38')](_0x2ee4d9[_0x6f29('0x36')],{'$or':_[_0x6f29('0x29')](_0x72934b,function(_0x9b9b21){if(_0x9b9b21[_0x6f29('0x39')]!=='VIRTUAL'){var _0xb6bcaf={};_0xb6bcaf[_0x9b9b21[_0x6f29('0x27')]]={'$like':'%'+_0x573e54[_0x6f29('0x2e')][_0x6f29('0x3a')]+'%'};return _0xb6bcaf;}})});}_0x2ee4d9=_[_0x6f29('0x38')]({},_0x2ee4d9,_0x573e54[_0x6f29('0x3b')]);var _0x35470a={'where':_0x2ee4d9[_0x6f29('0x36')]};return db[_0x6f29('0x3c')]['count'](_0x35470a)['then'](function(_0x51decc){_0x98a32[_0x6f29('0x3d')]=_0x51decc;if(_0x573e54[_0x6f29('0x2e')][_0x6f29('0x3e')]){_0x2ee4d9[_0x6f29('0x3f')]=[{'all':!![]}];}return db['CmHopperHistory'][_0x6f29('0x40')](_0x2ee4d9);})[_0x6f29('0x24')](function(_0x2d6b6d){_0x98a32['rows']=_0x2d6b6d;return _0x98a32;})[_0x6f29('0x24')](respondWithFilteredResult(_0xf5085e,_0x2ee4d9))[_0x6f29('0x41')](handleError(_0xf5085e,null));};exports[_0x6f29('0x42')]=function(_0x3d59d9,_0x3cf688){var _0x2ab20e={'raw':!![],'where':{'id':_0x3d59d9[_0x6f29('0x43')]['id']}},_0x251a04={};_0x251a04[_0x6f29('0x2d')]=_[_0x6f29('0x44')](db[_0x6f29('0x3c')]['rawAttributes']);_0x251a04[_0x6f29('0x2e')]=_['keys'](_0x3d59d9[_0x6f29('0x2e')]);_0x251a04[_0x6f29('0x2f')]=_[_0x6f29('0x30')](_0x251a04['model'],_0x251a04[_0x6f29('0x2e')]);_0x2ab20e[_0x6f29('0x31')]=_[_0x6f29('0x30')](_0x251a04[_0x6f29('0x2d')],qs[_0x6f29('0x32')](_0x3d59d9[_0x6f29('0x2e')][_0x6f29('0x32')]));_0x2ab20e[_0x6f29('0x31')]=_0x2ab20e[_0x6f29('0x31')][_0x6f29('0x33')]?_0x2ab20e['attributes']:_0x251a04[_0x6f29('0x2d')];if(_0x3d59d9[_0x6f29('0x2e')][_0x6f29('0x3e')]){_0x2ab20e['include']=[{'all':!![]}];}_0x2ab20e=_[_0x6f29('0x38')]({},_0x2ab20e,_0x3d59d9[_0x6f29('0x3b')]);return db[_0x6f29('0x3c')]['find'](_0x2ab20e)['then'](handleEntityNotFound(_0x3cf688,null))[_0x6f29('0x24')](respondWithResult(_0x3cf688,null))[_0x6f29('0x41')](handleError(_0x3cf688,null));};exports[_0x6f29('0x45')]=function(_0xdb8b38,_0xba076d){return db[_0x6f29('0x3c')][_0x6f29('0x45')](_0xdb8b38[_0x6f29('0x46')],{})[_0x6f29('0x24')](respondWithResult(_0xba076d,0xc9))[_0x6f29('0x41')](handleError(_0xba076d,null));};exports['describe']=function(_0x4fa6a1,_0x1f5328){return db[_0x6f29('0x3c')][_0x6f29('0x47')]()['then'](respondWithResult(_0x1f5328,null))[_0x6f29('0x41')](handleError(_0x1f5328,null));};exports[_0x6f29('0x23')]=function(_0x4a4fb0,_0xab00b){if(_0x4a4fb0[_0x6f29('0x46')][_0x6f29('0x48')]){delete _0x4a4fb0[_0x6f29('0x46')][_0x6f29('0x48')];}return db[_0x6f29('0x3c')]['find']({'where':{'uniqueid':_0x4a4fb0[_0x6f29('0x43')]['id']}})[_0x6f29('0x24')](handleEntityNotFound(_0xab00b,null))['then'](saveUpdates(_0x4a4fb0[_0x6f29('0x46')],null))[_0x6f29('0x24')](respondWithResult(_0xab00b,null))[_0x6f29('0x41')](handleError(_0xab00b,null));};
\ No newline at end of file
+var _0xb1cc=['bluebird','util','path','sox','ejs','fs-extra','lodash','squel','jsforce','querystring','ioredis','../../components/auth/service','../../components/parsers/qs','../../components/parsers/advancedSearch','../../config/license/hardware','../../config/logger','api','../../config/utils','../../config/environment','../../mysqldb','sendStatus','status','end','json','undefined','offset','count','limit','set','Content-Range','reject','save','update','then','destroy','error','stack','name','send','index','map','CmHopperHistory','rawAttributes','fieldName','type','key','model','keys','query','intersection','fields','attributes','length','hasOwnProperty','order','sort','where','pick','merge','VIRTUAL','filter','includeAll','findAll','rows','catch','show','params','options','find','create','body','describe','uniqueid','eml-format','rimraf','fast-json-patch','request-promise','moment'];(function(_0x2cea2d,_0x4e7846){var _0x160369=function(_0x234d95){while(--_0x234d95){_0x2cea2d['push'](_0x2cea2d['shift']());}};_0x160369(++_0x4e7846);}(_0xb1cc,0x97));var _0xcb1c=function(_0x3c2a69,_0x4c8b41){_0x3c2a69=_0x3c2a69-0x0;var _0x596bc8=_0xb1cc[_0x3c2a69];return _0x596bc8;};'use strict';var emlformat=require(_0xcb1c('0x0'));var rimraf=require(_0xcb1c('0x1'));var zipdir=require('zip-dir');var jsonpatch=require(_0xcb1c('0x2'));var rp=require(_0xcb1c('0x3'));var moment=require(_0xcb1c('0x4'));var BPromise=require(_0xcb1c('0x5'));var Mustache=require('mustache');var util=require(_0xcb1c('0x6'));var path=require(_0xcb1c('0x7'));var sox=require(_0xcb1c('0x8'));var csv=require('to-csv');var ejs=require(_0xcb1c('0x9'));var fs=require('fs');var fs_extra=require(_0xcb1c('0xa'));var _=require(_0xcb1c('0xb'));var squel=require(_0xcb1c('0xc'));var crypto=require('crypto');var jsforce=require(_0xcb1c('0xd'));var deskjs=require('desk.js');var toCsv=require('to-csv');var querystring=require(_0xcb1c('0xe'));var Papa=require('papaparse');var Redis=require(_0xcb1c('0xf'));var authService=require(_0xcb1c('0x10'));var qs=require(_0xcb1c('0x11'));var as=require(_0xcb1c('0x12'));var hardwareService=require(_0xcb1c('0x13'));var logger=require(_0xcb1c('0x14'))(_0xcb1c('0x15'));var utils=require(_0xcb1c('0x16'));var config=require(_0xcb1c('0x17'));var licenseUtil=require('../../config/license/util');var db=require(_0xcb1c('0x18'))['db'];function respondWithStatusCode(_0x2064d1,_0x33bef4){_0x33bef4=_0x33bef4||0xcc;return function(_0x309a0f){if(_0x309a0f){return _0x2064d1[_0xcb1c('0x19')](_0x33bef4);}return _0x2064d1[_0xcb1c('0x1a')](_0x33bef4)[_0xcb1c('0x1b')]();};}function respondWithResult(_0x505c30,_0x21ac7e){_0x21ac7e=_0x21ac7e||0xc8;return function(_0x2df70a){if(_0x2df70a){return _0x505c30[_0xcb1c('0x1a')](_0x21ac7e)[_0xcb1c('0x1c')](_0x2df70a);}};}function respondWithFilteredResult(_0x1325dd,_0x1fb452){return function(_0x2015ad){if(_0x2015ad){var _0x5c1c6d=typeof _0x1fb452['offset']==='undefined'&&typeof _0x1fb452['limit']===_0xcb1c('0x1d');var _0x1f59bf=_0x2015ad['count'];var _0x21b8d5=_0x5c1c6d?0x0:_0x1fb452[_0xcb1c('0x1e')];var _0x479ae6=_0x5c1c6d?_0x2015ad[_0xcb1c('0x1f')]:_0x1fb452[_0xcb1c('0x1e')]+_0x1fb452[_0xcb1c('0x20')];var _0x55bd03;if(_0x479ae6>=_0x1f59bf){_0x479ae6=_0x1f59bf;_0x55bd03=0xc8;}else{_0x55bd03=0xce;}_0x1325dd[_0xcb1c('0x1a')](_0x55bd03);return _0x1325dd[_0xcb1c('0x21')](_0xcb1c('0x22'),_0x21b8d5+'-'+_0x479ae6+'/'+_0x1f59bf)[_0xcb1c('0x1c')](_0x2015ad);}return null;};}function patchUpdates(_0x5811b3){return function(_0x44d184){try{jsonpatch['apply'](_0x44d184,_0x5811b3,!![]);}catch(_0x1b9422){return BPromise[_0xcb1c('0x23')](_0x1b9422);}return _0x44d184[_0xcb1c('0x24')]();};}function saveUpdates(_0x213656,_0x11ae80){return function(_0x3aed25){if(_0x3aed25){return _0x3aed25[_0xcb1c('0x25')](_0x213656)[_0xcb1c('0x26')](function(_0x4bc1d5){return _0x4bc1d5;});}return null;};}function removeEntity(_0x5ee427,_0x9927c){return function(_0x4df4eb){if(_0x4df4eb){return _0x4df4eb[_0xcb1c('0x27')]()[_0xcb1c('0x26')](function(){_0x5ee427[_0xcb1c('0x1a')](0xcc)[_0xcb1c('0x1b')]();});}};}function handleEntityNotFound(_0x3a4d8f,_0x501e49){return function(_0x41891f){if(!_0x41891f){_0x3a4d8f[_0xcb1c('0x19')](0x194);}return _0x41891f;};}function handleError(_0x440420,_0x15f503){_0x15f503=_0x15f503||0x1f4;return function(_0x270243){logger[_0xcb1c('0x28')](_0x270243[_0xcb1c('0x29')]);if(_0x270243[_0xcb1c('0x2a')]){delete _0x270243['name'];}_0x440420[_0xcb1c('0x1a')](_0x15f503)[_0xcb1c('0x2b')](_0x270243);};}exports[_0xcb1c('0x2c')]=function(_0x146f5f,_0x53cf12){var _0x407839={},_0x27c87b={},_0x3859b6={'count':0x0,'rows':[]};var _0x36a720=_[_0xcb1c('0x2d')](db[_0xcb1c('0x2e')][_0xcb1c('0x2f')],function(_0x5bbb5b){return{'name':_0x5bbb5b[_0xcb1c('0x30')],'type':_0x5bbb5b[_0xcb1c('0x31')][_0xcb1c('0x32')]};});_0x27c87b[_0xcb1c('0x33')]=_[_0xcb1c('0x2d')](_0x36a720,_0xcb1c('0x2a'));_0x27c87b['query']=_[_0xcb1c('0x34')](_0x146f5f[_0xcb1c('0x35')]);_0x27c87b['filters']=_[_0xcb1c('0x36')](_0x27c87b[_0xcb1c('0x33')],_0x27c87b['query']);_0x407839['attributes']=_[_0xcb1c('0x36')](_0x27c87b[_0xcb1c('0x33')],qs['fields'](_0x146f5f[_0xcb1c('0x35')][_0xcb1c('0x37')]));_0x407839[_0xcb1c('0x38')]=_0x407839[_0xcb1c('0x38')][_0xcb1c('0x39')]?_0x407839['attributes']:_0x27c87b['model'];if(!_0x146f5f[_0xcb1c('0x35')][_0xcb1c('0x3a')]('nolimit')){_0x407839['limit']=qs[_0xcb1c('0x20')](_0x146f5f[_0xcb1c('0x35')][_0xcb1c('0x20')]);_0x407839[_0xcb1c('0x1e')]=qs[_0xcb1c('0x1e')](_0x146f5f['query'][_0xcb1c('0x1e')]);}_0x407839[_0xcb1c('0x3b')]=qs['sort'](_0x146f5f[_0xcb1c('0x35')][_0xcb1c('0x3c')]);_0x407839[_0xcb1c('0x3d')]=qs['filters'](_[_0xcb1c('0x3e')](_0x146f5f[_0xcb1c('0x35')],_0x27c87b['filters']),_0x36a720);if(_0x146f5f[_0xcb1c('0x35')]['filter']){_0x407839[_0xcb1c('0x3d')]=_[_0xcb1c('0x3f')](_0x407839[_0xcb1c('0x3d')],{'$or':_[_0xcb1c('0x2d')](_0x36a720,function(_0x297899){if(_0x297899[_0xcb1c('0x31')]!==_0xcb1c('0x40')){var _0x5e3e1f={};_0x5e3e1f[_0x297899[_0xcb1c('0x2a')]]={'$like':'%'+_0x146f5f[_0xcb1c('0x35')][_0xcb1c('0x41')]+'%'};return _0x5e3e1f;}})});}_0x407839=_[_0xcb1c('0x3f')]({},_0x407839,_0x146f5f['options']);var _0x13949d={'where':_0x407839[_0xcb1c('0x3d')]};return db[_0xcb1c('0x2e')][_0xcb1c('0x1f')](_0x13949d)[_0xcb1c('0x26')](function(_0x1a9e79){_0x3859b6[_0xcb1c('0x1f')]=_0x1a9e79;if(_0x146f5f['query'][_0xcb1c('0x42')]){_0x407839['include']=[{'all':!![]}];}return db['CmHopperHistory'][_0xcb1c('0x43')](_0x407839);})[_0xcb1c('0x26')](function(_0x2b5939){_0x3859b6[_0xcb1c('0x44')]=_0x2b5939;return _0x3859b6;})['then'](respondWithFilteredResult(_0x53cf12,_0x407839))[_0xcb1c('0x45')](handleError(_0x53cf12,null));};exports[_0xcb1c('0x46')]=function(_0x53d1c6,_0x14fb22){var _0x283f03={'raw':!![],'where':{'id':_0x53d1c6[_0xcb1c('0x47')]['id']}},_0x4d33c4={};_0x4d33c4[_0xcb1c('0x33')]=_[_0xcb1c('0x34')](db[_0xcb1c('0x2e')][_0xcb1c('0x2f')]);_0x4d33c4[_0xcb1c('0x35')]=_[_0xcb1c('0x34')](_0x53d1c6[_0xcb1c('0x35')]);_0x4d33c4['filters']=_[_0xcb1c('0x36')](_0x4d33c4[_0xcb1c('0x33')],_0x4d33c4[_0xcb1c('0x35')]);_0x283f03[_0xcb1c('0x38')]=_['intersection'](_0x4d33c4[_0xcb1c('0x33')],qs[_0xcb1c('0x37')](_0x53d1c6[_0xcb1c('0x35')]['fields']));_0x283f03[_0xcb1c('0x38')]=_0x283f03[_0xcb1c('0x38')][_0xcb1c('0x39')]?_0x283f03[_0xcb1c('0x38')]:_0x4d33c4[_0xcb1c('0x33')];if(_0x53d1c6[_0xcb1c('0x35')][_0xcb1c('0x42')]){_0x283f03['include']=[{'all':!![]}];}_0x283f03=_['merge']({},_0x283f03,_0x53d1c6[_0xcb1c('0x48')]);return db[_0xcb1c('0x2e')][_0xcb1c('0x49')](_0x283f03)[_0xcb1c('0x26')](handleEntityNotFound(_0x14fb22,null))['then'](respondWithResult(_0x14fb22,null))[_0xcb1c('0x45')](handleError(_0x14fb22,null));};exports['create']=function(_0x20afc2,_0x573a13){return db[_0xcb1c('0x2e')][_0xcb1c('0x4a')](_0x20afc2[_0xcb1c('0x4b')],{})[_0xcb1c('0x26')](respondWithResult(_0x573a13,0xc9))[_0xcb1c('0x45')](handleError(_0x573a13,null));};exports[_0xcb1c('0x4c')]=function(_0x93c027,_0x362431){return db[_0xcb1c('0x2e')][_0xcb1c('0x4c')]()[_0xcb1c('0x26')](respondWithResult(_0x362431,null))[_0xcb1c('0x45')](handleError(_0x362431,null));};exports[_0xcb1c('0x25')]=function(_0x7d343c,_0x827d70){if(_0x7d343c[_0xcb1c('0x4b')][_0xcb1c('0x4d')]){delete _0x7d343c[_0xcb1c('0x4b')][_0xcb1c('0x4d')];}return db[_0xcb1c('0x2e')][_0xcb1c('0x49')]({'where':{'uniqueid':_0x7d343c[_0xcb1c('0x47')]['id']}})[_0xcb1c('0x26')](handleEntityNotFound(_0x827d70,null))[_0xcb1c('0x26')](saveUpdates(_0x7d343c['body'],null))[_0xcb1c('0x26')](respondWithResult(_0x827d70,null))[_0xcb1c('0x45')](handleError(_0x827d70,null));};
\ No newline at end of file