Built motion from commit (unavailable).|2.5.26
[motion2.git] / server / api / voiceAgentReport / voiceAgentReport.controller.js
index 1495548..99b01d3 100644 (file)
@@ -15,4 +15,4 @@
 // * treaties. The SOFTWARE PRODUCT is licensed, not sold.                        *
 // *                                                                       *
 // *************************************************************************
-var _0xff64=['../../config/license/util','../../mysqldb','sendStatus','end','status','count','offset','Content-Range','json','apply','reject','save','update','then','destroy','error','name','send','index','VoiceAgentReport','fieldName','type','key','query','filters','intersection','model','fields','attributes','length','hasOwnProperty','nolimit','limit','sort','where','merge','map','VIRTUAL','filter','options','includeAll','findAll','rows','show','params','keys','rawAttributes','include','catch','create','body','find','describe','html-pdf','eml-format','rimraf','fast-json-patch','request-promise','moment','bluebird','util','path','sox','ejs','squel','crypto','desk.js','querystring','ioredis','../../components/auth/service','../../components/parsers/qs','../../config/license/hardware','../../config/logger'];(function(_0x30f308,_0x2aa75c){var _0x31517f=function(_0x590f6f){while(--_0x590f6f){_0x30f308['push'](_0x30f308['shift']());}};_0x31517f(++_0x2aa75c);}(_0xff64,0x7e));var _0x4ff6=function(_0x2be3b1,_0x58685a){_0x2be3b1=_0x2be3b1-0x0;var _0x54dc5b=_0xff64[_0x2be3b1];return _0x54dc5b;};'use strict';var pdf=require(_0x4ff6('0x0'));var emlformat=require(_0x4ff6('0x1'));var rimraf=require(_0x4ff6('0x2'));var zipdir=require('zip-dir');var jsonpatch=require(_0x4ff6('0x3'));var rp=require(_0x4ff6('0x4'));var moment=require(_0x4ff6('0x5'));var BPromise=require(_0x4ff6('0x6'));var Mustache=require('mustache');var util=require(_0x4ff6('0x7'));var path=require(_0x4ff6('0x8'));var sox=require(_0x4ff6('0x9'));var csv=require('to-csv');var ejs=require(_0x4ff6('0xa'));var fs=require('fs');var _=require('lodash');var squel=require(_0x4ff6('0xb'));var crypto=require(_0x4ff6('0xc'));var jsforce=require('jsforce');var deskjs=require(_0x4ff6('0xd'));var toCsv=require('to-csv');var querystring=require(_0x4ff6('0xe'));var Papa=require('papaparse');var Redis=require(_0x4ff6('0xf'));var authService=require(_0x4ff6('0x10'));var qs=require(_0x4ff6('0x11'));var as=require('../../components/parsers/advancedSearch');var hardwareService=require(_0x4ff6('0x12'));var logger=require(_0x4ff6('0x13'))('api');var utils=require('../../config/utils');var config=require('../../config/environment');var licenseUtil=require(_0x4ff6('0x14'));var db=require(_0x4ff6('0x15'))['db'];function respondWithStatusCode(_0x218027,_0x11f904){_0x11f904=_0x11f904||0xcc;return function(_0x1682e2){if(_0x1682e2){return _0x218027[_0x4ff6('0x16')](_0x11f904);}return _0x218027['status'](_0x11f904)[_0x4ff6('0x17')]();};}function respondWithResult(_0x4b7882,_0x55b403){_0x55b403=_0x55b403||0xc8;return function(_0x15aa9f){if(_0x15aa9f){return _0x4b7882[_0x4ff6('0x18')](_0x55b403)['json'](_0x15aa9f);}};}function respondWithFilteredResult(_0x5722ac,_0x5ca3c2){return function(_0x447f0c){if(_0x447f0c){var _0x303029=_0x447f0c[_0x4ff6('0x19')],_0x1d667e=_0x5ca3c2['offset'],_0x2cf98c=_0x5ca3c2[_0x4ff6('0x1a')]+_0x5ca3c2['limit'],_0x227592;if(_0x2cf98c>=_0x303029){_0x2cf98c=_0x303029;_0x227592=0xc8;}else{_0x227592=0xce;}_0x5722ac[_0x4ff6('0x18')](_0x227592);return _0x5722ac['set'](_0x4ff6('0x1b'),_0x1d667e+'-'+_0x2cf98c+'/'+_0x303029)[_0x4ff6('0x1c')](_0x447f0c);}return null;};}function patchUpdates(_0x547a95){return function(_0x1e2782){try{jsonpatch[_0x4ff6('0x1d')](_0x1e2782,_0x547a95,!![]);}catch(_0x47cab8){return BPromise[_0x4ff6('0x1e')](_0x47cab8);}return _0x1e2782[_0x4ff6('0x1f')]();};}function saveUpdates(_0xe9124b,_0x167ddf){return function(_0xf6b85a){if(_0xf6b85a){return _0xf6b85a[_0x4ff6('0x20')](_0xe9124b)[_0x4ff6('0x21')](function(_0x356845){return _0x356845;});}return null;};}function removeEntity(_0x4cc831,_0x136972){return function(_0x998ea9){if(_0x998ea9){return _0x998ea9[_0x4ff6('0x22')]()[_0x4ff6('0x21')](function(){_0x4cc831['status'](0xcc)[_0x4ff6('0x17')]();});}};}function handleEntityNotFound(_0xdc23cd,_0x1a94a2){return function(_0x23a082){if(!_0x23a082){_0xdc23cd['sendStatus'](0x194);}return _0x23a082;};}function handleError(_0x3b944e,_0x4c23a3){_0x4c23a3=_0x4c23a3||0x1f4;return function(_0x2cd06c){logger[_0x4ff6('0x23')](_0x2cd06c['stack']);if(_0x2cd06c['name']){delete _0x2cd06c[_0x4ff6('0x24')];}_0x3b944e[_0x4ff6('0x18')](_0x4c23a3)[_0x4ff6('0x25')](_0x2cd06c);};}exports[_0x4ff6('0x26')]=function(_0x3ee388,_0x4007f0){var _0x50f8aa={},_0x4949d0={},_0x12dcf1={'count':0x0,'rows':[]};var _0x1b6d0b=_['map'](db[_0x4ff6('0x27')]['rawAttributes'],function(_0x53e376){return{'name':_0x53e376[_0x4ff6('0x28')],'type':_0x53e376[_0x4ff6('0x29')][_0x4ff6('0x2a')]};});_0x4949d0['model']=_['map'](_0x1b6d0b,_0x4ff6('0x24'));_0x4949d0[_0x4ff6('0x2b')]=_['keys'](_0x3ee388[_0x4ff6('0x2b')]);_0x4949d0[_0x4ff6('0x2c')]=_[_0x4ff6('0x2d')](_0x4949d0['model'],_0x4949d0[_0x4ff6('0x2b')]);_0x50f8aa['attributes']=_['intersection'](_0x4949d0[_0x4ff6('0x2e')],qs['fields'](_0x3ee388[_0x4ff6('0x2b')][_0x4ff6('0x2f')]));_0x50f8aa[_0x4ff6('0x30')]=_0x50f8aa[_0x4ff6('0x30')][_0x4ff6('0x31')]?_0x50f8aa[_0x4ff6('0x30')]:_0x4949d0['model'];if(!_0x3ee388[_0x4ff6('0x2b')][_0x4ff6('0x32')](_0x4ff6('0x33'))){_0x50f8aa['limit']=qs[_0x4ff6('0x34')](_0x3ee388[_0x4ff6('0x2b')][_0x4ff6('0x34')]);_0x50f8aa['offset']=qs[_0x4ff6('0x1a')](_0x3ee388[_0x4ff6('0x2b')][_0x4ff6('0x1a')]);}_0x50f8aa['order']=qs[_0x4ff6('0x35')](_0x3ee388[_0x4ff6('0x2b')][_0x4ff6('0x35')]);_0x50f8aa[_0x4ff6('0x36')]=qs[_0x4ff6('0x2c')](_['pick'](_0x3ee388['query'],_0x4949d0[_0x4ff6('0x2c')]),_0x1b6d0b);if(_0x3ee388[_0x4ff6('0x2b')]['filter']){_0x50f8aa[_0x4ff6('0x36')]=_[_0x4ff6('0x37')](_0x50f8aa[_0x4ff6('0x36')],{'$or':_[_0x4ff6('0x38')](_0x1b6d0b,function(_0x38aa7c){if(_0x38aa7c[_0x4ff6('0x29')]!==_0x4ff6('0x39')){var _0x5bf197={};_0x5bf197[_0x38aa7c[_0x4ff6('0x24')]]={'$like':'%'+_0x3ee388[_0x4ff6('0x2b')][_0x4ff6('0x3a')]+'%'};return _0x5bf197;}})});}_0x50f8aa=_[_0x4ff6('0x37')]({},_0x50f8aa,_0x3ee388[_0x4ff6('0x3b')]);var _0x280b10={'where':_0x50f8aa['where']};return db['VoiceAgentReport'][_0x4ff6('0x19')](_0x280b10)[_0x4ff6('0x21')](function(_0x5326a7){_0x12dcf1[_0x4ff6('0x19')]=_0x5326a7;if(_0x3ee388[_0x4ff6('0x2b')][_0x4ff6('0x3c')]){_0x50f8aa['include']=[{'all':!![]}];}return db[_0x4ff6('0x27')][_0x4ff6('0x3d')](_0x50f8aa);})[_0x4ff6('0x21')](function(_0x95eedc){_0x12dcf1[_0x4ff6('0x3e')]=_0x95eedc;return _0x12dcf1;})[_0x4ff6('0x21')](respondWithFilteredResult(_0x4007f0,_0x50f8aa))['catch'](handleError(_0x4007f0,null));};exports[_0x4ff6('0x3f')]=function(_0x1a9aa6,_0x5e1de1){var _0x433496={'raw':![],'where':{'id':_0x1a9aa6[_0x4ff6('0x40')]['id']}},_0x25677c={};_0x25677c[_0x4ff6('0x2e')]=_[_0x4ff6('0x41')](db[_0x4ff6('0x27')][_0x4ff6('0x42')]);_0x25677c[_0x4ff6('0x2b')]=_['keys'](_0x1a9aa6[_0x4ff6('0x2b')]);_0x25677c['filters']=_[_0x4ff6('0x2d')](_0x25677c[_0x4ff6('0x2e')],_0x25677c['query']);_0x433496[_0x4ff6('0x30')]=_[_0x4ff6('0x2d')](_0x25677c['model'],qs[_0x4ff6('0x2f')](_0x1a9aa6[_0x4ff6('0x2b')][_0x4ff6('0x2f')]));_0x433496[_0x4ff6('0x30')]=_0x433496[_0x4ff6('0x30')][_0x4ff6('0x31')]?_0x433496[_0x4ff6('0x30')]:_0x25677c[_0x4ff6('0x2e')];if(_0x1a9aa6[_0x4ff6('0x2b')][_0x4ff6('0x3c')]){_0x433496[_0x4ff6('0x43')]=[{'all':!![]}];}_0x433496=_['merge']({},_0x433496,_0x1a9aa6[_0x4ff6('0x3b')]);return db[_0x4ff6('0x27')]['find'](_0x433496)[_0x4ff6('0x21')](handleEntityNotFound(_0x5e1de1,null))['then'](respondWithResult(_0x5e1de1,null))[_0x4ff6('0x44')](handleError(_0x5e1de1,null));};exports['create']=function(_0x21ddd6,_0x40d2c5){return db['VoiceAgentReport'][_0x4ff6('0x45')](_0x21ddd6[_0x4ff6('0x46')],{})['then'](respondWithResult(_0x40d2c5,0xc9))[_0x4ff6('0x44')](handleError(_0x40d2c5,null));};exports['update']=function(_0xed5f3e,_0x438625){if(_0xed5f3e[_0x4ff6('0x46')]['id']){delete _0xed5f3e[_0x4ff6('0x46')]['id'];}return db[_0x4ff6('0x27')][_0x4ff6('0x47')]({'where':{'id':_0xed5f3e[_0x4ff6('0x40')]['id']}})[_0x4ff6('0x21')](handleEntityNotFound(_0x438625,null))[_0x4ff6('0x21')](saveUpdates(_0xed5f3e[_0x4ff6('0x46')],null))[_0x4ff6('0x21')](respondWithResult(_0x438625,null))[_0x4ff6('0x44')](handleError(_0x438625,null));};exports[_0x4ff6('0x22')]=function(_0x4c2161,_0x429089){return db[_0x4ff6('0x27')][_0x4ff6('0x47')]({'where':{'id':_0x4c2161[_0x4ff6('0x40')]['id']}})[_0x4ff6('0x21')](handleEntityNotFound(_0x429089,null))['then'](removeEntity(_0x429089,null))[_0x4ff6('0x44')](handleError(_0x429089,null));};exports[_0x4ff6('0x48')]=function(_0x57fc8f,_0x5bb92a){return db[_0x4ff6('0x27')]['describe']()[_0x4ff6('0x21')](respondWithResult(_0x5bb92a,null))[_0x4ff6('0x44')](handleError(_0x5bb92a,null));};
\ No newline at end of file
+var _0x2bb1=['json','count','offset','set','Content-Range','apply','save','update','destroy','then','error','stack','name','index','map','rawAttributes','fieldName','type','query','filters','model','attributes','intersection','fields','length','hasOwnProperty','limit','order','sort','pick','merge','where','VIRTUAL','filter','options','VoiceAgentReport','includeAll','findAll','rows','catch','show','keys','create','body','find','params','describe','fast-json-patch','request-promise','moment','bluebird','util','sox','to-csv','fs-extra','lodash','squel','crypto','desk.js','papaparse','ioredis','../../components/auth/service','../../components/parsers/qs','../../config/license/hardware','../../config/logger','api','../../config/utils','../../config/environment','../../config/license/util','sendStatus','status','end'];(function(_0x32c522,_0x556765){var _0x167c3c=function(_0x3af6d3){while(--_0x3af6d3){_0x32c522['push'](_0x32c522['shift']());}};_0x167c3c(++_0x556765);}(_0x2bb1,0x197));var _0x12bb=function(_0x4c9ba3,_0x355f36){_0x4c9ba3=_0x4c9ba3-0x0;var _0x4db012=_0x2bb1[_0x4c9ba3];return _0x4db012;};'use strict';var emlformat=require('eml-format');var rimraf=require('rimraf');var zipdir=require('zip-dir');var jsonpatch=require(_0x12bb('0x0'));var rp=require(_0x12bb('0x1'));var moment=require(_0x12bb('0x2'));var BPromise=require(_0x12bb('0x3'));var Mustache=require('mustache');var util=require(_0x12bb('0x4'));var path=require('path');var sox=require(_0x12bb('0x5'));var csv=require(_0x12bb('0x6'));var ejs=require('ejs');var fs=require('fs');var fs_extra=require(_0x12bb('0x7'));var _=require(_0x12bb('0x8'));var squel=require(_0x12bb('0x9'));var crypto=require(_0x12bb('0xa'));var jsforce=require('jsforce');var deskjs=require(_0x12bb('0xb'));var toCsv=require('to-csv');var querystring=require('querystring');var Papa=require(_0x12bb('0xc'));var Redis=require(_0x12bb('0xd'));var authService=require(_0x12bb('0xe'));var qs=require(_0x12bb('0xf'));var as=require('../../components/parsers/advancedSearch');var hardwareService=require(_0x12bb('0x10'));var logger=require(_0x12bb('0x11'))(_0x12bb('0x12'));var utils=require(_0x12bb('0x13'));var config=require(_0x12bb('0x14'));var licenseUtil=require(_0x12bb('0x15'));var db=require('../../mysqldb')['db'];function respondWithStatusCode(_0x3e0fc9,_0x214d77){_0x214d77=_0x214d77||0xcc;return function(_0x3180a7){if(_0x3180a7){return _0x3e0fc9[_0x12bb('0x16')](_0x214d77);}return _0x3e0fc9[_0x12bb('0x17')](_0x214d77)[_0x12bb('0x18')]();};}function respondWithResult(_0x1bf582,_0x1fb746){_0x1fb746=_0x1fb746||0xc8;return function(_0x4a2a79){if(_0x4a2a79){return _0x1bf582['status'](_0x1fb746)[_0x12bb('0x19')](_0x4a2a79);}};}function respondWithFilteredResult(_0x57a0a0,_0x47d972){return function(_0x3b8fe7){if(_0x3b8fe7){var _0x241053=_0x3b8fe7[_0x12bb('0x1a')],_0x7308c=_0x47d972['offset'],_0x73bff2=_0x47d972[_0x12bb('0x1b')]+_0x47d972['limit'],_0x52d090;if(_0x73bff2>=_0x241053){_0x73bff2=_0x241053;_0x52d090=0xc8;}else{_0x52d090=0xce;}_0x57a0a0[_0x12bb('0x17')](_0x52d090);return _0x57a0a0[_0x12bb('0x1c')](_0x12bb('0x1d'),_0x7308c+'-'+_0x73bff2+'/'+_0x241053)[_0x12bb('0x19')](_0x3b8fe7);}return null;};}function patchUpdates(_0x47d1bc){return function(_0xd3d190){try{jsonpatch[_0x12bb('0x1e')](_0xd3d190,_0x47d1bc,!![]);}catch(_0xbb7688){return BPromise['reject'](_0xbb7688);}return _0xd3d190[_0x12bb('0x1f')]();};}function saveUpdates(_0x186786,_0x4198f4){return function(_0x38254f){if(_0x38254f){return _0x38254f[_0x12bb('0x20')](_0x186786)['then'](function(_0x1b4f7b){return _0x1b4f7b;});}return null;};}function removeEntity(_0x4513d3,_0x4570db){return function(_0x3476b8){if(_0x3476b8){return _0x3476b8[_0x12bb('0x21')]()[_0x12bb('0x22')](function(){_0x4513d3[_0x12bb('0x17')](0xcc)[_0x12bb('0x18')]();});}};}function handleEntityNotFound(_0x3f448e,_0x212161){return function(_0x3684d8){if(!_0x3684d8){_0x3f448e[_0x12bb('0x16')](0x194);}return _0x3684d8;};}function handleError(_0x5aed89,_0x3bbfdb){_0x3bbfdb=_0x3bbfdb||0x1f4;return function(_0x1a2f51){logger[_0x12bb('0x23')](_0x1a2f51[_0x12bb('0x24')]);if(_0x1a2f51['name']){delete _0x1a2f51[_0x12bb('0x25')];}_0x5aed89['status'](_0x3bbfdb)['send'](_0x1a2f51);};}exports[_0x12bb('0x26')]=function(_0x118c8c,_0x38f3a7){var _0x59e6a9={},_0x1867a4={},_0x465d94={'count':0x0,'rows':[]};var _0x3cdd5f=_[_0x12bb('0x27')](db['VoiceAgentReport'][_0x12bb('0x28')],function(_0x103db8){return{'name':_0x103db8[_0x12bb('0x29')],'type':_0x103db8[_0x12bb('0x2a')]['key']};});_0x1867a4['model']=_[_0x12bb('0x27')](_0x3cdd5f,_0x12bb('0x25'));_0x1867a4[_0x12bb('0x2b')]=_['keys'](_0x118c8c[_0x12bb('0x2b')]);_0x1867a4[_0x12bb('0x2c')]=_['intersection'](_0x1867a4[_0x12bb('0x2d')],_0x1867a4['query']);_0x59e6a9[_0x12bb('0x2e')]=_[_0x12bb('0x2f')](_0x1867a4[_0x12bb('0x2d')],qs[_0x12bb('0x30')](_0x118c8c['query'][_0x12bb('0x30')]));_0x59e6a9[_0x12bb('0x2e')]=_0x59e6a9[_0x12bb('0x2e')][_0x12bb('0x31')]?_0x59e6a9[_0x12bb('0x2e')]:_0x1867a4[_0x12bb('0x2d')];if(!_0x118c8c[_0x12bb('0x2b')][_0x12bb('0x32')]('nolimit')){_0x59e6a9[_0x12bb('0x33')]=qs[_0x12bb('0x33')](_0x118c8c[_0x12bb('0x2b')][_0x12bb('0x33')]);_0x59e6a9[_0x12bb('0x1b')]=qs[_0x12bb('0x1b')](_0x118c8c[_0x12bb('0x2b')][_0x12bb('0x1b')]);}_0x59e6a9[_0x12bb('0x34')]=qs[_0x12bb('0x35')](_0x118c8c['query']['sort']);_0x59e6a9['where']=qs[_0x12bb('0x2c')](_[_0x12bb('0x36')](_0x118c8c[_0x12bb('0x2b')],_0x1867a4[_0x12bb('0x2c')]),_0x3cdd5f);if(_0x118c8c[_0x12bb('0x2b')]['filter']){_0x59e6a9['where']=_[_0x12bb('0x37')](_0x59e6a9[_0x12bb('0x38')],{'$or':_['map'](_0x3cdd5f,function(_0x21a0d8){if(_0x21a0d8[_0x12bb('0x2a')]!==_0x12bb('0x39')){var _0xf70790={};_0xf70790[_0x21a0d8['name']]={'$like':'%'+_0x118c8c[_0x12bb('0x2b')][_0x12bb('0x3a')]+'%'};return _0xf70790;}})});}_0x59e6a9=_[_0x12bb('0x37')]({},_0x59e6a9,_0x118c8c[_0x12bb('0x3b')]);var _0x235736={'where':_0x59e6a9[_0x12bb('0x38')]};return db[_0x12bb('0x3c')]['count'](_0x235736)[_0x12bb('0x22')](function(_0x47f0b3){_0x465d94[_0x12bb('0x1a')]=_0x47f0b3;if(_0x118c8c[_0x12bb('0x2b')][_0x12bb('0x3d')]){_0x59e6a9['include']=[{'all':!![]}];}return db[_0x12bb('0x3c')][_0x12bb('0x3e')](_0x59e6a9);})['then'](function(_0x25d4d7){_0x465d94[_0x12bb('0x3f')]=_0x25d4d7;return _0x465d94;})['then'](respondWithFilteredResult(_0x38f3a7,_0x59e6a9))[_0x12bb('0x40')](handleError(_0x38f3a7,null));};exports[_0x12bb('0x41')]=function(_0x35d6b5,_0x1ca23f){var _0x38ba23={'raw':![],'where':{'id':_0x35d6b5['params']['id']}},_0x372b80={};_0x372b80[_0x12bb('0x2d')]=_[_0x12bb('0x42')](db[_0x12bb('0x3c')][_0x12bb('0x28')]);_0x372b80[_0x12bb('0x2b')]=_[_0x12bb('0x42')](_0x35d6b5['query']);_0x372b80[_0x12bb('0x2c')]=_[_0x12bb('0x2f')](_0x372b80[_0x12bb('0x2d')],_0x372b80['query']);_0x38ba23[_0x12bb('0x2e')]=_[_0x12bb('0x2f')](_0x372b80[_0x12bb('0x2d')],qs[_0x12bb('0x30')](_0x35d6b5['query'][_0x12bb('0x30')]));_0x38ba23['attributes']=_0x38ba23[_0x12bb('0x2e')][_0x12bb('0x31')]?_0x38ba23[_0x12bb('0x2e')]:_0x372b80[_0x12bb('0x2d')];if(_0x35d6b5[_0x12bb('0x2b')]['includeAll']){_0x38ba23['include']=[{'all':!![]}];}_0x38ba23=_[_0x12bb('0x37')]({},_0x38ba23,_0x35d6b5['options']);return db[_0x12bb('0x3c')]['find'](_0x38ba23)[_0x12bb('0x22')](handleEntityNotFound(_0x1ca23f,null))[_0x12bb('0x22')](respondWithResult(_0x1ca23f,null))[_0x12bb('0x40')](handleError(_0x1ca23f,null));};exports['create']=function(_0x524f21,_0x2daa05){return db[_0x12bb('0x3c')][_0x12bb('0x43')](_0x524f21['body'],{})[_0x12bb('0x22')](respondWithResult(_0x2daa05,0xc9))[_0x12bb('0x40')](handleError(_0x2daa05,null));};exports['update']=function(_0x4464d8,_0x30fb2f){if(_0x4464d8[_0x12bb('0x44')]['id']){delete _0x4464d8[_0x12bb('0x44')]['id'];}return db[_0x12bb('0x3c')][_0x12bb('0x45')]({'where':{'id':_0x4464d8[_0x12bb('0x46')]['id']}})[_0x12bb('0x22')](handleEntityNotFound(_0x30fb2f,null))[_0x12bb('0x22')](saveUpdates(_0x4464d8['body'],null))[_0x12bb('0x22')](respondWithResult(_0x30fb2f,null))[_0x12bb('0x40')](handleError(_0x30fb2f,null));};exports['destroy']=function(_0x727e48,_0x89a319){return db[_0x12bb('0x3c')][_0x12bb('0x45')]({'where':{'id':_0x727e48['params']['id']}})[_0x12bb('0x22')](handleEntityNotFound(_0x89a319,null))['then'](removeEntity(_0x89a319,null))[_0x12bb('0x40')](handleError(_0x89a319,null));};exports['describe']=function(_0xf5a03,_0xd7c0ce){return db[_0x12bb('0x3c')][_0x12bb('0x47')]()[_0x12bb('0x22')](respondWithResult(_0xd7c0ce,null))[_0x12bb('0x40')](handleError(_0xd7c0ce,null));};
\ No newline at end of file