mezon-js 2.10.89 → 2.10.90

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/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
@@ -370,7 +370,11 @@ export interface ClanDeletedEvent {
370
370
  export interface ClanUpdatedEvent {
371
371
  clan_id: string;
372
372
  clan_name: string;
373
- clan_logo: string;
373
+ logo: string;
374
+ banner: string;
375
+ status: number;
376
+ is_onboarding: boolean;
377
+ welcome_channel_id: string;
374
378
  }
375
379
  export interface ClanProfileUpdatedEvent {
376
380
  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.90",
5
5
 
6
6
  "scripts": {
7
7
  "build": "npx tsc && npx rollup -c --bundleConfigAsCjs && node build.mjs"
package/socket.ts CHANGED
@@ -560,12 +560,20 @@ export interface ClanDeletedEvent {
560
560
 
561
561
  // clan updated event
562
562
  export interface ClanUpdatedEvent {
563
- // the clan id
563
+ // clan id
564
564
  clan_id: string;
565
- // the clan name
565
+ // clan name
566
566
  clan_name: string;
567
- // the clan logo
568
- clan_logo: string;
567
+ // logo
568
+ logo: string;
569
+ // banner
570
+ banner: string;
571
+ // status
572
+ status: number;
573
+ // is onboarding
574
+ is_onboarding: boolean;
575
+ // welcome channel id
576
+ welcome_channel_id: string;
569
577
  }
570
578
 
571
579
  export interface ClanProfileUpdatedEvent {