Built motion from commit 936e8062.|2.5.33
[motion2.git] / server / api / voiceTransferReport / voiceTransferReport.controller.js
index c975a07..90d0fea 100644 (file)
@@ -15,4 +15,4 @@
 // * treaties. The SOFTWARE PRODUCT is licensed, not sold.                        *
 // *                                                                       *
 // *************************************************************************
-var _0xaf22=['index','VoiceTransferReport','rawAttributes','type','key','model','map','query','keys','filters','intersection','attributes','fields','length','hasOwnProperty','nolimit','order','sort','where','filter','merge','VIRTUAL','includeAll','findAll','rows','catch','show','params','options','find','create','body','update','html-pdf','eml-format','rimraf','zip-dir','fast-json-patch','request-promise','moment','bluebird','mustache','util','path','sox','to-csv','ejs','squel','crypto','jsforce','querystring','papaparse','ioredis','../../components/auth/service','../../components/parsers/qs','../../components/parsers/advancedSearch','../../config/logger','../../config/utils','../../config/environment','../../config/license/util','../../mysqldb','sendStatus','status','end','count','offset','limit','set','Content-Range','json','reject','save','then','destroy','stack','name','send'];(function(_0x178e48,_0x3c9509){var _0x440d7e=function(_0xc2f8a0){while(--_0xc2f8a0){_0x178e48['push'](_0x178e48['shift']());}};_0x440d7e(++_0x3c9509);}(_0xaf22,0x6e));var _0x2af2=function(_0x6c993a,_0x5ea3ab){_0x6c993a=_0x6c993a-0x0;var _0x27f547=_0xaf22[_0x6c993a];return _0x27f547;};'use strict';var pdf=require(_0x2af2('0x0'));var emlformat=require(_0x2af2('0x1'));var rimraf=require(_0x2af2('0x2'));var zipdir=require(_0x2af2('0x3'));var jsonpatch=require(_0x2af2('0x4'));var rp=require(_0x2af2('0x5'));var moment=require(_0x2af2('0x6'));var BPromise=require(_0x2af2('0x7'));var Mustache=require(_0x2af2('0x8'));var util=require(_0x2af2('0x9'));var path=require(_0x2af2('0xa'));var sox=require(_0x2af2('0xb'));var csv=require(_0x2af2('0xc'));var ejs=require(_0x2af2('0xd'));var fs=require('fs');var _=require('lodash');var squel=require(_0x2af2('0xe'));var crypto=require(_0x2af2('0xf'));var jsforce=require(_0x2af2('0x10'));var deskjs=require('desk.js');var toCsv=require(_0x2af2('0xc'));var querystring=require(_0x2af2('0x11'));var Papa=require(_0x2af2('0x12'));var Redis=require(_0x2af2('0x13'));var authService=require(_0x2af2('0x14'));var qs=require(_0x2af2('0x15'));var as=require(_0x2af2('0x16'));var hardwareService=require('../../config/license/hardware');var logger=require(_0x2af2('0x17'))('api');var utils=require(_0x2af2('0x18'));var config=require(_0x2af2('0x19'));var licenseUtil=require(_0x2af2('0x1a'));var db=require(_0x2af2('0x1b'))['db'];function respondWithStatusCode(_0x4c76c2,_0x34edfd){_0x34edfd=_0x34edfd||0xcc;return function(_0x30d1fa){if(_0x30d1fa){return _0x4c76c2[_0x2af2('0x1c')](_0x34edfd);}return _0x4c76c2[_0x2af2('0x1d')](_0x34edfd)[_0x2af2('0x1e')]();};}function respondWithResult(_0x173aac,_0x258a93){_0x258a93=_0x258a93||0xc8;return function(_0x4ac8e3){if(_0x4ac8e3){return _0x173aac[_0x2af2('0x1d')](_0x258a93)['json'](_0x4ac8e3);}};}function respondWithFilteredResult(_0x3094d6,_0x3e2699){return function(_0x5238ed){if(_0x5238ed){var _0x5dee21=_0x5238ed[_0x2af2('0x1f')],_0x1c87b5=_0x3e2699[_0x2af2('0x20')],_0x4fde19=_0x3e2699[_0x2af2('0x20')]+_0x3e2699[_0x2af2('0x21')],_0x5ada35;if(_0x4fde19>=_0x5dee21){_0x4fde19=_0x5dee21;_0x5ada35=0xc8;}else{_0x5ada35=0xce;}_0x3094d6[_0x2af2('0x1d')](_0x5ada35);return _0x3094d6[_0x2af2('0x22')](_0x2af2('0x23'),_0x1c87b5+'-'+_0x4fde19+'/'+_0x5dee21)[_0x2af2('0x24')](_0x5238ed);}return null;};}function patchUpdates(_0x3d0f70){return function(_0x33a925){try{jsonpatch['apply'](_0x33a925,_0x3d0f70,!![]);}catch(_0x277ef3){return BPromise[_0x2af2('0x25')](_0x277ef3);}return _0x33a925[_0x2af2('0x26')]();};}function saveUpdates(_0x2ff54f,_0x4edcae){return function(_0x2a4c4b){if(_0x2a4c4b){return _0x2a4c4b['update'](_0x2ff54f)[_0x2af2('0x27')](function(_0x4f8765){return _0x4f8765;});}return null;};}function removeEntity(_0x45efd8,_0x2bf731){return function(_0x438282){if(_0x438282){return _0x438282[_0x2af2('0x28')]()[_0x2af2('0x27')](function(){_0x45efd8['status'](0xcc)[_0x2af2('0x1e')]();});}};}function handleEntityNotFound(_0x26f919,_0x4122b4){return function(_0x5e835e){if(!_0x5e835e){_0x26f919['sendStatus'](0x194);}return _0x5e835e;};}function handleError(_0x124672,_0xe95dbb){_0xe95dbb=_0xe95dbb||0x1f4;return function(_0x55217b){logger['error'](_0x55217b[_0x2af2('0x29')]);if(_0x55217b[_0x2af2('0x2a')]){delete _0x55217b[_0x2af2('0x2a')];}_0x124672[_0x2af2('0x1d')](_0xe95dbb)[_0x2af2('0x2b')](_0x55217b);};}exports[_0x2af2('0x2c')]=function(_0x87e37f,_0x1033ea){var _0x1656fd={},_0xd16b10={},_0x3b453b={'count':0x0,'rows':[]};var _0x10f589=_['map'](db[_0x2af2('0x2d')][_0x2af2('0x2e')],function(_0x31b09d){return{'name':_0x31b09d['fieldName'],'type':_0x31b09d[_0x2af2('0x2f')][_0x2af2('0x30')]};});_0xd16b10[_0x2af2('0x31')]=_[_0x2af2('0x32')](_0x10f589,_0x2af2('0x2a'));_0xd16b10[_0x2af2('0x33')]=_[_0x2af2('0x34')](_0x87e37f[_0x2af2('0x33')]);_0xd16b10[_0x2af2('0x35')]=_[_0x2af2('0x36')](_0xd16b10[_0x2af2('0x31')],_0xd16b10['query']);_0x1656fd[_0x2af2('0x37')]=_[_0x2af2('0x36')](_0xd16b10[_0x2af2('0x31')],qs[_0x2af2('0x38')](_0x87e37f[_0x2af2('0x33')][_0x2af2('0x38')]));_0x1656fd[_0x2af2('0x37')]=_0x1656fd[_0x2af2('0x37')][_0x2af2('0x39')]?_0x1656fd[_0x2af2('0x37')]:_0xd16b10[_0x2af2('0x31')];if(!_0x87e37f[_0x2af2('0x33')][_0x2af2('0x3a')](_0x2af2('0x3b'))){_0x1656fd[_0x2af2('0x21')]=qs[_0x2af2('0x21')](_0x87e37f[_0x2af2('0x33')][_0x2af2('0x21')]);_0x1656fd[_0x2af2('0x20')]=qs['offset'](_0x87e37f[_0x2af2('0x33')]['offset']);}_0x1656fd[_0x2af2('0x3c')]=qs[_0x2af2('0x3d')](_0x87e37f[_0x2af2('0x33')]['sort']);_0x1656fd[_0x2af2('0x3e')]=qs[_0x2af2('0x35')](_['pick'](_0x87e37f[_0x2af2('0x33')],_0xd16b10[_0x2af2('0x35')]),_0x10f589);if(_0x87e37f[_0x2af2('0x33')][_0x2af2('0x3f')]){_0x1656fd[_0x2af2('0x3e')]=_[_0x2af2('0x40')](_0x1656fd['where'],{'$or':_['map'](_0x10f589,function(_0x369618){if(_0x369618[_0x2af2('0x2f')]!==_0x2af2('0x41')){var _0x417264={};_0x417264[_0x369618[_0x2af2('0x2a')]]={'$like':'%'+_0x87e37f['query'][_0x2af2('0x3f')]+'%'};return _0x417264;}})});}_0x1656fd=_[_0x2af2('0x40')]({},_0x1656fd,_0x87e37f['options']);var _0x270448={'where':_0x1656fd[_0x2af2('0x3e')]};return db['VoiceTransferReport'][_0x2af2('0x1f')](_0x270448)['then'](function(_0x5dce4d){_0x3b453b[_0x2af2('0x1f')]=_0x5dce4d;if(_0x87e37f[_0x2af2('0x33')][_0x2af2('0x42')]){_0x1656fd['include']=[{'all':!![]}];}return db['VoiceTransferReport'][_0x2af2('0x43')](_0x1656fd);})['then'](function(_0x256490){_0x3b453b[_0x2af2('0x44')]=_0x256490;return _0x3b453b;})[_0x2af2('0x27')](respondWithFilteredResult(_0x1033ea,_0x1656fd))[_0x2af2('0x45')](handleError(_0x1033ea,null));};exports[_0x2af2('0x46')]=function(_0x35e9e8,_0x594ee1){var _0x45388e={'raw':!![],'where':{'id':_0x35e9e8[_0x2af2('0x47')]['id']}},_0x31692f={};_0x31692f[_0x2af2('0x31')]=_['keys'](db[_0x2af2('0x2d')][_0x2af2('0x2e')]);_0x31692f[_0x2af2('0x33')]=_[_0x2af2('0x34')](_0x35e9e8['query']);_0x31692f[_0x2af2('0x35')]=_[_0x2af2('0x36')](_0x31692f[_0x2af2('0x31')],_0x31692f[_0x2af2('0x33')]);_0x45388e[_0x2af2('0x37')]=_[_0x2af2('0x36')](_0x31692f[_0x2af2('0x31')],qs[_0x2af2('0x38')](_0x35e9e8['query'][_0x2af2('0x38')]));_0x45388e[_0x2af2('0x37')]=_0x45388e['attributes'][_0x2af2('0x39')]?_0x45388e[_0x2af2('0x37')]:_0x31692f['model'];if(_0x35e9e8[_0x2af2('0x33')][_0x2af2('0x42')]){_0x45388e['include']=[{'all':!![]}];}_0x45388e=_[_0x2af2('0x40')]({},_0x45388e,_0x35e9e8[_0x2af2('0x48')]);return db['VoiceTransferReport'][_0x2af2('0x49')](_0x45388e)[_0x2af2('0x27')](handleEntityNotFound(_0x594ee1,null))[_0x2af2('0x27')](respondWithResult(_0x594ee1,null))[_0x2af2('0x45')](handleError(_0x594ee1,null));};exports[_0x2af2('0x4a')]=function(_0x1f7d2a,_0x1fdcb3){return db['VoiceTransferReport']['create'](_0x1f7d2a[_0x2af2('0x4b')],{})[_0x2af2('0x27')](respondWithResult(_0x1fdcb3,0xc9))['catch'](handleError(_0x1fdcb3,null));};exports[_0x2af2('0x4c')]=function(_0x40916c,_0x436969){if(_0x40916c[_0x2af2('0x4b')]['id']){delete _0x40916c[_0x2af2('0x4b')]['id'];}return db['VoiceTransferReport'][_0x2af2('0x49')]({'where':{'id':_0x40916c[_0x2af2('0x47')]['id']}})[_0x2af2('0x27')](handleEntityNotFound(_0x436969,null))[_0x2af2('0x27')](saveUpdates(_0x40916c[_0x2af2('0x4b')],null))[_0x2af2('0x27')](respondWithResult(_0x436969,null))[_0x2af2('0x45')](handleError(_0x436969,null));};exports[_0x2af2('0x28')]=function(_0x3b9f1a,_0x3f663d){return db[_0x2af2('0x2d')]['find']({'where':{'id':_0x3b9f1a[_0x2af2('0x47')]['id']}})['then'](handleEntityNotFound(_0x3f663d,null))[_0x2af2('0x27')](removeEntity(_0x3f663d,null))['catch'](handleError(_0x3f663d,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