Built motion from commit 85328c08.|2.5.50
[motion2.git] / server / api / voiceDialReport / voiceDialReport.controller.js
index a73abc6..386b598 100644 (file)
@@ -15,4 +15,4 @@
 // * treaties. The SOFTWARE PRODUCT is licensed, not sold.                        *
 // *                                                                       *
 // *************************************************************************
-var _0x18cf=['querystring','papaparse','ioredis','../../components/parsers/qs','../../config/license/hardware','../../config/logger','api','../../config/utils','../../config/environment','../../mysqldb','sendStatus','status','end','json','offset','undefined','limit','count','set','Content-Range','apply','save','update','destroy','then','error','name','send','index','map','VoiceDialReport','fieldName','type','key','model','query','filters','intersection','attributes','fields','length','hasOwnProperty','nolimit','order','sort','pick','merge','where','options','includeAll','include','findAll','rows','show','params','keys','rawAttributes','find','create','body','catch','describe','eml-format','rimraf','zip-dir','fast-json-patch','request-promise','moment','bluebird','util','path','sox','to-csv','ejs','fs-extra','lodash','squel','jsforce','desk.js'];(function(_0xaa0309,_0x1c8008){var _0x5de7ce=function(_0x3aa6ae){while(--_0x3aa6ae){_0xaa0309['push'](_0xaa0309['shift']());}};_0x5de7ce(++_0x1c8008);}(_0x18cf,0x1c9));var _0xf18c=function(_0x40d719,_0x935891){_0x40d719=_0x40d719-0x0;var _0x5713a2=_0x18cf[_0x40d719];return _0x5713a2;};'use strict';var emlformat=require(_0xf18c('0x0'));var rimraf=require(_0xf18c('0x1'));var zipdir=require(_0xf18c('0x2'));var jsonpatch=require(_0xf18c('0x3'));var rp=require(_0xf18c('0x4'));var moment=require(_0xf18c('0x5'));var BPromise=require(_0xf18c('0x6'));var Mustache=require('mustache');var util=require(_0xf18c('0x7'));var path=require(_0xf18c('0x8'));var sox=require(_0xf18c('0x9'));var csv=require(_0xf18c('0xa'));var ejs=require(_0xf18c('0xb'));var fs=require('fs');var fs_extra=require(_0xf18c('0xc'));var _=require(_0xf18c('0xd'));var squel=require(_0xf18c('0xe'));var crypto=require('crypto');var jsforce=require(_0xf18c('0xf'));var deskjs=require(_0xf18c('0x10'));var toCsv=require(_0xf18c('0xa'));var querystring=require(_0xf18c('0x11'));var Papa=require(_0xf18c('0x12'));var Redis=require(_0xf18c('0x13'));var authService=require('../../components/auth/service');var qs=require(_0xf18c('0x14'));var as=require('../../components/parsers/advancedSearch');var hardwareService=require(_0xf18c('0x15'));var logger=require(_0xf18c('0x16'))(_0xf18c('0x17'));var utils=require(_0xf18c('0x18'));var config=require(_0xf18c('0x19'));var licenseUtil=require('../../config/license/util');var db=require(_0xf18c('0x1a'))['db'];function respondWithStatusCode(_0x18423b,_0x265a2b){_0x265a2b=_0x265a2b||0xcc;return function(_0x1324a0){if(_0x1324a0){return _0x18423b[_0xf18c('0x1b')](_0x265a2b);}return _0x18423b[_0xf18c('0x1c')](_0x265a2b)[_0xf18c('0x1d')]();};}function respondWithResult(_0x477d1a,_0x3ddb10){_0x3ddb10=_0x3ddb10||0xc8;return function(_0x582f61){if(_0x582f61){return _0x477d1a[_0xf18c('0x1c')](_0x3ddb10)[_0xf18c('0x1e')](_0x582f61);}};}function respondWithFilteredResult(_0x1b21b1,_0x3f868d){return function(_0x5eb761){if(_0x5eb761){var _0x374dba=typeof _0x3f868d[_0xf18c('0x1f')]===_0xf18c('0x20')&&typeof _0x3f868d[_0xf18c('0x21')]==='undefined';var _0x4bdda4=_0x5eb761[_0xf18c('0x22')];var _0x5ab29e=_0x374dba?0x0:_0x3f868d[_0xf18c('0x1f')];var _0x29762d=_0x374dba?_0x5eb761[_0xf18c('0x22')]:_0x3f868d['offset']+_0x3f868d['limit'];var _0x114703;if(_0x29762d>=_0x4bdda4){_0x29762d=_0x4bdda4;_0x114703=0xc8;}else{_0x114703=0xce;}_0x1b21b1[_0xf18c('0x1c')](_0x114703);return _0x1b21b1[_0xf18c('0x23')](_0xf18c('0x24'),_0x5ab29e+'-'+_0x29762d+'/'+_0x4bdda4)['json'](_0x5eb761);}return null;};}function patchUpdates(_0x4d5dbd){return function(_0x2fafad){try{jsonpatch[_0xf18c('0x25')](_0x2fafad,_0x4d5dbd,!![]);}catch(_0x1c6c8a){return BPromise['reject'](_0x1c6c8a);}return _0x2fafad[_0xf18c('0x26')]();};}function saveUpdates(_0xb71399,_0x1765ff){return function(_0x55d552){if(_0x55d552){return _0x55d552[_0xf18c('0x27')](_0xb71399)['then'](function(_0x237ea5){return _0x237ea5;});}return null;};}function removeEntity(_0x493e1e,_0x2ca1b0){return function(_0x26ee97){if(_0x26ee97){return _0x26ee97[_0xf18c('0x28')]()[_0xf18c('0x29')](function(){_0x493e1e['status'](0xcc)[_0xf18c('0x1d')]();});}};}function handleEntityNotFound(_0x19cfb9,_0x361b9c){return function(_0x19ca81){if(!_0x19ca81){_0x19cfb9[_0xf18c('0x1b')](0x194);}return _0x19ca81;};}function handleError(_0x1f1d06,_0x109a29){_0x109a29=_0x109a29||0x1f4;return function(_0x5237e6){logger[_0xf18c('0x2a')](_0x5237e6['stack']);if(_0x5237e6[_0xf18c('0x2b')]){delete _0x5237e6[_0xf18c('0x2b')];}_0x1f1d06[_0xf18c('0x1c')](_0x109a29)[_0xf18c('0x2c')](_0x5237e6);};}exports[_0xf18c('0x2d')]=function(_0x139269,_0xef2652){var _0x35aeb7={},_0x12e69b={},_0x409422={'count':0x0,'rows':[]};var _0x451b80=_[_0xf18c('0x2e')](db[_0xf18c('0x2f')]['rawAttributes'],function(_0x48b51a){return{'name':_0x48b51a[_0xf18c('0x30')],'type':_0x48b51a[_0xf18c('0x31')][_0xf18c('0x32')]};});_0x12e69b[_0xf18c('0x33')]=_[_0xf18c('0x2e')](_0x451b80,_0xf18c('0x2b'));_0x12e69b[_0xf18c('0x34')]=_['keys'](_0x139269[_0xf18c('0x34')]);_0x12e69b[_0xf18c('0x35')]=_[_0xf18c('0x36')](_0x12e69b[_0xf18c('0x33')],_0x12e69b['query']);_0x35aeb7[_0xf18c('0x37')]=_[_0xf18c('0x36')](_0x12e69b[_0xf18c('0x33')],qs['fields'](_0x139269[_0xf18c('0x34')][_0xf18c('0x38')]));_0x35aeb7['attributes']=_0x35aeb7[_0xf18c('0x37')][_0xf18c('0x39')]?_0x35aeb7['attributes']:_0x12e69b[_0xf18c('0x33')];if(!_0x139269['query'][_0xf18c('0x3a')](_0xf18c('0x3b'))){_0x35aeb7[_0xf18c('0x21')]=qs['limit'](_0x139269[_0xf18c('0x34')][_0xf18c('0x21')]);_0x35aeb7[_0xf18c('0x1f')]=qs['offset'](_0x139269['query']['offset']);}_0x35aeb7[_0xf18c('0x3c')]=qs['sort'](_0x139269[_0xf18c('0x34')][_0xf18c('0x3d')]);_0x35aeb7['where']=qs[_0xf18c('0x35')](_[_0xf18c('0x3e')](_0x139269['query'],_0x12e69b[_0xf18c('0x35')]),_0x451b80);if(_0x139269[_0xf18c('0x34')]['filter']){_0x35aeb7['where']=_[_0xf18c('0x3f')](_0x35aeb7[_0xf18c('0x40')],{'$or':_[_0xf18c('0x2e')](_0x451b80,function(_0x1370ef){if(_0x1370ef['type']!=='VIRTUAL'){var _0x1658e3={};_0x1658e3[_0x1370ef['name']]={'$like':'%'+_0x139269[_0xf18c('0x34')]['filter']+'%'};return _0x1658e3;}})});}_0x35aeb7=_[_0xf18c('0x3f')]({},_0x35aeb7,_0x139269[_0xf18c('0x41')]);var _0x203f69={'where':_0x35aeb7[_0xf18c('0x40')]};return db[_0xf18c('0x2f')][_0xf18c('0x22')](_0x203f69)[_0xf18c('0x29')](function(_0xc27c11){_0x409422[_0xf18c('0x22')]=_0xc27c11;if(_0x139269['query'][_0xf18c('0x42')]){_0x35aeb7[_0xf18c('0x43')]=[{'all':!![]}];}return db[_0xf18c('0x2f')][_0xf18c('0x44')](_0x35aeb7);})['then'](function(_0x5a8fa4){_0x409422[_0xf18c('0x45')]=_0x5a8fa4;return _0x409422;})['then'](respondWithFilteredResult(_0xef2652,_0x35aeb7))['catch'](handleError(_0xef2652,null));};exports[_0xf18c('0x46')]=function(_0x353e5b,_0x59e576){var _0x4476ec={'raw':!![],'where':{'id':_0x353e5b[_0xf18c('0x47')]['id']}},_0x46fe7a={};_0x46fe7a[_0xf18c('0x33')]=_[_0xf18c('0x48')](db[_0xf18c('0x2f')][_0xf18c('0x49')]);_0x46fe7a[_0xf18c('0x34')]=_['keys'](_0x353e5b[_0xf18c('0x34')]);_0x46fe7a[_0xf18c('0x35')]=_[_0xf18c('0x36')](_0x46fe7a[_0xf18c('0x33')],_0x46fe7a[_0xf18c('0x34')]);_0x4476ec[_0xf18c('0x37')]=_[_0xf18c('0x36')](_0x46fe7a['model'],qs[_0xf18c('0x38')](_0x353e5b[_0xf18c('0x34')][_0xf18c('0x38')]));_0x4476ec[_0xf18c('0x37')]=_0x4476ec[_0xf18c('0x37')][_0xf18c('0x39')]?_0x4476ec[_0xf18c('0x37')]:_0x46fe7a[_0xf18c('0x33')];if(_0x353e5b[_0xf18c('0x34')][_0xf18c('0x42')]){_0x4476ec[_0xf18c('0x43')]=[{'all':!![]}];}_0x4476ec=_[_0xf18c('0x3f')]({},_0x4476ec,_0x353e5b[_0xf18c('0x41')]);return db[_0xf18c('0x2f')][_0xf18c('0x4a')](_0x4476ec)['then'](handleEntityNotFound(_0x59e576,null))[_0xf18c('0x29')](respondWithResult(_0x59e576,null))['catch'](handleError(_0x59e576,null));};exports[_0xf18c('0x4b')]=function(_0x1c2feb,_0x4c4a14){return db[_0xf18c('0x2f')]['create'](_0x1c2feb[_0xf18c('0x4c')],{})['then'](respondWithResult(_0x4c4a14,0xc9))[_0xf18c('0x4d')](handleError(_0x4c4a14,null));};exports['update']=function(_0x4d2773,_0x14277a){if(_0x4d2773[_0xf18c('0x4c')]['id']){delete _0x4d2773['body']['id'];}return db[_0xf18c('0x2f')][_0xf18c('0x4a')]({'where':{'id':_0x4d2773[_0xf18c('0x47')]['id']}})[_0xf18c('0x29')](handleEntityNotFound(_0x14277a,null))[_0xf18c('0x29')](saveUpdates(_0x4d2773[_0xf18c('0x4c')],null))[_0xf18c('0x29')](respondWithResult(_0x14277a,null))[_0xf18c('0x4d')](handleError(_0x14277a,null));};exports[_0xf18c('0x28')]=function(_0x668b4d,_0x348f75){return db[_0xf18c('0x2f')][_0xf18c('0x4a')]({'where':{'id':_0x668b4d['params']['id']}})['then'](handleEntityNotFound(_0x348f75,null))['then'](removeEntity(_0x348f75,null))[_0xf18c('0x4d')](handleError(_0x348f75,null));};exports[_0xf18c('0x4e')]=function(_0x5d895a,_0x2772a4){return db[_0xf18c('0x2f')][_0xf18c('0x4e')]()[_0xf18c('0x29')](respondWithResult(_0x2772a4,null))[_0xf18c('0x4d')](handleError(_0x2772a4,null));};
\ No newline at end of file
+var _0xacc5=['stack','name','send','index','map','VoiceDialReport','rawAttributes','fieldName','type','key','model','query','filters','intersection','attributes','fields','hasOwnProperty','sort','pick','filter','where','merge','VIRTUAL','options','includeAll','rows','show','params','keys','length','include','catch','create','body','find','describe','eml-format','rimraf','zip-dir','fast-json-patch','request-promise','moment','mustache','util','path','sox','to-csv','fs-extra','squel','crypto','jsforce','desk.js','querystring','papaparse','ioredis','../../components/parsers/qs','../../config/license/hardware','../../config/logger','api','../../config/utils','../../config/environment','../../config/license/util','../../mysqldb','sendStatus','end','status','json','offset','undefined','limit','count','set','Content-Range','save','update','then','destroy','error'];(function(_0x3dd15e,_0x1f0015){var _0x231fd0=function(_0x4f680a){while(--_0x4f680a){_0x3dd15e['push'](_0x3dd15e['shift']());}};_0x231fd0(++_0x1f0015);}(_0xacc5,0x15c));var _0x5acc=function(_0x59ee6f,_0x450239){_0x59ee6f=_0x59ee6f-0x0;var _0x4c0979=_0xacc5[_0x59ee6f];return _0x4c0979;};'use strict';var emlformat=require(_0x5acc('0x0'));var rimraf=require(_0x5acc('0x1'));var zipdir=require(_0x5acc('0x2'));var jsonpatch=require(_0x5acc('0x3'));var rp=require(_0x5acc('0x4'));var moment=require(_0x5acc('0x5'));var BPromise=require('bluebird');var Mustache=require(_0x5acc('0x6'));var util=require(_0x5acc('0x7'));var path=require(_0x5acc('0x8'));var sox=require(_0x5acc('0x9'));var csv=require(_0x5acc('0xa'));var ejs=require('ejs');var fs=require('fs');var fs_extra=require(_0x5acc('0xb'));var _=require('lodash');var squel=require(_0x5acc('0xc'));var crypto=require(_0x5acc('0xd'));var jsforce=require(_0x5acc('0xe'));var deskjs=require(_0x5acc('0xf'));var toCsv=require(_0x5acc('0xa'));var querystring=require(_0x5acc('0x10'));var Papa=require(_0x5acc('0x11'));var Redis=require(_0x5acc('0x12'));var authService=require('../../components/auth/service');var qs=require(_0x5acc('0x13'));var as=require('../../components/parsers/advancedSearch');var hardwareService=require(_0x5acc('0x14'));var logger=require(_0x5acc('0x15'))(_0x5acc('0x16'));var utils=require(_0x5acc('0x17'));var config=require(_0x5acc('0x18'));var licenseUtil=require(_0x5acc('0x19'));var db=require(_0x5acc('0x1a'))['db'];function respondWithStatusCode(_0x52268c,_0x55e411){_0x55e411=_0x55e411||0xcc;return function(_0x3ed967){if(_0x3ed967){return _0x52268c[_0x5acc('0x1b')](_0x55e411);}return _0x52268c['status'](_0x55e411)[_0x5acc('0x1c')]();};}function respondWithResult(_0x36706b,_0x504d0b){_0x504d0b=_0x504d0b||0xc8;return function(_0x6a9b16){if(_0x6a9b16){return _0x36706b[_0x5acc('0x1d')](_0x504d0b)[_0x5acc('0x1e')](_0x6a9b16);}};}function respondWithFilteredResult(_0x2acf94,_0x1bd31a){return function(_0x1de419){if(_0x1de419){var _0x105c43=typeof _0x1bd31a[_0x5acc('0x1f')]===_0x5acc('0x20')&&typeof _0x1bd31a[_0x5acc('0x21')]===_0x5acc('0x20');var _0x39322b=_0x1de419[_0x5acc('0x22')];var _0x884a46=_0x105c43?0x0:_0x1bd31a[_0x5acc('0x1f')];var _0x3f5d13=_0x105c43?_0x1de419[_0x5acc('0x22')]:_0x1bd31a['offset']+_0x1bd31a[_0x5acc('0x21')];var _0x285fe5;if(_0x3f5d13>=_0x39322b){_0x3f5d13=_0x39322b;_0x285fe5=0xc8;}else{_0x285fe5=0xce;}_0x2acf94[_0x5acc('0x1d')](_0x285fe5);return _0x2acf94[_0x5acc('0x23')](_0x5acc('0x24'),_0x884a46+'-'+_0x3f5d13+'/'+_0x39322b)[_0x5acc('0x1e')](_0x1de419);}return null;};}function patchUpdates(_0xf9452a){return function(_0x2cb52d){try{jsonpatch['apply'](_0x2cb52d,_0xf9452a,!![]);}catch(_0x3a4b62){return BPromise['reject'](_0x3a4b62);}return _0x2cb52d[_0x5acc('0x25')]();};}function saveUpdates(_0x4ebb3a,_0x56f7c7){return function(_0x5cb301){if(_0x5cb301){return _0x5cb301[_0x5acc('0x26')](_0x4ebb3a)[_0x5acc('0x27')](function(_0x5dacab){return _0x5dacab;});}return null;};}function removeEntity(_0xd52649,_0x53b1e2){return function(_0x175237){if(_0x175237){return _0x175237[_0x5acc('0x28')]()['then'](function(){_0xd52649[_0x5acc('0x1d')](0xcc)[_0x5acc('0x1c')]();});}};}function handleEntityNotFound(_0x1f7faa,_0x21e08c){return function(_0x2ba7bf){if(!_0x2ba7bf){_0x1f7faa['sendStatus'](0x194);}return _0x2ba7bf;};}function handleError(_0x3dc0ee,_0x59cafe){_0x59cafe=_0x59cafe||0x1f4;return function(_0x472a3e){logger[_0x5acc('0x29')](_0x472a3e[_0x5acc('0x2a')]);if(_0x472a3e[_0x5acc('0x2b')]){delete _0x472a3e[_0x5acc('0x2b')];}_0x3dc0ee[_0x5acc('0x1d')](_0x59cafe)[_0x5acc('0x2c')](_0x472a3e);};}exports[_0x5acc('0x2d')]=function(_0x254785,_0x3ae70f){var _0x56d9ae={},_0xe51bdb={},_0x2f181b={'count':0x0,'rows':[]};var _0x28c187=_[_0x5acc('0x2e')](db[_0x5acc('0x2f')][_0x5acc('0x30')],function(_0x2b8d3e){return{'name':_0x2b8d3e[_0x5acc('0x31')],'type':_0x2b8d3e[_0x5acc('0x32')][_0x5acc('0x33')]};});_0xe51bdb[_0x5acc('0x34')]=_[_0x5acc('0x2e')](_0x28c187,'name');_0xe51bdb[_0x5acc('0x35')]=_['keys'](_0x254785[_0x5acc('0x35')]);_0xe51bdb[_0x5acc('0x36')]=_[_0x5acc('0x37')](_0xe51bdb[_0x5acc('0x34')],_0xe51bdb[_0x5acc('0x35')]);_0x56d9ae[_0x5acc('0x38')]=_[_0x5acc('0x37')](_0xe51bdb['model'],qs[_0x5acc('0x39')](_0x254785[_0x5acc('0x35')][_0x5acc('0x39')]));_0x56d9ae[_0x5acc('0x38')]=_0x56d9ae[_0x5acc('0x38')]['length']?_0x56d9ae[_0x5acc('0x38')]:_0xe51bdb[_0x5acc('0x34')];if(!_0x254785[_0x5acc('0x35')][_0x5acc('0x3a')]('nolimit')){_0x56d9ae[_0x5acc('0x21')]=qs[_0x5acc('0x21')](_0x254785['query'][_0x5acc('0x21')]);_0x56d9ae[_0x5acc('0x1f')]=qs[_0x5acc('0x1f')](_0x254785['query']['offset']);}_0x56d9ae['order']=qs['sort'](_0x254785['query'][_0x5acc('0x3b')]);_0x56d9ae['where']=qs[_0x5acc('0x36')](_[_0x5acc('0x3c')](_0x254785['query'],_0xe51bdb[_0x5acc('0x36')]),_0x28c187);if(_0x254785[_0x5acc('0x35')][_0x5acc('0x3d')]){_0x56d9ae[_0x5acc('0x3e')]=_[_0x5acc('0x3f')](_0x56d9ae[_0x5acc('0x3e')],{'$or':_[_0x5acc('0x2e')](_0x28c187,function(_0x3f4148){if(_0x3f4148['type']!==_0x5acc('0x40')){var _0x787ab0={};_0x787ab0[_0x3f4148[_0x5acc('0x2b')]]={'$like':'%'+_0x254785[_0x5acc('0x35')][_0x5acc('0x3d')]+'%'};return _0x787ab0;}})});}_0x56d9ae=_[_0x5acc('0x3f')]({},_0x56d9ae,_0x254785[_0x5acc('0x41')]);var _0x1c439b={'where':_0x56d9ae[_0x5acc('0x3e')]};return db[_0x5acc('0x2f')]['count'](_0x1c439b)[_0x5acc('0x27')](function(_0x3a798){_0x2f181b[_0x5acc('0x22')]=_0x3a798;if(_0x254785[_0x5acc('0x35')][_0x5acc('0x42')]){_0x56d9ae['include']=[{'all':!![]}];}return db['VoiceDialReport']['findAll'](_0x56d9ae);})[_0x5acc('0x27')](function(_0x5ba337){_0x2f181b[_0x5acc('0x43')]=_0x5ba337;return _0x2f181b;})['then'](respondWithFilteredResult(_0x3ae70f,_0x56d9ae))['catch'](handleError(_0x3ae70f,null));};exports[_0x5acc('0x44')]=function(_0x419812,_0x475d26){var _0x34d288={'raw':!![],'where':{'id':_0x419812[_0x5acc('0x45')]['id']}},_0xe9fbea={};_0xe9fbea[_0x5acc('0x34')]=_['keys'](db[_0x5acc('0x2f')]['rawAttributes']);_0xe9fbea[_0x5acc('0x35')]=_[_0x5acc('0x46')](_0x419812[_0x5acc('0x35')]);_0xe9fbea[_0x5acc('0x36')]=_[_0x5acc('0x37')](_0xe9fbea[_0x5acc('0x34')],_0xe9fbea['query']);_0x34d288[_0x5acc('0x38')]=_[_0x5acc('0x37')](_0xe9fbea['model'],qs[_0x5acc('0x39')](_0x419812[_0x5acc('0x35')][_0x5acc('0x39')]));_0x34d288[_0x5acc('0x38')]=_0x34d288['attributes'][_0x5acc('0x47')]?_0x34d288[_0x5acc('0x38')]:_0xe9fbea[_0x5acc('0x34')];if(_0x419812['query'][_0x5acc('0x42')]){_0x34d288[_0x5acc('0x48')]=[{'all':!![]}];}_0x34d288=_[_0x5acc('0x3f')]({},_0x34d288,_0x419812['options']);return db['VoiceDialReport']['find'](_0x34d288)[_0x5acc('0x27')](handleEntityNotFound(_0x475d26,null))[_0x5acc('0x27')](respondWithResult(_0x475d26,null))[_0x5acc('0x49')](handleError(_0x475d26,null));};exports[_0x5acc('0x4a')]=function(_0x5e2812,_0x5cb0a4){return db[_0x5acc('0x2f')][_0x5acc('0x4a')](_0x5e2812[_0x5acc('0x4b')],{})[_0x5acc('0x27')](respondWithResult(_0x5cb0a4,0xc9))[_0x5acc('0x49')](handleError(_0x5cb0a4,null));};exports[_0x5acc('0x26')]=function(_0x4c9c4c,_0x4e64e3){if(_0x4c9c4c['body']['id']){delete _0x4c9c4c[_0x5acc('0x4b')]['id'];}return db[_0x5acc('0x2f')][_0x5acc('0x4c')]({'where':{'id':_0x4c9c4c[_0x5acc('0x45')]['id']}})['then'](handleEntityNotFound(_0x4e64e3,null))[_0x5acc('0x27')](saveUpdates(_0x4c9c4c[_0x5acc('0x4b')],null))['then'](respondWithResult(_0x4e64e3,null))[_0x5acc('0x49')](handleError(_0x4e64e3,null));};exports['destroy']=function(_0x44b2bd,_0xba9491){return db['VoiceDialReport']['find']({'where':{'id':_0x44b2bd[_0x5acc('0x45')]['id']}})['then'](handleEntityNotFound(_0xba9491,null))[_0x5acc('0x27')](removeEntity(_0xba9491,null))[_0x5acc('0x49')](handleError(_0xba9491,null));};exports[_0x5acc('0x4d')]=function(_0x10bd20,_0x3020b8){return db[_0x5acc('0x2f')]['describe']()[_0x5acc('0x27')](respondWithResult(_0x3020b8,null))[_0x5acc('0x49')](handleError(_0x3020b8,null));};
\ No newline at end of file