@connection-hub/sdk 0.0.10 → 0.0.11
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +0 -0
- package/dist/client.js +1 -1
- package/dist/index.js +1 -1
- package/dist/lib/auth/index.js +1 -1
- package/dist/lib/connections/index.js +1 -1
- package/dist/lib/messaging/index.d.ts +16 -0
- package/dist/lib/messaging/index.js +1 -1
- package/dist/lib/webhooks/index.js +1 -1
- package/dist/types/index.js +1 -1
- package/package.json +4 -2
package/README.md
CHANGED
|
File without changes
|
package/dist/client.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
'use strict';const
|
|
1
|
+
'use strict';const _0x17618a=_0x5101;(function(_0x15a248,_0x1c2649){const _0x539b23=_0x5101,_0x950660=_0x15a248();while(!![]){try{const _0x36d857=-parseInt(_0x539b23(0x105))/(0x2*0x3d1+0x6f3*0x1+-0xe94)*(-parseInt(_0x539b23(0x111))/(0xbf2+-0xf80+0x390))+-parseInt(_0x539b23(0x158))/(0x7c8*-0x2+-0x1f70+0x2f03)+parseInt(_0x539b23(0x155))/(0x19*-0x64+0xe6*0x1f+0x2*-0x909)*(parseInt(_0x539b23(0x121))/(-0x1c45+0x16a*-0xe+0x3016))+-parseInt(_0x539b23(0x114))/(0x1*0x564+0x1aeb+0xf*-0x227)*(-parseInt(_0x539b23(0x115))/(0x8a7+0x1a10+0x128*-0x1e))+-parseInt(_0x539b23(0x125))/(-0x1*-0x109d+-0x26f0*0x1+0x165b)+-parseInt(_0x539b23(0x14e))/(0x65*0x26+-0x1332+0x23*0x1f)*(parseInt(_0x539b23(0x14c))/(0x1*-0xbf5+0x2*0xa67+-0x8cf))+-parseInt(_0x539b23(0x154))/(0xbf7+-0x1*-0xae5+-0x16d1)*(-parseInt(_0x539b23(0x100))/(0x4*0x2c1+0x1b*-0x61+-0xbd));if(_0x36d857===_0x1c2649)break;else _0x950660['push'](_0x950660['shift']());}catch(_0x40e6b1){_0x950660['push'](_0x950660['shift']());}}}(_0x5ace,0x79237*0x1+-0xd1ca0+-0xdd386*-0x1));function _0x5101(_0x2eb256,_0x49c13e){_0x2eb256=_0x2eb256-(0xd4f*-0x1+0x5d*0x5b+-0x12c3);const _0xe3b3f7=_0x5ace();let _0x525770=_0xe3b3f7[_0x2eb256];return _0x525770;}const axios=require(_0x17618a(0x11e)),AuthServiceModule=require(_0x17618a(0x11b)),MessagingServiceModule=require(_0x17618a(0x13f)+_0x17618a(0x148)),WebhookServiceModule=require(_0x17618a(0x12f)+_0x17618a(0x159)),ConnectionServiceModule=require(_0x17618a(0x14f)+_0x17618a(0x11a));class ConnectionHubClient{constructor(_0xd97dbc){const _0x372b4f=_0x17618a,_0x5d8bad={};_0x5d8bad[_0x372b4f(0x13c)]=_0x372b4f(0x153)+_0x372b4f(0x103)+_0x372b4f(0x129),_0x5d8bad[_0x372b4f(0x116)]=_0x372b4f(0x140)+_0x372b4f(0x12c),_0x5d8bad[_0x372b4f(0x102)]=_0x372b4f(0xfd)+_0x372b4f(0x118),_0x5d8bad[_0x372b4f(0x10d)]=_0x372b4f(0x134)+_0x372b4f(0x132)+_0x372b4f(0x127)+'br';const _0x59c363=_0x5d8bad;this[_0x372b4f(0x11f)+_0x372b4f(0x123)]=![],this[_0x372b4f(0x13b)+_0x372b4f(0x10b)]=null;if(!_0xd97dbc[_0x372b4f(0x107)+'n'])throw new Error(_0x59c363[_0x372b4f(0x13c)]);this[_0x372b4f(0x130)]=_0xd97dbc;const _0x4942f3={};_0x4942f3[_0x372b4f(0x11d)+'pe']=_0x59c363[_0x372b4f(0x116)];const _0x29a842=_0x4942f3;_0xd97dbc[_0x372b4f(0x107)+'n']&&(_0x29a842[_0x59c363[_0x372b4f(0x102)]]=_0x372b4f(0x150)+_0xd97dbc[_0x372b4f(0x107)+'n']);const _0x2542e7={};_0x2542e7[_0x372b4f(0x135)]=_0xd97dbc[_0x372b4f(0x112)]||_0x59c363[_0x372b4f(0x10d)],_0x2542e7[_0x372b4f(0x157)]=_0x29a842,this[_0x372b4f(0x133)]=axios[_0x372b4f(0x14d)](_0x2542e7),this[_0x372b4f(0x139)]=new AuthServiceModule[(_0x372b4f(0x126))+'e'](this[_0x372b4f(0x133)],this),this[_0x372b4f(0x106)]=new MessagingServiceModule[(_0x372b4f(0x10a))+(_0x372b4f(0x10c))](this[_0x372b4f(0x133)],this),this[_0x372b4f(0x12a)]=new WebhookServiceModule[(_0x372b4f(0x124))+(_0x372b4f(0x104))](this[_0x372b4f(0x133)],this),this[_0x372b4f(0x110)+'s']=new ConnectionServiceModule[(_0x372b4f(0x10f))+(_0x372b4f(0x14b))](this[_0x372b4f(0x133)],this),this[_0x372b4f(0x13b)+_0x372b4f(0x10b)]=this[_0x372b4f(0x151)+_0x372b4f(0x128)]();}async[_0x17618a(0x151)+_0x17618a(0x128)](){const _0x72eb71=_0x17618a,_0xd97d29={'AeoHH':_0x72eb71(0x10e)+_0x72eb71(0x12e),'RerGE':function(_0x349cdf,_0x4a7cb7){return _0x349cdf===_0x4a7cb7;},'rPhNb':function(_0x4c5e82,_0x48eab1){return _0x4c5e82(_0x48eab1);},'tMPmh':function(_0x3481d4,_0x53e83b){return _0x3481d4(_0x53e83b);}};try{if(this[_0x72eb71(0x13b)+_0x72eb71(0x10b)])return this[_0x72eb71(0x13b)+_0x72eb71(0x10b)];return this[_0x72eb71(0x13b)+_0x72eb71(0x10b)]=new Promise(async _0x365ed3=>{const _0x2987a4=_0x72eb71;try{const _0x52b960=await this[_0x2987a4(0x133)][_0x2987a4(0x144)](_0xd97d29[_0x2987a4(0x109)]);this[_0x2987a4(0x11f)+_0x2987a4(0x123)]=_0xd97d29[_0x2987a4(0xff)](_0x52b960[_0x2987a4(0x156)][_0x2987a4(0x13a)],!![]),_0xd97d29[_0x2987a4(0x143)](_0x365ed3,this[_0x2987a4(0x11f)+_0x2987a4(0x123)]);}catch(_0xae5d30){_0xd97d29[_0x2987a4(0xff)](_0xae5d30[_0x2987a4(0x136)]?.[_0x2987a4(0x119)],0x20*0x112+0x7d*-0x19+-0x147a*0x1)||_0xd97d29[_0x2987a4(0xff)](_0xae5d30[_0x2987a4(0x136)]?.[_0x2987a4(0x119)],-0xd*0x2c8+-0x13d0+-0x1*-0x398b)?(this[_0x2987a4(0x11f)+_0x2987a4(0x123)]=![],_0xd97d29[_0x2987a4(0x149)](_0x365ed3,![])):(this[_0x2987a4(0x11f)+_0x2987a4(0x123)]=![],_0xd97d29[_0x2987a4(0x149)](_0x365ed3,![]));}finally{this[_0x2987a4(0x13b)+_0x2987a4(0x10b)]=null;}}),this[_0x72eb71(0x13b)+_0x72eb71(0x10b)];}catch(_0x38d8a){return this[_0x72eb71(0x11f)+_0x72eb71(0x123)]=![],![];}}[_0x17618a(0x113)+_0x17618a(0x14a)+'ed'](){const _0x5eaf12=_0x17618a;return this[_0x5eaf12(0x11f)+_0x5eaf12(0x123)];}[_0x17618a(0x142)+_0x17618a(0x146)](_0x2f939a=!![]){const _0x483568=_0x17618a,_0x15ed91={};_0x15ed91[_0x483568(0x138)]=_0x483568(0x152)+_0x483568(0x131)+_0x483568(0x120)+_0x483568(0x137)+_0x483568(0x12b)+_0x483568(0x147)+_0x483568(0x141)+_0x483568(0x13d)+_0x483568(0x13e)+'.';const _0x32e15a=_0x15ed91;if(!this[_0x483568(0x11f)+_0x483568(0x123)]&&_0x2f939a)throw new Error(_0x32e15a[_0x483568(0x138)]);return this[_0x483568(0x11f)+_0x483568(0x123)];}async[_0x17618a(0x145)+_0x17618a(0x11c)](){const _0x465701=_0x17618a;if(this[_0x465701(0x13b)+_0x465701(0x10b)])return this[_0x465701(0x13b)+_0x465701(0x10b)];if(this[_0x465701(0x11f)+_0x465701(0x123)])return!![];return this[_0x465701(0x151)+_0x465701(0x128)]();}[_0x17618a(0x12d)+_0x17618a(0x108)](_0x39cf0e){const _0x1023c0=_0x17618a,_0x41aa3f={};_0x41aa3f[_0x1023c0(0x122)]=_0x1023c0(0xfd)+_0x1023c0(0x118);const _0x186b2c=_0x41aa3f;this[_0x1023c0(0x130)][_0x1023c0(0x107)+'n']=_0x39cf0e,this[_0x1023c0(0x133)][_0x1023c0(0xfe)][_0x1023c0(0x157)][_0x186b2c[_0x1023c0(0x122)]]=_0x1023c0(0x150)+_0x39cf0e,this[_0x1023c0(0x11f)+_0x1023c0(0x123)]=![],this[_0x1023c0(0x13b)+_0x1023c0(0x10b)]=this[_0x1023c0(0x151)+_0x1023c0(0x128)]();}}function _0x5ace(){const _0x532583=['RerGE','1524UDPnAc','HubClient','JAKOk','n\x20é\x20obriga','vice','7ZfEgpO','messaging','accessToke','oken','AeoHH','MessagingS','Promise','ervice','mEDEC','/auth/vali','Connection','connection','288166ZttjrQ','apiUrl','isCredenti','2072886EGuTAs','7emzeCK','cyqej','exports','ion','status','ections','./lib/auth','idation','Content-Ty','axios','credential','zado\x20corre','1229505oVIaNP','BwmiV','sValidated','WebhookSer','8520312epMshE','AuthServic','onhub.com.','edentials','tório','webhooks','s\x20credenci','n/json','setAccessT','date','./lib/webh','config','o\x20iniciali','i.connecti','api','https://ap','baseURL','response','tamente.\x20A','DMhZV','auth','success','validation','gVhmz','das\x20ou\x20são','\x20inválidas','./lib/mess','applicatio','ram\x20valida','canExecute','rPhNb','get','waitForVal','Operations','ais\x20não\x20fo','aging','tMPmh','alsValidat','Service','33830EtARlS','create','621IXdRAR','./lib/conn','Bearer\x20','validateCr','Cliente\x20nã','AccessToke','30349fJJLJm','8yVpBok','data','headers','1064358LkIpSB','ooks','Authorizat','defaults'];_0x5ace=function(){return _0x532583;};return _0x5ace();}const _0x4e2037={};_0x4e2037[_0x17618a(0x10f)+_0x17618a(0x101)]=ConnectionHubClient,module[_0x17618a(0x117)]=_0x4e2037;
|
package/dist/index.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
'use strict';
|
|
1
|
+
'use strict';const _0x2c4016=_0x4039;function _0x30cb(){const _0x3d62fe=['23404sashUj','Connection','./types','380scphkP','10600074GUNBiU','102716eZsQEt','keys','34895376XBARvL','exports','201487beUkDz','./client','672RusIlD','forEach','81824yBrVWh','471rzjAhT','283895xtNIGz','HubClient','6eFtHKe','4BfIVGo'];_0x30cb=function(){return _0x3d62fe;};return _0x30cb();}(function(_0x25e0d6,_0x363a80){const _0x57a60d=_0x4039,_0x2caf58=_0x25e0d6();while(!![]){try{const _0x208e8a=parseInt(_0x57a60d(0x1d8))/(0x133*0x5+-0x67e+-0x1*-0x80)*(-parseInt(_0x57a60d(0x1d2))/(-0x18b1+0x24*0x3b+-0x11*-0xf7))+parseInt(_0x57a60d(0x1ce))/(0x4ce+0x1978+-0x7f*0x3d)*(parseInt(_0x57a60d(0x1d3))/(0x2e*0x41+0x9d*0x29+-0x24cf))+-parseInt(_0x57a60d(0x1cf))/(0xaf*-0x28+-0x21*-0xbb+-0x8b*-0x6)*(parseInt(_0x57a60d(0x1d1))/(0x884+-0x2065+0x17e7))+-parseInt(_0x57a60d(0x1cb))/(-0x4*-0x2dd+-0xb*0x16e+0x44d)*(-parseInt(_0x57a60d(0x1cd))/(-0x5ea+0x233a+0x1*-0x1d48))+parseInt(_0x57a60d(0x1d7))/(-0x387+0x25f0+0x320*-0xb)+-parseInt(_0x57a60d(0x1d6))/(0xf66+-0x1dcb+0xe6f)*(-parseInt(_0x57a60d(0x1dc))/(0x54*-0x66+-0x43*0x18+-0x3d*-0xa7))+-parseInt(_0x57a60d(0x1da))/(-0x1a03+-0x998+-0x1*-0x23a7);if(_0x208e8a===_0x363a80)break;else _0x2caf58['push'](_0x2caf58['shift']());}catch(_0x3cc682){_0x2caf58['push'](_0x2caf58['shift']());}}}(_0x30cb,0x1f15a+-0xd80ae+0x1e394*0xb));const clientModule=require(_0x2c4016(0x1dd));module[_0x2c4016(0x1db)][_0x2c4016(0x1d4)+_0x2c4016(0x1d0)]=clientModule[_0x2c4016(0x1d4)+_0x2c4016(0x1d0)];function _0x4039(_0x287f37,_0x3749d4){_0x287f37=_0x287f37-(0x3*-0x757+0x1b*0x4d+0xfb1);const _0x150150=_0x30cb();let _0xbd40d1=_0x150150[_0x287f37];return _0xbd40d1;}const types=require(_0x2c4016(0x1d5));Object[_0x2c4016(0x1d9)](types)[_0x2c4016(0x1cc)](_0x3999c4=>{const _0x167fe4=_0x2c4016;module[_0x167fe4(0x1db)][_0x3999c4]=types[_0x3999c4];});
|
package/dist/lib/auth/index.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
'use strict';const
|
|
1
|
+
'use strict';const _0x31e03e=_0x53f4;function _0x53f4(_0x64ea8a,_0x1baaa7){_0x64ea8a=_0x64ea8a-(0x1db9*0x1+0x4a*-0x6c+0x230);const _0x2f9f53=_0x3edd();let _0x11d001=_0x2f9f53[_0x64ea8a];return _0x11d001;}(function(_0x2d1b3c,_0x2d8ca2){const _0x47d527=_0x53f4,_0x12ae84=_0x2d1b3c();while(!![]){try{const _0x9ca1da=-parseInt(_0x47d527(0xd8))/(0xb65+0x3*-0x443+-0x33*-0x7)*(parseInt(_0x47d527(0xe5))/(0x25e8+0xb94+-0x317a))+parseInt(_0x47d527(0xe7))/(0x95e*0x2+-0x1906+0x64d)*(-parseInt(_0x47d527(0xdf))/(0x9d*0x8+0x2480+-0x2964))+parseInt(_0x47d527(0xb9))/(0x1c98+-0x103*-0x5+-0x267*0xe)*(-parseInt(_0x47d527(0xb4))/(-0x6*0x641+0x895+0x1cf7))+parseInt(_0x47d527(0xcf))/(-0x1629+-0xb5*0x2e+-0x1*-0x36b6)*(parseInt(_0x47d527(0xe1))/(-0x478+-0x4*-0x5c+0x310))+parseInt(_0x47d527(0xb1))/(-0x1*-0x397+-0x13*-0x77+-0xc63)*(-parseInt(_0x47d527(0xc5))/(-0x1*-0x27b+-0x1915+0x78c*0x3))+-parseInt(_0x47d527(0xc6))/(0x2059+0x25a5*-0x1+0x557)+parseInt(_0x47d527(0xd3))/(0x2209+-0xd54*0x1+-0x14a9);if(_0x9ca1da===_0x2d8ca2)break;else _0x12ae84['push'](_0x12ae84['shift']());}catch(_0x138f51){_0x12ae84['push'](_0x12ae84['shift']());}}}(_0x3edd,0xee258+0xbf223+-0x11f220));class AuthService{constructor(_0x185822,_0x26be73){const _0x1201e7=_0x53f4;this[_0x1201e7(0xb6)]=_0x185822,this[_0x1201e7(0xca)]=_0x26be73;}[_0x31e03e(0xcc)+_0x31e03e(0xcb)](_0x204b27=!![]){const _0xea748d=_0x31e03e,_0x24a476={};_0x24a476[_0xea748d(0xd0)]=_0xea748d(0xb2)+_0xea748d(0xb8)+_0xea748d(0xe8)+_0xea748d(0xd6)+_0xea748d(0xd5)+_0xea748d(0xbb)+_0xea748d(0xbf)+_0xea748d(0xc4)+_0xea748d(0xc8)+_0xea748d(0xcd)+_0xea748d(0xc0)+_0xea748d(0xd7)+'o.';const _0x505af8=_0x24a476;if(this[_0xea748d(0xca)]&&!this[_0xea748d(0xca)][_0xea748d(0xe6)+_0xea748d(0xb5)+'ed']()&&_0x204b27)throw new Error(_0x505af8[_0xea748d(0xd0)]);}async[_0x31e03e(0xce)](_0x1e572f,_0x58b47f){const _0x46ab0d=_0x31e03e,_0x247991={};_0x247991[_0x46ab0d(0xd1)]=_0x46ab0d(0xe0)+_0x46ab0d(0xe2);const _0x33dca6=_0x247991;try{const _0x370557={};_0x370557[_0x46ab0d(0xe4)]=_0x1e572f,_0x370557[_0x46ab0d(0xdd)+'i']=_0x58b47f;const _0x151006=await this[_0x46ab0d(0xb6)][_0x46ab0d(0xb3)](_0x33dca6[_0x46ab0d(0xd1)],_0x370557);return _0x151006[_0x46ab0d(0xd9)];}catch(_0xcb1b4f){const _0x3d913a={};return _0x3d913a[_0x46ab0d(0xd4)]=![],_0x3d913a[_0x46ab0d(0xdb)]=_0xcb1b4f[_0x46ab0d(0xdc)]?.[_0x46ab0d(0xd9)]?.[_0x46ab0d(0xc1)]||_0xcb1b4f[_0x46ab0d(0xc1)],_0x3d913a;}}async[_0x31e03e(0xbd)](_0x21a56b,_0x3deb12){const _0x261f34=_0x31e03e,_0x3d8e83={};_0x3d8e83[_0x261f34(0xb7)]=_0x261f34(0xc3)+_0x261f34(0xe3);const _0x535aa2=_0x3d8e83;try{const _0x463ab9={};_0x463ab9[_0x261f34(0xe4)]=_0x21a56b,_0x463ab9[_0x261f34(0xdd)+'i']=_0x3deb12;const _0x4b4670=await this[_0x261f34(0xb6)][_0x261f34(0xb3)](_0x535aa2[_0x261f34(0xb7)],_0x463ab9);return _0x4b4670[_0x261f34(0xd9)];}catch(_0xae1f4f){const _0x195832={};return _0x195832[_0x261f34(0xd4)]=![],_0x195832[_0x261f34(0xdb)]=_0xae1f4f[_0x261f34(0xdc)]?.[_0x261f34(0xd9)]?.[_0x261f34(0xc1)]||_0xae1f4f[_0x261f34(0xc1)],_0x195832;}}async[_0x31e03e(0xbc)+'re'](_0x3fad31,_0x46647b){const _0x2f754b=_0x31e03e,_0x29cb24={};_0x29cb24[_0x2f754b(0xc7)]=_0x2f754b(0xba)+_0x2f754b(0xde);const _0x195d18=_0x29cb24;try{const _0x244eb6={};_0x244eb6[_0x2f754b(0xe4)]=_0x3fad31,_0x244eb6[_0x2f754b(0xdd)+'i']=_0x46647b;const _0x254263=await this[_0x2f754b(0xb6)][_0x2f754b(0xb3)](_0x195d18[_0x2f754b(0xc7)],_0x244eb6);return _0x254263[_0x2f754b(0xd9)];}catch(_0x322cab){const _0x4428e3={};return _0x4428e3[_0x2f754b(0xd4)]=![],_0x4428e3[_0x2f754b(0xdb)]=_0x322cab[_0x2f754b(0xdc)]?.[_0x2f754b(0xd9)]?.[_0x2f754b(0xc1)]||_0x322cab[_0x2f754b(0xc1)],_0x4428e3;}}async[_0x31e03e(0xd2)](_0x565dc0){const _0x76d637=_0x31e03e,_0x583d5b={};_0x583d5b[_0x76d637(0xda)]=_0x76d637(0xc2)+'l';const _0x54b8c8=_0x583d5b;try{const _0x440e40=await this[_0x76d637(0xb6)][_0x76d637(0xb3)](_0x54b8c8[_0x76d637(0xda)],_0x565dc0);return _0x440e40[_0x76d637(0xd9)];}catch(_0x5652f7){const _0x4b5f87={};return _0x4b5f87[_0x76d637(0xd4)]=![],_0x4b5f87[_0x76d637(0xdb)]=_0x5652f7[_0x76d637(0xdc)]?.[_0x76d637(0xd9)]?.[_0x76d637(0xc1)]||_0x5652f7[_0x76d637(0xc1)],_0x4b5f87;}}}const _0x3fab58={};function _0x3edd(){const _0x540671=['/auth/merc','ão\x20inválid','mercadoLiv','instagram','exports','as.\x20Aguard','Validation','message','/auth/emai','/auth/inst','e\x20a\x20valida','8951240mVnmso','12132780LsmOoa','PMiQK','ção\x20ou\x20cha','AuthServic','client','ntials','checkCrede','me\x20waitFor','facebook','7IFjlGa','IuAvR','nhBcT','email','53298624IDfxme','success','dadas\x20ou\x20s','foram\x20vali','()\x20primeir','1hyZMXr','data','WHAWD','error','response','redirectUr','adolivre','77132ysgHAS','/auth/face','3272488NQWmyN','book','agram','code','1390988kOatau','isCredenti','66odXPtI','iente\x20não\x20','9EbkGOB','As\x20credenc','post','4938iGJdFQ','alsValidat','api','JVZtN','iais\x20do\x20cl','6990NyLiFJ'];_0x3edd=function(){return _0x540671;};return _0x3edd();}_0x3fab58[_0x31e03e(0xc9)+'e']=AuthService,module[_0x31e03e(0xbe)]=_0x3fab58;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
'use strict';
|
|
1
|
+
'use strict';const _0x29e1c0=_0x4c3f;(function(_0x10cefa,_0x53be64){const _0x20054a=_0x4c3f,_0x4d723a=_0x10cefa();while(!![]){try{const _0x351a68=parseInt(_0x20054a(0x14a))/(-0x5*-0x71e+-0x7*0x30d+0x1*-0xe3a)+-parseInt(_0x20054a(0x151))/(0x1d99+0x305*-0x1+0x13*-0x166)*(-parseInt(_0x20054a(0x137))/(0xf6b*0x2+0x1*-0x595+-0x9*0x2ce))+parseInt(_0x20054a(0x147))/(-0x25ee+0x1ade+0x58a*0x2)*(parseInt(_0x20054a(0x15c))/(-0xf15+-0xcd6*-0x3+-0x1768))+-parseInt(_0x20054a(0x15b))/(0x7*0x455+0x53+-0x31*0xa0)+-parseInt(_0x20054a(0x159))/(0x528+-0xe70+0x94f)+parseInt(_0x20054a(0x145))/(-0x2*0x7ed+0x7f7*0x2+-0xc)*(parseInt(_0x20054a(0x13c))/(0x508+-0x1*-0x6a1+0xba*-0x10))+-parseInt(_0x20054a(0x142))/(0x111*0x1+0x1792*-0x1+0x168b);if(_0x351a68===_0x53be64)break;else _0x4d723a['push'](_0x4d723a['shift']());}catch(_0x422aa0){_0x4d723a['push'](_0x4d723a['shift']());}}}(_0x500e,0x251e4+-0xbcbfd+0x13bb55));function _0x4c3f(_0x121b3b,_0x3d7ad9){_0x121b3b=_0x121b3b-(0xd3*-0xb+0x1ff4+-0x15af);const _0x4ccde0=_0x500e();let _0x1f2799=_0x4ccde0[_0x121b3b];return _0x1f2799;}class ConnectionService{constructor(_0x4977c3,_0x67879a){const _0x5932a8=_0x4c3f;this[_0x5932a8(0x14c)]=_0x4977c3,this[_0x5932a8(0x157)]=_0x67879a;}[_0x29e1c0(0x146)+_0x29e1c0(0x14e)](_0x5ae977=!![]){const _0x2ca7dd=_0x29e1c0,_0xd8a23c={};_0xd8a23c[_0x2ca7dd(0x13e)]=_0x2ca7dd(0x14d)+_0x2ca7dd(0x139)+_0x2ca7dd(0x135)+_0x2ca7dd(0x144)+_0x2ca7dd(0x14f)+_0x2ca7dd(0x140)+_0x2ca7dd(0x158)+_0x2ca7dd(0x153)+_0x2ca7dd(0x15a)+_0x2ca7dd(0x152)+_0x2ca7dd(0x138)+_0x2ca7dd(0x154)+'o.';const _0x31542b=_0xd8a23c;if(this[_0x2ca7dd(0x157)]&&!this[_0x2ca7dd(0x157)][_0x2ca7dd(0x148)+_0x2ca7dd(0x141)+'ed']()&&_0x5ae977)throw new Error(_0x31542b[_0x2ca7dd(0x13e)]);}async[_0x29e1c0(0x156)+_0x29e1c0(0x149)](){const _0x265190=_0x29e1c0,_0x3b941c={};_0x3b941c[_0x265190(0x134)]=_0x265190(0x155);const _0x5221c6=_0x3b941c;this[_0x265190(0x146)+_0x265190(0x14e)]();try{const _0x550114=await this[_0x265190(0x14c)][_0x265190(0x150)](_0x5221c6[_0x265190(0x134)]);return _0x550114[_0x265190(0x13a)];}catch(_0x1cff76){return[];}}async[_0x29e1c0(0x13b)+_0x29e1c0(0x143)](_0x43d75b){const _0x3765c4=_0x29e1c0;this[_0x3765c4(0x146)+_0x3765c4(0x14e)]();try{const _0x3d86d9=await this[_0x3765c4(0x14c)][_0x3765c4(0x150)](_0x3765c4(0x136)+_0x43d75b);return _0x3d86d9[_0x3765c4(0x13a)];}catch(_0xca214e){return null;}}}const _0x5ed90e={};function _0x500e(){const _0x231016=['Connection','GEBic','exports','ão\x20inválid','alsValidat','4964400HtDfTl','ion','foram\x20vali','8BNerwg','checkCrede','186092ZJzTVE','isCredenti','tions','1062785FyQqaM','Service','api','As\x20credenc','ntials','dadas\x20ou\x20s','get','179468axMZLS','me\x20waitFor','e\x20a\x20valida','()\x20primeir','/channels','listConnec','client','as.\x20Aguard','6383776nUbxve','ção\x20ou\x20cha','6190740HWiEIv','25QMuwGM','aTobV','iente\x20não\x20','/channel/','33omwDPa','Validation','iais\x20do\x20cl','data','getConnect','7468056mhsyow'];_0x500e=function(){return _0x231016;};return _0x500e();}_0x5ed90e[_0x29e1c0(0x13d)+_0x29e1c0(0x14b)]=ConnectionService,module[_0x29e1c0(0x13f)]=_0x5ed90e;
|
|
@@ -8,12 +8,28 @@ declare class MessagingService {
|
|
|
8
8
|
* @private Método interno para verificar credenciais
|
|
9
9
|
*/
|
|
10
10
|
checkCredentials(throwError?: boolean): void;
|
|
11
|
+
/**
|
|
12
|
+
* Formatos aceitos pela Meta (Messenger Platform / Instagram).
|
|
13
|
+
* Ref: https://developers.facebook.com/docs/messenger-platform/instagram/features/send-message
|
|
14
|
+
*/
|
|
15
|
+
private static readonly META_AUDIO_FORMATS;
|
|
16
|
+
private static readonly META_VIDEO_FORMATS;
|
|
17
|
+
private static readonly META_IMAGE_FORMATS;
|
|
11
18
|
/**
|
|
12
19
|
* Determines the file type based on the URL extension
|
|
13
20
|
* @param url URL of the file to analyze
|
|
14
21
|
* @returns The file type as "video", "audio", "image" or "file"
|
|
15
22
|
*/
|
|
16
23
|
private getFileTypeFromUrl;
|
|
24
|
+
/**
|
|
25
|
+
* Extrai extensão da URL, ignorando query string e fragment.
|
|
26
|
+
*/
|
|
27
|
+
private getExtensionFromUrl;
|
|
28
|
+
/**
|
|
29
|
+
* Valida se o anexo é aceito pela Meta (Messenger/Instagram).
|
|
30
|
+
* Retorna `null` se válido ou um objeto de erro estruturado se inválido.
|
|
31
|
+
*/
|
|
32
|
+
private validateMetaAttachment;
|
|
17
33
|
/**
|
|
18
34
|
* Envia uma mensagem de texto para o Facebook
|
|
19
35
|
* @param channelToken Token do canal
|
|
@@ -1 +1 @@
|
|
|
1
|
-
'use strict';function _0x1f04(_0x3335c1,_0x405d1f){const _0x17980b=_0x2075();return _0x1f04=function(_0x2d7b9e,_0x1d0434){_0x2d7b9e=_0x2d7b9e-(0x10f4+0xc74+-0x7*0x3ff);let _0x2b1ae9=_0x17980b[_0x2d7b9e];return _0x2b1ae9;},_0x1f04(_0x3335c1,_0x405d1f);}const _0x53444a=_0x1f04;(function(_0x488311,_0x3281d9){const _0x5a7248=_0x1f04,_0x2a81b6=_0x488311();while(!![]){try{const _0x3e966a=parseInt(_0x5a7248(0x1b5))/(0x19d*-0x17+0x1856+-0x3*-0x442)+parseInt(_0x5a7248(0x1d3))/(0x12b*-0x5+0x3ac+0x22d)+parseInt(_0x5a7248(0x171))/(0x277*0x5+-0x1068*-0x1+-0x1cb8)+-parseInt(_0x5a7248(0x18d))/(-0xa12+0x119*-0x22+-0x17b4*-0x2)+parseInt(_0x5a7248(0x19d))/(-0x1b8+-0xb99+0xd56)+parseInt(_0x5a7248(0x17a))/(-0x71*-0x3+-0x25e2+0x2495*0x1)+parseInt(_0x5a7248(0x1c3))/(-0x84a*0x2+0x817+0x4*0x221)*(-parseInt(_0x5a7248(0x19b))/(-0xe45*0x2+-0xbca*-0x1+-0xc*-0x166));if(_0x3e966a===_0x3281d9)break;else _0x2a81b6['push'](_0x2a81b6['shift']());}catch(_0x2f2984){_0x2a81b6['push'](_0x2a81b6['shift']());}}}(_0x2075,0xe32*0x1a3+-0x11b468+0x7d7f8));class MessagingService{constructor(_0x70548d,_0x31af80){const _0x2dcb30=_0x1f04;this[_0x2dcb30(0x1cc)]=_0x70548d,this[_0x2dcb30(0x17d)]=_0x31af80;}[_0x53444a(0x1af)+_0x53444a(0x1c1)](_0x8deef2=!![]){const _0x28820b=_0x53444a,_0x4d7faf={};_0x4d7faf[_0x28820b(0x1a1)]=_0x28820b(0x186)+_0x28820b(0x181)+_0x28820b(0x1eb)+_0x28820b(0x190)+_0x28820b(0x1db)+_0x28820b(0x1c8)+_0x28820b(0x1d4);const _0x1e7814=_0x4d7faf;if(this[_0x28820b(0x17d)]&&!this[_0x28820b(0x17d)][_0x28820b(0x17f)+_0x28820b(0x1a4)+'ed']()&&_0x8deef2)throw new Error(_0x1e7814[_0x28820b(0x1a1)]);}[_0x53444a(0x1aa)+_0x53444a(0x1ad)](_0x5bc684){const _0x304624=_0x53444a,_0x13948b={};_0x13948b[_0x304624(0x1ec)]=_0x304624(0x1c2),_0x13948b[_0x304624(0x1ca)]=_0x304624(0x1b1),_0x13948b[_0x304624(0x182)]=_0x304624(0x1e5),_0x13948b[_0x304624(0x179)]=_0x304624(0x1d6),_0x13948b[_0x304624(0x1d7)]=_0x304624(0x1de),_0x13948b[_0x304624(0x1e4)]=_0x304624(0x187),_0x13948b[_0x304624(0x184)]=_0x304624(0x1c9),_0x13948b[_0x304624(0x1ed)]=_0x304624(0x17c),_0x13948b[_0x304624(0x1cb)]=_0x304624(0x175),_0x13948b[_0x304624(0x1e3)]=_0x304624(0x1e9),_0x13948b[_0x304624(0x1e1)]=_0x304624(0x1c4),_0x13948b[_0x304624(0x1a5)]=_0x304624(0x18c),_0x13948b[_0x304624(0x1ce)]=_0x304624(0x1a6),_0x13948b[_0x304624(0x1e8)]=_0x304624(0x176),_0x13948b[_0x304624(0x1c6)]=_0x304624(0x1e6),_0x13948b[_0x304624(0x1ac)]=_0x304624(0x197),_0x13948b[_0x304624(0x177)]=_0x304624(0x188),_0x13948b[_0x304624(0x1b8)]=_0x304624(0x1b9),_0x13948b[_0x304624(0x199)]=_0x304624(0x19f),_0x13948b[_0x304624(0x1b3)]=_0x304624(0x19c),_0x13948b[_0x304624(0x172)]=_0x304624(0x189),_0x13948b[_0x304624(0x173)]=_0x304624(0x1df),_0x13948b[_0x304624(0x1dd)]=_0x304624(0x194),_0x13948b[_0x304624(0x1e0)]=_0x304624(0x1b7);const _0x55ec86=_0x13948b,_0x3f714e=_0x5bc684[_0x304624(0x16f)]('.')[_0x304624(0x1a9)]()?.[_0x304624(0x191)+'e']()||'',_0x33122d=[_0x55ec86[_0x304624(0x1ec)],_0x55ec86[_0x304624(0x1ca)],_0x55ec86[_0x304624(0x182)],_0x55ec86[_0x304624(0x179)],_0x55ec86[_0x304624(0x1d7)],_0x55ec86[_0x304624(0x1e4)],_0x55ec86[_0x304624(0x184)]],_0x476d67=[_0x55ec86[_0x304624(0x1ed)],_0x55ec86[_0x304624(0x1cb)],_0x55ec86[_0x304624(0x1e3)],_0x55ec86[_0x304624(0x1e1)],_0x55ec86[_0x304624(0x1a5)],_0x55ec86[_0x304624(0x1ce)]],_0x549a47=[_0x55ec86[_0x304624(0x1e8)],_0x55ec86[_0x304624(0x1c6)],_0x55ec86[_0x304624(0x1ac)],_0x55ec86[_0x304624(0x177)],_0x55ec86[_0x304624(0x1b8)],_0x55ec86[_0x304624(0x199)],_0x55ec86[_0x304624(0x1b3)]];if(_0x33122d[_0x304624(0x19a)](_0x3f714e))return _0x55ec86[_0x304624(0x172)];if(_0x476d67[_0x304624(0x19a)](_0x3f714e))return _0x55ec86[_0x304624(0x173)];if(_0x549a47[_0x304624(0x19a)](_0x3f714e))return _0x55ec86[_0x304624(0x1dd)];return _0x55ec86[_0x304624(0x1e0)];}async[_0x53444a(0x170)+_0x53444a(0x1c5)](_0x56ed81,_0x126539,_0x59914b){const _0x26a836=_0x53444a,_0x5a7b7={};_0x5a7b7[_0x26a836(0x1a3)]=_0x26a836(0x1b6)+_0x26a836(0x1ba)+_0x26a836(0x1a2)+_0x26a836(0x195);const _0x290e4a=_0x5a7b7;this[_0x26a836(0x1af)+_0x26a836(0x1c1)]();try{const _0x4183b6={};_0x4183b6[_0x26a836(0x1d9)+'en']=_0x56ed81,_0x4183b6[_0x26a836(0x1d8)+'d']=_0x126539,_0x4183b6[_0x26a836(0x196)]=_0x59914b;const _0x4c2f4e=await this[_0x26a836(0x1cc)][_0x26a836(0x180)](_0x290e4a[_0x26a836(0x1a3)],_0x4183b6);return _0x4c2f4e[_0x26a836(0x1b2)];}catch(_0x28a887){const _0x1082d0={};return _0x1082d0[_0x26a836(0x1bb)]=![],_0x1082d0[_0x26a836(0x1c7)]=_0x28a887[_0x26a836(0x17b)]?.[_0x26a836(0x1b2)]?.[_0x26a836(0x196)]||_0x28a887[_0x26a836(0x196)],_0x1082d0;}}async[_0x53444a(0x1d2)+_0x53444a(0x1c5)](_0x122c30,_0x552060,_0x597d4f){const _0x5edc2f=_0x53444a,_0x5ebddd={};_0x5ebddd[_0x5edc2f(0x1a0)]=_0x5edc2f(0x1b6)+_0x5edc2f(0x1ba)+_0x5edc2f(0x19e)+_0x5edc2f(0x195);const _0x28473b=_0x5ebddd;this[_0x5edc2f(0x1af)+_0x5edc2f(0x1c1)]();try{const _0x20bcfe=this[_0x5edc2f(0x1aa)+_0x5edc2f(0x1ad)](_0x597d4f),_0xd96ae8={};_0xd96ae8[_0x5edc2f(0x1d9)+'en']=_0x122c30,_0xd96ae8[_0x5edc2f(0x1d8)+'d']=_0x552060,_0xd96ae8[_0x5edc2f(0x18f)+_0x5edc2f(0x192)]=_0x597d4f,_0xd96ae8[_0x5edc2f(0x1b4)]=_0x20bcfe;const _0x281cad=await this[_0x5edc2f(0x1cc)][_0x5edc2f(0x180)](_0x28473b[_0x5edc2f(0x1a0)],_0xd96ae8);return _0x281cad[_0x5edc2f(0x1b2)];}catch(_0x54f3a7){const _0x265619={};return _0x265619[_0x5edc2f(0x1bb)]=![],_0x265619[_0x5edc2f(0x1c7)]=_0x54f3a7[_0x5edc2f(0x17b)]?.[_0x5edc2f(0x1b2)]?.[_0x5edc2f(0x196)]||_0x54f3a7[_0x5edc2f(0x196)],_0x265619;}}async[_0x53444a(0x170)+_0x53444a(0x1c0)](_0x3f5919,_0x1c2d45,_0x3eef5e){const _0x747c42=_0x53444a,_0x5a3f1a={};_0x5a3f1a[_0x747c42(0x1da)]=_0x747c42(0x1b6)+_0x747c42(0x1be)+_0x747c42(0x1a7)+_0x747c42(0x183);const _0x54bb8d=_0x5a3f1a;this[_0x747c42(0x1af)+_0x747c42(0x1c1)]();try{const _0x41973a={};_0x41973a[_0x747c42(0x1d9)+'en']=_0x3f5919,_0x41973a[_0x747c42(0x1d8)+'d']=_0x1c2d45,_0x41973a[_0x747c42(0x1ae)]=_0x3eef5e;const _0x14a929=await this[_0x747c42(0x1cc)][_0x747c42(0x180)](_0x54bb8d[_0x747c42(0x1da)],_0x41973a);return _0x14a929[_0x747c42(0x1b2)];}catch(_0x5b3f40){const _0x13941a={};return _0x13941a[_0x747c42(0x1bb)]=![],_0x13941a[_0x747c42(0x1c7)]=_0x5b3f40[_0x747c42(0x17b)]?.[_0x747c42(0x1b2)]?.[_0x747c42(0x196)]||_0x5b3f40[_0x747c42(0x196)],_0x13941a;}}async[_0x53444a(0x1d2)+_0x53444a(0x1c0)](_0x2368d0,_0x4ad87a,_0x1aa61a){const _0x2f7dd7=_0x53444a,_0x5abcd6={};_0x5abcd6[_0x2f7dd7(0x18b)]=_0x2f7dd7(0x1b6)+_0x2f7dd7(0x1be)+_0x2f7dd7(0x1e2)+_0x2f7dd7(0x1d0);const _0x2e3ccb=_0x5abcd6;this[_0x2f7dd7(0x1af)+_0x2f7dd7(0x1c1)]();try{const _0x23d5cc=this[_0x2f7dd7(0x1aa)+_0x2f7dd7(0x1ad)](_0x1aa61a),_0x403d12={};_0x403d12[_0x2f7dd7(0x1d9)+'en']=_0x2368d0,_0x403d12[_0x2f7dd7(0x1d8)+'d']=_0x4ad87a,_0x403d12[_0x2f7dd7(0x18f)+_0x2f7dd7(0x192)]=_0x1aa61a,_0x403d12[_0x2f7dd7(0x1b4)]=_0x23d5cc;const _0x5dfee1=await this[_0x2f7dd7(0x1cc)][_0x2f7dd7(0x180)](_0x2e3ccb[_0x2f7dd7(0x18b)],_0x403d12);return _0x5dfee1[_0x2f7dd7(0x1b2)];}catch(_0x2a2dc3){const _0x37142c={};return _0x37142c[_0x2f7dd7(0x1bb)]=![],_0x37142c[_0x2f7dd7(0x1c7)]=_0x2a2dc3[_0x2f7dd7(0x17b)]?.[_0x2f7dd7(0x1b2)]?.[_0x2f7dd7(0x196)]||_0x2a2dc3[_0x2f7dd7(0x196)],_0x37142c;}}async[_0x53444a(0x1cd)](_0x285dc3,_0x4ee8d6,_0x57491a,_0x21dc84,_0x25489f){const _0x875f3c=_0x53444a,_0x79d241={};_0x79d241[_0x875f3c(0x17e)]=_0x875f3c(0x18e)+_0x875f3c(0x18a);const _0x4a7530=_0x79d241;this[_0x875f3c(0x1af)+_0x875f3c(0x1c1)]();try{const _0x1ea458={};_0x1ea458[_0x875f3c(0x1d9)+'en']=_0x285dc3,_0x1ea458[_0x875f3c(0x1a8)]=_0x4ee8d6,_0x1ea458[_0x875f3c(0x1cf)]=_0x57491a,_0x1ea458['to']=_0x21dc84,_0x1ea458[_0x875f3c(0x18f)+'s']=_0x25489f;const _0x393ca1=await this[_0x875f3c(0x1cc)][_0x875f3c(0x180)](_0x4a7530[_0x875f3c(0x17e)],_0x1ea458);return _0x393ca1[_0x875f3c(0x1b2)];}catch(_0x150510){const _0xe6381={};return _0xe6381[_0x875f3c(0x1bb)]=![],_0xe6381[_0x875f3c(0x1c7)]=_0x150510[_0x875f3c(0x17b)]?.[_0x875f3c(0x1b2)]?.[_0x875f3c(0x196)]||_0x150510[_0x875f3c(0x196)],_0xe6381;}}async[_0x53444a(0x1bc)+_0x53444a(0x1ab)](_0x8557f3,_0x1afbb7,_0x29c8cf){const _0x47e2f8=_0x53444a,_0x297463={};_0x297463[_0x47e2f8(0x1bd)]=_0x47e2f8(0x1b6)+_0x47e2f8(0x1d5)+_0x47e2f8(0x174)+_0x47e2f8(0x1bf)+'e';const _0x726f44=_0x297463;this[_0x47e2f8(0x1af)+_0x47e2f8(0x1c1)]();try{const _0x40c57a={};_0x40c57a[_0x47e2f8(0x1d9)+'en']=_0x8557f3,_0x40c57a[_0x47e2f8(0x1d8)+'d']=_0x1afbb7,_0x40c57a[_0x47e2f8(0x196)]=_0x29c8cf;const _0x48987e=await this[_0x47e2f8(0x1cc)][_0x47e2f8(0x180)](_0x726f44[_0x47e2f8(0x1bd)],_0x40c57a);return _0x48987e[_0x47e2f8(0x1b2)];}catch(_0x2328ba){const _0x4f69b5={};return _0x4f69b5[_0x47e2f8(0x1bb)]=![],_0x4f69b5[_0x47e2f8(0x1c7)]=_0x2328ba[_0x47e2f8(0x17b)]?.[_0x47e2f8(0x1b2)]?.[_0x47e2f8(0x196)]||_0x2328ba[_0x47e2f8(0x196)],_0x4f69b5;}}async[_0x53444a(0x178)+_0x53444a(0x1c5)](_0x578738,_0x49553f){const _0x2a6e08=_0x53444a;this[_0x2a6e08(0x1af)+_0x2a6e08(0x1c1)]();try{const _0xbeacb8={};_0xbeacb8[_0x2a6e08(0x1d9)+'en']=_0x578738,_0xbeacb8[_0x2a6e08(0x1d8)+'d']=_0x49553f;const _0x3b9c45={};_0x3b9c45[_0x2a6e08(0x198)]=_0xbeacb8;const _0x32726e=await this[_0x2a6e08(0x1cc)][_0x2a6e08(0x185)](_0x2a6e08(0x1b6)+_0x2a6e08(0x1ba)+_0x2a6e08(0x1dc)+'le',_0x3b9c45);return _0x32726e[_0x2a6e08(0x1b2)];}catch(_0x3eb6e7){const _0x14f799={};return _0x14f799[_0x2a6e08(0x1bb)]=![],_0x14f799[_0x2a6e08(0x1c7)]=_0x3eb6e7[_0x2a6e08(0x17b)]?.[_0x2a6e08(0x1b2)]?.[_0x2a6e08(0x196)]||_0x3eb6e7[_0x2a6e08(0x196)],_0x14f799;}}async[_0x53444a(0x178)+_0x53444a(0x1c0)](_0x6be397,_0xd573ee){const _0x55e7d6=_0x53444a;this[_0x55e7d6(0x1af)+_0x55e7d6(0x1c1)]();try{const _0x3dbdc8={};_0x3dbdc8[_0x55e7d6(0x1d9)+'en']=_0x6be397,_0x3dbdc8[_0x55e7d6(0x1d8)+'d']=_0xd573ee;const _0x563e51={};_0x563e51[_0x55e7d6(0x198)]=_0x3dbdc8;const _0x7fc615=await this[_0x55e7d6(0x1cc)][_0x55e7d6(0x185)](_0x55e7d6(0x1b6)+_0x55e7d6(0x1be)+_0x55e7d6(0x193)+_0x55e7d6(0x1ea),_0x563e51);return _0x7fc615[_0x55e7d6(0x1b2)];}catch(_0x51e32d){const _0x1b5b84={};return _0x1b5b84[_0x55e7d6(0x1bb)]=![],_0x1b5b84[_0x55e7d6(0x1c7)]=_0x51e32d[_0x55e7d6(0x17b)]?.[_0x55e7d6(0x1b2)]?.[_0x55e7d6(0x196)]||_0x51e32d[_0x55e7d6(0x196)],_0x1b5b84;}}}function _0x2075(){const _0x42083c=['JrFeb','tMessage','Wrkhk','get','As\x20credenc','mkv','gif','video','/send','JdrBc','m4a','5255120TAPgQo','/hub/email','attachment','foram\x20vali','toLowerCas','Url','am/getProf','image','Message','message','png','params','JpANb','includes','18191672WikXqJ','tiff','5543755PbDOnB','k/sendFile','webp','KSbgI','AICgM','k/sendText','WEQKy','alsValidat','yHcrv','wma','am/sendTex','subject','pop','getFileTyp','adoLivre','mMEIx','eFromUrl','text','checkCrede','MessagingS','mov','data','RQUDK','type','109251IPFKLT','/hub/messa','file','HXVFt','bmp','ge/faceboo','success','sendToMerc','iDWfY','ge/instagr','TextMessag','Instagram','ntials','mp4','7KoFhHN','aac','Facebook','LtcqV','error','ão\x20inválid','webm','Ampbq','EjLQJ','api','sendEmail','NnRaI','body','eMessage','exports','sendFileTo','1794174NIDvIL','as.','ge/mercado','wmv','ylHGb','recipientI','channelTok','ybeaX','dadas\x20ou\x20s','k/getProfi','hXbSX','flv','audio','TFSrJ','sjjLr','am/sendFil','EPVBz','DQePC','avi','jpeg','ervice','YoVUl','ogg','ile','iente\x20não\x20','UjSsS','HtGwO','split','sendTextTo','3153273ZYhzsF','QXBIc','cvihU','livre/send','wav','jpg','RCYqa','getProfile','uOgHO','7787694EzcLVC','response','mp3','client','paHeY','isCredenti','post','iais\x20do\x20cl'];_0x2075=function(){return _0x42083c;};return _0x2075();}const _0x448b2c={};_0x448b2c[_0x53444a(0x1b0)+_0x53444a(0x1e7)]=MessagingService,module[_0x53444a(0x1d1)]=_0x448b2c;
|
|
1
|
+
'use strict';const _0x1404c2=_0x21a9;(function(_0x103195,_0x29c299){const _0x3ef8be=_0x21a9,_0x1f01ac=_0x103195();while(!![]){try{const _0x5e349c=parseInt(_0x3ef8be(0xbf))/(-0x1729+0x1492+0x298)*(parseInt(_0x3ef8be(0xb6))/(-0x2*0x6ae+-0x53*-0x6e+0x4*-0x593))+parseInt(_0x3ef8be(0x91))/(-0x36a*-0x6+0x67*-0x25+-0x596)+parseInt(_0x3ef8be(0x11c))/(0xd2a+-0x18cd+0x9d*0x13)+-parseInt(_0x3ef8be(0x124))/(0x8a4+-0x1afa+-0x1*-0x125b)+-parseInt(_0x3ef8be(0x9f))/(0xa8c+-0x4*0x707+0x1196)+-parseInt(_0x3ef8be(0x122))/(-0x20d9+-0x11c9+0x32a9)*(-parseInt(_0x3ef8be(0xdb))/(0x21f3+-0x1b19+0x6d2*-0x1))+-parseInt(_0x3ef8be(0x99))/(0x8cb*-0x1+0x1*-0x1b02+-0xb*-0x342)*(parseInt(_0x3ef8be(0xaa))/(-0x1*0x307+-0xbec+0xefd));if(_0x5e349c===_0x29c299)break;else _0x1f01ac['push'](_0x1f01ac['shift']());}catch(_0xd71683){_0x1f01ac['push'](_0x1f01ac['shift']());}}}(_0x1385,-0x2f1cf+0xac3ab+0x1ae13));class MessagingService{constructor(_0x17b8ab,_0x3bc377){const _0x31d0c0=_0x21a9;this[_0x31d0c0(0xf4)]=_0x17b8ab,this[_0x31d0c0(0xa5)]=_0x3bc377;}[_0x1404c2(0xe1)+_0x1404c2(0xcb)](_0x1b7eea=!![]){const _0x4eb956=_0x1404c2,_0xc9a47={};_0xc9a47[_0x4eb956(0xa8)]=_0x4eb956(0x110)+_0x4eb956(0x9c)+_0x4eb956(0x9a)+_0x4eb956(0xb7)+_0x4eb956(0xc7)+_0x4eb956(0xe8)+_0x4eb956(0x105);const _0x1ffa25=_0xc9a47;if(this[_0x4eb956(0xa5)]&&!this[_0x4eb956(0xa5)][_0x4eb956(0xc8)+_0x4eb956(0x10e)+'ed']()&&_0x1b7eea)throw new Error(_0x1ffa25[_0x4eb956(0xa8)]);}[_0x1404c2(0xe7)+_0x1404c2(0xee)](_0x84c0cb){const _0xa89c0e=_0x1404c2,_0x578830={};_0x578830[_0xa89c0e(0x92)]=_0xa89c0e(0xd0),_0x578830[_0xa89c0e(0xac)]=_0xa89c0e(0xe5),_0x578830[_0xa89c0e(0x123)]=_0xa89c0e(0xbe),_0x578830[_0xa89c0e(0xb3)]=_0xa89c0e(0xb8),_0x578830[_0xa89c0e(0xcf)]=_0xa89c0e(0xda),_0x578830[_0xa89c0e(0x103)]=_0xa89c0e(0xc9),_0x578830[_0xa89c0e(0xdd)]=_0xa89c0e(0xeb),_0x578830[_0xa89c0e(0xdc)]=_0xa89c0e(0xab),_0x578830[_0xa89c0e(0x9e)]=_0xa89c0e(0x97),_0x578830[_0xa89c0e(0xb4)]=_0xa89c0e(0xa1),_0x578830[_0xa89c0e(0xc1)]=_0xa89c0e(0x95),_0x578830[_0xa89c0e(0xf1)]=_0xa89c0e(0xa9),_0x578830[_0xa89c0e(0xba)]=_0xa89c0e(0x113),_0x578830[_0xa89c0e(0x11d)]=_0xa89c0e(0x115),_0x578830[_0xa89c0e(0x108)]=_0xa89c0e(0x101),_0x578830[_0xa89c0e(0x111)]=_0xa89c0e(0x120),_0x578830[_0xa89c0e(0x100)]=_0xa89c0e(0xd1),_0x578830[_0xa89c0e(0xc3)]=_0xa89c0e(0xa7),_0x578830[_0xa89c0e(0xa0)]=_0xa89c0e(0xde),_0x578830[_0xa89c0e(0xe9)]=_0xa89c0e(0xef),_0x578830[_0xa89c0e(0x10f)]=_0xa89c0e(0xc4),_0x578830[_0xa89c0e(0xa4)]=_0xa89c0e(0xbc),_0x578830[_0xa89c0e(0x9d)]=_0xa89c0e(0xd9),_0x578830[_0xa89c0e(0xa3)]=_0xa89c0e(0xb5);const _0xd4a7b6=_0x578830,_0x5ec1a4=this[_0xa89c0e(0x10c)+_0xa89c0e(0x121)](_0x84c0cb),_0x2a0203=[_0xd4a7b6[_0xa89c0e(0x92)],_0xd4a7b6[_0xa89c0e(0xac)],_0xd4a7b6[_0xa89c0e(0x123)],_0xd4a7b6[_0xa89c0e(0xb3)],_0xd4a7b6[_0xa89c0e(0xcf)],_0xd4a7b6[_0xa89c0e(0x103)],_0xd4a7b6[_0xa89c0e(0xdd)],_0xd4a7b6[_0xa89c0e(0xdc)]],_0xea6c81=[_0xd4a7b6[_0xa89c0e(0x9e)],_0xd4a7b6[_0xa89c0e(0xb4)],_0xd4a7b6[_0xa89c0e(0xdc)],_0xd4a7b6[_0xa89c0e(0xc1)],_0xd4a7b6[_0xa89c0e(0xf1)],_0xd4a7b6[_0xa89c0e(0xba)]],_0x4b330e=[_0xd4a7b6[_0xa89c0e(0x11d)],_0xd4a7b6[_0xa89c0e(0x108)],_0xd4a7b6[_0xa89c0e(0x111)],_0xd4a7b6[_0xa89c0e(0x100)],_0xd4a7b6[_0xa89c0e(0xc3)],_0xd4a7b6[_0xa89c0e(0xa0)],_0xd4a7b6[_0xa89c0e(0xe9)]];if(_0x2a0203[_0xa89c0e(0xca)](_0x5ec1a4))return _0xd4a7b6[_0xa89c0e(0x10f)];if(_0xea6c81[_0xa89c0e(0xca)](_0x5ec1a4))return _0xd4a7b6[_0xa89c0e(0xa4)];if(_0x4b330e[_0xa89c0e(0xca)](_0x5ec1a4))return _0xd4a7b6[_0xa89c0e(0x9d)];return _0xd4a7b6[_0xa89c0e(0xa3)];}[_0x1404c2(0x10c)+_0x1404c2(0x121)](_0x5358b1){const _0x5cf464=_0x1404c2,_0x35c6fd=_0x5358b1[_0x5cf464(0x98)]('?')[0x6b*-0x4a+-0x143b*-0x1+0xab3*0x1][_0x5cf464(0x98)]('#')[-0x25*0x68+-0x325+-0x60f*-0x3];return _0x35c6fd[_0x5cf464(0x98)]('.')[_0x5cf464(0x10a)]()?.[_0x5cf464(0x11f)+'e']()||'';}[_0x1404c2(0xfd)+_0x1404c2(0xd8)+'nt'](_0x1ce06d,_0x6c8548){const _0x4666e3=_0x1404c2,_0x52ee84={};_0x52ee84[_0x4666e3(0x10d)]=function(_0x56e400,_0x5f02e3){return _0x56e400===_0x5f02e3;},_0x52ee84[_0x4666e3(0x117)]=_0x4666e3(0xbc),_0x52ee84[_0x4666e3(0xd5)]=function(_0x218af5,_0x494ca9){return _0x218af5===_0x494ca9;},_0x52ee84[_0x4666e3(0xf0)]=_0x4666e3(0xc4),_0x52ee84[_0x4666e3(0xe3)]=_0x4666e3(0xd9);const _0x12b819=_0x52ee84,_0x4f8acb=this[_0x4666e3(0x10c)+_0x4666e3(0x121)](_0x1ce06d);let _0x5a803c=null;if(_0x12b819[_0x4666e3(0x10d)](_0x6c8548,_0x12b819[_0x4666e3(0x117)]))_0x5a803c=MessagingService[_0x4666e3(0xfc)+_0x4666e3(0xff)];else{if(_0x12b819[_0x4666e3(0xd5)](_0x6c8548,_0x12b819[_0x4666e3(0xf0)]))_0x5a803c=MessagingService[_0x4666e3(0xed)+_0x4666e3(0xff)];else _0x12b819[_0x4666e3(0xd5)](_0x6c8548,_0x12b819[_0x4666e3(0xe3)])&&(_0x5a803c=MessagingService[_0x4666e3(0xc6)+_0x4666e3(0xff)]);}if(_0x5a803c&&!_0x5a803c[_0x4666e3(0xca)](_0x4f8acb))return{'success':![],'error':_0x4666e3(0xd4)+'\x20'+_0x6c8548+_0x4666e3(0x109)+_0x4f8acb+(_0x4666e3(0xf5)+_0x4666e3(0xb1)+_0x4666e3(0xf2)+_0x4666e3(0xf9)+_0x4666e3(0x119))+_0x5a803c[_0x4666e3(0x112)](',\x20')+'.','acceptedFormats':_0x5a803c};return null;}async[_0x1404c2(0xfa)+_0x1404c2(0x96)](_0x462d75,_0x1b21e6,_0x26cf4b){const _0x4fae30=_0x1404c2,_0x436efb={};_0x436efb[_0x4fae30(0x125)]=_0x4fae30(0xe2)+_0x4fae30(0x104)+_0x4fae30(0xbb)+_0x4fae30(0x94);const _0x3c99bd=_0x436efb;this[_0x4fae30(0xe1)+_0x4fae30(0xcb)]();try{const _0x2a0c34={};_0x2a0c34[_0x4fae30(0x114)+'en']=_0x462d75,_0x2a0c34[_0x4fae30(0xea)+'d']=_0x1b21e6,_0x2a0c34[_0x4fae30(0x11b)]=_0x26cf4b;const _0x3f25c5=await this[_0x4fae30(0xf4)][_0x4fae30(0x93)](_0x3c99bd[_0x4fae30(0x125)],_0x2a0c34);return _0x3f25c5[_0x4fae30(0xf8)];}catch(_0x38d879){const _0x4187aa={};return _0x4187aa[_0x4fae30(0x107)]=![],_0x4187aa[_0x4fae30(0xcc)]=_0x38d879[_0x4fae30(0xd3)]?.[_0x4fae30(0xf8)]?.[_0x4fae30(0x11b)]||_0x38d879[_0x4fae30(0x11b)],_0x4187aa;}}async[_0x1404c2(0xad)+_0x1404c2(0x96)](_0x1020f6,_0x510890,_0x3de8d6){const _0xc5581c=_0x1404c2,_0x1025a6={};_0x1025a6[_0xc5581c(0xb0)]=_0xc5581c(0xe2)+_0xc5581c(0x104)+_0xc5581c(0xf3)+_0xc5581c(0x94);const _0x163174=_0x1025a6;this[_0xc5581c(0xe1)+_0xc5581c(0xcb)]();try{const _0x536d76=this[_0xc5581c(0xe7)+_0xc5581c(0xee)](_0x3de8d6),_0x15c1c0=this[_0xc5581c(0xfd)+_0xc5581c(0xd8)+'nt'](_0x3de8d6,_0x536d76);if(_0x15c1c0)return _0x15c1c0;const _0x3a5348={};_0x3a5348[_0xc5581c(0x114)+'en']=_0x1020f6,_0x3a5348[_0xc5581c(0xea)+'d']=_0x510890,_0x3a5348[_0xc5581c(0xfe)+_0xc5581c(0x10b)]=_0x3de8d6,_0x3a5348[_0xc5581c(0xae)]=_0x536d76;const _0x1d9428=await this[_0xc5581c(0xf4)][_0xc5581c(0x93)](_0x163174[_0xc5581c(0xb0)],_0x3a5348);return _0x1d9428[_0xc5581c(0xf8)];}catch(_0x556d11){const _0x191ed8={};return _0x191ed8[_0xc5581c(0x107)]=![],_0x191ed8[_0xc5581c(0xcc)]=_0x556d11[_0xc5581c(0xd3)]?.[_0xc5581c(0xf8)]?.[_0xc5581c(0x11b)]||_0x556d11[_0xc5581c(0x11b)],_0x191ed8;}}async[_0x1404c2(0xfa)+_0x1404c2(0xfb)](_0x485de9,_0x9e74d8,_0x261b95){const _0x432dd2=_0x1404c2,_0x5844c8={};_0x5844c8[_0x432dd2(0xbd)]=_0x432dd2(0xe2)+_0x432dd2(0xd2)+_0x432dd2(0x106)+_0x432dd2(0xec);const _0xce7524=_0x5844c8;this[_0x432dd2(0xe1)+_0x432dd2(0xcb)]();try{const _0x130133={};_0x130133[_0x432dd2(0x114)+'en']=_0x485de9,_0x130133[_0x432dd2(0xea)+'d']=_0x9e74d8,_0x130133[_0x432dd2(0xa6)]=_0x261b95;const _0x3affa1=await this[_0x432dd2(0xf4)][_0x432dd2(0x93)](_0xce7524[_0x432dd2(0xbd)],_0x130133);return _0x3affa1[_0x432dd2(0xf8)];}catch(_0x2ca4c3){const _0x13f670={};return _0x13f670[_0x432dd2(0x107)]=![],_0x13f670[_0x432dd2(0xcc)]=_0x2ca4c3[_0x432dd2(0xd3)]?.[_0x432dd2(0xf8)]?.[_0x432dd2(0x11b)]||_0x2ca4c3[_0x432dd2(0x11b)],_0x13f670;}}async[_0x1404c2(0xad)+_0x1404c2(0xfb)](_0x16b483,_0x222c2c,_0x1ce2b0){const _0x11435f=_0x1404c2,_0x2404bd={};_0x2404bd[_0x11435f(0x9b)]=_0x11435f(0xe2)+_0x11435f(0xd2)+_0x11435f(0xdf)+_0x11435f(0xaf);const _0x3005df=_0x2404bd;this[_0x11435f(0xe1)+_0x11435f(0xcb)]();try{const _0x400357=this[_0x11435f(0xe7)+_0x11435f(0xee)](_0x1ce2b0),_0xe59e3d=this[_0x11435f(0xfd)+_0x11435f(0xd8)+'nt'](_0x1ce2b0,_0x400357);if(_0xe59e3d)return _0xe59e3d;const _0x3d4583={};_0x3d4583[_0x11435f(0x114)+'en']=_0x16b483,_0x3d4583[_0x11435f(0xea)+'d']=_0x222c2c,_0x3d4583[_0x11435f(0xfe)+_0x11435f(0x10b)]=_0x1ce2b0,_0x3d4583[_0x11435f(0xae)]=_0x400357;const _0x19908f=await this[_0x11435f(0xf4)][_0x11435f(0x93)](_0x3005df[_0x11435f(0x9b)],_0x3d4583);return _0x19908f[_0x11435f(0xf8)];}catch(_0xce0f2d){const _0x550bc0={};return _0x550bc0[_0x11435f(0x107)]=![],_0x550bc0[_0x11435f(0xcc)]=_0xce0f2d[_0x11435f(0xd3)]?.[_0x11435f(0xf8)]?.[_0x11435f(0x11b)]||_0xce0f2d[_0x11435f(0x11b)],_0x550bc0;}}async[_0x1404c2(0x102)](_0x2390eb,_0x21d2d5,_0x5038a5,_0x2ff2a3,_0x4b2cf1){const _0x23c2de=_0x1404c2,_0x25d73c={};_0x25d73c[_0x23c2de(0x11a)]=_0x23c2de(0xe6)+_0x23c2de(0xc2);const _0x460973=_0x25d73c;this[_0x23c2de(0xe1)+_0x23c2de(0xcb)]();try{const _0x336660={};_0x336660[_0x23c2de(0x114)+'en']=_0x2390eb,_0x336660[_0x23c2de(0xf7)]=_0x21d2d5,_0x336660[_0x23c2de(0xd6)]=_0x5038a5,_0x336660['to']=_0x2ff2a3,_0x336660[_0x23c2de(0xfe)+'s']=_0x4b2cf1;const _0xf7ef28=await this[_0x23c2de(0xf4)][_0x23c2de(0x93)](_0x460973[_0x23c2de(0x11a)],_0x336660);return _0xf7ef28[_0x23c2de(0xf8)];}catch(_0x5da773){const _0x34f696={};return _0x34f696[_0x23c2de(0x107)]=![],_0x34f696[_0x23c2de(0xcc)]=_0x5da773[_0x23c2de(0xd3)]?.[_0x23c2de(0xf8)]?.[_0x23c2de(0x11b)]||_0x5da773[_0x23c2de(0x11b)],_0x34f696;}}async[_0x1404c2(0x116)+_0x1404c2(0x118)](_0x5effa1,_0x25b95b,_0x2a317b){const _0x5df361=_0x1404c2,_0x94d96a={};_0x94d96a[_0x5df361(0x126)]=_0x5df361(0xe2)+_0x5df361(0xa2)+_0x5df361(0xf6)+_0x5df361(0xce)+'e';const _0x30cb1d=_0x94d96a;this[_0x5df361(0xe1)+_0x5df361(0xcb)]();try{const _0x191b64={};_0x191b64[_0x5df361(0x114)+'en']=_0x5effa1,_0x191b64[_0x5df361(0xea)+'d']=_0x25b95b,_0x191b64[_0x5df361(0x11b)]=_0x2a317b;const _0x2759b8=await this[_0x5df361(0xf4)][_0x5df361(0x93)](_0x30cb1d[_0x5df361(0x126)],_0x191b64);return _0x2759b8[_0x5df361(0xf8)];}catch(_0x55ea56){const _0xb4c33d={};return _0xb4c33d[_0x5df361(0x107)]=![],_0xb4c33d[_0x5df361(0xcc)]=_0x55ea56[_0x5df361(0xd3)]?.[_0x5df361(0xf8)]?.[_0x5df361(0x11b)]||_0x55ea56[_0x5df361(0x11b)],_0xb4c33d;}}async[_0x1404c2(0xc5)+_0x1404c2(0x96)](_0x17a487,_0x568a30){const _0x5e14c2=_0x1404c2;this[_0x5e14c2(0xe1)+_0x5e14c2(0xcb)]();try{const _0x5903d6={};_0x5903d6[_0x5e14c2(0x114)+'en']=_0x17a487,_0x5903d6[_0x5e14c2(0xea)+'d']=_0x568a30;const _0xf8fd8e={};_0xf8fd8e[_0x5e14c2(0xcd)]=_0x5903d6;const _0x876614=await this[_0x5e14c2(0xf4)][_0x5e14c2(0xb2)](_0x5e14c2(0xe2)+_0x5e14c2(0x104)+_0x5e14c2(0xb9)+'le',_0xf8fd8e);return _0x876614[_0x5e14c2(0xf8)];}catch(_0x448aa5){const _0x4637fc={};return _0x4637fc[_0x5e14c2(0x107)]=![],_0x4637fc[_0x5e14c2(0xcc)]=_0x448aa5[_0x5e14c2(0xd3)]?.[_0x5e14c2(0xf8)]?.[_0x5e14c2(0x11b)]||_0x448aa5[_0x5e14c2(0x11b)],_0x4637fc;}}async[_0x1404c2(0xc5)+_0x1404c2(0xfb)](_0x5dd397,_0x173015){const _0xe80c95=_0x1404c2;this[_0xe80c95(0xe1)+_0xe80c95(0xcb)]();try{const _0x27b9df={};_0x27b9df[_0xe80c95(0x114)+'en']=_0x5dd397,_0x27b9df[_0xe80c95(0xea)+'d']=_0x173015;const _0x27f8a6={};_0x27f8a6[_0xe80c95(0xcd)]=_0x27b9df;const _0x3f4cfe=await this[_0xe80c95(0xf4)][_0xe80c95(0xb2)](_0xe80c95(0xe2)+_0xe80c95(0xd2)+_0xe80c95(0xe4)+_0xe80c95(0x11e),_0x27f8a6);return _0x3f4cfe[_0xe80c95(0xf8)];}catch(_0x42c9cf){const _0x480fb7={};return _0x480fb7[_0xe80c95(0x107)]=![],_0x480fb7[_0xe80c95(0xcc)]=_0x42c9cf[_0xe80c95(0xd3)]?.[_0xe80c95(0xf8)]?.[_0xe80c95(0x11b)]||_0x42c9cf[_0xe80c95(0x11b)],_0x480fb7;}}}function _0x1385(){const _0x29ec38=['mp4','gif','ge/instagr','response','Formato\x20de','rNoWU','body','MessagingS','taAttachme','image','flv','10936cXgOkJ','AfEXz','gNuDV','webp','am/sendFil','exports','checkCrede','/hub/messa','lDYLJ','am/getProf','mov','/hub/email','getFileTyp','ão\x20inválid','zgRmB','recipientI','webm','tMessage','META_VIDEO','eFromUrl','tiff','KpoId','tCUpE','Meta.\x20Form','k/sendFile','api','\x22\x20não\x20é\x20ac','livre/send','subject','data','atos\x20aceit','sendTextTo','Instagram','META_AUDIO','validateMe','attachment','_FORMATS','QsBRQ','jpeg','sendEmail','daudd','ge/faceboo','as.','am/sendTex','success','ZXXKz','\x20\x22.','pop','Url','getExtensi','oBpen','alsValidat','geSPM','As\x20credenc','sqHjs','join','wma','channelTok','jpg','sendToMerc','kkWUG','adoLivre','os:\x20','KSkqr','message','1992488QOMacp','OupbV','ile','toLowerCas','png','onFromUrl','2534zJteks','eewmn','5668800tDwoJO','mJxKi','DwmEI','2344986PwvgVT','xoXRW','post','Message','aac','Facebook','mp3','split','9iaveEV','iente\x20não\x20','HxrWj','iais\x20do\x20cl','vWkPr','Vtrij','1245834xhRnJi','Gcwzp','wav','ge/mercado','gQIax','dcgiV','client','text','bmp','NKzhN','m4a','4993630kxGZvL','ogg','fkyls','sendFileTo','type','eMessage','GUNQZ','eito\x20pela\x20','get','DYqGM','ELRBU','file','22SYlfmh','foram\x20vali','wmv','k/getProfi','WVqhc','k/sendText','audio','MumhE','avi','62609HDxIPQ','ervice','nQrgZ','/send','YovOq','video','getProfile','META_IMAGE','dadas\x20ou\x20s','isCredenti','mkv','includes','ntials','error','params','TextMessag','vDAAR'];_0x1385=function(){return _0x29ec38;};return _0x1385();}function _0x21a9(_0x5ac7a4,_0x1cb005){_0x5ac7a4=_0x5ac7a4-(-0x1401+0x21fa+0x84*-0x1a);const _0x2e6256=_0x1385();let _0x469f5a=_0x2e6256[_0x5ac7a4];return _0x469f5a;}MessagingService[_0x1404c2(0xfc)+_0x1404c2(0xff)]=[_0x1404c2(0x95),_0x1404c2(0xa9),_0x1404c2(0xa1),_0x1404c2(0xd0)],MessagingService[_0x1404c2(0xed)+_0x1404c2(0xff)]=[_0x1404c2(0xd0),_0x1404c2(0xab),_0x1404c2(0xbe),_0x1404c2(0xe5),_0x1404c2(0xeb)],MessagingService[_0x1404c2(0xc6)+_0x1404c2(0xff)]=[_0x1404c2(0x115),_0x1404c2(0x101),_0x1404c2(0x120),_0x1404c2(0xd1)];const _0x355ca6={};_0x355ca6[_0x1404c2(0xd7)+_0x1404c2(0xc0)]=MessagingService,module[_0x1404c2(0xe0)]=_0x355ca6;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
'use strict';
|
|
1
|
+
'use strict';function _0x3a59(){const _0x2b4f12=['removeWebh','4439953IaTDwq','sKkbi','ntials','success','etup','ookToken','delete','18mAiHiK','isCredenti','98fgPlQR','As\x20credenc','vice','dadas\x20ou\x20s','me\x20waitFor','data','1187532BLGSIh','Validation','e\x20a\x20valida','foram\x20vali','55STeKZl','exports','as.\x20Aguard','15qGJWVh','302840eTrPkD','emove/','ão\x20inválid','/webhook/r','webhookUrl','post','xejGH','WebhookSer','api','YVlLN','setupWebho','checkCrede','34205424bUOmJa','/webhook/s','()\x20primeir','verifyWebh','client','3904216cmgTIb','channelTok','22566fdmNsf','470622kHwaML','ção\x20ou\x20cha','ook','15PAPsNo','iente\x20não\x20','iais\x20do\x20cl','alsValidat'];_0x3a59=function(){return _0x2b4f12;};return _0x3a59();}const _0x40cb50=_0x1c7a;(function(_0x58e9fd,_0x113c37){const _0x3ebd6c=_0x1c7a,_0x137646=_0x58e9fd();while(!![]){try{const _0x9de002=parseInt(_0x3ebd6c(0x19e))/(-0x8f+0x90e+-0x43f*0x2)*(parseInt(_0x3ebd6c(0x1bf))/(-0x1aeb*0x1+0x1ef5+-0x56*0xc))+-parseInt(_0x3ebd6c(0x1ab))/(0x237f+0x164d+-0x39c9)*(parseInt(_0x3ebd6c(0x1a4))/(0x1bb*0x9+-0x149a+0x50b*0x1))+parseInt(_0x3ebd6c(0x190))/(-0x2*-0x9f1+0xbfb+-0xfec*0x2)*(-parseInt(_0x3ebd6c(0x1c0))/(0x2c2*-0x5+0x1e51*-0x1+0x2c21))+-parseInt(_0x3ebd6c(0x195))/(0x1*0x6c6+0x55*-0x6b+0x1cc8)+-parseInt(_0x3ebd6c(0x1bd))/(-0xa19+0x1*-0x6a3+0x1*0x10c4)*(parseInt(_0x3ebd6c(0x19c))/(0xc4a+0x658+-0x17*0xcf))+-parseInt(_0x3ebd6c(0x1ac))/(-0x6ed+-0x24c3+0x2bba)*(-parseInt(_0x3ebd6c(0x1a8))/(-0x2400+-0x1575*0x1+0x3980))+parseInt(_0x3ebd6c(0x1b8))/(-0x5*0x30f+0xc9*-0x10+0x1be7);if(_0x9de002===_0x113c37)break;else _0x137646['push'](_0x137646['shift']());}catch(_0x3d0ec1){_0x137646['push'](_0x137646['shift']());}}}(_0x3a59,0x11ad12+-0x4119a+-0x1be2d*0x1));class WebhookService{constructor(_0x3e1ae7,_0x564a49){const _0x35dc87=_0x1c7a;this[_0x35dc87(0x1b4)]=_0x3e1ae7,this[_0x35dc87(0x1bc)]=_0x564a49;}[_0x40cb50(0x1b7)+_0x40cb50(0x197)](_0x5676ca=!![]){const _0x4c3c01=_0x40cb50,_0x599613={};_0x599613[_0x4c3c01(0x196)]=_0x4c3c01(0x19f)+_0x4c3c01(0x192)+_0x4c3c01(0x191)+_0x4c3c01(0x1a7)+_0x4c3c01(0x1a1)+_0x4c3c01(0x1ae)+_0x4c3c01(0x1aa)+_0x4c3c01(0x1a6)+_0x4c3c01(0x18e)+_0x4c3c01(0x1a2)+_0x4c3c01(0x1a5)+_0x4c3c01(0x1ba)+'o.';const _0x30c417=_0x599613;if(this[_0x4c3c01(0x1bc)]&&!this[_0x4c3c01(0x1bc)][_0x4c3c01(0x19d)+_0x4c3c01(0x193)+'ed']()&&_0x5676ca)throw new Error(_0x30c417[_0x4c3c01(0x196)]);}async[_0x40cb50(0x1b6)+'ok'](_0x44f271,_0x578695){const _0x1c9e83=_0x40cb50,_0x421c49={};_0x421c49[_0x1c9e83(0x1b5)]=_0x1c9e83(0x1b9)+_0x1c9e83(0x199);const _0x1e8ebb=_0x421c49;this[_0x1c9e83(0x1b7)+_0x1c9e83(0x197)]();try{const _0x3bb9c6={};_0x3bb9c6[_0x1c9e83(0x1b0)]=_0x44f271,_0x3bb9c6[_0x1c9e83(0x1be)+'en']=_0x578695;const _0x5953f8=await this[_0x1c9e83(0x1b4)][_0x1c9e83(0x1b1)](_0x1e8ebb[_0x1c9e83(0x1b5)],_0x3bb9c6);return _0x5953f8[_0x1c9e83(0x1a3)][_0x1c9e83(0x198)];}catch(_0x22ea46){return![];}}async[_0x40cb50(0x194)+_0x40cb50(0x18f)](_0x25201d){const _0x160f32=_0x40cb50;this[_0x160f32(0x1b7)+_0x160f32(0x197)]();try{const _0xacf1c7=await this[_0x160f32(0x1b4)][_0x160f32(0x19b)](_0x160f32(0x1af)+_0x160f32(0x1ad)+_0x25201d);return _0xacf1c7[_0x160f32(0x1a3)][_0x160f32(0x198)];}catch(_0x3f2148){return![];}}[_0x40cb50(0x1bb)+_0x40cb50(0x19a)](_0x3bcfae,_0x287520){const _0x7440f4=_0x40cb50,_0x22d666={};_0x22d666[_0x7440f4(0x1b2)]=function(_0x49dbf8,_0x541505){return _0x49dbf8===_0x541505;};const _0x3442bb=_0x22d666;return _0x3442bb[_0x7440f4(0x1b2)](_0x3bcfae,_0x287520);}}function _0x1c7a(_0x51c7c7,_0x3d98d5){_0x51c7c7=_0x51c7c7-(-0xa*0xad+-0xa*0x2c8+0x110*0x22);const _0x27c67c=_0x3a59();let _0x59f7f4=_0x27c67c[_0x51c7c7];return _0x59f7f4;}const _0x3b49a0={};_0x3b49a0[_0x40cb50(0x1b3)+_0x40cb50(0x1a0)]=WebhookService,module[_0x40cb50(0x1a9)]=_0x3b49a0;
|
package/dist/types/index.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
'use strict';var
|
|
1
|
+
'use strict';var _0x2fd8fd=_0x373a;(function(_0x2d27b1,_0x356794){var _0x56a84b=_0x373a,_0x26175d=_0x2d27b1();while(!![]){try{var _0x222330=parseInt(_0x56a84b(0x1e1))/(-0x1d*0x33+-0x2479+0x2a41)+-parseInt(_0x56a84b(0x1e5))/(-0x1d44+-0x8*0x473+0x40de)*(-parseInt(_0x56a84b(0x1de))/(-0xcab*-0x1+-0xc*-0x1fc+-0x2478))+parseInt(_0x56a84b(0x1e9))/(-0x19d2+-0x1*-0x2357+-0x981)+parseInt(_0x56a84b(0x1e8))/(-0x6ee*-0x1+-0x2*0xe21+0x5*0x445)*(-parseInt(_0x56a84b(0x1e4))/(0x10cf+-0xb9*0x11+-0x60*0xc))+parseInt(_0x56a84b(0x1e7))/(0x1a96+-0x1c99*-0x1+0x28*-0x161)*(-parseInt(_0x56a84b(0x1df))/(0x1fe2*0x1+-0x2209*-0x1+-0x65*0xa7))+parseInt(_0x56a84b(0x1e2))/(0x4f1+0x1e80+0x338*-0xb)*(-parseInt(_0x56a84b(0x1e0))/(0x20c0+-0x16*0x52+-0x19aa))+parseInt(_0x56a84b(0x1e6))/(0x1*0x25e5+0x41e*0x5+-0xdc*0x44);if(_0x222330===_0x356794)break;else _0x26175d['push'](_0x26175d['shift']());}catch(_0x129758){_0x26175d['push'](_0x26175d['shift']());}}}(_0x5a8c,-0xafcfb+-0x141d84+-0x20*-0x16043));module[_0x2fd8fd(0x1e3)]={};function _0x373a(_0x4d2b94,_0x2feed3){_0x4d2b94=_0x4d2b94-(0x2*0x8c2+0x2dd+0x1*-0x1283);var _0x5b76f3=_0x5a8c();var _0x4f3100=_0x5b76f3[_0x4d2b94];return _0x4f3100;}function _0x5a8c(){var _0x39a668=['11253732tslFlf','6667915sybnAD','4981208syawPa','3Oqfrhw','8Cxtrob','30fuojQQ','271820nIoFdY','3609081uzzLVg','exports','6SwxPfT','2854986oHIokQ','22517000nKYnPE'];_0x5a8c=function(){return _0x39a668;};return _0x5a8c();}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@connection-hub/sdk",
|
|
3
|
-
"version": "0.0.
|
|
3
|
+
"version": "0.0.11",
|
|
4
4
|
"description": "SDK oficial para a API do Connection Hub",
|
|
5
5
|
"main": "dist/index.js",
|
|
6
6
|
"module": "dist/index.js",
|
|
@@ -10,7 +10,9 @@
|
|
|
10
10
|
"watch": "tsc --watch",
|
|
11
11
|
"test": "jest",
|
|
12
12
|
"lint": "eslint src",
|
|
13
|
-
"prepublishOnly": "npm run build"
|
|
13
|
+
"prepublishOnly": "npm run build",
|
|
14
|
+
"publish:npm": "npm publish",
|
|
15
|
+
"publish:dry": "npm publish --dry-run"
|
|
14
16
|
},
|
|
15
17
|
"files": [
|
|
16
18
|
"dist",
|