mezon-js-protobuf 1.7.16 → 1.7.18

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.
@@ -245,6 +245,8 @@ export interface SessionLogoutRequest {
245
245
  device_id: string;
246
246
  /** FCM token from firebase */
247
247
  fcm_token: string;
248
+ /** platform */
249
+ platform: string;
248
250
  }
249
251
  /** Authenticate against the server with Apple Sign In. */
250
252
  export interface AuthenticateAppleRequest {
@@ -970,6 +972,8 @@ export interface Notification {
970
972
  avatar_url: string;
971
973
  /** */
972
974
  channel: ChannelDescription | undefined;
975
+ /** */
976
+ topic_id: string;
973
977
  }
974
978
  /** A collection of zero or more notifications. */
975
979
  export interface NotificationList {
@@ -4103,22 +4107,26 @@ export declare const SessionLogoutRequest: {
4103
4107
  refresh_token?: string | undefined;
4104
4108
  device_id?: string | undefined;
4105
4109
  fcm_token?: string | undefined;
4110
+ platform?: string | undefined;
4106
4111
  } & {
4107
4112
  token?: string | undefined;
4108
4113
  refresh_token?: string | undefined;
4109
4114
  device_id?: string | undefined;
4110
4115
  fcm_token?: string | undefined;
4116
+ platform?: string | undefined;
4111
4117
  } & { [K in Exclude<keyof I, keyof SessionLogoutRequest>]: never; }>(base?: I | undefined): SessionLogoutRequest;
4112
4118
  fromPartial<I_1 extends {
4113
4119
  token?: string | undefined;
4114
4120
  refresh_token?: string | undefined;
4115
4121
  device_id?: string | undefined;
4116
4122
  fcm_token?: string | undefined;
4123
+ platform?: string | undefined;
4117
4124
  } & {
4118
4125
  token?: string | undefined;
4119
4126
  refresh_token?: string | undefined;
4120
4127
  device_id?: string | undefined;
4121
4128
  fcm_token?: string | undefined;
4129
+ platform?: string | undefined;
4122
4130
  } & { [K_1 in Exclude<keyof I_1, keyof SessionLogoutRequest>]: never; }>(object: I_1): SessionLogoutRequest;
4123
4131
  };
4124
4132
  export declare const AuthenticateAppleRequest: {
@@ -8809,6 +8817,7 @@ export declare const Notification: {
8809
8817
  e2ee?: number | undefined;
8810
8818
  display_names?: string[] | undefined;
8811
8819
  } | undefined;
8820
+ topic_id?: string | undefined;
8812
8821
  } & {
8813
8822
  id?: string | undefined;
8814
8823
  subject?: string | undefined;
@@ -8946,6 +8955,7 @@ export declare const Notification: {
8946
8955
  e2ee?: number | undefined;
8947
8956
  display_names?: (string[] & string[] & { [K_10 in Exclude<keyof I["channel"]["display_names"], keyof string[]>]: never; }) | undefined;
8948
8957
  } & { [K_11 in Exclude<keyof I["channel"], keyof ChannelDescription>]: never; }) | undefined;
8958
+ topic_id?: string | undefined;
8949
8959
  } & { [K_12 in Exclude<keyof I, keyof Notification>]: never; }>(base?: I | undefined): Notification;
8950
8960
  fromPartial<I_1 extends {
8951
8961
  id?: string | undefined;
@@ -9012,6 +9022,7 @@ export declare const Notification: {
9012
9022
  e2ee?: number | undefined;
9013
9023
  display_names?: string[] | undefined;
9014
9024
  } | undefined;
9025
+ topic_id?: string | undefined;
9015
9026
  } & {
9016
9027
  id?: string | undefined;
9017
9028
  subject?: string | undefined;
@@ -9149,6 +9160,7 @@ export declare const Notification: {
9149
9160
  e2ee?: number | undefined;
9150
9161
  display_names?: (string[] & string[] & { [K_23 in Exclude<keyof I_1["channel"]["display_names"], keyof string[]>]: never; }) | undefined;
9151
9162
  } & { [K_24 in Exclude<keyof I_1["channel"], keyof ChannelDescription>]: never; }) | undefined;
9163
+ topic_id?: string | undefined;
9152
9164
  } & { [K_25 in Exclude<keyof I_1, keyof Notification>]: never; }>(object: I_1): Notification;
9153
9165
  };
9154
9166
  export declare const NotificationList: {
@@ -9222,6 +9234,7 @@ export declare const NotificationList: {
9222
9234
  e2ee?: number | undefined;
9223
9235
  display_names?: string[] | undefined;
9224
9236
  } | undefined;
9237
+ topic_id?: string | undefined;
9225
9238
  }[] | undefined;
9226
9239
  cacheable_cursor?: string | undefined;
9227
9240
  } & {
@@ -9290,6 +9303,7 @@ export declare const NotificationList: {
9290
9303
  e2ee?: number | undefined;
9291
9304
  display_names?: string[] | undefined;
9292
9305
  } | undefined;
9306
+ topic_id?: string | undefined;
9293
9307
  }[] & ({
9294
9308
  id?: string | undefined;
9295
9309
  subject?: string | undefined;
@@ -9355,6 +9369,7 @@ export declare const NotificationList: {
9355
9369
  e2ee?: number | undefined;
9356
9370
  display_names?: string[] | undefined;
9357
9371
  } | undefined;
9372
+ topic_id?: string | undefined;
9358
9373
  } & {
9359
9374
  id?: string | undefined;
9360
9375
  subject?: string | undefined;
@@ -9492,6 +9507,7 @@ export declare const NotificationList: {
9492
9507
  e2ee?: number | undefined;
9493
9508
  display_names?: (string[] & string[] & { [K_10 in Exclude<keyof I["notifications"][number]["channel"]["display_names"], keyof string[]>]: never; }) | undefined;
9494
9509
  } & { [K_11 in Exclude<keyof I["notifications"][number]["channel"], keyof ChannelDescription>]: never; }) | undefined;
9510
+ topic_id?: string | undefined;
9495
9511
  } & { [K_12 in Exclude<keyof I["notifications"][number], keyof Notification>]: never; })[] & { [K_13 in Exclude<keyof I["notifications"], keyof {
9496
9512
  id?: string | undefined;
9497
9513
  subject?: string | undefined;
@@ -9557,6 +9573,7 @@ export declare const NotificationList: {
9557
9573
  e2ee?: number | undefined;
9558
9574
  display_names?: string[] | undefined;
9559
9575
  } | undefined;
9576
+ topic_id?: string | undefined;
9560
9577
  }[]>]: never; }) | undefined;
9561
9578
  cacheable_cursor?: string | undefined;
9562
9579
  } & { [K_14 in Exclude<keyof I, keyof NotificationList>]: never; }>(base?: I | undefined): NotificationList;
@@ -9626,6 +9643,7 @@ export declare const NotificationList: {
9626
9643
  e2ee?: number | undefined;
9627
9644
  display_names?: string[] | undefined;
9628
9645
  } | undefined;
9646
+ topic_id?: string | undefined;
9629
9647
  }[] | undefined;
9630
9648
  cacheable_cursor?: string | undefined;
9631
9649
  } & {
@@ -9694,6 +9712,7 @@ export declare const NotificationList: {
9694
9712
  e2ee?: number | undefined;
9695
9713
  display_names?: string[] | undefined;
9696
9714
  } | undefined;
9715
+ topic_id?: string | undefined;
9697
9716
  }[] & ({
9698
9717
  id?: string | undefined;
9699
9718
  subject?: string | undefined;
@@ -9759,6 +9778,7 @@ export declare const NotificationList: {
9759
9778
  e2ee?: number | undefined;
9760
9779
  display_names?: string[] | undefined;
9761
9780
  } | undefined;
9781
+ topic_id?: string | undefined;
9762
9782
  } & {
9763
9783
  id?: string | undefined;
9764
9784
  subject?: string | undefined;
@@ -9896,6 +9916,7 @@ export declare const NotificationList: {
9896
9916
  e2ee?: number | undefined;
9897
9917
  display_names?: (string[] & string[] & { [K_25 in Exclude<keyof I_1["notifications"][number]["channel"]["display_names"], keyof string[]>]: never; }) | undefined;
9898
9918
  } & { [K_26 in Exclude<keyof I_1["notifications"][number]["channel"], keyof ChannelDescription>]: never; }) | undefined;
9919
+ topic_id?: string | undefined;
9899
9920
  } & { [K_27 in Exclude<keyof I_1["notifications"][number], keyof Notification>]: never; })[] & { [K_28 in Exclude<keyof I_1["notifications"], keyof {
9900
9921
  id?: string | undefined;
9901
9922
  subject?: string | undefined;
@@ -9961,6 +9982,7 @@ export declare const NotificationList: {
9961
9982
  e2ee?: number | undefined;
9962
9983
  display_names?: string[] | undefined;
9963
9984
  } | undefined;
9985
+ topic_id?: string | undefined;
9964
9986
  }[]>]: never; }) | undefined;
9965
9987
  cacheable_cursor?: string | undefined;
9966
9988
  } & { [K_29 in Exclude<keyof I_1, keyof NotificationList>]: never; }>(object: I_1): NotificationList;
@@ -1291,6 +1291,7 @@ export declare const Envelope: {
1291
1291
  e2ee?: number | undefined;
1292
1292
  display_names?: string[] | undefined;
1293
1293
  } | undefined;
1294
+ topic_id?: string | undefined;
1294
1295
  }[] | undefined;
1295
1296
  } | undefined;
1296
1297
  rpc?: {
@@ -2576,6 +2577,7 @@ export declare const Envelope: {
2576
2577
  e2ee?: number | undefined;
2577
2578
  display_names?: string[] | undefined;
2578
2579
  } | undefined;
2580
+ topic_id?: string | undefined;
2579
2581
  }[] | undefined;
2580
2582
  } & {
2581
2583
  notifications?: ({
@@ -2643,6 +2645,7 @@ export declare const Envelope: {
2643
2645
  e2ee?: number | undefined;
2644
2646
  display_names?: string[] | undefined;
2645
2647
  } | undefined;
2648
+ topic_id?: string | undefined;
2646
2649
  }[] & ({
2647
2650
  id?: string | undefined;
2648
2651
  subject?: string | undefined;
@@ -2708,6 +2711,7 @@ export declare const Envelope: {
2708
2711
  e2ee?: number | undefined;
2709
2712
  display_names?: string[] | undefined;
2710
2713
  } | undefined;
2714
+ topic_id?: string | undefined;
2711
2715
  } & {
2712
2716
  id?: string | undefined;
2713
2717
  subject?: string | undefined;
@@ -2845,6 +2849,7 @@ export declare const Envelope: {
2845
2849
  e2ee?: number | undefined;
2846
2850
  display_names?: (string[] & string[] & { [K_39 in Exclude<keyof I["notifications"]["notifications"][number]["channel"]["display_names"], keyof string[]>]: never; }) | undefined;
2847
2851
  } & { [K_40 in Exclude<keyof I["notifications"]["notifications"][number]["channel"], keyof ChannelDescription1>]: never; }) | undefined;
2852
+ topic_id?: string | undefined;
2848
2853
  } & { [K_41 in Exclude<keyof I["notifications"]["notifications"][number], keyof Notification>]: never; })[] & { [K_42 in Exclude<keyof I["notifications"]["notifications"], keyof {
2849
2854
  id?: string | undefined;
2850
2855
  subject?: string | undefined;
@@ -2910,6 +2915,7 @@ export declare const Envelope: {
2910
2915
  e2ee?: number | undefined;
2911
2916
  display_names?: string[] | undefined;
2912
2917
  } | undefined;
2918
+ topic_id?: string | undefined;
2913
2919
  }[]>]: never; }) | undefined;
2914
2920
  } & { [K_43 in Exclude<keyof I["notifications"], "notifications">]: never; }) | undefined;
2915
2921
  rpc?: ({
@@ -4890,6 +4896,7 @@ export declare const Envelope: {
4890
4896
  e2ee?: number | undefined;
4891
4897
  display_names?: string[] | undefined;
4892
4898
  } | undefined;
4899
+ topic_id?: string | undefined;
4893
4900
  }[] | undefined;
4894
4901
  } | undefined;
4895
4902
  rpc?: {
@@ -6175,6 +6182,7 @@ export declare const Envelope: {
6175
6182
  e2ee?: number | undefined;
6176
6183
  display_names?: string[] | undefined;
6177
6184
  } | undefined;
6185
+ topic_id?: string | undefined;
6178
6186
  }[] | undefined;
6179
6187
  } & {
6180
6188
  notifications?: ({
@@ -6242,6 +6250,7 @@ export declare const Envelope: {
6242
6250
  e2ee?: number | undefined;
6243
6251
  display_names?: string[] | undefined;
6244
6252
  } | undefined;
6253
+ topic_id?: string | undefined;
6245
6254
  }[] & ({
6246
6255
  id?: string | undefined;
6247
6256
  subject?: string | undefined;
@@ -6307,6 +6316,7 @@ export declare const Envelope: {
6307
6316
  e2ee?: number | undefined;
6308
6317
  display_names?: string[] | undefined;
6309
6318
  } | undefined;
6319
+ topic_id?: string | undefined;
6310
6320
  } & {
6311
6321
  id?: string | undefined;
6312
6322
  subject?: string | undefined;
@@ -6444,6 +6454,7 @@ export declare const Envelope: {
6444
6454
  e2ee?: number | undefined;
6445
6455
  display_names?: (string[] & string[] & { [K_210 in Exclude<keyof I_1["notifications"]["notifications"][number]["channel"]["display_names"], keyof string[]>]: never; }) | undefined;
6446
6456
  } & { [K_211 in Exclude<keyof I_1["notifications"]["notifications"][number]["channel"], keyof ChannelDescription1>]: never; }) | undefined;
6457
+ topic_id?: string | undefined;
6447
6458
  } & { [K_212 in Exclude<keyof I_1["notifications"]["notifications"][number], keyof Notification>]: never; })[] & { [K_213 in Exclude<keyof I_1["notifications"]["notifications"], keyof {
6448
6459
  id?: string | undefined;
6449
6460
  subject?: string | undefined;
@@ -6509,6 +6520,7 @@ export declare const Envelope: {
6509
6520
  e2ee?: number | undefined;
6510
6521
  display_names?: string[] | undefined;
6511
6522
  } | undefined;
6523
+ topic_id?: string | undefined;
6512
6524
  }[]>]: never; }) | undefined;
6513
6525
  } & { [K_214 in Exclude<keyof I_1["notifications"], "notifications">]: never; }) | undefined;
6514
6526
  rpc?: ({
@@ -9957,6 +9969,7 @@ export declare const Notifications: {
9957
9969
  e2ee?: number | undefined;
9958
9970
  display_names?: string[] | undefined;
9959
9971
  } | undefined;
9972
+ topic_id?: string | undefined;
9960
9973
  }[] | undefined;
9961
9974
  } & {
9962
9975
  notifications?: ({
@@ -10024,6 +10037,7 @@ export declare const Notifications: {
10024
10037
  e2ee?: number | undefined;
10025
10038
  display_names?: string[] | undefined;
10026
10039
  } | undefined;
10040
+ topic_id?: string | undefined;
10027
10041
  }[] & ({
10028
10042
  id?: string | undefined;
10029
10043
  subject?: string | undefined;
@@ -10089,6 +10103,7 @@ export declare const Notifications: {
10089
10103
  e2ee?: number | undefined;
10090
10104
  display_names?: string[] | undefined;
10091
10105
  } | undefined;
10106
+ topic_id?: string | undefined;
10092
10107
  } & {
10093
10108
  id?: string | undefined;
10094
10109
  subject?: string | undefined;
@@ -10226,6 +10241,7 @@ export declare const Notifications: {
10226
10241
  e2ee?: number | undefined;
10227
10242
  display_names?: (string[] & string[] & { [K_10 in Exclude<keyof I["notifications"][number]["channel"]["display_names"], keyof string[]>]: never; }) | undefined;
10228
10243
  } & { [K_11 in Exclude<keyof I["notifications"][number]["channel"], keyof ChannelDescription1>]: never; }) | undefined;
10244
+ topic_id?: string | undefined;
10229
10245
  } & { [K_12 in Exclude<keyof I["notifications"][number], keyof Notification>]: never; })[] & { [K_13 in Exclude<keyof I["notifications"], keyof {
10230
10246
  id?: string | undefined;
10231
10247
  subject?: string | undefined;
@@ -10291,6 +10307,7 @@ export declare const Notifications: {
10291
10307
  e2ee?: number | undefined;
10292
10308
  display_names?: string[] | undefined;
10293
10309
  } | undefined;
10310
+ topic_id?: string | undefined;
10294
10311
  }[]>]: never; }) | undefined;
10295
10312
  } & { [K_14 in Exclude<keyof I, "notifications">]: never; }>(base?: I | undefined): Notifications;
10296
10313
  fromPartial<I_1 extends {
@@ -10359,6 +10376,7 @@ export declare const Notifications: {
10359
10376
  e2ee?: number | undefined;
10360
10377
  display_names?: string[] | undefined;
10361
10378
  } | undefined;
10379
+ topic_id?: string | undefined;
10362
10380
  }[] | undefined;
10363
10381
  } & {
10364
10382
  notifications?: ({
@@ -10426,6 +10444,7 @@ export declare const Notifications: {
10426
10444
  e2ee?: number | undefined;
10427
10445
  display_names?: string[] | undefined;
10428
10446
  } | undefined;
10447
+ topic_id?: string | undefined;
10429
10448
  }[] & ({
10430
10449
  id?: string | undefined;
10431
10450
  subject?: string | undefined;
@@ -10491,6 +10510,7 @@ export declare const Notifications: {
10491
10510
  e2ee?: number | undefined;
10492
10511
  display_names?: string[] | undefined;
10493
10512
  } | undefined;
10513
+ topic_id?: string | undefined;
10494
10514
  } & {
10495
10515
  id?: string | undefined;
10496
10516
  subject?: string | undefined;
@@ -10628,6 +10648,7 @@ export declare const Notifications: {
10628
10648
  e2ee?: number | undefined;
10629
10649
  display_names?: (string[] & string[] & { [K_25 in Exclude<keyof I_1["notifications"][number]["channel"]["display_names"], keyof string[]>]: never; }) | undefined;
10630
10650
  } & { [K_26 in Exclude<keyof I_1["notifications"][number]["channel"], keyof ChannelDescription1>]: never; }) | undefined;
10651
+ topic_id?: string | undefined;
10631
10652
  } & { [K_27 in Exclude<keyof I_1["notifications"][number], keyof Notification>]: never; })[] & { [K_28 in Exclude<keyof I_1["notifications"], keyof {
10632
10653
  id?: string | undefined;
10633
10654
  subject?: string | undefined;
@@ -10693,6 +10714,7 @@ export declare const Notifications: {
10693
10714
  e2ee?: number | undefined;
10694
10715
  display_names?: string[] | undefined;
10695
10716
  } | undefined;
10717
+ topic_id?: string | undefined;
10696
10718
  }[]>]: never; }) | undefined;
10697
10719
  } & { [K_29 in Exclude<keyof I_1, "notifications">]: never; }>(object: I_1): Notifications;
10698
10720
  };
@@ -3717,7 +3717,8 @@ function createBaseNotification() {
3717
3717
  channel_id: "",
3718
3718
  channel_type: 0,
3719
3719
  avatar_url: "",
3720
- channel: void 0
3720
+ channel: void 0,
3721
+ topic_id: ""
3721
3722
  };
3722
3723
  }
3723
3724
  var Notification = {
@@ -3758,6 +3759,9 @@ var Notification = {
3758
3759
  if (message.channel !== void 0) {
3759
3760
  ChannelDescription.encode(message.channel, writer.uint32(98).fork()).ldelim();
3760
3761
  }
3762
+ if (message.topic_id !== "") {
3763
+ writer.uint32(106).string(message.topic_id);
3764
+ }
3761
3765
  return writer;
3762
3766
  },
3763
3767
  decode(input, length) {
@@ -3839,6 +3843,12 @@ var Notification = {
3839
3843
  }
3840
3844
  message.channel = ChannelDescription.decode(reader, reader.uint32());
3841
3845
  continue;
3846
+ case 13:
3847
+ if (tag !== 106) {
3848
+ break;
3849
+ }
3850
+ message.topic_id = reader.string();
3851
+ continue;
3842
3852
  }
3843
3853
  if ((tag & 7) === 4 || tag === 0) {
3844
3854
  break;
@@ -3860,7 +3870,8 @@ var Notification = {
3860
3870
  channel_id: isSet3(object.channel_id) ? globalThis.String(object.channel_id) : "",
3861
3871
  channel_type: isSet3(object.channel_type) ? globalThis.Number(object.channel_type) : 0,
3862
3872
  avatar_url: isSet3(object.avatar_url) ? globalThis.String(object.avatar_url) : "",
3863
- channel: isSet3(object.channel) ? ChannelDescription.fromJSON(object.channel) : void 0
3873
+ channel: isSet3(object.channel) ? ChannelDescription.fromJSON(object.channel) : void 0,
3874
+ topic_id: isSet3(object.topic_id) ? globalThis.String(object.topic_id) : ""
3864
3875
  };
3865
3876
  },
3866
3877
  toJSON(message) {
@@ -3901,13 +3912,16 @@ var Notification = {
3901
3912
  if (message.channel !== void 0) {
3902
3913
  obj.channel = ChannelDescription.toJSON(message.channel);
3903
3914
  }
3915
+ if (message.topic_id !== "") {
3916
+ obj.topic_id = message.topic_id;
3917
+ }
3904
3918
  return obj;
3905
3919
  },
3906
3920
  create(base) {
3907
3921
  return Notification.fromPartial(base != null ? base : {});
3908
3922
  },
3909
3923
  fromPartial(object) {
3910
- var _a, _b, _c, _d, _e, _f, _g, _h, _i, _j, _k;
3924
+ var _a, _b, _c, _d, _e, _f, _g, _h, _i, _j, _k, _l;
3911
3925
  const message = createBaseNotification();
3912
3926
  message.id = (_a = object.id) != null ? _a : "";
3913
3927
  message.subject = (_b = object.subject) != null ? _b : "";
@@ -3921,6 +3935,7 @@ var Notification = {
3921
3935
  message.channel_type = (_j = object.channel_type) != null ? _j : 0;
3922
3936
  message.avatar_url = (_k = object.avatar_url) != null ? _k : "";
3923
3937
  message.channel = object.channel !== void 0 && object.channel !== null ? ChannelDescription.fromPartial(object.channel) : void 0;
3938
+ message.topic_id = (_l = object.topic_id) != null ? _l : "";
3924
3939
  return message;
3925
3940
  }
3926
3941
  };
@@ -3704,7 +3704,8 @@ function createBaseNotification() {
3704
3704
  channel_id: "",
3705
3705
  channel_type: 0,
3706
3706
  avatar_url: "",
3707
- channel: void 0
3707
+ channel: void 0,
3708
+ topic_id: ""
3708
3709
  };
3709
3710
  }
3710
3711
  var Notification = {
@@ -3745,6 +3746,9 @@ var Notification = {
3745
3746
  if (message.channel !== void 0) {
3746
3747
  ChannelDescription.encode(message.channel, writer.uint32(98).fork()).ldelim();
3747
3748
  }
3749
+ if (message.topic_id !== "") {
3750
+ writer.uint32(106).string(message.topic_id);
3751
+ }
3748
3752
  return writer;
3749
3753
  },
3750
3754
  decode(input, length) {
@@ -3826,6 +3830,12 @@ var Notification = {
3826
3830
  }
3827
3831
  message.channel = ChannelDescription.decode(reader, reader.uint32());
3828
3832
  continue;
3833
+ case 13:
3834
+ if (tag !== 106) {
3835
+ break;
3836
+ }
3837
+ message.topic_id = reader.string();
3838
+ continue;
3829
3839
  }
3830
3840
  if ((tag & 7) === 4 || tag === 0) {
3831
3841
  break;
@@ -3847,7 +3857,8 @@ var Notification = {
3847
3857
  channel_id: isSet3(object.channel_id) ? globalThis.String(object.channel_id) : "",
3848
3858
  channel_type: isSet3(object.channel_type) ? globalThis.Number(object.channel_type) : 0,
3849
3859
  avatar_url: isSet3(object.avatar_url) ? globalThis.String(object.avatar_url) : "",
3850
- channel: isSet3(object.channel) ? ChannelDescription.fromJSON(object.channel) : void 0
3860
+ channel: isSet3(object.channel) ? ChannelDescription.fromJSON(object.channel) : void 0,
3861
+ topic_id: isSet3(object.topic_id) ? globalThis.String(object.topic_id) : ""
3851
3862
  };
3852
3863
  },
3853
3864
  toJSON(message) {
@@ -3888,13 +3899,16 @@ var Notification = {
3888
3899
  if (message.channel !== void 0) {
3889
3900
  obj.channel = ChannelDescription.toJSON(message.channel);
3890
3901
  }
3902
+ if (message.topic_id !== "") {
3903
+ obj.topic_id = message.topic_id;
3904
+ }
3891
3905
  return obj;
3892
3906
  },
3893
3907
  create(base) {
3894
3908
  return Notification.fromPartial(base != null ? base : {});
3895
3909
  },
3896
3910
  fromPartial(object) {
3897
- var _a, _b, _c, _d, _e, _f, _g, _h, _i, _j, _k;
3911
+ var _a, _b, _c, _d, _e, _f, _g, _h, _i, _j, _k, _l;
3898
3912
  const message = createBaseNotification();
3899
3913
  message.id = (_a = object.id) != null ? _a : "";
3900
3914
  message.subject = (_b = object.subject) != null ? _b : "";
@@ -3908,6 +3922,7 @@ var Notification = {
3908
3922
  message.channel_type = (_j = object.channel_type) != null ? _j : 0;
3909
3923
  message.avatar_url = (_k = object.avatar_url) != null ? _k : "";
3910
3924
  message.channel = object.channel !== void 0 && object.channel !== null ? ChannelDescription.fromPartial(object.channel) : void 0;
3925
+ message.topic_id = (_l = object.topic_id) != null ? _l : "";
3911
3926
  return message;
3912
3927
  }
3913
3928
  };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "mezon-js-protobuf",
3
- "version": "1.7.16",
3
+ "version": "1.7.18",
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",