Built motion from commit 936e8062.|2.5.33
[motion2.git] / server / api / voiceTransferReport / voiceTransferReport.controller.js
index 63e261c..90d0fea 100644 (file)
@@ -15,4 +15,4 @@
 // * treaties. The SOFTWARE PRODUCT is licensed, not sold.                        *
 // *                                                                       *
 // *************************************************************************
-var _0x7ab8=['map','rawAttributes','fieldName','key','model','query','filters','intersection','attributes','fields','length','nolimit','order','sort','where','pick','filter','merge','options','VoiceTransferReport','includeAll','include','rows','catch','params','keys','find','create','body','eml-format','rimraf','zip-dir','request-promise','bluebird','util','path','sox','to-csv','ejs','lodash','crypto','jsforce','papaparse','ioredis','../../components/auth/service','../../components/parsers/qs','../../config/license/hardware','api','../../config/environment','../../config/license/util','../../mysqldb','sendStatus','status','end','json','count','offset','limit','set','Content-Range','apply','reject','update','then','destroy','error','stack','name','send','index'];(function(_0x2adf4,_0x5df6de){var _0x45d47d=function(_0x903910){while(--_0x903910){_0x2adf4['push'](_0x2adf4['shift']());}};_0x45d47d(++_0x5df6de);}(_0x7ab8,0x1c1));var _0x87ab=function(_0x2c91e9,_0x2fb965){_0x2c91e9=_0x2c91e9-0x0;var _0x13f0ff=_0x7ab8[_0x2c91e9];return _0x13f0ff;};'use strict';var pdf=require('html-pdf');var emlformat=require(_0x87ab('0x0'));var rimraf=require(_0x87ab('0x1'));var zipdir=require(_0x87ab('0x2'));var jsonpatch=require('fast-json-patch');var rp=require(_0x87ab('0x3'));var moment=require('moment');var BPromise=require(_0x87ab('0x4'));var Mustache=require('mustache');var util=require(_0x87ab('0x5'));var path=require(_0x87ab('0x6'));var sox=require(_0x87ab('0x7'));var csv=require(_0x87ab('0x8'));var ejs=require(_0x87ab('0x9'));var fs=require('fs');var _=require(_0x87ab('0xa'));var squel=require('squel');var crypto=require(_0x87ab('0xb'));var jsforce=require(_0x87ab('0xc'));var deskjs=require('desk.js');var toCsv=require('to-csv');var querystring=require('querystring');var Papa=require(_0x87ab('0xd'));var Redis=require(_0x87ab('0xe'));var authService=require(_0x87ab('0xf'));var qs=require(_0x87ab('0x10'));var as=require('../../components/parsers/advancedSearch');var hardwareService=require(_0x87ab('0x11'));var logger=require('../../config/logger')(_0x87ab('0x12'));var utils=require('../../config/utils');var config=require(_0x87ab('0x13'));var licenseUtil=require(_0x87ab('0x14'));var db=require(_0x87ab('0x15'))['db'];function respondWithStatusCode(_0x5a1c56,_0x2c01cd){_0x2c01cd=_0x2c01cd||0xcc;return function(_0x5d6972){if(_0x5d6972){return _0x5a1c56[_0x87ab('0x16')](_0x2c01cd);}return _0x5a1c56[_0x87ab('0x17')](_0x2c01cd)[_0x87ab('0x18')]();};}function respondWithResult(_0x209cf9,_0x2604d3){_0x2604d3=_0x2604d3||0xc8;return function(_0x16705e){if(_0x16705e){return _0x209cf9[_0x87ab('0x17')](_0x2604d3)[_0x87ab('0x19')](_0x16705e);}};}function respondWithFilteredResult(_0x16809b,_0x40389e){return function(_0x4136d2){if(_0x4136d2){var _0x30cee3=_0x4136d2[_0x87ab('0x1a')],_0x23d210=_0x40389e['offset'],_0xd05e61=_0x40389e[_0x87ab('0x1b')]+_0x40389e[_0x87ab('0x1c')],_0x10e4e8;if(_0xd05e61>=_0x30cee3){_0xd05e61=_0x30cee3;_0x10e4e8=0xc8;}else{_0x10e4e8=0xce;}_0x16809b[_0x87ab('0x17')](_0x10e4e8);return _0x16809b[_0x87ab('0x1d')](_0x87ab('0x1e'),_0x23d210+'-'+_0xd05e61+'/'+_0x30cee3)['json'](_0x4136d2);}return null;};}function patchUpdates(_0x1e55fb){return function(_0x225bb4){try{jsonpatch[_0x87ab('0x1f')](_0x225bb4,_0x1e55fb,!![]);}catch(_0x28b00f){return BPromise[_0x87ab('0x20')](_0x28b00f);}return _0x225bb4['save']();};}function saveUpdates(_0x3bd6da,_0x2097db){return function(_0x50b9df){if(_0x50b9df){return _0x50b9df[_0x87ab('0x21')](_0x3bd6da)[_0x87ab('0x22')](function(_0x214101){return _0x214101;});}return null;};}function removeEntity(_0x1492e0,_0x454021){return function(_0x154738){if(_0x154738){return _0x154738[_0x87ab('0x23')]()[_0x87ab('0x22')](function(){_0x1492e0[_0x87ab('0x17')](0xcc)[_0x87ab('0x18')]();});}};}function handleEntityNotFound(_0x47eee7,_0x32def4){return function(_0x128902){if(!_0x128902){_0x47eee7['sendStatus'](0x194);}return _0x128902;};}function handleError(_0x461eee,_0x57bdd4){_0x57bdd4=_0x57bdd4||0x1f4;return function(_0x217f94){logger[_0x87ab('0x24')](_0x217f94[_0x87ab('0x25')]);if(_0x217f94[_0x87ab('0x26')]){delete _0x217f94[_0x87ab('0x26')];}_0x461eee[_0x87ab('0x17')](_0x57bdd4)[_0x87ab('0x27')](_0x217f94);};}exports[_0x87ab('0x28')]=function(_0x3dc43f,_0x4ee023){var _0x30f510={},_0x4ca16e={},_0x532c4b={'count':0x0,'rows':[]};var _0x3b88fd=_[_0x87ab('0x29')](db['VoiceTransferReport'][_0x87ab('0x2a')],function(_0x13a911){return{'name':_0x13a911[_0x87ab('0x2b')],'type':_0x13a911['type'][_0x87ab('0x2c')]};});_0x4ca16e[_0x87ab('0x2d')]=_[_0x87ab('0x29')](_0x3b88fd,_0x87ab('0x26'));_0x4ca16e[_0x87ab('0x2e')]=_['keys'](_0x3dc43f[_0x87ab('0x2e')]);_0x4ca16e[_0x87ab('0x2f')]=_[_0x87ab('0x30')](_0x4ca16e[_0x87ab('0x2d')],_0x4ca16e[_0x87ab('0x2e')]);_0x30f510[_0x87ab('0x31')]=_[_0x87ab('0x30')](_0x4ca16e['model'],qs[_0x87ab('0x32')](_0x3dc43f[_0x87ab('0x2e')][_0x87ab('0x32')]));_0x30f510[_0x87ab('0x31')]=_0x30f510[_0x87ab('0x31')][_0x87ab('0x33')]?_0x30f510[_0x87ab('0x31')]:_0x4ca16e[_0x87ab('0x2d')];if(!_0x3dc43f[_0x87ab('0x2e')]['hasOwnProperty'](_0x87ab('0x34'))){_0x30f510[_0x87ab('0x1c')]=qs[_0x87ab('0x1c')](_0x3dc43f[_0x87ab('0x2e')][_0x87ab('0x1c')]);_0x30f510['offset']=qs['offset'](_0x3dc43f[_0x87ab('0x2e')]['offset']);}_0x30f510[_0x87ab('0x35')]=qs[_0x87ab('0x36')](_0x3dc43f[_0x87ab('0x2e')][_0x87ab('0x36')]);_0x30f510[_0x87ab('0x37')]=qs[_0x87ab('0x2f')](_[_0x87ab('0x38')](_0x3dc43f[_0x87ab('0x2e')],_0x4ca16e[_0x87ab('0x2f')]),_0x3b88fd);if(_0x3dc43f[_0x87ab('0x2e')][_0x87ab('0x39')]){_0x30f510['where']=_[_0x87ab('0x3a')](_0x30f510[_0x87ab('0x37')],{'$or':_['map'](_0x3b88fd,function(_0x284d19){if(_0x284d19['type']!=='VIRTUAL'){var _0x1c68c2={};_0x1c68c2[_0x284d19[_0x87ab('0x26')]]={'$like':'%'+_0x3dc43f[_0x87ab('0x2e')][_0x87ab('0x39')]+'%'};return _0x1c68c2;}})});}_0x30f510=_[_0x87ab('0x3a')]({},_0x30f510,_0x3dc43f[_0x87ab('0x3b')]);var _0x26e49c={'where':_0x30f510[_0x87ab('0x37')]};return db[_0x87ab('0x3c')][_0x87ab('0x1a')](_0x26e49c)['then'](function(_0x517528){_0x532c4b[_0x87ab('0x1a')]=_0x517528;if(_0x3dc43f[_0x87ab('0x2e')][_0x87ab('0x3d')]){_0x30f510[_0x87ab('0x3e')]=[{'all':!![]}];}return db[_0x87ab('0x3c')]['findAll'](_0x30f510);})[_0x87ab('0x22')](function(_0x126059){_0x532c4b[_0x87ab('0x3f')]=_0x126059;return _0x532c4b;})[_0x87ab('0x22')](respondWithFilteredResult(_0x4ee023,_0x30f510))[_0x87ab('0x40')](handleError(_0x4ee023,null));};exports['show']=function(_0x18b7dd,_0x1a45fa){var _0x1303bc={'raw':!![],'where':{'id':_0x18b7dd[_0x87ab('0x41')]['id']}},_0x28b400={};_0x28b400[_0x87ab('0x2d')]=_[_0x87ab('0x42')](db[_0x87ab('0x3c')][_0x87ab('0x2a')]);_0x28b400[_0x87ab('0x2e')]=_['keys'](_0x18b7dd[_0x87ab('0x2e')]);_0x28b400[_0x87ab('0x2f')]=_[_0x87ab('0x30')](_0x28b400[_0x87ab('0x2d')],_0x28b400[_0x87ab('0x2e')]);_0x1303bc['attributes']=_[_0x87ab('0x30')](_0x28b400[_0x87ab('0x2d')],qs[_0x87ab('0x32')](_0x18b7dd[_0x87ab('0x2e')]['fields']));_0x1303bc[_0x87ab('0x31')]=_0x1303bc[_0x87ab('0x31')]['length']?_0x1303bc[_0x87ab('0x31')]:_0x28b400[_0x87ab('0x2d')];if(_0x18b7dd['query'][_0x87ab('0x3d')]){_0x1303bc[_0x87ab('0x3e')]=[{'all':!![]}];}_0x1303bc=_['merge']({},_0x1303bc,_0x18b7dd[_0x87ab('0x3b')]);return db[_0x87ab('0x3c')][_0x87ab('0x43')](_0x1303bc)[_0x87ab('0x22')](handleEntityNotFound(_0x1a45fa,null))[_0x87ab('0x22')](respondWithResult(_0x1a45fa,null))[_0x87ab('0x40')](handleError(_0x1a45fa,null));};exports[_0x87ab('0x44')]=function(_0x3a3f54,_0x2574a0){return db[_0x87ab('0x3c')][_0x87ab('0x44')](_0x3a3f54[_0x87ab('0x45')],{})[_0x87ab('0x22')](respondWithResult(_0x2574a0,0xc9))[_0x87ab('0x40')](handleError(_0x2574a0,null));};exports['update']=function(_0x15b839,_0x1228f7){if(_0x15b839['body']['id']){delete _0x15b839[_0x87ab('0x45')]['id'];}return db[_0x87ab('0x3c')][_0x87ab('0x43')]({'where':{'id':_0x15b839[_0x87ab('0x41')]['id']}})[_0x87ab('0x22')](handleEntityNotFound(_0x1228f7,null))[_0x87ab('0x22')](saveUpdates(_0x15b839[_0x87ab('0x45')],null))[_0x87ab('0x22')](respondWithResult(_0x1228f7,null))['catch'](handleError(_0x1228f7,null));};exports[_0x87ab('0x23')]=function(_0x6a028d,_0x444434){return db[_0x87ab('0x3c')]['find']({'where':{'id':_0x6a028d['params']['id']}})[_0x87ab('0x22')](handleEntityNotFound(_0x444434,null))[_0x87ab('0x22')](removeEntity(_0x444434,null))[_0x87ab('0x40')](handleError(_0x444434,null));};
\ No newline at end of file
+var _0x3c5f=['../../components/auth/service','../../components/parsers/qs','../../components/parsers/advancedSearch','../../config/logger','../../config/utils','../../config/environment','../../config/license/util','../../mysqldb','sendStatus','status','json','offset','undefined','limit','count','Content-Range','apply','reject','save','update','then','destroy','error','stack','name','index','map','VoiceTransferReport','fieldName','type','model','query','keys','filters','intersection','attributes','fields','length','hasOwnProperty','nolimit','sort','where','pick','filter','merge','options','includeAll','include','rows','catch','show','params','find','create','body','describe','eml-format','rimraf','zip-dir','fast-json-patch','request-promise','moment','mustache','util','ejs','lodash','crypto','to-csv','querystring','papaparse'];(function(_0x373872,_0x3abddf){var _0xd664ff=function(_0x3dea28){while(--_0x3dea28){_0x373872['push'](_0x373872['shift']());}};_0xd664ff(++_0x3abddf);}(_0x3c5f,0xc4));var _0xf3c5=function(_0x5ead2b,_0x24735e){_0x5ead2b=_0x5ead2b-0x0;var _0x38d0b5=_0x3c5f[_0x5ead2b];return _0x38d0b5;};'use strict';var emlformat=require(_0xf3c5('0x0'));var rimraf=require(_0xf3c5('0x1'));var zipdir=require(_0xf3c5('0x2'));var jsonpatch=require(_0xf3c5('0x3'));var rp=require(_0xf3c5('0x4'));var moment=require(_0xf3c5('0x5'));var BPromise=require('bluebird');var Mustache=require(_0xf3c5('0x6'));var util=require(_0xf3c5('0x7'));var path=require('path');var sox=require('sox');var csv=require('to-csv');var ejs=require(_0xf3c5('0x8'));var fs=require('fs');var fs_extra=require('fs-extra');var _=require(_0xf3c5('0x9'));var squel=require('squel');var crypto=require(_0xf3c5('0xa'));var jsforce=require('jsforce');var deskjs=require('desk.js');var toCsv=require(_0xf3c5('0xb'));var querystring=require(_0xf3c5('0xc'));var Papa=require(_0xf3c5('0xd'));var Redis=require('ioredis');var authService=require(_0xf3c5('0xe'));var qs=require(_0xf3c5('0xf'));var as=require(_0xf3c5('0x10'));var hardwareService=require('../../config/license/hardware');var logger=require(_0xf3c5('0x11'))('api');var utils=require(_0xf3c5('0x12'));var config=require(_0xf3c5('0x13'));var licenseUtil=require(_0xf3c5('0x14'));var db=require(_0xf3c5('0x15'))['db'];function respondWithStatusCode(_0xad1f40,_0x77d32a){_0x77d32a=_0x77d32a||0xcc;return function(_0x26cd78){if(_0x26cd78){return _0xad1f40[_0xf3c5('0x16')](_0x77d32a);}return _0xad1f40[_0xf3c5('0x17')](_0x77d32a)['end']();};}function respondWithResult(_0x145699,_0x449b5e){_0x449b5e=_0x449b5e||0xc8;return function(_0x1e8731){if(_0x1e8731){return _0x145699['status'](_0x449b5e)[_0xf3c5('0x18')](_0x1e8731);}};}function respondWithFilteredResult(_0x1b29e7,_0x372a64){return function(_0x45d7a7){if(_0x45d7a7){var _0x2ed36b=typeof _0x372a64[_0xf3c5('0x19')]===_0xf3c5('0x1a')&&typeof _0x372a64[_0xf3c5('0x1b')]==='undefined';var _0x51fd95=_0x45d7a7[_0xf3c5('0x1c')];var _0x11ce18=_0x2ed36b?0x0:_0x372a64[_0xf3c5('0x19')];var _0x545b55=_0x2ed36b?_0x45d7a7[_0xf3c5('0x1c')]:_0x372a64[_0xf3c5('0x19')]+_0x372a64[_0xf3c5('0x1b')];var _0x5875a2;if(_0x545b55>=_0x51fd95){_0x545b55=_0x51fd95;_0x5875a2=0xc8;}else{_0x5875a2=0xce;}_0x1b29e7[_0xf3c5('0x17')](_0x5875a2);return _0x1b29e7['set'](_0xf3c5('0x1d'),_0x11ce18+'-'+_0x545b55+'/'+_0x51fd95)['json'](_0x45d7a7);}return null;};}function patchUpdates(_0x5f021f){return function(_0x518c86){try{jsonpatch[_0xf3c5('0x1e')](_0x518c86,_0x5f021f,!![]);}catch(_0x31e720){return BPromise[_0xf3c5('0x1f')](_0x31e720);}return _0x518c86[_0xf3c5('0x20')]();};}function saveUpdates(_0x39de6c,_0x52e170){return function(_0x5a01b7){if(_0x5a01b7){return _0x5a01b7[_0xf3c5('0x21')](_0x39de6c)[_0xf3c5('0x22')](function(_0x4fe6ef){return _0x4fe6ef;});}return null;};}function removeEntity(_0x12bef7,_0x1c81bf){return function(_0x38fccd){if(_0x38fccd){return _0x38fccd[_0xf3c5('0x23')]()['then'](function(){_0x12bef7[_0xf3c5('0x17')](0xcc)['end']();});}};}function handleEntityNotFound(_0x8b7812,_0x202174){return function(_0x126bb0){if(!_0x126bb0){_0x8b7812[_0xf3c5('0x16')](0x194);}return _0x126bb0;};}function handleError(_0x5f4712,_0xccb057){_0xccb057=_0xccb057||0x1f4;return function(_0x1915a5){logger[_0xf3c5('0x24')](_0x1915a5[_0xf3c5('0x25')]);if(_0x1915a5[_0xf3c5('0x26')]){delete _0x1915a5[_0xf3c5('0x26')];}_0x5f4712['status'](_0xccb057)['send'](_0x1915a5);};}exports[_0xf3c5('0x27')]=function(_0x3c9bc5,_0x322452){var _0xc4ddb3={},_0xda4cf2={},_0x3b0308={'count':0x0,'rows':[]};var _0x7c7423=_[_0xf3c5('0x28')](db[_0xf3c5('0x29')]['rawAttributes'],function(_0xaf4019){return{'name':_0xaf4019[_0xf3c5('0x2a')],'type':_0xaf4019[_0xf3c5('0x2b')]['key']};});_0xda4cf2[_0xf3c5('0x2c')]=_[_0xf3c5('0x28')](_0x7c7423,_0xf3c5('0x26'));_0xda4cf2[_0xf3c5('0x2d')]=_[_0xf3c5('0x2e')](_0x3c9bc5[_0xf3c5('0x2d')]);_0xda4cf2[_0xf3c5('0x2f')]=_[_0xf3c5('0x30')](_0xda4cf2[_0xf3c5('0x2c')],_0xda4cf2[_0xf3c5('0x2d')]);_0xc4ddb3[_0xf3c5('0x31')]=_[_0xf3c5('0x30')](_0xda4cf2['model'],qs[_0xf3c5('0x32')](_0x3c9bc5[_0xf3c5('0x2d')][_0xf3c5('0x32')]));_0xc4ddb3[_0xf3c5('0x31')]=_0xc4ddb3[_0xf3c5('0x31')][_0xf3c5('0x33')]?_0xc4ddb3[_0xf3c5('0x31')]:_0xda4cf2['model'];if(!_0x3c9bc5[_0xf3c5('0x2d')][_0xf3c5('0x34')](_0xf3c5('0x35'))){_0xc4ddb3[_0xf3c5('0x1b')]=qs[_0xf3c5('0x1b')](_0x3c9bc5[_0xf3c5('0x2d')][_0xf3c5('0x1b')]);_0xc4ddb3[_0xf3c5('0x19')]=qs['offset'](_0x3c9bc5[_0xf3c5('0x2d')][_0xf3c5('0x19')]);}_0xc4ddb3['order']=qs[_0xf3c5('0x36')](_0x3c9bc5['query'][_0xf3c5('0x36')]);_0xc4ddb3[_0xf3c5('0x37')]=qs[_0xf3c5('0x2f')](_[_0xf3c5('0x38')](_0x3c9bc5['query'],_0xda4cf2[_0xf3c5('0x2f')]),_0x7c7423);if(_0x3c9bc5[_0xf3c5('0x2d')][_0xf3c5('0x39')]){_0xc4ddb3[_0xf3c5('0x37')]=_[_0xf3c5('0x3a')](_0xc4ddb3[_0xf3c5('0x37')],{'$or':_[_0xf3c5('0x28')](_0x7c7423,function(_0x1c751c){if(_0x1c751c[_0xf3c5('0x2b')]!=='VIRTUAL'){var _0xfb927={};_0xfb927[_0x1c751c[_0xf3c5('0x26')]]={'$like':'%'+_0x3c9bc5[_0xf3c5('0x2d')]['filter']+'%'};return _0xfb927;}})});}_0xc4ddb3=_[_0xf3c5('0x3a')]({},_0xc4ddb3,_0x3c9bc5[_0xf3c5('0x3b')]);var _0x4a673a={'where':_0xc4ddb3[_0xf3c5('0x37')]};return db[_0xf3c5('0x29')][_0xf3c5('0x1c')](_0x4a673a)[_0xf3c5('0x22')](function(_0x5df5e4){_0x3b0308[_0xf3c5('0x1c')]=_0x5df5e4;if(_0x3c9bc5[_0xf3c5('0x2d')][_0xf3c5('0x3c')]){_0xc4ddb3[_0xf3c5('0x3d')]=[{'all':!![]}];}return db[_0xf3c5('0x29')]['findAll'](_0xc4ddb3);})[_0xf3c5('0x22')](function(_0x1bdcaa){_0x3b0308[_0xf3c5('0x3e')]=_0x1bdcaa;return _0x3b0308;})['then'](respondWithFilteredResult(_0x322452,_0xc4ddb3))[_0xf3c5('0x3f')](handleError(_0x322452,null));};exports[_0xf3c5('0x40')]=function(_0x929ae,_0x141473){var _0x8a127a={'raw':!![],'where':{'id':_0x929ae[_0xf3c5('0x41')]['id']}},_0xe2c161={};_0xe2c161[_0xf3c5('0x2c')]=_[_0xf3c5('0x2e')](db['VoiceTransferReport']['rawAttributes']);_0xe2c161['query']=_['keys'](_0x929ae[_0xf3c5('0x2d')]);_0xe2c161[_0xf3c5('0x2f')]=_['intersection'](_0xe2c161[_0xf3c5('0x2c')],_0xe2c161[_0xf3c5('0x2d')]);_0x8a127a[_0xf3c5('0x31')]=_[_0xf3c5('0x30')](_0xe2c161['model'],qs[_0xf3c5('0x32')](_0x929ae[_0xf3c5('0x2d')][_0xf3c5('0x32')]));_0x8a127a[_0xf3c5('0x31')]=_0x8a127a[_0xf3c5('0x31')]['length']?_0x8a127a['attributes']:_0xe2c161[_0xf3c5('0x2c')];if(_0x929ae[_0xf3c5('0x2d')]['includeAll']){_0x8a127a[_0xf3c5('0x3d')]=[{'all':!![]}];}_0x8a127a=_[_0xf3c5('0x3a')]({},_0x8a127a,_0x929ae['options']);return db[_0xf3c5('0x29')][_0xf3c5('0x42')](_0x8a127a)[_0xf3c5('0x22')](handleEntityNotFound(_0x141473,null))[_0xf3c5('0x22')](respondWithResult(_0x141473,null))[_0xf3c5('0x3f')](handleError(_0x141473,null));};exports[_0xf3c5('0x43')]=function(_0x59b92f,_0x319258){return db[_0xf3c5('0x29')][_0xf3c5('0x43')](_0x59b92f[_0xf3c5('0x44')],{})[_0xf3c5('0x22')](respondWithResult(_0x319258,0xc9))[_0xf3c5('0x3f')](handleError(_0x319258,null));};exports[_0xf3c5('0x21')]=function(_0x71bad9,_0x4c5c4b){if(_0x71bad9[_0xf3c5('0x44')]['id']){delete _0x71bad9['body']['id'];}return db[_0xf3c5('0x29')][_0xf3c5('0x42')]({'where':{'id':_0x71bad9['params']['id']}})[_0xf3c5('0x22')](handleEntityNotFound(_0x4c5c4b,null))[_0xf3c5('0x22')](saveUpdates(_0x71bad9[_0xf3c5('0x44')],null))[_0xf3c5('0x22')](respondWithResult(_0x4c5c4b,null))[_0xf3c5('0x3f')](handleError(_0x4c5c4b,null));};exports[_0xf3c5('0x23')]=function(_0x4b3953,_0x56c53d){return db['VoiceTransferReport'][_0xf3c5('0x42')]({'where':{'id':_0x4b3953[_0xf3c5('0x41')]['id']}})['then'](handleEntityNotFound(_0x56c53d,null))[_0xf3c5('0x22')](removeEntity(_0x56c53d,null))[_0xf3c5('0x3f')](handleError(_0x56c53d,null));};exports['describe']=function(_0x34f1df,_0x23267e){return db[_0xf3c5('0x29')][_0xf3c5('0x45')]()[_0xf3c5('0x22')](respondWithResult(_0x23267e,null))['catch'](handleError(_0x23267e,null));};
\ No newline at end of file