Built motion from commit (unavailable).|2.5.22
[motion2.git] / server / api / whatsappTransferReport / whatsappTransferReport.controller.js
index 0bdb83b..1759245 100644 (file)
@@ -15,4 +15,4 @@
 // * treaties. The SOFTWARE PRODUCT is licensed, not sold.                        *
 // *                                                                       *
 // *************************************************************************
-var _0x2fb3=['to-csv','squel','crypto','jsforce','desk.js','querystring','papaparse','../../components/auth/service','../../components/parsers/qs','../../config/license/hardware','../../config/logger','api','../../config/environment','../../mysqldb','sendStatus','status','end','json','offset','limit','set','Content-Range','apply','update','destroy','then','error','name','index','map','WhatsappTransferReport','rawAttributes','fieldName','type','key','model','query','keys','filters','intersection','fields','attributes','length','hasOwnProperty','sort','pick','filter','merge','where','VIRTUAL','count','includeAll','findAll','catch','show','params','include','options','find','create','body','describe','html-pdf','zip-dir','fast-json-patch','request-promise','moment','bluebird','mustache','util','path','sox'];(function(_0x3dd15e,_0x1f0015){var _0x231fd0=function(_0x4f680a){while(--_0x4f680a){_0x3dd15e['push'](_0x3dd15e['shift']());}};_0x231fd0(++_0x1f0015);}(_0x2fb3,0x1a6));var _0x32fb=function(_0x36bc5a,_0x31ee57){_0x36bc5a=_0x36bc5a-0x0;var _0x38b771=_0x2fb3[_0x36bc5a];return _0x38b771;};'use strict';var pdf=require(_0x32fb('0x0'));var emlformat=require('eml-format');var rimraf=require('rimraf');var zipdir=require(_0x32fb('0x1'));var jsonpatch=require(_0x32fb('0x2'));var rp=require(_0x32fb('0x3'));var moment=require(_0x32fb('0x4'));var BPromise=require(_0x32fb('0x5'));var Mustache=require(_0x32fb('0x6'));var util=require(_0x32fb('0x7'));var path=require(_0x32fb('0x8'));var sox=require(_0x32fb('0x9'));var csv=require(_0x32fb('0xa'));var ejs=require('ejs');var fs=require('fs');var _=require('lodash');var squel=require(_0x32fb('0xb'));var crypto=require(_0x32fb('0xc'));var jsforce=require(_0x32fb('0xd'));var deskjs=require(_0x32fb('0xe'));var toCsv=require('to-csv');var querystring=require(_0x32fb('0xf'));var Papa=require(_0x32fb('0x10'));var Redis=require('ioredis');var authService=require(_0x32fb('0x11'));var qs=require(_0x32fb('0x12'));var as=require('../../components/parsers/advancedSearch');var hardwareService=require(_0x32fb('0x13'));var logger=require(_0x32fb('0x14'))(_0x32fb('0x15'));var utils=require('../../config/utils');var config=require(_0x32fb('0x16'));var licenseUtil=require('../../config/license/util');var db=require(_0x32fb('0x17'))['db'];function respondWithStatusCode(_0x50ed5f,_0x12a6c4){_0x12a6c4=_0x12a6c4||0xcc;return function(_0x34afcc){if(_0x34afcc){return _0x50ed5f[_0x32fb('0x18')](_0x12a6c4);}return _0x50ed5f[_0x32fb('0x19')](_0x12a6c4)[_0x32fb('0x1a')]();};}function respondWithResult(_0x452ada,_0x216ba8){_0x216ba8=_0x216ba8||0xc8;return function(_0x27e207){if(_0x27e207){return _0x452ada[_0x32fb('0x19')](_0x216ba8)[_0x32fb('0x1b')](_0x27e207);}};}function respondWithFilteredResult(_0x160d09,_0x49c729){return function(_0x1b737b){if(_0x1b737b){var _0x4b170c=_0x1b737b['count'],_0x4110fc=_0x49c729[_0x32fb('0x1c')],_0x3f58f3=_0x49c729['offset']+_0x49c729[_0x32fb('0x1d')],_0x24085c;if(_0x3f58f3>=_0x4b170c){_0x3f58f3=_0x4b170c;_0x24085c=0xc8;}else{_0x24085c=0xce;}_0x160d09[_0x32fb('0x19')](_0x24085c);return _0x160d09[_0x32fb('0x1e')](_0x32fb('0x1f'),_0x4110fc+'-'+_0x3f58f3+'/'+_0x4b170c)[_0x32fb('0x1b')](_0x1b737b);}return null;};}function patchUpdates(_0x222923){return function(_0x12e0f7){try{jsonpatch[_0x32fb('0x20')](_0x12e0f7,_0x222923,!![]);}catch(_0x3f359a){return BPromise['reject'](_0x3f359a);}return _0x12e0f7['save']();};}function saveUpdates(_0xd5670,_0x3d24fa){return function(_0x5bdb46){if(_0x5bdb46){return _0x5bdb46[_0x32fb('0x21')](_0xd5670)['then'](function(_0x454dda){return _0x454dda;});}return null;};}function removeEntity(_0x325597,_0x1b5050){return function(_0x33ed39){if(_0x33ed39){return _0x33ed39[_0x32fb('0x22')]()[_0x32fb('0x23')](function(){_0x325597[_0x32fb('0x19')](0xcc)[_0x32fb('0x1a')]();});}};}function handleEntityNotFound(_0x38dcbd,_0x1c8680){return function(_0x3a2ce1){if(!_0x3a2ce1){_0x38dcbd[_0x32fb('0x18')](0x194);}return _0x3a2ce1;};}function handleError(_0x30bfef,_0x5432eb){_0x5432eb=_0x5432eb||0x1f4;return function(_0x40bd97){logger[_0x32fb('0x24')](_0x40bd97['stack']);if(_0x40bd97[_0x32fb('0x25')]){delete _0x40bd97[_0x32fb('0x25')];}_0x30bfef[_0x32fb('0x19')](_0x5432eb)['send'](_0x40bd97);};}exports[_0x32fb('0x26')]=function(_0x386cbc,_0x4e4df7){var _0x26b0b5={},_0x5243f8={},_0x540db7={'count':0x0,'rows':[]};var _0x560236=_[_0x32fb('0x27')](db[_0x32fb('0x28')][_0x32fb('0x29')],function(_0x3b3a75){return{'name':_0x3b3a75[_0x32fb('0x2a')],'type':_0x3b3a75[_0x32fb('0x2b')][_0x32fb('0x2c')]};});_0x5243f8[_0x32fb('0x2d')]=_[_0x32fb('0x27')](_0x560236,'name');_0x5243f8[_0x32fb('0x2e')]=_[_0x32fb('0x2f')](_0x386cbc[_0x32fb('0x2e')]);_0x5243f8[_0x32fb('0x30')]=_[_0x32fb('0x31')](_0x5243f8['model'],_0x5243f8[_0x32fb('0x2e')]);_0x26b0b5['attributes']=_[_0x32fb('0x31')](_0x5243f8[_0x32fb('0x2d')],qs[_0x32fb('0x32')](_0x386cbc[_0x32fb('0x2e')][_0x32fb('0x32')]));_0x26b0b5[_0x32fb('0x33')]=_0x26b0b5[_0x32fb('0x33')][_0x32fb('0x34')]?_0x26b0b5[_0x32fb('0x33')]:_0x5243f8[_0x32fb('0x2d')];if(!_0x386cbc[_0x32fb('0x2e')][_0x32fb('0x35')]('nolimit')){_0x26b0b5[_0x32fb('0x1d')]=qs[_0x32fb('0x1d')](_0x386cbc[_0x32fb('0x2e')][_0x32fb('0x1d')]);_0x26b0b5[_0x32fb('0x1c')]=qs[_0x32fb('0x1c')](_0x386cbc[_0x32fb('0x2e')][_0x32fb('0x1c')]);}_0x26b0b5['order']=qs[_0x32fb('0x36')](_0x386cbc['query'][_0x32fb('0x36')]);_0x26b0b5['where']=qs[_0x32fb('0x30')](_[_0x32fb('0x37')](_0x386cbc['query'],_0x5243f8[_0x32fb('0x30')]),_0x560236);if(_0x386cbc[_0x32fb('0x2e')][_0x32fb('0x38')]){_0x26b0b5['where']=_[_0x32fb('0x39')](_0x26b0b5[_0x32fb('0x3a')],{'$or':_['map'](_0x560236,function(_0x2b0a57){if(_0x2b0a57['type']!==_0x32fb('0x3b')){var _0x469f71={};_0x469f71[_0x2b0a57[_0x32fb('0x25')]]={'$like':'%'+_0x386cbc[_0x32fb('0x2e')][_0x32fb('0x38')]+'%'};return _0x469f71;}})});}_0x26b0b5=_[_0x32fb('0x39')]({},_0x26b0b5,_0x386cbc['options']);var _0x20abc5={'where':_0x26b0b5[_0x32fb('0x3a')]};return db[_0x32fb('0x28')][_0x32fb('0x3c')](_0x20abc5)[_0x32fb('0x23')](function(_0x4fd36e){_0x540db7['count']=_0x4fd36e;if(_0x386cbc[_0x32fb('0x2e')][_0x32fb('0x3d')]){_0x26b0b5['include']=[{'all':!![]}];}return db[_0x32fb('0x28')][_0x32fb('0x3e')](_0x26b0b5);})['then'](function(_0x34d27b){_0x540db7['rows']=_0x34d27b;return _0x540db7;})[_0x32fb('0x23')](respondWithFilteredResult(_0x4e4df7,_0x26b0b5))[_0x32fb('0x3f')](handleError(_0x4e4df7,null));};exports[_0x32fb('0x40')]=function(_0x58bbf4,_0x4fabc1){var _0x42da4c={'raw':!![],'where':{'id':_0x58bbf4[_0x32fb('0x41')]['id']}},_0x591e0b={};_0x591e0b[_0x32fb('0x2d')]=_[_0x32fb('0x2f')](db[_0x32fb('0x28')][_0x32fb('0x29')]);_0x591e0b[_0x32fb('0x2e')]=_[_0x32fb('0x2f')](_0x58bbf4[_0x32fb('0x2e')]);_0x591e0b[_0x32fb('0x30')]=_[_0x32fb('0x31')](_0x591e0b[_0x32fb('0x2d')],_0x591e0b[_0x32fb('0x2e')]);_0x42da4c['attributes']=_[_0x32fb('0x31')](_0x591e0b[_0x32fb('0x2d')],qs[_0x32fb('0x32')](_0x58bbf4['query'][_0x32fb('0x32')]));_0x42da4c[_0x32fb('0x33')]=_0x42da4c['attributes'][_0x32fb('0x34')]?_0x42da4c[_0x32fb('0x33')]:_0x591e0b[_0x32fb('0x2d')];if(_0x58bbf4[_0x32fb('0x2e')]['includeAll']){_0x42da4c[_0x32fb('0x42')]=[{'all':!![]}];}_0x42da4c=_[_0x32fb('0x39')]({},_0x42da4c,_0x58bbf4[_0x32fb('0x43')]);return db['WhatsappTransferReport'][_0x32fb('0x44')](_0x42da4c)[_0x32fb('0x23')](handleEntityNotFound(_0x4fabc1,null))[_0x32fb('0x23')](respondWithResult(_0x4fabc1,null))[_0x32fb('0x3f')](handleError(_0x4fabc1,null));};exports['create']=function(_0x399731,_0x1abea0){return db[_0x32fb('0x28')][_0x32fb('0x45')](_0x399731[_0x32fb('0x46')],{})['then'](respondWithResult(_0x1abea0,0xc9))[_0x32fb('0x3f')](handleError(_0x1abea0,null));};exports[_0x32fb('0x21')]=function(_0x21c005,_0x2d925e){if(_0x21c005[_0x32fb('0x46')]['id']){delete _0x21c005[_0x32fb('0x46')]['id'];}return db['WhatsappTransferReport'][_0x32fb('0x44')]({'where':{'id':_0x21c005[_0x32fb('0x41')]['id']}})['then'](handleEntityNotFound(_0x2d925e,null))[_0x32fb('0x23')](saveUpdates(_0x21c005['body'],null))[_0x32fb('0x23')](respondWithResult(_0x2d925e,null))[_0x32fb('0x3f')](handleError(_0x2d925e,null));};exports['destroy']=function(_0x56c0f1,_0x35f959){return db[_0x32fb('0x28')][_0x32fb('0x44')]({'where':{'id':_0x56c0f1[_0x32fb('0x41')]['id']}})[_0x32fb('0x23')](handleEntityNotFound(_0x35f959,null))['then'](removeEntity(_0x35f959,null))[_0x32fb('0x3f')](handleError(_0x35f959,null));};exports[_0x32fb('0x47')]=function(_0x2fab9b,_0x117963){return db[_0x32fb('0x28')][_0x32fb('0x47')]()[_0x32fb('0x23')](respondWithResult(_0x117963,null))[_0x32fb('0x3f')](handleError(_0x117963,null));};
\ No newline at end of file
+var _0xdacf=['map','WhatsappTransferReport','rawAttributes','fieldName','type','key','model','query','keys','filters','intersection','attributes','fields','length','hasOwnProperty','nolimit','order','sort','where','pick','filter','merge','VIRTUAL','options','include','findAll','rows','catch','show','params','includeAll','create','body','update','find','describe','html-pdf','eml-format','rimraf','zip-dir','fast-json-patch','request-promise','moment','bluebird','mustache','util','sox','to-csv','ejs','lodash','jsforce','querystring','papaparse','ioredis','../../components/parsers/qs','../../components/parsers/advancedSearch','../../config/license/hardware','../../config/logger','api','../../config/utils','../../config/environment','../../mysqldb','sendStatus','status','count','offset','limit','set','json','apply','reject','save','then','destroy','end','error','name','send'];(function(_0xe2a9bf,_0x2a95c9){var _0x57577b=function(_0x566485){while(--_0x566485){_0xe2a9bf['push'](_0xe2a9bf['shift']());}};_0x57577b(++_0x2a95c9);}(_0xdacf,0x72));var _0xfdac=function(_0x57b54c,_0x54ce0d){_0x57b54c=_0x57b54c-0x0;var _0x59cc19=_0xdacf[_0x57b54c];return _0x59cc19;};'use strict';var pdf=require(_0xfdac('0x0'));var emlformat=require(_0xfdac('0x1'));var rimraf=require(_0xfdac('0x2'));var zipdir=require(_0xfdac('0x3'));var jsonpatch=require(_0xfdac('0x4'));var rp=require(_0xfdac('0x5'));var moment=require(_0xfdac('0x6'));var BPromise=require(_0xfdac('0x7'));var Mustache=require(_0xfdac('0x8'));var util=require(_0xfdac('0x9'));var path=require('path');var sox=require(_0xfdac('0xa'));var csv=require(_0xfdac('0xb'));var ejs=require(_0xfdac('0xc'));var fs=require('fs');var _=require(_0xfdac('0xd'));var squel=require('squel');var crypto=require('crypto');var jsforce=require(_0xfdac('0xe'));var deskjs=require('desk.js');var toCsv=require(_0xfdac('0xb'));var querystring=require(_0xfdac('0xf'));var Papa=require(_0xfdac('0x10'));var Redis=require(_0xfdac('0x11'));var authService=require('../../components/auth/service');var qs=require(_0xfdac('0x12'));var as=require(_0xfdac('0x13'));var hardwareService=require(_0xfdac('0x14'));var logger=require(_0xfdac('0x15'))(_0xfdac('0x16'));var utils=require(_0xfdac('0x17'));var config=require(_0xfdac('0x18'));var licenseUtil=require('../../config/license/util');var db=require(_0xfdac('0x19'))['db'];function respondWithStatusCode(_0xb2d655,_0xf2d9e4){_0xf2d9e4=_0xf2d9e4||0xcc;return function(_0x9eb257){if(_0x9eb257){return _0xb2d655[_0xfdac('0x1a')](_0xf2d9e4);}return _0xb2d655[_0xfdac('0x1b')](_0xf2d9e4)['end']();};}function respondWithResult(_0x325e56,_0x4b8e06){_0x4b8e06=_0x4b8e06||0xc8;return function(_0x5f5206){if(_0x5f5206){return _0x325e56[_0xfdac('0x1b')](_0x4b8e06)['json'](_0x5f5206);}};}function respondWithFilteredResult(_0x75ae3a,_0x4374ce){return function(_0x38fc83){if(_0x38fc83){var _0x3fce47=_0x38fc83[_0xfdac('0x1c')],_0x38d225=_0x4374ce[_0xfdac('0x1d')],_0x2b78aa=_0x4374ce[_0xfdac('0x1d')]+_0x4374ce[_0xfdac('0x1e')],_0x5c266e;if(_0x2b78aa>=_0x3fce47){_0x2b78aa=_0x3fce47;_0x5c266e=0xc8;}else{_0x5c266e=0xce;}_0x75ae3a['status'](_0x5c266e);return _0x75ae3a[_0xfdac('0x1f')]('Content-Range',_0x38d225+'-'+_0x2b78aa+'/'+_0x3fce47)[_0xfdac('0x20')](_0x38fc83);}return null;};}function patchUpdates(_0xbbbd70){return function(_0x3e62e5){try{jsonpatch[_0xfdac('0x21')](_0x3e62e5,_0xbbbd70,!![]);}catch(_0x59c2ba){return BPromise[_0xfdac('0x22')](_0x59c2ba);}return _0x3e62e5[_0xfdac('0x23')]();};}function saveUpdates(_0x50a273,_0x8ad0ab){return function(_0x3b416d){if(_0x3b416d){return _0x3b416d['update'](_0x50a273)[_0xfdac('0x24')](function(_0x2cbde1){return _0x2cbde1;});}return null;};}function removeEntity(_0x5cd671,_0x402c86){return function(_0xbcc9c0){if(_0xbcc9c0){return _0xbcc9c0[_0xfdac('0x25')]()[_0xfdac('0x24')](function(){_0x5cd671[_0xfdac('0x1b')](0xcc)[_0xfdac('0x26')]();});}};}function handleEntityNotFound(_0x11f40f,_0x46b07b){return function(_0x226331){if(!_0x226331){_0x11f40f[_0xfdac('0x1a')](0x194);}return _0x226331;};}function handleError(_0x4aa954,_0x148a3f){_0x148a3f=_0x148a3f||0x1f4;return function(_0x50e1e8){logger[_0xfdac('0x27')](_0x50e1e8['stack']);if(_0x50e1e8[_0xfdac('0x28')]){delete _0x50e1e8[_0xfdac('0x28')];}_0x4aa954[_0xfdac('0x1b')](_0x148a3f)[_0xfdac('0x29')](_0x50e1e8);};}exports['index']=function(_0x3bc601,_0x1c52d1){var _0x53eb59={},_0x3232d9={},_0x127452={'count':0x0,'rows':[]};var _0x8dbe57=_[_0xfdac('0x2a')](db[_0xfdac('0x2b')][_0xfdac('0x2c')],function(_0x204d88){return{'name':_0x204d88[_0xfdac('0x2d')],'type':_0x204d88[_0xfdac('0x2e')][_0xfdac('0x2f')]};});_0x3232d9[_0xfdac('0x30')]=_[_0xfdac('0x2a')](_0x8dbe57,_0xfdac('0x28'));_0x3232d9[_0xfdac('0x31')]=_[_0xfdac('0x32')](_0x3bc601[_0xfdac('0x31')]);_0x3232d9[_0xfdac('0x33')]=_[_0xfdac('0x34')](_0x3232d9[_0xfdac('0x30')],_0x3232d9[_0xfdac('0x31')]);_0x53eb59[_0xfdac('0x35')]=_[_0xfdac('0x34')](_0x3232d9[_0xfdac('0x30')],qs[_0xfdac('0x36')](_0x3bc601[_0xfdac('0x31')][_0xfdac('0x36')]));_0x53eb59[_0xfdac('0x35')]=_0x53eb59[_0xfdac('0x35')][_0xfdac('0x37')]?_0x53eb59[_0xfdac('0x35')]:_0x3232d9[_0xfdac('0x30')];if(!_0x3bc601[_0xfdac('0x31')][_0xfdac('0x38')](_0xfdac('0x39'))){_0x53eb59['limit']=qs['limit'](_0x3bc601[_0xfdac('0x31')][_0xfdac('0x1e')]);_0x53eb59[_0xfdac('0x1d')]=qs['offset'](_0x3bc601[_0xfdac('0x31')]['offset']);}_0x53eb59[_0xfdac('0x3a')]=qs[_0xfdac('0x3b')](_0x3bc601[_0xfdac('0x31')][_0xfdac('0x3b')]);_0x53eb59[_0xfdac('0x3c')]=qs['filters'](_[_0xfdac('0x3d')](_0x3bc601[_0xfdac('0x31')],_0x3232d9['filters']),_0x8dbe57);if(_0x3bc601[_0xfdac('0x31')][_0xfdac('0x3e')]){_0x53eb59['where']=_[_0xfdac('0x3f')](_0x53eb59['where'],{'$or':_[_0xfdac('0x2a')](_0x8dbe57,function(_0x476572){if(_0x476572[_0xfdac('0x2e')]!==_0xfdac('0x40')){var _0xed4253={};_0xed4253[_0x476572[_0xfdac('0x28')]]={'$like':'%'+_0x3bc601[_0xfdac('0x31')][_0xfdac('0x3e')]+'%'};return _0xed4253;}})});}_0x53eb59=_[_0xfdac('0x3f')]({},_0x53eb59,_0x3bc601[_0xfdac('0x41')]);var _0x4b9e86={'where':_0x53eb59[_0xfdac('0x3c')]};return db[_0xfdac('0x2b')]['count'](_0x4b9e86)[_0xfdac('0x24')](function(_0x48b4cd){_0x127452[_0xfdac('0x1c')]=_0x48b4cd;if(_0x3bc601[_0xfdac('0x31')]['includeAll']){_0x53eb59[_0xfdac('0x42')]=[{'all':!![]}];}return db[_0xfdac('0x2b')][_0xfdac('0x43')](_0x53eb59);})['then'](function(_0xf3a8d8){_0x127452[_0xfdac('0x44')]=_0xf3a8d8;return _0x127452;})[_0xfdac('0x24')](respondWithFilteredResult(_0x1c52d1,_0x53eb59))[_0xfdac('0x45')](handleError(_0x1c52d1,null));};exports[_0xfdac('0x46')]=function(_0x262b21,_0x3e7873){var _0x12e9ab={'raw':!![],'where':{'id':_0x262b21[_0xfdac('0x47')]['id']}},_0x1bc017={};_0x1bc017[_0xfdac('0x30')]=_['keys'](db[_0xfdac('0x2b')][_0xfdac('0x2c')]);_0x1bc017['query']=_[_0xfdac('0x32')](_0x262b21[_0xfdac('0x31')]);_0x1bc017[_0xfdac('0x33')]=_['intersection'](_0x1bc017[_0xfdac('0x30')],_0x1bc017['query']);_0x12e9ab[_0xfdac('0x35')]=_[_0xfdac('0x34')](_0x1bc017[_0xfdac('0x30')],qs['fields'](_0x262b21[_0xfdac('0x31')][_0xfdac('0x36')]));_0x12e9ab[_0xfdac('0x35')]=_0x12e9ab[_0xfdac('0x35')][_0xfdac('0x37')]?_0x12e9ab[_0xfdac('0x35')]:_0x1bc017[_0xfdac('0x30')];if(_0x262b21[_0xfdac('0x31')][_0xfdac('0x48')]){_0x12e9ab[_0xfdac('0x42')]=[{'all':!![]}];}_0x12e9ab=_[_0xfdac('0x3f')]({},_0x12e9ab,_0x262b21['options']);return db['WhatsappTransferReport']['find'](_0x12e9ab)[_0xfdac('0x24')](handleEntityNotFound(_0x3e7873,null))[_0xfdac('0x24')](respondWithResult(_0x3e7873,null))[_0xfdac('0x45')](handleError(_0x3e7873,null));};exports[_0xfdac('0x49')]=function(_0x5f0393,_0x5ebab9){return db['WhatsappTransferReport']['create'](_0x5f0393[_0xfdac('0x4a')],{})['then'](respondWithResult(_0x5ebab9,0xc9))[_0xfdac('0x45')](handleError(_0x5ebab9,null));};exports[_0xfdac('0x4b')]=function(_0x4a8e2a,_0x49e27e){if(_0x4a8e2a[_0xfdac('0x4a')]['id']){delete _0x4a8e2a[_0xfdac('0x4a')]['id'];}return db['WhatsappTransferReport'][_0xfdac('0x4c')]({'where':{'id':_0x4a8e2a[_0xfdac('0x47')]['id']}})[_0xfdac('0x24')](handleEntityNotFound(_0x49e27e,null))[_0xfdac('0x24')](saveUpdates(_0x4a8e2a[_0xfdac('0x4a')],null))[_0xfdac('0x24')](respondWithResult(_0x49e27e,null))[_0xfdac('0x45')](handleError(_0x49e27e,null));};exports[_0xfdac('0x25')]=function(_0x3f684b,_0x45a764){return db['WhatsappTransferReport'][_0xfdac('0x4c')]({'where':{'id':_0x3f684b['params']['id']}})['then'](handleEntityNotFound(_0x45a764,null))[_0xfdac('0x24')](removeEntity(_0x45a764,null))[_0xfdac('0x45')](handleError(_0x45a764,null));};exports['describe']=function(_0x59b21e,_0x491e86){return db[_0xfdac('0x2b')][_0xfdac('0x4d')]()[_0xfdac('0x24')](respondWithResult(_0x491e86,null))[_0xfdac('0x45')](handleError(_0x491e86,null));};
\ No newline at end of file