mezon-js-protobuf 1.4.54 → 1.4.55
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 +13 -1
- package/dist/mezon-js-protobuf/api/api.d.ts +17 -1
- package/package.json +1 -1
package/api/api.ts
CHANGED
|
@@ -1847,8 +1847,10 @@ export interface ChannelDescription {
|
|
|
1847
1847
|
meeting_code: string;
|
|
1848
1848
|
/** count message unread */
|
|
1849
1849
|
count_mess_unread: number;
|
|
1850
|
-
/**
|
|
1850
|
+
/** active channel */
|
|
1851
1851
|
active: number;
|
|
1852
|
+
/** last pin message */
|
|
1853
|
+
last_pin_message: string;
|
|
1852
1854
|
}
|
|
1853
1855
|
|
|
1854
1856
|
/** direct channel void */
|
|
@@ -12731,6 +12733,7 @@ function createBaseChannelDescription(): ChannelDescription {
|
|
|
12731
12733
|
meeting_code: "",
|
|
12732
12734
|
count_mess_unread: 0,
|
|
12733
12735
|
active: 0,
|
|
12736
|
+
last_pin_message: "",
|
|
12734
12737
|
};
|
|
12735
12738
|
}
|
|
12736
12739
|
|
|
@@ -12787,6 +12790,9 @@ export const ChannelDescription = {
|
|
|
12787
12790
|
if (message.active !== 0) {
|
|
12788
12791
|
writer.uint32(136).int32(message.active);
|
|
12789
12792
|
}
|
|
12793
|
+
if (message.last_pin_message !== "") {
|
|
12794
|
+
writer.uint32(146).string(message.last_pin_message);
|
|
12795
|
+
}
|
|
12790
12796
|
return writer;
|
|
12791
12797
|
},
|
|
12792
12798
|
|
|
@@ -12848,6 +12854,9 @@ export const ChannelDescription = {
|
|
|
12848
12854
|
case 17:
|
|
12849
12855
|
message.active = reader.int32();
|
|
12850
12856
|
break;
|
|
12857
|
+
case 18:
|
|
12858
|
+
message.last_pin_message = reader.string();
|
|
12859
|
+
break;
|
|
12851
12860
|
default:
|
|
12852
12861
|
reader.skipType(tag & 7);
|
|
12853
12862
|
break;
|
|
@@ -12879,6 +12888,7 @@ export const ChannelDescription = {
|
|
|
12879
12888
|
meeting_code: isSet(object.meeting_code) ? String(object.meeting_code) : "",
|
|
12880
12889
|
count_mess_unread: isSet(object.count_mess_unread) ? Number(object.count_mess_unread) : 0,
|
|
12881
12890
|
active: isSet(object.active) ? Number(object.active) : 0,
|
|
12891
|
+
last_pin_message: isSet(object.last_pin_message) ? String(object.last_pin_message) : "",
|
|
12882
12892
|
};
|
|
12883
12893
|
},
|
|
12884
12894
|
|
|
@@ -12913,6 +12923,7 @@ export const ChannelDescription = {
|
|
|
12913
12923
|
message.meeting_code !== undefined && (obj.meeting_code = message.meeting_code);
|
|
12914
12924
|
message.count_mess_unread !== undefined && (obj.count_mess_unread = Math.round(message.count_mess_unread));
|
|
12915
12925
|
message.active !== undefined && (obj.active = Math.round(message.active));
|
|
12926
|
+
message.last_pin_message !== undefined && (obj.last_pin_message = message.last_pin_message);
|
|
12916
12927
|
return obj;
|
|
12917
12928
|
},
|
|
12918
12929
|
|
|
@@ -12943,6 +12954,7 @@ export const ChannelDescription = {
|
|
|
12943
12954
|
message.meeting_code = object.meeting_code ?? "";
|
|
12944
12955
|
message.count_mess_unread = object.count_mess_unread ?? 0;
|
|
12945
12956
|
message.active = object.active ?? 0;
|
|
12957
|
+
message.last_pin_message = object.last_pin_message ?? "";
|
|
12946
12958
|
return message;
|
|
12947
12959
|
},
|
|
12948
12960
|
};
|
|
@@ -1368,8 +1368,10 @@ export interface ChannelDescription {
|
|
|
1368
1368
|
meeting_code: string;
|
|
1369
1369
|
/** count message unread */
|
|
1370
1370
|
count_mess_unread: number;
|
|
1371
|
-
/**
|
|
1371
|
+
/** active channel */
|
|
1372
1372
|
active: number;
|
|
1373
|
+
/** last pin message */
|
|
1374
|
+
last_pin_message: string;
|
|
1373
1375
|
}
|
|
1374
1376
|
/** direct channel void */
|
|
1375
1377
|
export interface DirectChannelVoice {
|
|
@@ -9370,6 +9372,7 @@ export declare const ChannelDescription: {
|
|
|
9370
9372
|
meeting_code?: string | undefined;
|
|
9371
9373
|
count_mess_unread?: number | undefined;
|
|
9372
9374
|
active?: number | undefined;
|
|
9375
|
+
last_pin_message?: string | undefined;
|
|
9373
9376
|
} & {
|
|
9374
9377
|
clan_id?: string | undefined;
|
|
9375
9378
|
parrent_id?: string | undefined;
|
|
@@ -9424,6 +9427,7 @@ export declare const ChannelDescription: {
|
|
|
9424
9427
|
meeting_code?: string | undefined;
|
|
9425
9428
|
count_mess_unread?: number | undefined;
|
|
9426
9429
|
active?: number | undefined;
|
|
9430
|
+
last_pin_message?: string | undefined;
|
|
9427
9431
|
} & { [K_4 in Exclude<keyof I, keyof ChannelDescription>]: never; }>(base?: I | undefined): ChannelDescription;
|
|
9428
9432
|
fromPartial<I_1 extends {
|
|
9429
9433
|
clan_id?: string | undefined;
|
|
@@ -9461,6 +9465,7 @@ export declare const ChannelDescription: {
|
|
|
9461
9465
|
meeting_code?: string | undefined;
|
|
9462
9466
|
count_mess_unread?: number | undefined;
|
|
9463
9467
|
active?: number | undefined;
|
|
9468
|
+
last_pin_message?: string | undefined;
|
|
9464
9469
|
} & {
|
|
9465
9470
|
clan_id?: string | undefined;
|
|
9466
9471
|
parrent_id?: string | undefined;
|
|
@@ -9515,6 +9520,7 @@ export declare const ChannelDescription: {
|
|
|
9515
9520
|
meeting_code?: string | undefined;
|
|
9516
9521
|
count_mess_unread?: number | undefined;
|
|
9517
9522
|
active?: number | undefined;
|
|
9523
|
+
last_pin_message?: string | undefined;
|
|
9518
9524
|
} & { [K_9 in Exclude<keyof I_1, keyof ChannelDescription>]: never; }>(object: I_1): ChannelDescription;
|
|
9519
9525
|
};
|
|
9520
9526
|
export declare const DirectChannelVoice: {
|
|
@@ -9687,6 +9693,7 @@ export declare const ChannelDescList: {
|
|
|
9687
9693
|
meeting_code?: string | undefined;
|
|
9688
9694
|
count_mess_unread?: number | undefined;
|
|
9689
9695
|
active?: number | undefined;
|
|
9696
|
+
last_pin_message?: string | undefined;
|
|
9690
9697
|
}[] | undefined;
|
|
9691
9698
|
next_cursor?: string | undefined;
|
|
9692
9699
|
prev_cursor?: string | undefined;
|
|
@@ -9728,6 +9735,7 @@ export declare const ChannelDescList: {
|
|
|
9728
9735
|
meeting_code?: string | undefined;
|
|
9729
9736
|
count_mess_unread?: number | undefined;
|
|
9730
9737
|
active?: number | undefined;
|
|
9738
|
+
last_pin_message?: string | undefined;
|
|
9731
9739
|
}[] & ({
|
|
9732
9740
|
clan_id?: string | undefined;
|
|
9733
9741
|
parrent_id?: string | undefined;
|
|
@@ -9764,6 +9772,7 @@ export declare const ChannelDescList: {
|
|
|
9764
9772
|
meeting_code?: string | undefined;
|
|
9765
9773
|
count_mess_unread?: number | undefined;
|
|
9766
9774
|
active?: number | undefined;
|
|
9775
|
+
last_pin_message?: string | undefined;
|
|
9767
9776
|
} & {
|
|
9768
9777
|
clan_id?: string | undefined;
|
|
9769
9778
|
parrent_id?: string | undefined;
|
|
@@ -9818,6 +9827,7 @@ export declare const ChannelDescList: {
|
|
|
9818
9827
|
meeting_code?: string | undefined;
|
|
9819
9828
|
count_mess_unread?: number | undefined;
|
|
9820
9829
|
active?: number | undefined;
|
|
9830
|
+
last_pin_message?: string | undefined;
|
|
9821
9831
|
} & { [K_4 in Exclude<keyof I["channeldesc"][number], keyof ChannelDescription>]: never; })[] & { [K_5 in Exclude<keyof I["channeldesc"], keyof {
|
|
9822
9832
|
clan_id?: string | undefined;
|
|
9823
9833
|
parrent_id?: string | undefined;
|
|
@@ -9854,6 +9864,7 @@ export declare const ChannelDescList: {
|
|
|
9854
9864
|
meeting_code?: string | undefined;
|
|
9855
9865
|
count_mess_unread?: number | undefined;
|
|
9856
9866
|
active?: number | undefined;
|
|
9867
|
+
last_pin_message?: string | undefined;
|
|
9857
9868
|
}[]>]: never; }) | undefined;
|
|
9858
9869
|
next_cursor?: string | undefined;
|
|
9859
9870
|
prev_cursor?: string | undefined;
|
|
@@ -9896,6 +9907,7 @@ export declare const ChannelDescList: {
|
|
|
9896
9907
|
meeting_code?: string | undefined;
|
|
9897
9908
|
count_mess_unread?: number | undefined;
|
|
9898
9909
|
active?: number | undefined;
|
|
9910
|
+
last_pin_message?: string | undefined;
|
|
9899
9911
|
}[] | undefined;
|
|
9900
9912
|
next_cursor?: string | undefined;
|
|
9901
9913
|
prev_cursor?: string | undefined;
|
|
@@ -9937,6 +9949,7 @@ export declare const ChannelDescList: {
|
|
|
9937
9949
|
meeting_code?: string | undefined;
|
|
9938
9950
|
count_mess_unread?: number | undefined;
|
|
9939
9951
|
active?: number | undefined;
|
|
9952
|
+
last_pin_message?: string | undefined;
|
|
9940
9953
|
}[] & ({
|
|
9941
9954
|
clan_id?: string | undefined;
|
|
9942
9955
|
parrent_id?: string | undefined;
|
|
@@ -9973,6 +9986,7 @@ export declare const ChannelDescList: {
|
|
|
9973
9986
|
meeting_code?: string | undefined;
|
|
9974
9987
|
count_mess_unread?: number | undefined;
|
|
9975
9988
|
active?: number | undefined;
|
|
9989
|
+
last_pin_message?: string | undefined;
|
|
9976
9990
|
} & {
|
|
9977
9991
|
clan_id?: string | undefined;
|
|
9978
9992
|
parrent_id?: string | undefined;
|
|
@@ -10027,6 +10041,7 @@ export declare const ChannelDescList: {
|
|
|
10027
10041
|
meeting_code?: string | undefined;
|
|
10028
10042
|
count_mess_unread?: number | undefined;
|
|
10029
10043
|
active?: number | undefined;
|
|
10044
|
+
last_pin_message?: string | undefined;
|
|
10030
10045
|
} & { [K_11 in Exclude<keyof I_1["channeldesc"][number], keyof ChannelDescription>]: never; })[] & { [K_12 in Exclude<keyof I_1["channeldesc"], keyof {
|
|
10031
10046
|
clan_id?: string | undefined;
|
|
10032
10047
|
parrent_id?: string | undefined;
|
|
@@ -10063,6 +10078,7 @@ export declare const ChannelDescList: {
|
|
|
10063
10078
|
meeting_code?: string | undefined;
|
|
10064
10079
|
count_mess_unread?: number | undefined;
|
|
10065
10080
|
active?: number | undefined;
|
|
10081
|
+
last_pin_message?: string | undefined;
|
|
10066
10082
|
}[]>]: never; }) | undefined;
|
|
10067
10083
|
next_cursor?: string | undefined;
|
|
10068
10084
|
prev_cursor?: string | undefined;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "mezon-js-protobuf",
|
|
3
|
-
"version": "1.4.
|
|
3
|
+
"version": "1.4.55",
|
|
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",
|