Built motion from commit 1fa89557.|2.6.10
[motion2.git] / server / api / intZohoField / intZohoField.controller.js
index 4c3368f..080a51e 100644 (file)
@@ -15,4 +15,4 @@
 // * treaties. The SOFTWARE PRODUCT is licensed, not sold.                        *
 // *                                                                       *
 // *************************************************************************
-var _0xbf54=['ZohoField','rawAttributes','fieldName','type','key','map','query','keys','filters','intersection','model','attributes','fields','nolimit','order','sort','where','filter','merge','VIRTUAL','options','include','findAll','catch','show','params','length','find','create','body','html-pdf','eml-format','rimraf','zip-dir','fast-json-patch','moment','sox','to-csv','ejs','squel','crypto','jsforce','desk.js','papaparse','../../components/parsers/qs','../../components/parsers/advancedSearch','../../config/license/hardware','../../config/logger','api','../../config/environment','../../mysqldb','sendStatus','status','end','count','offset','limit','set','Content-Range','json','reject','save','update','then','destroy','error','stack','name','index'];(function(_0x59a6b7,_0x3ae326){var _0x6a9ef9=function(_0x3d6b9a){while(--_0x3d6b9a){_0x59a6b7['push'](_0x59a6b7['shift']());}};_0x6a9ef9(++_0x3ae326);}(_0xbf54,0xa8));var _0x4bf5=function(_0x494d1f,_0x3f72ff){_0x494d1f=_0x494d1f-0x0;var _0x457b6e=_0xbf54[_0x494d1f];return _0x457b6e;};'use strict';var pdf=require(_0x4bf5('0x0'));var emlformat=require(_0x4bf5('0x1'));var rimraf=require(_0x4bf5('0x2'));var zipdir=require(_0x4bf5('0x3'));var jsonpatch=require(_0x4bf5('0x4'));var rp=require('request-promise');var moment=require(_0x4bf5('0x5'));var BPromise=require('bluebird');var Mustache=require('mustache');var util=require('util');var path=require('path');var sox=require(_0x4bf5('0x6'));var csv=require(_0x4bf5('0x7'));var ejs=require(_0x4bf5('0x8'));var fs=require('fs');var _=require('lodash');var squel=require(_0x4bf5('0x9'));var crypto=require(_0x4bf5('0xa'));var jsforce=require(_0x4bf5('0xb'));var deskjs=require(_0x4bf5('0xc'));var toCsv=require('to-csv');var querystring=require('querystring');var Papa=require(_0x4bf5('0xd'));var Redis=require('ioredis');var authService=require('../../components/auth/service');var qs=require(_0x4bf5('0xe'));var as=require(_0x4bf5('0xf'));var hardwareService=require(_0x4bf5('0x10'));var logger=require(_0x4bf5('0x11'))(_0x4bf5('0x12'));var utils=require('../../config/utils');var config=require(_0x4bf5('0x13'));var licenseUtil=require('../../config/license/util');var db=require(_0x4bf5('0x14'))['db'];function respondWithStatusCode(_0x390b9d,_0x4ec14e){_0x4ec14e=_0x4ec14e||0xcc;return function(_0x39f299){if(_0x39f299){return _0x390b9d[_0x4bf5('0x15')](_0x4ec14e);}return _0x390b9d[_0x4bf5('0x16')](_0x4ec14e)[_0x4bf5('0x17')]();};}function respondWithResult(_0x27fc3c,_0x119222){_0x119222=_0x119222||0xc8;return function(_0x2623dd){if(_0x2623dd){return _0x27fc3c['status'](_0x119222)['json'](_0x2623dd);}};}function respondWithFilteredResult(_0x20748b,_0x11e263){return function(_0x1b9c9b){if(_0x1b9c9b){var _0x11e6a6=_0x1b9c9b[_0x4bf5('0x18')],_0x102b91=_0x11e263[_0x4bf5('0x19')],_0x2a4083=_0x11e263['offset']+_0x11e263[_0x4bf5('0x1a')],_0x22366f;if(_0x2a4083>=_0x11e6a6){_0x2a4083=_0x11e6a6;_0x22366f=0xc8;}else{_0x22366f=0xce;}_0x20748b[_0x4bf5('0x16')](_0x22366f);return _0x20748b[_0x4bf5('0x1b')](_0x4bf5('0x1c'),_0x102b91+'-'+_0x2a4083+'/'+_0x11e6a6)[_0x4bf5('0x1d')](_0x1b9c9b);}return null;};}function patchUpdates(_0x3125d8){return function(_0x590b4d){try{jsonpatch['apply'](_0x590b4d,_0x3125d8,!![]);}catch(_0x192ced){return BPromise[_0x4bf5('0x1e')](_0x192ced);}return _0x590b4d[_0x4bf5('0x1f')]();};}function saveUpdates(_0x32d275,_0x52a125){return function(_0x411884){if(_0x411884){return _0x411884[_0x4bf5('0x20')](_0x32d275)[_0x4bf5('0x21')](function(_0x5bae57){return _0x5bae57;});}return null;};}function removeEntity(_0x4e6b96,_0x3db606){return function(_0xd720c1){if(_0xd720c1){return _0xd720c1[_0x4bf5('0x22')]()['then'](function(){_0x4e6b96[_0x4bf5('0x16')](0xcc)[_0x4bf5('0x17')]();});}};}function handleEntityNotFound(_0x2db501,_0x5b41d1){return function(_0x5737e6){if(!_0x5737e6){_0x2db501[_0x4bf5('0x15')](0x194);}return _0x5737e6;};}function handleError(_0x48c290,_0x3c732e){_0x3c732e=_0x3c732e||0x1f4;return function(_0x2d4826){logger[_0x4bf5('0x23')](_0x2d4826[_0x4bf5('0x24')]);if(_0x2d4826[_0x4bf5('0x25')]){delete _0x2d4826[_0x4bf5('0x25')];}_0x48c290[_0x4bf5('0x16')](_0x3c732e)['send'](_0x2d4826);};}exports[_0x4bf5('0x26')]=function(_0x1b53c8,_0x38f7b6){var _0x52567a={},_0x5c8ea3={},_0x563f23={'count':0x0,'rows':[]};var _0x28fb37=_['map'](db[_0x4bf5('0x27')][_0x4bf5('0x28')],function(_0x2a47a8){return{'name':_0x2a47a8[_0x4bf5('0x29')],'type':_0x2a47a8[_0x4bf5('0x2a')][_0x4bf5('0x2b')]};});_0x5c8ea3['model']=_[_0x4bf5('0x2c')](_0x28fb37,_0x4bf5('0x25'));_0x5c8ea3[_0x4bf5('0x2d')]=_[_0x4bf5('0x2e')](_0x1b53c8[_0x4bf5('0x2d')]);_0x5c8ea3[_0x4bf5('0x2f')]=_[_0x4bf5('0x30')](_0x5c8ea3[_0x4bf5('0x31')],_0x5c8ea3[_0x4bf5('0x2d')]);_0x52567a[_0x4bf5('0x32')]=_[_0x4bf5('0x30')](_0x5c8ea3['model'],qs[_0x4bf5('0x33')](_0x1b53c8[_0x4bf5('0x2d')][_0x4bf5('0x33')]));_0x52567a[_0x4bf5('0x32')]=_0x52567a['attributes']['length']?_0x52567a[_0x4bf5('0x32')]:_0x5c8ea3[_0x4bf5('0x31')];if(!_0x1b53c8[_0x4bf5('0x2d')]['hasOwnProperty'](_0x4bf5('0x34'))){_0x52567a[_0x4bf5('0x1a')]=qs[_0x4bf5('0x1a')](_0x1b53c8[_0x4bf5('0x2d')][_0x4bf5('0x1a')]);_0x52567a[_0x4bf5('0x19')]=qs[_0x4bf5('0x19')](_0x1b53c8[_0x4bf5('0x2d')][_0x4bf5('0x19')]);}_0x52567a[_0x4bf5('0x35')]=qs[_0x4bf5('0x36')](_0x1b53c8[_0x4bf5('0x2d')][_0x4bf5('0x36')]);_0x52567a[_0x4bf5('0x37')]=qs['filters'](_['pick'](_0x1b53c8['query'],_0x5c8ea3[_0x4bf5('0x2f')]),_0x28fb37);if(_0x1b53c8[_0x4bf5('0x2d')][_0x4bf5('0x38')]){_0x52567a['where']=_[_0x4bf5('0x39')](_0x52567a[_0x4bf5('0x37')],{'$or':_[_0x4bf5('0x2c')](_0x28fb37,function(_0x4a7c1c){if(_0x4a7c1c[_0x4bf5('0x2a')]!==_0x4bf5('0x3a')){var _0x2f3842={};_0x2f3842[_0x4a7c1c[_0x4bf5('0x25')]]={'$like':'%'+_0x1b53c8['query'][_0x4bf5('0x38')]+'%'};return _0x2f3842;}})});}_0x52567a=_['merge']({},_0x52567a,_0x1b53c8[_0x4bf5('0x3b')]);var _0x384bed={'where':_0x52567a['where']};return db['ZohoField'][_0x4bf5('0x18')](_0x384bed)[_0x4bf5('0x21')](function(_0x266c39){_0x563f23[_0x4bf5('0x18')]=_0x266c39;if(_0x1b53c8['query']['includeAll']){_0x52567a[_0x4bf5('0x3c')]=[{'all':!![]}];}return db[_0x4bf5('0x27')][_0x4bf5('0x3d')](_0x52567a);})['then'](function(_0x1836a1){_0x563f23['rows']=_0x1836a1;return _0x563f23;})[_0x4bf5('0x21')](respondWithFilteredResult(_0x38f7b6,_0x52567a))[_0x4bf5('0x3e')](handleError(_0x38f7b6,null));};exports[_0x4bf5('0x3f')]=function(_0x2c023b,_0x362254){var _0x4778cb={'raw':!![],'where':{'id':_0x2c023b[_0x4bf5('0x40')]['id']}},_0x3e5ec8={};_0x3e5ec8[_0x4bf5('0x31')]=_['keys'](db['ZohoField'][_0x4bf5('0x28')]);_0x3e5ec8['query']=_['keys'](_0x2c023b[_0x4bf5('0x2d')]);_0x3e5ec8[_0x4bf5('0x2f')]=_[_0x4bf5('0x30')](_0x3e5ec8[_0x4bf5('0x31')],_0x3e5ec8[_0x4bf5('0x2d')]);_0x4778cb[_0x4bf5('0x32')]=_['intersection'](_0x3e5ec8[_0x4bf5('0x31')],qs['fields'](_0x2c023b[_0x4bf5('0x2d')][_0x4bf5('0x33')]));_0x4778cb['attributes']=_0x4778cb[_0x4bf5('0x32')][_0x4bf5('0x41')]?_0x4778cb[_0x4bf5('0x32')]:_0x3e5ec8[_0x4bf5('0x31')];if(_0x2c023b[_0x4bf5('0x2d')]['includeAll']){_0x4778cb[_0x4bf5('0x3c')]=[{'all':!![]}];}_0x4778cb=_['merge']({},_0x4778cb,_0x2c023b[_0x4bf5('0x3b')]);return db[_0x4bf5('0x27')][_0x4bf5('0x42')](_0x4778cb)[_0x4bf5('0x21')](handleEntityNotFound(_0x362254,null))['then'](respondWithResult(_0x362254,null))[_0x4bf5('0x3e')](handleError(_0x362254,null));};exports['create']=function(_0x56f10e,_0x40e4d7){return db['ZohoField'][_0x4bf5('0x43')](_0x56f10e[_0x4bf5('0x44')],{})[_0x4bf5('0x21')](respondWithResult(_0x40e4d7,0xc9))[_0x4bf5('0x3e')](handleError(_0x40e4d7,null));};exports[_0x4bf5('0x20')]=function(_0x63090d,_0x5c673f){if(_0x63090d[_0x4bf5('0x44')]['id']){delete _0x63090d[_0x4bf5('0x44')]['id'];}return db[_0x4bf5('0x27')][_0x4bf5('0x42')]({'where':{'id':_0x63090d[_0x4bf5('0x40')]['id']}})[_0x4bf5('0x21')](handleEntityNotFound(_0x5c673f,null))[_0x4bf5('0x21')](saveUpdates(_0x63090d[_0x4bf5('0x44')],null))[_0x4bf5('0x21')](respondWithResult(_0x5c673f,null))[_0x4bf5('0x3e')](handleError(_0x5c673f,null));};exports[_0x4bf5('0x22')]=function(_0xfcccd,_0x4e0f91){return db[_0x4bf5('0x27')][_0x4bf5('0x42')]({'where':{'id':_0xfcccd[_0x4bf5('0x40')]['id']}})[_0x4bf5('0x21')](handleEntityNotFound(_0x4e0f91,null))[_0x4bf5('0x21')](removeEntity(_0x4e0f91,null))[_0x4bf5('0x3e')](handleError(_0x4e0f91,null));};
\ No newline at end of file
+var _0xa936=['lodash','squel','crypto','jsforce','to-csv','querystring','papaparse','ioredis','../../components/auth/service','../../config/license/hardware','../../config/logger','api','../../config/utils','../../config/license/util','status','json','offset','undefined','limit','count','reject','save','update','destroy','then','sendStatus','error','stack','name','send','map','ZohoField','rawAttributes','fieldName','type','model','query','keys','filters','intersection','fields','attributes','hasOwnProperty','order','sort','where','pick','filter','options','includeAll','include','rows','catch','show','params','length','find','create','body','zip-dir','fast-json-patch','request-promise','bluebird','mustache','util','sox','ejs','fs-extra'];(function(_0x1727ad,_0x3283e4){var _0x441a02=function(_0x176a5f){while(--_0x176a5f){_0x1727ad['push'](_0x1727ad['shift']());}};_0x441a02(++_0x3283e4);}(_0xa936,0x107));var _0x6a93=function(_0xaa1b3e,_0x47d976){_0xaa1b3e=_0xaa1b3e-0x0;var _0x454d7d=_0xa936[_0xaa1b3e];return _0x454d7d;};'use strict';var emlformat=require('eml-format');var rimraf=require('rimraf');var zipdir=require(_0x6a93('0x0'));var jsonpatch=require(_0x6a93('0x1'));var rp=require(_0x6a93('0x2'));var moment=require('moment');var BPromise=require(_0x6a93('0x3'));var Mustache=require(_0x6a93('0x4'));var util=require(_0x6a93('0x5'));var path=require('path');var sox=require(_0x6a93('0x6'));var csv=require('to-csv');var ejs=require(_0x6a93('0x7'));var fs=require('fs');var fs_extra=require(_0x6a93('0x8'));var _=require(_0x6a93('0x9'));var squel=require(_0x6a93('0xa'));var crypto=require(_0x6a93('0xb'));var jsforce=require(_0x6a93('0xc'));var deskjs=require('desk.js');var toCsv=require(_0x6a93('0xd'));var querystring=require(_0x6a93('0xe'));var Papa=require(_0x6a93('0xf'));var Redis=require(_0x6a93('0x10'));var authService=require(_0x6a93('0x11'));var qs=require('../../components/parsers/qs');var as=require('../../components/parsers/advancedSearch');var hardwareService=require(_0x6a93('0x12'));var logger=require(_0x6a93('0x13'))(_0x6a93('0x14'));var utils=require(_0x6a93('0x15'));var config=require('../../config/environment');var licenseUtil=require(_0x6a93('0x16'));var db=require('../../mysqldb')['db'];function respondWithStatusCode(_0x4780a5,_0x32c864){_0x32c864=_0x32c864||0xcc;return function(_0x28c06c){if(_0x28c06c){return _0x4780a5['sendStatus'](_0x32c864);}return _0x4780a5[_0x6a93('0x17')](_0x32c864)['end']();};}function respondWithResult(_0x2cac47,_0xb701cd){_0xb701cd=_0xb701cd||0xc8;return function(_0x4aeeb6){if(_0x4aeeb6){return _0x2cac47[_0x6a93('0x17')](_0xb701cd)[_0x6a93('0x18')](_0x4aeeb6);}};}function respondWithFilteredResult(_0x3679ab,_0x5c1a52){return function(_0x56ffe7){if(_0x56ffe7){var _0x3e87c9=typeof _0x5c1a52[_0x6a93('0x19')]===_0x6a93('0x1a')&&typeof _0x5c1a52[_0x6a93('0x1b')]===_0x6a93('0x1a');var _0x32a018=_0x56ffe7[_0x6a93('0x1c')];var _0x4f2139=_0x3e87c9?0x0:_0x5c1a52[_0x6a93('0x19')];var _0x42129f=_0x3e87c9?_0x56ffe7[_0x6a93('0x1c')]:_0x5c1a52['offset']+_0x5c1a52[_0x6a93('0x1b')];var _0x401402;if(_0x42129f>=_0x32a018){_0x42129f=_0x32a018;_0x401402=0xc8;}else{_0x401402=0xce;}_0x3679ab[_0x6a93('0x17')](_0x401402);return _0x3679ab['set']('Content-Range',_0x4f2139+'-'+_0x42129f+'/'+_0x32a018)[_0x6a93('0x18')](_0x56ffe7);}return null;};}function patchUpdates(_0x1c62c0){return function(_0x254403){try{jsonpatch['apply'](_0x254403,_0x1c62c0,!![]);}catch(_0x236a08){return BPromise[_0x6a93('0x1d')](_0x236a08);}return _0x254403[_0x6a93('0x1e')]();};}function saveUpdates(_0x2f0892,_0x1a390b){return function(_0x50bf3e){if(_0x50bf3e){return _0x50bf3e[_0x6a93('0x1f')](_0x2f0892)['then'](function(_0x4b8786){return _0x4b8786;});}return null;};}function removeEntity(_0x1b318a,_0x3691b4){return function(_0x25e3e1){if(_0x25e3e1){return _0x25e3e1[_0x6a93('0x20')]()[_0x6a93('0x21')](function(){_0x1b318a[_0x6a93('0x17')](0xcc)['end']();});}};}function handleEntityNotFound(_0x5c5cb6,_0x2c6bde){return function(_0x5a6734){if(!_0x5a6734){_0x5c5cb6[_0x6a93('0x22')](0x194);}return _0x5a6734;};}function handleError(_0x11aec9,_0x43a772){_0x43a772=_0x43a772||0x1f4;return function(_0x97259){logger[_0x6a93('0x23')](_0x97259[_0x6a93('0x24')]);if(_0x97259[_0x6a93('0x25')]){delete _0x97259[_0x6a93('0x25')];}_0x11aec9[_0x6a93('0x17')](_0x43a772)[_0x6a93('0x26')](_0x97259);};}exports['index']=function(_0x17b6d3,_0x5ed149){var _0xca6b7b={},_0x3db08f={},_0x2ee77d={'count':0x0,'rows':[]};var _0x4632d4=_[_0x6a93('0x27')](db[_0x6a93('0x28')][_0x6a93('0x29')],function(_0x39727c){return{'name':_0x39727c[_0x6a93('0x2a')],'type':_0x39727c[_0x6a93('0x2b')]['key']};});_0x3db08f[_0x6a93('0x2c')]=_['map'](_0x4632d4,_0x6a93('0x25'));_0x3db08f[_0x6a93('0x2d')]=_[_0x6a93('0x2e')](_0x17b6d3['query']);_0x3db08f[_0x6a93('0x2f')]=_[_0x6a93('0x30')](_0x3db08f[_0x6a93('0x2c')],_0x3db08f['query']);_0xca6b7b['attributes']=_[_0x6a93('0x30')](_0x3db08f[_0x6a93('0x2c')],qs[_0x6a93('0x31')](_0x17b6d3[_0x6a93('0x2d')][_0x6a93('0x31')]));_0xca6b7b[_0x6a93('0x32')]=_0xca6b7b[_0x6a93('0x32')]['length']?_0xca6b7b[_0x6a93('0x32')]:_0x3db08f[_0x6a93('0x2c')];if(!_0x17b6d3[_0x6a93('0x2d')][_0x6a93('0x33')]('nolimit')){_0xca6b7b[_0x6a93('0x1b')]=qs[_0x6a93('0x1b')](_0x17b6d3[_0x6a93('0x2d')][_0x6a93('0x1b')]);_0xca6b7b[_0x6a93('0x19')]=qs[_0x6a93('0x19')](_0x17b6d3[_0x6a93('0x2d')][_0x6a93('0x19')]);}_0xca6b7b[_0x6a93('0x34')]=qs[_0x6a93('0x35')](_0x17b6d3[_0x6a93('0x2d')][_0x6a93('0x35')]);_0xca6b7b[_0x6a93('0x36')]=qs['filters'](_[_0x6a93('0x37')](_0x17b6d3[_0x6a93('0x2d')],_0x3db08f[_0x6a93('0x2f')]),_0x4632d4);if(_0x17b6d3[_0x6a93('0x2d')]['filter']){_0xca6b7b['where']=_['merge'](_0xca6b7b[_0x6a93('0x36')],{'$or':_[_0x6a93('0x27')](_0x4632d4,function(_0x52de4c){if(_0x52de4c[_0x6a93('0x2b')]!=='VIRTUAL'){var _0x11f5a3={};_0x11f5a3[_0x52de4c[_0x6a93('0x25')]]={'$like':'%'+_0x17b6d3[_0x6a93('0x2d')][_0x6a93('0x38')]+'%'};return _0x11f5a3;}})});}_0xca6b7b=_['merge']({},_0xca6b7b,_0x17b6d3[_0x6a93('0x39')]);var _0x5864e1={'where':_0xca6b7b[_0x6a93('0x36')]};return db[_0x6a93('0x28')]['count'](_0x5864e1)[_0x6a93('0x21')](function(_0x467651){_0x2ee77d[_0x6a93('0x1c')]=_0x467651;if(_0x17b6d3[_0x6a93('0x2d')][_0x6a93('0x3a')]){_0xca6b7b[_0x6a93('0x3b')]=[{'all':!![]}];}return db[_0x6a93('0x28')]['findAll'](_0xca6b7b);})[_0x6a93('0x21')](function(_0x384592){_0x2ee77d[_0x6a93('0x3c')]=_0x384592;return _0x2ee77d;})[_0x6a93('0x21')](respondWithFilteredResult(_0x5ed149,_0xca6b7b))[_0x6a93('0x3d')](handleError(_0x5ed149,null));};exports[_0x6a93('0x3e')]=function(_0x30fed5,_0x50224a){var _0x51e43d={'raw':!![],'where':{'id':_0x30fed5[_0x6a93('0x3f')]['id']}},_0x52a500={};_0x52a500[_0x6a93('0x2c')]=_[_0x6a93('0x2e')](db[_0x6a93('0x28')][_0x6a93('0x29')]);_0x52a500[_0x6a93('0x2d')]=_[_0x6a93('0x2e')](_0x30fed5[_0x6a93('0x2d')]);_0x52a500['filters']=_['intersection'](_0x52a500[_0x6a93('0x2c')],_0x52a500['query']);_0x51e43d[_0x6a93('0x32')]=_['intersection'](_0x52a500['model'],qs['fields'](_0x30fed5[_0x6a93('0x2d')][_0x6a93('0x31')]));_0x51e43d[_0x6a93('0x32')]=_0x51e43d[_0x6a93('0x32')][_0x6a93('0x40')]?_0x51e43d[_0x6a93('0x32')]:_0x52a500[_0x6a93('0x2c')];if(_0x30fed5['query']['includeAll']){_0x51e43d[_0x6a93('0x3b')]=[{'all':!![]}];}_0x51e43d=_['merge']({},_0x51e43d,_0x30fed5[_0x6a93('0x39')]);return db[_0x6a93('0x28')][_0x6a93('0x41')](_0x51e43d)['then'](handleEntityNotFound(_0x50224a,null))['then'](respondWithResult(_0x50224a,null))[_0x6a93('0x3d')](handleError(_0x50224a,null));};exports[_0x6a93('0x42')]=function(_0x1f6798,_0x3f514d){return db[_0x6a93('0x28')][_0x6a93('0x42')](_0x1f6798['body'],{})['then'](respondWithResult(_0x3f514d,0xc9))[_0x6a93('0x3d')](handleError(_0x3f514d,null));};exports[_0x6a93('0x1f')]=function(_0x14f077,_0x1b6185){if(_0x14f077[_0x6a93('0x43')]['id']){delete _0x14f077[_0x6a93('0x43')]['id'];}return db['ZohoField'][_0x6a93('0x41')]({'where':{'id':_0x14f077[_0x6a93('0x3f')]['id']}})[_0x6a93('0x21')](handleEntityNotFound(_0x1b6185,null))['then'](saveUpdates(_0x14f077[_0x6a93('0x43')],null))[_0x6a93('0x21')](respondWithResult(_0x1b6185,null))[_0x6a93('0x3d')](handleError(_0x1b6185,null));};exports['destroy']=function(_0x7e15d1,_0x2e7f7b){return db[_0x6a93('0x28')][_0x6a93('0x41')]({'where':{'id':_0x7e15d1['params']['id']}})[_0x6a93('0x21')](handleEntityNotFound(_0x2e7f7b,null))[_0x6a93('0x21')](removeEntity(_0x2e7f7b,null))[_0x6a93('0x3d')](handleError(_0x2e7f7b,null));};
\ No newline at end of file