@communi/chat-api-client-typescript 2.9.12 → 2.9.14

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 (59) 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/config/types.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.d.ts +4 -0
  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.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/setting/index.js +1 -1
  32. package/src/setting/setting.js +1 -1
  33. package/src/setting/types.js +1 -1
  34. package/src/sticker/index.js +1 -1
  35. package/src/sticker/sticker.js +1 -1
  36. package/src/sticker/types.js +1 -1
  37. package/src/super-groups/index.js +1 -1
  38. package/src/super-groups/super-groups.js +1 -1
  39. package/src/tag/index.js +1 -1
  40. package/src/tag/tag.js +1 -1
  41. package/src/tag/types.js +1 -1
  42. package/src/tag-category/category.js +1 -1
  43. package/src/tag-category/index.js +1 -1
  44. package/src/tag-category/types.js +1 -1
  45. package/src/thread/index.js +1 -1
  46. package/src/thread/thread.js +1 -1
  47. package/src/thread/types.js +1 -1
  48. package/src/ticket/index.js +1 -1
  49. package/src/ticket/ticket.js +1 -1
  50. package/src/ticket/types.js +1 -1
  51. package/src/types.js +1 -1
  52. package/src/upload/index.js +1 -1
  53. package/src/upload/types.js +1 -1
  54. package/src/upload/upload.js +1 -1
  55. package/src/user/index.js +1 -1
  56. package/src/user/types.js +1 -1
  57. package/src/user/user.d.ts +2 -2
  58. package/src/user/user.js +1 -1
  59. package/src/utils.js +1 -1
@@ -1 +1 @@
1
- 'use strict';function u(w,o){var j=A();return u=function(y,f){y=y-0x128;var x=j[y];return x;},u(w,o);}function A(){var S=['1215204dvjmDk','18261HGhrSB','91vdCnhn','8McarRK','1982952QMoUzs','4328338vawaqS','30qpctpB','5JeRtDQ','15CVfndg','2856CXxZxJ','117804fxTfNj','2661kzRRcu','5434803HQUCno'];A=function(){return S;};return A();}(function(w,o){var x=u,j=w();while(!![]){try{var y=-parseInt(x(0x128))/0x1*(-parseInt(x(0x12b))/0x2)+parseInt(x(0x12c))/0x3*(parseInt(x(0x12a))/0x4)+parseInt(x(0x129))/0x5*(-parseInt(x(0x12e))/0x6)+-parseInt(x(0x133))/0x7*(parseInt(x(0x131))/0x8)+parseInt(x(0x12f))/0x9*(parseInt(x(0x134))/0xa)+-parseInt(x(0x12d))/0xb+-parseInt(x(0x132))/0xc*(-parseInt(x(0x130))/0xd);if(y===o)break;else j['push'](j['shift']());}catch(f){j['push'](j['shift']());}}}(A,0x5a7c4));export*from'./ticket';export*from'./types';
1
+ 'use strict';function H(a,L){var Y=V();return H=function(E,u){E=E-0xd4;var F=Y[E];return F;},H(a,L);}function V(){var B=['3179400MmBHte','52317zAihqo','10dtDHVS','368ZOJULg','7IkZwde','2348703wsYzIi','115705OcjvUQ','12581710spqopM','608464hMVUac','6439152ilDSnU'];V=function(){return B;};return V();}(function(a,L){var F=H,Y=a();while(!![]){try{var E=-parseInt(F(0xd7))/0x1*(parseInt(F(0xdd))/0x2)+parseInt(F(0xd6))/0x3+-parseInt(F(0xd9))/0x4+parseInt(F(0xdb))/0x5+-parseInt(F(0xda))/0x6*(parseInt(F(0xd5))/0x7)+-parseInt(F(0xd4))/0x8*(parseInt(F(0xdc))/0x9)+parseInt(F(0xd8))/0xa;if(E===L)break;else Y['push'](Y['shift']());}catch(u){Y['push'](Y['shift']());}}}(V,0x93e19));export*from'./ticket';export*from'./types';
@@ -1 +1 @@
1
- 'use strict';function A(){var t=['cketB','ate','384384lCrOMR','77GMkmEI','ion_i','ad_id','ckets','?thre','creat','ets/','put','yId','getTi','Deleg','eTick','post','600081BpOpYN','get','ets','144mNoumG','2676200icNKbl','updat','&sess','/tick','30zPahZF','9Amgrsm','47204OdqCme','1093796AfGdfe','437718DSjXII','axios','729172qMyauK'];A=function(){return t;};return A();}var G=u;(function(o,j){var M=u,y=o();while(!![]){try{var f=parseInt(M(0xf1))/0x1*(-parseInt(M(0xf2))/0x2)+parseInt(M(0xe8))/0x3+-parseInt(M(0xf6))/0x4+parseInt(M(0xec))/0x5+parseInt(M(0xf4))/0x6*(parseInt(M(0xdb))/0x7)+-parseInt(M(0xda))/0x8*(parseInt(M(0xeb))/0x9)+-parseInt(M(0xf0))/0xa*(-parseInt(M(0xf3))/0xb);if(f===j)break;else y['push'](y['shift']());}catch(x){y['push'](y['shift']());}}}(A,0xa4343));function u(w,o){var j=A();return u=function(y,f){y=y-0xd8;var x=j[y];return x;},u(w,o);}import{PS_CHAT_API_VERSION as w}from'../api-version';export class PSChatTicketApiImpl{[G(0xf5)+G(0xe5)+G(0xd9)];constructor(o){var r=G;this[r(0xf5)+r(0xe5)+r(0xd9)]=o;}[G(0xe4)+G(0xde)](o,j,y,f){var c=G;return this[c(0xf5)+c(0xe5)+c(0xd9)][c(0xe9)](w+(c(0xef)+c(0xea)),{'params':{'thread_id':o,'session_id':j,'last_id':y,'limit':f}});}[G(0xe4)+G(0xd8)+G(0xe3)](o,j,y){var p=G;return this[p(0xf5)+p(0xe5)+p(0xd9)][p(0xe9)](w+(p(0xef)+p(0xe1))+y,{'params':{'thread_id':o,'session_id':j}});}[G(0xe0)+G(0xe6)+'et'](o){var D=G;return this[D(0xf5)+D(0xe5)+D(0xd9)][D(0xe7)](w+(D(0xef)+D(0xea)),o);}[G(0xed)+G(0xe6)+'et'](j,y,f,x,S,B){var C=G;return this[C(0xf5)+C(0xe5)+C(0xd9)][C(0xe2)](w+(C(0xef)+C(0xe1))+y+(C(0xdf)+C(0xdd)+'=')+f+(C(0xee)+C(0xdc)+'d=')+S,j,{'params':{'last_id':x,'limit':B}});}}
1
+ 'use strict';var R=H;(function(L,Y){var t=H,E=L();while(!![]){try{var u=parseInt(t(0x17e))/0x1+parseInt(t(0x17d))/0x2*(-parseInt(t(0x185))/0x3)+-parseInt(t(0x177))/0x4*(parseInt(t(0x182))/0x5)+parseInt(t(0x175))/0x6+-parseInt(t(0x172))/0x7+-parseInt(t(0x179))/0x8*(-parseInt(t(0x174))/0x9)+parseInt(t(0x16a))/0xa;if(u===Y)break;else E['push'](E['shift']());}catch(F){E['push'](E['shift']());}}}(V,0x90c5c));import{PS_CHAT_API_VERSION as a}from'../api-version';function V(){var j=['143332VLQiGU','put','666680yFKnUd','ion_i','Deleg','ate','6DyazUk','426834XEsSEu','/tick','post','creat','110vvnILe','getTi','?thre','424113lyoaKD','&sess','axios','9348980nXyoqF','yId','ckets','ets','ad_id','ets/','eTick','cketB','1060507KcGxZa','get','9OdqdEb','3071166KZbcNP','updat'];V=function(){return j;};return V();}function H(a,L){var Y=V();return H=function(E,u){E=E-0x168;var F=Y[E];return F;},H(a,L);}export class PSChatTicketApiImpl{[R(0x169)+R(0x17b)+R(0x17c)];constructor(L){var d=R;this[d(0x169)+d(0x17b)+d(0x17c)]=L;}[R(0x183)+R(0x16c)](L,Y,E,u){var v=R;return this[v(0x169)+v(0x17b)+v(0x17c)][v(0x173)](a+(v(0x17f)+v(0x16d)),{'params':{'thread_id':L,'session_id':Y,'last_id':E,'limit':u}});}[R(0x183)+R(0x171)+R(0x16b)](L,Y,E){var y=R;return this[y(0x169)+y(0x17b)+y(0x17c)][y(0x173)](a+(y(0x17f)+y(0x16f))+E,{'params':{'thread_id':L,'session_id':Y}});}[R(0x181)+R(0x170)+'et'](L){var C=R;return this[C(0x169)+C(0x17b)+C(0x17c)][C(0x180)](a+(C(0x17f)+C(0x16d)),L);}[R(0x176)+R(0x170)+'et'](L,Y,E,u,F,B){var r=R;return this[r(0x169)+r(0x17b)+r(0x17c)][r(0x178)](a+(r(0x17f)+r(0x16f))+Y+(r(0x184)+r(0x16e)+'=')+E+(r(0x168)+r(0x17a)+'d=')+F,L,{'params':{'last_id':u,'limit':B}});}}
@@ -1 +1 @@
1
- 'use strict';(function(w,o){var x=u,j=w();while(!![]){try{var y=parseInt(x(0x1ce))/0x1*(-parseInt(x(0x1d9))/0x2)+parseInt(x(0x1cf))/0x3+-parseInt(x(0x1d3))/0x4*(parseInt(x(0x1d2))/0x5)+parseInt(x(0x1d1))/0x6+parseInt(x(0x1d0))/0x7*(parseInt(x(0x1d7))/0x8)+-parseInt(x(0x1d4))/0x9*(parseInt(x(0x1d8))/0xa)+parseInt(x(0x1d5))/0xb*(parseInt(x(0x1d6))/0xc);if(y===o)break;else j['push'](j['shift']());}catch(f){j['push'](j['shift']());}}}(A,0x37e38));function A(){var S=['2691821LdAXmk','36yHOzsq','8552rRDAoz','10sAdiIP','2PorWob','225956hePETy','307266HxOEAX','7ZzhFPc','903846fMAOQV','5KDlywH','1272524SBgGwj','1937322lDDZEo'];A=function(){return S;};return A();}function u(w,o){var j=A();return u=function(y,f){y=y-0x1ce;var x=j[y];return x;},u(w,o);}export{};
1
+ 'use strict';(function(a,L){var F=H,Y=a();while(!![]){try{var E=-parseInt(F(0xae))/0x1*(parseInt(F(0xaf))/0x2)+parseInt(F(0xb3))/0x3*(parseInt(F(0xac))/0x4)+-parseInt(F(0xb1))/0x5*(-parseInt(F(0xb0))/0x6)+-parseInt(F(0xb7))/0x7*(-parseInt(F(0xb4))/0x8)+-parseInt(F(0xad))/0x9*(parseInt(F(0xb5))/0xa)+parseInt(F(0xb8))/0xb*(parseInt(F(0xb2))/0xc)+parseInt(F(0xb9))/0xd*(parseInt(F(0xb6))/0xe);if(E===L)break;else Y['push'](Y['shift']());}catch(u){Y['push'](Y['shift']());}}}(V,0x37efe));export{};function H(a,L){var Y=V();return H=function(E,u){E=E-0xac;var F=Y[E];return F;},H(a,L);}function V(){var B=['12XjYZIH','920GjdNnp','230jXAVoX','184114wxAWOa','2205ZCCrye','440QOmZAI','403vcHaFm','26964HmgHFM','138393mmmrkM','1ARAMJI','809302ikLhyc','60kKoWfH','139505NivDXL','71268YqLEfe'];V=function(){return B;};return V();}
package/src/types.js CHANGED
@@ -1 +1 @@
1
- 'use strict';var S=u;(function(w,o){var x=u,j=w();while(!![]){try{var y=-parseInt(x(0x151))/0x1*(-parseInt(x(0x143))/0x2)+parseInt(x(0x145))/0x3+-parseInt(x(0x152))/0x4*(parseInt(x(0x14d))/0x5)+-parseInt(x(0x154))/0x6+parseInt(x(0x142))/0x7+-parseInt(x(0x141))/0x8*(-parseInt(x(0x14e))/0x9)+parseInt(x(0x153))/0xa*(-parseInt(x(0x14f))/0xb);if(y===o)break;else j['push'](j['shift']());}catch(f){j['push'](j['shift']());}}}(A,0x76cb5));function A(){var M=['3440ztwcQk','3090666xKyKKG','5347896zRaSqQ','1876784SELXCa','2dZPUYS','setPr','1967523rJwhyX','type','ototy','nse','code','respo','peOf','http_','5OowkuU','9cFKIer','28908idlPNL','proto','582055daEKyd','1075084CnFpEJ'];A=function(){return M;};return A();}function u(w,o){var j=A();return u=function(y,f){y=y-0x141;var x=j[y];return x;},u(w,o);}export class PSResponseError extends Error{[S(0x14c)+S(0x149)];[S(0x14a)+S(0x148)];constructor(w){var B=S;super(w),Object[B(0x144)+B(0x147)+B(0x14b)](this,PSResponseError[B(0x150)+B(0x146)]);}}
1
+ 'use strict';function H(a,L){var Y=V();return H=function(E,u){E=E-0xf1;var F=Y[E];return F;},H(a,L);}var B=H;(function(a,L){var F=H,Y=a();while(!![]){try{var E=-parseInt(F(0xf7))/0x1*(parseInt(F(0xff))/0x2)+-parseInt(F(0xf2))/0x3*(parseInt(F(0xf9))/0x4)+-parseInt(F(0xfc))/0x5+-parseInt(F(0xf8))/0x6+parseInt(F(0xf3))/0x7+-parseInt(F(0xf5))/0x8+parseInt(F(0x101))/0x9;if(E===L)break;else Y['push'](Y['shift']());}catch(u){Y['push'](Y['shift']());}}}(V,0xc0fe7));function V(){var R=['ototy','4632933UvlgLZ','4672381LslFAn','peOf','9422376HvxYqd','proto','2vMEeHr','5870160iDbmow','4IWhvcW','setPr','http_','7332465usQiGv','nse','code','744818OOjuUc','respo','54313191uFFuzD','type'];V=function(){return R;};return V();}export class PSResponseError extends Error{[B(0xfb)+B(0xfe)];[B(0x100)+B(0xfd)];constructor(a){var t=B;super(a),Object[t(0xfa)+t(0xf1)+t(0xf4)](this,PSResponseError[t(0xf6)+t(0x102)]);}}
@@ -1 +1 @@
1
- 'use strict';function u(w,o){var j=A();return u=function(y,f){y=y-0x1e1;var x=j[y];return x;},u(w,o);}(function(w,o){var x=u,j=w();while(!![]){try{var y=-parseInt(x(0x1e8))/0x1*(parseInt(x(0x1e4))/0x2)+parseInt(x(0x1e9))/0x3*(-parseInt(x(0x1eb))/0x4)+parseInt(x(0x1ed))/0x5*(-parseInt(x(0x1e1))/0x6)+parseInt(x(0x1e3))/0x7*(parseInt(x(0x1e6))/0x8)+-parseInt(x(0x1ec))/0x9*(parseInt(x(0x1e2))/0xa)+-parseInt(x(0x1e5))/0xb*(parseInt(x(0x1ea))/0xc)+parseInt(x(0x1e7))/0xd;if(y===o)break;else j['push'](j['shift']());}catch(f){j['push'](j['shift']());}}}(A,0x5279f));export*from'./upload';export*from'./types';function A(){var S=['19952569GGymZs','147406DsKPjn','3EQTIXg','12daXIrd','2021204ZgoEIh','36hYtqjd','670xuAjaj','16782jTNYjx','236090pmifxP','67928HVZUEG','2IqQCod','2746931LWlQtc','144hxCKis'];A=function(){return S;};return A();}
1
+ 'use strict';(function(a,L){var F=H,Y=a();while(!![]){try{var E=-parseInt(F(0x1f0))/0x1*(-parseInt(F(0x1ee))/0x2)+-parseInt(F(0x1f2))/0x3*(-parseInt(F(0x1eb))/0x4)+parseInt(F(0x1ed))/0x5*(parseInt(F(0x1e8))/0x6)+-parseInt(F(0x1ef))/0x7+parseInt(F(0x1e9))/0x8*(parseInt(F(0x1f1))/0x9)+-parseInt(F(0x1ea))/0xa+parseInt(F(0x1ec))/0xb;if(E===L)break;else Y['push'](Y['shift']());}catch(u){Y['push'](Y['shift']());}}}(V,0x41021));function H(a,L){var Y=V();return H=function(E,u){E=E-0x1e8;var F=Y[E];return F;},H(a,L);}export*from'./upload';export*from'./types';function V(){var B=['909381bwSHOc','10AzDuqY','4STiKel','1290359iKfohX','52925NqYvSa','63xBiTTs','1809KdSDIR','688416FCTWVw','184456omZddm','4248550WwVrom','1964TbkcYB'];V=function(){return B;};return V();}
@@ -1 +1 @@
1
- 'use strict';const S=u;function A(){const B=['size','heigh','ion','470072silMMr','14tFfYOU','894594FkOwGx','690190kexrEn','6710950wugyBL','6CLxdeQ','296qZNnsJ','path','name','699866ptvXrq','bucke','267561yAjToX','width','durat','711433KPhWgb'];A=function(){return B;};return A();}(function(w,o){const x=u,j=w();while(!![]){try{const y=parseInt(x(0x1b6))/0x1+-parseInt(x(0x1b1))/0x2*(-parseInt(x(0x1ad))/0x3)+parseInt(x(0x1ba))/0x4+-parseInt(x(0x1bd))/0x5+-parseInt(x(0x1bc))/0x6*(parseInt(x(0x1bb))/0x7)+parseInt(x(0x1ae))/0x8*(-parseInt(x(0x1b3))/0x9)+parseInt(x(0x1be))/0xa;if(y===o)break;else j['push'](j['shift']());}catch(f){j['push'](j['shift']());}}}(A,0xa2097));function u(w,o){const j=A();return u=function(y,f){y=y-0x1ad;let x=j[y];return x;},u(w,o);}export const mapUploadDataDtoToCreateMessageBodyMetadataRequestDto=(w,o)=>({'id':w['id'],'name':w[S(0x1b0)],'path':w[S(0x1af)],'bucket':w[S(0x1b2)+'t'],'size':w[S(0x1b7)],'width':w[S(0x1b4)],'height':w[S(0x1b8)+'t'],'duration':w[S(0x1b5)+S(0x1b9)],'type':o});
1
+ 'use strict';function H(a,L){const Y=V();return H=function(E,u){E=E-0xbe;let F=Y[E];return F;},H(a,L);}const B=H;(function(a,L){const F=H,Y=a();while(!![]){try{const E=parseInt(F(0xcc))/0x1*(parseInt(F(0xc5))/0x2)+parseInt(F(0xc6))/0x3+-parseInt(F(0xc9))/0x4*(-parseInt(F(0xcb))/0x5)+-parseInt(F(0xce))/0x6+parseInt(F(0xcd))/0x7*(parseInt(F(0xd1))/0x8)+parseInt(F(0xc7))/0x9*(-parseInt(F(0xc4))/0xa)+parseInt(F(0xca))/0xb*(-parseInt(F(0xbf))/0xc);if(E===L)break;else Y['push'](Y['shift']());}catch(u){Y['push'](Y['shift']());}}}(V,0x8848a));function V(){const t=['80fcdTtY','1053672YdGbJO','1023048ZPjtLh','223506sjRhGe','bucke','136MDkUeL','1793ONvAHf','79855CtDNRF','1hXPqCA','7487179HKYXVt','5680290RQwStq','name','width','8EeZLDY','durat','57192IpFPAD','path','size','heigh','ion'];V=function(){return t;};return V();}export const mapUploadDataDtoToCreateMessageBodyMetadataRequestDto=(a,L)=>({'id':a['id'],'name':a[B(0xcf)],'path':a[B(0xc0)],'bucket':a[B(0xc8)+'t'],'size':a[B(0xc1)],'width':a[B(0xd0)],'height':a[B(0xc2)+'t'],'duration':a[B(0xbe)+B(0xc3)],'type':L});
@@ -1 +1 @@
1
- 'use strict';var B=u;function u(w,o){var j=A();return u=function(y,f){y=y-0x111;var x=j[y];return x;},u(w,o);}(function(o,j){var S=u,y=o();while(!![]){try{var f=-parseInt(S(0x116))/0x1*(parseInt(S(0x120))/0x2)+-parseInt(S(0x124))/0x3*(-parseInt(S(0x129))/0x4)+parseInt(S(0x12a))/0x5*(-parseInt(S(0x123))/0x6)+-parseInt(S(0x113))/0x7+-parseInt(S(0x11c))/0x8*(parseInt(S(0x112))/0x9)+-parseInt(S(0x127))/0xa*(-parseInt(S(0x118))/0xb)+-parseInt(S(0x11b))/0xc*(-parseInt(S(0x12c))/0xd);if(f===j)break;else y['push'](y['shift']());}catch(x){y['push'](y['shift']());}}}(A,0x84d0c));function A(){var p=['1106890ezMHRc','post','818916YEzkTQ','7255CtGbPG','dVide','3549taVCqw','axios','153mtXgAm','7299915ZXiavG','uploa','/vide','1065751VzHroR','Deleg','11wfhtvW','dFile','form-','130668VGwzYe','8992BMNpuy','/imag','dImag','multi','2ocYBJr','ate','part/','4242PqoTAI','9JqbrqW','/file','data'];A=function(){return p;};return A();}import{PS_UPLOAD_API_VERSION as w}from'../api-version';export class PSChatUploadApiImpl{[B(0x111)+B(0x117)+B(0x121)];constructor(o){var M=B;this[M(0x111)+M(0x117)+M(0x121)]=o;}[B(0x114)+B(0x11e)+'e'](j,y,f){var G=B;return this[G(0x111)+G(0x117)+G(0x121)][G(0x128)](w+(G(0x11d)+'es'),j,{'onUploadProgress':y,'headers':{'Content-Type':G(0x11f)+G(0x122)+G(0x11a)+G(0x126),'Content-Length':f},'timeout':0xea60});}[B(0x114)+B(0x12b)+'o'](j,y,f){var r=B;return this[r(0x111)+r(0x117)+r(0x121)][r(0x128)](w+(r(0x115)+'os'),j,{'onUploadProgress':y,'headers':{'Content-Type':r(0x11f)+r(0x122)+r(0x11a)+r(0x126),'Content-Length':f},'timeout':0xea60});}[B(0x114)+B(0x119)](j,y,f){var c=B;return this[c(0x111)+c(0x117)+c(0x121)][c(0x128)](w+(c(0x125)+'s'),j,{'onUploadProgress':y,'headers':{'Content-Type':c(0x11f)+c(0x122)+c(0x11a)+c(0x126),'Content-Length':f},'timeout':0xea60});}}
1
+ 'use strict';var R=H;(function(Y,E){var t=H,u=Y();while(!![]){try{var F=parseInt(t(0xd7))/0x1*(-parseInt(t(0xe1))/0x2)+parseInt(t(0xdd))/0x3+parseInt(t(0xe6))/0x4*(parseInt(t(0xea))/0x5)+parseInt(t(0xe9))/0x6+parseInt(t(0xdb))/0x7*(-parseInt(t(0xd3))/0x8)+parseInt(t(0xd4))/0x9*(parseInt(t(0xdf))/0xa)+-parseInt(t(0xe4))/0xb;if(F===E)break;else u['push'](u['shift']());}catch(B){u['push'](u['shift']());}}}(V,0x6c643));function H(a,L){var Y=V();return H=function(E,u){E=E-0xd3;var F=Y[E];return F;},H(a,L);}function V(){var r=['5014188gIJiyX','65VdLDFr','multi','/imag','9704KBbufz','7126011geOxas','form-','axios','314097HkGgrP','dFile','part/','data','357jYWafz','post','1645932lLdzHC','/file','10ztWXmH','/vide','4GFZXZU','ate','uploa','17648774rOstPa','dVide','173028jeWRMd','dImag','Deleg'];V=function(){return r;};return V();}import{PS_UPLOAD_API_VERSION as L}from'../api-version';export class PSChatUploadApiImpl{[R(0xd6)+R(0xe8)+R(0xe2)];constructor(Y){var d=R;this[d(0xd6)+d(0xe8)+d(0xe2)]=Y;}[R(0xe3)+R(0xe7)+'e'](Y,E,u){var v=R;return this[v(0xd6)+v(0xe8)+v(0xe2)][v(0xdc)](L+(v(0xec)+'es'),Y,{'onUploadProgress':E,'headers':{'Content-Type':v(0xeb)+v(0xd9)+v(0xd5)+v(0xda),'Content-Length':u},'timeout':0xea60});}[R(0xe3)+R(0xe5)+'o'](Y,E,u){var y=R;return this[y(0xd6)+y(0xe8)+y(0xe2)][y(0xdc)](L+(y(0xe0)+'os'),Y,{'onUploadProgress':E,'headers':{'Content-Type':y(0xeb)+y(0xd9)+y(0xd5)+y(0xda),'Content-Length':u},'timeout':0xea60});}[R(0xe3)+R(0xd8)](Y,E,u){var C=R;return this[C(0xd6)+C(0xe8)+C(0xe2)][C(0xdc)](L+(C(0xde)+'s'),Y,{'onUploadProgress':E,'headers':{'Content-Type':C(0xeb)+C(0xd9)+C(0xd5)+C(0xda),'Content-Length':u},'timeout':0xea60});}}
package/src/user/index.js CHANGED
@@ -1 +1 @@
1
- 'use strict';function u(w,o){var j=A();return u=function(y,f){y=y-0x1e0;var x=j[y];return x;},u(w,o);}(function(w,o){var x=u,j=w();while(!![]){try{var y=-parseInt(x(0x1eb))/0x1*(parseInt(x(0x1e2))/0x2)+parseInt(x(0x1e5))/0x3*(-parseInt(x(0x1e1))/0x4)+parseInt(x(0x1e7))/0x5+parseInt(x(0x1e3))/0x6+parseInt(x(0x1e9))/0x7*(parseInt(x(0x1e6))/0x8)+-parseInt(x(0x1e4))/0x9*(parseInt(x(0x1e8))/0xa)+-parseInt(x(0x1e0))/0xb*(-parseInt(x(0x1ea))/0xc);if(y===o)break;else j['push'](j['shift']());}catch(f){j['push'](j['shift']());}}}(A,0xe38ad));function A(){var S=['28370MQMvFV','530698kHVYYd','12RhygGP','704617anvfwU','3165129YYedCe','103832TIQtSH','4gzVovl','9148482rywBLb','3681UnkORs','30EFDEag','48QWotAS','7468950PqVdvN'];A=function(){return S;};return A();}export*from'./user';export*from'./types';
1
+ 'use strict';(function(a,L){var F=H,Y=a();while(!![]){try{var E=parseInt(F(0xc8))/0x1+-parseInt(F(0xcb))/0x2*(-parseInt(F(0xca))/0x3)+parseInt(F(0xc7))/0x4*(-parseInt(F(0xcd))/0x5)+parseInt(F(0xc9))/0x6+-parseInt(F(0xcc))/0x7*(-parseInt(F(0xc4))/0x8)+parseInt(F(0xc5))/0x9*(-parseInt(F(0xc3))/0xa)+-parseInt(F(0xc6))/0xb;if(E===L)break;else Y['push'](Y['shift']());}catch(u){Y['push'](Y['shift']());}}}(V,0x7e45d));function H(a,L){var Y=V();return H=function(E,u){E=E-0xc3;var F=Y[E];return F;},H(a,L);}function V(){var B=['14808970rdiMbV','108292kABIAI','293185ZHhgEV','5868738ZdYRRu','14133NxCdBi','250ErIOwa','35TLgezY','85PzAQrQ','2039770lEoBqv','1394392CGaBWm','18jfYCCS'];V=function(){return B;};return V();}export*from'./user';export*from'./types';
package/src/user/types.js CHANGED
@@ -1 +1 @@
1
- 'use strict';(function(w,o){var x=u,j=w();while(!![]){try{var y=parseInt(x(0x179))/0x1*(parseInt(x(0x189))/0x2)+parseInt(x(0x191))/0x3*(parseInt(x(0x199))/0x4)+parseInt(x(0x184))/0x5+parseInt(x(0x17e))/0x6*(parseInt(x(0x185))/0x7)+parseInt(x(0x17d))/0x8*(-parseInt(x(0x17f))/0x9)+parseInt(x(0x18b))/0xa*(parseInt(x(0x17a))/0xb)+-parseInt(x(0x183))/0xc*(parseInt(x(0x186))/0xd);if(y===o)break;else j['push'](j['shift']());}catch(f){j['push'](j['shift']());}}}(A,0x39092));function A(){var p=['MUTED','ACTIV','8nGCxjt','20250VqxBnk','391707SXFVre','NO_BL','UNAVA','ED_BY','22164ZjqWDz','2284700qiZAGu','658RVymsK','7150oPeSwo','UN_BL','_PART','564362TfGwjk','ILABL','3040gEcqgn','GUEST','IVATE','AVAIL','DEACT','_ME','6BnGmRT','CS_AG','NER','ENT','BOT','OCK','BLOCK','ABLE','338872rKwVHn','USER','1cAuVeK','2431RefDhv'];A=function(){return p;};return A();}export var PSUserType;(function(w){var S=u;w[w[S(0x19a)]=0x1]=S(0x19a),w[w[S(0x195)]=0x2]=S(0x195),w[w[S(0x192)+S(0x194)]=0x5]=S(0x192)+S(0x194),w[w[S(0x18c)]=0x6]=S(0x18c);}(PSUserType||(PSUserType={})));function u(w,o){var j=A();return u=function(y,f){y=y-0x179;var x=j[y];return x;},u(w,o);}export var PSUserStatus;(function(w){var B=u;w[w[B(0x18f)+B(0x18d)+'D']=0x2]=B(0x18f)+B(0x18d)+'D';}(PSUserStatus||(PSUserStatus={})));export var MEMBER_STATUS;(function(w){var M=u;w[w[M(0x17c)+'E']=0x1]=M(0x17c)+'E',w[w[M(0x17b)]=0x2]=M(0x17b);}(MEMBER_STATUS||(MEMBER_STATUS={})));export var USER_STATE;(function(w){var G=u;w[w[G(0x18e)+G(0x198)]=0x1]=G(0x18e)+G(0x198),w[w[G(0x181)+G(0x18a)+'E']=0x2]=G(0x181)+G(0x18a)+'E';}(USER_STATE||(USER_STATE={})));export var PSUserBlockStatus;(function(w){var r=u;w[w[r(0x180)+r(0x196)]=0x0]=r(0x180)+r(0x196),w[w[r(0x197)+r(0x182)+r(0x190)]=0x1]=r(0x197)+r(0x182)+r(0x190),w[w[r(0x197)+r(0x182)+r(0x188)+r(0x193)]=0x2]=r(0x197)+r(0x182)+r(0x188)+r(0x193);}(PSUserBlockStatus||(PSUserBlockStatus={})));export var PSBlockAction;(function(w){var c=u;w[w[c(0x197)]=0x1]=c(0x197),w[w[c(0x187)+c(0x196)]=0x2]=c(0x187)+c(0x196);}(PSBlockAction||(PSBlockAction={})));
1
+ 'use strict';(function(a,L){var F=H,Y=a();while(!![]){try{var E=-parseInt(F(0x1f1))/0x1*(parseInt(F(0x1ec))/0x2)+-parseInt(F(0x1f6))/0x3*(-parseInt(F(0x205))/0x4)+parseInt(F(0x1f4))/0x5+parseInt(F(0x1fd))/0x6*(-parseInt(F(0x200))/0x7)+-parseInt(F(0x207))/0x8+-parseInt(F(0x1f0))/0x9*(-parseInt(F(0x209))/0xa)+-parseInt(F(0x1f5))/0xb*(parseInt(F(0x1ff))/0xc);if(E===L)break;else Y['push'](Y['shift']());}catch(u){Y['push'](Y['shift']());}}}(V,0x71fae));export var PSUserType;(function(a){var B=H;a[a[B(0x203)]=0x1]=B(0x203),a[a[B(0x1eb)]=0x2]=B(0x1eb),a[a[B(0x1ed)+B(0x201)]=0x5]=B(0x1ed)+B(0x201),a[a[B(0x1f9)]=0x6]=B(0x1f9);}(PSUserType||(PSUserType={})));export var PSUserStatus;(function(a){var t=H;a[a[t(0x1f8)+t(0x1f7)+'D']=0x2]=t(0x1f8)+t(0x1f7)+'D';}(PSUserStatus||(PSUserStatus={})));export var MEMBER_STATUS;(function(a){var R=H;a[a[R(0x1ee)+'E']=0x1]=R(0x1ee)+'E',a[a[R(0x1ea)]=0x2]=R(0x1ea);}(MEMBER_STATUS||(MEMBER_STATUS={})));export var USER_STATE;(function(a){var d=H;a[a[d(0x1fe)+d(0x208)]=0x1]=d(0x1fe)+d(0x208),a[a[d(0x1f2)+d(0x204)+'E']=0x2]=d(0x1f2)+d(0x204)+'E';}(USER_STATE||(USER_STATE={})));export var PSUserBlockStatus;(function(a){var v=H;a[a[v(0x206)+v(0x1fb)]=0x0]=v(0x206)+v(0x1fb),a[a[v(0x1e9)+v(0x1fa)+v(0x1f3)]=0x1]=v(0x1e9)+v(0x1fa)+v(0x1f3),a[a[v(0x1e9)+v(0x1fa)+v(0x1fc)+v(0x202)]=0x2]=v(0x1e9)+v(0x1fa)+v(0x1fc)+v(0x202);}(PSUserBlockStatus||(PSUserBlockStatus={})));export var PSBlockAction;function H(a,L){var Y=V();return H=function(E,u){E=E-0x1e9;var F=Y[E];return F;},H(a,L);}(function(a){var y=H;a[a[y(0x1e9)]=0x1]=y(0x1e9),a[a[y(0x1ef)+y(0x1fb)]=0x2]=y(0x1ef)+y(0x1fb);}(PSBlockAction||(PSBlockAction={})));function V(){var C=['ED_BY','OCK','_PART','23442dNvEsT','AVAIL','12TIRGUx','1652uPgWZD','ENT','NER','USER','ILABL','36ddsvUV','NO_BL','2124848eGMGWk','ABLE','9295490FNKDms','BLOCK','MUTED','BOT','809774zhEIGy','CS_AG','ACTIV','UN_BL','9obhOTh','1IfZBOS','UNAVA','_ME','4383965vvCLpv','2561196VnlgSp','161967MhlbVm','IVATE','DEACT','GUEST'];V=function(){return C;};return V();}
@@ -7,7 +7,7 @@ export interface IPSChatUserApi {
7
7
  ping(): Promise<PSResponse<any>>;
8
8
  fetchUsersOnline(userIds: string[]): Promise<PSResponse<PSUserLastOnlineTimeDto[]>>;
9
9
  fetchUserById(userId: string, moreFields?: string[]): Promise<PSResponse<PSUserDto>>;
10
- fetchUserByIdsV2(userIds: string): Promise<PSResponse<PSUserDto>>;
10
+ fetchUserByIdsV2(userIds: string): Promise<PSResponse<PSUserDto[]>>;
11
11
  updateUserMetadata(userId: string, metadata: string): Promise<PSResponse<any>>;
12
12
  fetchUserByIds(userIds: string[]): Promise<PSResponse<PSUserDto[]>>;
13
13
  mqttPing(requestId: string): Promise<PSResponse<any>>;
@@ -29,7 +29,7 @@ export declare class PSChatUserApiImpl implements IPSChatUserApi {
29
29
  ping(): Promise<PSResponse<any>>;
30
30
  fetchUsersOnline(userIds: string[]): Promise<PSResponse<PSUserLastOnlineTimeDto[]>>;
31
31
  fetchUserById(userId: string, moreFields?: string[]): Promise<PSResponse<PSUserDto>>;
32
- fetchUserByIdsV2(userIds: string): Promise<PSResponse<PSUserDto>>;
32
+ fetchUserByIdsV2(userIds: string): Promise<PSResponse<PSUserDto[]>>;
33
33
  updateUserMetadata(userId: string, metadata: string): Promise<PSResponse<any>>;
34
34
  fetchUserByIds(userIds: string[]): Promise<PSResponse<PSUserDto[]>>;
35
35
  mqttPing(requestId: string): Promise<PSResponse<any>>;
package/src/user/user.js CHANGED
@@ -1 +1 @@
1
- 'use strict';const n=u;(function(f,x){const t=u,S=f();while(!![]){try{const B=parseInt(t(0x1ea))/0x1*(-parseInt(t(0x1de))/0x2)+-parseInt(t(0x1f8))/0x3*(-parseInt(t(0x1da))/0x4)+-parseInt(t(0x1d2))/0x5+parseInt(t(0x1c1))/0x6*(-parseInt(t(0x1a2))/0x7)+parseInt(t(0x1d0))/0x8+parseInt(t(0x1f1))/0x9*(parseInt(t(0x1f3))/0xa)+-parseInt(t(0x1d9))/0xb*(parseInt(t(0x1d6))/0xc);if(B===x)break;else S['push'](S['shift']());}catch(M){S['push'](S['shift']());}}}(A,0x54c47));import{PS_CHAT_API_VERSION as w,PS_DESK_API_VERSION as j,PS_USER_API_VERSION as y}from'../api-version';function u(w,o){const j=A();return u=function(y,f){y=y-0x1a2;let x=j[y];return x;},u(w,o);}export const PS_FETCH_USER_BY_IDS_MAX=0xa;function A(){const l=['619SvgdRP','_user','eQuic','s/mqt','s?cat','/user','tegor','63VgCONm','UserB','909890qKbodq','Deleg','Metad','yIds','s?is_','9HUuKru','-cate','gory_','r_ids','o?use','r?ext','ata','getQR','_id=','ser_i','7PKisjR','kRepl','getQu','Users','creat','id=','ockUs','/cann','r/use','fetch','t-pin','ate','/part','name,','/asta','nts/b','eUser','ies','ds=','_ids=','ories','/puse','eQrCa','yIdsV','yId','es/qr','mqttP','egory','&cate','join','put','1626690CFeuCT','e,\x20te','ed-re','te=','ping','\x20team','ickRe','Idnam','lock','spons','icipa','amId','get','eStat','axios','2061224MFAQLl','post','738790gcleNn','ply','Onlin','?qr_i','13188DHzyGz','State','gorie','1001JbNXan','119656WJeZuI','Categ','ine?u','s/me-','382JrlaiN','log','data','s/onl','priva','/meta','delet','updat','&team','r-inf','ing','setBl'];A=function(){return l;};return A();}export class PSChatUserApiImpl{[n(0x1cf)+n(0x1f4)+n(0x1ad)];constructor(f){const W=n;this[W(0x1cf)+W(0x1f4)+W(0x1ad)]=f;}[n(0x1c5)](){const Q=n;return this[Q(0x1cf)+Q(0x1f4)+Q(0x1ad)][Q(0x1d1)](w+(Q(0x1ef)+Q(0x1dd)+Q(0x1c5)));}[n(0x1ab)+n(0x1a5)+n(0x1d4)+'e'](f){const E=n;return this[E(0x1cf)+E(0x1f4)+E(0x1ad)][E(0x1cd)](w+(E(0x1ef)+E(0x1e1)+E(0x1dc)+E(0x201)+E(0x1b4))+f[E(0x1bf)](','));}[n(0x1ab)+n(0x1f2)+n(0x1ba)](f,x){const P=n;return this[P(0x1cf)+P(0x1f4)+P(0x1ad)][P(0x1cd)](y+(P(0x1b7)+'r/')+f,{'params':{'more_fields':x}});}[n(0x1ab)+n(0x1f2)+n(0x1b9)+'2'](f){const q=n;return this[q(0x1cf)+q(0x1f4)+q(0x1ad)][q(0x1cd)](y+(q(0x1b7)+q(0x1aa)+q(0x1e7)+q(0x1fc)+q(0x1fb)+'=')+f);}[n(0x1e5)+n(0x1b2)+n(0x1f5)+n(0x1fe)](f,x){const m=n;return this[m(0x1cf)+m(0x1f4)+m(0x1ad)][m(0x1c0)](y+(m(0x1b7)+'r/')+f+(m(0x1e3)+m(0x1e0)),{'metadata':x});}[n(0x1ab)+n(0x1f2)+n(0x1f6)](f){const V=n;return this[V(0x1cf)+V(0x1f4)+V(0x1ad)][V(0x1cd)](y+(V(0x1b7)+V(0x1fd)+V(0x1eb)+V(0x1b5))+f[V(0x1bf)](','));}[n(0x1bc)+n(0x1e8)](f){const T=n;return this[T(0x1cf)+T(0x1f4)+T(0x1ad)][T(0x1d1)](w+(T(0x1ef)+T(0x1ed)+T(0x1ac)+'g'),null,{'headers':{'X-Piscale-Request-Id':f}});}[n(0x1ab)+n(0x1d7)](){const F=n;return this[F(0x1cf)+F(0x1f4)+F(0x1ad)][F(0x1cd)](j+(F(0x1b0)+'te'));}[n(0x1e5)+n(0x1ce)+'e'](f){const H=n;return this[H(0x1cf)+H(0x1f4)+H(0x1ad)][H(0x1c0)](j+(H(0x1b0)+'te'),{'state':f});}[n(0x1e9)+n(0x1a8)+'er'](f,x){const Y=n;return this[Y(0x1cf)+Y(0x1f4)+Y(0x1ad)][Y(0x1d1)](w+(Y(0x1ae)+Y(0x1cb)+Y(0x1b1)+Y(0x1c9)),{'type':x,'user_id':f});}[n(0x1ff)+n(0x1db)+n(0x1b6)](f=!0x1){const v=n;return this[v(0x1cf)+v(0x1f4)+v(0x1ad)][v(0x1cd)](w+(v(0x1a9)+v(0x1c3)+v(0x1ca)+v(0x1bb)+v(0x1f9)+v(0x1d8)+v(0x1f7)+v(0x1e2)+v(0x1c4))+f);}[n(0x1a6)+n(0x1b8)+n(0x1f0)+n(0x1b3)](f,x){const h=n;return console[h(0x1df)](f,x,h(0x1af)+h(0x1c6)+h(0x1c8)+h(0x1c2)+h(0x1cc)),this[h(0x1cf)+h(0x1f4)+h(0x1ad)][h(0x1d1)](w+(h(0x1a9)+h(0x1c3)+h(0x1ca)+h(0x1bb)+h(0x1f9)+h(0x1d8)+'s'),{'name':f,'team_id':x});}[n(0x1e4)+n(0x1b8)+n(0x1f0)+n(0x1b3)](f,x){const X=n;return this[X(0x1cf)+X(0x1f4)+X(0x1ad)][X(0x1e4)+'e'](w+(X(0x1a9)+X(0x1c3)+X(0x1ca)+X(0x1bb)+X(0x1f9)+X(0x1d8)+X(0x1ee)+X(0x1bd)+X(0x200))+f+(X(0x1e6)+X(0x200))+x);}[n(0x1e5)+n(0x1b8)+n(0x1f0)+n(0x1b3)](f,x,S){const g=n;return this[g(0x1cf)+g(0x1f4)+g(0x1ad)][g(0x1c0)](w+(g(0x1a9)+g(0x1c3)+g(0x1ca)+g(0x1bb)+g(0x1f9)+g(0x1d8)+g(0x1ee)+g(0x1bd)+g(0x200))+f+(g(0x1e6)+g(0x200))+S,{'name':x,'team_id':S});}[n(0x1a4)+n(0x1c7)+n(0x1d3)](f){const U=n,{teamId:x,categoryId:S,limit:B,pageNumber:M,keyword:G,shortcut:c,isPrivate:D}=f,C={'team_id':x,'category_id':S,'limit':B,'page_number':M,'keyword':G,'shortcut':c,'is_private':D??!0x1};return this[U(0x1cf)+U(0x1f4)+U(0x1ad)][U(0x1cd)](w+(U(0x1a9)+U(0x1c3)+U(0x1ca)+U(0x1bb)),{'params':C});}[n(0x1a6)+n(0x1ec)+n(0x1a3)+'y'](f){const R=n;return this[R(0x1cf)+R(0x1f4)+R(0x1ad)][R(0x1d1)](w+(R(0x1a9)+R(0x1c3)+R(0x1ca)+R(0x1bb)),f);}[n(0x1e4)+n(0x1ec)+n(0x1a3)+'y'](f,x){const b=n;return this[b(0x1cf)+b(0x1f4)+b(0x1ad)][b(0x1e4)+'e'](w+(b(0x1a9)+b(0x1c3)+b(0x1ca)+b(0x1bb)+b(0x1d5)+'d=')+f+(b(0x1e6)+b(0x200))+x);}[n(0x1e5)+n(0x1ec)+n(0x1a3)+'y'](f,x,S,B){const Z=n;return this[Z(0x1cf)+Z(0x1f4)+Z(0x1ad)][Z(0x1c0)](w+(Z(0x1a9)+Z(0x1c3)+Z(0x1ca)+Z(0x1bb)+Z(0x1d5)+'d=')+f+(Z(0x1be)+Z(0x1fa)+Z(0x1a7))+x+(Z(0x1e6)+Z(0x200))+B,S);}}
1
+ 'use strict';const Z=H;function H(a,L){const Y=V();return H=function(E,u){E=E-0x133;let F=Y[E];return F;},H(a,L);}(function(u,F){const e=H,B=u();while(!![]){try{const t=-parseInt(e(0x158))/0x1*(parseInt(e(0x18b))/0x2)+-parseInt(e(0x189))/0x3+parseInt(e(0x186))/0x4*(parseInt(e(0x17b))/0x5)+parseInt(e(0x149))/0x6+-parseInt(e(0x136))/0x7+parseInt(e(0x156))/0x8*(-parseInt(e(0x17a))/0x9)+parseInt(e(0x141))/0xa*(parseInt(e(0x18c))/0xb);if(t===F)break;else B['push'](B['shift']());}catch(R){B['push'](B['shift']());}}}(V,0x585c3));function V(){const q=['69528ehYsJd','ockUs','86qFkzaq','eUser','_id=','te=','s?is_','r-inf','tegor','/asta','eQuic','ed-re','-cate','nts/b','fetch','/part','yIds','yId','ping','s/me-','kRepl','yIdsV','spons','log','Users','/user','eQrCa','Metad','/puse','getQR','amId','Idnam','name,','\x20team','ies','ine?u','432nfmRnu','3221770MGlvuL','axios','priva','_ids=','Onlin','ply','r_ids','/meta','post','t-pin','s?cat','4aMvmmZ','getQu','data','736818RihYTP','icipa','8990ppUHde','57541fhXhpX','ickRe','&team','r/use','setBl','gory_','mqttP','join','gorie','4285638GVkgYK','Categ','es/qr','egory','/cann','_user','updat','put','ing','delet','id=','2580IZqxlT','s/onl','lock','UserB','eStat','o?use','ate','State','177294RtdwmL','ser_i','creat','r?ext','e,\x20te','&cate','Deleg','get','?qr_i','ds=','ata','s/mqt','ories'];V=function(){return q;};return V();}import{PS_CHAT_API_VERSION as L,PS_DESK_API_VERSION as Y,PS_USER_API_VERSION as E}from'../api-version';export const PS_FETCH_USER_BY_IDS_MAX=0xa;export class PSChatUserApiImpl{[Z(0x17c)+Z(0x14f)+Z(0x147)];constructor(u){const G=Z;this[G(0x17c)+G(0x14f)+G(0x147)]=u;}[Z(0x168)](){const X=Z;return this[X(0x17c)+X(0x14f)+X(0x147)][X(0x183)](L+(X(0x16f)+X(0x169)+X(0x168)));}[Z(0x164)+Z(0x16e)+Z(0x17f)+'e'](u){const M=Z;return this[M(0x17c)+M(0x14f)+M(0x147)][M(0x150)](L+(M(0x16f)+M(0x142)+M(0x179)+M(0x14a)+M(0x152))+u[M(0x134)](','));}[Z(0x164)+Z(0x144)+Z(0x167)](u,F){const m=Z;return this[m(0x17c)+m(0x14f)+m(0x147)][m(0x150)](E+(m(0x172)+'r/')+u,{'params':{'more_fields':F}});}[Z(0x164)+Z(0x144)+Z(0x16b)+'2'](u){const k=Z;return this[k(0x17c)+k(0x14f)+k(0x147)][k(0x150)](E+(k(0x172)+k(0x18f)+k(0x15d)+k(0x146)+k(0x181)+'=')+u);}[Z(0x13c)+Z(0x159)+Z(0x171)+Z(0x153)](u,F){const D=Z;return this[D(0x17c)+D(0x14f)+D(0x147)][D(0x13d)](E+(D(0x172)+'r/')+u+(D(0x182)+D(0x188)),{'metadata':F});}[Z(0x164)+Z(0x144)+Z(0x166)](u){const W=Z;return this[W(0x17c)+W(0x14f)+W(0x147)][W(0x150)](E+(W(0x172)+W(0x14c)+W(0x13b)+W(0x17e))+u[W(0x134)](','));}[Z(0x133)+Z(0x13e)](u){const p=Z;return this[p(0x17c)+p(0x14f)+p(0x147)][p(0x183)](L+(p(0x16f)+p(0x154)+p(0x184)+'g'),null,{'headers':{'X-Piscale-Request-Id':u}});}[Z(0x164)+Z(0x148)](){const N=Z;return this[N(0x17c)+N(0x14f)+N(0x147)][N(0x150)](Y+(N(0x15f)+'te'));}[Z(0x13c)+Z(0x145)+'e'](u){const n=Z;return this[n(0x17c)+n(0x14f)+n(0x147)][n(0x13d)](Y+(n(0x15f)+'te'),{'state':u});}[Z(0x190)+Z(0x157)+'er'](u,F){const K=Z;return this[K(0x17c)+K(0x14f)+K(0x147)][K(0x183)](L+(K(0x165)+K(0x18a)+K(0x163)+K(0x143)),{'type':F,'user_id':u});}[Z(0x173)+Z(0x137)+Z(0x155)](u=!0x1){const A=Z;return this[A(0x17c)+A(0x14f)+A(0x147)][A(0x150)](L+(A(0x13a)+A(0x161)+A(0x16c)+A(0x138)+A(0x162)+A(0x135)+A(0x15c)+A(0x17d)+A(0x15b))+u);}[Z(0x14b)+Z(0x170)+Z(0x15e)+Z(0x178)](u,F){const P=Z;return console[P(0x16d)](u,F,P(0x176)+P(0x177)+P(0x175)+P(0x14d)+P(0x174)),this[P(0x17c)+P(0x14f)+P(0x147)][P(0x183)](L+(P(0x13a)+P(0x161)+P(0x16c)+P(0x138)+P(0x162)+P(0x135)+'s'),{'name':u,'team_id':F});}[Z(0x13f)+Z(0x170)+Z(0x15e)+Z(0x178)](u,F){const h=Z;return this[h(0x17c)+h(0x14f)+h(0x147)][h(0x13f)+'e'](L+(h(0x13a)+h(0x161)+h(0x16c)+h(0x138)+h(0x162)+h(0x135)+h(0x185)+h(0x139)+h(0x15a))+u+(h(0x18e)+h(0x15a))+F);}[Z(0x13c)+Z(0x170)+Z(0x15e)+Z(0x178)](u,F,B){const Q=Z;return this[Q(0x17c)+Q(0x14f)+Q(0x147)][Q(0x13d)](L+(Q(0x13a)+Q(0x161)+Q(0x16c)+Q(0x138)+Q(0x162)+Q(0x135)+Q(0x185)+Q(0x139)+Q(0x15a))+u+(Q(0x18e)+Q(0x15a))+B,{'name':F,'team_id':B});}[Z(0x187)+Z(0x18d)+Z(0x180)](F){const b=Z,{teamId:B,categoryId:R,limit:v,pageNumber:y,keyword:C,shortcut:j,isPrivate:l}=F,c={'team_id':B,'category_id':R,'limit':v,'page_number':y,'keyword':C,'shortcut':j,'is_private':l??!0x1};return this[b(0x17c)+b(0x14f)+b(0x147)][b(0x150)](L+(b(0x13a)+b(0x161)+b(0x16c)+b(0x138)),{'params':c});}[Z(0x14b)+Z(0x160)+Z(0x16a)+'y'](u){const S=Z;return this[S(0x17c)+S(0x14f)+S(0x147)][S(0x183)](L+(S(0x13a)+S(0x161)+S(0x16c)+S(0x138)),u);}[Z(0x13f)+Z(0x160)+Z(0x16a)+'y'](u,F){const g=Z;return this[g(0x17c)+g(0x14f)+g(0x147)][g(0x13f)+'e'](L+(g(0x13a)+g(0x161)+g(0x16c)+g(0x138)+g(0x151)+'d=')+u+(g(0x18e)+g(0x15a))+F);}[Z(0x13c)+Z(0x160)+Z(0x16a)+'y'](u,F,B,R){const U=Z;return this[U(0x17c)+U(0x14f)+U(0x147)][U(0x13d)](L+(U(0x13a)+U(0x161)+U(0x16c)+U(0x138)+U(0x151)+'d=')+u+(U(0x14e)+U(0x191)+U(0x140))+F+(U(0x18e)+U(0x15a))+R,B);}}
package/src/utils.js CHANGED
@@ -1 +1 @@
1
- 'use strict';const G=u;(function(w,o){const x=u,j=w();while(!![]){try{const y=parseInt(x(0x207))/0x1+parseInt(x(0x208))/0x2+parseInt(x(0x1fa))/0x3*(parseInt(x(0x1fd))/0x4)+-parseInt(x(0x1f9))/0x5+-parseInt(x(0x1f7))/0x6*(-parseInt(x(0x202))/0x7)+parseInt(x(0x1ff))/0x8*(parseInt(x(0x1f5))/0x9)+-parseInt(x(0x1f3))/0xa*(parseInt(x(0x1f6))/0xb);if(y===o)break;else j['push'](j['shift']());}catch(f){j['push'](j['shift']());}}}(A,0xdbe6c));function A(){const r=['3359756MVMPTU','ad.pi','.com/','com','10ViCHFC','https','486828DaqBSz','37219996pPIAkG','116388TPwCNn','pisca','3215135MhEOcA','3RgQIsp','i.pis','.uplo','2603320CfBdLP','://','184TmaLRu','://ap','scale','28PseZCv','cale.','rejec','.api.','le.co','1274963FwPDzU'];A=function(){return r;};return A();}function u(w,o){const j=A();return u=function(y,f){y=y-0x1f1;let x=j[y];return x;},u(w,o);}export const generateBaseUrl=w=>{const S=u;let o='';return o=S(0x1f4)+S(0x1fe)+w+(S(0x205)+S(0x1f8)+S(0x206)+'m/'),o;},generateBaseUploadUrl=w=>{const B=u;let o='';return o=B(0x1f4)+B(0x1fe)+w+(B(0x1fc)+B(0x209)+B(0x201)+B(0x1f1)),o;},generateGuestUrl=()=>{const M=u;let w='';return w=M(0x1f4)+M(0x200)+M(0x1fb)+M(0x203)+M(0x1f2),w;},errorLogger=async w=>Promise[G(0x204)+'t'](w),requestLogger=w=>w,responseLogger=w=>w;
1
+ 'use strict';const d=H;function H(a,L){const Y=V();return H=function(E,u){E=E-0x109;let F=Y[E];return F;},H(a,L);}function V(){const v=['.api.','1953567PJZgXa','com','scale','ad.pi','i.pis','2106248yziPeP','pisca','9qerRuf','://','cale.','4782029AqeAav','le.co','765xkxGYq','17098240VczhRv','12312NXuxCh','.com/','2199940bogWas','15511GLAKVL','74yMvTGc','://ap','https','.uplo','rejec'];V=function(){return v;};return V();}(function(a,L){const F=H,Y=a();while(!![]){try{const E=-parseInt(F(0x10a))/0x1*(-parseInt(F(0x10b))/0x2)+-parseInt(F(0x111))/0x3+-parseInt(F(0x109))/0x4+parseInt(F(0x11d))/0x5*(-parseInt(F(0x11f))/0x6)+-parseInt(F(0x11b))/0x7+parseInt(F(0x116))/0x8*(parseInt(F(0x118))/0x9)+parseInt(F(0x11e))/0xa;if(E===L)break;else Y['push'](Y['shift']());}catch(u){Y['push'](Y['shift']());}}}(V,0x5523f));export const generateBaseUrl=a=>{const B=H;let L='';return L=B(0x10d)+B(0x119)+a+(B(0x110)+B(0x117)+B(0x11c)+'m/'),L;},generateBaseUploadUrl=a=>{const t=H;let L='';return L=t(0x10d)+t(0x119)+a+(t(0x10e)+t(0x114)+t(0x113)+t(0x120)),L;},generateGuestUrl=()=>{const R=H;let a='';return a=R(0x10d)+R(0x10c)+R(0x115)+R(0x11a)+R(0x112),a;},errorLogger=async a=>Promise[d(0x10f)+'t'](a),requestLogger=a=>a,responseLogger=a=>a;