mezon-sdk 2.8.25 → 2.8.27
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/dist/cjs/api/api.d.ts +357 -73
- package/dist/cjs/api/api.js +754 -177
- package/dist/cjs/api/api.js.map +1 -1
- package/dist/cjs/constants/enum.d.ts +4 -1
- package/dist/cjs/constants/enum.js +3 -0
- package/dist/cjs/constants/enum.js.map +1 -1
- package/dist/cjs/interfaces/api.d.ts +1 -0
- package/dist/cjs/interfaces/client.d.ts +1 -0
- package/dist/cjs/interfaces/client.js.map +1 -1
- package/dist/cjs/interfaces/socket.d.ts +1 -1
- package/dist/cjs/mezon-client/client/MezonClient.js +20 -17
- package/dist/cjs/mezon-client/client/MezonClient.js.map +1 -1
- package/dist/cjs/mezon-client/manager/socket_manager.js +1 -1
- package/dist/cjs/mezon-client/manager/socket_manager.js.map +1 -1
- package/dist/cjs/mezon-client/structures/TextChannel.d.ts +5 -1
- package/dist/cjs/mezon-client/structures/TextChannel.js +46 -32
- package/dist/cjs/mezon-client/structures/TextChannel.js.map +1 -1
- package/dist/cjs/rtapi/realtime.d.ts +624 -641
- package/dist/cjs/rtapi/realtime.js +265 -43
- package/dist/cjs/rtapi/realtime.js.map +1 -1
- package/dist/cjs/session.d.ts +1 -0
- package/dist/cjs/session.js +1 -0
- package/dist/cjs/session.js.map +1 -1
- package/dist/cjs/socket.d.ts +1 -1
- package/dist/cjs/socket.js +2 -1
- package/dist/cjs/socket.js.map +1 -1
- package/dist/esm/api/api.d.ts +357 -73
- package/dist/esm/api/api.js +718 -152
- package/dist/esm/api/api.js.map +1 -1
- package/dist/esm/constants/enum.d.ts +4 -1
- package/dist/esm/constants/enum.js +3 -0
- package/dist/esm/constants/enum.js.map +1 -1
- package/dist/esm/interfaces/api.d.ts +1 -0
- package/dist/esm/interfaces/client.d.ts +1 -0
- package/dist/esm/interfaces/client.js.map +1 -1
- package/dist/esm/interfaces/socket.d.ts +1 -1
- package/dist/esm/mezon-client/client/MezonClient.js +17 -14
- package/dist/esm/mezon-client/client/MezonClient.js.map +1 -1
- package/dist/esm/mezon-client/manager/socket_manager.js +1 -1
- package/dist/esm/mezon-client/manager/socket_manager.js.map +1 -1
- package/dist/esm/mezon-client/structures/TextChannel.d.ts +5 -1
- package/dist/esm/mezon-client/structures/TextChannel.js +75 -29
- package/dist/esm/mezon-client/structures/TextChannel.js.map +1 -1
- package/dist/esm/rtapi/realtime.d.ts +624 -641
- package/dist/esm/rtapi/realtime.js +253 -33
- package/dist/esm/rtapi/realtime.js.map +1 -1
- package/dist/esm/session.d.ts +1 -0
- package/dist/esm/session.js +2 -0
- package/dist/esm/session.js.map +1 -1
- package/dist/esm/socket.d.ts +1 -1
- package/dist/esm/socket.js +2 -1
- package/dist/esm/socket.js.map +1 -1
- package/dist/tsconfig.esm.tsbuildinfo +1 -1
- package/dist/tsconfig.tsbuildinfo +1 -1
- package/package.json +1 -1
package/dist/esm/api/api.d.ts
CHANGED
|
@@ -49,8 +49,8 @@ export interface Account {
|
|
|
49
49
|
user: User | undefined;
|
|
50
50
|
/** The email address of the user. */
|
|
51
51
|
email: string;
|
|
52
|
-
/** The
|
|
53
|
-
|
|
52
|
+
/** The qr code in the user's account. */
|
|
53
|
+
qr_code: string;
|
|
54
54
|
/** The UNIX time (for gRPC clients) or ISO string (for REST clients) when the user's email was verified. */
|
|
55
55
|
verify_time: Date | undefined;
|
|
56
56
|
/** The UNIX time (for gRPC clients) or ISO string (for REST clients) when the user's account was disabled/banned. */
|
|
@@ -84,6 +84,13 @@ export interface AddFriendsRequest {
|
|
|
84
84
|
/** The account username of a user. */
|
|
85
85
|
usernames: string[];
|
|
86
86
|
}
|
|
87
|
+
/** Add one or more friends to the current user. */
|
|
88
|
+
export interface AddFriendsResponse {
|
|
89
|
+
/** The account id of a user. */
|
|
90
|
+
ids: string[];
|
|
91
|
+
/** The account username of a user. */
|
|
92
|
+
usernames: string[];
|
|
93
|
+
}
|
|
87
94
|
/** Add users to a group. */
|
|
88
95
|
export interface AddGroupUsersRequest {
|
|
89
96
|
/** The group to add users to. */
|
|
@@ -119,6 +126,13 @@ export interface SessionLogoutRequest {
|
|
|
119
126
|
/** platform */
|
|
120
127
|
platform: string;
|
|
121
128
|
}
|
|
129
|
+
export interface IsBannedResponse {
|
|
130
|
+
is_banned: boolean;
|
|
131
|
+
expired_ban_time: number;
|
|
132
|
+
}
|
|
133
|
+
export interface IsBannedRequest {
|
|
134
|
+
channel_id: string;
|
|
135
|
+
}
|
|
122
136
|
/** Ban users from a group. */
|
|
123
137
|
export interface BanGroupUsersRequest {
|
|
124
138
|
/** The group to ban users from. */
|
|
@@ -442,6 +456,10 @@ export interface ChannelUserList_ChannelUser {
|
|
|
442
456
|
clan_id: string;
|
|
443
457
|
/** added by */
|
|
444
458
|
added_by: string;
|
|
459
|
+
/** is banned */
|
|
460
|
+
is_banned: boolean;
|
|
461
|
+
/** expired time */
|
|
462
|
+
expired_ban_time: number;
|
|
445
463
|
}
|
|
446
464
|
/** A list of users belonging to a channel, along with their role. */
|
|
447
465
|
export interface VoiceChannelUser {
|
|
@@ -728,10 +746,12 @@ export interface Session {
|
|
|
728
746
|
/** Whether to enable "Remember Me" for extended session duration. */
|
|
729
747
|
is_remember: boolean;
|
|
730
748
|
}
|
|
749
|
+
/** Update username */
|
|
750
|
+
export interface UpdateUsernameRequest {
|
|
751
|
+
username: string;
|
|
752
|
+
}
|
|
731
753
|
/** Update a user's account details. */
|
|
732
754
|
export interface UpdateAccountRequest {
|
|
733
|
-
/** The username of the user's account. */
|
|
734
|
-
username: string | undefined;
|
|
735
755
|
/** The display name of the user. */
|
|
736
756
|
display_name: string | undefined;
|
|
737
757
|
/** A URL for an avatar image. */
|
|
@@ -911,7 +931,7 @@ export interface UpdateClanDescRequest {
|
|
|
911
931
|
/** Clan name */
|
|
912
932
|
clan_name: string;
|
|
913
933
|
/** Clan logo */
|
|
914
|
-
logo: string;
|
|
934
|
+
logo: string | undefined;
|
|
915
935
|
/** Clan banner */
|
|
916
936
|
banner: string | undefined;
|
|
917
937
|
/** Clan status */
|
|
@@ -927,9 +947,9 @@ export interface UpdateClanDescRequest {
|
|
|
927
947
|
/** Community banner. */
|
|
928
948
|
community_banner: string | undefined;
|
|
929
949
|
/** string description */
|
|
930
|
-
description: string;
|
|
950
|
+
description: string | undefined;
|
|
931
951
|
/** About */
|
|
932
|
-
about: string;
|
|
952
|
+
about: string | undefined;
|
|
933
953
|
/** Short url for community */
|
|
934
954
|
short_url: string | undefined;
|
|
935
955
|
/** Prevent anonymous */
|
|
@@ -1039,9 +1059,9 @@ export interface UpdateClanProfileRequest {
|
|
|
1039
1059
|
/** id clanc */
|
|
1040
1060
|
clan_id: string;
|
|
1041
1061
|
/** nick_name new */
|
|
1042
|
-
nick_name: string;
|
|
1062
|
+
nick_name: string | undefined;
|
|
1043
1063
|
/** avatar */
|
|
1044
|
-
avatar: string;
|
|
1064
|
+
avatar: string | undefined;
|
|
1045
1065
|
}
|
|
1046
1066
|
/** Update Clan Order Request */
|
|
1047
1067
|
export interface UpdateClanOrderRequest {
|
|
@@ -1287,7 +1307,7 @@ export interface UpdateChannelDescRequest {
|
|
|
1287
1307
|
/** */
|
|
1288
1308
|
e2ee: number;
|
|
1289
1309
|
/** channel avatar */
|
|
1290
|
-
channel_avatar: string;
|
|
1310
|
+
channel_avatar: string | undefined;
|
|
1291
1311
|
}
|
|
1292
1312
|
/** Update fields in a given channel. */
|
|
1293
1313
|
export interface ChangeChannelPrivateRequest {
|
|
@@ -1323,6 +1343,39 @@ export interface RemoveClanUsersRequest {
|
|
|
1323
1343
|
/** The users to kick. */
|
|
1324
1344
|
user_ids: string[];
|
|
1325
1345
|
}
|
|
1346
|
+
/** Ban a set of users from a channel. */
|
|
1347
|
+
export interface BanClanUsersRequest {
|
|
1348
|
+
/** The clan ID to kick from. */
|
|
1349
|
+
clan_id: string;
|
|
1350
|
+
/** The channel ID to ban */
|
|
1351
|
+
channel_id: string;
|
|
1352
|
+
/** The users to kick. */
|
|
1353
|
+
user_ids: string[];
|
|
1354
|
+
/** ban time */
|
|
1355
|
+
ban_time: number;
|
|
1356
|
+
/** The reason */
|
|
1357
|
+
reason: string;
|
|
1358
|
+
}
|
|
1359
|
+
/** list banned user */
|
|
1360
|
+
export interface BannedUser {
|
|
1361
|
+
/** The channel ID to ban */
|
|
1362
|
+
channel_id: string;
|
|
1363
|
+
/** The banned user. */
|
|
1364
|
+
banned_id: string;
|
|
1365
|
+
/** The avatar */
|
|
1366
|
+
banner_id: string;
|
|
1367
|
+
/** ban time */
|
|
1368
|
+
ban_time: number;
|
|
1369
|
+
/** The reason */
|
|
1370
|
+
reason: string;
|
|
1371
|
+
}
|
|
1372
|
+
export interface BannedUserListRequest {
|
|
1373
|
+
clan_id: string;
|
|
1374
|
+
channel_id: string;
|
|
1375
|
+
}
|
|
1376
|
+
export interface BannedUserList {
|
|
1377
|
+
banned_users: BannedUser[];
|
|
1378
|
+
}
|
|
1326
1379
|
/** Leave a channel. */
|
|
1327
1380
|
export interface LeaveThreadRequest {
|
|
1328
1381
|
clan_id: string;
|
|
@@ -1481,8 +1534,6 @@ export interface SetNotificationRequest {
|
|
|
1481
1534
|
channel_category_id: string;
|
|
1482
1535
|
/** notification_type */
|
|
1483
1536
|
notification_type: number;
|
|
1484
|
-
/** time mute channel category */
|
|
1485
|
-
time_mute: Date | undefined;
|
|
1486
1537
|
/** */
|
|
1487
1538
|
clan_id: string;
|
|
1488
1539
|
}
|
|
@@ -1493,11 +1544,12 @@ export interface PinMessageRequest {
|
|
|
1493
1544
|
clan_id: string;
|
|
1494
1545
|
}
|
|
1495
1546
|
/** set notification */
|
|
1496
|
-
export interface
|
|
1547
|
+
export interface SetMuteRequest {
|
|
1497
1548
|
/** channel_id and category_id */
|
|
1498
1549
|
id: string;
|
|
1499
|
-
|
|
1550
|
+
mute_time: number;
|
|
1500
1551
|
active: number;
|
|
1552
|
+
clan_id: string;
|
|
1501
1553
|
}
|
|
1502
1554
|
export interface HashtagDmListRequest {
|
|
1503
1555
|
/** user Id */
|
|
@@ -1552,12 +1604,8 @@ export interface SetDefaultNotificationRequest {
|
|
|
1552
1604
|
export interface RoleList {
|
|
1553
1605
|
/** A list of role. */
|
|
1554
1606
|
roles: Role[];
|
|
1555
|
-
/**
|
|
1556
|
-
|
|
1557
|
-
/** The cursor to send when retrieving the previous page, if any. */
|
|
1558
|
-
prev_cursor: string;
|
|
1559
|
-
/** Cacheable cursor to list newer role description. Durable and designed to be stored, unlike next/prev cursors. */
|
|
1560
|
-
cacheable_cursor: string;
|
|
1607
|
+
/** level permission max */
|
|
1608
|
+
max_level_permission: number;
|
|
1561
1609
|
}
|
|
1562
1610
|
export interface EventList {
|
|
1563
1611
|
/** A list of event. */
|
|
@@ -3082,7 +3130,7 @@ export declare const Account: {
|
|
|
3082
3130
|
status?: string | undefined;
|
|
3083
3131
|
} | undefined;
|
|
3084
3132
|
email?: string | undefined;
|
|
3085
|
-
|
|
3133
|
+
qr_code?: string | undefined;
|
|
3086
3134
|
verify_time?: Date | undefined;
|
|
3087
3135
|
disable_time?: Date | undefined;
|
|
3088
3136
|
logo?: string | undefined;
|
|
@@ -3134,7 +3182,7 @@ export declare const Account: {
|
|
|
3134
3182
|
status?: string | undefined;
|
|
3135
3183
|
} & { [K_1 in Exclude<keyof I["user"], keyof User>]: never; }) | undefined;
|
|
3136
3184
|
email?: string | undefined;
|
|
3137
|
-
|
|
3185
|
+
qr_code?: string | undefined;
|
|
3138
3186
|
verify_time?: Date | undefined;
|
|
3139
3187
|
disable_time?: Date | undefined;
|
|
3140
3188
|
logo?: string | undefined;
|
|
@@ -3166,7 +3214,7 @@ export declare const Account: {
|
|
|
3166
3214
|
status?: string | undefined;
|
|
3167
3215
|
} | undefined;
|
|
3168
3216
|
email?: string | undefined;
|
|
3169
|
-
|
|
3217
|
+
qr_code?: string | undefined;
|
|
3170
3218
|
verify_time?: Date | undefined;
|
|
3171
3219
|
disable_time?: Date | undefined;
|
|
3172
3220
|
logo?: string | undefined;
|
|
@@ -3218,7 +3266,7 @@ export declare const Account: {
|
|
|
3218
3266
|
status?: string | undefined;
|
|
3219
3267
|
} & { [K_4 in Exclude<keyof I_1["user"], keyof User>]: never; }) | undefined;
|
|
3220
3268
|
email?: string | undefined;
|
|
3221
|
-
|
|
3269
|
+
qr_code?: string | undefined;
|
|
3222
3270
|
verify_time?: Date | undefined;
|
|
3223
3271
|
disable_time?: Date | undefined;
|
|
3224
3272
|
logo?: string | undefined;
|
|
@@ -3299,6 +3347,26 @@ export declare const AddFriendsRequest: {
|
|
|
3299
3347
|
usernames?: (string[] & string[] & { [K_4 in Exclude<keyof I_1["usernames"], keyof string[]>]: never; }) | undefined;
|
|
3300
3348
|
} & { [K_5 in Exclude<keyof I_1, keyof AddFriendsRequest>]: never; }>(object: I_1): AddFriendsRequest;
|
|
3301
3349
|
};
|
|
3350
|
+
export declare const AddFriendsResponse: {
|
|
3351
|
+
encode(message: AddFriendsResponse, writer?: _m0.Writer): _m0.Writer;
|
|
3352
|
+
decode(input: _m0.Reader | Uint8Array, length?: number): AddFriendsResponse;
|
|
3353
|
+
fromJSON(object: any): AddFriendsResponse;
|
|
3354
|
+
toJSON(message: AddFriendsResponse): unknown;
|
|
3355
|
+
create<I extends {
|
|
3356
|
+
ids?: string[] | undefined;
|
|
3357
|
+
usernames?: string[] | undefined;
|
|
3358
|
+
} & {
|
|
3359
|
+
ids?: (string[] & string[] & { [K in Exclude<keyof I["ids"], keyof string[]>]: never; }) | undefined;
|
|
3360
|
+
usernames?: (string[] & string[] & { [K_1 in Exclude<keyof I["usernames"], keyof string[]>]: never; }) | undefined;
|
|
3361
|
+
} & { [K_2 in Exclude<keyof I, keyof AddFriendsResponse>]: never; }>(base?: I | undefined): AddFriendsResponse;
|
|
3362
|
+
fromPartial<I_1 extends {
|
|
3363
|
+
ids?: string[] | undefined;
|
|
3364
|
+
usernames?: string[] | undefined;
|
|
3365
|
+
} & {
|
|
3366
|
+
ids?: (string[] & string[] & { [K_3 in Exclude<keyof I_1["ids"], keyof string[]>]: never; }) | undefined;
|
|
3367
|
+
usernames?: (string[] & string[] & { [K_4 in Exclude<keyof I_1["usernames"], keyof string[]>]: never; }) | undefined;
|
|
3368
|
+
} & { [K_5 in Exclude<keyof I_1, keyof AddFriendsResponse>]: never; }>(object: I_1): AddFriendsResponse;
|
|
3369
|
+
};
|
|
3302
3370
|
export declare const AddGroupUsersRequest: {
|
|
3303
3371
|
encode(message: AddGroupUsersRequest, writer?: _m0.Writer): _m0.Writer;
|
|
3304
3372
|
decode(input: _m0.Reader | Uint8Array, length?: number): AddGroupUsersRequest;
|
|
@@ -3407,6 +3475,42 @@ export declare const SessionLogoutRequest: {
|
|
|
3407
3475
|
platform?: string | undefined;
|
|
3408
3476
|
} & { [K_1 in Exclude<keyof I_1, keyof SessionLogoutRequest>]: never; }>(object: I_1): SessionLogoutRequest;
|
|
3409
3477
|
};
|
|
3478
|
+
export declare const IsBannedResponse: {
|
|
3479
|
+
encode(message: IsBannedResponse, writer?: _m0.Writer): _m0.Writer;
|
|
3480
|
+
decode(input: _m0.Reader | Uint8Array, length?: number): IsBannedResponse;
|
|
3481
|
+
fromJSON(object: any): IsBannedResponse;
|
|
3482
|
+
toJSON(message: IsBannedResponse): unknown;
|
|
3483
|
+
create<I extends {
|
|
3484
|
+
is_banned?: boolean | undefined;
|
|
3485
|
+
expired_ban_time?: number | undefined;
|
|
3486
|
+
} & {
|
|
3487
|
+
is_banned?: boolean | undefined;
|
|
3488
|
+
expired_ban_time?: number | undefined;
|
|
3489
|
+
} & { [K in Exclude<keyof I, keyof IsBannedResponse>]: never; }>(base?: I | undefined): IsBannedResponse;
|
|
3490
|
+
fromPartial<I_1 extends {
|
|
3491
|
+
is_banned?: boolean | undefined;
|
|
3492
|
+
expired_ban_time?: number | undefined;
|
|
3493
|
+
} & {
|
|
3494
|
+
is_banned?: boolean | undefined;
|
|
3495
|
+
expired_ban_time?: number | undefined;
|
|
3496
|
+
} & { [K_1 in Exclude<keyof I_1, keyof IsBannedResponse>]: never; }>(object: I_1): IsBannedResponse;
|
|
3497
|
+
};
|
|
3498
|
+
export declare const IsBannedRequest: {
|
|
3499
|
+
encode(message: IsBannedRequest, writer?: _m0.Writer): _m0.Writer;
|
|
3500
|
+
decode(input: _m0.Reader | Uint8Array, length?: number): IsBannedRequest;
|
|
3501
|
+
fromJSON(object: any): IsBannedRequest;
|
|
3502
|
+
toJSON(message: IsBannedRequest): unknown;
|
|
3503
|
+
create<I extends {
|
|
3504
|
+
channel_id?: string | undefined;
|
|
3505
|
+
} & {
|
|
3506
|
+
channel_id?: string | undefined;
|
|
3507
|
+
} & { [K in Exclude<keyof I, "channel_id">]: never; }>(base?: I | undefined): IsBannedRequest;
|
|
3508
|
+
fromPartial<I_1 extends {
|
|
3509
|
+
channel_id?: string | undefined;
|
|
3510
|
+
} & {
|
|
3511
|
+
channel_id?: string | undefined;
|
|
3512
|
+
} & { [K_1 in Exclude<keyof I_1, "channel_id">]: never; }>(object: I_1): IsBannedRequest;
|
|
3513
|
+
};
|
|
3410
3514
|
export declare const BanGroupUsersRequest: {
|
|
3411
3515
|
encode(message: BanGroupUsersRequest, writer?: _m0.Writer): _m0.Writer;
|
|
3412
3516
|
decode(input: _m0.Reader | Uint8Array, length?: number): BanGroupUsersRequest;
|
|
@@ -5294,6 +5398,8 @@ export declare const ChannelUserList: {
|
|
|
5294
5398
|
clan_avatar?: string | undefined;
|
|
5295
5399
|
clan_id?: string | undefined;
|
|
5296
5400
|
added_by?: string | undefined;
|
|
5401
|
+
is_banned?: boolean | undefined;
|
|
5402
|
+
expired_ban_time?: number | undefined;
|
|
5297
5403
|
}[] | undefined;
|
|
5298
5404
|
cursor?: string | undefined;
|
|
5299
5405
|
channel_id?: string | undefined;
|
|
@@ -5307,6 +5413,8 @@ export declare const ChannelUserList: {
|
|
|
5307
5413
|
clan_avatar?: string | undefined;
|
|
5308
5414
|
clan_id?: string | undefined;
|
|
5309
5415
|
added_by?: string | undefined;
|
|
5416
|
+
is_banned?: boolean | undefined;
|
|
5417
|
+
expired_ban_time?: number | undefined;
|
|
5310
5418
|
}[] & ({
|
|
5311
5419
|
user_id?: string | undefined;
|
|
5312
5420
|
role_id?: string[] | undefined;
|
|
@@ -5316,6 +5424,8 @@ export declare const ChannelUserList: {
|
|
|
5316
5424
|
clan_avatar?: string | undefined;
|
|
5317
5425
|
clan_id?: string | undefined;
|
|
5318
5426
|
added_by?: string | undefined;
|
|
5427
|
+
is_banned?: boolean | undefined;
|
|
5428
|
+
expired_ban_time?: number | undefined;
|
|
5319
5429
|
} & {
|
|
5320
5430
|
user_id?: string | undefined;
|
|
5321
5431
|
role_id?: (string[] & string[] & { [K in Exclude<keyof I["channel_users"][number]["role_id"], keyof string[]>]: never; }) | undefined;
|
|
@@ -5325,6 +5435,8 @@ export declare const ChannelUserList: {
|
|
|
5325
5435
|
clan_avatar?: string | undefined;
|
|
5326
5436
|
clan_id?: string | undefined;
|
|
5327
5437
|
added_by?: string | undefined;
|
|
5438
|
+
is_banned?: boolean | undefined;
|
|
5439
|
+
expired_ban_time?: number | undefined;
|
|
5328
5440
|
} & { [K_1 in Exclude<keyof I["channel_users"][number], keyof ChannelUserList_ChannelUser>]: never; })[] & { [K_2 in Exclude<keyof I["channel_users"], keyof {
|
|
5329
5441
|
user_id?: string | undefined;
|
|
5330
5442
|
role_id?: string[] | undefined;
|
|
@@ -5334,6 +5446,8 @@ export declare const ChannelUserList: {
|
|
|
5334
5446
|
clan_avatar?: string | undefined;
|
|
5335
5447
|
clan_id?: string | undefined;
|
|
5336
5448
|
added_by?: string | undefined;
|
|
5449
|
+
is_banned?: boolean | undefined;
|
|
5450
|
+
expired_ban_time?: number | undefined;
|
|
5337
5451
|
}[]>]: never; }) | undefined;
|
|
5338
5452
|
cursor?: string | undefined;
|
|
5339
5453
|
channel_id?: string | undefined;
|
|
@@ -5348,6 +5462,8 @@ export declare const ChannelUserList: {
|
|
|
5348
5462
|
clan_avatar?: string | undefined;
|
|
5349
5463
|
clan_id?: string | undefined;
|
|
5350
5464
|
added_by?: string | undefined;
|
|
5465
|
+
is_banned?: boolean | undefined;
|
|
5466
|
+
expired_ban_time?: number | undefined;
|
|
5351
5467
|
}[] | undefined;
|
|
5352
5468
|
cursor?: string | undefined;
|
|
5353
5469
|
channel_id?: string | undefined;
|
|
@@ -5361,6 +5477,8 @@ export declare const ChannelUserList: {
|
|
|
5361
5477
|
clan_avatar?: string | undefined;
|
|
5362
5478
|
clan_id?: string | undefined;
|
|
5363
5479
|
added_by?: string | undefined;
|
|
5480
|
+
is_banned?: boolean | undefined;
|
|
5481
|
+
expired_ban_time?: number | undefined;
|
|
5364
5482
|
}[] & ({
|
|
5365
5483
|
user_id?: string | undefined;
|
|
5366
5484
|
role_id?: string[] | undefined;
|
|
@@ -5370,6 +5488,8 @@ export declare const ChannelUserList: {
|
|
|
5370
5488
|
clan_avatar?: string | undefined;
|
|
5371
5489
|
clan_id?: string | undefined;
|
|
5372
5490
|
added_by?: string | undefined;
|
|
5491
|
+
is_banned?: boolean | undefined;
|
|
5492
|
+
expired_ban_time?: number | undefined;
|
|
5373
5493
|
} & {
|
|
5374
5494
|
user_id?: string | undefined;
|
|
5375
5495
|
role_id?: (string[] & string[] & { [K_4 in Exclude<keyof I_1["channel_users"][number]["role_id"], keyof string[]>]: never; }) | undefined;
|
|
@@ -5379,6 +5499,8 @@ export declare const ChannelUserList: {
|
|
|
5379
5499
|
clan_avatar?: string | undefined;
|
|
5380
5500
|
clan_id?: string | undefined;
|
|
5381
5501
|
added_by?: string | undefined;
|
|
5502
|
+
is_banned?: boolean | undefined;
|
|
5503
|
+
expired_ban_time?: number | undefined;
|
|
5382
5504
|
} & { [K_5 in Exclude<keyof I_1["channel_users"][number], keyof ChannelUserList_ChannelUser>]: never; })[] & { [K_6 in Exclude<keyof I_1["channel_users"], keyof {
|
|
5383
5505
|
user_id?: string | undefined;
|
|
5384
5506
|
role_id?: string[] | undefined;
|
|
@@ -5388,6 +5510,8 @@ export declare const ChannelUserList: {
|
|
|
5388
5510
|
clan_avatar?: string | undefined;
|
|
5389
5511
|
clan_id?: string | undefined;
|
|
5390
5512
|
added_by?: string | undefined;
|
|
5513
|
+
is_banned?: boolean | undefined;
|
|
5514
|
+
expired_ban_time?: number | undefined;
|
|
5391
5515
|
}[]>]: never; }) | undefined;
|
|
5392
5516
|
cursor?: string | undefined;
|
|
5393
5517
|
channel_id?: string | undefined;
|
|
@@ -5407,6 +5531,8 @@ export declare const ChannelUserList_ChannelUser: {
|
|
|
5407
5531
|
clan_avatar?: string | undefined;
|
|
5408
5532
|
clan_id?: string | undefined;
|
|
5409
5533
|
added_by?: string | undefined;
|
|
5534
|
+
is_banned?: boolean | undefined;
|
|
5535
|
+
expired_ban_time?: number | undefined;
|
|
5410
5536
|
} & {
|
|
5411
5537
|
user_id?: string | undefined;
|
|
5412
5538
|
role_id?: (string[] & string[] & { [K in Exclude<keyof I["role_id"], keyof string[]>]: never; }) | undefined;
|
|
@@ -5416,6 +5542,8 @@ export declare const ChannelUserList_ChannelUser: {
|
|
|
5416
5542
|
clan_avatar?: string | undefined;
|
|
5417
5543
|
clan_id?: string | undefined;
|
|
5418
5544
|
added_by?: string | undefined;
|
|
5545
|
+
is_banned?: boolean | undefined;
|
|
5546
|
+
expired_ban_time?: number | undefined;
|
|
5419
5547
|
} & { [K_1 in Exclude<keyof I, keyof ChannelUserList_ChannelUser>]: never; }>(base?: I | undefined): ChannelUserList_ChannelUser;
|
|
5420
5548
|
fromPartial<I_1 extends {
|
|
5421
5549
|
user_id?: string | undefined;
|
|
@@ -5426,6 +5554,8 @@ export declare const ChannelUserList_ChannelUser: {
|
|
|
5426
5554
|
clan_avatar?: string | undefined;
|
|
5427
5555
|
clan_id?: string | undefined;
|
|
5428
5556
|
added_by?: string | undefined;
|
|
5557
|
+
is_banned?: boolean | undefined;
|
|
5558
|
+
expired_ban_time?: number | undefined;
|
|
5429
5559
|
} & {
|
|
5430
5560
|
user_id?: string | undefined;
|
|
5431
5561
|
role_id?: (string[] & string[] & { [K_2 in Exclude<keyof I_1["role_id"], keyof string[]>]: never; }) | undefined;
|
|
@@ -5435,6 +5565,8 @@ export declare const ChannelUserList_ChannelUser: {
|
|
|
5435
5565
|
clan_avatar?: string | undefined;
|
|
5436
5566
|
clan_id?: string | undefined;
|
|
5437
5567
|
added_by?: string | undefined;
|
|
5568
|
+
is_banned?: boolean | undefined;
|
|
5569
|
+
expired_ban_time?: number | undefined;
|
|
5438
5570
|
} & { [K_3 in Exclude<keyof I_1, keyof ChannelUserList_ChannelUser>]: never; }>(object: I_1): ChannelUserList_ChannelUser;
|
|
5439
5571
|
};
|
|
5440
5572
|
export declare const VoiceChannelUser: {
|
|
@@ -7965,13 +8097,28 @@ export declare const Session: {
|
|
|
7965
8097
|
is_remember?: boolean | undefined;
|
|
7966
8098
|
} & { [K_1 in Exclude<keyof I_1, keyof Session>]: never; }>(object: I_1): Session;
|
|
7967
8099
|
};
|
|
8100
|
+
export declare const UpdateUsernameRequest: {
|
|
8101
|
+
encode(message: UpdateUsernameRequest, writer?: _m0.Writer): _m0.Writer;
|
|
8102
|
+
decode(input: _m0.Reader | Uint8Array, length?: number): UpdateUsernameRequest;
|
|
8103
|
+
fromJSON(object: any): UpdateUsernameRequest;
|
|
8104
|
+
toJSON(message: UpdateUsernameRequest): unknown;
|
|
8105
|
+
create<I extends {
|
|
8106
|
+
username?: string | undefined;
|
|
8107
|
+
} & {
|
|
8108
|
+
username?: string | undefined;
|
|
8109
|
+
} & { [K in Exclude<keyof I, "username">]: never; }>(base?: I | undefined): UpdateUsernameRequest;
|
|
8110
|
+
fromPartial<I_1 extends {
|
|
8111
|
+
username?: string | undefined;
|
|
8112
|
+
} & {
|
|
8113
|
+
username?: string | undefined;
|
|
8114
|
+
} & { [K_1 in Exclude<keyof I_1, "username">]: never; }>(object: I_1): UpdateUsernameRequest;
|
|
8115
|
+
};
|
|
7968
8116
|
export declare const UpdateAccountRequest: {
|
|
7969
8117
|
encode(message: UpdateAccountRequest, writer?: _m0.Writer): _m0.Writer;
|
|
7970
8118
|
decode(input: _m0.Reader | Uint8Array, length?: number): UpdateAccountRequest;
|
|
7971
8119
|
fromJSON(object: any): UpdateAccountRequest;
|
|
7972
8120
|
toJSON(message: UpdateAccountRequest): unknown;
|
|
7973
8121
|
create<I extends {
|
|
7974
|
-
username?: string | undefined;
|
|
7975
8122
|
display_name?: string | undefined;
|
|
7976
8123
|
avatar_url?: string | undefined;
|
|
7977
8124
|
lang_tag?: string | undefined;
|
|
@@ -7984,7 +8131,6 @@ export declare const UpdateAccountRequest: {
|
|
|
7984
8131
|
encrypt_private_key?: string | undefined;
|
|
7985
8132
|
email?: string | undefined;
|
|
7986
8133
|
} & {
|
|
7987
|
-
username?: string | undefined;
|
|
7988
8134
|
display_name?: string | undefined;
|
|
7989
8135
|
avatar_url?: string | undefined;
|
|
7990
8136
|
lang_tag?: string | undefined;
|
|
@@ -7998,7 +8144,6 @@ export declare const UpdateAccountRequest: {
|
|
|
7998
8144
|
email?: string | undefined;
|
|
7999
8145
|
} & { [K in Exclude<keyof I, keyof UpdateAccountRequest>]: never; }>(base?: I | undefined): UpdateAccountRequest;
|
|
8000
8146
|
fromPartial<I_1 extends {
|
|
8001
|
-
username?: string | undefined;
|
|
8002
8147
|
display_name?: string | undefined;
|
|
8003
8148
|
avatar_url?: string | undefined;
|
|
8004
8149
|
lang_tag?: string | undefined;
|
|
@@ -8011,7 +8156,6 @@ export declare const UpdateAccountRequest: {
|
|
|
8011
8156
|
encrypt_private_key?: string | undefined;
|
|
8012
8157
|
email?: string | undefined;
|
|
8013
8158
|
} & {
|
|
8014
|
-
username?: string | undefined;
|
|
8015
8159
|
display_name?: string | undefined;
|
|
8016
8160
|
avatar_url?: string | undefined;
|
|
8017
8161
|
lang_tag?: string | undefined;
|
|
@@ -11107,6 +11251,166 @@ export declare const RemoveClanUsersRequest: {
|
|
|
11107
11251
|
user_ids?: (string[] & string[] & { [K_2 in Exclude<keyof I_1["user_ids"], keyof string[]>]: never; }) | undefined;
|
|
11108
11252
|
} & { [K_3 in Exclude<keyof I_1, keyof RemoveClanUsersRequest>]: never; }>(object: I_1): RemoveClanUsersRequest;
|
|
11109
11253
|
};
|
|
11254
|
+
export declare const BanClanUsersRequest: {
|
|
11255
|
+
encode(message: BanClanUsersRequest, writer?: _m0.Writer): _m0.Writer;
|
|
11256
|
+
decode(input: _m0.Reader | Uint8Array, length?: number): BanClanUsersRequest;
|
|
11257
|
+
fromJSON(object: any): BanClanUsersRequest;
|
|
11258
|
+
toJSON(message: BanClanUsersRequest): unknown;
|
|
11259
|
+
create<I extends {
|
|
11260
|
+
clan_id?: string | undefined;
|
|
11261
|
+
channel_id?: string | undefined;
|
|
11262
|
+
user_ids?: string[] | undefined;
|
|
11263
|
+
ban_time?: number | undefined;
|
|
11264
|
+
reason?: string | undefined;
|
|
11265
|
+
} & {
|
|
11266
|
+
clan_id?: string | undefined;
|
|
11267
|
+
channel_id?: string | undefined;
|
|
11268
|
+
user_ids?: (string[] & string[] & { [K in Exclude<keyof I["user_ids"], keyof string[]>]: never; }) | undefined;
|
|
11269
|
+
ban_time?: number | undefined;
|
|
11270
|
+
reason?: string | undefined;
|
|
11271
|
+
} & { [K_1 in Exclude<keyof I, keyof BanClanUsersRequest>]: never; }>(base?: I | undefined): BanClanUsersRequest;
|
|
11272
|
+
fromPartial<I_1 extends {
|
|
11273
|
+
clan_id?: string | undefined;
|
|
11274
|
+
channel_id?: string | undefined;
|
|
11275
|
+
user_ids?: string[] | undefined;
|
|
11276
|
+
ban_time?: number | undefined;
|
|
11277
|
+
reason?: string | undefined;
|
|
11278
|
+
} & {
|
|
11279
|
+
clan_id?: string | undefined;
|
|
11280
|
+
channel_id?: string | undefined;
|
|
11281
|
+
user_ids?: (string[] & string[] & { [K_2 in Exclude<keyof I_1["user_ids"], keyof string[]>]: never; }) | undefined;
|
|
11282
|
+
ban_time?: number | undefined;
|
|
11283
|
+
reason?: string | undefined;
|
|
11284
|
+
} & { [K_3 in Exclude<keyof I_1, keyof BanClanUsersRequest>]: never; }>(object: I_1): BanClanUsersRequest;
|
|
11285
|
+
};
|
|
11286
|
+
export declare const BannedUser: {
|
|
11287
|
+
encode(message: BannedUser, writer?: _m0.Writer): _m0.Writer;
|
|
11288
|
+
decode(input: _m0.Reader | Uint8Array, length?: number): BannedUser;
|
|
11289
|
+
fromJSON(object: any): BannedUser;
|
|
11290
|
+
toJSON(message: BannedUser): unknown;
|
|
11291
|
+
create<I extends {
|
|
11292
|
+
channel_id?: string | undefined;
|
|
11293
|
+
banned_id?: string | undefined;
|
|
11294
|
+
banner_id?: string | undefined;
|
|
11295
|
+
ban_time?: number | undefined;
|
|
11296
|
+
reason?: string | undefined;
|
|
11297
|
+
} & {
|
|
11298
|
+
channel_id?: string | undefined;
|
|
11299
|
+
banned_id?: string | undefined;
|
|
11300
|
+
banner_id?: string | undefined;
|
|
11301
|
+
ban_time?: number | undefined;
|
|
11302
|
+
reason?: string | undefined;
|
|
11303
|
+
} & { [K in Exclude<keyof I, keyof BannedUser>]: never; }>(base?: I | undefined): BannedUser;
|
|
11304
|
+
fromPartial<I_1 extends {
|
|
11305
|
+
channel_id?: string | undefined;
|
|
11306
|
+
banned_id?: string | undefined;
|
|
11307
|
+
banner_id?: string | undefined;
|
|
11308
|
+
ban_time?: number | undefined;
|
|
11309
|
+
reason?: string | undefined;
|
|
11310
|
+
} & {
|
|
11311
|
+
channel_id?: string | undefined;
|
|
11312
|
+
banned_id?: string | undefined;
|
|
11313
|
+
banner_id?: string | undefined;
|
|
11314
|
+
ban_time?: number | undefined;
|
|
11315
|
+
reason?: string | undefined;
|
|
11316
|
+
} & { [K_1 in Exclude<keyof I_1, keyof BannedUser>]: never; }>(object: I_1): BannedUser;
|
|
11317
|
+
};
|
|
11318
|
+
export declare const BannedUserListRequest: {
|
|
11319
|
+
encode(message: BannedUserListRequest, writer?: _m0.Writer): _m0.Writer;
|
|
11320
|
+
decode(input: _m0.Reader | Uint8Array, length?: number): BannedUserListRequest;
|
|
11321
|
+
fromJSON(object: any): BannedUserListRequest;
|
|
11322
|
+
toJSON(message: BannedUserListRequest): unknown;
|
|
11323
|
+
create<I extends {
|
|
11324
|
+
clan_id?: string | undefined;
|
|
11325
|
+
channel_id?: string | undefined;
|
|
11326
|
+
} & {
|
|
11327
|
+
clan_id?: string | undefined;
|
|
11328
|
+
channel_id?: string | undefined;
|
|
11329
|
+
} & { [K in Exclude<keyof I, keyof BannedUserListRequest>]: never; }>(base?: I | undefined): BannedUserListRequest;
|
|
11330
|
+
fromPartial<I_1 extends {
|
|
11331
|
+
clan_id?: string | undefined;
|
|
11332
|
+
channel_id?: string | undefined;
|
|
11333
|
+
} & {
|
|
11334
|
+
clan_id?: string | undefined;
|
|
11335
|
+
channel_id?: string | undefined;
|
|
11336
|
+
} & { [K_1 in Exclude<keyof I_1, keyof BannedUserListRequest>]: never; }>(object: I_1): BannedUserListRequest;
|
|
11337
|
+
};
|
|
11338
|
+
export declare const BannedUserList: {
|
|
11339
|
+
encode(message: BannedUserList, writer?: _m0.Writer): _m0.Writer;
|
|
11340
|
+
decode(input: _m0.Reader | Uint8Array, length?: number): BannedUserList;
|
|
11341
|
+
fromJSON(object: any): BannedUserList;
|
|
11342
|
+
toJSON(message: BannedUserList): unknown;
|
|
11343
|
+
create<I extends {
|
|
11344
|
+
banned_users?: {
|
|
11345
|
+
channel_id?: string | undefined;
|
|
11346
|
+
banned_id?: string | undefined;
|
|
11347
|
+
banner_id?: string | undefined;
|
|
11348
|
+
ban_time?: number | undefined;
|
|
11349
|
+
reason?: string | undefined;
|
|
11350
|
+
}[] | undefined;
|
|
11351
|
+
} & {
|
|
11352
|
+
banned_users?: ({
|
|
11353
|
+
channel_id?: string | undefined;
|
|
11354
|
+
banned_id?: string | undefined;
|
|
11355
|
+
banner_id?: string | undefined;
|
|
11356
|
+
ban_time?: number | undefined;
|
|
11357
|
+
reason?: string | undefined;
|
|
11358
|
+
}[] & ({
|
|
11359
|
+
channel_id?: string | undefined;
|
|
11360
|
+
banned_id?: string | undefined;
|
|
11361
|
+
banner_id?: string | undefined;
|
|
11362
|
+
ban_time?: number | undefined;
|
|
11363
|
+
reason?: string | undefined;
|
|
11364
|
+
} & {
|
|
11365
|
+
channel_id?: string | undefined;
|
|
11366
|
+
banned_id?: string | undefined;
|
|
11367
|
+
banner_id?: string | undefined;
|
|
11368
|
+
ban_time?: number | undefined;
|
|
11369
|
+
reason?: string | undefined;
|
|
11370
|
+
} & { [K in Exclude<keyof I["banned_users"][number], keyof BannedUser>]: never; })[] & { [K_1 in Exclude<keyof I["banned_users"], keyof {
|
|
11371
|
+
channel_id?: string | undefined;
|
|
11372
|
+
banned_id?: string | undefined;
|
|
11373
|
+
banner_id?: string | undefined;
|
|
11374
|
+
ban_time?: number | undefined;
|
|
11375
|
+
reason?: string | undefined;
|
|
11376
|
+
}[]>]: never; }) | undefined;
|
|
11377
|
+
} & { [K_2 in Exclude<keyof I, "banned_users">]: never; }>(base?: I | undefined): BannedUserList;
|
|
11378
|
+
fromPartial<I_1 extends {
|
|
11379
|
+
banned_users?: {
|
|
11380
|
+
channel_id?: string | undefined;
|
|
11381
|
+
banned_id?: string | undefined;
|
|
11382
|
+
banner_id?: string | undefined;
|
|
11383
|
+
ban_time?: number | undefined;
|
|
11384
|
+
reason?: string | undefined;
|
|
11385
|
+
}[] | undefined;
|
|
11386
|
+
} & {
|
|
11387
|
+
banned_users?: ({
|
|
11388
|
+
channel_id?: string | undefined;
|
|
11389
|
+
banned_id?: string | undefined;
|
|
11390
|
+
banner_id?: string | undefined;
|
|
11391
|
+
ban_time?: number | undefined;
|
|
11392
|
+
reason?: string | undefined;
|
|
11393
|
+
}[] & ({
|
|
11394
|
+
channel_id?: string | undefined;
|
|
11395
|
+
banned_id?: string | undefined;
|
|
11396
|
+
banner_id?: string | undefined;
|
|
11397
|
+
ban_time?: number | undefined;
|
|
11398
|
+
reason?: string | undefined;
|
|
11399
|
+
} & {
|
|
11400
|
+
channel_id?: string | undefined;
|
|
11401
|
+
banned_id?: string | undefined;
|
|
11402
|
+
banner_id?: string | undefined;
|
|
11403
|
+
ban_time?: number | undefined;
|
|
11404
|
+
reason?: string | undefined;
|
|
11405
|
+
} & { [K_3 in Exclude<keyof I_1["banned_users"][number], keyof BannedUser>]: never; })[] & { [K_4 in Exclude<keyof I_1["banned_users"], keyof {
|
|
11406
|
+
channel_id?: string | undefined;
|
|
11407
|
+
banned_id?: string | undefined;
|
|
11408
|
+
banner_id?: string | undefined;
|
|
11409
|
+
ban_time?: number | undefined;
|
|
11410
|
+
reason?: string | undefined;
|
|
11411
|
+
}[]>]: never; }) | undefined;
|
|
11412
|
+
} & { [K_5 in Exclude<keyof I_1, "banned_users">]: never; }>(object: I_1): BannedUserList;
|
|
11413
|
+
};
|
|
11110
11414
|
export declare const LeaveThreadRequest: {
|
|
11111
11415
|
encode(message: LeaveThreadRequest, writer?: _m0.Writer): _m0.Writer;
|
|
11112
11416
|
decode(input: _m0.Reader | Uint8Array, length?: number): LeaveThreadRequest;
|
|
@@ -12003,23 +12307,19 @@ export declare const SetNotificationRequest: {
|
|
|
12003
12307
|
create<I extends {
|
|
12004
12308
|
channel_category_id?: string | undefined;
|
|
12005
12309
|
notification_type?: number | undefined;
|
|
12006
|
-
time_mute?: Date | undefined;
|
|
12007
12310
|
clan_id?: string | undefined;
|
|
12008
12311
|
} & {
|
|
12009
12312
|
channel_category_id?: string | undefined;
|
|
12010
12313
|
notification_type?: number | undefined;
|
|
12011
|
-
time_mute?: Date | undefined;
|
|
12012
12314
|
clan_id?: string | undefined;
|
|
12013
12315
|
} & { [K in Exclude<keyof I, keyof SetNotificationRequest>]: never; }>(base?: I | undefined): SetNotificationRequest;
|
|
12014
12316
|
fromPartial<I_1 extends {
|
|
12015
12317
|
channel_category_id?: string | undefined;
|
|
12016
12318
|
notification_type?: number | undefined;
|
|
12017
|
-
time_mute?: Date | undefined;
|
|
12018
12319
|
clan_id?: string | undefined;
|
|
12019
12320
|
} & {
|
|
12020
12321
|
channel_category_id?: string | undefined;
|
|
12021
12322
|
notification_type?: number | undefined;
|
|
12022
|
-
time_mute?: Date | undefined;
|
|
12023
12323
|
clan_id?: string | undefined;
|
|
12024
12324
|
} & { [K_1 in Exclude<keyof I_1, keyof SetNotificationRequest>]: never; }>(object: I_1): SetNotificationRequest;
|
|
12025
12325
|
};
|
|
@@ -12047,29 +12347,33 @@ export declare const PinMessageRequest: {
|
|
|
12047
12347
|
clan_id?: string | undefined;
|
|
12048
12348
|
} & { [K_1 in Exclude<keyof I_1, keyof PinMessageRequest>]: never; }>(object: I_1): PinMessageRequest;
|
|
12049
12349
|
};
|
|
12050
|
-
export declare const
|
|
12051
|
-
encode(message:
|
|
12052
|
-
decode(input: _m0.Reader | Uint8Array, length?: number):
|
|
12053
|
-
fromJSON(object: any):
|
|
12054
|
-
toJSON(message:
|
|
12350
|
+
export declare const SetMuteRequest: {
|
|
12351
|
+
encode(message: SetMuteRequest, writer?: _m0.Writer): _m0.Writer;
|
|
12352
|
+
decode(input: _m0.Reader | Uint8Array, length?: number): SetMuteRequest;
|
|
12353
|
+
fromJSON(object: any): SetMuteRequest;
|
|
12354
|
+
toJSON(message: SetMuteRequest): unknown;
|
|
12055
12355
|
create<I extends {
|
|
12056
12356
|
id?: string | undefined;
|
|
12057
|
-
|
|
12357
|
+
mute_time?: number | undefined;
|
|
12058
12358
|
active?: number | undefined;
|
|
12359
|
+
clan_id?: string | undefined;
|
|
12059
12360
|
} & {
|
|
12060
12361
|
id?: string | undefined;
|
|
12061
|
-
|
|
12362
|
+
mute_time?: number | undefined;
|
|
12062
12363
|
active?: number | undefined;
|
|
12063
|
-
|
|
12364
|
+
clan_id?: string | undefined;
|
|
12365
|
+
} & { [K in Exclude<keyof I, keyof SetMuteRequest>]: never; }>(base?: I | undefined): SetMuteRequest;
|
|
12064
12366
|
fromPartial<I_1 extends {
|
|
12065
12367
|
id?: string | undefined;
|
|
12066
|
-
|
|
12368
|
+
mute_time?: number | undefined;
|
|
12067
12369
|
active?: number | undefined;
|
|
12370
|
+
clan_id?: string | undefined;
|
|
12068
12371
|
} & {
|
|
12069
12372
|
id?: string | undefined;
|
|
12070
|
-
|
|
12373
|
+
mute_time?: number | undefined;
|
|
12071
12374
|
active?: number | undefined;
|
|
12072
|
-
|
|
12375
|
+
clan_id?: string | undefined;
|
|
12376
|
+
} & { [K_1 in Exclude<keyof I_1, keyof SetMuteRequest>]: never; }>(object: I_1): SetMuteRequest;
|
|
12073
12377
|
};
|
|
12074
12378
|
export declare const HashtagDmListRequest: {
|
|
12075
12379
|
encode(message: HashtagDmListRequest, writer?: _m0.Writer): _m0.Writer;
|
|
@@ -12420,9 +12724,7 @@ export declare const RoleList: {
|
|
|
12420
12724
|
max_level_permission?: number | undefined;
|
|
12421
12725
|
order_role?: number | undefined;
|
|
12422
12726
|
}[] | undefined;
|
|
12423
|
-
|
|
12424
|
-
prev_cursor?: string | undefined;
|
|
12425
|
-
cacheable_cursor?: string | undefined;
|
|
12727
|
+
max_level_permission?: number | undefined;
|
|
12426
12728
|
} & {
|
|
12427
12729
|
roles?: ({
|
|
12428
12730
|
id?: string | undefined;
|
|
@@ -12655,9 +12957,7 @@ export declare const RoleList: {
|
|
|
12655
12957
|
max_level_permission?: number | undefined;
|
|
12656
12958
|
order_role?: number | undefined;
|
|
12657
12959
|
}[]>]: never; }) | undefined;
|
|
12658
|
-
|
|
12659
|
-
prev_cursor?: string | undefined;
|
|
12660
|
-
cacheable_cursor?: string | undefined;
|
|
12960
|
+
max_level_permission?: number | undefined;
|
|
12661
12961
|
} & { [K_9 in Exclude<keyof I, keyof RoleList>]: never; }>(base?: I | undefined): RoleList;
|
|
12662
12962
|
fromPartial<I_1 extends {
|
|
12663
12963
|
roles?: {
|
|
@@ -12701,9 +13001,7 @@ export declare const RoleList: {
|
|
|
12701
13001
|
max_level_permission?: number | undefined;
|
|
12702
13002
|
order_role?: number | undefined;
|
|
12703
13003
|
}[] | undefined;
|
|
12704
|
-
|
|
12705
|
-
prev_cursor?: string | undefined;
|
|
12706
|
-
cacheable_cursor?: string | undefined;
|
|
13004
|
+
max_level_permission?: number | undefined;
|
|
12707
13005
|
} & {
|
|
12708
13006
|
roles?: ({
|
|
12709
13007
|
id?: string | undefined;
|
|
@@ -12936,9 +13234,7 @@ export declare const RoleList: {
|
|
|
12936
13234
|
max_level_permission?: number | undefined;
|
|
12937
13235
|
order_role?: number | undefined;
|
|
12938
13236
|
}[]>]: never; }) | undefined;
|
|
12939
|
-
|
|
12940
|
-
prev_cursor?: string | undefined;
|
|
12941
|
-
cacheable_cursor?: string | undefined;
|
|
13237
|
+
max_level_permission?: number | undefined;
|
|
12942
13238
|
} & { [K_19 in Exclude<keyof I_1, keyof RoleList>]: never; }>(object: I_1): RoleList;
|
|
12943
13239
|
};
|
|
12944
13240
|
export declare const EventList: {
|
|
@@ -17163,9 +17459,7 @@ export declare const RoleListEventResponse: {
|
|
|
17163
17459
|
max_level_permission?: number | undefined;
|
|
17164
17460
|
order_role?: number | undefined;
|
|
17165
17461
|
}[] | undefined;
|
|
17166
|
-
|
|
17167
|
-
prev_cursor?: string | undefined;
|
|
17168
|
-
cacheable_cursor?: string | undefined;
|
|
17462
|
+
max_level_permission?: number | undefined;
|
|
17169
17463
|
} | undefined;
|
|
17170
17464
|
} & {
|
|
17171
17465
|
limit?: number | undefined;
|
|
@@ -17214,9 +17508,7 @@ export declare const RoleListEventResponse: {
|
|
|
17214
17508
|
max_level_permission?: number | undefined;
|
|
17215
17509
|
order_role?: number | undefined;
|
|
17216
17510
|
}[] | undefined;
|
|
17217
|
-
|
|
17218
|
-
prev_cursor?: string | undefined;
|
|
17219
|
-
cacheable_cursor?: string | undefined;
|
|
17511
|
+
max_level_permission?: number | undefined;
|
|
17220
17512
|
} & {
|
|
17221
17513
|
roles?: ({
|
|
17222
17514
|
id?: string | undefined;
|
|
@@ -17449,9 +17741,7 @@ export declare const RoleListEventResponse: {
|
|
|
17449
17741
|
max_level_permission?: number | undefined;
|
|
17450
17742
|
order_role?: number | undefined;
|
|
17451
17743
|
}[]>]: never; }) | undefined;
|
|
17452
|
-
|
|
17453
|
-
prev_cursor?: string | undefined;
|
|
17454
|
-
cacheable_cursor?: string | undefined;
|
|
17744
|
+
max_level_permission?: number | undefined;
|
|
17455
17745
|
} & { [K_9 in Exclude<keyof I["roles"], keyof RoleList>]: never; }) | undefined;
|
|
17456
17746
|
} & { [K_10 in Exclude<keyof I, keyof RoleListEventResponse>]: never; }>(base?: I | undefined): RoleListEventResponse;
|
|
17457
17747
|
fromPartial<I_1 extends {
|
|
@@ -17501,9 +17791,7 @@ export declare const RoleListEventResponse: {
|
|
|
17501
17791
|
max_level_permission?: number | undefined;
|
|
17502
17792
|
order_role?: number | undefined;
|
|
17503
17793
|
}[] | undefined;
|
|
17504
|
-
|
|
17505
|
-
prev_cursor?: string | undefined;
|
|
17506
|
-
cacheable_cursor?: string | undefined;
|
|
17794
|
+
max_level_permission?: number | undefined;
|
|
17507
17795
|
} | undefined;
|
|
17508
17796
|
} & {
|
|
17509
17797
|
limit?: number | undefined;
|
|
@@ -17552,9 +17840,7 @@ export declare const RoleListEventResponse: {
|
|
|
17552
17840
|
max_level_permission?: number | undefined;
|
|
17553
17841
|
order_role?: number | undefined;
|
|
17554
17842
|
}[] | undefined;
|
|
17555
|
-
|
|
17556
|
-
prev_cursor?: string | undefined;
|
|
17557
|
-
cacheable_cursor?: string | undefined;
|
|
17843
|
+
max_level_permission?: number | undefined;
|
|
17558
17844
|
} & {
|
|
17559
17845
|
roles?: ({
|
|
17560
17846
|
id?: string | undefined;
|
|
@@ -17787,9 +18073,7 @@ export declare const RoleListEventResponse: {
|
|
|
17787
18073
|
max_level_permission?: number | undefined;
|
|
17788
18074
|
order_role?: number | undefined;
|
|
17789
18075
|
}[]>]: never; }) | undefined;
|
|
17790
|
-
|
|
17791
|
-
prev_cursor?: string | undefined;
|
|
17792
|
-
cacheable_cursor?: string | undefined;
|
|
18076
|
+
max_level_permission?: number | undefined;
|
|
17793
18077
|
} & { [K_20 in Exclude<keyof I_1["roles"], keyof RoleList>]: never; }) | undefined;
|
|
17794
18078
|
} & { [K_21 in Exclude<keyof I_1, keyof RoleListEventResponse>]: never; }>(object: I_1): RoleListEventResponse;
|
|
17795
18079
|
};
|