mezon-js 2.8.29 → 2.8.31

Sign up to get free protection for your applications and to get access to all the features.
package/dist/socket.d.ts CHANGED
@@ -442,6 +442,7 @@ interface StatusUpdate {
442
442
  }
443
443
  export interface ClanNameExistedEvent {
444
444
  clan_name: string;
445
+ exist: boolean;
445
446
  }
446
447
  /** */
447
448
  export interface StrickerListedEvent {
@@ -502,26 +503,32 @@ export interface HashtagDm {
502
503
  parrent_id?: string;
503
504
  }
504
505
  export interface NotificationChannelSettingEvent {
505
- active?: number;
506
- id?: string;
507
- notification_setting_type?: number;
508
- time_mute?: string;
509
506
  channel_id?: string;
507
+ notification_user_channel?: NotificationUserChannel;
510
508
  }
511
- export interface NotificationCategorySettingEvent {
509
+ export interface NotificationUserChannel {
512
510
  active?: number;
513
511
  id?: string;
514
512
  notification_setting_type?: number;
515
513
  time_mute?: string;
514
+ }
515
+ export interface NotificationCategorySettingEvent {
516
516
  category_id?: string;
517
+ notification_user_channel?: NotificationUserChannel;
517
518
  }
518
519
  export interface NotificationClanSettingEvent {
520
+ clan_id?: string;
521
+ notification_setting?: NotificationSetting;
522
+ }
523
+ export interface NotificationSetting {
519
524
  id?: string;
520
525
  notification_setting_type?: number;
521
- clan_id?: string;
522
526
  }
523
527
  export interface NotifiReactMessageEvent {
524
528
  channel_id?: string;
529
+ notifi_react_message?: NotifiReactMessage;
530
+ }
531
+ export interface NotifiReactMessage {
525
532
  id?: string;
526
533
  user_id?: string;
527
534
  channel_id_req?: string;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "mezon-js",
3
- "version": "2.8.29",
3
+ "version": "2.8.31",
4
4
  "scripts": {
5
5
  "build": "npx tsc && npx rollup -c --bundleConfigAsCjs && node build.mjs"
6
6
  },
package/socket.ts CHANGED
@@ -624,6 +624,7 @@ interface StatusUpdate {
624
624
  }
625
625
  export interface ClanNameExistedEvent {
626
626
  clan_name: string;
627
+ exist: boolean;
627
628
  }
628
629
 
629
630
 
@@ -732,19 +733,13 @@ export interface HashtagDm {
732
733
  }
733
734
 
734
735
  export interface NotificationChannelSettingEvent {
735
- //
736
- active?: number;
737
- //
738
- id?: string;
739
- //
740
- notification_setting_type?: number;
741
- //
742
- time_mute?: string;
743
736
  // The channel id.
744
737
  channel_id?: string;
738
+ //
739
+ notification_user_channel?: NotificationUserChannel;
745
740
  }
746
741
 
747
- export interface NotificationCategorySettingEvent {
742
+ export interface NotificationUserChannel {
748
743
  //
749
744
  active?: number;
750
745
  //
@@ -753,22 +748,37 @@ export interface NotificationCategorySettingEvent {
753
748
  notification_setting_type?: number;
754
749
  //
755
750
  time_mute?: string;
751
+ }
752
+
753
+ export interface NotificationCategorySettingEvent {
756
754
  //
757
755
  category_id?: string;
756
+ //
757
+ notification_user_channel?: NotificationUserChannel;
758
758
  }
759
759
 
760
760
  export interface NotificationClanSettingEvent {
761
+ // The clan of this channel
762
+ clan_id?: string;
763
+ //
764
+ notification_setting?: NotificationSetting;
765
+ }
766
+
767
+ export interface NotificationSetting {
761
768
  //
762
769
  id?: string;
763
770
  //
764
771
  notification_setting_type?: number;
765
- // The clan of this channel
766
- clan_id?: string;
767
772
  }
768
773
 
769
774
  export interface NotifiReactMessageEvent {
770
775
  //
771
776
  channel_id?: string;
777
+ //
778
+ notifi_react_message?: NotifiReactMessage;
779
+ }
780
+
781
+ export interface NotifiReactMessage {
772
782
  //
773
783
  id?: string;
774
784
  //