mezon-sdk 2.7.74 → 2.7.76

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.
@@ -310,6 +310,7 @@ function createBaseAccount() {
310
310
  disable_time: undefined,
311
311
  logo: "",
312
312
  splash_screen: "",
313
+ encrypt_private_key: "",
313
314
  };
314
315
  }
315
316
  export const Account = {
@@ -341,6 +342,9 @@ export const Account = {
341
342
  if (message.splash_screen !== "") {
342
343
  writer.uint32(74).string(message.splash_screen);
343
344
  }
345
+ if (message.encrypt_private_key !== "") {
346
+ writer.uint32(82).string(message.encrypt_private_key);
347
+ }
344
348
  return writer;
345
349
  },
346
350
  decode(input, length) {
@@ -404,6 +408,12 @@ export const Account = {
404
408
  }
405
409
  message.splash_screen = reader.string();
406
410
  continue;
411
+ case 10:
412
+ if (tag !== 82) {
413
+ break;
414
+ }
415
+ message.encrypt_private_key = reader.string();
416
+ continue;
407
417
  }
408
418
  if ((tag & 7) === 4 || tag === 0) {
409
419
  break;
@@ -425,6 +435,7 @@ export const Account = {
425
435
  disable_time: isSet(object.disable_time) ? fromJsonTimestamp(object.disable_time) : undefined,
426
436
  logo: isSet(object.logo) ? globalThis.String(object.logo) : "",
427
437
  splash_screen: isSet(object.splash_screen) ? globalThis.String(object.splash_screen) : "",
438
+ encrypt_private_key: isSet(object.encrypt_private_key) ? globalThis.String(object.encrypt_private_key) : "",
428
439
  };
429
440
  },
430
441
  toJSON(message) {
@@ -456,6 +467,9 @@ export const Account = {
456
467
  if (message.splash_screen !== "") {
457
468
  obj.splash_screen = message.splash_screen;
458
469
  }
470
+ if (message.encrypt_private_key !== "") {
471
+ obj.encrypt_private_key = message.encrypt_private_key;
472
+ }
459
473
  return obj;
460
474
  },
461
475
  create(base) {
@@ -472,6 +486,7 @@ export const Account = {
472
486
  message.disable_time = object.disable_time ?? undefined;
473
487
  message.logo = object.logo ?? "";
474
488
  message.splash_screen = object.splash_screen ?? "";
489
+ message.encrypt_private_key = object.encrypt_private_key ?? "";
475
490
  return message;
476
491
  },
477
492
  };
@@ -4197,6 +4212,7 @@ function createBaseMessageReaction() {
4197
4212
  mode: 0,
4198
4213
  message_sender_id: "",
4199
4214
  is_public: false,
4215
+ topic_id: "",
4200
4216
  };
4201
4217
  }
4202
4218
  export const MessageReaction = {
@@ -4243,6 +4259,9 @@ export const MessageReaction = {
4243
4259
  if (message.is_public !== false) {
4244
4260
  writer.uint32(112).bool(message.is_public);
4245
4261
  }
4262
+ if (message.topic_id !== "") {
4263
+ writer.uint32(122).string(message.topic_id);
4264
+ }
4246
4265
  return writer;
4247
4266
  },
4248
4267
  decode(input, length) {
@@ -4336,6 +4355,12 @@ export const MessageReaction = {
4336
4355
  }
4337
4356
  message.is_public = reader.bool();
4338
4357
  continue;
4358
+ case 15:
4359
+ if (tag !== 122) {
4360
+ break;
4361
+ }
4362
+ message.topic_id = reader.string();
4363
+ continue;
4339
4364
  }
4340
4365
  if ((tag & 7) === 4 || tag === 0) {
4341
4366
  break;
@@ -4360,6 +4385,7 @@ export const MessageReaction = {
4360
4385
  mode: isSet(object.mode) ? globalThis.Number(object.mode) : 0,
4361
4386
  message_sender_id: isSet(object.message_sender_id) ? globalThis.String(object.message_sender_id) : "",
4362
4387
  is_public: isSet(object.is_public) ? globalThis.Boolean(object.is_public) : false,
4388
+ topic_id: isSet(object.topic_id) ? globalThis.String(object.topic_id) : "",
4363
4389
  };
4364
4390
  },
4365
4391
  toJSON(message) {
@@ -4406,6 +4432,9 @@ export const MessageReaction = {
4406
4432
  if (message.is_public !== false) {
4407
4433
  obj.is_public = message.is_public;
4408
4434
  }
4435
+ if (message.topic_id !== "") {
4436
+ obj.topic_id = message.topic_id;
4437
+ }
4409
4438
  return obj;
4410
4439
  },
4411
4440
  create(base) {
@@ -4427,6 +4456,7 @@ export const MessageReaction = {
4427
4456
  message.mode = object.mode ?? 0;
4428
4457
  message.message_sender_id = object.message_sender_id ?? "";
4429
4458
  message.is_public = object.is_public ?? false;
4459
+ message.topic_id = object.topic_id ?? "";
4430
4460
  return message;
4431
4461
  },
4432
4462
  };
@@ -6454,7 +6484,18 @@ export const VoiceChannelUserList = {
6454
6484
  },
6455
6485
  };
6456
6486
  function createBaseChannelAttachment() {
6457
- return { id: "", filename: "", filetype: "", filesize: "", url: "", uploader: "", create_time: undefined };
6487
+ return {
6488
+ id: "",
6489
+ filename: "",
6490
+ filetype: "",
6491
+ filesize: "",
6492
+ url: "",
6493
+ uploader: "",
6494
+ create_time: undefined,
6495
+ message_id: "",
6496
+ width: 0,
6497
+ height: 0,
6498
+ };
6458
6499
  }
6459
6500
  export const ChannelAttachment = {
6460
6501
  encode(message, writer = _m0.Writer.create()) {
@@ -6479,6 +6520,15 @@ export const ChannelAttachment = {
6479
6520
  if (message.create_time !== undefined) {
6480
6521
  Timestamp.encode(toTimestamp(message.create_time), writer.uint32(58).fork()).ldelim();
6481
6522
  }
6523
+ if (message.message_id !== "") {
6524
+ writer.uint32(66).string(message.message_id);
6525
+ }
6526
+ if (message.width !== 0) {
6527
+ writer.uint32(72).int32(message.width);
6528
+ }
6529
+ if (message.height !== 0) {
6530
+ writer.uint32(80).int32(message.height);
6531
+ }
6482
6532
  return writer;
6483
6533
  },
6484
6534
  decode(input, length) {
@@ -6530,6 +6580,24 @@ export const ChannelAttachment = {
6530
6580
  }
6531
6581
  message.create_time = fromTimestamp(Timestamp.decode(reader, reader.uint32()));
6532
6582
  continue;
6583
+ case 8:
6584
+ if (tag !== 66) {
6585
+ break;
6586
+ }
6587
+ message.message_id = reader.string();
6588
+ continue;
6589
+ case 9:
6590
+ if (tag !== 72) {
6591
+ break;
6592
+ }
6593
+ message.width = reader.int32();
6594
+ continue;
6595
+ case 10:
6596
+ if (tag !== 80) {
6597
+ break;
6598
+ }
6599
+ message.height = reader.int32();
6600
+ continue;
6533
6601
  }
6534
6602
  if ((tag & 7) === 4 || tag === 0) {
6535
6603
  break;
@@ -6547,6 +6615,9 @@ export const ChannelAttachment = {
6547
6615
  url: isSet(object.url) ? globalThis.String(object.url) : "",
6548
6616
  uploader: isSet(object.uploader) ? globalThis.String(object.uploader) : "",
6549
6617
  create_time: isSet(object.create_time) ? fromJsonTimestamp(object.create_time) : undefined,
6618
+ message_id: isSet(object.message_id) ? globalThis.String(object.message_id) : "",
6619
+ width: isSet(object.width) ? globalThis.Number(object.width) : 0,
6620
+ height: isSet(object.height) ? globalThis.Number(object.height) : 0,
6550
6621
  };
6551
6622
  },
6552
6623
  toJSON(message) {
@@ -6572,6 +6643,15 @@ export const ChannelAttachment = {
6572
6643
  if (message.create_time !== undefined) {
6573
6644
  obj.create_time = message.create_time.toISOString();
6574
6645
  }
6646
+ if (message.message_id !== "") {
6647
+ obj.message_id = message.message_id;
6648
+ }
6649
+ if (message.width !== 0) {
6650
+ obj.width = Math.round(message.width);
6651
+ }
6652
+ if (message.height !== 0) {
6653
+ obj.height = Math.round(message.height);
6654
+ }
6575
6655
  return obj;
6576
6656
  },
6577
6657
  create(base) {
@@ -6586,6 +6666,9 @@ export const ChannelAttachment = {
6586
6666
  message.url = object.url ?? "";
6587
6667
  message.uploader = object.uploader ?? "";
6588
6668
  message.create_time = object.create_time ?? undefined;
6669
+ message.message_id = object.message_id ?? "";
6670
+ message.width = object.width ?? 0;
6671
+ message.height = object.height ?? 0;
6589
6672
  return message;
6590
6673
  },
6591
6674
  };
@@ -7266,7 +7349,7 @@ export const LinkSteamRequest = {
7266
7349
  },
7267
7350
  };
7268
7351
  function createBaseListChannelMessagesRequest() {
7269
- return { clan_id: "", channel_id: "", message_id: "", limit: undefined, direction: undefined };
7352
+ return { clan_id: "", channel_id: "", message_id: "", limit: undefined, direction: undefined, topic_id: "" };
7270
7353
  }
7271
7354
  export const ListChannelMessagesRequest = {
7272
7355
  encode(message, writer = _m0.Writer.create()) {
@@ -7285,6 +7368,9 @@ export const ListChannelMessagesRequest = {
7285
7368
  if (message.direction !== undefined) {
7286
7369
  Int32Value.encode({ value: message.direction }, writer.uint32(42).fork()).ldelim();
7287
7370
  }
7371
+ if (message.topic_id !== "") {
7372
+ writer.uint32(50).string(message.topic_id);
7373
+ }
7288
7374
  return writer;
7289
7375
  },
7290
7376
  decode(input, length) {
@@ -7324,6 +7410,12 @@ export const ListChannelMessagesRequest = {
7324
7410
  }
7325
7411
  message.direction = Int32Value.decode(reader, reader.uint32()).value;
7326
7412
  continue;
7413
+ case 6:
7414
+ if (tag !== 50) {
7415
+ break;
7416
+ }
7417
+ message.topic_id = reader.string();
7418
+ continue;
7327
7419
  }
7328
7420
  if ((tag & 7) === 4 || tag === 0) {
7329
7421
  break;
@@ -7339,6 +7431,7 @@ export const ListChannelMessagesRequest = {
7339
7431
  message_id: isSet(object.message_id) ? globalThis.String(object.message_id) : "",
7340
7432
  limit: isSet(object.limit) ? Number(object.limit) : undefined,
7341
7433
  direction: isSet(object.direction) ? Number(object.direction) : undefined,
7434
+ topic_id: isSet(object.topic_id) ? globalThis.String(object.topic_id) : "",
7342
7435
  };
7343
7436
  },
7344
7437
  toJSON(message) {
@@ -7358,6 +7451,9 @@ export const ListChannelMessagesRequest = {
7358
7451
  if (message.direction !== undefined) {
7359
7452
  obj.direction = message.direction;
7360
7453
  }
7454
+ if (message.topic_id !== "") {
7455
+ obj.topic_id = message.topic_id;
7456
+ }
7361
7457
  return obj;
7362
7458
  },
7363
7459
  create(base) {
@@ -7370,6 +7466,7 @@ export const ListChannelMessagesRequest = {
7370
7466
  message.message_id = object.message_id ?? "";
7371
7467
  message.limit = object.limit ?? undefined;
7372
7468
  message.direction = object.direction ?? undefined;
7469
+ message.topic_id = object.topic_id ?? "";
7373
7470
  return message;
7374
7471
  },
7375
7472
  };
@@ -8792,6 +8889,7 @@ function createBaseUpdateAccountRequest() {
8792
8889
  dob: undefined,
8793
8890
  logo: "",
8794
8891
  splash_screen: "",
8892
+ encrypt_private_key: "",
8795
8893
  };
8796
8894
  }
8797
8895
  export const UpdateAccountRequest = {
@@ -8826,6 +8924,9 @@ export const UpdateAccountRequest = {
8826
8924
  if (message.splash_screen !== "") {
8827
8925
  writer.uint32(82).string(message.splash_screen);
8828
8926
  }
8927
+ if (message.encrypt_private_key !== "") {
8928
+ writer.uint32(90).string(message.encrypt_private_key);
8929
+ }
8829
8930
  return writer;
8830
8931
  },
8831
8932
  decode(input, length) {
@@ -8895,6 +8996,12 @@ export const UpdateAccountRequest = {
8895
8996
  }
8896
8997
  message.splash_screen = reader.string();
8897
8998
  continue;
8999
+ case 11:
9000
+ if (tag !== 90) {
9001
+ break;
9002
+ }
9003
+ message.encrypt_private_key = reader.string();
9004
+ continue;
8898
9005
  }
8899
9006
  if ((tag & 7) === 4 || tag === 0) {
8900
9007
  break;
@@ -8915,6 +9022,7 @@ export const UpdateAccountRequest = {
8915
9022
  dob: isSet(object.dob) ? fromJsonTimestamp(object.dob) : undefined,
8916
9023
  logo: isSet(object.logo) ? globalThis.String(object.logo) : "",
8917
9024
  splash_screen: isSet(object.splash_screen) ? globalThis.String(object.splash_screen) : "",
9025
+ encrypt_private_key: isSet(object.encrypt_private_key) ? globalThis.String(object.encrypt_private_key) : "",
8918
9026
  };
8919
9027
  },
8920
9028
  toJSON(message) {
@@ -8949,6 +9057,9 @@ export const UpdateAccountRequest = {
8949
9057
  if (message.splash_screen !== "") {
8950
9058
  obj.splash_screen = message.splash_screen;
8951
9059
  }
9060
+ if (message.encrypt_private_key !== "") {
9061
+ obj.encrypt_private_key = message.encrypt_private_key;
9062
+ }
8952
9063
  return obj;
8953
9064
  },
8954
9065
  create(base) {
@@ -8966,6 +9077,7 @@ export const UpdateAccountRequest = {
8966
9077
  message.dob = object.dob ?? undefined;
8967
9078
  message.logo = object.logo ?? "";
8968
9079
  message.splash_screen = object.splash_screen ?? "";
9080
+ message.encrypt_private_key = object.encrypt_private_key ?? "";
8969
9081
  return message;
8970
9082
  },
8971
9083
  };
@@ -11534,7 +11646,7 @@ export const CreateCategoryDescRequest = {
11534
11646
  },
11535
11647
  };
11536
11648
  function createBaseDeleteCategoryDescRequest() {
11537
- return { category_id: "", clan_id: "" };
11649
+ return { category_id: "", clan_id: "", category_label: "" };
11538
11650
  }
11539
11651
  export const DeleteCategoryDescRequest = {
11540
11652
  encode(message, writer = _m0.Writer.create()) {
@@ -11544,6 +11656,9 @@ export const DeleteCategoryDescRequest = {
11544
11656
  if (message.clan_id !== "") {
11545
11657
  writer.uint32(18).string(message.clan_id);
11546
11658
  }
11659
+ if (message.category_label !== "") {
11660
+ writer.uint32(26).string(message.category_label);
11661
+ }
11547
11662
  return writer;
11548
11663
  },
11549
11664
  decode(input, length) {
@@ -11565,6 +11680,12 @@ export const DeleteCategoryDescRequest = {
11565
11680
  }
11566
11681
  message.clan_id = reader.string();
11567
11682
  continue;
11683
+ case 3:
11684
+ if (tag !== 26) {
11685
+ break;
11686
+ }
11687
+ message.category_label = reader.string();
11688
+ continue;
11568
11689
  }
11569
11690
  if ((tag & 7) === 4 || tag === 0) {
11570
11691
  break;
@@ -11577,6 +11698,7 @@ export const DeleteCategoryDescRequest = {
11577
11698
  return {
11578
11699
  category_id: isSet(object.category_id) ? globalThis.String(object.category_id) : "",
11579
11700
  clan_id: isSet(object.clan_id) ? globalThis.String(object.clan_id) : "",
11701
+ category_label: isSet(object.category_label) ? globalThis.String(object.category_label) : "",
11580
11702
  };
11581
11703
  },
11582
11704
  toJSON(message) {
@@ -11587,6 +11709,9 @@ export const DeleteCategoryDescRequest = {
11587
11709
  if (message.clan_id !== "") {
11588
11710
  obj.clan_id = message.clan_id;
11589
11711
  }
11712
+ if (message.category_label !== "") {
11713
+ obj.category_label = message.category_label;
11714
+ }
11590
11715
  return obj;
11591
11716
  },
11592
11717
  create(base) {
@@ -11596,6 +11721,7 @@ export const DeleteCategoryDescRequest = {
11596
11721
  const message = createBaseDeleteCategoryDescRequest();
11597
11722
  message.category_id = object.category_id ?? "";
11598
11723
  message.clan_id = object.clan_id ?? "";
11724
+ message.category_label = object.category_label ?? "";
11599
11725
  return message;
11600
11726
  },
11601
11727
  };
@@ -11743,6 +11869,7 @@ function createBaseChannelMessageHeader() {
11743
11869
  referece: "",
11744
11870
  mention: "",
11745
11871
  reaction: "",
11872
+ repliers: [],
11746
11873
  };
11747
11874
  }
11748
11875
  export const ChannelMessageHeader = {
@@ -11771,6 +11898,9 @@ export const ChannelMessageHeader = {
11771
11898
  if (message.reaction !== "") {
11772
11899
  writer.uint32(66).string(message.reaction);
11773
11900
  }
11901
+ for (const v of message.repliers) {
11902
+ writer.uint32(74).string(v);
11903
+ }
11774
11904
  return writer;
11775
11905
  },
11776
11906
  decode(input, length) {
@@ -11828,6 +11958,12 @@ export const ChannelMessageHeader = {
11828
11958
  }
11829
11959
  message.reaction = reader.string();
11830
11960
  continue;
11961
+ case 9:
11962
+ if (tag !== 74) {
11963
+ break;
11964
+ }
11965
+ message.repliers.push(reader.string());
11966
+ continue;
11831
11967
  }
11832
11968
  if ((tag & 7) === 4 || tag === 0) {
11833
11969
  break;
@@ -11846,6 +11982,7 @@ export const ChannelMessageHeader = {
11846
11982
  referece: isSet(object.referece) ? globalThis.String(object.referece) : "",
11847
11983
  mention: isSet(object.mention) ? globalThis.String(object.mention) : "",
11848
11984
  reaction: isSet(object.reaction) ? globalThis.String(object.reaction) : "",
11985
+ repliers: globalThis.Array.isArray(object?.repliers) ? object.repliers.map((e) => globalThis.String(e)) : [],
11849
11986
  };
11850
11987
  },
11851
11988
  toJSON(message) {
@@ -11874,6 +12011,9 @@ export const ChannelMessageHeader = {
11874
12011
  if (message.reaction !== "") {
11875
12012
  obj.reaction = message.reaction;
11876
12013
  }
12014
+ if (message.repliers?.length) {
12015
+ obj.repliers = message.repliers;
12016
+ }
11877
12017
  return obj;
11878
12018
  },
11879
12019
  create(base) {
@@ -11889,6 +12029,7 @@ export const ChannelMessageHeader = {
11889
12029
  message.referece = object.referece ?? "";
11890
12030
  message.mention = object.mention ?? "";
11891
12031
  message.reaction = object.reaction ?? "";
12032
+ message.repliers = object.repliers?.map((e) => e) || [];
11892
12033
  return message;
11893
12034
  },
11894
12035
  };
@@ -13785,13 +13926,16 @@ function createBaseEventManagement() {
13785
13926
  start_event: 0,
13786
13927
  creator_id: "",
13787
13928
  clan_id: "",
13788
- channel_id: "",
13929
+ channel_voice_id: "",
13789
13930
  address: "",
13790
13931
  start_time: undefined,
13791
13932
  end_time: undefined,
13792
13933
  user_ids: [],
13793
13934
  create_time: undefined,
13794
13935
  max_permission: 0,
13936
+ channel_id: "",
13937
+ event_status: 0,
13938
+ repeat_type: 0,
13795
13939
  };
13796
13940
  }
13797
13941
  export const EventManagement = {
@@ -13820,8 +13964,8 @@ export const EventManagement = {
13820
13964
  if (message.clan_id !== "") {
13821
13965
  writer.uint32(66).string(message.clan_id);
13822
13966
  }
13823
- if (message.channel_id !== "") {
13824
- writer.uint32(74).string(message.channel_id);
13967
+ if (message.channel_voice_id !== "") {
13968
+ writer.uint32(74).string(message.channel_voice_id);
13825
13969
  }
13826
13970
  if (message.address !== "") {
13827
13971
  writer.uint32(82).string(message.address);
@@ -13841,6 +13985,15 @@ export const EventManagement = {
13841
13985
  if (message.max_permission !== 0) {
13842
13986
  writer.uint32(120).int32(message.max_permission);
13843
13987
  }
13988
+ if (message.channel_id !== "") {
13989
+ writer.uint32(130).string(message.channel_id);
13990
+ }
13991
+ if (message.event_status !== 0) {
13992
+ writer.uint32(136).int32(message.event_status);
13993
+ }
13994
+ if (message.repeat_type !== 0) {
13995
+ writer.uint32(144).int32(message.repeat_type);
13996
+ }
13844
13997
  return writer;
13845
13998
  },
13846
13999
  decode(input, length) {
@@ -13902,7 +14055,7 @@ export const EventManagement = {
13902
14055
  if (tag !== 74) {
13903
14056
  break;
13904
14057
  }
13905
- message.channel_id = reader.string();
14058
+ message.channel_voice_id = reader.string();
13906
14059
  continue;
13907
14060
  case 10:
13908
14061
  if (tag !== 82) {
@@ -13940,6 +14093,24 @@ export const EventManagement = {
13940
14093
  }
13941
14094
  message.max_permission = reader.int32();
13942
14095
  continue;
14096
+ case 16:
14097
+ if (tag !== 130) {
14098
+ break;
14099
+ }
14100
+ message.channel_id = reader.string();
14101
+ continue;
14102
+ case 17:
14103
+ if (tag !== 136) {
14104
+ break;
14105
+ }
14106
+ message.event_status = reader.int32();
14107
+ continue;
14108
+ case 18:
14109
+ if (tag !== 144) {
14110
+ break;
14111
+ }
14112
+ message.repeat_type = reader.int32();
14113
+ continue;
13943
14114
  }
13944
14115
  if ((tag & 7) === 4 || tag === 0) {
13945
14116
  break;
@@ -13958,13 +14129,16 @@ export const EventManagement = {
13958
14129
  start_event: isSet(object.start_event) ? globalThis.Number(object.start_event) : 0,
13959
14130
  creator_id: isSet(object.creator_id) ? globalThis.String(object.creator_id) : "",
13960
14131
  clan_id: isSet(object.clan_id) ? globalThis.String(object.clan_id) : "",
13961
- channel_id: isSet(object.channel_id) ? globalThis.String(object.channel_id) : "",
14132
+ channel_voice_id: isSet(object.channel_voice_id) ? globalThis.String(object.channel_voice_id) : "",
13962
14133
  address: isSet(object.address) ? globalThis.String(object.address) : "",
13963
14134
  start_time: isSet(object.start_time) ? fromJsonTimestamp(object.start_time) : undefined,
13964
14135
  end_time: isSet(object.end_time) ? fromJsonTimestamp(object.end_time) : undefined,
13965
14136
  user_ids: globalThis.Array.isArray(object?.user_ids) ? object.user_ids.map((e) => globalThis.String(e)) : [],
13966
14137
  create_time: isSet(object.create_time) ? fromJsonTimestamp(object.create_time) : undefined,
13967
14138
  max_permission: isSet(object.max_permission) ? globalThis.Number(object.max_permission) : 0,
14139
+ channel_id: isSet(object.channel_id) ? globalThis.String(object.channel_id) : "",
14140
+ event_status: isSet(object.event_status) ? globalThis.Number(object.event_status) : 0,
14141
+ repeat_type: isSet(object.repeat_type) ? globalThis.Number(object.repeat_type) : 0,
13968
14142
  };
13969
14143
  },
13970
14144
  toJSON(message) {
@@ -13993,8 +14167,8 @@ export const EventManagement = {
13993
14167
  if (message.clan_id !== "") {
13994
14168
  obj.clan_id = message.clan_id;
13995
14169
  }
13996
- if (message.channel_id !== "") {
13997
- obj.channel_id = message.channel_id;
14170
+ if (message.channel_voice_id !== "") {
14171
+ obj.channel_voice_id = message.channel_voice_id;
13998
14172
  }
13999
14173
  if (message.address !== "") {
14000
14174
  obj.address = message.address;
@@ -14014,6 +14188,15 @@ export const EventManagement = {
14014
14188
  if (message.max_permission !== 0) {
14015
14189
  obj.max_permission = Math.round(message.max_permission);
14016
14190
  }
14191
+ if (message.channel_id !== "") {
14192
+ obj.channel_id = message.channel_id;
14193
+ }
14194
+ if (message.event_status !== 0) {
14195
+ obj.event_status = Math.round(message.event_status);
14196
+ }
14197
+ if (message.repeat_type !== 0) {
14198
+ obj.repeat_type = Math.round(message.repeat_type);
14199
+ }
14017
14200
  return obj;
14018
14201
  },
14019
14202
  create(base) {
@@ -14029,13 +14212,16 @@ export const EventManagement = {
14029
14212
  message.start_event = object.start_event ?? 0;
14030
14213
  message.creator_id = object.creator_id ?? "";
14031
14214
  message.clan_id = object.clan_id ?? "";
14032
- message.channel_id = object.channel_id ?? "";
14215
+ message.channel_voice_id = object.channel_voice_id ?? "";
14033
14216
  message.address = object.address ?? "";
14034
14217
  message.start_time = object.start_time ?? undefined;
14035
14218
  message.end_time = object.end_time ?? undefined;
14036
14219
  message.user_ids = object.user_ids?.map((e) => e) || [];
14037
14220
  message.create_time = object.create_time ?? undefined;
14038
14221
  message.max_permission = object.max_permission ?? 0;
14222
+ message.channel_id = object.channel_id ?? "";
14223
+ message.event_status = object.event_status ?? 0;
14224
+ message.repeat_type = object.repeat_type ?? 0;
14039
14225
  return message;
14040
14226
  },
14041
14227
  };
@@ -16746,12 +16932,16 @@ function createBaseCreateEventRequest() {
16746
16932
  logo: "",
16747
16933
  description: "",
16748
16934
  clan_id: "",
16749
- channel_id: "",
16935
+ channel_voice_id: "",
16750
16936
  address: "",
16751
16937
  start_time: undefined,
16752
16938
  end_time: undefined,
16753
16939
  event_id: "",
16754
- event_status: "",
16940
+ event_status: 0,
16941
+ channel_id: "",
16942
+ action: 0,
16943
+ repeat_type: 0,
16944
+ creator_id: "",
16755
16945
  };
16756
16946
  }
16757
16947
  export const CreateEventRequest = {
@@ -16768,8 +16958,8 @@ export const CreateEventRequest = {
16768
16958
  if (message.clan_id !== "") {
16769
16959
  writer.uint32(34).string(message.clan_id);
16770
16960
  }
16771
- if (message.channel_id !== "") {
16772
- writer.uint32(42).string(message.channel_id);
16961
+ if (message.channel_voice_id !== "") {
16962
+ writer.uint32(42).string(message.channel_voice_id);
16773
16963
  }
16774
16964
  if (message.address !== "") {
16775
16965
  writer.uint32(50).string(message.address);
@@ -16783,8 +16973,20 @@ export const CreateEventRequest = {
16783
16973
  if (message.event_id !== "") {
16784
16974
  writer.uint32(74).string(message.event_id);
16785
16975
  }
16786
- if (message.event_status !== "") {
16787
- writer.uint32(82).string(message.event_status);
16976
+ if (message.event_status !== 0) {
16977
+ writer.uint32(80).int32(message.event_status);
16978
+ }
16979
+ if (message.channel_id !== "") {
16980
+ writer.uint32(90).string(message.channel_id);
16981
+ }
16982
+ if (message.action !== 0) {
16983
+ writer.uint32(96).int32(message.action);
16984
+ }
16985
+ if (message.repeat_type !== 0) {
16986
+ writer.uint32(104).int32(message.repeat_type);
16987
+ }
16988
+ if (message.creator_id !== "") {
16989
+ writer.uint32(114).string(message.creator_id);
16788
16990
  }
16789
16991
  return writer;
16790
16992
  },
@@ -16823,7 +17025,7 @@ export const CreateEventRequest = {
16823
17025
  if (tag !== 42) {
16824
17026
  break;
16825
17027
  }
16826
- message.channel_id = reader.string();
17028
+ message.channel_voice_id = reader.string();
16827
17029
  continue;
16828
17030
  case 6:
16829
17031
  if (tag !== 50) {
@@ -16850,10 +17052,34 @@ export const CreateEventRequest = {
16850
17052
  message.event_id = reader.string();
16851
17053
  continue;
16852
17054
  case 10:
16853
- if (tag !== 82) {
17055
+ if (tag !== 80) {
17056
+ break;
17057
+ }
17058
+ message.event_status = reader.int32();
17059
+ continue;
17060
+ case 11:
17061
+ if (tag !== 90) {
17062
+ break;
17063
+ }
17064
+ message.channel_id = reader.string();
17065
+ continue;
17066
+ case 12:
17067
+ if (tag !== 96) {
17068
+ break;
17069
+ }
17070
+ message.action = reader.int32();
17071
+ continue;
17072
+ case 13:
17073
+ if (tag !== 104) {
16854
17074
  break;
16855
17075
  }
16856
- message.event_status = reader.string();
17076
+ message.repeat_type = reader.int32();
17077
+ continue;
17078
+ case 14:
17079
+ if (tag !== 114) {
17080
+ break;
17081
+ }
17082
+ message.creator_id = reader.string();
16857
17083
  continue;
16858
17084
  }
16859
17085
  if ((tag & 7) === 4 || tag === 0) {
@@ -16869,12 +17095,16 @@ export const CreateEventRequest = {
16869
17095
  logo: isSet(object.logo) ? globalThis.String(object.logo) : "",
16870
17096
  description: isSet(object.description) ? globalThis.String(object.description) : "",
16871
17097
  clan_id: isSet(object.clan_id) ? globalThis.String(object.clan_id) : "",
16872
- channel_id: isSet(object.channel_id) ? globalThis.String(object.channel_id) : "",
17098
+ channel_voice_id: isSet(object.channel_voice_id) ? globalThis.String(object.channel_voice_id) : "",
16873
17099
  address: isSet(object.address) ? globalThis.String(object.address) : "",
16874
17100
  start_time: isSet(object.start_time) ? fromJsonTimestamp(object.start_time) : undefined,
16875
17101
  end_time: isSet(object.end_time) ? fromJsonTimestamp(object.end_time) : undefined,
16876
17102
  event_id: isSet(object.event_id) ? globalThis.String(object.event_id) : "",
16877
- event_status: isSet(object.event_status) ? globalThis.String(object.event_status) : "",
17103
+ event_status: isSet(object.event_status) ? globalThis.Number(object.event_status) : 0,
17104
+ channel_id: isSet(object.channel_id) ? globalThis.String(object.channel_id) : "",
17105
+ action: isSet(object.action) ? globalThis.Number(object.action) : 0,
17106
+ repeat_type: isSet(object.repeat_type) ? globalThis.Number(object.repeat_type) : 0,
17107
+ creator_id: isSet(object.creator_id) ? globalThis.String(object.creator_id) : "",
16878
17108
  };
16879
17109
  },
16880
17110
  toJSON(message) {
@@ -16891,8 +17121,8 @@ export const CreateEventRequest = {
16891
17121
  if (message.clan_id !== "") {
16892
17122
  obj.clan_id = message.clan_id;
16893
17123
  }
16894
- if (message.channel_id !== "") {
16895
- obj.channel_id = message.channel_id;
17124
+ if (message.channel_voice_id !== "") {
17125
+ obj.channel_voice_id = message.channel_voice_id;
16896
17126
  }
16897
17127
  if (message.address !== "") {
16898
17128
  obj.address = message.address;
@@ -16906,8 +17136,20 @@ export const CreateEventRequest = {
16906
17136
  if (message.event_id !== "") {
16907
17137
  obj.event_id = message.event_id;
16908
17138
  }
16909
- if (message.event_status !== "") {
16910
- obj.event_status = message.event_status;
17139
+ if (message.event_status !== 0) {
17140
+ obj.event_status = Math.round(message.event_status);
17141
+ }
17142
+ if (message.channel_id !== "") {
17143
+ obj.channel_id = message.channel_id;
17144
+ }
17145
+ if (message.action !== 0) {
17146
+ obj.action = Math.round(message.action);
17147
+ }
17148
+ if (message.repeat_type !== 0) {
17149
+ obj.repeat_type = Math.round(message.repeat_type);
17150
+ }
17151
+ if (message.creator_id !== "") {
17152
+ obj.creator_id = message.creator_id;
16911
17153
  }
16912
17154
  return obj;
16913
17155
  },
@@ -16920,12 +17162,16 @@ export const CreateEventRequest = {
16920
17162
  message.logo = object.logo ?? "";
16921
17163
  message.description = object.description ?? "";
16922
17164
  message.clan_id = object.clan_id ?? "";
16923
- message.channel_id = object.channel_id ?? "";
17165
+ message.channel_voice_id = object.channel_voice_id ?? "";
16924
17166
  message.address = object.address ?? "";
16925
17167
  message.start_time = object.start_time ?? undefined;
16926
17168
  message.end_time = object.end_time ?? undefined;
16927
17169
  message.event_id = object.event_id ?? "";
16928
- message.event_status = object.event_status ?? "";
17170
+ message.event_status = object.event_status ?? 0;
17171
+ message.channel_id = object.channel_id ?? "";
17172
+ message.action = object.action ?? 0;
17173
+ message.repeat_type = object.repeat_type ?? 0;
17174
+ message.creator_id = object.creator_id ?? "";
16929
17175
  return message;
16930
17176
  },
16931
17177
  };
@@ -16940,6 +17186,10 @@ function createBaseUpdateEventRequest() {
16940
17186
  start_time: undefined,
16941
17187
  end_time: undefined,
16942
17188
  clan_id: "",
17189
+ creator_id: "",
17190
+ channel_voice_id: "",
17191
+ channel_id_old: "",
17192
+ repeat_type: 0,
16943
17193
  };
16944
17194
  }
16945
17195
  export const UpdateEventRequest = {
@@ -16971,6 +17221,18 @@ export const UpdateEventRequest = {
16971
17221
  if (message.clan_id !== "") {
16972
17222
  writer.uint32(74).string(message.clan_id);
16973
17223
  }
17224
+ if (message.creator_id !== "") {
17225
+ writer.uint32(82).string(message.creator_id);
17226
+ }
17227
+ if (message.channel_voice_id !== "") {
17228
+ writer.uint32(90).string(message.channel_voice_id);
17229
+ }
17230
+ if (message.channel_id_old !== "") {
17231
+ writer.uint32(98).string(message.channel_id_old);
17232
+ }
17233
+ if (message.repeat_type !== 0) {
17234
+ writer.uint32(104).int32(message.repeat_type);
17235
+ }
16974
17236
  return writer;
16975
17237
  },
16976
17238
  decode(input, length) {
@@ -17034,6 +17296,30 @@ export const UpdateEventRequest = {
17034
17296
  }
17035
17297
  message.clan_id = reader.string();
17036
17298
  continue;
17299
+ case 10:
17300
+ if (tag !== 82) {
17301
+ break;
17302
+ }
17303
+ message.creator_id = reader.string();
17304
+ continue;
17305
+ case 11:
17306
+ if (tag !== 90) {
17307
+ break;
17308
+ }
17309
+ message.channel_voice_id = reader.string();
17310
+ continue;
17311
+ case 12:
17312
+ if (tag !== 98) {
17313
+ break;
17314
+ }
17315
+ message.channel_id_old = reader.string();
17316
+ continue;
17317
+ case 13:
17318
+ if (tag !== 104) {
17319
+ break;
17320
+ }
17321
+ message.repeat_type = reader.int32();
17322
+ continue;
17037
17323
  }
17038
17324
  if ((tag & 7) === 4 || tag === 0) {
17039
17325
  break;
@@ -17053,6 +17339,10 @@ export const UpdateEventRequest = {
17053
17339
  start_time: isSet(object.start_time) ? fromJsonTimestamp(object.start_time) : undefined,
17054
17340
  end_time: isSet(object.end_time) ? fromJsonTimestamp(object.end_time) : undefined,
17055
17341
  clan_id: isSet(object.clan_id) ? globalThis.String(object.clan_id) : "",
17342
+ creator_id: isSet(object.creator_id) ? globalThis.String(object.creator_id) : "",
17343
+ channel_voice_id: isSet(object.channel_voice_id) ? globalThis.String(object.channel_voice_id) : "",
17344
+ channel_id_old: isSet(object.channel_id_old) ? globalThis.String(object.channel_id_old) : "",
17345
+ repeat_type: isSet(object.repeat_type) ? globalThis.Number(object.repeat_type) : 0,
17056
17346
  };
17057
17347
  },
17058
17348
  toJSON(message) {
@@ -17084,6 +17374,18 @@ export const UpdateEventRequest = {
17084
17374
  if (message.clan_id !== "") {
17085
17375
  obj.clan_id = message.clan_id;
17086
17376
  }
17377
+ if (message.creator_id !== "") {
17378
+ obj.creator_id = message.creator_id;
17379
+ }
17380
+ if (message.channel_voice_id !== "") {
17381
+ obj.channel_voice_id = message.channel_voice_id;
17382
+ }
17383
+ if (message.channel_id_old !== "") {
17384
+ obj.channel_id_old = message.channel_id_old;
17385
+ }
17386
+ if (message.repeat_type !== 0) {
17387
+ obj.repeat_type = Math.round(message.repeat_type);
17388
+ }
17087
17389
  return obj;
17088
17390
  },
17089
17391
  create(base) {
@@ -17100,11 +17402,15 @@ export const UpdateEventRequest = {
17100
17402
  message.start_time = object.start_time ?? undefined;
17101
17403
  message.end_time = object.end_time ?? undefined;
17102
17404
  message.clan_id = object.clan_id ?? "";
17405
+ message.creator_id = object.creator_id ?? "";
17406
+ message.channel_voice_id = object.channel_voice_id ?? "";
17407
+ message.channel_id_old = object.channel_id_old ?? "";
17408
+ message.repeat_type = object.repeat_type ?? 0;
17103
17409
  return message;
17104
17410
  },
17105
17411
  };
17106
17412
  function createBaseDeleteRoleRequest() {
17107
- return { role_id: "", channel_id: "", clan_id: "" };
17413
+ return { role_id: "", channel_id: "", clan_id: "", role_label: "" };
17108
17414
  }
17109
17415
  export const DeleteRoleRequest = {
17110
17416
  encode(message, writer = _m0.Writer.create()) {
@@ -17117,6 +17423,9 @@ export const DeleteRoleRequest = {
17117
17423
  if (message.clan_id !== "") {
17118
17424
  writer.uint32(26).string(message.clan_id);
17119
17425
  }
17426
+ if (message.role_label !== "") {
17427
+ writer.uint32(34).string(message.role_label);
17428
+ }
17120
17429
  return writer;
17121
17430
  },
17122
17431
  decode(input, length) {
@@ -17144,6 +17453,12 @@ export const DeleteRoleRequest = {
17144
17453
  }
17145
17454
  message.clan_id = reader.string();
17146
17455
  continue;
17456
+ case 4:
17457
+ if (tag !== 34) {
17458
+ break;
17459
+ }
17460
+ message.role_label = reader.string();
17461
+ continue;
17147
17462
  }
17148
17463
  if ((tag & 7) === 4 || tag === 0) {
17149
17464
  break;
@@ -17157,6 +17472,7 @@ export const DeleteRoleRequest = {
17157
17472
  role_id: isSet(object.role_id) ? globalThis.String(object.role_id) : "",
17158
17473
  channel_id: isSet(object.channel_id) ? globalThis.String(object.channel_id) : "",
17159
17474
  clan_id: isSet(object.clan_id) ? globalThis.String(object.clan_id) : "",
17475
+ role_label: isSet(object.role_label) ? globalThis.String(object.role_label) : "",
17160
17476
  };
17161
17477
  },
17162
17478
  toJSON(message) {
@@ -17170,6 +17486,9 @@ export const DeleteRoleRequest = {
17170
17486
  if (message.clan_id !== "") {
17171
17487
  obj.clan_id = message.clan_id;
17172
17488
  }
17489
+ if (message.role_label !== "") {
17490
+ obj.role_label = message.role_label;
17491
+ }
17173
17492
  return obj;
17174
17493
  },
17175
17494
  create(base) {
@@ -17180,11 +17499,12 @@ export const DeleteRoleRequest = {
17180
17499
  message.role_id = object.role_id ?? "";
17181
17500
  message.channel_id = object.channel_id ?? "";
17182
17501
  message.clan_id = object.clan_id ?? "";
17502
+ message.role_label = object.role_label ?? "";
17183
17503
  return message;
17184
17504
  },
17185
17505
  };
17186
17506
  function createBaseDeleteEventRequest() {
17187
- return { event_id: "", clan_id: "" };
17507
+ return { event_id: "", clan_id: "", creator_id: "", event_label: "", channel_id: "" };
17188
17508
  }
17189
17509
  export const DeleteEventRequest = {
17190
17510
  encode(message, writer = _m0.Writer.create()) {
@@ -17194,6 +17514,15 @@ export const DeleteEventRequest = {
17194
17514
  if (message.clan_id !== "") {
17195
17515
  writer.uint32(18).string(message.clan_id);
17196
17516
  }
17517
+ if (message.creator_id !== "") {
17518
+ writer.uint32(26).string(message.creator_id);
17519
+ }
17520
+ if (message.event_label !== "") {
17521
+ writer.uint32(34).string(message.event_label);
17522
+ }
17523
+ if (message.channel_id !== "") {
17524
+ writer.uint32(42).string(message.channel_id);
17525
+ }
17197
17526
  return writer;
17198
17527
  },
17199
17528
  decode(input, length) {
@@ -17215,19 +17544,40 @@ export const DeleteEventRequest = {
17215
17544
  }
17216
17545
  message.clan_id = reader.string();
17217
17546
  continue;
17218
- }
17219
- if ((tag & 7) === 4 || tag === 0) {
17220
- break;
17221
- }
17222
- reader.skipType(tag & 7);
17223
- }
17224
- return message;
17225
- },
17226
- fromJSON(object) {
17227
- return {
17228
- event_id: isSet(object.event_id) ? globalThis.String(object.event_id) : "",
17229
- clan_id: isSet(object.clan_id) ? globalThis.String(object.clan_id) : "",
17230
- };
17547
+ case 3:
17548
+ if (tag !== 26) {
17549
+ break;
17550
+ }
17551
+ message.creator_id = reader.string();
17552
+ continue;
17553
+ case 4:
17554
+ if (tag !== 34) {
17555
+ break;
17556
+ }
17557
+ message.event_label = reader.string();
17558
+ continue;
17559
+ case 5:
17560
+ if (tag !== 42) {
17561
+ break;
17562
+ }
17563
+ message.channel_id = reader.string();
17564
+ continue;
17565
+ }
17566
+ if ((tag & 7) === 4 || tag === 0) {
17567
+ break;
17568
+ }
17569
+ reader.skipType(tag & 7);
17570
+ }
17571
+ return message;
17572
+ },
17573
+ fromJSON(object) {
17574
+ return {
17575
+ event_id: isSet(object.event_id) ? globalThis.String(object.event_id) : "",
17576
+ clan_id: isSet(object.clan_id) ? globalThis.String(object.clan_id) : "",
17577
+ creator_id: isSet(object.creator_id) ? globalThis.String(object.creator_id) : "",
17578
+ event_label: isSet(object.event_label) ? globalThis.String(object.event_label) : "",
17579
+ channel_id: isSet(object.channel_id) ? globalThis.String(object.channel_id) : "",
17580
+ };
17231
17581
  },
17232
17582
  toJSON(message) {
17233
17583
  const obj = {};
@@ -17237,6 +17587,15 @@ export const DeleteEventRequest = {
17237
17587
  if (message.clan_id !== "") {
17238
17588
  obj.clan_id = message.clan_id;
17239
17589
  }
17590
+ if (message.creator_id !== "") {
17591
+ obj.creator_id = message.creator_id;
17592
+ }
17593
+ if (message.event_label !== "") {
17594
+ obj.event_label = message.event_label;
17595
+ }
17596
+ if (message.channel_id !== "") {
17597
+ obj.channel_id = message.channel_id;
17598
+ }
17240
17599
  return obj;
17241
17600
  },
17242
17601
  create(base) {
@@ -17246,6 +17605,9 @@ export const DeleteEventRequest = {
17246
17605
  const message = createBaseDeleteEventRequest();
17247
17606
  message.event_id = object.event_id ?? "";
17248
17607
  message.clan_id = object.clan_id ?? "";
17608
+ message.creator_id = object.creator_id ?? "";
17609
+ message.event_label = object.event_label ?? "";
17610
+ message.channel_id = object.channel_id ?? "";
17249
17611
  return message;
17250
17612
  },
17251
17613
  };
@@ -17492,7 +17854,7 @@ export const UpdateRoleRequest = {
17492
17854
  },
17493
17855
  };
17494
17856
  function createBaseUpdateRoleChannelRequest() {
17495
- return { role_id: "", permission_update: [], max_permission_id: "", channel_id: "", user_id: "" };
17857
+ return { role_id: "", permission_update: [], max_permission_id: "", channel_id: "", user_id: "", role_label: "" };
17496
17858
  }
17497
17859
  export const UpdateRoleChannelRequest = {
17498
17860
  encode(message, writer = _m0.Writer.create()) {
@@ -17511,6 +17873,9 @@ export const UpdateRoleChannelRequest = {
17511
17873
  if (message.user_id !== "") {
17512
17874
  writer.uint32(42).string(message.user_id);
17513
17875
  }
17876
+ if (message.role_label !== "") {
17877
+ writer.uint32(50).string(message.role_label);
17878
+ }
17514
17879
  return writer;
17515
17880
  },
17516
17881
  decode(input, length) {
@@ -17550,6 +17915,12 @@ export const UpdateRoleChannelRequest = {
17550
17915
  }
17551
17916
  message.user_id = reader.string();
17552
17917
  continue;
17918
+ case 6:
17919
+ if (tag !== 50) {
17920
+ break;
17921
+ }
17922
+ message.role_label = reader.string();
17923
+ continue;
17553
17924
  }
17554
17925
  if ((tag & 7) === 4 || tag === 0) {
17555
17926
  break;
@@ -17567,6 +17938,7 @@ export const UpdateRoleChannelRequest = {
17567
17938
  max_permission_id: isSet(object.max_permission_id) ? globalThis.String(object.max_permission_id) : "",
17568
17939
  channel_id: isSet(object.channel_id) ? globalThis.String(object.channel_id) : "",
17569
17940
  user_id: isSet(object.user_id) ? globalThis.String(object.user_id) : "",
17941
+ role_label: isSet(object.role_label) ? globalThis.String(object.role_label) : "",
17570
17942
  };
17571
17943
  },
17572
17944
  toJSON(message) {
@@ -17586,6 +17958,9 @@ export const UpdateRoleChannelRequest = {
17586
17958
  if (message.user_id !== "") {
17587
17959
  obj.user_id = message.user_id;
17588
17960
  }
17961
+ if (message.role_label !== "") {
17962
+ obj.role_label = message.role_label;
17963
+ }
17589
17964
  return obj;
17590
17965
  },
17591
17966
  create(base) {
@@ -17598,6 +17973,7 @@ export const UpdateRoleChannelRequest = {
17598
17973
  message.max_permission_id = object.max_permission_id ?? "";
17599
17974
  message.channel_id = object.channel_id ?? "";
17600
17975
  message.user_id = object.user_id ?? "";
17976
+ message.role_label = object.role_label ?? "";
17601
17977
  return message;
17602
17978
  },
17603
17979
  };
@@ -19483,7 +19859,7 @@ export const ClanEmojiGetByClanIdRequest = {
19483
19859
  },
19484
19860
  };
19485
19861
  function createBaseClanEmojiDeleteRequest() {
19486
- return { id: "", clan_id: "" };
19862
+ return { id: "", clan_id: "", emoji_label: "" };
19487
19863
  }
19488
19864
  export const ClanEmojiDeleteRequest = {
19489
19865
  encode(message, writer = _m0.Writer.create()) {
@@ -19493,6 +19869,9 @@ export const ClanEmojiDeleteRequest = {
19493
19869
  if (message.clan_id !== "") {
19494
19870
  writer.uint32(18).string(message.clan_id);
19495
19871
  }
19872
+ if (message.emoji_label !== "") {
19873
+ writer.uint32(26).string(message.emoji_label);
19874
+ }
19496
19875
  return writer;
19497
19876
  },
19498
19877
  decode(input, length) {
@@ -19514,6 +19893,12 @@ export const ClanEmojiDeleteRequest = {
19514
19893
  }
19515
19894
  message.clan_id = reader.string();
19516
19895
  continue;
19896
+ case 3:
19897
+ if (tag !== 26) {
19898
+ break;
19899
+ }
19900
+ message.emoji_label = reader.string();
19901
+ continue;
19517
19902
  }
19518
19903
  if ((tag & 7) === 4 || tag === 0) {
19519
19904
  break;
@@ -19526,6 +19911,7 @@ export const ClanEmojiDeleteRequest = {
19526
19911
  return {
19527
19912
  id: isSet(object.id) ? globalThis.String(object.id) : "",
19528
19913
  clan_id: isSet(object.clan_id) ? globalThis.String(object.clan_id) : "",
19914
+ emoji_label: isSet(object.emoji_label) ? globalThis.String(object.emoji_label) : "",
19529
19915
  };
19530
19916
  },
19531
19917
  toJSON(message) {
@@ -19536,6 +19922,9 @@ export const ClanEmojiDeleteRequest = {
19536
19922
  if (message.clan_id !== "") {
19537
19923
  obj.clan_id = message.clan_id;
19538
19924
  }
19925
+ if (message.emoji_label !== "") {
19926
+ obj.emoji_label = message.emoji_label;
19927
+ }
19539
19928
  return obj;
19540
19929
  },
19541
19930
  create(base) {
@@ -19545,6 +19934,7 @@ export const ClanEmojiDeleteRequest = {
19545
19934
  const message = createBaseClanEmojiDeleteRequest();
19546
19935
  message.id = object.id ?? "";
19547
19936
  message.clan_id = object.clan_id ?? "";
19937
+ message.emoji_label = object.emoji_label ?? "";
19548
19938
  return message;
19549
19939
  },
19550
19940
  };
@@ -20807,7 +21197,7 @@ export const ClanStickerUpdateByIdRequest = {
20807
21197
  },
20808
21198
  };
20809
21199
  function createBaseClanStickerDeleteRequest() {
20810
- return { id: "", clan_id: "" };
21200
+ return { id: "", clan_id: "", sticker_label: "" };
20811
21201
  }
20812
21202
  export const ClanStickerDeleteRequest = {
20813
21203
  encode(message, writer = _m0.Writer.create()) {
@@ -20817,6 +21207,9 @@ export const ClanStickerDeleteRequest = {
20817
21207
  if (message.clan_id !== "") {
20818
21208
  writer.uint32(18).string(message.clan_id);
20819
21209
  }
21210
+ if (message.sticker_label !== "") {
21211
+ writer.uint32(26).string(message.sticker_label);
21212
+ }
20820
21213
  return writer;
20821
21214
  },
20822
21215
  decode(input, length) {
@@ -20838,6 +21231,12 @@ export const ClanStickerDeleteRequest = {
20838
21231
  }
20839
21232
  message.clan_id = reader.string();
20840
21233
  continue;
21234
+ case 3:
21235
+ if (tag !== 26) {
21236
+ break;
21237
+ }
21238
+ message.sticker_label = reader.string();
21239
+ continue;
20841
21240
  }
20842
21241
  if ((tag & 7) === 4 || tag === 0) {
20843
21242
  break;
@@ -20850,6 +21249,7 @@ export const ClanStickerDeleteRequest = {
20850
21249
  return {
20851
21250
  id: isSet(object.id) ? globalThis.String(object.id) : "",
20852
21251
  clan_id: isSet(object.clan_id) ? globalThis.String(object.clan_id) : "",
21252
+ sticker_label: isSet(object.sticker_label) ? globalThis.String(object.sticker_label) : "",
20853
21253
  };
20854
21254
  },
20855
21255
  toJSON(message) {
@@ -20860,6 +21260,9 @@ export const ClanStickerDeleteRequest = {
20860
21260
  if (message.clan_id !== "") {
20861
21261
  obj.clan_id = message.clan_id;
20862
21262
  }
21263
+ if (message.sticker_label !== "") {
21264
+ obj.sticker_label = message.sticker_label;
21265
+ }
20863
21266
  return obj;
20864
21267
  },
20865
21268
  create(base) {
@@ -20869,6 +21272,7 @@ export const ClanStickerDeleteRequest = {
20869
21272
  const message = createBaseClanStickerDeleteRequest();
20870
21273
  message.id = object.id ?? "";
20871
21274
  message.clan_id = object.clan_id ?? "";
21275
+ message.sticker_label = object.sticker_label ?? "";
20872
21276
  return message;
20873
21277
  },
20874
21278
  };
@@ -22040,6 +22444,7 @@ function createBaseSystemMessage() {
22040
22444
  welcome_sticker: "",
22041
22445
  boost_message: "",
22042
22446
  setup_tips: "",
22447
+ hide_audit_log: "",
22043
22448
  };
22044
22449
  }
22045
22450
  export const SystemMessage = {
@@ -22065,6 +22470,9 @@ export const SystemMessage = {
22065
22470
  if (message.setup_tips !== "") {
22066
22471
  writer.uint32(58).string(message.setup_tips);
22067
22472
  }
22473
+ if (message.hide_audit_log !== "") {
22474
+ writer.uint32(66).string(message.hide_audit_log);
22475
+ }
22068
22476
  return writer;
22069
22477
  },
22070
22478
  decode(input, length) {
@@ -22116,6 +22524,12 @@ export const SystemMessage = {
22116
22524
  }
22117
22525
  message.setup_tips = reader.string();
22118
22526
  continue;
22527
+ case 8:
22528
+ if (tag !== 66) {
22529
+ break;
22530
+ }
22531
+ message.hide_audit_log = reader.string();
22532
+ continue;
22119
22533
  }
22120
22534
  if ((tag & 7) === 4 || tag === 0) {
22121
22535
  break;
@@ -22133,6 +22547,7 @@ export const SystemMessage = {
22133
22547
  welcome_sticker: isSet(object.welcome_sticker) ? globalThis.String(object.welcome_sticker) : "",
22134
22548
  boost_message: isSet(object.boost_message) ? globalThis.String(object.boost_message) : "",
22135
22549
  setup_tips: isSet(object.setup_tips) ? globalThis.String(object.setup_tips) : "",
22550
+ hide_audit_log: isSet(object.hide_audit_log) ? globalThis.String(object.hide_audit_log) : "",
22136
22551
  };
22137
22552
  },
22138
22553
  toJSON(message) {
@@ -22158,6 +22573,9 @@ export const SystemMessage = {
22158
22573
  if (message.setup_tips !== "") {
22159
22574
  obj.setup_tips = message.setup_tips;
22160
22575
  }
22576
+ if (message.hide_audit_log !== "") {
22577
+ obj.hide_audit_log = message.hide_audit_log;
22578
+ }
22161
22579
  return obj;
22162
22580
  },
22163
22581
  create(base) {
@@ -22172,6 +22590,7 @@ export const SystemMessage = {
22172
22590
  message.welcome_sticker = object.welcome_sticker ?? "";
22173
22591
  message.boost_message = object.boost_message ?? "";
22174
22592
  message.setup_tips = object.setup_tips ?? "";
22593
+ message.hide_audit_log = object.hide_audit_log ?? "";
22175
22594
  return message;
22176
22595
  },
22177
22596
  };
@@ -22230,7 +22649,15 @@ export const SystemMessagesList = {
22230
22649
  },
22231
22650
  };
22232
22651
  function createBaseSystemMessageRequest() {
22233
- return { clan_id: "", channel_id: "", welcome_random: "", welcome_sticker: "", boost_message: "", setup_tips: "" };
22652
+ return {
22653
+ clan_id: "",
22654
+ channel_id: "",
22655
+ welcome_random: "",
22656
+ welcome_sticker: "",
22657
+ boost_message: "",
22658
+ setup_tips: "",
22659
+ hide_audit_log: "",
22660
+ };
22234
22661
  }
22235
22662
  export const SystemMessageRequest = {
22236
22663
  encode(message, writer = _m0.Writer.create()) {
@@ -22252,6 +22679,9 @@ export const SystemMessageRequest = {
22252
22679
  if (message.setup_tips !== "") {
22253
22680
  writer.uint32(50).string(message.setup_tips);
22254
22681
  }
22682
+ if (message.hide_audit_log !== "") {
22683
+ writer.uint32(58).string(message.hide_audit_log);
22684
+ }
22255
22685
  return writer;
22256
22686
  },
22257
22687
  decode(input, length) {
@@ -22297,6 +22727,12 @@ export const SystemMessageRequest = {
22297
22727
  }
22298
22728
  message.setup_tips = reader.string();
22299
22729
  continue;
22730
+ case 7:
22731
+ if (tag !== 58) {
22732
+ break;
22733
+ }
22734
+ message.hide_audit_log = reader.string();
22735
+ continue;
22300
22736
  }
22301
22737
  if ((tag & 7) === 4 || tag === 0) {
22302
22738
  break;
@@ -22313,6 +22749,7 @@ export const SystemMessageRequest = {
22313
22749
  welcome_sticker: isSet(object.welcome_sticker) ? globalThis.String(object.welcome_sticker) : "",
22314
22750
  boost_message: isSet(object.boost_message) ? globalThis.String(object.boost_message) : "",
22315
22751
  setup_tips: isSet(object.setup_tips) ? globalThis.String(object.setup_tips) : "",
22752
+ hide_audit_log: isSet(object.hide_audit_log) ? globalThis.String(object.hide_audit_log) : "",
22316
22753
  };
22317
22754
  },
22318
22755
  toJSON(message) {
@@ -22335,6 +22772,9 @@ export const SystemMessageRequest = {
22335
22772
  if (message.setup_tips !== "") {
22336
22773
  obj.setup_tips = message.setup_tips;
22337
22774
  }
22775
+ if (message.hide_audit_log !== "") {
22776
+ obj.hide_audit_log = message.hide_audit_log;
22777
+ }
22338
22778
  return obj;
22339
22779
  },
22340
22780
  create(base) {
@@ -22348,6 +22788,7 @@ export const SystemMessageRequest = {
22348
22788
  message.welcome_sticker = object.welcome_sticker ?? "";
22349
22789
  message.boost_message = object.boost_message ?? "";
22350
22790
  message.setup_tips = object.setup_tips ?? "";
22791
+ message.hide_audit_log = object.hide_audit_log ?? "";
22351
22792
  return message;
22352
22793
  },
22353
22794
  };
@@ -22501,70 +22942,41 @@ export const DeleteCategoryOrderRequest = {
22501
22942
  return message;
22502
22943
  },
22503
22944
  };
22504
- function createBaseOssrsHttpCallbackRequest() {
22505
- return {
22506
- action: "",
22507
- client_id: "",
22508
- ip: "",
22509
- vhost: "",
22510
- app: "",
22511
- stream: "",
22512
- param: undefined,
22513
- server_id: "",
22514
- stream_url: "",
22515
- stream_id: "",
22516
- page_url: undefined,
22517
- tcUrl: undefined,
22518
- service_id: undefined,
22519
- };
22945
+ function createBaseStreamHttpCallbackRequest() {
22946
+ return { id: "", client_id: "", clan_id: "", channel_id: "", user_id: "", action: 0, is_publisher: false, token: "" };
22520
22947
  }
22521
- export const OssrsHttpCallbackRequest = {
22948
+ export const StreamHttpCallbackRequest = {
22522
22949
  encode(message, writer = _m0.Writer.create()) {
22523
- if (message.action !== "") {
22524
- writer.uint32(10).string(message.action);
22950
+ if (message.id !== "") {
22951
+ writer.uint32(10).string(message.id);
22525
22952
  }
22526
22953
  if (message.client_id !== "") {
22527
22954
  writer.uint32(18).string(message.client_id);
22528
22955
  }
22529
- if (message.ip !== "") {
22530
- writer.uint32(26).string(message.ip);
22531
- }
22532
- if (message.vhost !== "") {
22533
- writer.uint32(34).string(message.vhost);
22534
- }
22535
- if (message.app !== "") {
22536
- writer.uint32(42).string(message.app);
22537
- }
22538
- if (message.stream !== "") {
22539
- writer.uint32(50).string(message.stream);
22540
- }
22541
- if (message.param !== undefined) {
22542
- StringValue.encode({ value: message.param }, writer.uint32(58).fork()).ldelim();
22543
- }
22544
- if (message.server_id !== "") {
22545
- writer.uint32(66).string(message.server_id);
22956
+ if (message.clan_id !== "") {
22957
+ writer.uint32(26).string(message.clan_id);
22546
22958
  }
22547
- if (message.stream_url !== "") {
22548
- writer.uint32(74).string(message.stream_url);
22959
+ if (message.channel_id !== "") {
22960
+ writer.uint32(34).string(message.channel_id);
22549
22961
  }
22550
- if (message.stream_id !== "") {
22551
- writer.uint32(82).string(message.stream_id);
22962
+ if (message.user_id !== "") {
22963
+ writer.uint32(42).string(message.user_id);
22552
22964
  }
22553
- if (message.page_url !== undefined) {
22554
- StringValue.encode({ value: message.page_url }, writer.uint32(90).fork()).ldelim();
22965
+ if (message.action !== 0) {
22966
+ writer.uint32(48).int32(message.action);
22555
22967
  }
22556
- if (message.tcUrl !== undefined) {
22557
- StringValue.encode({ value: message.tcUrl }, writer.uint32(98).fork()).ldelim();
22968
+ if (message.is_publisher !== false) {
22969
+ writer.uint32(56).bool(message.is_publisher);
22558
22970
  }
22559
- if (message.service_id !== undefined) {
22560
- StringValue.encode({ value: message.service_id }, writer.uint32(106).fork()).ldelim();
22971
+ if (message.token !== "") {
22972
+ writer.uint32(66).string(message.token);
22561
22973
  }
22562
22974
  return writer;
22563
22975
  },
22564
22976
  decode(input, length) {
22565
22977
  const reader = input instanceof _m0.Reader ? input : _m0.Reader.create(input);
22566
22978
  let end = length === undefined ? reader.len : reader.pos + length;
22567
- const message = createBaseOssrsHttpCallbackRequest();
22979
+ const message = createBaseStreamHttpCallbackRequest();
22568
22980
  while (reader.pos < end) {
22569
22981
  const tag = reader.uint32();
22570
22982
  switch (tag >>> 3) {
@@ -22572,7 +22984,7 @@ export const OssrsHttpCallbackRequest = {
22572
22984
  if (tag !== 10) {
22573
22985
  break;
22574
22986
  }
22575
- message.action = reader.string();
22987
+ message.id = reader.string();
22576
22988
  continue;
22577
22989
  case 2:
22578
22990
  if (tag !== 18) {
@@ -22584,67 +22996,37 @@ export const OssrsHttpCallbackRequest = {
22584
22996
  if (tag !== 26) {
22585
22997
  break;
22586
22998
  }
22587
- message.ip = reader.string();
22999
+ message.clan_id = reader.string();
22588
23000
  continue;
22589
23001
  case 4:
22590
23002
  if (tag !== 34) {
22591
23003
  break;
22592
23004
  }
22593
- message.vhost = reader.string();
23005
+ message.channel_id = reader.string();
22594
23006
  continue;
22595
23007
  case 5:
22596
23008
  if (tag !== 42) {
22597
23009
  break;
22598
23010
  }
22599
- message.app = reader.string();
23011
+ message.user_id = reader.string();
22600
23012
  continue;
22601
23013
  case 6:
22602
- if (tag !== 50) {
23014
+ if (tag !== 48) {
22603
23015
  break;
22604
23016
  }
22605
- message.stream = reader.string();
23017
+ message.action = reader.int32();
22606
23018
  continue;
22607
23019
  case 7:
22608
- if (tag !== 58) {
23020
+ if (tag !== 56) {
22609
23021
  break;
22610
23022
  }
22611
- message.param = StringValue.decode(reader, reader.uint32()).value;
23023
+ message.is_publisher = reader.bool();
22612
23024
  continue;
22613
23025
  case 8:
22614
23026
  if (tag !== 66) {
22615
23027
  break;
22616
23028
  }
22617
- message.server_id = reader.string();
22618
- continue;
22619
- case 9:
22620
- if (tag !== 74) {
22621
- break;
22622
- }
22623
- message.stream_url = reader.string();
22624
- continue;
22625
- case 10:
22626
- if (tag !== 82) {
22627
- break;
22628
- }
22629
- message.stream_id = reader.string();
22630
- continue;
22631
- case 11:
22632
- if (tag !== 90) {
22633
- break;
22634
- }
22635
- message.page_url = StringValue.decode(reader, reader.uint32()).value;
22636
- continue;
22637
- case 12:
22638
- if (tag !== 98) {
22639
- break;
22640
- }
22641
- message.tcUrl = StringValue.decode(reader, reader.uint32()).value;
22642
- continue;
22643
- case 13:
22644
- if (tag !== 106) {
22645
- break;
22646
- }
22647
- message.service_id = StringValue.decode(reader, reader.uint32()).value;
23029
+ message.token = reader.string();
22648
23030
  continue;
22649
23031
  }
22650
23032
  if ((tag & 7) === 4 || tag === 0) {
@@ -22656,89 +23038,64 @@ export const OssrsHttpCallbackRequest = {
22656
23038
  },
22657
23039
  fromJSON(object) {
22658
23040
  return {
22659
- action: isSet(object.action) ? globalThis.String(object.action) : "",
23041
+ id: isSet(object.id) ? globalThis.String(object.id) : "",
22660
23042
  client_id: isSet(object.client_id) ? globalThis.String(object.client_id) : "",
22661
- ip: isSet(object.ip) ? globalThis.String(object.ip) : "",
22662
- vhost: isSet(object.vhost) ? globalThis.String(object.vhost) : "",
22663
- app: isSet(object.app) ? globalThis.String(object.app) : "",
22664
- stream: isSet(object.stream) ? globalThis.String(object.stream) : "",
22665
- param: isSet(object.param) ? String(object.param) : undefined,
22666
- server_id: isSet(object.server_id) ? globalThis.String(object.server_id) : "",
22667
- stream_url: isSet(object.stream_url) ? globalThis.String(object.stream_url) : "",
22668
- stream_id: isSet(object.stream_id) ? globalThis.String(object.stream_id) : "",
22669
- page_url: isSet(object.page_url) ? String(object.page_url) : undefined,
22670
- tcUrl: isSet(object.tcUrl) ? String(object.tcUrl) : undefined,
22671
- service_id: isSet(object.service_id) ? String(object.service_id) : undefined,
23043
+ clan_id: isSet(object.clan_id) ? globalThis.String(object.clan_id) : "",
23044
+ channel_id: isSet(object.channel_id) ? globalThis.String(object.channel_id) : "",
23045
+ user_id: isSet(object.user_id) ? globalThis.String(object.user_id) : "",
23046
+ action: isSet(object.action) ? globalThis.Number(object.action) : 0,
23047
+ is_publisher: isSet(object.is_publisher) ? globalThis.Boolean(object.is_publisher) : false,
23048
+ token: isSet(object.token) ? globalThis.String(object.token) : "",
22672
23049
  };
22673
23050
  },
22674
23051
  toJSON(message) {
22675
23052
  const obj = {};
22676
- if (message.action !== "") {
22677
- obj.action = message.action;
23053
+ if (message.id !== "") {
23054
+ obj.id = message.id;
22678
23055
  }
22679
23056
  if (message.client_id !== "") {
22680
23057
  obj.client_id = message.client_id;
22681
23058
  }
22682
- if (message.ip !== "") {
22683
- obj.ip = message.ip;
22684
- }
22685
- if (message.vhost !== "") {
22686
- obj.vhost = message.vhost;
22687
- }
22688
- if (message.app !== "") {
22689
- obj.app = message.app;
22690
- }
22691
- if (message.stream !== "") {
22692
- obj.stream = message.stream;
22693
- }
22694
- if (message.param !== undefined) {
22695
- obj.param = message.param;
22696
- }
22697
- if (message.server_id !== "") {
22698
- obj.server_id = message.server_id;
23059
+ if (message.clan_id !== "") {
23060
+ obj.clan_id = message.clan_id;
22699
23061
  }
22700
- if (message.stream_url !== "") {
22701
- obj.stream_url = message.stream_url;
23062
+ if (message.channel_id !== "") {
23063
+ obj.channel_id = message.channel_id;
22702
23064
  }
22703
- if (message.stream_id !== "") {
22704
- obj.stream_id = message.stream_id;
23065
+ if (message.user_id !== "") {
23066
+ obj.user_id = message.user_id;
22705
23067
  }
22706
- if (message.page_url !== undefined) {
22707
- obj.page_url = message.page_url;
23068
+ if (message.action !== 0) {
23069
+ obj.action = Math.round(message.action);
22708
23070
  }
22709
- if (message.tcUrl !== undefined) {
22710
- obj.tcUrl = message.tcUrl;
23071
+ if (message.is_publisher !== false) {
23072
+ obj.is_publisher = message.is_publisher;
22711
23073
  }
22712
- if (message.service_id !== undefined) {
22713
- obj.service_id = message.service_id;
23074
+ if (message.token !== "") {
23075
+ obj.token = message.token;
22714
23076
  }
22715
23077
  return obj;
22716
23078
  },
22717
23079
  create(base) {
22718
- return OssrsHttpCallbackRequest.fromPartial(base ?? {});
23080
+ return StreamHttpCallbackRequest.fromPartial(base ?? {});
22719
23081
  },
22720
23082
  fromPartial(object) {
22721
- const message = createBaseOssrsHttpCallbackRequest();
22722
- message.action = object.action ?? "";
23083
+ const message = createBaseStreamHttpCallbackRequest();
23084
+ message.id = object.id ?? "";
22723
23085
  message.client_id = object.client_id ?? "";
22724
- message.ip = object.ip ?? "";
22725
- message.vhost = object.vhost ?? "";
22726
- message.app = object.app ?? "";
22727
- message.stream = object.stream ?? "";
22728
- message.param = object.param ?? undefined;
22729
- message.server_id = object.server_id ?? "";
22730
- message.stream_url = object.stream_url ?? "";
22731
- message.stream_id = object.stream_id ?? "";
22732
- message.page_url = object.page_url ?? undefined;
22733
- message.tcUrl = object.tcUrl ?? undefined;
22734
- message.service_id = object.service_id ?? undefined;
23086
+ message.clan_id = object.clan_id ?? "";
23087
+ message.channel_id = object.channel_id ?? "";
23088
+ message.user_id = object.user_id ?? "";
23089
+ message.action = object.action ?? 0;
23090
+ message.is_publisher = object.is_publisher ?? false;
23091
+ message.token = object.token ?? "";
22735
23092
  return message;
22736
23093
  },
22737
23094
  };
22738
- function createBaseOssrsHttpCallbackResponse() {
23095
+ function createBaseStreamHttpCallbackResponse() {
22739
23096
  return { code: undefined, msg: "" };
22740
23097
  }
22741
- export const OssrsHttpCallbackResponse = {
23098
+ export const StreamHttpCallbackResponse = {
22742
23099
  encode(message, writer = _m0.Writer.create()) {
22743
23100
  if (message.code !== undefined) {
22744
23101
  Int32Value.encode({ value: message.code }, writer.uint32(10).fork()).ldelim();
@@ -22751,7 +23108,7 @@ export const OssrsHttpCallbackResponse = {
22751
23108
  decode(input, length) {
22752
23109
  const reader = input instanceof _m0.Reader ? input : _m0.Reader.create(input);
22753
23110
  let end = length === undefined ? reader.len : reader.pos + length;
22754
- const message = createBaseOssrsHttpCallbackResponse();
23111
+ const message = createBaseStreamHttpCallbackResponse();
22755
23112
  while (reader.pos < end) {
22756
23113
  const tag = reader.uint32();
22757
23114
  switch (tag >>> 3) {
@@ -22792,10 +23149,10 @@ export const OssrsHttpCallbackResponse = {
22792
23149
  return obj;
22793
23150
  },
22794
23151
  create(base) {
22795
- return OssrsHttpCallbackResponse.fromPartial(base ?? {});
23152
+ return StreamHttpCallbackResponse.fromPartial(base ?? {});
22796
23153
  },
22797
23154
  fromPartial(object) {
22798
- const message = createBaseOssrsHttpCallbackResponse();
23155
+ const message = createBaseStreamHttpCallbackResponse();
22799
23156
  message.code = object.code ?? undefined;
22800
23157
  message.msg = object.msg ?? "";
22801
23158
  return message;
@@ -23096,204 +23453,6 @@ export const RegisterStreamingChannelResponse = {
23096
23453
  return message;
23097
23454
  },
23098
23455
  };
23099
- function createBaseListStreamingChannelsRequest() {
23100
- return { clan_id: "" };
23101
- }
23102
- export const ListStreamingChannelsRequest = {
23103
- encode(message, writer = _m0.Writer.create()) {
23104
- if (message.clan_id !== "") {
23105
- writer.uint32(10).string(message.clan_id);
23106
- }
23107
- return writer;
23108
- },
23109
- decode(input, length) {
23110
- const reader = input instanceof _m0.Reader ? input : _m0.Reader.create(input);
23111
- let end = length === undefined ? reader.len : reader.pos + length;
23112
- const message = createBaseListStreamingChannelsRequest();
23113
- while (reader.pos < end) {
23114
- const tag = reader.uint32();
23115
- switch (tag >>> 3) {
23116
- case 1:
23117
- if (tag !== 10) {
23118
- break;
23119
- }
23120
- message.clan_id = reader.string();
23121
- continue;
23122
- }
23123
- if ((tag & 7) === 4 || tag === 0) {
23124
- break;
23125
- }
23126
- reader.skipType(tag & 7);
23127
- }
23128
- return message;
23129
- },
23130
- fromJSON(object) {
23131
- return { clan_id: isSet(object.clan_id) ? globalThis.String(object.clan_id) : "" };
23132
- },
23133
- toJSON(message) {
23134
- const obj = {};
23135
- if (message.clan_id !== "") {
23136
- obj.clan_id = message.clan_id;
23137
- }
23138
- return obj;
23139
- },
23140
- create(base) {
23141
- return ListStreamingChannelsRequest.fromPartial(base ?? {});
23142
- },
23143
- fromPartial(object) {
23144
- const message = createBaseListStreamingChannelsRequest();
23145
- message.clan_id = object.clan_id ?? "";
23146
- return message;
23147
- },
23148
- };
23149
- function createBaseListStreamingChannelsResponse() {
23150
- return { streaming_channels: [] };
23151
- }
23152
- export const ListStreamingChannelsResponse = {
23153
- encode(message, writer = _m0.Writer.create()) {
23154
- for (const v of message.streaming_channels) {
23155
- StreamingChannelResponse.encode(v, writer.uint32(10).fork()).ldelim();
23156
- }
23157
- return writer;
23158
- },
23159
- decode(input, length) {
23160
- const reader = input instanceof _m0.Reader ? input : _m0.Reader.create(input);
23161
- let end = length === undefined ? reader.len : reader.pos + length;
23162
- const message = createBaseListStreamingChannelsResponse();
23163
- while (reader.pos < end) {
23164
- const tag = reader.uint32();
23165
- switch (tag >>> 3) {
23166
- case 1:
23167
- if (tag !== 10) {
23168
- break;
23169
- }
23170
- message.streaming_channels.push(StreamingChannelResponse.decode(reader, reader.uint32()));
23171
- continue;
23172
- }
23173
- if ((tag & 7) === 4 || tag === 0) {
23174
- break;
23175
- }
23176
- reader.skipType(tag & 7);
23177
- }
23178
- return message;
23179
- },
23180
- fromJSON(object) {
23181
- return {
23182
- streaming_channels: globalThis.Array.isArray(object?.streaming_channels)
23183
- ? object.streaming_channels.map((e) => StreamingChannelResponse.fromJSON(e))
23184
- : [],
23185
- };
23186
- },
23187
- toJSON(message) {
23188
- const obj = {};
23189
- if (message.streaming_channels?.length) {
23190
- obj.streaming_channels = message.streaming_channels.map((e) => StreamingChannelResponse.toJSON(e));
23191
- }
23192
- return obj;
23193
- },
23194
- create(base) {
23195
- return ListStreamingChannelsResponse.fromPartial(base ?? {});
23196
- },
23197
- fromPartial(object) {
23198
- const message = createBaseListStreamingChannelsResponse();
23199
- message.streaming_channels = object.streaming_channels?.map((e) => StreamingChannelResponse.fromPartial(e)) || [];
23200
- return message;
23201
- },
23202
- };
23203
- function createBaseStreamingChannelResponse() {
23204
- return { clan_id: "", channel_id: "", streaming_url: "", is_streaming: false };
23205
- }
23206
- export const StreamingChannelResponse = {
23207
- encode(message, writer = _m0.Writer.create()) {
23208
- if (message.clan_id !== "") {
23209
- writer.uint32(10).string(message.clan_id);
23210
- }
23211
- if (message.channel_id !== "") {
23212
- writer.uint32(18).string(message.channel_id);
23213
- }
23214
- if (message.streaming_url !== "") {
23215
- writer.uint32(26).string(message.streaming_url);
23216
- }
23217
- if (message.is_streaming !== false) {
23218
- writer.uint32(32).bool(message.is_streaming);
23219
- }
23220
- return writer;
23221
- },
23222
- decode(input, length) {
23223
- const reader = input instanceof _m0.Reader ? input : _m0.Reader.create(input);
23224
- let end = length === undefined ? reader.len : reader.pos + length;
23225
- const message = createBaseStreamingChannelResponse();
23226
- while (reader.pos < end) {
23227
- const tag = reader.uint32();
23228
- switch (tag >>> 3) {
23229
- case 1:
23230
- if (tag !== 10) {
23231
- break;
23232
- }
23233
- message.clan_id = reader.string();
23234
- continue;
23235
- case 2:
23236
- if (tag !== 18) {
23237
- break;
23238
- }
23239
- message.channel_id = reader.string();
23240
- continue;
23241
- case 3:
23242
- if (tag !== 26) {
23243
- break;
23244
- }
23245
- message.streaming_url = reader.string();
23246
- continue;
23247
- case 4:
23248
- if (tag !== 32) {
23249
- break;
23250
- }
23251
- message.is_streaming = reader.bool();
23252
- continue;
23253
- }
23254
- if ((tag & 7) === 4 || tag === 0) {
23255
- break;
23256
- }
23257
- reader.skipType(tag & 7);
23258
- }
23259
- return message;
23260
- },
23261
- fromJSON(object) {
23262
- return {
23263
- clan_id: isSet(object.clan_id) ? globalThis.String(object.clan_id) : "",
23264
- channel_id: isSet(object.channel_id) ? globalThis.String(object.channel_id) : "",
23265
- streaming_url: isSet(object.streaming_url) ? globalThis.String(object.streaming_url) : "",
23266
- is_streaming: isSet(object.is_streaming) ? globalThis.Boolean(object.is_streaming) : false,
23267
- };
23268
- },
23269
- toJSON(message) {
23270
- const obj = {};
23271
- if (message.clan_id !== "") {
23272
- obj.clan_id = message.clan_id;
23273
- }
23274
- if (message.channel_id !== "") {
23275
- obj.channel_id = message.channel_id;
23276
- }
23277
- if (message.streaming_url !== "") {
23278
- obj.streaming_url = message.streaming_url;
23279
- }
23280
- if (message.is_streaming !== false) {
23281
- obj.is_streaming = message.is_streaming;
23282
- }
23283
- return obj;
23284
- },
23285
- create(base) {
23286
- return StreamingChannelResponse.fromPartial(base ?? {});
23287
- },
23288
- fromPartial(object) {
23289
- const message = createBaseStreamingChannelResponse();
23290
- message.clan_id = object.clan_id ?? "";
23291
- message.channel_id = object.channel_id ?? "";
23292
- message.streaming_url = object.streaming_url ?? "";
23293
- message.is_streaming = object.is_streaming ?? false;
23294
- return message;
23295
- },
23296
- };
23297
23456
  function createBaseGiveCoffeeEvent() {
23298
23457
  return { sender_id: "", receiver_id: "", token_count: 0, message_ref_id: "", channel_id: "", clan_id: "" };
23299
23458
  }
@@ -26944,6 +27103,7 @@ function createBaseAuditLog() {
26944
27103
  details: "",
26945
27104
  time_log: undefined,
26946
27105
  channel_id: "",
27106
+ channel_label: "",
26947
27107
  };
26948
27108
  }
26949
27109
  export const AuditLog = {
@@ -26975,6 +27135,9 @@ export const AuditLog = {
26975
27135
  if (message.channel_id !== "") {
26976
27136
  writer.uint32(74).string(message.channel_id);
26977
27137
  }
27138
+ if (message.channel_label !== "") {
27139
+ writer.uint32(82).string(message.channel_label);
27140
+ }
26978
27141
  return writer;
26979
27142
  },
26980
27143
  decode(input, length) {
@@ -27038,6 +27201,12 @@ export const AuditLog = {
27038
27201
  }
27039
27202
  message.channel_id = reader.string();
27040
27203
  continue;
27204
+ case 10:
27205
+ if (tag !== 82) {
27206
+ break;
27207
+ }
27208
+ message.channel_label = reader.string();
27209
+ continue;
27041
27210
  }
27042
27211
  if ((tag & 7) === 4 || tag === 0) {
27043
27212
  break;
@@ -27057,6 +27226,7 @@ export const AuditLog = {
27057
27226
  details: isSet(object.details) ? globalThis.String(object.details) : "",
27058
27227
  time_log: isSet(object.time_log) ? fromJsonTimestamp(object.time_log) : undefined,
27059
27228
  channel_id: isSet(object.channel_id) ? globalThis.String(object.channel_id) : "",
27229
+ channel_label: isSet(object.channel_label) ? globalThis.String(object.channel_label) : "",
27060
27230
  };
27061
27231
  },
27062
27232
  toJSON(message) {
@@ -27088,6 +27258,9 @@ export const AuditLog = {
27088
27258
  if (message.channel_id !== "") {
27089
27259
  obj.channel_id = message.channel_id;
27090
27260
  }
27261
+ if (message.channel_label !== "") {
27262
+ obj.channel_label = message.channel_label;
27263
+ }
27091
27264
  return obj;
27092
27265
  },
27093
27266
  create(base) {
@@ -27104,25 +27277,23 @@ export const AuditLog = {
27104
27277
  message.details = object.details ?? "";
27105
27278
  message.time_log = object.time_log ?? undefined;
27106
27279
  message.channel_id = object.channel_id ?? "";
27280
+ message.channel_label = object.channel_label ?? "";
27107
27281
  return message;
27108
27282
  },
27109
27283
  };
27110
27284
  function createBaseListAuditLog() {
27111
- return { total_count: 0, page: 0, page_size: 0, logs: [] };
27285
+ return { total_count: 0, date_log: "", logs: [] };
27112
27286
  }
27113
27287
  export const ListAuditLog = {
27114
27288
  encode(message, writer = _m0.Writer.create()) {
27115
27289
  if (message.total_count !== 0) {
27116
27290
  writer.uint32(8).int32(message.total_count);
27117
27291
  }
27118
- if (message.page !== 0) {
27119
- writer.uint32(16).int32(message.page);
27120
- }
27121
- if (message.page_size !== 0) {
27122
- writer.uint32(24).int32(message.page_size);
27292
+ if (message.date_log !== "") {
27293
+ writer.uint32(18).string(message.date_log);
27123
27294
  }
27124
27295
  for (const v of message.logs) {
27125
- AuditLog.encode(v, writer.uint32(34).fork()).ldelim();
27296
+ AuditLog.encode(v, writer.uint32(26).fork()).ldelim();
27126
27297
  }
27127
27298
  return writer;
27128
27299
  },
@@ -27140,19 +27311,13 @@ export const ListAuditLog = {
27140
27311
  message.total_count = reader.int32();
27141
27312
  continue;
27142
27313
  case 2:
27143
- if (tag !== 16) {
27314
+ if (tag !== 18) {
27144
27315
  break;
27145
27316
  }
27146
- message.page = reader.int32();
27317
+ message.date_log = reader.string();
27147
27318
  continue;
27148
27319
  case 3:
27149
- if (tag !== 24) {
27150
- break;
27151
- }
27152
- message.page_size = reader.int32();
27153
- continue;
27154
- case 4:
27155
- if (tag !== 34) {
27320
+ if (tag !== 26) {
27156
27321
  break;
27157
27322
  }
27158
27323
  message.logs.push(AuditLog.decode(reader, reader.uint32()));
@@ -27168,8 +27333,7 @@ export const ListAuditLog = {
27168
27333
  fromJSON(object) {
27169
27334
  return {
27170
27335
  total_count: isSet(object.total_count) ? globalThis.Number(object.total_count) : 0,
27171
- page: isSet(object.page) ? globalThis.Number(object.page) : 0,
27172
- page_size: isSet(object.page_size) ? globalThis.Number(object.page_size) : 0,
27336
+ date_log: isSet(object.date_log) ? globalThis.String(object.date_log) : "",
27173
27337
  logs: globalThis.Array.isArray(object?.logs) ? object.logs.map((e) => AuditLog.fromJSON(e)) : [],
27174
27338
  };
27175
27339
  },
@@ -27178,11 +27342,8 @@ export const ListAuditLog = {
27178
27342
  if (message.total_count !== 0) {
27179
27343
  obj.total_count = Math.round(message.total_count);
27180
27344
  }
27181
- if (message.page !== 0) {
27182
- obj.page = Math.round(message.page);
27183
- }
27184
- if (message.page_size !== 0) {
27185
- obj.page_size = Math.round(message.page_size);
27345
+ if (message.date_log !== "") {
27346
+ obj.date_log = message.date_log;
27186
27347
  }
27187
27348
  if (message.logs?.length) {
27188
27349
  obj.logs = message.logs.map((e) => AuditLog.toJSON(e));
@@ -27195,14 +27356,13 @@ export const ListAuditLog = {
27195
27356
  fromPartial(object) {
27196
27357
  const message = createBaseListAuditLog();
27197
27358
  message.total_count = object.total_count ?? 0;
27198
- message.page = object.page ?? 0;
27199
- message.page_size = object.page_size ?? 0;
27359
+ message.date_log = object.date_log ?? "";
27200
27360
  message.logs = object.logs?.map((e) => AuditLog.fromPartial(e)) || [];
27201
27361
  return message;
27202
27362
  },
27203
27363
  };
27204
27364
  function createBaseListAuditLogRequest() {
27205
- return { action_log: "", user_id: "", clan_id: "", page: 0, page_size: 0 };
27365
+ return { action_log: "", user_id: "", clan_id: "", date_log: "" };
27206
27366
  }
27207
27367
  export const ListAuditLogRequest = {
27208
27368
  encode(message, writer = _m0.Writer.create()) {
@@ -27215,11 +27375,8 @@ export const ListAuditLogRequest = {
27215
27375
  if (message.clan_id !== "") {
27216
27376
  writer.uint32(26).string(message.clan_id);
27217
27377
  }
27218
- if (message.page !== 0) {
27219
- writer.uint32(32).int32(message.page);
27220
- }
27221
- if (message.page_size !== 0) {
27222
- writer.uint32(40).int32(message.page_size);
27378
+ if (message.date_log !== "") {
27379
+ writer.uint32(34).string(message.date_log);
27223
27380
  }
27224
27381
  return writer;
27225
27382
  },
@@ -27249,16 +27406,10 @@ export const ListAuditLogRequest = {
27249
27406
  message.clan_id = reader.string();
27250
27407
  continue;
27251
27408
  case 4:
27252
- if (tag !== 32) {
27253
- break;
27254
- }
27255
- message.page = reader.int32();
27256
- continue;
27257
- case 5:
27258
- if (tag !== 40) {
27409
+ if (tag !== 34) {
27259
27410
  break;
27260
27411
  }
27261
- message.page_size = reader.int32();
27412
+ message.date_log = reader.string();
27262
27413
  continue;
27263
27414
  }
27264
27415
  if ((tag & 7) === 4 || tag === 0) {
@@ -27273,8 +27424,7 @@ export const ListAuditLogRequest = {
27273
27424
  action_log: isSet(object.action_log) ? globalThis.String(object.action_log) : "",
27274
27425
  user_id: isSet(object.user_id) ? globalThis.String(object.user_id) : "",
27275
27426
  clan_id: isSet(object.clan_id) ? globalThis.String(object.clan_id) : "",
27276
- page: isSet(object.page) ? globalThis.Number(object.page) : 0,
27277
- page_size: isSet(object.page_size) ? globalThis.Number(object.page_size) : 0,
27427
+ date_log: isSet(object.date_log) ? globalThis.String(object.date_log) : "",
27278
27428
  };
27279
27429
  },
27280
27430
  toJSON(message) {
@@ -27288,11 +27438,8 @@ export const ListAuditLogRequest = {
27288
27438
  if (message.clan_id !== "") {
27289
27439
  obj.clan_id = message.clan_id;
27290
27440
  }
27291
- if (message.page !== 0) {
27292
- obj.page = Math.round(message.page);
27293
- }
27294
- if (message.page_size !== 0) {
27295
- obj.page_size = Math.round(message.page_size);
27441
+ if (message.date_log !== "") {
27442
+ obj.date_log = message.date_log;
27296
27443
  }
27297
27444
  return obj;
27298
27445
  },
@@ -27304,13 +27451,20 @@ export const ListAuditLogRequest = {
27304
27451
  message.action_log = object.action_log ?? "";
27305
27452
  message.user_id = object.user_id ?? "";
27306
27453
  message.clan_id = object.clan_id ?? "";
27307
- message.page = object.page ?? 0;
27308
- message.page_size = object.page_size ?? 0;
27454
+ message.date_log = object.date_log ?? "";
27309
27455
  return message;
27310
27456
  },
27311
27457
  };
27312
27458
  function createBaseTokenSentEvent() {
27313
- return { sender_id: "", sender_name: "", receiver_id: "", amount: 0, note: "" };
27459
+ return {
27460
+ sender_id: "",
27461
+ sender_name: "",
27462
+ receiver_id: "",
27463
+ amount: 0,
27464
+ note: "",
27465
+ extra_attribute: "",
27466
+ transaction_id: "",
27467
+ };
27314
27468
  }
27315
27469
  export const TokenSentEvent = {
27316
27470
  encode(message, writer = _m0.Writer.create()) {
@@ -27329,6 +27483,12 @@ export const TokenSentEvent = {
27329
27483
  if (message.note !== "") {
27330
27484
  writer.uint32(42).string(message.note);
27331
27485
  }
27486
+ if (message.extra_attribute !== "") {
27487
+ writer.uint32(50).string(message.extra_attribute);
27488
+ }
27489
+ if (message.transaction_id !== "") {
27490
+ writer.uint32(58).string(message.transaction_id);
27491
+ }
27332
27492
  return writer;
27333
27493
  },
27334
27494
  decode(input, length) {
@@ -27368,6 +27528,18 @@ export const TokenSentEvent = {
27368
27528
  }
27369
27529
  message.note = reader.string();
27370
27530
  continue;
27531
+ case 6:
27532
+ if (tag !== 50) {
27533
+ break;
27534
+ }
27535
+ message.extra_attribute = reader.string();
27536
+ continue;
27537
+ case 7:
27538
+ if (tag !== 58) {
27539
+ break;
27540
+ }
27541
+ message.transaction_id = reader.string();
27542
+ continue;
27371
27543
  }
27372
27544
  if ((tag & 7) === 4 || tag === 0) {
27373
27545
  break;
@@ -27383,6 +27555,8 @@ export const TokenSentEvent = {
27383
27555
  receiver_id: isSet(object.receiver_id) ? globalThis.String(object.receiver_id) : "",
27384
27556
  amount: isSet(object.amount) ? globalThis.Number(object.amount) : 0,
27385
27557
  note: isSet(object.note) ? globalThis.String(object.note) : "",
27558
+ extra_attribute: isSet(object.extra_attribute) ? globalThis.String(object.extra_attribute) : "",
27559
+ transaction_id: isSet(object.transaction_id) ? globalThis.String(object.transaction_id) : "",
27386
27560
  };
27387
27561
  },
27388
27562
  toJSON(message) {
@@ -27402,6 +27576,12 @@ export const TokenSentEvent = {
27402
27576
  if (message.note !== "") {
27403
27577
  obj.note = message.note;
27404
27578
  }
27579
+ if (message.extra_attribute !== "") {
27580
+ obj.extra_attribute = message.extra_attribute;
27581
+ }
27582
+ if (message.transaction_id !== "") {
27583
+ obj.transaction_id = message.transaction_id;
27584
+ }
27405
27585
  return obj;
27406
27586
  },
27407
27587
  create(base) {
@@ -27414,6 +27594,8 @@ export const TokenSentEvent = {
27414
27594
  message.receiver_id = object.receiver_id ?? "";
27415
27595
  message.amount = object.amount ?? 0;
27416
27596
  message.note = object.note ?? "";
27597
+ message.extra_attribute = object.extra_attribute ?? "";
27598
+ message.transaction_id = object.transaction_id ?? "";
27417
27599
  return message;
27418
27600
  },
27419
27601
  };
@@ -29992,6 +30174,8 @@ function createBaseSdTopic() {
29992
30174
  status: 0,
29993
30175
  create_time: undefined,
29994
30176
  update_time: undefined,
30177
+ message: undefined,
30178
+ last_sent_message: undefined,
29995
30179
  };
29996
30180
  }
29997
30181
  export const SdTopic = {
@@ -30020,6 +30204,12 @@ export const SdTopic = {
30020
30204
  if (message.update_time !== undefined) {
30021
30205
  Timestamp.encode(toTimestamp(message.update_time), writer.uint32(66).fork()).ldelim();
30022
30206
  }
30207
+ if (message.message !== undefined) {
30208
+ ChannelMessage.encode(message.message, writer.uint32(74).fork()).ldelim();
30209
+ }
30210
+ if (message.last_sent_message !== undefined) {
30211
+ ChannelMessageHeader.encode(message.last_sent_message, writer.uint32(82).fork()).ldelim();
30212
+ }
30023
30213
  return writer;
30024
30214
  },
30025
30215
  decode(input, length) {
@@ -30077,6 +30267,18 @@ export const SdTopic = {
30077
30267
  }
30078
30268
  message.update_time = fromTimestamp(Timestamp.decode(reader, reader.uint32()));
30079
30269
  continue;
30270
+ case 9:
30271
+ if (tag !== 74) {
30272
+ break;
30273
+ }
30274
+ message.message = ChannelMessage.decode(reader, reader.uint32());
30275
+ continue;
30276
+ case 10:
30277
+ if (tag !== 82) {
30278
+ break;
30279
+ }
30280
+ message.last_sent_message = ChannelMessageHeader.decode(reader, reader.uint32());
30281
+ continue;
30080
30282
  }
30081
30283
  if ((tag & 7) === 4 || tag === 0) {
30082
30284
  break;
@@ -30095,6 +30297,10 @@ export const SdTopic = {
30095
30297
  status: isSet(object.status) ? globalThis.Number(object.status) : 0,
30096
30298
  create_time: isSet(object.create_time) ? fromJsonTimestamp(object.create_time) : undefined,
30097
30299
  update_time: isSet(object.update_time) ? fromJsonTimestamp(object.update_time) : undefined,
30300
+ message: isSet(object.message) ? ChannelMessage.fromJSON(object.message) : undefined,
30301
+ last_sent_message: isSet(object.last_sent_message)
30302
+ ? ChannelMessageHeader.fromJSON(object.last_sent_message)
30303
+ : undefined,
30098
30304
  };
30099
30305
  },
30100
30306
  toJSON(message) {
@@ -30123,6 +30329,12 @@ export const SdTopic = {
30123
30329
  if (message.update_time !== undefined) {
30124
30330
  obj.update_time = message.update_time.toISOString();
30125
30331
  }
30332
+ if (message.message !== undefined) {
30333
+ obj.message = ChannelMessage.toJSON(message.message);
30334
+ }
30335
+ if (message.last_sent_message !== undefined) {
30336
+ obj.last_sent_message = ChannelMessageHeader.toJSON(message.last_sent_message);
30337
+ }
30126
30338
  return obj;
30127
30339
  },
30128
30340
  create(base) {
@@ -30138,6 +30350,12 @@ export const SdTopic = {
30138
30350
  message.status = object.status ?? 0;
30139
30351
  message.create_time = object.create_time ?? undefined;
30140
30352
  message.update_time = object.update_time ?? undefined;
30353
+ message.message = (object.message !== undefined && object.message !== null)
30354
+ ? ChannelMessage.fromPartial(object.message)
30355
+ : undefined;
30356
+ message.last_sent_message = (object.last_sent_message !== undefined && object.last_sent_message !== null)
30357
+ ? ChannelMessageHeader.fromPartial(object.last_sent_message)
30358
+ : undefined;
30141
30359
  return message;
30142
30360
  },
30143
30361
  };
@@ -30288,12 +30506,12 @@ export const SdTopicList = {
30288
30506
  },
30289
30507
  };
30290
30508
  function createBaseListSdTopicRequest() {
30291
- return { channel_id: "", limit: 0 };
30509
+ return { clan_id: "", limit: 0 };
30292
30510
  }
30293
30511
  export const ListSdTopicRequest = {
30294
30512
  encode(message, writer = _m0.Writer.create()) {
30295
- if (message.channel_id !== "") {
30296
- writer.uint32(10).string(message.channel_id);
30513
+ if (message.clan_id !== "") {
30514
+ writer.uint32(10).string(message.clan_id);
30297
30515
  }
30298
30516
  if (message.limit !== 0) {
30299
30517
  writer.uint32(16).int32(message.limit);
@@ -30311,7 +30529,7 @@ export const ListSdTopicRequest = {
30311
30529
  if (tag !== 10) {
30312
30530
  break;
30313
30531
  }
30314
- message.channel_id = reader.string();
30532
+ message.clan_id = reader.string();
30315
30533
  continue;
30316
30534
  case 2:
30317
30535
  if (tag !== 16) {
@@ -30329,14 +30547,14 @@ export const ListSdTopicRequest = {
30329
30547
  },
30330
30548
  fromJSON(object) {
30331
30549
  return {
30332
- channel_id: isSet(object.channel_id) ? globalThis.String(object.channel_id) : "",
30550
+ clan_id: isSet(object.clan_id) ? globalThis.String(object.clan_id) : "",
30333
30551
  limit: isSet(object.limit) ? globalThis.Number(object.limit) : 0,
30334
30552
  };
30335
30553
  },
30336
30554
  toJSON(message) {
30337
30555
  const obj = {};
30338
- if (message.channel_id !== "") {
30339
- obj.channel_id = message.channel_id;
30556
+ if (message.clan_id !== "") {
30557
+ obj.clan_id = message.clan_id;
30340
30558
  }
30341
30559
  if (message.limit !== 0) {
30342
30560
  obj.limit = Math.round(message.limit);
@@ -30348,11 +30566,61 @@ export const ListSdTopicRequest = {
30348
30566
  },
30349
30567
  fromPartial(object) {
30350
30568
  const message = createBaseListSdTopicRequest();
30351
- message.channel_id = object.channel_id ?? "";
30569
+ message.clan_id = object.clan_id ?? "";
30352
30570
  message.limit = object.limit ?? 0;
30353
30571
  return message;
30354
30572
  },
30355
30573
  };
30574
+ function createBaseSdTopicDetailRequest() {
30575
+ return { topic_id: "" };
30576
+ }
30577
+ export const SdTopicDetailRequest = {
30578
+ encode(message, writer = _m0.Writer.create()) {
30579
+ if (message.topic_id !== "") {
30580
+ writer.uint32(10).string(message.topic_id);
30581
+ }
30582
+ return writer;
30583
+ },
30584
+ decode(input, length) {
30585
+ const reader = input instanceof _m0.Reader ? input : _m0.Reader.create(input);
30586
+ let end = length === undefined ? reader.len : reader.pos + length;
30587
+ const message = createBaseSdTopicDetailRequest();
30588
+ while (reader.pos < end) {
30589
+ const tag = reader.uint32();
30590
+ switch (tag >>> 3) {
30591
+ case 1:
30592
+ if (tag !== 10) {
30593
+ break;
30594
+ }
30595
+ message.topic_id = reader.string();
30596
+ continue;
30597
+ }
30598
+ if ((tag & 7) === 4 || tag === 0) {
30599
+ break;
30600
+ }
30601
+ reader.skipType(tag & 7);
30602
+ }
30603
+ return message;
30604
+ },
30605
+ fromJSON(object) {
30606
+ return { topic_id: isSet(object.topic_id) ? globalThis.String(object.topic_id) : "" };
30607
+ },
30608
+ toJSON(message) {
30609
+ const obj = {};
30610
+ if (message.topic_id !== "") {
30611
+ obj.topic_id = message.topic_id;
30612
+ }
30613
+ return obj;
30614
+ },
30615
+ create(base) {
30616
+ return SdTopicDetailRequest.fromPartial(base ?? {});
30617
+ },
30618
+ fromPartial(object) {
30619
+ const message = createBaseSdTopicDetailRequest();
30620
+ message.topic_id = object.topic_id ?? "";
30621
+ return message;
30622
+ },
30623
+ };
30356
30624
  function createBaseDeleteSdTopicRequest() {
30357
30625
  return { channel_id: "", id: "", clan_id: "" };
30358
30626
  }