mezon-js-protobuf 1.6.23 → 1.6.25
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/mezon-js-protobuf/rtapi/realtime.d.ts +486 -104
- package/dist/mezon-js-protobuf.cjs.js +454 -5
- package/dist/mezon-js-protobuf.esm.mjs +454 -5
- package/package.json +1 -1
- package/rtapi/realtime.ts +364 -5
- package/web_socket_adapter_pb.ts +13 -8
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import _m0 from "protobufjs/minimal";
|
|
2
|
-
import { ChannelMessage, ChannelMessageHeader, CreateEventRequest, GiveCoffeeEvent, MessageAttachment, MessageMention, MessageReaction, MessageRef, Notification, PermissionUpdate, Role, Rpc, TokenSentEvent } from "../api/api";
|
|
2
|
+
import { ChannelMessage, ChannelMessageHeader, CreateEventRequest, GiveCoffeeEvent, MessageAttachment, MessageMention, MessageReaction, MessageRef, Notification, PermissionUpdate, Role, Rpc, TokenSentEvent, UserActivity } from "../api/api";
|
|
3
3
|
export declare const protobufPackage = "mezon.realtime";
|
|
4
4
|
/** The realtime protocol for Mezon server. */
|
|
5
5
|
/** An envelope for a realtime message. */
|
|
@@ -89,9 +89,9 @@ export interface Envelope {
|
|
|
89
89
|
user_profile_updated_event?: UserProfileUpdatedEvent | undefined;
|
|
90
90
|
/** user join clan */
|
|
91
91
|
add_clan_user_event?: AddClanUserEvent | undefined;
|
|
92
|
-
/**
|
|
92
|
+
/** clan event created */
|
|
93
93
|
clan_event_created?: CreateEventRequest | undefined;
|
|
94
|
-
/**
|
|
94
|
+
/** role assigned event */
|
|
95
95
|
role_assign_event?: RoleAssignedEvent | undefined;
|
|
96
96
|
/** clan deleted event */
|
|
97
97
|
clan_deleted_event?: ClanDeletedEvent | undefined;
|
|
@@ -105,7 +105,7 @@ export interface Envelope {
|
|
|
105
105
|
sticker_delete_event?: StickerDeleteEvent | undefined;
|
|
106
106
|
/** role created event */
|
|
107
107
|
role_event?: RoleEvent | undefined;
|
|
108
|
-
/** Event
|
|
108
|
+
/** Event emoji */
|
|
109
109
|
event_emoji?: EventEmoji | undefined;
|
|
110
110
|
/** user join streaming channel */
|
|
111
111
|
streaming_joined_event?: StreamingJoinedEvent | undefined;
|
|
@@ -126,11 +126,18 @@ export interface Envelope {
|
|
|
126
126
|
unmute_event?: UnmuteEvent | undefined;
|
|
127
127
|
/** voice call */
|
|
128
128
|
webrtc_signaling_fwd?: WebrtcSignalingFwd | undefined;
|
|
129
|
+
/** join ptt */
|
|
130
|
+
join_ptt_channel?: JoinPTTChannel | undefined;
|
|
131
|
+
/** talk ptt */
|
|
132
|
+
talk_ptt_channel?: TalkPTTChannel | undefined;
|
|
133
|
+
/** List activity event for each user */
|
|
134
|
+
list_activity?: ListActivity | undefined;
|
|
129
135
|
}
|
|
130
136
|
export interface WebrtcSignalingFwd {
|
|
131
137
|
receiver_id: string;
|
|
132
138
|
data_type: number;
|
|
133
139
|
json_data: string;
|
|
140
|
+
channel_id: string;
|
|
134
141
|
}
|
|
135
142
|
export interface AddClanUserEvent {
|
|
136
143
|
/** the clan id */
|
|
@@ -883,6 +890,27 @@ export interface UnmuteEvent {
|
|
|
883
890
|
/** clan id */
|
|
884
891
|
clan_id: string;
|
|
885
892
|
}
|
|
893
|
+
export interface JoinPTTChannel {
|
|
894
|
+
/** channel id */
|
|
895
|
+
channel_id: string;
|
|
896
|
+
/** type offer, answer or candidate */
|
|
897
|
+
date_type: number;
|
|
898
|
+
/** offer */
|
|
899
|
+
json_data: string;
|
|
900
|
+
}
|
|
901
|
+
export interface TalkPTTChannel {
|
|
902
|
+
/** channel id */
|
|
903
|
+
channel_id: string;
|
|
904
|
+
/** type offer, answer or candidate */
|
|
905
|
+
data_type: number;
|
|
906
|
+
/** offer */
|
|
907
|
+
json_data: string;
|
|
908
|
+
/** start or end */
|
|
909
|
+
state: number;
|
|
910
|
+
}
|
|
911
|
+
export interface ListActivity {
|
|
912
|
+
acts: UserActivity[];
|
|
913
|
+
}
|
|
886
914
|
export declare const Envelope: {
|
|
887
915
|
encode(message: Envelope, writer?: _m0.Writer): _m0.Writer;
|
|
888
916
|
decode(input: _m0.Reader | Uint8Array, length?: number): Envelope;
|
|
@@ -1518,6 +1546,30 @@ export declare const Envelope: {
|
|
|
1518
1546
|
receiver_id?: string | undefined;
|
|
1519
1547
|
data_type?: number | undefined;
|
|
1520
1548
|
json_data?: string | undefined;
|
|
1549
|
+
channel_id?: string | undefined;
|
|
1550
|
+
} | undefined;
|
|
1551
|
+
join_ptt_channel?: {
|
|
1552
|
+
channel_id?: string | undefined;
|
|
1553
|
+
date_type?: number | undefined;
|
|
1554
|
+
json_data?: string | undefined;
|
|
1555
|
+
} | undefined;
|
|
1556
|
+
talk_ptt_channel?: {
|
|
1557
|
+
channel_id?: string | undefined;
|
|
1558
|
+
data_type?: number | undefined;
|
|
1559
|
+
json_data?: string | undefined;
|
|
1560
|
+
state?: number | undefined;
|
|
1561
|
+
} | undefined;
|
|
1562
|
+
list_activity?: {
|
|
1563
|
+
acts?: {
|
|
1564
|
+
user_id?: string | undefined;
|
|
1565
|
+
activity_name?: string | undefined;
|
|
1566
|
+
activity_type?: number | undefined;
|
|
1567
|
+
activity_description?: string | undefined;
|
|
1568
|
+
start_time?: Date | undefined;
|
|
1569
|
+
end_time?: Date | undefined;
|
|
1570
|
+
application_id?: string | undefined;
|
|
1571
|
+
status?: number | undefined;
|
|
1572
|
+
}[] | undefined;
|
|
1521
1573
|
} | undefined;
|
|
1522
1574
|
} & {
|
|
1523
1575
|
cid?: string | undefined;
|
|
@@ -3273,12 +3325,84 @@ export declare const Envelope: {
|
|
|
3273
3325
|
receiver_id?: string | undefined;
|
|
3274
3326
|
data_type?: number | undefined;
|
|
3275
3327
|
json_data?: string | undefined;
|
|
3328
|
+
channel_id?: string | undefined;
|
|
3276
3329
|
} & {
|
|
3277
3330
|
receiver_id?: string | undefined;
|
|
3278
3331
|
data_type?: number | undefined;
|
|
3279
3332
|
json_data?: string | undefined;
|
|
3333
|
+
channel_id?: string | undefined;
|
|
3280
3334
|
} & { [K_117 in Exclude<keyof I["webrtc_signaling_fwd"], keyof WebrtcSignalingFwd>]: never; }) | undefined;
|
|
3281
|
-
|
|
3335
|
+
join_ptt_channel?: ({
|
|
3336
|
+
channel_id?: string | undefined;
|
|
3337
|
+
date_type?: number | undefined;
|
|
3338
|
+
json_data?: string | undefined;
|
|
3339
|
+
} & {
|
|
3340
|
+
channel_id?: string | undefined;
|
|
3341
|
+
date_type?: number | undefined;
|
|
3342
|
+
json_data?: string | undefined;
|
|
3343
|
+
} & { [K_118 in Exclude<keyof I["join_ptt_channel"], keyof JoinPTTChannel>]: never; }) | undefined;
|
|
3344
|
+
talk_ptt_channel?: ({
|
|
3345
|
+
channel_id?: string | undefined;
|
|
3346
|
+
data_type?: number | undefined;
|
|
3347
|
+
json_data?: string | undefined;
|
|
3348
|
+
state?: number | undefined;
|
|
3349
|
+
} & {
|
|
3350
|
+
channel_id?: string | undefined;
|
|
3351
|
+
data_type?: number | undefined;
|
|
3352
|
+
json_data?: string | undefined;
|
|
3353
|
+
state?: number | undefined;
|
|
3354
|
+
} & { [K_119 in Exclude<keyof I["talk_ptt_channel"], keyof TalkPTTChannel>]: never; }) | undefined;
|
|
3355
|
+
list_activity?: ({
|
|
3356
|
+
acts?: {
|
|
3357
|
+
user_id?: string | undefined;
|
|
3358
|
+
activity_name?: string | undefined;
|
|
3359
|
+
activity_type?: number | undefined;
|
|
3360
|
+
activity_description?: string | undefined;
|
|
3361
|
+
start_time?: Date | undefined;
|
|
3362
|
+
end_time?: Date | undefined;
|
|
3363
|
+
application_id?: string | undefined;
|
|
3364
|
+
status?: number | undefined;
|
|
3365
|
+
}[] | undefined;
|
|
3366
|
+
} & {
|
|
3367
|
+
acts?: ({
|
|
3368
|
+
user_id?: string | undefined;
|
|
3369
|
+
activity_name?: string | undefined;
|
|
3370
|
+
activity_type?: number | undefined;
|
|
3371
|
+
activity_description?: string | undefined;
|
|
3372
|
+
start_time?: Date | undefined;
|
|
3373
|
+
end_time?: Date | undefined;
|
|
3374
|
+
application_id?: string | undefined;
|
|
3375
|
+
status?: number | undefined;
|
|
3376
|
+
}[] & ({
|
|
3377
|
+
user_id?: string | undefined;
|
|
3378
|
+
activity_name?: string | undefined;
|
|
3379
|
+
activity_type?: number | undefined;
|
|
3380
|
+
activity_description?: string | undefined;
|
|
3381
|
+
start_time?: Date | undefined;
|
|
3382
|
+
end_time?: Date | undefined;
|
|
3383
|
+
application_id?: string | undefined;
|
|
3384
|
+
status?: number | undefined;
|
|
3385
|
+
} & {
|
|
3386
|
+
user_id?: string | undefined;
|
|
3387
|
+
activity_name?: string | undefined;
|
|
3388
|
+
activity_type?: number | undefined;
|
|
3389
|
+
activity_description?: string | undefined;
|
|
3390
|
+
start_time?: Date | undefined;
|
|
3391
|
+
end_time?: Date | undefined;
|
|
3392
|
+
application_id?: string | undefined;
|
|
3393
|
+
status?: number | undefined;
|
|
3394
|
+
} & { [K_120 in Exclude<keyof I["list_activity"]["acts"][number], keyof UserActivity>]: never; })[] & { [K_121 in Exclude<keyof I["list_activity"]["acts"], keyof {
|
|
3395
|
+
user_id?: string | undefined;
|
|
3396
|
+
activity_name?: string | undefined;
|
|
3397
|
+
activity_type?: number | undefined;
|
|
3398
|
+
activity_description?: string | undefined;
|
|
3399
|
+
start_time?: Date | undefined;
|
|
3400
|
+
end_time?: Date | undefined;
|
|
3401
|
+
application_id?: string | undefined;
|
|
3402
|
+
status?: number | undefined;
|
|
3403
|
+
}[]>]: never; }) | undefined;
|
|
3404
|
+
} & { [K_122 in Exclude<keyof I["list_activity"], "acts">]: never; }) | undefined;
|
|
3405
|
+
} & { [K_123 in Exclude<keyof I, keyof Envelope>]: never; }>(base?: I | undefined): Envelope;
|
|
3282
3406
|
fromPartial<I_1 extends {
|
|
3283
3407
|
cid?: string | undefined;
|
|
3284
3408
|
channel?: {
|
|
@@ -3909,6 +4033,30 @@ export declare const Envelope: {
|
|
|
3909
4033
|
receiver_id?: string | undefined;
|
|
3910
4034
|
data_type?: number | undefined;
|
|
3911
4035
|
json_data?: string | undefined;
|
|
4036
|
+
channel_id?: string | undefined;
|
|
4037
|
+
} | undefined;
|
|
4038
|
+
join_ptt_channel?: {
|
|
4039
|
+
channel_id?: string | undefined;
|
|
4040
|
+
date_type?: number | undefined;
|
|
4041
|
+
json_data?: string | undefined;
|
|
4042
|
+
} | undefined;
|
|
4043
|
+
talk_ptt_channel?: {
|
|
4044
|
+
channel_id?: string | undefined;
|
|
4045
|
+
data_type?: number | undefined;
|
|
4046
|
+
json_data?: string | undefined;
|
|
4047
|
+
state?: number | undefined;
|
|
4048
|
+
} | undefined;
|
|
4049
|
+
list_activity?: {
|
|
4050
|
+
acts?: {
|
|
4051
|
+
user_id?: string | undefined;
|
|
4052
|
+
activity_name?: string | undefined;
|
|
4053
|
+
activity_type?: number | undefined;
|
|
4054
|
+
activity_description?: string | undefined;
|
|
4055
|
+
start_time?: Date | undefined;
|
|
4056
|
+
end_time?: Date | undefined;
|
|
4057
|
+
application_id?: string | undefined;
|
|
4058
|
+
status?: number | undefined;
|
|
4059
|
+
}[] | undefined;
|
|
3912
4060
|
} | undefined;
|
|
3913
4061
|
} & {
|
|
3914
4062
|
cid?: string | undefined;
|
|
@@ -3956,7 +4104,7 @@ export declare const Envelope: {
|
|
|
3956
4104
|
persistence?: boolean | undefined;
|
|
3957
4105
|
status?: string | undefined;
|
|
3958
4106
|
is_mobile?: boolean | undefined;
|
|
3959
|
-
} & { [
|
|
4107
|
+
} & { [K_124 in Exclude<keyof I_1["channel"]["presences"][number], keyof UserPresence>]: never; })[] & { [K_125 in Exclude<keyof I_1["channel"]["presences"], keyof {
|
|
3960
4108
|
user_id?: string | undefined;
|
|
3961
4109
|
session_id?: string | undefined;
|
|
3962
4110
|
username?: string | undefined;
|
|
@@ -3978,16 +4126,16 @@ export declare const Envelope: {
|
|
|
3978
4126
|
persistence?: boolean | undefined;
|
|
3979
4127
|
status?: string | undefined;
|
|
3980
4128
|
is_mobile?: boolean | undefined;
|
|
3981
|
-
} & { [
|
|
4129
|
+
} & { [K_126 in Exclude<keyof I_1["channel"]["self"], keyof UserPresence>]: never; }) | undefined;
|
|
3982
4130
|
chanel_label?: string | undefined;
|
|
3983
4131
|
clan_logo?: string | undefined;
|
|
3984
4132
|
category_name?: string | undefined;
|
|
3985
|
-
} & { [
|
|
4133
|
+
} & { [K_127 in Exclude<keyof I_1["channel"], keyof Channel>]: never; }) | undefined;
|
|
3986
4134
|
clan_join?: ({
|
|
3987
4135
|
clan_id?: string | undefined;
|
|
3988
4136
|
} & {
|
|
3989
4137
|
clan_id?: string | undefined;
|
|
3990
|
-
} & { [
|
|
4138
|
+
} & { [K_128 in Exclude<keyof I_1["clan_join"], "clan_id">]: never; }) | undefined;
|
|
3991
4139
|
channel_join?: ({
|
|
3992
4140
|
clan_id?: string | undefined;
|
|
3993
4141
|
channel_id?: string | undefined;
|
|
@@ -3998,7 +4146,7 @@ export declare const Envelope: {
|
|
|
3998
4146
|
channel_id?: string | undefined;
|
|
3999
4147
|
channel_type?: number | undefined;
|
|
4000
4148
|
is_public?: boolean | undefined;
|
|
4001
|
-
} & { [
|
|
4149
|
+
} & { [K_129 in Exclude<keyof I_1["channel_join"], keyof ChannelJoin>]: never; }) | undefined;
|
|
4002
4150
|
channel_leave?: ({
|
|
4003
4151
|
clan_id?: string | undefined;
|
|
4004
4152
|
channel_id?: string | undefined;
|
|
@@ -4009,7 +4157,7 @@ export declare const Envelope: {
|
|
|
4009
4157
|
channel_id?: string | undefined;
|
|
4010
4158
|
channel_type?: number | undefined;
|
|
4011
4159
|
is_public?: boolean | undefined;
|
|
4012
|
-
} & { [
|
|
4160
|
+
} & { [K_130 in Exclude<keyof I_1["channel_leave"], keyof ChannelLeave>]: never; }) | undefined;
|
|
4013
4161
|
channel_message?: ({
|
|
4014
4162
|
clan_id?: string | undefined;
|
|
4015
4163
|
channel_id?: string | undefined;
|
|
@@ -4064,7 +4212,7 @@ export declare const Envelope: {
|
|
|
4064
4212
|
mode?: number | undefined;
|
|
4065
4213
|
hide_editted?: boolean | undefined;
|
|
4066
4214
|
is_public?: boolean | undefined;
|
|
4067
|
-
} & { [
|
|
4215
|
+
} & { [K_131 in Exclude<keyof I_1["channel_message"], keyof ChannelMessage>]: never; }) | undefined;
|
|
4068
4216
|
channel_message_ack?: ({
|
|
4069
4217
|
channel_id?: string | undefined;
|
|
4070
4218
|
message_id?: string | undefined;
|
|
@@ -4085,7 +4233,7 @@ export declare const Envelope: {
|
|
|
4085
4233
|
persistent?: boolean | undefined;
|
|
4086
4234
|
clan_logo?: string | undefined;
|
|
4087
4235
|
category_name?: string | undefined;
|
|
4088
|
-
} & { [
|
|
4236
|
+
} & { [K_132 in Exclude<keyof I_1["channel_message_ack"], keyof ChannelMessageAck>]: never; }) | undefined;
|
|
4089
4237
|
channel_message_send?: ({
|
|
4090
4238
|
clan_id?: string | undefined;
|
|
4091
4239
|
channel_id?: string | undefined;
|
|
@@ -4156,7 +4304,7 @@ export declare const Envelope: {
|
|
|
4156
4304
|
create_time?: Date | undefined;
|
|
4157
4305
|
s?: number | undefined;
|
|
4158
4306
|
e?: number | undefined;
|
|
4159
|
-
} & { [
|
|
4307
|
+
} & { [K_133 in Exclude<keyof I_1["channel_message_send"]["mentions"][number], keyof MessageMention>]: never; })[] & { [K_134 in Exclude<keyof I_1["channel_message_send"]["mentions"], keyof {
|
|
4160
4308
|
id?: string | undefined;
|
|
4161
4309
|
user_id?: string | undefined;
|
|
4162
4310
|
username?: string | undefined;
|
|
@@ -4187,7 +4335,7 @@ export declare const Envelope: {
|
|
|
4187
4335
|
filetype?: string | undefined;
|
|
4188
4336
|
width?: number | undefined;
|
|
4189
4337
|
height?: number | undefined;
|
|
4190
|
-
} & { [
|
|
4338
|
+
} & { [K_135 in Exclude<keyof I_1["channel_message_send"]["attachments"][number], keyof MessageAttachment>]: never; })[] & { [K_136 in Exclude<keyof I_1["channel_message_send"]["attachments"], keyof {
|
|
4191
4339
|
filename?: string | undefined;
|
|
4192
4340
|
size?: number | undefined;
|
|
4193
4341
|
url?: string | undefined;
|
|
@@ -4228,7 +4376,7 @@ export declare const Envelope: {
|
|
|
4228
4376
|
mesages_sender_avatar?: string | undefined;
|
|
4229
4377
|
message_sender_clan_nick?: string | undefined;
|
|
4230
4378
|
message_sender_display_name?: string | undefined;
|
|
4231
|
-
} & { [
|
|
4379
|
+
} & { [K_137 in Exclude<keyof I_1["channel_message_send"]["references"][number], keyof MessageRef>]: never; })[] & { [K_138 in Exclude<keyof I_1["channel_message_send"]["references"], keyof {
|
|
4232
4380
|
message_id?: string | undefined;
|
|
4233
4381
|
message_ref_id?: string | undefined;
|
|
4234
4382
|
content?: string | undefined;
|
|
@@ -4245,7 +4393,7 @@ export declare const Envelope: {
|
|
|
4245
4393
|
mention_everyone?: boolean | undefined;
|
|
4246
4394
|
avatar?: string | undefined;
|
|
4247
4395
|
is_public?: boolean | undefined;
|
|
4248
|
-
} & { [
|
|
4396
|
+
} & { [K_139 in Exclude<keyof I_1["channel_message_send"], keyof ChannelMessageSend>]: never; }) | undefined;
|
|
4249
4397
|
channel_message_update?: ({
|
|
4250
4398
|
clan_id?: string | undefined;
|
|
4251
4399
|
channel_id?: string | undefined;
|
|
@@ -4304,7 +4452,7 @@ export declare const Envelope: {
|
|
|
4304
4452
|
create_time?: Date | undefined;
|
|
4305
4453
|
s?: number | undefined;
|
|
4306
4454
|
e?: number | undefined;
|
|
4307
|
-
} & { [
|
|
4455
|
+
} & { [K_140 in Exclude<keyof I_1["channel_message_update"]["mentions"][number], keyof MessageMention>]: never; })[] & { [K_141 in Exclude<keyof I_1["channel_message_update"]["mentions"], keyof {
|
|
4308
4456
|
id?: string | undefined;
|
|
4309
4457
|
user_id?: string | undefined;
|
|
4310
4458
|
username?: string | undefined;
|
|
@@ -4335,7 +4483,7 @@ export declare const Envelope: {
|
|
|
4335
4483
|
filetype?: string | undefined;
|
|
4336
4484
|
width?: number | undefined;
|
|
4337
4485
|
height?: number | undefined;
|
|
4338
|
-
} & { [
|
|
4486
|
+
} & { [K_142 in Exclude<keyof I_1["channel_message_update"]["attachments"][number], keyof MessageAttachment>]: never; })[] & { [K_143 in Exclude<keyof I_1["channel_message_update"]["attachments"], keyof {
|
|
4339
4487
|
filename?: string | undefined;
|
|
4340
4488
|
size?: number | undefined;
|
|
4341
4489
|
url?: string | undefined;
|
|
@@ -4346,7 +4494,7 @@ export declare const Envelope: {
|
|
|
4346
4494
|
mode?: number | undefined;
|
|
4347
4495
|
is_public?: boolean | undefined;
|
|
4348
4496
|
hide_editted?: boolean | undefined;
|
|
4349
|
-
} & { [
|
|
4497
|
+
} & { [K_144 in Exclude<keyof I_1["channel_message_update"], keyof ChannelMessageUpdate>]: never; }) | undefined;
|
|
4350
4498
|
channel_message_remove?: ({
|
|
4351
4499
|
clan_id?: string | undefined;
|
|
4352
4500
|
channel_id?: string | undefined;
|
|
@@ -4359,7 +4507,7 @@ export declare const Envelope: {
|
|
|
4359
4507
|
message_id?: string | undefined;
|
|
4360
4508
|
mode?: number | undefined;
|
|
4361
4509
|
is_public?: boolean | undefined;
|
|
4362
|
-
} & { [
|
|
4510
|
+
} & { [K_145 in Exclude<keyof I_1["channel_message_remove"], keyof ChannelMessageRemove>]: never; }) | undefined;
|
|
4363
4511
|
channel_presence_event?: ({
|
|
4364
4512
|
channel_id?: string | undefined;
|
|
4365
4513
|
joins?: {
|
|
@@ -4404,7 +4552,7 @@ export declare const Envelope: {
|
|
|
4404
4552
|
persistence?: boolean | undefined;
|
|
4405
4553
|
status?: string | undefined;
|
|
4406
4554
|
is_mobile?: boolean | undefined;
|
|
4407
|
-
} & { [
|
|
4555
|
+
} & { [K_146 in Exclude<keyof I_1["channel_presence_event"]["joins"][number], keyof UserPresence>]: never; })[] & { [K_147 in Exclude<keyof I_1["channel_presence_event"]["joins"], keyof {
|
|
4408
4556
|
user_id?: string | undefined;
|
|
4409
4557
|
session_id?: string | undefined;
|
|
4410
4558
|
username?: string | undefined;
|
|
@@ -4433,7 +4581,7 @@ export declare const Envelope: {
|
|
|
4433
4581
|
persistence?: boolean | undefined;
|
|
4434
4582
|
status?: string | undefined;
|
|
4435
4583
|
is_mobile?: boolean | undefined;
|
|
4436
|
-
} & { [
|
|
4584
|
+
} & { [K_148 in Exclude<keyof I_1["channel_presence_event"]["leaves"][number], keyof UserPresence>]: never; })[] & { [K_149 in Exclude<keyof I_1["channel_presence_event"]["leaves"], keyof {
|
|
4437
4585
|
user_id?: string | undefined;
|
|
4438
4586
|
session_id?: string | undefined;
|
|
4439
4587
|
username?: string | undefined;
|
|
@@ -4444,7 +4592,7 @@ export declare const Envelope: {
|
|
|
4444
4592
|
clan_logo?: string | undefined;
|
|
4445
4593
|
category_name?: string | undefined;
|
|
4446
4594
|
mode?: number | undefined;
|
|
4447
|
-
} & { [
|
|
4595
|
+
} & { [K_150 in Exclude<keyof I_1["channel_presence_event"], keyof ChannelPresenceEvent>]: never; }) | undefined;
|
|
4448
4596
|
error?: ({
|
|
4449
4597
|
code?: number | undefined;
|
|
4450
4598
|
message?: string | undefined;
|
|
@@ -4458,8 +4606,8 @@ export declare const Envelope: {
|
|
|
4458
4606
|
[x: string]: string | undefined;
|
|
4459
4607
|
} & {
|
|
4460
4608
|
[x: string]: string | undefined;
|
|
4461
|
-
} & { [
|
|
4462
|
-
} & { [
|
|
4609
|
+
} & { [K_151 in Exclude<keyof I_1["error"]["context"], string | number>]: never; }) | undefined;
|
|
4610
|
+
} & { [K_152 in Exclude<keyof I_1["error"], keyof Error>]: never; }) | undefined;
|
|
4463
4611
|
notifications?: ({
|
|
4464
4612
|
notifications?: {
|
|
4465
4613
|
id?: string | undefined;
|
|
@@ -4511,7 +4659,7 @@ export declare const Envelope: {
|
|
|
4511
4659
|
channel_id?: string | undefined;
|
|
4512
4660
|
channel_type?: number | undefined;
|
|
4513
4661
|
avatar_url?: string | undefined;
|
|
4514
|
-
} & { [
|
|
4662
|
+
} & { [K_153 in Exclude<keyof I_1["notifications"]["notifications"][number], keyof Notification>]: never; })[] & { [K_154 in Exclude<keyof I_1["notifications"]["notifications"], keyof {
|
|
4515
4663
|
id?: string | undefined;
|
|
4516
4664
|
subject?: string | undefined;
|
|
4517
4665
|
content?: string | undefined;
|
|
@@ -4524,7 +4672,7 @@ export declare const Envelope: {
|
|
|
4524
4672
|
channel_type?: number | undefined;
|
|
4525
4673
|
avatar_url?: string | undefined;
|
|
4526
4674
|
}[]>]: never; }) | undefined;
|
|
4527
|
-
} & { [
|
|
4675
|
+
} & { [K_155 in Exclude<keyof I_1["notifications"], "notifications">]: never; }) | undefined;
|
|
4528
4676
|
rpc?: ({
|
|
4529
4677
|
id?: string | undefined;
|
|
4530
4678
|
payload?: string | undefined;
|
|
@@ -4533,7 +4681,7 @@ export declare const Envelope: {
|
|
|
4533
4681
|
id?: string | undefined;
|
|
4534
4682
|
payload?: string | undefined;
|
|
4535
4683
|
http_key?: string | undefined;
|
|
4536
|
-
} & { [
|
|
4684
|
+
} & { [K_156 in Exclude<keyof I_1["rpc"], keyof Rpc>]: never; }) | undefined;
|
|
4537
4685
|
status?: ({
|
|
4538
4686
|
presences?: {
|
|
4539
4687
|
user_id?: string | undefined;
|
|
@@ -4565,7 +4713,7 @@ export declare const Envelope: {
|
|
|
4565
4713
|
persistence?: boolean | undefined;
|
|
4566
4714
|
status?: string | undefined;
|
|
4567
4715
|
is_mobile?: boolean | undefined;
|
|
4568
|
-
} & { [
|
|
4716
|
+
} & { [K_157 in Exclude<keyof I_1["status"]["presences"][number], keyof UserPresence>]: never; })[] & { [K_158 in Exclude<keyof I_1["status"]["presences"], keyof {
|
|
4569
4717
|
user_id?: string | undefined;
|
|
4570
4718
|
session_id?: string | undefined;
|
|
4571
4719
|
username?: string | undefined;
|
|
@@ -4573,14 +4721,14 @@ export declare const Envelope: {
|
|
|
4573
4721
|
status?: string | undefined;
|
|
4574
4722
|
is_mobile?: boolean | undefined;
|
|
4575
4723
|
}[]>]: never; }) | undefined;
|
|
4576
|
-
} & { [
|
|
4724
|
+
} & { [K_159 in Exclude<keyof I_1["status"], "presences">]: never; }) | undefined;
|
|
4577
4725
|
status_follow?: ({
|
|
4578
4726
|
user_ids?: string[] | undefined;
|
|
4579
4727
|
usernames?: string[] | undefined;
|
|
4580
4728
|
} & {
|
|
4581
|
-
user_ids?: (string[] & string[] & { [
|
|
4582
|
-
usernames?: (string[] & string[] & { [
|
|
4583
|
-
} & { [
|
|
4729
|
+
user_ids?: (string[] & string[] & { [K_160 in Exclude<keyof I_1["status_follow"]["user_ids"], keyof string[]>]: never; }) | undefined;
|
|
4730
|
+
usernames?: (string[] & string[] & { [K_161 in Exclude<keyof I_1["status_follow"]["usernames"], keyof string[]>]: never; }) | undefined;
|
|
4731
|
+
} & { [K_162 in Exclude<keyof I_1["status_follow"], keyof StatusFollow>]: never; }) | undefined;
|
|
4584
4732
|
status_presence_event?: ({
|
|
4585
4733
|
joins?: {
|
|
4586
4734
|
user_id?: string | undefined;
|
|
@@ -4620,7 +4768,7 @@ export declare const Envelope: {
|
|
|
4620
4768
|
persistence?: boolean | undefined;
|
|
4621
4769
|
status?: string | undefined;
|
|
4622
4770
|
is_mobile?: boolean | undefined;
|
|
4623
|
-
} & { [
|
|
4771
|
+
} & { [K_163 in Exclude<keyof I_1["status_presence_event"]["joins"][number], keyof UserPresence>]: never; })[] & { [K_164 in Exclude<keyof I_1["status_presence_event"]["joins"], keyof {
|
|
4624
4772
|
user_id?: string | undefined;
|
|
4625
4773
|
session_id?: string | undefined;
|
|
4626
4774
|
username?: string | undefined;
|
|
@@ -4649,7 +4797,7 @@ export declare const Envelope: {
|
|
|
4649
4797
|
persistence?: boolean | undefined;
|
|
4650
4798
|
status?: string | undefined;
|
|
4651
4799
|
is_mobile?: boolean | undefined;
|
|
4652
|
-
} & { [
|
|
4800
|
+
} & { [K_165 in Exclude<keyof I_1["status_presence_event"]["leaves"][number], keyof UserPresence>]: never; })[] & { [K_166 in Exclude<keyof I_1["status_presence_event"]["leaves"], keyof {
|
|
4653
4801
|
user_id?: string | undefined;
|
|
4654
4802
|
session_id?: string | undefined;
|
|
4655
4803
|
username?: string | undefined;
|
|
@@ -4657,17 +4805,17 @@ export declare const Envelope: {
|
|
|
4657
4805
|
status?: string | undefined;
|
|
4658
4806
|
is_mobile?: boolean | undefined;
|
|
4659
4807
|
}[]>]: never; }) | undefined;
|
|
4660
|
-
} & { [
|
|
4808
|
+
} & { [K_167 in Exclude<keyof I_1["status_presence_event"], keyof StatusPresenceEvent>]: never; }) | undefined;
|
|
4661
4809
|
status_unfollow?: ({
|
|
4662
4810
|
user_ids?: string[] | undefined;
|
|
4663
4811
|
} & {
|
|
4664
|
-
user_ids?: (string[] & string[] & { [
|
|
4665
|
-
} & { [
|
|
4812
|
+
user_ids?: (string[] & string[] & { [K_168 in Exclude<keyof I_1["status_unfollow"]["user_ids"], keyof string[]>]: never; }) | undefined;
|
|
4813
|
+
} & { [K_169 in Exclude<keyof I_1["status_unfollow"], "user_ids">]: never; }) | undefined;
|
|
4666
4814
|
status_update?: ({
|
|
4667
4815
|
status?: string | undefined;
|
|
4668
4816
|
} & {
|
|
4669
4817
|
status?: string | undefined;
|
|
4670
|
-
} & { [
|
|
4818
|
+
} & { [K_170 in Exclude<keyof I_1["status_update"], "status">]: never; }) | undefined;
|
|
4671
4819
|
stream_data?: ({
|
|
4672
4820
|
stream?: {
|
|
4673
4821
|
mode?: number | undefined;
|
|
@@ -4696,7 +4844,7 @@ export declare const Envelope: {
|
|
|
4696
4844
|
channel_id?: string | undefined;
|
|
4697
4845
|
clan_id?: string | undefined;
|
|
4698
4846
|
label?: string | undefined;
|
|
4699
|
-
} & { [
|
|
4847
|
+
} & { [K_171 in Exclude<keyof I_1["stream_data"]["stream"], keyof Stream>]: never; }) | undefined;
|
|
4700
4848
|
sender?: ({
|
|
4701
4849
|
user_id?: string | undefined;
|
|
4702
4850
|
session_id?: string | undefined;
|
|
@@ -4711,10 +4859,10 @@ export declare const Envelope: {
|
|
|
4711
4859
|
persistence?: boolean | undefined;
|
|
4712
4860
|
status?: string | undefined;
|
|
4713
4861
|
is_mobile?: boolean | undefined;
|
|
4714
|
-
} & { [
|
|
4862
|
+
} & { [K_172 in Exclude<keyof I_1["stream_data"]["sender"], keyof UserPresence>]: never; }) | undefined;
|
|
4715
4863
|
data?: string | undefined;
|
|
4716
4864
|
reliable?: boolean | undefined;
|
|
4717
|
-
} & { [
|
|
4865
|
+
} & { [K_173 in Exclude<keyof I_1["stream_data"], keyof StreamData>]: never; }) | undefined;
|
|
4718
4866
|
stream_presence_event?: ({
|
|
4719
4867
|
stream?: {
|
|
4720
4868
|
mode?: number | undefined;
|
|
@@ -4749,7 +4897,7 @@ export declare const Envelope: {
|
|
|
4749
4897
|
channel_id?: string | undefined;
|
|
4750
4898
|
clan_id?: string | undefined;
|
|
4751
4899
|
label?: string | undefined;
|
|
4752
|
-
} & { [
|
|
4900
|
+
} & { [K_174 in Exclude<keyof I_1["stream_presence_event"]["stream"], keyof Stream>]: never; }) | undefined;
|
|
4753
4901
|
joins?: ({
|
|
4754
4902
|
user_id?: string | undefined;
|
|
4755
4903
|
session_id?: string | undefined;
|
|
@@ -4771,7 +4919,7 @@ export declare const Envelope: {
|
|
|
4771
4919
|
persistence?: boolean | undefined;
|
|
4772
4920
|
status?: string | undefined;
|
|
4773
4921
|
is_mobile?: boolean | undefined;
|
|
4774
|
-
} & { [
|
|
4922
|
+
} & { [K_175 in Exclude<keyof I_1["stream_presence_event"]["joins"][number], keyof UserPresence>]: never; })[] & { [K_176 in Exclude<keyof I_1["stream_presence_event"]["joins"], keyof {
|
|
4775
4923
|
user_id?: string | undefined;
|
|
4776
4924
|
session_id?: string | undefined;
|
|
4777
4925
|
username?: string | undefined;
|
|
@@ -4800,7 +4948,7 @@ export declare const Envelope: {
|
|
|
4800
4948
|
persistence?: boolean | undefined;
|
|
4801
4949
|
status?: string | undefined;
|
|
4802
4950
|
is_mobile?: boolean | undefined;
|
|
4803
|
-
} & { [
|
|
4951
|
+
} & { [K_177 in Exclude<keyof I_1["stream_presence_event"]["leaves"][number], keyof UserPresence>]: never; })[] & { [K_178 in Exclude<keyof I_1["stream_presence_event"]["leaves"], keyof {
|
|
4804
4952
|
user_id?: string | undefined;
|
|
4805
4953
|
session_id?: string | undefined;
|
|
4806
4954
|
username?: string | undefined;
|
|
@@ -4808,9 +4956,9 @@ export declare const Envelope: {
|
|
|
4808
4956
|
status?: string | undefined;
|
|
4809
4957
|
is_mobile?: boolean | undefined;
|
|
4810
4958
|
}[]>]: never; }) | undefined;
|
|
4811
|
-
} & { [
|
|
4812
|
-
ping?: ({} & {} & { [
|
|
4813
|
-
pong?: ({} & {} & { [
|
|
4959
|
+
} & { [K_179 in Exclude<keyof I_1["stream_presence_event"], keyof StreamPresenceEvent>]: never; }) | undefined;
|
|
4960
|
+
ping?: ({} & {} & { [K_180 in Exclude<keyof I_1["ping"], never>]: never; }) | undefined;
|
|
4961
|
+
pong?: ({} & {} & { [K_181 in Exclude<keyof I_1["pong"], never>]: never; }) | undefined;
|
|
4814
4962
|
message_typing_event?: ({
|
|
4815
4963
|
clan_id?: string | undefined;
|
|
4816
4964
|
channel_id?: string | undefined;
|
|
@@ -4823,7 +4971,7 @@ export declare const Envelope: {
|
|
|
4823
4971
|
sender_id?: string | undefined;
|
|
4824
4972
|
mode?: number | undefined;
|
|
4825
4973
|
is_public?: boolean | undefined;
|
|
4826
|
-
} & { [
|
|
4974
|
+
} & { [K_182 in Exclude<keyof I_1["message_typing_event"], keyof MessageTypingEvent>]: never; }) | undefined;
|
|
4827
4975
|
last_seen_message_event?: ({
|
|
4828
4976
|
clan_id?: string | undefined;
|
|
4829
4977
|
channel_id?: string | undefined;
|
|
@@ -4836,7 +4984,7 @@ export declare const Envelope: {
|
|
|
4836
4984
|
message_id?: string | undefined;
|
|
4837
4985
|
mode?: number | undefined;
|
|
4838
4986
|
timestamp_seconds?: number | undefined;
|
|
4839
|
-
} & { [
|
|
4987
|
+
} & { [K_183 in Exclude<keyof I_1["last_seen_message_event"], keyof LastSeenMessageEvent>]: never; }) | undefined;
|
|
4840
4988
|
message_reaction_event?: ({
|
|
4841
4989
|
id?: string | undefined;
|
|
4842
4990
|
emoji_id?: string | undefined;
|
|
@@ -4867,7 +5015,7 @@ export declare const Envelope: {
|
|
|
4867
5015
|
mode?: number | undefined;
|
|
4868
5016
|
message_sender_id?: string | undefined;
|
|
4869
5017
|
is_public?: boolean | undefined;
|
|
4870
|
-
} & { [
|
|
5018
|
+
} & { [K_184 in Exclude<keyof I_1["message_reaction_event"], keyof MessageReaction>]: never; }) | undefined;
|
|
4871
5019
|
voice_joined_event?: ({
|
|
4872
5020
|
clan_id?: string | undefined;
|
|
4873
5021
|
clan_name?: string | undefined;
|
|
@@ -4886,7 +5034,7 @@ export declare const Envelope: {
|
|
|
4886
5034
|
voice_channel_label?: string | undefined;
|
|
4887
5035
|
voice_channel_id?: string | undefined;
|
|
4888
5036
|
last_screenshot?: string | undefined;
|
|
4889
|
-
} & { [
|
|
5037
|
+
} & { [K_185 in Exclude<keyof I_1["voice_joined_event"], keyof VoiceJoinedEvent>]: never; }) | undefined;
|
|
4890
5038
|
voice_leaved_event?: ({
|
|
4891
5039
|
id?: string | undefined;
|
|
4892
5040
|
clan_id?: string | undefined;
|
|
@@ -4897,7 +5045,7 @@ export declare const Envelope: {
|
|
|
4897
5045
|
clan_id?: string | undefined;
|
|
4898
5046
|
voice_channel_id?: string | undefined;
|
|
4899
5047
|
voice_user_id?: string | undefined;
|
|
4900
|
-
} & { [
|
|
5048
|
+
} & { [K_186 in Exclude<keyof I_1["voice_leaved_event"], keyof VoiceLeavedEvent>]: never; }) | undefined;
|
|
4901
5049
|
voice_started_event?: ({
|
|
4902
5050
|
id?: string | undefined;
|
|
4903
5051
|
clan_id?: string | undefined;
|
|
@@ -4906,7 +5054,7 @@ export declare const Envelope: {
|
|
|
4906
5054
|
id?: string | undefined;
|
|
4907
5055
|
clan_id?: string | undefined;
|
|
4908
5056
|
voice_channel_id?: string | undefined;
|
|
4909
|
-
} & { [
|
|
5057
|
+
} & { [K_187 in Exclude<keyof I_1["voice_started_event"], keyof VoiceStartedEvent>]: never; }) | undefined;
|
|
4910
5058
|
voice_ended_event?: ({
|
|
4911
5059
|
id?: string | undefined;
|
|
4912
5060
|
clan_id?: string | undefined;
|
|
@@ -4915,7 +5063,7 @@ export declare const Envelope: {
|
|
|
4915
5063
|
id?: string | undefined;
|
|
4916
5064
|
clan_id?: string | undefined;
|
|
4917
5065
|
voice_channel_id?: string | undefined;
|
|
4918
|
-
} & { [
|
|
5066
|
+
} & { [K_188 in Exclude<keyof I_1["voice_ended_event"], keyof VoiceEndedEvent>]: never; }) | undefined;
|
|
4919
5067
|
channel_created_event?: ({
|
|
4920
5068
|
clan_id?: string | undefined;
|
|
4921
5069
|
category_id?: string | undefined;
|
|
@@ -4938,7 +5086,7 @@ export declare const Envelope: {
|
|
|
4938
5086
|
channel_type?: number | undefined;
|
|
4939
5087
|
status?: number | undefined;
|
|
4940
5088
|
app_url?: string | undefined;
|
|
4941
|
-
} & { [
|
|
5089
|
+
} & { [K_189 in Exclude<keyof I_1["channel_created_event"], keyof ChannelCreatedEvent>]: never; }) | undefined;
|
|
4942
5090
|
channel_deleted_event?: ({
|
|
4943
5091
|
clan_id?: string | undefined;
|
|
4944
5092
|
category_id?: string | undefined;
|
|
@@ -4951,7 +5099,7 @@ export declare const Envelope: {
|
|
|
4951
5099
|
parrent_id?: string | undefined;
|
|
4952
5100
|
channel_id?: string | undefined;
|
|
4953
5101
|
deletor?: string | undefined;
|
|
4954
|
-
} & { [
|
|
5102
|
+
} & { [K_190 in Exclude<keyof I_1["channel_deleted_event"], keyof ChannelDeletedEvent>]: never; }) | undefined;
|
|
4955
5103
|
channel_updated_event?: ({
|
|
4956
5104
|
clan_id?: string | undefined;
|
|
4957
5105
|
category_id?: string | undefined;
|
|
@@ -4978,7 +5126,7 @@ export declare const Envelope: {
|
|
|
4978
5126
|
is_error?: boolean | undefined;
|
|
4979
5127
|
channel_private?: boolean | undefined;
|
|
4980
5128
|
app_url?: string | undefined;
|
|
4981
|
-
} & { [
|
|
5129
|
+
} & { [K_191 in Exclude<keyof I_1["channel_updated_event"], keyof ChannelUpdatedEvent>]: never; }) | undefined;
|
|
4982
5130
|
last_pin_message_event?: ({
|
|
4983
5131
|
clan_id?: string | undefined;
|
|
4984
5132
|
channel_id?: string | undefined;
|
|
@@ -4997,7 +5145,7 @@ export declare const Envelope: {
|
|
|
4997
5145
|
timestamp_seconds?: number | undefined;
|
|
4998
5146
|
operation?: number | undefined;
|
|
4999
5147
|
is_public?: boolean | undefined;
|
|
5000
|
-
} & { [
|
|
5148
|
+
} & { [K_192 in Exclude<keyof I_1["last_pin_message_event"], keyof LastPinMessageEvent>]: never; }) | undefined;
|
|
5001
5149
|
custom_status_event?: ({
|
|
5002
5150
|
clan_id?: string | undefined;
|
|
5003
5151
|
user_id?: string | undefined;
|
|
@@ -5008,7 +5156,7 @@ export declare const Envelope: {
|
|
|
5008
5156
|
user_id?: string | undefined;
|
|
5009
5157
|
username?: string | undefined;
|
|
5010
5158
|
status?: string | undefined;
|
|
5011
|
-
} & { [
|
|
5159
|
+
} & { [K_193 in Exclude<keyof I_1["custom_status_event"], keyof CustomStatusEvent>]: never; }) | undefined;
|
|
5012
5160
|
user_channel_added_event?: ({
|
|
5013
5161
|
channel_id?: string | undefined;
|
|
5014
5162
|
users?: {
|
|
@@ -5081,13 +5229,13 @@ export declare const Envelope: {
|
|
|
5081
5229
|
device_id?: string | undefined;
|
|
5082
5230
|
token_id?: string | undefined;
|
|
5083
5231
|
platform?: string | undefined;
|
|
5084
|
-
} & { [
|
|
5232
|
+
} & { [K_194 in Exclude<keyof I_1["user_channel_added_event"]["users"][number]["fcm_tokens"][number], keyof FCMTokens>]: never; })[] & { [K_195 in Exclude<keyof I_1["user_channel_added_event"]["users"][number]["fcm_tokens"], keyof {
|
|
5085
5233
|
device_id?: string | undefined;
|
|
5086
5234
|
token_id?: string | undefined;
|
|
5087
5235
|
platform?: string | undefined;
|
|
5088
5236
|
}[]>]: never; }) | undefined;
|
|
5089
5237
|
online?: boolean | undefined;
|
|
5090
|
-
} & { [
|
|
5238
|
+
} & { [K_196 in Exclude<keyof I_1["user_channel_added_event"]["users"][number], keyof UserProfileRedis>]: never; })[] & { [K_197 in Exclude<keyof I_1["user_channel_added_event"]["users"], keyof {
|
|
5091
5239
|
user_id?: string | undefined;
|
|
5092
5240
|
username?: string | undefined;
|
|
5093
5241
|
avatar?: string | undefined;
|
|
@@ -5107,23 +5255,23 @@ export declare const Envelope: {
|
|
|
5107
5255
|
channel_type?: number | undefined;
|
|
5108
5256
|
is_public?: boolean | undefined;
|
|
5109
5257
|
parent_id?: string | undefined;
|
|
5110
|
-
} & { [
|
|
5258
|
+
} & { [K_198 in Exclude<keyof I_1["user_channel_added_event"], keyof UserChannelAdded>]: never; }) | undefined;
|
|
5111
5259
|
user_channel_removed_event?: ({
|
|
5112
5260
|
channel_id?: string | undefined;
|
|
5113
5261
|
user_ids?: string[] | undefined;
|
|
5114
5262
|
channel_type?: number | undefined;
|
|
5115
5263
|
} & {
|
|
5116
5264
|
channel_id?: string | undefined;
|
|
5117
|
-
user_ids?: (string[] & string[] & { [
|
|
5265
|
+
user_ids?: (string[] & string[] & { [K_199 in Exclude<keyof I_1["user_channel_removed_event"]["user_ids"], keyof string[]>]: never; }) | undefined;
|
|
5118
5266
|
channel_type?: number | undefined;
|
|
5119
|
-
} & { [
|
|
5267
|
+
} & { [K_200 in Exclude<keyof I_1["user_channel_removed_event"], keyof UserChannelRemoved>]: never; }) | undefined;
|
|
5120
5268
|
user_clan_removed_event?: ({
|
|
5121
5269
|
clan_id?: string | undefined;
|
|
5122
5270
|
user_ids?: string[] | undefined;
|
|
5123
5271
|
} & {
|
|
5124
5272
|
clan_id?: string | undefined;
|
|
5125
|
-
user_ids?: (string[] & string[] & { [
|
|
5126
|
-
} & { [
|
|
5273
|
+
user_ids?: (string[] & string[] & { [K_201 in Exclude<keyof I_1["user_clan_removed_event"]["user_ids"], keyof string[]>]: never; }) | undefined;
|
|
5274
|
+
} & { [K_202 in Exclude<keyof I_1["user_clan_removed_event"], keyof UserClanRemoved>]: never; }) | undefined;
|
|
5127
5275
|
clan_updated_event?: ({
|
|
5128
5276
|
clan_id?: string | undefined;
|
|
5129
5277
|
clan_name?: string | undefined;
|
|
@@ -5132,7 +5280,7 @@ export declare const Envelope: {
|
|
|
5132
5280
|
clan_id?: string | undefined;
|
|
5133
5281
|
clan_name?: string | undefined;
|
|
5134
5282
|
clan_logo?: string | undefined;
|
|
5135
|
-
} & { [
|
|
5283
|
+
} & { [K_203 in Exclude<keyof I_1["clan_updated_event"], keyof ClanUpdatedEvent>]: never; }) | undefined;
|
|
5136
5284
|
clan_profile_updated_event?: ({
|
|
5137
5285
|
user_id?: string | undefined;
|
|
5138
5286
|
clan_nick?: string | undefined;
|
|
@@ -5143,7 +5291,7 @@ export declare const Envelope: {
|
|
|
5143
5291
|
clan_nick?: string | undefined;
|
|
5144
5292
|
clan_avatar?: string | undefined;
|
|
5145
5293
|
clan_id?: string | undefined;
|
|
5146
|
-
} & { [
|
|
5294
|
+
} & { [K_204 in Exclude<keyof I_1["clan_profile_updated_event"], keyof ClanProfileUpdatedEvent>]: never; }) | undefined;
|
|
5147
5295
|
check_name_existed_event?: ({
|
|
5148
5296
|
name?: string | undefined;
|
|
5149
5297
|
condition_id?: string | undefined;
|
|
@@ -5154,7 +5302,7 @@ export declare const Envelope: {
|
|
|
5154
5302
|
condition_id?: string | undefined;
|
|
5155
5303
|
exist?: boolean | undefined;
|
|
5156
5304
|
type?: number | undefined;
|
|
5157
|
-
} & { [
|
|
5305
|
+
} & { [K_205 in Exclude<keyof I_1["check_name_existed_event"], keyof CheckNameExistedEvent>]: never; }) | undefined;
|
|
5158
5306
|
user_profile_updated_event?: ({
|
|
5159
5307
|
user_id?: string | undefined;
|
|
5160
5308
|
display_name?: string | undefined;
|
|
@@ -5169,7 +5317,7 @@ export declare const Envelope: {
|
|
|
5169
5317
|
about_me?: string | undefined;
|
|
5170
5318
|
channel_id?: string | undefined;
|
|
5171
5319
|
clan_id?: string | undefined;
|
|
5172
|
-
} & { [
|
|
5320
|
+
} & { [K_206 in Exclude<keyof I_1["user_profile_updated_event"], keyof UserProfileUpdatedEvent>]: never; }) | undefined;
|
|
5173
5321
|
add_clan_user_event?: ({
|
|
5174
5322
|
clan_id?: string | undefined;
|
|
5175
5323
|
user?: {
|
|
@@ -5223,14 +5371,14 @@ export declare const Envelope: {
|
|
|
5223
5371
|
device_id?: string | undefined;
|
|
5224
5372
|
token_id?: string | undefined;
|
|
5225
5373
|
platform?: string | undefined;
|
|
5226
|
-
} & { [
|
|
5374
|
+
} & { [K_207 in Exclude<keyof I_1["add_clan_user_event"]["user"]["fcm_tokens"][number], keyof FCMTokens>]: never; })[] & { [K_208 in Exclude<keyof I_1["add_clan_user_event"]["user"]["fcm_tokens"], keyof {
|
|
5227
5375
|
device_id?: string | undefined;
|
|
5228
5376
|
token_id?: string | undefined;
|
|
5229
5377
|
platform?: string | undefined;
|
|
5230
5378
|
}[]>]: never; }) | undefined;
|
|
5231
5379
|
online?: boolean | undefined;
|
|
5232
|
-
} & { [
|
|
5233
|
-
} & { [
|
|
5380
|
+
} & { [K_209 in Exclude<keyof I_1["add_clan_user_event"]["user"], keyof UserProfileRedis>]: never; }) | undefined;
|
|
5381
|
+
} & { [K_210 in Exclude<keyof I_1["add_clan_user_event"], keyof AddClanUserEvent>]: never; }) | undefined;
|
|
5234
5382
|
clan_event_created?: ({
|
|
5235
5383
|
title?: string | undefined;
|
|
5236
5384
|
logo?: string | undefined;
|
|
@@ -5253,7 +5401,7 @@ export declare const Envelope: {
|
|
|
5253
5401
|
end_time?: Date | undefined;
|
|
5254
5402
|
event_id?: string | undefined;
|
|
5255
5403
|
event_status?: string | undefined;
|
|
5256
|
-
} & { [
|
|
5404
|
+
} & { [K_211 in Exclude<keyof I_1["clan_event_created"], keyof CreateEventRequest>]: never; }) | undefined;
|
|
5257
5405
|
role_assign_event?: ({
|
|
5258
5406
|
ClanId?: string | undefined;
|
|
5259
5407
|
role_id?: string | undefined;
|
|
@@ -5262,16 +5410,16 @@ export declare const Envelope: {
|
|
|
5262
5410
|
} & {
|
|
5263
5411
|
ClanId?: string | undefined;
|
|
5264
5412
|
role_id?: string | undefined;
|
|
5265
|
-
user_ids_assigned?: (string[] & string[] & { [
|
|
5266
|
-
user_ids_removed?: (string[] & string[] & { [
|
|
5267
|
-
} & { [
|
|
5413
|
+
user_ids_assigned?: (string[] & string[] & { [K_212 in Exclude<keyof I_1["role_assign_event"]["user_ids_assigned"], keyof string[]>]: never; }) | undefined;
|
|
5414
|
+
user_ids_removed?: (string[] & string[] & { [K_213 in Exclude<keyof I_1["role_assign_event"]["user_ids_removed"], keyof string[]>]: never; }) | undefined;
|
|
5415
|
+
} & { [K_214 in Exclude<keyof I_1["role_assign_event"], keyof RoleAssignedEvent>]: never; }) | undefined;
|
|
5268
5416
|
clan_deleted_event?: ({
|
|
5269
5417
|
clan_id?: string | undefined;
|
|
5270
5418
|
deletor?: string | undefined;
|
|
5271
5419
|
} & {
|
|
5272
5420
|
clan_id?: string | undefined;
|
|
5273
5421
|
deletor?: string | undefined;
|
|
5274
|
-
} & { [
|
|
5422
|
+
} & { [K_215 in Exclude<keyof I_1["clan_deleted_event"], keyof ClanDeletedEvent>]: never; }) | undefined;
|
|
5275
5423
|
give_coffee_event?: ({
|
|
5276
5424
|
sender_id?: string | undefined;
|
|
5277
5425
|
receiver_id?: string | undefined;
|
|
@@ -5286,7 +5434,7 @@ export declare const Envelope: {
|
|
|
5286
5434
|
message_ref_id?: string | undefined;
|
|
5287
5435
|
channel_id?: string | undefined;
|
|
5288
5436
|
clan_id?: string | undefined;
|
|
5289
|
-
} & { [
|
|
5437
|
+
} & { [K_216 in Exclude<keyof I_1["give_coffee_event"], keyof GiveCoffeeEvent>]: never; }) | undefined;
|
|
5290
5438
|
sticker_create_event?: ({
|
|
5291
5439
|
clan_id?: string | undefined;
|
|
5292
5440
|
source?: string | undefined;
|
|
@@ -5305,7 +5453,7 @@ export declare const Envelope: {
|
|
|
5305
5453
|
sticker_id?: string | undefined;
|
|
5306
5454
|
logo?: string | undefined;
|
|
5307
5455
|
clan_name?: string | undefined;
|
|
5308
|
-
} & { [
|
|
5456
|
+
} & { [K_217 in Exclude<keyof I_1["sticker_create_event"], keyof StickerCreateEvent>]: never; }) | undefined;
|
|
5309
5457
|
sticker_update_event?: ({
|
|
5310
5458
|
shortname?: string | undefined;
|
|
5311
5459
|
sticker_id?: string | undefined;
|
|
@@ -5314,14 +5462,14 @@ export declare const Envelope: {
|
|
|
5314
5462
|
shortname?: string | undefined;
|
|
5315
5463
|
sticker_id?: string | undefined;
|
|
5316
5464
|
user_id?: string | undefined;
|
|
5317
|
-
} & { [
|
|
5465
|
+
} & { [K_218 in Exclude<keyof I_1["sticker_update_event"], keyof StickerUpdateEvent>]: never; }) | undefined;
|
|
5318
5466
|
sticker_delete_event?: ({
|
|
5319
5467
|
sticker_id?: string | undefined;
|
|
5320
5468
|
user_id?: string | undefined;
|
|
5321
5469
|
} & {
|
|
5322
5470
|
sticker_id?: string | undefined;
|
|
5323
5471
|
user_id?: string | undefined;
|
|
5324
|
-
} & { [
|
|
5472
|
+
} & { [K_219 in Exclude<keyof I_1["sticker_delete_event"], keyof StickerDeleteEvent>]: never; }) | undefined;
|
|
5325
5473
|
role_event?: ({
|
|
5326
5474
|
role?: {
|
|
5327
5475
|
id?: string | undefined;
|
|
@@ -5453,7 +5601,7 @@ export declare const Envelope: {
|
|
|
5453
5601
|
lang_tag?: string | undefined;
|
|
5454
5602
|
location?: string | undefined;
|
|
5455
5603
|
online?: boolean | undefined;
|
|
5456
|
-
} & { [
|
|
5604
|
+
} & { [K_220 in Exclude<keyof I_1["role_event"]["role"]["role_user_list"]["role_users"][number], keyof import("../api/api").RoleUserList_RoleUser>]: never; })[] & { [K_221 in Exclude<keyof I_1["role_event"]["role"]["role_user_list"]["role_users"], keyof {
|
|
5457
5605
|
id?: string | undefined;
|
|
5458
5606
|
username?: string | undefined;
|
|
5459
5607
|
display_name?: string | undefined;
|
|
@@ -5463,7 +5611,7 @@ export declare const Envelope: {
|
|
|
5463
5611
|
online?: boolean | undefined;
|
|
5464
5612
|
}[]>]: never; }) | undefined;
|
|
5465
5613
|
cursor?: string | undefined;
|
|
5466
|
-
} & { [
|
|
5614
|
+
} & { [K_222 in Exclude<keyof I_1["role_event"]["role"]["role_user_list"], keyof import("../api/api").RoleUserList>]: never; }) | undefined;
|
|
5467
5615
|
permission_list?: ({
|
|
5468
5616
|
permissions?: {
|
|
5469
5617
|
id?: string | undefined;
|
|
@@ -5500,7 +5648,7 @@ export declare const Envelope: {
|
|
|
5500
5648
|
active?: number | undefined;
|
|
5501
5649
|
scope?: number | undefined;
|
|
5502
5650
|
level?: number | undefined;
|
|
5503
|
-
} & { [
|
|
5651
|
+
} & { [K_223 in Exclude<keyof I_1["role_event"]["role"]["permission_list"]["permissions"][number], keyof import("../api/api").Permission>]: never; })[] & { [K_224 in Exclude<keyof I_1["role_event"]["role"]["permission_list"]["permissions"], keyof {
|
|
5504
5652
|
id?: string | undefined;
|
|
5505
5653
|
title?: string | undefined;
|
|
5506
5654
|
slug?: string | undefined;
|
|
@@ -5510,14 +5658,14 @@ export declare const Envelope: {
|
|
|
5510
5658
|
level?: number | undefined;
|
|
5511
5659
|
}[]>]: never; }) | undefined;
|
|
5512
5660
|
max_level_permission?: number | undefined;
|
|
5513
|
-
} & { [
|
|
5661
|
+
} & { [K_225 in Exclude<keyof I_1["role_event"]["role"]["permission_list"], keyof import("../api/api").PermissionList>]: never; }) | undefined;
|
|
5514
5662
|
role_channel_active?: number | undefined;
|
|
5515
|
-
channel_ids?: (string[] & string[] & { [
|
|
5663
|
+
channel_ids?: (string[] & string[] & { [K_226 in Exclude<keyof I_1["role_event"]["role"]["channel_ids"], keyof string[]>]: never; }) | undefined;
|
|
5516
5664
|
max_level_permission?: number | undefined;
|
|
5517
|
-
} & { [
|
|
5665
|
+
} & { [K_227 in Exclude<keyof I_1["role_event"]["role"], keyof Role>]: never; }) | undefined;
|
|
5518
5666
|
status?: number | undefined;
|
|
5519
5667
|
user_id?: string | undefined;
|
|
5520
|
-
} & { [
|
|
5668
|
+
} & { [K_228 in Exclude<keyof I_1["role_event"], keyof RoleEvent>]: never; }) | undefined;
|
|
5521
5669
|
event_emoji?: ({
|
|
5522
5670
|
id?: string | undefined;
|
|
5523
5671
|
clan_id?: string | undefined;
|
|
@@ -5538,7 +5686,7 @@ export declare const Envelope: {
|
|
|
5538
5686
|
user_id?: string | undefined;
|
|
5539
5687
|
logo?: string | undefined;
|
|
5540
5688
|
clan_name?: string | undefined;
|
|
5541
|
-
} & { [
|
|
5689
|
+
} & { [K_229 in Exclude<keyof I_1["event_emoji"], keyof EventEmoji>]: never; }) | undefined;
|
|
5542
5690
|
streaming_joined_event?: ({
|
|
5543
5691
|
clan_id?: string | undefined;
|
|
5544
5692
|
clan_name?: string | undefined;
|
|
@@ -5555,7 +5703,7 @@ export declare const Envelope: {
|
|
|
5555
5703
|
user_id?: string | undefined;
|
|
5556
5704
|
streaming_channel_label?: string | undefined;
|
|
5557
5705
|
streaming_channel_id?: string | undefined;
|
|
5558
|
-
} & { [
|
|
5706
|
+
} & { [K_230 in Exclude<keyof I_1["streaming_joined_event"], keyof StreamingJoinedEvent>]: never; }) | undefined;
|
|
5559
5707
|
streaming_leaved_event?: ({
|
|
5560
5708
|
id?: string | undefined;
|
|
5561
5709
|
clan_id?: string | undefined;
|
|
@@ -5566,7 +5714,7 @@ export declare const Envelope: {
|
|
|
5566
5714
|
clan_id?: string | undefined;
|
|
5567
5715
|
streaming_channel_id?: string | undefined;
|
|
5568
5716
|
streaming_user_id?: string | undefined;
|
|
5569
|
-
} & { [
|
|
5717
|
+
} & { [K_231 in Exclude<keyof I_1["streaming_leaved_event"], keyof StreamingLeavedEvent>]: never; }) | undefined;
|
|
5570
5718
|
streaming_started_event?: ({
|
|
5571
5719
|
clan_id?: string | undefined;
|
|
5572
5720
|
channel_id?: string | undefined;
|
|
@@ -5577,14 +5725,14 @@ export declare const Envelope: {
|
|
|
5577
5725
|
channel_id?: string | undefined;
|
|
5578
5726
|
streaming_url?: string | undefined;
|
|
5579
5727
|
is_streaming?: boolean | undefined;
|
|
5580
|
-
} & { [
|
|
5728
|
+
} & { [K_232 in Exclude<keyof I_1["streaming_started_event"], keyof StreamingStartedEvent>]: never; }) | undefined;
|
|
5581
5729
|
streaming_ended_event?: ({
|
|
5582
5730
|
clan_id?: string | undefined;
|
|
5583
5731
|
channel_id?: string | undefined;
|
|
5584
5732
|
} & {
|
|
5585
5733
|
clan_id?: string | undefined;
|
|
5586
5734
|
channel_id?: string | undefined;
|
|
5587
|
-
} & { [
|
|
5735
|
+
} & { [K_233 in Exclude<keyof I_1["streaming_ended_event"], keyof StreamingEndedEvent>]: never; }) | undefined;
|
|
5588
5736
|
permission_set_event?: ({
|
|
5589
5737
|
caller?: string | undefined;
|
|
5590
5738
|
role_id?: string | undefined;
|
|
@@ -5612,19 +5760,19 @@ export declare const Envelope: {
|
|
|
5612
5760
|
permission_id?: string | undefined;
|
|
5613
5761
|
slug?: string | undefined;
|
|
5614
5762
|
type?: number | undefined;
|
|
5615
|
-
} & { [
|
|
5763
|
+
} & { [K_234 in Exclude<keyof I_1["permission_set_event"]["permission_updates"][number], keyof PermissionUpdate>]: never; })[] & { [K_235 in Exclude<keyof I_1["permission_set_event"]["permission_updates"], keyof {
|
|
5616
5764
|
permission_id?: string | undefined;
|
|
5617
5765
|
slug?: string | undefined;
|
|
5618
5766
|
type?: number | undefined;
|
|
5619
5767
|
}[]>]: never; }) | undefined;
|
|
5620
|
-
} & { [
|
|
5768
|
+
} & { [K_236 in Exclude<keyof I_1["permission_set_event"], keyof PermissionSetEvent>]: never; }) | undefined;
|
|
5621
5769
|
permission_changed_event?: ({
|
|
5622
5770
|
user_id?: string | undefined;
|
|
5623
5771
|
channel_id?: string | undefined;
|
|
5624
5772
|
} & {
|
|
5625
5773
|
user_id?: string | undefined;
|
|
5626
5774
|
channel_id?: string | undefined;
|
|
5627
|
-
} & { [
|
|
5775
|
+
} & { [K_237 in Exclude<keyof I_1["permission_changed_event"], keyof PermissionChangedEvent>]: never; }) | undefined;
|
|
5628
5776
|
token_sent_event?: ({
|
|
5629
5777
|
sender_id?: string | undefined;
|
|
5630
5778
|
sender_name?: string | undefined;
|
|
@@ -5637,7 +5785,7 @@ export declare const Envelope: {
|
|
|
5637
5785
|
receiver_id?: string | undefined;
|
|
5638
5786
|
amount?: number | undefined;
|
|
5639
5787
|
note?: string | undefined;
|
|
5640
|
-
} & { [
|
|
5788
|
+
} & { [K_238 in Exclude<keyof I_1["token_sent_event"], keyof TokenSentEvent>]: never; }) | undefined;
|
|
5641
5789
|
message_button_clicked?: ({
|
|
5642
5790
|
message_id?: string | undefined;
|
|
5643
5791
|
channel_id?: string | undefined;
|
|
@@ -5650,7 +5798,7 @@ export declare const Envelope: {
|
|
|
5650
5798
|
button_id?: string | undefined;
|
|
5651
5799
|
sender_id?: string | undefined;
|
|
5652
5800
|
user_id?: string | undefined;
|
|
5653
|
-
} & { [
|
|
5801
|
+
} & { [K_239 in Exclude<keyof I_1["message_button_clicked"], keyof MessageButtonClicked>]: never; }) | undefined;
|
|
5654
5802
|
unmute_event?: ({
|
|
5655
5803
|
channel_id?: string | undefined;
|
|
5656
5804
|
category_id?: string | undefined;
|
|
@@ -5659,17 +5807,89 @@ export declare const Envelope: {
|
|
|
5659
5807
|
channel_id?: string | undefined;
|
|
5660
5808
|
category_id?: string | undefined;
|
|
5661
5809
|
clan_id?: string | undefined;
|
|
5662
|
-
} & { [
|
|
5810
|
+
} & { [K_240 in Exclude<keyof I_1["unmute_event"], keyof UnmuteEvent>]: never; }) | undefined;
|
|
5663
5811
|
webrtc_signaling_fwd?: ({
|
|
5664
5812
|
receiver_id?: string | undefined;
|
|
5665
5813
|
data_type?: number | undefined;
|
|
5666
5814
|
json_data?: string | undefined;
|
|
5815
|
+
channel_id?: string | undefined;
|
|
5667
5816
|
} & {
|
|
5668
5817
|
receiver_id?: string | undefined;
|
|
5669
5818
|
data_type?: number | undefined;
|
|
5670
5819
|
json_data?: string | undefined;
|
|
5671
|
-
|
|
5672
|
-
|
|
5820
|
+
channel_id?: string | undefined;
|
|
5821
|
+
} & { [K_241 in Exclude<keyof I_1["webrtc_signaling_fwd"], keyof WebrtcSignalingFwd>]: never; }) | undefined;
|
|
5822
|
+
join_ptt_channel?: ({
|
|
5823
|
+
channel_id?: string | undefined;
|
|
5824
|
+
date_type?: number | undefined;
|
|
5825
|
+
json_data?: string | undefined;
|
|
5826
|
+
} & {
|
|
5827
|
+
channel_id?: string | undefined;
|
|
5828
|
+
date_type?: number | undefined;
|
|
5829
|
+
json_data?: string | undefined;
|
|
5830
|
+
} & { [K_242 in Exclude<keyof I_1["join_ptt_channel"], keyof JoinPTTChannel>]: never; }) | undefined;
|
|
5831
|
+
talk_ptt_channel?: ({
|
|
5832
|
+
channel_id?: string | undefined;
|
|
5833
|
+
data_type?: number | undefined;
|
|
5834
|
+
json_data?: string | undefined;
|
|
5835
|
+
state?: number | undefined;
|
|
5836
|
+
} & {
|
|
5837
|
+
channel_id?: string | undefined;
|
|
5838
|
+
data_type?: number | undefined;
|
|
5839
|
+
json_data?: string | undefined;
|
|
5840
|
+
state?: number | undefined;
|
|
5841
|
+
} & { [K_243 in Exclude<keyof I_1["talk_ptt_channel"], keyof TalkPTTChannel>]: never; }) | undefined;
|
|
5842
|
+
list_activity?: ({
|
|
5843
|
+
acts?: {
|
|
5844
|
+
user_id?: string | undefined;
|
|
5845
|
+
activity_name?: string | undefined;
|
|
5846
|
+
activity_type?: number | undefined;
|
|
5847
|
+
activity_description?: string | undefined;
|
|
5848
|
+
start_time?: Date | undefined;
|
|
5849
|
+
end_time?: Date | undefined;
|
|
5850
|
+
application_id?: string | undefined;
|
|
5851
|
+
status?: number | undefined;
|
|
5852
|
+
}[] | undefined;
|
|
5853
|
+
} & {
|
|
5854
|
+
acts?: ({
|
|
5855
|
+
user_id?: string | undefined;
|
|
5856
|
+
activity_name?: string | undefined;
|
|
5857
|
+
activity_type?: number | undefined;
|
|
5858
|
+
activity_description?: string | undefined;
|
|
5859
|
+
start_time?: Date | undefined;
|
|
5860
|
+
end_time?: Date | undefined;
|
|
5861
|
+
application_id?: string | undefined;
|
|
5862
|
+
status?: number | undefined;
|
|
5863
|
+
}[] & ({
|
|
5864
|
+
user_id?: string | undefined;
|
|
5865
|
+
activity_name?: string | undefined;
|
|
5866
|
+
activity_type?: number | undefined;
|
|
5867
|
+
activity_description?: string | undefined;
|
|
5868
|
+
start_time?: Date | undefined;
|
|
5869
|
+
end_time?: Date | undefined;
|
|
5870
|
+
application_id?: string | undefined;
|
|
5871
|
+
status?: number | undefined;
|
|
5872
|
+
} & {
|
|
5873
|
+
user_id?: string | undefined;
|
|
5874
|
+
activity_name?: string | undefined;
|
|
5875
|
+
activity_type?: number | undefined;
|
|
5876
|
+
activity_description?: string | undefined;
|
|
5877
|
+
start_time?: Date | undefined;
|
|
5878
|
+
end_time?: Date | undefined;
|
|
5879
|
+
application_id?: string | undefined;
|
|
5880
|
+
status?: number | undefined;
|
|
5881
|
+
} & { [K_244 in Exclude<keyof I_1["list_activity"]["acts"][number], keyof UserActivity>]: never; })[] & { [K_245 in Exclude<keyof I_1["list_activity"]["acts"], keyof {
|
|
5882
|
+
user_id?: string | undefined;
|
|
5883
|
+
activity_name?: string | undefined;
|
|
5884
|
+
activity_type?: number | undefined;
|
|
5885
|
+
activity_description?: string | undefined;
|
|
5886
|
+
start_time?: Date | undefined;
|
|
5887
|
+
end_time?: Date | undefined;
|
|
5888
|
+
application_id?: string | undefined;
|
|
5889
|
+
status?: number | undefined;
|
|
5890
|
+
}[]>]: never; }) | undefined;
|
|
5891
|
+
} & { [K_246 in Exclude<keyof I_1["list_activity"], "acts">]: never; }) | undefined;
|
|
5892
|
+
} & { [K_247 in Exclude<keyof I_1, keyof Envelope>]: never; }>(object: I_1): Envelope;
|
|
5673
5893
|
};
|
|
5674
5894
|
export declare const WebrtcSignalingFwd: {
|
|
5675
5895
|
encode(message: WebrtcSignalingFwd, writer?: _m0.Writer): _m0.Writer;
|
|
@@ -5680,19 +5900,23 @@ export declare const WebrtcSignalingFwd: {
|
|
|
5680
5900
|
receiver_id?: string | undefined;
|
|
5681
5901
|
data_type?: number | undefined;
|
|
5682
5902
|
json_data?: string | undefined;
|
|
5903
|
+
channel_id?: string | undefined;
|
|
5683
5904
|
} & {
|
|
5684
5905
|
receiver_id?: string | undefined;
|
|
5685
5906
|
data_type?: number | undefined;
|
|
5686
5907
|
json_data?: string | undefined;
|
|
5908
|
+
channel_id?: string | undefined;
|
|
5687
5909
|
} & { [K in Exclude<keyof I, keyof WebrtcSignalingFwd>]: never; }>(base?: I | undefined): WebrtcSignalingFwd;
|
|
5688
5910
|
fromPartial<I_1 extends {
|
|
5689
5911
|
receiver_id?: string | undefined;
|
|
5690
5912
|
data_type?: number | undefined;
|
|
5691
5913
|
json_data?: string | undefined;
|
|
5914
|
+
channel_id?: string | undefined;
|
|
5692
5915
|
} & {
|
|
5693
5916
|
receiver_id?: string | undefined;
|
|
5694
5917
|
data_type?: number | undefined;
|
|
5695
5918
|
json_data?: string | undefined;
|
|
5919
|
+
channel_id?: string | undefined;
|
|
5696
5920
|
} & { [K_1 in Exclude<keyof I_1, keyof WebrtcSignalingFwd>]: never; }>(object: I_1): WebrtcSignalingFwd;
|
|
5697
5921
|
};
|
|
5698
5922
|
export declare const AddClanUserEvent: {
|
|
@@ -9661,6 +9885,164 @@ export declare const UnmuteEvent: {
|
|
|
9661
9885
|
clan_id?: string | undefined;
|
|
9662
9886
|
} & { [K_1 in Exclude<keyof I_1, keyof UnmuteEvent>]: never; }>(object: I_1): UnmuteEvent;
|
|
9663
9887
|
};
|
|
9888
|
+
export declare const JoinPTTChannel: {
|
|
9889
|
+
encode(message: JoinPTTChannel, writer?: _m0.Writer): _m0.Writer;
|
|
9890
|
+
decode(input: _m0.Reader | Uint8Array, length?: number): JoinPTTChannel;
|
|
9891
|
+
fromJSON(object: any): JoinPTTChannel;
|
|
9892
|
+
toJSON(message: JoinPTTChannel): unknown;
|
|
9893
|
+
create<I extends {
|
|
9894
|
+
channel_id?: string | undefined;
|
|
9895
|
+
date_type?: number | undefined;
|
|
9896
|
+
json_data?: string | undefined;
|
|
9897
|
+
} & {
|
|
9898
|
+
channel_id?: string | undefined;
|
|
9899
|
+
date_type?: number | undefined;
|
|
9900
|
+
json_data?: string | undefined;
|
|
9901
|
+
} & { [K in Exclude<keyof I, keyof JoinPTTChannel>]: never; }>(base?: I | undefined): JoinPTTChannel;
|
|
9902
|
+
fromPartial<I_1 extends {
|
|
9903
|
+
channel_id?: string | undefined;
|
|
9904
|
+
date_type?: number | undefined;
|
|
9905
|
+
json_data?: string | undefined;
|
|
9906
|
+
} & {
|
|
9907
|
+
channel_id?: string | undefined;
|
|
9908
|
+
date_type?: number | undefined;
|
|
9909
|
+
json_data?: string | undefined;
|
|
9910
|
+
} & { [K_1 in Exclude<keyof I_1, keyof JoinPTTChannel>]: never; }>(object: I_1): JoinPTTChannel;
|
|
9911
|
+
};
|
|
9912
|
+
export declare const TalkPTTChannel: {
|
|
9913
|
+
encode(message: TalkPTTChannel, writer?: _m0.Writer): _m0.Writer;
|
|
9914
|
+
decode(input: _m0.Reader | Uint8Array, length?: number): TalkPTTChannel;
|
|
9915
|
+
fromJSON(object: any): TalkPTTChannel;
|
|
9916
|
+
toJSON(message: TalkPTTChannel): unknown;
|
|
9917
|
+
create<I extends {
|
|
9918
|
+
channel_id?: string | undefined;
|
|
9919
|
+
data_type?: number | undefined;
|
|
9920
|
+
json_data?: string | undefined;
|
|
9921
|
+
state?: number | undefined;
|
|
9922
|
+
} & {
|
|
9923
|
+
channel_id?: string | undefined;
|
|
9924
|
+
data_type?: number | undefined;
|
|
9925
|
+
json_data?: string | undefined;
|
|
9926
|
+
state?: number | undefined;
|
|
9927
|
+
} & { [K in Exclude<keyof I, keyof TalkPTTChannel>]: never; }>(base?: I | undefined): TalkPTTChannel;
|
|
9928
|
+
fromPartial<I_1 extends {
|
|
9929
|
+
channel_id?: string | undefined;
|
|
9930
|
+
data_type?: number | undefined;
|
|
9931
|
+
json_data?: string | undefined;
|
|
9932
|
+
state?: number | undefined;
|
|
9933
|
+
} & {
|
|
9934
|
+
channel_id?: string | undefined;
|
|
9935
|
+
data_type?: number | undefined;
|
|
9936
|
+
json_data?: string | undefined;
|
|
9937
|
+
state?: number | undefined;
|
|
9938
|
+
} & { [K_1 in Exclude<keyof I_1, keyof TalkPTTChannel>]: never; }>(object: I_1): TalkPTTChannel;
|
|
9939
|
+
};
|
|
9940
|
+
export declare const ListActivity: {
|
|
9941
|
+
encode(message: ListActivity, writer?: _m0.Writer): _m0.Writer;
|
|
9942
|
+
decode(input: _m0.Reader | Uint8Array, length?: number): ListActivity;
|
|
9943
|
+
fromJSON(object: any): ListActivity;
|
|
9944
|
+
toJSON(message: ListActivity): unknown;
|
|
9945
|
+
create<I extends {
|
|
9946
|
+
acts?: {
|
|
9947
|
+
user_id?: string | undefined;
|
|
9948
|
+
activity_name?: string | undefined;
|
|
9949
|
+
activity_type?: number | undefined;
|
|
9950
|
+
activity_description?: string | undefined;
|
|
9951
|
+
start_time?: Date | undefined;
|
|
9952
|
+
end_time?: Date | undefined;
|
|
9953
|
+
application_id?: string | undefined;
|
|
9954
|
+
status?: number | undefined;
|
|
9955
|
+
}[] | undefined;
|
|
9956
|
+
} & {
|
|
9957
|
+
acts?: ({
|
|
9958
|
+
user_id?: string | undefined;
|
|
9959
|
+
activity_name?: string | undefined;
|
|
9960
|
+
activity_type?: number | undefined;
|
|
9961
|
+
activity_description?: string | undefined;
|
|
9962
|
+
start_time?: Date | undefined;
|
|
9963
|
+
end_time?: Date | undefined;
|
|
9964
|
+
application_id?: string | undefined;
|
|
9965
|
+
status?: number | undefined;
|
|
9966
|
+
}[] & ({
|
|
9967
|
+
user_id?: string | undefined;
|
|
9968
|
+
activity_name?: string | undefined;
|
|
9969
|
+
activity_type?: number | undefined;
|
|
9970
|
+
activity_description?: string | undefined;
|
|
9971
|
+
start_time?: Date | undefined;
|
|
9972
|
+
end_time?: Date | undefined;
|
|
9973
|
+
application_id?: string | undefined;
|
|
9974
|
+
status?: number | undefined;
|
|
9975
|
+
} & {
|
|
9976
|
+
user_id?: string | undefined;
|
|
9977
|
+
activity_name?: string | undefined;
|
|
9978
|
+
activity_type?: number | undefined;
|
|
9979
|
+
activity_description?: string | undefined;
|
|
9980
|
+
start_time?: Date | undefined;
|
|
9981
|
+
end_time?: Date | undefined;
|
|
9982
|
+
application_id?: string | undefined;
|
|
9983
|
+
status?: number | undefined;
|
|
9984
|
+
} & { [K in Exclude<keyof I["acts"][number], keyof UserActivity>]: never; })[] & { [K_1 in Exclude<keyof I["acts"], keyof {
|
|
9985
|
+
user_id?: string | undefined;
|
|
9986
|
+
activity_name?: string | undefined;
|
|
9987
|
+
activity_type?: number | undefined;
|
|
9988
|
+
activity_description?: string | undefined;
|
|
9989
|
+
start_time?: Date | undefined;
|
|
9990
|
+
end_time?: Date | undefined;
|
|
9991
|
+
application_id?: string | undefined;
|
|
9992
|
+
status?: number | undefined;
|
|
9993
|
+
}[]>]: never; }) | undefined;
|
|
9994
|
+
} & { [K_2 in Exclude<keyof I, "acts">]: never; }>(base?: I | undefined): ListActivity;
|
|
9995
|
+
fromPartial<I_1 extends {
|
|
9996
|
+
acts?: {
|
|
9997
|
+
user_id?: string | undefined;
|
|
9998
|
+
activity_name?: string | undefined;
|
|
9999
|
+
activity_type?: number | undefined;
|
|
10000
|
+
activity_description?: string | undefined;
|
|
10001
|
+
start_time?: Date | undefined;
|
|
10002
|
+
end_time?: Date | undefined;
|
|
10003
|
+
application_id?: string | undefined;
|
|
10004
|
+
status?: number | undefined;
|
|
10005
|
+
}[] | undefined;
|
|
10006
|
+
} & {
|
|
10007
|
+
acts?: ({
|
|
10008
|
+
user_id?: string | undefined;
|
|
10009
|
+
activity_name?: string | undefined;
|
|
10010
|
+
activity_type?: number | undefined;
|
|
10011
|
+
activity_description?: string | undefined;
|
|
10012
|
+
start_time?: Date | undefined;
|
|
10013
|
+
end_time?: Date | undefined;
|
|
10014
|
+
application_id?: string | undefined;
|
|
10015
|
+
status?: number | undefined;
|
|
10016
|
+
}[] & ({
|
|
10017
|
+
user_id?: string | undefined;
|
|
10018
|
+
activity_name?: string | undefined;
|
|
10019
|
+
activity_type?: number | undefined;
|
|
10020
|
+
activity_description?: string | undefined;
|
|
10021
|
+
start_time?: Date | undefined;
|
|
10022
|
+
end_time?: Date | undefined;
|
|
10023
|
+
application_id?: string | undefined;
|
|
10024
|
+
status?: number | undefined;
|
|
10025
|
+
} & {
|
|
10026
|
+
user_id?: string | undefined;
|
|
10027
|
+
activity_name?: string | undefined;
|
|
10028
|
+
activity_type?: number | undefined;
|
|
10029
|
+
activity_description?: string | undefined;
|
|
10030
|
+
start_time?: Date | undefined;
|
|
10031
|
+
end_time?: Date | undefined;
|
|
10032
|
+
application_id?: string | undefined;
|
|
10033
|
+
status?: number | undefined;
|
|
10034
|
+
} & { [K_3 in Exclude<keyof I_1["acts"][number], keyof UserActivity>]: never; })[] & { [K_4 in Exclude<keyof I_1["acts"], keyof {
|
|
10035
|
+
user_id?: string | undefined;
|
|
10036
|
+
activity_name?: string | undefined;
|
|
10037
|
+
activity_type?: number | undefined;
|
|
10038
|
+
activity_description?: string | undefined;
|
|
10039
|
+
start_time?: Date | undefined;
|
|
10040
|
+
end_time?: Date | undefined;
|
|
10041
|
+
application_id?: string | undefined;
|
|
10042
|
+
status?: number | undefined;
|
|
10043
|
+
}[]>]: never; }) | undefined;
|
|
10044
|
+
} & { [K_5 in Exclude<keyof I_1, "acts">]: never; }>(object: I_1): ListActivity;
|
|
10045
|
+
};
|
|
9664
10046
|
type Builtin = Date | Function | Uint8Array | string | number | boolean | undefined;
|
|
9665
10047
|
export type DeepPartial<T> = T extends Builtin ? T : T extends globalThis.Array<infer U> ? globalThis.Array<DeepPartial<U>> : T extends ReadonlyArray<infer U> ? ReadonlyArray<DeepPartial<U>> : T extends {} ? {
|
|
9666
10048
|
[K in keyof T]?: DeepPartial<T[K]>;
|