mezon-js-protobuf 1.6.78 → 1.6.80

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
@@ -191,8 +191,8 @@ export interface Account {
191
191
  logo: string;
192
192
  /** Splash screen url */
193
193
  splash_screen: string;
194
- /** E2ee public key */
195
- public_key: string;
194
+ /** E2ee encrypt private key */
195
+ encrypt_private_key: string;
196
196
  }
197
197
 
198
198
  /** Obtain a new authentication token using a refresh token. */
@@ -1053,6 +1053,10 @@ export interface ChannelAttachment {
1053
1053
  | undefined;
1054
1054
  /** message id. */
1055
1055
  message_id: string;
1056
+ /** width */
1057
+ width: number;
1058
+ /** height */
1059
+ height: number;
1056
1060
  }
1057
1061
 
1058
1062
  /** channel attachment list */
@@ -1409,8 +1413,8 @@ export interface UpdateAccountRequest {
1409
1413
  logo: string;
1410
1414
  /** splash screen */
1411
1415
  splash_screen: string;
1412
- /** e2ee public key */
1413
- public_key: string;
1416
+ /** e2ee encrypt private key */
1417
+ encrypt_private_key: string;
1414
1418
  }
1415
1419
 
1416
1420
  /** Update fields in a given group. */
@@ -2099,6 +2103,7 @@ export interface EventManagement {
2099
2103
  max_permission: number;
2100
2104
  channel_id: string;
2101
2105
  event_status: number;
2106
+ repeat_type: number;
2102
2107
  }
2103
2108
 
2104
2109
  /** Permission record */
@@ -2418,6 +2423,8 @@ export interface CreateEventRequest {
2418
2423
  event_status: number;
2419
2424
  channel_id: string;
2420
2425
  action: number;
2426
+ repeat_type: number;
2427
+ creator_id: string;
2421
2428
  }
2422
2429
 
2423
2430
  /** update a event within clan. */
@@ -2433,6 +2440,8 @@ export interface UpdateEventRequest {
2433
2440
  clan_id: string;
2434
2441
  creator_id: string;
2435
2442
  channel_voice_id: string;
2443
+ channel_id_old: string;
2444
+ repeat_type: number;
2436
2445
  }
2437
2446
 
2438
2447
  /** Delete a role the user has access to. */
@@ -2974,7 +2983,7 @@ export interface SystemMessage {
2974
2983
  boost_message: string;
2975
2984
  /** Setup tips */
2976
2985
  setup_tips: string;
2977
- /** Hide audit log */
2986
+ /** Hide audit log */
2978
2987
  hide_audit_log: string;
2979
2988
  }
2980
2989
 
@@ -2997,7 +3006,7 @@ export interface SystemMessageRequest {
2997
3006
  boost_message: string;
2998
3007
  /** Setup tips */
2999
3008
  setup_tips: string;
3000
- /** Hide audit log */
3009
+ /** Hide audit log */
3001
3010
  hide_audit_log: string;
3002
3011
  }
3003
3012
 
@@ -3852,7 +3861,7 @@ function createBaseAccount(): Account {
3852
3861
  disable_time: undefined,
3853
3862
  logo: "",
3854
3863
  splash_screen: "",
3855
- public_key: "",
3864
+ encrypt_private_key: "",
3856
3865
  };
3857
3866
  }
3858
3867
 
@@ -3885,8 +3894,8 @@ export const Account = {
3885
3894
  if (message.splash_screen !== "") {
3886
3895
  writer.uint32(74).string(message.splash_screen);
3887
3896
  }
3888
- if (message.public_key !== "") {
3889
- writer.uint32(82).string(message.public_key);
3897
+ if (message.encrypt_private_key !== "") {
3898
+ writer.uint32(82).string(message.encrypt_private_key);
3890
3899
  }
3891
3900
  return writer;
3892
3901
  },
@@ -3961,12 +3970,12 @@ export const Account = {
3961
3970
 
3962
3971
  message.splash_screen = reader.string();
3963
3972
  continue;
3964
- case 10:
3973
+ case 10:
3965
3974
  if (tag !== 82) {
3966
3975
  break;
3967
3976
  }
3968
3977
 
3969
- message.public_key = reader.string();
3978
+ message.encrypt_private_key = reader.string();
3970
3979
  continue;
3971
3980
  }
3972
3981
  if ((tag & 7) === 4 || tag === 0) {
@@ -3990,7 +3999,7 @@ case 10:
3990
3999
  disable_time: isSet(object.disable_time) ? fromJsonTimestamp(object.disable_time) : undefined,
3991
4000
  logo: isSet(object.logo) ? globalThis.String(object.logo) : "",
3992
4001
  splash_screen: isSet(object.splash_screen) ? globalThis.String(object.splash_screen) : "",
3993
- public_key: isSet(object.public_key) ? globalThis.String(object.public_key) : "",
4002
+ encrypt_private_key: isSet(object.encrypt_private_key) ? globalThis.String(object.encrypt_private_key) : "",
3994
4003
  };
3995
4004
  },
3996
4005
 
@@ -4023,8 +4032,8 @@ case 10:
4023
4032
  if (message.splash_screen !== "") {
4024
4033
  obj.splash_screen = message.splash_screen;
4025
4034
  }
4026
- if (message.public_key !== "") {
4027
- obj.public_key = message.public_key;
4035
+ if (message.encrypt_private_key !== "") {
4036
+ obj.encrypt_private_key = message.encrypt_private_key;
4028
4037
  }
4029
4038
  return obj;
4030
4039
  },
@@ -4043,7 +4052,7 @@ case 10:
4043
4052
  message.disable_time = object.disable_time ?? undefined;
4044
4053
  message.logo = object.logo ?? "";
4045
4054
  message.splash_screen = object.splash_screen ?? "";
4046
- message.public_key = object.public_key ?? "";
4055
+ message.encrypt_private_key = object.encrypt_private_key ?? "";
4047
4056
  return message;
4048
4057
  },
4049
4058
  };
@@ -10680,6 +10689,8 @@ function createBaseChannelAttachment(): ChannelAttachment {
10680
10689
  uploader: "",
10681
10690
  create_time: undefined,
10682
10691
  message_id: "",
10692
+ width: 0,
10693
+ height: 0,
10683
10694
  };
10684
10695
  }
10685
10696
 
@@ -10709,6 +10720,12 @@ export const ChannelAttachment = {
10709
10720
  if (message.message_id !== "") {
10710
10721
  writer.uint32(66).string(message.message_id);
10711
10722
  }
10723
+ if (message.width !== 0) {
10724
+ writer.uint32(72).int32(message.width);
10725
+ }
10726
+ if (message.height !== 0) {
10727
+ writer.uint32(80).int32(message.height);
10728
+ }
10712
10729
  return writer;
10713
10730
  },
10714
10731
 
@@ -10775,6 +10792,20 @@ export const ChannelAttachment = {
10775
10792
 
10776
10793
  message.message_id = reader.string();
10777
10794
  continue;
10795
+ case 9:
10796
+ if (tag !== 72) {
10797
+ break;
10798
+ }
10799
+
10800
+ message.width = reader.int32();
10801
+ continue;
10802
+ case 10:
10803
+ if (tag !== 80) {
10804
+ break;
10805
+ }
10806
+
10807
+ message.height = reader.int32();
10808
+ continue;
10778
10809
  }
10779
10810
  if ((tag & 7) === 4 || tag === 0) {
10780
10811
  break;
@@ -10794,6 +10825,8 @@ export const ChannelAttachment = {
10794
10825
  uploader: isSet(object.uploader) ? globalThis.String(object.uploader) : "",
10795
10826
  create_time: isSet(object.create_time) ? fromJsonTimestamp(object.create_time) : undefined,
10796
10827
  message_id: isSet(object.message_id) ? globalThis.String(object.message_id) : "",
10828
+ width: isSet(object.width) ? globalThis.Number(object.width) : 0,
10829
+ height: isSet(object.height) ? globalThis.Number(object.height) : 0,
10797
10830
  };
10798
10831
  },
10799
10832
 
@@ -10823,6 +10856,12 @@ export const ChannelAttachment = {
10823
10856
  if (message.message_id !== "") {
10824
10857
  obj.message_id = message.message_id;
10825
10858
  }
10859
+ if (message.width !== 0) {
10860
+ obj.width = Math.round(message.width);
10861
+ }
10862
+ if (message.height !== 0) {
10863
+ obj.height = Math.round(message.height);
10864
+ }
10826
10865
  return obj;
10827
10866
  },
10828
10867
 
@@ -10839,6 +10878,8 @@ export const ChannelAttachment = {
10839
10878
  message.uploader = object.uploader ?? "";
10840
10879
  message.create_time = object.create_time ?? undefined;
10841
10880
  message.message_id = object.message_id ?? "";
10881
+ message.width = object.width ?? 0;
10882
+ message.height = object.height ?? 0;
10842
10883
  return message;
10843
10884
  },
10844
10885
  };
@@ -13294,7 +13335,7 @@ function createBaseUpdateAccountRequest(): UpdateAccountRequest {
13294
13335
  dob: undefined,
13295
13336
  logo: "",
13296
13337
  splash_screen: "",
13297
- public_key: "",
13338
+ encrypt_private_key: "",
13298
13339
  };
13299
13340
  }
13300
13341
 
@@ -13330,8 +13371,8 @@ export const UpdateAccountRequest = {
13330
13371
  if (message.splash_screen !== "") {
13331
13372
  writer.uint32(82).string(message.splash_screen);
13332
13373
  }
13333
- if (message.public_key !== "") {
13334
- writer.uint32(90).string(message.public_key);
13374
+ if (message.encrypt_private_key !== "") {
13375
+ writer.uint32(90).string(message.encrypt_private_key);
13335
13376
  }
13336
13377
  return writer;
13337
13378
  },
@@ -13413,12 +13454,12 @@ export const UpdateAccountRequest = {
13413
13454
 
13414
13455
  message.splash_screen = reader.string();
13415
13456
  continue;
13416
- case 11:
13457
+ case 11:
13417
13458
  if (tag !== 90) {
13418
13459
  break;
13419
13460
  }
13420
13461
 
13421
- message.public_key = reader.string();
13462
+ message.encrypt_private_key = reader.string();
13422
13463
  continue;
13423
13464
  }
13424
13465
  if ((tag & 7) === 4 || tag === 0) {
@@ -13441,7 +13482,7 @@ case 11:
13441
13482
  dob: isSet(object.dob) ? fromJsonTimestamp(object.dob) : undefined,
13442
13483
  logo: isSet(object.logo) ? globalThis.String(object.logo) : "",
13443
13484
  splash_screen: isSet(object.splash_screen) ? globalThis.String(object.splash_screen) : "",
13444
- public_key: isSet(object.public_key) ? globalThis.String(object.public_key) : "",
13485
+ encrypt_private_key: isSet(object.encrypt_private_key) ? globalThis.String(object.encrypt_private_key) : "",
13445
13486
  };
13446
13487
  },
13447
13488
 
@@ -13477,8 +13518,8 @@ case 11:
13477
13518
  if (message.splash_screen !== "") {
13478
13519
  obj.splash_screen = message.splash_screen;
13479
13520
  }
13480
- if (message.public_key !== "") {
13481
- obj.public_key = message.public_key;
13521
+ if (message.encrypt_private_key !== "") {
13522
+ obj.encrypt_private_key = message.encrypt_private_key;
13482
13523
  }
13483
13524
  return obj;
13484
13525
  },
@@ -13498,7 +13539,7 @@ case 11:
13498
13539
  message.dob = object.dob ?? undefined;
13499
13540
  message.logo = object.logo ?? "";
13500
13541
  message.splash_screen = object.splash_screen ?? "";
13501
- message.public_key = object.public_key ?? "";
13542
+ message.encrypt_private_key = object.encrypt_private_key ?? "";
13502
13543
  return message;
13503
13544
  },
13504
13545
  };
@@ -18843,6 +18884,7 @@ function createBaseEventManagement(): EventManagement {
18843
18884
  max_permission: 0,
18844
18885
  channel_id: "",
18845
18886
  event_status: 0,
18887
+ repeat_type: 0,
18846
18888
  };
18847
18889
  }
18848
18890
 
@@ -18899,6 +18941,9 @@ export const EventManagement = {
18899
18941
  if (message.event_status !== 0) {
18900
18942
  writer.uint32(136).int32(message.event_status);
18901
18943
  }
18944
+ if (message.repeat_type !== 0) {
18945
+ writer.uint32(144).int32(message.repeat_type);
18946
+ }
18902
18947
  return writer;
18903
18948
  },
18904
18949
 
@@ -19028,6 +19073,13 @@ export const EventManagement = {
19028
19073
 
19029
19074
  message.event_status = reader.int32();
19030
19075
  continue;
19076
+ case 18:
19077
+ if (tag !== 144) {
19078
+ break;
19079
+ }
19080
+
19081
+ message.repeat_type = reader.int32();
19082
+ continue;
19031
19083
  }
19032
19084
  if ((tag & 7) === 4 || tag === 0) {
19033
19085
  break;
@@ -19056,6 +19108,7 @@ export const EventManagement = {
19056
19108
  max_permission: isSet(object.max_permission) ? globalThis.Number(object.max_permission) : 0,
19057
19109
  channel_id: isSet(object.channel_id) ? globalThis.String(object.channel_id) : "",
19058
19110
  event_status: isSet(object.event_status) ? globalThis.Number(object.event_status) : 0,
19111
+ repeat_type: isSet(object.repeat_type) ? globalThis.Number(object.repeat_type) : 0,
19059
19112
  };
19060
19113
  },
19061
19114
 
@@ -19112,6 +19165,9 @@ export const EventManagement = {
19112
19165
  if (message.event_status !== 0) {
19113
19166
  obj.event_status = Math.round(message.event_status);
19114
19167
  }
19168
+ if (message.repeat_type !== 0) {
19169
+ obj.repeat_type = Math.round(message.repeat_type);
19170
+ }
19115
19171
  return obj;
19116
19172
  },
19117
19173
 
@@ -19137,6 +19193,7 @@ export const EventManagement = {
19137
19193
  message.max_permission = object.max_permission ?? 0;
19138
19194
  message.channel_id = object.channel_id ?? "";
19139
19195
  message.event_status = object.event_status ?? 0;
19196
+ message.repeat_type = object.repeat_type ?? 0;
19140
19197
  return message;
19141
19198
  },
19142
19199
  };
@@ -22173,6 +22230,8 @@ function createBaseCreateEventRequest(): CreateEventRequest {
22173
22230
  event_status: 0,
22174
22231
  channel_id: "",
22175
22232
  action: 0,
22233
+ repeat_type: 0,
22234
+ creator_id: "",
22176
22235
  };
22177
22236
  }
22178
22237
 
@@ -22214,6 +22273,12 @@ export const CreateEventRequest = {
22214
22273
  if (message.action !== 0) {
22215
22274
  writer.uint32(96).int32(message.action);
22216
22275
  }
22276
+ if (message.repeat_type !== 0) {
22277
+ writer.uint32(104).int32(message.repeat_type);
22278
+ }
22279
+ if (message.creator_id !== "") {
22280
+ writer.uint32(114).string(message.creator_id);
22281
+ }
22217
22282
  return writer;
22218
22283
  },
22219
22284
 
@@ -22308,6 +22373,20 @@ export const CreateEventRequest = {
22308
22373
 
22309
22374
  message.action = reader.int32();
22310
22375
  continue;
22376
+ case 13:
22377
+ if (tag !== 104) {
22378
+ break;
22379
+ }
22380
+
22381
+ message.repeat_type = reader.int32();
22382
+ continue;
22383
+ case 14:
22384
+ if (tag !== 114) {
22385
+ break;
22386
+ }
22387
+
22388
+ message.creator_id = reader.string();
22389
+ continue;
22311
22390
  }
22312
22391
  if ((tag & 7) === 4 || tag === 0) {
22313
22392
  break;
@@ -22331,6 +22410,8 @@ export const CreateEventRequest = {
22331
22410
  event_status: isSet(object.event_status) ? globalThis.Number(object.event_status) : 0,
22332
22411
  channel_id: isSet(object.channel_id) ? globalThis.String(object.channel_id) : "",
22333
22412
  action: isSet(object.action) ? globalThis.Number(object.action) : 0,
22413
+ repeat_type: isSet(object.repeat_type) ? globalThis.Number(object.repeat_type) : 0,
22414
+ creator_id: isSet(object.creator_id) ? globalThis.String(object.creator_id) : "",
22334
22415
  };
22335
22416
  },
22336
22417
 
@@ -22372,6 +22453,12 @@ export const CreateEventRequest = {
22372
22453
  if (message.action !== 0) {
22373
22454
  obj.action = Math.round(message.action);
22374
22455
  }
22456
+ if (message.repeat_type !== 0) {
22457
+ obj.repeat_type = Math.round(message.repeat_type);
22458
+ }
22459
+ if (message.creator_id !== "") {
22460
+ obj.creator_id = message.creator_id;
22461
+ }
22375
22462
  return obj;
22376
22463
  },
22377
22464
 
@@ -22392,6 +22479,8 @@ export const CreateEventRequest = {
22392
22479
  message.event_status = object.event_status ?? 0;
22393
22480
  message.channel_id = object.channel_id ?? "";
22394
22481
  message.action = object.action ?? 0;
22482
+ message.repeat_type = object.repeat_type ?? 0;
22483
+ message.creator_id = object.creator_id ?? "";
22395
22484
  return message;
22396
22485
  },
22397
22486
  };
@@ -22409,6 +22498,8 @@ function createBaseUpdateEventRequest(): UpdateEventRequest {
22409
22498
  clan_id: "",
22410
22499
  creator_id: "",
22411
22500
  channel_voice_id: "",
22501
+ channel_id_old: "",
22502
+ repeat_type: 0,
22412
22503
  };
22413
22504
  }
22414
22505
 
@@ -22447,6 +22538,12 @@ export const UpdateEventRequest = {
22447
22538
  if (message.channel_voice_id !== "") {
22448
22539
  writer.uint32(90).string(message.channel_voice_id);
22449
22540
  }
22541
+ if (message.channel_id_old !== "") {
22542
+ writer.uint32(98).string(message.channel_id_old);
22543
+ }
22544
+ if (message.repeat_type !== 0) {
22545
+ writer.uint32(104).int32(message.repeat_type);
22546
+ }
22450
22547
  return writer;
22451
22548
  },
22452
22549
 
@@ -22534,6 +22631,20 @@ export const UpdateEventRequest = {
22534
22631
 
22535
22632
  message.channel_voice_id = reader.string();
22536
22633
  continue;
22634
+ case 12:
22635
+ if (tag !== 98) {
22636
+ break;
22637
+ }
22638
+
22639
+ message.channel_id_old = reader.string();
22640
+ continue;
22641
+ case 13:
22642
+ if (tag !== 104) {
22643
+ break;
22644
+ }
22645
+
22646
+ message.repeat_type = reader.int32();
22647
+ continue;
22537
22648
  }
22538
22649
  if ((tag & 7) === 4 || tag === 0) {
22539
22650
  break;
@@ -22556,6 +22667,8 @@ export const UpdateEventRequest = {
22556
22667
  clan_id: isSet(object.clan_id) ? globalThis.String(object.clan_id) : "",
22557
22668
  creator_id: isSet(object.creator_id) ? globalThis.String(object.creator_id) : "",
22558
22669
  channel_voice_id: isSet(object.channel_voice_id) ? globalThis.String(object.channel_voice_id) : "",
22670
+ channel_id_old: isSet(object.channel_id_old) ? globalThis.String(object.channel_id_old) : "",
22671
+ repeat_type: isSet(object.repeat_type) ? globalThis.Number(object.repeat_type) : 0,
22559
22672
  };
22560
22673
  },
22561
22674
 
@@ -22594,6 +22707,12 @@ export const UpdateEventRequest = {
22594
22707
  if (message.channel_voice_id !== "") {
22595
22708
  obj.channel_voice_id = message.channel_voice_id;
22596
22709
  }
22710
+ if (message.channel_id_old !== "") {
22711
+ obj.channel_id_old = message.channel_id_old;
22712
+ }
22713
+ if (message.repeat_type !== 0) {
22714
+ obj.repeat_type = Math.round(message.repeat_type);
22715
+ }
22597
22716
  return obj;
22598
22717
  },
22599
22718
 
@@ -22613,6 +22732,8 @@ export const UpdateEventRequest = {
22613
22732
  message.clan_id = object.clan_id ?? "";
22614
22733
  message.creator_id = object.creator_id ?? "";
22615
22734
  message.channel_voice_id = object.channel_voice_id ?? "";
22735
+ message.channel_id_old = object.channel_id_old ?? "";
22736
+ message.repeat_type = object.repeat_type ?? 0;
22616
22737
  return message;
22617
22738
  },
22618
22739
  };
@@ -28282,7 +28403,7 @@ export const SystemMessage = {
28282
28403
 
28283
28404
  message.setup_tips = reader.string();
28284
28405
  continue;
28285
- case 8:
28406
+ case 8:
28286
28407
  if (tag !== 66) {
28287
28408
  break;
28288
28409
  }
@@ -28427,7 +28548,7 @@ function createBaseSystemMessageRequest(): SystemMessageRequest {
28427
28548
  boost_message: "",
28428
28549
  setup_tips: "",
28429
28550
  hide_audit_log: "",
28430
- };
28551
+ };
28431
28552
  }
28432
28553
 
28433
28554
  export const SystemMessageRequest = {
@@ -28505,7 +28626,7 @@ export const SystemMessageRequest = {
28505
28626
 
28506
28627
  message.setup_tips = reader.string();
28507
28628
  continue;
28508
- case 7:
28629
+ case 7:
28509
28630
  if (tag !== 58) {
28510
28631
  break;
28511
28632
  }
@@ -63,8 +63,8 @@ export interface Account {
63
63
  logo: string;
64
64
  /** Splash screen url */
65
65
  splash_screen: string;
66
- /** E2ee public key */
67
- public_key: string;
66
+ /** E2ee encrypt private key */
67
+ encrypt_private_key: string;
68
68
  }
69
69
  /** Obtain a new authentication token using a refresh token. */
70
70
  export interface AccountRefresh {
@@ -753,6 +753,10 @@ export interface ChannelAttachment {
753
753
  create_time: Date | undefined;
754
754
  /** message id. */
755
755
  message_id: string;
756
+ /** width */
757
+ width: number;
758
+ /** height */
759
+ height: number;
756
760
  }
757
761
  /** channel attachment list */
758
762
  export interface ChannelAttachmentList {
@@ -1026,8 +1030,8 @@ export interface UpdateAccountRequest {
1026
1030
  logo: string;
1027
1031
  /** splash screen */
1028
1032
  splash_screen: string;
1029
- /** e2ee public key */
1030
- public_key: string;
1033
+ /** e2ee encrypt private key */
1034
+ encrypt_private_key: string;
1031
1035
  }
1032
1036
  /** Update fields in a given group. */
1033
1037
  export interface UpdateGroupRequest {
@@ -1586,6 +1590,7 @@ export interface EventManagement {
1586
1590
  max_permission: number;
1587
1591
  channel_id: string;
1588
1592
  event_status: number;
1593
+ repeat_type: number;
1589
1594
  }
1590
1595
  /** Permission record */
1591
1596
  export interface Permission {
@@ -1863,6 +1868,8 @@ export interface CreateEventRequest {
1863
1868
  event_status: number;
1864
1869
  channel_id: string;
1865
1870
  action: number;
1871
+ repeat_type: number;
1872
+ creator_id: string;
1866
1873
  }
1867
1874
  /** update a event within clan. */
1868
1875
  export interface UpdateEventRequest {
@@ -1877,6 +1884,8 @@ export interface UpdateEventRequest {
1877
1884
  clan_id: string;
1878
1885
  creator_id: string;
1879
1886
  channel_voice_id: string;
1887
+ channel_id_old: string;
1888
+ repeat_type: number;
1880
1889
  }
1881
1890
  /** Delete a role the user has access to. */
1882
1891
  export interface DeleteRoleRequest {
@@ -3132,7 +3141,7 @@ export declare const Account: {
3132
3141
  disable_time?: Date | undefined;
3133
3142
  logo?: string | undefined;
3134
3143
  splash_screen?: string | undefined;
3135
- public_key?: string | undefined;
3144
+ encrypt_private_key?: string | undefined;
3136
3145
  } & {
3137
3146
  user?: ({
3138
3147
  id?: string | undefined;
@@ -3209,7 +3218,7 @@ export declare const Account: {
3209
3218
  disable_time?: Date | undefined;
3210
3219
  logo?: string | undefined;
3211
3220
  splash_screen?: string | undefined;
3212
- public_key?: string | undefined;
3221
+ encrypt_private_key?: string | undefined;
3213
3222
  } & { [K_4 in Exclude<keyof I, keyof Account>]: never; }>(base?: I | undefined): Account;
3214
3223
  fromPartial<I_1 extends {
3215
3224
  user?: {
@@ -3248,7 +3257,7 @@ export declare const Account: {
3248
3257
  disable_time?: Date | undefined;
3249
3258
  logo?: string | undefined;
3250
3259
  splash_screen?: string | undefined;
3251
- public_key?: string | undefined;
3260
+ encrypt_private_key?: string | undefined;
3252
3261
  } & {
3253
3262
  user?: ({
3254
3263
  id?: string | undefined;
@@ -3325,7 +3334,7 @@ export declare const Account: {
3325
3334
  disable_time?: Date | undefined;
3326
3335
  logo?: string | undefined;
3327
3336
  splash_screen?: string | undefined;
3328
- public_key?: string | undefined;
3337
+ encrypt_private_key?: string | undefined;
3329
3338
  } & { [K_9 in Exclude<keyof I_1, keyof Account>]: never; }>(object: I_1): Account;
3330
3339
  };
3331
3340
  export declare const AccountRefresh: {
@@ -7034,6 +7043,8 @@ export declare const ChannelAttachment: {
7034
7043
  uploader?: string | undefined;
7035
7044
  create_time?: Date | undefined;
7036
7045
  message_id?: string | undefined;
7046
+ width?: number | undefined;
7047
+ height?: number | undefined;
7037
7048
  } & {
7038
7049
  id?: string | undefined;
7039
7050
  filename?: string | undefined;
@@ -7043,6 +7054,8 @@ export declare const ChannelAttachment: {
7043
7054
  uploader?: string | undefined;
7044
7055
  create_time?: Date | undefined;
7045
7056
  message_id?: string | undefined;
7057
+ width?: number | undefined;
7058
+ height?: number | undefined;
7046
7059
  } & { [K in Exclude<keyof I, keyof ChannelAttachment>]: never; }>(base?: I | undefined): ChannelAttachment;
7047
7060
  fromPartial<I_1 extends {
7048
7061
  id?: string | undefined;
@@ -7053,6 +7066,8 @@ export declare const ChannelAttachment: {
7053
7066
  uploader?: string | undefined;
7054
7067
  create_time?: Date | undefined;
7055
7068
  message_id?: string | undefined;
7069
+ width?: number | undefined;
7070
+ height?: number | undefined;
7056
7071
  } & {
7057
7072
  id?: string | undefined;
7058
7073
  filename?: string | undefined;
@@ -7062,6 +7077,8 @@ export declare const ChannelAttachment: {
7062
7077
  uploader?: string | undefined;
7063
7078
  create_time?: Date | undefined;
7064
7079
  message_id?: string | undefined;
7080
+ width?: number | undefined;
7081
+ height?: number | undefined;
7065
7082
  } & { [K_1 in Exclude<keyof I_1, keyof ChannelAttachment>]: never; }>(object: I_1): ChannelAttachment;
7066
7083
  };
7067
7084
  export declare const ChannelAttachmentList: {
@@ -7079,6 +7096,8 @@ export declare const ChannelAttachmentList: {
7079
7096
  uploader?: string | undefined;
7080
7097
  create_time?: Date | undefined;
7081
7098
  message_id?: string | undefined;
7099
+ width?: number | undefined;
7100
+ height?: number | undefined;
7082
7101
  }[] | undefined;
7083
7102
  } & {
7084
7103
  attachments?: ({
@@ -7090,6 +7109,8 @@ export declare const ChannelAttachmentList: {
7090
7109
  uploader?: string | undefined;
7091
7110
  create_time?: Date | undefined;
7092
7111
  message_id?: string | undefined;
7112
+ width?: number | undefined;
7113
+ height?: number | undefined;
7093
7114
  }[] & ({
7094
7115
  id?: string | undefined;
7095
7116
  filename?: string | undefined;
@@ -7099,6 +7120,8 @@ export declare const ChannelAttachmentList: {
7099
7120
  uploader?: string | undefined;
7100
7121
  create_time?: Date | undefined;
7101
7122
  message_id?: string | undefined;
7123
+ width?: number | undefined;
7124
+ height?: number | undefined;
7102
7125
  } & {
7103
7126
  id?: string | undefined;
7104
7127
  filename?: string | undefined;
@@ -7108,6 +7131,8 @@ export declare const ChannelAttachmentList: {
7108
7131
  uploader?: string | undefined;
7109
7132
  create_time?: Date | undefined;
7110
7133
  message_id?: string | undefined;
7134
+ width?: number | undefined;
7135
+ height?: number | undefined;
7111
7136
  } & { [K in Exclude<keyof I["attachments"][number], keyof ChannelAttachment>]: never; })[] & { [K_1 in Exclude<keyof I["attachments"], keyof {
7112
7137
  id?: string | undefined;
7113
7138
  filename?: string | undefined;
@@ -7117,6 +7142,8 @@ export declare const ChannelAttachmentList: {
7117
7142
  uploader?: string | undefined;
7118
7143
  create_time?: Date | undefined;
7119
7144
  message_id?: string | undefined;
7145
+ width?: number | undefined;
7146
+ height?: number | undefined;
7120
7147
  }[]>]: never; }) | undefined;
7121
7148
  } & { [K_2 in Exclude<keyof I, "attachments">]: never; }>(base?: I | undefined): ChannelAttachmentList;
7122
7149
  fromPartial<I_1 extends {
@@ -7129,6 +7156,8 @@ export declare const ChannelAttachmentList: {
7129
7156
  uploader?: string | undefined;
7130
7157
  create_time?: Date | undefined;
7131
7158
  message_id?: string | undefined;
7159
+ width?: number | undefined;
7160
+ height?: number | undefined;
7132
7161
  }[] | undefined;
7133
7162
  } & {
7134
7163
  attachments?: ({
@@ -7140,6 +7169,8 @@ export declare const ChannelAttachmentList: {
7140
7169
  uploader?: string | undefined;
7141
7170
  create_time?: Date | undefined;
7142
7171
  message_id?: string | undefined;
7172
+ width?: number | undefined;
7173
+ height?: number | undefined;
7143
7174
  }[] & ({
7144
7175
  id?: string | undefined;
7145
7176
  filename?: string | undefined;
@@ -7149,6 +7180,8 @@ export declare const ChannelAttachmentList: {
7149
7180
  uploader?: string | undefined;
7150
7181
  create_time?: Date | undefined;
7151
7182
  message_id?: string | undefined;
7183
+ width?: number | undefined;
7184
+ height?: number | undefined;
7152
7185
  } & {
7153
7186
  id?: string | undefined;
7154
7187
  filename?: string | undefined;
@@ -7158,6 +7191,8 @@ export declare const ChannelAttachmentList: {
7158
7191
  uploader?: string | undefined;
7159
7192
  create_time?: Date | undefined;
7160
7193
  message_id?: string | undefined;
7194
+ width?: number | undefined;
7195
+ height?: number | undefined;
7161
7196
  } & { [K_3 in Exclude<keyof I_1["attachments"][number], keyof ChannelAttachment>]: never; })[] & { [K_4 in Exclude<keyof I_1["attachments"], keyof {
7162
7197
  id?: string | undefined;
7163
7198
  filename?: string | undefined;
@@ -7167,6 +7202,8 @@ export declare const ChannelAttachmentList: {
7167
7202
  uploader?: string | undefined;
7168
7203
  create_time?: Date | undefined;
7169
7204
  message_id?: string | undefined;
7205
+ width?: number | undefined;
7206
+ height?: number | undefined;
7170
7207
  }[]>]: never; }) | undefined;
7171
7208
  } & { [K_5 in Exclude<keyof I_1, "attachments">]: never; }>(object: I_1): ChannelAttachmentList;
7172
7209
  };
@@ -8530,7 +8567,7 @@ export declare const UpdateAccountRequest: {
8530
8567
  dob?: Date | undefined;
8531
8568
  logo?: string | undefined;
8532
8569
  splash_screen?: string | undefined;
8533
- public_key?: string | undefined;
8570
+ encrypt_private_key?: string | undefined;
8534
8571
  } & {
8535
8572
  username?: string | undefined;
8536
8573
  display_name?: string | undefined;
@@ -8542,7 +8579,7 @@ export declare const UpdateAccountRequest: {
8542
8579
  dob?: Date | undefined;
8543
8580
  logo?: string | undefined;
8544
8581
  splash_screen?: string | undefined;
8545
- public_key?: string | undefined;
8582
+ encrypt_private_key?: string | undefined;
8546
8583
  } & { [K in Exclude<keyof I, keyof UpdateAccountRequest>]: never; }>(base?: I | undefined): UpdateAccountRequest;
8547
8584
  fromPartial<I_1 extends {
8548
8585
  username?: string | undefined;
@@ -8555,7 +8592,7 @@ export declare const UpdateAccountRequest: {
8555
8592
  dob?: Date | undefined;
8556
8593
  logo?: string | undefined;
8557
8594
  splash_screen?: string | undefined;
8558
- public_key?: string | undefined;
8595
+ encrypt_private_key?: string | undefined;
8559
8596
  } & {
8560
8597
  username?: string | undefined;
8561
8598
  display_name?: string | undefined;
@@ -8567,7 +8604,7 @@ export declare const UpdateAccountRequest: {
8567
8604
  dob?: Date | undefined;
8568
8605
  logo?: string | undefined;
8569
8606
  splash_screen?: string | undefined;
8570
- public_key?: string | undefined;
8607
+ encrypt_private_key?: string | undefined;
8571
8608
  } & { [K_1 in Exclude<keyof I_1, keyof UpdateAccountRequest>]: never; }>(object: I_1): UpdateAccountRequest;
8572
8609
  };
8573
8610
  export declare const UpdateGroupRequest: {
@@ -11547,6 +11584,7 @@ export declare const EventManagement: {
11547
11584
  max_permission?: number | undefined;
11548
11585
  channel_id?: string | undefined;
11549
11586
  event_status?: number | undefined;
11587
+ repeat_type?: number | undefined;
11550
11588
  } & {
11551
11589
  id?: string | undefined;
11552
11590
  title?: string | undefined;
@@ -11565,6 +11603,7 @@ export declare const EventManagement: {
11565
11603
  max_permission?: number | undefined;
11566
11604
  channel_id?: string | undefined;
11567
11605
  event_status?: number | undefined;
11606
+ repeat_type?: number | undefined;
11568
11607
  } & { [K_1 in Exclude<keyof I, keyof EventManagement>]: never; }>(base?: I | undefined): EventManagement;
11569
11608
  fromPartial<I_1 extends {
11570
11609
  id?: string | undefined;
@@ -11584,6 +11623,7 @@ export declare const EventManagement: {
11584
11623
  max_permission?: number | undefined;
11585
11624
  channel_id?: string | undefined;
11586
11625
  event_status?: number | undefined;
11626
+ repeat_type?: number | undefined;
11587
11627
  } & {
11588
11628
  id?: string | undefined;
11589
11629
  title?: string | undefined;
@@ -11602,6 +11642,7 @@ export declare const EventManagement: {
11602
11642
  max_permission?: number | undefined;
11603
11643
  channel_id?: string | undefined;
11604
11644
  event_status?: number | undefined;
11645
+ repeat_type?: number | undefined;
11605
11646
  } & { [K_3 in Exclude<keyof I_1, keyof EventManagement>]: never; }>(object: I_1): EventManagement;
11606
11647
  };
11607
11648
  export declare const Permission: {
@@ -12966,6 +13007,7 @@ export declare const EventList: {
12966
13007
  max_permission?: number | undefined;
12967
13008
  channel_id?: string | undefined;
12968
13009
  event_status?: number | undefined;
13010
+ repeat_type?: number | undefined;
12969
13011
  }[] | undefined;
12970
13012
  } & {
12971
13013
  events?: ({
@@ -12986,6 +13028,7 @@ export declare const EventList: {
12986
13028
  max_permission?: number | undefined;
12987
13029
  channel_id?: string | undefined;
12988
13030
  event_status?: number | undefined;
13031
+ repeat_type?: number | undefined;
12989
13032
  }[] & ({
12990
13033
  id?: string | undefined;
12991
13034
  title?: string | undefined;
@@ -13004,6 +13047,7 @@ export declare const EventList: {
13004
13047
  max_permission?: number | undefined;
13005
13048
  channel_id?: string | undefined;
13006
13049
  event_status?: number | undefined;
13050
+ repeat_type?: number | undefined;
13007
13051
  } & {
13008
13052
  id?: string | undefined;
13009
13053
  title?: string | undefined;
@@ -13022,6 +13066,7 @@ export declare const EventList: {
13022
13066
  max_permission?: number | undefined;
13023
13067
  channel_id?: string | undefined;
13024
13068
  event_status?: number | undefined;
13069
+ repeat_type?: number | undefined;
13025
13070
  } & { [K_1 in Exclude<keyof I["events"][number], keyof EventManagement>]: never; })[] & { [K_2 in Exclude<keyof I["events"], keyof {
13026
13071
  id?: string | undefined;
13027
13072
  title?: string | undefined;
@@ -13040,6 +13085,7 @@ export declare const EventList: {
13040
13085
  max_permission?: number | undefined;
13041
13086
  channel_id?: string | undefined;
13042
13087
  event_status?: number | undefined;
13088
+ repeat_type?: number | undefined;
13043
13089
  }[]>]: never; }) | undefined;
13044
13090
  } & { [K_3 in Exclude<keyof I, "events">]: never; }>(base?: I | undefined): EventList;
13045
13091
  fromPartial<I_1 extends {
@@ -13061,6 +13107,7 @@ export declare const EventList: {
13061
13107
  max_permission?: number | undefined;
13062
13108
  channel_id?: string | undefined;
13063
13109
  event_status?: number | undefined;
13110
+ repeat_type?: number | undefined;
13064
13111
  }[] | undefined;
13065
13112
  } & {
13066
13113
  events?: ({
@@ -13081,6 +13128,7 @@ export declare const EventList: {
13081
13128
  max_permission?: number | undefined;
13082
13129
  channel_id?: string | undefined;
13083
13130
  event_status?: number | undefined;
13131
+ repeat_type?: number | undefined;
13084
13132
  }[] & ({
13085
13133
  id?: string | undefined;
13086
13134
  title?: string | undefined;
@@ -13099,6 +13147,7 @@ export declare const EventList: {
13099
13147
  max_permission?: number | undefined;
13100
13148
  channel_id?: string | undefined;
13101
13149
  event_status?: number | undefined;
13150
+ repeat_type?: number | undefined;
13102
13151
  } & {
13103
13152
  id?: string | undefined;
13104
13153
  title?: string | undefined;
@@ -13117,6 +13166,7 @@ export declare const EventList: {
13117
13166
  max_permission?: number | undefined;
13118
13167
  channel_id?: string | undefined;
13119
13168
  event_status?: number | undefined;
13169
+ repeat_type?: number | undefined;
13120
13170
  } & { [K_5 in Exclude<keyof I_1["events"][number], keyof EventManagement>]: never; })[] & { [K_6 in Exclude<keyof I_1["events"], keyof {
13121
13171
  id?: string | undefined;
13122
13172
  title?: string | undefined;
@@ -13135,6 +13185,7 @@ export declare const EventList: {
13135
13185
  max_permission?: number | undefined;
13136
13186
  channel_id?: string | undefined;
13137
13187
  event_status?: number | undefined;
13188
+ repeat_type?: number | undefined;
13138
13189
  }[]>]: never; }) | undefined;
13139
13190
  } & { [K_7 in Exclude<keyof I_1, "events">]: never; }>(object: I_1): EventList;
13140
13191
  };
@@ -13618,6 +13669,8 @@ export declare const CreateEventRequest: {
13618
13669
  event_status?: number | undefined;
13619
13670
  channel_id?: string | undefined;
13620
13671
  action?: number | undefined;
13672
+ repeat_type?: number | undefined;
13673
+ creator_id?: string | undefined;
13621
13674
  } & {
13622
13675
  title?: string | undefined;
13623
13676
  logo?: string | undefined;
@@ -13631,6 +13684,8 @@ export declare const CreateEventRequest: {
13631
13684
  event_status?: number | undefined;
13632
13685
  channel_id?: string | undefined;
13633
13686
  action?: number | undefined;
13687
+ repeat_type?: number | undefined;
13688
+ creator_id?: string | undefined;
13634
13689
  } & { [K in Exclude<keyof I, keyof CreateEventRequest>]: never; }>(base?: I | undefined): CreateEventRequest;
13635
13690
  fromPartial<I_1 extends {
13636
13691
  title?: string | undefined;
@@ -13645,6 +13700,8 @@ export declare const CreateEventRequest: {
13645
13700
  event_status?: number | undefined;
13646
13701
  channel_id?: string | undefined;
13647
13702
  action?: number | undefined;
13703
+ repeat_type?: number | undefined;
13704
+ creator_id?: string | undefined;
13648
13705
  } & {
13649
13706
  title?: string | undefined;
13650
13707
  logo?: string | undefined;
@@ -13658,6 +13715,8 @@ export declare const CreateEventRequest: {
13658
13715
  event_status?: number | undefined;
13659
13716
  channel_id?: string | undefined;
13660
13717
  action?: number | undefined;
13718
+ repeat_type?: number | undefined;
13719
+ creator_id?: string | undefined;
13661
13720
  } & { [K_1 in Exclude<keyof I_1, keyof CreateEventRequest>]: never; }>(object: I_1): CreateEventRequest;
13662
13721
  };
13663
13722
  export declare const UpdateEventRequest: {
@@ -13677,6 +13736,8 @@ export declare const UpdateEventRequest: {
13677
13736
  clan_id?: string | undefined;
13678
13737
  creator_id?: string | undefined;
13679
13738
  channel_voice_id?: string | undefined;
13739
+ channel_id_old?: string | undefined;
13740
+ repeat_type?: number | undefined;
13680
13741
  } & {
13681
13742
  title?: string | undefined;
13682
13743
  logo?: string | undefined;
@@ -13689,6 +13750,8 @@ export declare const UpdateEventRequest: {
13689
13750
  clan_id?: string | undefined;
13690
13751
  creator_id?: string | undefined;
13691
13752
  channel_voice_id?: string | undefined;
13753
+ channel_id_old?: string | undefined;
13754
+ repeat_type?: number | undefined;
13692
13755
  } & { [K in Exclude<keyof I, keyof UpdateEventRequest>]: never; }>(base?: I | undefined): UpdateEventRequest;
13693
13756
  fromPartial<I_1 extends {
13694
13757
  title?: string | undefined;
@@ -13702,6 +13765,8 @@ export declare const UpdateEventRequest: {
13702
13765
  clan_id?: string | undefined;
13703
13766
  creator_id?: string | undefined;
13704
13767
  channel_voice_id?: string | undefined;
13768
+ channel_id_old?: string | undefined;
13769
+ repeat_type?: number | undefined;
13705
13770
  } & {
13706
13771
  title?: string | undefined;
13707
13772
  logo?: string | undefined;
@@ -13714,6 +13779,8 @@ export declare const UpdateEventRequest: {
13714
13779
  clan_id?: string | undefined;
13715
13780
  creator_id?: string | undefined;
13716
13781
  channel_voice_id?: string | undefined;
13782
+ channel_id_old?: string | undefined;
13783
+ repeat_type?: number | undefined;
13717
13784
  } & { [K_1 in Exclude<keyof I_1, keyof UpdateEventRequest>]: never; }>(object: I_1): UpdateEventRequest;
13718
13785
  };
13719
13786
  export declare const DeleteRoleRequest: {
@@ -1586,6 +1586,8 @@ export declare const Envelope: {
1586
1586
  event_status?: number | undefined;
1587
1587
  channel_id?: string | undefined;
1588
1588
  action?: number | undefined;
1589
+ repeat_type?: number | undefined;
1590
+ creator_id?: string | undefined;
1589
1591
  } | undefined;
1590
1592
  role_assign_event?: {
1591
1593
  ClanId?: string | undefined;
@@ -3480,6 +3482,8 @@ export declare const Envelope: {
3480
3482
  event_status?: number | undefined;
3481
3483
  channel_id?: string | undefined;
3482
3484
  action?: number | undefined;
3485
+ repeat_type?: number | undefined;
3486
+ creator_id?: string | undefined;
3483
3487
  } & {
3484
3488
  title?: string | undefined;
3485
3489
  logo?: string | undefined;
@@ -3493,6 +3497,8 @@ export declare const Envelope: {
3493
3497
  event_status?: number | undefined;
3494
3498
  channel_id?: string | undefined;
3495
3499
  action?: number | undefined;
3500
+ repeat_type?: number | undefined;
3501
+ creator_id?: string | undefined;
3496
3502
  } & { [K_100 in Exclude<keyof I["clan_event_created"], keyof CreateEventRequest>]: never; }) | undefined;
3497
3503
  role_assign_event?: ({
3498
3504
  ClanId?: string | undefined;
@@ -4709,6 +4715,8 @@ export declare const Envelope: {
4709
4715
  event_status?: number | undefined;
4710
4716
  channel_id?: string | undefined;
4711
4717
  action?: number | undefined;
4718
+ repeat_type?: number | undefined;
4719
+ creator_id?: string | undefined;
4712
4720
  } | undefined;
4713
4721
  role_assign_event?: {
4714
4722
  ClanId?: string | undefined;
@@ -6603,6 +6611,8 @@ export declare const Envelope: {
6603
6611
  event_status?: number | undefined;
6604
6612
  channel_id?: string | undefined;
6605
6613
  action?: number | undefined;
6614
+ repeat_type?: number | undefined;
6615
+ creator_id?: string | undefined;
6606
6616
  } & {
6607
6617
  title?: string | undefined;
6608
6618
  logo?: string | undefined;
@@ -6616,6 +6626,8 @@ export declare const Envelope: {
6616
6626
  event_status?: number | undefined;
6617
6627
  channel_id?: string | undefined;
6618
6628
  action?: number | undefined;
6629
+ repeat_type?: number | undefined;
6630
+ creator_id?: string | undefined;
6619
6631
  } & { [K_255 in Exclude<keyof I_1["clan_event_created"], keyof CreateEventRequest>]: never; }) | undefined;
6620
6632
  role_assign_event?: ({
6621
6633
  ClanId?: string | undefined;
@@ -5370,7 +5370,9 @@ function createBaseCreateEventRequest() {
5370
5370
  event_id: "",
5371
5371
  event_status: 0,
5372
5372
  channel_id: "",
5373
- action: 0
5373
+ action: 0,
5374
+ repeat_type: 0,
5375
+ creator_id: ""
5374
5376
  };
5375
5377
  }
5376
5378
  var CreateEventRequest = {
@@ -5411,6 +5413,12 @@ var CreateEventRequest = {
5411
5413
  if (message.action !== 0) {
5412
5414
  writer.uint32(96).int32(message.action);
5413
5415
  }
5416
+ if (message.repeat_type !== 0) {
5417
+ writer.uint32(104).int32(message.repeat_type);
5418
+ }
5419
+ if (message.creator_id !== "") {
5420
+ writer.uint32(114).string(message.creator_id);
5421
+ }
5414
5422
  return writer;
5415
5423
  },
5416
5424
  decode(input, length) {
@@ -5492,6 +5500,18 @@ var CreateEventRequest = {
5492
5500
  }
5493
5501
  message.action = reader.int32();
5494
5502
  continue;
5503
+ case 13:
5504
+ if (tag !== 104) {
5505
+ break;
5506
+ }
5507
+ message.repeat_type = reader.int32();
5508
+ continue;
5509
+ case 14:
5510
+ if (tag !== 114) {
5511
+ break;
5512
+ }
5513
+ message.creator_id = reader.string();
5514
+ continue;
5495
5515
  }
5496
5516
  if ((tag & 7) === 4 || tag === 0) {
5497
5517
  break;
@@ -5513,7 +5533,9 @@ var CreateEventRequest = {
5513
5533
  event_id: isSet3(object.event_id) ? globalThis.String(object.event_id) : "",
5514
5534
  event_status: isSet3(object.event_status) ? globalThis.Number(object.event_status) : 0,
5515
5535
  channel_id: isSet3(object.channel_id) ? globalThis.String(object.channel_id) : "",
5516
- action: isSet3(object.action) ? globalThis.Number(object.action) : 0
5536
+ action: isSet3(object.action) ? globalThis.Number(object.action) : 0,
5537
+ repeat_type: isSet3(object.repeat_type) ? globalThis.Number(object.repeat_type) : 0,
5538
+ creator_id: isSet3(object.creator_id) ? globalThis.String(object.creator_id) : ""
5517
5539
  };
5518
5540
  },
5519
5541
  toJSON(message) {
@@ -5554,13 +5576,19 @@ var CreateEventRequest = {
5554
5576
  if (message.action !== 0) {
5555
5577
  obj.action = Math.round(message.action);
5556
5578
  }
5579
+ if (message.repeat_type !== 0) {
5580
+ obj.repeat_type = Math.round(message.repeat_type);
5581
+ }
5582
+ if (message.creator_id !== "") {
5583
+ obj.creator_id = message.creator_id;
5584
+ }
5557
5585
  return obj;
5558
5586
  },
5559
5587
  create(base) {
5560
5588
  return CreateEventRequest.fromPartial(base != null ? base : {});
5561
5589
  },
5562
5590
  fromPartial(object) {
5563
- var _a, _b, _c, _d, _e, _f, _g, _h, _i, _j, _k, _l;
5591
+ var _a, _b, _c, _d, _e, _f, _g, _h, _i, _j, _k, _l, _m, _n;
5564
5592
  const message = createBaseCreateEventRequest();
5565
5593
  message.title = (_a = object.title) != null ? _a : "";
5566
5594
  message.logo = (_b = object.logo) != null ? _b : "";
@@ -5574,6 +5602,8 @@ var CreateEventRequest = {
5574
5602
  message.event_status = (_j = object.event_status) != null ? _j : 0;
5575
5603
  message.channel_id = (_k = object.channel_id) != null ? _k : "";
5576
5604
  message.action = (_l = object.action) != null ? _l : 0;
5605
+ message.repeat_type = (_m = object.repeat_type) != null ? _m : 0;
5606
+ message.creator_id = (_n = object.creator_id) != null ? _n : "";
5577
5607
  return message;
5578
5608
  }
5579
5609
  };
@@ -5357,7 +5357,9 @@ function createBaseCreateEventRequest() {
5357
5357
  event_id: "",
5358
5358
  event_status: 0,
5359
5359
  channel_id: "",
5360
- action: 0
5360
+ action: 0,
5361
+ repeat_type: 0,
5362
+ creator_id: ""
5361
5363
  };
5362
5364
  }
5363
5365
  var CreateEventRequest = {
@@ -5398,6 +5400,12 @@ var CreateEventRequest = {
5398
5400
  if (message.action !== 0) {
5399
5401
  writer.uint32(96).int32(message.action);
5400
5402
  }
5403
+ if (message.repeat_type !== 0) {
5404
+ writer.uint32(104).int32(message.repeat_type);
5405
+ }
5406
+ if (message.creator_id !== "") {
5407
+ writer.uint32(114).string(message.creator_id);
5408
+ }
5401
5409
  return writer;
5402
5410
  },
5403
5411
  decode(input, length) {
@@ -5479,6 +5487,18 @@ var CreateEventRequest = {
5479
5487
  }
5480
5488
  message.action = reader.int32();
5481
5489
  continue;
5490
+ case 13:
5491
+ if (tag !== 104) {
5492
+ break;
5493
+ }
5494
+ message.repeat_type = reader.int32();
5495
+ continue;
5496
+ case 14:
5497
+ if (tag !== 114) {
5498
+ break;
5499
+ }
5500
+ message.creator_id = reader.string();
5501
+ continue;
5482
5502
  }
5483
5503
  if ((tag & 7) === 4 || tag === 0) {
5484
5504
  break;
@@ -5500,7 +5520,9 @@ var CreateEventRequest = {
5500
5520
  event_id: isSet3(object.event_id) ? globalThis.String(object.event_id) : "",
5501
5521
  event_status: isSet3(object.event_status) ? globalThis.Number(object.event_status) : 0,
5502
5522
  channel_id: isSet3(object.channel_id) ? globalThis.String(object.channel_id) : "",
5503
- action: isSet3(object.action) ? globalThis.Number(object.action) : 0
5523
+ action: isSet3(object.action) ? globalThis.Number(object.action) : 0,
5524
+ repeat_type: isSet3(object.repeat_type) ? globalThis.Number(object.repeat_type) : 0,
5525
+ creator_id: isSet3(object.creator_id) ? globalThis.String(object.creator_id) : ""
5504
5526
  };
5505
5527
  },
5506
5528
  toJSON(message) {
@@ -5541,13 +5563,19 @@ var CreateEventRequest = {
5541
5563
  if (message.action !== 0) {
5542
5564
  obj.action = Math.round(message.action);
5543
5565
  }
5566
+ if (message.repeat_type !== 0) {
5567
+ obj.repeat_type = Math.round(message.repeat_type);
5568
+ }
5569
+ if (message.creator_id !== "") {
5570
+ obj.creator_id = message.creator_id;
5571
+ }
5544
5572
  return obj;
5545
5573
  },
5546
5574
  create(base) {
5547
5575
  return CreateEventRequest.fromPartial(base != null ? base : {});
5548
5576
  },
5549
5577
  fromPartial(object) {
5550
- var _a, _b, _c, _d, _e, _f, _g, _h, _i, _j, _k, _l;
5578
+ var _a, _b, _c, _d, _e, _f, _g, _h, _i, _j, _k, _l, _m, _n;
5551
5579
  const message = createBaseCreateEventRequest();
5552
5580
  message.title = (_a = object.title) != null ? _a : "";
5553
5581
  message.logo = (_b = object.logo) != null ? _b : "";
@@ -5561,6 +5589,8 @@ var CreateEventRequest = {
5561
5589
  message.event_status = (_j = object.event_status) != null ? _j : 0;
5562
5590
  message.channel_id = (_k = object.channel_id) != null ? _k : "";
5563
5591
  message.action = (_l = object.action) != null ? _l : 0;
5592
+ message.repeat_type = (_m = object.repeat_type) != null ? _m : 0;
5593
+ message.creator_id = (_n = object.creator_id) != null ? _n : "";
5564
5594
  return message;
5565
5595
  }
5566
5596
  };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "mezon-js-protobuf",
3
- "version": "1.6.78",
3
+ "version": "1.6.80",
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",