mezon-js-protobuf 1.4.69 → 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 */
@@ -573,6 +575,12 @@ export interface NotificationInfo {
573
575
  username: string;
574
576
  /** avatar */
575
577
  avatar: string;
578
+ /** clan nick name */
579
+ clan_nick: string;
580
+ /** clan avatar */
581
+ clan_avatar: string;
582
+ /** display name */
583
+ display_name: string;
576
584
  /** channel label */
577
585
  channel_label: string;
578
586
  /** channel type */
@@ -942,6 +950,8 @@ export interface ChannelUserList_ChannelUser {
942
950
  thread_id: string;
943
951
  /** clan nick name */
944
952
  clan_nick: string;
953
+ /** clan avartar */
954
+ clan_avatar: string;
945
955
  }
946
956
 
947
957
  /** A list of users belonging to a channel, along with their role. */
@@ -5367,6 +5377,7 @@ function createBaseChannelMessage(): ChannelMessage {
5367
5377
  category_name: "",
5368
5378
  display_name: "",
5369
5379
  clan_nick: "",
5380
+ clan_avatar: "",
5370
5381
  reactions: "",
5371
5382
  mentions: "",
5372
5383
  attachments: "",
@@ -5422,20 +5433,23 @@ export const ChannelMessage = {
5422
5433
  if (message.clan_nick !== "") {
5423
5434
  writer.uint32(122).string(message.clan_nick);
5424
5435
  }
5436
+ if (message.clan_avatar !== "") {
5437
+ writer.uint32(130).string(message.clan_avatar);
5438
+ }
5425
5439
  if (message.reactions !== "") {
5426
- writer.uint32(130).string(message.reactions);
5440
+ writer.uint32(138).string(message.reactions);
5427
5441
  }
5428
5442
  if (message.mentions !== "") {
5429
- writer.uint32(138).string(message.mentions);
5443
+ writer.uint32(146).string(message.mentions);
5430
5444
  }
5431
5445
  if (message.attachments !== "") {
5432
- writer.uint32(146).string(message.attachments);
5446
+ writer.uint32(154).string(message.attachments);
5433
5447
  }
5434
5448
  if (message.references !== "") {
5435
- writer.uint32(154).string(message.references);
5449
+ writer.uint32(162).string(message.references);
5436
5450
  }
5437
5451
  if (message.referenced_message !== "") {
5438
- writer.uint32(162).string(message.referenced_message);
5452
+ writer.uint32(170).string(message.referenced_message);
5439
5453
  }
5440
5454
  return writer;
5441
5455
  },
@@ -5493,18 +5507,21 @@ export const ChannelMessage = {
5493
5507
  message.clan_nick = reader.string();
5494
5508
  break;
5495
5509
  case 16:
5496
- message.reactions = reader.string();
5510
+ message.clan_avatar = reader.string();
5497
5511
  break;
5498
5512
  case 17:
5499
- message.mentions = reader.string();
5513
+ message.reactions = reader.string();
5500
5514
  break;
5501
5515
  case 18:
5502
- message.attachments = reader.string();
5516
+ message.mentions = reader.string();
5503
5517
  break;
5504
5518
  case 19:
5505
- message.references = reader.string();
5519
+ message.attachments = reader.string();
5506
5520
  break;
5507
5521
  case 20:
5522
+ message.references = reader.string();
5523
+ break;
5524
+ case 21:
5508
5525
  message.referenced_message = reader.string();
5509
5526
  break;
5510
5527
  default:
@@ -5532,6 +5549,7 @@ export const ChannelMessage = {
5532
5549
  category_name: isSet(object.category_name) ? String(object.category_name) : "",
5533
5550
  display_name: isSet(object.display_name) ? String(object.display_name) : "",
5534
5551
  clan_nick: isSet(object.clan_nick) ? String(object.clan_nick) : "",
5552
+ clan_avatar: isSet(object.clan_avatar) ? String(object.clan_avatar) : "",
5535
5553
  reactions: isSet(object.reactions) ? String(object.reactions) : "",
5536
5554
  mentions: isSet(object.mentions) ? String(object.mentions) : "",
5537
5555
  attachments: isSet(object.attachments) ? String(object.attachments) : "",
@@ -5557,6 +5575,7 @@ export const ChannelMessage = {
5557
5575
  message.category_name !== undefined && (obj.category_name = message.category_name);
5558
5576
  message.display_name !== undefined && (obj.display_name = message.display_name);
5559
5577
  message.clan_nick !== undefined && (obj.clan_nick = message.clan_nick);
5578
+ message.clan_avatar !== undefined && (obj.clan_avatar = message.clan_avatar);
5560
5579
  message.reactions !== undefined && (obj.reactions = message.reactions);
5561
5580
  message.mentions !== undefined && (obj.mentions = message.mentions);
5562
5581
  message.attachments !== undefined && (obj.attachments = message.attachments);
@@ -5586,6 +5605,7 @@ export const ChannelMessage = {
5586
5605
  message.category_name = object.category_name ?? "";
5587
5606
  message.display_name = object.display_name ?? "";
5588
5607
  message.clan_nick = object.clan_nick ?? "";
5608
+ message.clan_avatar = object.clan_avatar ?? "";
5589
5609
  message.reactions = object.reactions ?? "";
5590
5610
  message.mentions = object.mentions ?? "";
5591
5611
  message.attachments = object.attachments ?? "";
@@ -5679,6 +5699,9 @@ function createBaseNotificationInfo(): NotificationInfo {
5679
5699
  return {
5680
5700
  username: "",
5681
5701
  avatar: "",
5702
+ clan_nick: "",
5703
+ clan_avatar: "",
5704
+ display_name: "",
5682
5705
  channel_label: "",
5683
5706
  channel_type: "",
5684
5707
  category_name: "",
@@ -5695,20 +5718,29 @@ export const NotificationInfo = {
5695
5718
  if (message.avatar !== "") {
5696
5719
  writer.uint32(18).string(message.avatar);
5697
5720
  }
5721
+ if (message.clan_nick !== "") {
5722
+ writer.uint32(26).string(message.clan_nick);
5723
+ }
5724
+ if (message.clan_avatar !== "") {
5725
+ writer.uint32(34).string(message.clan_avatar);
5726
+ }
5727
+ if (message.display_name !== "") {
5728
+ writer.uint32(42).string(message.display_name);
5729
+ }
5698
5730
  if (message.channel_label !== "") {
5699
- writer.uint32(26).string(message.channel_label);
5731
+ writer.uint32(50).string(message.channel_label);
5700
5732
  }
5701
5733
  if (message.channel_type !== "") {
5702
- writer.uint32(34).string(message.channel_type);
5734
+ writer.uint32(58).string(message.channel_type);
5703
5735
  }
5704
5736
  if (message.category_name !== "") {
5705
- writer.uint32(42).string(message.category_name);
5737
+ writer.uint32(66).string(message.category_name);
5706
5738
  }
5707
5739
  if (message.clan_name !== "") {
5708
- writer.uint32(50).string(message.clan_name);
5740
+ writer.uint32(74).string(message.clan_name);
5709
5741
  }
5710
5742
  if (message.clan_logo !== "") {
5711
- writer.uint32(58).string(message.clan_logo);
5743
+ writer.uint32(82).string(message.clan_logo);
5712
5744
  }
5713
5745
  return writer;
5714
5746
  },
@@ -5727,18 +5759,27 @@ export const NotificationInfo = {
5727
5759
  message.avatar = reader.string();
5728
5760
  break;
5729
5761
  case 3:
5730
- message.channel_label = reader.string();
5762
+ message.clan_nick = reader.string();
5731
5763
  break;
5732
5764
  case 4:
5733
- message.channel_type = reader.string();
5765
+ message.clan_avatar = reader.string();
5734
5766
  break;
5735
5767
  case 5:
5736
- message.category_name = reader.string();
5768
+ message.display_name = reader.string();
5737
5769
  break;
5738
5770
  case 6:
5739
- message.clan_name = reader.string();
5771
+ message.channel_label = reader.string();
5740
5772
  break;
5741
5773
  case 7:
5774
+ message.channel_type = reader.string();
5775
+ break;
5776
+ case 8:
5777
+ message.category_name = reader.string();
5778
+ break;
5779
+ case 9:
5780
+ message.clan_name = reader.string();
5781
+ break;
5782
+ case 10:
5742
5783
  message.clan_logo = reader.string();
5743
5784
  break;
5744
5785
  default:
@@ -5753,6 +5794,9 @@ export const NotificationInfo = {
5753
5794
  return {
5754
5795
  username: isSet(object.username) ? String(object.username) : "",
5755
5796
  avatar: isSet(object.avatar) ? String(object.avatar) : "",
5797
+ clan_nick: isSet(object.clan_nick) ? String(object.clan_nick) : "",
5798
+ clan_avatar: isSet(object.clan_avatar) ? String(object.clan_avatar) : "",
5799
+ display_name: isSet(object.display_name) ? String(object.display_name) : "",
5756
5800
  channel_label: isSet(object.channel_label) ? String(object.channel_label) : "",
5757
5801
  channel_type: isSet(object.channel_type) ? String(object.channel_type) : "",
5758
5802
  category_name: isSet(object.category_name) ? String(object.category_name) : "",
@@ -5765,6 +5809,9 @@ export const NotificationInfo = {
5765
5809
  const obj: any = {};
5766
5810
  message.username !== undefined && (obj.username = message.username);
5767
5811
  message.avatar !== undefined && (obj.avatar = message.avatar);
5812
+ message.clan_nick !== undefined && (obj.clan_nick = message.clan_nick);
5813
+ message.clan_avatar !== undefined && (obj.clan_avatar = message.clan_avatar);
5814
+ message.display_name !== undefined && (obj.display_name = message.display_name);
5768
5815
  message.channel_label !== undefined && (obj.channel_label = message.channel_label);
5769
5816
  message.channel_type !== undefined && (obj.channel_type = message.channel_type);
5770
5817
  message.category_name !== undefined && (obj.category_name = message.category_name);
@@ -5781,6 +5828,9 @@ export const NotificationInfo = {
5781
5828
  const message = createBaseNotificationInfo();
5782
5829
  message.username = object.username ?? "";
5783
5830
  message.avatar = object.avatar ?? "";
5831
+ message.clan_nick = object.clan_nick ?? "";
5832
+ message.clan_avatar = object.clan_avatar ?? "";
5833
+ message.display_name = object.display_name ?? "";
5784
5834
  message.channel_label = object.channel_label ?? "";
5785
5835
  message.channel_type = object.channel_type ?? "";
5786
5836
  message.category_name = object.category_name ?? "";
@@ -7503,7 +7553,7 @@ export const ChannelUserList = {
7503
7553
  };
7504
7554
 
7505
7555
  function createBaseChannelUserList_ChannelUser(): ChannelUserList_ChannelUser {
7506
- return { user: undefined, role_id: [], id: "", thread_id: "", clan_nick: "" };
7556
+ return { user: undefined, role_id: [], id: "", thread_id: "", clan_nick: "", clan_avatar: "" };
7507
7557
  }
7508
7558
 
7509
7559
  export const ChannelUserList_ChannelUser = {
@@ -7523,6 +7573,9 @@ export const ChannelUserList_ChannelUser = {
7523
7573
  if (message.clan_nick !== "") {
7524
7574
  writer.uint32(42).string(message.clan_nick);
7525
7575
  }
7576
+ if (message.clan_avatar !== "") {
7577
+ writer.uint32(50).string(message.clan_avatar);
7578
+ }
7526
7579
  return writer;
7527
7580
  },
7528
7581
 
@@ -7548,6 +7601,9 @@ export const ChannelUserList_ChannelUser = {
7548
7601
  case 5:
7549
7602
  message.clan_nick = reader.string();
7550
7603
  break;
7604
+ case 6:
7605
+ message.clan_avatar = reader.string();
7606
+ break;
7551
7607
  default:
7552
7608
  reader.skipType(tag & 7);
7553
7609
  break;
@@ -7563,6 +7619,7 @@ export const ChannelUserList_ChannelUser = {
7563
7619
  id: isSet(object.id) ? String(object.id) : "",
7564
7620
  thread_id: isSet(object.thread_id) ? String(object.thread_id) : "",
7565
7621
  clan_nick: isSet(object.clan_nick) ? String(object.clan_nick) : "",
7622
+ clan_avatar: isSet(object.clan_avatar) ? String(object.clan_avatar) : "",
7566
7623
  };
7567
7624
  },
7568
7625
 
@@ -7577,6 +7634,7 @@ export const ChannelUserList_ChannelUser = {
7577
7634
  message.id !== undefined && (obj.id = message.id);
7578
7635
  message.thread_id !== undefined && (obj.thread_id = message.thread_id);
7579
7636
  message.clan_nick !== undefined && (obj.clan_nick = message.clan_nick);
7637
+ message.clan_avatar !== undefined && (obj.clan_avatar = message.clan_avatar);
7580
7638
  return obj;
7581
7639
  },
7582
7640
 
@@ -7591,6 +7649,7 @@ export const ChannelUserList_ChannelUser = {
7591
7649
  message.id = object.id ?? "";
7592
7650
  message.thread_id = object.thread_id ?? "";
7593
7651
  message.clan_nick = object.clan_nick ?? "";
7652
+ message.clan_avatar = object.clan_avatar ?? "";
7594
7653
  return message;
7595
7654
  },
7596
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 */
@@ -395,6 +397,12 @@ export interface NotificationInfo {
395
397
  username: string;
396
398
  /** avatar */
397
399
  avatar: string;
400
+ /** clan nick name */
401
+ clan_nick: string;
402
+ /** clan avatar */
403
+ clan_avatar: string;
404
+ /** display name */
405
+ display_name: string;
398
406
  /** channel label */
399
407
  channel_label: string;
400
408
  /** channel type */
@@ -657,6 +665,8 @@ export interface ChannelUserList_ChannelUser {
657
665
  thread_id: string;
658
666
  /** clan nick name */
659
667
  clan_nick: string;
668
+ /** clan avartar */
669
+ clan_avatar: string;
660
670
  }
661
671
  /** A list of users belonging to a channel, along with their role. */
662
672
  export interface VoiceChannelUser {
@@ -3534,6 +3544,7 @@ export declare const ChannelMessage: {
3534
3544
  category_name?: string | undefined;
3535
3545
  display_name?: string | undefined;
3536
3546
  clan_nick?: string | undefined;
3547
+ clan_avatar?: string | undefined;
3537
3548
  reactions?: string | undefined;
3538
3549
  mentions?: string | undefined;
3539
3550
  attachments?: string | undefined;
@@ -3555,6 +3566,7 @@ export declare const ChannelMessage: {
3555
3566
  category_name?: string | undefined;
3556
3567
  display_name?: string | undefined;
3557
3568
  clan_nick?: string | undefined;
3569
+ clan_avatar?: string | undefined;
3558
3570
  reactions?: string | undefined;
3559
3571
  mentions?: string | undefined;
3560
3572
  attachments?: string | undefined;
@@ -3577,6 +3589,7 @@ export declare const ChannelMessage: {
3577
3589
  category_name?: string | undefined;
3578
3590
  display_name?: string | undefined;
3579
3591
  clan_nick?: string | undefined;
3592
+ clan_avatar?: string | undefined;
3580
3593
  reactions?: string | undefined;
3581
3594
  mentions?: string | undefined;
3582
3595
  attachments?: string | undefined;
@@ -3598,6 +3611,7 @@ export declare const ChannelMessage: {
3598
3611
  category_name?: string | undefined;
3599
3612
  display_name?: string | undefined;
3600
3613
  clan_nick?: string | undefined;
3614
+ clan_avatar?: string | undefined;
3601
3615
  reactions?: string | undefined;
3602
3616
  mentions?: string | undefined;
3603
3617
  attachments?: string | undefined;
@@ -3641,6 +3655,9 @@ export declare const NotificationInfo: {
3641
3655
  create<I extends {
3642
3656
  username?: string | undefined;
3643
3657
  avatar?: string | undefined;
3658
+ clan_nick?: string | undefined;
3659
+ clan_avatar?: string | undefined;
3660
+ display_name?: string | undefined;
3644
3661
  channel_label?: string | undefined;
3645
3662
  channel_type?: string | undefined;
3646
3663
  category_name?: string | undefined;
@@ -3649,6 +3666,9 @@ export declare const NotificationInfo: {
3649
3666
  } & {
3650
3667
  username?: string | undefined;
3651
3668
  avatar?: string | undefined;
3669
+ clan_nick?: string | undefined;
3670
+ clan_avatar?: string | undefined;
3671
+ display_name?: string | undefined;
3652
3672
  channel_label?: string | undefined;
3653
3673
  channel_type?: string | undefined;
3654
3674
  category_name?: string | undefined;
@@ -3658,6 +3678,9 @@ export declare const NotificationInfo: {
3658
3678
  fromPartial<I_1 extends {
3659
3679
  username?: string | undefined;
3660
3680
  avatar?: string | undefined;
3681
+ clan_nick?: string | undefined;
3682
+ clan_avatar?: string | undefined;
3683
+ display_name?: string | undefined;
3661
3684
  channel_label?: string | undefined;
3662
3685
  channel_type?: string | undefined;
3663
3686
  category_name?: string | undefined;
@@ -3666,6 +3689,9 @@ export declare const NotificationInfo: {
3666
3689
  } & {
3667
3690
  username?: string | undefined;
3668
3691
  avatar?: string | undefined;
3692
+ clan_nick?: string | undefined;
3693
+ clan_avatar?: string | undefined;
3694
+ display_name?: string | undefined;
3669
3695
  channel_label?: string | undefined;
3670
3696
  channel_type?: string | undefined;
3671
3697
  category_name?: string | undefined;
@@ -3823,6 +3849,7 @@ export declare const ChannelMessageList: {
3823
3849
  category_name?: string | undefined;
3824
3850
  display_name?: string | undefined;
3825
3851
  clan_nick?: string | undefined;
3852
+ clan_avatar?: string | undefined;
3826
3853
  reactions?: string | undefined;
3827
3854
  mentions?: string | undefined;
3828
3855
  attachments?: string | undefined;
@@ -3856,6 +3883,7 @@ export declare const ChannelMessageList: {
3856
3883
  category_name?: string | undefined;
3857
3884
  display_name?: string | undefined;
3858
3885
  clan_nick?: string | undefined;
3886
+ clan_avatar?: string | undefined;
3859
3887
  reactions?: string | undefined;
3860
3888
  mentions?: string | undefined;
3861
3889
  attachments?: string | undefined;
@@ -3877,6 +3905,7 @@ export declare const ChannelMessageList: {
3877
3905
  category_name?: string | undefined;
3878
3906
  display_name?: string | undefined;
3879
3907
  clan_nick?: string | undefined;
3908
+ clan_avatar?: string | undefined;
3880
3909
  reactions?: string | undefined;
3881
3910
  mentions?: string | undefined;
3882
3911
  attachments?: string | undefined;
@@ -3898,6 +3927,7 @@ export declare const ChannelMessageList: {
3898
3927
  category_name?: string | undefined;
3899
3928
  display_name?: string | undefined;
3900
3929
  clan_nick?: string | undefined;
3930
+ clan_avatar?: string | undefined;
3901
3931
  reactions?: string | undefined;
3902
3932
  mentions?: string | undefined;
3903
3933
  attachments?: string | undefined;
@@ -3919,6 +3949,7 @@ export declare const ChannelMessageList: {
3919
3949
  category_name?: string | undefined;
3920
3950
  display_name?: string | undefined;
3921
3951
  clan_nick?: string | undefined;
3952
+ clan_avatar?: string | undefined;
3922
3953
  reactions?: string | undefined;
3923
3954
  mentions?: string | undefined;
3924
3955
  attachments?: string | undefined;
@@ -3962,6 +3993,7 @@ export declare const ChannelMessageList: {
3962
3993
  category_name?: string | undefined;
3963
3994
  display_name?: string | undefined;
3964
3995
  clan_nick?: string | undefined;
3996
+ clan_avatar?: string | undefined;
3965
3997
  reactions?: string | undefined;
3966
3998
  mentions?: string | undefined;
3967
3999
  attachments?: string | undefined;
@@ -3995,6 +4027,7 @@ export declare const ChannelMessageList: {
3995
4027
  category_name?: string | undefined;
3996
4028
  display_name?: string | undefined;
3997
4029
  clan_nick?: string | undefined;
4030
+ clan_avatar?: string | undefined;
3998
4031
  reactions?: string | undefined;
3999
4032
  mentions?: string | undefined;
4000
4033
  attachments?: string | undefined;
@@ -4016,6 +4049,7 @@ export declare const ChannelMessageList: {
4016
4049
  category_name?: string | undefined;
4017
4050
  display_name?: string | undefined;
4018
4051
  clan_nick?: string | undefined;
4052
+ clan_avatar?: string | undefined;
4019
4053
  reactions?: string | undefined;
4020
4054
  mentions?: string | undefined;
4021
4055
  attachments?: string | undefined;
@@ -4037,6 +4071,7 @@ export declare const ChannelMessageList: {
4037
4071
  category_name?: string | undefined;
4038
4072
  display_name?: string | undefined;
4039
4073
  clan_nick?: string | undefined;
4074
+ clan_avatar?: string | undefined;
4040
4075
  reactions?: string | undefined;
4041
4076
  mentions?: string | undefined;
4042
4077
  attachments?: string | undefined;
@@ -4058,6 +4093,7 @@ export declare const ChannelMessageList: {
4058
4093
  category_name?: string | undefined;
4059
4094
  display_name?: string | undefined;
4060
4095
  clan_nick?: string | undefined;
4096
+ clan_avatar?: string | undefined;
4061
4097
  reactions?: string | undefined;
4062
4098
  mentions?: string | undefined;
4063
4099
  attachments?: string | undefined;
@@ -5473,6 +5509,7 @@ export declare const ChannelUserList: {
5473
5509
  id?: string | undefined;
5474
5510
  thread_id?: string | undefined;
5475
5511
  clan_nick?: string | undefined;
5512
+ clan_avatar?: string | undefined;
5476
5513
  }[] | undefined;
5477
5514
  cursor?: string | undefined;
5478
5515
  channel_id?: string | undefined;
@@ -5503,6 +5540,7 @@ export declare const ChannelUserList: {
5503
5540
  id?: string | undefined;
5504
5541
  thread_id?: string | undefined;
5505
5542
  clan_nick?: string | undefined;
5543
+ clan_avatar?: string | undefined;
5506
5544
  }[] & ({
5507
5545
  user?: {
5508
5546
  id?: string | undefined;
@@ -5529,6 +5567,7 @@ export declare const ChannelUserList: {
5529
5567
  id?: string | undefined;
5530
5568
  thread_id?: string | undefined;
5531
5569
  clan_nick?: string | undefined;
5570
+ clan_avatar?: string | undefined;
5532
5571
  } & {
5533
5572
  user?: ({
5534
5573
  id?: string | undefined;
@@ -5575,6 +5614,7 @@ export declare const ChannelUserList: {
5575
5614
  id?: string | undefined;
5576
5615
  thread_id?: string | undefined;
5577
5616
  clan_nick?: string | undefined;
5617
+ clan_avatar?: string | undefined;
5578
5618
  } & { [K_2 in Exclude<keyof I["channel_users"][number], keyof ChannelUserList_ChannelUser>]: never; })[] & { [K_3 in Exclude<keyof I["channel_users"], keyof {
5579
5619
  user?: {
5580
5620
  id?: string | undefined;
@@ -5601,6 +5641,7 @@ export declare const ChannelUserList: {
5601
5641
  id?: string | undefined;
5602
5642
  thread_id?: string | undefined;
5603
5643
  clan_nick?: string | undefined;
5644
+ clan_avatar?: string | undefined;
5604
5645
  }[]>]: never; }) | undefined;
5605
5646
  cursor?: string | undefined;
5606
5647
  channel_id?: string | undefined;
@@ -5632,6 +5673,7 @@ export declare const ChannelUserList: {
5632
5673
  id?: string | undefined;
5633
5674
  thread_id?: string | undefined;
5634
5675
  clan_nick?: string | undefined;
5676
+ clan_avatar?: string | undefined;
5635
5677
  }[] | undefined;
5636
5678
  cursor?: string | undefined;
5637
5679
  channel_id?: string | undefined;
@@ -5662,6 +5704,7 @@ export declare const ChannelUserList: {
5662
5704
  id?: string | undefined;
5663
5705
  thread_id?: string | undefined;
5664
5706
  clan_nick?: string | undefined;
5707
+ clan_avatar?: string | undefined;
5665
5708
  }[] & ({
5666
5709
  user?: {
5667
5710
  id?: string | undefined;
@@ -5688,6 +5731,7 @@ export declare const ChannelUserList: {
5688
5731
  id?: string | undefined;
5689
5732
  thread_id?: string | undefined;
5690
5733
  clan_nick?: string | undefined;
5734
+ clan_avatar?: string | undefined;
5691
5735
  } & {
5692
5736
  user?: ({
5693
5737
  id?: string | undefined;
@@ -5734,6 +5778,7 @@ export declare const ChannelUserList: {
5734
5778
  id?: string | undefined;
5735
5779
  thread_id?: string | undefined;
5736
5780
  clan_nick?: string | undefined;
5781
+ clan_avatar?: string | undefined;
5737
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 {
5738
5783
  user?: {
5739
5784
  id?: string | undefined;
@@ -5760,6 +5805,7 @@ export declare const ChannelUserList: {
5760
5805
  id?: string | undefined;
5761
5806
  thread_id?: string | undefined;
5762
5807
  clan_nick?: string | undefined;
5808
+ clan_avatar?: string | undefined;
5763
5809
  }[]>]: never; }) | undefined;
5764
5810
  cursor?: string | undefined;
5765
5811
  channel_id?: string | undefined;
@@ -5796,6 +5842,7 @@ export declare const ChannelUserList_ChannelUser: {
5796
5842
  id?: string | undefined;
5797
5843
  thread_id?: string | undefined;
5798
5844
  clan_nick?: string | undefined;
5845
+ clan_avatar?: string | undefined;
5799
5846
  } & {
5800
5847
  user?: ({
5801
5848
  id?: string | undefined;
@@ -5842,6 +5889,7 @@ export declare const ChannelUserList_ChannelUser: {
5842
5889
  id?: string | undefined;
5843
5890
  thread_id?: string | undefined;
5844
5891
  clan_nick?: string | undefined;
5892
+ clan_avatar?: string | undefined;
5845
5893
  } & { [K_2 in Exclude<keyof I, keyof ChannelUserList_ChannelUser>]: never; }>(base?: I | undefined): ChannelUserList_ChannelUser;
5846
5894
  fromPartial<I_1 extends {
5847
5895
  user?: {
@@ -5869,6 +5917,7 @@ export declare const ChannelUserList_ChannelUser: {
5869
5917
  id?: string | undefined;
5870
5918
  thread_id?: string | undefined;
5871
5919
  clan_nick?: string | undefined;
5920
+ clan_avatar?: string | undefined;
5872
5921
  } & {
5873
5922
  user?: ({
5874
5923
  id?: string | undefined;
@@ -5915,6 +5964,7 @@ export declare const ChannelUserList_ChannelUser: {
5915
5964
  id?: string | undefined;
5916
5965
  thread_id?: string | undefined;
5917
5966
  clan_nick?: string | undefined;
5967
+ clan_avatar?: string | undefined;
5918
5968
  } & { [K_5 in Exclude<keyof I_1, keyof ChannelUserList_ChannelUser>]: never; }>(object: I_1): ChannelUserList_ChannelUser;
5919
5969
  };
5920
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.69",
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",