@communi/chat-api-client-typescript 2.5.2 → 2.5.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/index.js +1 -1
  2. package/package.json +1 -1
  3. package/src/api-version.d.ts +1 -0
  4. package/src/api-version.js +1 -1
  5. package/src/axios.js +1 -1
  6. package/src/client.js +1 -1
  7. package/src/config/config.js +1 -1
  8. package/src/config/index.js +1 -1
  9. package/src/demo.js +1 -1
  10. package/src/guest/guest.js +1 -1
  11. package/src/guest/index.js +1 -1
  12. package/src/guest/types.js +1 -1
  13. package/src/index.js +1 -1
  14. package/src/jwt.js +1 -1
  15. package/src/message/index.js +1 -1
  16. package/src/message/message.js +1 -1
  17. package/src/message/types.js +1 -1
  18. package/src/notification/index.js +1 -1
  19. package/src/notification/notification.js +1 -1
  20. package/src/notification/types.js +1 -1
  21. package/src/preview-link/index.js +1 -1
  22. package/src/preview-link/preview-link.js +1 -1
  23. package/src/preview-link/types.js +1 -1
  24. package/src/search/index.js +1 -1
  25. package/src/search/search.js +1 -1
  26. package/src/search/types.js +1 -1
  27. package/src/session/index.js +1 -1
  28. package/src/session/session.js +1 -1
  29. package/src/session/types.js +1 -1
  30. package/src/sticker/index.js +1 -1
  31. package/src/sticker/sticker.js +1 -1
  32. package/src/sticker/types.js +1 -1
  33. package/src/super-groups/index.js +1 -1
  34. package/src/super-groups/super-groups.js +1 -1
  35. package/src/tag/index.js +1 -1
  36. package/src/tag/tag.js +1 -1
  37. package/src/tag/types.js +1 -1
  38. package/src/tag-category/category.js +1 -1
  39. package/src/tag-category/index.js +1 -1
  40. package/src/tag-category/types.js +1 -1
  41. package/src/thread/index.js +1 -1
  42. package/src/thread/thread.d.ts +2 -2
  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 +7 -0
  51. package/src/user/types.js +1 -1
  52. package/src/user/user.d.ts +5 -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 b(){const P=['/user','Users','get','fetch','ds=','yId','95388yaIHvk','ping','ate','UserB','t-pin','12WFTPtv','3341240BOtDfX','1630845xUsxVh','r?ext','Deleg','/puse','1085eNBTEr','_ids=','yIds','s/mqt','s/onl','ser_i','_user','axios','mqttP','s/me-','3147954mRDHRN','post','Onlin','join','ing','9770175CslXzK','ine?u','26956rfZoOX','1427344HifkPY'];b=function(){return P;};return b();}function g(l,R){const z=b();return g=function(I,Y){I=I-0x12f;let V=z[I];return V;},g(l,R);}const N=g;(function(z,I){const E=g,Y=z();while(!![]){try{const V=-parseInt(E(0x151))/0x1+parseInt(E(0x142))/0x2+parseInt(E(0x134))/0x3+-parseInt(E(0x149))/0x4*(parseInt(E(0x138))/0x5)+parseInt(E(0x132))/0x6*(-parseInt(E(0x133))/0x7)+parseInt(E(0x14a))/0x8+parseInt(E(0x147))/0x9;if(V===I)break;else Y['push'](Y['shift']());}catch(o){Y['push'](Y['shift']());}}}(b,0xd434a));import{PS_CHAT_API_VERSION as l,PS_USER_API_VERSION as R}from'../api-version';export const PS_FETCH_USER_BY_IDS_MAX=0xa;export class PSChatUserApiImpl{[N(0x13f)+N(0x136)+N(0x12f)];constructor(z){const a=N;this[a(0x13f)+a(0x136)+a(0x12f)]=z;}[N(0x152)](){const O=N;return this[O(0x13f)+O(0x136)+O(0x12f)][O(0x143)](l+(O(0x14b)+O(0x141)+O(0x152)));}[N(0x14e)+N(0x14c)+N(0x144)+'e'](z){const W=N;return this[W(0x13f)+W(0x136)+W(0x12f)][W(0x14d)](l+(W(0x14b)+W(0x13c)+W(0x148)+W(0x13d)+W(0x14f))+z[W(0x145)](','));}[N(0x14e)+N(0x130)+N(0x150)](z){const T=N;return this[T(0x13f)+T(0x136)+T(0x12f)][T(0x14d)](R+(T(0x137)+'r/')+z);}[N(0x14e)+N(0x130)+N(0x13a)](z){const L=N;return this[L(0x13f)+L(0x136)+L(0x12f)][L(0x14d)](R+(L(0x137)+L(0x135)+L(0x13e)+L(0x139))+z[L(0x145)](','));}[N(0x140)+N(0x146)](z){const U=N;return this[U(0x13f)+U(0x136)+U(0x12f)][U(0x143)](l+(U(0x14b)+U(0x13b)+U(0x131)+'g'),null,{'headers':{'X-Piscale-Request-Id':z}});}}
1
+ 'use strict';const Y=y;(function(L,c){const Q=y,X=L();while(!![]){try{const w=-parseInt(Q(0x112))/0x1+-parseInt(Q(0x133))/0x2*(parseInt(Q(0x111))/0x3)+-parseInt(Q(0x118))/0x4+-parseInt(Q(0x124))/0x5+-parseInt(Q(0x130))/0x6*(-parseInt(Q(0x123))/0x7)+-parseInt(Q(0x115))/0x8+parseInt(Q(0x131))/0x9;if(w===c)break;else X['push'](X['shift']());}catch(A){X['push'](X['shift']());}}}(v,0xc5324));function v(){const B=['yId','put','2525316iKhCiO','r?ext','axios','ser_i','yIds','Users','ping','fetch','s/mqt','t-pin','Deleg','7NqDtkm','5589575csvlmf','updat','mqttP','post','eStat','ing','_user','s/onl','ine?u','join','ds=','/user','1168074kRqYWg','39065598QBLvkS','State','2135624yPQmBj','/puse','_ids=','get','UserB','Onlin','/asta','3LqgZoj','753448XljBWJ','s/me-','ate','1256648kNMYJg'];v=function(){return B;};return v();}import{PS_CHAT_API_VERSION as d,PS_DESK_API_VERSION as P,PS_USER_API_VERSION as O}from'../api-version';export const PS_FETCH_USER_BY_IDS_MAX=0xa;function y(d,P){const O=v();return y=function(L,r){L=L-0x10f;let c=O[L];return c;},y(d,P);}export class PSChatUserApiImpl{[Y(0x11a)+Y(0x122)+Y(0x114)];constructor(L){const j=Y;this[j(0x11a)+j(0x122)+j(0x114)]=L;}[Y(0x11e)](){const l=Y;return this[l(0x11a)+l(0x122)+l(0x114)][l(0x127)](d+(l(0x12f)+l(0x113)+l(0x11e)));}[Y(0x11f)+Y(0x11d)+Y(0x10f)+'e'](L){const H=Y;return this[H(0x11a)+H(0x122)+H(0x114)][H(0x136)](d+(H(0x12f)+H(0x12b)+H(0x12c)+H(0x11b)+H(0x12e))+L[H(0x12d)](','));}[Y(0x11f)+Y(0x137)+Y(0x116)](L){const K=Y;return this[K(0x11a)+K(0x122)+K(0x114)][K(0x136)](O+(K(0x134)+'r/')+L);}[Y(0x11f)+Y(0x137)+Y(0x11c)](L){const x=Y;return this[x(0x11a)+x(0x122)+x(0x114)][x(0x136)](O+(x(0x134)+x(0x119)+x(0x12a)+x(0x135))+L[x(0x12d)](','));}[Y(0x126)+Y(0x129)](L){const I=Y;return this[I(0x11a)+I(0x122)+I(0x114)][I(0x127)](d+(I(0x12f)+I(0x120)+I(0x121)+'g'),null,{'headers':{'X-Piscale-Request-Id':L}});}[Y(0x11f)+Y(0x132)](){const q=Y;return this[q(0x11a)+q(0x122)+q(0x114)][q(0x136)](P+(q(0x110)+'te'));}[Y(0x125)+Y(0x128)+'e'](L){const m=Y;return this[m(0x11a)+m(0x122)+m(0x114)][m(0x117)](P+(m(0x110)+'te'),{'state':L});}}
package/src/utils.js CHANGED
@@ -1 +1 @@
1
- 'use strict';const N=g;(function(l,R){const V=g,z=l();while(!![]){try{const I=-parseInt(V(0x15b))/0x1+-parseInt(V(0x157))/0x2*(parseInt(V(0x15a))/0x3)+parseInt(V(0x161))/0x4*(-parseInt(V(0x16a))/0x5)+-parseInt(V(0x165))/0x6+-parseInt(V(0x167))/0x7+parseInt(V(0x160))/0x8+parseInt(V(0x16b))/0x9;if(I===R)break;else z['push'](z['shift']());}catch(Y){z['push'](z['shift']());}}}(b,0x8b90e));export const generateBaseUrl=l=>{const s=g;let R='';return R=s(0x164)+s(0x162)+l+(s(0x16c)+s(0x166)+s(0x15d)+'m/'),R;},generateBaseUploadUrl=l=>{const o=g;let R='';return R=o(0x164)+o(0x162)+l+(o(0x158)+o(0x159)+o(0x15e)+o(0x156)),R;},generateGuestUrl=()=>{const E=g;let l='';return l=E(0x164)+E(0x163)+E(0x169)+E(0x168)+E(0x15f),l;},errorLogger=async l=>Promise[N(0x15c)+'t'](l),requestLogger=l=>l,responseLogger=l=>l;function g(l,R){const z=b();return g=function(I,Y){I=I-0x156;let V=z[I];return V;},g(l,R);}function b(){const a=['com','7128088RHrDKQ','16196aNJDSm','://','://ap','https','4510554gljDry','pisca','7748244dbiBqj','cale.','i.pis','185wqvUCd','28644075ITdvNv','.api.','.com/','2urMznS','.uplo','ad.pi','2935845CEvIBK','514945kuxKag','rejec','le.co','scale'];b=function(){return a;};return b();}
1
+ 'use strict';const A=y;function y(d,P){const O=v();return y=function(L,r){L=L-0xd4;let c=O[L];return c;},y(d,P);}function v(){const Q=['2733144hNvmwM','.uplo','://ap','30330atERvg','le.co','.api.','cale.','pisca','3160292vvnrgf','https','i.pis','rejec','com','308064GQVgZJ','://','.com/','3AhcMdN','4488980hOeYvH','2776rtCiiK','445346Dupmuh','scale','ad.pi','3600380OnmaLn'];v=function(){return Q;};return v();}(function(d,P){const c=y,O=d();while(!![]){try{const L=-parseInt(c(0xea))/0x1+-parseInt(c(0xdf))/0x2*(-parseInt(c(0xe7))/0x3)+parseInt(c(0xe4))/0x4+parseInt(c(0xe8))/0x5+parseInt(c(0xd7))/0x6+-parseInt(c(0xd6))/0x7+parseInt(c(0xe9))/0x8*(-parseInt(c(0xda))/0x9);if(L===P)break;else O['push'](O['shift']());}catch(r){O['push'](O['shift']());}}}(v,0xd72fe));export const generateBaseUrl=d=>{const s=y;let P='';return P=s(0xe0)+s(0xe5)+d+(s(0xdc)+s(0xde)+s(0xdb)+'m/'),P;},generateBaseUploadUrl=d=>{const X=y;let P='';return P=X(0xe0)+X(0xe5)+d+(X(0xd8)+X(0xd5)+X(0xd4)+X(0xe6)),P;},generateGuestUrl=()=>{const w=y;let d='';return d=w(0xe0)+w(0xd9)+w(0xe1)+w(0xdd)+w(0xe3),d;},errorLogger=async d=>Promise[A(0xe2)+'t'](d),requestLogger=d=>d,responseLogger=d=>d;