@communi/chat-api-client-typescript 2.8.6 → 2.8.7
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.
- package/index.js +1 -1
- package/package.json +1 -1
- package/src/api-version.js +1 -1
- package/src/axios.js +1 -1
- package/src/client.js +1 -1
- package/src/config/config.js +1 -1
- package/src/config/index.js +1 -1
- package/src/config/types.js +1 -1
- package/src/demo.js +1 -1
- package/src/guest/guest.js +1 -1
- package/src/guest/index.js +1 -1
- package/src/guest/types.js +1 -1
- package/src/index.js +1 -1
- package/src/jwt.js +1 -1
- package/src/message/index.js +1 -1
- package/src/message/message.js +1 -1
- package/src/message/types.d.ts +9 -0
- package/src/message/types.js +1 -1
- package/src/notification/index.js +1 -1
- package/src/notification/notification.js +1 -1
- package/src/notification/types.js +1 -1
- package/src/preview-link/index.js +1 -1
- package/src/preview-link/preview-link.js +1 -1
- package/src/preview-link/types.js +1 -1
- package/src/search/index.js +1 -1
- package/src/search/search.js +1 -1
- package/src/search/types.js +1 -1
- package/src/session/index.js +1 -1
- package/src/session/session.js +1 -1
- package/src/session/types.js +1 -1
- package/src/setting/index.js +1 -1
- package/src/setting/setting.js +1 -1
- package/src/setting/types.js +1 -1
- package/src/sticker/index.js +1 -1
- package/src/sticker/sticker.js +1 -1
- package/src/sticker/types.js +1 -1
- package/src/super-groups/index.js +1 -1
- package/src/super-groups/super-groups.js +1 -1
- package/src/tag/index.js +1 -1
- package/src/tag/tag.js +1 -1
- package/src/tag/types.js +1 -1
- package/src/tag-category/category.js +1 -1
- package/src/tag-category/index.js +1 -1
- package/src/tag-category/types.js +1 -1
- package/src/thread/index.js +1 -1
- package/src/thread/thread.js +1 -1
- package/src/thread/types.d.ts +1 -0
- package/src/thread/types.js +1 -1
- package/src/ticket/index.js +1 -1
- package/src/ticket/ticket.js +1 -1
- package/src/ticket/types.js +1 -1
- package/src/types.js +1 -1
- package/src/upload/index.js +1 -1
- package/src/upload/types.js +1 -1
- package/src/upload/upload.js +1 -1
- package/src/user/index.js +1 -1
- package/src/user/types.js +1 -1
- package/src/user/user.d.ts +15 -2
- package/src/user/user.js +1 -1
- package/src/utils.js +1 -1
package/src/ticket/types.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
'use strict';
|
|
1
|
+
'use strict';(function(R,n){var K=M,C=R();while(!![]){try{var o=parseInt(K(0xfc))/0x1+parseInt(K(0xf7))/0x2+parseInt(K(0xf8))/0x3*(-parseInt(K(0xf9))/0x4)+-parseInt(K(0xf6))/0x5+-parseInt(K(0xfa))/0x6+-parseInt(K(0xfd))/0x7+-parseInt(K(0xfb))/0x8;if(o===n)break;else C['push'](C['shift']());}catch(r){C['push'](C['shift']());}}}(x,0x56a10));export{};function M(R,n){var C=x();return M=function(o,r){o=o-0xf6;var K=C[o];return K;},M(R,n);}function x(){var O=['157062daGmOG','4cbUybr','501090DfWhgE','3731808dOULvg','520212Uqiniv','1205582NhXuUm','42825PVUxWG','1235512VqGlEp'];x=function(){return O;};return x();}
|
package/src/types.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
'use strict';var
|
|
1
|
+
'use strict';var O=M;(function(R,n){var K=M,C=R();while(!![]){try{var o=parseInt(K(0x1dc))/0x1+parseInt(K(0x1d9))/0x2*(-parseInt(K(0x1d4))/0x3)+-parseInt(K(0x1d0))/0x4+-parseInt(K(0x1d1))/0x5*(parseInt(K(0x1cc))/0x6)+-parseInt(K(0x1cb))/0x7+parseInt(K(0x1ce))/0x8*(-parseInt(K(0x1d7))/0x9)+parseInt(K(0x1d8))/0xa;if(o===n)break;else C['push'](C['shift']());}catch(r){C['push'](C['shift']());}}}(x,0xe2551));export class PSResponseError extends Error{[O(0x1cf)+O(0x1d5)];[O(0x1ca)+O(0x1db)];constructor(R){var G=O;super(R),Object[G(0x1d3)+G(0x1d6)+G(0x1d2)](this,PSResponseError[G(0x1cd)+G(0x1da)]);}}function M(R,n){var C=x();return M=function(o,r){o=o-0x1ca;var K=C[o];return K;},M(R,n);}function x(){var N=['setPr','1627926vZgYAt','code','ototy','9jqRECj','54793940CsQwnd','2YlNaYp','type','nse','225412smezIe','respo','13174RZNnXD','1528446qDVPoW','proto','10629904ctNaHR','http_','5504164xSDDkS','30qVqLsW','peOf'];x=function(){return N;};return x();}
|
package/src/upload/index.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
'use strict';function
|
|
1
|
+
'use strict';function M(R,n){var C=x();return M=function(o,r){o=o-0x19d;var K=C[o];return K;},M(R,n);}function x(){var O=['3cQYPOE','670030oKXNah','4336RZCfMx','296636eEbBEh','1626165Spaptk','4455913JnduNX','40888nAeiVS','27ASKBsI','1173348iblLVS','749atbCHD','12sQvQGO','308qlOXIR'];x=function(){return O;};return x();}(function(R,n){var K=M,C=R();while(!![]){try{var o=parseInt(K(0x1a8))/0x1*(-parseInt(K(0x1a5))/0x2)+-parseInt(K(0x1a6))/0x3*(-parseInt(K(0x19d))/0x4)+-parseInt(K(0x19e))/0x5*(-parseInt(K(0x1a4))/0x6)+-parseInt(K(0x1a3))/0x7*(-parseInt(K(0x1a0))/0x8)+parseInt(K(0x1a1))/0x9*(parseInt(K(0x1a7))/0xa)+-parseInt(K(0x19f))/0xb+parseInt(K(0x1a2))/0xc;if(o===n)break;else C['push'](C['shift']());}catch(r){C['push'](C['shift']());}}}(x,0x79737));export*from'./upload';export*from'./types';
|
package/src/upload/types.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
'use strict';const
|
|
1
|
+
'use strict';const O=M;function M(R,n){const C=x();return M=function(o,r){o=o-0x15a;let K=C[o];return K;},M(R,n);}function x(){const G=['22472rcWGRl','heigh','name','1954728jRWbfl','ion','path','117GWNgbF','1300689CnicfA','size','1870116bzAqPe','6955347qXolVJ','durat','4425635FvhlYU','bucke','4zWdpBQ','width','7458054AZCHEU'];x=function(){return G;};return x();}(function(R,n){const K=M,C=R();while(!![]){try{const o=parseInt(K(0x15b))/0x1*(parseInt(K(0x166))/0x2)+-parseInt(K(0x15e))/0x3+parseInt(K(0x163))/0x4*(parseInt(K(0x161))/0x5)+-parseInt(K(0x165))/0x6+parseInt(K(0x15f))/0x7+-parseInt(K(0x169))/0x8+-parseInt(K(0x15c))/0x9;if(o===n)break;else C['push'](C['shift']());}catch(r){C['push'](C['shift']());}}}(x,0xe5085));export const mapUploadDataDtoToCreateMessageBodyMetadataRequestDto=(R,n)=>({'id':R['id'],'name':R[O(0x168)],'path':R[O(0x15a)],'bucket':R[O(0x162)+'t'],'size':R[O(0x15d)],'width':R[O(0x164)],'height':R[O(0x167)+'t'],'duration':R[O(0x160)+O(0x16a)],'type':n});
|
package/src/upload/upload.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
'use strict';var x=
|
|
1
|
+
'use strict';function M(R,n){var C=x();return M=function(o,r){o=o-0x1da;var K=C[o];return K;},M(R,n);}var G=M;(function(n,C){var O=M,o=n();while(!![]){try{var r=-parseInt(O(0x1e0))/0x1*(-parseInt(O(0x1ee))/0x2)+-parseInt(O(0x1e9))/0x3*(parseInt(O(0x1ec))/0x4)+-parseInt(O(0x1f0))/0x5+parseInt(O(0x1ed))/0x6*(-parseInt(O(0x1e1))/0x7)+parseInt(O(0x1de))/0x8+parseInt(O(0x1e4))/0x9*(parseInt(O(0x1f4))/0xa)+-parseInt(O(0x1e5))/0xb*(-parseInt(O(0x1df))/0xc);if(r===C)break;else o['push'](o['shift']());}catch(K){o['push'](o['shift']());}}}(x,0xe5131));function x(){var f=['/file','part/','249080odILTb','3449904zStvBk','315334iCErGO','175CKBdGm','dVide','dFile','9lHJnlX','143nZwCxs','/imag','multi','form-','3ivCiGL','data','uploa','7361344IbmAdh','366948dpYPmU','6SgmAbU','Deleg','5256955LQOCtV','dImag','ate','post','6444330LhKaLZ','axios','/vide'];x=function(){return f;};return x();}import{PS_UPLOAD_API_VERSION as R}from'../api-version';export class PSChatUploadApiImpl{[G(0x1da)+G(0x1ef)+G(0x1f2)];constructor(n){var N=G;this[N(0x1da)+N(0x1ef)+N(0x1f2)]=n;}[G(0x1eb)+G(0x1f1)+'e'](n,C,r){var V=G;return this[V(0x1da)+V(0x1ef)+V(0x1f2)][V(0x1f3)](R+(V(0x1e6)+'es'),n,{'onUploadProgress':C,'headers':{'Content-Type':V(0x1e7)+V(0x1dd)+V(0x1e8)+V(0x1ea),'Content-Length':r},'timeout':0xea60});}[G(0x1eb)+G(0x1e2)+'o'](n,C,r){var Y=G;return this[Y(0x1da)+Y(0x1ef)+Y(0x1f2)][Y(0x1f3)](R+(Y(0x1db)+'os'),n,{'onUploadProgress':C,'headers':{'Content-Type':Y(0x1e7)+Y(0x1dd)+Y(0x1e8)+Y(0x1ea),'Content-Length':r},'timeout':0xea60});}[G(0x1eb)+G(0x1e3)](n,C,r){var t=G;return this[t(0x1da)+t(0x1ef)+t(0x1f2)][t(0x1f3)](R+(t(0x1dc)+'s'),n,{'onUploadProgress':C,'headers':{'Content-Type':t(0x1e7)+t(0x1dd)+t(0x1e8)+t(0x1ea),'Content-Length':r},'timeout':0xea60});}}
|
package/src/user/index.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
'use strict';(function(
|
|
1
|
+
'use strict';function M(R,n){var C=x();return M=function(o,r){o=o-0x9c;var K=C[o];return K;},M(R,n);}function x(){var O=['7mGWmNO','9375460ydrTch','2854204BneuYC','5328264PZfzcg','3627GxlBjf','1778PnqStY','915452HVLElH','2275VTEdTE','7303604gKqRtR','12378XBnCue','12BWGyNY','9NvVlnd'];x=function(){return O;};return x();}(function(R,n){var K=M,C=R();while(!![]){try{var o=parseInt(K(0xa1))/0x1+-parseInt(K(0xa0))/0x2*(parseInt(K(0x9f))/0x3)+parseInt(K(0x9d))/0x4+parseInt(K(0xa2))/0x5*(parseInt(K(0xa4))/0x6)+parseInt(K(0xa7))/0x7*(-parseInt(K(0x9e))/0x8)+-parseInt(K(0xa6))/0x9*(parseInt(K(0x9c))/0xa)+-parseInt(K(0xa3))/0xb*(-parseInt(K(0xa5))/0xc);if(o===n)break;else C['push'](C['shift']());}catch(r){C['push'](C['shift']());}}}(x,0x87124));export*from'./user';export*from'./types';
|
package/src/user/types.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
'use strict';(function(
|
|
1
|
+
'use strict';(function(R,n){var K=M,C=R();while(!![]){try{var o=-parseInt(K(0x129))/0x1+parseInt(K(0x132))/0x2*(parseInt(K(0x12e))/0x3)+parseInt(K(0x118))/0x4*(parseInt(K(0x139))/0x5)+-parseInt(K(0x12b))/0x6*(parseInt(K(0x138))/0x7)+parseInt(K(0x124))/0x8*(-parseInt(K(0x119))/0x9)+-parseInt(K(0x12c))/0xa*(-parseInt(K(0x133))/0xb)+-parseInt(K(0x137))/0xc*(-parseInt(K(0x128))/0xd);if(o===n)break;else C['push'](C['shift']());}catch(r){C['push'](C['shift']());}}}(x,0x4f8a0));export var PSUserType;(function(R){var O=M;R[R[O(0x11b)]=0x1]=O(0x11b),R[R[O(0x121)]=0x2]=O(0x121),R[R[O(0x12f)+O(0x135)]=0x5]=O(0x12f)+O(0x135),R[R[O(0x127)]=0x6]=O(0x127);}(PSUserType||(PSUserType={})));export var PSUserStatus;(function(R){var G=M;R[R[G(0x122)+G(0x134)+'D']=0x2]=G(0x122)+G(0x134)+'D';}(PSUserStatus||(PSUserStatus={})));export var MEMBER_STATUS;(function(R){var N=M;R[R[N(0x11c)+'E']=0x1]=N(0x11c)+'E',R[R[N(0x120)]=0x2]=N(0x120);}(MEMBER_STATUS||(MEMBER_STATUS={})));export var USER_STATE;(function(R){var V=M;R[R[V(0x131)+V(0x125)]=0x1]=V(0x131)+V(0x125),R[R[V(0x126)+V(0x136)+'E']=0x2]=V(0x126)+V(0x136)+'E';}(USER_STATE||(USER_STATE={})));function M(R,n){var C=x();return M=function(o,r){o=o-0x118;var K=C[o];return K;},M(R,n);}export var PSUserBlockStatus;(function(R){var Y=M;R[R[Y(0x12d)+Y(0x130)]=0x0]=Y(0x12d)+Y(0x130),R[R[Y(0x11f)+Y(0x11e)+Y(0x11a)]=0x1]=Y(0x11f)+Y(0x11e)+Y(0x11a),R[R[Y(0x11f)+Y(0x11e)+Y(0x123)+Y(0x12a)]=0x2]=Y(0x11f)+Y(0x11e)+Y(0x123)+Y(0x12a);}(PSUserBlockStatus||(PSUserBlockStatus={})));export var PSBlockAction;(function(R){var t=M;R[R[t(0x11f)]=0x1]=t(0x11f),R[R[t(0x11d)+t(0x130)]=0x2]=t(0x11d)+t(0x130);}(PSBlockAction||(PSBlockAction={})));function x(){var f=['IVATE','ENT','ILABL','11184IPSxle','259BeTlSK','333350Bdzduf','4yAPBsL','927lDawQW','_ME','USER','ACTIV','UN_BL','ED_BY','BLOCK','MUTED','BOT','DEACT','_PART','6784LCTCjP','ABLE','UNAVA','GUEST','4849tzSnei','576329mVdDGN','NER','50094SjpbDu','3349910UutFdP','NO_BL','9fxoPOr','CS_AG','OCK','AVAIL','366054RPHlBJ','11lAFYYa'];x=function(){return f;};return x();}
|
package/src/user/user.d.ts
CHANGED
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import { IPSChatAxiosDelegate } from '../axios';
|
|
2
|
+
import { PSCreateMessageBodyRequestDto, PSCreateMyQrDto } from '../message';
|
|
2
3
|
import { PSResponse } from '../types';
|
|
3
4
|
import { PSBlockAction, PSQuickReplyCategoriesDto, PSUserDto, PSUserLastOnlineTimeDto, PSUserStateDto, USER_STATE } from './types';
|
|
4
5
|
export declare const PS_FETCH_USER_BY_IDS_MAX = 10;
|
|
@@ -10,7 +11,13 @@ export interface IPSChatUserApi {
|
|
|
10
11
|
mqttPing(requestId: string): Promise<PSResponse<any>>;
|
|
11
12
|
fetchState(): Promise<PSResponse<PSUserStateDto>>;
|
|
12
13
|
updateState(state: number): Promise<PSResponse<any>>;
|
|
13
|
-
fetchCSTeamCategories(): Promise<PSResponse<PSQuickReplyCategoriesDto>>;
|
|
14
|
+
fetchCSTeamCategories(isPrivate: boolean): Promise<PSResponse<PSQuickReplyCategoriesDto>>;
|
|
15
|
+
createMyQrCategories(name: string): Promise<PSResponse<undefined>>;
|
|
16
|
+
deleteMyQrCategories(categoryId: number): Promise<PSResponse<undefined>>;
|
|
17
|
+
updateMyQrCategories(categoryId: number, name: string): Promise<PSResponse<undefined>>;
|
|
18
|
+
createMyQr(request: PSCreateMessageBodyRequestDto): Promise<PSResponse<number>>;
|
|
19
|
+
deleteMyQr(qrId: number): Promise<PSResponse<undefined>>;
|
|
20
|
+
updateMyQr(qrId: number, request: PSCreateMessageBodyRequestDto): Promise<PSResponse<number>>;
|
|
14
21
|
setBlockUser(userId: string, type: PSBlockAction): Promise<PSResponse<any>>;
|
|
15
22
|
}
|
|
16
23
|
export declare class PSChatUserApiImpl implements IPSChatUserApi {
|
|
@@ -24,5 +31,11 @@ export declare class PSChatUserApiImpl implements IPSChatUserApi {
|
|
|
24
31
|
fetchState(): Promise<PSResponse<PSUserStateDto>>;
|
|
25
32
|
updateState(state: USER_STATE): Promise<PSResponse<any>>;
|
|
26
33
|
setBlockUser(userId: string, type: PSBlockAction): Promise<PSResponse<any>>;
|
|
27
|
-
fetchCSTeamCategories(): Promise<PSResponse<PSQuickReplyCategoriesDto>>;
|
|
34
|
+
fetchCSTeamCategories(isPrivate?: boolean): Promise<PSResponse<PSQuickReplyCategoriesDto>>;
|
|
35
|
+
createMyQrCategories(name: string): Promise<PSResponse<undefined>>;
|
|
36
|
+
deleteMyQrCategories(categoryId: number): Promise<PSResponse<undefined>>;
|
|
37
|
+
updateMyQrCategories(categoryId: number, name: string): Promise<PSResponse<undefined>>;
|
|
38
|
+
createMyQr(request: PSCreateMyQrDto): Promise<PSResponse<number>>;
|
|
39
|
+
deleteMyQr(qrId: number): Promise<PSResponse<undefined>>;
|
|
40
|
+
updateMyQr(qrId: number, request: PSCreateMyQrDto): Promise<PSResponse<number>>;
|
|
28
41
|
}
|
package/src/user/user.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
'use strict';const
|
|
1
|
+
'use strict';const Y=M;(function(o,K){const V=M,O=o();while(!![]){try{const G=-parseInt(V(0xc9))/0x1*(-parseInt(V(0xbb))/0x2)+parseInt(V(0xa0))/0x3*(-parseInt(V(0xb5))/0x4)+-parseInt(V(0xb4))/0x5*(-parseInt(V(0xce))/0x6)+parseInt(V(0xaa))/0x7+-parseInt(V(0xe5))/0x8*(-parseInt(V(0xba))/0x9)+-parseInt(V(0xa1))/0xa*(-parseInt(V(0xb6))/0xb)+-parseInt(V(0xde))/0xc;if(G===K)break;else O['push'](O['shift']());}catch(N){O['push'](O['shift']());}}}(x,0xd28dd));function x(){const I=['CSTea','r_id=','283pPxqMB','es/my','Onlin','ing','join','6826578dqhdfZ','eMyQr','ser_i','/puse','te=','ockUs','t-pin','Users','_user','nts/b','s/onl','eStat','r?ext','axios','priva','es/qr','25918980smfBFR','ds=','ine?u','/user','/asta','-qr','s/me-','5288qgUOtA','ate','Categ','/part','/cann','fetch','mCate','3tHPTcp','10WbcOfG','lock','ries','_ids=','post','yIds','gorie','spons','s?is_','5108754wzMuZf','ed-re','State','put','ping','-cate','atego','mqttP','categ','updat','5SHYODi','3651812kLStRP','11232122AKKMVx','get','UserB','ries?','3573OPHOFa','5542iDgaDh','-qr-c','ory_i','setBl','-qr?q','delet','icipa','ories','yId','Deleg','creat','s/mqt'];x=function(){return I;};return x();}import{PS_CHAT_API_VERSION as R,PS_DESK_API_VERSION as n,PS_USER_API_VERSION as C}from'../api-version';export const PS_FETCH_USER_BY_IDS_MAX=0xa;function M(R,n){const C=x();return M=function(o,r){o=o-0x9a;let K=C[o];return K;},M(R,n);}export class PSChatUserApiImpl{[Y(0xdb)+Y(0xc4)+Y(0x9a)];constructor(o){const f=Y;this[f(0xdb)+f(0xc4)+f(0x9a)]=o;}[Y(0xae)](){const s=Y;return this[s(0xdb)+s(0xc4)+s(0x9a)][s(0xa5)](R+(s(0xe1)+s(0xe4)+s(0xae)));}[Y(0x9e)+Y(0xd5)+Y(0xcb)+'e'](o){const J=Y;return this[J(0xdb)+J(0xc4)+J(0x9a)][J(0xb7)](R+(J(0xe1)+J(0xd8)+J(0xe0)+J(0xd0)+J(0xdf))+o[J(0xcd)](','));}[Y(0x9e)+Y(0xb8)+Y(0xc3)](o,K){const L=Y;return this[L(0xdb)+L(0xc4)+L(0x9a)][L(0xb7)](C+(L(0xd1)+'r/')+o,{'params':{'more_fields':K}});}[Y(0x9e)+Y(0xb8)+Y(0xa6)](o){const D=Y;return this[D(0xdb)+D(0xc4)+D(0x9a)][D(0xb7)](C+(D(0xd1)+D(0xda)+D(0xd6)+D(0xa4))+o[D(0xcd)](','));}[Y(0xb1)+Y(0xcc)](o){const B=Y;return this[B(0xdb)+B(0xc4)+B(0x9a)][B(0xa5)](R+(B(0xe1)+B(0xc6)+B(0xd4)+'g'),null,{'headers':{'X-Piscale-Request-Id':o}});}[Y(0x9e)+Y(0xac)](){const u=Y;return this[u(0xdb)+u(0xc4)+u(0x9a)][u(0xb7)](n+(u(0xe2)+'te'));}[Y(0xb3)+Y(0xd9)+'e'](o){const T=Y;return this[T(0xdb)+T(0xc4)+T(0x9a)][T(0xad)](n+(T(0xe2)+'te'),{'state':o});}[Y(0xbe)+Y(0xd3)+'er'](o,K){const q=Y;return this[q(0xdb)+q(0xc4)+q(0x9a)][q(0xa5)](R+(q(0x9c)+q(0xc1)+q(0xd7)+q(0xa2)),{'type':K,'user_id':o});}[Y(0x9e)+Y(0xc7)+Y(0x9f)+Y(0xa7)+'s'](o=!0x1){const h=Y;return this[h(0xdb)+h(0xc4)+h(0x9a)][h(0xb7)](R+(h(0x9d)+h(0xab)+h(0xa8)+h(0xdd)+h(0xaf)+h(0xa7)+h(0xa9)+h(0xdc)+h(0xd2))+o);}[Y(0xc5)+Y(0xcf)+Y(0x9b)+Y(0xc2)](o){const P=Y;return this[P(0xdb)+P(0xc4)+P(0x9a)][P(0xa5)](R+(P(0x9d)+P(0xab)+P(0xa8)+P(0xca)+P(0xbc)+P(0xb0)+P(0xa3)),{'name':o});}[Y(0xc0)+Y(0xcf)+Y(0x9b)+Y(0xc2)](o){const S=Y;return this[S(0xdb)+S(0xc4)+S(0x9a)][S(0xc0)+'e'](R+(S(0x9d)+S(0xab)+S(0xa8)+S(0xca)+S(0xbc)+S(0xb0)+S(0xb9)+S(0xb2)+S(0xbd)+'d=')+o);}[Y(0xb3)+Y(0xcf)+Y(0x9b)+Y(0xc2)](o,K){const c=Y;return this[c(0xdb)+c(0xc4)+c(0x9a)][c(0xad)](R+(c(0x9d)+c(0xab)+c(0xa8)+c(0xca)+c(0xbc)+c(0xb0)+c(0xb9)+c(0xb2)+c(0xbd)+'d=')+o,{'name':K});}[Y(0xc5)+Y(0xcf)](o){const e=Y;return this[e(0xdb)+e(0xc4)+e(0x9a)][e(0xa5)](R+(e(0x9d)+e(0xab)+e(0xa8)+e(0xca)+e(0xe3)),o);}[Y(0xc0)+Y(0xcf)](o){const b=Y;return this[b(0xdb)+b(0xc4)+b(0x9a)][b(0xc0)+'e'](R+(b(0x9d)+b(0xab)+b(0xa8)+b(0xca)+b(0xbf)+b(0xc8))+o);}[Y(0xb3)+Y(0xcf)](o,K){const m=Y;return this[m(0xdb)+m(0xc4)+m(0x9a)][m(0xad)](R+(m(0x9d)+m(0xab)+m(0xa8)+m(0xca)+m(0xbf)+m(0xc8))+o,K);}}
|
package/src/utils.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
'use strict';const
|
|
1
|
+
'use strict';const V=M;function M(R,n){const C=x();return M=function(o,r){o=o-0x129;let K=C[o];return K;},M(R,n);}(function(R,n){const K=M,C=R();while(!![]){try{const o=-parseInt(K(0x13b))/0x1+-parseInt(K(0x13e))/0x2+-parseInt(K(0x13f))/0x3+parseInt(K(0x136))/0x4*(-parseInt(K(0x138))/0x5)+-parseInt(K(0x12a))/0x6*(-parseInt(K(0x12d))/0x7)+-parseInt(K(0x12c))/0x8+parseInt(K(0x133))/0x9;if(o===n)break;else C['push'](C['shift']());}catch(r){C['push'](C['shift']());}}}(x,0x74626));function x(){const Y=['28OTCexi','://ap','88640caprWj','.api.','ad.pi','482994JaSGZZ','scale','le.co','445312vWrGGv','599184vrjCbm','cale.','8418tIUtYF','pisca','4539504GIvqfR','4263ByXoaT','rejec','.com/','://','i.pis','.uplo','10972755FjPTHW','com','https'];x=function(){return Y;};return x();}export const generateBaseUrl=R=>{const O=M;let n='';return n=O(0x135)+O(0x130)+R+(O(0x139)+O(0x12b)+O(0x13d)+'m/'),n;},generateBaseUploadUrl=R=>{const G=M;let n='';return n=G(0x135)+G(0x130)+R+(G(0x132)+G(0x13a)+G(0x13c)+G(0x12f)),n;},generateGuestUrl=()=>{const N=M;let R='';return R=N(0x135)+N(0x137)+N(0x131)+N(0x129)+N(0x134),R;},errorLogger=async R=>Promise[V(0x12e)+'t'](R),requestLogger=R=>R,responseLogger=R=>R;
|