mezon-sdk 2.7.73 → 2.7.75

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.
@@ -4197,6 +4197,7 @@ function createBaseMessageReaction() {
4197
4197
  mode: 0,
4198
4198
  message_sender_id: "",
4199
4199
  is_public: false,
4200
+ topic_id: "",
4200
4201
  };
4201
4202
  }
4202
4203
  export const MessageReaction = {
@@ -4243,6 +4244,9 @@ export const MessageReaction = {
4243
4244
  if (message.is_public !== false) {
4244
4245
  writer.uint32(112).bool(message.is_public);
4245
4246
  }
4247
+ if (message.topic_id !== "") {
4248
+ writer.uint32(122).string(message.topic_id);
4249
+ }
4246
4250
  return writer;
4247
4251
  },
4248
4252
  decode(input, length) {
@@ -4336,6 +4340,12 @@ export const MessageReaction = {
4336
4340
  }
4337
4341
  message.is_public = reader.bool();
4338
4342
  continue;
4343
+ case 15:
4344
+ if (tag !== 122) {
4345
+ break;
4346
+ }
4347
+ message.topic_id = reader.string();
4348
+ continue;
4339
4349
  }
4340
4350
  if ((tag & 7) === 4 || tag === 0) {
4341
4351
  break;
@@ -4360,6 +4370,7 @@ export const MessageReaction = {
4360
4370
  mode: isSet(object.mode) ? globalThis.Number(object.mode) : 0,
4361
4371
  message_sender_id: isSet(object.message_sender_id) ? globalThis.String(object.message_sender_id) : "",
4362
4372
  is_public: isSet(object.is_public) ? globalThis.Boolean(object.is_public) : false,
4373
+ topic_id: isSet(object.topic_id) ? globalThis.String(object.topic_id) : "",
4363
4374
  };
4364
4375
  },
4365
4376
  toJSON(message) {
@@ -4406,6 +4417,9 @@ export const MessageReaction = {
4406
4417
  if (message.is_public !== false) {
4407
4418
  obj.is_public = message.is_public;
4408
4419
  }
4420
+ if (message.topic_id !== "") {
4421
+ obj.topic_id = message.topic_id;
4422
+ }
4409
4423
  return obj;
4410
4424
  },
4411
4425
  create(base) {
@@ -4427,6 +4441,7 @@ export const MessageReaction = {
4427
4441
  message.mode = object.mode ?? 0;
4428
4442
  message.message_sender_id = object.message_sender_id ?? "";
4429
4443
  message.is_public = object.is_public ?? false;
4444
+ message.topic_id = object.topic_id ?? "";
4430
4445
  return message;
4431
4446
  },
4432
4447
  };
@@ -6454,7 +6469,16 @@ export const VoiceChannelUserList = {
6454
6469
  },
6455
6470
  };
6456
6471
  function createBaseChannelAttachment() {
6457
- return { id: "", filename: "", filetype: "", filesize: "", url: "", uploader: "", create_time: undefined };
6472
+ return {
6473
+ id: "",
6474
+ filename: "",
6475
+ filetype: "",
6476
+ filesize: "",
6477
+ url: "",
6478
+ uploader: "",
6479
+ create_time: undefined,
6480
+ message_id: "",
6481
+ };
6458
6482
  }
6459
6483
  export const ChannelAttachment = {
6460
6484
  encode(message, writer = _m0.Writer.create()) {
@@ -6479,6 +6503,9 @@ export const ChannelAttachment = {
6479
6503
  if (message.create_time !== undefined) {
6480
6504
  Timestamp.encode(toTimestamp(message.create_time), writer.uint32(58).fork()).ldelim();
6481
6505
  }
6506
+ if (message.message_id !== "") {
6507
+ writer.uint32(66).string(message.message_id);
6508
+ }
6482
6509
  return writer;
6483
6510
  },
6484
6511
  decode(input, length) {
@@ -6530,6 +6557,12 @@ export const ChannelAttachment = {
6530
6557
  }
6531
6558
  message.create_time = fromTimestamp(Timestamp.decode(reader, reader.uint32()));
6532
6559
  continue;
6560
+ case 8:
6561
+ if (tag !== 66) {
6562
+ break;
6563
+ }
6564
+ message.message_id = reader.string();
6565
+ continue;
6533
6566
  }
6534
6567
  if ((tag & 7) === 4 || tag === 0) {
6535
6568
  break;
@@ -6547,6 +6580,7 @@ export const ChannelAttachment = {
6547
6580
  url: isSet(object.url) ? globalThis.String(object.url) : "",
6548
6581
  uploader: isSet(object.uploader) ? globalThis.String(object.uploader) : "",
6549
6582
  create_time: isSet(object.create_time) ? fromJsonTimestamp(object.create_time) : undefined,
6583
+ message_id: isSet(object.message_id) ? globalThis.String(object.message_id) : "",
6550
6584
  };
6551
6585
  },
6552
6586
  toJSON(message) {
@@ -6572,6 +6606,9 @@ export const ChannelAttachment = {
6572
6606
  if (message.create_time !== undefined) {
6573
6607
  obj.create_time = message.create_time.toISOString();
6574
6608
  }
6609
+ if (message.message_id !== "") {
6610
+ obj.message_id = message.message_id;
6611
+ }
6575
6612
  return obj;
6576
6613
  },
6577
6614
  create(base) {
@@ -6586,6 +6623,7 @@ export const ChannelAttachment = {
6586
6623
  message.url = object.url ?? "";
6587
6624
  message.uploader = object.uploader ?? "";
6588
6625
  message.create_time = object.create_time ?? undefined;
6626
+ message.message_id = object.message_id ?? "";
6589
6627
  return message;
6590
6628
  },
6591
6629
  };
@@ -7266,7 +7304,7 @@ export const LinkSteamRequest = {
7266
7304
  },
7267
7305
  };
7268
7306
  function createBaseListChannelMessagesRequest() {
7269
- return { clan_id: "", channel_id: "", message_id: "", limit: undefined, direction: undefined };
7307
+ return { clan_id: "", channel_id: "", message_id: "", limit: undefined, direction: undefined, topic_id: "" };
7270
7308
  }
7271
7309
  export const ListChannelMessagesRequest = {
7272
7310
  encode(message, writer = _m0.Writer.create()) {
@@ -7285,6 +7323,9 @@ export const ListChannelMessagesRequest = {
7285
7323
  if (message.direction !== undefined) {
7286
7324
  Int32Value.encode({ value: message.direction }, writer.uint32(42).fork()).ldelim();
7287
7325
  }
7326
+ if (message.topic_id !== "") {
7327
+ writer.uint32(50).string(message.topic_id);
7328
+ }
7288
7329
  return writer;
7289
7330
  },
7290
7331
  decode(input, length) {
@@ -7324,6 +7365,12 @@ export const ListChannelMessagesRequest = {
7324
7365
  }
7325
7366
  message.direction = Int32Value.decode(reader, reader.uint32()).value;
7326
7367
  continue;
7368
+ case 6:
7369
+ if (tag !== 50) {
7370
+ break;
7371
+ }
7372
+ message.topic_id = reader.string();
7373
+ continue;
7327
7374
  }
7328
7375
  if ((tag & 7) === 4 || tag === 0) {
7329
7376
  break;
@@ -7339,6 +7386,7 @@ export const ListChannelMessagesRequest = {
7339
7386
  message_id: isSet(object.message_id) ? globalThis.String(object.message_id) : "",
7340
7387
  limit: isSet(object.limit) ? Number(object.limit) : undefined,
7341
7388
  direction: isSet(object.direction) ? Number(object.direction) : undefined,
7389
+ topic_id: isSet(object.topic_id) ? globalThis.String(object.topic_id) : "",
7342
7390
  };
7343
7391
  },
7344
7392
  toJSON(message) {
@@ -7358,6 +7406,9 @@ export const ListChannelMessagesRequest = {
7358
7406
  if (message.direction !== undefined) {
7359
7407
  obj.direction = message.direction;
7360
7408
  }
7409
+ if (message.topic_id !== "") {
7410
+ obj.topic_id = message.topic_id;
7411
+ }
7361
7412
  return obj;
7362
7413
  },
7363
7414
  create(base) {
@@ -7370,6 +7421,7 @@ export const ListChannelMessagesRequest = {
7370
7421
  message.message_id = object.message_id ?? "";
7371
7422
  message.limit = object.limit ?? undefined;
7372
7423
  message.direction = object.direction ?? undefined;
7424
+ message.topic_id = object.topic_id ?? "";
7373
7425
  return message;
7374
7426
  },
7375
7427
  };
@@ -16940,6 +16992,7 @@ function createBaseUpdateEventRequest() {
16940
16992
  start_time: undefined,
16941
16993
  end_time: undefined,
16942
16994
  clan_id: "",
16995
+ creator_id: "",
16943
16996
  };
16944
16997
  }
16945
16998
  export const UpdateEventRequest = {
@@ -16971,6 +17024,9 @@ export const UpdateEventRequest = {
16971
17024
  if (message.clan_id !== "") {
16972
17025
  writer.uint32(74).string(message.clan_id);
16973
17026
  }
17027
+ if (message.creator_id !== "") {
17028
+ writer.uint32(82).string(message.creator_id);
17029
+ }
16974
17030
  return writer;
16975
17031
  },
16976
17032
  decode(input, length) {
@@ -17034,6 +17090,12 @@ export const UpdateEventRequest = {
17034
17090
  }
17035
17091
  message.clan_id = reader.string();
17036
17092
  continue;
17093
+ case 10:
17094
+ if (tag !== 82) {
17095
+ break;
17096
+ }
17097
+ message.creator_id = reader.string();
17098
+ continue;
17037
17099
  }
17038
17100
  if ((tag & 7) === 4 || tag === 0) {
17039
17101
  break;
@@ -17053,6 +17115,7 @@ export const UpdateEventRequest = {
17053
17115
  start_time: isSet(object.start_time) ? fromJsonTimestamp(object.start_time) : undefined,
17054
17116
  end_time: isSet(object.end_time) ? fromJsonTimestamp(object.end_time) : undefined,
17055
17117
  clan_id: isSet(object.clan_id) ? globalThis.String(object.clan_id) : "",
17118
+ creator_id: isSet(object.creator_id) ? globalThis.String(object.creator_id) : "",
17056
17119
  };
17057
17120
  },
17058
17121
  toJSON(message) {
@@ -17084,6 +17147,9 @@ export const UpdateEventRequest = {
17084
17147
  if (message.clan_id !== "") {
17085
17148
  obj.clan_id = message.clan_id;
17086
17149
  }
17150
+ if (message.creator_id !== "") {
17151
+ obj.creator_id = message.creator_id;
17152
+ }
17087
17153
  return obj;
17088
17154
  },
17089
17155
  create(base) {
@@ -17100,6 +17166,7 @@ export const UpdateEventRequest = {
17100
17166
  message.start_time = object.start_time ?? undefined;
17101
17167
  message.end_time = object.end_time ?? undefined;
17102
17168
  message.clan_id = object.clan_id ?? "";
17169
+ message.creator_id = object.creator_id ?? "";
17103
17170
  return message;
17104
17171
  },
17105
17172
  };
@@ -17184,7 +17251,7 @@ export const DeleteRoleRequest = {
17184
17251
  },
17185
17252
  };
17186
17253
  function createBaseDeleteEventRequest() {
17187
- return { event_id: "", clan_id: "" };
17254
+ return { event_id: "", clan_id: "", creator_id: "" };
17188
17255
  }
17189
17256
  export const DeleteEventRequest = {
17190
17257
  encode(message, writer = _m0.Writer.create()) {
@@ -17194,6 +17261,9 @@ export const DeleteEventRequest = {
17194
17261
  if (message.clan_id !== "") {
17195
17262
  writer.uint32(18).string(message.clan_id);
17196
17263
  }
17264
+ if (message.creator_id !== "") {
17265
+ writer.uint32(26).string(message.creator_id);
17266
+ }
17197
17267
  return writer;
17198
17268
  },
17199
17269
  decode(input, length) {
@@ -17215,6 +17285,12 @@ export const DeleteEventRequest = {
17215
17285
  }
17216
17286
  message.clan_id = reader.string();
17217
17287
  continue;
17288
+ case 3:
17289
+ if (tag !== 26) {
17290
+ break;
17291
+ }
17292
+ message.creator_id = reader.string();
17293
+ continue;
17218
17294
  }
17219
17295
  if ((tag & 7) === 4 || tag === 0) {
17220
17296
  break;
@@ -17227,6 +17303,7 @@ export const DeleteEventRequest = {
17227
17303
  return {
17228
17304
  event_id: isSet(object.event_id) ? globalThis.String(object.event_id) : "",
17229
17305
  clan_id: isSet(object.clan_id) ? globalThis.String(object.clan_id) : "",
17306
+ creator_id: isSet(object.creator_id) ? globalThis.String(object.creator_id) : "",
17230
17307
  };
17231
17308
  },
17232
17309
  toJSON(message) {
@@ -17237,6 +17314,9 @@ export const DeleteEventRequest = {
17237
17314
  if (message.clan_id !== "") {
17238
17315
  obj.clan_id = message.clan_id;
17239
17316
  }
17317
+ if (message.creator_id !== "") {
17318
+ obj.creator_id = message.creator_id;
17319
+ }
17240
17320
  return obj;
17241
17321
  },
17242
17322
  create(base) {
@@ -17246,6 +17326,7 @@ export const DeleteEventRequest = {
17246
17326
  const message = createBaseDeleteEventRequest();
17247
17327
  message.event_id = object.event_id ?? "";
17248
17328
  message.clan_id = object.clan_id ?? "";
17329
+ message.creator_id = object.creator_id ?? "";
17249
17330
  return message;
17250
17331
  },
17251
17332
  };
@@ -22501,7 +22582,7 @@ export const DeleteCategoryOrderRequest = {
22501
22582
  return message;
22502
22583
  },
22503
22584
  };
22504
- function createBaseOssrsHttpCallbackRequest() {
22585
+ function createBaseStreamHttpCallbackRequest() {
22505
22586
  return {
22506
22587
  action: "",
22507
22588
  client_id: "",
@@ -22518,7 +22599,7 @@ function createBaseOssrsHttpCallbackRequest() {
22518
22599
  service_id: undefined,
22519
22600
  };
22520
22601
  }
22521
- export const OssrsHttpCallbackRequest = {
22602
+ export const StreamHttpCallbackRequest = {
22522
22603
  encode(message, writer = _m0.Writer.create()) {
22523
22604
  if (message.action !== "") {
22524
22605
  writer.uint32(10).string(message.action);
@@ -22564,7 +22645,7 @@ export const OssrsHttpCallbackRequest = {
22564
22645
  decode(input, length) {
22565
22646
  const reader = input instanceof _m0.Reader ? input : _m0.Reader.create(input);
22566
22647
  let end = length === undefined ? reader.len : reader.pos + length;
22567
- const message = createBaseOssrsHttpCallbackRequest();
22648
+ const message = createBaseStreamHttpCallbackRequest();
22568
22649
  while (reader.pos < end) {
22569
22650
  const tag = reader.uint32();
22570
22651
  switch (tag >>> 3) {
@@ -22715,10 +22796,10 @@ export const OssrsHttpCallbackRequest = {
22715
22796
  return obj;
22716
22797
  },
22717
22798
  create(base) {
22718
- return OssrsHttpCallbackRequest.fromPartial(base ?? {});
22799
+ return StreamHttpCallbackRequest.fromPartial(base ?? {});
22719
22800
  },
22720
22801
  fromPartial(object) {
22721
- const message = createBaseOssrsHttpCallbackRequest();
22802
+ const message = createBaseStreamHttpCallbackRequest();
22722
22803
  message.action = object.action ?? "";
22723
22804
  message.client_id = object.client_id ?? "";
22724
22805
  message.ip = object.ip ?? "";
@@ -22735,10 +22816,10 @@ export const OssrsHttpCallbackRequest = {
22735
22816
  return message;
22736
22817
  },
22737
22818
  };
22738
- function createBaseOssrsHttpCallbackResponse() {
22819
+ function createBaseStreamHttpCallbackResponse() {
22739
22820
  return { code: undefined, msg: "" };
22740
22821
  }
22741
- export const OssrsHttpCallbackResponse = {
22822
+ export const StreamHttpCallbackResponse = {
22742
22823
  encode(message, writer = _m0.Writer.create()) {
22743
22824
  if (message.code !== undefined) {
22744
22825
  Int32Value.encode({ value: message.code }, writer.uint32(10).fork()).ldelim();
@@ -22751,7 +22832,7 @@ export const OssrsHttpCallbackResponse = {
22751
22832
  decode(input, length) {
22752
22833
  const reader = input instanceof _m0.Reader ? input : _m0.Reader.create(input);
22753
22834
  let end = length === undefined ? reader.len : reader.pos + length;
22754
- const message = createBaseOssrsHttpCallbackResponse();
22835
+ const message = createBaseStreamHttpCallbackResponse();
22755
22836
  while (reader.pos < end) {
22756
22837
  const tag = reader.uint32();
22757
22838
  switch (tag >>> 3) {
@@ -22792,10 +22873,10 @@ export const OssrsHttpCallbackResponse = {
22792
22873
  return obj;
22793
22874
  },
22794
22875
  create(base) {
22795
- return OssrsHttpCallbackResponse.fromPartial(base ?? {});
22876
+ return StreamHttpCallbackResponse.fromPartial(base ?? {});
22796
22877
  },
22797
22878
  fromPartial(object) {
22798
- const message = createBaseOssrsHttpCallbackResponse();
22879
+ const message = createBaseStreamHttpCallbackResponse();
22799
22880
  message.code = object.code ?? undefined;
22800
22881
  message.msg = object.msg ?? "";
22801
22882
  return message;
@@ -26944,6 +27025,7 @@ function createBaseAuditLog() {
26944
27025
  details: "",
26945
27026
  time_log: undefined,
26946
27027
  channel_id: "",
27028
+ channel_label: "",
26947
27029
  };
26948
27030
  }
26949
27031
  export const AuditLog = {
@@ -26975,6 +27057,9 @@ export const AuditLog = {
26975
27057
  if (message.channel_id !== "") {
26976
27058
  writer.uint32(74).string(message.channel_id);
26977
27059
  }
27060
+ if (message.channel_label !== "") {
27061
+ writer.uint32(82).string(message.channel_label);
27062
+ }
26978
27063
  return writer;
26979
27064
  },
26980
27065
  decode(input, length) {
@@ -27038,6 +27123,12 @@ export const AuditLog = {
27038
27123
  }
27039
27124
  message.channel_id = reader.string();
27040
27125
  continue;
27126
+ case 10:
27127
+ if (tag !== 82) {
27128
+ break;
27129
+ }
27130
+ message.channel_label = reader.string();
27131
+ continue;
27041
27132
  }
27042
27133
  if ((tag & 7) === 4 || tag === 0) {
27043
27134
  break;
@@ -27057,6 +27148,7 @@ export const AuditLog = {
27057
27148
  details: isSet(object.details) ? globalThis.String(object.details) : "",
27058
27149
  time_log: isSet(object.time_log) ? fromJsonTimestamp(object.time_log) : undefined,
27059
27150
  channel_id: isSet(object.channel_id) ? globalThis.String(object.channel_id) : "",
27151
+ channel_label: isSet(object.channel_label) ? globalThis.String(object.channel_label) : "",
27060
27152
  };
27061
27153
  },
27062
27154
  toJSON(message) {
@@ -27088,6 +27180,9 @@ export const AuditLog = {
27088
27180
  if (message.channel_id !== "") {
27089
27181
  obj.channel_id = message.channel_id;
27090
27182
  }
27183
+ if (message.channel_label !== "") {
27184
+ obj.channel_label = message.channel_label;
27185
+ }
27091
27186
  return obj;
27092
27187
  },
27093
27188
  create(base) {
@@ -27104,25 +27199,23 @@ export const AuditLog = {
27104
27199
  message.details = object.details ?? "";
27105
27200
  message.time_log = object.time_log ?? undefined;
27106
27201
  message.channel_id = object.channel_id ?? "";
27202
+ message.channel_label = object.channel_label ?? "";
27107
27203
  return message;
27108
27204
  },
27109
27205
  };
27110
27206
  function createBaseListAuditLog() {
27111
- return { total_count: 0, page: 0, page_size: 0, logs: [] };
27207
+ return { total_count: 0, date_log: "", logs: [] };
27112
27208
  }
27113
27209
  export const ListAuditLog = {
27114
27210
  encode(message, writer = _m0.Writer.create()) {
27115
27211
  if (message.total_count !== 0) {
27116
27212
  writer.uint32(8).int32(message.total_count);
27117
27213
  }
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);
27214
+ if (message.date_log !== "") {
27215
+ writer.uint32(18).string(message.date_log);
27123
27216
  }
27124
27217
  for (const v of message.logs) {
27125
- AuditLog.encode(v, writer.uint32(34).fork()).ldelim();
27218
+ AuditLog.encode(v, writer.uint32(26).fork()).ldelim();
27126
27219
  }
27127
27220
  return writer;
27128
27221
  },
@@ -27140,19 +27233,13 @@ export const ListAuditLog = {
27140
27233
  message.total_count = reader.int32();
27141
27234
  continue;
27142
27235
  case 2:
27143
- if (tag !== 16) {
27236
+ if (tag !== 18) {
27144
27237
  break;
27145
27238
  }
27146
- message.page = reader.int32();
27239
+ message.date_log = reader.string();
27147
27240
  continue;
27148
27241
  case 3:
27149
- if (tag !== 24) {
27150
- break;
27151
- }
27152
- message.page_size = reader.int32();
27153
- continue;
27154
- case 4:
27155
- if (tag !== 34) {
27242
+ if (tag !== 26) {
27156
27243
  break;
27157
27244
  }
27158
27245
  message.logs.push(AuditLog.decode(reader, reader.uint32()));
@@ -27168,8 +27255,7 @@ export const ListAuditLog = {
27168
27255
  fromJSON(object) {
27169
27256
  return {
27170
27257
  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,
27258
+ date_log: isSet(object.date_log) ? globalThis.String(object.date_log) : "",
27173
27259
  logs: globalThis.Array.isArray(object?.logs) ? object.logs.map((e) => AuditLog.fromJSON(e)) : [],
27174
27260
  };
27175
27261
  },
@@ -27178,11 +27264,8 @@ export const ListAuditLog = {
27178
27264
  if (message.total_count !== 0) {
27179
27265
  obj.total_count = Math.round(message.total_count);
27180
27266
  }
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);
27267
+ if (message.date_log !== "") {
27268
+ obj.date_log = message.date_log;
27186
27269
  }
27187
27270
  if (message.logs?.length) {
27188
27271
  obj.logs = message.logs.map((e) => AuditLog.toJSON(e));
@@ -27195,14 +27278,13 @@ export const ListAuditLog = {
27195
27278
  fromPartial(object) {
27196
27279
  const message = createBaseListAuditLog();
27197
27280
  message.total_count = object.total_count ?? 0;
27198
- message.page = object.page ?? 0;
27199
- message.page_size = object.page_size ?? 0;
27281
+ message.date_log = object.date_log ?? "";
27200
27282
  message.logs = object.logs?.map((e) => AuditLog.fromPartial(e)) || [];
27201
27283
  return message;
27202
27284
  },
27203
27285
  };
27204
27286
  function createBaseListAuditLogRequest() {
27205
- return { action_log: "", user_id: "", clan_id: "", page: 0, page_size: 0 };
27287
+ return { action_log: "", user_id: "", clan_id: "", date_log: "" };
27206
27288
  }
27207
27289
  export const ListAuditLogRequest = {
27208
27290
  encode(message, writer = _m0.Writer.create()) {
@@ -27215,11 +27297,8 @@ export const ListAuditLogRequest = {
27215
27297
  if (message.clan_id !== "") {
27216
27298
  writer.uint32(26).string(message.clan_id);
27217
27299
  }
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);
27300
+ if (message.date_log !== "") {
27301
+ writer.uint32(34).string(message.date_log);
27223
27302
  }
27224
27303
  return writer;
27225
27304
  },
@@ -27249,16 +27328,10 @@ export const ListAuditLogRequest = {
27249
27328
  message.clan_id = reader.string();
27250
27329
  continue;
27251
27330
  case 4:
27252
- if (tag !== 32) {
27253
- break;
27254
- }
27255
- message.page = reader.int32();
27256
- continue;
27257
- case 5:
27258
- if (tag !== 40) {
27331
+ if (tag !== 34) {
27259
27332
  break;
27260
27333
  }
27261
- message.page_size = reader.int32();
27334
+ message.date_log = reader.string();
27262
27335
  continue;
27263
27336
  }
27264
27337
  if ((tag & 7) === 4 || tag === 0) {
@@ -27273,8 +27346,7 @@ export const ListAuditLogRequest = {
27273
27346
  action_log: isSet(object.action_log) ? globalThis.String(object.action_log) : "",
27274
27347
  user_id: isSet(object.user_id) ? globalThis.String(object.user_id) : "",
27275
27348
  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,
27349
+ date_log: isSet(object.date_log) ? globalThis.String(object.date_log) : "",
27278
27350
  };
27279
27351
  },
27280
27352
  toJSON(message) {
@@ -27288,11 +27360,8 @@ export const ListAuditLogRequest = {
27288
27360
  if (message.clan_id !== "") {
27289
27361
  obj.clan_id = message.clan_id;
27290
27362
  }
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);
27363
+ if (message.date_log !== "") {
27364
+ obj.date_log = message.date_log;
27296
27365
  }
27297
27366
  return obj;
27298
27367
  },
@@ -27304,8 +27373,7 @@ export const ListAuditLogRequest = {
27304
27373
  message.action_log = object.action_log ?? "";
27305
27374
  message.user_id = object.user_id ?? "";
27306
27375
  message.clan_id = object.clan_id ?? "";
27307
- message.page = object.page ?? 0;
27308
- message.page_size = object.page_size ?? 0;
27376
+ message.date_log = object.date_log ?? "";
27309
27377
  return message;
27310
27378
  },
27311
27379
  };
@@ -29992,6 +30060,7 @@ function createBaseSdTopic() {
29992
30060
  status: 0,
29993
30061
  create_time: undefined,
29994
30062
  update_time: undefined,
30063
+ message: undefined,
29995
30064
  };
29996
30065
  }
29997
30066
  export const SdTopic = {
@@ -30020,6 +30089,9 @@ export const SdTopic = {
30020
30089
  if (message.update_time !== undefined) {
30021
30090
  Timestamp.encode(toTimestamp(message.update_time), writer.uint32(66).fork()).ldelim();
30022
30091
  }
30092
+ if (message.message !== undefined) {
30093
+ ChannelMessage.encode(message.message, writer.uint32(74).fork()).ldelim();
30094
+ }
30023
30095
  return writer;
30024
30096
  },
30025
30097
  decode(input, length) {
@@ -30077,6 +30149,12 @@ export const SdTopic = {
30077
30149
  }
30078
30150
  message.update_time = fromTimestamp(Timestamp.decode(reader, reader.uint32()));
30079
30151
  continue;
30152
+ case 9:
30153
+ if (tag !== 74) {
30154
+ break;
30155
+ }
30156
+ message.message = ChannelMessage.decode(reader, reader.uint32());
30157
+ continue;
30080
30158
  }
30081
30159
  if ((tag & 7) === 4 || tag === 0) {
30082
30160
  break;
@@ -30095,6 +30173,7 @@ export const SdTopic = {
30095
30173
  status: isSet(object.status) ? globalThis.Number(object.status) : 0,
30096
30174
  create_time: isSet(object.create_time) ? fromJsonTimestamp(object.create_time) : undefined,
30097
30175
  update_time: isSet(object.update_time) ? fromJsonTimestamp(object.update_time) : undefined,
30176
+ message: isSet(object.message) ? ChannelMessage.fromJSON(object.message) : undefined,
30098
30177
  };
30099
30178
  },
30100
30179
  toJSON(message) {
@@ -30123,6 +30202,9 @@ export const SdTopic = {
30123
30202
  if (message.update_time !== undefined) {
30124
30203
  obj.update_time = message.update_time.toISOString();
30125
30204
  }
30205
+ if (message.message !== undefined) {
30206
+ obj.message = ChannelMessage.toJSON(message.message);
30207
+ }
30126
30208
  return obj;
30127
30209
  },
30128
30210
  create(base) {
@@ -30138,6 +30220,9 @@ export const SdTopic = {
30138
30220
  message.status = object.status ?? 0;
30139
30221
  message.create_time = object.create_time ?? undefined;
30140
30222
  message.update_time = object.update_time ?? undefined;
30223
+ message.message = (object.message !== undefined && object.message !== null)
30224
+ ? ChannelMessage.fromPartial(object.message)
30225
+ : undefined;
30141
30226
  return message;
30142
30227
  },
30143
30228
  };
@@ -30353,6 +30438,56 @@ export const ListSdTopicRequest = {
30353
30438
  return message;
30354
30439
  },
30355
30440
  };
30441
+ function createBaseSdTopicDetailRequest() {
30442
+ return { topic_id: "" };
30443
+ }
30444
+ export const SdTopicDetailRequest = {
30445
+ encode(message, writer = _m0.Writer.create()) {
30446
+ if (message.topic_id !== "") {
30447
+ writer.uint32(10).string(message.topic_id);
30448
+ }
30449
+ return writer;
30450
+ },
30451
+ decode(input, length) {
30452
+ const reader = input instanceof _m0.Reader ? input : _m0.Reader.create(input);
30453
+ let end = length === undefined ? reader.len : reader.pos + length;
30454
+ const message = createBaseSdTopicDetailRequest();
30455
+ while (reader.pos < end) {
30456
+ const tag = reader.uint32();
30457
+ switch (tag >>> 3) {
30458
+ case 1:
30459
+ if (tag !== 10) {
30460
+ break;
30461
+ }
30462
+ message.topic_id = reader.string();
30463
+ continue;
30464
+ }
30465
+ if ((tag & 7) === 4 || tag === 0) {
30466
+ break;
30467
+ }
30468
+ reader.skipType(tag & 7);
30469
+ }
30470
+ return message;
30471
+ },
30472
+ fromJSON(object) {
30473
+ return { topic_id: isSet(object.topic_id) ? globalThis.String(object.topic_id) : "" };
30474
+ },
30475
+ toJSON(message) {
30476
+ const obj = {};
30477
+ if (message.topic_id !== "") {
30478
+ obj.topic_id = message.topic_id;
30479
+ }
30480
+ return obj;
30481
+ },
30482
+ create(base) {
30483
+ return SdTopicDetailRequest.fromPartial(base ?? {});
30484
+ },
30485
+ fromPartial(object) {
30486
+ const message = createBaseSdTopicDetailRequest();
30487
+ message.topic_id = object.topic_id ?? "";
30488
+ return message;
30489
+ },
30490
+ };
30356
30491
  function createBaseDeleteSdTopicRequest() {
30357
30492
  return { channel_id: "", id: "", clan_id: "" };
30358
30493
  }