Built motion from commit e493b9a4954b50a8ee6d0034ba3601cd210d989d. Version 3.0.0...
[motion-next.git] / server / api / voiceMailMessage / voiceMailMessage.controller.js
index 08cb7b8..a6b6de3 100644 (file)
@@ -1 +1 @@
-const a885_0x2fa3=['rows','length','fieldName','include','api','VIRTUAL','where','VoiceMailMessage\x20not\x20found','intersection','name','Content-Range','download','map','attachment;\x20filename=\x22','findOne','includeAll','filter','show','destroy','create','update','type','pick','../../config/logger','count','index','catch','attachment','filters','Content-Disposition','audio/wav','sequelize','sort','order','attributes','params','nolimit','msg_id','.wav\x22','rawAttributes','VoiceMailMessage','set','key','options','keys','limit','error','status','offset','stack','recording','body','send','then','like','model','query','json','merge','lodash','fields'];(function(_0x2ccc8f,_0x266326){const _0x2fa335=function(_0xb05912){while(--_0xb05912){_0x2ccc8f['push'](_0x2ccc8f['shift']());}};_0x2fa335(++_0x266326);}(a885_0x2fa3,0x175));const a885_0xb059=function(_0x2ccc8f,_0x266326){_0x2ccc8f=_0x2ccc8f-0xd0;let _0x2fa335=a885_0x2fa3[_0x2ccc8f];return _0x2fa335;};const a885_0x1ae35b=a885_0xb059;'use strict';const _=require(a885_0x1ae35b(0x104)),qs=require('../../components/parsers/qs'),logger=require(a885_0x1ae35b(0xe0))(a885_0x1ae35b(0x10a)),{db}=require('../../mysqldb'),{Op,ValidationError}=require(a885_0x1ae35b(0xe8));function respondWithResult(_0x18973e,_0x2ea9bd){return _0x2ea9bd=_0x2ea9bd||0xc8,function(_0x9836de){const _0x4585b4=a885_0xb059;if(_0x9836de)return _0x18973e[_0x4585b4(0xf8)](_0x2ea9bd)['json'](_0x9836de);};}function respondWithFilteredResult(_0x3d4f1f,_0x2ab4a8){return function(_0x3a3381){const _0x87a48c=a885_0xb059;if(_0x3a3381){const _0x16c45c=_0x3a3381[_0x87a48c(0xe1)],_0x5c7473=_0x2ab4a8[_0x87a48c(0xf9)];let _0x33d050=_0x2ab4a8[_0x87a48c(0xf9)]+_0x2ab4a8[_0x87a48c(0xf6)],_0x31742c;return _0x33d050>=_0x16c45c?(_0x33d050=_0x16c45c,_0x31742c=0xc8):_0x31742c=0xce,_0x3d4f1f[_0x87a48c(0xf8)](_0x31742c),_0x3d4f1f[_0x87a48c(0xf2)](_0x87a48c(0xd3),_0x5c7473+'-'+_0x33d050+'/'+_0x16c45c)[_0x87a48c(0x102)](_0x3a3381);}return null;};}function saveUpdates(_0x12012c){return function(_0x122444){const _0x396c5c=a885_0xb059;if(_0x122444)return _0x122444[_0x396c5c(0xdd)](_0x12012c)['then'](function(_0xe2b3f7){return _0xe2b3f7;});return null;};}function removeEntity(_0x4334ff){return function(_0xed05ea){const _0xbe606d=a885_0xb059;if(_0xed05ea)return _0xed05ea[_0xbe606d(0xdb)]()[_0xbe606d(0xfe)](function(){const _0x486c6e=_0xbe606d;_0x4334ff[_0x486c6e(0xf8)](0xcc)['end']();});};}function handleEntityNotFound(_0x4cf866){return function(_0x3d1571){return!_0x3d1571&&_0x4cf866['sendStatus'](0x194),_0x3d1571;};}function handleError(_0x28159b,_0x39c12a){return _0x39c12a=_0x39c12a||0x1f4,function(_0x24794c){const _0x5a24ab=a885_0xb059;logger[_0x5a24ab(0xf7)](_0x24794c[_0x5a24ab(0xfa)]),_0x24794c[_0x5a24ab(0xd2)]&&delete _0x24794c['name'],_0x28159b[_0x5a24ab(0xf8)](_0x39c12a)[_0x5a24ab(0xfd)](_0x24794c);};}exports[a885_0x1ae35b(0xe2)]=function(_0xf9c305,_0x388d28){const _0x30be04=a885_0x1ae35b;let _0x1a4514={};const _0x170223={},_0x563370={'count':0x0,'rows':[]},_0x1d14b9=_['map'](db['VoiceMailMessage']['rawAttributes'],function(_0x2a69c6){const _0x39086e=a885_0xb059;return{'name':_0x2a69c6[_0x39086e(0x108)],'type':_0x2a69c6[_0x39086e(0xde)][_0x39086e(0xf3)]};});_0x170223['model']=_['differenceBy'](_['map'](_0x1d14b9,_0x30be04(0xd2)),[_0x30be04(0xd2)]),_0x170223[_0x30be04(0x101)]=_[_0x30be04(0xf5)](_0xf9c305[_0x30be04(0x101)]),_0x170223[_0x30be04(0xe5)]=_['intersection'](_0x170223[_0x30be04(0x100)],_0x170223[_0x30be04(0x101)]),_0x1a4514[_0x30be04(0xeb)]=_[_0x30be04(0xd1)](_0x170223[_0x30be04(0x100)],qs[_0x30be04(0x105)](_0xf9c305[_0x30be04(0x101)][_0x30be04(0x105)])),_0x1a4514[_0x30be04(0xeb)]=_0x1a4514['attributes']['length']?_0x1a4514[_0x30be04(0xeb)]:_0x170223['model'];typeof _0xf9c305[_0x30be04(0x101)][_0x30be04(0xed)]==='undefined'&&(_0x1a4514[_0x30be04(0xf6)]=qs['limit'](_0xf9c305[_0x30be04(0x101)][_0x30be04(0xf6)]),_0x1a4514[_0x30be04(0xf9)]=qs[_0x30be04(0xf9)](_0xf9c305[_0x30be04(0x101)]['offset']));_0x1a4514[_0x30be04(0xea)]=qs[_0x30be04(0xe9)](_0xf9c305['query']['sort']),_0x1a4514[_0x30be04(0x10c)]=qs[_0x30be04(0xe5)](_[_0x30be04(0xdf)](_0xf9c305[_0x30be04(0x101)],_0x170223[_0x30be04(0xe5)]),_0x1d14b9);_0xf9c305[_0x30be04(0x101)][_0x30be04(0xd9)]&&(_0x1a4514[_0x30be04(0x10c)]=_[_0x30be04(0x103)](_0x1a4514[_0x30be04(0x10c)],{[Op['or']]:_[_0x30be04(0xd5)](_0x1d14b9,function(_0x4bd417){const _0x41c8e0=_0x30be04;if(_0x4bd417[_0x41c8e0(0xde)]!==_0x41c8e0(0x10b)){const _0x2da9f0={};return _0x2da9f0[_0x4bd417[_0x41c8e0(0xd2)]]={[Op[_0x41c8e0(0xff)]]:'%'+_0xf9c305[_0x41c8e0(0x101)]['filter']+'%'},_0x2da9f0;}})}));_0x1a4514=_[_0x30be04(0x103)]({},_0x1a4514,_0xf9c305[_0x30be04(0xf4)]);const _0x10d9bd={'where':_0x1a4514['where']};return db[_0x30be04(0xf1)][_0x30be04(0xe1)](_0x10d9bd)[_0x30be04(0xfe)](function(_0x371b43){const _0x51ca96=_0x30be04;return _0x563370[_0x51ca96(0xe1)]=_0x371b43,_0xf9c305[_0x51ca96(0x101)][_0x51ca96(0xd8)]&&(_0x1a4514[_0x51ca96(0x109)]=[{'all':!![]}]),db[_0x51ca96(0xf1)]['findAll'](_0x1a4514);})['then'](function(_0x3e0d93){const _0x2cee04=_0x30be04;return _0x563370[_0x2cee04(0x106)]=_0x3e0d93,_0x563370;})['then'](respondWithFilteredResult(_0x388d28,_0x1a4514))[_0x30be04(0xe3)](handleError(_0x388d28,null));},exports[a885_0x1ae35b(0xda)]=function(_0x311064,_0x8cb6ec){const _0x2a99ed=a885_0x1ae35b;let _0x18270d={'raw':!![],'where':{'id':_0x311064[_0x2a99ed(0xec)]['id']}};const _0x371200={};return _0x371200[_0x2a99ed(0x100)]=_['keys'](db[_0x2a99ed(0xf1)][_0x2a99ed(0xf0)]),_0x371200[_0x2a99ed(0x101)]=_[_0x2a99ed(0xf5)](_0x311064[_0x2a99ed(0x101)]),_0x371200[_0x2a99ed(0xe5)]=_[_0x2a99ed(0xd1)](_0x371200[_0x2a99ed(0x100)],_0x371200[_0x2a99ed(0x101)]),_0x18270d[_0x2a99ed(0xeb)]=_['intersection'](_0x371200[_0x2a99ed(0x100)],qs[_0x2a99ed(0x105)](_0x311064[_0x2a99ed(0x101)][_0x2a99ed(0x105)])),_0x18270d[_0x2a99ed(0xeb)]=_0x18270d[_0x2a99ed(0xeb)][_0x2a99ed(0x107)]?_0x18270d[_0x2a99ed(0xeb)]:_0x371200[_0x2a99ed(0x100)],_0x311064['query']['includeAll']&&(_0x18270d[_0x2a99ed(0x109)]=[{'all':!![]}]),_0x18270d=_[_0x2a99ed(0x103)]({},_0x18270d,_0x311064['options']),db[_0x2a99ed(0xf1)]['findOne'](_0x18270d)[_0x2a99ed(0xfe)](handleEntityNotFound(_0x8cb6ec,null))[_0x2a99ed(0xfe)](respondWithResult(_0x8cb6ec,null))[_0x2a99ed(0xe3)](handleError(_0x8cb6ec,null));},exports[a885_0x1ae35b(0xdc)]=function(_0x15ccbd,_0x41493b){const _0x2d8201=a885_0x1ae35b;return db[_0x2d8201(0xf1)][_0x2d8201(0xdc)](_0x15ccbd[_0x2d8201(0xfc)],{})[_0x2d8201(0xfe)](respondWithResult(_0x41493b,0xc9))[_0x2d8201(0xe3)](handleError(_0x41493b,null));},exports[a885_0x1ae35b(0xdd)]=function(_0x167721,_0x16713f){const _0x16078a=a885_0x1ae35b;return _0x167721['body']['id']&&delete _0x167721[_0x16078a(0xfc)]['id'],db[_0x16078a(0xf1)][_0x16078a(0xd7)]({'where':{'id':_0x167721['params']['id']}})[_0x16078a(0xfe)](handleEntityNotFound(_0x16713f,null))['then'](saveUpdates(_0x167721['body'],null))[_0x16078a(0xfe)](respondWithResult(_0x16713f,null))['catch'](handleError(_0x16713f,null));},exports['destroy']=function(_0x583ddb,_0x47755c){const _0x31fbb7=a885_0x1ae35b;return db[_0x31fbb7(0xf1)][_0x31fbb7(0xd7)]({'where':{'id':_0x583ddb[_0x31fbb7(0xec)]['id']}})[_0x31fbb7(0xfe)](handleEntityNotFound(_0x47755c,null))[_0x31fbb7(0xfe)](removeEntity(_0x47755c,null))[_0x31fbb7(0xe3)](handleError(_0x47755c,null));},exports[a885_0x1ae35b(0xd4)]=function(_0x5807ae,_0x3d7cb1){const _0x5b5893=a885_0x1ae35b;return db[_0x5b5893(0xf1)][_0x5b5893(0xd7)]({'where':{'id':_0x5807ae[_0x5b5893(0xec)]['id']},'attributes':['id',_0x5b5893(0xfb),_0x5b5893(0xee)]})[_0x5b5893(0xfe)](handleEntityNotFound(_0x3d7cb1,null))[_0x5b5893(0xfe)](function(_0x56e6cf){const _0x371f30=_0x5b5893;if(_0x56e6cf){if(!_0x56e6cf[_0x371f30(0xfb)])throw new ValidationError(_0x371f30(0xd0));const _0xe73ed7={'Content-Type':_0x371f30(0xe7),'Content-Disposition':_0x371f30(0xe4)};return _0x56e6cf[_0x371f30(0xee)]&&(_0xe73ed7[_0x371f30(0xe6)]=_0x371f30(0xd6)+_0x56e6cf[_0x371f30(0xee)]+_0x371f30(0xef)),_0x3d7cb1[_0x371f30(0xf2)](_0xe73ed7),_0x3d7cb1[_0x371f30(0xfd)](Buffer['from'](_0x56e6cf[_0x371f30(0xfb)]));}})[_0x5b5893(0xe3)](handleError(_0x3d7cb1,null));};
\ No newline at end of file
+'use strict';const a885_0x205d=['pick','destroy','attachment;\x20filename=\x22','@config/logger','stack','@utils/filter-attributes','error','649831sPKpTX','rawAttributes','catch','451397PDtAju','count','1304719PSbFlP','sendStatus','@mysqldb','length','recording','includeAll','include','VoiceMailMessage\x20not\x20found','731610OqTNew','options','model','244585TqwSTE','end','.wav\x22','fieldName','undefined','keys','VoiceMailMessage','findOne','lodash','json','filters','sort','index','intersection','Content-Disposition','limit','name','params','status','1wwMXaU','791781hGSgRJ','order','show','then','type','merge','1LdKGyx','filter','attributes','msg_id','api','attachment','query','set','where','update','sequelize','map','offset','body','864402fSpmfW','fields','differenceBy','audio/wav'];const a885_0x48fd=function(_0x3ad09e,_0x59b464){_0x3ad09e=_0x3ad09e-0xcc;let _0x205ddb=a885_0x205d[_0x3ad09e];return _0x205ddb;};const a885_0x117cc5=a885_0x48fd;(function(_0x3e8e4b,_0x2c800f){const _0x57a317=a885_0x48fd;while(!![]){try{const _0x34d496=parseInt(_0x57a317(0x107))+parseInt(_0x57a317(0xe7))*-parseInt(_0x57a317(0x10a))+-parseInt(_0x57a317(0xd4))+-parseInt(_0x57a317(0xd1))+-parseInt(_0x57a317(0xfc))+parseInt(_0x57a317(0xe8))*parseInt(_0x57a317(0xee))+parseInt(_0x57a317(0x10c));if(_0x34d496===_0x2c800f)break;else _0x3e8e4b['push'](_0x3e8e4b['shift']());}catch(_0x44f370){_0x3e8e4b['push'](_0x3e8e4b['shift']());}}}(a885_0x205d,0x6eec1));const _=require(a885_0x117cc5(0xdc)),qs=require('@components/parsers/qs'),logger=require(a885_0x117cc5(0x103))(a885_0x117cc5(0xf2)),{db}=require(a885_0x117cc5(0x10e)),{ValidationError}=require(a885_0x117cc5(0xf8)),{filterAttributes}=require(a885_0x117cc5(0x105));function respondWithResult(_0x18811d,_0x4c5564){return _0x4c5564=_0x4c5564||0xc8,function(_0x1371f7){const _0x224444=a885_0x48fd;if(_0x1371f7)return _0x18811d[_0x224444(0xe6)](_0x4c5564)[_0x224444(0xdd)](_0x1371f7);};}function respondWithFilteredResult(_0x223dc5,_0x21e97a){return function(_0x28202e){const _0x3ca883=a885_0x48fd;if(_0x28202e){const _0x397b1c=_0x28202e[_0x3ca883(0x10b)],_0x39fe97=_0x21e97a[_0x3ca883(0xfa)];let _0xc94879=_0x21e97a[_0x3ca883(0xfa)]+_0x21e97a[_0x3ca883(0xe3)],_0x5af06f;return _0xc94879>=_0x397b1c?(_0xc94879=_0x397b1c,_0x5af06f=0xc8):_0x5af06f=0xce,_0x223dc5[_0x3ca883(0xe6)](_0x5af06f),_0x223dc5[_0x3ca883(0xf5)]('Content-Range',_0x39fe97+'-'+_0xc94879+'/'+_0x397b1c)[_0x3ca883(0xdd)](_0x28202e);}return null;};}function saveUpdates(_0x3de4e9){return function(_0x166738){const _0x2b9b8b=a885_0x48fd;if(_0x166738)return _0x166738[_0x2b9b8b(0xf7)](_0x3de4e9)['then'](function(_0x55adff){return _0x55adff;});return null;};}function removeEntity(_0xc9ee0){return function(_0x507b3f){const _0x9ff2b3=a885_0x48fd;if(_0x507b3f)return _0x507b3f[_0x9ff2b3(0x101)]()[_0x9ff2b3(0xeb)](function(){const _0x297bbe=_0x9ff2b3;_0xc9ee0['status'](0xcc)[_0x297bbe(0xd5)]();});};}function handleEntityNotFound(_0x279d9e){return function(_0x84b1ca){const _0x1fdeaa=a885_0x48fd;return!_0x84b1ca&&_0x279d9e[_0x1fdeaa(0x10d)](0x194),_0x84b1ca;};}function handleError(_0x29c8b2,_0x513baa){return _0x513baa=_0x513baa||0x1f4,function(_0x40509c){const _0x489692=a885_0x48fd;logger[_0x489692(0x106)](_0x40509c[_0x489692(0x104)]),_0x40509c[_0x489692(0xe4)]&&delete _0x40509c['name'],_0x29c8b2['status'](_0x513baa)['send'](_0x40509c);};}exports[a885_0x117cc5(0xe0)]=function(_0x1dd9c2,_0x2fbf85){const _0x16809d=a885_0x117cc5;let _0x43b1a1={};const _0x204df4={},_0x1bfbc0={'count':0x0,'rows':[]},_0x3a323b=_[_0x16809d(0xf9)](db[_0x16809d(0xda)][_0x16809d(0x108)],function(_0x292d38){const _0x4fcced=_0x16809d;return{'name':_0x292d38[_0x4fcced(0xd7)],'type':_0x292d38[_0x4fcced(0xec)]['key']};});_0x204df4['model']=_[_0x16809d(0xfe)](_[_0x16809d(0xf9)](_0x3a323b,'name'),[_0x16809d(0xe4)]),_0x204df4[_0x16809d(0xf4)]=_['keys'](_0x1dd9c2[_0x16809d(0xf4)]),_0x204df4['filters']=_[_0x16809d(0xe1)](_0x204df4[_0x16809d(0xd3)],_0x204df4[_0x16809d(0xf4)]),_0x43b1a1[_0x16809d(0xf0)]=_['intersection'](_0x204df4['model'],qs['fields'](_0x1dd9c2[_0x16809d(0xf4)][_0x16809d(0xfd)])),_0x43b1a1['attributes']=_0x43b1a1[_0x16809d(0xf0)][_0x16809d(0xcc)]?_0x43b1a1['attributes']:_0x204df4[_0x16809d(0xd3)];typeof _0x1dd9c2['query']['nolimit']===_0x16809d(0xd8)&&(_0x43b1a1[_0x16809d(0xe3)]=qs[_0x16809d(0xe3)](_0x1dd9c2[_0x16809d(0xf4)]['limit']),_0x43b1a1[_0x16809d(0xfa)]=qs[_0x16809d(0xfa)](_0x1dd9c2[_0x16809d(0xf4)]['offset']));_0x43b1a1[_0x16809d(0xe9)]=qs[_0x16809d(0xdf)](_0x1dd9c2[_0x16809d(0xf4)][_0x16809d(0xdf)]),_0x43b1a1[_0x16809d(0xf6)]=qs[_0x16809d(0xde)](_[_0x16809d(0x100)](_0x1dd9c2[_0x16809d(0xf4)],_0x204df4[_0x16809d(0xde)]),_0x3a323b),_0x43b1a1=filterAttributes(_0x43b1a1,_0x1dd9c2[_0x16809d(0xf4)][_0x16809d(0xef)],_0x3a323b,_0x1dd9c2[_0x16809d(0xd2)]);const _0x286e31={'where':_0x43b1a1[_0x16809d(0xf6)]};return db[_0x16809d(0xda)]['count'](_0x286e31)[_0x16809d(0xeb)](function(_0x37bd48){const _0x8532d1=_0x16809d;return _0x1bfbc0[_0x8532d1(0x10b)]=_0x37bd48,_0x1dd9c2[_0x8532d1(0xf4)][_0x8532d1(0xce)]&&(_0x43b1a1[_0x8532d1(0xcf)]=[{'all':!![]}]),db[_0x8532d1(0xda)]['findAll'](_0x43b1a1);})['then'](function(_0x12e918){return _0x1bfbc0['rows']=_0x12e918,_0x1bfbc0;})['then'](respondWithFilteredResult(_0x2fbf85,_0x43b1a1))['catch'](handleError(_0x2fbf85,null));},exports[a885_0x117cc5(0xea)]=function(_0x5b7c0c,_0x2ae785){const _0x5d37b6=a885_0x117cc5;let _0x38baf2={'raw':!![],'where':{'id':_0x5b7c0c[_0x5d37b6(0xe5)]['id']}};const _0x276605={};return _0x276605[_0x5d37b6(0xd3)]=_['keys'](db[_0x5d37b6(0xda)][_0x5d37b6(0x108)]),_0x276605[_0x5d37b6(0xf4)]=_[_0x5d37b6(0xd9)](_0x5b7c0c[_0x5d37b6(0xf4)]),_0x276605[_0x5d37b6(0xde)]=_[_0x5d37b6(0xe1)](_0x276605[_0x5d37b6(0xd3)],_0x276605['query']),_0x38baf2[_0x5d37b6(0xf0)]=_[_0x5d37b6(0xe1)](_0x276605[_0x5d37b6(0xd3)],qs[_0x5d37b6(0xfd)](_0x5b7c0c[_0x5d37b6(0xf4)][_0x5d37b6(0xfd)])),_0x38baf2[_0x5d37b6(0xf0)]=_0x38baf2['attributes']['length']?_0x38baf2[_0x5d37b6(0xf0)]:_0x276605[_0x5d37b6(0xd3)],_0x5b7c0c[_0x5d37b6(0xf4)][_0x5d37b6(0xce)]&&(_0x38baf2['include']=[{'all':!![]}]),_0x38baf2=_[_0x5d37b6(0xed)]({},_0x38baf2,_0x5b7c0c['options']),db[_0x5d37b6(0xda)][_0x5d37b6(0xdb)](_0x38baf2)['then'](handleEntityNotFound(_0x2ae785,null))['then'](respondWithResult(_0x2ae785,null))[_0x5d37b6(0x109)](handleError(_0x2ae785,null));},exports['create']=function(_0x17d4ef,_0x150017){const _0x42d0f5=a885_0x117cc5;return db[_0x42d0f5(0xda)]['create'](_0x17d4ef[_0x42d0f5(0xfb)],{})[_0x42d0f5(0xeb)](respondWithResult(_0x150017,0xc9))[_0x42d0f5(0x109)](handleError(_0x150017,null));},exports['update']=function(_0x32356e,_0x58e3dd){const _0x76b31b=a885_0x117cc5;return _0x32356e[_0x76b31b(0xfb)]['id']&&delete _0x32356e[_0x76b31b(0xfb)]['id'],db[_0x76b31b(0xda)][_0x76b31b(0xdb)]({'where':{'id':_0x32356e[_0x76b31b(0xe5)]['id']}})[_0x76b31b(0xeb)](handleEntityNotFound(_0x58e3dd,null))['then'](saveUpdates(_0x32356e[_0x76b31b(0xfb)],null))[_0x76b31b(0xeb)](respondWithResult(_0x58e3dd,null))[_0x76b31b(0x109)](handleError(_0x58e3dd,null));},exports[a885_0x117cc5(0x101)]=function(_0x23c4ab,_0x30c996){const _0x15a75a=a885_0x117cc5;return db['VoiceMailMessage'][_0x15a75a(0xdb)]({'where':{'id':_0x23c4ab[_0x15a75a(0xe5)]['id']}})['then'](handleEntityNotFound(_0x30c996,null))[_0x15a75a(0xeb)](removeEntity(_0x30c996,null))[_0x15a75a(0x109)](handleError(_0x30c996,null));},exports['download']=function(_0x15c408,_0x3b8987){const _0x15d5f6=a885_0x117cc5;return db['VoiceMailMessage']['findOne']({'where':{'id':_0x15c408[_0x15d5f6(0xe5)]['id']},'attributes':['id','recording','msg_id']})[_0x15d5f6(0xeb)](handleEntityNotFound(_0x3b8987,null))[_0x15d5f6(0xeb)](function(_0x349755){const _0x4169e3=_0x15d5f6;if(_0x349755){if(!_0x349755[_0x4169e3(0xcd)])throw new ValidationError(_0x4169e3(0xd0));const _0x5d46f5={'Content-Type':_0x4169e3(0xff),'Content-Disposition':_0x4169e3(0xf3)};return _0x349755[_0x4169e3(0xf1)]&&(_0x5d46f5[_0x4169e3(0xe2)]=_0x4169e3(0x102)+_0x349755['msg_id']+_0x4169e3(0xd6)),_0x3b8987['set'](_0x5d46f5),_0x3b8987['send'](Buffer['from'](_0x349755[_0x4169e3(0xcd)]));}})['catch'](handleError(_0x3b8987,null));};
\ No newline at end of file