Built motion from commit da617fac.|2.6.6
[motion2.git] / server / api / intServicenowField / intServicenowField.controller.js
index 6455f9e..0f9895e 100644 (file)
@@ -15,4 +15,4 @@
 // * treaties. The SOFTWARE PRODUCT is licensed, not sold.                        *
 // *                                                                       *
 // *************************************************************************
-var _0x45f5=['update','then','destroy','error','name','index','map','rawAttributes','fieldName','type','key','model','query','keys','intersection','fields','attributes','length','hasOwnProperty','nolimit','sort','where','pick','filters','filter','merge','VIRTUAL','options','ServicenowField','include','rows','catch','show','params','includeAll','create','body','find','rimraf','request-promise','moment','mustache','util','path','sox','to-csv','ejs','fs-extra','squel','crypto','jsforce','desk.js','querystring','papaparse','../../components/parsers/qs','../../components/parsers/advancedSearch','../../config/license/hardware','../../config/logger','api','../../config/environment','../../config/license/util','../../mysqldb','sendStatus','status','end','undefined','limit','count','offset','set','Content-Range','apply','save'];(function(_0x187ee1,_0x3fd1e6){var _0x388160=function(_0x542dd2){while(--_0x542dd2){_0x187ee1['push'](_0x187ee1['shift']());}};_0x388160(++_0x3fd1e6);}(_0x45f5,0x6f));var _0x545f=function(_0x396539,_0x44d8b3){_0x396539=_0x396539-0x0;var _0x35540f=_0x45f5[_0x396539];return _0x35540f;};'use strict';var emlformat=require('eml-format');var rimraf=require(_0x545f('0x0'));var zipdir=require('zip-dir');var jsonpatch=require('fast-json-patch');var rp=require(_0x545f('0x1'));var moment=require(_0x545f('0x2'));var BPromise=require('bluebird');var Mustache=require(_0x545f('0x3'));var util=require(_0x545f('0x4'));var path=require(_0x545f('0x5'));var sox=require(_0x545f('0x6'));var csv=require(_0x545f('0x7'));var ejs=require(_0x545f('0x8'));var fs=require('fs');var fs_extra=require(_0x545f('0x9'));var _=require('lodash');var squel=require(_0x545f('0xa'));var crypto=require(_0x545f('0xb'));var jsforce=require(_0x545f('0xc'));var deskjs=require(_0x545f('0xd'));var toCsv=require('to-csv');var querystring=require(_0x545f('0xe'));var Papa=require(_0x545f('0xf'));var Redis=require('ioredis');var authService=require('../../components/auth/service');var qs=require(_0x545f('0x10'));var as=require(_0x545f('0x11'));var hardwareService=require(_0x545f('0x12'));var logger=require(_0x545f('0x13'))(_0x545f('0x14'));var utils=require('../../config/utils');var config=require(_0x545f('0x15'));var licenseUtil=require(_0x545f('0x16'));var db=require(_0x545f('0x17'))['db'];function respondWithStatusCode(_0x4827cf,_0x3ec44d){_0x3ec44d=_0x3ec44d||0xcc;return function(_0x18cd68){if(_0x18cd68){return _0x4827cf[_0x545f('0x18')](_0x3ec44d);}return _0x4827cf[_0x545f('0x19')](_0x3ec44d)[_0x545f('0x1a')]();};}function respondWithResult(_0x314fa2,_0x5c3415){_0x5c3415=_0x5c3415||0xc8;return function(_0x44ff4f){if(_0x44ff4f){return _0x314fa2[_0x545f('0x19')](_0x5c3415)['json'](_0x44ff4f);}};}function respondWithFilteredResult(_0x53cf5c,_0x1617ab){return function(_0x1138c2){if(_0x1138c2){var _0x457cc8=typeof _0x1617ab['offset']===_0x545f('0x1b')&&typeof _0x1617ab[_0x545f('0x1c')]===_0x545f('0x1b');var _0x155df4=_0x1138c2[_0x545f('0x1d')];var _0xaa2115=_0x457cc8?0x0:_0x1617ab[_0x545f('0x1e')];var _0x54c8e0=_0x457cc8?_0x1138c2[_0x545f('0x1d')]:_0x1617ab[_0x545f('0x1e')]+_0x1617ab[_0x545f('0x1c')];var _0x270ad8;if(_0x54c8e0>=_0x155df4){_0x54c8e0=_0x155df4;_0x270ad8=0xc8;}else{_0x270ad8=0xce;}_0x53cf5c['status'](_0x270ad8);return _0x53cf5c[_0x545f('0x1f')](_0x545f('0x20'),_0xaa2115+'-'+_0x54c8e0+'/'+_0x155df4)['json'](_0x1138c2);}return null;};}function patchUpdates(_0x12a343){return function(_0x3c9002){try{jsonpatch[_0x545f('0x21')](_0x3c9002,_0x12a343,!![]);}catch(_0x43ba71){return BPromise['reject'](_0x43ba71);}return _0x3c9002[_0x545f('0x22')]();};}function saveUpdates(_0x30f256,_0x5c0ce2){return function(_0x5afc85){if(_0x5afc85){return _0x5afc85[_0x545f('0x23')](_0x30f256)[_0x545f('0x24')](function(_0xcb616){return _0xcb616;});}return null;};}function removeEntity(_0x44c636,_0x3ad474){return function(_0x4fb93e){if(_0x4fb93e){return _0x4fb93e[_0x545f('0x25')]()[_0x545f('0x24')](function(){_0x44c636[_0x545f('0x19')](0xcc)[_0x545f('0x1a')]();});}};}function handleEntityNotFound(_0x24c6c1,_0x409ca3){return function(_0x3b115e){if(!_0x3b115e){_0x24c6c1[_0x545f('0x18')](0x194);}return _0x3b115e;};}function handleError(_0x29181b,_0x4b2f5f){_0x4b2f5f=_0x4b2f5f||0x1f4;return function(_0x3720e9){logger[_0x545f('0x26')](_0x3720e9['stack']);if(_0x3720e9[_0x545f('0x27')]){delete _0x3720e9['name'];}_0x29181b[_0x545f('0x19')](_0x4b2f5f)['send'](_0x3720e9);};}exports[_0x545f('0x28')]=function(_0x2baea5,_0x55e10c){var _0x1cad86={},_0x508121={},_0x39af86={'count':0x0,'rows':[]};var _0x2de85f=_[_0x545f('0x29')](db['ServicenowField'][_0x545f('0x2a')],function(_0x3b34b3){return{'name':_0x3b34b3[_0x545f('0x2b')],'type':_0x3b34b3[_0x545f('0x2c')][_0x545f('0x2d')]};});_0x508121[_0x545f('0x2e')]=_[_0x545f('0x29')](_0x2de85f,_0x545f('0x27'));_0x508121[_0x545f('0x2f')]=_[_0x545f('0x30')](_0x2baea5[_0x545f('0x2f')]);_0x508121['filters']=_[_0x545f('0x31')](_0x508121['model'],_0x508121[_0x545f('0x2f')]);_0x1cad86['attributes']=_[_0x545f('0x31')](_0x508121[_0x545f('0x2e')],qs[_0x545f('0x32')](_0x2baea5['query'][_0x545f('0x32')]));_0x1cad86['attributes']=_0x1cad86[_0x545f('0x33')][_0x545f('0x34')]?_0x1cad86[_0x545f('0x33')]:_0x508121[_0x545f('0x2e')];if(!_0x2baea5[_0x545f('0x2f')][_0x545f('0x35')](_0x545f('0x36'))){_0x1cad86[_0x545f('0x1c')]=qs[_0x545f('0x1c')](_0x2baea5['query'][_0x545f('0x1c')]);_0x1cad86[_0x545f('0x1e')]=qs['offset'](_0x2baea5['query'][_0x545f('0x1e')]);}_0x1cad86['order']=qs[_0x545f('0x37')](_0x2baea5[_0x545f('0x2f')][_0x545f('0x37')]);_0x1cad86[_0x545f('0x38')]=qs['filters'](_[_0x545f('0x39')](_0x2baea5[_0x545f('0x2f')],_0x508121[_0x545f('0x3a')]),_0x2de85f);if(_0x2baea5[_0x545f('0x2f')][_0x545f('0x3b')]){_0x1cad86['where']=_[_0x545f('0x3c')](_0x1cad86[_0x545f('0x38')],{'$or':_['map'](_0x2de85f,function(_0x1a1514){if(_0x1a1514['type']!==_0x545f('0x3d')){var _0x38247f={};_0x38247f[_0x1a1514[_0x545f('0x27')]]={'$like':'%'+_0x2baea5[_0x545f('0x2f')][_0x545f('0x3b')]+'%'};return _0x38247f;}})});}_0x1cad86=_[_0x545f('0x3c')]({},_0x1cad86,_0x2baea5[_0x545f('0x3e')]);var _0x553d83={'where':_0x1cad86[_0x545f('0x38')]};return db[_0x545f('0x3f')]['count'](_0x553d83)['then'](function(_0x3b5cb4){_0x39af86[_0x545f('0x1d')]=_0x3b5cb4;if(_0x2baea5[_0x545f('0x2f')]['includeAll']){_0x1cad86[_0x545f('0x40')]=[{'all':!![]}];}return db[_0x545f('0x3f')]['findAll'](_0x1cad86);})[_0x545f('0x24')](function(_0x47e174){_0x39af86[_0x545f('0x41')]=_0x47e174;return _0x39af86;})[_0x545f('0x24')](respondWithFilteredResult(_0x55e10c,_0x1cad86))[_0x545f('0x42')](handleError(_0x55e10c,null));};exports[_0x545f('0x43')]=function(_0x57a356,_0xd20e9b){var _0xd87124={'raw':!![],'where':{'id':_0x57a356[_0x545f('0x44')]['id']}},_0x30820c={};_0x30820c[_0x545f('0x2e')]=_[_0x545f('0x30')](db[_0x545f('0x3f')][_0x545f('0x2a')]);_0x30820c[_0x545f('0x2f')]=_[_0x545f('0x30')](_0x57a356[_0x545f('0x2f')]);_0x30820c['filters']=_[_0x545f('0x31')](_0x30820c[_0x545f('0x2e')],_0x30820c[_0x545f('0x2f')]);_0xd87124[_0x545f('0x33')]=_['intersection'](_0x30820c[_0x545f('0x2e')],qs[_0x545f('0x32')](_0x57a356['query'][_0x545f('0x32')]));_0xd87124[_0x545f('0x33')]=_0xd87124[_0x545f('0x33')][_0x545f('0x34')]?_0xd87124['attributes']:_0x30820c[_0x545f('0x2e')];if(_0x57a356[_0x545f('0x2f')][_0x545f('0x45')]){_0xd87124[_0x545f('0x40')]=[{'all':!![]}];}_0xd87124=_['merge']({},_0xd87124,_0x57a356[_0x545f('0x3e')]);return db[_0x545f('0x3f')]['find'](_0xd87124)[_0x545f('0x24')](handleEntityNotFound(_0xd20e9b,null))[_0x545f('0x24')](respondWithResult(_0xd20e9b,null))[_0x545f('0x42')](handleError(_0xd20e9b,null));};exports['create']=function(_0x3e0d83,_0x3ae561){return db[_0x545f('0x3f')][_0x545f('0x46')](_0x3e0d83[_0x545f('0x47')],{})[_0x545f('0x24')](respondWithResult(_0x3ae561,0xc9))[_0x545f('0x42')](handleError(_0x3ae561,null));};exports[_0x545f('0x23')]=function(_0x221312,_0x2140d9){if(_0x221312[_0x545f('0x47')]['id']){delete _0x221312['body']['id'];}return db[_0x545f('0x3f')]['find']({'where':{'id':_0x221312['params']['id']}})[_0x545f('0x24')](handleEntityNotFound(_0x2140d9,null))[_0x545f('0x24')](saveUpdates(_0x221312[_0x545f('0x47')],null))[_0x545f('0x24')](respondWithResult(_0x2140d9,null))['catch'](handleError(_0x2140d9,null));};exports[_0x545f('0x25')]=function(_0x3fa1df,_0x21a354){return db[_0x545f('0x3f')][_0x545f('0x48')]({'where':{'id':_0x3fa1df[_0x545f('0x44')]['id']}})[_0x545f('0x24')](handleEntityNotFound(_0x21a354,null))[_0x545f('0x24')](removeEntity(_0x21a354,null))[_0x545f('0x42')](handleError(_0x21a354,null));};
\ No newline at end of file
+var _0x5b5f=['eml-format','zip-dir','fast-json-patch','request-promise','bluebird','util','path','sox','to-csv','ejs','fs-extra','lodash','jsforce','querystring','papaparse','ioredis','../../components/auth/service','../../config/logger','api','../../config/utils','../../config/environment','../../config/license/util','../../mysqldb','sendStatus','status','json','offset','undefined','count','limit','set','Content-Range','apply','save','update','then','destroy','end','error','stack','name','send','map','ServicenowField','rawAttributes','fieldName','type','key','model','query','intersection','attributes','fields','length','hasOwnProperty','nolimit','order','sort','pick','filters','filter','where','merge','VIRTUAL','includeAll','include','findAll','catch','show','params','keys','options','create','body','find'];(function(_0x5b34a7,_0x3f1c19){var _0x136c49=function(_0xa77a47){while(--_0xa77a47){_0x5b34a7['push'](_0x5b34a7['shift']());}};_0x136c49(++_0x3f1c19);}(_0x5b5f,0x1c2));var _0xf5b5=function(_0x57163b,_0x41db5f){_0x57163b=_0x57163b-0x0;var _0x13c1ea=_0x5b5f[_0x57163b];return _0x13c1ea;};'use strict';var emlformat=require(_0xf5b5('0x0'));var rimraf=require('rimraf');var zipdir=require(_0xf5b5('0x1'));var jsonpatch=require(_0xf5b5('0x2'));var rp=require(_0xf5b5('0x3'));var moment=require('moment');var BPromise=require(_0xf5b5('0x4'));var Mustache=require('mustache');var util=require(_0xf5b5('0x5'));var path=require(_0xf5b5('0x6'));var sox=require(_0xf5b5('0x7'));var csv=require(_0xf5b5('0x8'));var ejs=require(_0xf5b5('0x9'));var fs=require('fs');var fs_extra=require(_0xf5b5('0xa'));var _=require(_0xf5b5('0xb'));var squel=require('squel');var crypto=require('crypto');var jsforce=require(_0xf5b5('0xc'));var deskjs=require('desk.js');var toCsv=require(_0xf5b5('0x8'));var querystring=require(_0xf5b5('0xd'));var Papa=require(_0xf5b5('0xe'));var Redis=require(_0xf5b5('0xf'));var authService=require(_0xf5b5('0x10'));var qs=require('../../components/parsers/qs');var as=require('../../components/parsers/advancedSearch');var hardwareService=require('../../config/license/hardware');var logger=require(_0xf5b5('0x11'))(_0xf5b5('0x12'));var utils=require(_0xf5b5('0x13'));var config=require(_0xf5b5('0x14'));var licenseUtil=require(_0xf5b5('0x15'));var db=require(_0xf5b5('0x16'))['db'];function respondWithStatusCode(_0x1ca48d,_0x26b756){_0x26b756=_0x26b756||0xcc;return function(_0x28dc84){if(_0x28dc84){return _0x1ca48d[_0xf5b5('0x17')](_0x26b756);}return _0x1ca48d[_0xf5b5('0x18')](_0x26b756)['end']();};}function respondWithResult(_0x2eb737,_0x4588dd){_0x4588dd=_0x4588dd||0xc8;return function(_0x172be3){if(_0x172be3){return _0x2eb737[_0xf5b5('0x18')](_0x4588dd)[_0xf5b5('0x19')](_0x172be3);}};}function respondWithFilteredResult(_0x396c6c,_0x56b9f0){return function(_0x41c8cc){if(_0x41c8cc){var _0x349f32=typeof _0x56b9f0[_0xf5b5('0x1a')]==='undefined'&&typeof _0x56b9f0['limit']===_0xf5b5('0x1b');var _0x431681=_0x41c8cc[_0xf5b5('0x1c')];var _0x1487fb=_0x349f32?0x0:_0x56b9f0[_0xf5b5('0x1a')];var _0x362f04=_0x349f32?_0x41c8cc[_0xf5b5('0x1c')]:_0x56b9f0[_0xf5b5('0x1a')]+_0x56b9f0[_0xf5b5('0x1d')];var _0x20ff18;if(_0x362f04>=_0x431681){_0x362f04=_0x431681;_0x20ff18=0xc8;}else{_0x20ff18=0xce;}_0x396c6c['status'](_0x20ff18);return _0x396c6c[_0xf5b5('0x1e')](_0xf5b5('0x1f'),_0x1487fb+'-'+_0x362f04+'/'+_0x431681)[_0xf5b5('0x19')](_0x41c8cc);}return null;};}function patchUpdates(_0x4a3d1f){return function(_0x3b4eab){try{jsonpatch[_0xf5b5('0x20')](_0x3b4eab,_0x4a3d1f,!![]);}catch(_0x1be063){return BPromise['reject'](_0x1be063);}return _0x3b4eab[_0xf5b5('0x21')]();};}function saveUpdates(_0x1b48f0,_0x456703){return function(_0x42614f){if(_0x42614f){return _0x42614f[_0xf5b5('0x22')](_0x1b48f0)[_0xf5b5('0x23')](function(_0x2ee67f){return _0x2ee67f;});}return null;};}function removeEntity(_0x57330e,_0x51b7e7){return function(_0x241b44){if(_0x241b44){return _0x241b44[_0xf5b5('0x24')]()[_0xf5b5('0x23')](function(){_0x57330e[_0xf5b5('0x18')](0xcc)[_0xf5b5('0x25')]();});}};}function handleEntityNotFound(_0x5868bc,_0x273342){return function(_0x5c60ab){if(!_0x5c60ab){_0x5868bc[_0xf5b5('0x17')](0x194);}return _0x5c60ab;};}function handleError(_0x57ae15,_0x3f8e8d){_0x3f8e8d=_0x3f8e8d||0x1f4;return function(_0x31529a){logger[_0xf5b5('0x26')](_0x31529a[_0xf5b5('0x27')]);if(_0x31529a[_0xf5b5('0x28')]){delete _0x31529a[_0xf5b5('0x28')];}_0x57ae15[_0xf5b5('0x18')](_0x3f8e8d)[_0xf5b5('0x29')](_0x31529a);};}exports['index']=function(_0x257910,_0x510555){var _0x4b7bd7={},_0x329fb8={},_0x53fa22={'count':0x0,'rows':[]};var _0x567a98=_[_0xf5b5('0x2a')](db[_0xf5b5('0x2b')][_0xf5b5('0x2c')],function(_0x4e923f){return{'name':_0x4e923f[_0xf5b5('0x2d')],'type':_0x4e923f[_0xf5b5('0x2e')][_0xf5b5('0x2f')]};});_0x329fb8[_0xf5b5('0x30')]=_[_0xf5b5('0x2a')](_0x567a98,'name');_0x329fb8[_0xf5b5('0x31')]=_['keys'](_0x257910[_0xf5b5('0x31')]);_0x329fb8['filters']=_[_0xf5b5('0x32')](_0x329fb8['model'],_0x329fb8[_0xf5b5('0x31')]);_0x4b7bd7[_0xf5b5('0x33')]=_['intersection'](_0x329fb8[_0xf5b5('0x30')],qs[_0xf5b5('0x34')](_0x257910[_0xf5b5('0x31')]['fields']));_0x4b7bd7[_0xf5b5('0x33')]=_0x4b7bd7[_0xf5b5('0x33')][_0xf5b5('0x35')]?_0x4b7bd7[_0xf5b5('0x33')]:_0x329fb8[_0xf5b5('0x30')];if(!_0x257910['query'][_0xf5b5('0x36')](_0xf5b5('0x37'))){_0x4b7bd7[_0xf5b5('0x1d')]=qs[_0xf5b5('0x1d')](_0x257910[_0xf5b5('0x31')][_0xf5b5('0x1d')]);_0x4b7bd7[_0xf5b5('0x1a')]=qs[_0xf5b5('0x1a')](_0x257910['query'][_0xf5b5('0x1a')]);}_0x4b7bd7[_0xf5b5('0x38')]=qs[_0xf5b5('0x39')](_0x257910[_0xf5b5('0x31')][_0xf5b5('0x39')]);_0x4b7bd7['where']=qs['filters'](_[_0xf5b5('0x3a')](_0x257910['query'],_0x329fb8[_0xf5b5('0x3b')]),_0x567a98);if(_0x257910[_0xf5b5('0x31')][_0xf5b5('0x3c')]){_0x4b7bd7[_0xf5b5('0x3d')]=_[_0xf5b5('0x3e')](_0x4b7bd7[_0xf5b5('0x3d')],{'$or':_[_0xf5b5('0x2a')](_0x567a98,function(_0x3429d1){if(_0x3429d1[_0xf5b5('0x2e')]!==_0xf5b5('0x3f')){var _0x4536ea={};_0x4536ea[_0x3429d1['name']]={'$like':'%'+_0x257910['query'][_0xf5b5('0x3c')]+'%'};return _0x4536ea;}})});}_0x4b7bd7=_[_0xf5b5('0x3e')]({},_0x4b7bd7,_0x257910['options']);var _0x27ce36={'where':_0x4b7bd7['where']};return db[_0xf5b5('0x2b')][_0xf5b5('0x1c')](_0x27ce36)[_0xf5b5('0x23')](function(_0x3a6470){_0x53fa22[_0xf5b5('0x1c')]=_0x3a6470;if(_0x257910[_0xf5b5('0x31')][_0xf5b5('0x40')]){_0x4b7bd7[_0xf5b5('0x41')]=[{'all':!![]}];}return db[_0xf5b5('0x2b')][_0xf5b5('0x42')](_0x4b7bd7);})[_0xf5b5('0x23')](function(_0x303a3a){_0x53fa22['rows']=_0x303a3a;return _0x53fa22;})[_0xf5b5('0x23')](respondWithFilteredResult(_0x510555,_0x4b7bd7))[_0xf5b5('0x43')](handleError(_0x510555,null));};exports[_0xf5b5('0x44')]=function(_0x5cd681,_0x453164){var _0x16d153={'raw':!![],'where':{'id':_0x5cd681[_0xf5b5('0x45')]['id']}},_0x1d4d3d={};_0x1d4d3d['model']=_[_0xf5b5('0x46')](db['ServicenowField'][_0xf5b5('0x2c')]);_0x1d4d3d[_0xf5b5('0x31')]=_[_0xf5b5('0x46')](_0x5cd681[_0xf5b5('0x31')]);_0x1d4d3d['filters']=_[_0xf5b5('0x32')](_0x1d4d3d[_0xf5b5('0x30')],_0x1d4d3d['query']);_0x16d153[_0xf5b5('0x33')]=_[_0xf5b5('0x32')](_0x1d4d3d['model'],qs['fields'](_0x5cd681[_0xf5b5('0x31')][_0xf5b5('0x34')]));_0x16d153[_0xf5b5('0x33')]=_0x16d153[_0xf5b5('0x33')]['length']?_0x16d153[_0xf5b5('0x33')]:_0x1d4d3d[_0xf5b5('0x30')];if(_0x5cd681[_0xf5b5('0x31')][_0xf5b5('0x40')]){_0x16d153[_0xf5b5('0x41')]=[{'all':!![]}];}_0x16d153=_[_0xf5b5('0x3e')]({},_0x16d153,_0x5cd681[_0xf5b5('0x47')]);return db[_0xf5b5('0x2b')]['find'](_0x16d153)['then'](handleEntityNotFound(_0x453164,null))[_0xf5b5('0x23')](respondWithResult(_0x453164,null))[_0xf5b5('0x43')](handleError(_0x453164,null));};exports['create']=function(_0x2c7791,_0xfcf16e){return db[_0xf5b5('0x2b')][_0xf5b5('0x48')](_0x2c7791[_0xf5b5('0x49')],{})['then'](respondWithResult(_0xfcf16e,0xc9))[_0xf5b5('0x43')](handleError(_0xfcf16e,null));};exports[_0xf5b5('0x22')]=function(_0x414fce,_0x51c401){if(_0x414fce[_0xf5b5('0x49')]['id']){delete _0x414fce[_0xf5b5('0x49')]['id'];}return db['ServicenowField']['find']({'where':{'id':_0x414fce[_0xf5b5('0x45')]['id']}})[_0xf5b5('0x23')](handleEntityNotFound(_0x51c401,null))['then'](saveUpdates(_0x414fce[_0xf5b5('0x49')],null))[_0xf5b5('0x23')](respondWithResult(_0x51c401,null))['catch'](handleError(_0x51c401,null));};exports[_0xf5b5('0x24')]=function(_0x16db96,_0x32a079){return db['ServicenowField'][_0xf5b5('0x4a')]({'where':{'id':_0x16db96['params']['id']}})[_0xf5b5('0x23')](handleEntityNotFound(_0x32a079,null))[_0xf5b5('0x23')](removeEntity(_0x32a079,null))['catch'](handleError(_0x32a079,null));};
\ No newline at end of file