Built motion from commit b5996064.|2.6.21
[motion2.git] / server / api / smsTransferReport / smsTransferReport.controller.js
index e63e0cc..3d972ff 100644 (file)
@@ -15,4 +15,4 @@
 // * treaties. The SOFTWARE PRODUCT is licensed, not sold.                        *
 // *                                                                       *
 // *************************************************************************
-var _0xbf84=['options','include','findAll','rows','then','catch','params','keys','create','body','find','destroy','describe','eml-format','rimraf','fast-json-patch','request-promise','moment','mustache','util','path','sox','ejs','fs-extra','lodash','squel','desk.js','to-csv','querystring','papaparse','../../components/auth/service','../../components/parsers/qs','../../components/parsers/advancedSearch','../../config/license/hardware','api','../../config/utils','../../config/environment','../../config/license/util','../../mysqldb','status','end','json','undefined','count','offset','limit','set','Content-Range','apply','update','sendStatus','error','name','send','index','SmsTransferReport','rawAttributes','fieldName','type','key','model','map','query','filters','intersection','attributes','fields','length','hasOwnProperty','nolimit','order','sort','pick','filter','where','merge','VIRTUAL'];(function(_0x52f271,_0x335ffb){var _0x5adc27=function(_0x38ee77){while(--_0x38ee77){_0x52f271['push'](_0x52f271['shift']());}};_0x5adc27(++_0x335ffb);}(_0xbf84,0x1db));var _0x4bf8=function(_0x2e3614,_0x14dc56){_0x2e3614=_0x2e3614-0x0;var _0x43427c=_0xbf84[_0x2e3614];return _0x43427c;};'use strict';var emlformat=require(_0x4bf8('0x0'));var rimraf=require(_0x4bf8('0x1'));var zipdir=require('zip-dir');var jsonpatch=require(_0x4bf8('0x2'));var rp=require(_0x4bf8('0x3'));var moment=require(_0x4bf8('0x4'));var BPromise=require('bluebird');var Mustache=require(_0x4bf8('0x5'));var util=require(_0x4bf8('0x6'));var path=require(_0x4bf8('0x7'));var sox=require(_0x4bf8('0x8'));var csv=require('to-csv');var ejs=require(_0x4bf8('0x9'));var fs=require('fs');var fs_extra=require(_0x4bf8('0xa'));var _=require(_0x4bf8('0xb'));var squel=require(_0x4bf8('0xc'));var crypto=require('crypto');var jsforce=require('jsforce');var deskjs=require(_0x4bf8('0xd'));var toCsv=require(_0x4bf8('0xe'));var querystring=require(_0x4bf8('0xf'));var Papa=require(_0x4bf8('0x10'));var Redis=require('ioredis');var authService=require(_0x4bf8('0x11'));var qs=require(_0x4bf8('0x12'));var as=require(_0x4bf8('0x13'));var hardwareService=require(_0x4bf8('0x14'));var logger=require('../../config/logger')(_0x4bf8('0x15'));var utils=require(_0x4bf8('0x16'));var config=require(_0x4bf8('0x17'));var licenseUtil=require(_0x4bf8('0x18'));var db=require(_0x4bf8('0x19'))['db'];function respondWithStatusCode(_0x505c02,_0x18a12e){_0x18a12e=_0x18a12e||0xcc;return function(_0x3cd25e){if(_0x3cd25e){return _0x505c02['sendStatus'](_0x18a12e);}return _0x505c02[_0x4bf8('0x1a')](_0x18a12e)[_0x4bf8('0x1b')]();};}function respondWithResult(_0x358679,_0x595f8a){_0x595f8a=_0x595f8a||0xc8;return function(_0x155468){if(_0x155468){return _0x358679[_0x4bf8('0x1a')](_0x595f8a)[_0x4bf8('0x1c')](_0x155468);}};}function respondWithFilteredResult(_0x2e7e32,_0x278b06){return function(_0x1e658b){if(_0x1e658b){var _0x4e76e5=typeof _0x278b06['offset']==='undefined'&&typeof _0x278b06['limit']===_0x4bf8('0x1d');var _0x22c343=_0x1e658b[_0x4bf8('0x1e')];var _0xcd3556=_0x4e76e5?0x0:_0x278b06['offset'];var _0x5d3a9f=_0x4e76e5?_0x1e658b[_0x4bf8('0x1e')]:_0x278b06[_0x4bf8('0x1f')]+_0x278b06[_0x4bf8('0x20')];var _0x421a77;if(_0x5d3a9f>=_0x22c343){_0x5d3a9f=_0x22c343;_0x421a77=0xc8;}else{_0x421a77=0xce;}_0x2e7e32[_0x4bf8('0x1a')](_0x421a77);return _0x2e7e32[_0x4bf8('0x21')](_0x4bf8('0x22'),_0xcd3556+'-'+_0x5d3a9f+'/'+_0x22c343)[_0x4bf8('0x1c')](_0x1e658b);}return null;};}function patchUpdates(_0x301c6f){return function(_0x269b0b){try{jsonpatch[_0x4bf8('0x23')](_0x269b0b,_0x301c6f,!![]);}catch(_0x34db7b){return BPromise['reject'](_0x34db7b);}return _0x269b0b['save']();};}function saveUpdates(_0x1f6019,_0x3d7daa){return function(_0x275d91){if(_0x275d91){return _0x275d91[_0x4bf8('0x24')](_0x1f6019)['then'](function(_0x2640fd){return _0x2640fd;});}return null;};}function removeEntity(_0x1cec6b,_0x254892){return function(_0x532152){if(_0x532152){return _0x532152['destroy']()['then'](function(){_0x1cec6b[_0x4bf8('0x1a')](0xcc)[_0x4bf8('0x1b')]();});}};}function handleEntityNotFound(_0xec5ba6,_0x23c6eb){return function(_0x234e9e){if(!_0x234e9e){_0xec5ba6[_0x4bf8('0x25')](0x194);}return _0x234e9e;};}function handleError(_0x48784c,_0x53e41a){_0x53e41a=_0x53e41a||0x1f4;return function(_0x28a3c2){logger[_0x4bf8('0x26')](_0x28a3c2['stack']);if(_0x28a3c2[_0x4bf8('0x27')]){delete _0x28a3c2[_0x4bf8('0x27')];}_0x48784c['status'](_0x53e41a)[_0x4bf8('0x28')](_0x28a3c2);};}exports[_0x4bf8('0x29')]=function(_0x50b210,_0x517fd8){var _0x4928f1={},_0x4d59f2={},_0x1abe4e={'count':0x0,'rows':[]};var _0x4a57e5=_['map'](db[_0x4bf8('0x2a')][_0x4bf8('0x2b')],function(_0x149c46){return{'name':_0x149c46[_0x4bf8('0x2c')],'type':_0x149c46[_0x4bf8('0x2d')][_0x4bf8('0x2e')]};});_0x4d59f2[_0x4bf8('0x2f')]=_[_0x4bf8('0x30')](_0x4a57e5,_0x4bf8('0x27'));_0x4d59f2[_0x4bf8('0x31')]=_['keys'](_0x50b210[_0x4bf8('0x31')]);_0x4d59f2[_0x4bf8('0x32')]=_[_0x4bf8('0x33')](_0x4d59f2[_0x4bf8('0x2f')],_0x4d59f2[_0x4bf8('0x31')]);_0x4928f1[_0x4bf8('0x34')]=_[_0x4bf8('0x33')](_0x4d59f2[_0x4bf8('0x2f')],qs['fields'](_0x50b210[_0x4bf8('0x31')][_0x4bf8('0x35')]));_0x4928f1['attributes']=_0x4928f1[_0x4bf8('0x34')][_0x4bf8('0x36')]?_0x4928f1[_0x4bf8('0x34')]:_0x4d59f2[_0x4bf8('0x2f')];if(!_0x50b210['query'][_0x4bf8('0x37')](_0x4bf8('0x38'))){_0x4928f1[_0x4bf8('0x20')]=qs['limit'](_0x50b210[_0x4bf8('0x31')]['limit']);_0x4928f1[_0x4bf8('0x1f')]=qs[_0x4bf8('0x1f')](_0x50b210['query']['offset']);}_0x4928f1[_0x4bf8('0x39')]=qs[_0x4bf8('0x3a')](_0x50b210[_0x4bf8('0x31')][_0x4bf8('0x3a')]);_0x4928f1['where']=qs['filters'](_[_0x4bf8('0x3b')](_0x50b210[_0x4bf8('0x31')],_0x4d59f2[_0x4bf8('0x32')]),_0x4a57e5);if(_0x50b210[_0x4bf8('0x31')][_0x4bf8('0x3c')]){_0x4928f1[_0x4bf8('0x3d')]=_[_0x4bf8('0x3e')](_0x4928f1[_0x4bf8('0x3d')],{'$or':_[_0x4bf8('0x30')](_0x4a57e5,function(_0x729827){if(_0x729827['type']!==_0x4bf8('0x3f')){var _0x18eea3={};_0x18eea3[_0x729827[_0x4bf8('0x27')]]={'$like':'%'+_0x50b210[_0x4bf8('0x31')][_0x4bf8('0x3c')]+'%'};return _0x18eea3;}})});}_0x4928f1=_['merge']({},_0x4928f1,_0x50b210[_0x4bf8('0x40')]);var _0x1a368e={'where':_0x4928f1[_0x4bf8('0x3d')]};return db[_0x4bf8('0x2a')][_0x4bf8('0x1e')](_0x1a368e)['then'](function(_0x9c5ae9){_0x1abe4e[_0x4bf8('0x1e')]=_0x9c5ae9;if(_0x50b210['query']['includeAll']){_0x4928f1[_0x4bf8('0x41')]=[{'all':!![]}];}return db[_0x4bf8('0x2a')][_0x4bf8('0x42')](_0x4928f1);})['then'](function(_0x5c3e09){_0x1abe4e[_0x4bf8('0x43')]=_0x5c3e09;return _0x1abe4e;})[_0x4bf8('0x44')](respondWithFilteredResult(_0x517fd8,_0x4928f1))[_0x4bf8('0x45')](handleError(_0x517fd8,null));};exports['show']=function(_0xe7adb8,_0x5c41c3){var _0x440823={'raw':!![],'where':{'id':_0xe7adb8[_0x4bf8('0x46')]['id']}},_0x4915bc={};_0x4915bc['model']=_[_0x4bf8('0x47')](db['SmsTransferReport'][_0x4bf8('0x2b')]);_0x4915bc[_0x4bf8('0x31')]=_[_0x4bf8('0x47')](_0xe7adb8[_0x4bf8('0x31')]);_0x4915bc[_0x4bf8('0x32')]=_[_0x4bf8('0x33')](_0x4915bc[_0x4bf8('0x2f')],_0x4915bc['query']);_0x440823['attributes']=_[_0x4bf8('0x33')](_0x4915bc[_0x4bf8('0x2f')],qs['fields'](_0xe7adb8['query'][_0x4bf8('0x35')]));_0x440823[_0x4bf8('0x34')]=_0x440823[_0x4bf8('0x34')][_0x4bf8('0x36')]?_0x440823[_0x4bf8('0x34')]:_0x4915bc[_0x4bf8('0x2f')];if(_0xe7adb8[_0x4bf8('0x31')]['includeAll']){_0x440823[_0x4bf8('0x41')]=[{'all':!![]}];}_0x440823=_[_0x4bf8('0x3e')]({},_0x440823,_0xe7adb8[_0x4bf8('0x40')]);return db[_0x4bf8('0x2a')]['find'](_0x440823)[_0x4bf8('0x44')](handleEntityNotFound(_0x5c41c3,null))[_0x4bf8('0x44')](respondWithResult(_0x5c41c3,null))[_0x4bf8('0x45')](handleError(_0x5c41c3,null));};exports[_0x4bf8('0x48')]=function(_0x466889,_0x19e34c){return db[_0x4bf8('0x2a')][_0x4bf8('0x48')](_0x466889[_0x4bf8('0x49')],{})[_0x4bf8('0x44')](respondWithResult(_0x19e34c,0xc9))[_0x4bf8('0x45')](handleError(_0x19e34c,null));};exports['update']=function(_0xca6c5e,_0x2bf156){if(_0xca6c5e[_0x4bf8('0x49')]['id']){delete _0xca6c5e[_0x4bf8('0x49')]['id'];}return db[_0x4bf8('0x2a')][_0x4bf8('0x4a')]({'where':{'id':_0xca6c5e['params']['id']}})[_0x4bf8('0x44')](handleEntityNotFound(_0x2bf156,null))[_0x4bf8('0x44')](saveUpdates(_0xca6c5e[_0x4bf8('0x49')],null))['then'](respondWithResult(_0x2bf156,null))['catch'](handleError(_0x2bf156,null));};exports[_0x4bf8('0x4b')]=function(_0x14bbc8,_0x398a1e){return db[_0x4bf8('0x2a')][_0x4bf8('0x4a')]({'where':{'id':_0x14bbc8[_0x4bf8('0x46')]['id']}})['then'](handleEntityNotFound(_0x398a1e,null))['then'](removeEntity(_0x398a1e,null))[_0x4bf8('0x45')](handleError(_0x398a1e,null));};exports['describe']=function(_0xd3134e,_0x2eaefb){return db['SmsTransferReport'][_0x4bf8('0x4c')]()[_0x4bf8('0x44')](respondWithResult(_0x2eaefb,null))['catch'](handleError(_0x2eaefb,null));};
\ No newline at end of file
+var _0x30f3=['key','model','keys','query','filters','intersection','attributes','fields','length','hasOwnProperty','order','sort','merge','where','VIRTUAL','filter','options','then','SmsTransferReport','findAll','rows','catch','show','params','include','find','create','body','update','describe','eml-format','rimraf','zip-dir','fast-json-patch','moment','bluebird','mustache','util','sox','to-csv','ejs','lodash','squel','crypto','jsforce','querystring','papaparse','../../components/parsers/advancedSearch','../../config/license/hardware','../../config/logger','api','../../config/utils','../../config/environment','../../config/license/util','../../mysqldb','sendStatus','status','offset','limit','undefined','count','set','Content-Range','apply','reject','save','destroy','error','stack','name','send','index','map','rawAttributes','type'];(function(_0x2d53ce,_0x33c348){var _0x322a86=function(_0x40b2a5){while(--_0x40b2a5){_0x2d53ce['push'](_0x2d53ce['shift']());}};_0x322a86(++_0x33c348);}(_0x30f3,0x1e0));var _0x330f=function(_0x3cafb8,_0x32860e){_0x3cafb8=_0x3cafb8-0x0;var _0x4b7f85=_0x30f3[_0x3cafb8];return _0x4b7f85;};'use strict';var emlformat=require(_0x330f('0x0'));var rimraf=require(_0x330f('0x1'));var zipdir=require(_0x330f('0x2'));var jsonpatch=require(_0x330f('0x3'));var rp=require('request-promise');var moment=require(_0x330f('0x4'));var BPromise=require(_0x330f('0x5'));var Mustache=require(_0x330f('0x6'));var util=require(_0x330f('0x7'));var path=require('path');var sox=require(_0x330f('0x8'));var csv=require(_0x330f('0x9'));var ejs=require(_0x330f('0xa'));var fs=require('fs');var fs_extra=require('fs-extra');var _=require(_0x330f('0xb'));var squel=require(_0x330f('0xc'));var crypto=require(_0x330f('0xd'));var jsforce=require(_0x330f('0xe'));var deskjs=require('desk.js');var toCsv=require(_0x330f('0x9'));var querystring=require(_0x330f('0xf'));var Papa=require(_0x330f('0x10'));var Redis=require('ioredis');var authService=require('../../components/auth/service');var qs=require('../../components/parsers/qs');var as=require(_0x330f('0x11'));var hardwareService=require(_0x330f('0x12'));var logger=require(_0x330f('0x13'))(_0x330f('0x14'));var utils=require(_0x330f('0x15'));var config=require(_0x330f('0x16'));var licenseUtil=require(_0x330f('0x17'));var db=require(_0x330f('0x18'))['db'];function respondWithStatusCode(_0x9717ed,_0x476f13){_0x476f13=_0x476f13||0xcc;return function(_0x14bfb8){if(_0x14bfb8){return _0x9717ed[_0x330f('0x19')](_0x476f13);}return _0x9717ed[_0x330f('0x1a')](_0x476f13)['end']();};}function respondWithResult(_0x42d615,_0x5461c0){_0x5461c0=_0x5461c0||0xc8;return function(_0x4756be){if(_0x4756be){return _0x42d615[_0x330f('0x1a')](_0x5461c0)['json'](_0x4756be);}};}function respondWithFilteredResult(_0x45d252,_0x193f86){return function(_0xfc4e4b){if(_0xfc4e4b){var _0x42e080=typeof _0x193f86[_0x330f('0x1b')]==='undefined'&&typeof _0x193f86[_0x330f('0x1c')]===_0x330f('0x1d');var _0x2136fd=_0xfc4e4b[_0x330f('0x1e')];var _0x44a8bf=_0x42e080?0x0:_0x193f86['offset'];var _0x7281dc=_0x42e080?_0xfc4e4b[_0x330f('0x1e')]:_0x193f86[_0x330f('0x1b')]+_0x193f86['limit'];var _0x1d7995;if(_0x7281dc>=_0x2136fd){_0x7281dc=_0x2136fd;_0x1d7995=0xc8;}else{_0x1d7995=0xce;}_0x45d252['status'](_0x1d7995);return _0x45d252[_0x330f('0x1f')](_0x330f('0x20'),_0x44a8bf+'-'+_0x7281dc+'/'+_0x2136fd)['json'](_0xfc4e4b);}return null;};}function patchUpdates(_0x1182b5){return function(_0x42c4c8){try{jsonpatch[_0x330f('0x21')](_0x42c4c8,_0x1182b5,!![]);}catch(_0x9d669a){return BPromise[_0x330f('0x22')](_0x9d669a);}return _0x42c4c8[_0x330f('0x23')]();};}function saveUpdates(_0x60595,_0x143856){return function(_0x5e907e){if(_0x5e907e){return _0x5e907e['update'](_0x60595)['then'](function(_0x4714c1){return _0x4714c1;});}return null;};}function removeEntity(_0xfc3d65,_0x3a147f){return function(_0x541d96){if(_0x541d96){return _0x541d96[_0x330f('0x24')]()['then'](function(){_0xfc3d65[_0x330f('0x1a')](0xcc)['end']();});}};}function handleEntityNotFound(_0x1f1b45,_0x3257fc){return function(_0x25f67f){if(!_0x25f67f){_0x1f1b45[_0x330f('0x19')](0x194);}return _0x25f67f;};}function handleError(_0x59d082,_0x216be8){_0x216be8=_0x216be8||0x1f4;return function(_0x1e1e24){logger[_0x330f('0x25')](_0x1e1e24[_0x330f('0x26')]);if(_0x1e1e24[_0x330f('0x27')]){delete _0x1e1e24[_0x330f('0x27')];}_0x59d082[_0x330f('0x1a')](_0x216be8)[_0x330f('0x28')](_0x1e1e24);};}exports[_0x330f('0x29')]=function(_0x164ba1,_0x134205){var _0xb474e8={},_0x17944f={},_0x59db4a={'count':0x0,'rows':[]};var _0x42183c=_[_0x330f('0x2a')](db['SmsTransferReport'][_0x330f('0x2b')],function(_0x2126c3){return{'name':_0x2126c3['fieldName'],'type':_0x2126c3[_0x330f('0x2c')][_0x330f('0x2d')]};});_0x17944f[_0x330f('0x2e')]=_['map'](_0x42183c,_0x330f('0x27'));_0x17944f['query']=_[_0x330f('0x2f')](_0x164ba1[_0x330f('0x30')]);_0x17944f[_0x330f('0x31')]=_[_0x330f('0x32')](_0x17944f[_0x330f('0x2e')],_0x17944f[_0x330f('0x30')]);_0xb474e8[_0x330f('0x33')]=_[_0x330f('0x32')](_0x17944f[_0x330f('0x2e')],qs[_0x330f('0x34')](_0x164ba1['query'][_0x330f('0x34')]));_0xb474e8[_0x330f('0x33')]=_0xb474e8[_0x330f('0x33')][_0x330f('0x35')]?_0xb474e8['attributes']:_0x17944f[_0x330f('0x2e')];if(!_0x164ba1[_0x330f('0x30')][_0x330f('0x36')]('nolimit')){_0xb474e8[_0x330f('0x1c')]=qs[_0x330f('0x1c')](_0x164ba1[_0x330f('0x30')][_0x330f('0x1c')]);_0xb474e8[_0x330f('0x1b')]=qs[_0x330f('0x1b')](_0x164ba1[_0x330f('0x30')][_0x330f('0x1b')]);}_0xb474e8[_0x330f('0x37')]=qs[_0x330f('0x38')](_0x164ba1['query']['sort']);_0xb474e8['where']=qs[_0x330f('0x31')](_['pick'](_0x164ba1[_0x330f('0x30')],_0x17944f[_0x330f('0x31')]),_0x42183c);if(_0x164ba1[_0x330f('0x30')]['filter']){_0xb474e8['where']=_[_0x330f('0x39')](_0xb474e8[_0x330f('0x3a')],{'$or':_[_0x330f('0x2a')](_0x42183c,function(_0x4fc6e3){if(_0x4fc6e3['type']!==_0x330f('0x3b')){var _0xfac51f={};_0xfac51f[_0x4fc6e3[_0x330f('0x27')]]={'$like':'%'+_0x164ba1[_0x330f('0x30')][_0x330f('0x3c')]+'%'};return _0xfac51f;}})});}_0xb474e8=_['merge']({},_0xb474e8,_0x164ba1[_0x330f('0x3d')]);var _0x2e63c6={'where':_0xb474e8['where']};return db['SmsTransferReport'][_0x330f('0x1e')](_0x2e63c6)[_0x330f('0x3e')](function(_0x2a2b0a){_0x59db4a[_0x330f('0x1e')]=_0x2a2b0a;if(_0x164ba1[_0x330f('0x30')]['includeAll']){_0xb474e8['include']=[{'all':!![]}];}return db[_0x330f('0x3f')][_0x330f('0x40')](_0xb474e8);})['then'](function(_0x52a8f0){_0x59db4a[_0x330f('0x41')]=_0x52a8f0;return _0x59db4a;})[_0x330f('0x3e')](respondWithFilteredResult(_0x134205,_0xb474e8))[_0x330f('0x42')](handleError(_0x134205,null));};exports[_0x330f('0x43')]=function(_0x15bbfe,_0x2bacb3){var _0x337fff={'raw':!![],'where':{'id':_0x15bbfe[_0x330f('0x44')]['id']}},_0x56e277={};_0x56e277[_0x330f('0x2e')]=_[_0x330f('0x2f')](db[_0x330f('0x3f')][_0x330f('0x2b')]);_0x56e277['query']=_[_0x330f('0x2f')](_0x15bbfe[_0x330f('0x30')]);_0x56e277[_0x330f('0x31')]=_[_0x330f('0x32')](_0x56e277['model'],_0x56e277['query']);_0x337fff[_0x330f('0x33')]=_[_0x330f('0x32')](_0x56e277['model'],qs[_0x330f('0x34')](_0x15bbfe[_0x330f('0x30')][_0x330f('0x34')]));_0x337fff['attributes']=_0x337fff['attributes'][_0x330f('0x35')]?_0x337fff[_0x330f('0x33')]:_0x56e277[_0x330f('0x2e')];if(_0x15bbfe[_0x330f('0x30')]['includeAll']){_0x337fff[_0x330f('0x45')]=[{'all':!![]}];}_0x337fff=_['merge']({},_0x337fff,_0x15bbfe['options']);return db['SmsTransferReport'][_0x330f('0x46')](_0x337fff)[_0x330f('0x3e')](handleEntityNotFound(_0x2bacb3,null))[_0x330f('0x3e')](respondWithResult(_0x2bacb3,null))['catch'](handleError(_0x2bacb3,null));};exports[_0x330f('0x47')]=function(_0x4ced47,_0x2921b2){return db[_0x330f('0x3f')][_0x330f('0x47')](_0x4ced47[_0x330f('0x48')],{})[_0x330f('0x3e')](respondWithResult(_0x2921b2,0xc9))[_0x330f('0x42')](handleError(_0x2921b2,null));};exports[_0x330f('0x49')]=function(_0x4c29e6,_0x148327){if(_0x4c29e6[_0x330f('0x48')]['id']){delete _0x4c29e6[_0x330f('0x48')]['id'];}return db[_0x330f('0x3f')][_0x330f('0x46')]({'where':{'id':_0x4c29e6[_0x330f('0x44')]['id']}})[_0x330f('0x3e')](handleEntityNotFound(_0x148327,null))[_0x330f('0x3e')](saveUpdates(_0x4c29e6['body'],null))[_0x330f('0x3e')](respondWithResult(_0x148327,null))['catch'](handleError(_0x148327,null));};exports['destroy']=function(_0xe2d07b,_0x3e0741){return db['SmsTransferReport']['find']({'where':{'id':_0xe2d07b[_0x330f('0x44')]['id']}})['then'](handleEntityNotFound(_0x3e0741,null))[_0x330f('0x3e')](removeEntity(_0x3e0741,null))[_0x330f('0x42')](handleError(_0x3e0741,null));};exports[_0x330f('0x4a')]=function(_0x28c290,_0x216b84){return db[_0x330f('0x3f')][_0x330f('0x4a')]()[_0x330f('0x3e')](respondWithResult(_0x216b84,null))[_0x330f('0x42')](handleError(_0x216b84,null));};
\ No newline at end of file