mezon-js-protobuf 1.4.47 → 1.4.50
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 +286 -2
- package/dist/mezon-js-protobuf/api/api.d.ts +300 -2
- package/package.json +1 -1
package/api/api.ts
CHANGED
|
@@ -1797,6 +1797,14 @@ export interface ChannelMessageHeader {
|
|
|
1797
1797
|
sender_id: string;
|
|
1798
1798
|
/** the content */
|
|
1799
1799
|
content: string;
|
|
1800
|
+
/** the attachment */
|
|
1801
|
+
attachment: string;
|
|
1802
|
+
/** the reference */
|
|
1803
|
+
referece: string;
|
|
1804
|
+
/** the mention */
|
|
1805
|
+
mention: string;
|
|
1806
|
+
/** the reactions */
|
|
1807
|
+
reaction: string;
|
|
1800
1808
|
}
|
|
1801
1809
|
|
|
1802
1810
|
/** Channel description record */
|
|
@@ -1927,6 +1935,10 @@ export interface ChangeChannelPrivateRequest {
|
|
|
1927
1935
|
channel_id: string;
|
|
1928
1936
|
/** The channel private */
|
|
1929
1937
|
channel_private: number;
|
|
1938
|
+
/** The users to add. */
|
|
1939
|
+
user_ids: string[];
|
|
1940
|
+
/** This is the role that needs to be added to the channel */
|
|
1941
|
+
role_ids: string[];
|
|
1930
1942
|
}
|
|
1931
1943
|
|
|
1932
1944
|
/** Add users to a channel. */
|
|
@@ -2450,6 +2462,28 @@ export interface ClanEmojiList {
|
|
|
2450
2462
|
emoji_list: ClanEmoji[];
|
|
2451
2463
|
}
|
|
2452
2464
|
|
|
2465
|
+
export interface RegistrationEmailRequest {
|
|
2466
|
+
/** A valid RFC-5322 email address. */
|
|
2467
|
+
email: string;
|
|
2468
|
+
/** A password for the user account. */
|
|
2469
|
+
password: string;
|
|
2470
|
+
/** Set the username on the account at register. Must be unique. */
|
|
2471
|
+
username: string;
|
|
2472
|
+
/** Display name */
|
|
2473
|
+
display_name: string;
|
|
2474
|
+
/** Avatar url */
|
|
2475
|
+
avatar_url: string;
|
|
2476
|
+
/** DOB */
|
|
2477
|
+
dob: string;
|
|
2478
|
+
/** Extra information that will be bundled in the session token. */
|
|
2479
|
+
vars: { [key: string]: string };
|
|
2480
|
+
}
|
|
2481
|
+
|
|
2482
|
+
export interface RegistrationEmailRequest_VarsEntry {
|
|
2483
|
+
key: string;
|
|
2484
|
+
value: string;
|
|
2485
|
+
}
|
|
2486
|
+
|
|
2453
2487
|
function createBaseAccount(): Account {
|
|
2454
2488
|
return {
|
|
2455
2489
|
user: undefined,
|
|
@@ -12513,7 +12547,7 @@ export const ListCategoryDescsRequest = {
|
|
|
12513
12547
|
};
|
|
12514
12548
|
|
|
12515
12549
|
function createBaseChannelMessageHeader(): ChannelMessageHeader {
|
|
12516
|
-
return { id: "", timestamp: "", sender_id: "", content: "" };
|
|
12550
|
+
return { id: "", timestamp: "", sender_id: "", content: "", attachment: "", referece: "", mention: "", reaction: "" };
|
|
12517
12551
|
}
|
|
12518
12552
|
|
|
12519
12553
|
export const ChannelMessageHeader = {
|
|
@@ -12530,6 +12564,18 @@ export const ChannelMessageHeader = {
|
|
|
12530
12564
|
if (message.content !== "") {
|
|
12531
12565
|
writer.uint32(34).string(message.content);
|
|
12532
12566
|
}
|
|
12567
|
+
if (message.attachment !== "") {
|
|
12568
|
+
writer.uint32(42).string(message.attachment);
|
|
12569
|
+
}
|
|
12570
|
+
if (message.referece !== "") {
|
|
12571
|
+
writer.uint32(50).string(message.referece);
|
|
12572
|
+
}
|
|
12573
|
+
if (message.mention !== "") {
|
|
12574
|
+
writer.uint32(58).string(message.mention);
|
|
12575
|
+
}
|
|
12576
|
+
if (message.reaction !== "") {
|
|
12577
|
+
writer.uint32(66).string(message.reaction);
|
|
12578
|
+
}
|
|
12533
12579
|
return writer;
|
|
12534
12580
|
},
|
|
12535
12581
|
|
|
@@ -12552,6 +12598,18 @@ export const ChannelMessageHeader = {
|
|
|
12552
12598
|
case 4:
|
|
12553
12599
|
message.content = reader.string();
|
|
12554
12600
|
break;
|
|
12601
|
+
case 5:
|
|
12602
|
+
message.attachment = reader.string();
|
|
12603
|
+
break;
|
|
12604
|
+
case 6:
|
|
12605
|
+
message.referece = reader.string();
|
|
12606
|
+
break;
|
|
12607
|
+
case 7:
|
|
12608
|
+
message.mention = reader.string();
|
|
12609
|
+
break;
|
|
12610
|
+
case 8:
|
|
12611
|
+
message.reaction = reader.string();
|
|
12612
|
+
break;
|
|
12555
12613
|
default:
|
|
12556
12614
|
reader.skipType(tag & 7);
|
|
12557
12615
|
break;
|
|
@@ -12566,6 +12624,10 @@ export const ChannelMessageHeader = {
|
|
|
12566
12624
|
timestamp: isSet(object.timestamp) ? String(object.timestamp) : "",
|
|
12567
12625
|
sender_id: isSet(object.sender_id) ? String(object.sender_id) : "",
|
|
12568
12626
|
content: isSet(object.content) ? String(object.content) : "",
|
|
12627
|
+
attachment: isSet(object.attachment) ? String(object.attachment) : "",
|
|
12628
|
+
referece: isSet(object.referece) ? String(object.referece) : "",
|
|
12629
|
+
mention: isSet(object.mention) ? String(object.mention) : "",
|
|
12630
|
+
reaction: isSet(object.reaction) ? String(object.reaction) : "",
|
|
12569
12631
|
};
|
|
12570
12632
|
},
|
|
12571
12633
|
|
|
@@ -12575,6 +12637,10 @@ export const ChannelMessageHeader = {
|
|
|
12575
12637
|
message.timestamp !== undefined && (obj.timestamp = message.timestamp);
|
|
12576
12638
|
message.sender_id !== undefined && (obj.sender_id = message.sender_id);
|
|
12577
12639
|
message.content !== undefined && (obj.content = message.content);
|
|
12640
|
+
message.attachment !== undefined && (obj.attachment = message.attachment);
|
|
12641
|
+
message.referece !== undefined && (obj.referece = message.referece);
|
|
12642
|
+
message.mention !== undefined && (obj.mention = message.mention);
|
|
12643
|
+
message.reaction !== undefined && (obj.reaction = message.reaction);
|
|
12578
12644
|
return obj;
|
|
12579
12645
|
},
|
|
12580
12646
|
|
|
@@ -12588,6 +12654,10 @@ export const ChannelMessageHeader = {
|
|
|
12588
12654
|
message.timestamp = object.timestamp ?? "";
|
|
12589
12655
|
message.sender_id = object.sender_id ?? "";
|
|
12590
12656
|
message.content = object.content ?? "";
|
|
12657
|
+
message.attachment = object.attachment ?? "";
|
|
12658
|
+
message.referece = object.referece ?? "";
|
|
12659
|
+
message.mention = object.mention ?? "";
|
|
12660
|
+
message.reaction = object.reaction ?? "";
|
|
12591
12661
|
return message;
|
|
12592
12662
|
},
|
|
12593
12663
|
};
|
|
@@ -13320,7 +13390,7 @@ export const UpdateChannelDescRequest = {
|
|
|
13320
13390
|
};
|
|
13321
13391
|
|
|
13322
13392
|
function createBaseChangeChannelPrivateRequest(): ChangeChannelPrivateRequest {
|
|
13323
|
-
return { channel_id: "", channel_private: 0 };
|
|
13393
|
+
return { channel_id: "", channel_private: 0, user_ids: [], role_ids: [] };
|
|
13324
13394
|
}
|
|
13325
13395
|
|
|
13326
13396
|
export const ChangeChannelPrivateRequest = {
|
|
@@ -13331,6 +13401,12 @@ export const ChangeChannelPrivateRequest = {
|
|
|
13331
13401
|
if (message.channel_private !== 0) {
|
|
13332
13402
|
writer.uint32(16).int32(message.channel_private);
|
|
13333
13403
|
}
|
|
13404
|
+
for (const v of message.user_ids) {
|
|
13405
|
+
writer.uint32(26).string(v!);
|
|
13406
|
+
}
|
|
13407
|
+
for (const v of message.role_ids) {
|
|
13408
|
+
writer.uint32(34).string(v!);
|
|
13409
|
+
}
|
|
13334
13410
|
return writer;
|
|
13335
13411
|
},
|
|
13336
13412
|
|
|
@@ -13347,6 +13423,12 @@ export const ChangeChannelPrivateRequest = {
|
|
|
13347
13423
|
case 2:
|
|
13348
13424
|
message.channel_private = reader.int32();
|
|
13349
13425
|
break;
|
|
13426
|
+
case 3:
|
|
13427
|
+
message.user_ids.push(reader.string());
|
|
13428
|
+
break;
|
|
13429
|
+
case 4:
|
|
13430
|
+
message.role_ids.push(reader.string());
|
|
13431
|
+
break;
|
|
13350
13432
|
default:
|
|
13351
13433
|
reader.skipType(tag & 7);
|
|
13352
13434
|
break;
|
|
@@ -13359,6 +13441,8 @@ export const ChangeChannelPrivateRequest = {
|
|
|
13359
13441
|
return {
|
|
13360
13442
|
channel_id: isSet(object.channel_id) ? String(object.channel_id) : "",
|
|
13361
13443
|
channel_private: isSet(object.channel_private) ? Number(object.channel_private) : 0,
|
|
13444
|
+
user_ids: Array.isArray(object?.user_ids) ? object.user_ids.map((e: any) => String(e)) : [],
|
|
13445
|
+
role_ids: Array.isArray(object?.role_ids) ? object.role_ids.map((e: any) => String(e)) : [],
|
|
13362
13446
|
};
|
|
13363
13447
|
},
|
|
13364
13448
|
|
|
@@ -13366,6 +13450,16 @@ export const ChangeChannelPrivateRequest = {
|
|
|
13366
13450
|
const obj: any = {};
|
|
13367
13451
|
message.channel_id !== undefined && (obj.channel_id = message.channel_id);
|
|
13368
13452
|
message.channel_private !== undefined && (obj.channel_private = Math.round(message.channel_private));
|
|
13453
|
+
if (message.user_ids) {
|
|
13454
|
+
obj.user_ids = message.user_ids.map((e) => e);
|
|
13455
|
+
} else {
|
|
13456
|
+
obj.user_ids = [];
|
|
13457
|
+
}
|
|
13458
|
+
if (message.role_ids) {
|
|
13459
|
+
obj.role_ids = message.role_ids.map((e) => e);
|
|
13460
|
+
} else {
|
|
13461
|
+
obj.role_ids = [];
|
|
13462
|
+
}
|
|
13369
13463
|
return obj;
|
|
13370
13464
|
},
|
|
13371
13465
|
|
|
@@ -13377,6 +13471,8 @@ export const ChangeChannelPrivateRequest = {
|
|
|
13377
13471
|
const message = createBaseChangeChannelPrivateRequest();
|
|
13378
13472
|
message.channel_id = object.channel_id ?? "";
|
|
13379
13473
|
message.channel_private = object.channel_private ?? 0;
|
|
13474
|
+
message.user_ids = object.user_ids?.map((e) => e) || [];
|
|
13475
|
+
message.role_ids = object.role_ids?.map((e) => e) || [];
|
|
13380
13476
|
return message;
|
|
13381
13477
|
},
|
|
13382
13478
|
};
|
|
@@ -17675,6 +17771,194 @@ export const ClanEmojiList = {
|
|
|
17675
17771
|
},
|
|
17676
17772
|
};
|
|
17677
17773
|
|
|
17774
|
+
function createBaseRegistrationEmailRequest(): RegistrationEmailRequest {
|
|
17775
|
+
return { email: "", password: "", username: "", display_name: "", avatar_url: "", dob: "", vars: {} };
|
|
17776
|
+
}
|
|
17777
|
+
|
|
17778
|
+
export const RegistrationEmailRequest = {
|
|
17779
|
+
encode(message: RegistrationEmailRequest, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer {
|
|
17780
|
+
if (message.email !== "") {
|
|
17781
|
+
writer.uint32(10).string(message.email);
|
|
17782
|
+
}
|
|
17783
|
+
if (message.password !== "") {
|
|
17784
|
+
writer.uint32(18).string(message.password);
|
|
17785
|
+
}
|
|
17786
|
+
if (message.username !== "") {
|
|
17787
|
+
writer.uint32(26).string(message.username);
|
|
17788
|
+
}
|
|
17789
|
+
if (message.display_name !== "") {
|
|
17790
|
+
writer.uint32(34).string(message.display_name);
|
|
17791
|
+
}
|
|
17792
|
+
if (message.avatar_url !== "") {
|
|
17793
|
+
writer.uint32(42).string(message.avatar_url);
|
|
17794
|
+
}
|
|
17795
|
+
if (message.dob !== "") {
|
|
17796
|
+
writer.uint32(50).string(message.dob);
|
|
17797
|
+
}
|
|
17798
|
+
Object.entries(message.vars).forEach(([key, value]) => {
|
|
17799
|
+
RegistrationEmailRequest_VarsEntry.encode({ key: key as any, value }, writer.uint32(58).fork()).ldelim();
|
|
17800
|
+
});
|
|
17801
|
+
return writer;
|
|
17802
|
+
},
|
|
17803
|
+
|
|
17804
|
+
decode(input: _m0.Reader | Uint8Array, length?: number): RegistrationEmailRequest {
|
|
17805
|
+
const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input);
|
|
17806
|
+
let end = length === undefined ? reader.len : reader.pos + length;
|
|
17807
|
+
const message = createBaseRegistrationEmailRequest();
|
|
17808
|
+
while (reader.pos < end) {
|
|
17809
|
+
const tag = reader.uint32();
|
|
17810
|
+
switch (tag >>> 3) {
|
|
17811
|
+
case 1:
|
|
17812
|
+
message.email = reader.string();
|
|
17813
|
+
break;
|
|
17814
|
+
case 2:
|
|
17815
|
+
message.password = reader.string();
|
|
17816
|
+
break;
|
|
17817
|
+
case 3:
|
|
17818
|
+
message.username = reader.string();
|
|
17819
|
+
break;
|
|
17820
|
+
case 4:
|
|
17821
|
+
message.display_name = reader.string();
|
|
17822
|
+
break;
|
|
17823
|
+
case 5:
|
|
17824
|
+
message.avatar_url = reader.string();
|
|
17825
|
+
break;
|
|
17826
|
+
case 6:
|
|
17827
|
+
message.dob = reader.string();
|
|
17828
|
+
break;
|
|
17829
|
+
case 7:
|
|
17830
|
+
const entry7 = RegistrationEmailRequest_VarsEntry.decode(reader, reader.uint32());
|
|
17831
|
+
if (entry7.value !== undefined) {
|
|
17832
|
+
message.vars[entry7.key] = entry7.value;
|
|
17833
|
+
}
|
|
17834
|
+
break;
|
|
17835
|
+
default:
|
|
17836
|
+
reader.skipType(tag & 7);
|
|
17837
|
+
break;
|
|
17838
|
+
}
|
|
17839
|
+
}
|
|
17840
|
+
return message;
|
|
17841
|
+
},
|
|
17842
|
+
|
|
17843
|
+
fromJSON(object: any): RegistrationEmailRequest {
|
|
17844
|
+
return {
|
|
17845
|
+
email: isSet(object.email) ? String(object.email) : "",
|
|
17846
|
+
password: isSet(object.password) ? String(object.password) : "",
|
|
17847
|
+
username: isSet(object.username) ? String(object.username) : "",
|
|
17848
|
+
display_name: isSet(object.display_name) ? String(object.display_name) : "",
|
|
17849
|
+
avatar_url: isSet(object.avatar_url) ? String(object.avatar_url) : "",
|
|
17850
|
+
dob: isSet(object.dob) ? String(object.dob) : "",
|
|
17851
|
+
vars: isObject(object.vars)
|
|
17852
|
+
? Object.entries(object.vars).reduce<{ [key: string]: string }>((acc, [key, value]) => {
|
|
17853
|
+
acc[key] = String(value);
|
|
17854
|
+
return acc;
|
|
17855
|
+
}, {})
|
|
17856
|
+
: {},
|
|
17857
|
+
};
|
|
17858
|
+
},
|
|
17859
|
+
|
|
17860
|
+
toJSON(message: RegistrationEmailRequest): unknown {
|
|
17861
|
+
const obj: any = {};
|
|
17862
|
+
message.email !== undefined && (obj.email = message.email);
|
|
17863
|
+
message.password !== undefined && (obj.password = message.password);
|
|
17864
|
+
message.username !== undefined && (obj.username = message.username);
|
|
17865
|
+
message.display_name !== undefined && (obj.display_name = message.display_name);
|
|
17866
|
+
message.avatar_url !== undefined && (obj.avatar_url = message.avatar_url);
|
|
17867
|
+
message.dob !== undefined && (obj.dob = message.dob);
|
|
17868
|
+
obj.vars = {};
|
|
17869
|
+
if (message.vars) {
|
|
17870
|
+
Object.entries(message.vars).forEach(([k, v]) => {
|
|
17871
|
+
obj.vars[k] = v;
|
|
17872
|
+
});
|
|
17873
|
+
}
|
|
17874
|
+
return obj;
|
|
17875
|
+
},
|
|
17876
|
+
|
|
17877
|
+
create<I extends Exact<DeepPartial<RegistrationEmailRequest>, I>>(base?: I): RegistrationEmailRequest {
|
|
17878
|
+
return RegistrationEmailRequest.fromPartial(base ?? {});
|
|
17879
|
+
},
|
|
17880
|
+
|
|
17881
|
+
fromPartial<I extends Exact<DeepPartial<RegistrationEmailRequest>, I>>(object: I): RegistrationEmailRequest {
|
|
17882
|
+
const message = createBaseRegistrationEmailRequest();
|
|
17883
|
+
message.email = object.email ?? "";
|
|
17884
|
+
message.password = object.password ?? "";
|
|
17885
|
+
message.username = object.username ?? "";
|
|
17886
|
+
message.display_name = object.display_name ?? "";
|
|
17887
|
+
message.avatar_url = object.avatar_url ?? "";
|
|
17888
|
+
message.dob = object.dob ?? "";
|
|
17889
|
+
message.vars = Object.entries(object.vars ?? {}).reduce<{ [key: string]: string }>((acc, [key, value]) => {
|
|
17890
|
+
if (value !== undefined) {
|
|
17891
|
+
acc[key] = String(value);
|
|
17892
|
+
}
|
|
17893
|
+
return acc;
|
|
17894
|
+
}, {});
|
|
17895
|
+
return message;
|
|
17896
|
+
},
|
|
17897
|
+
};
|
|
17898
|
+
|
|
17899
|
+
function createBaseRegistrationEmailRequest_VarsEntry(): RegistrationEmailRequest_VarsEntry {
|
|
17900
|
+
return { key: "", value: "" };
|
|
17901
|
+
}
|
|
17902
|
+
|
|
17903
|
+
export const RegistrationEmailRequest_VarsEntry = {
|
|
17904
|
+
encode(message: RegistrationEmailRequest_VarsEntry, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer {
|
|
17905
|
+
if (message.key !== "") {
|
|
17906
|
+
writer.uint32(10).string(message.key);
|
|
17907
|
+
}
|
|
17908
|
+
if (message.value !== "") {
|
|
17909
|
+
writer.uint32(18).string(message.value);
|
|
17910
|
+
}
|
|
17911
|
+
return writer;
|
|
17912
|
+
},
|
|
17913
|
+
|
|
17914
|
+
decode(input: _m0.Reader | Uint8Array, length?: number): RegistrationEmailRequest_VarsEntry {
|
|
17915
|
+
const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input);
|
|
17916
|
+
let end = length === undefined ? reader.len : reader.pos + length;
|
|
17917
|
+
const message = createBaseRegistrationEmailRequest_VarsEntry();
|
|
17918
|
+
while (reader.pos < end) {
|
|
17919
|
+
const tag = reader.uint32();
|
|
17920
|
+
switch (tag >>> 3) {
|
|
17921
|
+
case 1:
|
|
17922
|
+
message.key = reader.string();
|
|
17923
|
+
break;
|
|
17924
|
+
case 2:
|
|
17925
|
+
message.value = reader.string();
|
|
17926
|
+
break;
|
|
17927
|
+
default:
|
|
17928
|
+
reader.skipType(tag & 7);
|
|
17929
|
+
break;
|
|
17930
|
+
}
|
|
17931
|
+
}
|
|
17932
|
+
return message;
|
|
17933
|
+
},
|
|
17934
|
+
|
|
17935
|
+
fromJSON(object: any): RegistrationEmailRequest_VarsEntry {
|
|
17936
|
+
return { key: isSet(object.key) ? String(object.key) : "", value: isSet(object.value) ? String(object.value) : "" };
|
|
17937
|
+
},
|
|
17938
|
+
|
|
17939
|
+
toJSON(message: RegistrationEmailRequest_VarsEntry): unknown {
|
|
17940
|
+
const obj: any = {};
|
|
17941
|
+
message.key !== undefined && (obj.key = message.key);
|
|
17942
|
+
message.value !== undefined && (obj.value = message.value);
|
|
17943
|
+
return obj;
|
|
17944
|
+
},
|
|
17945
|
+
|
|
17946
|
+
create<I extends Exact<DeepPartial<RegistrationEmailRequest_VarsEntry>, I>>(
|
|
17947
|
+
base?: I,
|
|
17948
|
+
): RegistrationEmailRequest_VarsEntry {
|
|
17949
|
+
return RegistrationEmailRequest_VarsEntry.fromPartial(base ?? {});
|
|
17950
|
+
},
|
|
17951
|
+
|
|
17952
|
+
fromPartial<I extends Exact<DeepPartial<RegistrationEmailRequest_VarsEntry>, I>>(
|
|
17953
|
+
object: I,
|
|
17954
|
+
): RegistrationEmailRequest_VarsEntry {
|
|
17955
|
+
const message = createBaseRegistrationEmailRequest_VarsEntry();
|
|
17956
|
+
message.key = object.key ?? "";
|
|
17957
|
+
message.value = object.value ?? "";
|
|
17958
|
+
return message;
|
|
17959
|
+
},
|
|
17960
|
+
};
|
|
17961
|
+
|
|
17678
17962
|
declare var self: any | undefined;
|
|
17679
17963
|
declare var window: any | undefined;
|
|
17680
17964
|
declare var global: any | undefined;
|
|
@@ -1325,6 +1325,14 @@ export interface ChannelMessageHeader {
|
|
|
1325
1325
|
sender_id: string;
|
|
1326
1326
|
/** the content */
|
|
1327
1327
|
content: string;
|
|
1328
|
+
/** the attachment */
|
|
1329
|
+
attachment: string;
|
|
1330
|
+
/** the reference */
|
|
1331
|
+
referece: string;
|
|
1332
|
+
/** the mention */
|
|
1333
|
+
mention: string;
|
|
1334
|
+
/** the reactions */
|
|
1335
|
+
reaction: string;
|
|
1328
1336
|
}
|
|
1329
1337
|
/** Channel description record */
|
|
1330
1338
|
export interface ChannelDescription {
|
|
@@ -1433,6 +1441,10 @@ export interface ChangeChannelPrivateRequest {
|
|
|
1433
1441
|
channel_id: string;
|
|
1434
1442
|
/** The channel private */
|
|
1435
1443
|
channel_private: number;
|
|
1444
|
+
/** The users to add. */
|
|
1445
|
+
user_ids: string[];
|
|
1446
|
+
/** This is the role that needs to be added to the channel */
|
|
1447
|
+
role_ids: string[];
|
|
1436
1448
|
}
|
|
1437
1449
|
/** Add users to a channel. */
|
|
1438
1450
|
export interface AddChannelUsersRequest {
|
|
@@ -1884,6 +1896,28 @@ export interface ClanEmoji {
|
|
|
1884
1896
|
export interface ClanEmojiList {
|
|
1885
1897
|
emoji_list: ClanEmoji[];
|
|
1886
1898
|
}
|
|
1899
|
+
export interface RegistrationEmailRequest {
|
|
1900
|
+
/** A valid RFC-5322 email address. */
|
|
1901
|
+
email: string;
|
|
1902
|
+
/** A password for the user account. */
|
|
1903
|
+
password: string;
|
|
1904
|
+
/** Set the username on the account at register. Must be unique. */
|
|
1905
|
+
username: string;
|
|
1906
|
+
/** Display name */
|
|
1907
|
+
display_name: string;
|
|
1908
|
+
/** Avatar url */
|
|
1909
|
+
avatar_url: string;
|
|
1910
|
+
/** DOB */
|
|
1911
|
+
dob: string;
|
|
1912
|
+
/** Extra information that will be bundled in the session token. */
|
|
1913
|
+
vars: {
|
|
1914
|
+
[key: string]: string;
|
|
1915
|
+
};
|
|
1916
|
+
}
|
|
1917
|
+
export interface RegistrationEmailRequest_VarsEntry {
|
|
1918
|
+
key: string;
|
|
1919
|
+
value: string;
|
|
1920
|
+
}
|
|
1887
1921
|
export declare const Account: {
|
|
1888
1922
|
encode(message: Account, writer?: _m0.Writer): _m0.Writer;
|
|
1889
1923
|
decode(input: _m0.Reader | Uint8Array, length?: number): Account;
|
|
@@ -3631,6 +3665,10 @@ export declare const ChannelMessageList: {
|
|
|
3631
3665
|
timestamp?: string | undefined;
|
|
3632
3666
|
sender_id?: string | undefined;
|
|
3633
3667
|
content?: string | undefined;
|
|
3668
|
+
attachment?: string | undefined;
|
|
3669
|
+
referece?: string | undefined;
|
|
3670
|
+
mention?: string | undefined;
|
|
3671
|
+
reaction?: string | undefined;
|
|
3634
3672
|
} | undefined;
|
|
3635
3673
|
} & {
|
|
3636
3674
|
messages?: ({
|
|
@@ -3715,11 +3753,19 @@ export declare const ChannelMessageList: {
|
|
|
3715
3753
|
timestamp?: string | undefined;
|
|
3716
3754
|
sender_id?: string | undefined;
|
|
3717
3755
|
content?: string | undefined;
|
|
3756
|
+
attachment?: string | undefined;
|
|
3757
|
+
referece?: string | undefined;
|
|
3758
|
+
mention?: string | undefined;
|
|
3759
|
+
reaction?: string | undefined;
|
|
3718
3760
|
} & {
|
|
3719
3761
|
id?: string | undefined;
|
|
3720
3762
|
timestamp?: string | undefined;
|
|
3721
3763
|
sender_id?: string | undefined;
|
|
3722
3764
|
content?: string | undefined;
|
|
3765
|
+
attachment?: string | undefined;
|
|
3766
|
+
referece?: string | undefined;
|
|
3767
|
+
mention?: string | undefined;
|
|
3768
|
+
reaction?: string | undefined;
|
|
3723
3769
|
} & { [K_2 in Exclude<keyof I["last_seen_message"], keyof ChannelMessageHeader>]: never; }) | undefined;
|
|
3724
3770
|
} & { [K_3 in Exclude<keyof I, keyof ChannelMessageList>]: never; }>(base?: I | undefined): ChannelMessageList;
|
|
3725
3771
|
fromPartial<I_1 extends {
|
|
@@ -3748,6 +3794,10 @@ export declare const ChannelMessageList: {
|
|
|
3748
3794
|
timestamp?: string | undefined;
|
|
3749
3795
|
sender_id?: string | undefined;
|
|
3750
3796
|
content?: string | undefined;
|
|
3797
|
+
attachment?: string | undefined;
|
|
3798
|
+
referece?: string | undefined;
|
|
3799
|
+
mention?: string | undefined;
|
|
3800
|
+
reaction?: string | undefined;
|
|
3751
3801
|
} | undefined;
|
|
3752
3802
|
} & {
|
|
3753
3803
|
messages?: ({
|
|
@@ -3832,11 +3882,19 @@ export declare const ChannelMessageList: {
|
|
|
3832
3882
|
timestamp?: string | undefined;
|
|
3833
3883
|
sender_id?: string | undefined;
|
|
3834
3884
|
content?: string | undefined;
|
|
3885
|
+
attachment?: string | undefined;
|
|
3886
|
+
referece?: string | undefined;
|
|
3887
|
+
mention?: string | undefined;
|
|
3888
|
+
reaction?: string | undefined;
|
|
3835
3889
|
} & {
|
|
3836
3890
|
id?: string | undefined;
|
|
3837
3891
|
timestamp?: string | undefined;
|
|
3838
3892
|
sender_id?: string | undefined;
|
|
3839
3893
|
content?: string | undefined;
|
|
3894
|
+
attachment?: string | undefined;
|
|
3895
|
+
referece?: string | undefined;
|
|
3896
|
+
mention?: string | undefined;
|
|
3897
|
+
reaction?: string | undefined;
|
|
3840
3898
|
} & { [K_6 in Exclude<keyof I_1["last_seen_message"], keyof ChannelMessageHeader>]: never; }) | undefined;
|
|
3841
3899
|
} & { [K_7 in Exclude<keyof I_1, keyof ChannelMessageList>]: never; }>(object: I_1): ChannelMessageList;
|
|
3842
3900
|
};
|
|
@@ -9194,22 +9252,38 @@ export declare const ChannelMessageHeader: {
|
|
|
9194
9252
|
timestamp?: string | undefined;
|
|
9195
9253
|
sender_id?: string | undefined;
|
|
9196
9254
|
content?: string | undefined;
|
|
9255
|
+
attachment?: string | undefined;
|
|
9256
|
+
referece?: string | undefined;
|
|
9257
|
+
mention?: string | undefined;
|
|
9258
|
+
reaction?: string | undefined;
|
|
9197
9259
|
} & {
|
|
9198
9260
|
id?: string | undefined;
|
|
9199
9261
|
timestamp?: string | undefined;
|
|
9200
9262
|
sender_id?: string | undefined;
|
|
9201
9263
|
content?: string | undefined;
|
|
9264
|
+
attachment?: string | undefined;
|
|
9265
|
+
referece?: string | undefined;
|
|
9266
|
+
mention?: string | undefined;
|
|
9267
|
+
reaction?: string | undefined;
|
|
9202
9268
|
} & { [K in Exclude<keyof I, keyof ChannelMessageHeader>]: never; }>(base?: I | undefined): ChannelMessageHeader;
|
|
9203
9269
|
fromPartial<I_1 extends {
|
|
9204
9270
|
id?: string | undefined;
|
|
9205
9271
|
timestamp?: string | undefined;
|
|
9206
9272
|
sender_id?: string | undefined;
|
|
9207
9273
|
content?: string | undefined;
|
|
9274
|
+
attachment?: string | undefined;
|
|
9275
|
+
referece?: string | undefined;
|
|
9276
|
+
mention?: string | undefined;
|
|
9277
|
+
reaction?: string | undefined;
|
|
9208
9278
|
} & {
|
|
9209
9279
|
id?: string | undefined;
|
|
9210
9280
|
timestamp?: string | undefined;
|
|
9211
9281
|
sender_id?: string | undefined;
|
|
9212
9282
|
content?: string | undefined;
|
|
9283
|
+
attachment?: string | undefined;
|
|
9284
|
+
referece?: string | undefined;
|
|
9285
|
+
mention?: string | undefined;
|
|
9286
|
+
reaction?: string | undefined;
|
|
9213
9287
|
} & { [K_1 in Exclude<keyof I_1, keyof ChannelMessageHeader>]: never; }>(object: I_1): ChannelMessageHeader;
|
|
9214
9288
|
};
|
|
9215
9289
|
export declare const ChannelDescription: {
|
|
@@ -9234,12 +9308,20 @@ export declare const ChannelDescription: {
|
|
|
9234
9308
|
timestamp?: string | undefined;
|
|
9235
9309
|
sender_id?: string | undefined;
|
|
9236
9310
|
content?: string | undefined;
|
|
9311
|
+
attachment?: string | undefined;
|
|
9312
|
+
referece?: string | undefined;
|
|
9313
|
+
mention?: string | undefined;
|
|
9314
|
+
reaction?: string | undefined;
|
|
9237
9315
|
} | undefined;
|
|
9238
9316
|
last_seen_message?: {
|
|
9239
9317
|
id?: string | undefined;
|
|
9240
9318
|
timestamp?: string | undefined;
|
|
9241
9319
|
sender_id?: string | undefined;
|
|
9242
9320
|
content?: string | undefined;
|
|
9321
|
+
attachment?: string | undefined;
|
|
9322
|
+
referece?: string | undefined;
|
|
9323
|
+
mention?: string | undefined;
|
|
9324
|
+
reaction?: string | undefined;
|
|
9243
9325
|
} | undefined;
|
|
9244
9326
|
status?: number | undefined;
|
|
9245
9327
|
meeting_code?: string | undefined;
|
|
@@ -9262,22 +9344,38 @@ export declare const ChannelDescription: {
|
|
|
9262
9344
|
timestamp?: string | undefined;
|
|
9263
9345
|
sender_id?: string | undefined;
|
|
9264
9346
|
content?: string | undefined;
|
|
9347
|
+
attachment?: string | undefined;
|
|
9348
|
+
referece?: string | undefined;
|
|
9349
|
+
mention?: string | undefined;
|
|
9350
|
+
reaction?: string | undefined;
|
|
9265
9351
|
} & {
|
|
9266
9352
|
id?: string | undefined;
|
|
9267
9353
|
timestamp?: string | undefined;
|
|
9268
9354
|
sender_id?: string | undefined;
|
|
9269
9355
|
content?: string | undefined;
|
|
9356
|
+
attachment?: string | undefined;
|
|
9357
|
+
referece?: string | undefined;
|
|
9358
|
+
mention?: string | undefined;
|
|
9359
|
+
reaction?: string | undefined;
|
|
9270
9360
|
} & { [K_2 in Exclude<keyof I["last_sent_message"], keyof ChannelMessageHeader>]: never; }) | undefined;
|
|
9271
9361
|
last_seen_message?: ({
|
|
9272
9362
|
id?: string | undefined;
|
|
9273
9363
|
timestamp?: string | undefined;
|
|
9274
9364
|
sender_id?: string | undefined;
|
|
9275
9365
|
content?: string | undefined;
|
|
9366
|
+
attachment?: string | undefined;
|
|
9367
|
+
referece?: string | undefined;
|
|
9368
|
+
mention?: string | undefined;
|
|
9369
|
+
reaction?: string | undefined;
|
|
9276
9370
|
} & {
|
|
9277
9371
|
id?: string | undefined;
|
|
9278
9372
|
timestamp?: string | undefined;
|
|
9279
9373
|
sender_id?: string | undefined;
|
|
9280
9374
|
content?: string | undefined;
|
|
9375
|
+
attachment?: string | undefined;
|
|
9376
|
+
referece?: string | undefined;
|
|
9377
|
+
mention?: string | undefined;
|
|
9378
|
+
reaction?: string | undefined;
|
|
9281
9379
|
} & { [K_3 in Exclude<keyof I["last_seen_message"], keyof ChannelMessageHeader>]: never; }) | undefined;
|
|
9282
9380
|
status?: number | undefined;
|
|
9283
9381
|
meeting_code?: string | undefined;
|
|
@@ -9301,12 +9399,20 @@ export declare const ChannelDescription: {
|
|
|
9301
9399
|
timestamp?: string | undefined;
|
|
9302
9400
|
sender_id?: string | undefined;
|
|
9303
9401
|
content?: string | undefined;
|
|
9402
|
+
attachment?: string | undefined;
|
|
9403
|
+
referece?: string | undefined;
|
|
9404
|
+
mention?: string | undefined;
|
|
9405
|
+
reaction?: string | undefined;
|
|
9304
9406
|
} | undefined;
|
|
9305
9407
|
last_seen_message?: {
|
|
9306
9408
|
id?: string | undefined;
|
|
9307
9409
|
timestamp?: string | undefined;
|
|
9308
9410
|
sender_id?: string | undefined;
|
|
9309
9411
|
content?: string | undefined;
|
|
9412
|
+
attachment?: string | undefined;
|
|
9413
|
+
referece?: string | undefined;
|
|
9414
|
+
mention?: string | undefined;
|
|
9415
|
+
reaction?: string | undefined;
|
|
9310
9416
|
} | undefined;
|
|
9311
9417
|
status?: number | undefined;
|
|
9312
9418
|
meeting_code?: string | undefined;
|
|
@@ -9329,22 +9435,38 @@ export declare const ChannelDescription: {
|
|
|
9329
9435
|
timestamp?: string | undefined;
|
|
9330
9436
|
sender_id?: string | undefined;
|
|
9331
9437
|
content?: string | undefined;
|
|
9438
|
+
attachment?: string | undefined;
|
|
9439
|
+
referece?: string | undefined;
|
|
9440
|
+
mention?: string | undefined;
|
|
9441
|
+
reaction?: string | undefined;
|
|
9332
9442
|
} & {
|
|
9333
9443
|
id?: string | undefined;
|
|
9334
9444
|
timestamp?: string | undefined;
|
|
9335
9445
|
sender_id?: string | undefined;
|
|
9336
9446
|
content?: string | undefined;
|
|
9447
|
+
attachment?: string | undefined;
|
|
9448
|
+
referece?: string | undefined;
|
|
9449
|
+
mention?: string | undefined;
|
|
9450
|
+
reaction?: string | undefined;
|
|
9337
9451
|
} & { [K_7 in Exclude<keyof I_1["last_sent_message"], keyof ChannelMessageHeader>]: never; }) | undefined;
|
|
9338
9452
|
last_seen_message?: ({
|
|
9339
9453
|
id?: string | undefined;
|
|
9340
9454
|
timestamp?: string | undefined;
|
|
9341
9455
|
sender_id?: string | undefined;
|
|
9342
9456
|
content?: string | undefined;
|
|
9457
|
+
attachment?: string | undefined;
|
|
9458
|
+
referece?: string | undefined;
|
|
9459
|
+
mention?: string | undefined;
|
|
9460
|
+
reaction?: string | undefined;
|
|
9343
9461
|
} & {
|
|
9344
9462
|
id?: string | undefined;
|
|
9345
9463
|
timestamp?: string | undefined;
|
|
9346
9464
|
sender_id?: string | undefined;
|
|
9347
9465
|
content?: string | undefined;
|
|
9466
|
+
attachment?: string | undefined;
|
|
9467
|
+
referece?: string | undefined;
|
|
9468
|
+
mention?: string | undefined;
|
|
9469
|
+
reaction?: string | undefined;
|
|
9348
9470
|
} & { [K_8 in Exclude<keyof I_1["last_seen_message"], keyof ChannelMessageHeader>]: never; }) | undefined;
|
|
9349
9471
|
status?: number | undefined;
|
|
9350
9472
|
meeting_code?: string | undefined;
|
|
@@ -9375,12 +9497,20 @@ export declare const ChannelDescList: {
|
|
|
9375
9497
|
timestamp?: string | undefined;
|
|
9376
9498
|
sender_id?: string | undefined;
|
|
9377
9499
|
content?: string | undefined;
|
|
9500
|
+
attachment?: string | undefined;
|
|
9501
|
+
referece?: string | undefined;
|
|
9502
|
+
mention?: string | undefined;
|
|
9503
|
+
reaction?: string | undefined;
|
|
9378
9504
|
} | undefined;
|
|
9379
9505
|
last_seen_message?: {
|
|
9380
9506
|
id?: string | undefined;
|
|
9381
9507
|
timestamp?: string | undefined;
|
|
9382
9508
|
sender_id?: string | undefined;
|
|
9383
9509
|
content?: string | undefined;
|
|
9510
|
+
attachment?: string | undefined;
|
|
9511
|
+
referece?: string | undefined;
|
|
9512
|
+
mention?: string | undefined;
|
|
9513
|
+
reaction?: string | undefined;
|
|
9384
9514
|
} | undefined;
|
|
9385
9515
|
status?: number | undefined;
|
|
9386
9516
|
meeting_code?: string | undefined;
|
|
@@ -9408,12 +9538,20 @@ export declare const ChannelDescList: {
|
|
|
9408
9538
|
timestamp?: string | undefined;
|
|
9409
9539
|
sender_id?: string | undefined;
|
|
9410
9540
|
content?: string | undefined;
|
|
9541
|
+
attachment?: string | undefined;
|
|
9542
|
+
referece?: string | undefined;
|
|
9543
|
+
mention?: string | undefined;
|
|
9544
|
+
reaction?: string | undefined;
|
|
9411
9545
|
} | undefined;
|
|
9412
9546
|
last_seen_message?: {
|
|
9413
9547
|
id?: string | undefined;
|
|
9414
9548
|
timestamp?: string | undefined;
|
|
9415
9549
|
sender_id?: string | undefined;
|
|
9416
9550
|
content?: string | undefined;
|
|
9551
|
+
attachment?: string | undefined;
|
|
9552
|
+
referece?: string | undefined;
|
|
9553
|
+
mention?: string | undefined;
|
|
9554
|
+
reaction?: string | undefined;
|
|
9417
9555
|
} | undefined;
|
|
9418
9556
|
status?: number | undefined;
|
|
9419
9557
|
meeting_code?: string | undefined;
|
|
@@ -9436,12 +9574,20 @@ export declare const ChannelDescList: {
|
|
|
9436
9574
|
timestamp?: string | undefined;
|
|
9437
9575
|
sender_id?: string | undefined;
|
|
9438
9576
|
content?: string | undefined;
|
|
9577
|
+
attachment?: string | undefined;
|
|
9578
|
+
referece?: string | undefined;
|
|
9579
|
+
mention?: string | undefined;
|
|
9580
|
+
reaction?: string | undefined;
|
|
9439
9581
|
} | undefined;
|
|
9440
9582
|
last_seen_message?: {
|
|
9441
9583
|
id?: string | undefined;
|
|
9442
9584
|
timestamp?: string | undefined;
|
|
9443
9585
|
sender_id?: string | undefined;
|
|
9444
9586
|
content?: string | undefined;
|
|
9587
|
+
attachment?: string | undefined;
|
|
9588
|
+
referece?: string | undefined;
|
|
9589
|
+
mention?: string | undefined;
|
|
9590
|
+
reaction?: string | undefined;
|
|
9445
9591
|
} | undefined;
|
|
9446
9592
|
status?: number | undefined;
|
|
9447
9593
|
meeting_code?: string | undefined;
|
|
@@ -9464,22 +9610,38 @@ export declare const ChannelDescList: {
|
|
|
9464
9610
|
timestamp?: string | undefined;
|
|
9465
9611
|
sender_id?: string | undefined;
|
|
9466
9612
|
content?: string | undefined;
|
|
9613
|
+
attachment?: string | undefined;
|
|
9614
|
+
referece?: string | undefined;
|
|
9615
|
+
mention?: string | undefined;
|
|
9616
|
+
reaction?: string | undefined;
|
|
9467
9617
|
} & {
|
|
9468
9618
|
id?: string | undefined;
|
|
9469
9619
|
timestamp?: string | undefined;
|
|
9470
9620
|
sender_id?: string | undefined;
|
|
9471
9621
|
content?: string | undefined;
|
|
9622
|
+
attachment?: string | undefined;
|
|
9623
|
+
referece?: string | undefined;
|
|
9624
|
+
mention?: string | undefined;
|
|
9625
|
+
reaction?: string | undefined;
|
|
9472
9626
|
} & { [K_2 in Exclude<keyof I["channeldesc"][number]["last_sent_message"], keyof ChannelMessageHeader>]: never; }) | undefined;
|
|
9473
9627
|
last_seen_message?: ({
|
|
9474
9628
|
id?: string | undefined;
|
|
9475
9629
|
timestamp?: string | undefined;
|
|
9476
9630
|
sender_id?: string | undefined;
|
|
9477
9631
|
content?: string | undefined;
|
|
9632
|
+
attachment?: string | undefined;
|
|
9633
|
+
referece?: string | undefined;
|
|
9634
|
+
mention?: string | undefined;
|
|
9635
|
+
reaction?: string | undefined;
|
|
9478
9636
|
} & {
|
|
9479
9637
|
id?: string | undefined;
|
|
9480
9638
|
timestamp?: string | undefined;
|
|
9481
9639
|
sender_id?: string | undefined;
|
|
9482
9640
|
content?: string | undefined;
|
|
9641
|
+
attachment?: string | undefined;
|
|
9642
|
+
referece?: string | undefined;
|
|
9643
|
+
mention?: string | undefined;
|
|
9644
|
+
reaction?: string | undefined;
|
|
9483
9645
|
} & { [K_3 in Exclude<keyof I["channeldesc"][number]["last_seen_message"], keyof ChannelMessageHeader>]: never; }) | undefined;
|
|
9484
9646
|
status?: number | undefined;
|
|
9485
9647
|
meeting_code?: string | undefined;
|
|
@@ -9502,12 +9664,20 @@ export declare const ChannelDescList: {
|
|
|
9502
9664
|
timestamp?: string | undefined;
|
|
9503
9665
|
sender_id?: string | undefined;
|
|
9504
9666
|
content?: string | undefined;
|
|
9667
|
+
attachment?: string | undefined;
|
|
9668
|
+
referece?: string | undefined;
|
|
9669
|
+
mention?: string | undefined;
|
|
9670
|
+
reaction?: string | undefined;
|
|
9505
9671
|
} | undefined;
|
|
9506
9672
|
last_seen_message?: {
|
|
9507
9673
|
id?: string | undefined;
|
|
9508
9674
|
timestamp?: string | undefined;
|
|
9509
9675
|
sender_id?: string | undefined;
|
|
9510
9676
|
content?: string | undefined;
|
|
9677
|
+
attachment?: string | undefined;
|
|
9678
|
+
referece?: string | undefined;
|
|
9679
|
+
mention?: string | undefined;
|
|
9680
|
+
reaction?: string | undefined;
|
|
9511
9681
|
} | undefined;
|
|
9512
9682
|
status?: number | undefined;
|
|
9513
9683
|
meeting_code?: string | undefined;
|
|
@@ -9536,12 +9706,20 @@ export declare const ChannelDescList: {
|
|
|
9536
9706
|
timestamp?: string | undefined;
|
|
9537
9707
|
sender_id?: string | undefined;
|
|
9538
9708
|
content?: string | undefined;
|
|
9709
|
+
attachment?: string | undefined;
|
|
9710
|
+
referece?: string | undefined;
|
|
9711
|
+
mention?: string | undefined;
|
|
9712
|
+
reaction?: string | undefined;
|
|
9539
9713
|
} | undefined;
|
|
9540
9714
|
last_seen_message?: {
|
|
9541
9715
|
id?: string | undefined;
|
|
9542
9716
|
timestamp?: string | undefined;
|
|
9543
9717
|
sender_id?: string | undefined;
|
|
9544
9718
|
content?: string | undefined;
|
|
9719
|
+
attachment?: string | undefined;
|
|
9720
|
+
referece?: string | undefined;
|
|
9721
|
+
mention?: string | undefined;
|
|
9722
|
+
reaction?: string | undefined;
|
|
9545
9723
|
} | undefined;
|
|
9546
9724
|
status?: number | undefined;
|
|
9547
9725
|
meeting_code?: string | undefined;
|
|
@@ -9569,12 +9747,20 @@ export declare const ChannelDescList: {
|
|
|
9569
9747
|
timestamp?: string | undefined;
|
|
9570
9748
|
sender_id?: string | undefined;
|
|
9571
9749
|
content?: string | undefined;
|
|
9750
|
+
attachment?: string | undefined;
|
|
9751
|
+
referece?: string | undefined;
|
|
9752
|
+
mention?: string | undefined;
|
|
9753
|
+
reaction?: string | undefined;
|
|
9572
9754
|
} | undefined;
|
|
9573
9755
|
last_seen_message?: {
|
|
9574
9756
|
id?: string | undefined;
|
|
9575
9757
|
timestamp?: string | undefined;
|
|
9576
9758
|
sender_id?: string | undefined;
|
|
9577
9759
|
content?: string | undefined;
|
|
9760
|
+
attachment?: string | undefined;
|
|
9761
|
+
referece?: string | undefined;
|
|
9762
|
+
mention?: string | undefined;
|
|
9763
|
+
reaction?: string | undefined;
|
|
9578
9764
|
} | undefined;
|
|
9579
9765
|
status?: number | undefined;
|
|
9580
9766
|
meeting_code?: string | undefined;
|
|
@@ -9597,12 +9783,20 @@ export declare const ChannelDescList: {
|
|
|
9597
9783
|
timestamp?: string | undefined;
|
|
9598
9784
|
sender_id?: string | undefined;
|
|
9599
9785
|
content?: string | undefined;
|
|
9786
|
+
attachment?: string | undefined;
|
|
9787
|
+
referece?: string | undefined;
|
|
9788
|
+
mention?: string | undefined;
|
|
9789
|
+
reaction?: string | undefined;
|
|
9600
9790
|
} | undefined;
|
|
9601
9791
|
last_seen_message?: {
|
|
9602
9792
|
id?: string | undefined;
|
|
9603
9793
|
timestamp?: string | undefined;
|
|
9604
9794
|
sender_id?: string | undefined;
|
|
9605
9795
|
content?: string | undefined;
|
|
9796
|
+
attachment?: string | undefined;
|
|
9797
|
+
referece?: string | undefined;
|
|
9798
|
+
mention?: string | undefined;
|
|
9799
|
+
reaction?: string | undefined;
|
|
9606
9800
|
} | undefined;
|
|
9607
9801
|
status?: number | undefined;
|
|
9608
9802
|
meeting_code?: string | undefined;
|
|
@@ -9625,22 +9819,38 @@ export declare const ChannelDescList: {
|
|
|
9625
9819
|
timestamp?: string | undefined;
|
|
9626
9820
|
sender_id?: string | undefined;
|
|
9627
9821
|
content?: string | undefined;
|
|
9822
|
+
attachment?: string | undefined;
|
|
9823
|
+
referece?: string | undefined;
|
|
9824
|
+
mention?: string | undefined;
|
|
9825
|
+
reaction?: string | undefined;
|
|
9628
9826
|
} & {
|
|
9629
9827
|
id?: string | undefined;
|
|
9630
9828
|
timestamp?: string | undefined;
|
|
9631
9829
|
sender_id?: string | undefined;
|
|
9632
9830
|
content?: string | undefined;
|
|
9831
|
+
attachment?: string | undefined;
|
|
9832
|
+
referece?: string | undefined;
|
|
9833
|
+
mention?: string | undefined;
|
|
9834
|
+
reaction?: string | undefined;
|
|
9633
9835
|
} & { [K_9 in Exclude<keyof I_1["channeldesc"][number]["last_sent_message"], keyof ChannelMessageHeader>]: never; }) | undefined;
|
|
9634
9836
|
last_seen_message?: ({
|
|
9635
9837
|
id?: string | undefined;
|
|
9636
9838
|
timestamp?: string | undefined;
|
|
9637
9839
|
sender_id?: string | undefined;
|
|
9638
9840
|
content?: string | undefined;
|
|
9841
|
+
attachment?: string | undefined;
|
|
9842
|
+
referece?: string | undefined;
|
|
9843
|
+
mention?: string | undefined;
|
|
9844
|
+
reaction?: string | undefined;
|
|
9639
9845
|
} & {
|
|
9640
9846
|
id?: string | undefined;
|
|
9641
9847
|
timestamp?: string | undefined;
|
|
9642
9848
|
sender_id?: string | undefined;
|
|
9643
9849
|
content?: string | undefined;
|
|
9850
|
+
attachment?: string | undefined;
|
|
9851
|
+
referece?: string | undefined;
|
|
9852
|
+
mention?: string | undefined;
|
|
9853
|
+
reaction?: string | undefined;
|
|
9644
9854
|
} & { [K_10 in Exclude<keyof I_1["channeldesc"][number]["last_seen_message"], keyof ChannelMessageHeader>]: never; }) | undefined;
|
|
9645
9855
|
status?: number | undefined;
|
|
9646
9856
|
meeting_code?: string | undefined;
|
|
@@ -9663,12 +9873,20 @@ export declare const ChannelDescList: {
|
|
|
9663
9873
|
timestamp?: string | undefined;
|
|
9664
9874
|
sender_id?: string | undefined;
|
|
9665
9875
|
content?: string | undefined;
|
|
9876
|
+
attachment?: string | undefined;
|
|
9877
|
+
referece?: string | undefined;
|
|
9878
|
+
mention?: string | undefined;
|
|
9879
|
+
reaction?: string | undefined;
|
|
9666
9880
|
} | undefined;
|
|
9667
9881
|
last_seen_message?: {
|
|
9668
9882
|
id?: string | undefined;
|
|
9669
9883
|
timestamp?: string | undefined;
|
|
9670
9884
|
sender_id?: string | undefined;
|
|
9671
9885
|
content?: string | undefined;
|
|
9886
|
+
attachment?: string | undefined;
|
|
9887
|
+
referece?: string | undefined;
|
|
9888
|
+
mention?: string | undefined;
|
|
9889
|
+
reaction?: string | undefined;
|
|
9672
9890
|
} | undefined;
|
|
9673
9891
|
status?: number | undefined;
|
|
9674
9892
|
meeting_code?: string | undefined;
|
|
@@ -9824,17 +10042,25 @@ export declare const ChangeChannelPrivateRequest: {
|
|
|
9824
10042
|
create<I extends {
|
|
9825
10043
|
channel_id?: string | undefined;
|
|
9826
10044
|
channel_private?: number | undefined;
|
|
10045
|
+
user_ids?: string[] | undefined;
|
|
10046
|
+
role_ids?: string[] | undefined;
|
|
9827
10047
|
} & {
|
|
9828
10048
|
channel_id?: string | undefined;
|
|
9829
10049
|
channel_private?: number | undefined;
|
|
9830
|
-
|
|
10050
|
+
user_ids?: (string[] & string[] & { [K in Exclude<keyof I["user_ids"], keyof string[]>]: never; }) | undefined;
|
|
10051
|
+
role_ids?: (string[] & string[] & { [K_1 in Exclude<keyof I["role_ids"], keyof string[]>]: never; }) | undefined;
|
|
10052
|
+
} & { [K_2 in Exclude<keyof I, keyof ChangeChannelPrivateRequest>]: never; }>(base?: I | undefined): ChangeChannelPrivateRequest;
|
|
9831
10053
|
fromPartial<I_1 extends {
|
|
9832
10054
|
channel_id?: string | undefined;
|
|
9833
10055
|
channel_private?: number | undefined;
|
|
10056
|
+
user_ids?: string[] | undefined;
|
|
10057
|
+
role_ids?: string[] | undefined;
|
|
9834
10058
|
} & {
|
|
9835
10059
|
channel_id?: string | undefined;
|
|
9836
10060
|
channel_private?: number | undefined;
|
|
9837
|
-
|
|
10061
|
+
user_ids?: (string[] & string[] & { [K_3 in Exclude<keyof I_1["user_ids"], keyof string[]>]: never; }) | undefined;
|
|
10062
|
+
role_ids?: (string[] & string[] & { [K_4 in Exclude<keyof I_1["role_ids"], keyof string[]>]: never; }) | undefined;
|
|
10063
|
+
} & { [K_5 in Exclude<keyof I_1, keyof ChangeChannelPrivateRequest>]: never; }>(object: I_1): ChangeChannelPrivateRequest;
|
|
9838
10064
|
};
|
|
9839
10065
|
export declare const AddChannelUsersRequest: {
|
|
9840
10066
|
encode(message: AddChannelUsersRequest, writer?: _m0.Writer): _m0.Writer;
|
|
@@ -12702,6 +12928,78 @@ export declare const ClanEmojiList: {
|
|
|
12702
12928
|
}[]>]: never; }) | undefined;
|
|
12703
12929
|
} & { [K_5 in Exclude<keyof I_1, "emoji_list">]: never; }>(object: I_1): ClanEmojiList;
|
|
12704
12930
|
};
|
|
12931
|
+
export declare const RegistrationEmailRequest: {
|
|
12932
|
+
encode(message: RegistrationEmailRequest, writer?: _m0.Writer): _m0.Writer;
|
|
12933
|
+
decode(input: _m0.Reader | Uint8Array, length?: number): RegistrationEmailRequest;
|
|
12934
|
+
fromJSON(object: any): RegistrationEmailRequest;
|
|
12935
|
+
toJSON(message: RegistrationEmailRequest): unknown;
|
|
12936
|
+
create<I extends {
|
|
12937
|
+
email?: string | undefined;
|
|
12938
|
+
password?: string | undefined;
|
|
12939
|
+
username?: string | undefined;
|
|
12940
|
+
display_name?: string | undefined;
|
|
12941
|
+
avatar_url?: string | undefined;
|
|
12942
|
+
dob?: string | undefined;
|
|
12943
|
+
vars?: {
|
|
12944
|
+
[x: string]: string | undefined;
|
|
12945
|
+
} | undefined;
|
|
12946
|
+
} & {
|
|
12947
|
+
email?: string | undefined;
|
|
12948
|
+
password?: string | undefined;
|
|
12949
|
+
username?: string | undefined;
|
|
12950
|
+
display_name?: string | undefined;
|
|
12951
|
+
avatar_url?: string | undefined;
|
|
12952
|
+
dob?: string | undefined;
|
|
12953
|
+
vars?: ({
|
|
12954
|
+
[x: string]: string | undefined;
|
|
12955
|
+
} & {
|
|
12956
|
+
[x: string]: string | undefined;
|
|
12957
|
+
} & { [K in Exclude<keyof I["vars"], string | number>]: never; }) | undefined;
|
|
12958
|
+
} & { [K_1 in Exclude<keyof I, keyof RegistrationEmailRequest>]: never; }>(base?: I | undefined): RegistrationEmailRequest;
|
|
12959
|
+
fromPartial<I_1 extends {
|
|
12960
|
+
email?: string | undefined;
|
|
12961
|
+
password?: string | undefined;
|
|
12962
|
+
username?: string | undefined;
|
|
12963
|
+
display_name?: string | undefined;
|
|
12964
|
+
avatar_url?: string | undefined;
|
|
12965
|
+
dob?: string | undefined;
|
|
12966
|
+
vars?: {
|
|
12967
|
+
[x: string]: string | undefined;
|
|
12968
|
+
} | undefined;
|
|
12969
|
+
} & {
|
|
12970
|
+
email?: string | undefined;
|
|
12971
|
+
password?: string | undefined;
|
|
12972
|
+
username?: string | undefined;
|
|
12973
|
+
display_name?: string | undefined;
|
|
12974
|
+
avatar_url?: string | undefined;
|
|
12975
|
+
dob?: string | undefined;
|
|
12976
|
+
vars?: ({
|
|
12977
|
+
[x: string]: string | undefined;
|
|
12978
|
+
} & {
|
|
12979
|
+
[x: string]: string | undefined;
|
|
12980
|
+
} & { [K_2 in Exclude<keyof I_1["vars"], string | number>]: never; }) | undefined;
|
|
12981
|
+
} & { [K_3 in Exclude<keyof I_1, keyof RegistrationEmailRequest>]: never; }>(object: I_1): RegistrationEmailRequest;
|
|
12982
|
+
};
|
|
12983
|
+
export declare const RegistrationEmailRequest_VarsEntry: {
|
|
12984
|
+
encode(message: RegistrationEmailRequest_VarsEntry, writer?: _m0.Writer): _m0.Writer;
|
|
12985
|
+
decode(input: _m0.Reader | Uint8Array, length?: number): RegistrationEmailRequest_VarsEntry;
|
|
12986
|
+
fromJSON(object: any): RegistrationEmailRequest_VarsEntry;
|
|
12987
|
+
toJSON(message: RegistrationEmailRequest_VarsEntry): unknown;
|
|
12988
|
+
create<I extends {
|
|
12989
|
+
key?: string | undefined;
|
|
12990
|
+
value?: string | undefined;
|
|
12991
|
+
} & {
|
|
12992
|
+
key?: string | undefined;
|
|
12993
|
+
value?: string | undefined;
|
|
12994
|
+
} & { [K in Exclude<keyof I, keyof RegistrationEmailRequest_VarsEntry>]: never; }>(base?: I | undefined): RegistrationEmailRequest_VarsEntry;
|
|
12995
|
+
fromPartial<I_1 extends {
|
|
12996
|
+
key?: string | undefined;
|
|
12997
|
+
value?: string | undefined;
|
|
12998
|
+
} & {
|
|
12999
|
+
key?: string | undefined;
|
|
13000
|
+
value?: string | undefined;
|
|
13001
|
+
} & { [K_1 in Exclude<keyof I_1, keyof RegistrationEmailRequest_VarsEntry>]: never; }>(object: I_1): RegistrationEmailRequest_VarsEntry;
|
|
13002
|
+
};
|
|
12705
13003
|
type Builtin = Date | Function | Uint8Array | string | number | boolean | undefined;
|
|
12706
13004
|
export type DeepPartial<T> = T extends Builtin ? T : T extends Array<infer U> ? Array<DeepPartial<U>> : T extends ReadonlyArray<infer U> ? ReadonlyArray<DeepPartial<U>> : T extends {} ? {
|
|
12707
13005
|
[K in keyof T]?: DeepPartial<T[K]>;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "mezon-js-protobuf",
|
|
3
|
-
"version": "1.4.
|
|
3
|
+
"version": "1.4.50",
|
|
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",
|