@communi/chat-api-client-typescript 2.6.3 → 2.6.5
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/LICENSE +20 -20
- package/README.md +3 -3
- 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/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.d.ts +3 -1
- package/src/search/search.js +1 -1
- package/src/search/types.d.ts +10 -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/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/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 +3 -1
- package/src/user/types.js +1 -1
- package/src/user/user.js +1 -1
- package/src/utils.js +1 -1
package/src/user/index.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
'use strict';function
|
|
1
|
+
'use strict';(function(k,g){var v=V,e=k();while(!![]){try{var O=parseInt(v(0x102))/0x1+parseInt(v(0x100))/0x2+-parseInt(v(0x103))/0x3*(-parseInt(v(0xff))/0x4)+-parseInt(v(0xfa))/0x5*(parseInt(v(0xfb))/0x6)+parseInt(v(0x104))/0x7*(-parseInt(v(0xfe))/0x8)+-parseInt(v(0xfd))/0x9*(parseInt(v(0xf9))/0xa)+-parseInt(v(0xfc))/0xb*(parseInt(v(0x101))/0xc);if(O===g)break;else e['push'](e['shift']());}catch(l){e['push'](e['shift']());}}}(d,0x29f93));function V(k,g){var e=d();return V=function(O,l){O=O-0xf9;var v=e[O];return v;},V(k,g);}export*from'./user';function d(){var B=['27WognlB','16EbBaxh','4tirlgx','490996PDTZgH','708ktjYlv','314702LislgO','782466McDLqV','1103312NtoVCb','471290jBrPVM','5xYdxTC','245100PVGGol','28270mXMITc'];d=function(){return B;};return d();}export*from'./types';
|
package/src/user/types.d.ts
CHANGED
package/src/user/types.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
'use strict';function
|
|
1
|
+
'use strict';function V(k,g){var e=d();return V=function(O,l){O=O-0xb9;var v=e[O];return v;},V(k,g);}(function(k,g){var v=V,e=k();while(!![]){try{var O=parseInt(v(0xc1))/0x1*(parseInt(v(0xbf))/0x2)+parseInt(v(0xc0))/0x3+parseInt(v(0xc9))/0x4+parseInt(v(0xb9))/0x5*(-parseInt(v(0xca))/0x6)+parseInt(v(0xcd))/0x7*(-parseInt(v(0xd0))/0x8)+parseInt(v(0xcf))/0x9+parseInt(v(0xbe))/0xa*(-parseInt(v(0xc4))/0xb);if(O===g)break;else e['push'](e['shift']());}catch(l){e['push'](e['shift']());}}}(d,0x390a7));export var PSUserType;(function(k){var B=V;k[k[B(0xce)]=0x1]=B(0xce),k[k[B(0xc5)]=0x2]=B(0xc5),k[k[B(0xc6)+B(0xbc)]=0x5]=B(0xc6)+B(0xbc),k[k[B(0xba)]=0x6]=B(0xba);}(PSUserType||(PSUserType={})));export var PSUserStatus;function d(){var E=['708864iCMpCb','1434bzKtuG','AVAIL','DEACT','1185849ZLTkAG','USER','1407447CNOLiI','8ROwLob','3745LdEqFf','GUEST','MUTED','ENT','ABLE','47030drqOGn','1016ZCOecH','1079256EGeCkx','466mhmrKy','ACTIV','IVATE','814YNIZEb','BOT','CS_AG','ILABL','UNAVA'];d=function(){return E;};return d();}(function(k){var Z=V;k[k[Z(0xcc)+Z(0xc3)+'D']=0x2]=Z(0xcc)+Z(0xc3)+'D';}(PSUserStatus||(PSUserStatus={})));export var MEMBER_STATUS;(function(k){var i=V;k[k[i(0xc2)+'E']=0x1]=i(0xc2)+'E',k[k[i(0xbb)]=0x2]=i(0xbb);}(MEMBER_STATUS||(MEMBER_STATUS={})));export var USER_STATE;(function(k){var L=V;k[k[L(0xcb)+L(0xbd)]=0x1]=L(0xcb)+L(0xbd),k[k[L(0xc8)+L(0xc7)+'E']=0x2]=L(0xc8)+L(0xc7)+'E';}(USER_STATE||(USER_STATE={})));
|
package/src/user/user.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
'use strict';
|
|
1
|
+
'use strict';const L=V;(function(O,l){const i=V,v=O();while(!![]){try{const B=-parseInt(i(0x115))/0x1*(-parseInt(i(0x12c))/0x2)+parseInt(i(0x11f))/0x3+parseInt(i(0x10c))/0x4*(parseInt(i(0x128))/0x5)+parseInt(i(0x117))/0x6*(parseInt(i(0x10e))/0x7)+parseInt(i(0x11c))/0x8+parseInt(i(0x135))/0x9*(-parseInt(i(0x130))/0xa)+-parseInt(i(0x121))/0xb;if(B===l)break;else v['push'](v['shift']());}catch(Z){v['push'](v['shift']());}}}(d,0xa5561));function V(k,g){const e=d();return V=function(O,l){O=O-0x10b;let v=e[O];return v;},V(k,g);}import{PS_CHAT_API_VERSION as k,PS_DESK_API_VERSION as g,PS_USER_API_VERSION as e}from'../api-version';export const PS_FETCH_USER_BY_IDS_MAX=0xa;function d(){const S=['_ids=','805UYZetk','UserB','ate','fetch','207098pGEteL','t-pin','Onlin','Users','10VllBgl','State','ser_i','mqttP','ing','909801MkXdys','s/onl','33608Nthuxl','yId','8592878ImpsOL','Deleg','get','r?ext','join','yIds','eStat','9OxkoRQ','ine?u','6hRHcYB','_user','axios','ping','put','2823408oYdNGa','s/me-','post','138576bXsIro','updat','34463319zZfzEX','/user','/puse','s/mqt','/asta','ds='];d=function(){return S;};return d();}export class PSChatUserApiImpl{[L(0x119)+L(0x10f)+L(0x12a)];constructor(O){const E=L;this[E(0x119)+E(0x10f)+E(0x12a)]=O;}[L(0x11a)](){const q=L;return this[q(0x119)+q(0x10f)+q(0x12a)][q(0x11e)](k+(q(0x122)+q(0x11d)+q(0x11a)));}[L(0x12b)+L(0x12f)+L(0x12e)+'e'](O){const h=L;return this[h(0x119)+h(0x10f)+h(0x12a)][h(0x110)](k+(h(0x122)+h(0x10b)+h(0x116)+h(0x132)+h(0x126))+O[h(0x112)](','));}[L(0x12b)+L(0x129)+L(0x10d)](O,l){const N=L;return this[N(0x119)+N(0x10f)+N(0x12a)][N(0x110)](e+(N(0x123)+'r/')+O,{'params':{'more_fields':l}});}[L(0x12b)+L(0x129)+L(0x113)](O){const z=L;return this[z(0x119)+z(0x10f)+z(0x12a)][z(0x110)](e+(z(0x123)+z(0x111)+z(0x118)+z(0x127))+O[z(0x112)](','));}[L(0x133)+L(0x134)](O){const K=L;return this[K(0x119)+K(0x10f)+K(0x12a)][K(0x11e)](k+(K(0x122)+K(0x124)+K(0x12d)+'g'),null,{'headers':{'X-Piscale-Request-Id':O}});}[L(0x12b)+L(0x131)](){const U=L;return this[U(0x119)+U(0x10f)+U(0x12a)][U(0x110)](g+(U(0x125)+'te'));}[L(0x120)+L(0x114)+'e'](O){const J=L;return this[J(0x119)+J(0x10f)+J(0x12a)][J(0x11b)](g+(J(0x125)+'te'),{'state':O});}}
|
package/src/utils.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
'use strict';const
|
|
1
|
+
'use strict';const L=V;function V(k,g){const e=d();return V=function(O,l){O=O-0xc8;let v=e[O];return v;},V(k,g);}function d(){const E=['ad.pi','.com/','rejec','://','https','scale','cale.','.uplo','25080SVKubA','729123PdqcHM','i.pis','704205vBAiVV','187902iwBPut','pisca','233572UMntwK','703218GNvCRm','7zsZHFW','2075192LaXFVa','com','.api.','://ap','le.co'];d=function(){return E;};return d();}(function(k,g){const v=V,e=k();while(!![]){try{const O=parseInt(v(0xd8))/0x1+-parseInt(v(0xd6))/0x2+-parseInt(v(0xd3))/0x3+parseInt(v(0xd2))/0x4+-parseInt(v(0xd5))/0x5+parseInt(v(0xd9))/0x6*(parseInt(v(0xda))/0x7)+parseInt(v(0xdb))/0x8;if(O===g)break;else e['push'](e['shift']());}catch(l){e['push'](e['shift']());}}}(d,0x21d73));export const generateBaseUrl=k=>{const B=V;let g='';return g=B(0xce)+B(0xcd)+k+(B(0xdd)+B(0xd7)+B(0xc9)+'m/'),g;},generateBaseUploadUrl=k=>{const Z=V;let g='';return g=Z(0xce)+Z(0xcd)+k+(Z(0xd1)+Z(0xca)+Z(0xcf)+Z(0xcb)),g;},generateGuestUrl=()=>{const i=V;let k='';return k=i(0xce)+i(0xc8)+i(0xd4)+i(0xd0)+i(0xdc),k;},errorLogger=async k=>Promise[L(0xcc)+'t'](k),requestLogger=k=>k,responseLogger=k=>k;
|