@communi/chat-api-client-typescript 2.6.1 → 2.6.3

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.
Files changed (54) hide show
  1. package/LICENSE +20 -20
  2. package/README.md +3 -3
  3. package/index.js +1 -1
  4. package/package.json +1 -1
  5. package/src/api-version.js +1 -1
  6. package/src/axios.js +1 -1
  7. package/src/client.js +1 -1
  8. package/src/config/config.js +1 -1
  9. package/src/config/index.js +1 -1
  10. package/src/demo.js +1 -1
  11. package/src/guest/guest.js +1 -1
  12. package/src/guest/index.js +1 -1
  13. package/src/guest/types.js +1 -1
  14. package/src/index.js +1 -1
  15. package/src/jwt.js +1 -1
  16. package/src/message/index.js +1 -1
  17. package/src/message/message.js +1 -1
  18. package/src/message/types.js +1 -1
  19. package/src/notification/index.js +1 -1
  20. package/src/notification/notification.js +1 -1
  21. package/src/notification/types.js +1 -1
  22. package/src/preview-link/index.js +1 -1
  23. package/src/preview-link/preview-link.js +1 -1
  24. package/src/preview-link/types.js +1 -1
  25. package/src/search/index.js +1 -1
  26. package/src/search/search.d.ts +4 -4
  27. package/src/search/search.js +1 -1
  28. package/src/search/types.js +1 -1
  29. package/src/session/index.js +1 -1
  30. package/src/session/session.js +1 -1
  31. package/src/session/types.js +1 -1
  32. package/src/sticker/index.js +1 -1
  33. package/src/sticker/sticker.js +1 -1
  34. package/src/sticker/types.js +1 -1
  35. package/src/super-groups/index.js +1 -1
  36. package/src/super-groups/super-groups.js +1 -1
  37. package/src/tag/index.js +1 -1
  38. package/src/tag/tag.js +1 -1
  39. package/src/tag/types.js +1 -1
  40. package/src/tag-category/category.js +1 -1
  41. package/src/tag-category/index.js +1 -1
  42. package/src/tag-category/types.js +1 -1
  43. package/src/thread/index.js +1 -1
  44. package/src/thread/thread.js +1 -1
  45. package/src/thread/types.js +1 -1
  46. package/src/types.js +1 -1
  47. package/src/upload/index.js +1 -1
  48. package/src/upload/types.js +1 -1
  49. package/src/upload/upload.js +1 -1
  50. package/src/user/index.js +1 -1
  51. package/src/user/types.js +1 -1
  52. package/src/user/user.d.ts +2 -2
  53. package/src/user/user.js +1 -1
  54. package/src/utils.js +1 -1
package/src/user/user.js CHANGED
@@ -1 +1 @@
1
- 'use strict';const m=X;function X(K,y){const p=v();return X=function(x,w){x=x-0xd6;let T=p[x];return T;},X(K,y);}(function(x,w){const n=X,T=x();while(!![]){try{const M=-parseInt(n(0xe8))/0x1+parseInt(n(0xdd))/0x2+parseInt(n(0xf8))/0x3*(parseInt(n(0xe6))/0x4)+-parseInt(n(0xf0))/0x5+parseInt(n(0xe3))/0x6*(-parseInt(n(0xf6))/0x7)+-parseInt(n(0xee))/0x8+parseInt(n(0xfa))/0x9;if(M===w)break;else T['push'](T['shift']());}catch(R){T['push'](T['shift']());}}}(v,0xda9b0));import{PS_CHAT_API_VERSION as K,PS_DESK_API_VERSION as y,PS_USER_API_VERSION as p}from'../api-version';function v(){const E=['axios','30988413VQafvR','State','ate','_ids=','t-pin','eStat','/puse','ing','UserB','Deleg','Users','join','908060MeFEnM','yId','put','yIds','post','Onlin','174CAhfMs','ds=','get','113636UDWwhk','ser_i','81226zNumLJ','/user','/asta','s/mqt','updat','ping','12124936IMBsfp','r?ext','2623855qIdXig','fetch','mqttP','_user','s/onl','ine?u','239883cMzAXj','s/me-','12vaKRaz'];v=function(){return E;};return v();}export const PS_FETCH_USER_BY_IDS_MAX=0xa;export class PSChatUserApiImpl{[m(0xf9)+m(0xda)+m(0xfc)];constructor(x){const S=m;this[S(0xf9)+S(0xda)+S(0xfc)]=x;}[m(0xed)](){const h=m;return this[h(0xf9)+h(0xda)+h(0xfc)][h(0xe1)](K+(h(0xe9)+h(0xf7)+h(0xed)));}[m(0xf1)+m(0xdb)+m(0xe2)+'e'](x){const O=m;return this[O(0xf9)+O(0xda)+O(0xfc)][O(0xe5)](K+(O(0xe9)+O(0xf4)+O(0xf5)+O(0xe7)+O(0xe4))+x[O(0xdc)](','));}[m(0xf1)+m(0xd9)+m(0xde)](x){const P=m;return this[P(0xf9)+P(0xda)+P(0xfc)][P(0xe5)](p+(P(0xd7)+'r/')+x);}[m(0xf1)+m(0xd9)+m(0xe0)](x){const U=m;return this[U(0xf9)+U(0xda)+U(0xfc)][U(0xe5)](p+(U(0xd7)+U(0xef)+U(0xf3)+U(0xfd))+x[U(0xdc)](','));}[m(0xf2)+m(0xd8)](x){const g=m;return this[g(0xf9)+g(0xda)+g(0xfc)][g(0xe1)](K+(g(0xe9)+g(0xeb)+g(0xfe)+'g'),null,{'headers':{'X-Piscale-Request-Id':x}});}[m(0xf1)+m(0xfb)](){const I=m;return this[I(0xf9)+I(0xda)+I(0xfc)][I(0xe5)](y+(I(0xea)+'te'));}[m(0xec)+m(0xd6)+'e'](x){const F=m;return this[F(0xf9)+F(0xda)+F(0xfc)][F(0xdf)](y+(F(0xea)+'te'),{'state':x});}}
1
+ 'use strict';function S(p,w){const v=h();return S=function(V,n){V=V-0x19b;let m=v[V];return m;},S(p,w);}const F=S;(function(V,n){const Z=S,m=V();while(!![]){try{const u=-parseInt(Z(0x1b8))/0x1*(parseInt(Z(0x1bb))/0x2)+-parseInt(Z(0x1c4))/0x3+-parseInt(Z(0x1af))/0x4*(-parseInt(Z(0x1a8))/0x5)+-parseInt(Z(0x1a1))/0x6+parseInt(Z(0x1c1))/0x7+-parseInt(Z(0x1b6))/0x8*(parseInt(Z(0x19f))/0x9)+-parseInt(Z(0x1b0))/0xa*(-parseInt(Z(0x1ac))/0xb);if(u===n)break;else m['push'](m['shift']());}catch(B){m['push'](m['shift']());}}}(h,0xb6708));function h(){const K=['2WfZmHz','yId','r?ext','1272188GQuPbP','eStat','s/me-','ser_i','/puse','updat','5565560gGSgrZ','_user','s/onl','1809060qhhtUL','Deleg','/user','fetch','join','UserB','9TluWdw','Onlin','7524kDTIgC','s/mqt','Users','put','axios','mqttP','ping','11080uyXdvq','ate','State','post','17809LbwZmD','_ids=','get','1016jwWnrW','8330muQJTz','ine?u','t-pin','/asta','ds=','ing','662696HlTiCY','yIds'];h=function(){return K;};return h();}import{PS_CHAT_API_VERSION as p,PS_DESK_API_VERSION as w,PS_USER_API_VERSION as v}from'../api-version';export const PS_FETCH_USER_BY_IDS_MAX=0xa;export class PSChatUserApiImpl{[F(0x1a5)+F(0x1c5)+F(0x1a9)];constructor(V){const c=F;this[c(0x1a5)+c(0x1c5)+c(0x1a9)]=V;}[F(0x1a7)](){const y=F;return this[y(0x1a5)+y(0x1c5)+y(0x1a9)][y(0x1ab)](p+(y(0x19b)+y(0x1bd)+y(0x1a7)));}[F(0x19c)+F(0x1a3)+F(0x1a0)+'e'](V){const l=F;return this[l(0x1a5)+l(0x1c5)+l(0x1a9)][l(0x1ae)](p+(l(0x19b)+l(0x1c3)+l(0x1b1)+l(0x1be)+l(0x1b4))+V[l(0x19d)](','));}[F(0x19c)+F(0x19e)+F(0x1b9)](V,n){const D=F;return this[D(0x1a5)+D(0x1c5)+D(0x1a9)][D(0x1ae)](v+(D(0x1bf)+'r/')+V,{'params':{'more_fields':n}});}[F(0x19c)+F(0x19e)+F(0x1b7)](V){const E=F;return this[E(0x1a5)+E(0x1c5)+E(0x1a9)][E(0x1ae)](v+(E(0x1bf)+E(0x1ba)+E(0x1c2)+E(0x1ad))+V[E(0x19d)](','));}[F(0x1a6)+F(0x1b5)](V){const Y=F;return this[Y(0x1a5)+Y(0x1c5)+Y(0x1a9)][Y(0x1ab)](p+(Y(0x19b)+Y(0x1a2)+Y(0x1b2)+'g'),null,{'headers':{'X-Piscale-Request-Id':V}});}[F(0x19c)+F(0x1aa)](){const N=F;return this[N(0x1a5)+N(0x1c5)+N(0x1a9)][N(0x1ae)](w+(N(0x1b3)+'te'));}[F(0x1c0)+F(0x1bc)+'e'](V){const k=F;return this[k(0x1a5)+k(0x1c5)+k(0x1a9)][k(0x1a4)](w+(k(0x1b3)+'te'),{'state':V});}}
package/src/utils.js CHANGED
@@ -1 +1 @@
1
- 'use strict';const m=X;(function(K,y){const T=X,p=K();while(!![]){try{const x=parseInt(T(0x1fd))/0x1*(parseInt(T(0x1fb))/0x2)+-parseInt(T(0x1f1))/0x3*(-parseInt(T(0x209))/0x4)+-parseInt(T(0x1fc))/0x5*(parseInt(T(0x206))/0x6)+-parseInt(T(0x204))/0x7*(-parseInt(T(0x208))/0x8)+-parseInt(T(0x1f9))/0x9+parseInt(T(0x20a))/0xa*(-parseInt(T(0x1f7))/0xb)+parseInt(T(0x1f3))/0xc;if(x===y)break;else p['push'](p['shift']());}catch(w){p['push'](p['shift']());}}}(v,0x5e2ed));function X(K,y){const p=v();return X=function(x,w){x=x-0x1f1;let T=p[x];return T;},X(K,y);}function v(){const S=['.api.','scale','.uplo','11iRsYfI','https','5641596jTWyUQ','pisca','27894sJLqCp','5qAkHuu','47bFvPEM','rejec','com','.com/','://ap','le.co','ad.pi','21QyuXhO','://','1460622xxPUMq','i.pis','421912nFHpsG','20148IuaHOf','56690RbimXR','99nuLxfS','cale.','3381312CSHjvR'];v=function(){return S;};return v();}export const generateBaseUrl=K=>{const M=X;let y='';return y=M(0x1f8)+M(0x205)+K+(M(0x1f4)+M(0x1fa)+M(0x202)+'m/'),y;},generateBaseUploadUrl=K=>{const R=X;let y='';return y=R(0x1f8)+R(0x205)+K+(R(0x1f6)+R(0x203)+R(0x1f5)+R(0x200)),y;},generateGuestUrl=()=>{const n=X;let K='';return K=n(0x1f8)+n(0x201)+n(0x207)+n(0x1f2)+n(0x1ff),K;},errorLogger=async K=>Promise[m(0x1fe)+'t'](K),requestLogger=K=>K,responseLogger=K=>K;
1
+ 'use strict';const F=S;function h(){const c=['ad.pi','://ap','cale.','.uplo','.api.','://','rejec','214cOhVEq','10269672gyoWCf','i.pis','com','1324934qOZjoO','457740oHWqjG','.com/','https','32199oeqNAF','le.co','1342004urDPrr','scale','pisca','886248zWzWFt','6485178DhimpP'];h=function(){return c;};return h();}(function(p,w){const m=S,v=p();while(!![]){try{const V=parseInt(m(0x8d))/0x1+parseInt(m(0x89))/0x2*(-parseInt(m(0x91))/0x3)+parseInt(m(0x93))/0x4+parseInt(m(0x8e))/0x5+-parseInt(m(0x97))/0x6+parseInt(m(0x8a))/0x7+-parseInt(m(0x96))/0x8;if(V===w)break;else v['push'](v['shift']());}catch(n){v['push'](v['shift']());}}}(h,0xd699c));function S(p,w){const v=h();return S=function(V,n){V=V-0x87;let m=v[V];return m;},S(p,w);}export const generateBaseUrl=p=>{const u=S;let w='';return w=u(0x90)+u(0x87)+p+(u(0x9c)+u(0x95)+u(0x92)+'m/'),w;},generateBaseUploadUrl=p=>{const B=S;let w='';return w=B(0x90)+B(0x87)+p+(B(0x9b)+B(0x98)+B(0x94)+B(0x8f)),w;},generateGuestUrl=()=>{const Z=S;let p='';return p=Z(0x90)+Z(0x99)+Z(0x8b)+Z(0x9a)+Z(0x8c),p;},errorLogger=async p=>Promise[F(0x88)+'t'](p),requestLogger=p=>p,responseLogger=p=>p;