Built motion from commit (unavailable).|2.5.21
[motion2.git] / server / api / intZohoField / intZohoField.controller.js
index 480909a..28d2524 100644 (file)
@@ -15,4 +15,4 @@
 // * treaties. The SOFTWARE PRODUCT is licensed, not sold.                        *
 // *                                                                       *
 // *************************************************************************
-var _0xa9e0=['sort','where','pick','filter','VIRTUAL','merge','options','include','findAll','catch','params','includeAll','create','body','find','html-pdf','eml-format','rimraf','request-promise','bluebird','mustache','util','path','sox','ejs','lodash','squel','desk.js','papaparse','ioredis','../../components/auth/service','../../components/parsers/qs','../../components/parsers/advancedSearch','../../config/license/hardware','../../mysqldb','sendStatus','status','json','count','offset','set','Content-Range','apply','reject','save','update','then','destroy','end','error','name','send','index','map','ZohoField','rawAttributes','fieldName','type','key','query','keys','filters','intersection','model','attributes','fields','length','hasOwnProperty','limit'];(function(_0x3022db,_0x8d7f2f){var _0x5ed072=function(_0x3dbd22){while(--_0x3dbd22){_0x3022db['push'](_0x3022db['shift']());}};_0x5ed072(++_0x8d7f2f);}(_0xa9e0,0x123));var _0x0a9e=function(_0x34bf97,_0xc60f9d){_0x34bf97=_0x34bf97-0x0;var _0x292719=_0xa9e0[_0x34bf97];return _0x292719;};'use strict';var pdf=require(_0x0a9e('0x0'));var emlformat=require(_0x0a9e('0x1'));var rimraf=require(_0x0a9e('0x2'));var zipdir=require('zip-dir');var jsonpatch=require('fast-json-patch');var rp=require(_0x0a9e('0x3'));var moment=require('moment');var BPromise=require(_0x0a9e('0x4'));var Mustache=require(_0x0a9e('0x5'));var util=require(_0x0a9e('0x6'));var path=require(_0x0a9e('0x7'));var sox=require(_0x0a9e('0x8'));var csv=require('to-csv');var ejs=require(_0x0a9e('0x9'));var fs=require('fs');var _=require(_0x0a9e('0xa'));var squel=require(_0x0a9e('0xb'));var crypto=require('crypto');var jsforce=require('jsforce');var deskjs=require(_0x0a9e('0xc'));var toCsv=require('to-csv');var querystring=require('querystring');var Papa=require(_0x0a9e('0xd'));var Redis=require(_0x0a9e('0xe'));var authService=require(_0x0a9e('0xf'));var qs=require(_0x0a9e('0x10'));var as=require(_0x0a9e('0x11'));var hardwareService=require(_0x0a9e('0x12'));var logger=require('../../config/logger')('api');var utils=require('../../config/utils');var config=require('../../config/environment');var db=require(_0x0a9e('0x13'))['db'];function respondWithStatusCode(_0x36471c,_0xd5b662){_0xd5b662=_0xd5b662||0xcc;return function(_0x26d672){if(_0x26d672){return _0x36471c[_0x0a9e('0x14')](_0xd5b662);}return _0x36471c[_0x0a9e('0x15')](_0xd5b662)['end']();};}function respondWithResult(_0x4283ce,_0x239b12){_0x239b12=_0x239b12||0xc8;return function(_0x2b4227){if(_0x2b4227){return _0x4283ce[_0x0a9e('0x15')](_0x239b12)[_0x0a9e('0x16')](_0x2b4227);}};}function respondWithFilteredResult(_0x4d5611,_0x52a03d){return function(_0x22dccb){if(_0x22dccb){var _0x5d0880=_0x22dccb[_0x0a9e('0x17')],_0x1985b6=_0x52a03d['offset'],_0x519dfd=_0x52a03d[_0x0a9e('0x18')]+_0x52a03d['limit'],_0x16033c;if(_0x519dfd>=_0x5d0880){_0x519dfd=_0x5d0880;_0x16033c=0xc8;}else{_0x16033c=0xce;}_0x4d5611[_0x0a9e('0x15')](_0x16033c);return _0x4d5611[_0x0a9e('0x19')](_0x0a9e('0x1a'),_0x1985b6+'-'+_0x519dfd+'/'+_0x5d0880)[_0x0a9e('0x16')](_0x22dccb);}return null;};}function patchUpdates(_0x31b1ca){return function(_0x2eb11f){try{jsonpatch[_0x0a9e('0x1b')](_0x2eb11f,_0x31b1ca,!![]);}catch(_0x20559e){return BPromise[_0x0a9e('0x1c')](_0x20559e);}return _0x2eb11f[_0x0a9e('0x1d')]();};}function saveUpdates(_0x1c696a,_0x105080){return function(_0x4bb1e3){if(_0x4bb1e3){return _0x4bb1e3[_0x0a9e('0x1e')](_0x1c696a)[_0x0a9e('0x1f')](function(_0x53682f){return _0x53682f;});}return null;};}function removeEntity(_0x20f109,_0x5a09ef){return function(_0x588269){if(_0x588269){return _0x588269[_0x0a9e('0x20')]()[_0x0a9e('0x1f')](function(){_0x20f109[_0x0a9e('0x15')](0xcc)[_0x0a9e('0x21')]();});}};}function handleEntityNotFound(_0x4abc77,_0xfb6e48){return function(_0x2fb0e4){if(!_0x2fb0e4){_0x4abc77[_0x0a9e('0x14')](0x194);}return _0x2fb0e4;};}function handleError(_0x4d00e6,_0x370d86){_0x370d86=_0x370d86||0x1f4;return function(_0x42ac8f){logger[_0x0a9e('0x22')](_0x42ac8f['stack']);if(_0x42ac8f['name']){delete _0x42ac8f[_0x0a9e('0x23')];}_0x4d00e6[_0x0a9e('0x15')](_0x370d86)[_0x0a9e('0x24')](_0x42ac8f);};}exports[_0x0a9e('0x25')]=function(_0x526cf3,_0x384319){var _0x479bc4={},_0x45a1e7={},_0x5bfb33={'count':0x0,'rows':[]};var _0x1dc186=_[_0x0a9e('0x26')](db[_0x0a9e('0x27')][_0x0a9e('0x28')],function(_0x140511){return{'name':_0x140511[_0x0a9e('0x29')],'type':_0x140511[_0x0a9e('0x2a')][_0x0a9e('0x2b')]};});_0x45a1e7['model']=_[_0x0a9e('0x26')](_0x1dc186,_0x0a9e('0x23'));_0x45a1e7[_0x0a9e('0x2c')]=_[_0x0a9e('0x2d')](_0x526cf3['query']);_0x45a1e7[_0x0a9e('0x2e')]=_[_0x0a9e('0x2f')](_0x45a1e7[_0x0a9e('0x30')],_0x45a1e7[_0x0a9e('0x2c')]);_0x479bc4[_0x0a9e('0x31')]=_[_0x0a9e('0x2f')](_0x45a1e7[_0x0a9e('0x30')],qs[_0x0a9e('0x32')](_0x526cf3[_0x0a9e('0x2c')]['fields']));_0x479bc4[_0x0a9e('0x31')]=_0x479bc4['attributes'][_0x0a9e('0x33')]?_0x479bc4[_0x0a9e('0x31')]:_0x45a1e7[_0x0a9e('0x30')];if(!_0x526cf3[_0x0a9e('0x2c')][_0x0a9e('0x34')]('nolimit')){_0x479bc4[_0x0a9e('0x35')]=qs[_0x0a9e('0x35')](_0x526cf3[_0x0a9e('0x2c')][_0x0a9e('0x35')]);_0x479bc4[_0x0a9e('0x18')]=qs[_0x0a9e('0x18')](_0x526cf3[_0x0a9e('0x2c')][_0x0a9e('0x18')]);}_0x479bc4['order']=qs[_0x0a9e('0x36')](_0x526cf3['query'][_0x0a9e('0x36')]);_0x479bc4[_0x0a9e('0x37')]=qs[_0x0a9e('0x2e')](_[_0x0a9e('0x38')](_0x526cf3['query'],_0x45a1e7[_0x0a9e('0x2e')]),_0x1dc186);if(_0x526cf3[_0x0a9e('0x2c')][_0x0a9e('0x39')]){_0x479bc4[_0x0a9e('0x37')]=_['merge'](_0x479bc4['where'],{'$or':_[_0x0a9e('0x26')](_0x1dc186,function(_0x5640eb){if(_0x5640eb[_0x0a9e('0x2a')]!==_0x0a9e('0x3a')){var _0x381c37={};_0x381c37[_0x5640eb[_0x0a9e('0x23')]]={'$like':'%'+_0x526cf3['query'][_0x0a9e('0x39')]+'%'};return _0x381c37;}})});}_0x479bc4=_[_0x0a9e('0x3b')]({},_0x479bc4,_0x526cf3[_0x0a9e('0x3c')]);var _0x533942={'where':_0x479bc4[_0x0a9e('0x37')]};return db[_0x0a9e('0x27')][_0x0a9e('0x17')](_0x533942)['then'](function(_0x546ef8){_0x5bfb33[_0x0a9e('0x17')]=_0x546ef8;if(_0x526cf3[_0x0a9e('0x2c')]['includeAll']){_0x479bc4[_0x0a9e('0x3d')]=[{'all':!![]}];}return db[_0x0a9e('0x27')][_0x0a9e('0x3e')](_0x479bc4);})[_0x0a9e('0x1f')](function(_0x4b38d9){_0x5bfb33['rows']=_0x4b38d9;return _0x5bfb33;})[_0x0a9e('0x1f')](respondWithFilteredResult(_0x384319,_0x479bc4))[_0x0a9e('0x3f')](handleError(_0x384319,null));};exports['show']=function(_0x183991,_0x1dec2e){var _0x1459bb={'raw':!![],'where':{'id':_0x183991[_0x0a9e('0x40')]['id']}},_0x5b4f5e={};_0x5b4f5e[_0x0a9e('0x30')]=_[_0x0a9e('0x2d')](db[_0x0a9e('0x27')][_0x0a9e('0x28')]);_0x5b4f5e[_0x0a9e('0x2c')]=_[_0x0a9e('0x2d')](_0x183991[_0x0a9e('0x2c')]);_0x5b4f5e[_0x0a9e('0x2e')]=_[_0x0a9e('0x2f')](_0x5b4f5e[_0x0a9e('0x30')],_0x5b4f5e[_0x0a9e('0x2c')]);_0x1459bb[_0x0a9e('0x31')]=_[_0x0a9e('0x2f')](_0x5b4f5e[_0x0a9e('0x30')],qs['fields'](_0x183991['query'][_0x0a9e('0x32')]));_0x1459bb[_0x0a9e('0x31')]=_0x1459bb[_0x0a9e('0x31')][_0x0a9e('0x33')]?_0x1459bb[_0x0a9e('0x31')]:_0x5b4f5e[_0x0a9e('0x30')];if(_0x183991[_0x0a9e('0x2c')][_0x0a9e('0x41')]){_0x1459bb[_0x0a9e('0x3d')]=[{'all':!![]}];}_0x1459bb=_[_0x0a9e('0x3b')]({},_0x1459bb,_0x183991[_0x0a9e('0x3c')]);return db[_0x0a9e('0x27')]['find'](_0x1459bb)[_0x0a9e('0x1f')](handleEntityNotFound(_0x1dec2e,null))[_0x0a9e('0x1f')](respondWithResult(_0x1dec2e,null))[_0x0a9e('0x3f')](handleError(_0x1dec2e,null));};exports[_0x0a9e('0x42')]=function(_0x2e8caf,_0xbe9d19){return db[_0x0a9e('0x27')][_0x0a9e('0x42')](_0x2e8caf['body'],{})[_0x0a9e('0x1f')](respondWithResult(_0xbe9d19,0xc9))['catch'](handleError(_0xbe9d19,null));};exports[_0x0a9e('0x1e')]=function(_0x476688,_0x8d6dd1){if(_0x476688['body']['id']){delete _0x476688[_0x0a9e('0x43')]['id'];}return db[_0x0a9e('0x27')][_0x0a9e('0x44')]({'where':{'id':_0x476688[_0x0a9e('0x40')]['id']}})[_0x0a9e('0x1f')](handleEntityNotFound(_0x8d6dd1,null))[_0x0a9e('0x1f')](saveUpdates(_0x476688[_0x0a9e('0x43')],null))['then'](respondWithResult(_0x8d6dd1,null))[_0x0a9e('0x3f')](handleError(_0x8d6dd1,null));};exports[_0x0a9e('0x20')]=function(_0x1b5e80,_0x16f976){return db[_0x0a9e('0x27')][_0x0a9e('0x44')]({'where':{'id':_0x1b5e80[_0x0a9e('0x40')]['id']}})[_0x0a9e('0x1f')](handleEntityNotFound(_0x16f976,null))[_0x0a9e('0x1f')](removeEntity(_0x16f976,null))['catch'](handleError(_0x16f976,null));};
\ No newline at end of file
+var _0xf977=['ZohoField','rawAttributes','fieldName','type','key','model','query','keys','filters','intersection','attributes','fields','length','hasOwnProperty','limit','order','sort','pick','filter','where','merge','VIRTUAL','includeAll','include','findAll','rows','catch','show','options','find','create','body','params','html-pdf','eml-format','rimraf','zip-dir','fast-json-patch','request-promise','moment','bluebird','mustache','util','path','lodash','crypto','jsforce','desk.js','to-csv','querystring','ioredis','../../components/auth/service','../../components/parsers/qs','../../components/parsers/advancedSearch','../../config/license/hardware','api','../../config/utils','../../config/environment','../../config/license/util','../../mysqldb','sendStatus','status','end','json','count','offset','set','Content-Range','apply','reject','save','update','then','destroy','error','stack','name','send','index','map'];(function(_0x370281,_0x50b615){var _0x33a7ae=function(_0x111586){while(--_0x111586){_0x370281['push'](_0x370281['shift']());}};_0x33a7ae(++_0x50b615);}(_0xf977,0x161));var _0x7f97=function(_0x4feb0f,_0x4ea6f5){_0x4feb0f=_0x4feb0f-0x0;var _0x5b50d6=_0xf977[_0x4feb0f];return _0x5b50d6;};'use strict';var pdf=require(_0x7f97('0x0'));var emlformat=require(_0x7f97('0x1'));var rimraf=require(_0x7f97('0x2'));var zipdir=require(_0x7f97('0x3'));var jsonpatch=require(_0x7f97('0x4'));var rp=require(_0x7f97('0x5'));var moment=require(_0x7f97('0x6'));var BPromise=require(_0x7f97('0x7'));var Mustache=require(_0x7f97('0x8'));var util=require(_0x7f97('0x9'));var path=require(_0x7f97('0xa'));var sox=require('sox');var csv=require('to-csv');var ejs=require('ejs');var fs=require('fs');var _=require(_0x7f97('0xb'));var squel=require('squel');var crypto=require(_0x7f97('0xc'));var jsforce=require(_0x7f97('0xd'));var deskjs=require(_0x7f97('0xe'));var toCsv=require(_0x7f97('0xf'));var querystring=require(_0x7f97('0x10'));var Papa=require('papaparse');var Redis=require(_0x7f97('0x11'));var authService=require(_0x7f97('0x12'));var qs=require(_0x7f97('0x13'));var as=require(_0x7f97('0x14'));var hardwareService=require(_0x7f97('0x15'));var logger=require('../../config/logger')(_0x7f97('0x16'));var utils=require(_0x7f97('0x17'));var config=require(_0x7f97('0x18'));var licenseUtil=require(_0x7f97('0x19'));var db=require(_0x7f97('0x1a'))['db'];function respondWithStatusCode(_0x58305c,_0x14d25d){_0x14d25d=_0x14d25d||0xcc;return function(_0x20386f){if(_0x20386f){return _0x58305c[_0x7f97('0x1b')](_0x14d25d);}return _0x58305c[_0x7f97('0x1c')](_0x14d25d)[_0x7f97('0x1d')]();};}function respondWithResult(_0x286293,_0x72e7ba){_0x72e7ba=_0x72e7ba||0xc8;return function(_0x854b08){if(_0x854b08){return _0x286293['status'](_0x72e7ba)[_0x7f97('0x1e')](_0x854b08);}};}function respondWithFilteredResult(_0x851c19,_0x101206){return function(_0x1201ee){if(_0x1201ee){var _0x1ebd13=_0x1201ee[_0x7f97('0x1f')],_0x4b8385=_0x101206[_0x7f97('0x20')],_0x588138=_0x101206[_0x7f97('0x20')]+_0x101206['limit'],_0x314c1c;if(_0x588138>=_0x1ebd13){_0x588138=_0x1ebd13;_0x314c1c=0xc8;}else{_0x314c1c=0xce;}_0x851c19['status'](_0x314c1c);return _0x851c19[_0x7f97('0x21')](_0x7f97('0x22'),_0x4b8385+'-'+_0x588138+'/'+_0x1ebd13)[_0x7f97('0x1e')](_0x1201ee);}return null;};}function patchUpdates(_0x107b42){return function(_0x130973){try{jsonpatch[_0x7f97('0x23')](_0x130973,_0x107b42,!![]);}catch(_0x421a6c){return BPromise[_0x7f97('0x24')](_0x421a6c);}return _0x130973[_0x7f97('0x25')]();};}function saveUpdates(_0x37dcac,_0x53e2cc){return function(_0x29d835){if(_0x29d835){return _0x29d835[_0x7f97('0x26')](_0x37dcac)[_0x7f97('0x27')](function(_0x5cc7e6){return _0x5cc7e6;});}return null;};}function removeEntity(_0x1a5f6b,_0x1b645a){return function(_0x282a4c){if(_0x282a4c){return _0x282a4c[_0x7f97('0x28')]()[_0x7f97('0x27')](function(){_0x1a5f6b[_0x7f97('0x1c')](0xcc)[_0x7f97('0x1d')]();});}};}function handleEntityNotFound(_0x594048,_0x223be2){return function(_0x1da87d){if(!_0x1da87d){_0x594048[_0x7f97('0x1b')](0x194);}return _0x1da87d;};}function handleError(_0x470e84,_0x21ec7f){_0x21ec7f=_0x21ec7f||0x1f4;return function(_0x4eade7){logger[_0x7f97('0x29')](_0x4eade7[_0x7f97('0x2a')]);if(_0x4eade7[_0x7f97('0x2b')]){delete _0x4eade7[_0x7f97('0x2b')];}_0x470e84[_0x7f97('0x1c')](_0x21ec7f)[_0x7f97('0x2c')](_0x4eade7);};}exports[_0x7f97('0x2d')]=function(_0xcd942e,_0x21f427){var _0x440fb4={},_0x46f87a={},_0x21a648={'count':0x0,'rows':[]};var _0xea0771=_[_0x7f97('0x2e')](db[_0x7f97('0x2f')][_0x7f97('0x30')],function(_0x1f3d7a){return{'name':_0x1f3d7a[_0x7f97('0x31')],'type':_0x1f3d7a[_0x7f97('0x32')][_0x7f97('0x33')]};});_0x46f87a[_0x7f97('0x34')]=_[_0x7f97('0x2e')](_0xea0771,'name');_0x46f87a[_0x7f97('0x35')]=_[_0x7f97('0x36')](_0xcd942e[_0x7f97('0x35')]);_0x46f87a[_0x7f97('0x37')]=_[_0x7f97('0x38')](_0x46f87a[_0x7f97('0x34')],_0x46f87a['query']);_0x440fb4[_0x7f97('0x39')]=_[_0x7f97('0x38')](_0x46f87a[_0x7f97('0x34')],qs[_0x7f97('0x3a')](_0xcd942e[_0x7f97('0x35')][_0x7f97('0x3a')]));_0x440fb4[_0x7f97('0x39')]=_0x440fb4['attributes'][_0x7f97('0x3b')]?_0x440fb4['attributes']:_0x46f87a[_0x7f97('0x34')];if(!_0xcd942e[_0x7f97('0x35')][_0x7f97('0x3c')]('nolimit')){_0x440fb4[_0x7f97('0x3d')]=qs[_0x7f97('0x3d')](_0xcd942e['query'][_0x7f97('0x3d')]);_0x440fb4[_0x7f97('0x20')]=qs[_0x7f97('0x20')](_0xcd942e[_0x7f97('0x35')][_0x7f97('0x20')]);}_0x440fb4[_0x7f97('0x3e')]=qs[_0x7f97('0x3f')](_0xcd942e[_0x7f97('0x35')][_0x7f97('0x3f')]);_0x440fb4['where']=qs[_0x7f97('0x37')](_[_0x7f97('0x40')](_0xcd942e[_0x7f97('0x35')],_0x46f87a[_0x7f97('0x37')]),_0xea0771);if(_0xcd942e[_0x7f97('0x35')][_0x7f97('0x41')]){_0x440fb4[_0x7f97('0x42')]=_[_0x7f97('0x43')](_0x440fb4[_0x7f97('0x42')],{'$or':_[_0x7f97('0x2e')](_0xea0771,function(_0x3de2c6){if(_0x3de2c6[_0x7f97('0x32')]!==_0x7f97('0x44')){var _0x45a800={};_0x45a800[_0x3de2c6[_0x7f97('0x2b')]]={'$like':'%'+_0xcd942e[_0x7f97('0x35')]['filter']+'%'};return _0x45a800;}})});}_0x440fb4=_['merge']({},_0x440fb4,_0xcd942e['options']);var _0x25047d={'where':_0x440fb4[_0x7f97('0x42')]};return db[_0x7f97('0x2f')][_0x7f97('0x1f')](_0x25047d)[_0x7f97('0x27')](function(_0x25ed32){_0x21a648['count']=_0x25ed32;if(_0xcd942e[_0x7f97('0x35')][_0x7f97('0x45')]){_0x440fb4[_0x7f97('0x46')]=[{'all':!![]}];}return db[_0x7f97('0x2f')][_0x7f97('0x47')](_0x440fb4);})['then'](function(_0x158bc5){_0x21a648[_0x7f97('0x48')]=_0x158bc5;return _0x21a648;})[_0x7f97('0x27')](respondWithFilteredResult(_0x21f427,_0x440fb4))[_0x7f97('0x49')](handleError(_0x21f427,null));};exports[_0x7f97('0x4a')]=function(_0x479844,_0x4a870f){var _0x181d41={'raw':!![],'where':{'id':_0x479844['params']['id']}},_0x219b1a={};_0x219b1a['model']=_[_0x7f97('0x36')](db[_0x7f97('0x2f')][_0x7f97('0x30')]);_0x219b1a[_0x7f97('0x35')]=_[_0x7f97('0x36')](_0x479844[_0x7f97('0x35')]);_0x219b1a[_0x7f97('0x37')]=_[_0x7f97('0x38')](_0x219b1a[_0x7f97('0x34')],_0x219b1a[_0x7f97('0x35')]);_0x181d41[_0x7f97('0x39')]=_['intersection'](_0x219b1a['model'],qs[_0x7f97('0x3a')](_0x479844[_0x7f97('0x35')][_0x7f97('0x3a')]));_0x181d41[_0x7f97('0x39')]=_0x181d41[_0x7f97('0x39')]['length']?_0x181d41[_0x7f97('0x39')]:_0x219b1a[_0x7f97('0x34')];if(_0x479844[_0x7f97('0x35')][_0x7f97('0x45')]){_0x181d41[_0x7f97('0x46')]=[{'all':!![]}];}_0x181d41=_[_0x7f97('0x43')]({},_0x181d41,_0x479844[_0x7f97('0x4b')]);return db[_0x7f97('0x2f')][_0x7f97('0x4c')](_0x181d41)[_0x7f97('0x27')](handleEntityNotFound(_0x4a870f,null))[_0x7f97('0x27')](respondWithResult(_0x4a870f,null))['catch'](handleError(_0x4a870f,null));};exports[_0x7f97('0x4d')]=function(_0x5f1fb6,_0x56a2db){return db[_0x7f97('0x2f')][_0x7f97('0x4d')](_0x5f1fb6[_0x7f97('0x4e')],{})[_0x7f97('0x27')](respondWithResult(_0x56a2db,0xc9))[_0x7f97('0x49')](handleError(_0x56a2db,null));};exports['update']=function(_0x4d41ca,_0x3d365f){if(_0x4d41ca[_0x7f97('0x4e')]['id']){delete _0x4d41ca['body']['id'];}return db['ZohoField'][_0x7f97('0x4c')]({'where':{'id':_0x4d41ca[_0x7f97('0x4f')]['id']}})['then'](handleEntityNotFound(_0x3d365f,null))[_0x7f97('0x27')](saveUpdates(_0x4d41ca['body'],null))['then'](respondWithResult(_0x3d365f,null))[_0x7f97('0x49')](handleError(_0x3d365f,null));};exports['destroy']=function(_0x4f9fe5,_0x326f1e){return db[_0x7f97('0x2f')][_0x7f97('0x4c')]({'where':{'id':_0x4f9fe5['params']['id']}})['then'](handleEntityNotFound(_0x326f1e,null))[_0x7f97('0x27')](removeEntity(_0x326f1e,null))[_0x7f97('0x49')](handleError(_0x326f1e,null));};
\ No newline at end of file