@communi/chat-api-client-typescript 2.6.6 → 2.7.1

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 (58) 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.d.ts +2 -1
  5. package/src/axios.js +1 -1
  6. package/src/client.d.ts +4 -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.d.ts +2 -1
  21. package/src/notification/notification.js +1 -1
  22. package/src/notification/types.js +1 -1
  23. package/src/preview-link/index.js +1 -1
  24. package/src/preview-link/preview-link.js +1 -1
  25. package/src/preview-link/types.js +1 -1
  26. package/src/search/index.js +1 -1
  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.d.ts +5 -3
  45. package/src/thread/thread.js +1 -1
  46. package/src/thread/types.d.ts +3 -0
  47. package/src/thread/types.js +1 -1
  48. package/src/types.d.ts +1 -0
  49. package/src/types.js +1 -1
  50. package/src/upload/index.js +1 -1
  51. package/src/upload/types.js +1 -1
  52. package/src/upload/upload.js +1 -1
  53. package/src/user/index.js +1 -1
  54. package/src/user/types.d.ts +10 -0
  55. package/src/user/types.js +1 -1
  56. package/src/user/user.d.ts +3 -1
  57. package/src/user/user.js +1 -1
  58. package/src/utils.js +1 -1
@@ -1 +1 @@
1
- 'use strict';var A=g;(function(P,O){var w=g,S=P();while(!![]){try{var m=parseInt(w(0xd0))/0x1+-parseInt(w(0xd2))/0x2+parseInt(w(0xcf))/0x3+parseInt(w(0xd4))/0x4+parseInt(w(0xcd))/0x5*(-parseInt(w(0xd7))/0x6)+-parseInt(w(0xcb))/0x7*(parseInt(w(0xd3))/0x8)+parseInt(w(0xdf))/0x9*(parseInt(w(0xdb))/0xa);if(m===O)break;else S['push'](S['shift']());}catch(t){S['push'](S['shift']());}}}(h,0x1b02d));import{PS_UPLOAD_API_VERSION as k}from'../api-version';function g(k,P){var O=h();return g=function(S,m){S=S-0xcb;var t=O[S];return t;},g(k,P);}function h(){var r=['uploa','dFile','55279oRAKcS','Deleg','2355buNNbL','axios','210993oKykEp','56137nFRnqQ','dVide','259388hlBKYl','104jNjvaA','637796iuauua','post','ate','234GeNBkD','form-','data','/vide','188610IEfZWq','multi','/file','part/','36jDRZCt','dImag','/imag'];h=function(){return r;};return h();}export class PSChatUploadApiImpl{[A(0xce)+A(0xcc)+A(0xd6)];constructor(P){var b=A;this[b(0xce)+b(0xcc)+b(0xd6)]=P;}[A(0xe2)+A(0xe0)+'e'](P,O){var L=A;return this[L(0xce)+L(0xcc)+L(0xd6)][L(0xd5)](k+(L(0xe1)+'es'),P,{'onUploadProgress':O,'headers':{'Content-Type':L(0xdc)+L(0xde)+L(0xd8)+L(0xd9)},'timeout':0xea60});}[A(0xe2)+A(0xd1)+'o'](P,O){var q=A;return this[q(0xce)+q(0xcc)+q(0xd6)][q(0xd5)](k+(q(0xda)+'os'),P,{'onUploadProgress':O,'headers':{'Content-Type':q(0xdc)+q(0xde)+q(0xd8)+q(0xd9)},'timeout':0xea60});}[A(0xe2)+A(0xe3)](P,O){var y=A;return this[y(0xce)+y(0xcc)+y(0xd6)][y(0xd5)](k+(y(0xdd)+'s'),P,{'onUploadProgress':O,'headers':{'Content-Type':y(0xdc)+y(0xde)+y(0xd8)+y(0xd9)},'timeout':0xea60});}}
1
+ 'use strict';var R=V;function V(l,p){var h=z();return V=function(Y,J){Y=Y-0x189;var X=h[Y];return X;},V(l,p);}(function(p,h){var x=V,Y=p();while(!![]){try{var J=-parseInt(x(0x19e))/0x1*(-parseInt(x(0x1a2))/0x2)+-parseInt(x(0x190))/0x3+-parseInt(x(0x196))/0x4*(-parseInt(x(0x19f))/0x5)+parseInt(x(0x194))/0x6*(-parseInt(x(0x19a))/0x7)+-parseInt(x(0x19d))/0x8+-parseInt(x(0x195))/0x9*(-parseInt(x(0x1a1))/0xa)+parseInt(x(0x199))/0xb;if(J===h)break;else Y['push'](Y['shift']());}catch(X){Y['push'](Y['shift']());}}}(z,0xe0ea0));import{PS_UPLOAD_API_VERSION as l}from'../api-version';export class PSChatUploadApiImpl{[R(0x197)+R(0x19c)+R(0x192)];constructor(p){var L=R;this[L(0x197)+L(0x19c)+L(0x192)]=p;}[R(0x18a)+R(0x18c)+'e'](p,h){var O=R;return this[O(0x197)+O(0x19c)+O(0x192)][O(0x18b)](l+(O(0x18d)+'es'),p,{'onUploadProgress':h,'headers':{'Content-Type':O(0x191)+O(0x193)+O(0x1a0)+O(0x198)},'timeout':0xea60});}[R(0x18a)+R(0x19b)+'o'](p,h){var d=R;return this[d(0x197)+d(0x19c)+d(0x192)][d(0x18b)](l+(d(0x189)+'os'),p,{'onUploadProgress':h,'headers':{'Content-Type':d(0x191)+d(0x193)+d(0x1a0)+d(0x198)},'timeout':0xea60});}[R(0x18a)+R(0x18f)](p,h){var t=R;return this[t(0x197)+t(0x19c)+t(0x192)][t(0x18b)](l+(t(0x18e)+'s'),p,{'onUploadProgress':h,'headers':{'Content-Type':t(0x191)+t(0x193)+t(0x1a0)+t(0x198)},'timeout':0xea60});}}function z(){var P=['dImag','/imag','/file','dFile','3401718igXvLf','multi','ate','part/','6xuwEqR','97821vuFctv','4SYOkUa','axios','data','15459928wLlzgp','7446047UzJNVM','dVide','Deleg','3976416lYlZNt','617nNDXTP','8328095JeOqqo','form-','50VEsJfU','1590IEdxAN','/vide','uploa','post'];z=function(){return P;};return z();}
package/src/user/index.js CHANGED
@@ -1 +1 @@
1
- 'use strict';(function(k,P){var t=g,O=k();while(!![]){try{var S=parseInt(t(0xb1))/0x1*(parseInt(t(0xb0))/0x2)+parseInt(t(0xaf))/0x3+-parseInt(t(0xac))/0x4*(-parseInt(t(0xab))/0x5)+parseInt(t(0xae))/0x6+parseInt(t(0xad))/0x7+parseInt(t(0xaa))/0x8+-parseInt(t(0xa9))/0x9;if(S===P)break;else O['push'](O['shift']());}catch(m){O['push'](O['shift']());}}}(h,0x4f1f3));export*from'./user';function g(k,P){var O=h();return g=function(S,m){S=S-0xa9;var t=O[S];return t;},g(k,P);}export*from'./types';function h(){var w=['570516Jkefgh','314154oISHbM','436TwYEFY','361QBCRgV','8722305ItetTh','3469320uEAxYh','129355ZTJcke','88TvUzGR','83293PmPAms'];h=function(){return w;};return h();}
1
+ 'use strict';(function(l,p){var X=V,h=l();while(!![]){try{var Y=-parseInt(X(0x1ae))/0x1+parseInt(X(0x1aa))/0x2+-parseInt(X(0x1b1))/0x3*(-parseInt(X(0x1ad))/0x4)+parseInt(X(0x1ab))/0x5+-parseInt(X(0x1b2))/0x6*(-parseInt(X(0x1a9))/0x7)+parseInt(X(0x1af))/0x8*(parseInt(X(0x1b0))/0x9)+-parseInt(X(0x1ac))/0xa;if(Y===p)break;else h['push'](h['shift']());}catch(J){h['push'](h['shift']());}}}(z,0x6e563));export*from'./user';function V(l,p){var h=z();return V=function(Y,J){Y=Y-0x1a9;var X=h[Y];return X;},V(l,p);}export*from'./types';function z(){var x=['121736zkyLqY','775497uyHmsK','1278088mFuQJG','18SiXXMY','6txxhbi','6cyqock','3552493qcsBJZ','1362490Vvnuyp','1099740LhDoHQ','5616460QyViOg'];z=function(){return x;};return z();}
@@ -26,6 +26,7 @@ export type PSUserDto = {
26
26
  alias?: string;
27
27
  verified?: boolean;
28
28
  status?: PSUserStatus;
29
+ block_status?: PSUserBlockStatus;
29
30
  };
30
31
  export type PSUserLastOnlineTimeDto = {
31
32
  ext_user_id: string;
@@ -34,3 +35,12 @@ export type PSUserLastOnlineTimeDto = {
34
35
  export type PSUserStateDto = {
35
36
  state: number;
36
37
  };
38
+ export declare enum PSUserBlockStatus {
39
+ NO_BLOCK = 0,
40
+ BLOCKED_BY_ME = 1,
41
+ BLOCKED_BY_PARTNER = 2
42
+ }
43
+ export declare enum PSBlockAction {
44
+ BLOCK = 1,
45
+ UN_BLOCK = 2
46
+ }
package/src/user/types.js CHANGED
@@ -1 +1 @@
1
- 'use strict';(function(k,P){var t=g,O=k();while(!![]){try{var S=-parseInt(t(0x1ee))/0x1*(-parseInt(t(0x1f5))/0x2)+-parseInt(t(0x1e9))/0x3*(parseInt(t(0x1ea))/0x4)+-parseInt(t(0x1f3))/0x5*(parseInt(t(0x1f8))/0x6)+parseInt(t(0x1fa))/0x7+parseInt(t(0x1eb))/0x8+-parseInt(t(0x1e5))/0x9*(parseInt(t(0x1e6))/0xa)+-parseInt(t(0x1f2))/0xb;if(S===P)break;else O['push'](O['shift']());}catch(m){O['push'](O['shift']());}}}(h,0x50649));function g(k,P){var O=h();return g=function(S,m){S=S-0x1e3;var t=O[S];return t;},g(k,P);}function h(){var q=['ILABL','9kHWBVD','1401880SwyTuC','USER','GUEST','213KAmEZy','14284lwlNLo','2815448jVzhDZ','AVAIL','ENT','50ZmLiUR','CS_AG','IVATE','UNAVA','1914451ZdQTRr','85OTwfBq','DEACT','10996kDAifg','ABLE','ACTIV','81150IPcEUe','MUTED','3501071CZrNwK','BOT'];h=function(){return q;};return h();}export var PSUserType;(function(k){var w=g;k[k[w(0x1e7)]=0x1]=w(0x1e7),k[k[w(0x1e3)]=0x2]=w(0x1e3),k[k[w(0x1ef)+w(0x1ed)]=0x5]=w(0x1ef)+w(0x1ed),k[k[w(0x1e8)]=0x6]=w(0x1e8);}(PSUserType||(PSUserType={})));export var PSUserStatus;(function(k){var A=g;k[k[A(0x1f4)+A(0x1f0)+'D']=0x2]=A(0x1f4)+A(0x1f0)+'D';}(PSUserStatus||(PSUserStatus={})));export var MEMBER_STATUS;(function(k){var b=g;k[k[b(0x1f7)+'E']=0x1]=b(0x1f7)+'E',k[k[b(0x1f9)]=0x2]=b(0x1f9);}(MEMBER_STATUS||(MEMBER_STATUS={})));export var USER_STATE;(function(k){var L=g;k[k[L(0x1ec)+L(0x1f6)]=0x1]=L(0x1ec)+L(0x1f6),k[k[L(0x1f1)+L(0x1e4)+'E']=0x2]=L(0x1f1)+L(0x1e4)+'E';}(USER_STATE||(USER_STATE={})));
1
+ 'use strict';(function(l,p){var X=V,h=l();while(!![]){try{var Y=parseInt(X(0x14a))/0x1*(parseInt(X(0x141))/0x2)+-parseInt(X(0x14d))/0x3*(parseInt(X(0x143))/0x4)+parseInt(X(0x13d))/0x5*(parseInt(X(0x134))/0x6)+parseInt(X(0x13e))/0x7+-parseInt(X(0x137))/0x8+-parseInt(X(0x13a))/0x9*(-parseInt(X(0x131))/0xa)+-parseInt(X(0x13b))/0xb;if(Y===p)break;else h['push'](h['shift']());}catch(J){h['push'](h['shift']());}}}(z,0xb712d));function z(){var o=['3692976nnhbLW','BOT','GUEST','5301zbFcNS','22809963FPEmDn','_PART','55xcSmxu','6293427VARaSo','ENT','MUTED','78ElzZnR','IVATE','11824CCaKyO','UN_BL','NER','ABLE','DEACT','_ME','ED_BY','26465IsFVyt','ACTIV','NO_BL','1383FYFBSm','BLOCK','AVAIL','ILABL','23130WKyffq','CS_AG','UNAVA','738702xTLvpE','USER','OCK'];z=function(){return o;};return z();}export var PSUserType;(function(l){var x=V;l[l[x(0x135)]=0x1]=x(0x135),l[l[x(0x138)]=0x2]=x(0x138),l[l[x(0x132)+x(0x13f)]=0x5]=x(0x132)+x(0x13f),l[l[x(0x139)]=0x6]=x(0x139);}(PSUserType||(PSUserType={})));export var PSUserStatus;function V(l,p){var h=z();return V=function(Y,J){Y=Y-0x12f;var X=h[Y];return X;},V(l,p);}(function(l){var R=V;l[l[R(0x147)+R(0x142)+'D']=0x2]=R(0x147)+R(0x142)+'D';}(PSUserStatus||(PSUserStatus={})));export var MEMBER_STATUS;(function(l){var L=V;l[l[L(0x14b)+'E']=0x1]=L(0x14b)+'E',l[l[L(0x140)]=0x2]=L(0x140);}(MEMBER_STATUS||(MEMBER_STATUS={})));export var USER_STATE;(function(l){var O=V;l[l[O(0x12f)+O(0x146)]=0x1]=O(0x12f)+O(0x146),l[l[O(0x133)+O(0x130)+'E']=0x2]=O(0x133)+O(0x130)+'E';}(USER_STATE||(USER_STATE={})));export var PSUserBlockStatus;(function(l){var d=V;l[l[d(0x14c)+d(0x136)]=0x0]=d(0x14c)+d(0x136),l[l[d(0x14e)+d(0x149)+d(0x148)]=0x1]=d(0x14e)+d(0x149)+d(0x148),l[l[d(0x14e)+d(0x149)+d(0x13c)+d(0x145)]=0x2]=d(0x14e)+d(0x149)+d(0x13c)+d(0x145);}(PSUserBlockStatus||(PSUserBlockStatus={})));export var PSBlockAction;(function(l){var t=V;l[l[t(0x14e)]=0x1]=t(0x14e),l[l[t(0x144)+t(0x136)]=0x2]=t(0x144)+t(0x136);}(PSBlockAction||(PSBlockAction={})));
@@ -1,6 +1,6 @@
1
1
  import { IPSChatAxiosDelegate } from '../axios';
2
2
  import { PSResponse } from '../types';
3
- import { PSUserDto, PSUserLastOnlineTimeDto, PSUserStateDto, USER_STATE } from './types';
3
+ import { PSBlockAction, PSUserDto, PSUserLastOnlineTimeDto, PSUserStateDto, USER_STATE } from './types';
4
4
  export declare const PS_FETCH_USER_BY_IDS_MAX = 10;
5
5
  export interface IPSChatUserApi {
6
6
  ping(): Promise<PSResponse<any>>;
@@ -10,6 +10,7 @@ export interface IPSChatUserApi {
10
10
  mqttPing(requestId: string): Promise<PSResponse<any>>;
11
11
  fetchState(): Promise<PSResponse<PSUserStateDto>>;
12
12
  updateState(state: number): Promise<PSResponse<any>>;
13
+ setBlockUser(userId: string, type: PSBlockAction): Promise<PSResponse<any>>;
13
14
  }
14
15
  export declare class PSChatUserApiImpl implements IPSChatUserApi {
15
16
  private axiosDelegate;
@@ -21,4 +22,5 @@ export declare class PSChatUserApiImpl implements IPSChatUserApi {
21
22
  mqttPing(requestId: string): Promise<PSResponse<any>>;
22
23
  fetchState(): Promise<PSResponse<PSUserStateDto>>;
23
24
  updateState(state: USER_STATE): Promise<PSResponse<any>>;
25
+ setBlockUser(userId: string, type: PSBlockAction): Promise<PSResponse<any>>;
24
26
  }
package/src/user/user.js CHANGED
@@ -1 +1 @@
1
- 'use strict';const q=g;(function(S,m){const L=g,w=S();while(!![]){try{const A=parseInt(L(0x190))/0x1*(-parseInt(L(0x1ac))/0x2)+parseInt(L(0x193))/0x3+parseInt(L(0x199))/0x4*(-parseInt(L(0x19b))/0x5)+parseInt(L(0x1ad))/0x6+parseInt(L(0x1a8))/0x7+parseInt(L(0x1ab))/0x8*(-parseInt(L(0x1af))/0x9)+parseInt(L(0x18d))/0xa;if(A===m)break;else w['push'](w['shift']());}catch(b){w['push'](w['shift']());}}}(h,0xb1140));function g(k,P){const O=h();return g=function(S,m){S=S-0x189;let t=O[S];return t;},g(k,P);}import{PS_CHAT_API_VERSION as k,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 h(){const H=['ping','_ids=','State','ing','/puse','8338410Fvgats','fetch','mqttP','107FhVySA','ds=','/user','106947uEFFVK','s/me-','Deleg','eStat','UserB','_user','12hPjZDs','updat','651180mmbSDl','s/mqt','t-pin','Onlin','yIds','r?ext','/asta','get','Users','ate','axios','join','ine?u','8998955WRTbym','ser_i','post','467120nNIWje','3174GtWujQ','2842464rqDJMD','s/onl','207TWVcAH','yId','put'];h=function(){return H;};return h();}export class PSChatUserApiImpl{[q(0x1a5)+q(0x195)+q(0x1a4)];constructor(S){const o=q;this[o(0x1a5)+o(0x195)+o(0x1a4)]=S;}[q(0x1b2)](){const y=q;return this[y(0x1a5)+y(0x195)+y(0x1a4)][y(0x1aa)](k+(y(0x192)+y(0x194)+y(0x1b2)));}[q(0x18e)+q(0x1a3)+q(0x19e)+'e'](S){const N=q;return this[N(0x1a5)+N(0x195)+N(0x1a4)][N(0x1a2)](k+(N(0x192)+N(0x1ae)+N(0x1a7)+N(0x1a9)+N(0x191))+S[N(0x1a6)](','));}[q(0x18e)+q(0x197)+q(0x1b0)](S,m){const z=q;return this[z(0x1a5)+z(0x195)+z(0x1a4)][z(0x1a2)](O+(z(0x18c)+'r/')+S,{'params':{'more_fields':m}});}[q(0x18e)+q(0x197)+q(0x19f)](S){const V=q;return this[V(0x1a5)+V(0x195)+V(0x1a4)][V(0x1a2)](O+(V(0x18c)+V(0x1a0)+V(0x198)+V(0x189))+S[V(0x1a6)](','));}[q(0x18f)+q(0x18b)](S){const v=q;return this[v(0x1a5)+v(0x195)+v(0x1a4)][v(0x1aa)](k+(v(0x192)+v(0x19c)+v(0x19d)+'g'),null,{'headers':{'X-Piscale-Request-Id':S}});}[q(0x18e)+q(0x18a)](){const x=q;return this[x(0x1a5)+x(0x195)+x(0x1a4)][x(0x1a2)](P+(x(0x1a1)+'te'));}[q(0x19a)+q(0x196)+'e'](S){const a=q;return this[a(0x1a5)+a(0x195)+a(0x1a4)][a(0x1b1)](P+(a(0x1a1)+'te'),{'state':S});}}
1
+ 'use strict';const O=V;(function(Y,J){const L=V,X=Y();while(!![]){try{const x=-parseInt(L(0xa5))/0x1+parseInt(L(0x86))/0x2+-parseInt(L(0x9f))/0x3*(-parseInt(L(0x81))/0x4)+-parseInt(L(0x95))/0x5*(-parseInt(L(0x7f))/0x6)+-parseInt(L(0xac))/0x7*(-parseInt(L(0xab))/0x8)+-parseInt(L(0x83))/0x9*(parseInt(L(0xa9))/0xa)+-parseInt(L(0x91))/0xb*(parseInt(L(0x98))/0xc);if(x===J)break;else X['push'](X['shift']());}catch(R){X['push'](X['shift']());}}}(z,0xca42c));function V(l,p){const h=z();return V=function(Y,J){Y=Y-0x7e;let X=h[Y];return X;},V(l,p);}function z(){const v=['yId','join','mqttP','yIds','lock','ockUs','ing','icipa','22ZuzInP','UserB','axios','t-pin','1275970neqfFq','post','nts/b','553728sagTSN','Deleg','Users','ping','State','r?ext','updat','6nrrTfV','eStat','/asta','/user','get','s/mqt','1324861MdBfPn','s/onl','/part','Onlin','10jbPzPp','put','2210192xLxlRg','35IMeUeF','ser_i','ine?u','s/me-','_user','6fjUZKj','ate','922644fzrzGs','setBl','1883241zJrncE','/puse','fetch','713944dYRXTS','ds=','_ids='];z=function(){return v;};return z();}import{PS_CHAT_API_VERSION as l,PS_DESK_API_VERSION as p,PS_USER_API_VERSION as h}from'../api-version';export const PS_FETCH_USER_BY_IDS_MAX=0xa;export class PSChatUserApiImpl{[O(0x93)+O(0x99)+O(0x80)];constructor(Y){const d=O;this[d(0x93)+d(0x99)+d(0x80)]=Y;}[O(0x9b)](){const o=O;return this[o(0x93)+o(0x99)+o(0x80)][o(0x96)](l+(o(0xa2)+o(0xaf)+o(0x9b)));}[O(0x85)+O(0x9a)+O(0xa8)+'e'](Y){const P=O;return this[P(0x93)+P(0x99)+P(0x80)][P(0xa3)](l+(P(0xa2)+P(0xa6)+P(0xae)+P(0xad)+P(0x87))+Y[P(0x8a)](','));}[O(0x85)+O(0x92)+O(0x89)](Y,J){const B=O;return this[B(0x93)+B(0x99)+B(0x80)][B(0xa3)](h+(B(0x84)+'r/')+Y,{'params':{'more_fields':J}});}[O(0x85)+O(0x92)+O(0x8c)](Y){const g=O;return this[g(0x93)+g(0x99)+g(0x80)][g(0xa3)](h+(g(0x84)+g(0x9d)+g(0x7e)+g(0x88))+Y[g(0x8a)](','));}[O(0x8b)+O(0x8f)](Y){const q=O;return this[q(0x93)+q(0x99)+q(0x80)][q(0x96)](l+(q(0xa2)+q(0xa4)+q(0x94)+'g'),null,{'headers':{'X-Piscale-Request-Id':Y}});}[O(0x85)+O(0x9c)](){const G=O;return this[G(0x93)+G(0x99)+G(0x80)][G(0xa3)](p+(G(0xa1)+'te'));}[O(0x9e)+O(0xa0)+'e'](Y){const w=O;return this[w(0x93)+w(0x99)+w(0x80)][w(0xaa)](p+(w(0xa1)+'te'),{'state':Y});}[O(0x82)+O(0x8e)+'er'](Y,J){const a=O;return this[a(0x93)+a(0x99)+a(0x80)][a(0x96)](l+(a(0xa7)+a(0x90)+a(0x97)+a(0x8d)),{'type':J,'user_id':Y});}}
package/src/utils.js CHANGED
@@ -1 +1 @@
1
- 'use strict';function h(){const q=['1417362kCmuKb','385sqHGpF','cale.','://ap','.com/','pisca','com','scale','4165154NxKcuq','.uplo','148jWSzcK','8870640plHRQI','ad.pi','://','2353536ApHccg','https','i.pis','117gXMeQK','2746GwnmGE','289488mJMyEP','8356gUtDZn','.api.','le.co','rejec'];h=function(){return q;};return h();}const L=g;function g(k,P){const O=h();return g=function(S,m){S=S-0x1c1;let t=O[S];return t;},g(k,P);}(function(k,P){const t=g,O=k();while(!![]){try{const S=-parseInt(t(0x1ce))/0x1*(-parseInt(t(0x1c6))/0x2)+parseInt(t(0x1d4))/0x3+-parseInt(t(0x1d0))/0x4*(parseInt(t(0x1d5))/0x5)+-parseInt(t(0x1ca))/0x6+parseInt(t(0x1c4))/0x7+parseInt(t(0x1cf))/0x8*(parseInt(t(0x1cd))/0x9)+-parseInt(t(0x1c7))/0xa;if(S===P)break;else O['push'](O['shift']());}catch(m){O['push'](O['shift']());}}}(h,0x4977d));export const generateBaseUrl=k=>{const w=g;let P='';return P=w(0x1cb)+w(0x1c9)+k+(w(0x1d1)+w(0x1c1)+w(0x1d2)+'m/'),P;},generateBaseUploadUrl=k=>{const A=g;let P='';return P=A(0x1cb)+A(0x1c9)+k+(A(0x1c5)+A(0x1c8)+A(0x1c3)+A(0x1d8)),P;},generateGuestUrl=()=>{const b=g;let k='';return k=b(0x1cb)+b(0x1d7)+b(0x1cc)+b(0x1d6)+b(0x1c2),k;},errorLogger=async k=>Promise[L(0x1d3)+'t'](k),requestLogger=k=>k,responseLogger=k=>k;
1
+ 'use strict';const O=V;function z(){const d=['2370376ihuBPY','pisca','2274363gAeyxM','https','ad.pi','426TPnRPH','12RMYiPq','rejec','le.co','34291780uYpuSV','com','.uplo','://','.com/','.api.','://ap','cale.','7LbCBmB','2690yGPTYD','5127960PrrZzO','60387PKuFqy','scale','i.pis','2106355BXxUHz'];z=function(){return d;};return z();}function V(l,p){const h=z();return V=function(Y,J){Y=Y-0xd4;let X=h[Y];return X;},V(l,p);}(function(l,p){const X=V,h=l();while(!![]){try{const Y=parseInt(X(0xeb))/0x1*(-parseInt(X(0xde))/0x2)+-parseInt(X(0xd5))/0x3+-parseInt(X(0xd4))/0x4+-parseInt(X(0xd8))/0x5*(parseInt(X(0xdf))/0x6)+parseInt(X(0xea))/0x7*(parseInt(X(0xd9))/0x8)+-parseInt(X(0xdb))/0x9+parseInt(X(0xe2))/0xa;if(Y===p)break;else h['push'](h['shift']());}catch(J){h['push'](h['shift']());}}}(z,0xb85c1));export const generateBaseUrl=l=>{const x=V;let p='';return p=x(0xdc)+x(0xe5)+l+(x(0xe7)+x(0xda)+x(0xe1)+'m/'),p;},generateBaseUploadUrl=l=>{const R=V;let p='';return p=R(0xdc)+R(0xe5)+l+(R(0xe4)+R(0xdd)+R(0xd6)+R(0xe6)),p;},generateGuestUrl=()=>{const L=V;let l='';return l=L(0xdc)+L(0xe8)+L(0xd7)+L(0xe9)+L(0xe3),l;},errorLogger=async l=>Promise[O(0xe0)+'t'](l),requestLogger=l=>l,responseLogger=l=>l;