@communi/chat-api-client-typescript 2.6.4 → 2.6.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/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 +12 -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 +9 -1
- package/src/search/types.js +1 -1
- package/src/session/index.js +1 -1
- package/src/session/session.d.ts +25 -1
- package/src/session/session.js +1 -1
- package/src/session/types.d.ts +29 -0
- 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 +6 -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/upload/types.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
'use strict';const
|
|
1
|
+
'use strict';const w=g;function h(){const A=['path','size','heigh','1207002ewIdBS','7575134XeKudh','4ApaefC','63981cKddKn','11625072znnCDG','durat','17082604hnnHmj','ion','name','610XDivaA','width','96571BdbaUf','22bGhTVy','bucke','5uftffE','1894323UVAuPQ'];h=function(){return A;};return h();}function g(k,P){const O=h();return g=function(S,m){S=S-0xfb;let t=O[S];return t;},g(k,P);}(function(k,P){const t=g,O=k();while(!![]){try{const S=parseInt(t(0xfd))/0x1*(-parseInt(t(0xfe))/0x2)+-parseInt(t(0x101))/0x3*(-parseInt(t(0x107))/0x4)+parseInt(t(0x100))/0x5*(-parseInt(t(0x105))/0x6)+parseInt(t(0x106))/0x7+parseInt(t(0x109))/0x8+-parseInt(t(0x108))/0x9*(-parseInt(t(0xfb))/0xa)+-parseInt(t(0x10b))/0xb;if(S===P)break;else O['push'](O['shift']());}catch(m){O['push'](O['shift']());}}}(h,0xbf666));export const mapUploadDataDtoToCreateMessageBodyMetadataRequestDto=(k,P)=>({'id':k['id'],'name':k[w(0x10d)],'path':k[w(0x102)],'bucket':k[w(0xff)+'t'],'size':k[w(0x103)],'width':k[w(0xfc)],'height':k[w(0x104)+'t'],'duration':k[w(0x10a)+w(0x10c)],'type':P});
|
package/src/upload/upload.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
'use strict';var
|
|
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});}}
|
package/src/user/index.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
'use strict';
|
|
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();}
|
package/src/user/types.d.ts
CHANGED
package/src/user/types.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
'use strict';
|
|
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={})));
|
package/src/user/user.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
'use strict';const
|
|
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});}}
|
package/src/utils.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
'use strict';
|
|
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;
|