mezon-js-protobuf 1.8.90 → 1.8.91
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 +41 -43
- package/dist/mezon-js/api/api.d.ts +21 -255
- package/dist/mezon-js-protobuf/api/api.d.ts +21 -255
- package/package.json +1 -1
package/api/api.ts
CHANGED
|
@@ -2270,7 +2270,7 @@ export interface SearchMessageDocument {
|
|
|
2270
2270
|
/** Reactions */
|
|
2271
2271
|
reactions: string;
|
|
2272
2272
|
/** Attachment */
|
|
2273
|
-
attachments:
|
|
2273
|
+
attachments: string;
|
|
2274
2274
|
/** Reference users */
|
|
2275
2275
|
references: string;
|
|
2276
2276
|
/** Message create time */
|
|
@@ -22751,14 +22751,14 @@ export const FilterParam = {
|
|
|
22751
22751
|
|
|
22752
22752
|
function createBaseSearchMessageDocument(): SearchMessageDocument {
|
|
22753
22753
|
return {
|
|
22754
|
-
message_id: "
|
|
22755
|
-
channel_id: "
|
|
22756
|
-
clan_id: "
|
|
22757
|
-
sender_id: "
|
|
22754
|
+
message_id: "",
|
|
22755
|
+
channel_id: "",
|
|
22756
|
+
clan_id: "",
|
|
22757
|
+
sender_id: "",
|
|
22758
22758
|
content: "",
|
|
22759
22759
|
mentions: "",
|
|
22760
22760
|
reactions: "",
|
|
22761
|
-
attachments:
|
|
22761
|
+
attachments: "",
|
|
22762
22762
|
references: "",
|
|
22763
22763
|
create_time: "",
|
|
22764
22764
|
update_time: "",
|
|
@@ -22773,17 +22773,17 @@ function createBaseSearchMessageDocument(): SearchMessageDocument {
|
|
|
22773
22773
|
|
|
22774
22774
|
export const SearchMessageDocument = {
|
|
22775
22775
|
encode(message: SearchMessageDocument, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer {
|
|
22776
|
-
if (message.message_id !== "
|
|
22777
|
-
writer.uint32(
|
|
22776
|
+
if (message.message_id !== "") {
|
|
22777
|
+
writer.uint32(10).string(message.message_id);
|
|
22778
22778
|
}
|
|
22779
|
-
if (message.channel_id !== "
|
|
22780
|
-
writer.uint32(
|
|
22779
|
+
if (message.channel_id !== "") {
|
|
22780
|
+
writer.uint32(18).string(message.channel_id);
|
|
22781
22781
|
}
|
|
22782
|
-
if (message.clan_id !== "
|
|
22783
|
-
writer.uint32(
|
|
22782
|
+
if (message.clan_id !== "") {
|
|
22783
|
+
writer.uint32(26).string(message.clan_id);
|
|
22784
22784
|
}
|
|
22785
|
-
if (message.sender_id !== "
|
|
22786
|
-
writer.uint32(
|
|
22785
|
+
if (message.sender_id !== "") {
|
|
22786
|
+
writer.uint32(34).string(message.sender_id);
|
|
22787
22787
|
}
|
|
22788
22788
|
if (message.content !== "") {
|
|
22789
22789
|
writer.uint32(42).string(message.content);
|
|
@@ -22794,8 +22794,8 @@ export const SearchMessageDocument = {
|
|
|
22794
22794
|
if (message.reactions !== "") {
|
|
22795
22795
|
writer.uint32(58).string(message.reactions);
|
|
22796
22796
|
}
|
|
22797
|
-
|
|
22798
|
-
|
|
22797
|
+
if (message.attachments !== "") {
|
|
22798
|
+
writer.uint32(66).string(message.attachments);
|
|
22799
22799
|
}
|
|
22800
22800
|
if (message.references !== "") {
|
|
22801
22801
|
writer.uint32(74).string(message.references);
|
|
@@ -22835,32 +22835,32 @@ export const SearchMessageDocument = {
|
|
|
22835
22835
|
const tag = reader.uint32();
|
|
22836
22836
|
switch (tag >>> 3) {
|
|
22837
22837
|
case 1:
|
|
22838
|
-
if (tag !==
|
|
22838
|
+
if (tag !== 10) {
|
|
22839
22839
|
break;
|
|
22840
22840
|
}
|
|
22841
22841
|
|
|
22842
|
-
message.message_id =
|
|
22842
|
+
message.message_id = reader.string();
|
|
22843
22843
|
continue;
|
|
22844
22844
|
case 2:
|
|
22845
|
-
if (tag !==
|
|
22845
|
+
if (tag !== 18) {
|
|
22846
22846
|
break;
|
|
22847
22847
|
}
|
|
22848
22848
|
|
|
22849
|
-
message.channel_id =
|
|
22849
|
+
message.channel_id = reader.string();
|
|
22850
22850
|
continue;
|
|
22851
22851
|
case 3:
|
|
22852
|
-
if (tag !==
|
|
22852
|
+
if (tag !== 26) {
|
|
22853
22853
|
break;
|
|
22854
22854
|
}
|
|
22855
22855
|
|
|
22856
|
-
message.clan_id =
|
|
22856
|
+
message.clan_id = reader.string();
|
|
22857
22857
|
continue;
|
|
22858
22858
|
case 4:
|
|
22859
|
-
if (tag !==
|
|
22859
|
+
if (tag !== 34) {
|
|
22860
22860
|
break;
|
|
22861
22861
|
}
|
|
22862
22862
|
|
|
22863
|
-
message.sender_id =
|
|
22863
|
+
message.sender_id = reader.string();
|
|
22864
22864
|
continue;
|
|
22865
22865
|
case 5:
|
|
22866
22866
|
if (tag !== 42) {
|
|
@@ -22888,7 +22888,7 @@ export const SearchMessageDocument = {
|
|
|
22888
22888
|
break;
|
|
22889
22889
|
}
|
|
22890
22890
|
|
|
22891
|
-
message.attachments
|
|
22891
|
+
message.attachments = reader.string();
|
|
22892
22892
|
continue;
|
|
22893
22893
|
case 9:
|
|
22894
22894
|
if (tag !== 74) {
|
|
@@ -22964,16 +22964,14 @@ export const SearchMessageDocument = {
|
|
|
22964
22964
|
|
|
22965
22965
|
fromJSON(object: any): SearchMessageDocument {
|
|
22966
22966
|
return {
|
|
22967
|
-
message_id: isSet(object.message_id) ? globalThis.String(object.message_id) : "
|
|
22968
|
-
channel_id: isSet(object.channel_id) ? globalThis.String(object.channel_id) : "
|
|
22969
|
-
clan_id: isSet(object.clan_id) ? globalThis.String(object.clan_id) : "
|
|
22970
|
-
sender_id: isSet(object.sender_id) ? globalThis.String(object.sender_id) : "
|
|
22967
|
+
message_id: isSet(object.message_id) ? globalThis.String(object.message_id) : "",
|
|
22968
|
+
channel_id: isSet(object.channel_id) ? globalThis.String(object.channel_id) : "",
|
|
22969
|
+
clan_id: isSet(object.clan_id) ? globalThis.String(object.clan_id) : "",
|
|
22970
|
+
sender_id: isSet(object.sender_id) ? globalThis.String(object.sender_id) : "",
|
|
22971
22971
|
content: isSet(object.content) ? globalThis.String(object.content) : "",
|
|
22972
22972
|
mentions: isSet(object.mentions) ? globalThis.String(object.mentions) : "",
|
|
22973
22973
|
reactions: isSet(object.reactions) ? globalThis.String(object.reactions) : "",
|
|
22974
|
-
attachments: globalThis.
|
|
22975
|
-
? object.attachments.map((e: any) => MessageAttachment.fromJSON(e))
|
|
22976
|
-
: [],
|
|
22974
|
+
attachments: isSet(object.attachments) ? globalThis.String(object.attachments) : "",
|
|
22977
22975
|
references: isSet(object.references) ? globalThis.String(object.references) : "",
|
|
22978
22976
|
create_time: isSet(object.create_time) ? globalThis.String(object.create_time) : "",
|
|
22979
22977
|
update_time: isSet(object.update_time) ? globalThis.String(object.update_time) : "",
|
|
@@ -22988,16 +22986,16 @@ export const SearchMessageDocument = {
|
|
|
22988
22986
|
|
|
22989
22987
|
toJSON(message: SearchMessageDocument): unknown {
|
|
22990
22988
|
const obj: any = {};
|
|
22991
|
-
if (message.message_id !== "
|
|
22989
|
+
if (message.message_id !== "") {
|
|
22992
22990
|
obj.message_id = message.message_id;
|
|
22993
22991
|
}
|
|
22994
|
-
if (message.channel_id !== "
|
|
22992
|
+
if (message.channel_id !== "") {
|
|
22995
22993
|
obj.channel_id = message.channel_id;
|
|
22996
22994
|
}
|
|
22997
|
-
if (message.clan_id !== "
|
|
22995
|
+
if (message.clan_id !== "") {
|
|
22998
22996
|
obj.clan_id = message.clan_id;
|
|
22999
22997
|
}
|
|
23000
|
-
if (message.sender_id !== "
|
|
22998
|
+
if (message.sender_id !== "") {
|
|
23001
22999
|
obj.sender_id = message.sender_id;
|
|
23002
23000
|
}
|
|
23003
23001
|
if (message.content !== "") {
|
|
@@ -23009,8 +23007,8 @@ export const SearchMessageDocument = {
|
|
|
23009
23007
|
if (message.reactions !== "") {
|
|
23010
23008
|
obj.reactions = message.reactions;
|
|
23011
23009
|
}
|
|
23012
|
-
if (message.attachments
|
|
23013
|
-
obj.attachments = message.attachments
|
|
23010
|
+
if (message.attachments !== "") {
|
|
23011
|
+
obj.attachments = message.attachments;
|
|
23014
23012
|
}
|
|
23015
23013
|
if (message.references !== "") {
|
|
23016
23014
|
obj.references = message.references;
|
|
@@ -23047,14 +23045,14 @@ export const SearchMessageDocument = {
|
|
|
23047
23045
|
},
|
|
23048
23046
|
fromPartial<I extends Exact<DeepPartial<SearchMessageDocument>, I>>(object: I): SearchMessageDocument {
|
|
23049
23047
|
const message = createBaseSearchMessageDocument();
|
|
23050
|
-
message.message_id = object.message_id ?? "
|
|
23051
|
-
message.channel_id = object.channel_id ?? "
|
|
23052
|
-
message.clan_id = object.clan_id ?? "
|
|
23053
|
-
message.sender_id = object.sender_id ?? "
|
|
23048
|
+
message.message_id = object.message_id ?? "";
|
|
23049
|
+
message.channel_id = object.channel_id ?? "";
|
|
23050
|
+
message.clan_id = object.clan_id ?? "";
|
|
23051
|
+
message.sender_id = object.sender_id ?? "";
|
|
23054
23052
|
message.content = object.content ?? "";
|
|
23055
23053
|
message.mentions = object.mentions ?? "";
|
|
23056
23054
|
message.reactions = object.reactions ?? "";
|
|
23057
|
-
message.attachments = object.attachments
|
|
23055
|
+
message.attachments = object.attachments ?? "";
|
|
23058
23056
|
message.references = object.references ?? "";
|
|
23059
23057
|
message.create_time = object.create_time ?? "";
|
|
23060
23058
|
message.update_time = object.update_time ?? "";
|
|
@@ -1845,7 +1845,7 @@ export interface SearchMessageDocument {
|
|
|
1845
1845
|
/** Reactions */
|
|
1846
1846
|
reactions: string;
|
|
1847
1847
|
/** Attachment */
|
|
1848
|
-
attachments:
|
|
1848
|
+
attachments: string;
|
|
1849
1849
|
/** Reference users */
|
|
1850
1850
|
references: string;
|
|
1851
1851
|
/** Message create time */
|
|
@@ -14406,16 +14406,7 @@ export declare const SearchMessageDocument: {
|
|
|
14406
14406
|
content?: string | undefined;
|
|
14407
14407
|
mentions?: string | undefined;
|
|
14408
14408
|
reactions?: string | undefined;
|
|
14409
|
-
attachments?:
|
|
14410
|
-
filename?: string | undefined;
|
|
14411
|
-
size?: number | undefined;
|
|
14412
|
-
url?: string | undefined;
|
|
14413
|
-
filetype?: string | undefined;
|
|
14414
|
-
width?: number | undefined;
|
|
14415
|
-
height?: number | undefined;
|
|
14416
|
-
thumbnail?: string | undefined;
|
|
14417
|
-
duration?: number | undefined;
|
|
14418
|
-
}[] | undefined;
|
|
14409
|
+
attachments?: string | undefined;
|
|
14419
14410
|
references?: string | undefined;
|
|
14420
14411
|
create_time?: string | undefined;
|
|
14421
14412
|
update_time?: string | undefined;
|
|
@@ -14433,43 +14424,7 @@ export declare const SearchMessageDocument: {
|
|
|
14433
14424
|
content?: string | undefined;
|
|
14434
14425
|
mentions?: string | undefined;
|
|
14435
14426
|
reactions?: string | undefined;
|
|
14436
|
-
attachments?:
|
|
14437
|
-
filename?: string | undefined;
|
|
14438
|
-
size?: number | undefined;
|
|
14439
|
-
url?: string | undefined;
|
|
14440
|
-
filetype?: string | undefined;
|
|
14441
|
-
width?: number | undefined;
|
|
14442
|
-
height?: number | undefined;
|
|
14443
|
-
thumbnail?: string | undefined;
|
|
14444
|
-
duration?: number | undefined;
|
|
14445
|
-
}[] & ({
|
|
14446
|
-
filename?: string | undefined;
|
|
14447
|
-
size?: number | undefined;
|
|
14448
|
-
url?: string | undefined;
|
|
14449
|
-
filetype?: string | undefined;
|
|
14450
|
-
width?: number | undefined;
|
|
14451
|
-
height?: number | undefined;
|
|
14452
|
-
thumbnail?: string | undefined;
|
|
14453
|
-
duration?: number | undefined;
|
|
14454
|
-
} & {
|
|
14455
|
-
filename?: string | undefined;
|
|
14456
|
-
size?: number | undefined;
|
|
14457
|
-
url?: string | undefined;
|
|
14458
|
-
filetype?: string | undefined;
|
|
14459
|
-
width?: number | undefined;
|
|
14460
|
-
height?: number | undefined;
|
|
14461
|
-
thumbnail?: string | undefined;
|
|
14462
|
-
duration?: number | undefined;
|
|
14463
|
-
} & { [K in Exclude<keyof I["attachments"][number], keyof MessageAttachment>]: never; })[] & { [K_1 in Exclude<keyof I["attachments"], keyof {
|
|
14464
|
-
filename?: string | undefined;
|
|
14465
|
-
size?: number | undefined;
|
|
14466
|
-
url?: string | undefined;
|
|
14467
|
-
filetype?: string | undefined;
|
|
14468
|
-
width?: number | undefined;
|
|
14469
|
-
height?: number | undefined;
|
|
14470
|
-
thumbnail?: string | undefined;
|
|
14471
|
-
duration?: number | undefined;
|
|
14472
|
-
}[]>]: never; }) | undefined;
|
|
14427
|
+
attachments?: string | undefined;
|
|
14473
14428
|
references?: string | undefined;
|
|
14474
14429
|
create_time?: string | undefined;
|
|
14475
14430
|
update_time?: string | undefined;
|
|
@@ -14479,7 +14434,7 @@ export declare const SearchMessageDocument: {
|
|
|
14479
14434
|
username?: string | undefined;
|
|
14480
14435
|
display_name?: string | undefined;
|
|
14481
14436
|
avatar_url?: string | undefined;
|
|
14482
|
-
} & { [
|
|
14437
|
+
} & { [K in Exclude<keyof I, keyof SearchMessageDocument>]: never; }>(base?: I | undefined): SearchMessageDocument;
|
|
14483
14438
|
fromPartial<I_1 extends {
|
|
14484
14439
|
message_id?: string | undefined;
|
|
14485
14440
|
channel_id?: string | undefined;
|
|
@@ -14488,16 +14443,7 @@ export declare const SearchMessageDocument: {
|
|
|
14488
14443
|
content?: string | undefined;
|
|
14489
14444
|
mentions?: string | undefined;
|
|
14490
14445
|
reactions?: string | undefined;
|
|
14491
|
-
attachments?:
|
|
14492
|
-
filename?: string | undefined;
|
|
14493
|
-
size?: number | undefined;
|
|
14494
|
-
url?: string | undefined;
|
|
14495
|
-
filetype?: string | undefined;
|
|
14496
|
-
width?: number | undefined;
|
|
14497
|
-
height?: number | undefined;
|
|
14498
|
-
thumbnail?: string | undefined;
|
|
14499
|
-
duration?: number | undefined;
|
|
14500
|
-
}[] | undefined;
|
|
14446
|
+
attachments?: string | undefined;
|
|
14501
14447
|
references?: string | undefined;
|
|
14502
14448
|
create_time?: string | undefined;
|
|
14503
14449
|
update_time?: string | undefined;
|
|
@@ -14515,43 +14461,7 @@ export declare const SearchMessageDocument: {
|
|
|
14515
14461
|
content?: string | undefined;
|
|
14516
14462
|
mentions?: string | undefined;
|
|
14517
14463
|
reactions?: string | undefined;
|
|
14518
|
-
attachments?:
|
|
14519
|
-
filename?: string | undefined;
|
|
14520
|
-
size?: number | undefined;
|
|
14521
|
-
url?: string | undefined;
|
|
14522
|
-
filetype?: string | undefined;
|
|
14523
|
-
width?: number | undefined;
|
|
14524
|
-
height?: number | undefined;
|
|
14525
|
-
thumbnail?: string | undefined;
|
|
14526
|
-
duration?: number | undefined;
|
|
14527
|
-
}[] & ({
|
|
14528
|
-
filename?: string | undefined;
|
|
14529
|
-
size?: number | undefined;
|
|
14530
|
-
url?: string | undefined;
|
|
14531
|
-
filetype?: string | undefined;
|
|
14532
|
-
width?: number | undefined;
|
|
14533
|
-
height?: number | undefined;
|
|
14534
|
-
thumbnail?: string | undefined;
|
|
14535
|
-
duration?: number | undefined;
|
|
14536
|
-
} & {
|
|
14537
|
-
filename?: string | undefined;
|
|
14538
|
-
size?: number | undefined;
|
|
14539
|
-
url?: string | undefined;
|
|
14540
|
-
filetype?: string | undefined;
|
|
14541
|
-
width?: number | undefined;
|
|
14542
|
-
height?: number | undefined;
|
|
14543
|
-
thumbnail?: string | undefined;
|
|
14544
|
-
duration?: number | undefined;
|
|
14545
|
-
} & { [K_3 in Exclude<keyof I_1["attachments"][number], keyof MessageAttachment>]: never; })[] & { [K_4 in Exclude<keyof I_1["attachments"], keyof {
|
|
14546
|
-
filename?: string | undefined;
|
|
14547
|
-
size?: number | undefined;
|
|
14548
|
-
url?: string | undefined;
|
|
14549
|
-
filetype?: string | undefined;
|
|
14550
|
-
width?: number | undefined;
|
|
14551
|
-
height?: number | undefined;
|
|
14552
|
-
thumbnail?: string | undefined;
|
|
14553
|
-
duration?: number | undefined;
|
|
14554
|
-
}[]>]: never; }) | undefined;
|
|
14464
|
+
attachments?: string | undefined;
|
|
14555
14465
|
references?: string | undefined;
|
|
14556
14466
|
create_time?: string | undefined;
|
|
14557
14467
|
update_time?: string | undefined;
|
|
@@ -14561,7 +14471,7 @@ export declare const SearchMessageDocument: {
|
|
|
14561
14471
|
username?: string | undefined;
|
|
14562
14472
|
display_name?: string | undefined;
|
|
14563
14473
|
avatar_url?: string | undefined;
|
|
14564
|
-
} & { [
|
|
14474
|
+
} & { [K_1 in Exclude<keyof I_1, keyof SearchMessageDocument>]: never; }>(object: I_1): SearchMessageDocument;
|
|
14565
14475
|
};
|
|
14566
14476
|
export declare const SearchMessageResponse: {
|
|
14567
14477
|
encode(message: SearchMessageResponse, writer?: _m0.Writer): _m0.Writer;
|
|
@@ -14577,16 +14487,7 @@ export declare const SearchMessageResponse: {
|
|
|
14577
14487
|
content?: string | undefined;
|
|
14578
14488
|
mentions?: string | undefined;
|
|
14579
14489
|
reactions?: string | undefined;
|
|
14580
|
-
attachments?:
|
|
14581
|
-
filename?: string | undefined;
|
|
14582
|
-
size?: number | undefined;
|
|
14583
|
-
url?: string | undefined;
|
|
14584
|
-
filetype?: string | undefined;
|
|
14585
|
-
width?: number | undefined;
|
|
14586
|
-
height?: number | undefined;
|
|
14587
|
-
thumbnail?: string | undefined;
|
|
14588
|
-
duration?: number | undefined;
|
|
14589
|
-
}[] | undefined;
|
|
14490
|
+
attachments?: string | undefined;
|
|
14590
14491
|
references?: string | undefined;
|
|
14591
14492
|
create_time?: string | undefined;
|
|
14592
14493
|
update_time?: string | undefined;
|
|
@@ -14607,16 +14508,7 @@ export declare const SearchMessageResponse: {
|
|
|
14607
14508
|
content?: string | undefined;
|
|
14608
14509
|
mentions?: string | undefined;
|
|
14609
14510
|
reactions?: string | undefined;
|
|
14610
|
-
attachments?:
|
|
14611
|
-
filename?: string | undefined;
|
|
14612
|
-
size?: number | undefined;
|
|
14613
|
-
url?: string | undefined;
|
|
14614
|
-
filetype?: string | undefined;
|
|
14615
|
-
width?: number | undefined;
|
|
14616
|
-
height?: number | undefined;
|
|
14617
|
-
thumbnail?: string | undefined;
|
|
14618
|
-
duration?: number | undefined;
|
|
14619
|
-
}[] | undefined;
|
|
14511
|
+
attachments?: string | undefined;
|
|
14620
14512
|
references?: string | undefined;
|
|
14621
14513
|
create_time?: string | undefined;
|
|
14622
14514
|
update_time?: string | undefined;
|
|
@@ -14634,16 +14526,7 @@ export declare const SearchMessageResponse: {
|
|
|
14634
14526
|
content?: string | undefined;
|
|
14635
14527
|
mentions?: string | undefined;
|
|
14636
14528
|
reactions?: string | undefined;
|
|
14637
|
-
attachments?:
|
|
14638
|
-
filename?: string | undefined;
|
|
14639
|
-
size?: number | undefined;
|
|
14640
|
-
url?: string | undefined;
|
|
14641
|
-
filetype?: string | undefined;
|
|
14642
|
-
width?: number | undefined;
|
|
14643
|
-
height?: number | undefined;
|
|
14644
|
-
thumbnail?: string | undefined;
|
|
14645
|
-
duration?: number | undefined;
|
|
14646
|
-
}[] | undefined;
|
|
14529
|
+
attachments?: string | undefined;
|
|
14647
14530
|
references?: string | undefined;
|
|
14648
14531
|
create_time?: string | undefined;
|
|
14649
14532
|
update_time?: string | undefined;
|
|
@@ -14661,43 +14544,7 @@ export declare const SearchMessageResponse: {
|
|
|
14661
14544
|
content?: string | undefined;
|
|
14662
14545
|
mentions?: string | undefined;
|
|
14663
14546
|
reactions?: string | undefined;
|
|
14664
|
-
attachments?:
|
|
14665
|
-
filename?: string | undefined;
|
|
14666
|
-
size?: number | undefined;
|
|
14667
|
-
url?: string | undefined;
|
|
14668
|
-
filetype?: string | undefined;
|
|
14669
|
-
width?: number | undefined;
|
|
14670
|
-
height?: number | undefined;
|
|
14671
|
-
thumbnail?: string | undefined;
|
|
14672
|
-
duration?: number | undefined;
|
|
14673
|
-
}[] & ({
|
|
14674
|
-
filename?: string | undefined;
|
|
14675
|
-
size?: number | undefined;
|
|
14676
|
-
url?: string | undefined;
|
|
14677
|
-
filetype?: string | undefined;
|
|
14678
|
-
width?: number | undefined;
|
|
14679
|
-
height?: number | undefined;
|
|
14680
|
-
thumbnail?: string | undefined;
|
|
14681
|
-
duration?: number | undefined;
|
|
14682
|
-
} & {
|
|
14683
|
-
filename?: string | undefined;
|
|
14684
|
-
size?: number | undefined;
|
|
14685
|
-
url?: string | undefined;
|
|
14686
|
-
filetype?: string | undefined;
|
|
14687
|
-
width?: number | undefined;
|
|
14688
|
-
height?: number | undefined;
|
|
14689
|
-
thumbnail?: string | undefined;
|
|
14690
|
-
duration?: number | undefined;
|
|
14691
|
-
} & { [K in Exclude<keyof I["messages"][number]["attachments"][number], keyof MessageAttachment>]: never; })[] & { [K_1 in Exclude<keyof I["messages"][number]["attachments"], keyof {
|
|
14692
|
-
filename?: string | undefined;
|
|
14693
|
-
size?: number | undefined;
|
|
14694
|
-
url?: string | undefined;
|
|
14695
|
-
filetype?: string | undefined;
|
|
14696
|
-
width?: number | undefined;
|
|
14697
|
-
height?: number | undefined;
|
|
14698
|
-
thumbnail?: string | undefined;
|
|
14699
|
-
duration?: number | undefined;
|
|
14700
|
-
}[]>]: never; }) | undefined;
|
|
14547
|
+
attachments?: string | undefined;
|
|
14701
14548
|
references?: string | undefined;
|
|
14702
14549
|
create_time?: string | undefined;
|
|
14703
14550
|
update_time?: string | undefined;
|
|
@@ -14707,7 +14554,7 @@ export declare const SearchMessageResponse: {
|
|
|
14707
14554
|
username?: string | undefined;
|
|
14708
14555
|
display_name?: string | undefined;
|
|
14709
14556
|
avatar_url?: string | undefined;
|
|
14710
|
-
} & { [
|
|
14557
|
+
} & { [K in Exclude<keyof I["messages"][number], keyof SearchMessageDocument>]: never; })[] & { [K_1 in Exclude<keyof I["messages"], keyof {
|
|
14711
14558
|
message_id?: string | undefined;
|
|
14712
14559
|
channel_id?: string | undefined;
|
|
14713
14560
|
clan_id?: string | undefined;
|
|
@@ -14715,16 +14562,7 @@ export declare const SearchMessageResponse: {
|
|
|
14715
14562
|
content?: string | undefined;
|
|
14716
14563
|
mentions?: string | undefined;
|
|
14717
14564
|
reactions?: string | undefined;
|
|
14718
|
-
attachments?:
|
|
14719
|
-
filename?: string | undefined;
|
|
14720
|
-
size?: number | undefined;
|
|
14721
|
-
url?: string | undefined;
|
|
14722
|
-
filetype?: string | undefined;
|
|
14723
|
-
width?: number | undefined;
|
|
14724
|
-
height?: number | undefined;
|
|
14725
|
-
thumbnail?: string | undefined;
|
|
14726
|
-
duration?: number | undefined;
|
|
14727
|
-
}[] | undefined;
|
|
14565
|
+
attachments?: string | undefined;
|
|
14728
14566
|
references?: string | undefined;
|
|
14729
14567
|
create_time?: string | undefined;
|
|
14730
14568
|
update_time?: string | undefined;
|
|
@@ -14736,7 +14574,7 @@ export declare const SearchMessageResponse: {
|
|
|
14736
14574
|
avatar_url?: string | undefined;
|
|
14737
14575
|
}[]>]: never; }) | undefined;
|
|
14738
14576
|
total?: number | undefined;
|
|
14739
|
-
} & { [
|
|
14577
|
+
} & { [K_2 in Exclude<keyof I, keyof SearchMessageResponse>]: never; }>(base?: I | undefined): SearchMessageResponse;
|
|
14740
14578
|
fromPartial<I_1 extends {
|
|
14741
14579
|
messages?: {
|
|
14742
14580
|
message_id?: string | undefined;
|
|
@@ -14746,16 +14584,7 @@ export declare const SearchMessageResponse: {
|
|
|
14746
14584
|
content?: string | undefined;
|
|
14747
14585
|
mentions?: string | undefined;
|
|
14748
14586
|
reactions?: string | undefined;
|
|
14749
|
-
attachments?:
|
|
14750
|
-
filename?: string | undefined;
|
|
14751
|
-
size?: number | undefined;
|
|
14752
|
-
url?: string | undefined;
|
|
14753
|
-
filetype?: string | undefined;
|
|
14754
|
-
width?: number | undefined;
|
|
14755
|
-
height?: number | undefined;
|
|
14756
|
-
thumbnail?: string | undefined;
|
|
14757
|
-
duration?: number | undefined;
|
|
14758
|
-
}[] | undefined;
|
|
14587
|
+
attachments?: string | undefined;
|
|
14759
14588
|
references?: string | undefined;
|
|
14760
14589
|
create_time?: string | undefined;
|
|
14761
14590
|
update_time?: string | undefined;
|
|
@@ -14776,16 +14605,7 @@ export declare const SearchMessageResponse: {
|
|
|
14776
14605
|
content?: string | undefined;
|
|
14777
14606
|
mentions?: string | undefined;
|
|
14778
14607
|
reactions?: string | undefined;
|
|
14779
|
-
attachments?:
|
|
14780
|
-
filename?: string | undefined;
|
|
14781
|
-
size?: number | undefined;
|
|
14782
|
-
url?: string | undefined;
|
|
14783
|
-
filetype?: string | undefined;
|
|
14784
|
-
width?: number | undefined;
|
|
14785
|
-
height?: number | undefined;
|
|
14786
|
-
thumbnail?: string | undefined;
|
|
14787
|
-
duration?: number | undefined;
|
|
14788
|
-
}[] | undefined;
|
|
14608
|
+
attachments?: string | undefined;
|
|
14789
14609
|
references?: string | undefined;
|
|
14790
14610
|
create_time?: string | undefined;
|
|
14791
14611
|
update_time?: string | undefined;
|
|
@@ -14803,16 +14623,7 @@ export declare const SearchMessageResponse: {
|
|
|
14803
14623
|
content?: string | undefined;
|
|
14804
14624
|
mentions?: string | undefined;
|
|
14805
14625
|
reactions?: string | undefined;
|
|
14806
|
-
attachments?:
|
|
14807
|
-
filename?: string | undefined;
|
|
14808
|
-
size?: number | undefined;
|
|
14809
|
-
url?: string | undefined;
|
|
14810
|
-
filetype?: string | undefined;
|
|
14811
|
-
width?: number | undefined;
|
|
14812
|
-
height?: number | undefined;
|
|
14813
|
-
thumbnail?: string | undefined;
|
|
14814
|
-
duration?: number | undefined;
|
|
14815
|
-
}[] | undefined;
|
|
14626
|
+
attachments?: string | undefined;
|
|
14816
14627
|
references?: string | undefined;
|
|
14817
14628
|
create_time?: string | undefined;
|
|
14818
14629
|
update_time?: string | undefined;
|
|
@@ -14830,43 +14641,7 @@ export declare const SearchMessageResponse: {
|
|
|
14830
14641
|
content?: string | undefined;
|
|
14831
14642
|
mentions?: string | undefined;
|
|
14832
14643
|
reactions?: string | undefined;
|
|
14833
|
-
attachments?:
|
|
14834
|
-
filename?: string | undefined;
|
|
14835
|
-
size?: number | undefined;
|
|
14836
|
-
url?: string | undefined;
|
|
14837
|
-
filetype?: string | undefined;
|
|
14838
|
-
width?: number | undefined;
|
|
14839
|
-
height?: number | undefined;
|
|
14840
|
-
thumbnail?: string | undefined;
|
|
14841
|
-
duration?: number | undefined;
|
|
14842
|
-
}[] & ({
|
|
14843
|
-
filename?: string | undefined;
|
|
14844
|
-
size?: number | undefined;
|
|
14845
|
-
url?: string | undefined;
|
|
14846
|
-
filetype?: string | undefined;
|
|
14847
|
-
width?: number | undefined;
|
|
14848
|
-
height?: number | undefined;
|
|
14849
|
-
thumbnail?: string | undefined;
|
|
14850
|
-
duration?: number | undefined;
|
|
14851
|
-
} & {
|
|
14852
|
-
filename?: string | undefined;
|
|
14853
|
-
size?: number | undefined;
|
|
14854
|
-
url?: string | undefined;
|
|
14855
|
-
filetype?: string | undefined;
|
|
14856
|
-
width?: number | undefined;
|
|
14857
|
-
height?: number | undefined;
|
|
14858
|
-
thumbnail?: string | undefined;
|
|
14859
|
-
duration?: number | undefined;
|
|
14860
|
-
} & { [K_5 in Exclude<keyof I_1["messages"][number]["attachments"][number], keyof MessageAttachment>]: never; })[] & { [K_6 in Exclude<keyof I_1["messages"][number]["attachments"], keyof {
|
|
14861
|
-
filename?: string | undefined;
|
|
14862
|
-
size?: number | undefined;
|
|
14863
|
-
url?: string | undefined;
|
|
14864
|
-
filetype?: string | undefined;
|
|
14865
|
-
width?: number | undefined;
|
|
14866
|
-
height?: number | undefined;
|
|
14867
|
-
thumbnail?: string | undefined;
|
|
14868
|
-
duration?: number | undefined;
|
|
14869
|
-
}[]>]: never; }) | undefined;
|
|
14644
|
+
attachments?: string | undefined;
|
|
14870
14645
|
references?: string | undefined;
|
|
14871
14646
|
create_time?: string | undefined;
|
|
14872
14647
|
update_time?: string | undefined;
|
|
@@ -14876,7 +14651,7 @@ export declare const SearchMessageResponse: {
|
|
|
14876
14651
|
username?: string | undefined;
|
|
14877
14652
|
display_name?: string | undefined;
|
|
14878
14653
|
avatar_url?: string | undefined;
|
|
14879
|
-
} & { [
|
|
14654
|
+
} & { [K_3 in Exclude<keyof I_1["messages"][number], keyof SearchMessageDocument>]: never; })[] & { [K_4 in Exclude<keyof I_1["messages"], keyof {
|
|
14880
14655
|
message_id?: string | undefined;
|
|
14881
14656
|
channel_id?: string | undefined;
|
|
14882
14657
|
clan_id?: string | undefined;
|
|
@@ -14884,16 +14659,7 @@ export declare const SearchMessageResponse: {
|
|
|
14884
14659
|
content?: string | undefined;
|
|
14885
14660
|
mentions?: string | undefined;
|
|
14886
14661
|
reactions?: string | undefined;
|
|
14887
|
-
attachments?:
|
|
14888
|
-
filename?: string | undefined;
|
|
14889
|
-
size?: number | undefined;
|
|
14890
|
-
url?: string | undefined;
|
|
14891
|
-
filetype?: string | undefined;
|
|
14892
|
-
width?: number | undefined;
|
|
14893
|
-
height?: number | undefined;
|
|
14894
|
-
thumbnail?: string | undefined;
|
|
14895
|
-
duration?: number | undefined;
|
|
14896
|
-
}[] | undefined;
|
|
14662
|
+
attachments?: string | undefined;
|
|
14897
14663
|
references?: string | undefined;
|
|
14898
14664
|
create_time?: string | undefined;
|
|
14899
14665
|
update_time?: string | undefined;
|
|
@@ -14905,7 +14671,7 @@ export declare const SearchMessageResponse: {
|
|
|
14905
14671
|
avatar_url?: string | undefined;
|
|
14906
14672
|
}[]>]: never; }) | undefined;
|
|
14907
14673
|
total?: number | undefined;
|
|
14908
|
-
} & { [
|
|
14674
|
+
} & { [K_5 in Exclude<keyof I_1, keyof SearchMessageResponse>]: never; }>(object: I_1): SearchMessageResponse;
|
|
14909
14675
|
};
|
|
14910
14676
|
export declare const RegistrationEmailRequest: {
|
|
14911
14677
|
encode(message: RegistrationEmailRequest, writer?: _m0.Writer): _m0.Writer;
|
|
@@ -1845,7 +1845,7 @@ export interface SearchMessageDocument {
|
|
|
1845
1845
|
/** Reactions */
|
|
1846
1846
|
reactions: string;
|
|
1847
1847
|
/** Attachment */
|
|
1848
|
-
attachments:
|
|
1848
|
+
attachments: string;
|
|
1849
1849
|
/** Reference users */
|
|
1850
1850
|
references: string;
|
|
1851
1851
|
/** Message create time */
|
|
@@ -14406,16 +14406,7 @@ export declare const SearchMessageDocument: {
|
|
|
14406
14406
|
content?: string | undefined;
|
|
14407
14407
|
mentions?: string | undefined;
|
|
14408
14408
|
reactions?: string | undefined;
|
|
14409
|
-
attachments?:
|
|
14410
|
-
filename?: string | undefined;
|
|
14411
|
-
size?: number | undefined;
|
|
14412
|
-
url?: string | undefined;
|
|
14413
|
-
filetype?: string | undefined;
|
|
14414
|
-
width?: number | undefined;
|
|
14415
|
-
height?: number | undefined;
|
|
14416
|
-
thumbnail?: string | undefined;
|
|
14417
|
-
duration?: number | undefined;
|
|
14418
|
-
}[] | undefined;
|
|
14409
|
+
attachments?: string | undefined;
|
|
14419
14410
|
references?: string | undefined;
|
|
14420
14411
|
create_time?: string | undefined;
|
|
14421
14412
|
update_time?: string | undefined;
|
|
@@ -14433,43 +14424,7 @@ export declare const SearchMessageDocument: {
|
|
|
14433
14424
|
content?: string | undefined;
|
|
14434
14425
|
mentions?: string | undefined;
|
|
14435
14426
|
reactions?: string | undefined;
|
|
14436
|
-
attachments?:
|
|
14437
|
-
filename?: string | undefined;
|
|
14438
|
-
size?: number | undefined;
|
|
14439
|
-
url?: string | undefined;
|
|
14440
|
-
filetype?: string | undefined;
|
|
14441
|
-
width?: number | undefined;
|
|
14442
|
-
height?: number | undefined;
|
|
14443
|
-
thumbnail?: string | undefined;
|
|
14444
|
-
duration?: number | undefined;
|
|
14445
|
-
}[] & ({
|
|
14446
|
-
filename?: string | undefined;
|
|
14447
|
-
size?: number | undefined;
|
|
14448
|
-
url?: string | undefined;
|
|
14449
|
-
filetype?: string | undefined;
|
|
14450
|
-
width?: number | undefined;
|
|
14451
|
-
height?: number | undefined;
|
|
14452
|
-
thumbnail?: string | undefined;
|
|
14453
|
-
duration?: number | undefined;
|
|
14454
|
-
} & {
|
|
14455
|
-
filename?: string | undefined;
|
|
14456
|
-
size?: number | undefined;
|
|
14457
|
-
url?: string | undefined;
|
|
14458
|
-
filetype?: string | undefined;
|
|
14459
|
-
width?: number | undefined;
|
|
14460
|
-
height?: number | undefined;
|
|
14461
|
-
thumbnail?: string | undefined;
|
|
14462
|
-
duration?: number | undefined;
|
|
14463
|
-
} & { [K in Exclude<keyof I["attachments"][number], keyof MessageAttachment>]: never; })[] & { [K_1 in Exclude<keyof I["attachments"], keyof {
|
|
14464
|
-
filename?: string | undefined;
|
|
14465
|
-
size?: number | undefined;
|
|
14466
|
-
url?: string | undefined;
|
|
14467
|
-
filetype?: string | undefined;
|
|
14468
|
-
width?: number | undefined;
|
|
14469
|
-
height?: number | undefined;
|
|
14470
|
-
thumbnail?: string | undefined;
|
|
14471
|
-
duration?: number | undefined;
|
|
14472
|
-
}[]>]: never; }) | undefined;
|
|
14427
|
+
attachments?: string | undefined;
|
|
14473
14428
|
references?: string | undefined;
|
|
14474
14429
|
create_time?: string | undefined;
|
|
14475
14430
|
update_time?: string | undefined;
|
|
@@ -14479,7 +14434,7 @@ export declare const SearchMessageDocument: {
|
|
|
14479
14434
|
username?: string | undefined;
|
|
14480
14435
|
display_name?: string | undefined;
|
|
14481
14436
|
avatar_url?: string | undefined;
|
|
14482
|
-
} & { [
|
|
14437
|
+
} & { [K in Exclude<keyof I, keyof SearchMessageDocument>]: never; }>(base?: I | undefined): SearchMessageDocument;
|
|
14483
14438
|
fromPartial<I_1 extends {
|
|
14484
14439
|
message_id?: string | undefined;
|
|
14485
14440
|
channel_id?: string | undefined;
|
|
@@ -14488,16 +14443,7 @@ export declare const SearchMessageDocument: {
|
|
|
14488
14443
|
content?: string | undefined;
|
|
14489
14444
|
mentions?: string | undefined;
|
|
14490
14445
|
reactions?: string | undefined;
|
|
14491
|
-
attachments?:
|
|
14492
|
-
filename?: string | undefined;
|
|
14493
|
-
size?: number | undefined;
|
|
14494
|
-
url?: string | undefined;
|
|
14495
|
-
filetype?: string | undefined;
|
|
14496
|
-
width?: number | undefined;
|
|
14497
|
-
height?: number | undefined;
|
|
14498
|
-
thumbnail?: string | undefined;
|
|
14499
|
-
duration?: number | undefined;
|
|
14500
|
-
}[] | undefined;
|
|
14446
|
+
attachments?: string | undefined;
|
|
14501
14447
|
references?: string | undefined;
|
|
14502
14448
|
create_time?: string | undefined;
|
|
14503
14449
|
update_time?: string | undefined;
|
|
@@ -14515,43 +14461,7 @@ export declare const SearchMessageDocument: {
|
|
|
14515
14461
|
content?: string | undefined;
|
|
14516
14462
|
mentions?: string | undefined;
|
|
14517
14463
|
reactions?: string | undefined;
|
|
14518
|
-
attachments?:
|
|
14519
|
-
filename?: string | undefined;
|
|
14520
|
-
size?: number | undefined;
|
|
14521
|
-
url?: string | undefined;
|
|
14522
|
-
filetype?: string | undefined;
|
|
14523
|
-
width?: number | undefined;
|
|
14524
|
-
height?: number | undefined;
|
|
14525
|
-
thumbnail?: string | undefined;
|
|
14526
|
-
duration?: number | undefined;
|
|
14527
|
-
}[] & ({
|
|
14528
|
-
filename?: string | undefined;
|
|
14529
|
-
size?: number | undefined;
|
|
14530
|
-
url?: string | undefined;
|
|
14531
|
-
filetype?: string | undefined;
|
|
14532
|
-
width?: number | undefined;
|
|
14533
|
-
height?: number | undefined;
|
|
14534
|
-
thumbnail?: string | undefined;
|
|
14535
|
-
duration?: number | undefined;
|
|
14536
|
-
} & {
|
|
14537
|
-
filename?: string | undefined;
|
|
14538
|
-
size?: number | undefined;
|
|
14539
|
-
url?: string | undefined;
|
|
14540
|
-
filetype?: string | undefined;
|
|
14541
|
-
width?: number | undefined;
|
|
14542
|
-
height?: number | undefined;
|
|
14543
|
-
thumbnail?: string | undefined;
|
|
14544
|
-
duration?: number | undefined;
|
|
14545
|
-
} & { [K_3 in Exclude<keyof I_1["attachments"][number], keyof MessageAttachment>]: never; })[] & { [K_4 in Exclude<keyof I_1["attachments"], keyof {
|
|
14546
|
-
filename?: string | undefined;
|
|
14547
|
-
size?: number | undefined;
|
|
14548
|
-
url?: string | undefined;
|
|
14549
|
-
filetype?: string | undefined;
|
|
14550
|
-
width?: number | undefined;
|
|
14551
|
-
height?: number | undefined;
|
|
14552
|
-
thumbnail?: string | undefined;
|
|
14553
|
-
duration?: number | undefined;
|
|
14554
|
-
}[]>]: never; }) | undefined;
|
|
14464
|
+
attachments?: string | undefined;
|
|
14555
14465
|
references?: string | undefined;
|
|
14556
14466
|
create_time?: string | undefined;
|
|
14557
14467
|
update_time?: string | undefined;
|
|
@@ -14561,7 +14471,7 @@ export declare const SearchMessageDocument: {
|
|
|
14561
14471
|
username?: string | undefined;
|
|
14562
14472
|
display_name?: string | undefined;
|
|
14563
14473
|
avatar_url?: string | undefined;
|
|
14564
|
-
} & { [
|
|
14474
|
+
} & { [K_1 in Exclude<keyof I_1, keyof SearchMessageDocument>]: never; }>(object: I_1): SearchMessageDocument;
|
|
14565
14475
|
};
|
|
14566
14476
|
export declare const SearchMessageResponse: {
|
|
14567
14477
|
encode(message: SearchMessageResponse, writer?: _m0.Writer): _m0.Writer;
|
|
@@ -14577,16 +14487,7 @@ export declare const SearchMessageResponse: {
|
|
|
14577
14487
|
content?: string | undefined;
|
|
14578
14488
|
mentions?: string | undefined;
|
|
14579
14489
|
reactions?: string | undefined;
|
|
14580
|
-
attachments?:
|
|
14581
|
-
filename?: string | undefined;
|
|
14582
|
-
size?: number | undefined;
|
|
14583
|
-
url?: string | undefined;
|
|
14584
|
-
filetype?: string | undefined;
|
|
14585
|
-
width?: number | undefined;
|
|
14586
|
-
height?: number | undefined;
|
|
14587
|
-
thumbnail?: string | undefined;
|
|
14588
|
-
duration?: number | undefined;
|
|
14589
|
-
}[] | undefined;
|
|
14490
|
+
attachments?: string | undefined;
|
|
14590
14491
|
references?: string | undefined;
|
|
14591
14492
|
create_time?: string | undefined;
|
|
14592
14493
|
update_time?: string | undefined;
|
|
@@ -14607,16 +14508,7 @@ export declare const SearchMessageResponse: {
|
|
|
14607
14508
|
content?: string | undefined;
|
|
14608
14509
|
mentions?: string | undefined;
|
|
14609
14510
|
reactions?: string | undefined;
|
|
14610
|
-
attachments?:
|
|
14611
|
-
filename?: string | undefined;
|
|
14612
|
-
size?: number | undefined;
|
|
14613
|
-
url?: string | undefined;
|
|
14614
|
-
filetype?: string | undefined;
|
|
14615
|
-
width?: number | undefined;
|
|
14616
|
-
height?: number | undefined;
|
|
14617
|
-
thumbnail?: string | undefined;
|
|
14618
|
-
duration?: number | undefined;
|
|
14619
|
-
}[] | undefined;
|
|
14511
|
+
attachments?: string | undefined;
|
|
14620
14512
|
references?: string | undefined;
|
|
14621
14513
|
create_time?: string | undefined;
|
|
14622
14514
|
update_time?: string | undefined;
|
|
@@ -14634,16 +14526,7 @@ export declare const SearchMessageResponse: {
|
|
|
14634
14526
|
content?: string | undefined;
|
|
14635
14527
|
mentions?: string | undefined;
|
|
14636
14528
|
reactions?: string | undefined;
|
|
14637
|
-
attachments?:
|
|
14638
|
-
filename?: string | undefined;
|
|
14639
|
-
size?: number | undefined;
|
|
14640
|
-
url?: string | undefined;
|
|
14641
|
-
filetype?: string | undefined;
|
|
14642
|
-
width?: number | undefined;
|
|
14643
|
-
height?: number | undefined;
|
|
14644
|
-
thumbnail?: string | undefined;
|
|
14645
|
-
duration?: number | undefined;
|
|
14646
|
-
}[] | undefined;
|
|
14529
|
+
attachments?: string | undefined;
|
|
14647
14530
|
references?: string | undefined;
|
|
14648
14531
|
create_time?: string | undefined;
|
|
14649
14532
|
update_time?: string | undefined;
|
|
@@ -14661,43 +14544,7 @@ export declare const SearchMessageResponse: {
|
|
|
14661
14544
|
content?: string | undefined;
|
|
14662
14545
|
mentions?: string | undefined;
|
|
14663
14546
|
reactions?: string | undefined;
|
|
14664
|
-
attachments?:
|
|
14665
|
-
filename?: string | undefined;
|
|
14666
|
-
size?: number | undefined;
|
|
14667
|
-
url?: string | undefined;
|
|
14668
|
-
filetype?: string | undefined;
|
|
14669
|
-
width?: number | undefined;
|
|
14670
|
-
height?: number | undefined;
|
|
14671
|
-
thumbnail?: string | undefined;
|
|
14672
|
-
duration?: number | undefined;
|
|
14673
|
-
}[] & ({
|
|
14674
|
-
filename?: string | undefined;
|
|
14675
|
-
size?: number | undefined;
|
|
14676
|
-
url?: string | undefined;
|
|
14677
|
-
filetype?: string | undefined;
|
|
14678
|
-
width?: number | undefined;
|
|
14679
|
-
height?: number | undefined;
|
|
14680
|
-
thumbnail?: string | undefined;
|
|
14681
|
-
duration?: number | undefined;
|
|
14682
|
-
} & {
|
|
14683
|
-
filename?: string | undefined;
|
|
14684
|
-
size?: number | undefined;
|
|
14685
|
-
url?: string | undefined;
|
|
14686
|
-
filetype?: string | undefined;
|
|
14687
|
-
width?: number | undefined;
|
|
14688
|
-
height?: number | undefined;
|
|
14689
|
-
thumbnail?: string | undefined;
|
|
14690
|
-
duration?: number | undefined;
|
|
14691
|
-
} & { [K in Exclude<keyof I["messages"][number]["attachments"][number], keyof MessageAttachment>]: never; })[] & { [K_1 in Exclude<keyof I["messages"][number]["attachments"], keyof {
|
|
14692
|
-
filename?: string | undefined;
|
|
14693
|
-
size?: number | undefined;
|
|
14694
|
-
url?: string | undefined;
|
|
14695
|
-
filetype?: string | undefined;
|
|
14696
|
-
width?: number | undefined;
|
|
14697
|
-
height?: number | undefined;
|
|
14698
|
-
thumbnail?: string | undefined;
|
|
14699
|
-
duration?: number | undefined;
|
|
14700
|
-
}[]>]: never; }) | undefined;
|
|
14547
|
+
attachments?: string | undefined;
|
|
14701
14548
|
references?: string | undefined;
|
|
14702
14549
|
create_time?: string | undefined;
|
|
14703
14550
|
update_time?: string | undefined;
|
|
@@ -14707,7 +14554,7 @@ export declare const SearchMessageResponse: {
|
|
|
14707
14554
|
username?: string | undefined;
|
|
14708
14555
|
display_name?: string | undefined;
|
|
14709
14556
|
avatar_url?: string | undefined;
|
|
14710
|
-
} & { [
|
|
14557
|
+
} & { [K in Exclude<keyof I["messages"][number], keyof SearchMessageDocument>]: never; })[] & { [K_1 in Exclude<keyof I["messages"], keyof {
|
|
14711
14558
|
message_id?: string | undefined;
|
|
14712
14559
|
channel_id?: string | undefined;
|
|
14713
14560
|
clan_id?: string | undefined;
|
|
@@ -14715,16 +14562,7 @@ export declare const SearchMessageResponse: {
|
|
|
14715
14562
|
content?: string | undefined;
|
|
14716
14563
|
mentions?: string | undefined;
|
|
14717
14564
|
reactions?: string | undefined;
|
|
14718
|
-
attachments?:
|
|
14719
|
-
filename?: string | undefined;
|
|
14720
|
-
size?: number | undefined;
|
|
14721
|
-
url?: string | undefined;
|
|
14722
|
-
filetype?: string | undefined;
|
|
14723
|
-
width?: number | undefined;
|
|
14724
|
-
height?: number | undefined;
|
|
14725
|
-
thumbnail?: string | undefined;
|
|
14726
|
-
duration?: number | undefined;
|
|
14727
|
-
}[] | undefined;
|
|
14565
|
+
attachments?: string | undefined;
|
|
14728
14566
|
references?: string | undefined;
|
|
14729
14567
|
create_time?: string | undefined;
|
|
14730
14568
|
update_time?: string | undefined;
|
|
@@ -14736,7 +14574,7 @@ export declare const SearchMessageResponse: {
|
|
|
14736
14574
|
avatar_url?: string | undefined;
|
|
14737
14575
|
}[]>]: never; }) | undefined;
|
|
14738
14576
|
total?: number | undefined;
|
|
14739
|
-
} & { [
|
|
14577
|
+
} & { [K_2 in Exclude<keyof I, keyof SearchMessageResponse>]: never; }>(base?: I | undefined): SearchMessageResponse;
|
|
14740
14578
|
fromPartial<I_1 extends {
|
|
14741
14579
|
messages?: {
|
|
14742
14580
|
message_id?: string | undefined;
|
|
@@ -14746,16 +14584,7 @@ export declare const SearchMessageResponse: {
|
|
|
14746
14584
|
content?: string | undefined;
|
|
14747
14585
|
mentions?: string | undefined;
|
|
14748
14586
|
reactions?: string | undefined;
|
|
14749
|
-
attachments?:
|
|
14750
|
-
filename?: string | undefined;
|
|
14751
|
-
size?: number | undefined;
|
|
14752
|
-
url?: string | undefined;
|
|
14753
|
-
filetype?: string | undefined;
|
|
14754
|
-
width?: number | undefined;
|
|
14755
|
-
height?: number | undefined;
|
|
14756
|
-
thumbnail?: string | undefined;
|
|
14757
|
-
duration?: number | undefined;
|
|
14758
|
-
}[] | undefined;
|
|
14587
|
+
attachments?: string | undefined;
|
|
14759
14588
|
references?: string | undefined;
|
|
14760
14589
|
create_time?: string | undefined;
|
|
14761
14590
|
update_time?: string | undefined;
|
|
@@ -14776,16 +14605,7 @@ export declare const SearchMessageResponse: {
|
|
|
14776
14605
|
content?: string | undefined;
|
|
14777
14606
|
mentions?: string | undefined;
|
|
14778
14607
|
reactions?: string | undefined;
|
|
14779
|
-
attachments?:
|
|
14780
|
-
filename?: string | undefined;
|
|
14781
|
-
size?: number | undefined;
|
|
14782
|
-
url?: string | undefined;
|
|
14783
|
-
filetype?: string | undefined;
|
|
14784
|
-
width?: number | undefined;
|
|
14785
|
-
height?: number | undefined;
|
|
14786
|
-
thumbnail?: string | undefined;
|
|
14787
|
-
duration?: number | undefined;
|
|
14788
|
-
}[] | undefined;
|
|
14608
|
+
attachments?: string | undefined;
|
|
14789
14609
|
references?: string | undefined;
|
|
14790
14610
|
create_time?: string | undefined;
|
|
14791
14611
|
update_time?: string | undefined;
|
|
@@ -14803,16 +14623,7 @@ export declare const SearchMessageResponse: {
|
|
|
14803
14623
|
content?: string | undefined;
|
|
14804
14624
|
mentions?: string | undefined;
|
|
14805
14625
|
reactions?: string | undefined;
|
|
14806
|
-
attachments?:
|
|
14807
|
-
filename?: string | undefined;
|
|
14808
|
-
size?: number | undefined;
|
|
14809
|
-
url?: string | undefined;
|
|
14810
|
-
filetype?: string | undefined;
|
|
14811
|
-
width?: number | undefined;
|
|
14812
|
-
height?: number | undefined;
|
|
14813
|
-
thumbnail?: string | undefined;
|
|
14814
|
-
duration?: number | undefined;
|
|
14815
|
-
}[] | undefined;
|
|
14626
|
+
attachments?: string | undefined;
|
|
14816
14627
|
references?: string | undefined;
|
|
14817
14628
|
create_time?: string | undefined;
|
|
14818
14629
|
update_time?: string | undefined;
|
|
@@ -14830,43 +14641,7 @@ export declare const SearchMessageResponse: {
|
|
|
14830
14641
|
content?: string | undefined;
|
|
14831
14642
|
mentions?: string | undefined;
|
|
14832
14643
|
reactions?: string | undefined;
|
|
14833
|
-
attachments?:
|
|
14834
|
-
filename?: string | undefined;
|
|
14835
|
-
size?: number | undefined;
|
|
14836
|
-
url?: string | undefined;
|
|
14837
|
-
filetype?: string | undefined;
|
|
14838
|
-
width?: number | undefined;
|
|
14839
|
-
height?: number | undefined;
|
|
14840
|
-
thumbnail?: string | undefined;
|
|
14841
|
-
duration?: number | undefined;
|
|
14842
|
-
}[] & ({
|
|
14843
|
-
filename?: string | undefined;
|
|
14844
|
-
size?: number | undefined;
|
|
14845
|
-
url?: string | undefined;
|
|
14846
|
-
filetype?: string | undefined;
|
|
14847
|
-
width?: number | undefined;
|
|
14848
|
-
height?: number | undefined;
|
|
14849
|
-
thumbnail?: string | undefined;
|
|
14850
|
-
duration?: number | undefined;
|
|
14851
|
-
} & {
|
|
14852
|
-
filename?: string | undefined;
|
|
14853
|
-
size?: number | undefined;
|
|
14854
|
-
url?: string | undefined;
|
|
14855
|
-
filetype?: string | undefined;
|
|
14856
|
-
width?: number | undefined;
|
|
14857
|
-
height?: number | undefined;
|
|
14858
|
-
thumbnail?: string | undefined;
|
|
14859
|
-
duration?: number | undefined;
|
|
14860
|
-
} & { [K_5 in Exclude<keyof I_1["messages"][number]["attachments"][number], keyof MessageAttachment>]: never; })[] & { [K_6 in Exclude<keyof I_1["messages"][number]["attachments"], keyof {
|
|
14861
|
-
filename?: string | undefined;
|
|
14862
|
-
size?: number | undefined;
|
|
14863
|
-
url?: string | undefined;
|
|
14864
|
-
filetype?: string | undefined;
|
|
14865
|
-
width?: number | undefined;
|
|
14866
|
-
height?: number | undefined;
|
|
14867
|
-
thumbnail?: string | undefined;
|
|
14868
|
-
duration?: number | undefined;
|
|
14869
|
-
}[]>]: never; }) | undefined;
|
|
14644
|
+
attachments?: string | undefined;
|
|
14870
14645
|
references?: string | undefined;
|
|
14871
14646
|
create_time?: string | undefined;
|
|
14872
14647
|
update_time?: string | undefined;
|
|
@@ -14876,7 +14651,7 @@ export declare const SearchMessageResponse: {
|
|
|
14876
14651
|
username?: string | undefined;
|
|
14877
14652
|
display_name?: string | undefined;
|
|
14878
14653
|
avatar_url?: string | undefined;
|
|
14879
|
-
} & { [
|
|
14654
|
+
} & { [K_3 in Exclude<keyof I_1["messages"][number], keyof SearchMessageDocument>]: never; })[] & { [K_4 in Exclude<keyof I_1["messages"], keyof {
|
|
14880
14655
|
message_id?: string | undefined;
|
|
14881
14656
|
channel_id?: string | undefined;
|
|
14882
14657
|
clan_id?: string | undefined;
|
|
@@ -14884,16 +14659,7 @@ export declare const SearchMessageResponse: {
|
|
|
14884
14659
|
content?: string | undefined;
|
|
14885
14660
|
mentions?: string | undefined;
|
|
14886
14661
|
reactions?: string | undefined;
|
|
14887
|
-
attachments?:
|
|
14888
|
-
filename?: string | undefined;
|
|
14889
|
-
size?: number | undefined;
|
|
14890
|
-
url?: string | undefined;
|
|
14891
|
-
filetype?: string | undefined;
|
|
14892
|
-
width?: number | undefined;
|
|
14893
|
-
height?: number | undefined;
|
|
14894
|
-
thumbnail?: string | undefined;
|
|
14895
|
-
duration?: number | undefined;
|
|
14896
|
-
}[] | undefined;
|
|
14662
|
+
attachments?: string | undefined;
|
|
14897
14663
|
references?: string | undefined;
|
|
14898
14664
|
create_time?: string | undefined;
|
|
14899
14665
|
update_time?: string | undefined;
|
|
@@ -14905,7 +14671,7 @@ export declare const SearchMessageResponse: {
|
|
|
14905
14671
|
avatar_url?: string | undefined;
|
|
14906
14672
|
}[]>]: never; }) | undefined;
|
|
14907
14673
|
total?: number | undefined;
|
|
14908
|
-
} & { [
|
|
14674
|
+
} & { [K_5 in Exclude<keyof I_1, keyof SearchMessageResponse>]: never; }>(object: I_1): SearchMessageResponse;
|
|
14909
14675
|
};
|
|
14910
14676
|
export declare const RegistrationEmailRequest: {
|
|
14911
14677
|
encode(message: RegistrationEmailRequest, writer?: _m0.Writer): _m0.Writer;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "mezon-js-protobuf",
|
|
3
|
-
"version": "1.8.
|
|
3
|
+
"version": "1.8.91",
|
|
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",
|