@connection-hub/sdk
Version:
SDK oficial para a API do Connection Hub
1 lines • 11.4 kB
JavaScript
'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;