Built motion from commit (unavailable).|2.5.30
[motion2.git] / server / api / mailTransferReport / mailTransferReport.controller.js
index 8e41338..227a7ba 100644 (file)
@@ -15,4 +15,4 @@
 // * treaties. The SOFTWARE PRODUCT is licensed, not sold.                        *
 // *                                                                       *
 // *************************************************************************
-var _0x578f=['merge','VIRTUAL','options','includeAll','include','rows','catch','show','params','find','create','body','destroy','describe','html-pdf','zip-dir','fast-json-patch','moment','bluebird','mustache','sox','ejs','lodash','jsforce','to-csv','querystring','ioredis','../../components/auth/service','../../components/parsers/qs','../../components/parsers/advancedSearch','../../config/logger','api','../../config/environment','../../config/license/util','sendStatus','status','end','json','count','offset','limit','set','Content-Range','apply','reject','save','update','then','error','stack','name','send','index','map','MailTransferReport','rawAttributes','fieldName','type','model','keys','query','intersection','attributes','fields','length','hasOwnProperty','nolimit','sort','where','filters','pick','filter'];(function(_0x59ee6f,_0x450239){var _0x4c0979=function(_0x565e92){while(--_0x565e92){_0x59ee6f['push'](_0x59ee6f['shift']());}};_0x4c0979(++_0x450239);}(_0x578f,0x176));var _0xf578=function(_0x307c1c,_0x37428c){_0x307c1c=_0x307c1c-0x0;var _0x2b7add=_0x578f[_0x307c1c];return _0x2b7add;};'use strict';var pdf=require(_0xf578('0x0'));var emlformat=require('eml-format');var rimraf=require('rimraf');var zipdir=require(_0xf578('0x1'));var jsonpatch=require(_0xf578('0x2'));var rp=require('request-promise');var moment=require(_0xf578('0x3'));var BPromise=require(_0xf578('0x4'));var Mustache=require(_0xf578('0x5'));var util=require('util');var path=require('path');var sox=require(_0xf578('0x6'));var csv=require('to-csv');var ejs=require(_0xf578('0x7'));var fs=require('fs');var _=require(_0xf578('0x8'));var squel=require('squel');var crypto=require('crypto');var jsforce=require(_0xf578('0x9'));var deskjs=require('desk.js');var toCsv=require(_0xf578('0xa'));var querystring=require(_0xf578('0xb'));var Papa=require('papaparse');var Redis=require(_0xf578('0xc'));var authService=require(_0xf578('0xd'));var qs=require(_0xf578('0xe'));var as=require(_0xf578('0xf'));var hardwareService=require('../../config/license/hardware');var logger=require(_0xf578('0x10'))(_0xf578('0x11'));var utils=require('../../config/utils');var config=require(_0xf578('0x12'));var licenseUtil=require(_0xf578('0x13'));var db=require('../../mysqldb')['db'];function respondWithStatusCode(_0x4b1f05,_0x55bb6a){_0x55bb6a=_0x55bb6a||0xcc;return function(_0x4594f5){if(_0x4594f5){return _0x4b1f05[_0xf578('0x14')](_0x55bb6a);}return _0x4b1f05[_0xf578('0x15')](_0x55bb6a)[_0xf578('0x16')]();};}function respondWithResult(_0x41260d,_0x230ad6){_0x230ad6=_0x230ad6||0xc8;return function(_0x4d74bc){if(_0x4d74bc){return _0x41260d['status'](_0x230ad6)[_0xf578('0x17')](_0x4d74bc);}};}function respondWithFilteredResult(_0x5e6f5,_0x275037){return function(_0x2da4ee){if(_0x2da4ee){var _0x39b4c7=_0x2da4ee[_0xf578('0x18')],_0x17ae33=_0x275037[_0xf578('0x19')],_0x17c47b=_0x275037['offset']+_0x275037[_0xf578('0x1a')],_0x1aea15;if(_0x17c47b>=_0x39b4c7){_0x17c47b=_0x39b4c7;_0x1aea15=0xc8;}else{_0x1aea15=0xce;}_0x5e6f5[_0xf578('0x15')](_0x1aea15);return _0x5e6f5[_0xf578('0x1b')](_0xf578('0x1c'),_0x17ae33+'-'+_0x17c47b+'/'+_0x39b4c7)[_0xf578('0x17')](_0x2da4ee);}return null;};}function patchUpdates(_0x4778b3){return function(_0x1a9f25){try{jsonpatch[_0xf578('0x1d')](_0x1a9f25,_0x4778b3,!![]);}catch(_0x4114b0){return BPromise[_0xf578('0x1e')](_0x4114b0);}return _0x1a9f25[_0xf578('0x1f')]();};}function saveUpdates(_0x101de9,_0x1b21ae){return function(_0x762022){if(_0x762022){return _0x762022[_0xf578('0x20')](_0x101de9)[_0xf578('0x21')](function(_0x1e5d7e){return _0x1e5d7e;});}return null;};}function removeEntity(_0x395c79,_0x25d2a3){return function(_0x3acb8c){if(_0x3acb8c){return _0x3acb8c['destroy']()[_0xf578('0x21')](function(){_0x395c79[_0xf578('0x15')](0xcc)[_0xf578('0x16')]();});}};}function handleEntityNotFound(_0x537981,_0x29abd3){return function(_0x3bf31d){if(!_0x3bf31d){_0x537981[_0xf578('0x14')](0x194);}return _0x3bf31d;};}function handleError(_0x31b4f4,_0x5648d6){_0x5648d6=_0x5648d6||0x1f4;return function(_0x47674d){logger[_0xf578('0x22')](_0x47674d[_0xf578('0x23')]);if(_0x47674d['name']){delete _0x47674d[_0xf578('0x24')];}_0x31b4f4['status'](_0x5648d6)[_0xf578('0x25')](_0x47674d);};}exports[_0xf578('0x26')]=function(_0x264b66,_0x5eff35){var _0x13897a={},_0x4cf9a4={},_0x3e93ac={'count':0x0,'rows':[]};var _0x40c320=_[_0xf578('0x27')](db[_0xf578('0x28')][_0xf578('0x29')],function(_0x38eaa8){return{'name':_0x38eaa8[_0xf578('0x2a')],'type':_0x38eaa8[_0xf578('0x2b')]['key']};});_0x4cf9a4[_0xf578('0x2c')]=_['map'](_0x40c320,'name');_0x4cf9a4['query']=_[_0xf578('0x2d')](_0x264b66[_0xf578('0x2e')]);_0x4cf9a4['filters']=_[_0xf578('0x2f')](_0x4cf9a4['model'],_0x4cf9a4[_0xf578('0x2e')]);_0x13897a[_0xf578('0x30')]=_[_0xf578('0x2f')](_0x4cf9a4[_0xf578('0x2c')],qs[_0xf578('0x31')](_0x264b66['query']['fields']));_0x13897a[_0xf578('0x30')]=_0x13897a[_0xf578('0x30')][_0xf578('0x32')]?_0x13897a[_0xf578('0x30')]:_0x4cf9a4['model'];if(!_0x264b66[_0xf578('0x2e')][_0xf578('0x33')](_0xf578('0x34'))){_0x13897a[_0xf578('0x1a')]=qs[_0xf578('0x1a')](_0x264b66[_0xf578('0x2e')][_0xf578('0x1a')]);_0x13897a[_0xf578('0x19')]=qs['offset'](_0x264b66[_0xf578('0x2e')][_0xf578('0x19')]);}_0x13897a['order']=qs[_0xf578('0x35')](_0x264b66[_0xf578('0x2e')][_0xf578('0x35')]);_0x13897a[_0xf578('0x36')]=qs[_0xf578('0x37')](_[_0xf578('0x38')](_0x264b66[_0xf578('0x2e')],_0x4cf9a4[_0xf578('0x37')]),_0x40c320);if(_0x264b66[_0xf578('0x2e')][_0xf578('0x39')]){_0x13897a['where']=_[_0xf578('0x3a')](_0x13897a['where'],{'$or':_[_0xf578('0x27')](_0x40c320,function(_0x34bbc5){if(_0x34bbc5[_0xf578('0x2b')]!==_0xf578('0x3b')){var _0x34a428={};_0x34a428[_0x34bbc5[_0xf578('0x24')]]={'$like':'%'+_0x264b66[_0xf578('0x2e')][_0xf578('0x39')]+'%'};return _0x34a428;}})});}_0x13897a=_[_0xf578('0x3a')]({},_0x13897a,_0x264b66[_0xf578('0x3c')]);var _0x9c4797={'where':_0x13897a[_0xf578('0x36')]};return db[_0xf578('0x28')][_0xf578('0x18')](_0x9c4797)[_0xf578('0x21')](function(_0x74be76){_0x3e93ac['count']=_0x74be76;if(_0x264b66[_0xf578('0x2e')][_0xf578('0x3d')]){_0x13897a[_0xf578('0x3e')]=[{'all':!![]}];}return db[_0xf578('0x28')]['findAll'](_0x13897a);})['then'](function(_0x68b29f){_0x3e93ac[_0xf578('0x3f')]=_0x68b29f;return _0x3e93ac;})[_0xf578('0x21')](respondWithFilteredResult(_0x5eff35,_0x13897a))[_0xf578('0x40')](handleError(_0x5eff35,null));};exports[_0xf578('0x41')]=function(_0x2b1988,_0x206ae2){var _0x5d5698={'raw':!![],'where':{'id':_0x2b1988[_0xf578('0x42')]['id']}},_0x4e6e63={};_0x4e6e63['model']=_[_0xf578('0x2d')](db['MailTransferReport']['rawAttributes']);_0x4e6e63['query']=_[_0xf578('0x2d')](_0x2b1988[_0xf578('0x2e')]);_0x4e6e63[_0xf578('0x37')]=_[_0xf578('0x2f')](_0x4e6e63['model'],_0x4e6e63['query']);_0x5d5698[_0xf578('0x30')]=_[_0xf578('0x2f')](_0x4e6e63[_0xf578('0x2c')],qs['fields'](_0x2b1988['query'][_0xf578('0x31')]));_0x5d5698['attributes']=_0x5d5698['attributes'][_0xf578('0x32')]?_0x5d5698[_0xf578('0x30')]:_0x4e6e63[_0xf578('0x2c')];if(_0x2b1988[_0xf578('0x2e')][_0xf578('0x3d')]){_0x5d5698['include']=[{'all':!![]}];}_0x5d5698=_[_0xf578('0x3a')]({},_0x5d5698,_0x2b1988[_0xf578('0x3c')]);return db['MailTransferReport'][_0xf578('0x43')](_0x5d5698)[_0xf578('0x21')](handleEntityNotFound(_0x206ae2,null))[_0xf578('0x21')](respondWithResult(_0x206ae2,null))[_0xf578('0x40')](handleError(_0x206ae2,null));};exports[_0xf578('0x44')]=function(_0x1bf618,_0x2b334d){return db[_0xf578('0x28')][_0xf578('0x44')](_0x1bf618[_0xf578('0x45')],{})[_0xf578('0x21')](respondWithResult(_0x2b334d,0xc9))[_0xf578('0x40')](handleError(_0x2b334d,null));};exports[_0xf578('0x20')]=function(_0x2e1793,_0x507117){if(_0x2e1793[_0xf578('0x45')]['id']){delete _0x2e1793[_0xf578('0x45')]['id'];}return db[_0xf578('0x28')][_0xf578('0x43')]({'where':{'id':_0x2e1793[_0xf578('0x42')]['id']}})[_0xf578('0x21')](handleEntityNotFound(_0x507117,null))[_0xf578('0x21')](saveUpdates(_0x2e1793[_0xf578('0x45')],null))[_0xf578('0x21')](respondWithResult(_0x507117,null))[_0xf578('0x40')](handleError(_0x507117,null));};exports[_0xf578('0x46')]=function(_0x200900,_0x17261f){return db[_0xf578('0x28')][_0xf578('0x43')]({'where':{'id':_0x200900['params']['id']}})[_0xf578('0x21')](handleEntityNotFound(_0x17261f,null))['then'](removeEntity(_0x17261f,null))[_0xf578('0x40')](handleError(_0x17261f,null));};exports[_0xf578('0x47')]=function(_0x6f9286,_0x5d94bb){return db[_0xf578('0x28')][_0xf578('0x47')]()['then'](respondWithResult(_0x5d94bb,null))[_0xf578('0x40')](handleError(_0x5d94bb,null));};
\ No newline at end of file
+var _0x3b41=['papaparse','ioredis','../../components/parsers/qs','../../components/parsers/advancedSearch','../../config/license/hardware','../../config/logger','api','../../config/license/util','../../mysqldb','sendStatus','end','status','offset','undefined','limit','count','Content-Range','json','apply','reject','save','update','then','destroy','error','stack','name','send','index','map','MailTransferReport','rawAttributes','type','model','query','keys','filters','intersection','attributes','fields','length','hasOwnProperty','nolimit','order','sort','where','pick','filter','merge','includeAll','include','findAll','catch','show','params','options','find','create','body','describe','eml-format','rimraf','zip-dir','fast-json-patch','bluebird','mustache','util','path','sox','to-csv','ejs','fs-extra','lodash','squel','crypto','jsforce','desk.js','querystring'];(function(_0x13a08a,_0x52da1c){var _0x152014=function(_0x18d227){while(--_0x18d227){_0x13a08a['push'](_0x13a08a['shift']());}};_0x152014(++_0x52da1c);}(_0x3b41,0x126));var _0x13b4=function(_0x515b8f,_0x36bac5){_0x515b8f=_0x515b8f-0x0;var _0x8a3c03=_0x3b41[_0x515b8f];return _0x8a3c03;};'use strict';var emlformat=require(_0x13b4('0x0'));var rimraf=require(_0x13b4('0x1'));var zipdir=require(_0x13b4('0x2'));var jsonpatch=require(_0x13b4('0x3'));var rp=require('request-promise');var moment=require('moment');var BPromise=require(_0x13b4('0x4'));var Mustache=require(_0x13b4('0x5'));var util=require(_0x13b4('0x6'));var path=require(_0x13b4('0x7'));var sox=require(_0x13b4('0x8'));var csv=require(_0x13b4('0x9'));var ejs=require(_0x13b4('0xa'));var fs=require('fs');var fs_extra=require(_0x13b4('0xb'));var _=require(_0x13b4('0xc'));var squel=require(_0x13b4('0xd'));var crypto=require(_0x13b4('0xe'));var jsforce=require(_0x13b4('0xf'));var deskjs=require(_0x13b4('0x10'));var toCsv=require(_0x13b4('0x9'));var querystring=require(_0x13b4('0x11'));var Papa=require(_0x13b4('0x12'));var Redis=require(_0x13b4('0x13'));var authService=require('../../components/auth/service');var qs=require(_0x13b4('0x14'));var as=require(_0x13b4('0x15'));var hardwareService=require(_0x13b4('0x16'));var logger=require(_0x13b4('0x17'))(_0x13b4('0x18'));var utils=require('../../config/utils');var config=require('../../config/environment');var licenseUtil=require(_0x13b4('0x19'));var db=require(_0x13b4('0x1a'))['db'];function respondWithStatusCode(_0x2a9dd9,_0x27bc46){_0x27bc46=_0x27bc46||0xcc;return function(_0x3997f6){if(_0x3997f6){return _0x2a9dd9[_0x13b4('0x1b')](_0x27bc46);}return _0x2a9dd9['status'](_0x27bc46)[_0x13b4('0x1c')]();};}function respondWithResult(_0x11b990,_0x419470){_0x419470=_0x419470||0xc8;return function(_0x254d4c){if(_0x254d4c){return _0x11b990[_0x13b4('0x1d')](_0x419470)['json'](_0x254d4c);}};}function respondWithFilteredResult(_0x2bf20c,_0x1c01d3){return function(_0x5f209d){if(_0x5f209d){var _0x17d227=typeof _0x1c01d3[_0x13b4('0x1e')]===_0x13b4('0x1f')&&typeof _0x1c01d3[_0x13b4('0x20')]===_0x13b4('0x1f');var _0x155def=_0x5f209d[_0x13b4('0x21')];var _0x1553bb=_0x17d227?0x0:_0x1c01d3[_0x13b4('0x1e')];var _0x12d7f6=_0x17d227?_0x5f209d[_0x13b4('0x21')]:_0x1c01d3['offset']+_0x1c01d3[_0x13b4('0x20')];var _0x7c0e4b;if(_0x12d7f6>=_0x155def){_0x12d7f6=_0x155def;_0x7c0e4b=0xc8;}else{_0x7c0e4b=0xce;}_0x2bf20c[_0x13b4('0x1d')](_0x7c0e4b);return _0x2bf20c['set'](_0x13b4('0x22'),_0x1553bb+'-'+_0x12d7f6+'/'+_0x155def)[_0x13b4('0x23')](_0x5f209d);}return null;};}function patchUpdates(_0xf84196){return function(_0x1742a6){try{jsonpatch[_0x13b4('0x24')](_0x1742a6,_0xf84196,!![]);}catch(_0x3d1e3b){return BPromise[_0x13b4('0x25')](_0x3d1e3b);}return _0x1742a6[_0x13b4('0x26')]();};}function saveUpdates(_0x1b24a4,_0x383474){return function(_0x9c9a8d){if(_0x9c9a8d){return _0x9c9a8d[_0x13b4('0x27')](_0x1b24a4)[_0x13b4('0x28')](function(_0x4ca9c3){return _0x4ca9c3;});}return null;};}function removeEntity(_0x1c25fa,_0x5ee470){return function(_0xe81d7e){if(_0xe81d7e){return _0xe81d7e[_0x13b4('0x29')]()[_0x13b4('0x28')](function(){_0x1c25fa[_0x13b4('0x1d')](0xcc)[_0x13b4('0x1c')]();});}};}function handleEntityNotFound(_0x556f68,_0x50ca6a){return function(_0xa0a798){if(!_0xa0a798){_0x556f68[_0x13b4('0x1b')](0x194);}return _0xa0a798;};}function handleError(_0x3a75f8,_0x5c0cb4){_0x5c0cb4=_0x5c0cb4||0x1f4;return function(_0xeff8e5){logger[_0x13b4('0x2a')](_0xeff8e5[_0x13b4('0x2b')]);if(_0xeff8e5[_0x13b4('0x2c')]){delete _0xeff8e5[_0x13b4('0x2c')];}_0x3a75f8['status'](_0x5c0cb4)[_0x13b4('0x2d')](_0xeff8e5);};}exports[_0x13b4('0x2e')]=function(_0x18d700,_0x5832d7){var _0x39c00c={},_0x1cede2={},_0xbe6b96={'count':0x0,'rows':[]};var _0x3bf090=_[_0x13b4('0x2f')](db[_0x13b4('0x30')][_0x13b4('0x31')],function(_0x28fae8){return{'name':_0x28fae8['fieldName'],'type':_0x28fae8[_0x13b4('0x32')]['key']};});_0x1cede2[_0x13b4('0x33')]=_['map'](_0x3bf090,_0x13b4('0x2c'));_0x1cede2[_0x13b4('0x34')]=_[_0x13b4('0x35')](_0x18d700[_0x13b4('0x34')]);_0x1cede2[_0x13b4('0x36')]=_[_0x13b4('0x37')](_0x1cede2[_0x13b4('0x33')],_0x1cede2[_0x13b4('0x34')]);_0x39c00c[_0x13b4('0x38')]=_[_0x13b4('0x37')](_0x1cede2[_0x13b4('0x33')],qs[_0x13b4('0x39')](_0x18d700[_0x13b4('0x34')][_0x13b4('0x39')]));_0x39c00c[_0x13b4('0x38')]=_0x39c00c[_0x13b4('0x38')][_0x13b4('0x3a')]?_0x39c00c['attributes']:_0x1cede2[_0x13b4('0x33')];if(!_0x18d700['query'][_0x13b4('0x3b')](_0x13b4('0x3c'))){_0x39c00c[_0x13b4('0x20')]=qs[_0x13b4('0x20')](_0x18d700['query'][_0x13b4('0x20')]);_0x39c00c[_0x13b4('0x1e')]=qs[_0x13b4('0x1e')](_0x18d700[_0x13b4('0x34')][_0x13b4('0x1e')]);}_0x39c00c[_0x13b4('0x3d')]=qs[_0x13b4('0x3e')](_0x18d700[_0x13b4('0x34')]['sort']);_0x39c00c[_0x13b4('0x3f')]=qs[_0x13b4('0x36')](_[_0x13b4('0x40')](_0x18d700[_0x13b4('0x34')],_0x1cede2[_0x13b4('0x36')]),_0x3bf090);if(_0x18d700[_0x13b4('0x34')][_0x13b4('0x41')]){_0x39c00c['where']=_['merge'](_0x39c00c[_0x13b4('0x3f')],{'$or':_[_0x13b4('0x2f')](_0x3bf090,function(_0x5470ff){if(_0x5470ff[_0x13b4('0x32')]!=='VIRTUAL'){var _0x6375cf={};_0x6375cf[_0x5470ff[_0x13b4('0x2c')]]={'$like':'%'+_0x18d700[_0x13b4('0x34')]['filter']+'%'};return _0x6375cf;}})});}_0x39c00c=_[_0x13b4('0x42')]({},_0x39c00c,_0x18d700['options']);var _0x2963e6={'where':_0x39c00c[_0x13b4('0x3f')]};return db[_0x13b4('0x30')]['count'](_0x2963e6)[_0x13b4('0x28')](function(_0x169aea){_0xbe6b96[_0x13b4('0x21')]=_0x169aea;if(_0x18d700[_0x13b4('0x34')][_0x13b4('0x43')]){_0x39c00c[_0x13b4('0x44')]=[{'all':!![]}];}return db[_0x13b4('0x30')][_0x13b4('0x45')](_0x39c00c);})['then'](function(_0x509d3a){_0xbe6b96['rows']=_0x509d3a;return _0xbe6b96;})[_0x13b4('0x28')](respondWithFilteredResult(_0x5832d7,_0x39c00c))[_0x13b4('0x46')](handleError(_0x5832d7,null));};exports[_0x13b4('0x47')]=function(_0x5ae0f9,_0x5f2e85){var _0x3dcc84={'raw':!![],'where':{'id':_0x5ae0f9[_0x13b4('0x48')]['id']}},_0x5ee7a9={};_0x5ee7a9['model']=_[_0x13b4('0x35')](db[_0x13b4('0x30')][_0x13b4('0x31')]);_0x5ee7a9[_0x13b4('0x34')]=_['keys'](_0x5ae0f9[_0x13b4('0x34')]);_0x5ee7a9[_0x13b4('0x36')]=_[_0x13b4('0x37')](_0x5ee7a9['model'],_0x5ee7a9[_0x13b4('0x34')]);_0x3dcc84[_0x13b4('0x38')]=_[_0x13b4('0x37')](_0x5ee7a9[_0x13b4('0x33')],qs[_0x13b4('0x39')](_0x5ae0f9['query'][_0x13b4('0x39')]));_0x3dcc84['attributes']=_0x3dcc84['attributes']['length']?_0x3dcc84[_0x13b4('0x38')]:_0x5ee7a9[_0x13b4('0x33')];if(_0x5ae0f9['query'][_0x13b4('0x43')]){_0x3dcc84['include']=[{'all':!![]}];}_0x3dcc84=_[_0x13b4('0x42')]({},_0x3dcc84,_0x5ae0f9[_0x13b4('0x49')]);return db['MailTransferReport'][_0x13b4('0x4a')](_0x3dcc84)[_0x13b4('0x28')](handleEntityNotFound(_0x5f2e85,null))['then'](respondWithResult(_0x5f2e85,null))['catch'](handleError(_0x5f2e85,null));};exports['create']=function(_0x40be26,_0x228566){return db['MailTransferReport'][_0x13b4('0x4b')](_0x40be26[_0x13b4('0x4c')],{})[_0x13b4('0x28')](respondWithResult(_0x228566,0xc9))[_0x13b4('0x46')](handleError(_0x228566,null));};exports[_0x13b4('0x27')]=function(_0x36ae61,_0x3f943f){if(_0x36ae61[_0x13b4('0x4c')]['id']){delete _0x36ae61[_0x13b4('0x4c')]['id'];}return db['MailTransferReport'][_0x13b4('0x4a')]({'where':{'id':_0x36ae61[_0x13b4('0x48')]['id']}})[_0x13b4('0x28')](handleEntityNotFound(_0x3f943f,null))['then'](saveUpdates(_0x36ae61['body'],null))['then'](respondWithResult(_0x3f943f,null))[_0x13b4('0x46')](handleError(_0x3f943f,null));};exports[_0x13b4('0x29')]=function(_0x5653ab,_0x12786d){return db['MailTransferReport'][_0x13b4('0x4a')]({'where':{'id':_0x5653ab['params']['id']}})['then'](handleEntityNotFound(_0x12786d,null))['then'](removeEntity(_0x12786d,null))[_0x13b4('0x46')](handleError(_0x12786d,null));};exports[_0x13b4('0x4d')]=function(_0x4c65b0,_0x18d0fb){return db[_0x13b4('0x30')][_0x13b4('0x4d')]()['then'](respondWithResult(_0x18d0fb,null))[_0x13b4('0x46')](handleError(_0x18d0fb,null));};
\ No newline at end of file