mezon-js-protobuf 1.6.51 → 1.6.53
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 +86 -5
- package/dist/mezon-js-protobuf/api/api.d.ts +33 -0
- package/package.json +1 -1
package/api/api.ts
CHANGED
|
@@ -1044,7 +1044,11 @@ export interface ChannelAttachment {
|
|
|
1044
1044
|
/** uploader */
|
|
1045
1045
|
uploader: string;
|
|
1046
1046
|
/** The UNIX time (for gRPC clients) or ISO string (for REST clients) when the group was created. */
|
|
1047
|
-
create_time:
|
|
1047
|
+
create_time:
|
|
1048
|
+
| Date
|
|
1049
|
+
| undefined;
|
|
1050
|
+
/** message id. */
|
|
1051
|
+
message_id: string;
|
|
1048
1052
|
}
|
|
1049
1053
|
|
|
1050
1054
|
/** channel attachment list */
|
|
@@ -1150,7 +1154,11 @@ export interface ListChannelMessagesRequest {
|
|
|
1150
1154
|
| number
|
|
1151
1155
|
| undefined;
|
|
1152
1156
|
/** True if listing should be older messages to newer, false if reverse. */
|
|
1153
|
-
direction:
|
|
1157
|
+
direction:
|
|
1158
|
+
| number
|
|
1159
|
+
| undefined;
|
|
1160
|
+
/** */
|
|
1161
|
+
topic_id: string;
|
|
1154
1162
|
}
|
|
1155
1163
|
|
|
1156
1164
|
/** List friends for a user. */
|
|
@@ -2410,6 +2418,7 @@ export interface UpdateEventRequest {
|
|
|
2410
2418
|
start_time: Date | undefined;
|
|
2411
2419
|
end_time: Date | undefined;
|
|
2412
2420
|
clan_id: string;
|
|
2421
|
+
creator_id: string;
|
|
2413
2422
|
}
|
|
2414
2423
|
|
|
2415
2424
|
/** Delete a role the user has access to. */
|
|
@@ -2427,6 +2436,8 @@ export interface DeleteEventRequest {
|
|
|
2427
2436
|
event_id: string;
|
|
2428
2437
|
/** clan id */
|
|
2429
2438
|
clan_id: string;
|
|
2439
|
+
/** creator id */
|
|
2440
|
+
creator_id: string;
|
|
2430
2441
|
}
|
|
2431
2442
|
|
|
2432
2443
|
/** Update fields in a given role. */
|
|
@@ -10613,7 +10624,16 @@ export const VoiceChannelUserList = {
|
|
|
10613
10624
|
};
|
|
10614
10625
|
|
|
10615
10626
|
function createBaseChannelAttachment(): ChannelAttachment {
|
|
10616
|
-
return {
|
|
10627
|
+
return {
|
|
10628
|
+
id: "",
|
|
10629
|
+
filename: "",
|
|
10630
|
+
filetype: "",
|
|
10631
|
+
filesize: "",
|
|
10632
|
+
url: "",
|
|
10633
|
+
uploader: "",
|
|
10634
|
+
create_time: undefined,
|
|
10635
|
+
message_id: "",
|
|
10636
|
+
};
|
|
10617
10637
|
}
|
|
10618
10638
|
|
|
10619
10639
|
export const ChannelAttachment = {
|
|
@@ -10639,6 +10659,9 @@ export const ChannelAttachment = {
|
|
|
10639
10659
|
if (message.create_time !== undefined) {
|
|
10640
10660
|
Timestamp.encode(toTimestamp(message.create_time), writer.uint32(58).fork()).ldelim();
|
|
10641
10661
|
}
|
|
10662
|
+
if (message.message_id !== "") {
|
|
10663
|
+
writer.uint32(66).string(message.message_id);
|
|
10664
|
+
}
|
|
10642
10665
|
return writer;
|
|
10643
10666
|
},
|
|
10644
10667
|
|
|
@@ -10698,6 +10721,13 @@ export const ChannelAttachment = {
|
|
|
10698
10721
|
|
|
10699
10722
|
message.create_time = fromTimestamp(Timestamp.decode(reader, reader.uint32()));
|
|
10700
10723
|
continue;
|
|
10724
|
+
case 8:
|
|
10725
|
+
if (tag !== 66) {
|
|
10726
|
+
break;
|
|
10727
|
+
}
|
|
10728
|
+
|
|
10729
|
+
message.message_id = reader.string();
|
|
10730
|
+
continue;
|
|
10701
10731
|
}
|
|
10702
10732
|
if ((tag & 7) === 4 || tag === 0) {
|
|
10703
10733
|
break;
|
|
@@ -10716,6 +10746,7 @@ export const ChannelAttachment = {
|
|
|
10716
10746
|
url: isSet(object.url) ? globalThis.String(object.url) : "",
|
|
10717
10747
|
uploader: isSet(object.uploader) ? globalThis.String(object.uploader) : "",
|
|
10718
10748
|
create_time: isSet(object.create_time) ? fromJsonTimestamp(object.create_time) : undefined,
|
|
10749
|
+
message_id: isSet(object.message_id) ? globalThis.String(object.message_id) : "",
|
|
10719
10750
|
};
|
|
10720
10751
|
},
|
|
10721
10752
|
|
|
@@ -10742,6 +10773,9 @@ export const ChannelAttachment = {
|
|
|
10742
10773
|
if (message.create_time !== undefined) {
|
|
10743
10774
|
obj.create_time = message.create_time.toISOString();
|
|
10744
10775
|
}
|
|
10776
|
+
if (message.message_id !== "") {
|
|
10777
|
+
obj.message_id = message.message_id;
|
|
10778
|
+
}
|
|
10745
10779
|
return obj;
|
|
10746
10780
|
},
|
|
10747
10781
|
|
|
@@ -10757,6 +10791,7 @@ export const ChannelAttachment = {
|
|
|
10757
10791
|
message.url = object.url ?? "";
|
|
10758
10792
|
message.uploader = object.uploader ?? "";
|
|
10759
10793
|
message.create_time = object.create_time ?? undefined;
|
|
10794
|
+
message.message_id = object.message_id ?? "";
|
|
10760
10795
|
return message;
|
|
10761
10796
|
},
|
|
10762
10797
|
};
|
|
@@ -11515,7 +11550,7 @@ export const LinkSteamRequest = {
|
|
|
11515
11550
|
};
|
|
11516
11551
|
|
|
11517
11552
|
function createBaseListChannelMessagesRequest(): ListChannelMessagesRequest {
|
|
11518
|
-
return { clan_id: "", channel_id: "", message_id: "", limit: undefined, direction: undefined };
|
|
11553
|
+
return { clan_id: "", channel_id: "", message_id: "", limit: undefined, direction: undefined, topic_id: "" };
|
|
11519
11554
|
}
|
|
11520
11555
|
|
|
11521
11556
|
export const ListChannelMessagesRequest = {
|
|
@@ -11535,6 +11570,9 @@ export const ListChannelMessagesRequest = {
|
|
|
11535
11570
|
if (message.direction !== undefined) {
|
|
11536
11571
|
Int32Value.encode({ value: message.direction! }, writer.uint32(42).fork()).ldelim();
|
|
11537
11572
|
}
|
|
11573
|
+
if (message.topic_id !== "") {
|
|
11574
|
+
writer.uint32(50).string(message.topic_id);
|
|
11575
|
+
}
|
|
11538
11576
|
return writer;
|
|
11539
11577
|
},
|
|
11540
11578
|
|
|
@@ -11580,6 +11618,13 @@ export const ListChannelMessagesRequest = {
|
|
|
11580
11618
|
|
|
11581
11619
|
message.direction = Int32Value.decode(reader, reader.uint32()).value;
|
|
11582
11620
|
continue;
|
|
11621
|
+
case 6:
|
|
11622
|
+
if (tag !== 50) {
|
|
11623
|
+
break;
|
|
11624
|
+
}
|
|
11625
|
+
|
|
11626
|
+
message.topic_id = reader.string();
|
|
11627
|
+
continue;
|
|
11583
11628
|
}
|
|
11584
11629
|
if ((tag & 7) === 4 || tag === 0) {
|
|
11585
11630
|
break;
|
|
@@ -11596,6 +11641,7 @@ export const ListChannelMessagesRequest = {
|
|
|
11596
11641
|
message_id: isSet(object.message_id) ? globalThis.String(object.message_id) : "",
|
|
11597
11642
|
limit: isSet(object.limit) ? Number(object.limit) : undefined,
|
|
11598
11643
|
direction: isSet(object.direction) ? Number(object.direction) : undefined,
|
|
11644
|
+
topic_id: isSet(object.topic_id) ? globalThis.String(object.topic_id) : "",
|
|
11599
11645
|
};
|
|
11600
11646
|
},
|
|
11601
11647
|
|
|
@@ -11616,6 +11662,9 @@ export const ListChannelMessagesRequest = {
|
|
|
11616
11662
|
if (message.direction !== undefined) {
|
|
11617
11663
|
obj.direction = message.direction;
|
|
11618
11664
|
}
|
|
11665
|
+
if (message.topic_id !== "") {
|
|
11666
|
+
obj.topic_id = message.topic_id;
|
|
11667
|
+
}
|
|
11619
11668
|
return obj;
|
|
11620
11669
|
},
|
|
11621
11670
|
|
|
@@ -11629,6 +11678,7 @@ export const ListChannelMessagesRequest = {
|
|
|
11629
11678
|
message.message_id = object.message_id ?? "";
|
|
11630
11679
|
message.limit = object.limit ?? undefined;
|
|
11631
11680
|
message.direction = object.direction ?? undefined;
|
|
11681
|
+
message.topic_id = object.topic_id ?? "";
|
|
11632
11682
|
return message;
|
|
11633
11683
|
},
|
|
11634
11684
|
};
|
|
@@ -22199,6 +22249,7 @@ function createBaseUpdateEventRequest(): UpdateEventRequest {
|
|
|
22199
22249
|
start_time: undefined,
|
|
22200
22250
|
end_time: undefined,
|
|
22201
22251
|
clan_id: "",
|
|
22252
|
+
creator_id: "",
|
|
22202
22253
|
};
|
|
22203
22254
|
}
|
|
22204
22255
|
|
|
@@ -22231,6 +22282,9 @@ export const UpdateEventRequest = {
|
|
|
22231
22282
|
if (message.clan_id !== "") {
|
|
22232
22283
|
writer.uint32(74).string(message.clan_id);
|
|
22233
22284
|
}
|
|
22285
|
+
if (message.creator_id !== "") {
|
|
22286
|
+
writer.uint32(82).string(message.creator_id);
|
|
22287
|
+
}
|
|
22234
22288
|
return writer;
|
|
22235
22289
|
},
|
|
22236
22290
|
|
|
@@ -22304,6 +22358,13 @@ export const UpdateEventRequest = {
|
|
|
22304
22358
|
|
|
22305
22359
|
message.clan_id = reader.string();
|
|
22306
22360
|
continue;
|
|
22361
|
+
case 10:
|
|
22362
|
+
if (tag !== 82) {
|
|
22363
|
+
break;
|
|
22364
|
+
}
|
|
22365
|
+
|
|
22366
|
+
message.creator_id = reader.string();
|
|
22367
|
+
continue;
|
|
22307
22368
|
}
|
|
22308
22369
|
if ((tag & 7) === 4 || tag === 0) {
|
|
22309
22370
|
break;
|
|
@@ -22324,6 +22385,7 @@ export const UpdateEventRequest = {
|
|
|
22324
22385
|
start_time: isSet(object.start_time) ? fromJsonTimestamp(object.start_time) : undefined,
|
|
22325
22386
|
end_time: isSet(object.end_time) ? fromJsonTimestamp(object.end_time) : undefined,
|
|
22326
22387
|
clan_id: isSet(object.clan_id) ? globalThis.String(object.clan_id) : "",
|
|
22388
|
+
creator_id: isSet(object.creator_id) ? globalThis.String(object.creator_id) : "",
|
|
22327
22389
|
};
|
|
22328
22390
|
},
|
|
22329
22391
|
|
|
@@ -22356,6 +22418,9 @@ export const UpdateEventRequest = {
|
|
|
22356
22418
|
if (message.clan_id !== "") {
|
|
22357
22419
|
obj.clan_id = message.clan_id;
|
|
22358
22420
|
}
|
|
22421
|
+
if (message.creator_id !== "") {
|
|
22422
|
+
obj.creator_id = message.creator_id;
|
|
22423
|
+
}
|
|
22359
22424
|
return obj;
|
|
22360
22425
|
},
|
|
22361
22426
|
|
|
@@ -22373,6 +22438,7 @@ export const UpdateEventRequest = {
|
|
|
22373
22438
|
message.start_time = object.start_time ?? undefined;
|
|
22374
22439
|
message.end_time = object.end_time ?? undefined;
|
|
22375
22440
|
message.clan_id = object.clan_id ?? "";
|
|
22441
|
+
message.creator_id = object.creator_id ?? "";
|
|
22376
22442
|
return message;
|
|
22377
22443
|
},
|
|
22378
22444
|
};
|
|
@@ -22467,7 +22533,7 @@ export const DeleteRoleRequest = {
|
|
|
22467
22533
|
};
|
|
22468
22534
|
|
|
22469
22535
|
function createBaseDeleteEventRequest(): DeleteEventRequest {
|
|
22470
|
-
return { event_id: "", clan_id: "" };
|
|
22536
|
+
return { event_id: "", clan_id: "", creator_id: "" };
|
|
22471
22537
|
}
|
|
22472
22538
|
|
|
22473
22539
|
export const DeleteEventRequest = {
|
|
@@ -22478,6 +22544,9 @@ export const DeleteEventRequest = {
|
|
|
22478
22544
|
if (message.clan_id !== "") {
|
|
22479
22545
|
writer.uint32(18).string(message.clan_id);
|
|
22480
22546
|
}
|
|
22547
|
+
if (message.creator_id !== "") {
|
|
22548
|
+
writer.uint32(26).string(message.creator_id);
|
|
22549
|
+
}
|
|
22481
22550
|
return writer;
|
|
22482
22551
|
},
|
|
22483
22552
|
|
|
@@ -22502,6 +22571,13 @@ export const DeleteEventRequest = {
|
|
|
22502
22571
|
|
|
22503
22572
|
message.clan_id = reader.string();
|
|
22504
22573
|
continue;
|
|
22574
|
+
case 3:
|
|
22575
|
+
if (tag !== 26) {
|
|
22576
|
+
break;
|
|
22577
|
+
}
|
|
22578
|
+
|
|
22579
|
+
message.creator_id = reader.string();
|
|
22580
|
+
continue;
|
|
22505
22581
|
}
|
|
22506
22582
|
if ((tag & 7) === 4 || tag === 0) {
|
|
22507
22583
|
break;
|
|
@@ -22515,6 +22591,7 @@ export const DeleteEventRequest = {
|
|
|
22515
22591
|
return {
|
|
22516
22592
|
event_id: isSet(object.event_id) ? globalThis.String(object.event_id) : "",
|
|
22517
22593
|
clan_id: isSet(object.clan_id) ? globalThis.String(object.clan_id) : "",
|
|
22594
|
+
creator_id: isSet(object.creator_id) ? globalThis.String(object.creator_id) : "",
|
|
22518
22595
|
};
|
|
22519
22596
|
},
|
|
22520
22597
|
|
|
@@ -22526,6 +22603,9 @@ export const DeleteEventRequest = {
|
|
|
22526
22603
|
if (message.clan_id !== "") {
|
|
22527
22604
|
obj.clan_id = message.clan_id;
|
|
22528
22605
|
}
|
|
22606
|
+
if (message.creator_id !== "") {
|
|
22607
|
+
obj.creator_id = message.creator_id;
|
|
22608
|
+
}
|
|
22529
22609
|
return obj;
|
|
22530
22610
|
},
|
|
22531
22611
|
|
|
@@ -22536,6 +22616,7 @@ export const DeleteEventRequest = {
|
|
|
22536
22616
|
const message = createBaseDeleteEventRequest();
|
|
22537
22617
|
message.event_id = object.event_id ?? "";
|
|
22538
22618
|
message.clan_id = object.clan_id ?? "";
|
|
22619
|
+
message.creator_id = object.creator_id ?? "";
|
|
22539
22620
|
return message;
|
|
22540
22621
|
},
|
|
22541
22622
|
};
|
|
@@ -747,6 +747,8 @@ export interface ChannelAttachment {
|
|
|
747
747
|
uploader: string;
|
|
748
748
|
/** The UNIX time (for gRPC clients) or ISO string (for REST clients) when the group was created. */
|
|
749
749
|
create_time: Date | undefined;
|
|
750
|
+
/** message id. */
|
|
751
|
+
message_id: string;
|
|
750
752
|
}
|
|
751
753
|
/** channel attachment list */
|
|
752
754
|
export interface ChannelAttachmentList {
|
|
@@ -831,6 +833,8 @@ export interface ListChannelMessagesRequest {
|
|
|
831
833
|
limit: number | undefined;
|
|
832
834
|
/** True if listing should be older messages to newer, false if reverse. */
|
|
833
835
|
direction: number | undefined;
|
|
836
|
+
/** */
|
|
837
|
+
topic_id: string;
|
|
834
838
|
}
|
|
835
839
|
/** List friends for a user. */
|
|
836
840
|
export interface ListFriendsRequest {
|
|
@@ -1858,6 +1862,7 @@ export interface UpdateEventRequest {
|
|
|
1858
1862
|
start_time: Date | undefined;
|
|
1859
1863
|
end_time: Date | undefined;
|
|
1860
1864
|
clan_id: string;
|
|
1865
|
+
creator_id: string;
|
|
1861
1866
|
}
|
|
1862
1867
|
/** Delete a role the user has access to. */
|
|
1863
1868
|
export interface DeleteRoleRequest {
|
|
@@ -1873,6 +1878,8 @@ export interface DeleteEventRequest {
|
|
|
1873
1878
|
event_id: string;
|
|
1874
1879
|
/** clan id */
|
|
1875
1880
|
clan_id: string;
|
|
1881
|
+
/** creator id */
|
|
1882
|
+
creator_id: string;
|
|
1876
1883
|
}
|
|
1877
1884
|
/** Update fields in a given role. */
|
|
1878
1885
|
export interface UpdateRoleRequest {
|
|
@@ -6989,6 +6996,7 @@ export declare const ChannelAttachment: {
|
|
|
6989
6996
|
url?: string | undefined;
|
|
6990
6997
|
uploader?: string | undefined;
|
|
6991
6998
|
create_time?: Date | undefined;
|
|
6999
|
+
message_id?: string | undefined;
|
|
6992
7000
|
} & {
|
|
6993
7001
|
id?: string | undefined;
|
|
6994
7002
|
filename?: string | undefined;
|
|
@@ -6997,6 +7005,7 @@ export declare const ChannelAttachment: {
|
|
|
6997
7005
|
url?: string | undefined;
|
|
6998
7006
|
uploader?: string | undefined;
|
|
6999
7007
|
create_time?: Date | undefined;
|
|
7008
|
+
message_id?: string | undefined;
|
|
7000
7009
|
} & { [K in Exclude<keyof I, keyof ChannelAttachment>]: never; }>(base?: I | undefined): ChannelAttachment;
|
|
7001
7010
|
fromPartial<I_1 extends {
|
|
7002
7011
|
id?: string | undefined;
|
|
@@ -7006,6 +7015,7 @@ export declare const ChannelAttachment: {
|
|
|
7006
7015
|
url?: string | undefined;
|
|
7007
7016
|
uploader?: string | undefined;
|
|
7008
7017
|
create_time?: Date | undefined;
|
|
7018
|
+
message_id?: string | undefined;
|
|
7009
7019
|
} & {
|
|
7010
7020
|
id?: string | undefined;
|
|
7011
7021
|
filename?: string | undefined;
|
|
@@ -7014,6 +7024,7 @@ export declare const ChannelAttachment: {
|
|
|
7014
7024
|
url?: string | undefined;
|
|
7015
7025
|
uploader?: string | undefined;
|
|
7016
7026
|
create_time?: Date | undefined;
|
|
7027
|
+
message_id?: string | undefined;
|
|
7017
7028
|
} & { [K_1 in Exclude<keyof I_1, keyof ChannelAttachment>]: never; }>(object: I_1): ChannelAttachment;
|
|
7018
7029
|
};
|
|
7019
7030
|
export declare const ChannelAttachmentList: {
|
|
@@ -7030,6 +7041,7 @@ export declare const ChannelAttachmentList: {
|
|
|
7030
7041
|
url?: string | undefined;
|
|
7031
7042
|
uploader?: string | undefined;
|
|
7032
7043
|
create_time?: Date | undefined;
|
|
7044
|
+
message_id?: string | undefined;
|
|
7033
7045
|
}[] | undefined;
|
|
7034
7046
|
} & {
|
|
7035
7047
|
attachments?: ({
|
|
@@ -7040,6 +7052,7 @@ export declare const ChannelAttachmentList: {
|
|
|
7040
7052
|
url?: string | undefined;
|
|
7041
7053
|
uploader?: string | undefined;
|
|
7042
7054
|
create_time?: Date | undefined;
|
|
7055
|
+
message_id?: string | undefined;
|
|
7043
7056
|
}[] & ({
|
|
7044
7057
|
id?: string | undefined;
|
|
7045
7058
|
filename?: string | undefined;
|
|
@@ -7048,6 +7061,7 @@ export declare const ChannelAttachmentList: {
|
|
|
7048
7061
|
url?: string | undefined;
|
|
7049
7062
|
uploader?: string | undefined;
|
|
7050
7063
|
create_time?: Date | undefined;
|
|
7064
|
+
message_id?: string | undefined;
|
|
7051
7065
|
} & {
|
|
7052
7066
|
id?: string | undefined;
|
|
7053
7067
|
filename?: string | undefined;
|
|
@@ -7056,6 +7070,7 @@ export declare const ChannelAttachmentList: {
|
|
|
7056
7070
|
url?: string | undefined;
|
|
7057
7071
|
uploader?: string | undefined;
|
|
7058
7072
|
create_time?: Date | undefined;
|
|
7073
|
+
message_id?: string | undefined;
|
|
7059
7074
|
} & { [K in Exclude<keyof I["attachments"][number], keyof ChannelAttachment>]: never; })[] & { [K_1 in Exclude<keyof I["attachments"], keyof {
|
|
7060
7075
|
id?: string | undefined;
|
|
7061
7076
|
filename?: string | undefined;
|
|
@@ -7064,6 +7079,7 @@ export declare const ChannelAttachmentList: {
|
|
|
7064
7079
|
url?: string | undefined;
|
|
7065
7080
|
uploader?: string | undefined;
|
|
7066
7081
|
create_time?: Date | undefined;
|
|
7082
|
+
message_id?: string | undefined;
|
|
7067
7083
|
}[]>]: never; }) | undefined;
|
|
7068
7084
|
} & { [K_2 in Exclude<keyof I, "attachments">]: never; }>(base?: I | undefined): ChannelAttachmentList;
|
|
7069
7085
|
fromPartial<I_1 extends {
|
|
@@ -7075,6 +7091,7 @@ export declare const ChannelAttachmentList: {
|
|
|
7075
7091
|
url?: string | undefined;
|
|
7076
7092
|
uploader?: string | undefined;
|
|
7077
7093
|
create_time?: Date | undefined;
|
|
7094
|
+
message_id?: string | undefined;
|
|
7078
7095
|
}[] | undefined;
|
|
7079
7096
|
} & {
|
|
7080
7097
|
attachments?: ({
|
|
@@ -7085,6 +7102,7 @@ export declare const ChannelAttachmentList: {
|
|
|
7085
7102
|
url?: string | undefined;
|
|
7086
7103
|
uploader?: string | undefined;
|
|
7087
7104
|
create_time?: Date | undefined;
|
|
7105
|
+
message_id?: string | undefined;
|
|
7088
7106
|
}[] & ({
|
|
7089
7107
|
id?: string | undefined;
|
|
7090
7108
|
filename?: string | undefined;
|
|
@@ -7093,6 +7111,7 @@ export declare const ChannelAttachmentList: {
|
|
|
7093
7111
|
url?: string | undefined;
|
|
7094
7112
|
uploader?: string | undefined;
|
|
7095
7113
|
create_time?: Date | undefined;
|
|
7114
|
+
message_id?: string | undefined;
|
|
7096
7115
|
} & {
|
|
7097
7116
|
id?: string | undefined;
|
|
7098
7117
|
filename?: string | undefined;
|
|
@@ -7101,6 +7120,7 @@ export declare const ChannelAttachmentList: {
|
|
|
7101
7120
|
url?: string | undefined;
|
|
7102
7121
|
uploader?: string | undefined;
|
|
7103
7122
|
create_time?: Date | undefined;
|
|
7123
|
+
message_id?: string | undefined;
|
|
7104
7124
|
} & { [K_3 in Exclude<keyof I_1["attachments"][number], keyof ChannelAttachment>]: never; })[] & { [K_4 in Exclude<keyof I_1["attachments"], keyof {
|
|
7105
7125
|
id?: string | undefined;
|
|
7106
7126
|
filename?: string | undefined;
|
|
@@ -7109,6 +7129,7 @@ export declare const ChannelAttachmentList: {
|
|
|
7109
7129
|
url?: string | undefined;
|
|
7110
7130
|
uploader?: string | undefined;
|
|
7111
7131
|
create_time?: Date | undefined;
|
|
7132
|
+
message_id?: string | undefined;
|
|
7112
7133
|
}[]>]: never; }) | undefined;
|
|
7113
7134
|
} & { [K_5 in Exclude<keyof I_1, "attachments">]: never; }>(object: I_1): ChannelAttachmentList;
|
|
7114
7135
|
};
|
|
@@ -7899,12 +7920,14 @@ export declare const ListChannelMessagesRequest: {
|
|
|
7899
7920
|
message_id?: string | undefined;
|
|
7900
7921
|
limit?: number | undefined;
|
|
7901
7922
|
direction?: number | undefined;
|
|
7923
|
+
topic_id?: string | undefined;
|
|
7902
7924
|
} & {
|
|
7903
7925
|
clan_id?: string | undefined;
|
|
7904
7926
|
channel_id?: string | undefined;
|
|
7905
7927
|
message_id?: string | undefined;
|
|
7906
7928
|
limit?: number | undefined;
|
|
7907
7929
|
direction?: number | undefined;
|
|
7930
|
+
topic_id?: string | undefined;
|
|
7908
7931
|
} & { [K in Exclude<keyof I, keyof ListChannelMessagesRequest>]: never; }>(base?: I | undefined): ListChannelMessagesRequest;
|
|
7909
7932
|
fromPartial<I_1 extends {
|
|
7910
7933
|
clan_id?: string | undefined;
|
|
@@ -7912,12 +7935,14 @@ export declare const ListChannelMessagesRequest: {
|
|
|
7912
7935
|
message_id?: string | undefined;
|
|
7913
7936
|
limit?: number | undefined;
|
|
7914
7937
|
direction?: number | undefined;
|
|
7938
|
+
topic_id?: string | undefined;
|
|
7915
7939
|
} & {
|
|
7916
7940
|
clan_id?: string | undefined;
|
|
7917
7941
|
channel_id?: string | undefined;
|
|
7918
7942
|
message_id?: string | undefined;
|
|
7919
7943
|
limit?: number | undefined;
|
|
7920
7944
|
direction?: number | undefined;
|
|
7945
|
+
topic_id?: string | undefined;
|
|
7921
7946
|
} & { [K_1 in Exclude<keyof I_1, keyof ListChannelMessagesRequest>]: never; }>(object: I_1): ListChannelMessagesRequest;
|
|
7922
7947
|
};
|
|
7923
7948
|
export declare const ListFriendsRequest: {
|
|
@@ -13529,6 +13554,7 @@ export declare const UpdateEventRequest: {
|
|
|
13529
13554
|
start_time?: Date | undefined;
|
|
13530
13555
|
end_time?: Date | undefined;
|
|
13531
13556
|
clan_id?: string | undefined;
|
|
13557
|
+
creator_id?: string | undefined;
|
|
13532
13558
|
} & {
|
|
13533
13559
|
title?: string | undefined;
|
|
13534
13560
|
logo?: string | undefined;
|
|
@@ -13539,6 +13565,7 @@ export declare const UpdateEventRequest: {
|
|
|
13539
13565
|
start_time?: Date | undefined;
|
|
13540
13566
|
end_time?: Date | undefined;
|
|
13541
13567
|
clan_id?: string | undefined;
|
|
13568
|
+
creator_id?: string | undefined;
|
|
13542
13569
|
} & { [K in Exclude<keyof I, keyof UpdateEventRequest>]: never; }>(base?: I | undefined): UpdateEventRequest;
|
|
13543
13570
|
fromPartial<I_1 extends {
|
|
13544
13571
|
title?: string | undefined;
|
|
@@ -13550,6 +13577,7 @@ export declare const UpdateEventRequest: {
|
|
|
13550
13577
|
start_time?: Date | undefined;
|
|
13551
13578
|
end_time?: Date | undefined;
|
|
13552
13579
|
clan_id?: string | undefined;
|
|
13580
|
+
creator_id?: string | undefined;
|
|
13553
13581
|
} & {
|
|
13554
13582
|
title?: string | undefined;
|
|
13555
13583
|
logo?: string | undefined;
|
|
@@ -13560,6 +13588,7 @@ export declare const UpdateEventRequest: {
|
|
|
13560
13588
|
start_time?: Date | undefined;
|
|
13561
13589
|
end_time?: Date | undefined;
|
|
13562
13590
|
clan_id?: string | undefined;
|
|
13591
|
+
creator_id?: string | undefined;
|
|
13563
13592
|
} & { [K_1 in Exclude<keyof I_1, keyof UpdateEventRequest>]: never; }>(object: I_1): UpdateEventRequest;
|
|
13564
13593
|
};
|
|
13565
13594
|
export declare const DeleteRoleRequest: {
|
|
@@ -13594,16 +13623,20 @@ export declare const DeleteEventRequest: {
|
|
|
13594
13623
|
create<I extends {
|
|
13595
13624
|
event_id?: string | undefined;
|
|
13596
13625
|
clan_id?: string | undefined;
|
|
13626
|
+
creator_id?: string | undefined;
|
|
13597
13627
|
} & {
|
|
13598
13628
|
event_id?: string | undefined;
|
|
13599
13629
|
clan_id?: string | undefined;
|
|
13630
|
+
creator_id?: string | undefined;
|
|
13600
13631
|
} & { [K in Exclude<keyof I, keyof DeleteEventRequest>]: never; }>(base?: I | undefined): DeleteEventRequest;
|
|
13601
13632
|
fromPartial<I_1 extends {
|
|
13602
13633
|
event_id?: string | undefined;
|
|
13603
13634
|
clan_id?: string | undefined;
|
|
13635
|
+
creator_id?: string | undefined;
|
|
13604
13636
|
} & {
|
|
13605
13637
|
event_id?: string | undefined;
|
|
13606
13638
|
clan_id?: string | undefined;
|
|
13639
|
+
creator_id?: string | undefined;
|
|
13607
13640
|
} & { [K_1 in Exclude<keyof I_1, keyof DeleteEventRequest>]: never; }>(object: I_1): DeleteEventRequest;
|
|
13608
13641
|
};
|
|
13609
13642
|
export declare const UpdateRoleRequest: {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "mezon-js-protobuf",
|
|
3
|
-
"version": "1.6.
|
|
3
|
+
"version": "1.6.53",
|
|
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",
|