mezon-js-protobuf 1.6.40 → 1.6.42

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
@@ -3456,6 +3456,7 @@ export interface AuditLog {
3456
3456
  entity_id: string;
3457
3457
  details: string;
3458
3458
  time_log: Date | undefined;
3459
+ channel_id: string;
3459
3460
  }
3460
3461
 
3461
3462
  export interface ListAuditLog {
@@ -3806,6 +3807,12 @@ export interface ListSdTopicRequest {
3806
3807
  limit: number;
3807
3808
  }
3808
3809
 
3810
+ export interface DeleteSdTopicRequest {
3811
+ channel_id: string;
3812
+ id: string;
3813
+ clan_id: string;
3814
+ }
3815
+
3809
3816
  function createBaseAccount(): Account {
3810
3817
  return {
3811
3818
  user: undefined,
@@ -33288,6 +33295,7 @@ function createBaseAuditLog(): AuditLog {
33288
33295
  entity_id: "",
33289
33296
  details: "",
33290
33297
  time_log: undefined,
33298
+ channel_id: "",
33291
33299
  };
33292
33300
  }
33293
33301
 
@@ -33317,6 +33325,9 @@ export const AuditLog = {
33317
33325
  if (message.time_log !== undefined) {
33318
33326
  Timestamp.encode(toTimestamp(message.time_log), writer.uint32(66).fork()).ldelim();
33319
33327
  }
33328
+ if (message.channel_id !== "") {
33329
+ writer.uint32(74).string(message.channel_id);
33330
+ }
33320
33331
  return writer;
33321
33332
  },
33322
33333
 
@@ -33383,6 +33394,13 @@ export const AuditLog = {
33383
33394
 
33384
33395
  message.time_log = fromTimestamp(Timestamp.decode(reader, reader.uint32()));
33385
33396
  continue;
33397
+ case 9:
33398
+ if (tag !== 74) {
33399
+ break;
33400
+ }
33401
+
33402
+ message.channel_id = reader.string();
33403
+ continue;
33386
33404
  }
33387
33405
  if ((tag & 7) === 4 || tag === 0) {
33388
33406
  break;
@@ -33402,6 +33420,7 @@ export const AuditLog = {
33402
33420
  entity_id: isSet(object.entity_id) ? globalThis.String(object.entity_id) : "",
33403
33421
  details: isSet(object.details) ? globalThis.String(object.details) : "",
33404
33422
  time_log: isSet(object.time_log) ? fromJsonTimestamp(object.time_log) : undefined,
33423
+ channel_id: isSet(object.channel_id) ? globalThis.String(object.channel_id) : "",
33405
33424
  };
33406
33425
  },
33407
33426
 
@@ -33431,6 +33450,9 @@ export const AuditLog = {
33431
33450
  if (message.time_log !== undefined) {
33432
33451
  obj.time_log = message.time_log.toISOString();
33433
33452
  }
33453
+ if (message.channel_id !== "") {
33454
+ obj.channel_id = message.channel_id;
33455
+ }
33434
33456
  return obj;
33435
33457
  },
33436
33458
 
@@ -33447,6 +33469,7 @@ export const AuditLog = {
33447
33469
  message.entity_id = object.entity_id ?? "";
33448
33470
  message.details = object.details ?? "";
33449
33471
  message.time_log = object.time_log ?? undefined;
33472
+ message.channel_id = object.channel_id ?? "";
33450
33473
  return message;
33451
33474
  },
33452
33475
  };
@@ -37043,6 +37066,95 @@ export const ListSdTopicRequest = {
37043
37066
  },
37044
37067
  };
37045
37068
 
37069
+ function createBaseDeleteSdTopicRequest(): DeleteSdTopicRequest {
37070
+ return { channel_id: "", id: "", clan_id: "" };
37071
+ }
37072
+
37073
+ export const DeleteSdTopicRequest = {
37074
+ encode(message: DeleteSdTopicRequest, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer {
37075
+ if (message.channel_id !== "") {
37076
+ writer.uint32(10).string(message.channel_id);
37077
+ }
37078
+ if (message.id !== "") {
37079
+ writer.uint32(18).string(message.id);
37080
+ }
37081
+ if (message.clan_id !== "") {
37082
+ writer.uint32(26).string(message.clan_id);
37083
+ }
37084
+ return writer;
37085
+ },
37086
+
37087
+ decode(input: _m0.Reader | Uint8Array, length?: number): DeleteSdTopicRequest {
37088
+ const reader = input instanceof _m0.Reader ? input : _m0.Reader.create(input);
37089
+ let end = length === undefined ? reader.len : reader.pos + length;
37090
+ const message = createBaseDeleteSdTopicRequest();
37091
+ while (reader.pos < end) {
37092
+ const tag = reader.uint32();
37093
+ switch (tag >>> 3) {
37094
+ case 1:
37095
+ if (tag !== 10) {
37096
+ break;
37097
+ }
37098
+
37099
+ message.channel_id = reader.string();
37100
+ continue;
37101
+ case 2:
37102
+ if (tag !== 18) {
37103
+ break;
37104
+ }
37105
+
37106
+ message.id = reader.string();
37107
+ continue;
37108
+ case 3:
37109
+ if (tag !== 26) {
37110
+ break;
37111
+ }
37112
+
37113
+ message.clan_id = reader.string();
37114
+ continue;
37115
+ }
37116
+ if ((tag & 7) === 4 || tag === 0) {
37117
+ break;
37118
+ }
37119
+ reader.skipType(tag & 7);
37120
+ }
37121
+ return message;
37122
+ },
37123
+
37124
+ fromJSON(object: any): DeleteSdTopicRequest {
37125
+ return {
37126
+ channel_id: isSet(object.channel_id) ? globalThis.String(object.channel_id) : "",
37127
+ id: isSet(object.id) ? globalThis.String(object.id) : "",
37128
+ clan_id: isSet(object.clan_id) ? globalThis.String(object.clan_id) : "",
37129
+ };
37130
+ },
37131
+
37132
+ toJSON(message: DeleteSdTopicRequest): unknown {
37133
+ const obj: any = {};
37134
+ if (message.channel_id !== "") {
37135
+ obj.channel_id = message.channel_id;
37136
+ }
37137
+ if (message.id !== "") {
37138
+ obj.id = message.id;
37139
+ }
37140
+ if (message.clan_id !== "") {
37141
+ obj.clan_id = message.clan_id;
37142
+ }
37143
+ return obj;
37144
+ },
37145
+
37146
+ create<I extends Exact<DeepPartial<DeleteSdTopicRequest>, I>>(base?: I): DeleteSdTopicRequest {
37147
+ return DeleteSdTopicRequest.fromPartial(base ?? ({} as any));
37148
+ },
37149
+ fromPartial<I extends Exact<DeepPartial<DeleteSdTopicRequest>, I>>(object: I): DeleteSdTopicRequest {
37150
+ const message = createBaseDeleteSdTopicRequest();
37151
+ message.channel_id = object.channel_id ?? "";
37152
+ message.id = object.id ?? "";
37153
+ message.clan_id = object.clan_id ?? "";
37154
+ return message;
37155
+ },
37156
+ };
37157
+
37046
37158
  function bytesFromBase64(b64: string): Uint8Array {
37047
37159
  if ((globalThis as any).Buffer) {
37048
37160
  return Uint8Array.from(globalThis.Buffer.from(b64, "base64"));
@@ -2759,6 +2759,7 @@ export interface AuditLog {
2759
2759
  entity_id: string;
2760
2760
  details: string;
2761
2761
  time_log: Date | undefined;
2762
+ channel_id: string;
2762
2763
  }
2763
2764
  export interface ListAuditLog {
2764
2765
  total_count: number;
@@ -3058,6 +3059,11 @@ export interface ListSdTopicRequest {
3058
3059
  channel_id: string;
3059
3060
  limit: number;
3060
3061
  }
3062
+ export interface DeleteSdTopicRequest {
3063
+ channel_id: string;
3064
+ id: string;
3065
+ clan_id: string;
3066
+ }
3061
3067
  export declare const Account: {
3062
3068
  encode(message: Account, writer?: _m0.Writer): _m0.Writer;
3063
3069
  decode(input: _m0.Reader | Uint8Array, length?: number): Account;
@@ -19162,6 +19168,7 @@ export declare const AuditLog: {
19162
19168
  entity_id?: string | undefined;
19163
19169
  details?: string | undefined;
19164
19170
  time_log?: Date | undefined;
19171
+ channel_id?: string | undefined;
19165
19172
  } & {
19166
19173
  id?: string | undefined;
19167
19174
  user_id?: string | undefined;
@@ -19171,6 +19178,7 @@ export declare const AuditLog: {
19171
19178
  entity_id?: string | undefined;
19172
19179
  details?: string | undefined;
19173
19180
  time_log?: Date | undefined;
19181
+ channel_id?: string | undefined;
19174
19182
  } & { [K in Exclude<keyof I, keyof AuditLog>]: never; }>(base?: I | undefined): AuditLog;
19175
19183
  fromPartial<I_1 extends {
19176
19184
  id?: string | undefined;
@@ -19181,6 +19189,7 @@ export declare const AuditLog: {
19181
19189
  entity_id?: string | undefined;
19182
19190
  details?: string | undefined;
19183
19191
  time_log?: Date | undefined;
19192
+ channel_id?: string | undefined;
19184
19193
  } & {
19185
19194
  id?: string | undefined;
19186
19195
  user_id?: string | undefined;
@@ -19190,6 +19199,7 @@ export declare const AuditLog: {
19190
19199
  entity_id?: string | undefined;
19191
19200
  details?: string | undefined;
19192
19201
  time_log?: Date | undefined;
19202
+ channel_id?: string | undefined;
19193
19203
  } & { [K_1 in Exclude<keyof I_1, keyof AuditLog>]: never; }>(object: I_1): AuditLog;
19194
19204
  };
19195
19205
  export declare const ListAuditLog: {
@@ -19210,6 +19220,7 @@ export declare const ListAuditLog: {
19210
19220
  entity_id?: string | undefined;
19211
19221
  details?: string | undefined;
19212
19222
  time_log?: Date | undefined;
19223
+ channel_id?: string | undefined;
19213
19224
  }[] | undefined;
19214
19225
  } & {
19215
19226
  total_count?: number | undefined;
@@ -19224,6 +19235,7 @@ export declare const ListAuditLog: {
19224
19235
  entity_id?: string | undefined;
19225
19236
  details?: string | undefined;
19226
19237
  time_log?: Date | undefined;
19238
+ channel_id?: string | undefined;
19227
19239
  }[] & ({
19228
19240
  id?: string | undefined;
19229
19241
  user_id?: string | undefined;
@@ -19233,6 +19245,7 @@ export declare const ListAuditLog: {
19233
19245
  entity_id?: string | undefined;
19234
19246
  details?: string | undefined;
19235
19247
  time_log?: Date | undefined;
19248
+ channel_id?: string | undefined;
19236
19249
  } & {
19237
19250
  id?: string | undefined;
19238
19251
  user_id?: string | undefined;
@@ -19242,6 +19255,7 @@ export declare const ListAuditLog: {
19242
19255
  entity_id?: string | undefined;
19243
19256
  details?: string | undefined;
19244
19257
  time_log?: Date | undefined;
19258
+ channel_id?: string | undefined;
19245
19259
  } & { [K in Exclude<keyof I["logs"][number], keyof AuditLog>]: never; })[] & { [K_1 in Exclude<keyof I["logs"], keyof {
19246
19260
  id?: string | undefined;
19247
19261
  user_id?: string | undefined;
@@ -19251,6 +19265,7 @@ export declare const ListAuditLog: {
19251
19265
  entity_id?: string | undefined;
19252
19266
  details?: string | undefined;
19253
19267
  time_log?: Date | undefined;
19268
+ channel_id?: string | undefined;
19254
19269
  }[]>]: never; }) | undefined;
19255
19270
  } & { [K_2 in Exclude<keyof I, keyof ListAuditLog>]: never; }>(base?: I | undefined): ListAuditLog;
19256
19271
  fromPartial<I_1 extends {
@@ -19266,6 +19281,7 @@ export declare const ListAuditLog: {
19266
19281
  entity_id?: string | undefined;
19267
19282
  details?: string | undefined;
19268
19283
  time_log?: Date | undefined;
19284
+ channel_id?: string | undefined;
19269
19285
  }[] | undefined;
19270
19286
  } & {
19271
19287
  total_count?: number | undefined;
@@ -19280,6 +19296,7 @@ export declare const ListAuditLog: {
19280
19296
  entity_id?: string | undefined;
19281
19297
  details?: string | undefined;
19282
19298
  time_log?: Date | undefined;
19299
+ channel_id?: string | undefined;
19283
19300
  }[] & ({
19284
19301
  id?: string | undefined;
19285
19302
  user_id?: string | undefined;
@@ -19289,6 +19306,7 @@ export declare const ListAuditLog: {
19289
19306
  entity_id?: string | undefined;
19290
19307
  details?: string | undefined;
19291
19308
  time_log?: Date | undefined;
19309
+ channel_id?: string | undefined;
19292
19310
  } & {
19293
19311
  id?: string | undefined;
19294
19312
  user_id?: string | undefined;
@@ -19298,6 +19316,7 @@ export declare const ListAuditLog: {
19298
19316
  entity_id?: string | undefined;
19299
19317
  details?: string | undefined;
19300
19318
  time_log?: Date | undefined;
19319
+ channel_id?: string | undefined;
19301
19320
  } & { [K_3 in Exclude<keyof I_1["logs"][number], keyof AuditLog>]: never; })[] & { [K_4 in Exclude<keyof I_1["logs"], keyof {
19302
19321
  id?: string | undefined;
19303
19322
  user_id?: string | undefined;
@@ -19307,6 +19326,7 @@ export declare const ListAuditLog: {
19307
19326
  entity_id?: string | undefined;
19308
19327
  details?: string | undefined;
19309
19328
  time_log?: Date | undefined;
19329
+ channel_id?: string | undefined;
19310
19330
  }[]>]: never; }) | undefined;
19311
19331
  } & { [K_5 in Exclude<keyof I_1, keyof ListAuditLog>]: never; }>(object: I_1): ListAuditLog;
19312
19332
  };
@@ -21266,6 +21286,30 @@ export declare const ListSdTopicRequest: {
21266
21286
  limit?: number | undefined;
21267
21287
  } & { [K_1 in Exclude<keyof I_1, keyof ListSdTopicRequest>]: never; }>(object: I_1): ListSdTopicRequest;
21268
21288
  };
21289
+ export declare const DeleteSdTopicRequest: {
21290
+ encode(message: DeleteSdTopicRequest, writer?: _m0.Writer): _m0.Writer;
21291
+ decode(input: _m0.Reader | Uint8Array, length?: number): DeleteSdTopicRequest;
21292
+ fromJSON(object: any): DeleteSdTopicRequest;
21293
+ toJSON(message: DeleteSdTopicRequest): unknown;
21294
+ create<I extends {
21295
+ channel_id?: string | undefined;
21296
+ id?: string | undefined;
21297
+ clan_id?: string | undefined;
21298
+ } & {
21299
+ channel_id?: string | undefined;
21300
+ id?: string | undefined;
21301
+ clan_id?: string | undefined;
21302
+ } & { [K in Exclude<keyof I, keyof DeleteSdTopicRequest>]: never; }>(base?: I | undefined): DeleteSdTopicRequest;
21303
+ fromPartial<I_1 extends {
21304
+ channel_id?: string | undefined;
21305
+ id?: string | undefined;
21306
+ clan_id?: string | undefined;
21307
+ } & {
21308
+ channel_id?: string | undefined;
21309
+ id?: string | undefined;
21310
+ clan_id?: string | undefined;
21311
+ } & { [K_1 in Exclude<keyof I_1, keyof DeleteSdTopicRequest>]: never; }>(object: I_1): DeleteSdTopicRequest;
21312
+ };
21269
21313
  type Builtin = Date | Function | Uint8Array | string | number | boolean | undefined;
21270
21314
  export type DeepPartial<T> = T extends Builtin ? T : T extends globalThis.Array<infer U> ? globalThis.Array<DeepPartial<U>> : T extends ReadonlyArray<infer U> ? ReadonlyArray<DeepPartial<U>> : T extends {} ? {
21271
21315
  [K in keyof T]?: DeepPartial<T[K]>;
@@ -929,8 +929,6 @@ export interface JoinPTTChannel {
929
929
  receiver_id: string;
930
930
  /** clan id */
931
931
  clan_id: string;
932
- /** is talk */
933
- is_talk: boolean;
934
932
  }
935
933
  export interface TalkPTTChannel {
936
934
  /** channel id */
@@ -1642,7 +1640,6 @@ export declare const Envelope: {
1642
1640
  json_data?: string | undefined;
1643
1641
  receiver_id?: string | undefined;
1644
1642
  clan_id?: string | undefined;
1645
- is_talk?: boolean | undefined;
1646
1643
  } | undefined;
1647
1644
  talk_ptt_channel?: {
1648
1645
  channel_id?: string | undefined;
@@ -3524,14 +3521,12 @@ export declare const Envelope: {
3524
3521
  json_data?: string | undefined;
3525
3522
  receiver_id?: string | undefined;
3526
3523
  clan_id?: string | undefined;
3527
- is_talk?: boolean | undefined;
3528
3524
  } & {
3529
3525
  channel_id?: string | undefined;
3530
3526
  data_type?: number | undefined;
3531
3527
  json_data?: string | undefined;
3532
3528
  receiver_id?: string | undefined;
3533
3529
  clan_id?: string | undefined;
3534
- is_talk?: boolean | undefined;
3535
3530
  } & { [K_118 in Exclude<keyof I["join_ptt_channel"], keyof JoinPTTChannel>]: never; }) | undefined;
3536
3531
  talk_ptt_channel?: ({
3537
3532
  channel_id?: string | undefined;
@@ -4305,7 +4300,6 @@ export declare const Envelope: {
4305
4300
  json_data?: string | undefined;
4306
4301
  receiver_id?: string | undefined;
4307
4302
  clan_id?: string | undefined;
4308
- is_talk?: boolean | undefined;
4309
4303
  } | undefined;
4310
4304
  talk_ptt_channel?: {
4311
4305
  channel_id?: string | undefined;
@@ -6187,14 +6181,12 @@ export declare const Envelope: {
6187
6181
  json_data?: string | undefined;
6188
6182
  receiver_id?: string | undefined;
6189
6183
  clan_id?: string | undefined;
6190
- is_talk?: boolean | undefined;
6191
6184
  } & {
6192
6185
  channel_id?: string | undefined;
6193
6186
  data_type?: number | undefined;
6194
6187
  json_data?: string | undefined;
6195
6188
  receiver_id?: string | undefined;
6196
6189
  clan_id?: string | undefined;
6197
- is_talk?: boolean | undefined;
6198
6190
  } & { [K_247 in Exclude<keyof I_1["join_ptt_channel"], keyof JoinPTTChannel>]: never; }) | undefined;
6199
6191
  talk_ptt_channel?: ({
6200
6192
  channel_id?: string | undefined;
@@ -10486,14 +10478,12 @@ export declare const JoinPTTChannel: {
10486
10478
  json_data?: string | undefined;
10487
10479
  receiver_id?: string | undefined;
10488
10480
  clan_id?: string | undefined;
10489
- is_talk?: boolean | undefined;
10490
10481
  } & {
10491
10482
  channel_id?: string | undefined;
10492
10483
  data_type?: number | undefined;
10493
10484
  json_data?: string | undefined;
10494
10485
  receiver_id?: string | undefined;
10495
10486
  clan_id?: string | undefined;
10496
- is_talk?: boolean | undefined;
10497
10487
  } & { [K in Exclude<keyof I, keyof JoinPTTChannel>]: never; }>(base?: I | undefined): JoinPTTChannel;
10498
10488
  fromPartial<I_1 extends {
10499
10489
  channel_id?: string | undefined;
@@ -10501,14 +10491,12 @@ export declare const JoinPTTChannel: {
10501
10491
  json_data?: string | undefined;
10502
10492
  receiver_id?: string | undefined;
10503
10493
  clan_id?: string | undefined;
10504
- is_talk?: boolean | undefined;
10505
10494
  } & {
10506
10495
  channel_id?: string | undefined;
10507
10496
  data_type?: number | undefined;
10508
10497
  json_data?: string | undefined;
10509
10498
  receiver_id?: string | undefined;
10510
10499
  clan_id?: string | undefined;
10511
- is_talk?: boolean | undefined;
10512
10500
  } & { [K_1 in Exclude<keyof I_1, keyof JoinPTTChannel>]: never; }>(object: I_1): JoinPTTChannel;
10513
10501
  };
10514
10502
  export declare const TalkPTTChannel: {
@@ -12791,7 +12791,7 @@ var UnmuteEvent = {
12791
12791
  }
12792
12792
  };
12793
12793
  function createBaseJoinPTTChannel() {
12794
- return { channel_id: "", data_type: 0, json_data: "", receiver_id: "", clan_id: "", is_talk: false };
12794
+ return { channel_id: "", data_type: 0, json_data: "", receiver_id: "", clan_id: "" };
12795
12795
  }
12796
12796
  var JoinPTTChannel = {
12797
12797
  encode(message, writer = import_minimal5.default.Writer.create()) {
@@ -12810,9 +12810,6 @@ var JoinPTTChannel = {
12810
12810
  if (message.clan_id !== "") {
12811
12811
  writer.uint32(42).string(message.clan_id);
12812
12812
  }
12813
- if (message.is_talk !== false) {
12814
- writer.uint32(48).bool(message.is_talk);
12815
- }
12816
12813
  return writer;
12817
12814
  },
12818
12815
  decode(input, length) {
@@ -12852,12 +12849,6 @@ var JoinPTTChannel = {
12852
12849
  }
12853
12850
  message.clan_id = reader.string();
12854
12851
  continue;
12855
- case 6:
12856
- if (tag !== 48) {
12857
- break;
12858
- }
12859
- message.is_talk = reader.bool();
12860
- continue;
12861
12852
  }
12862
12853
  if ((tag & 7) === 4 || tag === 0) {
12863
12854
  break;
@@ -12872,8 +12863,7 @@ var JoinPTTChannel = {
12872
12863
  data_type: isSet4(object.data_type) ? globalThis.Number(object.data_type) : 0,
12873
12864
  json_data: isSet4(object.json_data) ? globalThis.String(object.json_data) : "",
12874
12865
  receiver_id: isSet4(object.receiver_id) ? globalThis.String(object.receiver_id) : "",
12875
- clan_id: isSet4(object.clan_id) ? globalThis.String(object.clan_id) : "",
12876
- is_talk: isSet4(object.is_talk) ? globalThis.Boolean(object.is_talk) : false
12866
+ clan_id: isSet4(object.clan_id) ? globalThis.String(object.clan_id) : ""
12877
12867
  };
12878
12868
  },
12879
12869
  toJSON(message) {
@@ -12893,23 +12883,19 @@ var JoinPTTChannel = {
12893
12883
  if (message.clan_id !== "") {
12894
12884
  obj.clan_id = message.clan_id;
12895
12885
  }
12896
- if (message.is_talk !== false) {
12897
- obj.is_talk = message.is_talk;
12898
- }
12899
12886
  return obj;
12900
12887
  },
12901
12888
  create(base) {
12902
12889
  return JoinPTTChannel.fromPartial(base != null ? base : {});
12903
12890
  },
12904
12891
  fromPartial(object) {
12905
- var _a, _b, _c, _d, _e, _f;
12892
+ var _a, _b, _c, _d, _e;
12906
12893
  const message = createBaseJoinPTTChannel();
12907
12894
  message.channel_id = (_a = object.channel_id) != null ? _a : "";
12908
12895
  message.data_type = (_b = object.data_type) != null ? _b : 0;
12909
12896
  message.json_data = (_c = object.json_data) != null ? _c : "";
12910
12897
  message.receiver_id = (_d = object.receiver_id) != null ? _d : "";
12911
12898
  message.clan_id = (_e = object.clan_id) != null ? _e : "";
12912
- message.is_talk = (_f = object.is_talk) != null ? _f : false;
12913
12899
  return message;
12914
12900
  }
12915
12901
  };
@@ -12778,7 +12778,7 @@ var UnmuteEvent = {
12778
12778
  }
12779
12779
  };
12780
12780
  function createBaseJoinPTTChannel() {
12781
- return { channel_id: "", data_type: 0, json_data: "", receiver_id: "", clan_id: "", is_talk: false };
12781
+ return { channel_id: "", data_type: 0, json_data: "", receiver_id: "", clan_id: "" };
12782
12782
  }
12783
12783
  var JoinPTTChannel = {
12784
12784
  encode(message, writer = import_minimal5.default.Writer.create()) {
@@ -12797,9 +12797,6 @@ var JoinPTTChannel = {
12797
12797
  if (message.clan_id !== "") {
12798
12798
  writer.uint32(42).string(message.clan_id);
12799
12799
  }
12800
- if (message.is_talk !== false) {
12801
- writer.uint32(48).bool(message.is_talk);
12802
- }
12803
12800
  return writer;
12804
12801
  },
12805
12802
  decode(input, length) {
@@ -12839,12 +12836,6 @@ var JoinPTTChannel = {
12839
12836
  }
12840
12837
  message.clan_id = reader.string();
12841
12838
  continue;
12842
- case 6:
12843
- if (tag !== 48) {
12844
- break;
12845
- }
12846
- message.is_talk = reader.bool();
12847
- continue;
12848
12839
  }
12849
12840
  if ((tag & 7) === 4 || tag === 0) {
12850
12841
  break;
@@ -12859,8 +12850,7 @@ var JoinPTTChannel = {
12859
12850
  data_type: isSet4(object.data_type) ? globalThis.Number(object.data_type) : 0,
12860
12851
  json_data: isSet4(object.json_data) ? globalThis.String(object.json_data) : "",
12861
12852
  receiver_id: isSet4(object.receiver_id) ? globalThis.String(object.receiver_id) : "",
12862
- clan_id: isSet4(object.clan_id) ? globalThis.String(object.clan_id) : "",
12863
- is_talk: isSet4(object.is_talk) ? globalThis.Boolean(object.is_talk) : false
12853
+ clan_id: isSet4(object.clan_id) ? globalThis.String(object.clan_id) : ""
12864
12854
  };
12865
12855
  },
12866
12856
  toJSON(message) {
@@ -12880,23 +12870,19 @@ var JoinPTTChannel = {
12880
12870
  if (message.clan_id !== "") {
12881
12871
  obj.clan_id = message.clan_id;
12882
12872
  }
12883
- if (message.is_talk !== false) {
12884
- obj.is_talk = message.is_talk;
12885
- }
12886
12873
  return obj;
12887
12874
  },
12888
12875
  create(base) {
12889
12876
  return JoinPTTChannel.fromPartial(base != null ? base : {});
12890
12877
  },
12891
12878
  fromPartial(object) {
12892
- var _a, _b, _c, _d, _e, _f;
12879
+ var _a, _b, _c, _d, _e;
12893
12880
  const message = createBaseJoinPTTChannel();
12894
12881
  message.channel_id = (_a = object.channel_id) != null ? _a : "";
12895
12882
  message.data_type = (_b = object.data_type) != null ? _b : 0;
12896
12883
  message.json_data = (_c = object.json_data) != null ? _c : "";
12897
12884
  message.receiver_id = (_d = object.receiver_id) != null ? _d : "";
12898
12885
  message.clan_id = (_e = object.clan_id) != null ? _e : "";
12899
- message.is_talk = (_f = object.is_talk) != null ? _f : false;
12900
12886
  return message;
12901
12887
  }
12902
12888
  };