mezon-js 2.9.21 → 2.9.22

Sign up to get free protection for your applications and to get access to all the features.
package/api.gen.ts CHANGED
@@ -105,6 +105,8 @@ export enum ApiAppRole {
105
105
 
106
106
  /** Update fields in a given channel. */
107
107
  export interface MezonUpdateChannelDescBody {
108
+ //
109
+ app_url?: string;
108
110
  //
109
111
  category_id?: string;
110
112
  //
@@ -543,6 +545,8 @@ export interface ApiChannelDescription {
543
545
  //
544
546
  active?: number;
545
547
  //
548
+ app_url?: string;
549
+ //
546
550
  category_id?: string;
547
551
  //
548
552
  category_name?: string;
package/client.ts CHANGED
@@ -401,6 +401,8 @@ export interface ApiUpdateChannelDescRequest {
401
401
  channel_label: string | undefined;
402
402
  /** The category of channel */
403
403
  category_id: string | undefined;
404
+ /** The app url of channel */
405
+ app_url: string | undefined;
404
406
  }
405
407
 
406
408
  /** Add users to a channel. */
package/dist/api.gen.d.ts CHANGED
@@ -63,6 +63,7 @@ export declare enum ApiAppRole {
63
63
  }
64
64
  /** Update fields in a given channel. */
65
65
  export interface MezonUpdateChannelDescBody {
66
+ app_url?: string;
66
67
  category_id?: string;
67
68
  channel_label?: string;
68
69
  }
@@ -320,6 +321,7 @@ export interface ApiChannelDescList {
320
321
  /** */
321
322
  export interface ApiChannelDescription {
322
323
  active?: number;
324
+ app_url?: string;
323
325
  category_id?: string;
324
326
  category_name?: string;
325
327
  channel_avatar?: Array<string>;
package/dist/client.d.ts CHANGED
@@ -241,6 +241,8 @@ export interface ApiUpdateChannelDescRequest {
241
241
  channel_label: string | undefined;
242
242
  /** The category of channel */
243
243
  category_id: string | undefined;
244
+ /** The app url of channel */
245
+ app_url: string | undefined;
244
246
  }
245
247
  /** Add users to a channel. */
246
248
  export interface ApiAddChannelUsersRequest {
package/dist/socket.d.ts CHANGED
@@ -293,6 +293,7 @@ export interface ChannelUpdatedEvent {
293
293
  status: number;
294
294
  meeting_code: string;
295
295
  is_error: boolean;
296
+ app_url: string;
296
297
  }
297
298
  export interface ChannelCreatedEvent {
298
299
  clan_id: string;
@@ -306,6 +307,7 @@ export interface ChannelCreatedEvent {
306
307
  status: number;
307
308
  parent_id: string;
308
309
  is_parent_public: boolean;
310
+ app_url: string;
309
311
  }
310
312
  export interface ChannelDeletedEvent {
311
313
  clan_id: string;
@@ -509,6 +511,7 @@ export interface ChannelDescription {
509
511
  channel_id?: string;
510
512
  type?: number;
511
513
  channel_label?: string;
514
+ app_url?: string;
512
515
  channel_private?: number;
513
516
  meeting_code?: string;
514
517
  clan_name?: string;
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "mezon-js",
3
3
 
4
- "version": "2.9.21",
4
+ "version": "2.9.22",
5
5
 
6
6
  "scripts": {
7
7
  "build": "npx tsc && npx rollup -c --bundleConfigAsCjs && node build.mjs"
package/socket.ts CHANGED
@@ -422,6 +422,8 @@ export interface ChannelUpdatedEvent {
422
422
  meeting_code: string;
423
423
  // is error
424
424
  is_error: boolean;
425
+ // app url
426
+ app_url: string;
425
427
  }
426
428
 
427
429
  export interface ChannelCreatedEvent {
@@ -447,6 +449,8 @@ export interface ChannelCreatedEvent {
447
449
  parent_id: string;
448
450
  // parent public
449
451
  is_parent_public: boolean;
452
+ // app url
453
+ app_url: string;
450
454
  }
451
455
 
452
456
  export interface ChannelDeletedEvent {
@@ -743,6 +747,8 @@ export interface ChannelDescription {
743
747
  type?: number;
744
748
  // The channel lable
745
749
  channel_label?: string;
750
+ // The app url
751
+ app_url?: string;
746
752
  // The channel private
747
753
  channel_private?: number;
748
754
  // meeting code