mezon-js-protobuf 1.4.35 → 1.4.37
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 +12 -0
- package/dist/mezon-js-protobuf/api/api.d.ts +16 -0
- package/dist/mezon-js-protobuf/rtapi/realtime.d.ts +190 -151
- package/dist/mezon-js-protobuf.cjs.js +142 -87
- package/dist/mezon-js-protobuf.esm.mjs +142 -87
- package/package.json +1 -1
- package/rtapi/realtime.ts +161 -87
package/api/api.ts
CHANGED
|
@@ -1837,6 +1837,8 @@ export interface ChannelDescription {
|
|
|
1837
1837
|
meeting_code: string;
|
|
1838
1838
|
/** count message unread */
|
|
1839
1839
|
count_mess_unread: number;
|
|
1840
|
+
/** */
|
|
1841
|
+
active: number;
|
|
1840
1842
|
}
|
|
1841
1843
|
|
|
1842
1844
|
/** A list of channel description, usually a result of a list operation. */
|
|
@@ -12575,6 +12577,7 @@ function createBaseChannelDescription(): ChannelDescription {
|
|
|
12575
12577
|
status: 0,
|
|
12576
12578
|
meeting_code: "",
|
|
12577
12579
|
count_mess_unread: 0,
|
|
12580
|
+
active: 0,
|
|
12578
12581
|
};
|
|
12579
12582
|
}
|
|
12580
12583
|
|
|
@@ -12628,6 +12631,9 @@ export const ChannelDescription = {
|
|
|
12628
12631
|
if (message.count_mess_unread !== 0) {
|
|
12629
12632
|
writer.uint32(128).int32(message.count_mess_unread);
|
|
12630
12633
|
}
|
|
12634
|
+
if (message.active !== 0) {
|
|
12635
|
+
writer.uint32(136).int32(message.active);
|
|
12636
|
+
}
|
|
12631
12637
|
return writer;
|
|
12632
12638
|
},
|
|
12633
12639
|
|
|
@@ -12686,6 +12692,9 @@ export const ChannelDescription = {
|
|
|
12686
12692
|
case 16:
|
|
12687
12693
|
message.count_mess_unread = reader.int32();
|
|
12688
12694
|
break;
|
|
12695
|
+
case 17:
|
|
12696
|
+
message.active = reader.int32();
|
|
12697
|
+
break;
|
|
12689
12698
|
default:
|
|
12690
12699
|
reader.skipType(tag & 7);
|
|
12691
12700
|
break;
|
|
@@ -12716,6 +12725,7 @@ export const ChannelDescription = {
|
|
|
12716
12725
|
status: isSet(object.status) ? Number(object.status) : 0,
|
|
12717
12726
|
meeting_code: isSet(object.meeting_code) ? String(object.meeting_code) : "",
|
|
12718
12727
|
count_mess_unread: isSet(object.count_mess_unread) ? Number(object.count_mess_unread) : 0,
|
|
12728
|
+
active: isSet(object.active) ? Number(object.active) : 0,
|
|
12719
12729
|
};
|
|
12720
12730
|
},
|
|
12721
12731
|
|
|
@@ -12749,6 +12759,7 @@ export const ChannelDescription = {
|
|
|
12749
12759
|
message.status !== undefined && (obj.status = Math.round(message.status));
|
|
12750
12760
|
message.meeting_code !== undefined && (obj.meeting_code = message.meeting_code);
|
|
12751
12761
|
message.count_mess_unread !== undefined && (obj.count_mess_unread = Math.round(message.count_mess_unread));
|
|
12762
|
+
message.active !== undefined && (obj.active = Math.round(message.active));
|
|
12752
12763
|
return obj;
|
|
12753
12764
|
},
|
|
12754
12765
|
|
|
@@ -12778,6 +12789,7 @@ export const ChannelDescription = {
|
|
|
12778
12789
|
message.status = object.status ?? 0;
|
|
12779
12790
|
message.meeting_code = object.meeting_code ?? "";
|
|
12780
12791
|
message.count_mess_unread = object.count_mess_unread ?? 0;
|
|
12792
|
+
message.active = object.active ?? 0;
|
|
12781
12793
|
return message;
|
|
12782
12794
|
},
|
|
12783
12795
|
};
|
|
@@ -1358,6 +1358,8 @@ export interface ChannelDescription {
|
|
|
1358
1358
|
meeting_code: string;
|
|
1359
1359
|
/** count message unread */
|
|
1360
1360
|
count_mess_unread: number;
|
|
1361
|
+
/** */
|
|
1362
|
+
active: number;
|
|
1361
1363
|
}
|
|
1362
1364
|
/** A list of channel description, usually a result of a list operation. */
|
|
1363
1365
|
export interface ChannelDescList {
|
|
@@ -9130,6 +9132,7 @@ export declare const ChannelDescription: {
|
|
|
9130
9132
|
status?: number | undefined;
|
|
9131
9133
|
meeting_code?: string | undefined;
|
|
9132
9134
|
count_mess_unread?: number | undefined;
|
|
9135
|
+
active?: number | undefined;
|
|
9133
9136
|
} & {
|
|
9134
9137
|
clan_id?: string | undefined;
|
|
9135
9138
|
parrent_id?: string | undefined;
|
|
@@ -9167,6 +9170,7 @@ export declare const ChannelDescription: {
|
|
|
9167
9170
|
status?: number | undefined;
|
|
9168
9171
|
meeting_code?: string | undefined;
|
|
9169
9172
|
count_mess_unread?: number | undefined;
|
|
9173
|
+
active?: number | undefined;
|
|
9170
9174
|
} & { [K_4 in Exclude<keyof I, keyof ChannelDescription>]: never; }>(base?: I | undefined): ChannelDescription;
|
|
9171
9175
|
fromPartial<I_1 extends {
|
|
9172
9176
|
clan_id?: string | undefined;
|
|
@@ -9195,6 +9199,7 @@ export declare const ChannelDescription: {
|
|
|
9195
9199
|
status?: number | undefined;
|
|
9196
9200
|
meeting_code?: string | undefined;
|
|
9197
9201
|
count_mess_unread?: number | undefined;
|
|
9202
|
+
active?: number | undefined;
|
|
9198
9203
|
} & {
|
|
9199
9204
|
clan_id?: string | undefined;
|
|
9200
9205
|
parrent_id?: string | undefined;
|
|
@@ -9232,6 +9237,7 @@ export declare const ChannelDescription: {
|
|
|
9232
9237
|
status?: number | undefined;
|
|
9233
9238
|
meeting_code?: string | undefined;
|
|
9234
9239
|
count_mess_unread?: number | undefined;
|
|
9240
|
+
active?: number | undefined;
|
|
9235
9241
|
} & { [K_9 in Exclude<keyof I_1, keyof ChannelDescription>]: never; }>(object: I_1): ChannelDescription;
|
|
9236
9242
|
};
|
|
9237
9243
|
export declare const ChannelDescList: {
|
|
@@ -9267,6 +9273,7 @@ export declare const ChannelDescList: {
|
|
|
9267
9273
|
status?: number | undefined;
|
|
9268
9274
|
meeting_code?: string | undefined;
|
|
9269
9275
|
count_mess_unread?: number | undefined;
|
|
9276
|
+
active?: number | undefined;
|
|
9270
9277
|
}[] | undefined;
|
|
9271
9278
|
next_cursor?: string | undefined;
|
|
9272
9279
|
prev_cursor?: string | undefined;
|
|
@@ -9299,6 +9306,7 @@ export declare const ChannelDescList: {
|
|
|
9299
9306
|
status?: number | undefined;
|
|
9300
9307
|
meeting_code?: string | undefined;
|
|
9301
9308
|
count_mess_unread?: number | undefined;
|
|
9309
|
+
active?: number | undefined;
|
|
9302
9310
|
}[] & ({
|
|
9303
9311
|
clan_id?: string | undefined;
|
|
9304
9312
|
parrent_id?: string | undefined;
|
|
@@ -9326,6 +9334,7 @@ export declare const ChannelDescList: {
|
|
|
9326
9334
|
status?: number | undefined;
|
|
9327
9335
|
meeting_code?: string | undefined;
|
|
9328
9336
|
count_mess_unread?: number | undefined;
|
|
9337
|
+
active?: number | undefined;
|
|
9329
9338
|
} & {
|
|
9330
9339
|
clan_id?: string | undefined;
|
|
9331
9340
|
parrent_id?: string | undefined;
|
|
@@ -9363,6 +9372,7 @@ export declare const ChannelDescList: {
|
|
|
9363
9372
|
status?: number | undefined;
|
|
9364
9373
|
meeting_code?: string | undefined;
|
|
9365
9374
|
count_mess_unread?: number | undefined;
|
|
9375
|
+
active?: number | undefined;
|
|
9366
9376
|
} & { [K_4 in Exclude<keyof I["channeldesc"][number], keyof ChannelDescription>]: never; })[] & { [K_5 in Exclude<keyof I["channeldesc"], keyof {
|
|
9367
9377
|
clan_id?: string | undefined;
|
|
9368
9378
|
parrent_id?: string | undefined;
|
|
@@ -9390,6 +9400,7 @@ export declare const ChannelDescList: {
|
|
|
9390
9400
|
status?: number | undefined;
|
|
9391
9401
|
meeting_code?: string | undefined;
|
|
9392
9402
|
count_mess_unread?: number | undefined;
|
|
9403
|
+
active?: number | undefined;
|
|
9393
9404
|
}[]>]: never; }) | undefined;
|
|
9394
9405
|
next_cursor?: string | undefined;
|
|
9395
9406
|
prev_cursor?: string | undefined;
|
|
@@ -9423,6 +9434,7 @@ export declare const ChannelDescList: {
|
|
|
9423
9434
|
status?: number | undefined;
|
|
9424
9435
|
meeting_code?: string | undefined;
|
|
9425
9436
|
count_mess_unread?: number | undefined;
|
|
9437
|
+
active?: number | undefined;
|
|
9426
9438
|
}[] | undefined;
|
|
9427
9439
|
next_cursor?: string | undefined;
|
|
9428
9440
|
prev_cursor?: string | undefined;
|
|
@@ -9455,6 +9467,7 @@ export declare const ChannelDescList: {
|
|
|
9455
9467
|
status?: number | undefined;
|
|
9456
9468
|
meeting_code?: string | undefined;
|
|
9457
9469
|
count_mess_unread?: number | undefined;
|
|
9470
|
+
active?: number | undefined;
|
|
9458
9471
|
}[] & ({
|
|
9459
9472
|
clan_id?: string | undefined;
|
|
9460
9473
|
parrent_id?: string | undefined;
|
|
@@ -9482,6 +9495,7 @@ export declare const ChannelDescList: {
|
|
|
9482
9495
|
status?: number | undefined;
|
|
9483
9496
|
meeting_code?: string | undefined;
|
|
9484
9497
|
count_mess_unread?: number | undefined;
|
|
9498
|
+
active?: number | undefined;
|
|
9485
9499
|
} & {
|
|
9486
9500
|
clan_id?: string | undefined;
|
|
9487
9501
|
parrent_id?: string | undefined;
|
|
@@ -9519,6 +9533,7 @@ export declare const ChannelDescList: {
|
|
|
9519
9533
|
status?: number | undefined;
|
|
9520
9534
|
meeting_code?: string | undefined;
|
|
9521
9535
|
count_mess_unread?: number | undefined;
|
|
9536
|
+
active?: number | undefined;
|
|
9522
9537
|
} & { [K_11 in Exclude<keyof I_1["channeldesc"][number], keyof ChannelDescription>]: never; })[] & { [K_12 in Exclude<keyof I_1["channeldesc"], keyof {
|
|
9523
9538
|
clan_id?: string | undefined;
|
|
9524
9539
|
parrent_id?: string | undefined;
|
|
@@ -9546,6 +9561,7 @@ export declare const ChannelDescList: {
|
|
|
9546
9561
|
status?: number | undefined;
|
|
9547
9562
|
meeting_code?: string | undefined;
|
|
9548
9563
|
count_mess_unread?: number | undefined;
|
|
9564
|
+
active?: number | undefined;
|
|
9549
9565
|
}[]>]: never; }) | undefined;
|
|
9550
9566
|
next_cursor?: string | undefined;
|
|
9551
9567
|
prev_cursor?: string | undefined;
|