mezon-js 2.9.10 → 2.9.12

Sign up to get free protection for your applications and to get access to all the features.
package/api.gen.ts CHANGED
@@ -3472,8 +3472,8 @@ export class MezonApi {
3472
3472
  clanId:string,
3473
3473
  channelId:string,
3474
3474
  messageId?:string,
3475
- limit?:number,
3476
3475
  direction?:number,
3476
+ limit?:number,
3477
3477
  options: any = {}): Promise<ApiChannelMessageList> {
3478
3478
 
3479
3479
  if (channelId === null || channelId === undefined) {
package/dist/api.gen.d.ts CHANGED
@@ -1152,7 +1152,7 @@ export declare class MezonApi {
1152
1152
  /** List channel apps. */
1153
1153
  listChannelApps(bearerToken: string, clanId?: string, options?: any): Promise<ApiListChannelAppsResponse>;
1154
1154
  /** List a channel's message history. */
1155
- listChannelMessages(bearerToken: string, clanId: string, channelId: string, messageId?: string, limit?: number, direction?: number, options?: any): Promise<ApiChannelMessageList>;
1155
+ listChannelMessages(bearerToken: string, clanId: string, channelId: string, messageId?: string, direction?: number, limit?: number, options?: any): Promise<ApiChannelMessageList>;
1156
1156
  /** Add users to a channel. */
1157
1157
  addChannelUsers(bearerToken: string, channelId: string, userIds?: Array<string>, options?: any): Promise<any>;
1158
1158
  /** List all attachment that are part of a channel. */
@@ -1973,7 +1973,7 @@ var MezonApi = class {
1973
1973
  ]);
1974
1974
  }
1975
1975
  /** List a channel's message history. */
1976
- listChannelMessages(bearerToken, clanId, channelId, messageId, limit, direction, options = {}) {
1976
+ listChannelMessages(bearerToken, clanId, channelId, messageId, direction, limit, options = {}) {
1977
1977
  if (channelId === null || channelId === void 0) {
1978
1978
  throw new Error("'channelId' is a required parameter but is null or undefined.");
1979
1979
  }
@@ -1944,7 +1944,7 @@ var MezonApi = class {
1944
1944
  ]);
1945
1945
  }
1946
1946
  /** List a channel's message history. */
1947
- listChannelMessages(bearerToken, clanId, channelId, messageId, limit, direction, options = {}) {
1947
+ listChannelMessages(bearerToken, clanId, channelId, messageId, direction, limit, options = {}) {
1948
1948
  if (channelId === null || channelId === void 0) {
1949
1949
  throw new Error("'channelId' is a required parameter but is null or undefined.");
1950
1950
  }
package/dist/socket.d.ts CHANGED
@@ -475,6 +475,9 @@ export interface EventEmoji {
475
475
  source: string;
476
476
  category: string;
477
477
  action: number;
478
+ user_id: string;
479
+ logo: string;
480
+ clan_name: string;
478
481
  }
479
482
  export interface UserPermissionInChannelListEvent {
480
483
  clan_id: string;
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "mezon-js",
3
3
 
4
- "version": "2.9.10",
4
+ "version": "2.9.12",
5
5
 
6
6
  "scripts": {
7
7
  "build": "npx tsc && npx rollup -c --bundleConfigAsCjs && node build.mjs"
package/socket.ts CHANGED
@@ -687,6 +687,9 @@ export interface EventEmoji {
687
687
  source: string
688
688
  category: string
689
689
  action: number
690
+ user_id: string
691
+ logo: string
692
+ clan_name: string
690
693
  }
691
694
 
692
695
  export interface UserPermissionInChannelListEvent {