Built motion from commit 85328c08.|2.5.50
[motion2.git] / server / api / openchannelTransferReport / openchannelTransferReport.controller.js
index 7d6640f..04a7bc9 100644 (file)
@@ -15,4 +15,4 @@
 // * treaties. The SOFTWARE PRODUCT is licensed, not sold.                        *
 // *                                                                       *
 // *************************************************************************
-var _0xbbc8=['Content-Range','apply','reject','save','then','destroy','error','name','send','index','rawAttributes','fieldName','type','model','query','keys','intersection','fields','attributes','length','nolimit','order','sort','where','filters','pick','filter','map','VIRTUAL','OpenchannelTransferReport','count','includeAll','include','findAll','catch','show','params','options','find','create','update','body','describe','rimraf','zip-dir','fast-json-patch','moment','bluebird','mustache','util','path','to-csv','ejs','squel','desk.js','querystring','papaparse','ioredis','../../components/parsers/qs','../../components/parsers/advancedSearch','../../config/license/hardware','../../config/logger','api','../../config/utils','../../config/environment','../../mysqldb','sendStatus','status','json','offset','undefined','limit','set'];(function(_0x59b233,_0x504a2a){var _0x2e6c3d=function(_0x5ab7e3){while(--_0x5ab7e3){_0x59b233['push'](_0x59b233['shift']());}};_0x2e6c3d(++_0x504a2a);}(_0xbbc8,0x106));var _0x8bbc=function(_0x2350d5,_0x2a4799){_0x2350d5=_0x2350d5-0x0;var _0x5af183=_0xbbc8[_0x2350d5];return _0x5af183;};'use strict';var emlformat=require('eml-format');var rimraf=require(_0x8bbc('0x0'));var zipdir=require(_0x8bbc('0x1'));var jsonpatch=require(_0x8bbc('0x2'));var rp=require('request-promise');var moment=require(_0x8bbc('0x3'));var BPromise=require(_0x8bbc('0x4'));var Mustache=require(_0x8bbc('0x5'));var util=require(_0x8bbc('0x6'));var path=require(_0x8bbc('0x7'));var sox=require('sox');var csv=require(_0x8bbc('0x8'));var ejs=require(_0x8bbc('0x9'));var fs=require('fs');var fs_extra=require('fs-extra');var _=require('lodash');var squel=require(_0x8bbc('0xa'));var crypto=require('crypto');var jsforce=require('jsforce');var deskjs=require(_0x8bbc('0xb'));var toCsv=require(_0x8bbc('0x8'));var querystring=require(_0x8bbc('0xc'));var Papa=require(_0x8bbc('0xd'));var Redis=require(_0x8bbc('0xe'));var authService=require('../../components/auth/service');var qs=require(_0x8bbc('0xf'));var as=require(_0x8bbc('0x10'));var hardwareService=require(_0x8bbc('0x11'));var logger=require(_0x8bbc('0x12'))(_0x8bbc('0x13'));var utils=require(_0x8bbc('0x14'));var config=require(_0x8bbc('0x15'));var licenseUtil=require('../../config/license/util');var db=require(_0x8bbc('0x16'))['db'];function respondWithStatusCode(_0x1f7046,_0x2cfafc){_0x2cfafc=_0x2cfafc||0xcc;return function(_0x28bc17){if(_0x28bc17){return _0x1f7046[_0x8bbc('0x17')](_0x2cfafc);}return _0x1f7046[_0x8bbc('0x18')](_0x2cfafc)['end']();};}function respondWithResult(_0x498858,_0x812df5){_0x812df5=_0x812df5||0xc8;return function(_0x2e0d72){if(_0x2e0d72){return _0x498858['status'](_0x812df5)[_0x8bbc('0x19')](_0x2e0d72);}};}function respondWithFilteredResult(_0x16c16b,_0x13749e){return function(_0x1d25ab){if(_0x1d25ab){var _0x231d04=typeof _0x13749e[_0x8bbc('0x1a')]===_0x8bbc('0x1b')&&typeof _0x13749e['limit']==='undefined';var _0x2fc5a6=_0x1d25ab['count'];var _0x41b176=_0x231d04?0x0:_0x13749e[_0x8bbc('0x1a')];var _0x19ce1a=_0x231d04?_0x1d25ab['count']:_0x13749e[_0x8bbc('0x1a')]+_0x13749e[_0x8bbc('0x1c')];var _0x35cf9d;if(_0x19ce1a>=_0x2fc5a6){_0x19ce1a=_0x2fc5a6;_0x35cf9d=0xc8;}else{_0x35cf9d=0xce;}_0x16c16b[_0x8bbc('0x18')](_0x35cf9d);return _0x16c16b[_0x8bbc('0x1d')](_0x8bbc('0x1e'),_0x41b176+'-'+_0x19ce1a+'/'+_0x2fc5a6)['json'](_0x1d25ab);}return null;};}function patchUpdates(_0x2ef556){return function(_0x124c04){try{jsonpatch[_0x8bbc('0x1f')](_0x124c04,_0x2ef556,!![]);}catch(_0x89903c){return BPromise[_0x8bbc('0x20')](_0x89903c);}return _0x124c04[_0x8bbc('0x21')]();};}function saveUpdates(_0x2c9af6,_0x1729bc){return function(_0x1c9265){if(_0x1c9265){return _0x1c9265['update'](_0x2c9af6)[_0x8bbc('0x22')](function(_0x4daea8){return _0x4daea8;});}return null;};}function removeEntity(_0x38a075,_0x1f1b8d){return function(_0x47a576){if(_0x47a576){return _0x47a576[_0x8bbc('0x23')]()[_0x8bbc('0x22')](function(){_0x38a075['status'](0xcc)['end']();});}};}function handleEntityNotFound(_0x162d25,_0xe4c563){return function(_0x12dff5){if(!_0x12dff5){_0x162d25['sendStatus'](0x194);}return _0x12dff5;};}function handleError(_0x61ba2f,_0x1db690){_0x1db690=_0x1db690||0x1f4;return function(_0x10521a){logger[_0x8bbc('0x24')](_0x10521a['stack']);if(_0x10521a[_0x8bbc('0x25')]){delete _0x10521a[_0x8bbc('0x25')];}_0x61ba2f['status'](_0x1db690)[_0x8bbc('0x26')](_0x10521a);};}exports[_0x8bbc('0x27')]=function(_0x11cda0,_0x56bb36){var _0x1c6e4b={},_0x5dd3ed={},_0x32f087={'count':0x0,'rows':[]};var _0xea4e43=_['map'](db['OpenchannelTransferReport'][_0x8bbc('0x28')],function(_0x4046a1){return{'name':_0x4046a1[_0x8bbc('0x29')],'type':_0x4046a1[_0x8bbc('0x2a')]['key']};});_0x5dd3ed[_0x8bbc('0x2b')]=_['map'](_0xea4e43,_0x8bbc('0x25'));_0x5dd3ed[_0x8bbc('0x2c')]=_[_0x8bbc('0x2d')](_0x11cda0[_0x8bbc('0x2c')]);_0x5dd3ed['filters']=_[_0x8bbc('0x2e')](_0x5dd3ed[_0x8bbc('0x2b')],_0x5dd3ed[_0x8bbc('0x2c')]);_0x1c6e4b['attributes']=_['intersection'](_0x5dd3ed[_0x8bbc('0x2b')],qs[_0x8bbc('0x2f')](_0x11cda0[_0x8bbc('0x2c')][_0x8bbc('0x2f')]));_0x1c6e4b[_0x8bbc('0x30')]=_0x1c6e4b['attributes'][_0x8bbc('0x31')]?_0x1c6e4b[_0x8bbc('0x30')]:_0x5dd3ed[_0x8bbc('0x2b')];if(!_0x11cda0['query']['hasOwnProperty'](_0x8bbc('0x32'))){_0x1c6e4b[_0x8bbc('0x1c')]=qs[_0x8bbc('0x1c')](_0x11cda0[_0x8bbc('0x2c')][_0x8bbc('0x1c')]);_0x1c6e4b[_0x8bbc('0x1a')]=qs[_0x8bbc('0x1a')](_0x11cda0[_0x8bbc('0x2c')][_0x8bbc('0x1a')]);}_0x1c6e4b[_0x8bbc('0x33')]=qs[_0x8bbc('0x34')](_0x11cda0[_0x8bbc('0x2c')]['sort']);_0x1c6e4b[_0x8bbc('0x35')]=qs[_0x8bbc('0x36')](_[_0x8bbc('0x37')](_0x11cda0[_0x8bbc('0x2c')],_0x5dd3ed['filters']),_0xea4e43);if(_0x11cda0[_0x8bbc('0x2c')][_0x8bbc('0x38')]){_0x1c6e4b[_0x8bbc('0x35')]=_['merge'](_0x1c6e4b['where'],{'$or':_[_0x8bbc('0x39')](_0xea4e43,function(_0x171c43){if(_0x171c43[_0x8bbc('0x2a')]!==_0x8bbc('0x3a')){var _0x132449={};_0x132449[_0x171c43[_0x8bbc('0x25')]]={'$like':'%'+_0x11cda0[_0x8bbc('0x2c')][_0x8bbc('0x38')]+'%'};return _0x132449;}})});}_0x1c6e4b=_['merge']({},_0x1c6e4b,_0x11cda0['options']);var _0x14c7f8={'where':_0x1c6e4b[_0x8bbc('0x35')]};return db[_0x8bbc('0x3b')][_0x8bbc('0x3c')](_0x14c7f8)[_0x8bbc('0x22')](function(_0x20eb21){_0x32f087[_0x8bbc('0x3c')]=_0x20eb21;if(_0x11cda0[_0x8bbc('0x2c')][_0x8bbc('0x3d')]){_0x1c6e4b[_0x8bbc('0x3e')]=[{'all':!![]}];}return db[_0x8bbc('0x3b')][_0x8bbc('0x3f')](_0x1c6e4b);})['then'](function(_0x431e28){_0x32f087['rows']=_0x431e28;return _0x32f087;})[_0x8bbc('0x22')](respondWithFilteredResult(_0x56bb36,_0x1c6e4b))[_0x8bbc('0x40')](handleError(_0x56bb36,null));};exports[_0x8bbc('0x41')]=function(_0x18eff0,_0x2ab511){var _0x3dda24={'raw':!![],'where':{'id':_0x18eff0[_0x8bbc('0x42')]['id']}},_0x112519={};_0x112519[_0x8bbc('0x2b')]=_[_0x8bbc('0x2d')](db[_0x8bbc('0x3b')][_0x8bbc('0x28')]);_0x112519[_0x8bbc('0x2c')]=_[_0x8bbc('0x2d')](_0x18eff0[_0x8bbc('0x2c')]);_0x112519[_0x8bbc('0x36')]=_[_0x8bbc('0x2e')](_0x112519[_0x8bbc('0x2b')],_0x112519[_0x8bbc('0x2c')]);_0x3dda24[_0x8bbc('0x30')]=_[_0x8bbc('0x2e')](_0x112519[_0x8bbc('0x2b')],qs['fields'](_0x18eff0['query']['fields']));_0x3dda24[_0x8bbc('0x30')]=_0x3dda24[_0x8bbc('0x30')][_0x8bbc('0x31')]?_0x3dda24[_0x8bbc('0x30')]:_0x112519['model'];if(_0x18eff0[_0x8bbc('0x2c')][_0x8bbc('0x3d')]){_0x3dda24['include']=[{'all':!![]}];}_0x3dda24=_['merge']({},_0x3dda24,_0x18eff0[_0x8bbc('0x43')]);return db[_0x8bbc('0x3b')][_0x8bbc('0x44')](_0x3dda24)[_0x8bbc('0x22')](handleEntityNotFound(_0x2ab511,null))['then'](respondWithResult(_0x2ab511,null))[_0x8bbc('0x40')](handleError(_0x2ab511,null));};exports[_0x8bbc('0x45')]=function(_0x522a0a,_0x40e15e){return db[_0x8bbc('0x3b')][_0x8bbc('0x45')](_0x522a0a['body'],{})[_0x8bbc('0x22')](respondWithResult(_0x40e15e,0xc9))['catch'](handleError(_0x40e15e,null));};exports[_0x8bbc('0x46')]=function(_0x540eee,_0x5f3da7){if(_0x540eee[_0x8bbc('0x47')]['id']){delete _0x540eee[_0x8bbc('0x47')]['id'];}return db[_0x8bbc('0x3b')][_0x8bbc('0x44')]({'where':{'id':_0x540eee[_0x8bbc('0x42')]['id']}})[_0x8bbc('0x22')](handleEntityNotFound(_0x5f3da7,null))[_0x8bbc('0x22')](saveUpdates(_0x540eee['body'],null))['then'](respondWithResult(_0x5f3da7,null))[_0x8bbc('0x40')](handleError(_0x5f3da7,null));};exports['destroy']=function(_0x1963dc,_0xf1f7db){return db[_0x8bbc('0x3b')]['find']({'where':{'id':_0x1963dc[_0x8bbc('0x42')]['id']}})[_0x8bbc('0x22')](handleEntityNotFound(_0xf1f7db,null))[_0x8bbc('0x22')](removeEntity(_0xf1f7db,null))['catch'](handleError(_0xf1f7db,null));};exports[_0x8bbc('0x48')]=function(_0x4b38aa,_0x2d0a3c){return db[_0x8bbc('0x3b')]['describe']()[_0x8bbc('0x22')](respondWithResult(_0x2d0a3c,null))[_0x8bbc('0x40')](handleError(_0x2d0a3c,null));};
\ No newline at end of file
+var _0x864f=['path','sox','to-csv','fs-extra','crypto','jsforce','desk.js','querystring','ioredis','../../components/auth/service','../../components/parsers/qs','../../config/license/hardware','../../config/logger','../../config/utils','../../config/environment','../../config/license/util','../../mysqldb','sendStatus','status','json','offset','undefined','limit','count','set','Content-Range','save','update','then','end','error','stack','name','send','index','map','OpenchannelTransferReport','rawAttributes','fieldName','type','key','model','filters','intersection','query','attributes','length','order','sort','where','pick','merge','filter','options','includeAll','rows','show','params','keys','fields','include','find','create','body','catch','describe','eml-format','rimraf','zip-dir','fast-json-patch','moment','bluebird','util'];(function(_0x2e9a06,_0x3d0b26){var _0x4a3e10=function(_0x4f8100){while(--_0x4f8100){_0x2e9a06['push'](_0x2e9a06['shift']());}};_0x4a3e10(++_0x3d0b26);}(_0x864f,0xd4));var _0xf864=function(_0x2d5915,_0x1aec02){_0x2d5915=_0x2d5915-0x0;var _0x3772b6=_0x864f[_0x2d5915];return _0x3772b6;};'use strict';var emlformat=require(_0xf864('0x0'));var rimraf=require(_0xf864('0x1'));var zipdir=require(_0xf864('0x2'));var jsonpatch=require(_0xf864('0x3'));var rp=require('request-promise');var moment=require(_0xf864('0x4'));var BPromise=require(_0xf864('0x5'));var Mustache=require('mustache');var util=require(_0xf864('0x6'));var path=require(_0xf864('0x7'));var sox=require(_0xf864('0x8'));var csv=require(_0xf864('0x9'));var ejs=require('ejs');var fs=require('fs');var fs_extra=require(_0xf864('0xa'));var _=require('lodash');var squel=require('squel');var crypto=require(_0xf864('0xb'));var jsforce=require(_0xf864('0xc'));var deskjs=require(_0xf864('0xd'));var toCsv=require(_0xf864('0x9'));var querystring=require(_0xf864('0xe'));var Papa=require('papaparse');var Redis=require(_0xf864('0xf'));var authService=require(_0xf864('0x10'));var qs=require(_0xf864('0x11'));var as=require('../../components/parsers/advancedSearch');var hardwareService=require(_0xf864('0x12'));var logger=require(_0xf864('0x13'))('api');var utils=require(_0xf864('0x14'));var config=require(_0xf864('0x15'));var licenseUtil=require(_0xf864('0x16'));var db=require(_0xf864('0x17'))['db'];function respondWithStatusCode(_0x95e132,_0x65163b){_0x65163b=_0x65163b||0xcc;return function(_0x568551){if(_0x568551){return _0x95e132[_0xf864('0x18')](_0x65163b);}return _0x95e132[_0xf864('0x19')](_0x65163b)['end']();};}function respondWithResult(_0x4c7140,_0x230dcc){_0x230dcc=_0x230dcc||0xc8;return function(_0x2ae283){if(_0x2ae283){return _0x4c7140[_0xf864('0x19')](_0x230dcc)[_0xf864('0x1a')](_0x2ae283);}};}function respondWithFilteredResult(_0x3923dc,_0x1db9e8){return function(_0x1150b3){if(_0x1150b3){var _0x2c5ec7=typeof _0x1db9e8[_0xf864('0x1b')]===_0xf864('0x1c')&&typeof _0x1db9e8[_0xf864('0x1d')]===_0xf864('0x1c');var _0x508361=_0x1150b3[_0xf864('0x1e')];var _0x1c1955=_0x2c5ec7?0x0:_0x1db9e8[_0xf864('0x1b')];var _0x24fb19=_0x2c5ec7?_0x1150b3[_0xf864('0x1e')]:_0x1db9e8[_0xf864('0x1b')]+_0x1db9e8[_0xf864('0x1d')];var _0x37b076;if(_0x24fb19>=_0x508361){_0x24fb19=_0x508361;_0x37b076=0xc8;}else{_0x37b076=0xce;}_0x3923dc[_0xf864('0x19')](_0x37b076);return _0x3923dc[_0xf864('0x1f')](_0xf864('0x20'),_0x1c1955+'-'+_0x24fb19+'/'+_0x508361)[_0xf864('0x1a')](_0x1150b3);}return null;};}function patchUpdates(_0x53c361){return function(_0x4ff75b){try{jsonpatch['apply'](_0x4ff75b,_0x53c361,!![]);}catch(_0x5a6c9a){return BPromise['reject'](_0x5a6c9a);}return _0x4ff75b[_0xf864('0x21')]();};}function saveUpdates(_0x5163f4,_0x583d80){return function(_0x35f5c5){if(_0x35f5c5){return _0x35f5c5[_0xf864('0x22')](_0x5163f4)['then'](function(_0x5500c4){return _0x5500c4;});}return null;};}function removeEntity(_0x2e972b,_0x1df2ad){return function(_0x3ef33d){if(_0x3ef33d){return _0x3ef33d['destroy']()[_0xf864('0x23')](function(){_0x2e972b[_0xf864('0x19')](0xcc)[_0xf864('0x24')]();});}};}function handleEntityNotFound(_0xc5ec46,_0x38a274){return function(_0x4f0864){if(!_0x4f0864){_0xc5ec46['sendStatus'](0x194);}return _0x4f0864;};}function handleError(_0x2ecb8d,_0x5a7501){_0x5a7501=_0x5a7501||0x1f4;return function(_0x7d75e0){logger[_0xf864('0x25')](_0x7d75e0[_0xf864('0x26')]);if(_0x7d75e0[_0xf864('0x27')]){delete _0x7d75e0[_0xf864('0x27')];}_0x2ecb8d[_0xf864('0x19')](_0x5a7501)[_0xf864('0x28')](_0x7d75e0);};}exports[_0xf864('0x29')]=function(_0x82b790,_0x251230){var _0x52e507={},_0x251cc6={},_0x315888={'count':0x0,'rows':[]};var _0x19d00f=_[_0xf864('0x2a')](db[_0xf864('0x2b')][_0xf864('0x2c')],function(_0x2e2984){return{'name':_0x2e2984[_0xf864('0x2d')],'type':_0x2e2984[_0xf864('0x2e')][_0xf864('0x2f')]};});_0x251cc6[_0xf864('0x30')]=_[_0xf864('0x2a')](_0x19d00f,'name');_0x251cc6['query']=_['keys'](_0x82b790['query']);_0x251cc6[_0xf864('0x31')]=_[_0xf864('0x32')](_0x251cc6[_0xf864('0x30')],_0x251cc6[_0xf864('0x33')]);_0x52e507['attributes']=_[_0xf864('0x32')](_0x251cc6[_0xf864('0x30')],qs['fields'](_0x82b790['query']['fields']));_0x52e507[_0xf864('0x34')]=_0x52e507[_0xf864('0x34')][_0xf864('0x35')]?_0x52e507[_0xf864('0x34')]:_0x251cc6['model'];if(!_0x82b790[_0xf864('0x33')]['hasOwnProperty']('nolimit')){_0x52e507[_0xf864('0x1d')]=qs['limit'](_0x82b790[_0xf864('0x33')][_0xf864('0x1d')]);_0x52e507['offset']=qs[_0xf864('0x1b')](_0x82b790[_0xf864('0x33')][_0xf864('0x1b')]);}_0x52e507[_0xf864('0x36')]=qs[_0xf864('0x37')](_0x82b790[_0xf864('0x33')]['sort']);_0x52e507[_0xf864('0x38')]=qs[_0xf864('0x31')](_[_0xf864('0x39')](_0x82b790[_0xf864('0x33')],_0x251cc6['filters']),_0x19d00f);if(_0x82b790['query']['filter']){_0x52e507[_0xf864('0x38')]=_[_0xf864('0x3a')](_0x52e507[_0xf864('0x38')],{'$or':_['map'](_0x19d00f,function(_0x4e9e3e){if(_0x4e9e3e[_0xf864('0x2e')]!=='VIRTUAL'){var _0x405ee2={};_0x405ee2[_0x4e9e3e[_0xf864('0x27')]]={'$like':'%'+_0x82b790['query'][_0xf864('0x3b')]+'%'};return _0x405ee2;}})});}_0x52e507=_['merge']({},_0x52e507,_0x82b790[_0xf864('0x3c')]);var _0x352152={'where':_0x52e507['where']};return db[_0xf864('0x2b')][_0xf864('0x1e')](_0x352152)[_0xf864('0x23')](function(_0x4b9e1b){_0x315888[_0xf864('0x1e')]=_0x4b9e1b;if(_0x82b790[_0xf864('0x33')][_0xf864('0x3d')]){_0x52e507['include']=[{'all':!![]}];}return db['OpenchannelTransferReport']['findAll'](_0x52e507);})['then'](function(_0x4ad9e6){_0x315888[_0xf864('0x3e')]=_0x4ad9e6;return _0x315888;})[_0xf864('0x23')](respondWithFilteredResult(_0x251230,_0x52e507))['catch'](handleError(_0x251230,null));};exports[_0xf864('0x3f')]=function(_0x37215e,_0x44cbfc){var _0x2af4ad={'raw':!![],'where':{'id':_0x37215e[_0xf864('0x40')]['id']}},_0x529a62={};_0x529a62[_0xf864('0x30')]=_[_0xf864('0x41')](db[_0xf864('0x2b')][_0xf864('0x2c')]);_0x529a62[_0xf864('0x33')]=_[_0xf864('0x41')](_0x37215e[_0xf864('0x33')]);_0x529a62[_0xf864('0x31')]=_['intersection'](_0x529a62['model'],_0x529a62[_0xf864('0x33')]);_0x2af4ad['attributes']=_[_0xf864('0x32')](_0x529a62['model'],qs[_0xf864('0x42')](_0x37215e[_0xf864('0x33')][_0xf864('0x42')]));_0x2af4ad[_0xf864('0x34')]=_0x2af4ad[_0xf864('0x34')][_0xf864('0x35')]?_0x2af4ad[_0xf864('0x34')]:_0x529a62[_0xf864('0x30')];if(_0x37215e[_0xf864('0x33')][_0xf864('0x3d')]){_0x2af4ad[_0xf864('0x43')]=[{'all':!![]}];}_0x2af4ad=_[_0xf864('0x3a')]({},_0x2af4ad,_0x37215e[_0xf864('0x3c')]);return db[_0xf864('0x2b')][_0xf864('0x44')](_0x2af4ad)[_0xf864('0x23')](handleEntityNotFound(_0x44cbfc,null))['then'](respondWithResult(_0x44cbfc,null))['catch'](handleError(_0x44cbfc,null));};exports[_0xf864('0x45')]=function(_0x5f4c80,_0x4ccba6){return db['OpenchannelTransferReport']['create'](_0x5f4c80[_0xf864('0x46')],{})[_0xf864('0x23')](respondWithResult(_0x4ccba6,0xc9))['catch'](handleError(_0x4ccba6,null));};exports[_0xf864('0x22')]=function(_0x330c1a,_0x1c84c6){if(_0x330c1a[_0xf864('0x46')]['id']){delete _0x330c1a[_0xf864('0x46')]['id'];}return db['OpenchannelTransferReport']['find']({'where':{'id':_0x330c1a[_0xf864('0x40')]['id']}})[_0xf864('0x23')](handleEntityNotFound(_0x1c84c6,null))['then'](saveUpdates(_0x330c1a[_0xf864('0x46')],null))['then'](respondWithResult(_0x1c84c6,null))[_0xf864('0x47')](handleError(_0x1c84c6,null));};exports['destroy']=function(_0x83acc8,_0x2717b0){return db['OpenchannelTransferReport'][_0xf864('0x44')]({'where':{'id':_0x83acc8[_0xf864('0x40')]['id']}})[_0xf864('0x23')](handleEntityNotFound(_0x2717b0,null))[_0xf864('0x23')](removeEntity(_0x2717b0,null))[_0xf864('0x47')](handleError(_0x2717b0,null));};exports[_0xf864('0x48')]=function(_0x138e0f,_0x3e11e2){return db['OpenchannelTransferReport'][_0xf864('0x48')]()[_0xf864('0x23')](respondWithResult(_0x3e11e2,null))['catch'](handleError(_0x3e11e2,null));};
\ No newline at end of file