mezon-js-protobuf 1.7.14 → 1.7.16
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 +39570 -39348
- package/dist/mezon-js-protobuf/api/api.d.ts +135 -67
- package/dist/mezon-js-protobuf/rtapi/realtime.d.ts +354 -232
- package/dist/mezon-js-protobuf.cjs.js +209 -34
- package/dist/mezon-js-protobuf.esm.mjs +209 -34
- package/google/protobuf/struct.ts +554 -554
- package/google/protobuf/timestamp.ts +223 -223
- package/google/protobuf/wrappers.ts +670 -670
- package/package.json +1 -1
- package/rtapi/realtime.ts +11946 -11732
|
@@ -4171,7 +4171,7 @@ var ChannelMessageHeader = {
|
|
|
4171
4171
|
function createBaseChannelDescription() {
|
|
4172
4172
|
return {
|
|
4173
4173
|
clan_id: "",
|
|
4174
|
-
|
|
4174
|
+
parent_id: "",
|
|
4175
4175
|
channel_id: "",
|
|
4176
4176
|
category_id: "",
|
|
4177
4177
|
category_name: "",
|
|
@@ -4208,8 +4208,8 @@ var ChannelDescription = {
|
|
|
4208
4208
|
if (message.clan_id !== "") {
|
|
4209
4209
|
writer.uint32(10).string(message.clan_id);
|
|
4210
4210
|
}
|
|
4211
|
-
if (message.
|
|
4212
|
-
writer.uint32(18).string(message.
|
|
4211
|
+
if (message.parent_id !== "") {
|
|
4212
|
+
writer.uint32(18).string(message.parent_id);
|
|
4213
4213
|
}
|
|
4214
4214
|
if (message.channel_id !== "") {
|
|
4215
4215
|
writer.uint32(26).string(message.channel_id);
|
|
@@ -4319,7 +4319,7 @@ var ChannelDescription = {
|
|
|
4319
4319
|
if (tag !== 18) {
|
|
4320
4320
|
break;
|
|
4321
4321
|
}
|
|
4322
|
-
message.
|
|
4322
|
+
message.parent_id = reader.string();
|
|
4323
4323
|
continue;
|
|
4324
4324
|
case 3:
|
|
4325
4325
|
if (tag !== 26) {
|
|
@@ -4513,7 +4513,7 @@ var ChannelDescription = {
|
|
|
4513
4513
|
fromJSON(object) {
|
|
4514
4514
|
return {
|
|
4515
4515
|
clan_id: isSet3(object.clan_id) ? globalThis.String(object.clan_id) : "",
|
|
4516
|
-
|
|
4516
|
+
parent_id: isSet3(object.parent_id) ? globalThis.String(object.parent_id) : "",
|
|
4517
4517
|
channel_id: isSet3(object.channel_id) ? globalThis.String(object.channel_id) : "",
|
|
4518
4518
|
category_id: isSet3(object.category_id) ? globalThis.String(object.category_id) : "",
|
|
4519
4519
|
category_name: isSet3(object.category_name) ? globalThis.String(object.category_name) : "",
|
|
@@ -4551,8 +4551,8 @@ var ChannelDescription = {
|
|
|
4551
4551
|
if (message.clan_id !== "") {
|
|
4552
4552
|
obj.clan_id = message.clan_id;
|
|
4553
4553
|
}
|
|
4554
|
-
if (message.
|
|
4555
|
-
obj.
|
|
4554
|
+
if (message.parent_id !== "") {
|
|
4555
|
+
obj.parent_id = message.parent_id;
|
|
4556
4556
|
}
|
|
4557
4557
|
if (message.channel_id !== "") {
|
|
4558
4558
|
obj.channel_id = message.channel_id;
|
|
@@ -4650,7 +4650,7 @@ var ChannelDescription = {
|
|
|
4650
4650
|
var _a, _b, _c, _d, _e, _f, _g, _h, _i, _j, _k, _l, _m, _n, _o, _p, _q, _r, _s, _t, _u, _v, _w, _x, _y, _z, _A, _B, _C;
|
|
4651
4651
|
const message = createBaseChannelDescription();
|
|
4652
4652
|
message.clan_id = (_a = object.clan_id) != null ? _a : "";
|
|
4653
|
-
message.
|
|
4653
|
+
message.parent_id = (_b = object.parent_id) != null ? _b : "";
|
|
4654
4654
|
message.channel_id = (_c = object.channel_id) != null ? _c : "";
|
|
4655
4655
|
message.category_id = (_d = object.category_id) != null ? _d : "";
|
|
4656
4656
|
message.category_name = (_e = object.category_name) != null ? _e : "";
|
|
@@ -6543,7 +6543,8 @@ function createBaseEnvelope() {
|
|
|
6543
6543
|
remove_friend: void 0,
|
|
6544
6544
|
webhook_event: void 0,
|
|
6545
6545
|
noti_user_channel: void 0,
|
|
6546
|
-
join_channel_app_data: void 0
|
|
6546
|
+
join_channel_app_data: void 0,
|
|
6547
|
+
canvas_event: void 0
|
|
6547
6548
|
};
|
|
6548
6549
|
}
|
|
6549
6550
|
var Envelope = {
|
|
@@ -6767,6 +6768,9 @@ var Envelope = {
|
|
|
6767
6768
|
if (message.join_channel_app_data !== void 0) {
|
|
6768
6769
|
JoinChannelAppData.encode(message.join_channel_app_data, writer.uint32(586).fork()).ldelim();
|
|
6769
6770
|
}
|
|
6771
|
+
if (message.canvas_event !== void 0) {
|
|
6772
|
+
ChannelCanvas.encode(message.canvas_event, writer.uint32(594).fork()).ldelim();
|
|
6773
|
+
}
|
|
6770
6774
|
return writer;
|
|
6771
6775
|
},
|
|
6772
6776
|
decode(input, length) {
|
|
@@ -7214,6 +7218,12 @@ var Envelope = {
|
|
|
7214
7218
|
}
|
|
7215
7219
|
message.join_channel_app_data = JoinChannelAppData.decode(reader, reader.uint32());
|
|
7216
7220
|
continue;
|
|
7221
|
+
case 74:
|
|
7222
|
+
if (tag !== 594) {
|
|
7223
|
+
break;
|
|
7224
|
+
}
|
|
7225
|
+
message.canvas_event = ChannelCanvas.decode(reader, reader.uint32());
|
|
7226
|
+
continue;
|
|
7217
7227
|
}
|
|
7218
7228
|
if ((tag & 7) === 4 || tag === 0) {
|
|
7219
7229
|
break;
|
|
@@ -7296,7 +7306,8 @@ var Envelope = {
|
|
|
7296
7306
|
remove_friend: isSet4(object.remove_friend) ? RemoveFriend.fromJSON(object.remove_friend) : void 0,
|
|
7297
7307
|
webhook_event: isSet4(object.webhook_event) ? Webhook.fromJSON(object.webhook_event) : void 0,
|
|
7298
7308
|
noti_user_channel: isSet4(object.noti_user_channel) ? NotificationUserChannel.fromJSON(object.noti_user_channel) : void 0,
|
|
7299
|
-
join_channel_app_data: isSet4(object.join_channel_app_data) ? JoinChannelAppData.fromJSON(object.join_channel_app_data) : void 0
|
|
7309
|
+
join_channel_app_data: isSet4(object.join_channel_app_data) ? JoinChannelAppData.fromJSON(object.join_channel_app_data) : void 0,
|
|
7310
|
+
canvas_event: isSet4(object.canvas_event) ? ChannelCanvas.fromJSON(object.canvas_event) : void 0
|
|
7300
7311
|
};
|
|
7301
7312
|
},
|
|
7302
7313
|
toJSON(message) {
|
|
@@ -7520,6 +7531,9 @@ var Envelope = {
|
|
|
7520
7531
|
if (message.join_channel_app_data !== void 0) {
|
|
7521
7532
|
obj.join_channel_app_data = JoinChannelAppData.toJSON(message.join_channel_app_data);
|
|
7522
7533
|
}
|
|
7534
|
+
if (message.canvas_event !== void 0) {
|
|
7535
|
+
obj.canvas_event = ChannelCanvas.toJSON(message.canvas_event);
|
|
7536
|
+
}
|
|
7523
7537
|
return obj;
|
|
7524
7538
|
},
|
|
7525
7539
|
create(base) {
|
|
@@ -7601,6 +7615,7 @@ var Envelope = {
|
|
|
7601
7615
|
message.webhook_event = object.webhook_event !== void 0 && object.webhook_event !== null ? Webhook.fromPartial(object.webhook_event) : void 0;
|
|
7602
7616
|
message.noti_user_channel = object.noti_user_channel !== void 0 && object.noti_user_channel !== null ? NotificationUserChannel.fromPartial(object.noti_user_channel) : void 0;
|
|
7603
7617
|
message.join_channel_app_data = object.join_channel_app_data !== void 0 && object.join_channel_app_data !== null ? JoinChannelAppData.fromPartial(object.join_channel_app_data) : void 0;
|
|
7618
|
+
message.canvas_event = object.canvas_event !== void 0 && object.canvas_event !== null ? ChannelCanvas.fromPartial(object.canvas_event) : void 0;
|
|
7604
7619
|
return message;
|
|
7605
7620
|
}
|
|
7606
7621
|
};
|
|
@@ -7641,6 +7656,166 @@ var FollowEvent = {
|
|
|
7641
7656
|
return message;
|
|
7642
7657
|
}
|
|
7643
7658
|
};
|
|
7659
|
+
function createBaseChannelCanvas() {
|
|
7660
|
+
return {
|
|
7661
|
+
id: "",
|
|
7662
|
+
title: "",
|
|
7663
|
+
content: "",
|
|
7664
|
+
creator_id: "",
|
|
7665
|
+
editor_id: "",
|
|
7666
|
+
is_default: false,
|
|
7667
|
+
channel_id: "",
|
|
7668
|
+
status: 0
|
|
7669
|
+
};
|
|
7670
|
+
}
|
|
7671
|
+
var ChannelCanvas = {
|
|
7672
|
+
encode(message, writer = import_minimal5.default.Writer.create()) {
|
|
7673
|
+
if (message.id !== "") {
|
|
7674
|
+
writer.uint32(10).string(message.id);
|
|
7675
|
+
}
|
|
7676
|
+
if (message.title !== "") {
|
|
7677
|
+
writer.uint32(18).string(message.title);
|
|
7678
|
+
}
|
|
7679
|
+
if (message.content !== "") {
|
|
7680
|
+
writer.uint32(26).string(message.content);
|
|
7681
|
+
}
|
|
7682
|
+
if (message.creator_id !== "") {
|
|
7683
|
+
writer.uint32(34).string(message.creator_id);
|
|
7684
|
+
}
|
|
7685
|
+
if (message.editor_id !== "") {
|
|
7686
|
+
writer.uint32(42).string(message.editor_id);
|
|
7687
|
+
}
|
|
7688
|
+
if (message.is_default !== false) {
|
|
7689
|
+
writer.uint32(48).bool(message.is_default);
|
|
7690
|
+
}
|
|
7691
|
+
if (message.channel_id !== "") {
|
|
7692
|
+
writer.uint32(58).string(message.channel_id);
|
|
7693
|
+
}
|
|
7694
|
+
if (message.status !== 0) {
|
|
7695
|
+
writer.uint32(64).int32(message.status);
|
|
7696
|
+
}
|
|
7697
|
+
return writer;
|
|
7698
|
+
},
|
|
7699
|
+
decode(input, length) {
|
|
7700
|
+
const reader = input instanceof import_minimal5.default.Reader ? input : import_minimal5.default.Reader.create(input);
|
|
7701
|
+
let end = length === void 0 ? reader.len : reader.pos + length;
|
|
7702
|
+
const message = createBaseChannelCanvas();
|
|
7703
|
+
while (reader.pos < end) {
|
|
7704
|
+
const tag = reader.uint32();
|
|
7705
|
+
switch (tag >>> 3) {
|
|
7706
|
+
case 1:
|
|
7707
|
+
if (tag !== 10) {
|
|
7708
|
+
break;
|
|
7709
|
+
}
|
|
7710
|
+
message.id = reader.string();
|
|
7711
|
+
continue;
|
|
7712
|
+
case 2:
|
|
7713
|
+
if (tag !== 18) {
|
|
7714
|
+
break;
|
|
7715
|
+
}
|
|
7716
|
+
message.title = reader.string();
|
|
7717
|
+
continue;
|
|
7718
|
+
case 3:
|
|
7719
|
+
if (tag !== 26) {
|
|
7720
|
+
break;
|
|
7721
|
+
}
|
|
7722
|
+
message.content = reader.string();
|
|
7723
|
+
continue;
|
|
7724
|
+
case 4:
|
|
7725
|
+
if (tag !== 34) {
|
|
7726
|
+
break;
|
|
7727
|
+
}
|
|
7728
|
+
message.creator_id = reader.string();
|
|
7729
|
+
continue;
|
|
7730
|
+
case 5:
|
|
7731
|
+
if (tag !== 42) {
|
|
7732
|
+
break;
|
|
7733
|
+
}
|
|
7734
|
+
message.editor_id = reader.string();
|
|
7735
|
+
continue;
|
|
7736
|
+
case 6:
|
|
7737
|
+
if (tag !== 48) {
|
|
7738
|
+
break;
|
|
7739
|
+
}
|
|
7740
|
+
message.is_default = reader.bool();
|
|
7741
|
+
continue;
|
|
7742
|
+
case 7:
|
|
7743
|
+
if (tag !== 58) {
|
|
7744
|
+
break;
|
|
7745
|
+
}
|
|
7746
|
+
message.channel_id = reader.string();
|
|
7747
|
+
continue;
|
|
7748
|
+
case 8:
|
|
7749
|
+
if (tag !== 64) {
|
|
7750
|
+
break;
|
|
7751
|
+
}
|
|
7752
|
+
message.status = reader.int32();
|
|
7753
|
+
continue;
|
|
7754
|
+
}
|
|
7755
|
+
if ((tag & 7) === 4 || tag === 0) {
|
|
7756
|
+
break;
|
|
7757
|
+
}
|
|
7758
|
+
reader.skipType(tag & 7);
|
|
7759
|
+
}
|
|
7760
|
+
return message;
|
|
7761
|
+
},
|
|
7762
|
+
fromJSON(object) {
|
|
7763
|
+
return {
|
|
7764
|
+
id: isSet4(object.id) ? globalThis.String(object.id) : "",
|
|
7765
|
+
title: isSet4(object.title) ? globalThis.String(object.title) : "",
|
|
7766
|
+
content: isSet4(object.content) ? globalThis.String(object.content) : "",
|
|
7767
|
+
creator_id: isSet4(object.creator_id) ? globalThis.String(object.creator_id) : "",
|
|
7768
|
+
editor_id: isSet4(object.editor_id) ? globalThis.String(object.editor_id) : "",
|
|
7769
|
+
is_default: isSet4(object.is_default) ? globalThis.Boolean(object.is_default) : false,
|
|
7770
|
+
channel_id: isSet4(object.channel_id) ? globalThis.String(object.channel_id) : "",
|
|
7771
|
+
status: isSet4(object.status) ? globalThis.Number(object.status) : 0
|
|
7772
|
+
};
|
|
7773
|
+
},
|
|
7774
|
+
toJSON(message) {
|
|
7775
|
+
const obj = {};
|
|
7776
|
+
if (message.id !== "") {
|
|
7777
|
+
obj.id = message.id;
|
|
7778
|
+
}
|
|
7779
|
+
if (message.title !== "") {
|
|
7780
|
+
obj.title = message.title;
|
|
7781
|
+
}
|
|
7782
|
+
if (message.content !== "") {
|
|
7783
|
+
obj.content = message.content;
|
|
7784
|
+
}
|
|
7785
|
+
if (message.creator_id !== "") {
|
|
7786
|
+
obj.creator_id = message.creator_id;
|
|
7787
|
+
}
|
|
7788
|
+
if (message.editor_id !== "") {
|
|
7789
|
+
obj.editor_id = message.editor_id;
|
|
7790
|
+
}
|
|
7791
|
+
if (message.is_default !== false) {
|
|
7792
|
+
obj.is_default = message.is_default;
|
|
7793
|
+
}
|
|
7794
|
+
if (message.channel_id !== "") {
|
|
7795
|
+
obj.channel_id = message.channel_id;
|
|
7796
|
+
}
|
|
7797
|
+
if (message.status !== 0) {
|
|
7798
|
+
obj.status = Math.round(message.status);
|
|
7799
|
+
}
|
|
7800
|
+
return obj;
|
|
7801
|
+
},
|
|
7802
|
+
create(base) {
|
|
7803
|
+
return ChannelCanvas.fromPartial(base != null ? base : {});
|
|
7804
|
+
},
|
|
7805
|
+
fromPartial(object) {
|
|
7806
|
+
var _a, _b, _c, _d, _e, _f, _g, _h;
|
|
7807
|
+
const message = createBaseChannelCanvas();
|
|
7808
|
+
message.id = (_a = object.id) != null ? _a : "";
|
|
7809
|
+
message.title = (_b = object.title) != null ? _b : "";
|
|
7810
|
+
message.content = (_c = object.content) != null ? _c : "";
|
|
7811
|
+
message.creator_id = (_d = object.creator_id) != null ? _d : "";
|
|
7812
|
+
message.editor_id = (_e = object.editor_id) != null ? _e : "";
|
|
7813
|
+
message.is_default = (_f = object.is_default) != null ? _f : false;
|
|
7814
|
+
message.channel_id = (_g = object.channel_id) != null ? _g : "";
|
|
7815
|
+
message.status = (_h = object.status) != null ? _h : 0;
|
|
7816
|
+
return message;
|
|
7817
|
+
}
|
|
7818
|
+
};
|
|
7644
7819
|
function createBaseIncomingCallPush() {
|
|
7645
7820
|
return { receiver_id: "", json_data: "", channel_id: "", caller_id: "" };
|
|
7646
7821
|
}
|
|
@@ -10995,7 +11170,7 @@ function createBaseChannelCreatedEvent() {
|
|
|
10995
11170
|
clan_id: "",
|
|
10996
11171
|
category_id: "",
|
|
10997
11172
|
creator_id: "",
|
|
10998
|
-
|
|
11173
|
+
parent_id: "",
|
|
10999
11174
|
channel_id: "",
|
|
11000
11175
|
channel_label: "",
|
|
11001
11176
|
channel_private: 0,
|
|
@@ -11016,8 +11191,8 @@ var ChannelCreatedEvent = {
|
|
|
11016
11191
|
if (message.creator_id !== "") {
|
|
11017
11192
|
writer.uint32(26).string(message.creator_id);
|
|
11018
11193
|
}
|
|
11019
|
-
if (message.
|
|
11020
|
-
writer.uint32(34).string(message.
|
|
11194
|
+
if (message.parent_id !== "") {
|
|
11195
|
+
writer.uint32(34).string(message.parent_id);
|
|
11021
11196
|
}
|
|
11022
11197
|
if (message.channel_id !== "") {
|
|
11023
11198
|
writer.uint32(42).string(message.channel_id);
|
|
@@ -11071,7 +11246,7 @@ var ChannelCreatedEvent = {
|
|
|
11071
11246
|
if (tag !== 34) {
|
|
11072
11247
|
break;
|
|
11073
11248
|
}
|
|
11074
|
-
message.
|
|
11249
|
+
message.parent_id = reader.string();
|
|
11075
11250
|
continue;
|
|
11076
11251
|
case 5:
|
|
11077
11252
|
if (tag !== 42) {
|
|
@@ -11128,7 +11303,7 @@ var ChannelCreatedEvent = {
|
|
|
11128
11303
|
clan_id: isSet4(object.clan_id) ? globalThis.String(object.clan_id) : "",
|
|
11129
11304
|
category_id: isSet4(object.category_id) ? globalThis.String(object.category_id) : "",
|
|
11130
11305
|
creator_id: isSet4(object.creator_id) ? globalThis.String(object.creator_id) : "",
|
|
11131
|
-
|
|
11306
|
+
parent_id: isSet4(object.parent_id) ? globalThis.String(object.parent_id) : "",
|
|
11132
11307
|
channel_id: isSet4(object.channel_id) ? globalThis.String(object.channel_id) : "",
|
|
11133
11308
|
channel_label: isSet4(object.channel_label) ? globalThis.String(object.channel_label) : "",
|
|
11134
11309
|
channel_private: isSet4(object.channel_private) ? globalThis.Number(object.channel_private) : 0,
|
|
@@ -11149,8 +11324,8 @@ var ChannelCreatedEvent = {
|
|
|
11149
11324
|
if (message.creator_id !== "") {
|
|
11150
11325
|
obj.creator_id = message.creator_id;
|
|
11151
11326
|
}
|
|
11152
|
-
if (message.
|
|
11153
|
-
obj.
|
|
11327
|
+
if (message.parent_id !== "") {
|
|
11328
|
+
obj.parent_id = message.parent_id;
|
|
11154
11329
|
}
|
|
11155
11330
|
if (message.channel_id !== "") {
|
|
11156
11331
|
obj.channel_id = message.channel_id;
|
|
@@ -11184,7 +11359,7 @@ var ChannelCreatedEvent = {
|
|
|
11184
11359
|
message.clan_id = (_a = object.clan_id) != null ? _a : "";
|
|
11185
11360
|
message.category_id = (_b = object.category_id) != null ? _b : "";
|
|
11186
11361
|
message.creator_id = (_c = object.creator_id) != null ? _c : "";
|
|
11187
|
-
message.
|
|
11362
|
+
message.parent_id = (_d = object.parent_id) != null ? _d : "";
|
|
11188
11363
|
message.channel_id = (_e = object.channel_id) != null ? _e : "";
|
|
11189
11364
|
message.channel_label = (_f = object.channel_label) != null ? _f : "";
|
|
11190
11365
|
message.channel_private = (_g = object.channel_private) != null ? _g : 0;
|
|
@@ -11342,7 +11517,7 @@ var RoleEvent = {
|
|
|
11342
11517
|
}
|
|
11343
11518
|
};
|
|
11344
11519
|
function createBaseChannelDeletedEvent() {
|
|
11345
|
-
return { clan_id: "", category_id: "",
|
|
11520
|
+
return { clan_id: "", category_id: "", parent_id: "", channel_id: "", deletor: "" };
|
|
11346
11521
|
}
|
|
11347
11522
|
var ChannelDeletedEvent = {
|
|
11348
11523
|
encode(message, writer = import_minimal5.default.Writer.create()) {
|
|
@@ -11352,8 +11527,8 @@ var ChannelDeletedEvent = {
|
|
|
11352
11527
|
if (message.category_id !== "") {
|
|
11353
11528
|
writer.uint32(18).string(message.category_id);
|
|
11354
11529
|
}
|
|
11355
|
-
if (message.
|
|
11356
|
-
writer.uint32(26).string(message.
|
|
11530
|
+
if (message.parent_id !== "") {
|
|
11531
|
+
writer.uint32(26).string(message.parent_id);
|
|
11357
11532
|
}
|
|
11358
11533
|
if (message.channel_id !== "") {
|
|
11359
11534
|
writer.uint32(34).string(message.channel_id);
|
|
@@ -11386,7 +11561,7 @@ var ChannelDeletedEvent = {
|
|
|
11386
11561
|
if (tag !== 26) {
|
|
11387
11562
|
break;
|
|
11388
11563
|
}
|
|
11389
|
-
message.
|
|
11564
|
+
message.parent_id = reader.string();
|
|
11390
11565
|
continue;
|
|
11391
11566
|
case 4:
|
|
11392
11567
|
if (tag !== 34) {
|
|
@@ -11412,7 +11587,7 @@ var ChannelDeletedEvent = {
|
|
|
11412
11587
|
return {
|
|
11413
11588
|
clan_id: isSet4(object.clan_id) ? globalThis.String(object.clan_id) : "",
|
|
11414
11589
|
category_id: isSet4(object.category_id) ? globalThis.String(object.category_id) : "",
|
|
11415
|
-
|
|
11590
|
+
parent_id: isSet4(object.parent_id) ? globalThis.String(object.parent_id) : "",
|
|
11416
11591
|
channel_id: isSet4(object.channel_id) ? globalThis.String(object.channel_id) : "",
|
|
11417
11592
|
deletor: isSet4(object.deletor) ? globalThis.String(object.deletor) : ""
|
|
11418
11593
|
};
|
|
@@ -11425,8 +11600,8 @@ var ChannelDeletedEvent = {
|
|
|
11425
11600
|
if (message.category_id !== "") {
|
|
11426
11601
|
obj.category_id = message.category_id;
|
|
11427
11602
|
}
|
|
11428
|
-
if (message.
|
|
11429
|
-
obj.
|
|
11603
|
+
if (message.parent_id !== "") {
|
|
11604
|
+
obj.parent_id = message.parent_id;
|
|
11430
11605
|
}
|
|
11431
11606
|
if (message.channel_id !== "") {
|
|
11432
11607
|
obj.channel_id = message.channel_id;
|
|
@@ -11444,7 +11619,7 @@ var ChannelDeletedEvent = {
|
|
|
11444
11619
|
const message = createBaseChannelDeletedEvent();
|
|
11445
11620
|
message.clan_id = (_a = object.clan_id) != null ? _a : "";
|
|
11446
11621
|
message.category_id = (_b = object.category_id) != null ? _b : "";
|
|
11447
|
-
message.
|
|
11622
|
+
message.parent_id = (_c = object.parent_id) != null ? _c : "";
|
|
11448
11623
|
message.channel_id = (_d = object.channel_id) != null ? _d : "";
|
|
11449
11624
|
message.deletor = (_e = object.deletor) != null ? _e : "";
|
|
11450
11625
|
return message;
|
|
@@ -11830,7 +12005,7 @@ function createBaseChannelUpdatedEvent() {
|
|
|
11830
12005
|
clan_id: "",
|
|
11831
12006
|
category_id: "",
|
|
11832
12007
|
creator_id: "",
|
|
11833
|
-
|
|
12008
|
+
parent_id: "",
|
|
11834
12009
|
channel_id: "",
|
|
11835
12010
|
channel_label: "",
|
|
11836
12011
|
channel_type: void 0,
|
|
@@ -11855,8 +12030,8 @@ var ChannelUpdatedEvent = {
|
|
|
11855
12030
|
if (message.creator_id !== "") {
|
|
11856
12031
|
writer.uint32(26).string(message.creator_id);
|
|
11857
12032
|
}
|
|
11858
|
-
if (message.
|
|
11859
|
-
writer.uint32(34).string(message.
|
|
12033
|
+
if (message.parent_id !== "") {
|
|
12034
|
+
writer.uint32(34).string(message.parent_id);
|
|
11860
12035
|
}
|
|
11861
12036
|
if (message.channel_id !== "") {
|
|
11862
12037
|
writer.uint32(42).string(message.channel_id);
|
|
@@ -11922,7 +12097,7 @@ var ChannelUpdatedEvent = {
|
|
|
11922
12097
|
if (tag !== 34) {
|
|
11923
12098
|
break;
|
|
11924
12099
|
}
|
|
11925
|
-
message.
|
|
12100
|
+
message.parent_id = reader.string();
|
|
11926
12101
|
continue;
|
|
11927
12102
|
case 5:
|
|
11928
12103
|
if (tag !== 42) {
|
|
@@ -12003,7 +12178,7 @@ var ChannelUpdatedEvent = {
|
|
|
12003
12178
|
clan_id: isSet4(object.clan_id) ? globalThis.String(object.clan_id) : "",
|
|
12004
12179
|
category_id: isSet4(object.category_id) ? globalThis.String(object.category_id) : "",
|
|
12005
12180
|
creator_id: isSet4(object.creator_id) ? globalThis.String(object.creator_id) : "",
|
|
12006
|
-
|
|
12181
|
+
parent_id: isSet4(object.parent_id) ? globalThis.String(object.parent_id) : "",
|
|
12007
12182
|
channel_id: isSet4(object.channel_id) ? globalThis.String(object.channel_id) : "",
|
|
12008
12183
|
channel_label: isSet4(object.channel_label) ? globalThis.String(object.channel_label) : "",
|
|
12009
12184
|
channel_type: isSet4(object.channel_type) ? Number(object.channel_type) : void 0,
|
|
@@ -12028,8 +12203,8 @@ var ChannelUpdatedEvent = {
|
|
|
12028
12203
|
if (message.creator_id !== "") {
|
|
12029
12204
|
obj.creator_id = message.creator_id;
|
|
12030
12205
|
}
|
|
12031
|
-
if (message.
|
|
12032
|
-
obj.
|
|
12206
|
+
if (message.parent_id !== "") {
|
|
12207
|
+
obj.parent_id = message.parent_id;
|
|
12033
12208
|
}
|
|
12034
12209
|
if (message.channel_id !== "") {
|
|
12035
12210
|
obj.channel_id = message.channel_id;
|
|
@@ -12075,7 +12250,7 @@ var ChannelUpdatedEvent = {
|
|
|
12075
12250
|
message.clan_id = (_a = object.clan_id) != null ? _a : "";
|
|
12076
12251
|
message.category_id = (_b = object.category_id) != null ? _b : "";
|
|
12077
12252
|
message.creator_id = (_c = object.creator_id) != null ? _c : "";
|
|
12078
|
-
message.
|
|
12253
|
+
message.parent_id = (_d = object.parent_id) != null ? _d : "";
|
|
12079
12254
|
message.channel_id = (_e = object.channel_id) != null ? _e : "";
|
|
12080
12255
|
message.channel_label = (_f = object.channel_label) != null ? _f : "";
|
|
12081
12256
|
message.channel_type = (_g = object.channel_type) != null ? _g : void 0;
|