mezon-js-protobuf 1.6.74 → 1.6.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.
package/api/api.ts CHANGED
@@ -2094,6 +2094,7 @@ export interface EventManagement {
2094
2094
  create_time: Date | undefined;
2095
2095
  max_permission: number;
2096
2096
  channel_id: string;
2097
+ event_status: number;
2097
2098
  }
2098
2099
 
2099
2100
  /** Permission record */
@@ -2410,8 +2411,9 @@ export interface CreateEventRequest {
2410
2411
  start_time: Date | undefined;
2411
2412
  end_time: Date | undefined;
2412
2413
  event_id: string;
2413
- event_status: string;
2414
+ event_status: number;
2414
2415
  channel_id: string;
2416
+ action: number;
2415
2417
  }
2416
2418
 
2417
2419
  /** update a event within clan. */
@@ -2426,6 +2428,7 @@ export interface UpdateEventRequest {
2426
2428
  end_time: Date | undefined;
2427
2429
  clan_id: string;
2428
2430
  creator_id: string;
2431
+ channel_voice_id: string;
2429
2432
  }
2430
2433
 
2431
2434
  /** Delete a role the user has access to. */
@@ -2449,6 +2452,8 @@ export interface DeleteEventRequest {
2449
2452
  creator_id: string;
2450
2453
  /** event label */
2451
2454
  event_label: string;
2455
+ /** channel id */
2456
+ channel_id: string;
2452
2457
  }
2453
2458
 
2454
2459
  /** Update fields in a given role. */
@@ -2965,6 +2970,8 @@ export interface SystemMessage {
2965
2970
  boost_message: string;
2966
2971
  /** Setup tips */
2967
2972
  setup_tips: string;
2973
+ /** Hide audit log */
2974
+ hideAuditLog: string;
2968
2975
  }
2969
2976
 
2970
2977
  /** List of system message. */
@@ -2986,6 +2993,8 @@ export interface SystemMessageRequest {
2986
2993
  boost_message: string;
2987
2994
  /** Setup tips */
2988
2995
  setup_tips: string;
2996
+ /** Hide audit log */
2997
+ hideAuditLog: string;
2989
2998
  }
2990
2999
 
2991
3000
  /** Request to delete a system message by clan ID. */
@@ -3019,6 +3028,8 @@ export interface StreamHttpCallbackRequest {
3019
3028
  action: number;
3020
3029
  /** is_publisher */
3021
3030
  is_publisher: boolean;
3031
+ /** token */
3032
+ token: string;
3022
3033
  }
3023
3034
 
3024
3035
  export interface StreamHttpCallbackResponse {
@@ -18795,6 +18806,7 @@ function createBaseEventManagement(): EventManagement {
18795
18806
  create_time: undefined,
18796
18807
  max_permission: 0,
18797
18808
  channel_id: "",
18809
+ event_status: 0,
18798
18810
  };
18799
18811
  }
18800
18812
 
@@ -18848,6 +18860,9 @@ export const EventManagement = {
18848
18860
  if (message.channel_id !== "") {
18849
18861
  writer.uint32(130).string(message.channel_id);
18850
18862
  }
18863
+ if (message.event_status !== 0) {
18864
+ writer.uint32(136).int32(message.event_status);
18865
+ }
18851
18866
  return writer;
18852
18867
  },
18853
18868
 
@@ -18970,6 +18985,13 @@ export const EventManagement = {
18970
18985
 
18971
18986
  message.channel_id = reader.string();
18972
18987
  continue;
18988
+ case 17:
18989
+ if (tag !== 136) {
18990
+ break;
18991
+ }
18992
+
18993
+ message.event_status = reader.int32();
18994
+ continue;
18973
18995
  }
18974
18996
  if ((tag & 7) === 4 || tag === 0) {
18975
18997
  break;
@@ -18997,6 +19019,7 @@ export const EventManagement = {
18997
19019
  create_time: isSet(object.create_time) ? fromJsonTimestamp(object.create_time) : undefined,
18998
19020
  max_permission: isSet(object.max_permission) ? globalThis.Number(object.max_permission) : 0,
18999
19021
  channel_id: isSet(object.channel_id) ? globalThis.String(object.channel_id) : "",
19022
+ event_status: isSet(object.event_status) ? globalThis.Number(object.event_status) : 0,
19000
19023
  };
19001
19024
  },
19002
19025
 
@@ -19050,6 +19073,9 @@ export const EventManagement = {
19050
19073
  if (message.channel_id !== "") {
19051
19074
  obj.channel_id = message.channel_id;
19052
19075
  }
19076
+ if (message.event_status !== 0) {
19077
+ obj.event_status = Math.round(message.event_status);
19078
+ }
19053
19079
  return obj;
19054
19080
  },
19055
19081
 
@@ -19074,6 +19100,7 @@ export const EventManagement = {
19074
19100
  message.create_time = object.create_time ?? undefined;
19075
19101
  message.max_permission = object.max_permission ?? 0;
19076
19102
  message.channel_id = object.channel_id ?? "";
19103
+ message.event_status = object.event_status ?? 0;
19077
19104
  return message;
19078
19105
  },
19079
19106
  };
@@ -22107,8 +22134,9 @@ function createBaseCreateEventRequest(): CreateEventRequest {
22107
22134
  start_time: undefined,
22108
22135
  end_time: undefined,
22109
22136
  event_id: "",
22110
- event_status: "",
22137
+ event_status: 0,
22111
22138
  channel_id: "",
22139
+ action: 0,
22112
22140
  };
22113
22141
  }
22114
22142
 
@@ -22141,12 +22169,15 @@ export const CreateEventRequest = {
22141
22169
  if (message.event_id !== "") {
22142
22170
  writer.uint32(74).string(message.event_id);
22143
22171
  }
22144
- if (message.event_status !== "") {
22145
- writer.uint32(82).string(message.event_status);
22172
+ if (message.event_status !== 0) {
22173
+ writer.uint32(80).int32(message.event_status);
22146
22174
  }
22147
22175
  if (message.channel_id !== "") {
22148
22176
  writer.uint32(90).string(message.channel_id);
22149
22177
  }
22178
+ if (message.action !== 0) {
22179
+ writer.uint32(96).int32(message.action);
22180
+ }
22150
22181
  return writer;
22151
22182
  },
22152
22183
 
@@ -22221,11 +22252,11 @@ export const CreateEventRequest = {
22221
22252
  message.event_id = reader.string();
22222
22253
  continue;
22223
22254
  case 10:
22224
- if (tag !== 82) {
22255
+ if (tag !== 80) {
22225
22256
  break;
22226
22257
  }
22227
22258
 
22228
- message.event_status = reader.string();
22259
+ message.event_status = reader.int32();
22229
22260
  continue;
22230
22261
  case 11:
22231
22262
  if (tag !== 90) {
@@ -22234,6 +22265,13 @@ export const CreateEventRequest = {
22234
22265
 
22235
22266
  message.channel_id = reader.string();
22236
22267
  continue;
22268
+ case 12:
22269
+ if (tag !== 96) {
22270
+ break;
22271
+ }
22272
+
22273
+ message.action = reader.int32();
22274
+ continue;
22237
22275
  }
22238
22276
  if ((tag & 7) === 4 || tag === 0) {
22239
22277
  break;
@@ -22254,8 +22292,9 @@ export const CreateEventRequest = {
22254
22292
  start_time: isSet(object.start_time) ? fromJsonTimestamp(object.start_time) : undefined,
22255
22293
  end_time: isSet(object.end_time) ? fromJsonTimestamp(object.end_time) : undefined,
22256
22294
  event_id: isSet(object.event_id) ? globalThis.String(object.event_id) : "",
22257
- event_status: isSet(object.event_status) ? globalThis.String(object.event_status) : "",
22295
+ event_status: isSet(object.event_status) ? globalThis.Number(object.event_status) : 0,
22258
22296
  channel_id: isSet(object.channel_id) ? globalThis.String(object.channel_id) : "",
22297
+ action: isSet(object.action) ? globalThis.Number(object.action) : 0,
22259
22298
  };
22260
22299
  },
22261
22300
 
@@ -22288,12 +22327,15 @@ export const CreateEventRequest = {
22288
22327
  if (message.event_id !== "") {
22289
22328
  obj.event_id = message.event_id;
22290
22329
  }
22291
- if (message.event_status !== "") {
22292
- obj.event_status = message.event_status;
22330
+ if (message.event_status !== 0) {
22331
+ obj.event_status = Math.round(message.event_status);
22293
22332
  }
22294
22333
  if (message.channel_id !== "") {
22295
22334
  obj.channel_id = message.channel_id;
22296
22335
  }
22336
+ if (message.action !== 0) {
22337
+ obj.action = Math.round(message.action);
22338
+ }
22297
22339
  return obj;
22298
22340
  },
22299
22341
 
@@ -22311,8 +22353,9 @@ export const CreateEventRequest = {
22311
22353
  message.start_time = object.start_time ?? undefined;
22312
22354
  message.end_time = object.end_time ?? undefined;
22313
22355
  message.event_id = object.event_id ?? "";
22314
- message.event_status = object.event_status ?? "";
22356
+ message.event_status = object.event_status ?? 0;
22315
22357
  message.channel_id = object.channel_id ?? "";
22358
+ message.action = object.action ?? 0;
22316
22359
  return message;
22317
22360
  },
22318
22361
  };
@@ -22329,6 +22372,7 @@ function createBaseUpdateEventRequest(): UpdateEventRequest {
22329
22372
  end_time: undefined,
22330
22373
  clan_id: "",
22331
22374
  creator_id: "",
22375
+ channel_voice_id: "",
22332
22376
  };
22333
22377
  }
22334
22378
 
@@ -22364,6 +22408,9 @@ export const UpdateEventRequest = {
22364
22408
  if (message.creator_id !== "") {
22365
22409
  writer.uint32(82).string(message.creator_id);
22366
22410
  }
22411
+ if (message.channel_voice_id !== "") {
22412
+ writer.uint32(90).string(message.channel_voice_id);
22413
+ }
22367
22414
  return writer;
22368
22415
  },
22369
22416
 
@@ -22444,6 +22491,13 @@ export const UpdateEventRequest = {
22444
22491
 
22445
22492
  message.creator_id = reader.string();
22446
22493
  continue;
22494
+ case 11:
22495
+ if (tag !== 90) {
22496
+ break;
22497
+ }
22498
+
22499
+ message.channel_voice_id = reader.string();
22500
+ continue;
22447
22501
  }
22448
22502
  if ((tag & 7) === 4 || tag === 0) {
22449
22503
  break;
@@ -22465,6 +22519,7 @@ export const UpdateEventRequest = {
22465
22519
  end_time: isSet(object.end_time) ? fromJsonTimestamp(object.end_time) : undefined,
22466
22520
  clan_id: isSet(object.clan_id) ? globalThis.String(object.clan_id) : "",
22467
22521
  creator_id: isSet(object.creator_id) ? globalThis.String(object.creator_id) : "",
22522
+ channel_voice_id: isSet(object.channel_voice_id) ? globalThis.String(object.channel_voice_id) : "",
22468
22523
  };
22469
22524
  },
22470
22525
 
@@ -22500,6 +22555,9 @@ export const UpdateEventRequest = {
22500
22555
  if (message.creator_id !== "") {
22501
22556
  obj.creator_id = message.creator_id;
22502
22557
  }
22558
+ if (message.channel_voice_id !== "") {
22559
+ obj.channel_voice_id = message.channel_voice_id;
22560
+ }
22503
22561
  return obj;
22504
22562
  },
22505
22563
 
@@ -22518,6 +22576,7 @@ export const UpdateEventRequest = {
22518
22576
  message.end_time = object.end_time ?? undefined;
22519
22577
  message.clan_id = object.clan_id ?? "";
22520
22578
  message.creator_id = object.creator_id ?? "";
22579
+ message.channel_voice_id = object.channel_voice_id ?? "";
22521
22580
  return message;
22522
22581
  },
22523
22582
  };
@@ -22627,7 +22686,7 @@ export const DeleteRoleRequest = {
22627
22686
  };
22628
22687
 
22629
22688
  function createBaseDeleteEventRequest(): DeleteEventRequest {
22630
- return { event_id: "", clan_id: "", creator_id: "", event_label: "" };
22689
+ return { event_id: "", clan_id: "", creator_id: "", event_label: "", channel_id: "" };
22631
22690
  }
22632
22691
 
22633
22692
  export const DeleteEventRequest = {
@@ -22644,6 +22703,9 @@ export const DeleteEventRequest = {
22644
22703
  if (message.event_label !== "") {
22645
22704
  writer.uint32(34).string(message.event_label);
22646
22705
  }
22706
+ if (message.channel_id !== "") {
22707
+ writer.uint32(42).string(message.channel_id);
22708
+ }
22647
22709
  return writer;
22648
22710
  },
22649
22711
 
@@ -22682,6 +22744,13 @@ export const DeleteEventRequest = {
22682
22744
 
22683
22745
  message.event_label = reader.string();
22684
22746
  continue;
22747
+ case 5:
22748
+ if (tag !== 42) {
22749
+ break;
22750
+ }
22751
+
22752
+ message.channel_id = reader.string();
22753
+ continue;
22685
22754
  }
22686
22755
  if ((tag & 7) === 4 || tag === 0) {
22687
22756
  break;
@@ -22697,6 +22766,7 @@ export const DeleteEventRequest = {
22697
22766
  clan_id: isSet(object.clan_id) ? globalThis.String(object.clan_id) : "",
22698
22767
  creator_id: isSet(object.creator_id) ? globalThis.String(object.creator_id) : "",
22699
22768
  event_label: isSet(object.event_label) ? globalThis.String(object.event_label) : "",
22769
+ channel_id: isSet(object.channel_id) ? globalThis.String(object.channel_id) : "",
22700
22770
  };
22701
22771
  },
22702
22772
 
@@ -22714,6 +22784,9 @@ export const DeleteEventRequest = {
22714
22784
  if (message.event_label !== "") {
22715
22785
  obj.event_label = message.event_label;
22716
22786
  }
22787
+ if (message.channel_id !== "") {
22788
+ obj.channel_id = message.channel_id;
22789
+ }
22717
22790
  return obj;
22718
22791
  },
22719
22792
 
@@ -22726,6 +22799,7 @@ export const DeleteEventRequest = {
22726
22799
  message.clan_id = object.clan_id ?? "";
22727
22800
  message.creator_id = object.creator_id ?? "";
22728
22801
  message.event_label = object.event_label ?? "";
22802
+ message.channel_id = object.channel_id ?? "";
22729
22803
  return message;
22730
22804
  },
22731
22805
  };
@@ -28083,6 +28157,7 @@ function createBaseSystemMessage(): SystemMessage {
28083
28157
  welcome_sticker: "",
28084
28158
  boost_message: "",
28085
28159
  setup_tips: "",
28160
+ hideAuditLog: "",
28086
28161
  };
28087
28162
  }
28088
28163
 
@@ -28109,6 +28184,9 @@ export const SystemMessage = {
28109
28184
  if (message.setup_tips !== "") {
28110
28185
  writer.uint32(58).string(message.setup_tips);
28111
28186
  }
28187
+ if (message.hideAuditLog !== "") {
28188
+ writer.uint32(66).string(message.hideAuditLog);
28189
+ }
28112
28190
  return writer;
28113
28191
  },
28114
28192
 
@@ -28168,6 +28246,13 @@ export const SystemMessage = {
28168
28246
 
28169
28247
  message.setup_tips = reader.string();
28170
28248
  continue;
28249
+ case 8:
28250
+ if (tag !== 66) {
28251
+ break;
28252
+ }
28253
+
28254
+ message.hideAuditLog = reader.string();
28255
+ continue;
28171
28256
  }
28172
28257
  if ((tag & 7) === 4 || tag === 0) {
28173
28258
  break;
@@ -28186,6 +28271,7 @@ export const SystemMessage = {
28186
28271
  welcome_sticker: isSet(object.welcome_sticker) ? globalThis.String(object.welcome_sticker) : "",
28187
28272
  boost_message: isSet(object.boost_message) ? globalThis.String(object.boost_message) : "",
28188
28273
  setup_tips: isSet(object.setup_tips) ? globalThis.String(object.setup_tips) : "",
28274
+ hideAuditLog: isSet(object.hideAuditLog) ? globalThis.String(object.hideAuditLog) : "",
28189
28275
  };
28190
28276
  },
28191
28277
 
@@ -28212,6 +28298,9 @@ export const SystemMessage = {
28212
28298
  if (message.setup_tips !== "") {
28213
28299
  obj.setup_tips = message.setup_tips;
28214
28300
  }
28301
+ if (message.hideAuditLog !== "") {
28302
+ obj.hideAuditLog = message.hideAuditLog;
28303
+ }
28215
28304
  return obj;
28216
28305
  },
28217
28306
 
@@ -28227,6 +28316,7 @@ export const SystemMessage = {
28227
28316
  message.welcome_sticker = object.welcome_sticker ?? "";
28228
28317
  message.boost_message = object.boost_message ?? "";
28229
28318
  message.setup_tips = object.setup_tips ?? "";
28319
+ message.hideAuditLog = object.hideAuditLog ?? "";
28230
28320
  return message;
28231
28321
  },
28232
28322
  };
@@ -28293,7 +28383,15 @@ export const SystemMessagesList = {
28293
28383
  };
28294
28384
 
28295
28385
  function createBaseSystemMessageRequest(): SystemMessageRequest {
28296
- return { clan_id: "", channel_id: "", welcome_random: "", welcome_sticker: "", boost_message: "", setup_tips: "" };
28386
+ return {
28387
+ clan_id: "",
28388
+ channel_id: "",
28389
+ welcome_random: "",
28390
+ welcome_sticker: "",
28391
+ boost_message: "",
28392
+ setup_tips: "",
28393
+ hideAuditLog: "",
28394
+ };
28297
28395
  }
28298
28396
 
28299
28397
  export const SystemMessageRequest = {
@@ -28316,6 +28414,9 @@ export const SystemMessageRequest = {
28316
28414
  if (message.setup_tips !== "") {
28317
28415
  writer.uint32(50).string(message.setup_tips);
28318
28416
  }
28417
+ if (message.hideAuditLog !== "") {
28418
+ writer.uint32(58).string(message.hideAuditLog);
28419
+ }
28319
28420
  return writer;
28320
28421
  },
28321
28422
 
@@ -28368,6 +28469,13 @@ export const SystemMessageRequest = {
28368
28469
 
28369
28470
  message.setup_tips = reader.string();
28370
28471
  continue;
28472
+ case 7:
28473
+ if (tag !== 58) {
28474
+ break;
28475
+ }
28476
+
28477
+ message.hideAuditLog = reader.string();
28478
+ continue;
28371
28479
  }
28372
28480
  if ((tag & 7) === 4 || tag === 0) {
28373
28481
  break;
@@ -28385,6 +28493,7 @@ export const SystemMessageRequest = {
28385
28493
  welcome_sticker: isSet(object.welcome_sticker) ? globalThis.String(object.welcome_sticker) : "",
28386
28494
  boost_message: isSet(object.boost_message) ? globalThis.String(object.boost_message) : "",
28387
28495
  setup_tips: isSet(object.setup_tips) ? globalThis.String(object.setup_tips) : "",
28496
+ hideAuditLog: isSet(object.hideAuditLog) ? globalThis.String(object.hideAuditLog) : "",
28388
28497
  };
28389
28498
  },
28390
28499
 
@@ -28408,6 +28517,9 @@ export const SystemMessageRequest = {
28408
28517
  if (message.setup_tips !== "") {
28409
28518
  obj.setup_tips = message.setup_tips;
28410
28519
  }
28520
+ if (message.hideAuditLog !== "") {
28521
+ obj.hideAuditLog = message.hideAuditLog;
28522
+ }
28411
28523
  return obj;
28412
28524
  },
28413
28525
 
@@ -28422,6 +28534,7 @@ export const SystemMessageRequest = {
28422
28534
  message.welcome_sticker = object.welcome_sticker ?? "";
28423
28535
  message.boost_message = object.boost_message ?? "";
28424
28536
  message.setup_tips = object.setup_tips ?? "";
28537
+ message.hideAuditLog = object.hideAuditLog ?? "";
28425
28538
  return message;
28426
28539
  },
28427
28540
  };
@@ -28598,7 +28711,7 @@ export const DeleteCategoryOrderRequest = {
28598
28711
  };
28599
28712
 
28600
28713
  function createBaseStreamHttpCallbackRequest(): StreamHttpCallbackRequest {
28601
- return { id: "", client_id: "", clan_id: "", channel_id: "", user_id: "", action: 0, is_publisher: false };
28714
+ return { id: "", client_id: "", clan_id: "", channel_id: "", user_id: "", action: 0, is_publisher: false, token: "" };
28602
28715
  }
28603
28716
 
28604
28717
  export const StreamHttpCallbackRequest = {
@@ -28624,6 +28737,9 @@ export const StreamHttpCallbackRequest = {
28624
28737
  if (message.is_publisher !== false) {
28625
28738
  writer.uint32(56).bool(message.is_publisher);
28626
28739
  }
28740
+ if (message.token !== "") {
28741
+ writer.uint32(66).string(message.token);
28742
+ }
28627
28743
  return writer;
28628
28744
  },
28629
28745
 
@@ -28683,6 +28799,13 @@ export const StreamHttpCallbackRequest = {
28683
28799
 
28684
28800
  message.is_publisher = reader.bool();
28685
28801
  continue;
28802
+ case 8:
28803
+ if (tag !== 66) {
28804
+ break;
28805
+ }
28806
+
28807
+ message.token = reader.string();
28808
+ continue;
28686
28809
  }
28687
28810
  if ((tag & 7) === 4 || tag === 0) {
28688
28811
  break;
@@ -28701,6 +28824,7 @@ export const StreamHttpCallbackRequest = {
28701
28824
  user_id: isSet(object.user_id) ? globalThis.String(object.user_id) : "",
28702
28825
  action: isSet(object.action) ? globalThis.Number(object.action) : 0,
28703
28826
  is_publisher: isSet(object.is_publisher) ? globalThis.Boolean(object.is_publisher) : false,
28827
+ token: isSet(object.token) ? globalThis.String(object.token) : "",
28704
28828
  };
28705
28829
  },
28706
28830
 
@@ -28727,6 +28851,9 @@ export const StreamHttpCallbackRequest = {
28727
28851
  if (message.is_publisher !== false) {
28728
28852
  obj.is_publisher = message.is_publisher;
28729
28853
  }
28854
+ if (message.token !== "") {
28855
+ obj.token = message.token;
28856
+ }
28730
28857
  return obj;
28731
28858
  },
28732
28859
 
@@ -28742,6 +28869,7 @@ export const StreamHttpCallbackRequest = {
28742
28869
  message.user_id = object.user_id ?? "";
28743
28870
  message.action = object.action ?? 0;
28744
28871
  message.is_publisher = object.is_publisher ?? false;
28872
+ message.token = object.token ?? "";
28745
28873
  return message;
28746
28874
  },
28747
28875
  };
@@ -1581,6 +1581,7 @@ export interface EventManagement {
1581
1581
  create_time: Date | undefined;
1582
1582
  max_permission: number;
1583
1583
  channel_id: string;
1584
+ event_status: number;
1584
1585
  }
1585
1586
  /** Permission record */
1586
1587
  export interface Permission {
@@ -1855,8 +1856,9 @@ export interface CreateEventRequest {
1855
1856
  start_time: Date | undefined;
1856
1857
  end_time: Date | undefined;
1857
1858
  event_id: string;
1858
- event_status: string;
1859
+ event_status: number;
1859
1860
  channel_id: string;
1861
+ action: number;
1860
1862
  }
1861
1863
  /** update a event within clan. */
1862
1864
  export interface UpdateEventRequest {
@@ -1870,6 +1872,7 @@ export interface UpdateEventRequest {
1870
1872
  end_time: Date | undefined;
1871
1873
  clan_id: string;
1872
1874
  creator_id: string;
1875
+ channel_voice_id: string;
1873
1876
  }
1874
1877
  /** Delete a role the user has access to. */
1875
1878
  export interface DeleteRoleRequest {
@@ -1891,6 +1894,8 @@ export interface DeleteEventRequest {
1891
1894
  creator_id: string;
1892
1895
  /** event label */
1893
1896
  event_label: string;
1897
+ /** channel id */
1898
+ channel_id: string;
1894
1899
  }
1895
1900
  /** Update fields in a given role. */
1896
1901
  export interface UpdateRoleRequest {
@@ -2338,6 +2343,8 @@ export interface SystemMessage {
2338
2343
  boost_message: string;
2339
2344
  /** Setup tips */
2340
2345
  setup_tips: string;
2346
+ /** Hide audit log */
2347
+ hideAuditLog: string;
2341
2348
  }
2342
2349
  /** List of system message. */
2343
2350
  export interface SystemMessagesList {
@@ -2357,6 +2364,8 @@ export interface SystemMessageRequest {
2357
2364
  boost_message: string;
2358
2365
  /** Setup tips */
2359
2366
  setup_tips: string;
2367
+ /** Hide audit log */
2368
+ hideAuditLog: string;
2360
2369
  }
2361
2370
  /** Request to delete a system message by clan ID. */
2362
2371
  export interface DeleteSystemMessage {
@@ -2386,6 +2395,8 @@ export interface StreamHttpCallbackRequest {
2386
2395
  action: number;
2387
2396
  /** is_publisher */
2388
2397
  is_publisher: boolean;
2398
+ /** token */
2399
+ token: string;
2389
2400
  }
2390
2401
  export interface StreamHttpCallbackResponse {
2391
2402
  code: number | undefined;
@@ -11523,6 +11534,7 @@ export declare const EventManagement: {
11523
11534
  create_time?: Date | undefined;
11524
11535
  max_permission?: number | undefined;
11525
11536
  channel_id?: string | undefined;
11537
+ event_status?: number | undefined;
11526
11538
  } & {
11527
11539
  id?: string | undefined;
11528
11540
  title?: string | undefined;
@@ -11540,6 +11552,7 @@ export declare const EventManagement: {
11540
11552
  create_time?: Date | undefined;
11541
11553
  max_permission?: number | undefined;
11542
11554
  channel_id?: string | undefined;
11555
+ event_status?: number | undefined;
11543
11556
  } & { [K_1 in Exclude<keyof I, keyof EventManagement>]: never; }>(base?: I | undefined): EventManagement;
11544
11557
  fromPartial<I_1 extends {
11545
11558
  id?: string | undefined;
@@ -11558,6 +11571,7 @@ export declare const EventManagement: {
11558
11571
  create_time?: Date | undefined;
11559
11572
  max_permission?: number | undefined;
11560
11573
  channel_id?: string | undefined;
11574
+ event_status?: number | undefined;
11561
11575
  } & {
11562
11576
  id?: string | undefined;
11563
11577
  title?: string | undefined;
@@ -11575,6 +11589,7 @@ export declare const EventManagement: {
11575
11589
  create_time?: Date | undefined;
11576
11590
  max_permission?: number | undefined;
11577
11591
  channel_id?: string | undefined;
11592
+ event_status?: number | undefined;
11578
11593
  } & { [K_3 in Exclude<keyof I_1, keyof EventManagement>]: never; }>(object: I_1): EventManagement;
11579
11594
  };
11580
11595
  export declare const Permission: {
@@ -12938,6 +12953,7 @@ export declare const EventList: {
12938
12953
  create_time?: Date | undefined;
12939
12954
  max_permission?: number | undefined;
12940
12955
  channel_id?: string | undefined;
12956
+ event_status?: number | undefined;
12941
12957
  }[] | undefined;
12942
12958
  } & {
12943
12959
  events?: ({
@@ -12957,6 +12973,7 @@ export declare const EventList: {
12957
12973
  create_time?: Date | undefined;
12958
12974
  max_permission?: number | undefined;
12959
12975
  channel_id?: string | undefined;
12976
+ event_status?: number | undefined;
12960
12977
  }[] & ({
12961
12978
  id?: string | undefined;
12962
12979
  title?: string | undefined;
@@ -12974,6 +12991,7 @@ export declare const EventList: {
12974
12991
  create_time?: Date | undefined;
12975
12992
  max_permission?: number | undefined;
12976
12993
  channel_id?: string | undefined;
12994
+ event_status?: number | undefined;
12977
12995
  } & {
12978
12996
  id?: string | undefined;
12979
12997
  title?: string | undefined;
@@ -12991,6 +13009,7 @@ export declare const EventList: {
12991
13009
  create_time?: Date | undefined;
12992
13010
  max_permission?: number | undefined;
12993
13011
  channel_id?: string | undefined;
13012
+ event_status?: number | undefined;
12994
13013
  } & { [K_1 in Exclude<keyof I["events"][number], keyof EventManagement>]: never; })[] & { [K_2 in Exclude<keyof I["events"], keyof {
12995
13014
  id?: string | undefined;
12996
13015
  title?: string | undefined;
@@ -13008,6 +13027,7 @@ export declare const EventList: {
13008
13027
  create_time?: Date | undefined;
13009
13028
  max_permission?: number | undefined;
13010
13029
  channel_id?: string | undefined;
13030
+ event_status?: number | undefined;
13011
13031
  }[]>]: never; }) | undefined;
13012
13032
  } & { [K_3 in Exclude<keyof I, "events">]: never; }>(base?: I | undefined): EventList;
13013
13033
  fromPartial<I_1 extends {
@@ -13028,6 +13048,7 @@ export declare const EventList: {
13028
13048
  create_time?: Date | undefined;
13029
13049
  max_permission?: number | undefined;
13030
13050
  channel_id?: string | undefined;
13051
+ event_status?: number | undefined;
13031
13052
  }[] | undefined;
13032
13053
  } & {
13033
13054
  events?: ({
@@ -13047,6 +13068,7 @@ export declare const EventList: {
13047
13068
  create_time?: Date | undefined;
13048
13069
  max_permission?: number | undefined;
13049
13070
  channel_id?: string | undefined;
13071
+ event_status?: number | undefined;
13050
13072
  }[] & ({
13051
13073
  id?: string | undefined;
13052
13074
  title?: string | undefined;
@@ -13064,6 +13086,7 @@ export declare const EventList: {
13064
13086
  create_time?: Date | undefined;
13065
13087
  max_permission?: number | undefined;
13066
13088
  channel_id?: string | undefined;
13089
+ event_status?: number | undefined;
13067
13090
  } & {
13068
13091
  id?: string | undefined;
13069
13092
  title?: string | undefined;
@@ -13081,6 +13104,7 @@ export declare const EventList: {
13081
13104
  create_time?: Date | undefined;
13082
13105
  max_permission?: number | undefined;
13083
13106
  channel_id?: string | undefined;
13107
+ event_status?: number | undefined;
13084
13108
  } & { [K_5 in Exclude<keyof I_1["events"][number], keyof EventManagement>]: never; })[] & { [K_6 in Exclude<keyof I_1["events"], keyof {
13085
13109
  id?: string | undefined;
13086
13110
  title?: string | undefined;
@@ -13098,6 +13122,7 @@ export declare const EventList: {
13098
13122
  create_time?: Date | undefined;
13099
13123
  max_permission?: number | undefined;
13100
13124
  channel_id?: string | undefined;
13125
+ event_status?: number | undefined;
13101
13126
  }[]>]: never; }) | undefined;
13102
13127
  } & { [K_7 in Exclude<keyof I_1, "events">]: never; }>(object: I_1): EventList;
13103
13128
  };
@@ -13578,8 +13603,9 @@ export declare const CreateEventRequest: {
13578
13603
  start_time?: Date | undefined;
13579
13604
  end_time?: Date | undefined;
13580
13605
  event_id?: string | undefined;
13581
- event_status?: string | undefined;
13606
+ event_status?: number | undefined;
13582
13607
  channel_id?: string | undefined;
13608
+ action?: number | undefined;
13583
13609
  } & {
13584
13610
  title?: string | undefined;
13585
13611
  logo?: string | undefined;
@@ -13590,8 +13616,9 @@ export declare const CreateEventRequest: {
13590
13616
  start_time?: Date | undefined;
13591
13617
  end_time?: Date | undefined;
13592
13618
  event_id?: string | undefined;
13593
- event_status?: string | undefined;
13619
+ event_status?: number | undefined;
13594
13620
  channel_id?: string | undefined;
13621
+ action?: number | undefined;
13595
13622
  } & { [K in Exclude<keyof I, keyof CreateEventRequest>]: never; }>(base?: I | undefined): CreateEventRequest;
13596
13623
  fromPartial<I_1 extends {
13597
13624
  title?: string | undefined;
@@ -13603,8 +13630,9 @@ export declare const CreateEventRequest: {
13603
13630
  start_time?: Date | undefined;
13604
13631
  end_time?: Date | undefined;
13605
13632
  event_id?: string | undefined;
13606
- event_status?: string | undefined;
13633
+ event_status?: number | undefined;
13607
13634
  channel_id?: string | undefined;
13635
+ action?: number | undefined;
13608
13636
  } & {
13609
13637
  title?: string | undefined;
13610
13638
  logo?: string | undefined;
@@ -13615,8 +13643,9 @@ export declare const CreateEventRequest: {
13615
13643
  start_time?: Date | undefined;
13616
13644
  end_time?: Date | undefined;
13617
13645
  event_id?: string | undefined;
13618
- event_status?: string | undefined;
13646
+ event_status?: number | undefined;
13619
13647
  channel_id?: string | undefined;
13648
+ action?: number | undefined;
13620
13649
  } & { [K_1 in Exclude<keyof I_1, keyof CreateEventRequest>]: never; }>(object: I_1): CreateEventRequest;
13621
13650
  };
13622
13651
  export declare const UpdateEventRequest: {
@@ -13635,6 +13664,7 @@ export declare const UpdateEventRequest: {
13635
13664
  end_time?: Date | undefined;
13636
13665
  clan_id?: string | undefined;
13637
13666
  creator_id?: string | undefined;
13667
+ channel_voice_id?: string | undefined;
13638
13668
  } & {
13639
13669
  title?: string | undefined;
13640
13670
  logo?: string | undefined;
@@ -13646,6 +13676,7 @@ export declare const UpdateEventRequest: {
13646
13676
  end_time?: Date | undefined;
13647
13677
  clan_id?: string | undefined;
13648
13678
  creator_id?: string | undefined;
13679
+ channel_voice_id?: string | undefined;
13649
13680
  } & { [K in Exclude<keyof I, keyof UpdateEventRequest>]: never; }>(base?: I | undefined): UpdateEventRequest;
13650
13681
  fromPartial<I_1 extends {
13651
13682
  title?: string | undefined;
@@ -13658,6 +13689,7 @@ export declare const UpdateEventRequest: {
13658
13689
  end_time?: Date | undefined;
13659
13690
  clan_id?: string | undefined;
13660
13691
  creator_id?: string | undefined;
13692
+ channel_voice_id?: string | undefined;
13661
13693
  } & {
13662
13694
  title?: string | undefined;
13663
13695
  logo?: string | undefined;
@@ -13669,6 +13701,7 @@ export declare const UpdateEventRequest: {
13669
13701
  end_time?: Date | undefined;
13670
13702
  clan_id?: string | undefined;
13671
13703
  creator_id?: string | undefined;
13704
+ channel_voice_id?: string | undefined;
13672
13705
  } & { [K_1 in Exclude<keyof I_1, keyof UpdateEventRequest>]: never; }>(object: I_1): UpdateEventRequest;
13673
13706
  };
13674
13707
  export declare const DeleteRoleRequest: {
@@ -13709,22 +13742,26 @@ export declare const DeleteEventRequest: {
13709
13742
  clan_id?: string | undefined;
13710
13743
  creator_id?: string | undefined;
13711
13744
  event_label?: string | undefined;
13745
+ channel_id?: string | undefined;
13712
13746
  } & {
13713
13747
  event_id?: string | undefined;
13714
13748
  clan_id?: string | undefined;
13715
13749
  creator_id?: string | undefined;
13716
13750
  event_label?: string | undefined;
13751
+ channel_id?: string | undefined;
13717
13752
  } & { [K in Exclude<keyof I, keyof DeleteEventRequest>]: never; }>(base?: I | undefined): DeleteEventRequest;
13718
13753
  fromPartial<I_1 extends {
13719
13754
  event_id?: string | undefined;
13720
13755
  clan_id?: string | undefined;
13721
13756
  creator_id?: string | undefined;
13722
13757
  event_label?: string | undefined;
13758
+ channel_id?: string | undefined;
13723
13759
  } & {
13724
13760
  event_id?: string | undefined;
13725
13761
  clan_id?: string | undefined;
13726
13762
  creator_id?: string | undefined;
13727
13763
  event_label?: string | undefined;
13764
+ channel_id?: string | undefined;
13728
13765
  } & { [K_1 in Exclude<keyof I_1, keyof DeleteEventRequest>]: never; }>(object: I_1): DeleteEventRequest;
13729
13766
  };
13730
13767
  export declare const UpdateRoleRequest: {
@@ -16082,6 +16119,7 @@ export declare const SystemMessage: {
16082
16119
  welcome_sticker?: string | undefined;
16083
16120
  boost_message?: string | undefined;
16084
16121
  setup_tips?: string | undefined;
16122
+ hideAuditLog?: string | undefined;
16085
16123
  } & {
16086
16124
  id?: string | undefined;
16087
16125
  clan_id?: string | undefined;
@@ -16090,6 +16128,7 @@ export declare const SystemMessage: {
16090
16128
  welcome_sticker?: string | undefined;
16091
16129
  boost_message?: string | undefined;
16092
16130
  setup_tips?: string | undefined;
16131
+ hideAuditLog?: string | undefined;
16093
16132
  } & { [K in Exclude<keyof I, keyof SystemMessage>]: never; }>(base?: I | undefined): SystemMessage;
16094
16133
  fromPartial<I_1 extends {
16095
16134
  id?: string | undefined;
@@ -16099,6 +16138,7 @@ export declare const SystemMessage: {
16099
16138
  welcome_sticker?: string | undefined;
16100
16139
  boost_message?: string | undefined;
16101
16140
  setup_tips?: string | undefined;
16141
+ hideAuditLog?: string | undefined;
16102
16142
  } & {
16103
16143
  id?: string | undefined;
16104
16144
  clan_id?: string | undefined;
@@ -16107,6 +16147,7 @@ export declare const SystemMessage: {
16107
16147
  welcome_sticker?: string | undefined;
16108
16148
  boost_message?: string | undefined;
16109
16149
  setup_tips?: string | undefined;
16150
+ hideAuditLog?: string | undefined;
16110
16151
  } & { [K_1 in Exclude<keyof I_1, keyof SystemMessage>]: never; }>(object: I_1): SystemMessage;
16111
16152
  };
16112
16153
  export declare const SystemMessagesList: {
@@ -16123,6 +16164,7 @@ export declare const SystemMessagesList: {
16123
16164
  welcome_sticker?: string | undefined;
16124
16165
  boost_message?: string | undefined;
16125
16166
  setup_tips?: string | undefined;
16167
+ hideAuditLog?: string | undefined;
16126
16168
  }[] | undefined;
16127
16169
  } & {
16128
16170
  system_messages_list?: ({
@@ -16133,6 +16175,7 @@ export declare const SystemMessagesList: {
16133
16175
  welcome_sticker?: string | undefined;
16134
16176
  boost_message?: string | undefined;
16135
16177
  setup_tips?: string | undefined;
16178
+ hideAuditLog?: string | undefined;
16136
16179
  }[] & ({
16137
16180
  id?: string | undefined;
16138
16181
  clan_id?: string | undefined;
@@ -16141,6 +16184,7 @@ export declare const SystemMessagesList: {
16141
16184
  welcome_sticker?: string | undefined;
16142
16185
  boost_message?: string | undefined;
16143
16186
  setup_tips?: string | undefined;
16187
+ hideAuditLog?: string | undefined;
16144
16188
  } & {
16145
16189
  id?: string | undefined;
16146
16190
  clan_id?: string | undefined;
@@ -16149,6 +16193,7 @@ export declare const SystemMessagesList: {
16149
16193
  welcome_sticker?: string | undefined;
16150
16194
  boost_message?: string | undefined;
16151
16195
  setup_tips?: string | undefined;
16196
+ hideAuditLog?: string | undefined;
16152
16197
  } & { [K in Exclude<keyof I["system_messages_list"][number], keyof SystemMessage>]: never; })[] & { [K_1 in Exclude<keyof I["system_messages_list"], keyof {
16153
16198
  id?: string | undefined;
16154
16199
  clan_id?: string | undefined;
@@ -16157,6 +16202,7 @@ export declare const SystemMessagesList: {
16157
16202
  welcome_sticker?: string | undefined;
16158
16203
  boost_message?: string | undefined;
16159
16204
  setup_tips?: string | undefined;
16205
+ hideAuditLog?: string | undefined;
16160
16206
  }[]>]: never; }) | undefined;
16161
16207
  } & { [K_2 in Exclude<keyof I, "system_messages_list">]: never; }>(base?: I | undefined): SystemMessagesList;
16162
16208
  fromPartial<I_1 extends {
@@ -16168,6 +16214,7 @@ export declare const SystemMessagesList: {
16168
16214
  welcome_sticker?: string | undefined;
16169
16215
  boost_message?: string | undefined;
16170
16216
  setup_tips?: string | undefined;
16217
+ hideAuditLog?: string | undefined;
16171
16218
  }[] | undefined;
16172
16219
  } & {
16173
16220
  system_messages_list?: ({
@@ -16178,6 +16225,7 @@ export declare const SystemMessagesList: {
16178
16225
  welcome_sticker?: string | undefined;
16179
16226
  boost_message?: string | undefined;
16180
16227
  setup_tips?: string | undefined;
16228
+ hideAuditLog?: string | undefined;
16181
16229
  }[] & ({
16182
16230
  id?: string | undefined;
16183
16231
  clan_id?: string | undefined;
@@ -16186,6 +16234,7 @@ export declare const SystemMessagesList: {
16186
16234
  welcome_sticker?: string | undefined;
16187
16235
  boost_message?: string | undefined;
16188
16236
  setup_tips?: string | undefined;
16237
+ hideAuditLog?: string | undefined;
16189
16238
  } & {
16190
16239
  id?: string | undefined;
16191
16240
  clan_id?: string | undefined;
@@ -16194,6 +16243,7 @@ export declare const SystemMessagesList: {
16194
16243
  welcome_sticker?: string | undefined;
16195
16244
  boost_message?: string | undefined;
16196
16245
  setup_tips?: string | undefined;
16246
+ hideAuditLog?: string | undefined;
16197
16247
  } & { [K_3 in Exclude<keyof I_1["system_messages_list"][number], keyof SystemMessage>]: never; })[] & { [K_4 in Exclude<keyof I_1["system_messages_list"], keyof {
16198
16248
  id?: string | undefined;
16199
16249
  clan_id?: string | undefined;
@@ -16202,6 +16252,7 @@ export declare const SystemMessagesList: {
16202
16252
  welcome_sticker?: string | undefined;
16203
16253
  boost_message?: string | undefined;
16204
16254
  setup_tips?: string | undefined;
16255
+ hideAuditLog?: string | undefined;
16205
16256
  }[]>]: never; }) | undefined;
16206
16257
  } & { [K_5 in Exclude<keyof I_1, "system_messages_list">]: never; }>(object: I_1): SystemMessagesList;
16207
16258
  };
@@ -16217,6 +16268,7 @@ export declare const SystemMessageRequest: {
16217
16268
  welcome_sticker?: string | undefined;
16218
16269
  boost_message?: string | undefined;
16219
16270
  setup_tips?: string | undefined;
16271
+ hideAuditLog?: string | undefined;
16220
16272
  } & {
16221
16273
  clan_id?: string | undefined;
16222
16274
  channel_id?: string | undefined;
@@ -16224,6 +16276,7 @@ export declare const SystemMessageRequest: {
16224
16276
  welcome_sticker?: string | undefined;
16225
16277
  boost_message?: string | undefined;
16226
16278
  setup_tips?: string | undefined;
16279
+ hideAuditLog?: string | undefined;
16227
16280
  } & { [K in Exclude<keyof I, keyof SystemMessageRequest>]: never; }>(base?: I | undefined): SystemMessageRequest;
16228
16281
  fromPartial<I_1 extends {
16229
16282
  clan_id?: string | undefined;
@@ -16232,6 +16285,7 @@ export declare const SystemMessageRequest: {
16232
16285
  welcome_sticker?: string | undefined;
16233
16286
  boost_message?: string | undefined;
16234
16287
  setup_tips?: string | undefined;
16288
+ hideAuditLog?: string | undefined;
16235
16289
  } & {
16236
16290
  clan_id?: string | undefined;
16237
16291
  channel_id?: string | undefined;
@@ -16239,6 +16293,7 @@ export declare const SystemMessageRequest: {
16239
16293
  welcome_sticker?: string | undefined;
16240
16294
  boost_message?: string | undefined;
16241
16295
  setup_tips?: string | undefined;
16296
+ hideAuditLog?: string | undefined;
16242
16297
  } & { [K_1 in Exclude<keyof I_1, keyof SystemMessageRequest>]: never; }>(object: I_1): SystemMessageRequest;
16243
16298
  };
16244
16299
  export declare const DeleteSystemMessage: {
@@ -16302,6 +16357,7 @@ export declare const StreamHttpCallbackRequest: {
16302
16357
  user_id?: string | undefined;
16303
16358
  action?: number | undefined;
16304
16359
  is_publisher?: boolean | undefined;
16360
+ token?: string | undefined;
16305
16361
  } & {
16306
16362
  id?: string | undefined;
16307
16363
  client_id?: string | undefined;
@@ -16310,6 +16366,7 @@ export declare const StreamHttpCallbackRequest: {
16310
16366
  user_id?: string | undefined;
16311
16367
  action?: number | undefined;
16312
16368
  is_publisher?: boolean | undefined;
16369
+ token?: string | undefined;
16313
16370
  } & { [K in Exclude<keyof I, keyof StreamHttpCallbackRequest>]: never; }>(base?: I | undefined): StreamHttpCallbackRequest;
16314
16371
  fromPartial<I_1 extends {
16315
16372
  id?: string | undefined;
@@ -16319,6 +16376,7 @@ export declare const StreamHttpCallbackRequest: {
16319
16376
  user_id?: string | undefined;
16320
16377
  action?: number | undefined;
16321
16378
  is_publisher?: boolean | undefined;
16379
+ token?: string | undefined;
16322
16380
  } & {
16323
16381
  id?: string | undefined;
16324
16382
  client_id?: string | undefined;
@@ -16327,6 +16385,7 @@ export declare const StreamHttpCallbackRequest: {
16327
16385
  user_id?: string | undefined;
16328
16386
  action?: number | undefined;
16329
16387
  is_publisher?: boolean | undefined;
16388
+ token?: string | undefined;
16330
16389
  } & { [K_1 in Exclude<keyof I_1, keyof StreamHttpCallbackRequest>]: never; }>(object: I_1): StreamHttpCallbackRequest;
16331
16390
  };
16332
16391
  export declare const StreamHttpCallbackResponse: {
@@ -1583,8 +1583,9 @@ export declare const Envelope: {
1583
1583
  start_time?: Date | undefined;
1584
1584
  end_time?: Date | undefined;
1585
1585
  event_id?: string | undefined;
1586
- event_status?: string | undefined;
1586
+ event_status?: number | undefined;
1587
1587
  channel_id?: string | undefined;
1588
+ action?: number | undefined;
1588
1589
  } | undefined;
1589
1590
  role_assign_event?: {
1590
1591
  ClanId?: string | undefined;
@@ -3476,8 +3477,9 @@ export declare const Envelope: {
3476
3477
  start_time?: Date | undefined;
3477
3478
  end_time?: Date | undefined;
3478
3479
  event_id?: string | undefined;
3479
- event_status?: string | undefined;
3480
+ event_status?: number | undefined;
3480
3481
  channel_id?: string | undefined;
3482
+ action?: number | undefined;
3481
3483
  } & {
3482
3484
  title?: string | undefined;
3483
3485
  logo?: string | undefined;
@@ -3488,8 +3490,9 @@ export declare const Envelope: {
3488
3490
  start_time?: Date | undefined;
3489
3491
  end_time?: Date | undefined;
3490
3492
  event_id?: string | undefined;
3491
- event_status?: string | undefined;
3493
+ event_status?: number | undefined;
3492
3494
  channel_id?: string | undefined;
3495
+ action?: number | undefined;
3493
3496
  } & { [K_100 in Exclude<keyof I["clan_event_created"], keyof CreateEventRequest>]: never; }) | undefined;
3494
3497
  role_assign_event?: ({
3495
3498
  ClanId?: string | undefined;
@@ -4703,8 +4706,9 @@ export declare const Envelope: {
4703
4706
  start_time?: Date | undefined;
4704
4707
  end_time?: Date | undefined;
4705
4708
  event_id?: string | undefined;
4706
- event_status?: string | undefined;
4709
+ event_status?: number | undefined;
4707
4710
  channel_id?: string | undefined;
4711
+ action?: number | undefined;
4708
4712
  } | undefined;
4709
4713
  role_assign_event?: {
4710
4714
  ClanId?: string | undefined;
@@ -6596,8 +6600,9 @@ export declare const Envelope: {
6596
6600
  start_time?: Date | undefined;
6597
6601
  end_time?: Date | undefined;
6598
6602
  event_id?: string | undefined;
6599
- event_status?: string | undefined;
6603
+ event_status?: number | undefined;
6600
6604
  channel_id?: string | undefined;
6605
+ action?: number | undefined;
6601
6606
  } & {
6602
6607
  title?: string | undefined;
6603
6608
  logo?: string | undefined;
@@ -6608,8 +6613,9 @@ export declare const Envelope: {
6608
6613
  start_time?: Date | undefined;
6609
6614
  end_time?: Date | undefined;
6610
6615
  event_id?: string | undefined;
6611
- event_status?: string | undefined;
6616
+ event_status?: number | undefined;
6612
6617
  channel_id?: string | undefined;
6618
+ action?: number | undefined;
6613
6619
  } & { [K_255 in Exclude<keyof I_1["clan_event_created"], keyof CreateEventRequest>]: never; }) | undefined;
6614
6620
  role_assign_event?: ({
6615
6621
  ClanId?: string | undefined;
@@ -5368,8 +5368,9 @@ function createBaseCreateEventRequest() {
5368
5368
  start_time: void 0,
5369
5369
  end_time: void 0,
5370
5370
  event_id: "",
5371
- event_status: "",
5372
- channel_id: ""
5371
+ event_status: 0,
5372
+ channel_id: "",
5373
+ action: 0
5373
5374
  };
5374
5375
  }
5375
5376
  var CreateEventRequest = {
@@ -5401,12 +5402,15 @@ var CreateEventRequest = {
5401
5402
  if (message.event_id !== "") {
5402
5403
  writer.uint32(74).string(message.event_id);
5403
5404
  }
5404
- if (message.event_status !== "") {
5405
- writer.uint32(82).string(message.event_status);
5405
+ if (message.event_status !== 0) {
5406
+ writer.uint32(80).int32(message.event_status);
5406
5407
  }
5407
5408
  if (message.channel_id !== "") {
5408
5409
  writer.uint32(90).string(message.channel_id);
5409
5410
  }
5411
+ if (message.action !== 0) {
5412
+ writer.uint32(96).int32(message.action);
5413
+ }
5410
5414
  return writer;
5411
5415
  },
5412
5416
  decode(input, length) {
@@ -5471,10 +5475,10 @@ var CreateEventRequest = {
5471
5475
  message.event_id = reader.string();
5472
5476
  continue;
5473
5477
  case 10:
5474
- if (tag !== 82) {
5478
+ if (tag !== 80) {
5475
5479
  break;
5476
5480
  }
5477
- message.event_status = reader.string();
5481
+ message.event_status = reader.int32();
5478
5482
  continue;
5479
5483
  case 11:
5480
5484
  if (tag !== 90) {
@@ -5482,6 +5486,12 @@ var CreateEventRequest = {
5482
5486
  }
5483
5487
  message.channel_id = reader.string();
5484
5488
  continue;
5489
+ case 12:
5490
+ if (tag !== 96) {
5491
+ break;
5492
+ }
5493
+ message.action = reader.int32();
5494
+ continue;
5485
5495
  }
5486
5496
  if ((tag & 7) === 4 || tag === 0) {
5487
5497
  break;
@@ -5501,8 +5511,9 @@ var CreateEventRequest = {
5501
5511
  start_time: isSet3(object.start_time) ? fromJsonTimestamp(object.start_time) : void 0,
5502
5512
  end_time: isSet3(object.end_time) ? fromJsonTimestamp(object.end_time) : void 0,
5503
5513
  event_id: isSet3(object.event_id) ? globalThis.String(object.event_id) : "",
5504
- event_status: isSet3(object.event_status) ? globalThis.String(object.event_status) : "",
5505
- channel_id: isSet3(object.channel_id) ? globalThis.String(object.channel_id) : ""
5514
+ event_status: isSet3(object.event_status) ? globalThis.Number(object.event_status) : 0,
5515
+ channel_id: isSet3(object.channel_id) ? globalThis.String(object.channel_id) : "",
5516
+ action: isSet3(object.action) ? globalThis.Number(object.action) : 0
5506
5517
  };
5507
5518
  },
5508
5519
  toJSON(message) {
@@ -5534,19 +5545,22 @@ var CreateEventRequest = {
5534
5545
  if (message.event_id !== "") {
5535
5546
  obj.event_id = message.event_id;
5536
5547
  }
5537
- if (message.event_status !== "") {
5538
- obj.event_status = message.event_status;
5548
+ if (message.event_status !== 0) {
5549
+ obj.event_status = Math.round(message.event_status);
5539
5550
  }
5540
5551
  if (message.channel_id !== "") {
5541
5552
  obj.channel_id = message.channel_id;
5542
5553
  }
5554
+ if (message.action !== 0) {
5555
+ obj.action = Math.round(message.action);
5556
+ }
5543
5557
  return obj;
5544
5558
  },
5545
5559
  create(base) {
5546
5560
  return CreateEventRequest.fromPartial(base != null ? base : {});
5547
5561
  },
5548
5562
  fromPartial(object) {
5549
- var _a, _b, _c, _d, _e, _f, _g, _h, _i, _j, _k;
5563
+ var _a, _b, _c, _d, _e, _f, _g, _h, _i, _j, _k, _l;
5550
5564
  const message = createBaseCreateEventRequest();
5551
5565
  message.title = (_a = object.title) != null ? _a : "";
5552
5566
  message.logo = (_b = object.logo) != null ? _b : "";
@@ -5557,8 +5571,9 @@ var CreateEventRequest = {
5557
5571
  message.start_time = (_g = object.start_time) != null ? _g : void 0;
5558
5572
  message.end_time = (_h = object.end_time) != null ? _h : void 0;
5559
5573
  message.event_id = (_i = object.event_id) != null ? _i : "";
5560
- message.event_status = (_j = object.event_status) != null ? _j : "";
5574
+ message.event_status = (_j = object.event_status) != null ? _j : 0;
5561
5575
  message.channel_id = (_k = object.channel_id) != null ? _k : "";
5576
+ message.action = (_l = object.action) != null ? _l : 0;
5562
5577
  return message;
5563
5578
  }
5564
5579
  };
@@ -5355,8 +5355,9 @@ function createBaseCreateEventRequest() {
5355
5355
  start_time: void 0,
5356
5356
  end_time: void 0,
5357
5357
  event_id: "",
5358
- event_status: "",
5359
- channel_id: ""
5358
+ event_status: 0,
5359
+ channel_id: "",
5360
+ action: 0
5360
5361
  };
5361
5362
  }
5362
5363
  var CreateEventRequest = {
@@ -5388,12 +5389,15 @@ var CreateEventRequest = {
5388
5389
  if (message.event_id !== "") {
5389
5390
  writer.uint32(74).string(message.event_id);
5390
5391
  }
5391
- if (message.event_status !== "") {
5392
- writer.uint32(82).string(message.event_status);
5392
+ if (message.event_status !== 0) {
5393
+ writer.uint32(80).int32(message.event_status);
5393
5394
  }
5394
5395
  if (message.channel_id !== "") {
5395
5396
  writer.uint32(90).string(message.channel_id);
5396
5397
  }
5398
+ if (message.action !== 0) {
5399
+ writer.uint32(96).int32(message.action);
5400
+ }
5397
5401
  return writer;
5398
5402
  },
5399
5403
  decode(input, length) {
@@ -5458,10 +5462,10 @@ var CreateEventRequest = {
5458
5462
  message.event_id = reader.string();
5459
5463
  continue;
5460
5464
  case 10:
5461
- if (tag !== 82) {
5465
+ if (tag !== 80) {
5462
5466
  break;
5463
5467
  }
5464
- message.event_status = reader.string();
5468
+ message.event_status = reader.int32();
5465
5469
  continue;
5466
5470
  case 11:
5467
5471
  if (tag !== 90) {
@@ -5469,6 +5473,12 @@ var CreateEventRequest = {
5469
5473
  }
5470
5474
  message.channel_id = reader.string();
5471
5475
  continue;
5476
+ case 12:
5477
+ if (tag !== 96) {
5478
+ break;
5479
+ }
5480
+ message.action = reader.int32();
5481
+ continue;
5472
5482
  }
5473
5483
  if ((tag & 7) === 4 || tag === 0) {
5474
5484
  break;
@@ -5488,8 +5498,9 @@ var CreateEventRequest = {
5488
5498
  start_time: isSet3(object.start_time) ? fromJsonTimestamp(object.start_time) : void 0,
5489
5499
  end_time: isSet3(object.end_time) ? fromJsonTimestamp(object.end_time) : void 0,
5490
5500
  event_id: isSet3(object.event_id) ? globalThis.String(object.event_id) : "",
5491
- event_status: isSet3(object.event_status) ? globalThis.String(object.event_status) : "",
5492
- channel_id: isSet3(object.channel_id) ? globalThis.String(object.channel_id) : ""
5501
+ event_status: isSet3(object.event_status) ? globalThis.Number(object.event_status) : 0,
5502
+ channel_id: isSet3(object.channel_id) ? globalThis.String(object.channel_id) : "",
5503
+ action: isSet3(object.action) ? globalThis.Number(object.action) : 0
5493
5504
  };
5494
5505
  },
5495
5506
  toJSON(message) {
@@ -5521,19 +5532,22 @@ var CreateEventRequest = {
5521
5532
  if (message.event_id !== "") {
5522
5533
  obj.event_id = message.event_id;
5523
5534
  }
5524
- if (message.event_status !== "") {
5525
- obj.event_status = message.event_status;
5535
+ if (message.event_status !== 0) {
5536
+ obj.event_status = Math.round(message.event_status);
5526
5537
  }
5527
5538
  if (message.channel_id !== "") {
5528
5539
  obj.channel_id = message.channel_id;
5529
5540
  }
5541
+ if (message.action !== 0) {
5542
+ obj.action = Math.round(message.action);
5543
+ }
5530
5544
  return obj;
5531
5545
  },
5532
5546
  create(base) {
5533
5547
  return CreateEventRequest.fromPartial(base != null ? base : {});
5534
5548
  },
5535
5549
  fromPartial(object) {
5536
- var _a, _b, _c, _d, _e, _f, _g, _h, _i, _j, _k;
5550
+ var _a, _b, _c, _d, _e, _f, _g, _h, _i, _j, _k, _l;
5537
5551
  const message = createBaseCreateEventRequest();
5538
5552
  message.title = (_a = object.title) != null ? _a : "";
5539
5553
  message.logo = (_b = object.logo) != null ? _b : "";
@@ -5544,8 +5558,9 @@ var CreateEventRequest = {
5544
5558
  message.start_time = (_g = object.start_time) != null ? _g : void 0;
5545
5559
  message.end_time = (_h = object.end_time) != null ? _h : void 0;
5546
5560
  message.event_id = (_i = object.event_id) != null ? _i : "";
5547
- message.event_status = (_j = object.event_status) != null ? _j : "";
5561
+ message.event_status = (_j = object.event_status) != null ? _j : 0;
5548
5562
  message.channel_id = (_k = object.channel_id) != null ? _k : "";
5563
+ message.action = (_l = object.action) != null ? _l : 0;
5549
5564
  return message;
5550
5565
  }
5551
5566
  };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "mezon-js-protobuf",
3
- "version": "1.6.74",
3
+ "version": "1.6.76",
4
4
  "description": "Websocket adapter adding protocol buffer support to the Mezon Javascript client.",
5
5
  "main": "dist/mezon-js-protobuf.cjs.js",
6
6
  "module": "dist/mezon-js-protobuf.esm.mjs",