Built motion from commit 10af8726.|2.6.34
[motion2.git] / server / api / faxQueueReport / faxQueueReport.controller.js
index 01c993b..ca7cd57 100644 (file)
@@ -15,4 +15,4 @@
 // * treaties. The SOFTWARE PRODUCT is licensed, not sold.                        *
 // *                                                                       *
 // *************************************************************************
-var _0x2c6a=['fields','attributes','hasOwnProperty','order','sort','where','pick','VIRTUAL','filter','options','FaxQueueReport','findAll','show','params','include','merge','find','catch','create','body','describe','eml-format','rimraf','zip-dir','fast-json-patch','bluebird','util','path','sox','to-csv','lodash','squel','crypto','jsforce','desk.js','querystring','ioredis','../../components/auth/service','../../components/parsers/qs','../../components/parsers/advancedSearch','../../config/logger','../../config/utils','../../config/environment','../../config/license/util','../../mysqldb','sendStatus','end','status','offset','undefined','count','limit','set','Content-Range','json','reject','update','destroy','then','error','stack','name','send','index','fieldName','type','key','map','query','keys','filters','intersection','model'];(function(_0xa0be1c,_0x152d5d){var _0x546eec=function(_0x371eae){while(--_0x371eae){_0xa0be1c['push'](_0xa0be1c['shift']());}};_0x546eec(++_0x152d5d);}(_0x2c6a,0xa7));var _0xa2c6=function(_0x3dd15e,_0x1f0015){_0x3dd15e=_0x3dd15e-0x0;var _0x231fd0=_0x2c6a[_0x3dd15e];return _0x231fd0;};'use strict';var emlformat=require(_0xa2c6('0x0'));var rimraf=require(_0xa2c6('0x1'));var zipdir=require(_0xa2c6('0x2'));var jsonpatch=require(_0xa2c6('0x3'));var rp=require('request-promise');var moment=require('moment');var BPromise=require(_0xa2c6('0x4'));var Mustache=require('mustache');var util=require(_0xa2c6('0x5'));var path=require(_0xa2c6('0x6'));var sox=require(_0xa2c6('0x7'));var csv=require(_0xa2c6('0x8'));var ejs=require('ejs');var fs=require('fs');var fs_extra=require('fs-extra');var _=require(_0xa2c6('0x9'));var squel=require(_0xa2c6('0xa'));var crypto=require(_0xa2c6('0xb'));var jsforce=require(_0xa2c6('0xc'));var deskjs=require(_0xa2c6('0xd'));var toCsv=require(_0xa2c6('0x8'));var querystring=require(_0xa2c6('0xe'));var Papa=require('papaparse');var Redis=require(_0xa2c6('0xf'));var authService=require(_0xa2c6('0x10'));var qs=require(_0xa2c6('0x11'));var as=require(_0xa2c6('0x12'));var hardwareService=require('../../config/license/hardware');var logger=require(_0xa2c6('0x13'))('api');var utils=require(_0xa2c6('0x14'));var config=require(_0xa2c6('0x15'));var licenseUtil=require(_0xa2c6('0x16'));var db=require(_0xa2c6('0x17'))['db'];function respondWithStatusCode(_0x4955be,_0x2897ee){_0x2897ee=_0x2897ee||0xcc;return function(_0x3234b6){if(_0x3234b6){return _0x4955be[_0xa2c6('0x18')](_0x2897ee);}return _0x4955be['status'](_0x2897ee)[_0xa2c6('0x19')]();};}function respondWithResult(_0x1dc749,_0x3ebb15){_0x3ebb15=_0x3ebb15||0xc8;return function(_0x1bc1dc){if(_0x1bc1dc){return _0x1dc749[_0xa2c6('0x1a')](_0x3ebb15)['json'](_0x1bc1dc);}};}function respondWithFilteredResult(_0x412229,_0x374404){return function(_0x43b97b){if(_0x43b97b){var _0x354dff=typeof _0x374404[_0xa2c6('0x1b')]===_0xa2c6('0x1c')&&typeof _0x374404['limit']===_0xa2c6('0x1c');var _0x4d49f8=_0x43b97b[_0xa2c6('0x1d')];var _0x114424=_0x354dff?0x0:_0x374404[_0xa2c6('0x1b')];var _0x2479bd=_0x354dff?_0x43b97b[_0xa2c6('0x1d')]:_0x374404[_0xa2c6('0x1b')]+_0x374404[_0xa2c6('0x1e')];var _0x2b3d6e;if(_0x2479bd>=_0x4d49f8){_0x2479bd=_0x4d49f8;_0x2b3d6e=0xc8;}else{_0x2b3d6e=0xce;}_0x412229['status'](_0x2b3d6e);return _0x412229[_0xa2c6('0x1f')](_0xa2c6('0x20'),_0x114424+'-'+_0x2479bd+'/'+_0x4d49f8)[_0xa2c6('0x21')](_0x43b97b);}return null;};}function patchUpdates(_0x21ec92){return function(_0x2a2fc9){try{jsonpatch['apply'](_0x2a2fc9,_0x21ec92,!![]);}catch(_0x35dd2a){return BPromise[_0xa2c6('0x22')](_0x35dd2a);}return _0x2a2fc9['save']();};}function saveUpdates(_0x20a86e,_0x58530d){return function(_0x8b2eea){if(_0x8b2eea){return _0x8b2eea[_0xa2c6('0x23')](_0x20a86e)['then'](function(_0x291057){return _0x291057;});}return null;};}function removeEntity(_0x5aabe2,_0x19a765){return function(_0x168de7){if(_0x168de7){return _0x168de7[_0xa2c6('0x24')]()[_0xa2c6('0x25')](function(){_0x5aabe2[_0xa2c6('0x1a')](0xcc)['end']();});}};}function handleEntityNotFound(_0x2ed646,_0x4e9dcc){return function(_0x14c01e){if(!_0x14c01e){_0x2ed646[_0xa2c6('0x18')](0x194);}return _0x14c01e;};}function handleError(_0x5d687a,_0x2cedee){_0x2cedee=_0x2cedee||0x1f4;return function(_0x4485d4){logger[_0xa2c6('0x26')](_0x4485d4[_0xa2c6('0x27')]);if(_0x4485d4[_0xa2c6('0x28')]){delete _0x4485d4[_0xa2c6('0x28')];}_0x5d687a[_0xa2c6('0x1a')](_0x2cedee)[_0xa2c6('0x29')](_0x4485d4);};}exports[_0xa2c6('0x2a')]=function(_0x57d67a,_0x1655f8){var _0x46b082={},_0x233284={},_0x3702ec={'count':0x0,'rows':[]};var _0x598341=_['map'](db['FaxQueueReport']['rawAttributes'],function(_0xa6df69){return{'name':_0xa6df69[_0xa2c6('0x2b')],'type':_0xa6df69[_0xa2c6('0x2c')][_0xa2c6('0x2d')]};});_0x233284['model']=_[_0xa2c6('0x2e')](_0x598341,_0xa2c6('0x28'));_0x233284[_0xa2c6('0x2f')]=_[_0xa2c6('0x30')](_0x57d67a[_0xa2c6('0x2f')]);_0x233284[_0xa2c6('0x31')]=_[_0xa2c6('0x32')](_0x233284[_0xa2c6('0x33')],_0x233284[_0xa2c6('0x2f')]);_0x46b082['attributes']=_[_0xa2c6('0x32')](_0x233284[_0xa2c6('0x33')],qs[_0xa2c6('0x34')](_0x57d67a['query'][_0xa2c6('0x34')]));_0x46b082[_0xa2c6('0x35')]=_0x46b082['attributes']['length']?_0x46b082[_0xa2c6('0x35')]:_0x233284[_0xa2c6('0x33')];if(!_0x57d67a[_0xa2c6('0x2f')][_0xa2c6('0x36')]('nolimit')){_0x46b082[_0xa2c6('0x1e')]=qs[_0xa2c6('0x1e')](_0x57d67a[_0xa2c6('0x2f')][_0xa2c6('0x1e')]);_0x46b082[_0xa2c6('0x1b')]=qs[_0xa2c6('0x1b')](_0x57d67a[_0xa2c6('0x2f')]['offset']);}_0x46b082[_0xa2c6('0x37')]=qs[_0xa2c6('0x38')](_0x57d67a[_0xa2c6('0x2f')][_0xa2c6('0x38')]);_0x46b082[_0xa2c6('0x39')]=qs[_0xa2c6('0x31')](_[_0xa2c6('0x3a')](_0x57d67a['query'],_0x233284[_0xa2c6('0x31')]),_0x598341);if(_0x57d67a[_0xa2c6('0x2f')]['filter']){_0x46b082[_0xa2c6('0x39')]=_['merge'](_0x46b082[_0xa2c6('0x39')],{'$or':_[_0xa2c6('0x2e')](_0x598341,function(_0x5d23d9){if(_0x5d23d9[_0xa2c6('0x2c')]!==_0xa2c6('0x3b')){var _0x5a7db0={};_0x5a7db0[_0x5d23d9[_0xa2c6('0x28')]]={'$like':'%'+_0x57d67a[_0xa2c6('0x2f')][_0xa2c6('0x3c')]+'%'};return _0x5a7db0;}})});}_0x46b082=_['merge']({},_0x46b082,_0x57d67a[_0xa2c6('0x3d')]);var _0x56561a={'where':_0x46b082['where']};return db[_0xa2c6('0x3e')][_0xa2c6('0x1d')](_0x56561a)[_0xa2c6('0x25')](function(_0x27ed9e){_0x3702ec[_0xa2c6('0x1d')]=_0x27ed9e;if(_0x57d67a[_0xa2c6('0x2f')]['includeAll']){_0x46b082['include']=[{'all':!![]}];}return db[_0xa2c6('0x3e')][_0xa2c6('0x3f')](_0x46b082);})['then'](function(_0x2b0267){_0x3702ec['rows']=_0x2b0267;return _0x3702ec;})['then'](respondWithFilteredResult(_0x1655f8,_0x46b082))['catch'](handleError(_0x1655f8,null));};exports[_0xa2c6('0x40')]=function(_0x219942,_0x55b0fb){var _0x2a2895={'raw':!![],'where':{'id':_0x219942[_0xa2c6('0x41')]['id']}},_0x25acce={};_0x25acce[_0xa2c6('0x33')]=_['keys'](db[_0xa2c6('0x3e')]['rawAttributes']);_0x25acce[_0xa2c6('0x2f')]=_[_0xa2c6('0x30')](_0x219942[_0xa2c6('0x2f')]);_0x25acce['filters']=_['intersection'](_0x25acce[_0xa2c6('0x33')],_0x25acce[_0xa2c6('0x2f')]);_0x2a2895[_0xa2c6('0x35')]=_[_0xa2c6('0x32')](_0x25acce[_0xa2c6('0x33')],qs[_0xa2c6('0x34')](_0x219942[_0xa2c6('0x2f')][_0xa2c6('0x34')]));_0x2a2895[_0xa2c6('0x35')]=_0x2a2895['attributes']['length']?_0x2a2895[_0xa2c6('0x35')]:_0x25acce['model'];if(_0x219942[_0xa2c6('0x2f')]['includeAll']){_0x2a2895[_0xa2c6('0x42')]=[{'all':!![]}];}_0x2a2895=_[_0xa2c6('0x43')]({},_0x2a2895,_0x219942[_0xa2c6('0x3d')]);return db[_0xa2c6('0x3e')][_0xa2c6('0x44')](_0x2a2895)[_0xa2c6('0x25')](handleEntityNotFound(_0x55b0fb,null))['then'](respondWithResult(_0x55b0fb,null))[_0xa2c6('0x45')](handleError(_0x55b0fb,null));};exports[_0xa2c6('0x46')]=function(_0x4a66cb,_0x4fcf2e){return db[_0xa2c6('0x3e')]['create'](_0x4a66cb[_0xa2c6('0x47')],{})[_0xa2c6('0x25')](respondWithResult(_0x4fcf2e,0xc9))[_0xa2c6('0x45')](handleError(_0x4fcf2e,null));};exports['update']=function(_0x24e819,_0x2d7341){if(_0x24e819[_0xa2c6('0x47')]['id']){delete _0x24e819[_0xa2c6('0x47')]['id'];}return db[_0xa2c6('0x3e')]['find']({'where':{'id':_0x24e819['params']['id']}})[_0xa2c6('0x25')](handleEntityNotFound(_0x2d7341,null))[_0xa2c6('0x25')](saveUpdates(_0x24e819['body'],null))['then'](respondWithResult(_0x2d7341,null))['catch'](handleError(_0x2d7341,null));};exports[_0xa2c6('0x24')]=function(_0x106c29,_0x56fd27){return db[_0xa2c6('0x3e')]['find']({'where':{'id':_0x106c29[_0xa2c6('0x41')]['id']}})[_0xa2c6('0x25')](handleEntityNotFound(_0x56fd27,null))[_0xa2c6('0x25')](removeEntity(_0x56fd27,null))[_0xa2c6('0x45')](handleError(_0x56fd27,null));};exports[_0xa2c6('0x48')]=function(_0x153f3d,_0x135cde){return db['FaxQueueReport'][_0xa2c6('0x48')]()[_0xa2c6('0x25')](respondWithResult(_0x135cde,null))[_0xa2c6('0x45')](handleError(_0x135cde,null));};
\ No newline at end of file
+var _0x867f=['catch','params','rawAttributes','keys','find','create','body','describe','eml-format','rimraf','zip-dir','fast-json-patch','request-promise','moment','bluebird','mustache','util','to-csv','ejs','fs-extra','lodash','squel','desk.js','querystring','papaparse','ioredis','../../components/auth/service','../../components/parsers/qs','../../components/parsers/advancedSearch','../../config/license/hardware','../../config/logger','../../config/utils','../../mysqldb','status','json','offset','undefined','limit','count','apply','reject','save','update','destroy','end','sendStatus','error','stack','name','send','index','map','FaxQueueReport','fieldName','type','key','model','query','intersection','attributes','fields','hasOwnProperty','order','sort','where','pick','filters','filter','merge','options','then','includeAll','include','rows'];(function(_0x1ba555,_0x28fc4){var _0x330b18=function(_0x5aa0df){while(--_0x5aa0df){_0x1ba555['push'](_0x1ba555['shift']());}};_0x330b18(++_0x28fc4);}(_0x867f,0xe6));var _0xf867=function(_0x47623f,_0x148f3a){_0x47623f=_0x47623f-0x0;var _0x282ce8=_0x867f[_0x47623f];return _0x282ce8;};'use strict';var emlformat=require(_0xf867('0x0'));var rimraf=require(_0xf867('0x1'));var zipdir=require(_0xf867('0x2'));var jsonpatch=require(_0xf867('0x3'));var rp=require(_0xf867('0x4'));var moment=require(_0xf867('0x5'));var BPromise=require(_0xf867('0x6'));var Mustache=require(_0xf867('0x7'));var util=require(_0xf867('0x8'));var path=require('path');var sox=require('sox');var csv=require(_0xf867('0x9'));var ejs=require(_0xf867('0xa'));var fs=require('fs');var fs_extra=require(_0xf867('0xb'));var _=require(_0xf867('0xc'));var squel=require(_0xf867('0xd'));var crypto=require('crypto');var jsforce=require('jsforce');var deskjs=require(_0xf867('0xe'));var toCsv=require('to-csv');var querystring=require(_0xf867('0xf'));var Papa=require(_0xf867('0x10'));var Redis=require(_0xf867('0x11'));var authService=require(_0xf867('0x12'));var qs=require(_0xf867('0x13'));var as=require(_0xf867('0x14'));var hardwareService=require(_0xf867('0x15'));var logger=require(_0xf867('0x16'))('api');var utils=require(_0xf867('0x17'));var config=require('../../config/environment');var licenseUtil=require('../../config/license/util');var db=require(_0xf867('0x18'))['db'];function respondWithStatusCode(_0x1792ae,_0x20fe34){_0x20fe34=_0x20fe34||0xcc;return function(_0x56740c){if(_0x56740c){return _0x1792ae['sendStatus'](_0x20fe34);}return _0x1792ae[_0xf867('0x19')](_0x20fe34)['end']();};}function respondWithResult(_0x352f0b,_0x49ff40){_0x49ff40=_0x49ff40||0xc8;return function(_0x48ff28){if(_0x48ff28){return _0x352f0b[_0xf867('0x19')](_0x49ff40)[_0xf867('0x1a')](_0x48ff28);}};}function respondWithFilteredResult(_0x7a143e,_0x13973b){return function(_0x38fed9){if(_0x38fed9){var _0x1e5161=typeof _0x13973b[_0xf867('0x1b')]===_0xf867('0x1c')&&typeof _0x13973b[_0xf867('0x1d')]==='undefined';var _0x44f6f1=_0x38fed9['count'];var _0x39f9e8=_0x1e5161?0x0:_0x13973b['offset'];var _0x51bdb3=_0x1e5161?_0x38fed9[_0xf867('0x1e')]:_0x13973b['offset']+_0x13973b['limit'];var _0x2092af;if(_0x51bdb3>=_0x44f6f1){_0x51bdb3=_0x44f6f1;_0x2092af=0xc8;}else{_0x2092af=0xce;}_0x7a143e[_0xf867('0x19')](_0x2092af);return _0x7a143e['set']('Content-Range',_0x39f9e8+'-'+_0x51bdb3+'/'+_0x44f6f1)[_0xf867('0x1a')](_0x38fed9);}return null;};}function patchUpdates(_0x23e7dd){return function(_0x1456ce){try{jsonpatch[_0xf867('0x1f')](_0x1456ce,_0x23e7dd,!![]);}catch(_0x419f75){return BPromise[_0xf867('0x20')](_0x419f75);}return _0x1456ce[_0xf867('0x21')]();};}function saveUpdates(_0x34db74,_0x586a25){return function(_0x568aba){if(_0x568aba){return _0x568aba[_0xf867('0x22')](_0x34db74)['then'](function(_0x3072b7){return _0x3072b7;});}return null;};}function removeEntity(_0x3fc971,_0x4da34b){return function(_0x419b6f){if(_0x419b6f){return _0x419b6f[_0xf867('0x23')]()['then'](function(){_0x3fc971[_0xf867('0x19')](0xcc)[_0xf867('0x24')]();});}};}function handleEntityNotFound(_0x167e70,_0x1bc6ca){return function(_0x58bded){if(!_0x58bded){_0x167e70[_0xf867('0x25')](0x194);}return _0x58bded;};}function handleError(_0x67e3a,_0x2efca3){_0x2efca3=_0x2efca3||0x1f4;return function(_0xd765c){logger[_0xf867('0x26')](_0xd765c[_0xf867('0x27')]);if(_0xd765c[_0xf867('0x28')]){delete _0xd765c[_0xf867('0x28')];}_0x67e3a[_0xf867('0x19')](_0x2efca3)[_0xf867('0x29')](_0xd765c);};}exports[_0xf867('0x2a')]=function(_0x57bf28,_0xb6d069){var _0x3981d0={},_0x39218a={},_0xb0dcdd={'count':0x0,'rows':[]};var _0x350d6d=_[_0xf867('0x2b')](db[_0xf867('0x2c')]['rawAttributes'],function(_0x44ddd4){return{'name':_0x44ddd4[_0xf867('0x2d')],'type':_0x44ddd4[_0xf867('0x2e')][_0xf867('0x2f')]};});_0x39218a[_0xf867('0x30')]=_[_0xf867('0x2b')](_0x350d6d,_0xf867('0x28'));_0x39218a[_0xf867('0x31')]=_['keys'](_0x57bf28[_0xf867('0x31')]);_0x39218a['filters']=_[_0xf867('0x32')](_0x39218a['model'],_0x39218a[_0xf867('0x31')]);_0x3981d0[_0xf867('0x33')]=_[_0xf867('0x32')](_0x39218a['model'],qs[_0xf867('0x34')](_0x57bf28[_0xf867('0x31')]['fields']));_0x3981d0['attributes']=_0x3981d0[_0xf867('0x33')]['length']?_0x3981d0[_0xf867('0x33')]:_0x39218a[_0xf867('0x30')];if(!_0x57bf28[_0xf867('0x31')][_0xf867('0x35')]('nolimit')){_0x3981d0['limit']=qs[_0xf867('0x1d')](_0x57bf28[_0xf867('0x31')][_0xf867('0x1d')]);_0x3981d0['offset']=qs[_0xf867('0x1b')](_0x57bf28[_0xf867('0x31')]['offset']);}_0x3981d0[_0xf867('0x36')]=qs['sort'](_0x57bf28[_0xf867('0x31')][_0xf867('0x37')]);_0x3981d0[_0xf867('0x38')]=qs['filters'](_[_0xf867('0x39')](_0x57bf28['query'],_0x39218a[_0xf867('0x3a')]),_0x350d6d);if(_0x57bf28[_0xf867('0x31')][_0xf867('0x3b')]){_0x3981d0[_0xf867('0x38')]=_[_0xf867('0x3c')](_0x3981d0[_0xf867('0x38')],{'$or':_[_0xf867('0x2b')](_0x350d6d,function(_0x2a2e81){if(_0x2a2e81['type']!=='VIRTUAL'){var _0x4a877={};_0x4a877[_0x2a2e81[_0xf867('0x28')]]={'$like':'%'+_0x57bf28[_0xf867('0x31')][_0xf867('0x3b')]+'%'};return _0x4a877;}})});}_0x3981d0=_[_0xf867('0x3c')]({},_0x3981d0,_0x57bf28[_0xf867('0x3d')]);var _0x36ccbe={'where':_0x3981d0['where']};return db[_0xf867('0x2c')][_0xf867('0x1e')](_0x36ccbe)[_0xf867('0x3e')](function(_0x352f8e){_0xb0dcdd[_0xf867('0x1e')]=_0x352f8e;if(_0x57bf28[_0xf867('0x31')][_0xf867('0x3f')]){_0x3981d0[_0xf867('0x40')]=[{'all':!![]}];}return db[_0xf867('0x2c')]['findAll'](_0x3981d0);})[_0xf867('0x3e')](function(_0x4e31d8){_0xb0dcdd[_0xf867('0x41')]=_0x4e31d8;return _0xb0dcdd;})[_0xf867('0x3e')](respondWithFilteredResult(_0xb6d069,_0x3981d0))[_0xf867('0x42')](handleError(_0xb6d069,null));};exports['show']=function(_0x16dfd3,_0x86d79c){var _0x27421a={'raw':!![],'where':{'id':_0x16dfd3[_0xf867('0x43')]['id']}},_0xed868d={};_0xed868d[_0xf867('0x30')]=_['keys'](db[_0xf867('0x2c')][_0xf867('0x44')]);_0xed868d[_0xf867('0x31')]=_[_0xf867('0x45')](_0x16dfd3[_0xf867('0x31')]);_0xed868d['filters']=_[_0xf867('0x32')](_0xed868d['model'],_0xed868d[_0xf867('0x31')]);_0x27421a[_0xf867('0x33')]=_['intersection'](_0xed868d[_0xf867('0x30')],qs[_0xf867('0x34')](_0x16dfd3[_0xf867('0x31')][_0xf867('0x34')]));_0x27421a[_0xf867('0x33')]=_0x27421a[_0xf867('0x33')]['length']?_0x27421a[_0xf867('0x33')]:_0xed868d['model'];if(_0x16dfd3[_0xf867('0x31')][_0xf867('0x3f')]){_0x27421a[_0xf867('0x40')]=[{'all':!![]}];}_0x27421a=_[_0xf867('0x3c')]({},_0x27421a,_0x16dfd3[_0xf867('0x3d')]);return db[_0xf867('0x2c')][_0xf867('0x46')](_0x27421a)['then'](handleEntityNotFound(_0x86d79c,null))['then'](respondWithResult(_0x86d79c,null))[_0xf867('0x42')](handleError(_0x86d79c,null));};exports[_0xf867('0x47')]=function(_0x38fd9b,_0x5ca8a7){return db[_0xf867('0x2c')][_0xf867('0x47')](_0x38fd9b[_0xf867('0x48')],{})['then'](respondWithResult(_0x5ca8a7,0xc9))[_0xf867('0x42')](handleError(_0x5ca8a7,null));};exports['update']=function(_0xc01c03,_0x2d56c0){if(_0xc01c03[_0xf867('0x48')]['id']){delete _0xc01c03[_0xf867('0x48')]['id'];}return db[_0xf867('0x2c')][_0xf867('0x46')]({'where':{'id':_0xc01c03[_0xf867('0x43')]['id']}})[_0xf867('0x3e')](handleEntityNotFound(_0x2d56c0,null))['then'](saveUpdates(_0xc01c03['body'],null))[_0xf867('0x3e')](respondWithResult(_0x2d56c0,null))[_0xf867('0x42')](handleError(_0x2d56c0,null));};exports[_0xf867('0x23')]=function(_0x199ce0,_0x2e9093){return db[_0xf867('0x2c')][_0xf867('0x46')]({'where':{'id':_0x199ce0['params']['id']}})[_0xf867('0x3e')](handleEntityNotFound(_0x2e9093,null))[_0xf867('0x3e')](removeEntity(_0x2e9093,null))[_0xf867('0x42')](handleError(_0x2e9093,null));};exports[_0xf867('0x49')]=function(_0x52d4bf,_0x32386e){return db[_0xf867('0x2c')]['describe']()['then'](respondWithResult(_0x32386e,null))['catch'](handleError(_0x32386e,null));};
\ No newline at end of file