Built motion from commit 85328c08.|2.5.50
[motion2.git] / server / api / voiceDialReport / voiceDialReport.controller.js
index aab84a2..386b598 100644 (file)
@@ -15,4 +15,4 @@
 // * treaties. The SOFTWARE PRODUCT is licensed, not sold.                        *
 // *                                                                       *
 // *************************************************************************
-var _0x0f31=['describe','html-pdf','eml-format','request-promise','moment','bluebird','mustache','util','path','lodash','squel','crypto','jsforce','desk.js','to-csv','querystring','ioredis','../../components/parsers/qs','../../components/parsers/advancedSearch','../../config/license/hardware','../../config/logger','api','../../config/utils','../../config/environment','../../config/license/util','../../mysqldb','status','end','json','count','offset','limit','set','Content-Range','reject','update','destroy','then','stack','name','send','index','map','VoiceDialReport','fieldName','type','model','keys','query','filters','attributes','intersection','fields','length','hasOwnProperty','nolimit','order','sort','where','pick','filter','merge','VIRTUAL','include','rows','catch','show','params','rawAttributes','options','find','create','body'];(function(_0x5037ab,_0x43209e){var _0x512adb=function(_0x261783){while(--_0x261783){_0x5037ab['push'](_0x5037ab['shift']());}};_0x512adb(++_0x43209e);}(_0x0f31,0x93));var _0x10f3=function(_0x4c3972,_0x478acd){_0x4c3972=_0x4c3972-0x0;var _0x12409d=_0x0f31[_0x4c3972];return _0x12409d;};'use strict';var pdf=require(_0x10f3('0x0'));var emlformat=require(_0x10f3('0x1'));var rimraf=require('rimraf');var zipdir=require('zip-dir');var jsonpatch=require('fast-json-patch');var rp=require(_0x10f3('0x2'));var moment=require(_0x10f3('0x3'));var BPromise=require(_0x10f3('0x4'));var Mustache=require(_0x10f3('0x5'));var util=require(_0x10f3('0x6'));var path=require(_0x10f3('0x7'));var sox=require('sox');var csv=require('to-csv');var ejs=require('ejs');var fs=require('fs');var _=require(_0x10f3('0x8'));var squel=require(_0x10f3('0x9'));var crypto=require(_0x10f3('0xa'));var jsforce=require(_0x10f3('0xb'));var deskjs=require(_0x10f3('0xc'));var toCsv=require(_0x10f3('0xd'));var querystring=require(_0x10f3('0xe'));var Papa=require('papaparse');var Redis=require(_0x10f3('0xf'));var authService=require('../../components/auth/service');var qs=require(_0x10f3('0x10'));var as=require(_0x10f3('0x11'));var hardwareService=require(_0x10f3('0x12'));var logger=require(_0x10f3('0x13'))(_0x10f3('0x14'));var utils=require(_0x10f3('0x15'));var config=require(_0x10f3('0x16'));var licenseUtil=require(_0x10f3('0x17'));var db=require(_0x10f3('0x18'))['db'];function respondWithStatusCode(_0xbfbf11,_0xc11256){_0xc11256=_0xc11256||0xcc;return function(_0x4fa2a3){if(_0x4fa2a3){return _0xbfbf11['sendStatus'](_0xc11256);}return _0xbfbf11[_0x10f3('0x19')](_0xc11256)[_0x10f3('0x1a')]();};}function respondWithResult(_0x47a37b,_0x5e7e83){_0x5e7e83=_0x5e7e83||0xc8;return function(_0x2ae54f){if(_0x2ae54f){return _0x47a37b['status'](_0x5e7e83)[_0x10f3('0x1b')](_0x2ae54f);}};}function respondWithFilteredResult(_0x36f9f9,_0x57c649){return function(_0x207a38){if(_0x207a38){var _0x51f397=_0x207a38[_0x10f3('0x1c')],_0x47c0b2=_0x57c649['offset'],_0x4c4b70=_0x57c649[_0x10f3('0x1d')]+_0x57c649[_0x10f3('0x1e')],_0x5d016a;if(_0x4c4b70>=_0x51f397){_0x4c4b70=_0x51f397;_0x5d016a=0xc8;}else{_0x5d016a=0xce;}_0x36f9f9[_0x10f3('0x19')](_0x5d016a);return _0x36f9f9[_0x10f3('0x1f')](_0x10f3('0x20'),_0x47c0b2+'-'+_0x4c4b70+'/'+_0x51f397)[_0x10f3('0x1b')](_0x207a38);}return null;};}function patchUpdates(_0x22d55f){return function(_0x1f2525){try{jsonpatch['apply'](_0x1f2525,_0x22d55f,!![]);}catch(_0x11fb32){return BPromise[_0x10f3('0x21')](_0x11fb32);}return _0x1f2525['save']();};}function saveUpdates(_0x5e2584,_0x388291){return function(_0x425564){if(_0x425564){return _0x425564[_0x10f3('0x22')](_0x5e2584)['then'](function(_0x18b5c4){return _0x18b5c4;});}return null;};}function removeEntity(_0x600e8a,_0x1132ea){return function(_0x325974){if(_0x325974){return _0x325974[_0x10f3('0x23')]()[_0x10f3('0x24')](function(){_0x600e8a[_0x10f3('0x19')](0xcc)['end']();});}};}function handleEntityNotFound(_0x50efc7,_0x56f0d5){return function(_0x4e143c){if(!_0x4e143c){_0x50efc7['sendStatus'](0x194);}return _0x4e143c;};}function handleError(_0x26d6fe,_0x2473b8){_0x2473b8=_0x2473b8||0x1f4;return function(_0xe68cc0){logger['error'](_0xe68cc0[_0x10f3('0x25')]);if(_0xe68cc0[_0x10f3('0x26')]){delete _0xe68cc0[_0x10f3('0x26')];}_0x26d6fe[_0x10f3('0x19')](_0x2473b8)[_0x10f3('0x27')](_0xe68cc0);};}exports[_0x10f3('0x28')]=function(_0x1571fb,_0x50465e){var _0x361fd9={},_0x17843e={},_0x3f6311={'count':0x0,'rows':[]};var _0x2f2739=_[_0x10f3('0x29')](db[_0x10f3('0x2a')]['rawAttributes'],function(_0x28b3c3){return{'name':_0x28b3c3[_0x10f3('0x2b')],'type':_0x28b3c3[_0x10f3('0x2c')]['key']};});_0x17843e[_0x10f3('0x2d')]=_[_0x10f3('0x29')](_0x2f2739,_0x10f3('0x26'));_0x17843e['query']=_[_0x10f3('0x2e')](_0x1571fb[_0x10f3('0x2f')]);_0x17843e[_0x10f3('0x30')]=_['intersection'](_0x17843e[_0x10f3('0x2d')],_0x17843e[_0x10f3('0x2f')]);_0x361fd9[_0x10f3('0x31')]=_[_0x10f3('0x32')](_0x17843e['model'],qs['fields'](_0x1571fb[_0x10f3('0x2f')][_0x10f3('0x33')]));_0x361fd9[_0x10f3('0x31')]=_0x361fd9[_0x10f3('0x31')][_0x10f3('0x34')]?_0x361fd9[_0x10f3('0x31')]:_0x17843e[_0x10f3('0x2d')];if(!_0x1571fb[_0x10f3('0x2f')][_0x10f3('0x35')](_0x10f3('0x36'))){_0x361fd9[_0x10f3('0x1e')]=qs[_0x10f3('0x1e')](_0x1571fb[_0x10f3('0x2f')][_0x10f3('0x1e')]);_0x361fd9[_0x10f3('0x1d')]=qs[_0x10f3('0x1d')](_0x1571fb['query'][_0x10f3('0x1d')]);}_0x361fd9[_0x10f3('0x37')]=qs[_0x10f3('0x38')](_0x1571fb[_0x10f3('0x2f')]['sort']);_0x361fd9[_0x10f3('0x39')]=qs[_0x10f3('0x30')](_[_0x10f3('0x3a')](_0x1571fb[_0x10f3('0x2f')],_0x17843e[_0x10f3('0x30')]),_0x2f2739);if(_0x1571fb[_0x10f3('0x2f')][_0x10f3('0x3b')]){_0x361fd9[_0x10f3('0x39')]=_[_0x10f3('0x3c')](_0x361fd9[_0x10f3('0x39')],{'$or':_[_0x10f3('0x29')](_0x2f2739,function(_0x1458e1){if(_0x1458e1[_0x10f3('0x2c')]!==_0x10f3('0x3d')){var _0x42e1e2={};_0x42e1e2[_0x1458e1['name']]={'$like':'%'+_0x1571fb[_0x10f3('0x2f')][_0x10f3('0x3b')]+'%'};return _0x42e1e2;}})});}_0x361fd9=_[_0x10f3('0x3c')]({},_0x361fd9,_0x1571fb['options']);var _0x12f62b={'where':_0x361fd9['where']};return db['VoiceDialReport'][_0x10f3('0x1c')](_0x12f62b)[_0x10f3('0x24')](function(_0x4ad602){_0x3f6311[_0x10f3('0x1c')]=_0x4ad602;if(_0x1571fb[_0x10f3('0x2f')]['includeAll']){_0x361fd9[_0x10f3('0x3e')]=[{'all':!![]}];}return db[_0x10f3('0x2a')]['findAll'](_0x361fd9);})[_0x10f3('0x24')](function(_0xf40283){_0x3f6311[_0x10f3('0x3f')]=_0xf40283;return _0x3f6311;})[_0x10f3('0x24')](respondWithFilteredResult(_0x50465e,_0x361fd9))[_0x10f3('0x40')](handleError(_0x50465e,null));};exports[_0x10f3('0x41')]=function(_0x2ed900,_0x1788a5){var _0x38e0dc={'raw':!![],'where':{'id':_0x2ed900[_0x10f3('0x42')]['id']}},_0x31ffbc={};_0x31ffbc[_0x10f3('0x2d')]=_[_0x10f3('0x2e')](db['VoiceDialReport'][_0x10f3('0x43')]);_0x31ffbc['query']=_[_0x10f3('0x2e')](_0x2ed900['query']);_0x31ffbc[_0x10f3('0x30')]=_['intersection'](_0x31ffbc[_0x10f3('0x2d')],_0x31ffbc[_0x10f3('0x2f')]);_0x38e0dc['attributes']=_[_0x10f3('0x32')](_0x31ffbc[_0x10f3('0x2d')],qs[_0x10f3('0x33')](_0x2ed900[_0x10f3('0x2f')][_0x10f3('0x33')]));_0x38e0dc[_0x10f3('0x31')]=_0x38e0dc[_0x10f3('0x31')][_0x10f3('0x34')]?_0x38e0dc['attributes']:_0x31ffbc[_0x10f3('0x2d')];if(_0x2ed900[_0x10f3('0x2f')]['includeAll']){_0x38e0dc[_0x10f3('0x3e')]=[{'all':!![]}];}_0x38e0dc=_[_0x10f3('0x3c')]({},_0x38e0dc,_0x2ed900[_0x10f3('0x44')]);return db[_0x10f3('0x2a')][_0x10f3('0x45')](_0x38e0dc)[_0x10f3('0x24')](handleEntityNotFound(_0x1788a5,null))[_0x10f3('0x24')](respondWithResult(_0x1788a5,null))[_0x10f3('0x40')](handleError(_0x1788a5,null));};exports[_0x10f3('0x46')]=function(_0x22c313,_0x3160ea){return db[_0x10f3('0x2a')][_0x10f3('0x46')](_0x22c313['body'],{})[_0x10f3('0x24')](respondWithResult(_0x3160ea,0xc9))[_0x10f3('0x40')](handleError(_0x3160ea,null));};exports['update']=function(_0x4fcf9d,_0x47a80f){if(_0x4fcf9d[_0x10f3('0x47')]['id']){delete _0x4fcf9d['body']['id'];}return db[_0x10f3('0x2a')]['find']({'where':{'id':_0x4fcf9d[_0x10f3('0x42')]['id']}})[_0x10f3('0x24')](handleEntityNotFound(_0x47a80f,null))[_0x10f3('0x24')](saveUpdates(_0x4fcf9d[_0x10f3('0x47')],null))[_0x10f3('0x24')](respondWithResult(_0x47a80f,null))[_0x10f3('0x40')](handleError(_0x47a80f,null));};exports[_0x10f3('0x23')]=function(_0x1d991f,_0x956fa7){return db[_0x10f3('0x2a')]['find']({'where':{'id':_0x1d991f[_0x10f3('0x42')]['id']}})[_0x10f3('0x24')](handleEntityNotFound(_0x956fa7,null))['then'](removeEntity(_0x956fa7,null))[_0x10f3('0x40')](handleError(_0x956fa7,null));};exports[_0x10f3('0x48')]=function(_0xb3e75e,_0x4d5322){return db[_0x10f3('0x2a')][_0x10f3('0x48')]()[_0x10f3('0x24')](respondWithResult(_0x4d5322,null))[_0x10f3('0x40')](handleError(_0x4d5322,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