Built motion from commit bab6f49e.|2.6.17
[motion2.git] / server / api / voiceQueuesLog / voiceQueuesLog.controller.js
index 6fdbd96..16c4484 100644 (file)
@@ -15,4 +15,4 @@
 // * treaties. The SOFTWARE PRODUCT is licensed, not sold.                        *
 // *                                                                       *
 // *************************************************************************
-var _0xb4ff=['options','VoiceQueuesLog','includeAll','findAll','rows','show','params','rawAttributes','length','include','catch','create','body','find','eml-format','rimraf','zip-dir','fast-json-patch','moment','bluebird','util','sox','to-csv','ejs','fs-extra','lodash','crypto','jsforce','desk.js','papaparse','../../components/auth/service','../../components/parsers/qs','../../components/parsers/advancedSearch','../../config/license/hardware','../../config/logger','../../config/utils','../../config/environment','../../config/license/util','sendStatus','status','json','offset','undefined','limit','count','set','apply','update','then','destroy','end','error','stack','name','send','map','fieldName','type','key','model','keys','filters','query','attributes','intersection','fields','hasOwnProperty','nolimit','order','sort','where','pick','filter','merge','VIRTUAL'];(function(_0x387777,_0x356171){var _0x3f84c0=function(_0x4d4423){while(--_0x4d4423){_0x387777['push'](_0x387777['shift']());}};_0x3f84c0(++_0x356171);}(_0xb4ff,0xef));var _0xfb4f=function(_0x3acfbc,_0x2455e5){_0x3acfbc=_0x3acfbc-0x0;var _0x1a05d4=_0xb4ff[_0x3acfbc];return _0x1a05d4;};'use strict';var emlformat=require(_0xfb4f('0x0'));var rimraf=require(_0xfb4f('0x1'));var zipdir=require(_0xfb4f('0x2'));var jsonpatch=require(_0xfb4f('0x3'));var rp=require('request-promise');var moment=require(_0xfb4f('0x4'));var BPromise=require(_0xfb4f('0x5'));var Mustache=require('mustache');var util=require(_0xfb4f('0x6'));var path=require('path');var sox=require(_0xfb4f('0x7'));var csv=require(_0xfb4f('0x8'));var ejs=require(_0xfb4f('0x9'));var fs=require('fs');var fs_extra=require(_0xfb4f('0xa'));var _=require(_0xfb4f('0xb'));var squel=require('squel');var crypto=require(_0xfb4f('0xc'));var jsforce=require(_0xfb4f('0xd'));var deskjs=require(_0xfb4f('0xe'));var toCsv=require('to-csv');var querystring=require('querystring');var Papa=require(_0xfb4f('0xf'));var Redis=require('ioredis');var authService=require(_0xfb4f('0x10'));var qs=require(_0xfb4f('0x11'));var as=require(_0xfb4f('0x12'));var hardwareService=require(_0xfb4f('0x13'));var logger=require(_0xfb4f('0x14'))('api');var utils=require(_0xfb4f('0x15'));var config=require(_0xfb4f('0x16'));var licenseUtil=require(_0xfb4f('0x17'));var db=require('../../mysqldb')['db'];function respondWithStatusCode(_0x468d33,_0x4f3082){_0x4f3082=_0x4f3082||0xcc;return function(_0x246b3b){if(_0x246b3b){return _0x468d33[_0xfb4f('0x18')](_0x4f3082);}return _0x468d33[_0xfb4f('0x19')](_0x4f3082)['end']();};}function respondWithResult(_0x4d5ccf,_0x50642a){_0x50642a=_0x50642a||0xc8;return function(_0x48aac5){if(_0x48aac5){return _0x4d5ccf[_0xfb4f('0x19')](_0x50642a)[_0xfb4f('0x1a')](_0x48aac5);}};}function respondWithFilteredResult(_0x2b08be,_0x42d1d3){return function(_0x3381a8){if(_0x3381a8){var _0x5e5e36=typeof _0x42d1d3[_0xfb4f('0x1b')]===_0xfb4f('0x1c')&&typeof _0x42d1d3[_0xfb4f('0x1d')]===_0xfb4f('0x1c');var _0x37bf6c=_0x3381a8[_0xfb4f('0x1e')];var _0x1b1b00=_0x5e5e36?0x0:_0x42d1d3[_0xfb4f('0x1b')];var _0x80bdd4=_0x5e5e36?_0x3381a8[_0xfb4f('0x1e')]:_0x42d1d3[_0xfb4f('0x1b')]+_0x42d1d3[_0xfb4f('0x1d')];var _0x3a44d2;if(_0x80bdd4>=_0x37bf6c){_0x80bdd4=_0x37bf6c;_0x3a44d2=0xc8;}else{_0x3a44d2=0xce;}_0x2b08be[_0xfb4f('0x19')](_0x3a44d2);return _0x2b08be[_0xfb4f('0x1f')]('Content-Range',_0x1b1b00+'-'+_0x80bdd4+'/'+_0x37bf6c)[_0xfb4f('0x1a')](_0x3381a8);}return null;};}function patchUpdates(_0x299f93){return function(_0x174cbc){try{jsonpatch[_0xfb4f('0x20')](_0x174cbc,_0x299f93,!![]);}catch(_0x154e36){return BPromise['reject'](_0x154e36);}return _0x174cbc['save']();};}function saveUpdates(_0x3a660e,_0x58f355){return function(_0x3903fa){if(_0x3903fa){return _0x3903fa[_0xfb4f('0x21')](_0x3a660e)[_0xfb4f('0x22')](function(_0x81861){return _0x81861;});}return null;};}function removeEntity(_0x18cc77,_0x59ff87){return function(_0x5dd208){if(_0x5dd208){return _0x5dd208[_0xfb4f('0x23')]()['then'](function(){_0x18cc77['status'](0xcc)[_0xfb4f('0x24')]();});}};}function handleEntityNotFound(_0x36c08f,_0x593afd){return function(_0x22f276){if(!_0x22f276){_0x36c08f['sendStatus'](0x194);}return _0x22f276;};}function handleError(_0x447b9a,_0x4104e8){_0x4104e8=_0x4104e8||0x1f4;return function(_0x65909b){logger[_0xfb4f('0x25')](_0x65909b[_0xfb4f('0x26')]);if(_0x65909b[_0xfb4f('0x27')]){delete _0x65909b[_0xfb4f('0x27')];}_0x447b9a[_0xfb4f('0x19')](_0x4104e8)[_0xfb4f('0x28')](_0x65909b);};}exports['index']=function(_0x370eee,_0x204b84){var _0x441ad6={},_0x5b2e57={},_0x7de1a5={'count':0x0,'rows':[]};var _0x1a37fc=_[_0xfb4f('0x29')](db['VoiceQueuesLog']['rawAttributes'],function(_0x153df1){return{'name':_0x153df1[_0xfb4f('0x2a')],'type':_0x153df1[_0xfb4f('0x2b')][_0xfb4f('0x2c')]};});_0x5b2e57[_0xfb4f('0x2d')]=_['map'](_0x1a37fc,'name');_0x5b2e57['query']=_[_0xfb4f('0x2e')](_0x370eee['query']);_0x5b2e57[_0xfb4f('0x2f')]=_['intersection'](_0x5b2e57[_0xfb4f('0x2d')],_0x5b2e57[_0xfb4f('0x30')]);_0x441ad6[_0xfb4f('0x31')]=_[_0xfb4f('0x32')](_0x5b2e57[_0xfb4f('0x2d')],qs[_0xfb4f('0x33')](_0x370eee['query'][_0xfb4f('0x33')]));_0x441ad6[_0xfb4f('0x31')]=_0x441ad6[_0xfb4f('0x31')]['length']?_0x441ad6[_0xfb4f('0x31')]:_0x5b2e57['model'];if(!_0x370eee[_0xfb4f('0x30')][_0xfb4f('0x34')](_0xfb4f('0x35'))){_0x441ad6[_0xfb4f('0x1d')]=qs[_0xfb4f('0x1d')](_0x370eee[_0xfb4f('0x30')][_0xfb4f('0x1d')]);_0x441ad6[_0xfb4f('0x1b')]=qs[_0xfb4f('0x1b')](_0x370eee[_0xfb4f('0x30')][_0xfb4f('0x1b')]);}_0x441ad6[_0xfb4f('0x36')]=qs[_0xfb4f('0x37')](_0x370eee['query'][_0xfb4f('0x37')]);_0x441ad6[_0xfb4f('0x38')]=qs[_0xfb4f('0x2f')](_[_0xfb4f('0x39')](_0x370eee[_0xfb4f('0x30')],_0x5b2e57[_0xfb4f('0x2f')]),_0x1a37fc);if(_0x370eee['query'][_0xfb4f('0x3a')]){_0x441ad6['where']=_[_0xfb4f('0x3b')](_0x441ad6['where'],{'$or':_[_0xfb4f('0x29')](_0x1a37fc,function(_0xe8fbce){if(_0xe8fbce[_0xfb4f('0x2b')]!==_0xfb4f('0x3c')){var _0x51c44a={};_0x51c44a[_0xe8fbce[_0xfb4f('0x27')]]={'$like':'%'+_0x370eee['query'][_0xfb4f('0x3a')]+'%'};return _0x51c44a;}})});}_0x441ad6=_['merge']({},_0x441ad6,_0x370eee[_0xfb4f('0x3d')]);var _0x3a13ae={'where':_0x441ad6[_0xfb4f('0x38')]};return db[_0xfb4f('0x3e')][_0xfb4f('0x1e')](_0x3a13ae)['then'](function(_0x22864b){_0x7de1a5[_0xfb4f('0x1e')]=_0x22864b;if(_0x370eee[_0xfb4f('0x30')][_0xfb4f('0x3f')]){_0x441ad6['include']=[{'all':!![]}];}return db['VoiceQueuesLog'][_0xfb4f('0x40')](_0x441ad6);})[_0xfb4f('0x22')](function(_0x5d9b4c){_0x7de1a5[_0xfb4f('0x41')]=_0x5d9b4c;return _0x7de1a5;})[_0xfb4f('0x22')](respondWithFilteredResult(_0x204b84,_0x441ad6))['catch'](handleError(_0x204b84,null));};exports[_0xfb4f('0x42')]=function(_0x368c40,_0x2a30ed){var _0x2f4479={'raw':!![],'where':{'id':_0x368c40[_0xfb4f('0x43')]['id']}},_0x34723f={};_0x34723f['model']=_['keys'](db[_0xfb4f('0x3e')][_0xfb4f('0x44')]);_0x34723f[_0xfb4f('0x30')]=_[_0xfb4f('0x2e')](_0x368c40[_0xfb4f('0x30')]);_0x34723f[_0xfb4f('0x2f')]=_[_0xfb4f('0x32')](_0x34723f[_0xfb4f('0x2d')],_0x34723f[_0xfb4f('0x30')]);_0x2f4479[_0xfb4f('0x31')]=_[_0xfb4f('0x32')](_0x34723f[_0xfb4f('0x2d')],qs['fields'](_0x368c40[_0xfb4f('0x30')][_0xfb4f('0x33')]));_0x2f4479['attributes']=_0x2f4479['attributes'][_0xfb4f('0x45')]?_0x2f4479['attributes']:_0x34723f[_0xfb4f('0x2d')];if(_0x368c40[_0xfb4f('0x30')][_0xfb4f('0x3f')]){_0x2f4479[_0xfb4f('0x46')]=[{'all':!![]}];}_0x2f4479=_[_0xfb4f('0x3b')]({},_0x2f4479,_0x368c40[_0xfb4f('0x3d')]);return db['VoiceQueuesLog']['find'](_0x2f4479)[_0xfb4f('0x22')](handleEntityNotFound(_0x2a30ed,null))[_0xfb4f('0x22')](respondWithResult(_0x2a30ed,null))[_0xfb4f('0x47')](handleError(_0x2a30ed,null));};exports[_0xfb4f('0x48')]=function(_0x287066,_0x46cf69){return db[_0xfb4f('0x3e')][_0xfb4f('0x48')](_0x287066[_0xfb4f('0x49')],{})[_0xfb4f('0x22')](respondWithResult(_0x46cf69,0xc9))[_0xfb4f('0x47')](handleError(_0x46cf69,null));};exports[_0xfb4f('0x21')]=function(_0x4efe25,_0xe83155){if(_0x4efe25[_0xfb4f('0x49')]['id']){delete _0x4efe25[_0xfb4f('0x49')]['id'];}return db[_0xfb4f('0x3e')]['find']({'where':{'id':_0x4efe25[_0xfb4f('0x43')]['id']}})['then'](handleEntityNotFound(_0xe83155,null))['then'](saveUpdates(_0x4efe25[_0xfb4f('0x49')],null))[_0xfb4f('0x22')](respondWithResult(_0xe83155,null))['catch'](handleError(_0xe83155,null));};exports[_0xfb4f('0x23')]=function(_0xf2895e,_0x15e8dd){return db[_0xfb4f('0x3e')][_0xfb4f('0x4a')]({'where':{'id':_0xf2895e[_0xfb4f('0x43')]['id']}})['then'](handleEntityNotFound(_0x15e8dd,null))[_0xfb4f('0x22')](removeEntity(_0x15e8dd,null))[_0xfb4f('0x47')](handleError(_0x15e8dd,null));};
\ No newline at end of file
+var _0x0353=['error','name','send','VoiceQueuesLog','rawAttributes','fieldName','type','key','model','map','keys','query','filters','attributes','intersection','fields','length','hasOwnProperty','nolimit','order','sort','where','filter','merge','VIRTUAL','includeAll','include','findAll','rows','show','params','options','catch','create','body','eml-format','rimraf','fast-json-patch','request-promise','bluebird','mustache','util','path','sox','to-csv','ejs','fs-extra','lodash','crypto','jsforce','desk.js','querystring','papaparse','ioredis','../../components/auth/service','../../components/parsers/qs','../../components/parsers/advancedSearch','../../config/license/hardware','../../config/logger','api','../../config/utils','../../config/environment','../../config/license/util','../../mysqldb','sendStatus','status','json','offset','undefined','limit','count','set','Content-Range','apply','reject','save','update','then','destroy'];(function(_0xf498d4,_0xd3a64b){var _0x11a8dd=function(_0x2a6b75){while(--_0x2a6b75){_0xf498d4['push'](_0xf498d4['shift']());}};_0x11a8dd(++_0xd3a64b);}(_0x0353,0x110));var _0x3035=function(_0x4fde08,_0x463a36){_0x4fde08=_0x4fde08-0x0;var _0x12e725=_0x0353[_0x4fde08];return _0x12e725;};'use strict';var emlformat=require(_0x3035('0x0'));var rimraf=require(_0x3035('0x1'));var zipdir=require('zip-dir');var jsonpatch=require(_0x3035('0x2'));var rp=require(_0x3035('0x3'));var moment=require('moment');var BPromise=require(_0x3035('0x4'));var Mustache=require(_0x3035('0x5'));var util=require(_0x3035('0x6'));var path=require(_0x3035('0x7'));var sox=require(_0x3035('0x8'));var csv=require(_0x3035('0x9'));var ejs=require(_0x3035('0xa'));var fs=require('fs');var fs_extra=require(_0x3035('0xb'));var _=require(_0x3035('0xc'));var squel=require('squel');var crypto=require(_0x3035('0xd'));var jsforce=require(_0x3035('0xe'));var deskjs=require(_0x3035('0xf'));var toCsv=require(_0x3035('0x9'));var querystring=require(_0x3035('0x10'));var Papa=require(_0x3035('0x11'));var Redis=require(_0x3035('0x12'));var authService=require(_0x3035('0x13'));var qs=require(_0x3035('0x14'));var as=require(_0x3035('0x15'));var hardwareService=require(_0x3035('0x16'));var logger=require(_0x3035('0x17'))(_0x3035('0x18'));var utils=require(_0x3035('0x19'));var config=require(_0x3035('0x1a'));var licenseUtil=require(_0x3035('0x1b'));var db=require(_0x3035('0x1c'))['db'];function respondWithStatusCode(_0x1f1f17,_0x1d6230){_0x1d6230=_0x1d6230||0xcc;return function(_0x4ddb49){if(_0x4ddb49){return _0x1f1f17[_0x3035('0x1d')](_0x1d6230);}return _0x1f1f17['status'](_0x1d6230)['end']();};}function respondWithResult(_0x140205,_0x3f9714){_0x3f9714=_0x3f9714||0xc8;return function(_0x1ad79c){if(_0x1ad79c){return _0x140205[_0x3035('0x1e')](_0x3f9714)[_0x3035('0x1f')](_0x1ad79c);}};}function respondWithFilteredResult(_0x44bbb6,_0x4e91b7){return function(_0x45431a){if(_0x45431a){var _0x5092a5=typeof _0x4e91b7[_0x3035('0x20')]===_0x3035('0x21')&&typeof _0x4e91b7[_0x3035('0x22')]===_0x3035('0x21');var _0x565995=_0x45431a[_0x3035('0x23')];var _0x1f7d98=_0x5092a5?0x0:_0x4e91b7[_0x3035('0x20')];var _0x5f26b8=_0x5092a5?_0x45431a[_0x3035('0x23')]:_0x4e91b7[_0x3035('0x20')]+_0x4e91b7[_0x3035('0x22')];var _0x5c33cb;if(_0x5f26b8>=_0x565995){_0x5f26b8=_0x565995;_0x5c33cb=0xc8;}else{_0x5c33cb=0xce;}_0x44bbb6['status'](_0x5c33cb);return _0x44bbb6[_0x3035('0x24')](_0x3035('0x25'),_0x1f7d98+'-'+_0x5f26b8+'/'+_0x565995)[_0x3035('0x1f')](_0x45431a);}return null;};}function patchUpdates(_0xf74e37){return function(_0x324826){try{jsonpatch[_0x3035('0x26')](_0x324826,_0xf74e37,!![]);}catch(_0x23584c){return BPromise[_0x3035('0x27')](_0x23584c);}return _0x324826[_0x3035('0x28')]();};}function saveUpdates(_0x3fc3ee,_0x1fd745){return function(_0xabf0e6){if(_0xabf0e6){return _0xabf0e6[_0x3035('0x29')](_0x3fc3ee)[_0x3035('0x2a')](function(_0x464415){return _0x464415;});}return null;};}function removeEntity(_0x2beca6,_0x4070ba){return function(_0x1043bd){if(_0x1043bd){return _0x1043bd[_0x3035('0x2b')]()['then'](function(){_0x2beca6['status'](0xcc)['end']();});}};}function handleEntityNotFound(_0x1b8bee,_0x140b42){return function(_0x31e3b0){if(!_0x31e3b0){_0x1b8bee[_0x3035('0x1d')](0x194);}return _0x31e3b0;};}function handleError(_0xbb1e80,_0x14d405){_0x14d405=_0x14d405||0x1f4;return function(_0x440616){logger[_0x3035('0x2c')](_0x440616['stack']);if(_0x440616[_0x3035('0x2d')]){delete _0x440616[_0x3035('0x2d')];}_0xbb1e80['status'](_0x14d405)[_0x3035('0x2e')](_0x440616);};}exports['index']=function(_0x3933c3,_0x41ef9d){var _0x5323bb={},_0x20b4cd={},_0x6b0096={'count':0x0,'rows':[]};var _0x4b54f8=_['map'](db[_0x3035('0x2f')][_0x3035('0x30')],function(_0x3b43ba){return{'name':_0x3b43ba[_0x3035('0x31')],'type':_0x3b43ba[_0x3035('0x32')][_0x3035('0x33')]};});_0x20b4cd[_0x3035('0x34')]=_[_0x3035('0x35')](_0x4b54f8,'name');_0x20b4cd['query']=_[_0x3035('0x36')](_0x3933c3[_0x3035('0x37')]);_0x20b4cd[_0x3035('0x38')]=_['intersection'](_0x20b4cd[_0x3035('0x34')],_0x20b4cd['query']);_0x5323bb[_0x3035('0x39')]=_[_0x3035('0x3a')](_0x20b4cd[_0x3035('0x34')],qs[_0x3035('0x3b')](_0x3933c3[_0x3035('0x37')][_0x3035('0x3b')]));_0x5323bb[_0x3035('0x39')]=_0x5323bb[_0x3035('0x39')][_0x3035('0x3c')]?_0x5323bb['attributes']:_0x20b4cd[_0x3035('0x34')];if(!_0x3933c3[_0x3035('0x37')][_0x3035('0x3d')](_0x3035('0x3e'))){_0x5323bb['limit']=qs['limit'](_0x3933c3[_0x3035('0x37')][_0x3035('0x22')]);_0x5323bb[_0x3035('0x20')]=qs[_0x3035('0x20')](_0x3933c3[_0x3035('0x37')][_0x3035('0x20')]);}_0x5323bb[_0x3035('0x3f')]=qs[_0x3035('0x40')](_0x3933c3[_0x3035('0x37')]['sort']);_0x5323bb[_0x3035('0x41')]=qs[_0x3035('0x38')](_['pick'](_0x3933c3['query'],_0x20b4cd[_0x3035('0x38')]),_0x4b54f8);if(_0x3933c3[_0x3035('0x37')][_0x3035('0x42')]){_0x5323bb[_0x3035('0x41')]=_[_0x3035('0x43')](_0x5323bb['where'],{'$or':_[_0x3035('0x35')](_0x4b54f8,function(_0x2753d2){if(_0x2753d2[_0x3035('0x32')]!==_0x3035('0x44')){var _0xae5ce8={};_0xae5ce8[_0x2753d2[_0x3035('0x2d')]]={'$like':'%'+_0x3933c3['query'][_0x3035('0x42')]+'%'};return _0xae5ce8;}})});}_0x5323bb=_[_0x3035('0x43')]({},_0x5323bb,_0x3933c3['options']);var _0x3488aa={'where':_0x5323bb[_0x3035('0x41')]};return db[_0x3035('0x2f')][_0x3035('0x23')](_0x3488aa)['then'](function(_0x2db21f){_0x6b0096['count']=_0x2db21f;if(_0x3933c3[_0x3035('0x37')][_0x3035('0x45')]){_0x5323bb[_0x3035('0x46')]=[{'all':!![]}];}return db['VoiceQueuesLog'][_0x3035('0x47')](_0x5323bb);})['then'](function(_0x3af1d0){_0x6b0096[_0x3035('0x48')]=_0x3af1d0;return _0x6b0096;})[_0x3035('0x2a')](respondWithFilteredResult(_0x41ef9d,_0x5323bb))['catch'](handleError(_0x41ef9d,null));};exports[_0x3035('0x49')]=function(_0x18d4be,_0x56f5dc){var _0xbb0e4f={'raw':!![],'where':{'id':_0x18d4be[_0x3035('0x4a')]['id']}},_0xdfbcb6={};_0xdfbcb6['model']=_['keys'](db[_0x3035('0x2f')][_0x3035('0x30')]);_0xdfbcb6[_0x3035('0x37')]=_[_0x3035('0x36')](_0x18d4be[_0x3035('0x37')]);_0xdfbcb6[_0x3035('0x38')]=_[_0x3035('0x3a')](_0xdfbcb6[_0x3035('0x34')],_0xdfbcb6[_0x3035('0x37')]);_0xbb0e4f['attributes']=_[_0x3035('0x3a')](_0xdfbcb6[_0x3035('0x34')],qs['fields'](_0x18d4be[_0x3035('0x37')][_0x3035('0x3b')]));_0xbb0e4f['attributes']=_0xbb0e4f['attributes']['length']?_0xbb0e4f[_0x3035('0x39')]:_0xdfbcb6[_0x3035('0x34')];if(_0x18d4be[_0x3035('0x37')][_0x3035('0x45')]){_0xbb0e4f['include']=[{'all':!![]}];}_0xbb0e4f=_[_0x3035('0x43')]({},_0xbb0e4f,_0x18d4be[_0x3035('0x4b')]);return db[_0x3035('0x2f')]['find'](_0xbb0e4f)[_0x3035('0x2a')](handleEntityNotFound(_0x56f5dc,null))['then'](respondWithResult(_0x56f5dc,null))[_0x3035('0x4c')](handleError(_0x56f5dc,null));};exports['create']=function(_0x3a3cd3,_0x5b4da1){return db[_0x3035('0x2f')][_0x3035('0x4d')](_0x3a3cd3[_0x3035('0x4e')],{})['then'](respondWithResult(_0x5b4da1,0xc9))[_0x3035('0x4c')](handleError(_0x5b4da1,null));};exports[_0x3035('0x29')]=function(_0x38ed23,_0x23ae0f){if(_0x38ed23['body']['id']){delete _0x38ed23[_0x3035('0x4e')]['id'];}return db['VoiceQueuesLog']['find']({'where':{'id':_0x38ed23[_0x3035('0x4a')]['id']}})[_0x3035('0x2a')](handleEntityNotFound(_0x23ae0f,null))[_0x3035('0x2a')](saveUpdates(_0x38ed23[_0x3035('0x4e')],null))[_0x3035('0x2a')](respondWithResult(_0x23ae0f,null))[_0x3035('0x4c')](handleError(_0x23ae0f,null));};exports['destroy']=function(_0xd19423,_0x414d6c){return db['VoiceQueuesLog']['find']({'where':{'id':_0xd19423[_0x3035('0x4a')]['id']}})[_0x3035('0x2a')](handleEntityNotFound(_0x414d6c,null))[_0x3035('0x2a')](removeEntity(_0x414d6c,null))['catch'](handleError(_0x414d6c,null));};
\ No newline at end of file