Built motion from commit ded33658aad58fc8de845a8299a9db59a88cc353. Version 3.0.0...
[motion-next.git] / server / api / jira / jira.controller.js
index da6da40..4b017f5 100644 (file)
@@ -1 +1 @@
-const a371_0x1e99=['remoteAddress','end','setEncoding','description','x-forwarded-for','customfield_10102','/rest/api/2/issue','headers','reason','fields','customfield_11500','json','request','support','write','Basic\x20','\x20from\x20','track.xcallymotion.com','body','stringify','issuetype','customfield_11502','Error\x20during\x20license\x20request.\x20Please\x20contact\x20our\x20license\x20team\x20at\x20license@xcally.com\x20with\x20your\x20request','statusCode','connection','3eAmWpBVP0','api.jira','customfield_11503','name','socket','base64','parse','newToken','Bug','https','toString','from','customfield_11501','Report','application/json','MOTGUI','summary','oldToken'];(function(_0x12d3df,_0x1e9950){const _0xf8eb04=function(_0x17f875){while(--_0x17f875){_0x12d3df['push'](_0x12d3df['shift']());}};_0xf8eb04(++_0x1e9950);}(a371_0x1e99,0x1f0));const a371_0xf8eb=function(_0x12d3df,_0x1e9950){_0x12d3df=_0x12d3df-0x0;let _0xf8eb04=a371_0x1e99[_0x12d3df];return _0xf8eb04;};const _0x5013c2=a371_0xf8eb;'use strict';const https=require(_0x5013c2('0xb')),USERNAME=_0x5013c2('0x21'),PASSWORD=_0x5013c2('0x2');function openIssue(_0x17f875,_0x39063c){const _0x5ec409=_0x5013c2,_0x5776b8={'fields':{'project':{'key':_0x17f875['key']||_0x5ec409('0x11')},'summary':(_0x17f875[_0x5ec409('0x12')]||_0x5ec409('0xf'))+_0x5ec409('0x24')+_0x17f875['ip'],'description':_0x17f875[_0x5ec409('0x17')]||JSON[_0x5ec409('0x27')](_0x17f875),'issuetype':{'name':_0x17f875[_0x5ec409('0x28')]||_0x5ec409('0xa')}}};_0x5776b8[_0x5ec409('0x1d')][_0x5ec409('0x1e')]=_0x17f875['email'],_0x5776b8[_0x5ec409('0x1d')][_0x5ec409('0xe')]=_0x17f875[_0x5ec409('0x13')],_0x5776b8[_0x5ec409('0x1d')][_0x5ec409('0x29')]=_0x17f875[_0x5ec409('0x9')],_0x5776b8[_0x5ec409('0x1d')][_0x5ec409('0x4')]=_0x17f875[_0x5ec409('0x5')],_0x5776b8[_0x5ec409('0x1d')]['customfield_11504']=_0x17f875[_0x5ec409('0x1c')],_0x5776b8[_0x5ec409('0x1d')][_0x5ec409('0x19')]=_0x17f875['ip'];const _0x558879={'host':_0x5ec409('0x25'),'port':0x1bb,'path':_0x5ec409('0x1a'),'method':'POST','timeout':0x4e20,'headers':{'Content-Type':_0x5ec409('0x10'),'Authorization':_0x5ec409('0x23')+Buffer[_0x5ec409('0xd')](USERNAME+':'+PASSWORD)[_0x5ec409('0xc')](_0x5ec409('0x7'))}},_0x41c77c=JSON[_0x5ec409('0x27')](_0x5776b8),_0x33c82f=https[_0x5ec409('0x20')](_0x558879,function(_0x19422c){const _0x423e95=_0x5ec409;_0x19422c[_0x423e95('0x16')]('utf8');let _0x1871e4='';_0x19422c['on']('data',function(_0x452013){_0x1871e4+=_0x452013;}),_0x19422c['on']('end',function(){const _0x5e2b77=_0x423e95;if(_0x39063c)return _0x39063c['status'](_0x19422c[_0x5e2b77('0x0')])[_0x5e2b77('0x1f')](JSON[_0x5e2b77('0x8')](_0x1871e4));});});_0x33c82f['on']('error',function(){const _0x5b6b73=_0x5ec409;if(_0x39063c)return _0x39063c['status'](0x1f4)['json']({'errors':[{'message':_0x5b6b73('0x2a'),'type':_0x5b6b73('0x3')}]});}),_0x33c82f[_0x5ec409('0x22')](_0x41c77c),_0x33c82f[_0x5ec409('0x15')]();}exports['openIssue']=openIssue,exports['send']=function(_0x1c0c6f,_0x5a4109){const _0x37e8a0=_0x5013c2;return _0x1c0c6f[_0x37e8a0('0x26')]['ip']=_0x1c0c6f[_0x37e8a0('0x1b')][_0x37e8a0('0x18')]||_0x1c0c6f[_0x37e8a0('0x1')][_0x37e8a0('0x14')]||_0x1c0c6f[_0x37e8a0('0x6')]['remoteAddress']||_0x1c0c6f['connection'][_0x37e8a0('0x6')][_0x37e8a0('0x14')],openIssue(_0x1c0c6f[_0x37e8a0('0x26')],_0x5a4109);};
\ No newline at end of file
+const a371_0x1f40=['openIssue','track.xcallymotion.com','error','stringify','name','/rest/api/2/issue','Bug','application/json','status','email','statusCode','customfield_11503','issuetype','json','reason','oldToken','key','newToken','setEncoding','data','body','headers','end','toString','socket','\x20from\x20','customfield_11504','Error\x20during\x20license\x20request.\x20Please\x20contact\x20our\x20license\x20team\x20at\x20license@xcally.com\x20with\x20your\x20request','x-forwarded-for','remoteAddress','description','connection','request','Report','parse','fields','customfield_10102','summary','from','MOTGUI','customfield_11501','POST','3eAmWpBVP0'];(function(_0x29ac3f,_0x1f40bf){const _0x486d87=function(_0x596c41){while(--_0x596c41){_0x29ac3f['push'](_0x29ac3f['shift']());}};_0x486d87(++_0x1f40bf);}(a371_0x1f40,0x11b));const a371_0x486d=function(_0x29ac3f,_0x1f40bf){_0x29ac3f=_0x29ac3f-0x0;let _0x486d87=a371_0x1f40[_0x29ac3f];return _0x486d87;};const _0xdbad82=a371_0x486d;'use strict';const https=require('https'),USERNAME='support',PASSWORD=_0xdbad82('0x11');function openIssue(_0x596c41,_0x253a53){const _0x5ea21f=_0xdbad82,_0x5671cf={'fields':{'project':{'key':_0x596c41[_0x5ea21f('0x22')]||_0x5ea21f('0xe')},'summary':(_0x596c41[_0x5ea21f('0xc')]||_0x5ea21f('0x8'))+_0x5ea21f('0x0')+_0x596c41['ip'],'description':_0x596c41[_0x5ea21f('0x5')]||JSON['stringify'](_0x596c41),'issuetype':{'name':_0x596c41[_0x5ea21f('0x1e')]||_0x5ea21f('0x18')}}};_0x5671cf['fields']['customfield_11500']=_0x596c41[_0x5ea21f('0x1b')],_0x5671cf[_0x5ea21f('0xa')][_0x5ea21f('0xf')]=_0x596c41[_0x5ea21f('0x21')],_0x5671cf['fields']['customfield_11502']=_0x596c41[_0x5ea21f('0x23')],_0x5671cf['fields'][_0x5ea21f('0x1d')]=_0x596c41[_0x5ea21f('0x16')],_0x5671cf[_0x5ea21f('0xa')][_0x5ea21f('0x1')]=_0x596c41[_0x5ea21f('0x20')],_0x5671cf[_0x5ea21f('0xa')][_0x5ea21f('0xb')]=_0x596c41['ip'];const _0x476a47={'host':_0x5ea21f('0x13'),'port':0x1bb,'path':_0x5ea21f('0x17'),'method':_0x5ea21f('0x10'),'timeout':0x4e20,'headers':{'Content-Type':_0x5ea21f('0x19'),'Authorization':'Basic\x20'+Buffer[_0x5ea21f('0xd')](USERNAME+':'+PASSWORD)[_0x5ea21f('0x29')]('base64')}},_0x4a673e=JSON[_0x5ea21f('0x15')](_0x5671cf),_0x653475=https[_0x5ea21f('0x7')](_0x476a47,function(_0x31335e){const _0x23ffb6=_0x5ea21f;_0x31335e[_0x23ffb6('0x24')]('utf8');let _0x5ed186='';_0x31335e['on'](_0x23ffb6('0x25'),function(_0x42ccc1){_0x5ed186+=_0x42ccc1;}),_0x31335e['on'](_0x23ffb6('0x28'),function(){const _0xec6b91=_0x23ffb6;if(_0x253a53)return _0x253a53[_0xec6b91('0x1a')](_0x31335e[_0xec6b91('0x1c')])[_0xec6b91('0x1f')](JSON[_0xec6b91('0x9')](_0x5ed186));});});_0x653475['on'](_0x5ea21f('0x14'),function(){const _0x742cd7=_0x5ea21f;if(_0x253a53)return _0x253a53[_0x742cd7('0x1a')](0x1f4)[_0x742cd7('0x1f')]({'errors':[{'message':_0x742cd7('0x2'),'type':'api.jira'}]});}),_0x653475['write'](_0x4a673e),_0x653475[_0x5ea21f('0x28')]();}exports[_0xdbad82('0x12')]=openIssue,exports['send']=function(_0x479279,_0x3dafb9){const _0x91d2d2=_0xdbad82;return _0x479279[_0x91d2d2('0x26')]['ip']=_0x479279[_0x91d2d2('0x27')][_0x91d2d2('0x3')]||_0x479279[_0x91d2d2('0x6')][_0x91d2d2('0x4')]||_0x479279[_0x91d2d2('0x2a')][_0x91d2d2('0x4')]||_0x479279[_0x91d2d2('0x6')][_0x91d2d2('0x2a')]['remoteAddress'],openIssue(_0x479279[_0x91d2d2('0x26')],_0x3dafb9);};
\ No newline at end of file