mezon-js 2.9.9 → 2.9.10

Sign up to get free protection for your applications and to get access to all the features.
package/api.gen.ts CHANGED
@@ -3469,8 +3469,8 @@ export class MezonApi {
3469
3469
 
3470
3470
  /** List a channel's message history. */
3471
3471
  listChannelMessages(bearerToken: string,
3472
+ clanId:string,
3472
3473
  channelId:string,
3473
- clanId?:string,
3474
3474
  messageId?:string,
3475
3475
  limit?:number,
3476
3476
  direction?:number,
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, channelId: string, clanId?: string, messageId?: string, limit?: number, direction?: number, options?: any): Promise<ApiChannelMessageList>;
1155
+ listChannelMessages(bearerToken: string, clanId: string, channelId: string, messageId?: string, limit?: number, direction?: 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, channelId, clanId, messageId, limit, direction, options = {}) {
1976
+ listChannelMessages(bearerToken, clanId, channelId, messageId, limit, direction, 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, channelId, clanId, messageId, limit, direction, options = {}) {
1947
+ listChannelMessages(bearerToken, clanId, channelId, messageId, limit, direction, 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/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "mezon-js",
3
3
 
4
- "version": "2.9.9",
4
+ "version": "2.9.10",
5
5
 
6
6
  "scripts": {
7
7
  "build": "npx tsc && npx rollup -c --bundleConfigAsCjs && node build.mjs"