mezon-js-protobuf 1.4.16 → 1.4.18
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 +35 -9
- package/dist/mezon-js-protobuf/api/api.d.ts +47 -15
- package/dist/mezon-js-protobuf/google/protobuf/timestamp.d.ts +29 -17
- package/dist/mezon-js-protobuf/rtapi/realtime.d.ts +22 -22
- package/dist/mezon-js-protobuf.esm.mjs +7120 -7120
- package/google/protobuf/timestamp.ts +29 -17
- package/package.json +1 -1
package/api/api.ts
CHANGED
|
@@ -1201,7 +1201,7 @@ export interface Notification {
|
|
|
1201
1201
|
/** ID of channel */
|
|
1202
1202
|
channel_id: string;
|
|
1203
1203
|
/** mode of */
|
|
1204
|
-
|
|
1204
|
+
channel_type: string;
|
|
1205
1205
|
}
|
|
1206
1206
|
|
|
1207
1207
|
/** A collection of zero or more notifications. */
|
|
@@ -1822,7 +1822,13 @@ export interface ChannelDescription {
|
|
|
1822
1822
|
| ChannelMessageHeader
|
|
1823
1823
|
| undefined;
|
|
1824
1824
|
/** last seen message id */
|
|
1825
|
-
last_seen_message:
|
|
1825
|
+
last_seen_message:
|
|
1826
|
+
| ChannelMessageHeader
|
|
1827
|
+
| undefined;
|
|
1828
|
+
/** meeting uri */
|
|
1829
|
+
meeting_uri: string;
|
|
1830
|
+
/** meeting code */
|
|
1831
|
+
meeting_code: string;
|
|
1826
1832
|
}
|
|
1827
1833
|
|
|
1828
1834
|
/** A list of channel description, usually a result of a list operation. */
|
|
@@ -8651,7 +8657,7 @@ function createBaseNotification(): Notification {
|
|
|
8651
8657
|
persistent: false,
|
|
8652
8658
|
clan_id: "",
|
|
8653
8659
|
channel_id: "",
|
|
8654
|
-
|
|
8660
|
+
channel_type: "",
|
|
8655
8661
|
};
|
|
8656
8662
|
}
|
|
8657
8663
|
|
|
@@ -8684,8 +8690,8 @@ export const Notification = {
|
|
|
8684
8690
|
if (message.channel_id !== "") {
|
|
8685
8691
|
writer.uint32(74).string(message.channel_id);
|
|
8686
8692
|
}
|
|
8687
|
-
if (message.
|
|
8688
|
-
writer.uint32(82).string(message.
|
|
8693
|
+
if (message.channel_type !== "") {
|
|
8694
|
+
writer.uint32(82).string(message.channel_type);
|
|
8689
8695
|
}
|
|
8690
8696
|
return writer;
|
|
8691
8697
|
},
|
|
@@ -8725,7 +8731,7 @@ export const Notification = {
|
|
|
8725
8731
|
message.channel_id = reader.string();
|
|
8726
8732
|
break;
|
|
8727
8733
|
case 10:
|
|
8728
|
-
message.
|
|
8734
|
+
message.channel_type = reader.string();
|
|
8729
8735
|
break;
|
|
8730
8736
|
default:
|
|
8731
8737
|
reader.skipType(tag & 7);
|
|
@@ -8746,7 +8752,7 @@ export const Notification = {
|
|
|
8746
8752
|
persistent: isSet(object.persistent) ? Boolean(object.persistent) : false,
|
|
8747
8753
|
clan_id: isSet(object.clan_id) ? String(object.clan_id) : "",
|
|
8748
8754
|
channel_id: isSet(object.channel_id) ? String(object.channel_id) : "",
|
|
8749
|
-
|
|
8755
|
+
channel_type: isSet(object.channel_type) ? String(object.channel_type) : "",
|
|
8750
8756
|
};
|
|
8751
8757
|
},
|
|
8752
8758
|
|
|
@@ -8761,7 +8767,7 @@ export const Notification = {
|
|
|
8761
8767
|
message.persistent !== undefined && (obj.persistent = message.persistent);
|
|
8762
8768
|
message.clan_id !== undefined && (obj.clan_id = message.clan_id);
|
|
8763
8769
|
message.channel_id !== undefined && (obj.channel_id = message.channel_id);
|
|
8764
|
-
message.
|
|
8770
|
+
message.channel_type !== undefined && (obj.channel_type = message.channel_type);
|
|
8765
8771
|
return obj;
|
|
8766
8772
|
},
|
|
8767
8773
|
|
|
@@ -8780,7 +8786,7 @@ export const Notification = {
|
|
|
8780
8786
|
message.persistent = object.persistent ?? false;
|
|
8781
8787
|
message.clan_id = object.clan_id ?? "";
|
|
8782
8788
|
message.channel_id = object.channel_id ?? "";
|
|
8783
|
-
message.
|
|
8789
|
+
message.channel_type = object.channel_type ?? "";
|
|
8784
8790
|
return message;
|
|
8785
8791
|
},
|
|
8786
8792
|
};
|
|
@@ -12376,6 +12382,8 @@ function createBaseChannelDescription(): ChannelDescription {
|
|
|
12376
12382
|
user_id: [],
|
|
12377
12383
|
last_sent_message: undefined,
|
|
12378
12384
|
last_seen_message: undefined,
|
|
12385
|
+
meeting_uri: "",
|
|
12386
|
+
meeting_code: "",
|
|
12379
12387
|
};
|
|
12380
12388
|
}
|
|
12381
12389
|
|
|
@@ -12420,6 +12428,12 @@ export const ChannelDescription = {
|
|
|
12420
12428
|
if (message.last_seen_message !== undefined) {
|
|
12421
12429
|
ChannelMessageHeader.encode(message.last_seen_message, writer.uint32(106).fork()).ldelim();
|
|
12422
12430
|
}
|
|
12431
|
+
if (message.meeting_uri !== "") {
|
|
12432
|
+
writer.uint32(114).string(message.meeting_uri);
|
|
12433
|
+
}
|
|
12434
|
+
if (message.meeting_code !== "") {
|
|
12435
|
+
writer.uint32(122).string(message.meeting_code);
|
|
12436
|
+
}
|
|
12423
12437
|
return writer;
|
|
12424
12438
|
},
|
|
12425
12439
|
|
|
@@ -12469,6 +12483,12 @@ export const ChannelDescription = {
|
|
|
12469
12483
|
case 13:
|
|
12470
12484
|
message.last_seen_message = ChannelMessageHeader.decode(reader, reader.uint32());
|
|
12471
12485
|
break;
|
|
12486
|
+
case 14:
|
|
12487
|
+
message.meeting_uri = reader.string();
|
|
12488
|
+
break;
|
|
12489
|
+
case 15:
|
|
12490
|
+
message.meeting_code = reader.string();
|
|
12491
|
+
break;
|
|
12472
12492
|
default:
|
|
12473
12493
|
reader.skipType(tag & 7);
|
|
12474
12494
|
break;
|
|
@@ -12496,6 +12516,8 @@ export const ChannelDescription = {
|
|
|
12496
12516
|
last_seen_message: isSet(object.last_seen_message)
|
|
12497
12517
|
? ChannelMessageHeader.fromJSON(object.last_seen_message)
|
|
12498
12518
|
: undefined,
|
|
12519
|
+
meeting_uri: isSet(object.meeting_uri) ? String(object.meeting_uri) : "",
|
|
12520
|
+
meeting_code: isSet(object.meeting_code) ? String(object.meeting_code) : "",
|
|
12499
12521
|
};
|
|
12500
12522
|
},
|
|
12501
12523
|
|
|
@@ -12526,6 +12548,8 @@ export const ChannelDescription = {
|
|
|
12526
12548
|
message.last_seen_message !== undefined && (obj.last_seen_message = message.last_seen_message
|
|
12527
12549
|
? ChannelMessageHeader.toJSON(message.last_seen_message)
|
|
12528
12550
|
: undefined);
|
|
12551
|
+
message.meeting_uri !== undefined && (obj.meeting_uri = message.meeting_uri);
|
|
12552
|
+
message.meeting_code !== undefined && (obj.meeting_code = message.meeting_code);
|
|
12529
12553
|
return obj;
|
|
12530
12554
|
},
|
|
12531
12555
|
|
|
@@ -12552,6 +12576,8 @@ export const ChannelDescription = {
|
|
|
12552
12576
|
message.last_seen_message = (object.last_seen_message !== undefined && object.last_seen_message !== null)
|
|
12553
12577
|
? ChannelMessageHeader.fromPartial(object.last_seen_message)
|
|
12554
12578
|
: undefined;
|
|
12579
|
+
message.meeting_uri = object.meeting_uri ?? "";
|
|
12580
|
+
message.meeting_code = object.meeting_code ?? "";
|
|
12555
12581
|
return message;
|
|
12556
12582
|
},
|
|
12557
12583
|
};
|
|
@@ -853,7 +853,7 @@ export interface Notification {
|
|
|
853
853
|
/** ID of channel */
|
|
854
854
|
channel_id: string;
|
|
855
855
|
/** mode of */
|
|
856
|
-
|
|
856
|
+
channel_type: string;
|
|
857
857
|
}
|
|
858
858
|
/** A collection of zero or more notifications. */
|
|
859
859
|
export interface NotificationList {
|
|
@@ -1346,6 +1346,10 @@ export interface ChannelDescription {
|
|
|
1346
1346
|
last_sent_message: ChannelMessageHeader | undefined;
|
|
1347
1347
|
/** last seen message id */
|
|
1348
1348
|
last_seen_message: ChannelMessageHeader | undefined;
|
|
1349
|
+
/** meeting uri */
|
|
1350
|
+
meeting_uri: string;
|
|
1351
|
+
/** meeting code */
|
|
1352
|
+
meeting_code: string;
|
|
1349
1353
|
}
|
|
1350
1354
|
/** A list of channel description, usually a result of a list operation. */
|
|
1351
1355
|
export interface ChannelDescList {
|
|
@@ -6583,7 +6587,7 @@ export declare const Notification: {
|
|
|
6583
6587
|
persistent?: boolean | undefined;
|
|
6584
6588
|
clan_id?: string | undefined;
|
|
6585
6589
|
channel_id?: string | undefined;
|
|
6586
|
-
|
|
6590
|
+
channel_type?: string | undefined;
|
|
6587
6591
|
} & {
|
|
6588
6592
|
id?: string | undefined;
|
|
6589
6593
|
subject?: string | undefined;
|
|
@@ -6594,7 +6598,7 @@ export declare const Notification: {
|
|
|
6594
6598
|
persistent?: boolean | undefined;
|
|
6595
6599
|
clan_id?: string | undefined;
|
|
6596
6600
|
channel_id?: string | undefined;
|
|
6597
|
-
|
|
6601
|
+
channel_type?: string | undefined;
|
|
6598
6602
|
} & { [K in Exclude<keyof I, keyof Notification>]: never; }>(base?: I | undefined): Notification;
|
|
6599
6603
|
fromPartial<I_1 extends {
|
|
6600
6604
|
id?: string | undefined;
|
|
@@ -6606,7 +6610,7 @@ export declare const Notification: {
|
|
|
6606
6610
|
persistent?: boolean | undefined;
|
|
6607
6611
|
clan_id?: string | undefined;
|
|
6608
6612
|
channel_id?: string | undefined;
|
|
6609
|
-
|
|
6613
|
+
channel_type?: string | undefined;
|
|
6610
6614
|
} & {
|
|
6611
6615
|
id?: string | undefined;
|
|
6612
6616
|
subject?: string | undefined;
|
|
@@ -6617,7 +6621,7 @@ export declare const Notification: {
|
|
|
6617
6621
|
persistent?: boolean | undefined;
|
|
6618
6622
|
clan_id?: string | undefined;
|
|
6619
6623
|
channel_id?: string | undefined;
|
|
6620
|
-
|
|
6624
|
+
channel_type?: string | undefined;
|
|
6621
6625
|
} & { [K_1 in Exclude<keyof I_1, keyof Notification>]: never; }>(object: I_1): Notification;
|
|
6622
6626
|
};
|
|
6623
6627
|
export declare const NotificationList: {
|
|
@@ -6636,7 +6640,7 @@ export declare const NotificationList: {
|
|
|
6636
6640
|
persistent?: boolean | undefined;
|
|
6637
6641
|
clan_id?: string | undefined;
|
|
6638
6642
|
channel_id?: string | undefined;
|
|
6639
|
-
|
|
6643
|
+
channel_type?: string | undefined;
|
|
6640
6644
|
}[] | undefined;
|
|
6641
6645
|
cacheable_cursor?: string | undefined;
|
|
6642
6646
|
} & {
|
|
@@ -6650,7 +6654,7 @@ export declare const NotificationList: {
|
|
|
6650
6654
|
persistent?: boolean | undefined;
|
|
6651
6655
|
clan_id?: string | undefined;
|
|
6652
6656
|
channel_id?: string | undefined;
|
|
6653
|
-
|
|
6657
|
+
channel_type?: string | undefined;
|
|
6654
6658
|
}[] & ({
|
|
6655
6659
|
id?: string | undefined;
|
|
6656
6660
|
subject?: string | undefined;
|
|
@@ -6661,7 +6665,7 @@ export declare const NotificationList: {
|
|
|
6661
6665
|
persistent?: boolean | undefined;
|
|
6662
6666
|
clan_id?: string | undefined;
|
|
6663
6667
|
channel_id?: string | undefined;
|
|
6664
|
-
|
|
6668
|
+
channel_type?: string | undefined;
|
|
6665
6669
|
} & {
|
|
6666
6670
|
id?: string | undefined;
|
|
6667
6671
|
subject?: string | undefined;
|
|
@@ -6672,7 +6676,7 @@ export declare const NotificationList: {
|
|
|
6672
6676
|
persistent?: boolean | undefined;
|
|
6673
6677
|
clan_id?: string | undefined;
|
|
6674
6678
|
channel_id?: string | undefined;
|
|
6675
|
-
|
|
6679
|
+
channel_type?: string | undefined;
|
|
6676
6680
|
} & { [K in Exclude<keyof I["notifications"][number], keyof Notification>]: never; })[] & { [K_1 in Exclude<keyof I["notifications"], keyof {
|
|
6677
6681
|
id?: string | undefined;
|
|
6678
6682
|
subject?: string | undefined;
|
|
@@ -6683,7 +6687,7 @@ export declare const NotificationList: {
|
|
|
6683
6687
|
persistent?: boolean | undefined;
|
|
6684
6688
|
clan_id?: string | undefined;
|
|
6685
6689
|
channel_id?: string | undefined;
|
|
6686
|
-
|
|
6690
|
+
channel_type?: string | undefined;
|
|
6687
6691
|
}[]>]: never; }) | undefined;
|
|
6688
6692
|
cacheable_cursor?: string | undefined;
|
|
6689
6693
|
} & { [K_2 in Exclude<keyof I, keyof NotificationList>]: never; }>(base?: I | undefined): NotificationList;
|
|
@@ -6698,7 +6702,7 @@ export declare const NotificationList: {
|
|
|
6698
6702
|
persistent?: boolean | undefined;
|
|
6699
6703
|
clan_id?: string | undefined;
|
|
6700
6704
|
channel_id?: string | undefined;
|
|
6701
|
-
|
|
6705
|
+
channel_type?: string | undefined;
|
|
6702
6706
|
}[] | undefined;
|
|
6703
6707
|
cacheable_cursor?: string | undefined;
|
|
6704
6708
|
} & {
|
|
@@ -6712,7 +6716,7 @@ export declare const NotificationList: {
|
|
|
6712
6716
|
persistent?: boolean | undefined;
|
|
6713
6717
|
clan_id?: string | undefined;
|
|
6714
6718
|
channel_id?: string | undefined;
|
|
6715
|
-
|
|
6719
|
+
channel_type?: string | undefined;
|
|
6716
6720
|
}[] & ({
|
|
6717
6721
|
id?: string | undefined;
|
|
6718
6722
|
subject?: string | undefined;
|
|
@@ -6723,7 +6727,7 @@ export declare const NotificationList: {
|
|
|
6723
6727
|
persistent?: boolean | undefined;
|
|
6724
6728
|
clan_id?: string | undefined;
|
|
6725
6729
|
channel_id?: string | undefined;
|
|
6726
|
-
|
|
6730
|
+
channel_type?: string | undefined;
|
|
6727
6731
|
} & {
|
|
6728
6732
|
id?: string | undefined;
|
|
6729
6733
|
subject?: string | undefined;
|
|
@@ -6734,7 +6738,7 @@ export declare const NotificationList: {
|
|
|
6734
6738
|
persistent?: boolean | undefined;
|
|
6735
6739
|
clan_id?: string | undefined;
|
|
6736
6740
|
channel_id?: string | undefined;
|
|
6737
|
-
|
|
6741
|
+
channel_type?: string | undefined;
|
|
6738
6742
|
} & { [K_3 in Exclude<keyof I_1["notifications"][number], keyof Notification>]: never; })[] & { [K_4 in Exclude<keyof I_1["notifications"], keyof {
|
|
6739
6743
|
id?: string | undefined;
|
|
6740
6744
|
subject?: string | undefined;
|
|
@@ -6745,7 +6749,7 @@ export declare const NotificationList: {
|
|
|
6745
6749
|
persistent?: boolean | undefined;
|
|
6746
6750
|
clan_id?: string | undefined;
|
|
6747
6751
|
channel_id?: string | undefined;
|
|
6748
|
-
|
|
6752
|
+
channel_type?: string | undefined;
|
|
6749
6753
|
}[]>]: never; }) | undefined;
|
|
6750
6754
|
cacheable_cursor?: string | undefined;
|
|
6751
6755
|
} & { [K_5 in Exclude<keyof I_1, keyof NotificationList>]: never; }>(object: I_1): NotificationList;
|
|
@@ -8939,6 +8943,8 @@ export declare const ChannelDescription: {
|
|
|
8939
8943
|
sender_id?: string | undefined;
|
|
8940
8944
|
content?: string | undefined;
|
|
8941
8945
|
} | undefined;
|
|
8946
|
+
meeting_uri?: string | undefined;
|
|
8947
|
+
meeting_code?: string | undefined;
|
|
8942
8948
|
} & {
|
|
8943
8949
|
clan_id?: string | undefined;
|
|
8944
8950
|
parrent_id?: string | undefined;
|
|
@@ -8973,6 +8979,8 @@ export declare const ChannelDescription: {
|
|
|
8973
8979
|
sender_id?: string | undefined;
|
|
8974
8980
|
content?: string | undefined;
|
|
8975
8981
|
} & { [K_3 in Exclude<keyof I["last_seen_message"], keyof ChannelMessageHeader>]: never; }) | undefined;
|
|
8982
|
+
meeting_uri?: string | undefined;
|
|
8983
|
+
meeting_code?: string | undefined;
|
|
8976
8984
|
} & { [K_4 in Exclude<keyof I, keyof ChannelDescription>]: never; }>(base?: I | undefined): ChannelDescription;
|
|
8977
8985
|
fromPartial<I_1 extends {
|
|
8978
8986
|
clan_id?: string | undefined;
|
|
@@ -8998,6 +9006,8 @@ export declare const ChannelDescription: {
|
|
|
8998
9006
|
sender_id?: string | undefined;
|
|
8999
9007
|
content?: string | undefined;
|
|
9000
9008
|
} | undefined;
|
|
9009
|
+
meeting_uri?: string | undefined;
|
|
9010
|
+
meeting_code?: string | undefined;
|
|
9001
9011
|
} & {
|
|
9002
9012
|
clan_id?: string | undefined;
|
|
9003
9013
|
parrent_id?: string | undefined;
|
|
@@ -9032,6 +9042,8 @@ export declare const ChannelDescription: {
|
|
|
9032
9042
|
sender_id?: string | undefined;
|
|
9033
9043
|
content?: string | undefined;
|
|
9034
9044
|
} & { [K_8 in Exclude<keyof I_1["last_seen_message"], keyof ChannelMessageHeader>]: never; }) | undefined;
|
|
9045
|
+
meeting_uri?: string | undefined;
|
|
9046
|
+
meeting_code?: string | undefined;
|
|
9035
9047
|
} & { [K_9 in Exclude<keyof I_1, keyof ChannelDescription>]: never; }>(object: I_1): ChannelDescription;
|
|
9036
9048
|
};
|
|
9037
9049
|
export declare const ChannelDescList: {
|
|
@@ -9064,6 +9076,8 @@ export declare const ChannelDescList: {
|
|
|
9064
9076
|
sender_id?: string | undefined;
|
|
9065
9077
|
content?: string | undefined;
|
|
9066
9078
|
} | undefined;
|
|
9079
|
+
meeting_uri?: string | undefined;
|
|
9080
|
+
meeting_code?: string | undefined;
|
|
9067
9081
|
}[] | undefined;
|
|
9068
9082
|
next_cursor?: string | undefined;
|
|
9069
9083
|
prev_cursor?: string | undefined;
|
|
@@ -9093,6 +9107,8 @@ export declare const ChannelDescList: {
|
|
|
9093
9107
|
sender_id?: string | undefined;
|
|
9094
9108
|
content?: string | undefined;
|
|
9095
9109
|
} | undefined;
|
|
9110
|
+
meeting_uri?: string | undefined;
|
|
9111
|
+
meeting_code?: string | undefined;
|
|
9096
9112
|
}[] & ({
|
|
9097
9113
|
clan_id?: string | undefined;
|
|
9098
9114
|
parrent_id?: string | undefined;
|
|
@@ -9117,6 +9133,8 @@ export declare const ChannelDescList: {
|
|
|
9117
9133
|
sender_id?: string | undefined;
|
|
9118
9134
|
content?: string | undefined;
|
|
9119
9135
|
} | undefined;
|
|
9136
|
+
meeting_uri?: string | undefined;
|
|
9137
|
+
meeting_code?: string | undefined;
|
|
9120
9138
|
} & {
|
|
9121
9139
|
clan_id?: string | undefined;
|
|
9122
9140
|
parrent_id?: string | undefined;
|
|
@@ -9151,6 +9169,8 @@ export declare const ChannelDescList: {
|
|
|
9151
9169
|
sender_id?: string | undefined;
|
|
9152
9170
|
content?: string | undefined;
|
|
9153
9171
|
} & { [K_3 in Exclude<keyof I["channeldesc"][number]["last_seen_message"], keyof ChannelMessageHeader>]: never; }) | undefined;
|
|
9172
|
+
meeting_uri?: string | undefined;
|
|
9173
|
+
meeting_code?: string | undefined;
|
|
9154
9174
|
} & { [K_4 in Exclude<keyof I["channeldesc"][number], keyof ChannelDescription>]: never; })[] & { [K_5 in Exclude<keyof I["channeldesc"], keyof {
|
|
9155
9175
|
clan_id?: string | undefined;
|
|
9156
9176
|
parrent_id?: string | undefined;
|
|
@@ -9175,6 +9195,8 @@ export declare const ChannelDescList: {
|
|
|
9175
9195
|
sender_id?: string | undefined;
|
|
9176
9196
|
content?: string | undefined;
|
|
9177
9197
|
} | undefined;
|
|
9198
|
+
meeting_uri?: string | undefined;
|
|
9199
|
+
meeting_code?: string | undefined;
|
|
9178
9200
|
}[]>]: never; }) | undefined;
|
|
9179
9201
|
next_cursor?: string | undefined;
|
|
9180
9202
|
prev_cursor?: string | undefined;
|
|
@@ -9205,6 +9227,8 @@ export declare const ChannelDescList: {
|
|
|
9205
9227
|
sender_id?: string | undefined;
|
|
9206
9228
|
content?: string | undefined;
|
|
9207
9229
|
} | undefined;
|
|
9230
|
+
meeting_uri?: string | undefined;
|
|
9231
|
+
meeting_code?: string | undefined;
|
|
9208
9232
|
}[] | undefined;
|
|
9209
9233
|
next_cursor?: string | undefined;
|
|
9210
9234
|
prev_cursor?: string | undefined;
|
|
@@ -9234,6 +9258,8 @@ export declare const ChannelDescList: {
|
|
|
9234
9258
|
sender_id?: string | undefined;
|
|
9235
9259
|
content?: string | undefined;
|
|
9236
9260
|
} | undefined;
|
|
9261
|
+
meeting_uri?: string | undefined;
|
|
9262
|
+
meeting_code?: string | undefined;
|
|
9237
9263
|
}[] & ({
|
|
9238
9264
|
clan_id?: string | undefined;
|
|
9239
9265
|
parrent_id?: string | undefined;
|
|
@@ -9258,6 +9284,8 @@ export declare const ChannelDescList: {
|
|
|
9258
9284
|
sender_id?: string | undefined;
|
|
9259
9285
|
content?: string | undefined;
|
|
9260
9286
|
} | undefined;
|
|
9287
|
+
meeting_uri?: string | undefined;
|
|
9288
|
+
meeting_code?: string | undefined;
|
|
9261
9289
|
} & {
|
|
9262
9290
|
clan_id?: string | undefined;
|
|
9263
9291
|
parrent_id?: string | undefined;
|
|
@@ -9292,6 +9320,8 @@ export declare const ChannelDescList: {
|
|
|
9292
9320
|
sender_id?: string | undefined;
|
|
9293
9321
|
content?: string | undefined;
|
|
9294
9322
|
} & { [K_10 in Exclude<keyof I_1["channeldesc"][number]["last_seen_message"], keyof ChannelMessageHeader>]: never; }) | undefined;
|
|
9323
|
+
meeting_uri?: string | undefined;
|
|
9324
|
+
meeting_code?: string | undefined;
|
|
9295
9325
|
} & { [K_11 in Exclude<keyof I_1["channeldesc"][number], keyof ChannelDescription>]: never; })[] & { [K_12 in Exclude<keyof I_1["channeldesc"], keyof {
|
|
9296
9326
|
clan_id?: string | undefined;
|
|
9297
9327
|
parrent_id?: string | undefined;
|
|
@@ -9316,6 +9346,8 @@ export declare const ChannelDescList: {
|
|
|
9316
9346
|
sender_id?: string | undefined;
|
|
9317
9347
|
content?: string | undefined;
|
|
9318
9348
|
} | undefined;
|
|
9349
|
+
meeting_uri?: string | undefined;
|
|
9350
|
+
meeting_code?: string | undefined;
|
|
9319
9351
|
}[]>]: never; }) | undefined;
|
|
9320
9352
|
next_cursor?: string | undefined;
|
|
9321
9353
|
prev_cursor?: string | undefined;
|
|
@@ -1,17 +1,19 @@
|
|
|
1
1
|
import _m0 from "protobufjs/minimal";
|
|
2
2
|
export declare const protobufPackage = "google.protobuf";
|
|
3
3
|
/**
|
|
4
|
-
* A Timestamp represents a point in time independent of any time zone
|
|
5
|
-
*
|
|
6
|
-
* nanosecond resolution
|
|
7
|
-
*
|
|
8
|
-
* backwards to year one.
|
|
9
|
-
*
|
|
10
|
-
*
|
|
11
|
-
*
|
|
12
|
-
*
|
|
13
|
-
*
|
|
14
|
-
*
|
|
4
|
+
* A Timestamp represents a point in time independent of any time zone or local
|
|
5
|
+
* calendar, encoded as a count of seconds and fractions of seconds at
|
|
6
|
+
* nanosecond resolution. The count is relative to an epoch at UTC midnight on
|
|
7
|
+
* January 1, 1970, in the proleptic Gregorian calendar which extends the
|
|
8
|
+
* Gregorian calendar backwards to year one.
|
|
9
|
+
*
|
|
10
|
+
* All minutes are 60 seconds long. Leap seconds are "smeared" so that no leap
|
|
11
|
+
* second table is needed for interpretation, using a [24-hour linear
|
|
12
|
+
* smear](https://developers.google.com/time/smear).
|
|
13
|
+
*
|
|
14
|
+
* The range is from 0001-01-01T00:00:00Z to 9999-12-31T23:59:59.999999999Z. By
|
|
15
|
+
* restricting to that range, we ensure that we can convert to and from [RFC
|
|
16
|
+
* 3339](https://www.ietf.org/rfc/rfc3339.txt) date strings.
|
|
15
17
|
*
|
|
16
18
|
* # Examples
|
|
17
19
|
*
|
|
@@ -49,7 +51,15 @@ export declare const protobufPackage = "google.protobuf";
|
|
|
49
51
|
* Timestamp timestamp = Timestamp.newBuilder().setSeconds(millis / 1000)
|
|
50
52
|
* .setNanos((int) ((millis % 1000) * 1000000)).build();
|
|
51
53
|
*
|
|
52
|
-
* Example 5: Compute Timestamp from
|
|
54
|
+
* Example 5: Compute Timestamp from Java `Instant.now()`.
|
|
55
|
+
*
|
|
56
|
+
* Instant now = Instant.now();
|
|
57
|
+
*
|
|
58
|
+
* Timestamp timestamp =
|
|
59
|
+
* Timestamp.newBuilder().setSeconds(now.getEpochSecond())
|
|
60
|
+
* .setNanos(now.getNano()).build();
|
|
61
|
+
*
|
|
62
|
+
* Example 6: Compute Timestamp from current time in Python.
|
|
53
63
|
*
|
|
54
64
|
* timestamp = Timestamp()
|
|
55
65
|
* timestamp.GetCurrentTime()
|
|
@@ -71,12 +81,14 @@ export declare const protobufPackage = "google.protobuf";
|
|
|
71
81
|
* 01:30 UTC on January 15, 2017.
|
|
72
82
|
*
|
|
73
83
|
* In JavaScript, one can convert a Date object to this format using the
|
|
74
|
-
* standard
|
|
84
|
+
* standard
|
|
85
|
+
* [toISOString()](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Date/toISOString)
|
|
75
86
|
* method. In Python, a standard `datetime.datetime` object can be converted
|
|
76
|
-
* to this format using
|
|
77
|
-
*
|
|
78
|
-
*
|
|
79
|
-
*
|
|
87
|
+
* to this format using
|
|
88
|
+
* [`strftime`](https://docs.python.org/2/library/time.html#time.strftime) with
|
|
89
|
+
* the time format spec '%Y-%m-%dT%H:%M:%S.%fZ'. Likewise, in Java, one can use
|
|
90
|
+
* the Joda Time's [`ISODateTimeFormat.dateTime()`](
|
|
91
|
+
* http://joda-time.sourceforge.net/apidocs/org/joda/time/format/ISODateTimeFormat.html#dateTime()
|
|
80
92
|
* ) to obtain a formatter capable of generating timestamps in this format.
|
|
81
93
|
*/
|
|
82
94
|
export interface Timestamp {
|
|
@@ -842,7 +842,7 @@ export declare const Envelope: {
|
|
|
842
842
|
persistent?: boolean | undefined;
|
|
843
843
|
clan_id?: string | undefined;
|
|
844
844
|
channel_id?: string | undefined;
|
|
845
|
-
|
|
845
|
+
channel_type?: string | undefined;
|
|
846
846
|
}[] | undefined;
|
|
847
847
|
} | undefined;
|
|
848
848
|
rpc?: {
|
|
@@ -1504,7 +1504,7 @@ export declare const Envelope: {
|
|
|
1504
1504
|
persistent?: boolean | undefined;
|
|
1505
1505
|
clan_id?: string | undefined;
|
|
1506
1506
|
channel_id?: string | undefined;
|
|
1507
|
-
|
|
1507
|
+
channel_type?: string | undefined;
|
|
1508
1508
|
}[] | undefined;
|
|
1509
1509
|
} & {
|
|
1510
1510
|
notifications?: ({
|
|
@@ -1517,7 +1517,7 @@ export declare const Envelope: {
|
|
|
1517
1517
|
persistent?: boolean | undefined;
|
|
1518
1518
|
clan_id?: string | undefined;
|
|
1519
1519
|
channel_id?: string | undefined;
|
|
1520
|
-
|
|
1520
|
+
channel_type?: string | undefined;
|
|
1521
1521
|
}[] & ({
|
|
1522
1522
|
id?: string | undefined;
|
|
1523
1523
|
subject?: string | undefined;
|
|
@@ -1528,7 +1528,7 @@ export declare const Envelope: {
|
|
|
1528
1528
|
persistent?: boolean | undefined;
|
|
1529
1529
|
clan_id?: string | undefined;
|
|
1530
1530
|
channel_id?: string | undefined;
|
|
1531
|
-
|
|
1531
|
+
channel_type?: string | undefined;
|
|
1532
1532
|
} & {
|
|
1533
1533
|
id?: string | undefined;
|
|
1534
1534
|
subject?: string | undefined;
|
|
@@ -1539,7 +1539,7 @@ export declare const Envelope: {
|
|
|
1539
1539
|
persistent?: boolean | undefined;
|
|
1540
1540
|
clan_id?: string | undefined;
|
|
1541
1541
|
channel_id?: string | undefined;
|
|
1542
|
-
|
|
1542
|
+
channel_type?: string | undefined;
|
|
1543
1543
|
} & { [K_24 in Exclude<keyof I["notifications"]["notifications"][number], keyof Notification>]: never; })[] & { [K_25 in Exclude<keyof I["notifications"]["notifications"], keyof {
|
|
1544
1544
|
id?: string | undefined;
|
|
1545
1545
|
subject?: string | undefined;
|
|
@@ -1550,7 +1550,7 @@ export declare const Envelope: {
|
|
|
1550
1550
|
persistent?: boolean | undefined;
|
|
1551
1551
|
clan_id?: string | undefined;
|
|
1552
1552
|
channel_id?: string | undefined;
|
|
1553
|
-
|
|
1553
|
+
channel_type?: string | undefined;
|
|
1554
1554
|
}[]>]: never; }) | undefined;
|
|
1555
1555
|
} & { [K_26 in Exclude<keyof I["notifications"], "notifications">]: never; }) | undefined;
|
|
1556
1556
|
rpc?: ({
|
|
@@ -2439,7 +2439,7 @@ export declare const Envelope: {
|
|
|
2439
2439
|
persistent?: boolean | undefined;
|
|
2440
2440
|
clan_id?: string | undefined;
|
|
2441
2441
|
channel_id?: string | undefined;
|
|
2442
|
-
|
|
2442
|
+
channel_type?: string | undefined;
|
|
2443
2443
|
}[] | undefined;
|
|
2444
2444
|
} | undefined;
|
|
2445
2445
|
rpc?: {
|
|
@@ -3101,7 +3101,7 @@ export declare const Envelope: {
|
|
|
3101
3101
|
persistent?: boolean | undefined;
|
|
3102
3102
|
clan_id?: string | undefined;
|
|
3103
3103
|
channel_id?: string | undefined;
|
|
3104
|
-
|
|
3104
|
+
channel_type?: string | undefined;
|
|
3105
3105
|
}[] | undefined;
|
|
3106
3106
|
} & {
|
|
3107
3107
|
notifications?: ({
|
|
@@ -3114,7 +3114,7 @@ export declare const Envelope: {
|
|
|
3114
3114
|
persistent?: boolean | undefined;
|
|
3115
3115
|
clan_id?: string | undefined;
|
|
3116
3116
|
channel_id?: string | undefined;
|
|
3117
|
-
|
|
3117
|
+
channel_type?: string | undefined;
|
|
3118
3118
|
}[] & ({
|
|
3119
3119
|
id?: string | undefined;
|
|
3120
3120
|
subject?: string | undefined;
|
|
@@ -3125,7 +3125,7 @@ export declare const Envelope: {
|
|
|
3125
3125
|
persistent?: boolean | undefined;
|
|
3126
3126
|
clan_id?: string | undefined;
|
|
3127
3127
|
channel_id?: string | undefined;
|
|
3128
|
-
|
|
3128
|
+
channel_type?: string | undefined;
|
|
3129
3129
|
} & {
|
|
3130
3130
|
id?: string | undefined;
|
|
3131
3131
|
subject?: string | undefined;
|
|
@@ -3136,7 +3136,7 @@ export declare const Envelope: {
|
|
|
3136
3136
|
persistent?: boolean | undefined;
|
|
3137
3137
|
clan_id?: string | undefined;
|
|
3138
3138
|
channel_id?: string | undefined;
|
|
3139
|
-
|
|
3139
|
+
channel_type?: string | undefined;
|
|
3140
3140
|
} & { [K_115 in Exclude<keyof I_1["notifications"]["notifications"][number], keyof Notification>]: never; })[] & { [K_116 in Exclude<keyof I_1["notifications"]["notifications"], keyof {
|
|
3141
3141
|
id?: string | undefined;
|
|
3142
3142
|
subject?: string | undefined;
|
|
@@ -3147,7 +3147,7 @@ export declare const Envelope: {
|
|
|
3147
3147
|
persistent?: boolean | undefined;
|
|
3148
3148
|
clan_id?: string | undefined;
|
|
3149
3149
|
channel_id?: string | undefined;
|
|
3150
|
-
|
|
3150
|
+
channel_type?: string | undefined;
|
|
3151
3151
|
}[]>]: never; }) | undefined;
|
|
3152
3152
|
} & { [K_117 in Exclude<keyof I_1["notifications"], "notifications">]: never; }) | undefined;
|
|
3153
3153
|
rpc?: ({
|
|
@@ -4736,7 +4736,7 @@ export declare const Notifications: {
|
|
|
4736
4736
|
persistent?: boolean | undefined;
|
|
4737
4737
|
clan_id?: string | undefined;
|
|
4738
4738
|
channel_id?: string | undefined;
|
|
4739
|
-
|
|
4739
|
+
channel_type?: string | undefined;
|
|
4740
4740
|
}[] | undefined;
|
|
4741
4741
|
} & {
|
|
4742
4742
|
notifications?: ({
|
|
@@ -4749,7 +4749,7 @@ export declare const Notifications: {
|
|
|
4749
4749
|
persistent?: boolean | undefined;
|
|
4750
4750
|
clan_id?: string | undefined;
|
|
4751
4751
|
channel_id?: string | undefined;
|
|
4752
|
-
|
|
4752
|
+
channel_type?: string | undefined;
|
|
4753
4753
|
}[] & ({
|
|
4754
4754
|
id?: string | undefined;
|
|
4755
4755
|
subject?: string | undefined;
|
|
@@ -4760,7 +4760,7 @@ export declare const Notifications: {
|
|
|
4760
4760
|
persistent?: boolean | undefined;
|
|
4761
4761
|
clan_id?: string | undefined;
|
|
4762
4762
|
channel_id?: string | undefined;
|
|
4763
|
-
|
|
4763
|
+
channel_type?: string | undefined;
|
|
4764
4764
|
} & {
|
|
4765
4765
|
id?: string | undefined;
|
|
4766
4766
|
subject?: string | undefined;
|
|
@@ -4771,7 +4771,7 @@ export declare const Notifications: {
|
|
|
4771
4771
|
persistent?: boolean | undefined;
|
|
4772
4772
|
clan_id?: string | undefined;
|
|
4773
4773
|
channel_id?: string | undefined;
|
|
4774
|
-
|
|
4774
|
+
channel_type?: string | undefined;
|
|
4775
4775
|
} & { [K in Exclude<keyof I["notifications"][number], keyof Notification>]: never; })[] & { [K_1 in Exclude<keyof I["notifications"], keyof {
|
|
4776
4776
|
id?: string | undefined;
|
|
4777
4777
|
subject?: string | undefined;
|
|
@@ -4782,7 +4782,7 @@ export declare const Notifications: {
|
|
|
4782
4782
|
persistent?: boolean | undefined;
|
|
4783
4783
|
clan_id?: string | undefined;
|
|
4784
4784
|
channel_id?: string | undefined;
|
|
4785
|
-
|
|
4785
|
+
channel_type?: string | undefined;
|
|
4786
4786
|
}[]>]: never; }) | undefined;
|
|
4787
4787
|
} & { [K_2 in Exclude<keyof I, "notifications">]: never; }>(base?: I | undefined): Notifications;
|
|
4788
4788
|
fromPartial<I_1 extends {
|
|
@@ -4796,7 +4796,7 @@ export declare const Notifications: {
|
|
|
4796
4796
|
persistent?: boolean | undefined;
|
|
4797
4797
|
clan_id?: string | undefined;
|
|
4798
4798
|
channel_id?: string | undefined;
|
|
4799
|
-
|
|
4799
|
+
channel_type?: string | undefined;
|
|
4800
4800
|
}[] | undefined;
|
|
4801
4801
|
} & {
|
|
4802
4802
|
notifications?: ({
|
|
@@ -4809,7 +4809,7 @@ export declare const Notifications: {
|
|
|
4809
4809
|
persistent?: boolean | undefined;
|
|
4810
4810
|
clan_id?: string | undefined;
|
|
4811
4811
|
channel_id?: string | undefined;
|
|
4812
|
-
|
|
4812
|
+
channel_type?: string | undefined;
|
|
4813
4813
|
}[] & ({
|
|
4814
4814
|
id?: string | undefined;
|
|
4815
4815
|
subject?: string | undefined;
|
|
@@ -4820,7 +4820,7 @@ export declare const Notifications: {
|
|
|
4820
4820
|
persistent?: boolean | undefined;
|
|
4821
4821
|
clan_id?: string | undefined;
|
|
4822
4822
|
channel_id?: string | undefined;
|
|
4823
|
-
|
|
4823
|
+
channel_type?: string | undefined;
|
|
4824
4824
|
} & {
|
|
4825
4825
|
id?: string | undefined;
|
|
4826
4826
|
subject?: string | undefined;
|
|
@@ -4831,7 +4831,7 @@ export declare const Notifications: {
|
|
|
4831
4831
|
persistent?: boolean | undefined;
|
|
4832
4832
|
clan_id?: string | undefined;
|
|
4833
4833
|
channel_id?: string | undefined;
|
|
4834
|
-
|
|
4834
|
+
channel_type?: string | undefined;
|
|
4835
4835
|
} & { [K_3 in Exclude<keyof I_1["notifications"][number], keyof Notification>]: never; })[] & { [K_4 in Exclude<keyof I_1["notifications"], keyof {
|
|
4836
4836
|
id?: string | undefined;
|
|
4837
4837
|
subject?: string | undefined;
|
|
@@ -4842,7 +4842,7 @@ export declare const Notifications: {
|
|
|
4842
4842
|
persistent?: boolean | undefined;
|
|
4843
4843
|
clan_id?: string | undefined;
|
|
4844
4844
|
channel_id?: string | undefined;
|
|
4845
|
-
|
|
4845
|
+
channel_type?: string | undefined;
|
|
4846
4846
|
}[]>]: never; }) | undefined;
|
|
4847
4847
|
} & { [K_5 in Exclude<keyof I_1, "notifications">]: never; }>(object: I_1): Notifications;
|
|
4848
4848
|
};
|