mezon-js-protobuf 1.4.52 → 1.4.54

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
@@ -922,10 +922,10 @@ export interface ChannelUserList_ChannelUser {
922
922
 
923
923
  /** A list of users belonging to a channel, along with their role. */
924
924
  export interface VoiceChannelUser {
925
+ /** voice user join id */
926
+ id: string;
925
927
  /** User for a channel. */
926
928
  user_id: string;
927
- /** Cursor for the next page of results, if any. */
928
- jid: string;
929
929
  /** channel id */
930
930
  channel_id: string;
931
931
  /** participant */
@@ -1851,6 +1851,34 @@ export interface ChannelDescription {
1851
1851
  active: number;
1852
1852
  }
1853
1853
 
1854
+ /** direct channel void */
1855
+ export interface DirectChannelVoice {
1856
+ /** The channel id. */
1857
+ channel_id: string;
1858
+ /** The channel lable */
1859
+ channel_label: string;
1860
+ /** The clan of this channel */
1861
+ clan_id: string;
1862
+ /** The clan name */
1863
+ clan_name: string;
1864
+ /** */
1865
+ meeting_code: string;
1866
+ }
1867
+
1868
+ /** A list of ChannelVoice */
1869
+ export interface ChannelVoiceList {
1870
+ /** A list of channel. */
1871
+ channelvoice: DirectChannelVoice[];
1872
+ }
1873
+
1874
+ /** List (and optionally filter) channels. */
1875
+ export interface DirectChannelVoiceRequest {
1876
+ /** user Id */
1877
+ user_id: string[];
1878
+ /** Max number of records to return. Between 1 and 100. */
1879
+ limit: number | undefined;
1880
+ }
1881
+
1854
1882
  /** A list of channel description, usually a result of a list operation. */
1855
1883
  export interface ChannelDescList {
1856
1884
  /** A list of channel. */
@@ -7337,16 +7365,16 @@ export const ChannelUserList_ChannelUser = {
7337
7365
  };
7338
7366
 
7339
7367
  function createBaseVoiceChannelUser(): VoiceChannelUser {
7340
- return { user_id: "", jid: "", channel_id: "", participant: "" };
7368
+ return { id: "", user_id: "", channel_id: "", participant: "" };
7341
7369
  }
7342
7370
 
7343
7371
  export const VoiceChannelUser = {
7344
7372
  encode(message: VoiceChannelUser, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer {
7345
- if (message.user_id !== "") {
7346
- writer.uint32(10).string(message.user_id);
7373
+ if (message.id !== "") {
7374
+ writer.uint32(10).string(message.id);
7347
7375
  }
7348
- if (message.jid !== "") {
7349
- writer.uint32(18).string(message.jid);
7376
+ if (message.user_id !== "") {
7377
+ writer.uint32(18).string(message.user_id);
7350
7378
  }
7351
7379
  if (message.channel_id !== "") {
7352
7380
  writer.uint32(26).string(message.channel_id);
@@ -7365,10 +7393,10 @@ export const VoiceChannelUser = {
7365
7393
  const tag = reader.uint32();
7366
7394
  switch (tag >>> 3) {
7367
7395
  case 1:
7368
- message.user_id = reader.string();
7396
+ message.id = reader.string();
7369
7397
  break;
7370
7398
  case 2:
7371
- message.jid = reader.string();
7399
+ message.user_id = reader.string();
7372
7400
  break;
7373
7401
  case 3:
7374
7402
  message.channel_id = reader.string();
@@ -7386,8 +7414,8 @@ export const VoiceChannelUser = {
7386
7414
 
7387
7415
  fromJSON(object: any): VoiceChannelUser {
7388
7416
  return {
7417
+ id: isSet(object.id) ? String(object.id) : "",
7389
7418
  user_id: isSet(object.user_id) ? String(object.user_id) : "",
7390
- jid: isSet(object.jid) ? String(object.jid) : "",
7391
7419
  channel_id: isSet(object.channel_id) ? String(object.channel_id) : "",
7392
7420
  participant: isSet(object.participant) ? String(object.participant) : "",
7393
7421
  };
@@ -7395,8 +7423,8 @@ export const VoiceChannelUser = {
7395
7423
 
7396
7424
  toJSON(message: VoiceChannelUser): unknown {
7397
7425
  const obj: any = {};
7426
+ message.id !== undefined && (obj.id = message.id);
7398
7427
  message.user_id !== undefined && (obj.user_id = message.user_id);
7399
- message.jid !== undefined && (obj.jid = message.jid);
7400
7428
  message.channel_id !== undefined && (obj.channel_id = message.channel_id);
7401
7429
  message.participant !== undefined && (obj.participant = message.participant);
7402
7430
  return obj;
@@ -7408,8 +7436,8 @@ export const VoiceChannelUser = {
7408
7436
 
7409
7437
  fromPartial<I extends Exact<DeepPartial<VoiceChannelUser>, I>>(object: I): VoiceChannelUser {
7410
7438
  const message = createBaseVoiceChannelUser();
7439
+ message.id = object.id ?? "";
7411
7440
  message.user_id = object.user_id ?? "";
7412
- message.jid = object.jid ?? "";
7413
7441
  message.channel_id = object.channel_id ?? "";
7414
7442
  message.participant = object.participant ?? "";
7415
7443
  return message;
@@ -12919,6 +12947,220 @@ export const ChannelDescription = {
12919
12947
  },
12920
12948
  };
12921
12949
 
12950
+ function createBaseDirectChannelVoice(): DirectChannelVoice {
12951
+ return { channel_id: "", channel_label: "", clan_id: "", clan_name: "", meeting_code: "" };
12952
+ }
12953
+
12954
+ export const DirectChannelVoice = {
12955
+ encode(message: DirectChannelVoice, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer {
12956
+ if (message.channel_id !== "") {
12957
+ writer.uint32(10).string(message.channel_id);
12958
+ }
12959
+ if (message.channel_label !== "") {
12960
+ writer.uint32(18).string(message.channel_label);
12961
+ }
12962
+ if (message.clan_id !== "") {
12963
+ writer.uint32(26).string(message.clan_id);
12964
+ }
12965
+ if (message.clan_name !== "") {
12966
+ writer.uint32(34).string(message.clan_name);
12967
+ }
12968
+ if (message.meeting_code !== "") {
12969
+ writer.uint32(42).string(message.meeting_code);
12970
+ }
12971
+ return writer;
12972
+ },
12973
+
12974
+ decode(input: _m0.Reader | Uint8Array, length?: number): DirectChannelVoice {
12975
+ const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input);
12976
+ let end = length === undefined ? reader.len : reader.pos + length;
12977
+ const message = createBaseDirectChannelVoice();
12978
+ while (reader.pos < end) {
12979
+ const tag = reader.uint32();
12980
+ switch (tag >>> 3) {
12981
+ case 1:
12982
+ message.channel_id = reader.string();
12983
+ break;
12984
+ case 2:
12985
+ message.channel_label = reader.string();
12986
+ break;
12987
+ case 3:
12988
+ message.clan_id = reader.string();
12989
+ break;
12990
+ case 4:
12991
+ message.clan_name = reader.string();
12992
+ break;
12993
+ case 5:
12994
+ message.meeting_code = reader.string();
12995
+ break;
12996
+ default:
12997
+ reader.skipType(tag & 7);
12998
+ break;
12999
+ }
13000
+ }
13001
+ return message;
13002
+ },
13003
+
13004
+ fromJSON(object: any): DirectChannelVoice {
13005
+ return {
13006
+ channel_id: isSet(object.channel_id) ? String(object.channel_id) : "",
13007
+ channel_label: isSet(object.channel_label) ? String(object.channel_label) : "",
13008
+ clan_id: isSet(object.clan_id) ? String(object.clan_id) : "",
13009
+ clan_name: isSet(object.clan_name) ? String(object.clan_name) : "",
13010
+ meeting_code: isSet(object.meeting_code) ? String(object.meeting_code) : "",
13011
+ };
13012
+ },
13013
+
13014
+ toJSON(message: DirectChannelVoice): unknown {
13015
+ const obj: any = {};
13016
+ message.channel_id !== undefined && (obj.channel_id = message.channel_id);
13017
+ message.channel_label !== undefined && (obj.channel_label = message.channel_label);
13018
+ message.clan_id !== undefined && (obj.clan_id = message.clan_id);
13019
+ message.clan_name !== undefined && (obj.clan_name = message.clan_name);
13020
+ message.meeting_code !== undefined && (obj.meeting_code = message.meeting_code);
13021
+ return obj;
13022
+ },
13023
+
13024
+ create<I extends Exact<DeepPartial<DirectChannelVoice>, I>>(base?: I): DirectChannelVoice {
13025
+ return DirectChannelVoice.fromPartial(base ?? {});
13026
+ },
13027
+
13028
+ fromPartial<I extends Exact<DeepPartial<DirectChannelVoice>, I>>(object: I): DirectChannelVoice {
13029
+ const message = createBaseDirectChannelVoice();
13030
+ message.channel_id = object.channel_id ?? "";
13031
+ message.channel_label = object.channel_label ?? "";
13032
+ message.clan_id = object.clan_id ?? "";
13033
+ message.clan_name = object.clan_name ?? "";
13034
+ message.meeting_code = object.meeting_code ?? "";
13035
+ return message;
13036
+ },
13037
+ };
13038
+
13039
+ function createBaseChannelVoiceList(): ChannelVoiceList {
13040
+ return { channelvoice: [] };
13041
+ }
13042
+
13043
+ export const ChannelVoiceList = {
13044
+ encode(message: ChannelVoiceList, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer {
13045
+ for (const v of message.channelvoice) {
13046
+ DirectChannelVoice.encode(v!, writer.uint32(10).fork()).ldelim();
13047
+ }
13048
+ return writer;
13049
+ },
13050
+
13051
+ decode(input: _m0.Reader | Uint8Array, length?: number): ChannelVoiceList {
13052
+ const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input);
13053
+ let end = length === undefined ? reader.len : reader.pos + length;
13054
+ const message = createBaseChannelVoiceList();
13055
+ while (reader.pos < end) {
13056
+ const tag = reader.uint32();
13057
+ switch (tag >>> 3) {
13058
+ case 1:
13059
+ message.channelvoice.push(DirectChannelVoice.decode(reader, reader.uint32()));
13060
+ break;
13061
+ default:
13062
+ reader.skipType(tag & 7);
13063
+ break;
13064
+ }
13065
+ }
13066
+ return message;
13067
+ },
13068
+
13069
+ fromJSON(object: any): ChannelVoiceList {
13070
+ return {
13071
+ channelvoice: Array.isArray(object?.channelvoice)
13072
+ ? object.channelvoice.map((e: any) => DirectChannelVoice.fromJSON(e))
13073
+ : [],
13074
+ };
13075
+ },
13076
+
13077
+ toJSON(message: ChannelVoiceList): unknown {
13078
+ const obj: any = {};
13079
+ if (message.channelvoice) {
13080
+ obj.channelvoice = message.channelvoice.map((e) => e ? DirectChannelVoice.toJSON(e) : undefined);
13081
+ } else {
13082
+ obj.channelvoice = [];
13083
+ }
13084
+ return obj;
13085
+ },
13086
+
13087
+ create<I extends Exact<DeepPartial<ChannelVoiceList>, I>>(base?: I): ChannelVoiceList {
13088
+ return ChannelVoiceList.fromPartial(base ?? {});
13089
+ },
13090
+
13091
+ fromPartial<I extends Exact<DeepPartial<ChannelVoiceList>, I>>(object: I): ChannelVoiceList {
13092
+ const message = createBaseChannelVoiceList();
13093
+ message.channelvoice = object.channelvoice?.map((e) => DirectChannelVoice.fromPartial(e)) || [];
13094
+ return message;
13095
+ },
13096
+ };
13097
+
13098
+ function createBaseDirectChannelVoiceRequest(): DirectChannelVoiceRequest {
13099
+ return { user_id: [], limit: undefined };
13100
+ }
13101
+
13102
+ export const DirectChannelVoiceRequest = {
13103
+ encode(message: DirectChannelVoiceRequest, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer {
13104
+ for (const v of message.user_id) {
13105
+ writer.uint32(10).string(v!);
13106
+ }
13107
+ if (message.limit !== undefined) {
13108
+ Int32Value.encode({ value: message.limit! }, writer.uint32(18).fork()).ldelim();
13109
+ }
13110
+ return writer;
13111
+ },
13112
+
13113
+ decode(input: _m0.Reader | Uint8Array, length?: number): DirectChannelVoiceRequest {
13114
+ const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input);
13115
+ let end = length === undefined ? reader.len : reader.pos + length;
13116
+ const message = createBaseDirectChannelVoiceRequest();
13117
+ while (reader.pos < end) {
13118
+ const tag = reader.uint32();
13119
+ switch (tag >>> 3) {
13120
+ case 1:
13121
+ message.user_id.push(reader.string());
13122
+ break;
13123
+ case 2:
13124
+ message.limit = Int32Value.decode(reader, reader.uint32()).value;
13125
+ break;
13126
+ default:
13127
+ reader.skipType(tag & 7);
13128
+ break;
13129
+ }
13130
+ }
13131
+ return message;
13132
+ },
13133
+
13134
+ fromJSON(object: any): DirectChannelVoiceRequest {
13135
+ return {
13136
+ user_id: Array.isArray(object?.user_id) ? object.user_id.map((e: any) => String(e)) : [],
13137
+ limit: isSet(object.limit) ? Number(object.limit) : undefined,
13138
+ };
13139
+ },
13140
+
13141
+ toJSON(message: DirectChannelVoiceRequest): unknown {
13142
+ const obj: any = {};
13143
+ if (message.user_id) {
13144
+ obj.user_id = message.user_id.map((e) => e);
13145
+ } else {
13146
+ obj.user_id = [];
13147
+ }
13148
+ message.limit !== undefined && (obj.limit = message.limit);
13149
+ return obj;
13150
+ },
13151
+
13152
+ create<I extends Exact<DeepPartial<DirectChannelVoiceRequest>, I>>(base?: I): DirectChannelVoiceRequest {
13153
+ return DirectChannelVoiceRequest.fromPartial(base ?? {});
13154
+ },
13155
+
13156
+ fromPartial<I extends Exact<DeepPartial<DirectChannelVoiceRequest>, I>>(object: I): DirectChannelVoiceRequest {
13157
+ const message = createBaseDirectChannelVoiceRequest();
13158
+ message.user_id = object.user_id?.map((e) => e) || [];
13159
+ message.limit = object.limit ?? undefined;
13160
+ return message;
13161
+ },
13162
+ };
13163
+
12922
13164
  function createBaseChannelDescList(): ChannelDescList {
12923
13165
  return { channeldesc: [], next_cursor: "", prev_cursor: "", cacheable_cursor: "" };
12924
13166
  }
@@ -637,10 +637,10 @@ export interface ChannelUserList_ChannelUser {
637
637
  }
638
638
  /** A list of users belonging to a channel, along with their role. */
639
639
  export interface VoiceChannelUser {
640
+ /** voice user join id */
641
+ id: string;
640
642
  /** User for a channel. */
641
643
  user_id: string;
642
- /** Cursor for the next page of results, if any. */
643
- jid: string;
644
644
  /** channel id */
645
645
  channel_id: string;
646
646
  /** participant */
@@ -1371,6 +1371,31 @@ export interface ChannelDescription {
1371
1371
  /** */
1372
1372
  active: number;
1373
1373
  }
1374
+ /** direct channel void */
1375
+ export interface DirectChannelVoice {
1376
+ /** The channel id. */
1377
+ channel_id: string;
1378
+ /** The channel lable */
1379
+ channel_label: string;
1380
+ /** The clan of this channel */
1381
+ clan_id: string;
1382
+ /** The clan name */
1383
+ clan_name: string;
1384
+ /** */
1385
+ meeting_code: string;
1386
+ }
1387
+ /** A list of ChannelVoice */
1388
+ export interface ChannelVoiceList {
1389
+ /** A list of channel. */
1390
+ channelvoice: DirectChannelVoice[];
1391
+ }
1392
+ /** List (and optionally filter) channels. */
1393
+ export interface DirectChannelVoiceRequest {
1394
+ /** user Id */
1395
+ user_id: string[];
1396
+ /** Max number of records to return. Between 1 and 100. */
1397
+ limit: number | undefined;
1398
+ }
1374
1399
  /** A list of channel description, usually a result of a list operation. */
1375
1400
  export interface ChannelDescList {
1376
1401
  /** A list of channel. */
@@ -5740,24 +5765,24 @@ export declare const VoiceChannelUser: {
5740
5765
  fromJSON(object: any): VoiceChannelUser;
5741
5766
  toJSON(message: VoiceChannelUser): unknown;
5742
5767
  create<I extends {
5768
+ id?: string | undefined;
5743
5769
  user_id?: string | undefined;
5744
- jid?: string | undefined;
5745
5770
  channel_id?: string | undefined;
5746
5771
  participant?: string | undefined;
5747
5772
  } & {
5773
+ id?: string | undefined;
5748
5774
  user_id?: string | undefined;
5749
- jid?: string | undefined;
5750
5775
  channel_id?: string | undefined;
5751
5776
  participant?: string | undefined;
5752
5777
  } & { [K in Exclude<keyof I, keyof VoiceChannelUser>]: never; }>(base?: I | undefined): VoiceChannelUser;
5753
5778
  fromPartial<I_1 extends {
5779
+ id?: string | undefined;
5754
5780
  user_id?: string | undefined;
5755
- jid?: string | undefined;
5756
5781
  channel_id?: string | undefined;
5757
5782
  participant?: string | undefined;
5758
5783
  } & {
5784
+ id?: string | undefined;
5759
5785
  user_id?: string | undefined;
5760
- jid?: string | undefined;
5761
5786
  channel_id?: string | undefined;
5762
5787
  participant?: string | undefined;
5763
5788
  } & { [K_1 in Exclude<keyof I_1, keyof VoiceChannelUser>]: never; }>(object: I_1): VoiceChannelUser;
@@ -5769,60 +5794,60 @@ export declare const VoiceChannelUserList: {
5769
5794
  toJSON(message: VoiceChannelUserList): unknown;
5770
5795
  create<I extends {
5771
5796
  voice_channel_users?: {
5797
+ id?: string | undefined;
5772
5798
  user_id?: string | undefined;
5773
- jid?: string | undefined;
5774
5799
  channel_id?: string | undefined;
5775
5800
  participant?: string | undefined;
5776
5801
  }[] | undefined;
5777
5802
  } & {
5778
5803
  voice_channel_users?: ({
5804
+ id?: string | undefined;
5779
5805
  user_id?: string | undefined;
5780
- jid?: string | undefined;
5781
5806
  channel_id?: string | undefined;
5782
5807
  participant?: string | undefined;
5783
5808
  }[] & ({
5809
+ id?: string | undefined;
5784
5810
  user_id?: string | undefined;
5785
- jid?: string | undefined;
5786
5811
  channel_id?: string | undefined;
5787
5812
  participant?: string | undefined;
5788
5813
  } & {
5814
+ id?: string | undefined;
5789
5815
  user_id?: string | undefined;
5790
- jid?: string | undefined;
5791
5816
  channel_id?: string | undefined;
5792
5817
  participant?: string | undefined;
5793
5818
  } & { [K in Exclude<keyof I["voice_channel_users"][number], keyof VoiceChannelUser>]: never; })[] & { [K_1 in Exclude<keyof I["voice_channel_users"], keyof {
5819
+ id?: string | undefined;
5794
5820
  user_id?: string | undefined;
5795
- jid?: string | undefined;
5796
5821
  channel_id?: string | undefined;
5797
5822
  participant?: string | undefined;
5798
5823
  }[]>]: never; }) | undefined;
5799
5824
  } & { [K_2 in Exclude<keyof I, "voice_channel_users">]: never; }>(base?: I | undefined): VoiceChannelUserList;
5800
5825
  fromPartial<I_1 extends {
5801
5826
  voice_channel_users?: {
5827
+ id?: string | undefined;
5802
5828
  user_id?: string | undefined;
5803
- jid?: string | undefined;
5804
5829
  channel_id?: string | undefined;
5805
5830
  participant?: string | undefined;
5806
5831
  }[] | undefined;
5807
5832
  } & {
5808
5833
  voice_channel_users?: ({
5834
+ id?: string | undefined;
5809
5835
  user_id?: string | undefined;
5810
- jid?: string | undefined;
5811
5836
  channel_id?: string | undefined;
5812
5837
  participant?: string | undefined;
5813
5838
  }[] & ({
5839
+ id?: string | undefined;
5814
5840
  user_id?: string | undefined;
5815
- jid?: string | undefined;
5816
5841
  channel_id?: string | undefined;
5817
5842
  participant?: string | undefined;
5818
5843
  } & {
5844
+ id?: string | undefined;
5819
5845
  user_id?: string | undefined;
5820
- jid?: string | undefined;
5821
5846
  channel_id?: string | undefined;
5822
5847
  participant?: string | undefined;
5823
5848
  } & { [K_3 in Exclude<keyof I_1["voice_channel_users"][number], keyof VoiceChannelUser>]: never; })[] & { [K_4 in Exclude<keyof I_1["voice_channel_users"], keyof {
5849
+ id?: string | undefined;
5824
5850
  user_id?: string | undefined;
5825
- jid?: string | undefined;
5826
5851
  channel_id?: string | undefined;
5827
5852
  participant?: string | undefined;
5828
5853
  }[]>]: never; }) | undefined;
@@ -9492,6 +9517,134 @@ export declare const ChannelDescription: {
9492
9517
  active?: number | undefined;
9493
9518
  } & { [K_9 in Exclude<keyof I_1, keyof ChannelDescription>]: never; }>(object: I_1): ChannelDescription;
9494
9519
  };
9520
+ export declare const DirectChannelVoice: {
9521
+ encode(message: DirectChannelVoice, writer?: _m0.Writer): _m0.Writer;
9522
+ decode(input: _m0.Reader | Uint8Array, length?: number): DirectChannelVoice;
9523
+ fromJSON(object: any): DirectChannelVoice;
9524
+ toJSON(message: DirectChannelVoice): unknown;
9525
+ create<I extends {
9526
+ channel_id?: string | undefined;
9527
+ channel_label?: string | undefined;
9528
+ clan_id?: string | undefined;
9529
+ clan_name?: string | undefined;
9530
+ meeting_code?: string | undefined;
9531
+ } & {
9532
+ channel_id?: string | undefined;
9533
+ channel_label?: string | undefined;
9534
+ clan_id?: string | undefined;
9535
+ clan_name?: string | undefined;
9536
+ meeting_code?: string | undefined;
9537
+ } & { [K in Exclude<keyof I, keyof DirectChannelVoice>]: never; }>(base?: I | undefined): DirectChannelVoice;
9538
+ fromPartial<I_1 extends {
9539
+ channel_id?: string | undefined;
9540
+ channel_label?: string | undefined;
9541
+ clan_id?: string | undefined;
9542
+ clan_name?: string | undefined;
9543
+ meeting_code?: string | undefined;
9544
+ } & {
9545
+ channel_id?: string | undefined;
9546
+ channel_label?: string | undefined;
9547
+ clan_id?: string | undefined;
9548
+ clan_name?: string | undefined;
9549
+ meeting_code?: string | undefined;
9550
+ } & { [K_1 in Exclude<keyof I_1, keyof DirectChannelVoice>]: never; }>(object: I_1): DirectChannelVoice;
9551
+ };
9552
+ export declare const ChannelVoiceList: {
9553
+ encode(message: ChannelVoiceList, writer?: _m0.Writer): _m0.Writer;
9554
+ decode(input: _m0.Reader | Uint8Array, length?: number): ChannelVoiceList;
9555
+ fromJSON(object: any): ChannelVoiceList;
9556
+ toJSON(message: ChannelVoiceList): unknown;
9557
+ create<I extends {
9558
+ channelvoice?: {
9559
+ channel_id?: string | undefined;
9560
+ channel_label?: string | undefined;
9561
+ clan_id?: string | undefined;
9562
+ clan_name?: string | undefined;
9563
+ meeting_code?: string | undefined;
9564
+ }[] | undefined;
9565
+ } & {
9566
+ channelvoice?: ({
9567
+ channel_id?: string | undefined;
9568
+ channel_label?: string | undefined;
9569
+ clan_id?: string | undefined;
9570
+ clan_name?: string | undefined;
9571
+ meeting_code?: string | undefined;
9572
+ }[] & ({
9573
+ channel_id?: string | undefined;
9574
+ channel_label?: string | undefined;
9575
+ clan_id?: string | undefined;
9576
+ clan_name?: string | undefined;
9577
+ meeting_code?: string | undefined;
9578
+ } & {
9579
+ channel_id?: string | undefined;
9580
+ channel_label?: string | undefined;
9581
+ clan_id?: string | undefined;
9582
+ clan_name?: string | undefined;
9583
+ meeting_code?: string | undefined;
9584
+ } & { [K in Exclude<keyof I["channelvoice"][number], keyof DirectChannelVoice>]: never; })[] & { [K_1 in Exclude<keyof I["channelvoice"], keyof {
9585
+ channel_id?: string | undefined;
9586
+ channel_label?: string | undefined;
9587
+ clan_id?: string | undefined;
9588
+ clan_name?: string | undefined;
9589
+ meeting_code?: string | undefined;
9590
+ }[]>]: never; }) | undefined;
9591
+ } & { [K_2 in Exclude<keyof I, "channelvoice">]: never; }>(base?: I | undefined): ChannelVoiceList;
9592
+ fromPartial<I_1 extends {
9593
+ channelvoice?: {
9594
+ channel_id?: string | undefined;
9595
+ channel_label?: string | undefined;
9596
+ clan_id?: string | undefined;
9597
+ clan_name?: string | undefined;
9598
+ meeting_code?: string | undefined;
9599
+ }[] | undefined;
9600
+ } & {
9601
+ channelvoice?: ({
9602
+ channel_id?: string | undefined;
9603
+ channel_label?: string | undefined;
9604
+ clan_id?: string | undefined;
9605
+ clan_name?: string | undefined;
9606
+ meeting_code?: string | undefined;
9607
+ }[] & ({
9608
+ channel_id?: string | undefined;
9609
+ channel_label?: string | undefined;
9610
+ clan_id?: string | undefined;
9611
+ clan_name?: string | undefined;
9612
+ meeting_code?: string | undefined;
9613
+ } & {
9614
+ channel_id?: string | undefined;
9615
+ channel_label?: string | undefined;
9616
+ clan_id?: string | undefined;
9617
+ clan_name?: string | undefined;
9618
+ meeting_code?: string | undefined;
9619
+ } & { [K_3 in Exclude<keyof I_1["channelvoice"][number], keyof DirectChannelVoice>]: never; })[] & { [K_4 in Exclude<keyof I_1["channelvoice"], keyof {
9620
+ channel_id?: string | undefined;
9621
+ channel_label?: string | undefined;
9622
+ clan_id?: string | undefined;
9623
+ clan_name?: string | undefined;
9624
+ meeting_code?: string | undefined;
9625
+ }[]>]: never; }) | undefined;
9626
+ } & { [K_5 in Exclude<keyof I_1, "channelvoice">]: never; }>(object: I_1): ChannelVoiceList;
9627
+ };
9628
+ export declare const DirectChannelVoiceRequest: {
9629
+ encode(message: DirectChannelVoiceRequest, writer?: _m0.Writer): _m0.Writer;
9630
+ decode(input: _m0.Reader | Uint8Array, length?: number): DirectChannelVoiceRequest;
9631
+ fromJSON(object: any): DirectChannelVoiceRequest;
9632
+ toJSON(message: DirectChannelVoiceRequest): unknown;
9633
+ create<I extends {
9634
+ user_id?: string[] | undefined;
9635
+ limit?: number | undefined;
9636
+ } & {
9637
+ user_id?: (string[] & string[] & { [K in Exclude<keyof I["user_id"], keyof string[]>]: never; }) | undefined;
9638
+ limit?: number | undefined;
9639
+ } & { [K_1 in Exclude<keyof I, keyof DirectChannelVoiceRequest>]: never; }>(base?: I | undefined): DirectChannelVoiceRequest;
9640
+ fromPartial<I_1 extends {
9641
+ user_id?: string[] | undefined;
9642
+ limit?: number | undefined;
9643
+ } & {
9644
+ user_id?: (string[] & string[] & { [K_2 in Exclude<keyof I_1["user_id"], keyof string[]>]: never; }) | undefined;
9645
+ limit?: number | undefined;
9646
+ } & { [K_3 in Exclude<keyof I_1, keyof DirectChannelVoiceRequest>]: never; }>(object: I_1): DirectChannelVoiceRequest;
9647
+ };
9495
9648
  export declare const ChannelDescList: {
9496
9649
  encode(message: ChannelDescList, writer?: _m0.Writer): _m0.Writer;
9497
9650
  decode(input: _m0.Reader | Uint8Array, length?: number): ChannelDescList;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "mezon-js-protobuf",
3
- "version": "1.4.52",
3
+ "version": "1.4.54",
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",