mezon-js-protobuf 1.8.29 → 1.8.30

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
@@ -3705,6 +3705,7 @@ export interface GenerateMeetTokenRequest {
3705
3705
  export interface MeetParticipantRequest {
3706
3706
  username: string;
3707
3707
  room_name: string;
3708
+ channel_id: string;
3708
3709
  clan_id: string;
3709
3710
  }
3710
3711
 
@@ -36056,7 +36057,7 @@ export const GenerateMeetTokenRequest = {
36056
36057
  };
36057
36058
 
36058
36059
  function createBaseMeetParticipantRequest(): MeetParticipantRequest {
36059
- return { username: "", room_name: "", clan_id: "" };
36060
+ return { username: "", room_name: "", channel_id: "", clan_id: "" };
36060
36061
  }
36061
36062
 
36062
36063
  export const MeetParticipantRequest = {
@@ -36067,8 +36068,11 @@ export const MeetParticipantRequest = {
36067
36068
  if (message.room_name !== "") {
36068
36069
  writer.uint32(18).string(message.room_name);
36069
36070
  }
36071
+ if (message.channel_id !== "") {
36072
+ writer.uint32(26).string(message.channel_id);
36073
+ }
36070
36074
  if (message.clan_id !== "") {
36071
- writer.uint32(26).string(message.clan_id);
36075
+ writer.uint32(34).string(message.clan_id);
36072
36076
  }
36073
36077
  return writer;
36074
36078
  },
@@ -36099,6 +36103,13 @@ export const MeetParticipantRequest = {
36099
36103
  break;
36100
36104
  }
36101
36105
 
36106
+ message.channel_id = reader.string();
36107
+ continue;
36108
+ case 4:
36109
+ if (tag !== 34) {
36110
+ break;
36111
+ }
36112
+
36102
36113
  message.clan_id = reader.string();
36103
36114
  continue;
36104
36115
  }
@@ -36114,6 +36125,7 @@ export const MeetParticipantRequest = {
36114
36125
  return {
36115
36126
  username: isSet(object.username) ? globalThis.String(object.username) : "",
36116
36127
  room_name: isSet(object.room_name) ? globalThis.String(object.room_name) : "",
36128
+ channel_id: isSet(object.channel_id) ? globalThis.String(object.channel_id) : "",
36117
36129
  clan_id: isSet(object.clan_id) ? globalThis.String(object.clan_id) : "",
36118
36130
  };
36119
36131
  },
@@ -36126,6 +36138,9 @@ export const MeetParticipantRequest = {
36126
36138
  if (message.room_name !== "") {
36127
36139
  obj.room_name = message.room_name;
36128
36140
  }
36141
+ if (message.channel_id !== "") {
36142
+ obj.channel_id = message.channel_id;
36143
+ }
36129
36144
  if (message.clan_id !== "") {
36130
36145
  obj.clan_id = message.clan_id;
36131
36146
  }
@@ -36139,6 +36154,7 @@ export const MeetParticipantRequest = {
36139
36154
  const message = createBaseMeetParticipantRequest();
36140
36155
  message.username = object.username ?? "";
36141
36156
  message.room_name = object.room_name ?? "";
36157
+ message.channel_id = object.channel_id ?? "";
36142
36158
  message.clan_id = object.clan_id ?? "";
36143
36159
  return message;
36144
36160
  },
@@ -2986,6 +2986,7 @@ export interface GenerateMeetTokenRequest {
2986
2986
  export interface MeetParticipantRequest {
2987
2987
  username: string;
2988
2988
  room_name: string;
2989
+ channel_id: string;
2989
2990
  clan_id: string;
2990
2991
  }
2991
2992
  export interface GenerateMeetTokenResponse {
@@ -23521,19 +23522,23 @@ export declare const MeetParticipantRequest: {
23521
23522
  create<I extends {
23522
23523
  username?: string | undefined;
23523
23524
  room_name?: string | undefined;
23525
+ channel_id?: string | undefined;
23524
23526
  clan_id?: string | undefined;
23525
23527
  } & {
23526
23528
  username?: string | undefined;
23527
23529
  room_name?: string | undefined;
23530
+ channel_id?: string | undefined;
23528
23531
  clan_id?: string | undefined;
23529
23532
  } & { [K in Exclude<keyof I, keyof MeetParticipantRequest>]: never; }>(base?: I | undefined): MeetParticipantRequest;
23530
23533
  fromPartial<I_1 extends {
23531
23534
  username?: string | undefined;
23532
23535
  room_name?: string | undefined;
23536
+ channel_id?: string | undefined;
23533
23537
  clan_id?: string | undefined;
23534
23538
  } & {
23535
23539
  username?: string | undefined;
23536
23540
  room_name?: string | undefined;
23541
+ channel_id?: string | undefined;
23537
23542
  clan_id?: string | undefined;
23538
23543
  } & { [K_1 in Exclude<keyof I_1, keyof MeetParticipantRequest>]: never; }>(object: I_1): MeetParticipantRequest;
23539
23544
  };