mezon-js 2.10.89 → 2.10.91

Sign up to get free protection for your applications and to get access to all the features.
package/api.gen.ts CHANGED
@@ -154,8 +154,10 @@ export interface MezonUpdateClanDescBody {
154
154
  logo?: string;
155
155
  //
156
156
  status?: number;
157
- // Is onboarding.
157
+ // is onboarding.
158
158
  is_onboarding?: boolean;
159
+ // welcome channel id.
160
+ welcome_channel_id?: string;
159
161
  }
160
162
 
161
163
  /** */
@@ -943,8 +945,10 @@ export interface ApiClanDesc {
943
945
  status?: number;
944
946
  //
945
947
  badge_count?: number;
946
- // Is onboarding.
948
+ // is onboarding.
947
949
  is_onboarding?: boolean;
950
+ // welcome channel id.
951
+ welcome_channel_id?: string;
948
952
  }
949
953
 
950
954
  /** */
package/dist/api.gen.d.ts CHANGED
@@ -91,6 +91,7 @@ export interface MezonUpdateClanDescBody {
91
91
  logo?: string;
92
92
  status?: number;
93
93
  is_onboarding?: boolean;
94
+ welcome_channel_id?: string;
94
95
  }
95
96
  /** */
96
97
  export interface MezonUpdateClanDescProfileBody {
@@ -540,6 +541,7 @@ export interface ApiClanDesc {
540
541
  status?: number;
541
542
  badge_count?: number;
542
543
  is_onboarding?: boolean;
544
+ welcome_channel_id?: string;
543
545
  }
544
546
  /** */
545
547
  export interface ApiClanDescList {
package/dist/socket.d.ts CHANGED
@@ -319,6 +319,7 @@ export interface ChannelUpdatedEvent {
319
319
  channel_type: number;
320
320
  status: number;
321
321
  meeting_code: string;
322
+ channel_private: number;
322
323
  is_error: boolean;
323
324
  app_url: string;
324
325
  e2ee: number;
@@ -370,7 +371,11 @@ export interface ClanDeletedEvent {
370
371
  export interface ClanUpdatedEvent {
371
372
  clan_id: string;
372
373
  clan_name: string;
373
- clan_logo: string;
374
+ logo: string;
375
+ banner: string;
376
+ status: number;
377
+ is_onboarding: boolean;
378
+ welcome_channel_id: string;
374
379
  }
375
380
  export interface ClanProfileUpdatedEvent {
376
381
  user_id: string;
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "mezon-js",
3
3
 
4
- "version": "2.10.89",
4
+ "version": "2.10.91",
5
5
 
6
6
  "scripts": {
7
7
  "build": "npx tsc && npx rollup -c --bundleConfigAsCjs && node build.mjs"
package/socket.ts CHANGED
@@ -468,6 +468,8 @@ export interface ChannelUpdatedEvent {
468
468
  status: number;
469
469
  // meeting code
470
470
  meeting_code: string;
471
+ // channel private
472
+ channel_private: number;
471
473
  // is error
472
474
  is_error: boolean;
473
475
  // app url
@@ -560,12 +562,20 @@ export interface ClanDeletedEvent {
560
562
 
561
563
  // clan updated event
562
564
  export interface ClanUpdatedEvent {
563
- // the clan id
565
+ // clan id
564
566
  clan_id: string;
565
- // the clan name
567
+ // clan name
566
568
  clan_name: string;
567
- // the clan logo
568
- clan_logo: string;
569
+ // logo
570
+ logo: string;
571
+ // banner
572
+ banner: string;
573
+ // status
574
+ status: number;
575
+ // is onboarding
576
+ is_onboarding: boolean;
577
+ // welcome channel id
578
+ welcome_channel_id: string;
569
579
  }
570
580
 
571
581
  export interface ClanProfileUpdatedEvent {