mezon-js-protobuf 1.6.81 → 1.6.83

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
@@ -1,7 +1,7 @@
1
1
  // Code generated by protoc-gen-ts_proto. DO NOT EDIT.
2
2
  // versions:
3
- // protoc-gen-ts_proto v1.181.1
4
- // protoc v5.27.2
3
+ // protoc-gen-ts_proto v1.181.2
4
+ // protoc v5.28.3
5
5
  // source: api/api.proto
6
6
 
7
7
  /* eslint-disable */
@@ -3518,6 +3518,8 @@ export interface TokenSentEvent {
3518
3518
  note: string;
3519
3519
  /** */
3520
3520
  extra_attribute: string;
3521
+ /** */
3522
+ transaction_id: string;
3521
3523
  }
3522
3524
 
3523
3525
  export interface WithdrawTokenRequest {
@@ -33896,7 +33898,15 @@ export const ListAuditLogRequest = {
33896
33898
  };
33897
33899
 
33898
33900
  function createBaseTokenSentEvent(): TokenSentEvent {
33899
- return { sender_id: "", sender_name: "", receiver_id: "", amount: 0, note: "", extra_attribute: "" };
33901
+ return {
33902
+ sender_id: "",
33903
+ sender_name: "",
33904
+ receiver_id: "",
33905
+ amount: 0,
33906
+ note: "",
33907
+ extra_attribute: "",
33908
+ transaction_id: "",
33909
+ };
33900
33910
  }
33901
33911
 
33902
33912
  export const TokenSentEvent = {
@@ -33919,6 +33929,9 @@ export const TokenSentEvent = {
33919
33929
  if (message.extra_attribute !== "") {
33920
33930
  writer.uint32(50).string(message.extra_attribute);
33921
33931
  }
33932
+ if (message.transaction_id !== "") {
33933
+ writer.uint32(58).string(message.transaction_id);
33934
+ }
33922
33935
  return writer;
33923
33936
  },
33924
33937
 
@@ -33971,6 +33984,13 @@ export const TokenSentEvent = {
33971
33984
 
33972
33985
  message.extra_attribute = reader.string();
33973
33986
  continue;
33987
+ case 7:
33988
+ if (tag !== 58) {
33989
+ break;
33990
+ }
33991
+
33992
+ message.transaction_id = reader.string();
33993
+ continue;
33974
33994
  }
33975
33995
  if ((tag & 7) === 4 || tag === 0) {
33976
33996
  break;
@@ -33988,6 +34008,7 @@ export const TokenSentEvent = {
33988
34008
  amount: isSet(object.amount) ? globalThis.Number(object.amount) : 0,
33989
34009
  note: isSet(object.note) ? globalThis.String(object.note) : "",
33990
34010
  extra_attribute: isSet(object.extra_attribute) ? globalThis.String(object.extra_attribute) : "",
34011
+ transaction_id: isSet(object.transaction_id) ? globalThis.String(object.transaction_id) : "",
33991
34012
  };
33992
34013
  },
33993
34014
 
@@ -34011,6 +34032,9 @@ export const TokenSentEvent = {
34011
34032
  if (message.extra_attribute !== "") {
34012
34033
  obj.extra_attribute = message.extra_attribute;
34013
34034
  }
34035
+ if (message.transaction_id !== "") {
34036
+ obj.transaction_id = message.transaction_id;
34037
+ }
34014
34038
  return obj;
34015
34039
  },
34016
34040
 
@@ -34025,6 +34049,7 @@ export const TokenSentEvent = {
34025
34049
  message.amount = object.amount ?? 0;
34026
34050
  message.note = object.note ?? "";
34027
34051
  message.extra_attribute = object.extra_attribute ?? "";
34052
+ message.transaction_id = object.transaction_id ?? "";
34028
34053
  return message;
34029
34054
  },
34030
34055
  };
@@ -2817,6 +2817,8 @@ export interface TokenSentEvent {
2817
2817
  note: string;
2818
2818
  /** */
2819
2819
  extra_attribute: string;
2820
+ /** */
2821
+ transaction_id: string;
2820
2822
  }
2821
2823
  export interface WithdrawTokenRequest {
2822
2824
  /** amount of token */
@@ -19553,6 +19555,7 @@ export declare const TokenSentEvent: {
19553
19555
  amount?: number | undefined;
19554
19556
  note?: string | undefined;
19555
19557
  extra_attribute?: string | undefined;
19558
+ transaction_id?: string | undefined;
19556
19559
  } & {
19557
19560
  sender_id?: string | undefined;
19558
19561
  sender_name?: string | undefined;
@@ -19560,6 +19563,7 @@ export declare const TokenSentEvent: {
19560
19563
  amount?: number | undefined;
19561
19564
  note?: string | undefined;
19562
19565
  extra_attribute?: string | undefined;
19566
+ transaction_id?: string | undefined;
19563
19567
  } & { [K in Exclude<keyof I, keyof TokenSentEvent>]: never; }>(base?: I | undefined): TokenSentEvent;
19564
19568
  fromPartial<I_1 extends {
19565
19569
  sender_id?: string | undefined;
@@ -19568,6 +19572,7 @@ export declare const TokenSentEvent: {
19568
19572
  amount?: number | undefined;
19569
19573
  note?: string | undefined;
19570
19574
  extra_attribute?: string | undefined;
19575
+ transaction_id?: string | undefined;
19571
19576
  } & {
19572
19577
  sender_id?: string | undefined;
19573
19578
  sender_name?: string | undefined;
@@ -19575,6 +19580,7 @@ export declare const TokenSentEvent: {
19575
19580
  amount?: number | undefined;
19576
19581
  note?: string | undefined;
19577
19582
  extra_attribute?: string | undefined;
19583
+ transaction_id?: string | undefined;
19578
19584
  } & { [K_1 in Exclude<keyof I_1, keyof TokenSentEvent>]: never; }>(object: I_1): TokenSentEvent;
19579
19585
  };
19580
19586
  export declare const WithdrawTokenRequest: {
@@ -843,6 +843,8 @@ export interface UserProfileUpdatedEvent {
843
843
  channel_id: string;
844
844
  /** the clan_id */
845
845
  clan_id: string;
846
+ /** the clan_id */
847
+ encrypt_private_key: string;
846
848
  }
847
849
  /** A event when user is added to channel */
848
850
  export interface UserProfileRedis {
@@ -1552,6 +1554,7 @@ export declare const Envelope: {
1552
1554
  about_me?: string | undefined;
1553
1555
  channel_id?: string | undefined;
1554
1556
  clan_id?: string | undefined;
1557
+ encrypt_private_key?: string | undefined;
1555
1558
  } | undefined;
1556
1559
  add_clan_user_event?: {
1557
1560
  clan_id?: string | undefined;
@@ -1747,6 +1750,7 @@ export declare const Envelope: {
1747
1750
  amount?: number | undefined;
1748
1751
  note?: string | undefined;
1749
1752
  extra_attribute?: string | undefined;
1753
+ transaction_id?: string | undefined;
1750
1754
  } | undefined;
1751
1755
  message_button_clicked?: {
1752
1756
  message_id?: string | undefined;
@@ -3395,6 +3399,7 @@ export declare const Envelope: {
3395
3399
  about_me?: string | undefined;
3396
3400
  channel_id?: string | undefined;
3397
3401
  clan_id?: string | undefined;
3402
+ encrypt_private_key?: string | undefined;
3398
3403
  } & {
3399
3404
  user_id?: string | undefined;
3400
3405
  display_name?: string | undefined;
@@ -3402,6 +3407,7 @@ export declare const Envelope: {
3402
3407
  about_me?: string | undefined;
3403
3408
  channel_id?: string | undefined;
3404
3409
  clan_id?: string | undefined;
3410
+ encrypt_private_key?: string | undefined;
3405
3411
  } & { [K_95 in Exclude<keyof I["user_profile_updated_event"], keyof UserProfileUpdatedEvent>]: never; }) | undefined;
3406
3412
  add_clan_user_event?: ({
3407
3413
  clan_id?: string | undefined;
@@ -3953,6 +3959,7 @@ export declare const Envelope: {
3953
3959
  amount?: number | undefined;
3954
3960
  note?: string | undefined;
3955
3961
  extra_attribute?: string | undefined;
3962
+ transaction_id?: string | undefined;
3956
3963
  } & {
3957
3964
  sender_id?: string | undefined;
3958
3965
  sender_name?: string | undefined;
@@ -3960,6 +3967,7 @@ export declare const Envelope: {
3960
3967
  amount?: number | undefined;
3961
3968
  note?: string | undefined;
3962
3969
  extra_attribute?: string | undefined;
3970
+ transaction_id?: string | undefined;
3963
3971
  } & { [K_137 in Exclude<keyof I["token_sent_event"], keyof TokenSentEvent>]: never; }) | undefined;
3964
3972
  message_button_clicked?: ({
3965
3973
  message_id?: string | undefined;
@@ -4684,6 +4692,7 @@ export declare const Envelope: {
4684
4692
  about_me?: string | undefined;
4685
4693
  channel_id?: string | undefined;
4686
4694
  clan_id?: string | undefined;
4695
+ encrypt_private_key?: string | undefined;
4687
4696
  } | undefined;
4688
4697
  add_clan_user_event?: {
4689
4698
  clan_id?: string | undefined;
@@ -4879,6 +4888,7 @@ export declare const Envelope: {
4879
4888
  amount?: number | undefined;
4880
4889
  note?: string | undefined;
4881
4890
  extra_attribute?: string | undefined;
4891
+ transaction_id?: string | undefined;
4882
4892
  } | undefined;
4883
4893
  message_button_clicked?: {
4884
4894
  message_id?: string | undefined;
@@ -6527,6 +6537,7 @@ export declare const Envelope: {
6527
6537
  about_me?: string | undefined;
6528
6538
  channel_id?: string | undefined;
6529
6539
  clan_id?: string | undefined;
6540
+ encrypt_private_key?: string | undefined;
6530
6541
  } & {
6531
6542
  user_id?: string | undefined;
6532
6543
  display_name?: string | undefined;
@@ -6534,6 +6545,7 @@ export declare const Envelope: {
6534
6545
  about_me?: string | undefined;
6535
6546
  channel_id?: string | undefined;
6536
6547
  clan_id?: string | undefined;
6548
+ encrypt_private_key?: string | undefined;
6537
6549
  } & { [K_250 in Exclude<keyof I_1["user_profile_updated_event"], keyof UserProfileUpdatedEvent>]: never; }) | undefined;
6538
6550
  add_clan_user_event?: ({
6539
6551
  clan_id?: string | undefined;
@@ -7085,6 +7097,7 @@ export declare const Envelope: {
7085
7097
  amount?: number | undefined;
7086
7098
  note?: string | undefined;
7087
7099
  extra_attribute?: string | undefined;
7100
+ transaction_id?: string | undefined;
7088
7101
  } & {
7089
7102
  sender_id?: string | undefined;
7090
7103
  sender_name?: string | undefined;
@@ -7092,6 +7105,7 @@ export declare const Envelope: {
7092
7105
  amount?: number | undefined;
7093
7106
  note?: string | undefined;
7094
7107
  extra_attribute?: string | undefined;
7108
+ transaction_id?: string | undefined;
7095
7109
  } & { [K_292 in Exclude<keyof I_1["token_sent_event"], keyof TokenSentEvent>]: never; }) | undefined;
7096
7110
  message_button_clicked?: ({
7097
7111
  message_id?: string | undefined;
@@ -11571,6 +11585,7 @@ export declare const UserProfileUpdatedEvent: {
11571
11585
  about_me?: string | undefined;
11572
11586
  channel_id?: string | undefined;
11573
11587
  clan_id?: string | undefined;
11588
+ encrypt_private_key?: string | undefined;
11574
11589
  } & {
11575
11590
  user_id?: string | undefined;
11576
11591
  display_name?: string | undefined;
@@ -11578,6 +11593,7 @@ export declare const UserProfileUpdatedEvent: {
11578
11593
  about_me?: string | undefined;
11579
11594
  channel_id?: string | undefined;
11580
11595
  clan_id?: string | undefined;
11596
+ encrypt_private_key?: string | undefined;
11581
11597
  } & { [K in Exclude<keyof I, keyof UserProfileUpdatedEvent>]: never; }>(base?: I | undefined): UserProfileUpdatedEvent;
11582
11598
  fromPartial<I_1 extends {
11583
11599
  user_id?: string | undefined;
@@ -11586,6 +11602,7 @@ export declare const UserProfileUpdatedEvent: {
11586
11602
  about_me?: string | undefined;
11587
11603
  channel_id?: string | undefined;
11588
11604
  clan_id?: string | undefined;
11605
+ encrypt_private_key?: string | undefined;
11589
11606
  } & {
11590
11607
  user_id?: string | undefined;
11591
11608
  display_name?: string | undefined;
@@ -11593,6 +11610,7 @@ export declare const UserProfileUpdatedEvent: {
11593
11610
  about_me?: string | undefined;
11594
11611
  channel_id?: string | undefined;
11595
11612
  clan_id?: string | undefined;
11613
+ encrypt_private_key?: string | undefined;
11596
11614
  } & { [K_1 in Exclude<keyof I_1, keyof UserProfileUpdatedEvent>]: never; }>(object: I_1): UserProfileUpdatedEvent;
11597
11615
  };
11598
11616
  export declare const UserProfileRedis: {
@@ -5972,7 +5972,15 @@ var UserActivity = {
5972
5972
  }
5973
5973
  };
5974
5974
  function createBaseTokenSentEvent() {
5975
- return { sender_id: "", sender_name: "", receiver_id: "", amount: 0, note: "", extra_attribute: "" };
5975
+ return {
5976
+ sender_id: "",
5977
+ sender_name: "",
5978
+ receiver_id: "",
5979
+ amount: 0,
5980
+ note: "",
5981
+ extra_attribute: "",
5982
+ transaction_id: ""
5983
+ };
5976
5984
  }
5977
5985
  var TokenSentEvent = {
5978
5986
  encode(message, writer = import_minimal4.default.Writer.create()) {
@@ -5994,6 +6002,9 @@ var TokenSentEvent = {
5994
6002
  if (message.extra_attribute !== "") {
5995
6003
  writer.uint32(50).string(message.extra_attribute);
5996
6004
  }
6005
+ if (message.transaction_id !== "") {
6006
+ writer.uint32(58).string(message.transaction_id);
6007
+ }
5997
6008
  return writer;
5998
6009
  },
5999
6010
  decode(input, length) {
@@ -6039,6 +6050,12 @@ var TokenSentEvent = {
6039
6050
  }
6040
6051
  message.extra_attribute = reader.string();
6041
6052
  continue;
6053
+ case 7:
6054
+ if (tag !== 58) {
6055
+ break;
6056
+ }
6057
+ message.transaction_id = reader.string();
6058
+ continue;
6042
6059
  }
6043
6060
  if ((tag & 7) === 4 || tag === 0) {
6044
6061
  break;
@@ -6054,7 +6071,8 @@ var TokenSentEvent = {
6054
6071
  receiver_id: isSet3(object.receiver_id) ? globalThis.String(object.receiver_id) : "",
6055
6072
  amount: isSet3(object.amount) ? globalThis.Number(object.amount) : 0,
6056
6073
  note: isSet3(object.note) ? globalThis.String(object.note) : "",
6057
- extra_attribute: isSet3(object.extra_attribute) ? globalThis.String(object.extra_attribute) : ""
6074
+ extra_attribute: isSet3(object.extra_attribute) ? globalThis.String(object.extra_attribute) : "",
6075
+ transaction_id: isSet3(object.transaction_id) ? globalThis.String(object.transaction_id) : ""
6058
6076
  };
6059
6077
  },
6060
6078
  toJSON(message) {
@@ -6077,13 +6095,16 @@ var TokenSentEvent = {
6077
6095
  if (message.extra_attribute !== "") {
6078
6096
  obj.extra_attribute = message.extra_attribute;
6079
6097
  }
6098
+ if (message.transaction_id !== "") {
6099
+ obj.transaction_id = message.transaction_id;
6100
+ }
6080
6101
  return obj;
6081
6102
  },
6082
6103
  create(base) {
6083
6104
  return TokenSentEvent.fromPartial(base != null ? base : {});
6084
6105
  },
6085
6106
  fromPartial(object) {
6086
- var _a, _b, _c, _d, _e, _f;
6107
+ var _a, _b, _c, _d, _e, _f, _g;
6087
6108
  const message = createBaseTokenSentEvent();
6088
6109
  message.sender_id = (_a = object.sender_id) != null ? _a : "";
6089
6110
  message.sender_name = (_b = object.sender_name) != null ? _b : "";
@@ -6091,6 +6112,7 @@ var TokenSentEvent = {
6091
6112
  message.amount = (_d = object.amount) != null ? _d : 0;
6092
6113
  message.note = (_e = object.note) != null ? _e : "";
6093
6114
  message.extra_attribute = (_f = object.extra_attribute) != null ? _f : "";
6115
+ message.transaction_id = (_g = object.transaction_id) != null ? _g : "";
6094
6116
  return message;
6095
6117
  }
6096
6118
  };
@@ -12724,7 +12746,15 @@ var ClanProfileUpdatedEvent = {
12724
12746
  }
12725
12747
  };
12726
12748
  function createBaseUserProfileUpdatedEvent() {
12727
- return { user_id: "", display_name: "", avatar: "", about_me: "", channel_id: "", clan_id: "" };
12749
+ return {
12750
+ user_id: "",
12751
+ display_name: "",
12752
+ avatar: "",
12753
+ about_me: "",
12754
+ channel_id: "",
12755
+ clan_id: "",
12756
+ encrypt_private_key: ""
12757
+ };
12728
12758
  }
12729
12759
  var UserProfileUpdatedEvent = {
12730
12760
  encode(message, writer = import_minimal5.default.Writer.create()) {
@@ -12746,6 +12776,9 @@ var UserProfileUpdatedEvent = {
12746
12776
  if (message.clan_id !== "") {
12747
12777
  writer.uint32(50).string(message.clan_id);
12748
12778
  }
12779
+ if (message.encrypt_private_key !== "") {
12780
+ writer.uint32(58).string(message.encrypt_private_key);
12781
+ }
12749
12782
  return writer;
12750
12783
  },
12751
12784
  decode(input, length) {
@@ -12791,6 +12824,12 @@ var UserProfileUpdatedEvent = {
12791
12824
  }
12792
12825
  message.clan_id = reader.string();
12793
12826
  continue;
12827
+ case 7:
12828
+ if (tag !== 58) {
12829
+ break;
12830
+ }
12831
+ message.encrypt_private_key = reader.string();
12832
+ continue;
12794
12833
  }
12795
12834
  if ((tag & 7) === 4 || tag === 0) {
12796
12835
  break;
@@ -12806,7 +12845,8 @@ var UserProfileUpdatedEvent = {
12806
12845
  avatar: isSet4(object.avatar) ? globalThis.String(object.avatar) : "",
12807
12846
  about_me: isSet4(object.about_me) ? globalThis.String(object.about_me) : "",
12808
12847
  channel_id: isSet4(object.channel_id) ? globalThis.String(object.channel_id) : "",
12809
- clan_id: isSet4(object.clan_id) ? globalThis.String(object.clan_id) : ""
12848
+ clan_id: isSet4(object.clan_id) ? globalThis.String(object.clan_id) : "",
12849
+ encrypt_private_key: isSet4(object.encrypt_private_key) ? globalThis.String(object.encrypt_private_key) : ""
12810
12850
  };
12811
12851
  },
12812
12852
  toJSON(message) {
@@ -12829,13 +12869,16 @@ var UserProfileUpdatedEvent = {
12829
12869
  if (message.clan_id !== "") {
12830
12870
  obj.clan_id = message.clan_id;
12831
12871
  }
12872
+ if (message.encrypt_private_key !== "") {
12873
+ obj.encrypt_private_key = message.encrypt_private_key;
12874
+ }
12832
12875
  return obj;
12833
12876
  },
12834
12877
  create(base) {
12835
12878
  return UserProfileUpdatedEvent.fromPartial(base != null ? base : {});
12836
12879
  },
12837
12880
  fromPartial(object) {
12838
- var _a, _b, _c, _d, _e, _f;
12881
+ var _a, _b, _c, _d, _e, _f, _g;
12839
12882
  const message = createBaseUserProfileUpdatedEvent();
12840
12883
  message.user_id = (_a = object.user_id) != null ? _a : "";
12841
12884
  message.display_name = (_b = object.display_name) != null ? _b : "";
@@ -12843,6 +12886,7 @@ var UserProfileUpdatedEvent = {
12843
12886
  message.about_me = (_d = object.about_me) != null ? _d : "";
12844
12887
  message.channel_id = (_e = object.channel_id) != null ? _e : "";
12845
12888
  message.clan_id = (_f = object.clan_id) != null ? _f : "";
12889
+ message.encrypt_private_key = (_g = object.encrypt_private_key) != null ? _g : "";
12846
12890
  return message;
12847
12891
  }
12848
12892
  };
@@ -5959,7 +5959,15 @@ var UserActivity = {
5959
5959
  }
5960
5960
  };
5961
5961
  function createBaseTokenSentEvent() {
5962
- return { sender_id: "", sender_name: "", receiver_id: "", amount: 0, note: "", extra_attribute: "" };
5962
+ return {
5963
+ sender_id: "",
5964
+ sender_name: "",
5965
+ receiver_id: "",
5966
+ amount: 0,
5967
+ note: "",
5968
+ extra_attribute: "",
5969
+ transaction_id: ""
5970
+ };
5963
5971
  }
5964
5972
  var TokenSentEvent = {
5965
5973
  encode(message, writer = import_minimal4.default.Writer.create()) {
@@ -5981,6 +5989,9 @@ var TokenSentEvent = {
5981
5989
  if (message.extra_attribute !== "") {
5982
5990
  writer.uint32(50).string(message.extra_attribute);
5983
5991
  }
5992
+ if (message.transaction_id !== "") {
5993
+ writer.uint32(58).string(message.transaction_id);
5994
+ }
5984
5995
  return writer;
5985
5996
  },
5986
5997
  decode(input, length) {
@@ -6026,6 +6037,12 @@ var TokenSentEvent = {
6026
6037
  }
6027
6038
  message.extra_attribute = reader.string();
6028
6039
  continue;
6040
+ case 7:
6041
+ if (tag !== 58) {
6042
+ break;
6043
+ }
6044
+ message.transaction_id = reader.string();
6045
+ continue;
6029
6046
  }
6030
6047
  if ((tag & 7) === 4 || tag === 0) {
6031
6048
  break;
@@ -6041,7 +6058,8 @@ var TokenSentEvent = {
6041
6058
  receiver_id: isSet3(object.receiver_id) ? globalThis.String(object.receiver_id) : "",
6042
6059
  amount: isSet3(object.amount) ? globalThis.Number(object.amount) : 0,
6043
6060
  note: isSet3(object.note) ? globalThis.String(object.note) : "",
6044
- extra_attribute: isSet3(object.extra_attribute) ? globalThis.String(object.extra_attribute) : ""
6061
+ extra_attribute: isSet3(object.extra_attribute) ? globalThis.String(object.extra_attribute) : "",
6062
+ transaction_id: isSet3(object.transaction_id) ? globalThis.String(object.transaction_id) : ""
6045
6063
  };
6046
6064
  },
6047
6065
  toJSON(message) {
@@ -6064,13 +6082,16 @@ var TokenSentEvent = {
6064
6082
  if (message.extra_attribute !== "") {
6065
6083
  obj.extra_attribute = message.extra_attribute;
6066
6084
  }
6085
+ if (message.transaction_id !== "") {
6086
+ obj.transaction_id = message.transaction_id;
6087
+ }
6067
6088
  return obj;
6068
6089
  },
6069
6090
  create(base) {
6070
6091
  return TokenSentEvent.fromPartial(base != null ? base : {});
6071
6092
  },
6072
6093
  fromPartial(object) {
6073
- var _a, _b, _c, _d, _e, _f;
6094
+ var _a, _b, _c, _d, _e, _f, _g;
6074
6095
  const message = createBaseTokenSentEvent();
6075
6096
  message.sender_id = (_a = object.sender_id) != null ? _a : "";
6076
6097
  message.sender_name = (_b = object.sender_name) != null ? _b : "";
@@ -6078,6 +6099,7 @@ var TokenSentEvent = {
6078
6099
  message.amount = (_d = object.amount) != null ? _d : 0;
6079
6100
  message.note = (_e = object.note) != null ? _e : "";
6080
6101
  message.extra_attribute = (_f = object.extra_attribute) != null ? _f : "";
6102
+ message.transaction_id = (_g = object.transaction_id) != null ? _g : "";
6081
6103
  return message;
6082
6104
  }
6083
6105
  };
@@ -12711,7 +12733,15 @@ var ClanProfileUpdatedEvent = {
12711
12733
  }
12712
12734
  };
12713
12735
  function createBaseUserProfileUpdatedEvent() {
12714
- return { user_id: "", display_name: "", avatar: "", about_me: "", channel_id: "", clan_id: "" };
12736
+ return {
12737
+ user_id: "",
12738
+ display_name: "",
12739
+ avatar: "",
12740
+ about_me: "",
12741
+ channel_id: "",
12742
+ clan_id: "",
12743
+ encrypt_private_key: ""
12744
+ };
12715
12745
  }
12716
12746
  var UserProfileUpdatedEvent = {
12717
12747
  encode(message, writer = import_minimal5.default.Writer.create()) {
@@ -12733,6 +12763,9 @@ var UserProfileUpdatedEvent = {
12733
12763
  if (message.clan_id !== "") {
12734
12764
  writer.uint32(50).string(message.clan_id);
12735
12765
  }
12766
+ if (message.encrypt_private_key !== "") {
12767
+ writer.uint32(58).string(message.encrypt_private_key);
12768
+ }
12736
12769
  return writer;
12737
12770
  },
12738
12771
  decode(input, length) {
@@ -12778,6 +12811,12 @@ var UserProfileUpdatedEvent = {
12778
12811
  }
12779
12812
  message.clan_id = reader.string();
12780
12813
  continue;
12814
+ case 7:
12815
+ if (tag !== 58) {
12816
+ break;
12817
+ }
12818
+ message.encrypt_private_key = reader.string();
12819
+ continue;
12781
12820
  }
12782
12821
  if ((tag & 7) === 4 || tag === 0) {
12783
12822
  break;
@@ -12793,7 +12832,8 @@ var UserProfileUpdatedEvent = {
12793
12832
  avatar: isSet4(object.avatar) ? globalThis.String(object.avatar) : "",
12794
12833
  about_me: isSet4(object.about_me) ? globalThis.String(object.about_me) : "",
12795
12834
  channel_id: isSet4(object.channel_id) ? globalThis.String(object.channel_id) : "",
12796
- clan_id: isSet4(object.clan_id) ? globalThis.String(object.clan_id) : ""
12835
+ clan_id: isSet4(object.clan_id) ? globalThis.String(object.clan_id) : "",
12836
+ encrypt_private_key: isSet4(object.encrypt_private_key) ? globalThis.String(object.encrypt_private_key) : ""
12797
12837
  };
12798
12838
  },
12799
12839
  toJSON(message) {
@@ -12816,13 +12856,16 @@ var UserProfileUpdatedEvent = {
12816
12856
  if (message.clan_id !== "") {
12817
12857
  obj.clan_id = message.clan_id;
12818
12858
  }
12859
+ if (message.encrypt_private_key !== "") {
12860
+ obj.encrypt_private_key = message.encrypt_private_key;
12861
+ }
12819
12862
  return obj;
12820
12863
  },
12821
12864
  create(base) {
12822
12865
  return UserProfileUpdatedEvent.fromPartial(base != null ? base : {});
12823
12866
  },
12824
12867
  fromPartial(object) {
12825
- var _a, _b, _c, _d, _e, _f;
12868
+ var _a, _b, _c, _d, _e, _f, _g;
12826
12869
  const message = createBaseUserProfileUpdatedEvent();
12827
12870
  message.user_id = (_a = object.user_id) != null ? _a : "";
12828
12871
  message.display_name = (_b = object.display_name) != null ? _b : "";
@@ -12830,6 +12873,7 @@ var UserProfileUpdatedEvent = {
12830
12873
  message.about_me = (_d = object.about_me) != null ? _d : "";
12831
12874
  message.channel_id = (_e = object.channel_id) != null ? _e : "";
12832
12875
  message.clan_id = (_f = object.clan_id) != null ? _f : "";
12876
+ message.encrypt_private_key = (_g = object.encrypt_private_key) != null ? _g : "";
12833
12877
  return message;
12834
12878
  }
12835
12879
  };