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

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.js +1 -1
  27. package/src/search/types.d.ts +1 -0
  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.d.ts +1 -0
  46. package/src/thread/types.js +1 -1
  47. package/src/types.js +1 -1
  48. package/src/upload/index.js +1 -1
  49. package/src/upload/types.js +1 -1
  50. package/src/upload/upload.js +1 -1
  51. package/src/user/index.js +1 -1
  52. package/src/user/types.js +1 -1
  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';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});}}
1
+ 'use strict';const W=l;(function(Y,m){const K=l,q=Y();while(!![]){try{const d=parseInt(K(0xcf))/0x1*(parseInt(K(0xd9))/0x2)+parseInt(K(0xd7))/0x3+-parseInt(K(0xc5))/0x4+-parseInt(K(0xe1))/0x5+-parseInt(K(0xc2))/0x6+-parseInt(K(0xcb))/0x7+-parseInt(K(0xe6))/0x8*(-parseInt(K(0xd3))/0x9);if(d===m)break;else q['push'](q['shift']());}catch(V){q['push'](q['shift']());}}}(E,0x361d7));function l(r,a){const h=E();return l=function(B,Y){B=B-0xc2;let s=h[B];return s;},l(r,a);}import{PS_CHAT_API_VERSION as a,PS_DESK_API_VERSION as h,PS_USER_API_VERSION as B}from'../api-version';export const PS_FETCH_USER_BY_IDS_MAX=0xa;export class PSChatUserApiImpl{[W(0xc7)+W(0xc4)+W(0xe9)];constructor(Y){const u=W;this[u(0xc7)+u(0xc4)+u(0xe9)]=Y;}[W(0xe5)](){const R=W;return this[R(0xc7)+R(0xc4)+R(0xe9)][R(0xd0)](a+(R(0xd4)+R(0xd8)+R(0xe5)));}[W(0xdc)+W(0xea)+W(0xe0)+'e'](Y){const O=W;return this[O(0xc7)+O(0xc4)+O(0xe9)][O(0xc9)](a+(O(0xd4)+O(0xcc)+O(0xe3)+O(0xe2)+O(0xca))+Y[O(0xcd)](','));}[W(0xdc)+W(0xe8)+W(0xd5)](Y,m){const c=W;return this[c(0xc7)+c(0xc4)+c(0xe9)][c(0xc9)](B+(c(0xe4)+'r/')+Y,{'params':{'more_fields':m}});}[W(0xdc)+W(0xe8)+W(0xdb)](Y){const U=W;return this[U(0xc7)+U(0xc4)+U(0xe9)][U(0xc9)](B+(U(0xe4)+U(0xc3)+U(0xda)+U(0xd2))+Y[U(0xcd)](','));}[W(0xe7)+W(0xc6)](Y){const n=W;return this[n(0xc7)+n(0xc4)+n(0xe9)][n(0xd0)](a+(n(0xd4)+n(0xce)+n(0xc8)+'g'),null,{'headers':{'X-Piscale-Request-Id':Y}});}[W(0xdc)+W(0xdd)](){const F=W;return this[F(0xc7)+F(0xc4)+F(0xe9)][F(0xc9)](h+(F(0xd1)+'te'));}[W(0xdf)+W(0xde)+'e'](Y){const L=W;return this[L(0xc7)+L(0xc4)+L(0xe9)][L(0xd6)](h+(L(0xd1)+'te'),{'state':Y});}}function E(){const J=['mqttP','UserB','ate','Users','2185638LjIPPC','r?ext','Deleg','1160372rPzVnZ','ing','axios','t-pin','get','ds=','1893283cnkSmD','s/onl','join','s/mqt','59nhInSG','post','/asta','_ids=','7487109CSLMhW','/user','yId','put','1205478DgBqWf','s/me-','2504HzqdWv','_user','yIds','fetch','State','eStat','updat','Onlin','805525KhLjtM','ser_i','ine?u','/puse','ping','8AZkpaM'];E=function(){return J;};return E();}
package/src/utils.js CHANGED
@@ -1 +1 @@
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;
1
+ 'use strict';const V=r;function E(){const K=['283576qZDeCH','4468824rhOLKZ','://','.uplo','115DBIRWs','rejec','.api.','344hfKKIs','://ap','1160703sHnTfP','119UWBMas','i.pis','le.co','.com/','pisca','620114EdlROG','https','30978RIammW','cale.','670072vlJkkB','13629cRWpAr','50IhuTcN','com','33QRkFsq','scale','ad.pi'];E=function(){return K;};return E();}function r(l,a){const h=E();return r=function(B,Y){B=B-0x1c4;let s=h[B];return s;},r(l,a);}(function(l,a){const s=r,h=l();while(!![]){try{const B=parseInt(s(0x1db))/0x1+-parseInt(s(0x1c5))/0x2+-parseInt(s(0x1c6))/0x3*(-parseInt(s(0x1d3))/0x4)+-parseInt(s(0x1d0))/0x5*(parseInt(s(0x1dd))/0x6)+parseInt(s(0x1d6))/0x7*(-parseInt(s(0x1cc))/0x8)+-parseInt(s(0x1d5))/0x9*(parseInt(s(0x1c7))/0xa)+-parseInt(s(0x1c9))/0xb*(-parseInt(s(0x1cd))/0xc);if(B===a)break;else h['push'](h['shift']());}catch(Y){h['push'](h['shift']());}}}(E,0x6832f));export const generateBaseUrl=l=>{const m=r;let a='';return a=m(0x1dc)+m(0x1ce)+l+(m(0x1d2)+m(0x1da)+m(0x1d8)+'m/'),a;},generateBaseUploadUrl=l=>{const q=r;let a='';return a=q(0x1dc)+q(0x1ce)+l+(q(0x1cf)+q(0x1cb)+q(0x1ca)+q(0x1d9)),a;},generateGuestUrl=()=>{const d=r;let l='';return l=d(0x1dc)+d(0x1d4)+d(0x1d7)+d(0x1c4)+d(0x1c8),l;},errorLogger=async l=>Promise[V(0x1d1)+'t'](l),requestLogger=l=>l,responseLogger=l=>l;