Built motion from commit 87cd5f02.|2.5.48
[motion2.git] / server / api / integrationReport / integrationReport.controller.js
index fc7f368..9fc9a63 100644 (file)
@@ -15,4 +15,4 @@
 // * treaties. The SOFTWARE PRODUCT is licensed, not sold.                        *
 // *                                                                       *
 // *************************************************************************
-var _0xb5ad=['includeAll','include','rows','catch','show','params','intersection','find','create','body','update','describe','eml-format','rimraf','zip-dir','request-promise','moment','util','path','to-csv','ejs','lodash','squel','crypto','jsforce','desk.js','papaparse','ioredis','../../components/auth/service','../../components/parsers/qs','../../components/parsers/advancedSearch','../../config/license/hardware','../../config/logger','../../config/utils','../../config/environment','../../config/license/util','../../mysqldb','sendStatus','status','end','count','offset','limit','set','Content-Range','apply','destroy','then','error','stack','name','send','map','IntegrationReport','rawAttributes','fieldName','key','model','query','keys','filters','attributes','fields','length','hasOwnProperty','nolimit','sort','where','pick','filter','merge','type','VIRTUAL','options'];(function(_0x40af2a,_0x41c1fd){var _0x346cd9=function(_0x3fb3ea){while(--_0x3fb3ea){_0x40af2a['push'](_0x40af2a['shift']());}};_0x346cd9(++_0x41c1fd);}(_0xb5ad,0xea));var _0xdb5a=function(_0x1ca9e9,_0x1c4391){_0x1ca9e9=_0x1ca9e9-0x0;var _0x309f3c=_0xb5ad[_0x1ca9e9];return _0x309f3c;};'use strict';var pdf=require('html-pdf');var emlformat=require(_0xdb5a('0x0'));var rimraf=require(_0xdb5a('0x1'));var zipdir=require(_0xdb5a('0x2'));var jsonpatch=require('fast-json-patch');var rp=require(_0xdb5a('0x3'));var moment=require(_0xdb5a('0x4'));var BPromise=require('bluebird');var Mustache=require('mustache');var util=require(_0xdb5a('0x5'));var path=require(_0xdb5a('0x6'));var sox=require('sox');var csv=require(_0xdb5a('0x7'));var ejs=require(_0xdb5a('0x8'));var fs=require('fs');var _=require(_0xdb5a('0x9'));var squel=require(_0xdb5a('0xa'));var crypto=require(_0xdb5a('0xb'));var jsforce=require(_0xdb5a('0xc'));var deskjs=require(_0xdb5a('0xd'));var toCsv=require(_0xdb5a('0x7'));var querystring=require('querystring');var Papa=require(_0xdb5a('0xe'));var Redis=require(_0xdb5a('0xf'));var authService=require(_0xdb5a('0x10'));var qs=require(_0xdb5a('0x11'));var as=require(_0xdb5a('0x12'));var hardwareService=require(_0xdb5a('0x13'));var logger=require(_0xdb5a('0x14'))('api');var utils=require(_0xdb5a('0x15'));var config=require(_0xdb5a('0x16'));var licenseUtil=require(_0xdb5a('0x17'));var db=require(_0xdb5a('0x18'))['db'];function respondWithStatusCode(_0x3703ae,_0x495799){_0x495799=_0x495799||0xcc;return function(_0x5b48d5){if(_0x5b48d5){return _0x3703ae[_0xdb5a('0x19')](_0x495799);}return _0x3703ae[_0xdb5a('0x1a')](_0x495799)[_0xdb5a('0x1b')]();};}function respondWithResult(_0x33ed58,_0xc66a03){_0xc66a03=_0xc66a03||0xc8;return function(_0x1fe52c){if(_0x1fe52c){return _0x33ed58['status'](_0xc66a03)['json'](_0x1fe52c);}};}function respondWithFilteredResult(_0x236471,_0x38849e){return function(_0x300cb3){if(_0x300cb3){var _0x5622d0=_0x300cb3[_0xdb5a('0x1c')],_0x49493c=_0x38849e['offset'],_0x2671e5=_0x38849e[_0xdb5a('0x1d')]+_0x38849e[_0xdb5a('0x1e')],_0x80f6d;if(_0x2671e5>=_0x5622d0){_0x2671e5=_0x5622d0;_0x80f6d=0xc8;}else{_0x80f6d=0xce;}_0x236471['status'](_0x80f6d);return _0x236471[_0xdb5a('0x1f')](_0xdb5a('0x20'),_0x49493c+'-'+_0x2671e5+'/'+_0x5622d0)['json'](_0x300cb3);}return null;};}function patchUpdates(_0x40ce0e){return function(_0x2f9ea2){try{jsonpatch[_0xdb5a('0x21')](_0x2f9ea2,_0x40ce0e,!![]);}catch(_0x38bb37){return BPromise['reject'](_0x38bb37);}return _0x2f9ea2['save']();};}function saveUpdates(_0x36d322,_0x559057){return function(_0x3604f0){if(_0x3604f0){return _0x3604f0['update'](_0x36d322)['then'](function(_0x5574f1){return _0x5574f1;});}return null;};}function removeEntity(_0x55fe6e,_0x370dbd){return function(_0x4ad9e6){if(_0x4ad9e6){return _0x4ad9e6[_0xdb5a('0x22')]()[_0xdb5a('0x23')](function(){_0x55fe6e[_0xdb5a('0x1a')](0xcc)['end']();});}};}function handleEntityNotFound(_0x2a1134,_0x282f90){return function(_0x2eb5f4){if(!_0x2eb5f4){_0x2a1134[_0xdb5a('0x19')](0x194);}return _0x2eb5f4;};}function handleError(_0x159ca4,_0x1f8b34){_0x1f8b34=_0x1f8b34||0x1f4;return function(_0x3d72b6){logger[_0xdb5a('0x24')](_0x3d72b6[_0xdb5a('0x25')]);if(_0x3d72b6[_0xdb5a('0x26')]){delete _0x3d72b6[_0xdb5a('0x26')];}_0x159ca4['status'](_0x1f8b34)[_0xdb5a('0x27')](_0x3d72b6);};}exports['index']=function(_0xf9709e,_0x444212){var _0x2e5def={},_0x1a9092={},_0x57f72b={'count':0x0,'rows':[]};var _0x36124e=_[_0xdb5a('0x28')](db[_0xdb5a('0x29')][_0xdb5a('0x2a')],function(_0x5ec8c2){return{'name':_0x5ec8c2[_0xdb5a('0x2b')],'type':_0x5ec8c2['type'][_0xdb5a('0x2c')]};});_0x1a9092[_0xdb5a('0x2d')]=_[_0xdb5a('0x28')](_0x36124e,_0xdb5a('0x26'));_0x1a9092[_0xdb5a('0x2e')]=_[_0xdb5a('0x2f')](_0xf9709e[_0xdb5a('0x2e')]);_0x1a9092[_0xdb5a('0x30')]=_['intersection'](_0x1a9092['model'],_0x1a9092[_0xdb5a('0x2e')]);_0x2e5def[_0xdb5a('0x31')]=_['intersection'](_0x1a9092[_0xdb5a('0x2d')],qs[_0xdb5a('0x32')](_0xf9709e['query'][_0xdb5a('0x32')]));_0x2e5def['attributes']=_0x2e5def['attributes'][_0xdb5a('0x33')]?_0x2e5def[_0xdb5a('0x31')]:_0x1a9092[_0xdb5a('0x2d')];if(!_0xf9709e[_0xdb5a('0x2e')][_0xdb5a('0x34')](_0xdb5a('0x35'))){_0x2e5def[_0xdb5a('0x1e')]=qs[_0xdb5a('0x1e')](_0xf9709e[_0xdb5a('0x2e')]['limit']);_0x2e5def[_0xdb5a('0x1d')]=qs['offset'](_0xf9709e[_0xdb5a('0x2e')][_0xdb5a('0x1d')]);}_0x2e5def['order']=qs[_0xdb5a('0x36')](_0xf9709e[_0xdb5a('0x2e')]['sort']);_0x2e5def[_0xdb5a('0x37')]=qs[_0xdb5a('0x30')](_[_0xdb5a('0x38')](_0xf9709e[_0xdb5a('0x2e')],_0x1a9092[_0xdb5a('0x30')]),_0x36124e);if(_0xf9709e['query'][_0xdb5a('0x39')]){_0x2e5def[_0xdb5a('0x37')]=_[_0xdb5a('0x3a')](_0x2e5def['where'],{'$or':_[_0xdb5a('0x28')](_0x36124e,function(_0x3140a4){if(_0x3140a4[_0xdb5a('0x3b')]!==_0xdb5a('0x3c')){var _0x32b549={};_0x32b549[_0x3140a4['name']]={'$like':'%'+_0xf9709e[_0xdb5a('0x2e')][_0xdb5a('0x39')]+'%'};return _0x32b549;}})});}_0x2e5def=_[_0xdb5a('0x3a')]({},_0x2e5def,_0xf9709e[_0xdb5a('0x3d')]);var _0x171dff={'where':_0x2e5def['where']};return db[_0xdb5a('0x29')]['count'](_0x171dff)[_0xdb5a('0x23')](function(_0x434f4f){_0x57f72b[_0xdb5a('0x1c')]=_0x434f4f;if(_0xf9709e[_0xdb5a('0x2e')][_0xdb5a('0x3e')]){_0x2e5def[_0xdb5a('0x3f')]=[{'all':!![]}];}return db['IntegrationReport']['findAll'](_0x2e5def);})['then'](function(_0x46fa2a){_0x57f72b[_0xdb5a('0x40')]=_0x46fa2a;return _0x57f72b;})['then'](respondWithFilteredResult(_0x444212,_0x2e5def))[_0xdb5a('0x41')](handleError(_0x444212,null));};exports[_0xdb5a('0x42')]=function(_0x49f0f0,_0x3835ed){var _0x40c044={'raw':![],'where':{'id':_0x49f0f0[_0xdb5a('0x43')]['id']}},_0x3fa2dc={};_0x3fa2dc[_0xdb5a('0x2d')]=_[_0xdb5a('0x2f')](db[_0xdb5a('0x29')][_0xdb5a('0x2a')]);_0x3fa2dc[_0xdb5a('0x2e')]=_[_0xdb5a('0x2f')](_0x49f0f0[_0xdb5a('0x2e')]);_0x3fa2dc[_0xdb5a('0x30')]=_[_0xdb5a('0x44')](_0x3fa2dc['model'],_0x3fa2dc['query']);_0x40c044[_0xdb5a('0x31')]=_[_0xdb5a('0x44')](_0x3fa2dc[_0xdb5a('0x2d')],qs[_0xdb5a('0x32')](_0x49f0f0['query'][_0xdb5a('0x32')]));_0x40c044[_0xdb5a('0x31')]=_0x40c044['attributes'][_0xdb5a('0x33')]?_0x40c044[_0xdb5a('0x31')]:_0x3fa2dc['model'];if(_0x49f0f0[_0xdb5a('0x2e')][_0xdb5a('0x3e')]){_0x40c044[_0xdb5a('0x3f')]=[{'all':!![]}];}_0x40c044=_[_0xdb5a('0x3a')]({},_0x40c044,_0x49f0f0[_0xdb5a('0x3d')]);return db[_0xdb5a('0x29')][_0xdb5a('0x45')](_0x40c044)['then'](handleEntityNotFound(_0x3835ed,null))[_0xdb5a('0x23')](respondWithResult(_0x3835ed,null))['catch'](handleError(_0x3835ed,null));};exports[_0xdb5a('0x46')]=function(_0x3239df,_0x1e7c61){return db['IntegrationReport']['create'](_0x3239df[_0xdb5a('0x47')],{})[_0xdb5a('0x23')](respondWithResult(_0x1e7c61,0xc9))[_0xdb5a('0x41')](handleError(_0x1e7c61,null));};exports[_0xdb5a('0x48')]=function(_0x450be1,_0x8fb078){if(_0x450be1[_0xdb5a('0x47')]['id']){delete _0x450be1[_0xdb5a('0x47')]['id'];}return db['IntegrationReport'][_0xdb5a('0x45')]({'where':{'id':_0x450be1['params']['id']}})[_0xdb5a('0x23')](handleEntityNotFound(_0x8fb078,null))['then'](saveUpdates(_0x450be1[_0xdb5a('0x47')],null))[_0xdb5a('0x23')](respondWithResult(_0x8fb078,null))[_0xdb5a('0x41')](handleError(_0x8fb078,null));};exports[_0xdb5a('0x22')]=function(_0x209c00,_0x4b6886){return db[_0xdb5a('0x29')][_0xdb5a('0x45')]({'where':{'id':_0x209c00[_0xdb5a('0x43')]['id']}})[_0xdb5a('0x23')](handleEntityNotFound(_0x4b6886,null))[_0xdb5a('0x23')](removeEntity(_0x4b6886,null))[_0xdb5a('0x41')](handleError(_0x4b6886,null));};exports[_0xdb5a('0x49')]=function(_0x1624d8,_0x39151e){return db['IntegrationReport'][_0xdb5a('0x49')]()[_0xdb5a('0x23')](respondWithResult(_0x39151e,null))[_0xdb5a('0x41')](handleError(_0x39151e,null));};
\ No newline at end of file
+var _0x702c=['sort','where','pick','VIRTUAL','includeAll','include','catch','show','params','merge','options','find','create','body','describe','eml-format','fast-json-patch','request-promise','moment','bluebird','mustache','path','sox','to-csv','ejs','fs-extra','lodash','squel','jsforce','querystring','papaparse','ioredis','../../components/auth/service','../../components/parsers/qs','../../components/parsers/advancedSearch','../../config/license/hardware','api','../../config/utils','../../config/environment','../../config/license/util','../../mysqldb','sendStatus','status','json','offset','limit','count','Content-Range','apply','save','update','then','destroy','end','error','stack','name','send','IntegrationReport','rawAttributes','fieldName','type','key','map','query','keys','filters','intersection','model','attributes','fields','length','hasOwnProperty','nolimit','order'];(function(_0x27ea2c,_0x3e9766){var _0x1322ac=function(_0xfde85){while(--_0xfde85){_0x27ea2c['push'](_0x27ea2c['shift']());}};_0x1322ac(++_0x3e9766);}(_0x702c,0x1d1));var _0xc702=function(_0xc3d773,_0x41d284){_0xc3d773=_0xc3d773-0x0;var _0x190f3d=_0x702c[_0xc3d773];return _0x190f3d;};'use strict';var emlformat=require(_0xc702('0x0'));var rimraf=require('rimraf');var zipdir=require('zip-dir');var jsonpatch=require(_0xc702('0x1'));var rp=require(_0xc702('0x2'));var moment=require(_0xc702('0x3'));var BPromise=require(_0xc702('0x4'));var Mustache=require(_0xc702('0x5'));var util=require('util');var path=require(_0xc702('0x6'));var sox=require(_0xc702('0x7'));var csv=require(_0xc702('0x8'));var ejs=require(_0xc702('0x9'));var fs=require('fs');var fs_extra=require(_0xc702('0xa'));var _=require(_0xc702('0xb'));var squel=require(_0xc702('0xc'));var crypto=require('crypto');var jsforce=require(_0xc702('0xd'));var deskjs=require('desk.js');var toCsv=require(_0xc702('0x8'));var querystring=require(_0xc702('0xe'));var Papa=require(_0xc702('0xf'));var Redis=require(_0xc702('0x10'));var authService=require(_0xc702('0x11'));var qs=require(_0xc702('0x12'));var as=require(_0xc702('0x13'));var hardwareService=require(_0xc702('0x14'));var logger=require('../../config/logger')(_0xc702('0x15'));var utils=require(_0xc702('0x16'));var config=require(_0xc702('0x17'));var licenseUtil=require(_0xc702('0x18'));var db=require(_0xc702('0x19'))['db'];function respondWithStatusCode(_0x3c72cc,_0x2db8b5){_0x2db8b5=_0x2db8b5||0xcc;return function(_0x3902e7){if(_0x3902e7){return _0x3c72cc[_0xc702('0x1a')](_0x2db8b5);}return _0x3c72cc[_0xc702('0x1b')](_0x2db8b5)['end']();};}function respondWithResult(_0x2f40d2,_0x298d56){_0x298d56=_0x298d56||0xc8;return function(_0x3b0271){if(_0x3b0271){return _0x2f40d2[_0xc702('0x1b')](_0x298d56)[_0xc702('0x1c')](_0x3b0271);}};}function respondWithFilteredResult(_0x247bde,_0x59174a){return function(_0x2aa1e0){if(_0x2aa1e0){var _0x305c62=typeof _0x59174a[_0xc702('0x1d')]==='undefined'&&typeof _0x59174a[_0xc702('0x1e')]==='undefined';var _0x20a846=_0x2aa1e0['count'];var _0x973844=_0x305c62?0x0:_0x59174a[_0xc702('0x1d')];var _0x4f2311=_0x305c62?_0x2aa1e0[_0xc702('0x1f')]:_0x59174a[_0xc702('0x1d')]+_0x59174a['limit'];var _0x4b3714;if(_0x4f2311>=_0x20a846){_0x4f2311=_0x20a846;_0x4b3714=0xc8;}else{_0x4b3714=0xce;}_0x247bde[_0xc702('0x1b')](_0x4b3714);return _0x247bde['set'](_0xc702('0x20'),_0x973844+'-'+_0x4f2311+'/'+_0x20a846)[_0xc702('0x1c')](_0x2aa1e0);}return null;};}function patchUpdates(_0x32ff8f){return function(_0x5bb5f8){try{jsonpatch[_0xc702('0x21')](_0x5bb5f8,_0x32ff8f,!![]);}catch(_0x42e3d6){return BPromise['reject'](_0x42e3d6);}return _0x5bb5f8[_0xc702('0x22')]();};}function saveUpdates(_0x26a9ea,_0x17f0b6){return function(_0x3c0213){if(_0x3c0213){return _0x3c0213[_0xc702('0x23')](_0x26a9ea)[_0xc702('0x24')](function(_0x105ceb){return _0x105ceb;});}return null;};}function removeEntity(_0x4cb58a,_0x3aacd2){return function(_0x2d1bf4){if(_0x2d1bf4){return _0x2d1bf4[_0xc702('0x25')]()['then'](function(){_0x4cb58a[_0xc702('0x1b')](0xcc)[_0xc702('0x26')]();});}};}function handleEntityNotFound(_0x42fa12,_0x3156d6){return function(_0x54a074){if(!_0x54a074){_0x42fa12[_0xc702('0x1a')](0x194);}return _0x54a074;};}function handleError(_0x15ddd0,_0x1f2203){_0x1f2203=_0x1f2203||0x1f4;return function(_0x1bd946){logger[_0xc702('0x27')](_0x1bd946[_0xc702('0x28')]);if(_0x1bd946[_0xc702('0x29')]){delete _0x1bd946[_0xc702('0x29')];}_0x15ddd0[_0xc702('0x1b')](_0x1f2203)[_0xc702('0x2a')](_0x1bd946);};}exports['index']=function(_0x57a5b0,_0x1eed5c){var _0xcc903a={},_0x4d6022={},_0x4de42b={'count':0x0,'rows':[]};var _0xae393e=_['map'](db[_0xc702('0x2b')][_0xc702('0x2c')],function(_0x5ec36c){return{'name':_0x5ec36c[_0xc702('0x2d')],'type':_0x5ec36c[_0xc702('0x2e')][_0xc702('0x2f')]};});_0x4d6022['model']=_[_0xc702('0x30')](_0xae393e,_0xc702('0x29'));_0x4d6022[_0xc702('0x31')]=_[_0xc702('0x32')](_0x57a5b0[_0xc702('0x31')]);_0x4d6022[_0xc702('0x33')]=_[_0xc702('0x34')](_0x4d6022[_0xc702('0x35')],_0x4d6022[_0xc702('0x31')]);_0xcc903a[_0xc702('0x36')]=_[_0xc702('0x34')](_0x4d6022[_0xc702('0x35')],qs[_0xc702('0x37')](_0x57a5b0[_0xc702('0x31')]['fields']));_0xcc903a[_0xc702('0x36')]=_0xcc903a['attributes'][_0xc702('0x38')]?_0xcc903a[_0xc702('0x36')]:_0x4d6022[_0xc702('0x35')];if(!_0x57a5b0[_0xc702('0x31')][_0xc702('0x39')](_0xc702('0x3a'))){_0xcc903a[_0xc702('0x1e')]=qs['limit'](_0x57a5b0[_0xc702('0x31')]['limit']);_0xcc903a['offset']=qs[_0xc702('0x1d')](_0x57a5b0[_0xc702('0x31')][_0xc702('0x1d')]);}_0xcc903a[_0xc702('0x3b')]=qs[_0xc702('0x3c')](_0x57a5b0['query']['sort']);_0xcc903a[_0xc702('0x3d')]=qs['filters'](_[_0xc702('0x3e')](_0x57a5b0[_0xc702('0x31')],_0x4d6022[_0xc702('0x33')]),_0xae393e);if(_0x57a5b0[_0xc702('0x31')]['filter']){_0xcc903a[_0xc702('0x3d')]=_['merge'](_0xcc903a['where'],{'$or':_['map'](_0xae393e,function(_0x323f32){if(_0x323f32['type']!==_0xc702('0x3f')){var _0x3a11cd={};_0x3a11cd[_0x323f32[_0xc702('0x29')]]={'$like':'%'+_0x57a5b0[_0xc702('0x31')]['filter']+'%'};return _0x3a11cd;}})});}_0xcc903a=_['merge']({},_0xcc903a,_0x57a5b0['options']);var _0x4fe4f4={'where':_0xcc903a['where']};return db['IntegrationReport'][_0xc702('0x1f')](_0x4fe4f4)[_0xc702('0x24')](function(_0x5395d7){_0x4de42b['count']=_0x5395d7;if(_0x57a5b0[_0xc702('0x31')][_0xc702('0x40')]){_0xcc903a[_0xc702('0x41')]=[{'all':!![]}];}return db[_0xc702('0x2b')]['findAll'](_0xcc903a);})[_0xc702('0x24')](function(_0x9e9701){_0x4de42b['rows']=_0x9e9701;return _0x4de42b;})[_0xc702('0x24')](respondWithFilteredResult(_0x1eed5c,_0xcc903a))[_0xc702('0x42')](handleError(_0x1eed5c,null));};exports[_0xc702('0x43')]=function(_0x163819,_0x2a2875){var _0xe3a41d={'raw':![],'where':{'id':_0x163819[_0xc702('0x44')]['id']}},_0x5cb188={};_0x5cb188[_0xc702('0x35')]=_['keys'](db['IntegrationReport'][_0xc702('0x2c')]);_0x5cb188['query']=_['keys'](_0x163819[_0xc702('0x31')]);_0x5cb188[_0xc702('0x33')]=_[_0xc702('0x34')](_0x5cb188[_0xc702('0x35')],_0x5cb188[_0xc702('0x31')]);_0xe3a41d[_0xc702('0x36')]=_[_0xc702('0x34')](_0x5cb188['model'],qs['fields'](_0x163819[_0xc702('0x31')][_0xc702('0x37')]));_0xe3a41d[_0xc702('0x36')]=_0xe3a41d[_0xc702('0x36')]['length']?_0xe3a41d[_0xc702('0x36')]:_0x5cb188[_0xc702('0x35')];if(_0x163819[_0xc702('0x31')]['includeAll']){_0xe3a41d[_0xc702('0x41')]=[{'all':!![]}];}_0xe3a41d=_[_0xc702('0x45')]({},_0xe3a41d,_0x163819[_0xc702('0x46')]);return db[_0xc702('0x2b')][_0xc702('0x47')](_0xe3a41d)[_0xc702('0x24')](handleEntityNotFound(_0x2a2875,null))[_0xc702('0x24')](respondWithResult(_0x2a2875,null))['catch'](handleError(_0x2a2875,null));};exports[_0xc702('0x48')]=function(_0x431b0d,_0x19046a){return db[_0xc702('0x2b')][_0xc702('0x48')](_0x431b0d[_0xc702('0x49')],{})[_0xc702('0x24')](respondWithResult(_0x19046a,0xc9))[_0xc702('0x42')](handleError(_0x19046a,null));};exports[_0xc702('0x23')]=function(_0x53e69a,_0x4ef141){if(_0x53e69a[_0xc702('0x49')]['id']){delete _0x53e69a['body']['id'];}return db[_0xc702('0x2b')][_0xc702('0x47')]({'where':{'id':_0x53e69a['params']['id']}})['then'](handleEntityNotFound(_0x4ef141,null))[_0xc702('0x24')](saveUpdates(_0x53e69a[_0xc702('0x49')],null))[_0xc702('0x24')](respondWithResult(_0x4ef141,null))['catch'](handleError(_0x4ef141,null));};exports[_0xc702('0x25')]=function(_0x2dce63,_0x4f2530){return db[_0xc702('0x2b')][_0xc702('0x47')]({'where':{'id':_0x2dce63[_0xc702('0x44')]['id']}})[_0xc702('0x24')](handleEntityNotFound(_0x4f2530,null))['then'](removeEntity(_0x4f2530,null))[_0xc702('0x42')](handleError(_0x4f2530,null));};exports[_0xc702('0x4a')]=function(_0x53b056,_0x3805ae){return db['IntegrationReport']['describe']()['then'](respondWithResult(_0x3805ae,null))[_0xc702('0x42')](handleError(_0x3805ae,null));};
\ No newline at end of file