@communi/chat-api-client-typescript 2.9.19 → 2.9.20
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/index.js +1 -1
- package/package.json +1 -1
- package/src/api-version.js +1 -1
- package/src/axios.js +1 -1
- package/src/call/call.d.ts +2 -1
- package/src/call/call.js +1 -1
- package/src/call/index.js +1 -1
- package/src/call/types.js +1 -1
- package/src/client.js +1 -1
- package/src/config/config.js +1 -1
- package/src/config/index.js +1 -1
- package/src/config/types.js +1 -1
- package/src/demo.js +1 -1
- package/src/guest/guest.js +1 -1
- package/src/guest/index.js +1 -1
- package/src/guest/types.js +1 -1
- package/src/index.js +1 -1
- package/src/jwt.js +1 -1
- package/src/message/index.js +1 -1
- package/src/message/message.js +1 -1
- package/src/message/types.js +1 -1
- package/src/notification/index.js +1 -1
- package/src/notification/notification.js +1 -1
- package/src/notification/types.js +1 -1
- package/src/preview-link/index.js +1 -1
- package/src/preview-link/preview-link.js +1 -1
- package/src/preview-link/types.js +1 -1
- package/src/search/index.js +1 -1
- package/src/search/search.js +1 -1
- package/src/search/types.js +1 -1
- package/src/session/index.js +1 -1
- package/src/session/session.js +1 -1
- package/src/session/types.js +1 -1
- package/src/setting/index.js +1 -1
- package/src/setting/setting.js +1 -1
- package/src/setting/types.js +1 -1
- package/src/sticker/index.js +1 -1
- package/src/sticker/sticker.js +1 -1
- package/src/sticker/types.js +1 -1
- package/src/super-groups/index.js +1 -1
- package/src/super-groups/super-groups.js +1 -1
- package/src/tag/index.js +1 -1
- package/src/tag/tag.js +1 -1
- package/src/tag/types.js +1 -1
- package/src/tag-category/category.js +1 -1
- package/src/tag-category/index.js +1 -1
- package/src/tag-category/types.js +1 -1
- package/src/thread/index.js +1 -1
- package/src/thread/thread.js +1 -1
- package/src/thread/types.js +1 -1
- package/src/ticket/index.js +1 -1
- package/src/ticket/ticket.js +1 -1
- package/src/ticket/types.js +1 -1
- package/src/types.js +1 -1
- package/src/upload/index.js +1 -1
- package/src/upload/types.js +1 -1
- package/src/upload/upload.js +1 -1
- package/src/user/index.js +1 -1
- package/src/user/types.js +1 -1
- package/src/user/user.js +1 -1
- package/src/utils.js +1 -1
package/index.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
'use strict';(function(
|
|
1
|
+
'use strict';(function(H,p){var j=d,E=H();while(!![]){try{var T=-parseInt(j(0xc9))/0x1+parseInt(j(0xc8))/0x2*(parseInt(j(0xca))/0x3)+-parseInt(j(0xc6))/0x4+-parseInt(j(0xcb))/0x5+-parseInt(j(0xcd))/0x6+parseInt(j(0xc5))/0x7+-parseInt(j(0xc7))/0x8*(-parseInt(j(0xcc))/0x9);if(T===p)break;else E['push'](E['shift']());}catch(c){E['push'](E['shift']());}}}(N,0x936f3));function d(H,p){var E=N();return d=function(T,c){T=T-0xc5;var j=E[T];return j;},d(H,p);}export*from'./src';function N(){var Z=['1157775aslzXM','2127591sTGIPm','5414556nYVXve','8052492azPHSo','4288168jqomaN','72ZxVuFh','133726cgwJGy','534896uqlzLP','3ukXScF'];N=function(){return Z;};return N();}
|
package/package.json
CHANGED
package/src/api-version.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
'use strict';
|
|
1
|
+
'use strict';const Z=d;(function(H,p){const j=d,E=H();while(!![]){try{const T=-parseInt(j(0x1f9))/0x1+parseInt(j(0x208))/0x2*(parseInt(j(0x209))/0x3)+-parseInt(j(0x202))/0x4+-parseInt(j(0x1fe))/0x5+parseInt(j(0x1fc))/0x6+parseInt(j(0x205))/0x7+-parseInt(j(0x1f7))/0x8*(-parseInt(j(0x20a))/0x9);if(T===p)break;else E['push'](E['shift']());}catch(c){E['push'](E['shift']());}}}(N,0x6f833));function d(H,p){const E=N();return d=function(T,c){T=T-0x1f1;let j=E[T];return j;},d(H,p);}function N(){const z=['9vsqrgh','er/v1','call/','icati','previ','h/v1.','staff','/v1.0','desk/','uploa','on/v1','ew-li','6615736cGCadh','stick','453423zqrXIx','catio','searc','2964270rjcGMr','notif','1283775elRGPT','nk/v1','chat/','d/v1.','3035224dokaxJ','n/v1.','appli','1046304iJRtFc','v1.0','user/','2194PWTJlK','1245OnSDiE'];N=function(){return z;};return N();}export const PS_CHAT_API_VERSION=Z(0x200)+Z(0x206),PS_SEARCH_API_VERSION=Z(0x1fb)+Z(0x20f)+'0',PS_PREVIEW_LINK_API_VERSION=Z(0x20e)+Z(0x1f6)+Z(0x1ff)+'.0',PS_UPLOAD_API_VERSION=Z(0x1f4)+Z(0x201)+'0',PS_NOTIFICATION_API_VERSION=Z(0x1fd)+Z(0x20d)+Z(0x1f5)+'.0',PS_STICKER_API_VERSION=Z(0x1f8)+Z(0x20b)+'.0',PS_USER_API_VERSION=Z(0x207)+Z(0x206),PS_DESK_API_VERSION=Z(0x1f3)+Z(0x206),PS_APPLICATION_API_VERSION=Z(0x204)+Z(0x1fa)+Z(0x203)+'0',PS_STAFF_API_VERSION=Z(0x1f1)+Z(0x1f2),PS_CALL_API_VERSION=Z(0x20c)+Z(0x206);
|
package/src/axios.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
'use strict';const
|
|
1
|
+
'use strict';const L=H;(function(R,s){const K=H,W=R();while(!![]){try{const t=parseInt(K(0x182))/0x1+parseInt(K(0x13b))/0x2+parseInt(K(0x18b))/0x3+parseInt(K(0x178))/0x4*(-parseInt(K(0x147))/0x5)+parseInt(K(0x142))/0x6+-parseInt(K(0x143))/0x7+-parseInt(K(0x177))/0x8;if(t===s)break;else W['push'](W['shift']());}catch(U){W['push'](W['shift']());}}}(N,0xd5dd6));import E from'axios';import{PSResponseError as T}from'./types';import j from'axios-retry';function H(d,p){const E=N();return H=function(T,c){T=T-0x131;let j=E[T];return j;},H(d,p);}import{decodeJWT as Z,isJWTExpired as z}from'./jwt';import{errorLogger as D,requestLogger as v,responseLogger as C}from'./utils';const a=0x191;function N(){const F=['uest','API\x20','use','ion','inter','refre','delet','onse','rIdem','est\x20k','ỗi\x20-\x20','messa','Insta','nce','Inval','Refre','\x20bị\x204','đang\x20','công\x20','enPro','code','post','tRequ','CE_TO','confi','NVALI','baseU','statu','hác\x20đ','get','fetch','nse','Beare','error','isErr','eShow','ge_co','KEN_I','n/jso','01\x20rồ','appli','heade','axios','quest','geErr','osReq','orRes','19026832byIIBP','92EkiluO','shTok','rizat','sent','patch','getJW','handl','ken','ror','isNet','1000539WqsROY','langu','h\x20tok','reque','Autho','ken\x20t','ken\x20l','\x20API\x20','efres','4097178czbvrD','poten','ử\x20lại','url','FromR','age','catio','ponse','early','_DEVI','id\x20re','\x20requ','cepto','http_','sh\x20to','mise','=>\x20th','estEr','\x20type','doAxi','creat','optio','jwt','workO','M4016','log','Messa','data','Token','2476484dSyixS','put','respo','espon','ang\x20r','eResp','i\x20=>\x20','9247326sOnbfy','3966893rqlkbB','i\x20như','hành\x20','ng\x20có','287975TqsSDh'];N=function(){return F;};return N();}export class PSChatAxiosDelegate{[L(0x134)];[L(0x133)+'ns'];[L(0x172)+L(0x154)+L(0x155)];[L(0x14d)+L(0x179)+L(0x15b)+L(0x19a)];[L(0x17e)+L(0x16b)+L(0x138)+L(0x174)+'or'];[L(0x183)+L(0x190)];constructor(R,W,t,U,G){const q=L;this[q(0x134)]=R,this[q(0x133)+'ns']=W,this[q(0x183)+q(0x190)]=G,this[q(0x172)+q(0x154)+q(0x155)]=E[q(0x132)+'e']({'baseURL':t,'headers':{'Content-Type':q(0x170)+q(0x191)+q(0x16e)+'n','X-Piscale-Lang':this[q(0x183)+q(0x190)]??'vi'},'timeout':0x2710,'withCredentials':!0x1}),this[q(0x172)+q(0x154)+q(0x155)][q(0x14c)+q(0x197)+'rs'][q(0x185)+'st'][q(0x14a)](async k=>(this[q(0x134)]?this[q(0x193)+q(0x157)+q(0x179)+'en'](this[q(0x134)]):this[q(0x134)]=await this[q(0x133)+'ns'][q(0x166)+q(0x13a)](),k[q(0x171)+'rs'][q(0x186)+q(0x17a)+q(0x14b)]=q(0x168)+'r\x20'+this[q(0x134)],v(k)),k=>D(k)),this[q(0x172)+q(0x154)+q(0x155)][q(0x14c)+q(0x197)+'rs'][q(0x13d)+q(0x167)][q(0x14a)](k=>C(k),async k=>{const i=q,b=k[i(0x160)+'g'];if(k[i(0x13d)+i(0x167)]&&k[i(0x13d)+i(0x167)][i(0x163)+'s']===a&&!b[i(0x17b)]){b[i(0x17b)]=!0x0,this[i(0x14d)+i(0x179)+i(0x15b)+i(0x19a)]?console[i(0x137)](i(0x149)+(b[i(0x162)+'RL']+b[i(0x18e)])+(i(0x158)+i(0x16f)+i(0x144)+i(0x146)+i(0x196)+i(0x151)+i(0x164)+i(0x13f)+i(0x18a)+i(0x184)+'en')):(console[i(0x137)](i(0x149)+(b[i(0x162)+'RL']+b[i(0x18e)])+(i(0x158)+i(0x16f)+i(0x141)+i(0x159)+i(0x14d)+i(0x199)+i(0x17f))),this[i(0x14d)+i(0x179)+i(0x15b)+i(0x19a)]=this[i(0x133)+'ns'][i(0x166)+i(0x13a)]());try{return this[i(0x134)]=await this[i(0x14d)+i(0x179)+i(0x15b)+i(0x19a)],this[i(0x14d)+i(0x179)+i(0x15b)+i(0x19a)]=void 0x0,console[i(0x137)](i(0x157)+i(0x199)+i(0x187)+i(0x145)+i(0x15a)+i(0x19b)+i(0x18d)+i(0x189)+(b[i(0x162)+'RL']+b[i(0x18e)])),this[i(0x172)+i(0x154)+i(0x155)](b);}catch(P){console[i(0x137)](i(0x157)+i(0x199)+i(0x188)+i(0x152)+P);}}return D(k);}),j(this[q(0x172)+q(0x154)+q(0x155)],{'retries':0x3,'retryDelay':()=>0x3e8,'retryCondition':k=>k[q(0x13d)+q(0x167)]!==void 0x0&&k[q(0x13d)+q(0x167)][q(0x163)+'s']!==a&&j[q(0x181)+q(0x135)+q(0x150)+q(0x18c)+q(0x15e)+q(0x19c)+q(0x180)](k)}),this[q(0x17e)+q(0x16b)+q(0x138)+q(0x174)+'or']=U;}[L(0x17d)+'T'](){const A=L;return this[A(0x134)];}[L(0x165)](R,W){const x=L;return this[x(0x131)+x(0x175)+x(0x148)](x(0x165),R,null,W);}[L(0x13c)](R,W,t){const o=L;return this[o(0x131)+o(0x175)+o(0x148)](o(0x13c),R,W,t);}[L(0x15d)](R,W,t){const u=L;return this[u(0x131)+u(0x175)+u(0x148)](u(0x15d),R,W,t);}[L(0x17c)](R,W,t){const J=L;return this[J(0x131)+J(0x175)+J(0x148)](J(0x17c),R,W,t);}[L(0x14e)+'e'](R,W){const Q=L;return this[Q(0x131)+Q(0x175)+Q(0x148)](Q(0x14e)+'e',R,null,W);}[L(0x193)+L(0x157)+L(0x179)+'en']=async R=>{const n=L;if(this[n(0x14d)+n(0x179)+n(0x15b)+n(0x19a)])return;const W=Z(R);W&&z(W)&&(this[n(0x14d)+n(0x179)+n(0x15b)+n(0x19a)]=this[n(0x133)+'ns'][n(0x166)+n(0x13a)](),this[n(0x134)]=await this[n(0x14d)+n(0x179)+n(0x15b)+n(0x19a)],this[n(0x14d)+n(0x179)+n(0x15b)+n(0x19a)]=void 0x0);};[L(0x131)+L(0x175)+L(0x148)]=async(R,W,t,U)=>{const S=L;try{let G;switch(R){case S(0x165):G=await this[S(0x172)+S(0x154)+S(0x155)][S(0x165)](W,U);break;case S(0x14e)+'e':G=await this[S(0x172)+S(0x154)+S(0x155)][S(0x14e)+'e'](W,U);break;case S(0x15d):G=await this[S(0x172)+S(0x154)+S(0x155)][S(0x15d)](W,t,U);break;case S(0x13c):G=await this[S(0x172)+S(0x154)+S(0x155)][S(0x13c)](W,t,U);break;case S(0x17c):G=await this[S(0x172)+S(0x154)+S(0x155)][S(0x17c)](W,t,U);break;case S(0x133)+'ns':G=await this[S(0x172)+S(0x154)+S(0x155)][S(0x133)+'ns'](W,U);break;default:throw new Error(S(0x156)+S(0x195)+S(0x173)+S(0x19d));}return this[S(0x17e)+S(0x140)+S(0x14f)](G);}catch(k){if(k[S(0x13d)+S(0x167)])return this[S(0x17e)+S(0x140)+S(0x14f)](k[S(0x13d)+S(0x167)]);throw k;}};[L(0x17e)+L(0x140)+L(0x14f)](R){const y=L,W=R[y(0x139)];if(this[y(0x16a)+y(0x176)+y(0x192)](R))throw this[y(0x17e)+y(0x16b)+y(0x138)+y(0x174)+'or']&&R[y(0x139)][y(0x153)+'ge']&&R[y(0x163)+'s']!==a&&R[y(0x139)][y(0x153)+y(0x16c)+'de']!==y(0x136)+y(0x194)+y(0x15f)+y(0x16d)+y(0x161)+'D'&&this[y(0x17e)+y(0x16b)+y(0x138)+y(0x174)+'or'](R[y(0x139)][y(0x153)+'ge']),this[y(0x169)+y(0x18f)+y(0x13e)+'se'](R);return W;}[L(0x169)+L(0x18f)+L(0x13e)+'se'](R){const O=L,W=R[O(0x163)+'s'],t=R[O(0x139)],U=new T(t[O(0x153)+'ge']??'');return U[O(0x198)+O(0x15c)]=W,U[O(0x13d)+O(0x167)]=R,U;}[L(0x16a)+L(0x176)+L(0x192)](R){const V=L;return!R[V(0x163)+'s']||R[V(0x163)+'s']<0xc8||0x12c<=R[V(0x163)+'s'];}}
|
package/src/call/call.d.ts
CHANGED
|
@@ -6,7 +6,8 @@ export declare class PSChatCallApiImpl implements IPSChatCallApi {
|
|
|
6
6
|
private axiosDelegate;
|
|
7
7
|
constructor(axiosDelegate: IPSChatAxiosDelegate);
|
|
8
8
|
cancelCall(callId: string): Promise<PSResponse<any>>;
|
|
9
|
-
createCall(receiverId: string): Promise<PSResponse<any>>;
|
|
9
|
+
createCall(receiverId: string, threadId: string, type: string): Promise<PSResponse<any>>;
|
|
10
|
+
switchCallType(callId: string, type: string): Promise<PSResponse<any>>;
|
|
10
11
|
ringingCall(callId: string): Promise<PSResponse<any>>;
|
|
11
12
|
acceptCall(callId: string): Promise<PSResponse<any>>;
|
|
12
13
|
declineCall(callId: string): Promise<PSResponse<any>>;
|
package/src/call/call.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
'use strict';var
|
|
1
|
+
'use strict';function d(H,p){var E=N();return d=function(T,c){T=T-0x1e9;var j=E[T];return j;},d(H,p);}var z=d;(function(p,E){var Z=d,T=p();while(!![]){try{var c=parseInt(Z(0x1f8))/0x1*(parseInt(Z(0x1f7))/0x2)+parseInt(Z(0x205))/0x3*(-parseInt(Z(0x1ea))/0x4)+parseInt(Z(0x204))/0x5+-parseInt(Z(0x20d))/0x6*(-parseInt(Z(0x213))/0x7)+-parseInt(Z(0x1eb))/0x8*(-parseInt(Z(0x214))/0x9)+-parseInt(Z(0x1f2))/0xa+-parseInt(Z(0x209))/0xb*(-parseInt(Z(0x1ef))/0xc);if(c===E)break;else T['push'](T['shift']());}catch(j){T['push'](T['shift']());}}}(N,0xca4dc));import{PS_CALL_API_VERSION as H}from'../api-version';export class PSChatCallApiImpl{[z(0x1ff)+z(0x200)+z(0x201)];constructor(p){var D=z;this[D(0x1ff)+D(0x200)+D(0x201)]=p;}[z(0x1f6)+z(0x1fb)](p){var v=z;return this[v(0x1ff)+v(0x200)+v(0x201)][v(0x1f9)](H+(v(0x206)+v(0x207))+p);}[z(0x210)+z(0x1fc)](p,E,T){var C=z;return this[C(0x1ff)+C(0x200)+C(0x201)][C(0x1f9)](H+C(0x20b),{'receiver':p,'thread_id':E,'type':T});}[z(0x215)+z(0x20e)+z(0x1f1)](p,E){var a=z;return this[a(0x1ff)+a(0x200)+a(0x201)][a(0x1f9)](H+(a(0x20b)+a(0x20f)+a(0x1fa)+a(0x20a))+p,{'type':E});}[z(0x1ed)+z(0x1f4)+'l'](p){var R=z;return this[R(0x1ff)+R(0x200)+R(0x201)][R(0x1f9)](H+(R(0x1f3)+R(0x1fe))+p);}[z(0x1e9)+z(0x1fd)](p){var s=z;return this[s(0x1ff)+s(0x200)+s(0x201)][s(0x1f9)](H+(s(0x1ee)+s(0x20c))+p);}[z(0x1f5)+z(0x212)+'l'](p){var W=z;return this[W(0x1ff)+W(0x200)+W(0x201)][W(0x1f9)](H+(W(0x203)+W(0x202))+p);}[z(0x208)+z(0x211)](p){var U=z;return this[U(0x1ff)+U(0x200)+U(0x201)][U(0x1f9)](H+(U(0x1ec)+U(0x1f0))+p);}}function N(){var r=['lCall','eCall','tCall','ing/','axios','Deleg','ate','ine/','/decl','686465iKWwDz','2816913KvlsPm','/canc','el/','hangu','13228897LKQgxJ','pe/','/call','pt/','42SloZbX','hCall','/swit','creat','pCall','neCal','921998bzmUaY','9MAHbjp','switc','accep','4suvEUQ','4758408aeHFYs','/hang','ringi','/acce','12MjIhcS','up/','Type','11472050mtLJMF','/ring','ngCal','decli','cance','602flYIEt','193QuvwPZ','post','ch-ty'];N=function(){return r;};return N();}
|
package/src/call/index.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
'use strict';function
|
|
1
|
+
'use strict';function N(){var Z=['6738240SNCfjD','558455ruDyyk','4241165jYZgdo','13524700UHkhCl','11904471UIBYZf','4nXqSgP','5186524CLxjsd','8aAsgxw','10414481sdpFEW','3DPIEdM'];N=function(){return Z;};return N();}function d(H,p){var E=N();return d=function(T,c){T=T-0xd7;var j=E[T];return j;},d(H,p);}(function(H,p){var j=d,E=H();while(!![]){try{var T=-parseInt(j(0xd8))/0x1*(parseInt(j(0xdc))/0x2)+parseInt(j(0xe0))/0x3*(-parseInt(j(0xdd))/0x4)+parseInt(j(0xd9))/0x5+parseInt(j(0xd7))/0x6+-parseInt(j(0xdf))/0x7*(parseInt(j(0xde))/0x8)+parseInt(j(0xdb))/0x9+parseInt(j(0xda))/0xa;if(T===p)break;else E['push'](E['shift']());}catch(c){E['push'](E['shift']());}}}(N,0xb5eb2));export*from'./call';
|
package/src/call/types.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
'use strict';function
|
|
1
|
+
'use strict';function d(H,p){var E=N();return d=function(T,c){T=T-0x18a;var j=E[T];return j;},d(H,p);}(function(H,p){var j=d,E=H();while(!![]){try{var T=-parseInt(j(0x190))/0x1*(-parseInt(j(0x18f))/0x2)+parseInt(j(0x18b))/0x3+parseInt(j(0x18c))/0x4*(parseInt(j(0x18e))/0x5)+-parseInt(j(0x193))/0x6*(parseInt(j(0x192))/0x7)+parseInt(j(0x18a))/0x8+parseInt(j(0x191))/0x9+-parseInt(j(0x18d))/0xa;if(T===p)break;else E['push'](E['shift']());}catch(c){E['push'](E['shift']());}}}(N,0x9d4c0));function N(){var Z=['1006038HcaTXG','2751BaFrjk','5286NmmNLA','3495824nBgoSX','2682801kofyRE','2260XvKQnG','11420450KTuXQD','155EFpcvW','16pZzvSe','84003SmQBvu'];N=function(){return Z;};return N();}
|
package/src/client.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
'use strict';const
|
|
1
|
+
'use strict';const N2=H;(function(F,X){const N1=H,Y=F();while(!![]){try{const M=-parseInt(N1(0x1c3))/0x1*(-parseInt(N1(0x1f9))/0x2)+parseInt(N1(0x1f5))/0x3*(-parseInt(N1(0x1e6))/0x4)+parseInt(N1(0x1f2))/0x5+parseInt(N1(0x1cd))/0x6+-parseInt(N1(0x1bd))/0x7+parseInt(N1(0x1ec))/0x8*(parseInt(N1(0x1e2))/0x9)+-parseInt(N1(0x1dc))/0xa;if(M===X)break;else Y['push'](Y['shift']());}catch(e){Y['push'](Y['shift']());}}}(N,0x8c7fa));import{PSChatConfigApiImpl as p}from'./config';import{PSChatThreadApiImpl as E}from'./thread';import{PSChatTagApiImpl as j}from'./tag';function N(){const N8=['Inval','healt','kApi','ser_i','super','dApi','Url','323268ySXyDK','hChec','Uploa','gate','_vers','erApi','creat','\x20miss','eShow','mobil','ext_u','s/hea','ewLin','signa','ken','8170610qhkUQF','age','handl','dDele','Abort','gApi','6751827UKIHMe','kBase','setti','icati','188884sHdlWx','Token','tegor','ppId','confi','previ','8lZPlyo','id\x20or','e_sdk','ngApi','userA','abort','649640qCcFPd','ticke','searc','33AfRPTV','tions','threa','callA','2289570NdqbRw','tagCa','tagAp','ion','appId','id\x20to','ance','messa','Group','stick','Messa','Deleg','ing\x20a','eInst','heck','/user','yApi','ed\x20fe','sApi','geApi','langu','notif','ate','valid','eGues','tApi','onApi','lth-c','uploa','axios','getJW','1167740SmSDWi','hApi','geErr','tchTo','fetch','userI','1CsFnaE','sessi','ateOp'];N=function(){return N8;};return N();}import{PSChatMessageApiImpl as Z}from'./message';import{PSChatAxiosDelegate as z}from'./axios';import{decodeJWT as v}from'./jwt';import{PSChatUserApiImpl as a}from'./user';import{PSChatPreviewLinkApiImpl as R}from'./preview-link';import{PSChatSearchApiImpl as W}from'./search';function H(d,p){const E=N();return H=function(T,c){T=T-0x1a3;let j=E[T];return j;},H(d,p);}import{PSChatUploadApiImpl as t}from'./upload';import{PSChatNotificationApiImpl as G}from'./notification';import{generateBaseUrl as b,generateBaseUploadUrl as K}from'./utils';import{PS_CHAT_API_VERSION as L}from'./api-version';import{PSChatSuperGroupsApiImpl as q}from'./super-groups';import{PSChatStickerApiImpl as i}from'./sticker';import{PSChatSessionApiImpl as o}from'./session';import{PSChatTicketApiImpl as J}from'./ticket';import{PSChatTagCategoryApiImpl as Q}from'./tag-category';import{PSChatGuestApi as y}from'./guest';import{PSChatSettingApiImpl as O}from'./setting';import{PSChatCallApiImpl as V}from'./call';export class PSChatApiClient{[N2(0x1c2)+'d'];[N2(0x1ea)+N2(0x1e1)];[N2(0x1f7)+N2(0x1cb)];[N2(0x1a5)+N2(0x1b1)];[N2(0x1f0)+'pi'];[N2(0x1eb)+N2(0x1d9)+N2(0x1c8)];[N2(0x1f4)+N2(0x1be)];[N2(0x1a7)+N2(0x1d2)];[N2(0x1ba)+N2(0x1cb)];[N2(0x1b3)+N2(0x1e5)+N2(0x1b8)];[N2(0x1ca)+N2(0x1a6)+N2(0x1b0)];[N2(0x1fb)+'i'];[N2(0x1c4)+N2(0x1b8)];[N2(0x1fa)+N2(0x1e8)+N2(0x1ae)];[N2(0x1f3)+N2(0x1b7)];[N2(0x1e4)+N2(0x1ef)];[N2(0x1f8)+'pi'];[N2(0x1c7)+N2(0x1ce)+N2(0x1e3)+N2(0x1cc)];[N2(0x1bb)+N2(0x1a9)+N2(0x1b4)];[N2(0x1bb)+N2(0x1cf)+N2(0x1df)+N2(0x1d0)];constructor(F,X,Y,M,B,N0){const N3=N2;PSChatApiClient[N3(0x1b5)+N3(0x1c5)+N3(0x1f6)](Y),this[N3(0x1c7)+N3(0x1ce)+N3(0x1e3)+N3(0x1cc)]=''+b(Y[N3(0x1fd)])+L+(N3(0x1ad)+N3(0x1d8)+N3(0x1b9)+N3(0x1ac)),this[N3(0x1c2)+'d']=F,this[N3(0x1bb)+N3(0x1a9)+N3(0x1b4)]=new z(X,Y,b(Y[N3(0x1fd)]),B,N0),this[N3(0x1bb)+N3(0x1cf)+N3(0x1df)+N3(0x1d0)]=new z(X,Y,K(Y[N3(0x1fd)]),B),this[N3(0x1ea)+N3(0x1e1)]=new p(this[N3(0x1bb)+N3(0x1a9)+N3(0x1b4)]),this[N3(0x1f7)+N3(0x1cb)]=new E(this[N3(0x1bb)+N3(0x1a9)+N3(0x1b4)]),this[N3(0x1a5)+N3(0x1b1)]=new Z(this[N3(0x1bb)+N3(0x1a9)+N3(0x1b4)]),this[N3(0x1f0)+'pi']=new a(this[N3(0x1bb)+N3(0x1a9)+N3(0x1b4)]),this[N3(0x1eb)+N3(0x1d9)+N3(0x1c8)]=new R(this[N3(0x1bb)+N3(0x1a9)+N3(0x1b4)]),this[N3(0x1f4)+N3(0x1be)]=new W(this[N3(0x1bb)+N3(0x1a9)+N3(0x1b4)]),this[N3(0x1a7)+N3(0x1d2)]=new i(this[N3(0x1bb)+N3(0x1a9)+N3(0x1b4)]),this[N3(0x1ba)+N3(0x1cb)]=new t(this[N3(0x1bb)+N3(0x1cf)+N3(0x1df)+N3(0x1d0)]),this[N3(0x1b3)+N3(0x1e5)+N3(0x1b8)]=new G(this[N3(0x1bb)+N3(0x1a9)+N3(0x1b4)],M),this[N3(0x1ca)+N3(0x1a6)+N3(0x1b0)]=new q(this[N3(0x1bb)+N3(0x1a9)+N3(0x1b4)]),this[N3(0x1fb)+'i']=new j(this[N3(0x1bb)+N3(0x1a9)+N3(0x1b4)]),this[N3(0x1c4)+N3(0x1b8)]=new o(this[N3(0x1bb)+N3(0x1a9)+N3(0x1b4)]),this[N3(0x1fa)+N3(0x1e8)+N3(0x1ae)]=new Q(this[N3(0x1bb)+N3(0x1a9)+N3(0x1b4)]),this[N3(0x1f3)+N3(0x1b7)]=new J(this[N3(0x1bb)+N3(0x1a9)+N3(0x1b4)]),this[N3(0x1e4)+N3(0x1ef)]=new O(this[N3(0x1bb)+N3(0x1a9)+N3(0x1b4)]),this[N3(0x1f8)+'pi']=new V(this[N3(0x1bb)+N3(0x1a9)+N3(0x1b4)]);}[N2(0x1bc)+'T'](){const N4=N2;return this[N4(0x1bb)+N4(0x1a9)+N4(0x1b4)][N4(0x1bc)+'T']();}static[N2(0x1b5)+N2(0x1c5)+N2(0x1f6)](F){const N5=N2;if(!F?.[N5(0x1fd)])throw new Error(N5(0x1c6)+N5(0x1ed)+N5(0x1d4)+N5(0x1aa)+N5(0x1e9));}static async[N2(0x1d3)+N2(0x1ab)+N2(0x1a4)](F){const N6=N2;if(F[N6(0x1da)+'l']?.[N6(0x1f1)+'ed'])throw new Error(N6(0x1e0)+N6(0x1af)+N6(0x1c0)+N6(0x1db));const X=await F[N6(0x1c1)+N6(0x1e7)]();if(F[N6(0x1da)+'l']?.[N6(0x1f1)+'ed'])throw new Error(N6(0x1e0)+N6(0x1af)+N6(0x1c0)+N6(0x1db));const Y=v(X);if(!Y||!Y[N6(0x1d7)+N6(0x1c9)+'d'])throw new Error(N6(0x1c6)+N6(0x1a3)+N6(0x1db));return new PSChatApiClient(Y[N6(0x1d7)+N6(0x1c9)+'d'],X,F,F[N6(0x1d6)+N6(0x1ee)+N6(0x1d1)+N6(0x1fc)],F[N6(0x1de)+N6(0x1d5)+N6(0x1a8)+N6(0x1bf)+'or'],F[N6(0x1b2)+N6(0x1dd)]);}static async[N2(0x1d3)+N2(0x1b6)+'t'](F,X){const N7=N2;return y[N7(0x1d3)+N7(0x1b6)+'t'](F,X);}}
|
package/src/config/config.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
'use strict';function
|
|
1
|
+
'use strict';var z=d;function d(H,p){var E=N();return d=function(T,c){T=T-0x1d6;var j=E[T];return j;},d(H,p);}(function(p,E){var Z=d,T=p();while(!![]){try{var c=parseInt(Z(0x1e5))/0x1+parseInt(Z(0x1ed))/0x2+-parseInt(Z(0x1e2))/0x3*(parseInt(Z(0x1de))/0x4)+parseInt(Z(0x1eb))/0x5+-parseInt(Z(0x1e9))/0x6+-parseInt(Z(0x1ea))/0x7*(parseInt(Z(0x1e6))/0x8)+-parseInt(Z(0x1dc))/0x9*(-parseInt(Z(0x1e4))/0xa);if(c===E)break;else T['push'](T['shift']());}catch(j){T['push'](T['shift']());}}}(N,0x92bf3));import{PS_APPLICATION_API_VERSION as H}from'../api-version';function N(){var a=['5315360WFSZec','Deleg','1841798BZejgS','confi','axios','res=','getLi','fetch','Confi','27xPdMtL','ting?','14716ZrIUsJ','ate','featu','leSiz','546McFeds','/sset','488120qfIWuB','504043aMpDMo','1282360IlZOUP','mitFi','get','2412162acCEGU','42nOIeJZ'];N=function(){return a;};return N();}export class PSChatConfigApiImpl{[z(0x1d7)+z(0x1ec)+z(0x1df)];constructor(p){var D=z;this[D(0x1d7)+D(0x1ec)+D(0x1df)]=p;}[z(0x1da)+z(0x1db)+'gs'](){var v=z;return this[v(0x1d7)+v(0x1ec)+v(0x1df)][v(0x1e8)](v(0x1d6)+'gs');}[z(0x1d9)+z(0x1e7)+z(0x1e1)+'e'](p){var C=z;return this[C(0x1d7)+C(0x1ec)+C(0x1df)][C(0x1e8)](H+(C(0x1e3)+C(0x1dd)+C(0x1e0)+C(0x1d8))+p);}}
|
package/src/config/index.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
'use strict';(function(
|
|
1
|
+
'use strict';function d(H,p){var E=N();return d=function(T,c){T=T-0x1a3;var j=E[T];return j;},d(H,p);}(function(H,p){var j=d,E=H();while(!![]){try{var T=parseInt(j(0x1a5))/0x1*(-parseInt(j(0x1a9))/0x2)+-parseInt(j(0x1a3))/0x3+parseInt(j(0x1a6))/0x4+parseInt(j(0x1a7))/0x5*(-parseInt(j(0x1aa))/0x6)+parseInt(j(0x1ad))/0x7+parseInt(j(0x1a4))/0x8*(parseInt(j(0x1ab))/0x9)+parseInt(j(0x1ac))/0xa*(-parseInt(j(0x1a8))/0xb);if(T===p)break;else E['push'](E['shift']());}catch(c){E['push'](E['shift']());}}}(N,0xce4cf));function N(){var Z=['6NPcTtM','5280534VLzWbP','350RFvUkd','11197263GTqTiG','1980642PzJgJp','8iDDbPM','1303aabHhd','3686592PEjLQp','2833445UjKPNT','69267hkNtpB','1252DQLgDo'];N=function(){return Z;};return N();}export*from'./config';
|
package/src/config/types.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
'use strict';(function(
|
|
1
|
+
'use strict';function N(){var Z=['528033dpuVQj','1619772pOrCvV','17047940KrKZER','3342040iwaNZy','65859JUxxkx','153860LTNdeM','1653840GWeOpF'];N=function(){return Z;};return N();}(function(H,p){var j=d,E=H();while(!![]){try{var T=-parseInt(j(0x1af))/0x1+-parseInt(j(0x1ad))/0x2+-parseInt(j(0x1b3))/0x3+-parseInt(j(0x1ae))/0x4+-parseInt(j(0x1b2))/0x5+-parseInt(j(0x1b0))/0x6+parseInt(j(0x1b1))/0x7;if(T===p)break;else E['push'](E['shift']());}catch(c){E['push'](E['shift']());}}}(N,0x6f7e2));function d(H,p){var E=N();return d=function(T,c){T=T-0x1ad;var j=E[T];return j;},d(H,p);}export{};
|
package/src/demo.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
'use strict';const
|
|
1
|
+
'use strict';function H(d,p){const E=N();return H=function(T,c){T=T-0x167;let j=E[T];return j;},H(d,p);}const C=H;(function(T,c){const v=H,j=T();while(!![]){try{const Z=-parseInt(v(0x212))/0x1*(parseInt(v(0x17a))/0x2)+parseInt(v(0x1a0))/0x3+parseInt(v(0x1b5))/0x4+-parseInt(v(0x225))/0x5+-parseInt(v(0x1c0))/0x6+parseInt(v(0x168))/0x7*(-parseInt(v(0x1fe))/0x8)+-parseInt(v(0x176))/0x9*(-parseInt(v(0x170))/0xa);if(Z===c)break;else j['push'](j['shift']());}catch(z){j['push'](j['shift']());}}}(N,0xefba7));import{PSChatApiClient as E}from'./client';function N(){const k=['dById','RNpuw','zOTMx','bMTug','sIm5i','Ty19x','HiqTN','63760fimYpc','dZM8-','age','lengt','cua\x20K','13d-4','2736POubea','LHBDW','OdgHD','Jksx4','398SJUlQL','RlbmF','g5Nzc','5LZWc','lJ1tb','://pi','ZCI6I','erApi','eMess','y5WZv','U6GYw','JSUzI','Kien','EXA8J','OTMyM','4c2-5','clGXW','BlIjo','threa','i_M-Y','b30-1','OfOTW','zLmWd','Q7V1a','strin','1Jjc6','L_6J0','q9ZSI','TKvvF','log','1NiIs','ance','Ap1Vq','A0Bf9','arROr','Y1I67','ZiI6M','m165W','5644053mjsWLF','29iEc','304-9','8c9-c','eyJhb','ancjj','qOtlH','UF55U','CI6MT','-aLFK','224yN','zFWvo','psOxf','oyGmM','2HKVz','HhX8L','onse\x20','JleHR','WZIoQ','kwODk','NywiZ','2618660ElkKSx','-GQw7','Nhom\x20','jISep','E-Yr_','fdXNl','OjE2O','CI6Ik','TA_xN','RUCBn','nYNjR','11666634QuFmQU','qHG8N','1yoAl','cl9pZ','BoIqO','y3yM5','e93f1','ien','JdIv6','38dae','OJeWY','InR5c','6ffPv','0gWb-','Test','miimi','9T4Ls','it6vE','rsvvg','4PBkd','xlLmN','udF9p','_Bxh4','DY3ND','NNjnb','7PAIf','_nEvg','d\x20=\x20','geApi','Y5ODk','FDmpY','fetch','nwmMK','eThre','KfPqt','pXVCJ','NxCoW','d32I-','Previ','scale','lbjoQ','3fZKJ','BuLB8','kien.','messa','vNAqR','zciLC','stick','tdQcs','d4fc7','be080','jEUkJ','gify','Xh0X3','ig0vQ','VHTQJ','vtkN6','AiRNR','wMTYz','-EFp-','-kj1-','HEsfw','711408OBepiw','K6Ojx','tzqNU','JkSPk','Qp5vQ','3Nywi','Packa','dtkin','37655','kResp','geByI','Kieen','cXUYi','xt0KP','ewLin','PK_w6','OiJwa','A-2hd','8qcoX','OYTIJ','3163WCcyqP','9qeSQ','TL9hh','hdWQi','FWaCx','f4f-t','pYXQi','mOLRZ','dApi','xLRBx','vZJ-D','pAcXq','qTwYt','YiLCJ','owHNy','tyNeN','TY5OD','6ipgy','3iNxv','1924805ZnqdIj','3p6Xp','9.eyJ','CSldw','5NTM3','l90eX','-nuI3','dXNlc','eInst','1ylw6','IwMTY','d_id','K1zkk','jY4Nz','kApi','d5b-9','GciOi','BSca3','-oTsg','Z3e3J','aa9-9','NvjAE','XNjYW','yJfs3','km5qG','xfQ.i','Tg5MD','j5P9v','mEhk6','Zw9XS','5Aivp','wZ-Yr','CI6Ij','qHWGB','.com/','mAoHh','6Et3j','ntIr4','da7-4','15GcP','VTPOx','hXweO','HDJI_','mY_Ep','https','woNAs','b6xDy','f8bc2','yI9W9','eSG-q','Y4NzI','ezmxE','vbSIs','data','NzY3M','YB-Xu','C53Bw','jpg','creat','Threa','previ','ImV4c','42iaCFgM'];N=function(){return k;};return N();}const i=C(0x1a4)+C(0x235)+C(0x185)+C(0x198)+C(0x1cb)+C(0x1bc)+C(0x1e3)+C(0x227)+C(0x215)+C(0x20e)+C(0x23b)+C(0x1d4)+C(0x259)+C(0x167)+C(0x1a8)+C(0x1dd)+C(0x229)+C(0x1b4)+C(0x1f5)+C(0x17b)+C(0x1d5)+C(0x180)+C(0x232)+C(0x22f)+C(0x16b)+C(0x25b)+C(0x1ee)+C(0x1b1)+C(0x1ba)+C(0x1c3)+C(0x245)+C(0x257)+C(0x1fa)+C(0x188)+C(0x1d7)+C(0x21f)+C(0x218)+C(0x1bb)+C(0x23f)+C(0x17c)+C(0x16d)+C(0x19e)+C(0x222)+C(0x1b3)+C(0x203)+C(0x22c)+C(0x22a)+C(0x18b)+C(0x23e)+C(0x1ae)+C(0x226)+C(0x194)+C(0x183)+C(0x18a)+C(0x1c2)+C(0x210)+C(0x200)+C(0x228)+C(0x1b6)+C(0x237)+C(0x1f7)+C(0x216)+C(0x179)+C(0x1e0)+C(0x1bd)+C(0x1af)+C(0x1ad)+C(0x17d)+C(0x214)+C(0x1f3)+C(0x21d)+C(0x19a)+C(0x16e)+C(0x16c)+C(0x22b)+C(0x19f)+C(0x255)+C(0x1d6)+C(0x1fb)+C(0x1ff)+C(0x1b9)+C(0x241)+C(0x201)+C(0x1cf)+C(0x1a1)+C(0x1d0)+C(0x1c1)+C(0x205)+C(0x223)+C(0x21b)+C(0x236)+C(0x16a)+C(0x220)+C(0x23d)+C(0x1c5)+C(0x1d9)+C(0x1d2)+C(0x256)+C(0x1a7)+C(0x25d)+C(0x23c)+C(0x1a6)+C(0x231)+C(0x1ab)+C(0x244)+C(0x224)+C(0x24e)+C(0x248)+C(0x24c)+C(0x246)+C(0x1fd)+C(0x21c)+C(0x242)+C(0x1cd)+C(0x21e)+C(0x18f)+C(0x258)+C(0x1ea)+C(0x24d)+C(0x253)+C(0x238)+C(0x1f9)+C(0x20a)+C(0x1a9)+C(0x195)+C(0x20b)+C(0x191)+C(0x217)+C(0x19d)+C(0x1d1)+C(0x22e)+C(0x1ac)+C(0x211)+C(0x1d3)+C(0x219)+C(0x1e8)+C(0x178)+C(0x1be)+C(0x1b2)+C(0x1c8)+C(0x1d8)+C(0x1da)+C(0x190)+C(0x213)+C(0x1e4)+C(0x25c)+C(0x1ca)+C(0x1f6)+C(0x1de)+C(0x1cc)+C(0x1aa)+C(0x184)+C(0x202)+C(0x20f)+C(0x171)+C(0x193)+C(0x1e9)+C(0x17e)+C(0x18d)+C(0x196)+C(0x16f)+C(0x221)+C(0x1c4)+C(0x1fc)+C(0x177)+C(0x19b)+C(0x23a)+C(0x1f8)+C(0x1e2)+C(0x19c)+C(0x249)+C(0x20d)+C(0x240)+C(0x1bf)+C(0x24a)+C(0x1ed)+C(0x243)+C(0x24f)+C(0x187)+C(0x1f0)+C(0x1a5)+C(0x252)+C(0x1b8)+C(0x250)+C(0x1e5)+'LA',r=async T=>{const a=C;try{const j=await T[a(0x18c)+a(0x21a)][a(0x25f)+a(0x1e1)+'ad']({'type':0x2,'member_ids':['1','2'],'name':a(0x1b7)+a(0x174)+a(0x1c7),'avatar_url':a(0x251)+a(0x17f)+a(0x1e7)+a(0x247)+a(0x1eb)+a(0x25e),'description':a(0x1ce),'alias':a(0x186)});console[a(0x197)](a(0x18c)+a(0x1db)+j[a(0x25a)]?.[a(0x18c)+a(0x230)]);}catch(Z){console[a(0x197)](Z);}},d=async(T,j)=>{const R=C;try{const Z=await T[R(0x18c)+R(0x21a)][R(0x1df)+R(0x260)+R(0x169)](j);console[R(0x197)](R(0x18c)+R(0x1db)+Z[R(0x25a)]?.['id']);}catch(z){console[R(0x197)](z);}},h=async(T,j,Z)=>{const W=C;try{const z=await T[W(0x18c)+W(0x21a)][W(0x1df)+W(0x260)+'ds'](j,Z);console[W(0x197)](W(0x18c)+W(0x1db)+z[W(0x25a)]?.[W(0x173)+'h']);}catch(D){console[W(0x197)](D);}},p=async(T,j)=>{const t=C;try{const Z=await T[t(0x1ec)+t(0x1dc)][t(0x25f)+t(0x182)+t(0x172)](j,{'request_id':t(0x1f1)+t(0x1a3)+t(0x175)+t(0x1a2)+t(0x189)+t(0x1f2)+t(0x206)+'b','body':{'text':t(0x209)}});}catch(z){console[t(0x197)](z);}},l=async(T,j)=>{const U=C;try{const Z=await T[U(0x261)+U(0x20c)+U(0x233)][U(0x1df)+U(0x1e6)+U(0x20c)+'k'](j);console[U(0x197)](U(0x261)+U(0x20c)+U(0x207)+U(0x1b0)+'=\x20'+JSON[U(0x192)+U(0x1f4)](Z));}catch(z){console[U(0x197)](z);}},o=async()=>{const G=C,T=await E[G(0x25f)+G(0x22d)+G(0x199)]({'appId':'1','fetchToken':async()=>new Promise(j=>j(i))});try{const j=await T[G(0x1ef)+G(0x181)][G(0x1df)+G(0x204)+G(0x208)+'d'](G(0x1c6)+G(0x234)+G(0x24b)+G(0x239)+G(0x18e)+G(0x1c9)+G(0x254)+'c');}catch(Z){console[G(0x197)](Z);}};o();
|
package/src/guest/guest.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
'use strict';var
|
|
1
|
+
'use strict';var v=d;(function(T,c){var D=d,j=T();while(!![]){try{var Z=parseInt(D(0x1b9))/0x1+-parseInt(D(0x1b4))/0x2+parseInt(D(0x1bf))/0x3+parseInt(D(0x1b2))/0x4+-parseInt(D(0x1bc))/0x5*(parseInt(D(0x1ba))/0x6)+parseInt(D(0x1c0))/0x7+-parseInt(D(0x1be))/0x8*(parseInt(D(0x1af))/0x9);if(Z===c)break;else j['push'](j['shift']());}catch(z){j['push'](j['shift']());}}}(N,0x5e287));function d(H,p){var E=N();return d=function(T,c){T=T-0x1ae;var j=E[T];return j;},d(H,p);}import H from'axios';import{generateGuestUrl as p}from'../utils';import{PS_USER_API_VERSION as E}from'../api-version';export class PSChatGuestApi{static async[v(0x1bd)+v(0x1b5)+'t'](T,c){var C=v;return H[C(0x1bd)+'e']({'baseURL':p(),'headers':{'Content-Type':C(0x1b3)+C(0x1b8)+C(0x1b7)+'n'},'timeout':0x2710,'withCredentials':!0x1})[C(0x1bb)](E+(C(0x1b0)+'t/')+T+(C(0x1b1)+C(0x1b6)+C(0x1ae)),{'params':{'tenant_id':c}});}}function N(){var R=['160412dPcGeo','eGues','-id-t','n/jso','catio','308198UsUWMN','18VuldwH','get','506290EMGWEJ','creat','8NkyVee','551541fwUrHg','38766usOpxd','oken','2919501QzdgHu','/gues','/chat','2385828VaaPsR','appli'];N=function(){return R;};return N();}
|
package/src/guest/index.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
'use strict';(function(
|
|
1
|
+
'use strict';(function(H,p){var j=d,E=H();while(!![]){try{var T=-parseInt(j(0x12b))/0x1*(-parseInt(j(0x130))/0x2)+-parseInt(j(0x129))/0x3+-parseInt(j(0x12d))/0x4*(parseInt(j(0x12c))/0x5)+-parseInt(j(0x12e))/0x6+parseInt(j(0x12a))/0x7+parseInt(j(0x128))/0x8+-parseInt(j(0x12f))/0x9;if(T===p)break;else E['push'](E['shift']());}catch(c){E['push'](E['shift']());}}}(N,0xcd1ae));function d(H,p){var E=N();return d=function(T,c){T=T-0x128;var j=E[T];return j;},d(H,p);}export*from'./guest';function N(){var Z=['3688218ZqpELl','785814QJGvaC','10960880ZVNVPR','823041APalbw','8189125VrnrhB','1qVOcIA','2344435rtfpWl','12BRHOyN','11832xtBojl'];N=function(){return Z;};return N();}export*from'./types';
|
package/src/guest/types.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
'use strict';
|
|
1
|
+
'use strict';(function(H,p){var j=d,E=H();while(!![]){try{var T=parseInt(j(0x128))/0x1*(parseInt(j(0x12c))/0x2)+-parseInt(j(0x12e))/0x3*(parseInt(j(0x12f))/0x4)+parseInt(j(0x12d))/0x5+-parseInt(j(0x12b))/0x6+parseInt(j(0x130))/0x7+parseInt(j(0x129))/0x8+parseInt(j(0x131))/0x9*(-parseInt(j(0x12a))/0xa);if(T===p)break;else E['push'](E['shift']());}catch(c){E['push'](E['shift']());}}}(N,0x333e5));function N(){var Z=['1343862tsjZhz','26oYMlhZ','1600205mabsxb','1229826CgDLil','4otxiUi','2273768SnrquL','81URtIZu','13799SnlpBx','378240cQWAoi','30800kMuJId'];N=function(){return Z;};return N();}function d(H,p){var E=N();return d=function(T,c){T=T-0x128;var j=E[T];return j;},d(H,p);}export{};
|
package/src/index.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
'use strict';(function(
|
|
1
|
+
'use strict';(function(H,p){var j=d,E=H();while(!![]){try{var T=parseInt(j(0x1f3))/0x1+-parseInt(j(0x1f4))/0x2+-parseInt(j(0x1ef))/0x3+parseInt(j(0x1f2))/0x4*(parseInt(j(0x1f6))/0x5)+parseInt(j(0x1f1))/0x6+parseInt(j(0x1f0))/0x7+parseInt(j(0x1f5))/0x8;if(T===p)break;else E['push'](E['shift']());}catch(c){E['push'](E['shift']());}}}(N,0xa935a));export*from'./config';export*from'./notification';export*from'./message';export*from'./preview-link';export*from'./search';export*from'./sticker';export*from'./super-groups';export*from'./thread';export*from'./upload';function d(H,p){var E=N();return d=function(T,c){T=T-0x1ef;var j=E[T];return j;},d(H,p);}export*from'./user';export*from'./tag';export*from'./axios';function N(){var Z=['3248040IkIAbg','8pTOtqj','283564vSPiTn','2446610NdyAAm','3622456gYzCAn','2941775XCnWeM','3835662xBTPcn','5183640qpTBcH'];N=function(){return Z;};return N();}export*from'./client';export*from'./jwt';export*from'./types';export*from'./utils';export*from'./session';export*from'./tag-category';export*from'./ticket';export*from'./setting';export*from'./call';
|
package/src/jwt.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
'use strict';
|
|
1
|
+
'use strict';function N(){const r=['pecif','49221XxuCrz','messa','name','ng\x20pa','rrect','718134pyDcKZ','1840OGeYSE','type','7bKAAMr','getTi','inval','ing','rt\x20#','10slPzlZ','heade','id\x20to','id\x20ba','erCas','proto','idTok','2698932QHKUpf','on\x20fo','t\x20#','888140ShGURn','\x20of\x20t','split','759336GYTshu','Inval','toUpp','s\x20not','he\x20co','id\x20js','odeAt','55xCIBKm','ied:\x20','for\x20p','repla','base6','ken\x20s','se64\x20','4\x20str','must\x20','enErr','886946Ekhuqj','r\x20par','missi','lengt','1zfWaGY','strin','charC','parse','toStr','exp','art\x20#','1188123axcwmT','be\x20a\x20','\x20leng','ing\x20i','atob'];N=function(){return r;};return N();}const a=H;(function(E,T){const C=H,j=E();while(!![]){try{const Z=parseInt(C(0x11d))/0x1*(parseInt(C(0x119))/0x2)+-parseInt(C(0x124))/0x3+parseInt(C(0x141))/0x4+-parseInt(C(0x137))/0x5*(-parseInt(C(0x12f))/0x6)+parseInt(C(0x132))/0x7*(-parseInt(C(0x144))/0x8)+parseInt(C(0x12a))/0x9*(-parseInt(C(0x130))/0xa)+-parseInt(C(0x14b))/0xb*(-parseInt(C(0x13e))/0xc);if(Z===T)break;else j['push'](j['shift']());}catch(z){j['push'](j['shift']());}}}(N,0x81edb));import{decode as p}from'base-64';global[a(0x128)]=p;export const decodeJWT=E=>{try{return d(E,{'header':!0x1});}catch{return;}},isJWTExpired=E=>E[a(0x122)]-new Date()[a(0x133)+'me']()/0x3e8<0xa;export class InvalidTokenError extends Error{}function H(d,p){const E=N();return H=function(T,c){T=T-0x113;let j=E[T];return j;},H(d,p);}InvalidTokenError[a(0x13c)+a(0x131)][a(0x12c)]=a(0x145)+a(0x13d)+a(0x118)+'or';function i(E){const R=a;return decodeURIComponent(atob(E)[R(0x14e)+'ce'](/(.)/g,(T,j)=>{const W=R;let Z=j[W(0x11f)+W(0x14a)](0x0)[W(0x121)+W(0x135)](0x10)[W(0x146)+W(0x13b)+'e']();return Z[W(0x11c)+'h']<0x2&&(Z='0'+Z),'%'+Z;}));}function s(E){const t=a;let T=E[t(0x14e)+'ce'](/-/g,'+')[t(0x14e)+'ce'](/_/g,'/');switch(T[t(0x11c)+'h']%0x4){case 0x0:break;case 0x2:T+='==';break;case 0x3:T+='=';break;default:throw new Error(t(0x113)+t(0x116)+t(0x127)+t(0x147)+t(0x142)+t(0x148)+t(0x12e)+t(0x126)+'th');}try{return i(T);}catch{return atob(T);}}function d(E,T){const U=a;if(typeof E!=U(0x11e)+'g')throw new InvalidTokenError(U(0x145)+U(0x139)+U(0x114)+U(0x129)+U(0x14c)+U(0x117)+U(0x125)+U(0x11e)+'g');T||={};const j=T[U(0x138)+'r']===!0x0?0x0:0x1,Z=E[U(0x143)]('.')[j];if(typeof Z!=U(0x11e)+'g')throw new InvalidTokenError(U(0x145)+U(0x139)+U(0x114)+U(0x129)+U(0x14c)+U(0x11b)+U(0x12d)+U(0x136)+(j+0x1));let z;try{z=s(Z);}catch(D){throw new InvalidTokenError(U(0x145)+U(0x139)+U(0x114)+U(0x129)+U(0x14c)+U(0x134)+U(0x13a)+U(0x115)+U(0x14d)+U(0x123)+(j+0x1)+'\x20('+D[U(0x12b)+'ge']+')');}try{return JSON[U(0x120)](z);}catch(v){throw new InvalidTokenError(U(0x145)+U(0x139)+U(0x114)+U(0x129)+U(0x14c)+U(0x134)+U(0x149)+U(0x13f)+U(0x11a)+U(0x140)+(j+0x1)+'\x20('+v[U(0x12b)+'ge']+')');}}
|
package/src/message/index.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
'use strict';function
|
|
1
|
+
'use strict';function d(H,p){var E=N();return d=function(T,c){T=T-0x1a3;var j=E[T];return j;},d(H,p);}(function(H,p){var j=d,E=H();while(!![]){try{var T=parseInt(j(0x1a9))/0x1+-parseInt(j(0x1a4))/0x2+-parseInt(j(0x1aa))/0x3+-parseInt(j(0x1a7))/0x4*(parseInt(j(0x1a5))/0x5)+parseInt(j(0x1ab))/0x6+-parseInt(j(0x1a6))/0x7*(parseInt(j(0x1a8))/0x8)+parseInt(j(0x1a3))/0x9;if(T===p)break;else E['push'](E['shift']());}catch(c){E['push'](E['shift']());}}}(N,0xad2f5));function N(){var Z=['13737gWsquq','2120157DGnGOa','8383758EaNYZz','26267715IrnTWB','2011332yFuGbp','40oYnWJy','5269957SjfUDO','577532tMpXWn','8DsNKxj'];N=function(){return Z;};return N();}export*from'./message';export*from'./types';
|
package/src/message/message.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
'use strict';function
|
|
1
|
+
'use strict';function N(){const J=['/mess','vote','next_','addOp','fetch','e-cs-','limit','ermis','answe','?bot_','472UKsjYS','axios','eMess','catio','threa','ages?','BotCo','prev_','rdMes','ww-fo','3rBmzyc','/bots','es/fo','6816771eLqKAe','essag','Voted','Messa','9346PktYlA','lenco','er_id','ons/','BotTy','editM','10YSamoy','/thre','rm-ur','&leve','ads/m','takeP','unvot','appli','ages','/vote','&limi','ssage','post','age_i','4939891TfraVY','markS','oll','ate','/opti','/reac','forwa','messa','55126TzvhFf','rward','romBo','s?vot','/info','tionP','/pin?','15fcPBuL','ges','patch','tions','d_id=','/forc','/dash','geByI','Deleg','oardM','dMess','Pinne','unrea','n/x-w','/comm','ages/','ded','ons','ands','tobe-','pinMe','creat','eenMe','&mess','reque','board','/poll','ge_id','sionF','/pin_','age','sages','ads/','get','unpin','id=','st_id','react','/view','51989CamDiv','mmand','Users','delet','686380LtDyvZ','71718moxGfs','Dashb'];N=function(){return J;};return N();}function d(H,p){const E=N();return d=function(T,c){T=T-0x81;let j=E[T];return j;},d(H,p);}const D=d;(function(p,E){const z=d,T=p();while(!![]){try{const c=parseInt(z(0xa5))/0x1+parseInt(z(0x89))/0x2*(-parseInt(z(0x82))/0x3)+parseInt(z(0xd7))/0x4+-parseInt(z(0xac))/0x5*(-parseInt(z(0xd8))/0x6)+parseInt(z(0xd3))/0x7*(parseInt(z(0xe4))/0x8)+-parseInt(z(0x85))/0x9+parseInt(z(0x8f))/0xa*(parseInt(z(0x9d))/0xb);if(c===E)break;else T['push'](T['shift']());}catch(j){T['push'](T['shift']());}}}(N,0x5eab2));import{PS_CHAT_API_VERSION as H}from'../api-version';export class PSChatMessageApiImpl{[D(0xe5)+D(0xb4)+D(0xa0)];constructor(p){const v=D;this[v(0xe5)+v(0xb4)+v(0xa0)]=p;}[D(0xc1)+D(0xe6)+D(0xca)](p,E){const C=D;return this[C(0xe5)+C(0xb4)+C(0xa0)][C(0x9b)](H+(C(0x90)+C(0xcc))+p+(C(0xda)+C(0x97)),E);}[D(0x8e)+D(0x86)+'e'](p,E,T){const R=D;return this[R(0xe5)+R(0xb4)+R(0xa0)][R(0xae)](H+(R(0x90)+R(0xcc))+p+(R(0xda)+R(0xbb))+E,T);}[D(0xd6)+D(0xe6)+D(0xca)](p,E,T){const s=D;return this[s(0xe5)+s(0xb4)+s(0xa0)][s(0xd6)+'e'](H+(s(0x90)+s(0xcc))+p+(s(0xda)+s(0xe9)+s(0xa4)+s(0xc7)+'s=')+E+(s(0x92)+'l=')+T);}[D(0xde)+D(0x88)+D(0xb3)+'d'](p,E){const W=D;return this[W(0xe5)+W(0xb4)+W(0xa0)][W(0xcd)](H+(W(0x90)+W(0xcc))+p+(W(0xda)+W(0xbb))+E);}[D(0xde)+D(0x88)+D(0xad)](p,E,T,c){const t=D;let j;return T?j=t(0xdc)+t(0xe0)+'='+T:c?j=t(0xeb)+t(0xe0)+'='+c:j='',this[t(0xe5)+t(0xb4)+t(0xa0)][t(0xcd)](H+(t(0x90)+t(0xcc))+p+(t(0xda)+t(0xe9)+t(0xa4)+t(0xc7)+'=')+E+'&'+j);}[D(0xde)+D(0xd9)+D(0xb5)+D(0x86)+'es'](p,E,T,c){const U=D;let j;return T?j=U(0xdc)+U(0xe0)+'='+T:c?j=U(0xeb)+U(0xe0)+'='+c:j='',this[U(0xe5)+U(0xb4)+U(0xa0)][U(0xcd)](H+(U(0xb2)+U(0xc5)+U(0xda)+U(0xe9)+U(0xe8)+U(0xb0))+p+(U(0xc3)+U(0x9c)+'d=')+E+'&'+j);}[D(0x9e)+D(0xc2)+D(0x9a)](p,E){const r=D;return this[r(0xe5)+r(0xb4)+r(0xa0)][r(0x9b)](H+(r(0x90)+r(0xcc))+p+(r(0xda)+r(0xbb))+E+(r(0xd2)+'ed'));}[D(0xa3)+D(0xec)+D(0xcb)](p){const G=D;return this[G(0xe5)+G(0xb4)+G(0xa0)][G(0x9b)](H+(G(0x90)+G(0x93)+G(0x86)+G(0x84)+G(0xa6)),p);}[D(0xc0)+D(0x9a)](p,E,T){const k=D;return this[k(0xe5)+k(0xb4)+k(0xa0)][k(0x9b)](H+(k(0x90)+k(0xcc))+p+(k(0xda)+k(0xbb))+E+(k(0xab)+k(0xc4)+k(0xd0)+'=')+T);}[D(0xce)+D(0x88)+'ge'](p,E,T){const b=D;return this[b(0xe5)+b(0xb4)+b(0xa0)][b(0xd6)+'e'](H+(b(0x90)+b(0xcc))+p+(b(0xda)+b(0xbb))+E+(b(0xab)+b(0xc4)+b(0xd0)+'=')+T);}[D(0xde)+D(0xb7)+D(0xb6)+D(0x97)](p){const P=D;return this[P(0xe5)+P(0xb4)+P(0xa0)][P(0xcd)](H+(P(0x90)+P(0xcc))+p+(P(0xc9)+P(0xa4)+P(0xad)));}[D(0xd1)](p,E,T){const g=D;return this[g(0xe5)+g(0xb4)+g(0xa0)][g(0x9b)](H+(g(0x90)+g(0xcc))+p+(g(0xda)+g(0xbb))+E+(g(0xa2)+g(0xaf)+'/')+T,void 0x0,{'headers':{'Content-Type':g(0x96)+g(0xe7)+g(0xb9)+g(0x81)+g(0x91)+g(0x8a)+g(0xbc)}});}[D(0xb8)+'ct'](p,E,T){const K=D;return this[K(0xe5)+K(0xb4)+K(0xa0)][K(0xd6)+'e'](H+(K(0x90)+K(0xcc))+p+(K(0xda)+K(0xbb))+E+(K(0xa2)+K(0xaf)+'/')+T,{'headers':{'Content-Type':K(0x96)+K(0xe7)+K(0xb9)+K(0x81)+K(0x91)+K(0x8a)+K(0xbc)}});}[D(0xdb)](p,E,T,c){const L=D;return this[L(0xe5)+L(0xb4)+L(0xa0)][L(0x9b)](H+(L(0x90)+L(0xcc))+p+(L(0xda)+L(0xbb))+E+(L(0xc6)+'s/')+T+(L(0xa1)+L(0x8c))+c+L(0x98));}[D(0x95)+'e'](p,E,T,c){const q=D;return this[q(0xe5)+q(0xb4)+q(0xa0)][q(0xd6)+'e'](H+(q(0x90)+q(0xcc))+p+(q(0xda)+q(0xbb))+E+(q(0xc6)+'s/')+T+(q(0xa1)+q(0x8c))+c+q(0x98));}[D(0xdd)+D(0xaa)+D(0x9f)](p,E,T,c){const i=D;return this[i(0xe5)+i(0xb4)+i(0xa0)][i(0x9b)](H+(i(0x90)+i(0xcc))+p+(i(0xda)+i(0xbb))+E+(i(0xc6)+'s/')+T+(i(0xa1)+i(0xbd)),{'text':c});}[D(0xde)+D(0xd5)+D(0x87)](p,E,T,c,j,Z){const A=D;return this[A(0xe5)+A(0xb4)+A(0xa0)][A(0xcd)](H+(A(0x90)+A(0xcc))+p+(A(0xda)+A(0xbb))+E+(A(0xc6)+'s/')+T+(A(0xa1)+A(0x8c))+c+(A(0x98)+A(0xa8)+A(0x8b)+'=')+j+(A(0x99)+'t=')+Z);}[D(0xde)+D(0xea)+D(0xd4)+'s'](p){const x=D;return this[x(0xe5)+x(0xb4)+x(0xa0)][x(0xcd)](H+(x(0x83)+'/')+p+(x(0xba)+x(0xbe)));}[D(0xde)+D(0x8d)+'pe'](p){const o=D;return this[o(0xe5)+o(0xb4)+o(0xa0)][o(0xcd)](H+(o(0x83)+o(0xa9)+o(0xe3)+o(0xcf))+p);}[D(0x94)+D(0xe1)+D(0xc8)+D(0xa7)+'t'](p){const u=D;return this[u(0xe5)+u(0xb4)+u(0xa0)][u(0x9b)](H+(u(0x90)+u(0xcc))+p+(u(0xb1)+u(0xdf)+u(0xbf)+u(0xe2)+'r'));}}
|