mezon-js-protobuf 1.8.29 → 1.8.31

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
@@ -1383,6 +1383,12 @@ export interface ClanDesc {
1383
1383
  is_community: boolean;
1384
1384
  /** community banner */
1385
1385
  community_banner: string;
1386
+ /** description */
1387
+ description: string;
1388
+ /** about */
1389
+ about: string;
1390
+ /** short_url */
1391
+ short_url: string;
1386
1392
  }
1387
1393
 
1388
1394
  /** Clan information */
@@ -3705,6 +3711,7 @@ export interface GenerateMeetTokenRequest {
3705
3711
  export interface MeetParticipantRequest {
3706
3712
  username: string;
3707
3713
  room_name: string;
3714
+ channel_id: string;
3708
3715
  clan_id: string;
3709
3716
  }
3710
3717
 
@@ -12278,6 +12285,9 @@ function createBaseClanDesc(): ClanDesc {
12278
12285
  clan_order: 0,
12279
12286
  is_community: false,
12280
12287
  community_banner: "",
12288
+ description: "",
12289
+ about: "",
12290
+ short_url: "",
12281
12291
  };
12282
12292
  }
12283
12293
 
@@ -12322,6 +12332,15 @@ export const ClanDesc = {
12322
12332
  if (message.community_banner !== "") {
12323
12333
  writer.uint32(106).string(message.community_banner);
12324
12334
  }
12335
+ if (message.description !== "") {
12336
+ writer.uint32(114).string(message.description);
12337
+ }
12338
+ if (message.about !== "") {
12339
+ writer.uint32(122).string(message.about);
12340
+ }
12341
+ if (message.short_url !== "") {
12342
+ writer.uint32(130).string(message.short_url);
12343
+ }
12325
12344
  return writer;
12326
12345
  },
12327
12346
 
@@ -12423,6 +12442,27 @@ export const ClanDesc = {
12423
12442
 
12424
12443
  message.community_banner = reader.string();
12425
12444
  continue;
12445
+ case 14:
12446
+ if (tag !== 114) {
12447
+ break;
12448
+ }
12449
+
12450
+ message.description = reader.string();
12451
+ continue;
12452
+ case 15:
12453
+ if (tag !== 122) {
12454
+ break;
12455
+ }
12456
+
12457
+ message.about = reader.string();
12458
+ continue;
12459
+ case 16:
12460
+ if (tag !== 130) {
12461
+ break;
12462
+ }
12463
+
12464
+ message.short_url = reader.string();
12465
+ continue;
12426
12466
  }
12427
12467
  if ((tag & 7) === 4 || tag === 0) {
12428
12468
  break;
@@ -12447,6 +12487,9 @@ export const ClanDesc = {
12447
12487
  clan_order: isSet(object.clan_order) ? globalThis.Number(object.clan_order) : 0,
12448
12488
  is_community: isSet(object.is_community) ? globalThis.Boolean(object.is_community) : false,
12449
12489
  community_banner: isSet(object.community_banner) ? globalThis.String(object.community_banner) : "",
12490
+ description: isSet(object.description) ? globalThis.String(object.description) : "",
12491
+ about: isSet(object.about) ? globalThis.String(object.about) : "",
12492
+ short_url: isSet(object.short_url) ? globalThis.String(object.short_url) : "",
12450
12493
  };
12451
12494
  },
12452
12495
 
@@ -12491,6 +12534,15 @@ export const ClanDesc = {
12491
12534
  if (message.community_banner !== "") {
12492
12535
  obj.community_banner = message.community_banner;
12493
12536
  }
12537
+ if (message.description !== "") {
12538
+ obj.description = message.description;
12539
+ }
12540
+ if (message.about !== "") {
12541
+ obj.about = message.about;
12542
+ }
12543
+ if (message.short_url !== "") {
12544
+ obj.short_url = message.short_url;
12545
+ }
12494
12546
  return obj;
12495
12547
  },
12496
12548
 
@@ -12512,6 +12564,9 @@ export const ClanDesc = {
12512
12564
  message.clan_order = object.clan_order ?? 0;
12513
12565
  message.is_community = object.is_community ?? false;
12514
12566
  message.community_banner = object.community_banner ?? "";
12567
+ message.description = object.description ?? "";
12568
+ message.about = object.about ?? "";
12569
+ message.short_url = object.short_url ?? "";
12515
12570
  return message;
12516
12571
  },
12517
12572
  };
@@ -36056,7 +36111,7 @@ export const GenerateMeetTokenRequest = {
36056
36111
  };
36057
36112
 
36058
36113
  function createBaseMeetParticipantRequest(): MeetParticipantRequest {
36059
- return { username: "", room_name: "", clan_id: "" };
36114
+ return { username: "", room_name: "", channel_id: "", clan_id: "" };
36060
36115
  }
36061
36116
 
36062
36117
  export const MeetParticipantRequest = {
@@ -36067,8 +36122,11 @@ export const MeetParticipantRequest = {
36067
36122
  if (message.room_name !== "") {
36068
36123
  writer.uint32(18).string(message.room_name);
36069
36124
  }
36125
+ if (message.channel_id !== "") {
36126
+ writer.uint32(26).string(message.channel_id);
36127
+ }
36070
36128
  if (message.clan_id !== "") {
36071
- writer.uint32(26).string(message.clan_id);
36129
+ writer.uint32(34).string(message.clan_id);
36072
36130
  }
36073
36131
  return writer;
36074
36132
  },
@@ -36099,6 +36157,13 @@ export const MeetParticipantRequest = {
36099
36157
  break;
36100
36158
  }
36101
36159
 
36160
+ message.channel_id = reader.string();
36161
+ continue;
36162
+ case 4:
36163
+ if (tag !== 34) {
36164
+ break;
36165
+ }
36166
+
36102
36167
  message.clan_id = reader.string();
36103
36168
  continue;
36104
36169
  }
@@ -36114,6 +36179,7 @@ export const MeetParticipantRequest = {
36114
36179
  return {
36115
36180
  username: isSet(object.username) ? globalThis.String(object.username) : "",
36116
36181
  room_name: isSet(object.room_name) ? globalThis.String(object.room_name) : "",
36182
+ channel_id: isSet(object.channel_id) ? globalThis.String(object.channel_id) : "",
36117
36183
  clan_id: isSet(object.clan_id) ? globalThis.String(object.clan_id) : "",
36118
36184
  };
36119
36185
  },
@@ -36126,6 +36192,9 @@ export const MeetParticipantRequest = {
36126
36192
  if (message.room_name !== "") {
36127
36193
  obj.room_name = message.room_name;
36128
36194
  }
36195
+ if (message.channel_id !== "") {
36196
+ obj.channel_id = message.channel_id;
36197
+ }
36129
36198
  if (message.clan_id !== "") {
36130
36199
  obj.clan_id = message.clan_id;
36131
36200
  }
@@ -36139,6 +36208,7 @@ export const MeetParticipantRequest = {
36139
36208
  const message = createBaseMeetParticipantRequest();
36140
36209
  message.username = object.username ?? "";
36141
36210
  message.room_name = object.room_name ?? "";
36211
+ message.channel_id = object.channel_id ?? "";
36142
36212
  message.clan_id = object.clan_id ?? "";
36143
36213
  return message;
36144
36214
  },
@@ -988,6 +988,12 @@ export interface ClanDesc {
988
988
  is_community: boolean;
989
989
  /** community banner */
990
990
  community_banner: string;
991
+ /** description */
992
+ description: string;
993
+ /** about */
994
+ about: string;
995
+ /** short_url */
996
+ short_url: string;
991
997
  }
992
998
  /** Clan information */
993
999
  export interface CreateClanDescRequest {
@@ -2986,6 +2992,7 @@ export interface GenerateMeetTokenRequest {
2986
2992
  export interface MeetParticipantRequest {
2987
2993
  username: string;
2988
2994
  room_name: string;
2995
+ channel_id: string;
2989
2996
  clan_id: string;
2990
2997
  }
2991
2998
  export interface GenerateMeetTokenResponse {
@@ -9804,6 +9811,9 @@ export declare const ClanDesc: {
9804
9811
  clan_order?: number | undefined;
9805
9812
  is_community?: boolean | undefined;
9806
9813
  community_banner?: string | undefined;
9814
+ description?: string | undefined;
9815
+ about?: string | undefined;
9816
+ short_url?: string | undefined;
9807
9817
  } & {
9808
9818
  creator_id?: string | undefined;
9809
9819
  clan_name?: string | undefined;
@@ -9818,6 +9828,9 @@ export declare const ClanDesc: {
9818
9828
  clan_order?: number | undefined;
9819
9829
  is_community?: boolean | undefined;
9820
9830
  community_banner?: string | undefined;
9831
+ description?: string | undefined;
9832
+ about?: string | undefined;
9833
+ short_url?: string | undefined;
9821
9834
  } & { [K in Exclude<keyof I, keyof ClanDesc>]: never; }>(base?: I | undefined): ClanDesc;
9822
9835
  fromPartial<I_1 extends {
9823
9836
  creator_id?: string | undefined;
@@ -9833,6 +9846,9 @@ export declare const ClanDesc: {
9833
9846
  clan_order?: number | undefined;
9834
9847
  is_community?: boolean | undefined;
9835
9848
  community_banner?: string | undefined;
9849
+ description?: string | undefined;
9850
+ about?: string | undefined;
9851
+ short_url?: string | undefined;
9836
9852
  } & {
9837
9853
  creator_id?: string | undefined;
9838
9854
  clan_name?: string | undefined;
@@ -9847,6 +9863,9 @@ export declare const ClanDesc: {
9847
9863
  clan_order?: number | undefined;
9848
9864
  is_community?: boolean | undefined;
9849
9865
  community_banner?: string | undefined;
9866
+ description?: string | undefined;
9867
+ about?: string | undefined;
9868
+ short_url?: string | undefined;
9850
9869
  } & { [K_1 in Exclude<keyof I_1, keyof ClanDesc>]: never; }>(object: I_1): ClanDesc;
9851
9870
  };
9852
9871
  export declare const CreateClanDescRequest: {
@@ -9997,6 +10016,9 @@ export declare const ClanDescList: {
9997
10016
  clan_order?: number | undefined;
9998
10017
  is_community?: boolean | undefined;
9999
10018
  community_banner?: string | undefined;
10019
+ description?: string | undefined;
10020
+ about?: string | undefined;
10021
+ short_url?: string | undefined;
10000
10022
  }[] | undefined;
10001
10023
  } & {
10002
10024
  clandesc?: ({
@@ -10013,6 +10035,9 @@ export declare const ClanDescList: {
10013
10035
  clan_order?: number | undefined;
10014
10036
  is_community?: boolean | undefined;
10015
10037
  community_banner?: string | undefined;
10038
+ description?: string | undefined;
10039
+ about?: string | undefined;
10040
+ short_url?: string | undefined;
10016
10041
  }[] & ({
10017
10042
  creator_id?: string | undefined;
10018
10043
  clan_name?: string | undefined;
@@ -10027,6 +10052,9 @@ export declare const ClanDescList: {
10027
10052
  clan_order?: number | undefined;
10028
10053
  is_community?: boolean | undefined;
10029
10054
  community_banner?: string | undefined;
10055
+ description?: string | undefined;
10056
+ about?: string | undefined;
10057
+ short_url?: string | undefined;
10030
10058
  } & {
10031
10059
  creator_id?: string | undefined;
10032
10060
  clan_name?: string | undefined;
@@ -10041,6 +10069,9 @@ export declare const ClanDescList: {
10041
10069
  clan_order?: number | undefined;
10042
10070
  is_community?: boolean | undefined;
10043
10071
  community_banner?: string | undefined;
10072
+ description?: string | undefined;
10073
+ about?: string | undefined;
10074
+ short_url?: string | undefined;
10044
10075
  } & { [K in Exclude<keyof I["clandesc"][number], keyof ClanDesc>]: never; })[] & { [K_1 in Exclude<keyof I["clandesc"], keyof {
10045
10076
  creator_id?: string | undefined;
10046
10077
  clan_name?: string | undefined;
@@ -10055,6 +10086,9 @@ export declare const ClanDescList: {
10055
10086
  clan_order?: number | undefined;
10056
10087
  is_community?: boolean | undefined;
10057
10088
  community_banner?: string | undefined;
10089
+ description?: string | undefined;
10090
+ about?: string | undefined;
10091
+ short_url?: string | undefined;
10058
10092
  }[]>]: never; }) | undefined;
10059
10093
  } & { [K_2 in Exclude<keyof I, "clandesc">]: never; }>(base?: I | undefined): ClanDescList;
10060
10094
  fromPartial<I_1 extends {
@@ -10072,6 +10106,9 @@ export declare const ClanDescList: {
10072
10106
  clan_order?: number | undefined;
10073
10107
  is_community?: boolean | undefined;
10074
10108
  community_banner?: string | undefined;
10109
+ description?: string | undefined;
10110
+ about?: string | undefined;
10111
+ short_url?: string | undefined;
10075
10112
  }[] | undefined;
10076
10113
  } & {
10077
10114
  clandesc?: ({
@@ -10088,6 +10125,9 @@ export declare const ClanDescList: {
10088
10125
  clan_order?: number | undefined;
10089
10126
  is_community?: boolean | undefined;
10090
10127
  community_banner?: string | undefined;
10128
+ description?: string | undefined;
10129
+ about?: string | undefined;
10130
+ short_url?: string | undefined;
10091
10131
  }[] & ({
10092
10132
  creator_id?: string | undefined;
10093
10133
  clan_name?: string | undefined;
@@ -10102,6 +10142,9 @@ export declare const ClanDescList: {
10102
10142
  clan_order?: number | undefined;
10103
10143
  is_community?: boolean | undefined;
10104
10144
  community_banner?: string | undefined;
10145
+ description?: string | undefined;
10146
+ about?: string | undefined;
10147
+ short_url?: string | undefined;
10105
10148
  } & {
10106
10149
  creator_id?: string | undefined;
10107
10150
  clan_name?: string | undefined;
@@ -10116,6 +10159,9 @@ export declare const ClanDescList: {
10116
10159
  clan_order?: number | undefined;
10117
10160
  is_community?: boolean | undefined;
10118
10161
  community_banner?: string | undefined;
10162
+ description?: string | undefined;
10163
+ about?: string | undefined;
10164
+ short_url?: string | undefined;
10119
10165
  } & { [K_3 in Exclude<keyof I_1["clandesc"][number], keyof ClanDesc>]: never; })[] & { [K_4 in Exclude<keyof I_1["clandesc"], keyof {
10120
10166
  creator_id?: string | undefined;
10121
10167
  clan_name?: string | undefined;
@@ -10130,6 +10176,9 @@ export declare const ClanDescList: {
10130
10176
  clan_order?: number | undefined;
10131
10177
  is_community?: boolean | undefined;
10132
10178
  community_banner?: string | undefined;
10179
+ description?: string | undefined;
10180
+ about?: string | undefined;
10181
+ short_url?: string | undefined;
10133
10182
  }[]>]: never; }) | undefined;
10134
10183
  } & { [K_5 in Exclude<keyof I_1, "clandesc">]: never; }>(object: I_1): ClanDescList;
10135
10184
  };
@@ -23521,19 +23570,23 @@ export declare const MeetParticipantRequest: {
23521
23570
  create<I extends {
23522
23571
  username?: string | undefined;
23523
23572
  room_name?: string | undefined;
23573
+ channel_id?: string | undefined;
23524
23574
  clan_id?: string | undefined;
23525
23575
  } & {
23526
23576
  username?: string | undefined;
23527
23577
  room_name?: string | undefined;
23578
+ channel_id?: string | undefined;
23528
23579
  clan_id?: string | undefined;
23529
23580
  } & { [K in Exclude<keyof I, keyof MeetParticipantRequest>]: never; }>(base?: I | undefined): MeetParticipantRequest;
23530
23581
  fromPartial<I_1 extends {
23531
23582
  username?: string | undefined;
23532
23583
  room_name?: string | undefined;
23584
+ channel_id?: string | undefined;
23533
23585
  clan_id?: string | undefined;
23534
23586
  } & {
23535
23587
  username?: string | undefined;
23536
23588
  room_name?: string | undefined;
23589
+ channel_id?: string | undefined;
23537
23590
  clan_id?: string | undefined;
23538
23591
  } & { [K_1 in Exclude<keyof I_1, keyof MeetParticipantRequest>]: never; }>(object: I_1): MeetParticipantRequest;
23539
23592
  };