mezon-js-protobuf 1.8.42 → 1.8.43

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
@@ -1207,6 +1207,8 @@ export interface ClanDesc {
1207
1207
  short_url: string;
1208
1208
  /** prevent anonymous */
1209
1209
  prevent_anonymous: boolean;
1210
+ /** has unread message */
1211
+ has_unread_message: boolean;
1210
1212
  }
1211
1213
 
1212
1214
  /** Clan information */
@@ -11422,6 +11424,7 @@ function createBaseClanDesc(): ClanDesc {
11422
11424
  about: "",
11423
11425
  short_url: "",
11424
11426
  prevent_anonymous: false,
11427
+ has_unread_message: false,
11425
11428
  };
11426
11429
  }
11427
11430
 
@@ -11478,6 +11481,9 @@ export const ClanDesc = {
11478
11481
  if (message.prevent_anonymous !== false) {
11479
11482
  writer.uint32(136).bool(message.prevent_anonymous);
11480
11483
  }
11484
+ if (message.has_unread_message !== false) {
11485
+ writer.uint32(144).bool(message.has_unread_message);
11486
+ }
11481
11487
  return writer;
11482
11488
  },
11483
11489
 
@@ -11607,6 +11613,13 @@ export const ClanDesc = {
11607
11613
 
11608
11614
  message.prevent_anonymous = reader.bool();
11609
11615
  continue;
11616
+ case 18:
11617
+ if (tag !== 144) {
11618
+ break;
11619
+ }
11620
+
11621
+ message.has_unread_message = reader.bool();
11622
+ continue;
11610
11623
  }
11611
11624
  if ((tag & 7) === 4 || tag === 0) {
11612
11625
  break;
@@ -11635,6 +11648,7 @@ export const ClanDesc = {
11635
11648
  about: isSet(object.about) ? globalThis.String(object.about) : "",
11636
11649
  short_url: isSet(object.short_url) ? globalThis.String(object.short_url) : "",
11637
11650
  prevent_anonymous: isSet(object.prevent_anonymous) ? globalThis.Boolean(object.prevent_anonymous) : false,
11651
+ has_unread_message: isSet(object.has_unread_message) ? globalThis.Boolean(object.has_unread_message) : false,
11638
11652
  };
11639
11653
  },
11640
11654
 
@@ -11691,6 +11705,9 @@ export const ClanDesc = {
11691
11705
  if (message.prevent_anonymous !== false) {
11692
11706
  obj.prevent_anonymous = message.prevent_anonymous;
11693
11707
  }
11708
+ if (message.has_unread_message !== false) {
11709
+ obj.has_unread_message = message.has_unread_message;
11710
+ }
11694
11711
  return obj;
11695
11712
  },
11696
11713
 
@@ -11716,6 +11733,7 @@ export const ClanDesc = {
11716
11733
  message.about = object.about ?? "";
11717
11734
  message.short_url = object.short_url ?? "";
11718
11735
  message.prevent_anonymous = object.prevent_anonymous ?? false;
11736
+ message.has_unread_message = object.has_unread_message ?? false;
11719
11737
  return message;
11720
11738
  },
11721
11739
  };
@@ -895,6 +895,8 @@ export interface ClanDesc {
895
895
  short_url: string;
896
896
  /** prevent anonymous */
897
897
  prevent_anonymous: boolean;
898
+ /** has unread message */
899
+ has_unread_message: boolean;
898
900
  }
899
901
  /** Clan information */
900
902
  export interface CreateClanDescRequest {
@@ -8548,6 +8550,7 @@ export declare const ClanDesc: {
8548
8550
  about?: string | undefined;
8549
8551
  short_url?: string | undefined;
8550
8552
  prevent_anonymous?: boolean | undefined;
8553
+ has_unread_message?: boolean | undefined;
8551
8554
  } & {
8552
8555
  creator_id?: string | undefined;
8553
8556
  clan_name?: string | undefined;
@@ -8566,6 +8569,7 @@ export declare const ClanDesc: {
8566
8569
  about?: string | undefined;
8567
8570
  short_url?: string | undefined;
8568
8571
  prevent_anonymous?: boolean | undefined;
8572
+ has_unread_message?: boolean | undefined;
8569
8573
  } & { [K in Exclude<keyof I, keyof ClanDesc>]: never; }>(base?: I | undefined): ClanDesc;
8570
8574
  fromPartial<I_1 extends {
8571
8575
  creator_id?: string | undefined;
@@ -8585,6 +8589,7 @@ export declare const ClanDesc: {
8585
8589
  about?: string | undefined;
8586
8590
  short_url?: string | undefined;
8587
8591
  prevent_anonymous?: boolean | undefined;
8592
+ has_unread_message?: boolean | undefined;
8588
8593
  } & {
8589
8594
  creator_id?: string | undefined;
8590
8595
  clan_name?: string | undefined;
@@ -8603,6 +8608,7 @@ export declare const ClanDesc: {
8603
8608
  about?: string | undefined;
8604
8609
  short_url?: string | undefined;
8605
8610
  prevent_anonymous?: boolean | undefined;
8611
+ has_unread_message?: boolean | undefined;
8606
8612
  } & { [K_1 in Exclude<keyof I_1, keyof ClanDesc>]: never; }>(object: I_1): ClanDesc;
8607
8613
  };
8608
8614
  export declare const CreateClanDescRequest: {
@@ -8761,6 +8767,7 @@ export declare const ClanDescList: {
8761
8767
  about?: string | undefined;
8762
8768
  short_url?: string | undefined;
8763
8769
  prevent_anonymous?: boolean | undefined;
8770
+ has_unread_message?: boolean | undefined;
8764
8771
  }[] | undefined;
8765
8772
  } & {
8766
8773
  clandesc?: ({
@@ -8781,6 +8788,7 @@ export declare const ClanDescList: {
8781
8788
  about?: string | undefined;
8782
8789
  short_url?: string | undefined;
8783
8790
  prevent_anonymous?: boolean | undefined;
8791
+ has_unread_message?: boolean | undefined;
8784
8792
  }[] & ({
8785
8793
  creator_id?: string | undefined;
8786
8794
  clan_name?: string | undefined;
@@ -8799,6 +8807,7 @@ export declare const ClanDescList: {
8799
8807
  about?: string | undefined;
8800
8808
  short_url?: string | undefined;
8801
8809
  prevent_anonymous?: boolean | undefined;
8810
+ has_unread_message?: boolean | undefined;
8802
8811
  } & {
8803
8812
  creator_id?: string | undefined;
8804
8813
  clan_name?: string | undefined;
@@ -8817,6 +8826,7 @@ export declare const ClanDescList: {
8817
8826
  about?: string | undefined;
8818
8827
  short_url?: string | undefined;
8819
8828
  prevent_anonymous?: boolean | undefined;
8829
+ has_unread_message?: boolean | undefined;
8820
8830
  } & { [K in Exclude<keyof I["clandesc"][number], keyof ClanDesc>]: never; })[] & { [K_1 in Exclude<keyof I["clandesc"], keyof {
8821
8831
  creator_id?: string | undefined;
8822
8832
  clan_name?: string | undefined;
@@ -8835,6 +8845,7 @@ export declare const ClanDescList: {
8835
8845
  about?: string | undefined;
8836
8846
  short_url?: string | undefined;
8837
8847
  prevent_anonymous?: boolean | undefined;
8848
+ has_unread_message?: boolean | undefined;
8838
8849
  }[]>]: never; }) | undefined;
8839
8850
  } & { [K_2 in Exclude<keyof I, "clandesc">]: never; }>(base?: I | undefined): ClanDescList;
8840
8851
  fromPartial<I_1 extends {
@@ -8856,6 +8867,7 @@ export declare const ClanDescList: {
8856
8867
  about?: string | undefined;
8857
8868
  short_url?: string | undefined;
8858
8869
  prevent_anonymous?: boolean | undefined;
8870
+ has_unread_message?: boolean | undefined;
8859
8871
  }[] | undefined;
8860
8872
  } & {
8861
8873
  clandesc?: ({
@@ -8876,6 +8888,7 @@ export declare const ClanDescList: {
8876
8888
  about?: string | undefined;
8877
8889
  short_url?: string | undefined;
8878
8890
  prevent_anonymous?: boolean | undefined;
8891
+ has_unread_message?: boolean | undefined;
8879
8892
  }[] & ({
8880
8893
  creator_id?: string | undefined;
8881
8894
  clan_name?: string | undefined;
@@ -8894,6 +8907,7 @@ export declare const ClanDescList: {
8894
8907
  about?: string | undefined;
8895
8908
  short_url?: string | undefined;
8896
8909
  prevent_anonymous?: boolean | undefined;
8910
+ has_unread_message?: boolean | undefined;
8897
8911
  } & {
8898
8912
  creator_id?: string | undefined;
8899
8913
  clan_name?: string | undefined;
@@ -8912,6 +8926,7 @@ export declare const ClanDescList: {
8912
8926
  about?: string | undefined;
8913
8927
  short_url?: string | undefined;
8914
8928
  prevent_anonymous?: boolean | undefined;
8929
+ has_unread_message?: boolean | undefined;
8915
8930
  } & { [K_3 in Exclude<keyof I_1["clandesc"][number], keyof ClanDesc>]: never; })[] & { [K_4 in Exclude<keyof I_1["clandesc"], keyof {
8916
8931
  creator_id?: string | undefined;
8917
8932
  clan_name?: string | undefined;
@@ -8930,6 +8945,7 @@ export declare const ClanDescList: {
8930
8945
  about?: string | undefined;
8931
8946
  short_url?: string | undefined;
8932
8947
  prevent_anonymous?: boolean | undefined;
8948
+ has_unread_message?: boolean | undefined;
8933
8949
  }[]>]: never; }) | undefined;
8934
8950
  } & { [K_5 in Exclude<keyof I_1, "clandesc">]: never; }>(object: I_1): ClanDescList;
8935
8951
  };