mezon-js 2.12.50 → 2.12.52

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
@@ -172,6 +172,10 @@ export interface MezonUpdateClanDescBody {
172
172
  welcome_channel_id?: string;
173
173
  //Onboarding_banner.
174
174
  onboarding_banner?: string;
175
+ // is community.
176
+ is_community?: boolean;
177
+ // community banner
178
+ community_banner?: string;
175
179
  }
176
180
 
177
181
  /** */
@@ -932,6 +936,10 @@ export interface ApiClanDesc {
932
936
  welcome_channel_id?: string;
933
937
  //Onboarding_banner.
934
938
  onboarding_banner?: string;
939
+ // is community.
940
+ is_community?: boolean;
941
+ // community banner
942
+ community_banner?: string;
935
943
  }
936
944
 
937
945
  /** */
package/client.ts CHANGED
@@ -503,19 +503,6 @@ export interface ApiLeaveChannelRequest {
503
503
  channel_id: string;
504
504
  }
505
505
 
506
- /** Update Clan information */
507
- export interface ApiUpdateClanDescRequest {
508
- clan_id: string;
509
- /** Clan creator */
510
- creator_id: string;
511
- /** Clan name */
512
- clan_name: string;
513
- /** Clan logo */
514
- logo: string;
515
- /** Clan banner */
516
- banner: string;
517
- }
518
-
519
506
  /** Update Clan profile information */
520
507
  export interface ApiUpdateClanDescProfileRequest {
521
508
  /** Clan id */
package/dist/api.gen.d.ts CHANGED
@@ -99,6 +99,8 @@ export interface MezonUpdateClanDescBody {
99
99
  is_onboarding?: boolean;
100
100
  welcome_channel_id?: string;
101
101
  onboarding_banner?: string;
102
+ is_community?: boolean;
103
+ community_banner?: string;
102
104
  }
103
105
  /** */
104
106
  export interface MezonUpdateClanDescProfileBody {
@@ -528,6 +530,8 @@ export interface ApiClanDesc {
528
530
  is_onboarding?: boolean;
529
531
  welcome_channel_id?: string;
530
532
  onboarding_banner?: string;
533
+ is_community?: boolean;
534
+ community_banner?: string;
531
535
  }
532
536
  /** */
533
537
  export interface ApiClanDescList {
package/dist/client.d.ts CHANGED
@@ -286,18 +286,6 @@ export interface ApiLeaveChannelRequest {
286
286
  /** The channel ID to leave. */
287
287
  channel_id: string;
288
288
  }
289
- /** Update Clan information */
290
- export interface ApiUpdateClanDescRequest {
291
- clan_id: string;
292
- /** Clan creator */
293
- creator_id: string;
294
- /** Clan name */
295
- clan_name: string;
296
- /** Clan logo */
297
- logo: string;
298
- /** Clan banner */
299
- banner: string;
300
- }
301
289
  /** Update Clan profile information */
302
290
  export interface ApiUpdateClanDescProfileRequest {
303
291
  /** Clan id */
package/dist/socket.d.ts CHANGED
@@ -398,6 +398,8 @@ export interface ChannelUpdatedEvent {
398
398
  is_active_thread: boolean;
399
399
  active: number;
400
400
  count_mess_unread: number;
401
+ role_ids?: Array<string>;
402
+ user_ids?: Array<string>;
401
403
  }
402
404
  export interface DeleteAccountEvent {
403
405
  user_id: string;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "mezon-js",
3
- "version": "2.12.50",
3
+ "version": "2.12.52",
4
4
  "scripts": {
5
5
  "build": "npx tsc && npx rollup -c --bundleConfigAsCjs && node build.mjs"
6
6
  },
package/socket.ts CHANGED
@@ -624,6 +624,10 @@ export interface ChannelUpdatedEvent {
624
624
  active: number;
625
625
  //
626
626
  count_mess_unread: number;
627
+ //
628
+ role_ids?: Array<string>;
629
+ //The users to add.
630
+ user_ids?: Array<string>;
627
631
  }
628
632
 
629
633
  export interface DeleteAccountEvent {