@communi/chat-api-client-typescript 2.9.4 → 2.9.6
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.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.d.ts +3 -1
- package/src/setting/setting.js +1 -1
- package/src/setting/types.d.ts +13 -0
- 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.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.d.ts +0 -4
- package/src/user/types.js +1 -1
- package/src/user/user.d.ts +3 -3
- package/src/user/user.js +1 -1
- package/src/utils.js +1 -1
package/src/ticket/ticket.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
'use strict';
|
|
1
|
+
'use strict';function B(M,w){var L=f();return B=function(q,d){q=q-0xe4;var R=L[q];return R;},B(M,w);}var r=B;(function(w,L){var D=B,q=w();while(!![]){try{var d=parseInt(D(0xf6))/0x1*(parseInt(D(0xfb))/0x2)+-parseInt(D(0xf9))/0x3+-parseInt(D(0xe7))/0x4*(parseInt(D(0xfd))/0x5)+parseInt(D(0xf4))/0x6+parseInt(D(0xfc))/0x7+parseInt(D(0xe6))/0x8+-parseInt(D(0xf0))/0x9*(parseInt(D(0xe5))/0xa);if(d===L)break;else q['push'](q['shift']());}catch(R){q['push'](q['shift']());}}}(f,0x4de31));import{PS_CHAT_API_VERSION as M}from'../api-version';export class PSChatTicketApiImpl{[r(0xe8)+r(0xf3)+r(0xef)];constructor(w){var N=r;this[N(0xe8)+N(0xf3)+N(0xef)]=w;}[r(0xfa)+r(0xf7)](w,L,q,d){var k=r;return this[k(0xe8)+k(0xf3)+k(0xef)][k(0xec)](M+(k(0xff)+k(0xee)),{'params':{'thread_id':w,'session_id':L,'last_id':q,'limit':d}});}[r(0xfa)+r(0x101)+r(0xeb)](w,L,q){var v=r;return this[v(0xe8)+v(0xf3)+v(0xef)][v(0xec)](M+(v(0xff)+v(0xe4))+q,{'params':{'thread_id':w,'session_id':L}});}[r(0xf5)+r(0xe9)+'et'](w){var h=r;return this[h(0xe8)+h(0xf3)+h(0xef)][h(0x100)](M+(h(0xff)+h(0xee)),w);}[r(0xf1)+r(0xe9)+'et'](w,L,q,d,R,E){var C=r;return this[C(0xe8)+C(0xf3)+C(0xef)][C(0xfe)](M+(C(0xff)+C(0xe4))+L+(C(0xf2)+C(0xea)+'=')+q+(C(0xed)+C(0xf8)+'d=')+R,w,{'params':{'last_id':d,'limit':E}});}}function f(){var j=['getTi','26646FuWXhA','3709937WaEJzq','111895yfMQVC','put','/tick','post','cketB','ets/','5090AokiXQ','2541072dnPsgp','4tVbMrZ','axios','eTick','ad_id','yId','get','&sess','ets','ate','10845EVkQor','updat','?thre','Deleg','1882230bEZUJZ','creat','23wrwWic','ckets','ion_i','1539030xGBCjy'];f=function(){return j;};return f();}
|
package/src/ticket/types.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
'use strict';(function(
|
|
1
|
+
'use strict';(function(M,w){var R=B,L=M();while(!![]){try{var q=-parseInt(R(0xc5))/0x1*(parseInt(R(0xc6))/0x2)+-parseInt(R(0xc0))/0x3+-parseInt(R(0xc8))/0x4*(-parseInt(R(0xca))/0x5)+-parseInt(R(0xc9))/0x6*(parseInt(R(0xc1))/0x7)+-parseInt(R(0xc4))/0x8*(-parseInt(R(0xc7))/0x9)+parseInt(R(0xc2))/0xa+parseInt(R(0xc3))/0xb;if(q===w)break;else L['push'](L['shift']());}catch(d){L['push'](L['shift']());}}}(f,0xbe432));function B(M,w){var L=f();return B=function(q,d){q=q-0xc0;var R=L[q];return R;},B(M,w);}function f(){var E=['7260606OcXpPe','5dbMvpK','2115888qqUmTt','7acufKc','593000mLQTzv','39838909wxNxlZ','110584fwOApu','1502104wpCQUy','2qFbvuh','261OmOscQ','459716NIuqKm'];f=function(){return E;};return f();}export{};
|
package/src/types.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
'use strict';
|
|
1
|
+
'use strict';function B(M,w){var L=f();return B=function(q,d){q=q-0x142;var R=L[q];return R;},B(M,w);}var E=B;(function(M,w){var R=B,L=M();while(!![]){try{var q=-parseInt(R(0x14e))/0x1*(parseInt(R(0x144))/0x2)+-parseInt(R(0x14d))/0x3*(parseInt(R(0x145))/0x4)+-parseInt(R(0x147))/0x5+-parseInt(R(0x152))/0x6+-parseInt(R(0x14f))/0x7*(parseInt(R(0x142))/0x8)+parseInt(R(0x14b))/0x9*(-parseInt(R(0x149))/0xa)+parseInt(R(0x150))/0xb;if(q===w)break;else L['push'](L['shift']());}catch(d){L['push'](L['shift']());}}}(f,0x8cda4));function f(){var r=['38383741bwdxiZ','peOf','4591128wfOJpr','code','ototy','respo','568neLJHt','type','2QOQkqy','6712ffOCCs','nse','1133265vruPTW','setPr','5830AOGbKz','proto','477swrCXN','http_','288RKvTEq','1059638QdGWHX','65961mDODrg'];f=function(){return r;};return f();}export class PSResponseError extends Error{[E(0x14c)+E(0x153)];[E(0x155)+E(0x146)];constructor(M){var D=E;super(M),Object[D(0x148)+D(0x154)+D(0x151)](this,PSResponseError[D(0x14a)+D(0x143)]);}}
|
package/src/upload/index.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
'use strict';(function(
|
|
1
|
+
'use strict';(function(M,w){var R=B,L=M();while(!![]){try{var q=parseInt(R(0x1b7))/0x1*(-parseInt(R(0x1b5))/0x2)+-parseInt(R(0x1b3))/0x3*(parseInt(R(0x1b6))/0x4)+parseInt(R(0x1b9))/0x5+-parseInt(R(0x1b1))/0x6+-parseInt(R(0x1b0))/0x7*(parseInt(R(0x1b4))/0x8)+parseInt(R(0x1bb))/0x9*(-parseInt(R(0x1ba))/0xa)+parseInt(R(0x1b8))/0xb*(parseInt(R(0x1b2))/0xc);if(q===w)break;else L['push'](L['shift']());}catch(d){L['push'](L['shift']());}}}(f,0xa8db9));export*from'./upload';function B(M,w){var L=f();return B=function(q,d){q=q-0x1b0;var R=L[q];return R;},B(M,w);}function f(){var E=['14902lgClTu','524rkWlNu','162VeCKHs','5643IGFqad','4397505tDtjAf','369910eWSdlf','153KnRwuD','723667zKjVrV','5696802qBYfjg','88764luWtbx','6108FWXLJH','72YxsQhA'];f=function(){return E;};return f();}export*from'./types';
|
package/src/upload/types.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
'use strict';const
|
|
1
|
+
'use strict';const E=B;(function(M,w){const R=B,L=M();while(!![]){try{const q=-parseInt(R(0x119))/0x1+-parseInt(R(0x117))/0x2+parseInt(R(0x10d))/0x3*(-parseInt(R(0x113))/0x4)+-parseInt(R(0x11d))/0x5+-parseInt(R(0x11c))/0x6*(-parseInt(R(0x110))/0x7)+parseInt(R(0x10e))/0x8+parseInt(R(0x11a))/0x9;if(q===w)break;else L['push'](L['shift']());}catch(d){L['push'](L['shift']());}}}(f,0x49b27));function f(){const D=['ion','174600QdtXKh','8374509tWdNOL','bucke','318aRgqxC','831770tSDUaY','3DTSTjv','4009688kdlSuo','name','4333zQEzLS','width','durat','1609948dmONpM','heigh','path','size','838430emwpGl'];f=function(){return D;};return f();}function B(M,w){const L=f();return B=function(q,d){q=q-0x10d;let R=L[q];return R;},B(M,w);}export const mapUploadDataDtoToCreateMessageBodyMetadataRequestDto=(M,w)=>({'id':M['id'],'name':M[E(0x10f)],'path':M[E(0x115)],'bucket':M[E(0x11b)+'t'],'size':M[E(0x116)],'width':M[E(0x111)],'height':M[E(0x114)+'t'],'duration':M[E(0x112)+E(0x118)],'type':w});
|
package/src/upload/upload.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
'use strict';var
|
|
1
|
+
'use strict';var D=B;function f(){var h=['7353024nvuyoY','multi','post','dImag','9fvNfAO','4xpEDvp','form-','data','655RORufZ','12786MuhmPu','dFile','/imag','dVide','ate','part/','123746WnUZSL','/vide','4052196PqBkOR','11153290OSMEsW','27533286TuMObf','axios','1506072IWLBwZ','7UGDbNW','Deleg','/file','uploa'];f=function(){return h;};return f();}(function(w,L){var E=B,q=w();while(!![]){try{var d=-parseInt(E(0x1ca))/0x1*(-parseInt(E(0x1c0))/0x2)+-parseInt(E(0x1b6))/0x3+parseInt(E(0x1cc))/0x4+-parseInt(E(0x1c3))/0x5*(-parseInt(E(0x1c4))/0x6)+parseInt(E(0x1b7))/0x7*(parseInt(E(0x1bb))/0x8)+parseInt(E(0x1bf))/0x9*(parseInt(E(0x1cd))/0xa)+-parseInt(E(0x1ce))/0xb;if(d===L)break;else q['push'](q['shift']());}catch(R){q['push'](q['shift']());}}}(f,0x8af15));function B(M,w){var L=f();return B=function(q,d){q=q-0x1b5;var R=L[q];return R;},B(M,w);}import{PS_UPLOAD_API_VERSION as M}from'../api-version';export class PSChatUploadApiImpl{[D(0x1b5)+D(0x1b8)+D(0x1c8)];constructor(w){var r=D;this[r(0x1b5)+r(0x1b8)+r(0x1c8)]=w;}[D(0x1ba)+D(0x1be)+'e'](w,L,q){var N=D;return this[N(0x1b5)+N(0x1b8)+N(0x1c8)][N(0x1bd)](M+(N(0x1c6)+'es'),w,{'onUploadProgress':L,'headers':{'Content-Type':N(0x1bc)+N(0x1c9)+N(0x1c1)+N(0x1c2),'Content-Length':q},'timeout':0xea60});}[D(0x1ba)+D(0x1c7)+'o'](w,L,q){var k=D;return this[k(0x1b5)+k(0x1b8)+k(0x1c8)][k(0x1bd)](M+(k(0x1cb)+'os'),w,{'onUploadProgress':L,'headers':{'Content-Type':k(0x1bc)+k(0x1c9)+k(0x1c1)+k(0x1c2),'Content-Length':q},'timeout':0xea60});}[D(0x1ba)+D(0x1c5)](w,L,q){var v=D;return this[v(0x1b5)+v(0x1b8)+v(0x1c8)][v(0x1bd)](M+(v(0x1b9)+'s'),w,{'onUploadProgress':L,'headers':{'Content-Type':v(0x1bc)+v(0x1c9)+v(0x1c1)+v(0x1c2),'Content-Length':q},'timeout':0xea60});}}
|
package/src/user/index.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
'use strict';(function(
|
|
1
|
+
'use strict';(function(M,w){var R=B,L=M();while(!![]){try{var q=-parseInt(R(0x1ec))/0x1+-parseInt(R(0x1ed))/0x2*(-parseInt(R(0x1ef))/0x3)+parseInt(R(0x1e8))/0x4+parseInt(R(0x1e9))/0x5+-parseInt(R(0x1e7))/0x6+-parseInt(R(0x1ee))/0x7+parseInt(R(0x1eb))/0x8*(parseInt(R(0x1ea))/0x9);if(q===w)break;else L['push'](L['shift']());}catch(d){L['push'](L['shift']());}}}(f,0xa0680));export*from'./user';export*from'./types';function B(M,w){var L=f();return B=function(q,d){q=q-0x1e7;var R=L[q];return R;},B(M,w);}function f(){var E=['940142ksxMaz','21BydgMv','5835312HcWBOx','3448536mOzQjU','3663230INrzVc','3258PJKTTZ','4128TiUcyr','493893qZUWjh','136058Qmtgdg'];f=function(){return E;};return f();}
|
package/src/user/types.d.ts
CHANGED
package/src/user/types.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
'use strict';(function(
|
|
1
|
+
'use strict';(function(M,w){var R=B,L=M();while(!![]){try{var q=parseInt(R(0x1f8))/0x1*(-parseInt(R(0x1f9))/0x2)+-parseInt(R(0x208))/0x3*(parseInt(R(0x1f5))/0x4)+-parseInt(R(0x1f4))/0x5+parseInt(R(0x200))/0x6+-parseInt(R(0x1f3))/0x7*(parseInt(R(0x20b))/0x8)+parseInt(R(0x1f0))/0x9+parseInt(R(0x1fc))/0xa*(parseInt(R(0x1ff))/0xb);if(q===w)break;else L['push'](L['shift']());}catch(d){L['push'](L['shift']());}}}(f,0xc1f7f));function B(M,w){var L=f();return B=function(q,d){q=q-0x1f0;var R=L[q];return R;},B(M,w);}export var PSUserType;(function(M){var E=B;M[M[E(0x206)]=0x1]=E(0x206),M[M[E(0x1fe)]=0x2]=E(0x1fe),M[M[E(0x1f7)+E(0x1fa)]=0x5]=E(0x1f7)+E(0x1fa),M[M[E(0x205)]=0x6]=E(0x205);}(PSUserType||(PSUserType={})));export var PSUserStatus;(function(M){var D=B;M[M[D(0x20a)+D(0x1fb)+'D']=0x2]=D(0x20a)+D(0x1fb)+'D';}(PSUserStatus||(PSUserStatus={})));export var MEMBER_STATUS;(function(M){var r=B;M[M[r(0x209)+'E']=0x1]=r(0x209)+'E',M[M[r(0x201)]=0x2]=r(0x201);}(MEMBER_STATUS||(MEMBER_STATUS={})));export var USER_STATE;(function(M){var N=B;M[M[N(0x1f1)+N(0x1fd)]=0x1]=N(0x1f1)+N(0x1fd),M[M[N(0x1f2)+N(0x20e)+'E']=0x2]=N(0x1f2)+N(0x20e)+'E';}(USER_STATE||(USER_STATE={})));function f(){var h=['BLOCK','UN_BL','ILABL','_ME','11995299BLzkcR','AVAIL','UNAVA','1553237TJdNCV','2725245vBJmvW','308DTkGBi','OCK','CS_AG','1839ImTeCT','1602DpEXAr','ENT','IVATE','20SQqXQi','ABLE','BOT','10734691MnzoPq','2615550cVOpJP','MUTED','ED_BY','NER','NO_BL','GUEST','USER','_PART','9438EnROxA','ACTIV','DEACT','24mkpkwj'];f=function(){return h;};return f();}export var PSUserBlockStatus;(function(M){var k=B;M[M[k(0x204)+k(0x1f6)]=0x0]=k(0x204)+k(0x1f6),M[M[k(0x20c)+k(0x202)+k(0x20f)]=0x1]=k(0x20c)+k(0x202)+k(0x20f),M[M[k(0x20c)+k(0x202)+k(0x207)+k(0x203)]=0x2]=k(0x20c)+k(0x202)+k(0x207)+k(0x203);}(PSUserBlockStatus||(PSUserBlockStatus={})));export var PSBlockAction;(function(M){var v=B;M[M[v(0x20c)]=0x1]=v(0x20c),M[M[v(0x20d)+v(0x1f6)]=0x2]=v(0x20d)+v(0x1f6);}(PSBlockAction||(PSBlockAction={})));
|
package/src/user/user.d.ts
CHANGED
|
@@ -1,12 +1,13 @@
|
|
|
1
1
|
import { IPSChatAxiosDelegate } from '../axios';
|
|
2
2
|
import { PSCreateMyQrDto } from '../message';
|
|
3
3
|
import { PSResponse } from '../types';
|
|
4
|
-
import { PSBlockAction, PSQuickReplyCategoriesDto, PSQuickReplyQuery, PSQuickReplyResponse,
|
|
4
|
+
import { PSBlockAction, PSQuickReplyCategoriesDto, PSQuickReplyQuery, PSQuickReplyResponse, PSUserDto, PSUserLastOnlineTimeDto, PSUserStateDto, USER_STATE } from './types';
|
|
5
5
|
export declare const PS_FETCH_USER_BY_IDS_MAX = 10;
|
|
6
6
|
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
|
+
updateUserMetadata(userId: string, metadata: string): Promise<PSResponse<any>>;
|
|
10
11
|
fetchUserByIds(userIds: string[]): Promise<PSResponse<PSUserDto[]>>;
|
|
11
12
|
mqttPing(requestId: string): Promise<PSResponse<any>>;
|
|
12
13
|
fetchState(): Promise<PSResponse<PSUserStateDto>>;
|
|
@@ -20,7 +21,6 @@ export interface IPSChatUserApi {
|
|
|
20
21
|
deleteQuickReply(qrId: number, teamId?: number): Promise<PSResponse<undefined>>;
|
|
21
22
|
updateQuickReply(qrId: number, categoryId: number, request: PSCreateMyQrDto, teamId?: number): Promise<PSResponse<number>>;
|
|
22
23
|
setBlockUser(userId: string, type: PSBlockAction): Promise<PSResponse<any>>;
|
|
23
|
-
getCreateThreadPermission(): Promise<PSResponse<PSUserCreateThreadPermissionDto>>;
|
|
24
24
|
}
|
|
25
25
|
export declare class PSChatUserApiImpl implements IPSChatUserApi {
|
|
26
26
|
private axiosDelegate;
|
|
@@ -28,8 +28,8 @@ export declare class PSChatUserApiImpl implements IPSChatUserApi {
|
|
|
28
28
|
ping(): Promise<PSResponse<any>>;
|
|
29
29
|
fetchUsersOnline(userIds: string[]): Promise<PSResponse<PSUserLastOnlineTimeDto[]>>;
|
|
30
30
|
fetchUserById(userId: string, moreFields?: string[]): Promise<PSResponse<PSUserDto>>;
|
|
31
|
+
updateUserMetadata(userId: string, metadata: string): Promise<PSResponse<any>>;
|
|
31
32
|
fetchUserByIds(userIds: string[]): Promise<PSResponse<PSUserDto[]>>;
|
|
32
|
-
getCreateThreadPermission(): Promise<PSResponse<PSUserCreateThreadPermissionDto>>;
|
|
33
33
|
mqttPing(requestId: string): Promise<PSResponse<any>>;
|
|
34
34
|
fetchState(): Promise<PSResponse<PSUserStateDto>>;
|
|
35
35
|
updateState(state: USER_STATE): Promise<PSResponse<any>>;
|
package/src/user/user.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
'use strict';function
|
|
1
|
+
'use strict';function f(){const K=['t-pin','eStat','data','/user','put','1062335EpooFw','4504857dFLqRX','gorie','ata','get','-cate','eQuic','es/qr','s/me-','fetch','gory_','lock','updat','ds=','tegor','join','icipa','id=','yIds','te=','setBl','_id=','State','s/mqt','Users','nts/b','Idnam','3870sfCPFD','Metad','kRepl','post','spons','ickRe','egory','&team','274264evzfPv','eQrCa','3619152oyXjyB','_user','eUser','priva','r?ext','\x20team','mqttP','ine?u','&cate','amId','getQu','19061603gZQWme','Deleg','yId','?qr_i','log','ories','/asta','axios','s/onl','ate','ed-re','getQR','s?is_','name,','/puse','ping','UserB','6tRjlcn','2710sLIROt','Onlin','/meta','8IuCOZO','ply','e,\x20te','ockUs','_ids=','/cann','s?cat','delet','12ZClsni','ser_i','ing','creat','ies','Categ','/part','253381EwqPZv'];f=function(){return K;};return f();}const x=B;(function(q,d){const j=B,R=q();while(!![]){try{const E=parseInt(j(0xcb))/0x1+parseInt(j(0x9a))/0x2*(-parseInt(j(0xb8))/0x3)+-parseInt(j(0x9c))/0x4+-parseInt(j(0xd1))/0x5*(-parseInt(j(0xc4))/0x6)+parseInt(j(0xd2))/0x7*(-parseInt(j(0xbc))/0x8)+parseInt(j(0x92))/0x9*(-parseInt(j(0xb9))/0xa)+parseInt(j(0xa7))/0xb;if(E===d)break;else R['push'](R['shift']());}catch(D){R['push'](R['shift']());}}}(f,0x733f7));import{PS_CHAT_API_VERSION as M,PS_DESK_API_VERSION as w,PS_USER_API_VERSION as L}from'../api-version';function B(M,w){const L=f();return B=function(q,d){q=q-0x8c;let R=L[q];return R;},B(M,w);}export const PS_FETCH_USER_BY_IDS_MAX=0xa;export class PSChatUserApiImpl{[x(0xae)+x(0xa8)+x(0xb0)];constructor(q){const T=x;this[T(0xae)+T(0xa8)+T(0xb0)]=q;}[x(0xb6)](){const l=x;return this[l(0xae)+l(0xa8)+l(0xb0)][l(0x95)](M+(l(0xcf)+l(0xd9)+l(0xb6)));}[x(0xda)+x(0x8f)+x(0xba)+'e'](q){const t=x;return this[t(0xae)+t(0xa8)+t(0xb0)][t(0xd5)](M+(t(0xcf)+t(0xaf)+t(0xa3)+t(0xc5)+t(0xde))+q[t(0xe0)](','));}[x(0xda)+x(0xb7)+x(0xa9)](q,d){const y=x;return this[y(0xae)+y(0xa8)+y(0xb0)][y(0xd5)](L+(y(0xb5)+'r/')+q,{'params':{'more_fields':d}});}[x(0xdd)+x(0x9e)+x(0x93)+x(0xd4)](q,d){const P=x;return this[P(0xae)+P(0xa8)+P(0xb0)][P(0xd0)](L+(P(0xb5)+'r/')+q+(P(0xbb)+P(0xce)),{'metadata':d});}[x(0xda)+x(0xb7)+x(0xe3)](q){const u=x;return this[u(0xae)+u(0xa8)+u(0xb0)][u(0xd5)](L+(u(0xb5)+u(0xa0)+u(0x9d)+u(0xc0))+q[u(0xe0)](','));}[x(0xa2)+x(0xc6)](q){const J=x;return this[J(0xae)+J(0xa8)+J(0xb0)][J(0x95)](M+(J(0xcf)+J(0x8e)+J(0xcc)+'g'),null,{'headers':{'X-Piscale-Request-Id':q}});}[x(0xda)+x(0x8d)](){const n=x;return this[n(0xae)+n(0xa8)+n(0xb0)][n(0xd5)](w+(n(0xad)+'te'));}[x(0xdd)+x(0xcd)+'e'](q){const I=x;return this[I(0xae)+I(0xa8)+I(0xb0)][I(0xd0)](w+(I(0xad)+'te'),{'state':q});}[x(0xe5)+x(0xbf)+'er'](q,d){const S=x;return this[S(0xae)+S(0xa8)+S(0xb0)][S(0x95)](M+(S(0xca)+S(0xe1)+S(0x90)+S(0xdc)),{'type':d,'user_id':q});}[x(0xb2)+x(0xc9)+x(0xac)](q=!0x1){const X=x;return this[X(0xae)+X(0xa8)+X(0xb0)][X(0xd5)](M+(X(0xc1)+X(0xb1)+X(0x96)+X(0xd8)+X(0xd6)+X(0xd3)+X(0xb3)+X(0x9f)+X(0xe4))+q);}[x(0xc7)+x(0x9b)+x(0xdf)+x(0xc8)](q,d){const V=x;return console[V(0xab)](q,d,V(0xb4)+V(0xa1)+V(0x91)+V(0xbe)+V(0xa5)),this[V(0xae)+V(0xa8)+V(0xb0)][V(0x95)](M+(V(0xc1)+V(0xb1)+V(0x96)+V(0xd8)+V(0xd6)+V(0xd3)+'s'),{'name':q,'team_id':d});}[x(0xc3)+x(0x9b)+x(0xdf)+x(0xc8)](q,d){const H=x;return this[H(0xae)+H(0xa8)+H(0xb0)][H(0xc3)+'e'](M+(H(0xc1)+H(0xb1)+H(0x96)+H(0xd8)+H(0xd6)+H(0xd3)+H(0xc2)+H(0x98)+H(0x8c))+q+(H(0x99)+H(0x8c))+d);}[x(0xdd)+x(0x9b)+x(0xdf)+x(0xc8)](q,d,R){const Z=x;return this[Z(0xae)+Z(0xa8)+Z(0xb0)][Z(0xd0)](M+(Z(0xc1)+Z(0xb1)+Z(0x96)+Z(0xd8)+Z(0xd6)+Z(0xd3)+Z(0xc2)+Z(0x98)+Z(0x8c))+q+(Z(0x99)+Z(0x8c))+R,{'name':d,'team_id':R});}[x(0xa6)+x(0x97)+x(0xbd)](q){const c=x,{teamId:R,categoryId:E,limit:D,pageNumber:N,keyword:k,shortcut:v,isPrivate:h}=q,C={'team_id':R,'category_id':E,'limit':D,'page_number':N,'keyword':k,'shortcut':v,'is_private':h??!0x1};return this[c(0xae)+c(0xa8)+c(0xb0)][c(0xd5)](M+(c(0xc1)+c(0xb1)+c(0x96)+c(0xd8)),{'params':C});}[x(0xc7)+x(0xd7)+x(0x94)+'y'](q){const O=x;return this[O(0xae)+O(0xa8)+O(0xb0)][O(0x95)](M+(O(0xc1)+O(0xb1)+O(0x96)+O(0xd8)),q);}[x(0xc3)+x(0xd7)+x(0x94)+'y'](q,d){const g=x;return this[g(0xae)+g(0xa8)+g(0xb0)][g(0xc3)+'e'](M+(g(0xc1)+g(0xb1)+g(0x96)+g(0xd8)+g(0xaa)+'d=')+q+(g(0x99)+g(0x8c))+d);}[x(0xdd)+x(0xd7)+x(0x94)+'y'](q,d,R,E){const U=x;return this[U(0xae)+U(0xa8)+U(0xb0)][U(0xd0)](M+(U(0xc1)+U(0xb1)+U(0x96)+U(0xd8)+U(0xaa)+'d=')+q+(U(0xa4)+U(0xdb)+U(0xe2))+d+(U(0x99)+U(0x8c))+E,R);}}
|
package/src/utils.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
'use strict';const
|
|
1
|
+
'use strict';const N=B;(function(M,w){const R=B,L=M();while(!![]){try{const q=parseInt(R(0x10b))/0x1+parseInt(R(0x113))/0x2*(-parseInt(R(0x117))/0x3)+-parseInt(R(0x112))/0x4+-parseInt(R(0x111))/0x5+parseInt(R(0x11b))/0x6+-parseInt(R(0x11a))/0x7+parseInt(R(0x116))/0x8;if(q===w)break;else L['push'](L['shift']());}catch(d){L['push'](L['shift']());}}}(f,0xc0ef2));function f(){const k=['.uplo','scale','23816664RVwZqT','29802mzUlwK','i.pis','https','2347338gHrQxE','1261620oFfFib','rejec','.api.','pisca','://','cale.','1561660WgpTPN','://ap','le.co','.com/','com','ad.pi','4011555ZZzKBN','5840608PUaroq','274CKQQtA'];f=function(){return k;};return f();}function B(M,w){const L=f();return B=function(q,d){q=q-0x108;let R=L[q];return R;},B(M,w);}export const generateBaseUrl=M=>{const E=B;let w='';return w=E(0x119)+E(0x109)+M+(E(0x11d)+E(0x108)+E(0x10d)+'m/'),w;},generateBaseUploadUrl=M=>{const D=B;let w='';return w=D(0x119)+D(0x109)+M+(D(0x114)+D(0x110)+D(0x115)+D(0x10e)),w;},generateGuestUrl=()=>{const r=B;let M='';return M=r(0x119)+r(0x10c)+r(0x118)+r(0x10a)+r(0x10f),M;},errorLogger=async M=>Promise[N(0x11c)+'t'](M),requestLogger=M=>M,responseLogger=M=>M;
|