Built motion from commit 00bf23f6.|2.6.16
[motion2.git] / server / api / userProfileSection / userProfileSection.controller.js
index 5afb231..a029961 100644 (file)
@@ -15,4 +15,4 @@
 // * treaties. The SOFTWARE PRODUCT is licensed, not sold.                        *
 // *                                                                       *
 // *************************************************************************
-var _0x1f22=['../../components/parsers/advancedSearch','../../config/license/hardware','../../config/logger','api','../../config/utils','../../config/environment','../../config/license/util','../../mysqldb','status','end','json','offset','undefined','limit','count','set','Content-Range','apply','save','update','destroy','then','sendStatus','stack','name','send','index','UserProfileSection','rawAttributes','key','query','filters','model','attributes','intersection','fields','length','hasOwnProperty','order','sort','where','pick','merge','map','VIRTUAL','filter','includeAll','include','findAll','catch','show','params','keys','options','find','create','body','describe','eml-format','rimraf','zip-dir','fast-json-patch','moment','mustache','util','path','to-csv','ejs','fs-extra','lodash','crypto','jsforce','desk.js','querystring','../../components/auth/service','../../components/parsers/qs'];(function(_0x16cff1,_0x210729){var _0x141cb3=function(_0x26dfcb){while(--_0x26dfcb){_0x16cff1['push'](_0x16cff1['shift']());}};_0x141cb3(++_0x210729);}(_0x1f22,0x16a));var _0x21f2=function(_0x3c7fca,_0x122dc1){_0x3c7fca=_0x3c7fca-0x0;var _0xf030eb=_0x1f22[_0x3c7fca];return _0xf030eb;};'use strict';var emlformat=require(_0x21f2('0x0'));var rimraf=require(_0x21f2('0x1'));var zipdir=require(_0x21f2('0x2'));var jsonpatch=require(_0x21f2('0x3'));var rp=require('request-promise');var moment=require(_0x21f2('0x4'));var BPromise=require('bluebird');var Mustache=require(_0x21f2('0x5'));var util=require(_0x21f2('0x6'));var path=require(_0x21f2('0x7'));var sox=require('sox');var csv=require(_0x21f2('0x8'));var ejs=require(_0x21f2('0x9'));var fs=require('fs');var fs_extra=require(_0x21f2('0xa'));var _=require(_0x21f2('0xb'));var squel=require('squel');var crypto=require(_0x21f2('0xc'));var jsforce=require(_0x21f2('0xd'));var deskjs=require(_0x21f2('0xe'));var toCsv=require(_0x21f2('0x8'));var querystring=require(_0x21f2('0xf'));var Papa=require('papaparse');var Redis=require('ioredis');var authService=require(_0x21f2('0x10'));var qs=require(_0x21f2('0x11'));var as=require(_0x21f2('0x12'));var hardwareService=require(_0x21f2('0x13'));var logger=require(_0x21f2('0x14'))(_0x21f2('0x15'));var utils=require(_0x21f2('0x16'));var config=require(_0x21f2('0x17'));var licenseUtil=require(_0x21f2('0x18'));var db=require(_0x21f2('0x19'))['db'];function respondWithStatusCode(_0x1f9174,_0xaa82f5){_0xaa82f5=_0xaa82f5||0xcc;return function(_0x56d922){if(_0x56d922){return _0x1f9174['sendStatus'](_0xaa82f5);}return _0x1f9174[_0x21f2('0x1a')](_0xaa82f5)[_0x21f2('0x1b')]();};}function respondWithResult(_0x85d131,_0x54d54c){_0x54d54c=_0x54d54c||0xc8;return function(_0x428e99){if(_0x428e99){return _0x85d131[_0x21f2('0x1a')](_0x54d54c)[_0x21f2('0x1c')](_0x428e99);}};}function respondWithFilteredResult(_0x546d5b,_0x459838){return function(_0x7b7479){if(_0x7b7479){var _0x1dae40=typeof _0x459838[_0x21f2('0x1d')]===_0x21f2('0x1e')&&typeof _0x459838[_0x21f2('0x1f')]===_0x21f2('0x1e');var _0x3ae4c7=_0x7b7479[_0x21f2('0x20')];var _0x50bff7=_0x1dae40?0x0:_0x459838[_0x21f2('0x1d')];var _0x57303a=_0x1dae40?_0x7b7479['count']:_0x459838[_0x21f2('0x1d')]+_0x459838[_0x21f2('0x1f')];var _0x57b362;if(_0x57303a>=_0x3ae4c7){_0x57303a=_0x3ae4c7;_0x57b362=0xc8;}else{_0x57b362=0xce;}_0x546d5b[_0x21f2('0x1a')](_0x57b362);return _0x546d5b[_0x21f2('0x21')](_0x21f2('0x22'),_0x50bff7+'-'+_0x57303a+'/'+_0x3ae4c7)[_0x21f2('0x1c')](_0x7b7479);}return null;};}function patchUpdates(_0x554633){return function(_0x48a8cc){try{jsonpatch[_0x21f2('0x23')](_0x48a8cc,_0x554633,!![]);}catch(_0x193248){return BPromise['reject'](_0x193248);}return _0x48a8cc[_0x21f2('0x24')]();};}function saveUpdates(_0x129605,_0x5e6334){return function(_0x5c1221){if(_0x5c1221){return _0x5c1221[_0x21f2('0x25')](_0x129605)['then'](function(_0x3fe639){return _0x3fe639;});}return null;};}function removeEntity(_0x4e4221,_0x3e3636){return function(_0x2c9c7c){if(_0x2c9c7c){return _0x2c9c7c[_0x21f2('0x26')]()[_0x21f2('0x27')](function(){_0x4e4221[_0x21f2('0x1a')](0xcc)[_0x21f2('0x1b')]();});}};}function handleEntityNotFound(_0x24eecf,_0x28af95){return function(_0xca3e87){if(!_0xca3e87){_0x24eecf[_0x21f2('0x28')](0x194);}return _0xca3e87;};}function handleError(_0x8d4420,_0x48f3bc){_0x48f3bc=_0x48f3bc||0x1f4;return function(_0x2b319c){logger['error'](_0x2b319c[_0x21f2('0x29')]);if(_0x2b319c[_0x21f2('0x2a')]){delete _0x2b319c[_0x21f2('0x2a')];}_0x8d4420['status'](_0x48f3bc)[_0x21f2('0x2b')](_0x2b319c);};}exports[_0x21f2('0x2c')]=function(_0x259823,_0x53214b){var _0x5f0466={},_0x294b31={},_0x45d1c9={'count':0x0,'rows':[]};var _0x571166=_['map'](db[_0x21f2('0x2d')][_0x21f2('0x2e')],function(_0x1ff146){return{'name':_0x1ff146['fieldName'],'type':_0x1ff146['type'][_0x21f2('0x2f')]};});_0x294b31['model']=_['map'](_0x571166,_0x21f2('0x2a'));_0x294b31[_0x21f2('0x30')]=_['keys'](_0x259823[_0x21f2('0x30')]);_0x294b31[_0x21f2('0x31')]=_['intersection'](_0x294b31[_0x21f2('0x32')],_0x294b31['query']);_0x5f0466[_0x21f2('0x33')]=_[_0x21f2('0x34')](_0x294b31[_0x21f2('0x32')],qs[_0x21f2('0x35')](_0x259823[_0x21f2('0x30')]['fields']));_0x5f0466['attributes']=_0x5f0466[_0x21f2('0x33')][_0x21f2('0x36')]?_0x5f0466[_0x21f2('0x33')]:_0x294b31[_0x21f2('0x32')];if(!_0x259823[_0x21f2('0x30')][_0x21f2('0x37')]('nolimit')){_0x5f0466[_0x21f2('0x1f')]=qs['limit'](_0x259823['query']['limit']);_0x5f0466[_0x21f2('0x1d')]=qs[_0x21f2('0x1d')](_0x259823[_0x21f2('0x30')][_0x21f2('0x1d')]);}_0x5f0466[_0x21f2('0x38')]=qs[_0x21f2('0x39')](_0x259823[_0x21f2('0x30')][_0x21f2('0x39')]);_0x5f0466[_0x21f2('0x3a')]=qs[_0x21f2('0x31')](_[_0x21f2('0x3b')](_0x259823[_0x21f2('0x30')],_0x294b31['filters']),_0x571166);if(_0x259823[_0x21f2('0x30')]['filter']){_0x5f0466[_0x21f2('0x3a')]=_[_0x21f2('0x3c')](_0x5f0466[_0x21f2('0x3a')],{'$or':_[_0x21f2('0x3d')](_0x571166,function(_0x6862a1){if(_0x6862a1['type']!==_0x21f2('0x3e')){var _0x385de2={};_0x385de2[_0x6862a1[_0x21f2('0x2a')]]={'$like':'%'+_0x259823['query'][_0x21f2('0x3f')]+'%'};return _0x385de2;}})});}_0x5f0466=_[_0x21f2('0x3c')]({},_0x5f0466,_0x259823['options']);var _0x5df46a={'where':_0x5f0466[_0x21f2('0x3a')]};return db['UserProfileSection'][_0x21f2('0x20')](_0x5df46a)[_0x21f2('0x27')](function(_0x4d8f04){_0x45d1c9[_0x21f2('0x20')]=_0x4d8f04;if(_0x259823[_0x21f2('0x30')][_0x21f2('0x40')]){_0x5f0466[_0x21f2('0x41')]=[{'all':!![]}];}return db[_0x21f2('0x2d')][_0x21f2('0x42')](_0x5f0466);})[_0x21f2('0x27')](function(_0x2c9ba7){_0x45d1c9['rows']=_0x2c9ba7;return _0x45d1c9;})['then'](respondWithFilteredResult(_0x53214b,_0x5f0466))[_0x21f2('0x43')](handleError(_0x53214b,null));};exports[_0x21f2('0x44')]=function(_0x623a8d,_0x5a2f12){var _0x370aec={'raw':![],'where':{'id':_0x623a8d[_0x21f2('0x45')]['id']}},_0x52b9e5={};_0x52b9e5['model']=_[_0x21f2('0x46')](db[_0x21f2('0x2d')][_0x21f2('0x2e')]);_0x52b9e5[_0x21f2('0x30')]=_[_0x21f2('0x46')](_0x623a8d[_0x21f2('0x30')]);_0x52b9e5['filters']=_['intersection'](_0x52b9e5[_0x21f2('0x32')],_0x52b9e5['query']);_0x370aec[_0x21f2('0x33')]=_[_0x21f2('0x34')](_0x52b9e5[_0x21f2('0x32')],qs[_0x21f2('0x35')](_0x623a8d['query'][_0x21f2('0x35')]));_0x370aec['attributes']=_0x370aec['attributes'][_0x21f2('0x36')]?_0x370aec[_0x21f2('0x33')]:_0x52b9e5['model'];if(_0x623a8d['query'][_0x21f2('0x40')]){_0x370aec[_0x21f2('0x41')]=[{'all':!![]}];}_0x370aec=_[_0x21f2('0x3c')]({},_0x370aec,_0x623a8d[_0x21f2('0x47')]);return db[_0x21f2('0x2d')][_0x21f2('0x48')](_0x370aec)[_0x21f2('0x27')](handleEntityNotFound(_0x5a2f12,null))[_0x21f2('0x27')](respondWithResult(_0x5a2f12,null))[_0x21f2('0x43')](handleError(_0x5a2f12,null));};exports[_0x21f2('0x49')]=function(_0x3e3a25,_0x2a909d){return db[_0x21f2('0x2d')][_0x21f2('0x49')](_0x3e3a25['body'],{})['then'](respondWithResult(_0x2a909d,0xc9))[_0x21f2('0x43')](handleError(_0x2a909d,null));};exports[_0x21f2('0x25')]=function(_0x12187b,_0x4df719){if(_0x12187b['body']['id']){delete _0x12187b[_0x21f2('0x4a')]['id'];}return db[_0x21f2('0x2d')][_0x21f2('0x48')]({'where':{'id':_0x12187b[_0x21f2('0x45')]['id']}})[_0x21f2('0x27')](handleEntityNotFound(_0x4df719,null))[_0x21f2('0x27')](saveUpdates(_0x12187b[_0x21f2('0x4a')],null))['then'](respondWithResult(_0x4df719,null))['catch'](handleError(_0x4df719,null));};exports['destroy']=function(_0x47d501,_0x184dbd){return db[_0x21f2('0x2d')][_0x21f2('0x48')]({'where':{'id':_0x47d501[_0x21f2('0x45')]['id']}})['then'](handleEntityNotFound(_0x184dbd,null))['then'](removeEntity(_0x184dbd,null))['catch'](handleError(_0x184dbd,null));};exports[_0x21f2('0x4b')]=function(_0x3d51b,_0x4efe0c){return db[_0x21f2('0x2d')][_0x21f2('0x4b')]()[_0x21f2('0x27')](respondWithResult(_0x4efe0c,null))[_0x21f2('0x43')](handleError(_0x4efe0c,null));};
\ No newline at end of file
+var _0x7beb=['filter','merge','type','options','includeAll','include','findAll','rows','show','params','keys','create','body','catch','find','describe','eml-format','rimraf','zip-dir','request-promise','bluebird','mustache','util','lodash','squel','jsforce','desk.js','querystring','papaparse','ioredis','../../components/parsers/qs','../../components/parsers/advancedSearch','api','../../config/utils','../../config/environment','../../config/license/util','../../mysqldb','status','json','undefined','offset','count','set','apply','reject','save','update','then','destroy','end','sendStatus','stack','name','index','map','UserProfileSection','rawAttributes','fieldName','key','model','query','filters','intersection','attributes','fields','length','hasOwnProperty','nolimit','limit','sort','where'];(function(_0x45cd9d,_0x53f03f){var _0x5f2219=function(_0x490344){while(--_0x490344){_0x45cd9d['push'](_0x45cd9d['shift']());}};_0x5f2219(++_0x53f03f);}(_0x7beb,0x12c));var _0xb7be=function(_0x3dd15e,_0x1f0015){_0x3dd15e=_0x3dd15e-0x0;var _0x231fd0=_0x7beb[_0x3dd15e];return _0x231fd0;};'use strict';var emlformat=require(_0xb7be('0x0'));var rimraf=require(_0xb7be('0x1'));var zipdir=require(_0xb7be('0x2'));var jsonpatch=require('fast-json-patch');var rp=require(_0xb7be('0x3'));var moment=require('moment');var BPromise=require(_0xb7be('0x4'));var Mustache=require(_0xb7be('0x5'));var util=require(_0xb7be('0x6'));var path=require('path');var sox=require('sox');var csv=require('to-csv');var ejs=require('ejs');var fs=require('fs');var fs_extra=require('fs-extra');var _=require(_0xb7be('0x7'));var squel=require(_0xb7be('0x8'));var crypto=require('crypto');var jsforce=require(_0xb7be('0x9'));var deskjs=require(_0xb7be('0xa'));var toCsv=require('to-csv');var querystring=require(_0xb7be('0xb'));var Papa=require(_0xb7be('0xc'));var Redis=require(_0xb7be('0xd'));var authService=require('../../components/auth/service');var qs=require(_0xb7be('0xe'));var as=require(_0xb7be('0xf'));var hardwareService=require('../../config/license/hardware');var logger=require('../../config/logger')(_0xb7be('0x10'));var utils=require(_0xb7be('0x11'));var config=require(_0xb7be('0x12'));var licenseUtil=require(_0xb7be('0x13'));var db=require(_0xb7be('0x14'))['db'];function respondWithStatusCode(_0x58b0b4,_0xe17fda){_0xe17fda=_0xe17fda||0xcc;return function(_0x5a93c2){if(_0x5a93c2){return _0x58b0b4['sendStatus'](_0xe17fda);}return _0x58b0b4[_0xb7be('0x15')](_0xe17fda)['end']();};}function respondWithResult(_0x5d01f6,_0x556482){_0x556482=_0x556482||0xc8;return function(_0x5bfa40){if(_0x5bfa40){return _0x5d01f6[_0xb7be('0x15')](_0x556482)[_0xb7be('0x16')](_0x5bfa40);}};}function respondWithFilteredResult(_0x1284f9,_0x408df1){return function(_0x12508a){if(_0x12508a){var _0x1b0b4b=typeof _0x408df1['offset']===_0xb7be('0x17')&&typeof _0x408df1['limit']===_0xb7be('0x17');var _0x1131cd=_0x12508a['count'];var _0x279501=_0x1b0b4b?0x0:_0x408df1[_0xb7be('0x18')];var _0xcc8fbc=_0x1b0b4b?_0x12508a[_0xb7be('0x19')]:_0x408df1['offset']+_0x408df1['limit'];var _0x82b7c;if(_0xcc8fbc>=_0x1131cd){_0xcc8fbc=_0x1131cd;_0x82b7c=0xc8;}else{_0x82b7c=0xce;}_0x1284f9[_0xb7be('0x15')](_0x82b7c);return _0x1284f9[_0xb7be('0x1a')]('Content-Range',_0x279501+'-'+_0xcc8fbc+'/'+_0x1131cd)['json'](_0x12508a);}return null;};}function patchUpdates(_0x33ec3e){return function(_0x2a362f){try{jsonpatch[_0xb7be('0x1b')](_0x2a362f,_0x33ec3e,!![]);}catch(_0x2a4008){return BPromise[_0xb7be('0x1c')](_0x2a4008);}return _0x2a362f[_0xb7be('0x1d')]();};}function saveUpdates(_0x35f0aa,_0x5b0568){return function(_0x4afed3){if(_0x4afed3){return _0x4afed3[_0xb7be('0x1e')](_0x35f0aa)[_0xb7be('0x1f')](function(_0x433bcb){return _0x433bcb;});}return null;};}function removeEntity(_0x520c86,_0x1f4105){return function(_0x8480d9){if(_0x8480d9){return _0x8480d9[_0xb7be('0x20')]()[_0xb7be('0x1f')](function(){_0x520c86['status'](0xcc)[_0xb7be('0x21')]();});}};}function handleEntityNotFound(_0x626809,_0x47c238){return function(_0x4826ee){if(!_0x4826ee){_0x626809[_0xb7be('0x22')](0x194);}return _0x4826ee;};}function handleError(_0x5e89d5,_0x2b6d04){_0x2b6d04=_0x2b6d04||0x1f4;return function(_0xd51788){logger['error'](_0xd51788[_0xb7be('0x23')]);if(_0xd51788[_0xb7be('0x24')]){delete _0xd51788[_0xb7be('0x24')];}_0x5e89d5[_0xb7be('0x15')](_0x2b6d04)['send'](_0xd51788);};}exports[_0xb7be('0x25')]=function(_0xff2e5d,_0x36be86){var _0x5f5cb4={},_0x91151={},_0x1fd356={'count':0x0,'rows':[]};var _0xfc6194=_[_0xb7be('0x26')](db[_0xb7be('0x27')][_0xb7be('0x28')],function(_0x36c3a8){return{'name':_0x36c3a8[_0xb7be('0x29')],'type':_0x36c3a8['type'][_0xb7be('0x2a')]};});_0x91151[_0xb7be('0x2b')]=_[_0xb7be('0x26')](_0xfc6194,_0xb7be('0x24'));_0x91151[_0xb7be('0x2c')]=_['keys'](_0xff2e5d[_0xb7be('0x2c')]);_0x91151[_0xb7be('0x2d')]=_[_0xb7be('0x2e')](_0x91151['model'],_0x91151['query']);_0x5f5cb4[_0xb7be('0x2f')]=_['intersection'](_0x91151[_0xb7be('0x2b')],qs[_0xb7be('0x30')](_0xff2e5d[_0xb7be('0x2c')][_0xb7be('0x30')]));_0x5f5cb4[_0xb7be('0x2f')]=_0x5f5cb4[_0xb7be('0x2f')][_0xb7be('0x31')]?_0x5f5cb4['attributes']:_0x91151[_0xb7be('0x2b')];if(!_0xff2e5d[_0xb7be('0x2c')][_0xb7be('0x32')](_0xb7be('0x33'))){_0x5f5cb4[_0xb7be('0x34')]=qs[_0xb7be('0x34')](_0xff2e5d[_0xb7be('0x2c')][_0xb7be('0x34')]);_0x5f5cb4[_0xb7be('0x18')]=qs[_0xb7be('0x18')](_0xff2e5d['query']['offset']);}_0x5f5cb4['order']=qs[_0xb7be('0x35')](_0xff2e5d['query'][_0xb7be('0x35')]);_0x5f5cb4[_0xb7be('0x36')]=qs[_0xb7be('0x2d')](_['pick'](_0xff2e5d[_0xb7be('0x2c')],_0x91151[_0xb7be('0x2d')]),_0xfc6194);if(_0xff2e5d[_0xb7be('0x2c')][_0xb7be('0x37')]){_0x5f5cb4[_0xb7be('0x36')]=_[_0xb7be('0x38')](_0x5f5cb4[_0xb7be('0x36')],{'$or':_[_0xb7be('0x26')](_0xfc6194,function(_0x1b0e34){if(_0x1b0e34[_0xb7be('0x39')]!=='VIRTUAL'){var _0x50148e={};_0x50148e[_0x1b0e34[_0xb7be('0x24')]]={'$like':'%'+_0xff2e5d['query']['filter']+'%'};return _0x50148e;}})});}_0x5f5cb4=_[_0xb7be('0x38')]({},_0x5f5cb4,_0xff2e5d[_0xb7be('0x3a')]);var _0x321ada={'where':_0x5f5cb4['where']};return db[_0xb7be('0x27')]['count'](_0x321ada)[_0xb7be('0x1f')](function(_0xaf897f){_0x1fd356[_0xb7be('0x19')]=_0xaf897f;if(_0xff2e5d[_0xb7be('0x2c')][_0xb7be('0x3b')]){_0x5f5cb4[_0xb7be('0x3c')]=[{'all':!![]}];}return db[_0xb7be('0x27')][_0xb7be('0x3d')](_0x5f5cb4);})[_0xb7be('0x1f')](function(_0x4b44bb){_0x1fd356[_0xb7be('0x3e')]=_0x4b44bb;return _0x1fd356;})['then'](respondWithFilteredResult(_0x36be86,_0x5f5cb4))['catch'](handleError(_0x36be86,null));};exports[_0xb7be('0x3f')]=function(_0x38d57a,_0x1c9391){var _0x48f234={'raw':![],'where':{'id':_0x38d57a[_0xb7be('0x40')]['id']}},_0x18b751={};_0x18b751[_0xb7be('0x2b')]=_[_0xb7be('0x41')](db[_0xb7be('0x27')][_0xb7be('0x28')]);_0x18b751[_0xb7be('0x2c')]=_[_0xb7be('0x41')](_0x38d57a['query']);_0x18b751[_0xb7be('0x2d')]=_[_0xb7be('0x2e')](_0x18b751['model'],_0x18b751['query']);_0x48f234[_0xb7be('0x2f')]=_[_0xb7be('0x2e')](_0x18b751[_0xb7be('0x2b')],qs['fields'](_0x38d57a[_0xb7be('0x2c')][_0xb7be('0x30')]));_0x48f234[_0xb7be('0x2f')]=_0x48f234[_0xb7be('0x2f')][_0xb7be('0x31')]?_0x48f234['attributes']:_0x18b751['model'];if(_0x38d57a[_0xb7be('0x2c')][_0xb7be('0x3b')]){_0x48f234[_0xb7be('0x3c')]=[{'all':!![]}];}_0x48f234=_[_0xb7be('0x38')]({},_0x48f234,_0x38d57a[_0xb7be('0x3a')]);return db[_0xb7be('0x27')]['find'](_0x48f234)[_0xb7be('0x1f')](handleEntityNotFound(_0x1c9391,null))['then'](respondWithResult(_0x1c9391,null))['catch'](handleError(_0x1c9391,null));};exports[_0xb7be('0x42')]=function(_0x41e6c2,_0x77ca4c){return db['UserProfileSection'][_0xb7be('0x42')](_0x41e6c2[_0xb7be('0x43')],{})[_0xb7be('0x1f')](respondWithResult(_0x77ca4c,0xc9))[_0xb7be('0x44')](handleError(_0x77ca4c,null));};exports['update']=function(_0x485ba3,_0x18da5b){if(_0x485ba3[_0xb7be('0x43')]['id']){delete _0x485ba3[_0xb7be('0x43')]['id'];}return db[_0xb7be('0x27')][_0xb7be('0x45')]({'where':{'id':_0x485ba3['params']['id']}})[_0xb7be('0x1f')](handleEntityNotFound(_0x18da5b,null))['then'](saveUpdates(_0x485ba3[_0xb7be('0x43')],null))[_0xb7be('0x1f')](respondWithResult(_0x18da5b,null))['catch'](handleError(_0x18da5b,null));};exports[_0xb7be('0x20')]=function(_0x1083f6,_0x30cf77){return db[_0xb7be('0x27')][_0xb7be('0x45')]({'where':{'id':_0x1083f6[_0xb7be('0x40')]['id']}})[_0xb7be('0x1f')](handleEntityNotFound(_0x30cf77,null))[_0xb7be('0x1f')](removeEntity(_0x30cf77,null))[_0xb7be('0x44')](handleError(_0x30cf77,null));};exports['describe']=function(_0x1f4168,_0x35d9a3){return db['UserProfileSection'][_0xb7be('0x46')]()[_0xb7be('0x1f')](respondWithResult(_0x35d9a3,null))[_0xb7be('0x44')](handleError(_0x35d9a3,null));};
\ No newline at end of file