@connection-hub/sdk
Version:
SDK oficial para a API do Connection Hub
1 lines • 3.25 kB
JavaScript
;function _0x514e(){const _0x1f2eaf=['YgmpX','2572Wdrazx','data','oIscG','dadas\x20ou\x20s','As\x20credenc','ção\x20ou\x20cha','getConnect','9dJVhvd','ntials','exports','/channel/','as.\x20Aguard','2013BBzYzD','isCredenti','18277zhcIfw','iais\x20do\x20cl','5547696zZtBSj','foram\x20vali','6100605HxxJzJ','iente\x20não\x20','client','Validation','listConnec','711TPqIgo','14564946hDVHFQ','api','99150RsFyfn','alsValidat','ion','Service','Connection','e\x20a\x20valida','ão\x20inválid','tions','me\x20waitFor','checkCrede','50220irQugU','2526srCZIE','()\x20primeir','/channels','get'];_0x514e=function(){return _0x1f2eaf;};return _0x514e();}const _0x2ef7dd=_0x41c6;(function(_0x58fef0,_0x490d8c){const _0xfbf816=_0x41c6,_0x362561=_0x58fef0();while(!![]){try{const _0x41e669=parseInt(_0xfbf816(0x1a5))/(-0x1213*-0x1+0x4*0x263+-0x1b9e)*(parseInt(_0xfbf816(0x1c2))/(0x6*-0x607+-0x1a1d+-0x3e49*-0x1))+-parseInt(_0xfbf816(0x1aa))/(0x128e+0xd44+-0x1*0x1fcf)*(parseInt(_0xfbf816(0x1c8))/(0x1*-0x1c12+0x1*-0xb32+0x2748))+parseInt(_0xfbf816(0x1b0))/(0x212*0x5+-0x63*0x36+0x1*0xa8d)+parseInt(_0xfbf816(0x1c3))/(0xa0f+0x3*0xa39+-0x28b4)*(parseInt(_0xfbf816(0x1ac))/(0x35*-0x74+0xdef+0x2*0x50e))+parseInt(_0xfbf816(0x1ae))/(-0x281*-0xb+0x199b+-0x20b*0x1a)+-parseInt(_0xfbf816(0x1b5))/(-0x1526+-0x11e4+0x2713)*(parseInt(_0xfbf816(0x1b8))/(-0x1861+0x1*-0xbe3+0x244e))+-parseInt(_0xfbf816(0x1b6))/(-0x1*0x1bf5+-0x103c+0x161e*0x2);if(_0x41e669===_0x490d8c)break;else _0x362561['push'](_0x362561['shift']());}catch(_0x55b5d9){_0x362561['push'](_0x362561['shift']());}}}(_0x514e,0x3346e+-0x1e589+0x95f67));function _0x41c6(_0x2baacc,_0x2b906c){const _0x3e784a=_0x514e();return _0x41c6=function(_0x308454,_0x3f6cf8){_0x308454=_0x308454-(-0x1d09*-0x1+-0x2f5*0x9+-0xcc);let _0x111f48=_0x3e784a[_0x308454];return _0x111f48;},_0x41c6(_0x2baacc,_0x2b906c);}class ConnectionService{constructor(_0x4d38ac,_0x541814){const _0x2154ad=_0x41c6;this[_0x2154ad(0x1b7)]=_0x4d38ac,this[_0x2154ad(0x1b2)]=_0x541814;}[_0x2ef7dd(0x1c1)+_0x2ef7dd(0x1a6)](_0x1dfbe4=!![]){const _0x276653=_0x2ef7dd,_0x4cc4ae={};_0x4cc4ae[_0x276653(0x1a0)]=_0x276653(0x1a2)+_0x276653(0x1ad)+_0x276653(0x1b1)+_0x276653(0x1af)+_0x276653(0x1a1)+_0x276653(0x1be)+_0x276653(0x1a9)+_0x276653(0x1bd)+_0x276653(0x1a3)+_0x276653(0x1c0)+_0x276653(0x1b3)+_0x276653(0x1c4)+'o.';const _0x2ff54e=_0x4cc4ae;if(this[_0x276653(0x1b2)]&&!this[_0x276653(0x1b2)][_0x276653(0x1ab)+_0x276653(0x1b9)+'ed']()&&_0x1dfbe4)throw new Error(_0x2ff54e[_0x276653(0x1a0)]);}async[_0x2ef7dd(0x1b4)+_0x2ef7dd(0x1bf)](){const _0x1811e3=_0x2ef7dd,_0x140bcb={};_0x140bcb[_0x1811e3(0x1c7)]=_0x1811e3(0x1c5);const _0x54fb12=_0x140bcb;this[_0x1811e3(0x1c1)+_0x1811e3(0x1a6)]();try{const _0x6d64b7=await this[_0x1811e3(0x1b7)][_0x1811e3(0x1c6)](_0x54fb12[_0x1811e3(0x1c7)]);return _0x6d64b7[_0x1811e3(0x1c9)];}catch(_0x435063){return[];}}async[_0x2ef7dd(0x1a4)+_0x2ef7dd(0x1ba)](_0x523f2e){const _0x56e5a7=_0x2ef7dd;this[_0x56e5a7(0x1c1)+_0x56e5a7(0x1a6)]();try{const _0x40b414=await this[_0x56e5a7(0x1b7)][_0x56e5a7(0x1c6)](_0x56e5a7(0x1a8)+_0x523f2e);return _0x40b414[_0x56e5a7(0x1c9)];}catch(_0x1038c6){return null;}}}const _0x235f92={};_0x235f92[_0x2ef7dd(0x1bc)+_0x2ef7dd(0x1bb)]=ConnectionService,module[_0x2ef7dd(0x1a7)]=_0x235f92;