mezon-js-protobuf 1.4.70 → 1.4.71

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/api.ts CHANGED
@@ -543,6 +543,8 @@ export interface ChannelMessage {
543
543
  display_name: string;
544
544
  /** The clan nick name */
545
545
  clan_nick: string;
546
+ /** The clan avatar */
547
+ clan_avatar: string;
546
548
  /** Emoji reaction */
547
549
  reactions: string;
548
550
  /** Message mention */
@@ -575,6 +577,8 @@ export interface NotificationInfo {
575
577
  avatar: string;
576
578
  /** clan nick name */
577
579
  clan_nick: string;
580
+ /** clan avatar */
581
+ clan_avatar: string;
578
582
  /** display name */
579
583
  display_name: string;
580
584
  /** channel label */
@@ -946,6 +950,8 @@ export interface ChannelUserList_ChannelUser {
946
950
  thread_id: string;
947
951
  /** clan nick name */
948
952
  clan_nick: string;
953
+ /** clan avartar */
954
+ clan_avatar: string;
949
955
  }
950
956
 
951
957
  /** A list of users belonging to a channel, along with their role. */
@@ -5371,6 +5377,7 @@ function createBaseChannelMessage(): ChannelMessage {
5371
5377
  category_name: "",
5372
5378
  display_name: "",
5373
5379
  clan_nick: "",
5380
+ clan_avatar: "",
5374
5381
  reactions: "",
5375
5382
  mentions: "",
5376
5383
  attachments: "",
@@ -5426,20 +5433,23 @@ export const ChannelMessage = {
5426
5433
  if (message.clan_nick !== "") {
5427
5434
  writer.uint32(122).string(message.clan_nick);
5428
5435
  }
5436
+ if (message.clan_avatar !== "") {
5437
+ writer.uint32(130).string(message.clan_avatar);
5438
+ }
5429
5439
  if (message.reactions !== "") {
5430
- writer.uint32(130).string(message.reactions);
5440
+ writer.uint32(138).string(message.reactions);
5431
5441
  }
5432
5442
  if (message.mentions !== "") {
5433
- writer.uint32(138).string(message.mentions);
5443
+ writer.uint32(146).string(message.mentions);
5434
5444
  }
5435
5445
  if (message.attachments !== "") {
5436
- writer.uint32(146).string(message.attachments);
5446
+ writer.uint32(154).string(message.attachments);
5437
5447
  }
5438
5448
  if (message.references !== "") {
5439
- writer.uint32(154).string(message.references);
5449
+ writer.uint32(162).string(message.references);
5440
5450
  }
5441
5451
  if (message.referenced_message !== "") {
5442
- writer.uint32(162).string(message.referenced_message);
5452
+ writer.uint32(170).string(message.referenced_message);
5443
5453
  }
5444
5454
  return writer;
5445
5455
  },
@@ -5497,18 +5507,21 @@ export const ChannelMessage = {
5497
5507
  message.clan_nick = reader.string();
5498
5508
  break;
5499
5509
  case 16:
5500
- message.reactions = reader.string();
5510
+ message.clan_avatar = reader.string();
5501
5511
  break;
5502
5512
  case 17:
5503
- message.mentions = reader.string();
5513
+ message.reactions = reader.string();
5504
5514
  break;
5505
5515
  case 18:
5506
- message.attachments = reader.string();
5516
+ message.mentions = reader.string();
5507
5517
  break;
5508
5518
  case 19:
5509
- message.references = reader.string();
5519
+ message.attachments = reader.string();
5510
5520
  break;
5511
5521
  case 20:
5522
+ message.references = reader.string();
5523
+ break;
5524
+ case 21:
5512
5525
  message.referenced_message = reader.string();
5513
5526
  break;
5514
5527
  default:
@@ -5536,6 +5549,7 @@ export const ChannelMessage = {
5536
5549
  category_name: isSet(object.category_name) ? String(object.category_name) : "",
5537
5550
  display_name: isSet(object.display_name) ? String(object.display_name) : "",
5538
5551
  clan_nick: isSet(object.clan_nick) ? String(object.clan_nick) : "",
5552
+ clan_avatar: isSet(object.clan_avatar) ? String(object.clan_avatar) : "",
5539
5553
  reactions: isSet(object.reactions) ? String(object.reactions) : "",
5540
5554
  mentions: isSet(object.mentions) ? String(object.mentions) : "",
5541
5555
  attachments: isSet(object.attachments) ? String(object.attachments) : "",
@@ -5561,6 +5575,7 @@ export const ChannelMessage = {
5561
5575
  message.category_name !== undefined && (obj.category_name = message.category_name);
5562
5576
  message.display_name !== undefined && (obj.display_name = message.display_name);
5563
5577
  message.clan_nick !== undefined && (obj.clan_nick = message.clan_nick);
5578
+ message.clan_avatar !== undefined && (obj.clan_avatar = message.clan_avatar);
5564
5579
  message.reactions !== undefined && (obj.reactions = message.reactions);
5565
5580
  message.mentions !== undefined && (obj.mentions = message.mentions);
5566
5581
  message.attachments !== undefined && (obj.attachments = message.attachments);
@@ -5590,6 +5605,7 @@ export const ChannelMessage = {
5590
5605
  message.category_name = object.category_name ?? "";
5591
5606
  message.display_name = object.display_name ?? "";
5592
5607
  message.clan_nick = object.clan_nick ?? "";
5608
+ message.clan_avatar = object.clan_avatar ?? "";
5593
5609
  message.reactions = object.reactions ?? "";
5594
5610
  message.mentions = object.mentions ?? "";
5595
5611
  message.attachments = object.attachments ?? "";
@@ -5684,6 +5700,7 @@ function createBaseNotificationInfo(): NotificationInfo {
5684
5700
  username: "",
5685
5701
  avatar: "",
5686
5702
  clan_nick: "",
5703
+ clan_avatar: "",
5687
5704
  display_name: "",
5688
5705
  channel_label: "",
5689
5706
  channel_type: "",
@@ -5704,23 +5721,26 @@ export const NotificationInfo = {
5704
5721
  if (message.clan_nick !== "") {
5705
5722
  writer.uint32(26).string(message.clan_nick);
5706
5723
  }
5724
+ if (message.clan_avatar !== "") {
5725
+ writer.uint32(34).string(message.clan_avatar);
5726
+ }
5707
5727
  if (message.display_name !== "") {
5708
- writer.uint32(34).string(message.display_name);
5728
+ writer.uint32(42).string(message.display_name);
5709
5729
  }
5710
5730
  if (message.channel_label !== "") {
5711
- writer.uint32(42).string(message.channel_label);
5731
+ writer.uint32(50).string(message.channel_label);
5712
5732
  }
5713
5733
  if (message.channel_type !== "") {
5714
- writer.uint32(50).string(message.channel_type);
5734
+ writer.uint32(58).string(message.channel_type);
5715
5735
  }
5716
5736
  if (message.category_name !== "") {
5717
- writer.uint32(58).string(message.category_name);
5737
+ writer.uint32(66).string(message.category_name);
5718
5738
  }
5719
5739
  if (message.clan_name !== "") {
5720
- writer.uint32(66).string(message.clan_name);
5740
+ writer.uint32(74).string(message.clan_name);
5721
5741
  }
5722
5742
  if (message.clan_logo !== "") {
5723
- writer.uint32(74).string(message.clan_logo);
5743
+ writer.uint32(82).string(message.clan_logo);
5724
5744
  }
5725
5745
  return writer;
5726
5746
  },
@@ -5742,21 +5762,24 @@ export const NotificationInfo = {
5742
5762
  message.clan_nick = reader.string();
5743
5763
  break;
5744
5764
  case 4:
5745
- message.display_name = reader.string();
5765
+ message.clan_avatar = reader.string();
5746
5766
  break;
5747
5767
  case 5:
5748
- message.channel_label = reader.string();
5768
+ message.display_name = reader.string();
5749
5769
  break;
5750
5770
  case 6:
5751
- message.channel_type = reader.string();
5771
+ message.channel_label = reader.string();
5752
5772
  break;
5753
5773
  case 7:
5754
- message.category_name = reader.string();
5774
+ message.channel_type = reader.string();
5755
5775
  break;
5756
5776
  case 8:
5757
- message.clan_name = reader.string();
5777
+ message.category_name = reader.string();
5758
5778
  break;
5759
5779
  case 9:
5780
+ message.clan_name = reader.string();
5781
+ break;
5782
+ case 10:
5760
5783
  message.clan_logo = reader.string();
5761
5784
  break;
5762
5785
  default:
@@ -5772,6 +5795,7 @@ export const NotificationInfo = {
5772
5795
  username: isSet(object.username) ? String(object.username) : "",
5773
5796
  avatar: isSet(object.avatar) ? String(object.avatar) : "",
5774
5797
  clan_nick: isSet(object.clan_nick) ? String(object.clan_nick) : "",
5798
+ clan_avatar: isSet(object.clan_avatar) ? String(object.clan_avatar) : "",
5775
5799
  display_name: isSet(object.display_name) ? String(object.display_name) : "",
5776
5800
  channel_label: isSet(object.channel_label) ? String(object.channel_label) : "",
5777
5801
  channel_type: isSet(object.channel_type) ? String(object.channel_type) : "",
@@ -5786,6 +5810,7 @@ export const NotificationInfo = {
5786
5810
  message.username !== undefined && (obj.username = message.username);
5787
5811
  message.avatar !== undefined && (obj.avatar = message.avatar);
5788
5812
  message.clan_nick !== undefined && (obj.clan_nick = message.clan_nick);
5813
+ message.clan_avatar !== undefined && (obj.clan_avatar = message.clan_avatar);
5789
5814
  message.display_name !== undefined && (obj.display_name = message.display_name);
5790
5815
  message.channel_label !== undefined && (obj.channel_label = message.channel_label);
5791
5816
  message.channel_type !== undefined && (obj.channel_type = message.channel_type);
@@ -5804,6 +5829,7 @@ export const NotificationInfo = {
5804
5829
  message.username = object.username ?? "";
5805
5830
  message.avatar = object.avatar ?? "";
5806
5831
  message.clan_nick = object.clan_nick ?? "";
5832
+ message.clan_avatar = object.clan_avatar ?? "";
5807
5833
  message.display_name = object.display_name ?? "";
5808
5834
  message.channel_label = object.channel_label ?? "";
5809
5835
  message.channel_type = object.channel_type ?? "";
@@ -7527,7 +7553,7 @@ export const ChannelUserList = {
7527
7553
  };
7528
7554
 
7529
7555
  function createBaseChannelUserList_ChannelUser(): ChannelUserList_ChannelUser {
7530
- return { user: undefined, role_id: [], id: "", thread_id: "", clan_nick: "" };
7556
+ return { user: undefined, role_id: [], id: "", thread_id: "", clan_nick: "", clan_avatar: "" };
7531
7557
  }
7532
7558
 
7533
7559
  export const ChannelUserList_ChannelUser = {
@@ -7547,6 +7573,9 @@ export const ChannelUserList_ChannelUser = {
7547
7573
  if (message.clan_nick !== "") {
7548
7574
  writer.uint32(42).string(message.clan_nick);
7549
7575
  }
7576
+ if (message.clan_avatar !== "") {
7577
+ writer.uint32(50).string(message.clan_avatar);
7578
+ }
7550
7579
  return writer;
7551
7580
  },
7552
7581
 
@@ -7572,6 +7601,9 @@ export const ChannelUserList_ChannelUser = {
7572
7601
  case 5:
7573
7602
  message.clan_nick = reader.string();
7574
7603
  break;
7604
+ case 6:
7605
+ message.clan_avatar = reader.string();
7606
+ break;
7575
7607
  default:
7576
7608
  reader.skipType(tag & 7);
7577
7609
  break;
@@ -7587,6 +7619,7 @@ export const ChannelUserList_ChannelUser = {
7587
7619
  id: isSet(object.id) ? String(object.id) : "",
7588
7620
  thread_id: isSet(object.thread_id) ? String(object.thread_id) : "",
7589
7621
  clan_nick: isSet(object.clan_nick) ? String(object.clan_nick) : "",
7622
+ clan_avatar: isSet(object.clan_avatar) ? String(object.clan_avatar) : "",
7590
7623
  };
7591
7624
  },
7592
7625
 
@@ -7601,6 +7634,7 @@ export const ChannelUserList_ChannelUser = {
7601
7634
  message.id !== undefined && (obj.id = message.id);
7602
7635
  message.thread_id !== undefined && (obj.thread_id = message.thread_id);
7603
7636
  message.clan_nick !== undefined && (obj.clan_nick = message.clan_nick);
7637
+ message.clan_avatar !== undefined && (obj.clan_avatar = message.clan_avatar);
7604
7638
  return obj;
7605
7639
  },
7606
7640
 
@@ -7615,6 +7649,7 @@ export const ChannelUserList_ChannelUser = {
7615
7649
  message.id = object.id ?? "";
7616
7650
  message.thread_id = object.thread_id ?? "";
7617
7651
  message.clan_nick = object.clan_nick ?? "";
7652
+ message.clan_avatar = object.clan_avatar ?? "";
7618
7653
  return message;
7619
7654
  },
7620
7655
  };
@@ -367,6 +367,8 @@ export interface ChannelMessage {
367
367
  display_name: string;
368
368
  /** The clan nick name */
369
369
  clan_nick: string;
370
+ /** The clan avatar */
371
+ clan_avatar: string;
370
372
  /** Emoji reaction */
371
373
  reactions: string;
372
374
  /** Message mention */
@@ -397,6 +399,8 @@ export interface NotificationInfo {
397
399
  avatar: string;
398
400
  /** clan nick name */
399
401
  clan_nick: string;
402
+ /** clan avatar */
403
+ clan_avatar: string;
400
404
  /** display name */
401
405
  display_name: string;
402
406
  /** channel label */
@@ -661,6 +665,8 @@ export interface ChannelUserList_ChannelUser {
661
665
  thread_id: string;
662
666
  /** clan nick name */
663
667
  clan_nick: string;
668
+ /** clan avartar */
669
+ clan_avatar: string;
664
670
  }
665
671
  /** A list of users belonging to a channel, along with their role. */
666
672
  export interface VoiceChannelUser {
@@ -3538,6 +3544,7 @@ export declare const ChannelMessage: {
3538
3544
  category_name?: string | undefined;
3539
3545
  display_name?: string | undefined;
3540
3546
  clan_nick?: string | undefined;
3547
+ clan_avatar?: string | undefined;
3541
3548
  reactions?: string | undefined;
3542
3549
  mentions?: string | undefined;
3543
3550
  attachments?: string | undefined;
@@ -3559,6 +3566,7 @@ export declare const ChannelMessage: {
3559
3566
  category_name?: string | undefined;
3560
3567
  display_name?: string | undefined;
3561
3568
  clan_nick?: string | undefined;
3569
+ clan_avatar?: string | undefined;
3562
3570
  reactions?: string | undefined;
3563
3571
  mentions?: string | undefined;
3564
3572
  attachments?: string | undefined;
@@ -3581,6 +3589,7 @@ export declare const ChannelMessage: {
3581
3589
  category_name?: string | undefined;
3582
3590
  display_name?: string | undefined;
3583
3591
  clan_nick?: string | undefined;
3592
+ clan_avatar?: string | undefined;
3584
3593
  reactions?: string | undefined;
3585
3594
  mentions?: string | undefined;
3586
3595
  attachments?: string | undefined;
@@ -3602,6 +3611,7 @@ export declare const ChannelMessage: {
3602
3611
  category_name?: string | undefined;
3603
3612
  display_name?: string | undefined;
3604
3613
  clan_nick?: string | undefined;
3614
+ clan_avatar?: string | undefined;
3605
3615
  reactions?: string | undefined;
3606
3616
  mentions?: string | undefined;
3607
3617
  attachments?: string | undefined;
@@ -3646,6 +3656,7 @@ export declare const NotificationInfo: {
3646
3656
  username?: string | undefined;
3647
3657
  avatar?: string | undefined;
3648
3658
  clan_nick?: string | undefined;
3659
+ clan_avatar?: string | undefined;
3649
3660
  display_name?: string | undefined;
3650
3661
  channel_label?: string | undefined;
3651
3662
  channel_type?: string | undefined;
@@ -3656,6 +3667,7 @@ export declare const NotificationInfo: {
3656
3667
  username?: string | undefined;
3657
3668
  avatar?: string | undefined;
3658
3669
  clan_nick?: string | undefined;
3670
+ clan_avatar?: string | undefined;
3659
3671
  display_name?: string | undefined;
3660
3672
  channel_label?: string | undefined;
3661
3673
  channel_type?: string | undefined;
@@ -3667,6 +3679,7 @@ export declare const NotificationInfo: {
3667
3679
  username?: string | undefined;
3668
3680
  avatar?: string | undefined;
3669
3681
  clan_nick?: string | undefined;
3682
+ clan_avatar?: string | undefined;
3670
3683
  display_name?: string | undefined;
3671
3684
  channel_label?: string | undefined;
3672
3685
  channel_type?: string | undefined;
@@ -3677,6 +3690,7 @@ export declare const NotificationInfo: {
3677
3690
  username?: string | undefined;
3678
3691
  avatar?: string | undefined;
3679
3692
  clan_nick?: string | undefined;
3693
+ clan_avatar?: string | undefined;
3680
3694
  display_name?: string | undefined;
3681
3695
  channel_label?: string | undefined;
3682
3696
  channel_type?: string | undefined;
@@ -3835,6 +3849,7 @@ export declare const ChannelMessageList: {
3835
3849
  category_name?: string | undefined;
3836
3850
  display_name?: string | undefined;
3837
3851
  clan_nick?: string | undefined;
3852
+ clan_avatar?: string | undefined;
3838
3853
  reactions?: string | undefined;
3839
3854
  mentions?: string | undefined;
3840
3855
  attachments?: string | undefined;
@@ -3868,6 +3883,7 @@ export declare const ChannelMessageList: {
3868
3883
  category_name?: string | undefined;
3869
3884
  display_name?: string | undefined;
3870
3885
  clan_nick?: string | undefined;
3886
+ clan_avatar?: string | undefined;
3871
3887
  reactions?: string | undefined;
3872
3888
  mentions?: string | undefined;
3873
3889
  attachments?: string | undefined;
@@ -3889,6 +3905,7 @@ export declare const ChannelMessageList: {
3889
3905
  category_name?: string | undefined;
3890
3906
  display_name?: string | undefined;
3891
3907
  clan_nick?: string | undefined;
3908
+ clan_avatar?: string | undefined;
3892
3909
  reactions?: string | undefined;
3893
3910
  mentions?: string | undefined;
3894
3911
  attachments?: string | undefined;
@@ -3910,6 +3927,7 @@ export declare const ChannelMessageList: {
3910
3927
  category_name?: string | undefined;
3911
3928
  display_name?: string | undefined;
3912
3929
  clan_nick?: string | undefined;
3930
+ clan_avatar?: string | undefined;
3913
3931
  reactions?: string | undefined;
3914
3932
  mentions?: string | undefined;
3915
3933
  attachments?: string | undefined;
@@ -3931,6 +3949,7 @@ export declare const ChannelMessageList: {
3931
3949
  category_name?: string | undefined;
3932
3950
  display_name?: string | undefined;
3933
3951
  clan_nick?: string | undefined;
3952
+ clan_avatar?: string | undefined;
3934
3953
  reactions?: string | undefined;
3935
3954
  mentions?: string | undefined;
3936
3955
  attachments?: string | undefined;
@@ -3974,6 +3993,7 @@ export declare const ChannelMessageList: {
3974
3993
  category_name?: string | undefined;
3975
3994
  display_name?: string | undefined;
3976
3995
  clan_nick?: string | undefined;
3996
+ clan_avatar?: string | undefined;
3977
3997
  reactions?: string | undefined;
3978
3998
  mentions?: string | undefined;
3979
3999
  attachments?: string | undefined;
@@ -4007,6 +4027,7 @@ export declare const ChannelMessageList: {
4007
4027
  category_name?: string | undefined;
4008
4028
  display_name?: string | undefined;
4009
4029
  clan_nick?: string | undefined;
4030
+ clan_avatar?: string | undefined;
4010
4031
  reactions?: string | undefined;
4011
4032
  mentions?: string | undefined;
4012
4033
  attachments?: string | undefined;
@@ -4028,6 +4049,7 @@ export declare const ChannelMessageList: {
4028
4049
  category_name?: string | undefined;
4029
4050
  display_name?: string | undefined;
4030
4051
  clan_nick?: string | undefined;
4052
+ clan_avatar?: string | undefined;
4031
4053
  reactions?: string | undefined;
4032
4054
  mentions?: string | undefined;
4033
4055
  attachments?: string | undefined;
@@ -4049,6 +4071,7 @@ export declare const ChannelMessageList: {
4049
4071
  category_name?: string | undefined;
4050
4072
  display_name?: string | undefined;
4051
4073
  clan_nick?: string | undefined;
4074
+ clan_avatar?: string | undefined;
4052
4075
  reactions?: string | undefined;
4053
4076
  mentions?: string | undefined;
4054
4077
  attachments?: string | undefined;
@@ -4070,6 +4093,7 @@ export declare const ChannelMessageList: {
4070
4093
  category_name?: string | undefined;
4071
4094
  display_name?: string | undefined;
4072
4095
  clan_nick?: string | undefined;
4096
+ clan_avatar?: string | undefined;
4073
4097
  reactions?: string | undefined;
4074
4098
  mentions?: string | undefined;
4075
4099
  attachments?: string | undefined;
@@ -5485,6 +5509,7 @@ export declare const ChannelUserList: {
5485
5509
  id?: string | undefined;
5486
5510
  thread_id?: string | undefined;
5487
5511
  clan_nick?: string | undefined;
5512
+ clan_avatar?: string | undefined;
5488
5513
  }[] | undefined;
5489
5514
  cursor?: string | undefined;
5490
5515
  channel_id?: string | undefined;
@@ -5515,6 +5540,7 @@ export declare const ChannelUserList: {
5515
5540
  id?: string | undefined;
5516
5541
  thread_id?: string | undefined;
5517
5542
  clan_nick?: string | undefined;
5543
+ clan_avatar?: string | undefined;
5518
5544
  }[] & ({
5519
5545
  user?: {
5520
5546
  id?: string | undefined;
@@ -5541,6 +5567,7 @@ export declare const ChannelUserList: {
5541
5567
  id?: string | undefined;
5542
5568
  thread_id?: string | undefined;
5543
5569
  clan_nick?: string | undefined;
5570
+ clan_avatar?: string | undefined;
5544
5571
  } & {
5545
5572
  user?: ({
5546
5573
  id?: string | undefined;
@@ -5587,6 +5614,7 @@ export declare const ChannelUserList: {
5587
5614
  id?: string | undefined;
5588
5615
  thread_id?: string | undefined;
5589
5616
  clan_nick?: string | undefined;
5617
+ clan_avatar?: string | undefined;
5590
5618
  } & { [K_2 in Exclude<keyof I["channel_users"][number], keyof ChannelUserList_ChannelUser>]: never; })[] & { [K_3 in Exclude<keyof I["channel_users"], keyof {
5591
5619
  user?: {
5592
5620
  id?: string | undefined;
@@ -5613,6 +5641,7 @@ export declare const ChannelUserList: {
5613
5641
  id?: string | undefined;
5614
5642
  thread_id?: string | undefined;
5615
5643
  clan_nick?: string | undefined;
5644
+ clan_avatar?: string | undefined;
5616
5645
  }[]>]: never; }) | undefined;
5617
5646
  cursor?: string | undefined;
5618
5647
  channel_id?: string | undefined;
@@ -5644,6 +5673,7 @@ export declare const ChannelUserList: {
5644
5673
  id?: string | undefined;
5645
5674
  thread_id?: string | undefined;
5646
5675
  clan_nick?: string | undefined;
5676
+ clan_avatar?: string | undefined;
5647
5677
  }[] | undefined;
5648
5678
  cursor?: string | undefined;
5649
5679
  channel_id?: string | undefined;
@@ -5674,6 +5704,7 @@ export declare const ChannelUserList: {
5674
5704
  id?: string | undefined;
5675
5705
  thread_id?: string | undefined;
5676
5706
  clan_nick?: string | undefined;
5707
+ clan_avatar?: string | undefined;
5677
5708
  }[] & ({
5678
5709
  user?: {
5679
5710
  id?: string | undefined;
@@ -5700,6 +5731,7 @@ export declare const ChannelUserList: {
5700
5731
  id?: string | undefined;
5701
5732
  thread_id?: string | undefined;
5702
5733
  clan_nick?: string | undefined;
5734
+ clan_avatar?: string | undefined;
5703
5735
  } & {
5704
5736
  user?: ({
5705
5737
  id?: string | undefined;
@@ -5746,6 +5778,7 @@ export declare const ChannelUserList: {
5746
5778
  id?: string | undefined;
5747
5779
  thread_id?: string | undefined;
5748
5780
  clan_nick?: string | undefined;
5781
+ clan_avatar?: string | undefined;
5749
5782
  } & { [K_7 in Exclude<keyof I_1["channel_users"][number], keyof ChannelUserList_ChannelUser>]: never; })[] & { [K_8 in Exclude<keyof I_1["channel_users"], keyof {
5750
5783
  user?: {
5751
5784
  id?: string | undefined;
@@ -5772,6 +5805,7 @@ export declare const ChannelUserList: {
5772
5805
  id?: string | undefined;
5773
5806
  thread_id?: string | undefined;
5774
5807
  clan_nick?: string | undefined;
5808
+ clan_avatar?: string | undefined;
5775
5809
  }[]>]: never; }) | undefined;
5776
5810
  cursor?: string | undefined;
5777
5811
  channel_id?: string | undefined;
@@ -5808,6 +5842,7 @@ export declare const ChannelUserList_ChannelUser: {
5808
5842
  id?: string | undefined;
5809
5843
  thread_id?: string | undefined;
5810
5844
  clan_nick?: string | undefined;
5845
+ clan_avatar?: string | undefined;
5811
5846
  } & {
5812
5847
  user?: ({
5813
5848
  id?: string | undefined;
@@ -5854,6 +5889,7 @@ export declare const ChannelUserList_ChannelUser: {
5854
5889
  id?: string | undefined;
5855
5890
  thread_id?: string | undefined;
5856
5891
  clan_nick?: string | undefined;
5892
+ clan_avatar?: string | undefined;
5857
5893
  } & { [K_2 in Exclude<keyof I, keyof ChannelUserList_ChannelUser>]: never; }>(base?: I | undefined): ChannelUserList_ChannelUser;
5858
5894
  fromPartial<I_1 extends {
5859
5895
  user?: {
@@ -5881,6 +5917,7 @@ export declare const ChannelUserList_ChannelUser: {
5881
5917
  id?: string | undefined;
5882
5918
  thread_id?: string | undefined;
5883
5919
  clan_nick?: string | undefined;
5920
+ clan_avatar?: string | undefined;
5884
5921
  } & {
5885
5922
  user?: ({
5886
5923
  id?: string | undefined;
@@ -5927,6 +5964,7 @@ export declare const ChannelUserList_ChannelUser: {
5927
5964
  id?: string | undefined;
5928
5965
  thread_id?: string | undefined;
5929
5966
  clan_nick?: string | undefined;
5967
+ clan_avatar?: string | undefined;
5930
5968
  } & { [K_5 in Exclude<keyof I_1, keyof ChannelUserList_ChannelUser>]: never; }>(object: I_1): ChannelUserList_ChannelUser;
5931
5969
  };
5932
5970
  export declare const VoiceChannelUser: {
@@ -675,6 +675,7 @@ export declare const Envelope: {
675
675
  category_name?: string | undefined;
676
676
  display_name?: string | undefined;
677
677
  clan_nick?: string | undefined;
678
+ clan_avatar?: string | undefined;
678
679
  reactions?: string | undefined;
679
680
  mentions?: string | undefined;
680
681
  attachments?: string | undefined;
@@ -1074,6 +1075,7 @@ export declare const Envelope: {
1074
1075
  category_name?: string | undefined;
1075
1076
  display_name?: string | undefined;
1076
1077
  clan_nick?: string | undefined;
1078
+ clan_avatar?: string | undefined;
1077
1079
  reactions?: string | undefined;
1078
1080
  mentions?: string | undefined;
1079
1081
  attachments?: string | undefined;
@@ -1095,6 +1097,7 @@ export declare const Envelope: {
1095
1097
  category_name?: string | undefined;
1096
1098
  display_name?: string | undefined;
1097
1099
  clan_nick?: string | undefined;
1100
+ clan_avatar?: string | undefined;
1098
1101
  reactions?: string | undefined;
1099
1102
  mentions?: string | undefined;
1100
1103
  attachments?: string | undefined;
@@ -1947,6 +1950,7 @@ export declare const Envelope: {
1947
1950
  category_name?: string | undefined;
1948
1951
  display_name?: string | undefined;
1949
1952
  clan_nick?: string | undefined;
1953
+ clan_avatar?: string | undefined;
1950
1954
  reactions?: string | undefined;
1951
1955
  mentions?: string | undefined;
1952
1956
  attachments?: string | undefined;
@@ -2346,6 +2350,7 @@ export declare const Envelope: {
2346
2350
  category_name?: string | undefined;
2347
2351
  display_name?: string | undefined;
2348
2352
  clan_nick?: string | undefined;
2353
+ clan_avatar?: string | undefined;
2349
2354
  reactions?: string | undefined;
2350
2355
  mentions?: string | undefined;
2351
2356
  attachments?: string | undefined;
@@ -2367,6 +2372,7 @@ export declare const Envelope: {
2367
2372
  category_name?: string | undefined;
2368
2373
  display_name?: string | undefined;
2369
2374
  clan_nick?: string | undefined;
2375
+ clan_avatar?: string | undefined;
2370
2376
  reactions?: string | undefined;
2371
2377
  mentions?: string | undefined;
2372
2378
  attachments?: string | undefined;
@@ -2543,6 +2543,7 @@ function createBaseChannelMessage() {
2543
2543
  category_name: "",
2544
2544
  display_name: "",
2545
2545
  clan_nick: "",
2546
+ clan_avatar: "",
2546
2547
  reactions: "",
2547
2548
  mentions: "",
2548
2549
  attachments: "",
@@ -2597,20 +2598,23 @@ var ChannelMessage = {
2597
2598
  if (message.clan_nick !== "") {
2598
2599
  writer.uint32(122).string(message.clan_nick);
2599
2600
  }
2601
+ if (message.clan_avatar !== "") {
2602
+ writer.uint32(130).string(message.clan_avatar);
2603
+ }
2600
2604
  if (message.reactions !== "") {
2601
- writer.uint32(130).string(message.reactions);
2605
+ writer.uint32(138).string(message.reactions);
2602
2606
  }
2603
2607
  if (message.mentions !== "") {
2604
- writer.uint32(138).string(message.mentions);
2608
+ writer.uint32(146).string(message.mentions);
2605
2609
  }
2606
2610
  if (message.attachments !== "") {
2607
- writer.uint32(146).string(message.attachments);
2611
+ writer.uint32(154).string(message.attachments);
2608
2612
  }
2609
2613
  if (message.references !== "") {
2610
- writer.uint32(154).string(message.references);
2614
+ writer.uint32(162).string(message.references);
2611
2615
  }
2612
2616
  if (message.referenced_message !== "") {
2613
- writer.uint32(162).string(message.referenced_message);
2617
+ writer.uint32(170).string(message.referenced_message);
2614
2618
  }
2615
2619
  return writer;
2616
2620
  },
@@ -2667,18 +2671,21 @@ var ChannelMessage = {
2667
2671
  message.clan_nick = reader.string();
2668
2672
  break;
2669
2673
  case 16:
2670
- message.reactions = reader.string();
2674
+ message.clan_avatar = reader.string();
2671
2675
  break;
2672
2676
  case 17:
2673
- message.mentions = reader.string();
2677
+ message.reactions = reader.string();
2674
2678
  break;
2675
2679
  case 18:
2676
- message.attachments = reader.string();
2680
+ message.mentions = reader.string();
2677
2681
  break;
2678
2682
  case 19:
2679
- message.references = reader.string();
2683
+ message.attachments = reader.string();
2680
2684
  break;
2681
2685
  case 20:
2686
+ message.references = reader.string();
2687
+ break;
2688
+ case 21:
2682
2689
  message.referenced_message = reader.string();
2683
2690
  break;
2684
2691
  default:
@@ -2705,6 +2712,7 @@ var ChannelMessage = {
2705
2712
  category_name: isSet3(object.category_name) ? String(object.category_name) : "",
2706
2713
  display_name: isSet3(object.display_name) ? String(object.display_name) : "",
2707
2714
  clan_nick: isSet3(object.clan_nick) ? String(object.clan_nick) : "",
2715
+ clan_avatar: isSet3(object.clan_avatar) ? String(object.clan_avatar) : "",
2708
2716
  reactions: isSet3(object.reactions) ? String(object.reactions) : "",
2709
2717
  mentions: isSet3(object.mentions) ? String(object.mentions) : "",
2710
2718
  attachments: isSet3(object.attachments) ? String(object.attachments) : "",
@@ -2729,6 +2737,7 @@ var ChannelMessage = {
2729
2737
  message.category_name !== void 0 && (obj.category_name = message.category_name);
2730
2738
  message.display_name !== void 0 && (obj.display_name = message.display_name);
2731
2739
  message.clan_nick !== void 0 && (obj.clan_nick = message.clan_nick);
2740
+ message.clan_avatar !== void 0 && (obj.clan_avatar = message.clan_avatar);
2732
2741
  message.reactions !== void 0 && (obj.reactions = message.reactions);
2733
2742
  message.mentions !== void 0 && (obj.mentions = message.mentions);
2734
2743
  message.attachments !== void 0 && (obj.attachments = message.attachments);
@@ -2740,7 +2749,7 @@ var ChannelMessage = {
2740
2749
  return ChannelMessage.fromPartial(base != null ? base : {});
2741
2750
  },
2742
2751
  fromPartial(object) {
2743
- var _a, _b, _c, _d, _e, _f, _g, _h, _i, _j, _k, _l, _m, _n, _o, _p, _q, _r, _s, _t;
2752
+ var _a, _b, _c, _d, _e, _f, _g, _h, _i, _j, _k, _l, _m, _n, _o, _p, _q, _r, _s, _t, _u;
2744
2753
  const message = createBaseChannelMessage();
2745
2754
  message.clan_id = (_a = object.clan_id) != null ? _a : "";
2746
2755
  message.channel_id = (_b = object.channel_id) != null ? _b : "";
@@ -2757,11 +2766,12 @@ var ChannelMessage = {
2757
2766
  message.category_name = (_m = object.category_name) != null ? _m : "";
2758
2767
  message.display_name = (_n = object.display_name) != null ? _n : "";
2759
2768
  message.clan_nick = (_o = object.clan_nick) != null ? _o : "";
2760
- message.reactions = (_p = object.reactions) != null ? _p : "";
2761
- message.mentions = (_q = object.mentions) != null ? _q : "";
2762
- message.attachments = (_r = object.attachments) != null ? _r : "";
2763
- message.references = (_s = object.references) != null ? _s : "";
2764
- message.referenced_message = (_t = object.referenced_message) != null ? _t : "";
2769
+ message.clan_avatar = (_p = object.clan_avatar) != null ? _p : "";
2770
+ message.reactions = (_q = object.reactions) != null ? _q : "";
2771
+ message.mentions = (_r = object.mentions) != null ? _r : "";
2772
+ message.attachments = (_s = object.attachments) != null ? _s : "";
2773
+ message.references = (_t = object.references) != null ? _t : "";
2774
+ message.referenced_message = (_u = object.referenced_message) != null ? _u : "";
2765
2775
  return message;
2766
2776
  }
2767
2777
  };
@@ -2530,6 +2530,7 @@ function createBaseChannelMessage() {
2530
2530
  category_name: "",
2531
2531
  display_name: "",
2532
2532
  clan_nick: "",
2533
+ clan_avatar: "",
2533
2534
  reactions: "",
2534
2535
  mentions: "",
2535
2536
  attachments: "",
@@ -2584,20 +2585,23 @@ var ChannelMessage = {
2584
2585
  if (message.clan_nick !== "") {
2585
2586
  writer.uint32(122).string(message.clan_nick);
2586
2587
  }
2588
+ if (message.clan_avatar !== "") {
2589
+ writer.uint32(130).string(message.clan_avatar);
2590
+ }
2587
2591
  if (message.reactions !== "") {
2588
- writer.uint32(130).string(message.reactions);
2592
+ writer.uint32(138).string(message.reactions);
2589
2593
  }
2590
2594
  if (message.mentions !== "") {
2591
- writer.uint32(138).string(message.mentions);
2595
+ writer.uint32(146).string(message.mentions);
2592
2596
  }
2593
2597
  if (message.attachments !== "") {
2594
- writer.uint32(146).string(message.attachments);
2598
+ writer.uint32(154).string(message.attachments);
2595
2599
  }
2596
2600
  if (message.references !== "") {
2597
- writer.uint32(154).string(message.references);
2601
+ writer.uint32(162).string(message.references);
2598
2602
  }
2599
2603
  if (message.referenced_message !== "") {
2600
- writer.uint32(162).string(message.referenced_message);
2604
+ writer.uint32(170).string(message.referenced_message);
2601
2605
  }
2602
2606
  return writer;
2603
2607
  },
@@ -2654,18 +2658,21 @@ var ChannelMessage = {
2654
2658
  message.clan_nick = reader.string();
2655
2659
  break;
2656
2660
  case 16:
2657
- message.reactions = reader.string();
2661
+ message.clan_avatar = reader.string();
2658
2662
  break;
2659
2663
  case 17:
2660
- message.mentions = reader.string();
2664
+ message.reactions = reader.string();
2661
2665
  break;
2662
2666
  case 18:
2663
- message.attachments = reader.string();
2667
+ message.mentions = reader.string();
2664
2668
  break;
2665
2669
  case 19:
2666
- message.references = reader.string();
2670
+ message.attachments = reader.string();
2667
2671
  break;
2668
2672
  case 20:
2673
+ message.references = reader.string();
2674
+ break;
2675
+ case 21:
2669
2676
  message.referenced_message = reader.string();
2670
2677
  break;
2671
2678
  default:
@@ -2692,6 +2699,7 @@ var ChannelMessage = {
2692
2699
  category_name: isSet3(object.category_name) ? String(object.category_name) : "",
2693
2700
  display_name: isSet3(object.display_name) ? String(object.display_name) : "",
2694
2701
  clan_nick: isSet3(object.clan_nick) ? String(object.clan_nick) : "",
2702
+ clan_avatar: isSet3(object.clan_avatar) ? String(object.clan_avatar) : "",
2695
2703
  reactions: isSet3(object.reactions) ? String(object.reactions) : "",
2696
2704
  mentions: isSet3(object.mentions) ? String(object.mentions) : "",
2697
2705
  attachments: isSet3(object.attachments) ? String(object.attachments) : "",
@@ -2716,6 +2724,7 @@ var ChannelMessage = {
2716
2724
  message.category_name !== void 0 && (obj.category_name = message.category_name);
2717
2725
  message.display_name !== void 0 && (obj.display_name = message.display_name);
2718
2726
  message.clan_nick !== void 0 && (obj.clan_nick = message.clan_nick);
2727
+ message.clan_avatar !== void 0 && (obj.clan_avatar = message.clan_avatar);
2719
2728
  message.reactions !== void 0 && (obj.reactions = message.reactions);
2720
2729
  message.mentions !== void 0 && (obj.mentions = message.mentions);
2721
2730
  message.attachments !== void 0 && (obj.attachments = message.attachments);
@@ -2727,7 +2736,7 @@ var ChannelMessage = {
2727
2736
  return ChannelMessage.fromPartial(base != null ? base : {});
2728
2737
  },
2729
2738
  fromPartial(object) {
2730
- var _a, _b, _c, _d, _e, _f, _g, _h, _i, _j, _k, _l, _m, _n, _o, _p, _q, _r, _s, _t;
2739
+ var _a, _b, _c, _d, _e, _f, _g, _h, _i, _j, _k, _l, _m, _n, _o, _p, _q, _r, _s, _t, _u;
2731
2740
  const message = createBaseChannelMessage();
2732
2741
  message.clan_id = (_a = object.clan_id) != null ? _a : "";
2733
2742
  message.channel_id = (_b = object.channel_id) != null ? _b : "";
@@ -2744,11 +2753,12 @@ var ChannelMessage = {
2744
2753
  message.category_name = (_m = object.category_name) != null ? _m : "";
2745
2754
  message.display_name = (_n = object.display_name) != null ? _n : "";
2746
2755
  message.clan_nick = (_o = object.clan_nick) != null ? _o : "";
2747
- message.reactions = (_p = object.reactions) != null ? _p : "";
2748
- message.mentions = (_q = object.mentions) != null ? _q : "";
2749
- message.attachments = (_r = object.attachments) != null ? _r : "";
2750
- message.references = (_s = object.references) != null ? _s : "";
2751
- message.referenced_message = (_t = object.referenced_message) != null ? _t : "";
2756
+ message.clan_avatar = (_p = object.clan_avatar) != null ? _p : "";
2757
+ message.reactions = (_q = object.reactions) != null ? _q : "";
2758
+ message.mentions = (_r = object.mentions) != null ? _r : "";
2759
+ message.attachments = (_s = object.attachments) != null ? _s : "";
2760
+ message.references = (_t = object.references) != null ? _t : "";
2761
+ message.referenced_message = (_u = object.referenced_message) != null ? _u : "";
2752
2762
  return message;
2753
2763
  }
2754
2764
  };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "mezon-js-protobuf",
3
- "version": "1.4.70",
3
+ "version": "1.4.71",
4
4
  "description": "Websocket adapter adding protocol buffer support to the Mezon Javascript client.",
5
5
  "main": "dist/mezon-js-protobuf.cjs.js",
6
6
  "module": "dist/mezon-js-protobuf.esm.mjs",