mezon-js 2.13.86 → 2.13.87

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.
@@ -1969,6 +1969,9 @@ export interface ApiListClanDiscover {
1969
1969
  export interface ApiListClanUnreadMsgIndicatorResponse {
1970
1970
  hasUnreadMessage?: boolean;
1971
1971
  }
1972
+ export interface ApiListClanBadgeCountResponse {
1973
+ badgeCount?: number;
1974
+ }
1972
1975
  /** */
1973
1976
  export interface ApiClanDiscoverRequest {
1974
1977
  clanId?: string;
@@ -13520,7 +13520,7 @@ function createBaseNotification() {
13520
13520
  return {
13521
13521
  id: "",
13522
13522
  subject: "",
13523
- content: "",
13523
+ content: new Uint8Array(0),
13524
13524
  code: 0,
13525
13525
  sender_id: "",
13526
13526
  create_time: void 0,
@@ -13542,8 +13542,8 @@ var Notification = {
13542
13542
  if (message.subject !== "") {
13543
13543
  writer.uint32(18).string(message.subject);
13544
13544
  }
13545
- if (message.content !== "") {
13546
- writer.uint32(26).string(message.content);
13545
+ if (message.content.length !== 0) {
13546
+ writer.uint32(26).bytes(message.content);
13547
13547
  }
13548
13548
  if (message.code !== 0) {
13549
13549
  writer.uint32(32).int32(message.code);
@@ -13603,7 +13603,7 @@ var Notification = {
13603
13603
  if (tag !== 26) {
13604
13604
  break;
13605
13605
  }
13606
- message.content = reader.string();
13606
+ message.content = reader.bytes();
13607
13607
  continue;
13608
13608
  case 4:
13609
13609
  if (tag !== 32) {
@@ -13683,7 +13683,7 @@ var Notification = {
13683
13683
  return {
13684
13684
  id: isSet3(object.id) ? globalThis.String(object.id) : "",
13685
13685
  subject: isSet3(object.subject) ? globalThis.String(object.subject) : "",
13686
- content: isSet3(object.content) ? globalThis.String(object.content) : "",
13686
+ content: isSet3(object.content) ? bytesFromBase64(object.content) : new Uint8Array(0),
13687
13687
  code: isSet3(object.code) ? globalThis.Number(object.code) : 0,
13688
13688
  sender_id: isSet3(object.sender_id) ? globalThis.String(object.sender_id) : "",
13689
13689
  create_time: isSet3(object.create_time) ? fromJsonTimestamp(object.create_time) : void 0,
@@ -13705,8 +13705,8 @@ var Notification = {
13705
13705
  if (message.subject !== "") {
13706
13706
  obj.subject = message.subject;
13707
13707
  }
13708
- if (message.content !== "") {
13709
- obj.content = message.content;
13708
+ if (message.content.length !== 0) {
13709
+ obj.content = base64FromBytes(message.content);
13710
13710
  }
13711
13711
  if (message.code !== 0) {
13712
13712
  obj.code = Math.round(message.code);
@@ -13751,7 +13751,7 @@ var Notification = {
13751
13751
  const message = createBaseNotification();
13752
13752
  message.id = (_a = object.id) != null ? _a : "";
13753
13753
  message.subject = (_b = object.subject) != null ? _b : "";
13754
- message.content = (_c = object.content) != null ? _c : "";
13754
+ message.content = (_c = object.content) != null ? _c : new Uint8Array(0);
13755
13755
  message.code = (_d = object.code) != null ? _d : 0;
13756
13756
  message.sender_id = (_e = object.sender_id) != null ? _e : "";
13757
13757
  message.create_time = (_f = object.create_time) != null ? _f : void 0;
@@ -22761,6 +22761,108 @@ var MessageRefList = {
22761
22761
  return message;
22762
22762
  }
22763
22763
  };
22764
+ function createBaseListClanBadgeCountRequest() {
22765
+ return { clan_id: "" };
22766
+ }
22767
+ var ListClanBadgeCountRequest = {
22768
+ encode(message, writer = import_minimal4.default.Writer.create()) {
22769
+ if (message.clan_id !== "") {
22770
+ writer.uint32(10).string(message.clan_id);
22771
+ }
22772
+ return writer;
22773
+ },
22774
+ decode(input, length) {
22775
+ const reader = input instanceof import_minimal4.default.Reader ? input : import_minimal4.default.Reader.create(input);
22776
+ let end = length === void 0 ? reader.len : reader.pos + length;
22777
+ const message = createBaseListClanBadgeCountRequest();
22778
+ while (reader.pos < end) {
22779
+ const tag = reader.uint32();
22780
+ switch (tag >>> 3) {
22781
+ case 1:
22782
+ if (tag !== 10) {
22783
+ break;
22784
+ }
22785
+ message.clan_id = reader.string();
22786
+ continue;
22787
+ }
22788
+ if ((tag & 7) === 4 || tag === 0) {
22789
+ break;
22790
+ }
22791
+ reader.skipType(tag & 7);
22792
+ }
22793
+ return message;
22794
+ },
22795
+ fromJSON(object) {
22796
+ return { clan_id: isSet3(object.clan_id) ? globalThis.String(object.clan_id) : "" };
22797
+ },
22798
+ toJSON(message) {
22799
+ const obj = {};
22800
+ if (message.clan_id !== "") {
22801
+ obj.clan_id = message.clan_id;
22802
+ }
22803
+ return obj;
22804
+ },
22805
+ create(base) {
22806
+ return ListClanBadgeCountRequest.fromPartial(base != null ? base : {});
22807
+ },
22808
+ fromPartial(object) {
22809
+ var _a;
22810
+ const message = createBaseListClanBadgeCountRequest();
22811
+ message.clan_id = (_a = object.clan_id) != null ? _a : "";
22812
+ return message;
22813
+ }
22814
+ };
22815
+ function createBaseListClanBadgeCountResponse() {
22816
+ return { badge_count: 0 };
22817
+ }
22818
+ var ListClanBadgeCountResponse = {
22819
+ encode(message, writer = import_minimal4.default.Writer.create()) {
22820
+ if (message.badge_count !== 0) {
22821
+ writer.uint32(8).int32(message.badge_count);
22822
+ }
22823
+ return writer;
22824
+ },
22825
+ decode(input, length) {
22826
+ const reader = input instanceof import_minimal4.default.Reader ? input : import_minimal4.default.Reader.create(input);
22827
+ let end = length === void 0 ? reader.len : reader.pos + length;
22828
+ const message = createBaseListClanBadgeCountResponse();
22829
+ while (reader.pos < end) {
22830
+ const tag = reader.uint32();
22831
+ switch (tag >>> 3) {
22832
+ case 1:
22833
+ if (tag !== 8) {
22834
+ break;
22835
+ }
22836
+ message.badge_count = reader.int32();
22837
+ continue;
22838
+ }
22839
+ if ((tag & 7) === 4 || tag === 0) {
22840
+ break;
22841
+ }
22842
+ reader.skipType(tag & 7);
22843
+ }
22844
+ return message;
22845
+ },
22846
+ fromJSON(object) {
22847
+ return { badge_count: isSet3(object.badge_count) ? globalThis.Number(object.badge_count) : 0 };
22848
+ },
22849
+ toJSON(message) {
22850
+ const obj = {};
22851
+ if (message.badge_count !== 0) {
22852
+ obj.badge_count = Math.round(message.badge_count);
22853
+ }
22854
+ return obj;
22855
+ },
22856
+ create(base) {
22857
+ return ListClanBadgeCountResponse.fromPartial(base != null ? base : {});
22858
+ },
22859
+ fromPartial(object) {
22860
+ var _a;
22861
+ const message = createBaseListClanBadgeCountResponse();
22862
+ message.badge_count = (_a = object.badge_count) != null ? _a : 0;
22863
+ return message;
22864
+ }
22865
+ };
22764
22866
  function bytesFromBase64(b64) {
22765
22867
  if (globalThis.Buffer) {
22766
22868
  return Uint8Array.from(globalThis.Buffer.from(b64, "base64"));
@@ -33476,7 +33578,9 @@ function createBaseListDataSocket() {
33476
33578
  category_list: void 0,
33477
33579
  stream_user_list: void 0,
33478
33580
  list_unread_msg_indicator_req: void 0,
33479
- unread_msg_indicator: void 0
33581
+ unread_msg_indicator: void 0,
33582
+ list_clan_badge_count_req: void 0,
33583
+ clan_badge_count: void 0
33480
33584
  };
33481
33585
  }
33482
33586
  var ListDataSocket = {
@@ -33679,6 +33783,12 @@ var ListDataSocket = {
33679
33783
  if (message.unread_msg_indicator !== void 0) {
33680
33784
  ListClanUnreadMsgIndicatorResponse.encode(message.unread_msg_indicator, writer.uint32(530).fork()).ldelim();
33681
33785
  }
33786
+ if (message.list_clan_badge_count_req !== void 0) {
33787
+ ListClanBadgeCountRequest.encode(message.list_clan_badge_count_req, writer.uint32(538).fork()).ldelim();
33788
+ }
33789
+ if (message.clan_badge_count !== void 0) {
33790
+ ListClanBadgeCountResponse.encode(message.clan_badge_count, writer.uint32(546).fork()).ldelim();
33791
+ }
33682
33792
  return writer;
33683
33793
  },
33684
33794
  decode(input, length) {
@@ -34087,6 +34197,18 @@ var ListDataSocket = {
34087
34197
  }
34088
34198
  message.unread_msg_indicator = ListClanUnreadMsgIndicatorResponse.decode(reader, reader.uint32());
34089
34199
  continue;
34200
+ case 67:
34201
+ if (tag !== 538) {
34202
+ break;
34203
+ }
34204
+ message.list_clan_badge_count_req = ListClanBadgeCountRequest.decode(reader, reader.uint32());
34205
+ continue;
34206
+ case 68:
34207
+ if (tag !== 546) {
34208
+ break;
34209
+ }
34210
+ message.clan_badge_count = ListClanBadgeCountResponse.decode(reader, reader.uint32());
34211
+ continue;
34090
34212
  }
34091
34213
  if ((tag & 7) === 4 || tag === 0) {
34092
34214
  break;
@@ -34162,7 +34284,9 @@ var ListDataSocket = {
34162
34284
  category_list: isSet4(object.category_list) ? CategoryDescList.fromJSON(object.category_list) : void 0,
34163
34285
  stream_user_list: isSet4(object.stream_user_list) ? StreamingChannelUserList.fromJSON(object.stream_user_list) : void 0,
34164
34286
  list_unread_msg_indicator_req: isSet4(object.list_unread_msg_indicator_req) ? ListClanUnreadMsgIndicatorRequest.fromJSON(object.list_unread_msg_indicator_req) : void 0,
34165
- unread_msg_indicator: isSet4(object.unread_msg_indicator) ? ListClanUnreadMsgIndicatorResponse.fromJSON(object.unread_msg_indicator) : void 0
34287
+ unread_msg_indicator: isSet4(object.unread_msg_indicator) ? ListClanUnreadMsgIndicatorResponse.fromJSON(object.unread_msg_indicator) : void 0,
34288
+ list_clan_badge_count_req: isSet4(object.list_clan_badge_count_req) ? ListClanBadgeCountRequest.fromJSON(object.list_clan_badge_count_req) : void 0,
34289
+ clan_badge_count: isSet4(object.clan_badge_count) ? ListClanBadgeCountResponse.fromJSON(object.clan_badge_count) : void 0
34166
34290
  };
34167
34291
  },
34168
34292
  toJSON(message) {
@@ -34369,6 +34493,12 @@ var ListDataSocket = {
34369
34493
  if (message.unread_msg_indicator !== void 0) {
34370
34494
  obj.unread_msg_indicator = ListClanUnreadMsgIndicatorResponse.toJSON(message.unread_msg_indicator);
34371
34495
  }
34496
+ if (message.list_clan_badge_count_req !== void 0) {
34497
+ obj.list_clan_badge_count_req = ListClanBadgeCountRequest.toJSON(message.list_clan_badge_count_req);
34498
+ }
34499
+ if (message.clan_badge_count !== void 0) {
34500
+ obj.clan_badge_count = ListClanBadgeCountResponse.toJSON(message.clan_badge_count);
34501
+ }
34372
34502
  return obj;
34373
34503
  },
34374
34504
  create(base) {
@@ -34443,6 +34573,8 @@ var ListDataSocket = {
34443
34573
  message.stream_user_list = object.stream_user_list !== void 0 && object.stream_user_list !== null ? StreamingChannelUserList.fromPartial(object.stream_user_list) : void 0;
34444
34574
  message.list_unread_msg_indicator_req = object.list_unread_msg_indicator_req !== void 0 && object.list_unread_msg_indicator_req !== null ? ListClanUnreadMsgIndicatorRequest.fromPartial(object.list_unread_msg_indicator_req) : void 0;
34445
34575
  message.unread_msg_indicator = object.unread_msg_indicator !== void 0 && object.unread_msg_indicator !== null ? ListClanUnreadMsgIndicatorResponse.fromPartial(object.unread_msg_indicator) : void 0;
34576
+ message.list_clan_badge_count_req = object.list_clan_badge_count_req !== void 0 && object.list_clan_badge_count_req !== null ? ListClanBadgeCountRequest.fromPartial(object.list_clan_badge_count_req) : void 0;
34577
+ message.clan_badge_count = object.clan_badge_count !== void 0 && object.clan_badge_count !== null ? ListClanBadgeCountResponse.fromPartial(object.clan_badge_count) : void 0;
34446
34578
  return message;
34447
34579
  }
34448
34580
  };
@@ -36135,7 +36267,7 @@ var _DefaultSocket = class _DefaultSocket {
36135
36267
  listDataSocket(request) {
36136
36268
  return __async(this, null, function* () {
36137
36269
  const response = yield this.send({
36138
- list_data_socket: mapToSnakeCase(request)
36270
+ list_data_socket: request
36139
36271
  });
36140
36272
  return mapToCamelCase(response.list_data_socket);
36141
36273
  });
@@ -13492,7 +13492,7 @@ function createBaseNotification() {
13492
13492
  return {
13493
13493
  id: "",
13494
13494
  subject: "",
13495
- content: "",
13495
+ content: new Uint8Array(0),
13496
13496
  code: 0,
13497
13497
  sender_id: "",
13498
13498
  create_time: void 0,
@@ -13514,8 +13514,8 @@ var Notification = {
13514
13514
  if (message.subject !== "") {
13515
13515
  writer.uint32(18).string(message.subject);
13516
13516
  }
13517
- if (message.content !== "") {
13518
- writer.uint32(26).string(message.content);
13517
+ if (message.content.length !== 0) {
13518
+ writer.uint32(26).bytes(message.content);
13519
13519
  }
13520
13520
  if (message.code !== 0) {
13521
13521
  writer.uint32(32).int32(message.code);
@@ -13575,7 +13575,7 @@ var Notification = {
13575
13575
  if (tag !== 26) {
13576
13576
  break;
13577
13577
  }
13578
- message.content = reader.string();
13578
+ message.content = reader.bytes();
13579
13579
  continue;
13580
13580
  case 4:
13581
13581
  if (tag !== 32) {
@@ -13655,7 +13655,7 @@ var Notification = {
13655
13655
  return {
13656
13656
  id: isSet3(object.id) ? globalThis.String(object.id) : "",
13657
13657
  subject: isSet3(object.subject) ? globalThis.String(object.subject) : "",
13658
- content: isSet3(object.content) ? globalThis.String(object.content) : "",
13658
+ content: isSet3(object.content) ? bytesFromBase64(object.content) : new Uint8Array(0),
13659
13659
  code: isSet3(object.code) ? globalThis.Number(object.code) : 0,
13660
13660
  sender_id: isSet3(object.sender_id) ? globalThis.String(object.sender_id) : "",
13661
13661
  create_time: isSet3(object.create_time) ? fromJsonTimestamp(object.create_time) : void 0,
@@ -13677,8 +13677,8 @@ var Notification = {
13677
13677
  if (message.subject !== "") {
13678
13678
  obj.subject = message.subject;
13679
13679
  }
13680
- if (message.content !== "") {
13681
- obj.content = message.content;
13680
+ if (message.content.length !== 0) {
13681
+ obj.content = base64FromBytes(message.content);
13682
13682
  }
13683
13683
  if (message.code !== 0) {
13684
13684
  obj.code = Math.round(message.code);
@@ -13723,7 +13723,7 @@ var Notification = {
13723
13723
  const message = createBaseNotification();
13724
13724
  message.id = (_a = object.id) != null ? _a : "";
13725
13725
  message.subject = (_b = object.subject) != null ? _b : "";
13726
- message.content = (_c = object.content) != null ? _c : "";
13726
+ message.content = (_c = object.content) != null ? _c : new Uint8Array(0);
13727
13727
  message.code = (_d = object.code) != null ? _d : 0;
13728
13728
  message.sender_id = (_e = object.sender_id) != null ? _e : "";
13729
13729
  message.create_time = (_f = object.create_time) != null ? _f : void 0;
@@ -22733,6 +22733,108 @@ var MessageRefList = {
22733
22733
  return message;
22734
22734
  }
22735
22735
  };
22736
+ function createBaseListClanBadgeCountRequest() {
22737
+ return { clan_id: "" };
22738
+ }
22739
+ var ListClanBadgeCountRequest = {
22740
+ encode(message, writer = import_minimal4.default.Writer.create()) {
22741
+ if (message.clan_id !== "") {
22742
+ writer.uint32(10).string(message.clan_id);
22743
+ }
22744
+ return writer;
22745
+ },
22746
+ decode(input, length) {
22747
+ const reader = input instanceof import_minimal4.default.Reader ? input : import_minimal4.default.Reader.create(input);
22748
+ let end = length === void 0 ? reader.len : reader.pos + length;
22749
+ const message = createBaseListClanBadgeCountRequest();
22750
+ while (reader.pos < end) {
22751
+ const tag = reader.uint32();
22752
+ switch (tag >>> 3) {
22753
+ case 1:
22754
+ if (tag !== 10) {
22755
+ break;
22756
+ }
22757
+ message.clan_id = reader.string();
22758
+ continue;
22759
+ }
22760
+ if ((tag & 7) === 4 || tag === 0) {
22761
+ break;
22762
+ }
22763
+ reader.skipType(tag & 7);
22764
+ }
22765
+ return message;
22766
+ },
22767
+ fromJSON(object) {
22768
+ return { clan_id: isSet3(object.clan_id) ? globalThis.String(object.clan_id) : "" };
22769
+ },
22770
+ toJSON(message) {
22771
+ const obj = {};
22772
+ if (message.clan_id !== "") {
22773
+ obj.clan_id = message.clan_id;
22774
+ }
22775
+ return obj;
22776
+ },
22777
+ create(base) {
22778
+ return ListClanBadgeCountRequest.fromPartial(base != null ? base : {});
22779
+ },
22780
+ fromPartial(object) {
22781
+ var _a;
22782
+ const message = createBaseListClanBadgeCountRequest();
22783
+ message.clan_id = (_a = object.clan_id) != null ? _a : "";
22784
+ return message;
22785
+ }
22786
+ };
22787
+ function createBaseListClanBadgeCountResponse() {
22788
+ return { badge_count: 0 };
22789
+ }
22790
+ var ListClanBadgeCountResponse = {
22791
+ encode(message, writer = import_minimal4.default.Writer.create()) {
22792
+ if (message.badge_count !== 0) {
22793
+ writer.uint32(8).int32(message.badge_count);
22794
+ }
22795
+ return writer;
22796
+ },
22797
+ decode(input, length) {
22798
+ const reader = input instanceof import_minimal4.default.Reader ? input : import_minimal4.default.Reader.create(input);
22799
+ let end = length === void 0 ? reader.len : reader.pos + length;
22800
+ const message = createBaseListClanBadgeCountResponse();
22801
+ while (reader.pos < end) {
22802
+ const tag = reader.uint32();
22803
+ switch (tag >>> 3) {
22804
+ case 1:
22805
+ if (tag !== 8) {
22806
+ break;
22807
+ }
22808
+ message.badge_count = reader.int32();
22809
+ continue;
22810
+ }
22811
+ if ((tag & 7) === 4 || tag === 0) {
22812
+ break;
22813
+ }
22814
+ reader.skipType(tag & 7);
22815
+ }
22816
+ return message;
22817
+ },
22818
+ fromJSON(object) {
22819
+ return { badge_count: isSet3(object.badge_count) ? globalThis.Number(object.badge_count) : 0 };
22820
+ },
22821
+ toJSON(message) {
22822
+ const obj = {};
22823
+ if (message.badge_count !== 0) {
22824
+ obj.badge_count = Math.round(message.badge_count);
22825
+ }
22826
+ return obj;
22827
+ },
22828
+ create(base) {
22829
+ return ListClanBadgeCountResponse.fromPartial(base != null ? base : {});
22830
+ },
22831
+ fromPartial(object) {
22832
+ var _a;
22833
+ const message = createBaseListClanBadgeCountResponse();
22834
+ message.badge_count = (_a = object.badge_count) != null ? _a : 0;
22835
+ return message;
22836
+ }
22837
+ };
22736
22838
  function bytesFromBase64(b64) {
22737
22839
  if (globalThis.Buffer) {
22738
22840
  return Uint8Array.from(globalThis.Buffer.from(b64, "base64"));
@@ -33448,7 +33550,9 @@ function createBaseListDataSocket() {
33448
33550
  category_list: void 0,
33449
33551
  stream_user_list: void 0,
33450
33552
  list_unread_msg_indicator_req: void 0,
33451
- unread_msg_indicator: void 0
33553
+ unread_msg_indicator: void 0,
33554
+ list_clan_badge_count_req: void 0,
33555
+ clan_badge_count: void 0
33452
33556
  };
33453
33557
  }
33454
33558
  var ListDataSocket = {
@@ -33651,6 +33755,12 @@ var ListDataSocket = {
33651
33755
  if (message.unread_msg_indicator !== void 0) {
33652
33756
  ListClanUnreadMsgIndicatorResponse.encode(message.unread_msg_indicator, writer.uint32(530).fork()).ldelim();
33653
33757
  }
33758
+ if (message.list_clan_badge_count_req !== void 0) {
33759
+ ListClanBadgeCountRequest.encode(message.list_clan_badge_count_req, writer.uint32(538).fork()).ldelim();
33760
+ }
33761
+ if (message.clan_badge_count !== void 0) {
33762
+ ListClanBadgeCountResponse.encode(message.clan_badge_count, writer.uint32(546).fork()).ldelim();
33763
+ }
33654
33764
  return writer;
33655
33765
  },
33656
33766
  decode(input, length) {
@@ -34059,6 +34169,18 @@ var ListDataSocket = {
34059
34169
  }
34060
34170
  message.unread_msg_indicator = ListClanUnreadMsgIndicatorResponse.decode(reader, reader.uint32());
34061
34171
  continue;
34172
+ case 67:
34173
+ if (tag !== 538) {
34174
+ break;
34175
+ }
34176
+ message.list_clan_badge_count_req = ListClanBadgeCountRequest.decode(reader, reader.uint32());
34177
+ continue;
34178
+ case 68:
34179
+ if (tag !== 546) {
34180
+ break;
34181
+ }
34182
+ message.clan_badge_count = ListClanBadgeCountResponse.decode(reader, reader.uint32());
34183
+ continue;
34062
34184
  }
34063
34185
  if ((tag & 7) === 4 || tag === 0) {
34064
34186
  break;
@@ -34134,7 +34256,9 @@ var ListDataSocket = {
34134
34256
  category_list: isSet4(object.category_list) ? CategoryDescList.fromJSON(object.category_list) : void 0,
34135
34257
  stream_user_list: isSet4(object.stream_user_list) ? StreamingChannelUserList.fromJSON(object.stream_user_list) : void 0,
34136
34258
  list_unread_msg_indicator_req: isSet4(object.list_unread_msg_indicator_req) ? ListClanUnreadMsgIndicatorRequest.fromJSON(object.list_unread_msg_indicator_req) : void 0,
34137
- unread_msg_indicator: isSet4(object.unread_msg_indicator) ? ListClanUnreadMsgIndicatorResponse.fromJSON(object.unread_msg_indicator) : void 0
34259
+ unread_msg_indicator: isSet4(object.unread_msg_indicator) ? ListClanUnreadMsgIndicatorResponse.fromJSON(object.unread_msg_indicator) : void 0,
34260
+ list_clan_badge_count_req: isSet4(object.list_clan_badge_count_req) ? ListClanBadgeCountRequest.fromJSON(object.list_clan_badge_count_req) : void 0,
34261
+ clan_badge_count: isSet4(object.clan_badge_count) ? ListClanBadgeCountResponse.fromJSON(object.clan_badge_count) : void 0
34138
34262
  };
34139
34263
  },
34140
34264
  toJSON(message) {
@@ -34341,6 +34465,12 @@ var ListDataSocket = {
34341
34465
  if (message.unread_msg_indicator !== void 0) {
34342
34466
  obj.unread_msg_indicator = ListClanUnreadMsgIndicatorResponse.toJSON(message.unread_msg_indicator);
34343
34467
  }
34468
+ if (message.list_clan_badge_count_req !== void 0) {
34469
+ obj.list_clan_badge_count_req = ListClanBadgeCountRequest.toJSON(message.list_clan_badge_count_req);
34470
+ }
34471
+ if (message.clan_badge_count !== void 0) {
34472
+ obj.clan_badge_count = ListClanBadgeCountResponse.toJSON(message.clan_badge_count);
34473
+ }
34344
34474
  return obj;
34345
34475
  },
34346
34476
  create(base) {
@@ -34415,6 +34545,8 @@ var ListDataSocket = {
34415
34545
  message.stream_user_list = object.stream_user_list !== void 0 && object.stream_user_list !== null ? StreamingChannelUserList.fromPartial(object.stream_user_list) : void 0;
34416
34546
  message.list_unread_msg_indicator_req = object.list_unread_msg_indicator_req !== void 0 && object.list_unread_msg_indicator_req !== null ? ListClanUnreadMsgIndicatorRequest.fromPartial(object.list_unread_msg_indicator_req) : void 0;
34417
34547
  message.unread_msg_indicator = object.unread_msg_indicator !== void 0 && object.unread_msg_indicator !== null ? ListClanUnreadMsgIndicatorResponse.fromPartial(object.unread_msg_indicator) : void 0;
34548
+ message.list_clan_badge_count_req = object.list_clan_badge_count_req !== void 0 && object.list_clan_badge_count_req !== null ? ListClanBadgeCountRequest.fromPartial(object.list_clan_badge_count_req) : void 0;
34549
+ message.clan_badge_count = object.clan_badge_count !== void 0 && object.clan_badge_count !== null ? ListClanBadgeCountResponse.fromPartial(object.clan_badge_count) : void 0;
34418
34550
  return message;
34419
34551
  }
34420
34552
  };
@@ -36107,7 +36239,7 @@ var _DefaultSocket = class _DefaultSocket {
36107
36239
  listDataSocket(request) {
36108
36240
  return __async(this, null, function* () {
36109
36241
  const response = yield this.send({
36110
- list_data_socket: mapToSnakeCase(request)
36242
+ list_data_socket: request
36111
36243
  });
36112
36244
  return mapToCamelCase(response.list_data_socket);
36113
36245
  });