Built motion from commit b5413ace.|2.6.9
[motion2.git] / server / api / openchannelTransferReport / openchannelTransferReport.controller.js
index 9f19219..f484217 100644 (file)
@@ -15,4 +15,4 @@
 // * treaties. The SOFTWARE PRODUCT is licensed, not sold.                        *
 // *                                                                       *
 // *************************************************************************
-var _0x2f67=['fields','hasOwnProperty','limit','order','sort','where','pick','filter','merge','VIRTUAL','options','count','includeAll','include','findAll','catch','find','create','body','params','describe','html-pdf','eml-format','zip-dir','fast-json-patch','request-promise','moment','bluebird','mustache','util','sox','to-csv','ejs','squel','crypto','jsforce','desk.js','querystring','papaparse','ioredis','../../components/auth/service','../../config/license/hardware','api','../../config/utils','../../config/environment','sendStatus','end','status','offset','set','json','save','destroy','then','error','stack','name','index','map','OpenchannelTransferReport','rawAttributes','fieldName','key','keys','query','filters','intersection','model','attributes'];(function(_0x1e2447,_0x5fea89){var _0x306f03=function(_0x11ac2c){while(--_0x11ac2c){_0x1e2447['push'](_0x1e2447['shift']());}};_0x306f03(++_0x5fea89);}(_0x2f67,0x9f));var _0x72f6=function(_0x2ef663,_0x3baaa8){_0x2ef663=_0x2ef663-0x0;var _0x290093=_0x2f67[_0x2ef663];return _0x290093;};'use strict';var pdf=require(_0x72f6('0x0'));var emlformat=require(_0x72f6('0x1'));var rimraf=require('rimraf');var zipdir=require(_0x72f6('0x2'));var jsonpatch=require(_0x72f6('0x3'));var rp=require(_0x72f6('0x4'));var moment=require(_0x72f6('0x5'));var BPromise=require(_0x72f6('0x6'));var Mustache=require(_0x72f6('0x7'));var util=require(_0x72f6('0x8'));var path=require('path');var sox=require(_0x72f6('0x9'));var csv=require(_0x72f6('0xa'));var ejs=require(_0x72f6('0xb'));var fs=require('fs');var _=require('lodash');var squel=require(_0x72f6('0xc'));var crypto=require(_0x72f6('0xd'));var jsforce=require(_0x72f6('0xe'));var deskjs=require(_0x72f6('0xf'));var toCsv=require('to-csv');var querystring=require(_0x72f6('0x10'));var Papa=require(_0x72f6('0x11'));var Redis=require(_0x72f6('0x12'));var authService=require(_0x72f6('0x13'));var qs=require('../../components/parsers/qs');var as=require('../../components/parsers/advancedSearch');var hardwareService=require(_0x72f6('0x14'));var logger=require('../../config/logger')(_0x72f6('0x15'));var utils=require(_0x72f6('0x16'));var config=require(_0x72f6('0x17'));var db=require('../../mysqldb')['db'];function respondWithStatusCode(_0x3cc0f3,_0x1bdd3d){_0x1bdd3d=_0x1bdd3d||0xcc;return function(_0x5afa8f){if(_0x5afa8f){return _0x3cc0f3[_0x72f6('0x18')](_0x1bdd3d);}return _0x3cc0f3['status'](_0x1bdd3d)[_0x72f6('0x19')]();};}function respondWithResult(_0x382e9d,_0xcbd50){_0xcbd50=_0xcbd50||0xc8;return function(_0x3ef3b4){if(_0x3ef3b4){return _0x382e9d[_0x72f6('0x1a')](_0xcbd50)['json'](_0x3ef3b4);}};}function respondWithFilteredResult(_0x4ccf4f,_0x217818){return function(_0x36eb77){if(_0x36eb77){var _0x4c6887=_0x36eb77['count'],_0x51f424=_0x217818[_0x72f6('0x1b')],_0x545339=_0x217818['offset']+_0x217818['limit'],_0x143566;if(_0x545339>=_0x4c6887){_0x545339=_0x4c6887;_0x143566=0xc8;}else{_0x143566=0xce;}_0x4ccf4f[_0x72f6('0x1a')](_0x143566);return _0x4ccf4f[_0x72f6('0x1c')]('Content-Range',_0x51f424+'-'+_0x545339+'/'+_0x4c6887)[_0x72f6('0x1d')](_0x36eb77);}return null;};}function patchUpdates(_0x51651f){return function(_0x63fd64){try{jsonpatch['apply'](_0x63fd64,_0x51651f,!![]);}catch(_0xa63218){return BPromise['reject'](_0xa63218);}return _0x63fd64[_0x72f6('0x1e')]();};}function saveUpdates(_0x549f28,_0x1c427c){return function(_0x593716){if(_0x593716){return _0x593716['update'](_0x549f28)['then'](function(_0x5c2aa7){return _0x5c2aa7;});}return null;};}function removeEntity(_0x51b0c7,_0x50c89a){return function(_0xb75894){if(_0xb75894){return _0xb75894[_0x72f6('0x1f')]()[_0x72f6('0x20')](function(){_0x51b0c7[_0x72f6('0x1a')](0xcc)['end']();});}};}function handleEntityNotFound(_0x1cb8a4,_0x57a02d){return function(_0x7c4024){if(!_0x7c4024){_0x1cb8a4[_0x72f6('0x18')](0x194);}return _0x7c4024;};}function handleError(_0x4a87f1,_0xa08864){_0xa08864=_0xa08864||0x1f4;return function(_0x583804){logger[_0x72f6('0x21')](_0x583804[_0x72f6('0x22')]);if(_0x583804[_0x72f6('0x23')]){delete _0x583804[_0x72f6('0x23')];}_0x4a87f1[_0x72f6('0x1a')](_0xa08864)['send'](_0x583804);};}exports[_0x72f6('0x24')]=function(_0x45e3bb,_0x55b87a){var _0x32efea={},_0x14829d={},_0x197fb9={'count':0x0,'rows':[]};var _0x52da2a=_[_0x72f6('0x25')](db[_0x72f6('0x26')][_0x72f6('0x27')],function(_0x4da2ff){return{'name':_0x4da2ff[_0x72f6('0x28')],'type':_0x4da2ff['type'][_0x72f6('0x29')]};});_0x14829d['model']=_[_0x72f6('0x25')](_0x52da2a,_0x72f6('0x23'));_0x14829d['query']=_[_0x72f6('0x2a')](_0x45e3bb[_0x72f6('0x2b')]);_0x14829d[_0x72f6('0x2c')]=_[_0x72f6('0x2d')](_0x14829d[_0x72f6('0x2e')],_0x14829d[_0x72f6('0x2b')]);_0x32efea[_0x72f6('0x2f')]=_[_0x72f6('0x2d')](_0x14829d['model'],qs[_0x72f6('0x30')](_0x45e3bb[_0x72f6('0x2b')][_0x72f6('0x30')]));_0x32efea[_0x72f6('0x2f')]=_0x32efea[_0x72f6('0x2f')]['length']?_0x32efea[_0x72f6('0x2f')]:_0x14829d['model'];if(!_0x45e3bb['query'][_0x72f6('0x31')]('nolimit')){_0x32efea[_0x72f6('0x32')]=qs['limit'](_0x45e3bb[_0x72f6('0x2b')][_0x72f6('0x32')]);_0x32efea['offset']=qs[_0x72f6('0x1b')](_0x45e3bb[_0x72f6('0x2b')][_0x72f6('0x1b')]);}_0x32efea[_0x72f6('0x33')]=qs[_0x72f6('0x34')](_0x45e3bb['query'][_0x72f6('0x34')]);_0x32efea[_0x72f6('0x35')]=qs['filters'](_[_0x72f6('0x36')](_0x45e3bb[_0x72f6('0x2b')],_0x14829d['filters']));if(_0x45e3bb['query'][_0x72f6('0x37')]){_0x32efea[_0x72f6('0x35')]=_[_0x72f6('0x38')](_0x32efea['where'],{'$or':_['map'](_0x52da2a,function(_0x18be61){if(_0x18be61['type']!==_0x72f6('0x39')){var _0x437450={};_0x437450[_0x18be61[_0x72f6('0x23')]]={'$like':'%'+_0x45e3bb[_0x72f6('0x2b')][_0x72f6('0x37')]+'%'};return _0x437450;}})});}_0x32efea=_[_0x72f6('0x38')]({},_0x32efea,_0x45e3bb[_0x72f6('0x3a')]);var _0x4f32a7={'where':_0x32efea['where']};return db['OpenchannelTransferReport'][_0x72f6('0x3b')](_0x4f32a7)[_0x72f6('0x20')](function(_0x4fce86){_0x197fb9[_0x72f6('0x3b')]=_0x4fce86;if(_0x45e3bb[_0x72f6('0x2b')][_0x72f6('0x3c')]){_0x32efea[_0x72f6('0x3d')]=[{'all':!![]}];}return db['OpenchannelTransferReport'][_0x72f6('0x3e')](_0x32efea);})['then'](function(_0x2d6259){_0x197fb9['rows']=_0x2d6259;return _0x197fb9;})[_0x72f6('0x20')](respondWithFilteredResult(_0x55b87a,_0x32efea))[_0x72f6('0x3f')](handleError(_0x55b87a,null));};exports['show']=function(_0x45f658,_0x4e4d3a){var _0x95cd9c={'raw':!![],'where':{'id':_0x45f658['params']['id']}},_0x34dfcf={};_0x34dfcf[_0x72f6('0x2e')]=_[_0x72f6('0x2a')](db[_0x72f6('0x26')][_0x72f6('0x27')]);_0x34dfcf[_0x72f6('0x2b')]=_['keys'](_0x45f658[_0x72f6('0x2b')]);_0x34dfcf['filters']=_['intersection'](_0x34dfcf[_0x72f6('0x2e')],_0x34dfcf['query']);_0x95cd9c[_0x72f6('0x2f')]=_['intersection'](_0x34dfcf[_0x72f6('0x2e')],qs['fields'](_0x45f658[_0x72f6('0x2b')][_0x72f6('0x30')]));_0x95cd9c[_0x72f6('0x2f')]=_0x95cd9c[_0x72f6('0x2f')]['length']?_0x95cd9c['attributes']:_0x34dfcf[_0x72f6('0x2e')];if(_0x45f658[_0x72f6('0x2b')][_0x72f6('0x3c')]){_0x95cd9c[_0x72f6('0x3d')]=[{'all':!![]}];}_0x95cd9c=_['merge']({},_0x95cd9c,_0x45f658[_0x72f6('0x3a')]);return db['OpenchannelTransferReport'][_0x72f6('0x40')](_0x95cd9c)[_0x72f6('0x20')](handleEntityNotFound(_0x4e4d3a,null))[_0x72f6('0x20')](respondWithResult(_0x4e4d3a,null))[_0x72f6('0x3f')](handleError(_0x4e4d3a,null));};exports[_0x72f6('0x41')]=function(_0x6c17d8,_0x4aa624){return db[_0x72f6('0x26')][_0x72f6('0x41')](_0x6c17d8[_0x72f6('0x42')],{})['then'](respondWithResult(_0x4aa624,0xc9))['catch'](handleError(_0x4aa624,null));};exports['update']=function(_0x5d157b,_0x4179fd){if(_0x5d157b[_0x72f6('0x42')]['id']){delete _0x5d157b[_0x72f6('0x42')]['id'];}return db[_0x72f6('0x26')]['find']({'where':{'id':_0x5d157b['params']['id']}})[_0x72f6('0x20')](handleEntityNotFound(_0x4179fd,null))[_0x72f6('0x20')](saveUpdates(_0x5d157b['body'],null))[_0x72f6('0x20')](respondWithResult(_0x4179fd,null))[_0x72f6('0x3f')](handleError(_0x4179fd,null));};exports[_0x72f6('0x1f')]=function(_0x5b1d83,_0x3ab522){return db['OpenchannelTransferReport'][_0x72f6('0x40')]({'where':{'id':_0x5b1d83[_0x72f6('0x43')]['id']}})[_0x72f6('0x20')](handleEntityNotFound(_0x3ab522,null))['then'](removeEntity(_0x3ab522,null))[_0x72f6('0x3f')](handleError(_0x3ab522,null));};exports[_0x72f6('0x44')]=function(_0x285ebc,_0x5da755){return db['OpenchannelTransferReport'][_0x72f6('0x44')]()['then'](respondWithResult(_0x5da755,null))['catch'](handleError(_0x5da755,null));};
\ No newline at end of file
+var _0x2c5a=['order','sort','where','filters','pick','filter','merge','options','includeAll','include','findAll','rows','catch','show','params','length','find','create','body','describe','eml-format','rimraf','zip-dir','fast-json-patch','request-promise','bluebird','mustache','util','path','to-csv','ejs','fs-extra','lodash','squel','crypto','jsforce','ioredis','../../components/auth/service','../../components/parsers/qs','../../components/parsers/advancedSearch','../../config/license/hardware','../../config/logger','../../config/utils','../../config/license/util','../../mysqldb','sendStatus','status','end','json','offset','count','set','Content-Range','apply','reject','save','update','destroy','then','stack','name','send','map','OpenchannelTransferReport','rawAttributes','fieldName','type','key','model','query','keys','intersection','attributes','fields','hasOwnProperty','nolimit','limit'];(function(_0x13b02f,_0x462a53){var _0x12e9a6=function(_0x187d57){while(--_0x187d57){_0x13b02f['push'](_0x13b02f['shift']());}};_0x12e9a6(++_0x462a53);}(_0x2c5a,0x195));var _0xa2c5=function(_0x3e6d6d,_0x1a67aa){_0x3e6d6d=_0x3e6d6d-0x0;var _0x1fca73=_0x2c5a[_0x3e6d6d];return _0x1fca73;};'use strict';var emlformat=require(_0xa2c5('0x0'));var rimraf=require(_0xa2c5('0x1'));var zipdir=require(_0xa2c5('0x2'));var jsonpatch=require(_0xa2c5('0x3'));var rp=require(_0xa2c5('0x4'));var moment=require('moment');var BPromise=require(_0xa2c5('0x5'));var Mustache=require(_0xa2c5('0x6'));var util=require(_0xa2c5('0x7'));var path=require(_0xa2c5('0x8'));var sox=require('sox');var csv=require(_0xa2c5('0x9'));var ejs=require(_0xa2c5('0xa'));var fs=require('fs');var fs_extra=require(_0xa2c5('0xb'));var _=require(_0xa2c5('0xc'));var squel=require(_0xa2c5('0xd'));var crypto=require(_0xa2c5('0xe'));var jsforce=require(_0xa2c5('0xf'));var deskjs=require('desk.js');var toCsv=require('to-csv');var querystring=require('querystring');var Papa=require('papaparse');var Redis=require(_0xa2c5('0x10'));var authService=require(_0xa2c5('0x11'));var qs=require(_0xa2c5('0x12'));var as=require(_0xa2c5('0x13'));var hardwareService=require(_0xa2c5('0x14'));var logger=require(_0xa2c5('0x15'))('api');var utils=require(_0xa2c5('0x16'));var config=require('../../config/environment');var licenseUtil=require(_0xa2c5('0x17'));var db=require(_0xa2c5('0x18'))['db'];function respondWithStatusCode(_0x5f3795,_0x3296e1){_0x3296e1=_0x3296e1||0xcc;return function(_0x2e9ec8){if(_0x2e9ec8){return _0x5f3795[_0xa2c5('0x19')](_0x3296e1);}return _0x5f3795[_0xa2c5('0x1a')](_0x3296e1)[_0xa2c5('0x1b')]();};}function respondWithResult(_0x1b3c33,_0x3f4ce9){_0x3f4ce9=_0x3f4ce9||0xc8;return function(_0x4baa9c){if(_0x4baa9c){return _0x1b3c33[_0xa2c5('0x1a')](_0x3f4ce9)[_0xa2c5('0x1c')](_0x4baa9c);}};}function respondWithFilteredResult(_0x3c8840,_0x315c98){return function(_0x529287){if(_0x529287){var _0x263631=typeof _0x315c98[_0xa2c5('0x1d')]==='undefined'&&typeof _0x315c98['limit']==='undefined';var _0x357a52=_0x529287[_0xa2c5('0x1e')];var _0x12fa96=_0x263631?0x0:_0x315c98[_0xa2c5('0x1d')];var _0x2e7332=_0x263631?_0x529287[_0xa2c5('0x1e')]:_0x315c98[_0xa2c5('0x1d')]+_0x315c98['limit'];var _0x17e904;if(_0x2e7332>=_0x357a52){_0x2e7332=_0x357a52;_0x17e904=0xc8;}else{_0x17e904=0xce;}_0x3c8840[_0xa2c5('0x1a')](_0x17e904);return _0x3c8840[_0xa2c5('0x1f')](_0xa2c5('0x20'),_0x12fa96+'-'+_0x2e7332+'/'+_0x357a52)[_0xa2c5('0x1c')](_0x529287);}return null;};}function patchUpdates(_0x1081c3){return function(_0x56d36f){try{jsonpatch[_0xa2c5('0x21')](_0x56d36f,_0x1081c3,!![]);}catch(_0x2f12fa){return BPromise[_0xa2c5('0x22')](_0x2f12fa);}return _0x56d36f[_0xa2c5('0x23')]();};}function saveUpdates(_0x2ee8a7,_0x1dc10c){return function(_0x1d5a62){if(_0x1d5a62){return _0x1d5a62[_0xa2c5('0x24')](_0x2ee8a7)['then'](function(_0x5cb578){return _0x5cb578;});}return null;};}function removeEntity(_0x31f055,_0x201596){return function(_0x12c641){if(_0x12c641){return _0x12c641[_0xa2c5('0x25')]()[_0xa2c5('0x26')](function(){_0x31f055[_0xa2c5('0x1a')](0xcc)[_0xa2c5('0x1b')]();});}};}function handleEntityNotFound(_0x442863,_0x57bec4){return function(_0x3916a1){if(!_0x3916a1){_0x442863[_0xa2c5('0x19')](0x194);}return _0x3916a1;};}function handleError(_0x50a1a6,_0x43b855){_0x43b855=_0x43b855||0x1f4;return function(_0x20c4bc){logger['error'](_0x20c4bc[_0xa2c5('0x27')]);if(_0x20c4bc[_0xa2c5('0x28')]){delete _0x20c4bc[_0xa2c5('0x28')];}_0x50a1a6[_0xa2c5('0x1a')](_0x43b855)[_0xa2c5('0x29')](_0x20c4bc);};}exports['index']=function(_0x438868,_0x39d521){var _0xb7e798={},_0x509970={},_0x586f09={'count':0x0,'rows':[]};var _0x1e8cff=_[_0xa2c5('0x2a')](db[_0xa2c5('0x2b')][_0xa2c5('0x2c')],function(_0x2e533a){return{'name':_0x2e533a[_0xa2c5('0x2d')],'type':_0x2e533a[_0xa2c5('0x2e')][_0xa2c5('0x2f')]};});_0x509970[_0xa2c5('0x30')]=_[_0xa2c5('0x2a')](_0x1e8cff,_0xa2c5('0x28'));_0x509970[_0xa2c5('0x31')]=_[_0xa2c5('0x32')](_0x438868[_0xa2c5('0x31')]);_0x509970['filters']=_[_0xa2c5('0x33')](_0x509970['model'],_0x509970[_0xa2c5('0x31')]);_0xb7e798[_0xa2c5('0x34')]=_[_0xa2c5('0x33')](_0x509970[_0xa2c5('0x30')],qs['fields'](_0x438868[_0xa2c5('0x31')][_0xa2c5('0x35')]));_0xb7e798[_0xa2c5('0x34')]=_0xb7e798[_0xa2c5('0x34')]['length']?_0xb7e798[_0xa2c5('0x34')]:_0x509970['model'];if(!_0x438868[_0xa2c5('0x31')][_0xa2c5('0x36')](_0xa2c5('0x37'))){_0xb7e798[_0xa2c5('0x38')]=qs[_0xa2c5('0x38')](_0x438868[_0xa2c5('0x31')][_0xa2c5('0x38')]);_0xb7e798[_0xa2c5('0x1d')]=qs['offset'](_0x438868[_0xa2c5('0x31')]['offset']);}_0xb7e798[_0xa2c5('0x39')]=qs[_0xa2c5('0x3a')](_0x438868[_0xa2c5('0x31')]['sort']);_0xb7e798[_0xa2c5('0x3b')]=qs[_0xa2c5('0x3c')](_[_0xa2c5('0x3d')](_0x438868[_0xa2c5('0x31')],_0x509970[_0xa2c5('0x3c')]),_0x1e8cff);if(_0x438868[_0xa2c5('0x31')][_0xa2c5('0x3e')]){_0xb7e798[_0xa2c5('0x3b')]=_[_0xa2c5('0x3f')](_0xb7e798[_0xa2c5('0x3b')],{'$or':_[_0xa2c5('0x2a')](_0x1e8cff,function(_0x137508){if(_0x137508[_0xa2c5('0x2e')]!=='VIRTUAL'){var _0xe24ca9={};_0xe24ca9[_0x137508[_0xa2c5('0x28')]]={'$like':'%'+_0x438868['query']['filter']+'%'};return _0xe24ca9;}})});}_0xb7e798=_[_0xa2c5('0x3f')]({},_0xb7e798,_0x438868[_0xa2c5('0x40')]);var _0x19fde9={'where':_0xb7e798[_0xa2c5('0x3b')]};return db['OpenchannelTransferReport']['count'](_0x19fde9)['then'](function(_0x544a67){_0x586f09['count']=_0x544a67;if(_0x438868['query'][_0xa2c5('0x41')]){_0xb7e798[_0xa2c5('0x42')]=[{'all':!![]}];}return db['OpenchannelTransferReport'][_0xa2c5('0x43')](_0xb7e798);})['then'](function(_0x2293a4){_0x586f09[_0xa2c5('0x44')]=_0x2293a4;return _0x586f09;})['then'](respondWithFilteredResult(_0x39d521,_0xb7e798))[_0xa2c5('0x45')](handleError(_0x39d521,null));};exports[_0xa2c5('0x46')]=function(_0x59d7b5,_0x232e31){var _0x4163df={'raw':!![],'where':{'id':_0x59d7b5[_0xa2c5('0x47')]['id']}},_0x526beb={};_0x526beb[_0xa2c5('0x30')]=_['keys'](db['OpenchannelTransferReport'][_0xa2c5('0x2c')]);_0x526beb['query']=_[_0xa2c5('0x32')](_0x59d7b5[_0xa2c5('0x31')]);_0x526beb[_0xa2c5('0x3c')]=_[_0xa2c5('0x33')](_0x526beb[_0xa2c5('0x30')],_0x526beb[_0xa2c5('0x31')]);_0x4163df['attributes']=_[_0xa2c5('0x33')](_0x526beb[_0xa2c5('0x30')],qs[_0xa2c5('0x35')](_0x59d7b5[_0xa2c5('0x31')][_0xa2c5('0x35')]));_0x4163df[_0xa2c5('0x34')]=_0x4163df[_0xa2c5('0x34')][_0xa2c5('0x48')]?_0x4163df[_0xa2c5('0x34')]:_0x526beb[_0xa2c5('0x30')];if(_0x59d7b5[_0xa2c5('0x31')][_0xa2c5('0x41')]){_0x4163df[_0xa2c5('0x42')]=[{'all':!![]}];}_0x4163df=_['merge']({},_0x4163df,_0x59d7b5[_0xa2c5('0x40')]);return db[_0xa2c5('0x2b')][_0xa2c5('0x49')](_0x4163df)['then'](handleEntityNotFound(_0x232e31,null))[_0xa2c5('0x26')](respondWithResult(_0x232e31,null))[_0xa2c5('0x45')](handleError(_0x232e31,null));};exports[_0xa2c5('0x4a')]=function(_0x47bcaf,_0x1f5210){return db[_0xa2c5('0x2b')][_0xa2c5('0x4a')](_0x47bcaf[_0xa2c5('0x4b')],{})[_0xa2c5('0x26')](respondWithResult(_0x1f5210,0xc9))[_0xa2c5('0x45')](handleError(_0x1f5210,null));};exports[_0xa2c5('0x24')]=function(_0x559cb3,_0x61047a){if(_0x559cb3[_0xa2c5('0x4b')]['id']){delete _0x559cb3[_0xa2c5('0x4b')]['id'];}return db[_0xa2c5('0x2b')][_0xa2c5('0x49')]({'where':{'id':_0x559cb3[_0xa2c5('0x47')]['id']}})['then'](handleEntityNotFound(_0x61047a,null))[_0xa2c5('0x26')](saveUpdates(_0x559cb3[_0xa2c5('0x4b')],null))[_0xa2c5('0x26')](respondWithResult(_0x61047a,null))[_0xa2c5('0x45')](handleError(_0x61047a,null));};exports[_0xa2c5('0x25')]=function(_0x975a66,_0x396db2){return db['OpenchannelTransferReport'][_0xa2c5('0x49')]({'where':{'id':_0x975a66[_0xa2c5('0x47')]['id']}})[_0xa2c5('0x26')](handleEntityNotFound(_0x396db2,null))[_0xa2c5('0x26')](removeEntity(_0x396db2,null))['catch'](handleError(_0x396db2,null));};exports['describe']=function(_0x49ab86,_0x42dbe4){return db[_0xa2c5('0x2b')][_0xa2c5('0x4c')]()[_0xa2c5('0x26')](respondWithResult(_0x42dbe4,null))[_0xa2c5('0x45')](handleError(_0x42dbe4,null));};
\ No newline at end of file