mezon-js-protobuf 1.6.57 → 1.6.59
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.
|
@@ -934,8 +934,8 @@ export interface JoinPTTChannel {
|
|
|
934
934
|
data_type: number;
|
|
935
935
|
/** offer */
|
|
936
936
|
json_data: string;
|
|
937
|
-
/**
|
|
938
|
-
|
|
937
|
+
/** user id */
|
|
938
|
+
user_id: string;
|
|
939
939
|
/** clan id */
|
|
940
940
|
clan_id: string;
|
|
941
941
|
}
|
|
@@ -947,7 +947,7 @@ export interface TalkPTTChannel {
|
|
|
947
947
|
/** channel id */
|
|
948
948
|
channel_id: string;
|
|
949
949
|
/** is talk */
|
|
950
|
-
|
|
950
|
+
is_talk: boolean;
|
|
951
951
|
}
|
|
952
952
|
export interface ListActivity {
|
|
953
953
|
acts: UserActivity[];
|
|
@@ -1723,14 +1723,14 @@ export declare const Envelope: {
|
|
|
1723
1723
|
channel_id?: string | undefined;
|
|
1724
1724
|
data_type?: number | undefined;
|
|
1725
1725
|
json_data?: string | undefined;
|
|
1726
|
-
|
|
1726
|
+
user_id?: string | undefined;
|
|
1727
1727
|
clan_id?: string | undefined;
|
|
1728
1728
|
} | undefined;
|
|
1729
1729
|
talk_ptt_channel?: {
|
|
1730
1730
|
user_id?: string | undefined;
|
|
1731
1731
|
clan_id?: string | undefined;
|
|
1732
1732
|
channel_id?: string | undefined;
|
|
1733
|
-
|
|
1733
|
+
is_talk?: boolean | undefined;
|
|
1734
1734
|
} | undefined;
|
|
1735
1735
|
list_activity?: {
|
|
1736
1736
|
acts?: {
|
|
@@ -3857,25 +3857,25 @@ export declare const Envelope: {
|
|
|
3857
3857
|
channel_id?: string | undefined;
|
|
3858
3858
|
data_type?: number | undefined;
|
|
3859
3859
|
json_data?: string | undefined;
|
|
3860
|
-
|
|
3860
|
+
user_id?: string | undefined;
|
|
3861
3861
|
clan_id?: string | undefined;
|
|
3862
3862
|
} & {
|
|
3863
3863
|
channel_id?: string | undefined;
|
|
3864
3864
|
data_type?: number | undefined;
|
|
3865
3865
|
json_data?: string | undefined;
|
|
3866
|
-
|
|
3866
|
+
user_id?: string | undefined;
|
|
3867
3867
|
clan_id?: string | undefined;
|
|
3868
3868
|
} & { [K_136 in Exclude<keyof I["join_ptt_channel"], keyof JoinPTTChannel>]: never; }) | undefined;
|
|
3869
3869
|
talk_ptt_channel?: ({
|
|
3870
3870
|
user_id?: string | undefined;
|
|
3871
3871
|
clan_id?: string | undefined;
|
|
3872
3872
|
channel_id?: string | undefined;
|
|
3873
|
-
|
|
3873
|
+
is_talk?: boolean | undefined;
|
|
3874
3874
|
} & {
|
|
3875
3875
|
user_id?: string | undefined;
|
|
3876
3876
|
clan_id?: string | undefined;
|
|
3877
3877
|
channel_id?: string | undefined;
|
|
3878
|
-
|
|
3878
|
+
is_talk?: boolean | undefined;
|
|
3879
3879
|
} & { [K_137 in Exclude<keyof I["talk_ptt_channel"], keyof TalkPTTChannel>]: never; }) | undefined;
|
|
3880
3880
|
list_activity?: ({
|
|
3881
3881
|
acts?: {
|
|
@@ -4717,14 +4717,14 @@ export declare const Envelope: {
|
|
|
4717
4717
|
channel_id?: string | undefined;
|
|
4718
4718
|
data_type?: number | undefined;
|
|
4719
4719
|
json_data?: string | undefined;
|
|
4720
|
-
|
|
4720
|
+
user_id?: string | undefined;
|
|
4721
4721
|
clan_id?: string | undefined;
|
|
4722
4722
|
} | undefined;
|
|
4723
4723
|
talk_ptt_channel?: {
|
|
4724
4724
|
user_id?: string | undefined;
|
|
4725
4725
|
clan_id?: string | undefined;
|
|
4726
4726
|
channel_id?: string | undefined;
|
|
4727
|
-
|
|
4727
|
+
is_talk?: boolean | undefined;
|
|
4728
4728
|
} | undefined;
|
|
4729
4729
|
list_activity?: {
|
|
4730
4730
|
acts?: {
|
|
@@ -6851,25 +6851,25 @@ export declare const Envelope: {
|
|
|
6851
6851
|
channel_id?: string | undefined;
|
|
6852
6852
|
data_type?: number | undefined;
|
|
6853
6853
|
json_data?: string | undefined;
|
|
6854
|
-
|
|
6854
|
+
user_id?: string | undefined;
|
|
6855
6855
|
clan_id?: string | undefined;
|
|
6856
6856
|
} & {
|
|
6857
6857
|
channel_id?: string | undefined;
|
|
6858
6858
|
data_type?: number | undefined;
|
|
6859
6859
|
json_data?: string | undefined;
|
|
6860
|
-
|
|
6860
|
+
user_id?: string | undefined;
|
|
6861
6861
|
clan_id?: string | undefined;
|
|
6862
6862
|
} & { [K_284 in Exclude<keyof I_1["join_ptt_channel"], keyof JoinPTTChannel>]: never; }) | undefined;
|
|
6863
6863
|
talk_ptt_channel?: ({
|
|
6864
6864
|
user_id?: string | undefined;
|
|
6865
6865
|
clan_id?: string | undefined;
|
|
6866
6866
|
channel_id?: string | undefined;
|
|
6867
|
-
|
|
6867
|
+
is_talk?: boolean | undefined;
|
|
6868
6868
|
} & {
|
|
6869
6869
|
user_id?: string | undefined;
|
|
6870
6870
|
clan_id?: string | undefined;
|
|
6871
6871
|
channel_id?: string | undefined;
|
|
6872
|
-
|
|
6872
|
+
is_talk?: boolean | undefined;
|
|
6873
6873
|
} & { [K_285 in Exclude<keyof I_1["talk_ptt_channel"], keyof TalkPTTChannel>]: never; }) | undefined;
|
|
6874
6874
|
list_activity?: ({
|
|
6875
6875
|
acts?: {
|
|
@@ -11653,26 +11653,26 @@ export declare const JoinPTTChannel: {
|
|
|
11653
11653
|
channel_id?: string | undefined;
|
|
11654
11654
|
data_type?: number | undefined;
|
|
11655
11655
|
json_data?: string | undefined;
|
|
11656
|
-
|
|
11656
|
+
user_id?: string | undefined;
|
|
11657
11657
|
clan_id?: string | undefined;
|
|
11658
11658
|
} & {
|
|
11659
11659
|
channel_id?: string | undefined;
|
|
11660
11660
|
data_type?: number | undefined;
|
|
11661
11661
|
json_data?: string | undefined;
|
|
11662
|
-
|
|
11662
|
+
user_id?: string | undefined;
|
|
11663
11663
|
clan_id?: string | undefined;
|
|
11664
11664
|
} & { [K in Exclude<keyof I, keyof JoinPTTChannel>]: never; }>(base?: I | undefined): JoinPTTChannel;
|
|
11665
11665
|
fromPartial<I_1 extends {
|
|
11666
11666
|
channel_id?: string | undefined;
|
|
11667
11667
|
data_type?: number | undefined;
|
|
11668
11668
|
json_data?: string | undefined;
|
|
11669
|
-
|
|
11669
|
+
user_id?: string | undefined;
|
|
11670
11670
|
clan_id?: string | undefined;
|
|
11671
11671
|
} & {
|
|
11672
11672
|
channel_id?: string | undefined;
|
|
11673
11673
|
data_type?: number | undefined;
|
|
11674
11674
|
json_data?: string | undefined;
|
|
11675
|
-
|
|
11675
|
+
user_id?: string | undefined;
|
|
11676
11676
|
clan_id?: string | undefined;
|
|
11677
11677
|
} & { [K_1 in Exclude<keyof I_1, keyof JoinPTTChannel>]: never; }>(object: I_1): JoinPTTChannel;
|
|
11678
11678
|
};
|
|
@@ -11685,23 +11685,23 @@ export declare const TalkPTTChannel: {
|
|
|
11685
11685
|
user_id?: string | undefined;
|
|
11686
11686
|
clan_id?: string | undefined;
|
|
11687
11687
|
channel_id?: string | undefined;
|
|
11688
|
-
|
|
11688
|
+
is_talk?: boolean | undefined;
|
|
11689
11689
|
} & {
|
|
11690
11690
|
user_id?: string | undefined;
|
|
11691
11691
|
clan_id?: string | undefined;
|
|
11692
11692
|
channel_id?: string | undefined;
|
|
11693
|
-
|
|
11693
|
+
is_talk?: boolean | undefined;
|
|
11694
11694
|
} & { [K in Exclude<keyof I, keyof TalkPTTChannel>]: never; }>(base?: I | undefined): TalkPTTChannel;
|
|
11695
11695
|
fromPartial<I_1 extends {
|
|
11696
11696
|
user_id?: string | undefined;
|
|
11697
11697
|
clan_id?: string | undefined;
|
|
11698
11698
|
channel_id?: string | undefined;
|
|
11699
|
-
|
|
11699
|
+
is_talk?: boolean | undefined;
|
|
11700
11700
|
} & {
|
|
11701
11701
|
user_id?: string | undefined;
|
|
11702
11702
|
clan_id?: string | undefined;
|
|
11703
11703
|
channel_id?: string | undefined;
|
|
11704
|
-
|
|
11704
|
+
is_talk?: boolean | undefined;
|
|
11705
11705
|
} & { [K_1 in Exclude<keyof I_1, keyof TalkPTTChannel>]: never; }>(object: I_1): TalkPTTChannel;
|
|
11706
11706
|
};
|
|
11707
11707
|
export declare const ListActivity: {
|
|
@@ -13591,7 +13591,7 @@ var UnmuteEvent = {
|
|
|
13591
13591
|
}
|
|
13592
13592
|
};
|
|
13593
13593
|
function createBaseJoinPTTChannel() {
|
|
13594
|
-
return { channel_id: "", data_type: 0, json_data: "",
|
|
13594
|
+
return { channel_id: "", data_type: 0, json_data: "", user_id: "", clan_id: "" };
|
|
13595
13595
|
}
|
|
13596
13596
|
var JoinPTTChannel = {
|
|
13597
13597
|
encode(message, writer = import_minimal5.default.Writer.create()) {
|
|
@@ -13604,8 +13604,8 @@ var JoinPTTChannel = {
|
|
|
13604
13604
|
if (message.json_data !== "") {
|
|
13605
13605
|
writer.uint32(26).string(message.json_data);
|
|
13606
13606
|
}
|
|
13607
|
-
if (message.
|
|
13608
|
-
writer.uint32(34).string(message.
|
|
13607
|
+
if (message.user_id !== "") {
|
|
13608
|
+
writer.uint32(34).string(message.user_id);
|
|
13609
13609
|
}
|
|
13610
13610
|
if (message.clan_id !== "") {
|
|
13611
13611
|
writer.uint32(42).string(message.clan_id);
|
|
@@ -13641,7 +13641,7 @@ var JoinPTTChannel = {
|
|
|
13641
13641
|
if (tag !== 34) {
|
|
13642
13642
|
break;
|
|
13643
13643
|
}
|
|
13644
|
-
message.
|
|
13644
|
+
message.user_id = reader.string();
|
|
13645
13645
|
continue;
|
|
13646
13646
|
case 5:
|
|
13647
13647
|
if (tag !== 42) {
|
|
@@ -13662,7 +13662,7 @@ var JoinPTTChannel = {
|
|
|
13662
13662
|
channel_id: isSet4(object.channel_id) ? globalThis.String(object.channel_id) : "",
|
|
13663
13663
|
data_type: isSet4(object.data_type) ? globalThis.Number(object.data_type) : 0,
|
|
13664
13664
|
json_data: isSet4(object.json_data) ? globalThis.String(object.json_data) : "",
|
|
13665
|
-
|
|
13665
|
+
user_id: isSet4(object.user_id) ? globalThis.String(object.user_id) : "",
|
|
13666
13666
|
clan_id: isSet4(object.clan_id) ? globalThis.String(object.clan_id) : ""
|
|
13667
13667
|
};
|
|
13668
13668
|
},
|
|
@@ -13677,8 +13677,8 @@ var JoinPTTChannel = {
|
|
|
13677
13677
|
if (message.json_data !== "") {
|
|
13678
13678
|
obj.json_data = message.json_data;
|
|
13679
13679
|
}
|
|
13680
|
-
if (message.
|
|
13681
|
-
obj.
|
|
13680
|
+
if (message.user_id !== "") {
|
|
13681
|
+
obj.user_id = message.user_id;
|
|
13682
13682
|
}
|
|
13683
13683
|
if (message.clan_id !== "") {
|
|
13684
13684
|
obj.clan_id = message.clan_id;
|
|
@@ -13694,13 +13694,13 @@ var JoinPTTChannel = {
|
|
|
13694
13694
|
message.channel_id = (_a = object.channel_id) != null ? _a : "";
|
|
13695
13695
|
message.data_type = (_b = object.data_type) != null ? _b : 0;
|
|
13696
13696
|
message.json_data = (_c = object.json_data) != null ? _c : "";
|
|
13697
|
-
message.
|
|
13697
|
+
message.user_id = (_d = object.user_id) != null ? _d : "";
|
|
13698
13698
|
message.clan_id = (_e = object.clan_id) != null ? _e : "";
|
|
13699
13699
|
return message;
|
|
13700
13700
|
}
|
|
13701
13701
|
};
|
|
13702
13702
|
function createBaseTalkPTTChannel() {
|
|
13703
|
-
return { user_id: "", clan_id: "", channel_id: "",
|
|
13703
|
+
return { user_id: "", clan_id: "", channel_id: "", is_talk: false };
|
|
13704
13704
|
}
|
|
13705
13705
|
var TalkPTTChannel = {
|
|
13706
13706
|
encode(message, writer = import_minimal5.default.Writer.create()) {
|
|
@@ -13713,8 +13713,8 @@ var TalkPTTChannel = {
|
|
|
13713
13713
|
if (message.channel_id !== "") {
|
|
13714
13714
|
writer.uint32(26).string(message.channel_id);
|
|
13715
13715
|
}
|
|
13716
|
-
if (message.
|
|
13717
|
-
writer.uint32(32).bool(message.
|
|
13716
|
+
if (message.is_talk !== false) {
|
|
13717
|
+
writer.uint32(32).bool(message.is_talk);
|
|
13718
13718
|
}
|
|
13719
13719
|
return writer;
|
|
13720
13720
|
},
|
|
@@ -13747,7 +13747,7 @@ var TalkPTTChannel = {
|
|
|
13747
13747
|
if (tag !== 32) {
|
|
13748
13748
|
break;
|
|
13749
13749
|
}
|
|
13750
|
-
message.
|
|
13750
|
+
message.is_talk = reader.bool();
|
|
13751
13751
|
continue;
|
|
13752
13752
|
}
|
|
13753
13753
|
if ((tag & 7) === 4 || tag === 0) {
|
|
@@ -13762,7 +13762,7 @@ var TalkPTTChannel = {
|
|
|
13762
13762
|
user_id: isSet4(object.user_id) ? globalThis.String(object.user_id) : "",
|
|
13763
13763
|
clan_id: isSet4(object.clan_id) ? globalThis.String(object.clan_id) : "",
|
|
13764
13764
|
channel_id: isSet4(object.channel_id) ? globalThis.String(object.channel_id) : "",
|
|
13765
|
-
|
|
13765
|
+
is_talk: isSet4(object.is_talk) ? globalThis.Boolean(object.is_talk) : false
|
|
13766
13766
|
};
|
|
13767
13767
|
},
|
|
13768
13768
|
toJSON(message) {
|
|
@@ -13776,8 +13776,8 @@ var TalkPTTChannel = {
|
|
|
13776
13776
|
if (message.channel_id !== "") {
|
|
13777
13777
|
obj.channel_id = message.channel_id;
|
|
13778
13778
|
}
|
|
13779
|
-
if (message.
|
|
13780
|
-
obj.
|
|
13779
|
+
if (message.is_talk !== false) {
|
|
13780
|
+
obj.is_talk = message.is_talk;
|
|
13781
13781
|
}
|
|
13782
13782
|
return obj;
|
|
13783
13783
|
},
|
|
@@ -13790,7 +13790,7 @@ var TalkPTTChannel = {
|
|
|
13790
13790
|
message.user_id = (_a = object.user_id) != null ? _a : "";
|
|
13791
13791
|
message.clan_id = (_b = object.clan_id) != null ? _b : "";
|
|
13792
13792
|
message.channel_id = (_c = object.channel_id) != null ? _c : "";
|
|
13793
|
-
message.
|
|
13793
|
+
message.is_talk = (_d = object.is_talk) != null ? _d : false;
|
|
13794
13794
|
return message;
|
|
13795
13795
|
}
|
|
13796
13796
|
};
|
|
@@ -13578,7 +13578,7 @@ var UnmuteEvent = {
|
|
|
13578
13578
|
}
|
|
13579
13579
|
};
|
|
13580
13580
|
function createBaseJoinPTTChannel() {
|
|
13581
|
-
return { channel_id: "", data_type: 0, json_data: "",
|
|
13581
|
+
return { channel_id: "", data_type: 0, json_data: "", user_id: "", clan_id: "" };
|
|
13582
13582
|
}
|
|
13583
13583
|
var JoinPTTChannel = {
|
|
13584
13584
|
encode(message, writer = import_minimal5.default.Writer.create()) {
|
|
@@ -13591,8 +13591,8 @@ var JoinPTTChannel = {
|
|
|
13591
13591
|
if (message.json_data !== "") {
|
|
13592
13592
|
writer.uint32(26).string(message.json_data);
|
|
13593
13593
|
}
|
|
13594
|
-
if (message.
|
|
13595
|
-
writer.uint32(34).string(message.
|
|
13594
|
+
if (message.user_id !== "") {
|
|
13595
|
+
writer.uint32(34).string(message.user_id);
|
|
13596
13596
|
}
|
|
13597
13597
|
if (message.clan_id !== "") {
|
|
13598
13598
|
writer.uint32(42).string(message.clan_id);
|
|
@@ -13628,7 +13628,7 @@ var JoinPTTChannel = {
|
|
|
13628
13628
|
if (tag !== 34) {
|
|
13629
13629
|
break;
|
|
13630
13630
|
}
|
|
13631
|
-
message.
|
|
13631
|
+
message.user_id = reader.string();
|
|
13632
13632
|
continue;
|
|
13633
13633
|
case 5:
|
|
13634
13634
|
if (tag !== 42) {
|
|
@@ -13649,7 +13649,7 @@ var JoinPTTChannel = {
|
|
|
13649
13649
|
channel_id: isSet4(object.channel_id) ? globalThis.String(object.channel_id) : "",
|
|
13650
13650
|
data_type: isSet4(object.data_type) ? globalThis.Number(object.data_type) : 0,
|
|
13651
13651
|
json_data: isSet4(object.json_data) ? globalThis.String(object.json_data) : "",
|
|
13652
|
-
|
|
13652
|
+
user_id: isSet4(object.user_id) ? globalThis.String(object.user_id) : "",
|
|
13653
13653
|
clan_id: isSet4(object.clan_id) ? globalThis.String(object.clan_id) : ""
|
|
13654
13654
|
};
|
|
13655
13655
|
},
|
|
@@ -13664,8 +13664,8 @@ var JoinPTTChannel = {
|
|
|
13664
13664
|
if (message.json_data !== "") {
|
|
13665
13665
|
obj.json_data = message.json_data;
|
|
13666
13666
|
}
|
|
13667
|
-
if (message.
|
|
13668
|
-
obj.
|
|
13667
|
+
if (message.user_id !== "") {
|
|
13668
|
+
obj.user_id = message.user_id;
|
|
13669
13669
|
}
|
|
13670
13670
|
if (message.clan_id !== "") {
|
|
13671
13671
|
obj.clan_id = message.clan_id;
|
|
@@ -13681,13 +13681,13 @@ var JoinPTTChannel = {
|
|
|
13681
13681
|
message.channel_id = (_a = object.channel_id) != null ? _a : "";
|
|
13682
13682
|
message.data_type = (_b = object.data_type) != null ? _b : 0;
|
|
13683
13683
|
message.json_data = (_c = object.json_data) != null ? _c : "";
|
|
13684
|
-
message.
|
|
13684
|
+
message.user_id = (_d = object.user_id) != null ? _d : "";
|
|
13685
13685
|
message.clan_id = (_e = object.clan_id) != null ? _e : "";
|
|
13686
13686
|
return message;
|
|
13687
13687
|
}
|
|
13688
13688
|
};
|
|
13689
13689
|
function createBaseTalkPTTChannel() {
|
|
13690
|
-
return { user_id: "", clan_id: "", channel_id: "",
|
|
13690
|
+
return { user_id: "", clan_id: "", channel_id: "", is_talk: false };
|
|
13691
13691
|
}
|
|
13692
13692
|
var TalkPTTChannel = {
|
|
13693
13693
|
encode(message, writer = import_minimal5.default.Writer.create()) {
|
|
@@ -13700,8 +13700,8 @@ var TalkPTTChannel = {
|
|
|
13700
13700
|
if (message.channel_id !== "") {
|
|
13701
13701
|
writer.uint32(26).string(message.channel_id);
|
|
13702
13702
|
}
|
|
13703
|
-
if (message.
|
|
13704
|
-
writer.uint32(32).bool(message.
|
|
13703
|
+
if (message.is_talk !== false) {
|
|
13704
|
+
writer.uint32(32).bool(message.is_talk);
|
|
13705
13705
|
}
|
|
13706
13706
|
return writer;
|
|
13707
13707
|
},
|
|
@@ -13734,7 +13734,7 @@ var TalkPTTChannel = {
|
|
|
13734
13734
|
if (tag !== 32) {
|
|
13735
13735
|
break;
|
|
13736
13736
|
}
|
|
13737
|
-
message.
|
|
13737
|
+
message.is_talk = reader.bool();
|
|
13738
13738
|
continue;
|
|
13739
13739
|
}
|
|
13740
13740
|
if ((tag & 7) === 4 || tag === 0) {
|
|
@@ -13749,7 +13749,7 @@ var TalkPTTChannel = {
|
|
|
13749
13749
|
user_id: isSet4(object.user_id) ? globalThis.String(object.user_id) : "",
|
|
13750
13750
|
clan_id: isSet4(object.clan_id) ? globalThis.String(object.clan_id) : "",
|
|
13751
13751
|
channel_id: isSet4(object.channel_id) ? globalThis.String(object.channel_id) : "",
|
|
13752
|
-
|
|
13752
|
+
is_talk: isSet4(object.is_talk) ? globalThis.Boolean(object.is_talk) : false
|
|
13753
13753
|
};
|
|
13754
13754
|
},
|
|
13755
13755
|
toJSON(message) {
|
|
@@ -13763,8 +13763,8 @@ var TalkPTTChannel = {
|
|
|
13763
13763
|
if (message.channel_id !== "") {
|
|
13764
13764
|
obj.channel_id = message.channel_id;
|
|
13765
13765
|
}
|
|
13766
|
-
if (message.
|
|
13767
|
-
obj.
|
|
13766
|
+
if (message.is_talk !== false) {
|
|
13767
|
+
obj.is_talk = message.is_talk;
|
|
13768
13768
|
}
|
|
13769
13769
|
return obj;
|
|
13770
13770
|
},
|
|
@@ -13777,7 +13777,7 @@ var TalkPTTChannel = {
|
|
|
13777
13777
|
message.user_id = (_a = object.user_id) != null ? _a : "";
|
|
13778
13778
|
message.clan_id = (_b = object.clan_id) != null ? _b : "";
|
|
13779
13779
|
message.channel_id = (_c = object.channel_id) != null ? _c : "";
|
|
13780
|
-
message.
|
|
13780
|
+
message.is_talk = (_d = object.is_talk) != null ? _d : false;
|
|
13781
13781
|
return message;
|
|
13782
13782
|
}
|
|
13783
13783
|
};
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "mezon-js-protobuf",
|
|
3
|
-
"version": "1.6.
|
|
3
|
+
"version": "1.6.59",
|
|
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",
|
package/rtapi/realtime.ts
CHANGED
|
@@ -1243,8 +1243,8 @@ export interface JoinPTTChannel {
|
|
|
1243
1243
|
data_type: number;
|
|
1244
1244
|
/** offer */
|
|
1245
1245
|
json_data: string;
|
|
1246
|
-
/**
|
|
1247
|
-
|
|
1246
|
+
/** user id */
|
|
1247
|
+
user_id: string;
|
|
1248
1248
|
/** clan id */
|
|
1249
1249
|
clan_id: string;
|
|
1250
1250
|
}
|
|
@@ -1257,7 +1257,7 @@ export interface TalkPTTChannel {
|
|
|
1257
1257
|
/** channel id */
|
|
1258
1258
|
channel_id: string;
|
|
1259
1259
|
/** is talk */
|
|
1260
|
-
|
|
1260
|
+
is_talk: boolean;
|
|
1261
1261
|
}
|
|
1262
1262
|
|
|
1263
1263
|
export interface ListActivity {
|
|
@@ -10551,7 +10551,7 @@ export const UnmuteEvent = {
|
|
|
10551
10551
|
};
|
|
10552
10552
|
|
|
10553
10553
|
function createBaseJoinPTTChannel(): JoinPTTChannel {
|
|
10554
|
-
return { channel_id: "", data_type: 0, json_data: "",
|
|
10554
|
+
return { channel_id: "", data_type: 0, json_data: "", user_id: "", clan_id: "" };
|
|
10555
10555
|
}
|
|
10556
10556
|
|
|
10557
10557
|
export const JoinPTTChannel = {
|
|
@@ -10565,8 +10565,8 @@ export const JoinPTTChannel = {
|
|
|
10565
10565
|
if (message.json_data !== "") {
|
|
10566
10566
|
writer.uint32(26).string(message.json_data);
|
|
10567
10567
|
}
|
|
10568
|
-
if (message.
|
|
10569
|
-
writer.uint32(34).string(message.
|
|
10568
|
+
if (message.user_id !== "") {
|
|
10569
|
+
writer.uint32(34).string(message.user_id);
|
|
10570
10570
|
}
|
|
10571
10571
|
if (message.clan_id !== "") {
|
|
10572
10572
|
writer.uint32(42).string(message.clan_id);
|
|
@@ -10607,7 +10607,7 @@ export const JoinPTTChannel = {
|
|
|
10607
10607
|
break;
|
|
10608
10608
|
}
|
|
10609
10609
|
|
|
10610
|
-
message.
|
|
10610
|
+
message.user_id = reader.string();
|
|
10611
10611
|
continue;
|
|
10612
10612
|
case 5:
|
|
10613
10613
|
if (tag !== 42) {
|
|
@@ -10630,7 +10630,7 @@ export const JoinPTTChannel = {
|
|
|
10630
10630
|
channel_id: isSet(object.channel_id) ? globalThis.String(object.channel_id) : "",
|
|
10631
10631
|
data_type: isSet(object.data_type) ? globalThis.Number(object.data_type) : 0,
|
|
10632
10632
|
json_data: isSet(object.json_data) ? globalThis.String(object.json_data) : "",
|
|
10633
|
-
|
|
10633
|
+
user_id: isSet(object.user_id) ? globalThis.String(object.user_id) : "",
|
|
10634
10634
|
clan_id: isSet(object.clan_id) ? globalThis.String(object.clan_id) : "",
|
|
10635
10635
|
};
|
|
10636
10636
|
},
|
|
@@ -10646,8 +10646,8 @@ export const JoinPTTChannel = {
|
|
|
10646
10646
|
if (message.json_data !== "") {
|
|
10647
10647
|
obj.json_data = message.json_data;
|
|
10648
10648
|
}
|
|
10649
|
-
if (message.
|
|
10650
|
-
obj.
|
|
10649
|
+
if (message.user_id !== "") {
|
|
10650
|
+
obj.user_id = message.user_id;
|
|
10651
10651
|
}
|
|
10652
10652
|
if (message.clan_id !== "") {
|
|
10653
10653
|
obj.clan_id = message.clan_id;
|
|
@@ -10663,14 +10663,14 @@ export const JoinPTTChannel = {
|
|
|
10663
10663
|
message.channel_id = object.channel_id ?? "";
|
|
10664
10664
|
message.data_type = object.data_type ?? 0;
|
|
10665
10665
|
message.json_data = object.json_data ?? "";
|
|
10666
|
-
message.
|
|
10666
|
+
message.user_id = object.user_id ?? "";
|
|
10667
10667
|
message.clan_id = object.clan_id ?? "";
|
|
10668
10668
|
return message;
|
|
10669
10669
|
},
|
|
10670
10670
|
};
|
|
10671
10671
|
|
|
10672
10672
|
function createBaseTalkPTTChannel(): TalkPTTChannel {
|
|
10673
|
-
return { user_id: "", clan_id: "", channel_id: "",
|
|
10673
|
+
return { user_id: "", clan_id: "", channel_id: "", is_talk: false };
|
|
10674
10674
|
}
|
|
10675
10675
|
|
|
10676
10676
|
export const TalkPTTChannel = {
|
|
@@ -10684,8 +10684,8 @@ export const TalkPTTChannel = {
|
|
|
10684
10684
|
if (message.channel_id !== "") {
|
|
10685
10685
|
writer.uint32(26).string(message.channel_id);
|
|
10686
10686
|
}
|
|
10687
|
-
if (message.
|
|
10688
|
-
writer.uint32(32).bool(message.
|
|
10687
|
+
if (message.is_talk !== false) {
|
|
10688
|
+
writer.uint32(32).bool(message.is_talk);
|
|
10689
10689
|
}
|
|
10690
10690
|
return writer;
|
|
10691
10691
|
},
|
|
@@ -10723,7 +10723,7 @@ export const TalkPTTChannel = {
|
|
|
10723
10723
|
break;
|
|
10724
10724
|
}
|
|
10725
10725
|
|
|
10726
|
-
message.
|
|
10726
|
+
message.is_talk = reader.bool();
|
|
10727
10727
|
continue;
|
|
10728
10728
|
}
|
|
10729
10729
|
if ((tag & 7) === 4 || tag === 0) {
|
|
@@ -10739,7 +10739,7 @@ export const TalkPTTChannel = {
|
|
|
10739
10739
|
user_id: isSet(object.user_id) ? globalThis.String(object.user_id) : "",
|
|
10740
10740
|
clan_id: isSet(object.clan_id) ? globalThis.String(object.clan_id) : "",
|
|
10741
10741
|
channel_id: isSet(object.channel_id) ? globalThis.String(object.channel_id) : "",
|
|
10742
|
-
|
|
10742
|
+
is_talk: isSet(object.is_talk) ? globalThis.Boolean(object.is_talk) : false,
|
|
10743
10743
|
};
|
|
10744
10744
|
},
|
|
10745
10745
|
|
|
@@ -10754,8 +10754,8 @@ export const TalkPTTChannel = {
|
|
|
10754
10754
|
if (message.channel_id !== "") {
|
|
10755
10755
|
obj.channel_id = message.channel_id;
|
|
10756
10756
|
}
|
|
10757
|
-
if (message.
|
|
10758
|
-
obj.
|
|
10757
|
+
if (message.is_talk !== false) {
|
|
10758
|
+
obj.is_talk = message.is_talk;
|
|
10759
10759
|
}
|
|
10760
10760
|
return obj;
|
|
10761
10761
|
},
|
|
@@ -10768,7 +10768,7 @@ export const TalkPTTChannel = {
|
|
|
10768
10768
|
message.user_id = object.user_id ?? "";
|
|
10769
10769
|
message.clan_id = object.clan_id ?? "";
|
|
10770
10770
|
message.channel_id = object.channel_id ?? "";
|
|
10771
|
-
message.
|
|
10771
|
+
message.is_talk = object.is_talk ?? false;
|
|
10772
10772
|
return message;
|
|
10773
10773
|
},
|
|
10774
10774
|
};
|