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

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 (53) hide show
  1. package/index.js +1 -1
  2. package/package.json +1 -1
  3. package/src/api-version.js +1 -1
  4. package/src/axios.js +1 -1
  5. package/src/client.js +1 -1
  6. package/src/config/config.js +1 -1
  7. package/src/config/index.js +1 -1
  8. package/src/demo.js +1 -1
  9. package/src/guest/guest.js +1 -1
  10. package/src/guest/index.js +1 -1
  11. package/src/guest/types.js +1 -1
  12. package/src/index.js +1 -1
  13. package/src/jwt.js +1 -1
  14. package/src/message/index.js +1 -1
  15. package/src/message/message.js +1 -1
  16. package/src/message/types.js +1 -1
  17. package/src/notification/index.js +1 -1
  18. package/src/notification/notification.js +1 -1
  19. package/src/notification/types.js +1 -1
  20. package/src/preview-link/index.js +1 -1
  21. package/src/preview-link/preview-link.js +1 -1
  22. package/src/preview-link/types.js +1 -1
  23. package/src/search/index.js +1 -1
  24. package/src/search/search.d.ts +3 -1
  25. package/src/search/search.js +1 -1
  26. package/src/search/types.d.ts +9 -1
  27. package/src/search/types.js +1 -1
  28. package/src/session/index.js +1 -1
  29. package/src/session/session.js +1 -1
  30. package/src/session/types.js +1 -1
  31. package/src/sticker/index.js +1 -1
  32. package/src/sticker/sticker.js +1 -1
  33. package/src/sticker/types.js +1 -1
  34. package/src/super-groups/index.js +1 -1
  35. package/src/super-groups/super-groups.js +1 -1
  36. package/src/tag/index.js +1 -1
  37. package/src/tag/tag.js +1 -1
  38. package/src/tag/types.js +1 -1
  39. package/src/tag-category/category.js +1 -1
  40. package/src/tag-category/index.js +1 -1
  41. package/src/tag-category/types.js +1 -1
  42. package/src/thread/index.js +1 -1
  43. package/src/thread/thread.js +1 -1
  44. package/src/thread/types.js +1 -1
  45. package/src/types.js +1 -1
  46. package/src/upload/index.js +1 -1
  47. package/src/upload/types.js +1 -1
  48. package/src/upload/upload.js +1 -1
  49. package/src/user/index.js +1 -1
  50. package/src/user/types.d.ts +3 -1
  51. package/src/user/types.js +1 -1
  52. package/src/user/user.js +1 -1
  53. package/src/utils.js +1 -1
package/src/user/user.js CHANGED
@@ -1 +1 @@
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();}
1
+ 'use strict';const L=V;(function(O,l){const i=V,v=O();while(!![]){try{const B=-parseInt(i(0x115))/0x1*(-parseInt(i(0x12c))/0x2)+parseInt(i(0x11f))/0x3+parseInt(i(0x10c))/0x4*(parseInt(i(0x128))/0x5)+parseInt(i(0x117))/0x6*(parseInt(i(0x10e))/0x7)+parseInt(i(0x11c))/0x8+parseInt(i(0x135))/0x9*(-parseInt(i(0x130))/0xa)+-parseInt(i(0x121))/0xb;if(B===l)break;else v['push'](v['shift']());}catch(Z){v['push'](v['shift']());}}}(d,0xa5561));function V(k,g){const e=d();return V=function(O,l){O=O-0x10b;let v=e[O];return v;},V(k,g);}import{PS_CHAT_API_VERSION as k,PS_DESK_API_VERSION as g,PS_USER_API_VERSION as e}from'../api-version';export const PS_FETCH_USER_BY_IDS_MAX=0xa;function d(){const S=['_ids=','805UYZetk','UserB','ate','fetch','207098pGEteL','t-pin','Onlin','Users','10VllBgl','State','ser_i','mqttP','ing','909801MkXdys','s/onl','33608Nthuxl','yId','8592878ImpsOL','Deleg','get','r?ext','join','yIds','eStat','9OxkoRQ','ine?u','6hRHcYB','_user','axios','ping','put','2823408oYdNGa','s/me-','post','138576bXsIro','updat','34463319zZfzEX','/user','/puse','s/mqt','/asta','ds='];d=function(){return S;};return d();}export class PSChatUserApiImpl{[L(0x119)+L(0x10f)+L(0x12a)];constructor(O){const E=L;this[E(0x119)+E(0x10f)+E(0x12a)]=O;}[L(0x11a)](){const q=L;return this[q(0x119)+q(0x10f)+q(0x12a)][q(0x11e)](k+(q(0x122)+q(0x11d)+q(0x11a)));}[L(0x12b)+L(0x12f)+L(0x12e)+'e'](O){const h=L;return this[h(0x119)+h(0x10f)+h(0x12a)][h(0x110)](k+(h(0x122)+h(0x10b)+h(0x116)+h(0x132)+h(0x126))+O[h(0x112)](','));}[L(0x12b)+L(0x129)+L(0x10d)](O,l){const N=L;return this[N(0x119)+N(0x10f)+N(0x12a)][N(0x110)](e+(N(0x123)+'r/')+O,{'params':{'more_fields':l}});}[L(0x12b)+L(0x129)+L(0x113)](O){const z=L;return this[z(0x119)+z(0x10f)+z(0x12a)][z(0x110)](e+(z(0x123)+z(0x111)+z(0x118)+z(0x127))+O[z(0x112)](','));}[L(0x133)+L(0x134)](O){const K=L;return this[K(0x119)+K(0x10f)+K(0x12a)][K(0x11e)](k+(K(0x122)+K(0x124)+K(0x12d)+'g'),null,{'headers':{'X-Piscale-Request-Id':O}});}[L(0x12b)+L(0x131)](){const U=L;return this[U(0x119)+U(0x10f)+U(0x12a)][U(0x110)](g+(U(0x125)+'te'));}[L(0x120)+L(0x114)+'e'](O){const J=L;return this[J(0x119)+J(0x10f)+J(0x12a)][J(0x11b)](g+(J(0x125)+'te'),{'state':O});}}
package/src/utils.js CHANGED
@@ -1 +1 @@
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;
1
+ 'use strict';const L=V;function V(k,g){const e=d();return V=function(O,l){O=O-0xc8;let v=e[O];return v;},V(k,g);}function d(){const E=['ad.pi','.com/','rejec','://','https','scale','cale.','.uplo','25080SVKubA','729123PdqcHM','i.pis','704205vBAiVV','187902iwBPut','pisca','233572UMntwK','703218GNvCRm','7zsZHFW','2075192LaXFVa','com','.api.','://ap','le.co'];d=function(){return E;};return d();}(function(k,g){const v=V,e=k();while(!![]){try{const O=parseInt(v(0xd8))/0x1+-parseInt(v(0xd6))/0x2+-parseInt(v(0xd3))/0x3+parseInt(v(0xd2))/0x4+-parseInt(v(0xd5))/0x5+parseInt(v(0xd9))/0x6*(parseInt(v(0xda))/0x7)+parseInt(v(0xdb))/0x8;if(O===g)break;else e['push'](e['shift']());}catch(l){e['push'](e['shift']());}}}(d,0x21d73));export const generateBaseUrl=k=>{const B=V;let g='';return g=B(0xce)+B(0xcd)+k+(B(0xdd)+B(0xd7)+B(0xc9)+'m/'),g;},generateBaseUploadUrl=k=>{const Z=V;let g='';return g=Z(0xce)+Z(0xcd)+k+(Z(0xd1)+Z(0xca)+Z(0xcf)+Z(0xcb)),g;},generateGuestUrl=()=>{const i=V;let k='';return k=i(0xce)+i(0xc8)+i(0xd4)+i(0xd0)+i(0xdc),k;},errorLogger=async k=>Promise[L(0xcc)+'t'](k),requestLogger=k=>k,responseLogger=k=>k;