mezon-js-protobuf 1.5.31 → 1.5.32
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.
|
@@ -113,6 +113,8 @@ export interface Envelope {
|
|
|
113
113
|
all_user_clans?: AllUserClans | undefined;
|
|
114
114
|
/** */
|
|
115
115
|
clan_event_created?: CreateEventRequest | undefined;
|
|
116
|
+
/** notification time for event */
|
|
117
|
+
event_status_notification_event?: EventStatusNotificationEvent | undefined;
|
|
116
118
|
}
|
|
117
119
|
export interface AllUserClans {
|
|
118
120
|
user: User[];
|
|
@@ -778,6 +780,12 @@ export interface NotificationChannelCategorySettingEvent {
|
|
|
778
780
|
clan_id: string;
|
|
779
781
|
notification_channel_category_settings_list: NotificationChannelCategorySetting[];
|
|
780
782
|
}
|
|
783
|
+
export interface EventStatusNotificationEvent {
|
|
784
|
+
clan_id: string;
|
|
785
|
+
event_id: string;
|
|
786
|
+
event_status: string;
|
|
787
|
+
message: string;
|
|
788
|
+
}
|
|
781
789
|
export declare const Envelope: {
|
|
782
790
|
encode(message: Envelope, writer?: _m0.Writer): _m0.Writer;
|
|
783
791
|
decode(input: _m0.Reader | Uint8Array, length?: number): Envelope;
|
|
@@ -1339,6 +1347,12 @@ export declare const Envelope: {
|
|
|
1339
1347
|
start_time?: Date | undefined;
|
|
1340
1348
|
end_time?: Date | undefined;
|
|
1341
1349
|
} | undefined;
|
|
1350
|
+
event_status_notification_event?: {
|
|
1351
|
+
clan_id?: string | undefined;
|
|
1352
|
+
event_id?: string | undefined;
|
|
1353
|
+
event_status?: string | undefined;
|
|
1354
|
+
message?: string | undefined;
|
|
1355
|
+
} | undefined;
|
|
1342
1356
|
} & {
|
|
1343
1357
|
cid?: string | undefined;
|
|
1344
1358
|
channel?: ({
|
|
@@ -2980,7 +2994,18 @@ export declare const Envelope: {
|
|
|
2980
2994
|
start_time?: Date | undefined;
|
|
2981
2995
|
end_time?: Date | undefined;
|
|
2982
2996
|
} & { [K_114 in Exclude<keyof I["clan_event_created"], keyof CreateEventRequest>]: never; }) | undefined;
|
|
2983
|
-
|
|
2997
|
+
event_status_notification_event?: ({
|
|
2998
|
+
clan_id?: string | undefined;
|
|
2999
|
+
event_id?: string | undefined;
|
|
3000
|
+
event_status?: string | undefined;
|
|
3001
|
+
message?: string | undefined;
|
|
3002
|
+
} & {
|
|
3003
|
+
clan_id?: string | undefined;
|
|
3004
|
+
event_id?: string | undefined;
|
|
3005
|
+
event_status?: string | undefined;
|
|
3006
|
+
message?: string | undefined;
|
|
3007
|
+
} & { [K_115 in Exclude<keyof I["event_status_notification_event"], keyof EventStatusNotificationEvent>]: never; }) | undefined;
|
|
3008
|
+
} & { [K_116 in Exclude<keyof I, keyof Envelope>]: never; }>(base?: I | undefined): Envelope;
|
|
2984
3009
|
fromPartial<I_1 extends {
|
|
2985
3010
|
cid?: string | undefined;
|
|
2986
3011
|
channel?: {
|
|
@@ -3537,6 +3562,12 @@ export declare const Envelope: {
|
|
|
3537
3562
|
start_time?: Date | undefined;
|
|
3538
3563
|
end_time?: Date | undefined;
|
|
3539
3564
|
} | undefined;
|
|
3565
|
+
event_status_notification_event?: {
|
|
3566
|
+
clan_id?: string | undefined;
|
|
3567
|
+
event_id?: string | undefined;
|
|
3568
|
+
event_status?: string | undefined;
|
|
3569
|
+
message?: string | undefined;
|
|
3570
|
+
} | undefined;
|
|
3540
3571
|
} & {
|
|
3541
3572
|
cid?: string | undefined;
|
|
3542
3573
|
channel?: ({
|
|
@@ -3578,7 +3609,7 @@ export declare const Envelope: {
|
|
|
3578
3609
|
username?: string | undefined;
|
|
3579
3610
|
persistence?: boolean | undefined;
|
|
3580
3611
|
status?: string | undefined;
|
|
3581
|
-
} & { [
|
|
3612
|
+
} & { [K_117 in Exclude<keyof I_1["channel"]["presences"][number], keyof UserPresence>]: never; })[] & { [K_118 in Exclude<keyof I_1["channel"]["presences"], keyof {
|
|
3582
3613
|
user_id?: string | undefined;
|
|
3583
3614
|
session_id?: string | undefined;
|
|
3584
3615
|
username?: string | undefined;
|
|
@@ -3597,16 +3628,16 @@ export declare const Envelope: {
|
|
|
3597
3628
|
username?: string | undefined;
|
|
3598
3629
|
persistence?: boolean | undefined;
|
|
3599
3630
|
status?: string | undefined;
|
|
3600
|
-
} & { [
|
|
3631
|
+
} & { [K_119 in Exclude<keyof I_1["channel"]["self"], keyof UserPresence>]: never; }) | undefined;
|
|
3601
3632
|
chanel_label?: string | undefined;
|
|
3602
3633
|
clan_logo?: string | undefined;
|
|
3603
3634
|
category_name?: string | undefined;
|
|
3604
|
-
} & { [
|
|
3635
|
+
} & { [K_120 in Exclude<keyof I_1["channel"], keyof Channel>]: never; }) | undefined;
|
|
3605
3636
|
clan_join?: ({
|
|
3606
3637
|
clan_id?: string | undefined;
|
|
3607
3638
|
} & {
|
|
3608
3639
|
clan_id?: string | undefined;
|
|
3609
|
-
} & { [
|
|
3640
|
+
} & { [K_121 in Exclude<keyof I_1["clan_join"], "clan_id">]: never; }) | undefined;
|
|
3610
3641
|
channel_join?: ({
|
|
3611
3642
|
clan_id?: string | undefined;
|
|
3612
3643
|
channel_id?: string | undefined;
|
|
@@ -3615,7 +3646,7 @@ export declare const Envelope: {
|
|
|
3615
3646
|
clan_id?: string | undefined;
|
|
3616
3647
|
channel_id?: string | undefined;
|
|
3617
3648
|
channel_type?: number | undefined;
|
|
3618
|
-
} & { [
|
|
3649
|
+
} & { [K_122 in Exclude<keyof I_1["channel_join"], keyof ChannelJoin>]: never; }) | undefined;
|
|
3619
3650
|
channel_leave?: ({
|
|
3620
3651
|
clan_id?: string | undefined;
|
|
3621
3652
|
channel_id?: string | undefined;
|
|
@@ -3624,7 +3655,7 @@ export declare const Envelope: {
|
|
|
3624
3655
|
clan_id?: string | undefined;
|
|
3625
3656
|
channel_id?: string | undefined;
|
|
3626
3657
|
channel_type?: number | undefined;
|
|
3627
|
-
} & { [
|
|
3658
|
+
} & { [K_123 in Exclude<keyof I_1["channel_leave"], keyof ChannelLeave>]: never; }) | undefined;
|
|
3628
3659
|
channel_message?: ({
|
|
3629
3660
|
clan_id?: string | undefined;
|
|
3630
3661
|
channel_id?: string | undefined;
|
|
@@ -3677,7 +3708,7 @@ export declare const Envelope: {
|
|
|
3677
3708
|
update_time_seconds?: number | undefined;
|
|
3678
3709
|
mode?: number | undefined;
|
|
3679
3710
|
hide_editted?: boolean | undefined;
|
|
3680
|
-
} & { [
|
|
3711
|
+
} & { [K_124 in Exclude<keyof I_1["channel_message"], keyof ChannelMessage>]: never; }) | undefined;
|
|
3681
3712
|
channel_message_ack?: ({
|
|
3682
3713
|
channel_id?: string | undefined;
|
|
3683
3714
|
message_id?: string | undefined;
|
|
@@ -3698,7 +3729,7 @@ export declare const Envelope: {
|
|
|
3698
3729
|
persistent?: boolean | undefined;
|
|
3699
3730
|
clan_logo?: string | undefined;
|
|
3700
3731
|
category_name?: string | undefined;
|
|
3701
|
-
} & { [
|
|
3732
|
+
} & { [K_125 in Exclude<keyof I_1["channel_message_ack"], keyof ChannelMessageAck>]: never; }) | undefined;
|
|
3702
3733
|
channel_message_send?: ({
|
|
3703
3734
|
clan_id?: string | undefined;
|
|
3704
3735
|
channel_id?: string | undefined;
|
|
@@ -3768,7 +3799,7 @@ export declare const Envelope: {
|
|
|
3768
3799
|
create_time?: Date | undefined;
|
|
3769
3800
|
s?: number | undefined;
|
|
3770
3801
|
e?: number | undefined;
|
|
3771
|
-
} & { [
|
|
3802
|
+
} & { [K_126 in Exclude<keyof I_1["channel_message_send"]["mentions"][number], keyof MessageMention>]: never; })[] & { [K_127 in Exclude<keyof I_1["channel_message_send"]["mentions"], keyof {
|
|
3772
3803
|
id?: string | undefined;
|
|
3773
3804
|
user_id?: string | undefined;
|
|
3774
3805
|
username?: string | undefined;
|
|
@@ -3799,7 +3830,7 @@ export declare const Envelope: {
|
|
|
3799
3830
|
filetype?: string | undefined;
|
|
3800
3831
|
width?: number | undefined;
|
|
3801
3832
|
height?: number | undefined;
|
|
3802
|
-
} & { [
|
|
3833
|
+
} & { [K_128 in Exclude<keyof I_1["channel_message_send"]["attachments"][number], keyof MessageAttachment>]: never; })[] & { [K_129 in Exclude<keyof I_1["channel_message_send"]["attachments"], keyof {
|
|
3803
3834
|
filename?: string | undefined;
|
|
3804
3835
|
size?: number | undefined;
|
|
3805
3836
|
url?: string | undefined;
|
|
@@ -3840,7 +3871,7 @@ export declare const Envelope: {
|
|
|
3840
3871
|
mesages_sender_avatar?: string | undefined;
|
|
3841
3872
|
message_sender_clan_nick?: string | undefined;
|
|
3842
3873
|
message_sender_display_name?: string | undefined;
|
|
3843
|
-
} & { [
|
|
3874
|
+
} & { [K_130 in Exclude<keyof I_1["channel_message_send"]["references"][number], keyof MessageRef>]: never; })[] & { [K_131 in Exclude<keyof I_1["channel_message_send"]["references"], keyof {
|
|
3844
3875
|
message_id?: string | undefined;
|
|
3845
3876
|
message_ref_id?: string | undefined;
|
|
3846
3877
|
content?: string | undefined;
|
|
@@ -3856,7 +3887,7 @@ export declare const Envelope: {
|
|
|
3856
3887
|
anonymous_message?: boolean | undefined;
|
|
3857
3888
|
mention_everyone?: boolean | undefined;
|
|
3858
3889
|
avatar?: string | undefined;
|
|
3859
|
-
} & { [
|
|
3890
|
+
} & { [K_132 in Exclude<keyof I_1["channel_message_send"], keyof ChannelMessageSend>]: never; }) | undefined;
|
|
3860
3891
|
channel_message_update?: ({
|
|
3861
3892
|
clan_id?: string | undefined;
|
|
3862
3893
|
channel_id?: string | undefined;
|
|
@@ -3914,7 +3945,7 @@ export declare const Envelope: {
|
|
|
3914
3945
|
create_time?: Date | undefined;
|
|
3915
3946
|
s?: number | undefined;
|
|
3916
3947
|
e?: number | undefined;
|
|
3917
|
-
} & { [
|
|
3948
|
+
} & { [K_133 in Exclude<keyof I_1["channel_message_update"]["mentions"][number], keyof MessageMention>]: never; })[] & { [K_134 in Exclude<keyof I_1["channel_message_update"]["mentions"], keyof {
|
|
3918
3949
|
id?: string | undefined;
|
|
3919
3950
|
user_id?: string | undefined;
|
|
3920
3951
|
username?: string | undefined;
|
|
@@ -3945,7 +3976,7 @@ export declare const Envelope: {
|
|
|
3945
3976
|
filetype?: string | undefined;
|
|
3946
3977
|
width?: number | undefined;
|
|
3947
3978
|
height?: number | undefined;
|
|
3948
|
-
} & { [
|
|
3979
|
+
} & { [K_135 in Exclude<keyof I_1["channel_message_update"]["attachments"][number], keyof MessageAttachment>]: never; })[] & { [K_136 in Exclude<keyof I_1["channel_message_update"]["attachments"], keyof {
|
|
3949
3980
|
filename?: string | undefined;
|
|
3950
3981
|
size?: number | undefined;
|
|
3951
3982
|
url?: string | undefined;
|
|
@@ -3955,7 +3986,7 @@ export declare const Envelope: {
|
|
|
3955
3986
|
}[]>]: never; }) | undefined;
|
|
3956
3987
|
mode?: number | undefined;
|
|
3957
3988
|
hide_editted?: boolean | undefined;
|
|
3958
|
-
} & { [
|
|
3989
|
+
} & { [K_137 in Exclude<keyof I_1["channel_message_update"], keyof ChannelMessageUpdate>]: never; }) | undefined;
|
|
3959
3990
|
channel_message_remove?: ({
|
|
3960
3991
|
clan_id?: string | undefined;
|
|
3961
3992
|
channel_id?: string | undefined;
|
|
@@ -3966,7 +3997,7 @@ export declare const Envelope: {
|
|
|
3966
3997
|
channel_id?: string | undefined;
|
|
3967
3998
|
message_id?: string | undefined;
|
|
3968
3999
|
mode?: number | undefined;
|
|
3969
|
-
} & { [
|
|
4000
|
+
} & { [K_138 in Exclude<keyof I_1["channel_message_remove"], keyof ChannelMessageRemove>]: never; }) | undefined;
|
|
3970
4001
|
channel_presence_event?: ({
|
|
3971
4002
|
channel_id?: string | undefined;
|
|
3972
4003
|
joins?: {
|
|
@@ -4006,7 +4037,7 @@ export declare const Envelope: {
|
|
|
4006
4037
|
username?: string | undefined;
|
|
4007
4038
|
persistence?: boolean | undefined;
|
|
4008
4039
|
status?: string | undefined;
|
|
4009
|
-
} & { [
|
|
4040
|
+
} & { [K_139 in Exclude<keyof I_1["channel_presence_event"]["joins"][number], keyof UserPresence>]: never; })[] & { [K_140 in Exclude<keyof I_1["channel_presence_event"]["joins"], keyof {
|
|
4010
4041
|
user_id?: string | undefined;
|
|
4011
4042
|
session_id?: string | undefined;
|
|
4012
4043
|
username?: string | undefined;
|
|
@@ -4031,7 +4062,7 @@ export declare const Envelope: {
|
|
|
4031
4062
|
username?: string | undefined;
|
|
4032
4063
|
persistence?: boolean | undefined;
|
|
4033
4064
|
status?: string | undefined;
|
|
4034
|
-
} & { [
|
|
4065
|
+
} & { [K_141 in Exclude<keyof I_1["channel_presence_event"]["leaves"][number], keyof UserPresence>]: never; })[] & { [K_142 in Exclude<keyof I_1["channel_presence_event"]["leaves"], keyof {
|
|
4035
4066
|
user_id?: string | undefined;
|
|
4036
4067
|
session_id?: string | undefined;
|
|
4037
4068
|
username?: string | undefined;
|
|
@@ -4041,7 +4072,7 @@ export declare const Envelope: {
|
|
|
4041
4072
|
clan_logo?: string | undefined;
|
|
4042
4073
|
category_name?: string | undefined;
|
|
4043
4074
|
mode?: number | undefined;
|
|
4044
|
-
} & { [
|
|
4075
|
+
} & { [K_143 in Exclude<keyof I_1["channel_presence_event"], keyof ChannelPresenceEvent>]: never; }) | undefined;
|
|
4045
4076
|
error?: ({
|
|
4046
4077
|
code?: number | undefined;
|
|
4047
4078
|
message?: string | undefined;
|
|
@@ -4055,8 +4086,8 @@ export declare const Envelope: {
|
|
|
4055
4086
|
[x: string]: string | undefined;
|
|
4056
4087
|
} & {
|
|
4057
4088
|
[x: string]: string | undefined;
|
|
4058
|
-
} & { [
|
|
4059
|
-
} & { [
|
|
4089
|
+
} & { [K_144 in Exclude<keyof I_1["error"]["context"], string | number>]: never; }) | undefined;
|
|
4090
|
+
} & { [K_145 in Exclude<keyof I_1["error"], keyof Error>]: never; }) | undefined;
|
|
4060
4091
|
notifications?: ({
|
|
4061
4092
|
notifications?: {
|
|
4062
4093
|
id?: string | undefined;
|
|
@@ -4108,7 +4139,7 @@ export declare const Envelope: {
|
|
|
4108
4139
|
channel_id?: string | undefined;
|
|
4109
4140
|
channel_type?: number | undefined;
|
|
4110
4141
|
avatar_url?: string | undefined;
|
|
4111
|
-
} & { [
|
|
4142
|
+
} & { [K_146 in Exclude<keyof I_1["notifications"]["notifications"][number], keyof Notification>]: never; })[] & { [K_147 in Exclude<keyof I_1["notifications"]["notifications"], keyof {
|
|
4112
4143
|
id?: string | undefined;
|
|
4113
4144
|
subject?: string | undefined;
|
|
4114
4145
|
content?: string | undefined;
|
|
@@ -4121,7 +4152,7 @@ export declare const Envelope: {
|
|
|
4121
4152
|
channel_type?: number | undefined;
|
|
4122
4153
|
avatar_url?: string | undefined;
|
|
4123
4154
|
}[]>]: never; }) | undefined;
|
|
4124
|
-
} & { [
|
|
4155
|
+
} & { [K_148 in Exclude<keyof I_1["notifications"], "notifications">]: never; }) | undefined;
|
|
4125
4156
|
rpc?: ({
|
|
4126
4157
|
id?: string | undefined;
|
|
4127
4158
|
payload?: string | undefined;
|
|
@@ -4130,7 +4161,7 @@ export declare const Envelope: {
|
|
|
4130
4161
|
id?: string | undefined;
|
|
4131
4162
|
payload?: string | undefined;
|
|
4132
4163
|
http_key?: string | undefined;
|
|
4133
|
-
} & { [
|
|
4164
|
+
} & { [K_149 in Exclude<keyof I_1["rpc"], keyof Rpc>]: never; }) | undefined;
|
|
4134
4165
|
status?: ({
|
|
4135
4166
|
presences?: {
|
|
4136
4167
|
user_id?: string | undefined;
|
|
@@ -4158,21 +4189,21 @@ export declare const Envelope: {
|
|
|
4158
4189
|
username?: string | undefined;
|
|
4159
4190
|
persistence?: boolean | undefined;
|
|
4160
4191
|
status?: string | undefined;
|
|
4161
|
-
} & { [
|
|
4192
|
+
} & { [K_150 in Exclude<keyof I_1["status"]["presences"][number], keyof UserPresence>]: never; })[] & { [K_151 in Exclude<keyof I_1["status"]["presences"], keyof {
|
|
4162
4193
|
user_id?: string | undefined;
|
|
4163
4194
|
session_id?: string | undefined;
|
|
4164
4195
|
username?: string | undefined;
|
|
4165
4196
|
persistence?: boolean | undefined;
|
|
4166
4197
|
status?: string | undefined;
|
|
4167
4198
|
}[]>]: never; }) | undefined;
|
|
4168
|
-
} & { [
|
|
4199
|
+
} & { [K_152 in Exclude<keyof I_1["status"], "presences">]: never; }) | undefined;
|
|
4169
4200
|
status_follow?: ({
|
|
4170
4201
|
user_ids?: string[] | undefined;
|
|
4171
4202
|
usernames?: string[] | undefined;
|
|
4172
4203
|
} & {
|
|
4173
|
-
user_ids?: (string[] & string[] & { [
|
|
4174
|
-
usernames?: (string[] & string[] & { [
|
|
4175
|
-
} & { [
|
|
4204
|
+
user_ids?: (string[] & string[] & { [K_153 in Exclude<keyof I_1["status_follow"]["user_ids"], keyof string[]>]: never; }) | undefined;
|
|
4205
|
+
usernames?: (string[] & string[] & { [K_154 in Exclude<keyof I_1["status_follow"]["usernames"], keyof string[]>]: never; }) | undefined;
|
|
4206
|
+
} & { [K_155 in Exclude<keyof I_1["status_follow"], keyof StatusFollow>]: never; }) | undefined;
|
|
4176
4207
|
status_presence_event?: ({
|
|
4177
4208
|
joins?: {
|
|
4178
4209
|
user_id?: string | undefined;
|
|
@@ -4207,7 +4238,7 @@ export declare const Envelope: {
|
|
|
4207
4238
|
username?: string | undefined;
|
|
4208
4239
|
persistence?: boolean | undefined;
|
|
4209
4240
|
status?: string | undefined;
|
|
4210
|
-
} & { [
|
|
4241
|
+
} & { [K_156 in Exclude<keyof I_1["status_presence_event"]["joins"][number], keyof UserPresence>]: never; })[] & { [K_157 in Exclude<keyof I_1["status_presence_event"]["joins"], keyof {
|
|
4211
4242
|
user_id?: string | undefined;
|
|
4212
4243
|
session_id?: string | undefined;
|
|
4213
4244
|
username?: string | undefined;
|
|
@@ -4232,24 +4263,24 @@ export declare const Envelope: {
|
|
|
4232
4263
|
username?: string | undefined;
|
|
4233
4264
|
persistence?: boolean | undefined;
|
|
4234
4265
|
status?: string | undefined;
|
|
4235
|
-
} & { [
|
|
4266
|
+
} & { [K_158 in Exclude<keyof I_1["status_presence_event"]["leaves"][number], keyof UserPresence>]: never; })[] & { [K_159 in Exclude<keyof I_1["status_presence_event"]["leaves"], keyof {
|
|
4236
4267
|
user_id?: string | undefined;
|
|
4237
4268
|
session_id?: string | undefined;
|
|
4238
4269
|
username?: string | undefined;
|
|
4239
4270
|
persistence?: boolean | undefined;
|
|
4240
4271
|
status?: string | undefined;
|
|
4241
4272
|
}[]>]: never; }) | undefined;
|
|
4242
|
-
} & { [
|
|
4273
|
+
} & { [K_160 in Exclude<keyof I_1["status_presence_event"], keyof StatusPresenceEvent>]: never; }) | undefined;
|
|
4243
4274
|
status_unfollow?: ({
|
|
4244
4275
|
user_ids?: string[] | undefined;
|
|
4245
4276
|
} & {
|
|
4246
|
-
user_ids?: (string[] & string[] & { [
|
|
4247
|
-
} & { [
|
|
4277
|
+
user_ids?: (string[] & string[] & { [K_161 in Exclude<keyof I_1["status_unfollow"]["user_ids"], keyof string[]>]: never; }) | undefined;
|
|
4278
|
+
} & { [K_162 in Exclude<keyof I_1["status_unfollow"], "user_ids">]: never; }) | undefined;
|
|
4248
4279
|
status_update?: ({
|
|
4249
4280
|
status?: string | undefined;
|
|
4250
4281
|
} & {
|
|
4251
4282
|
status?: string | undefined;
|
|
4252
|
-
} & { [
|
|
4283
|
+
} & { [K_163 in Exclude<keyof I_1["status_update"], "status">]: never; }) | undefined;
|
|
4253
4284
|
stream_data?: ({
|
|
4254
4285
|
stream?: {
|
|
4255
4286
|
mode?: number | undefined;
|
|
@@ -4277,7 +4308,7 @@ export declare const Envelope: {
|
|
|
4277
4308
|
channel_id?: string | undefined;
|
|
4278
4309
|
clan_id?: string | undefined;
|
|
4279
4310
|
label?: string | undefined;
|
|
4280
|
-
} & { [
|
|
4311
|
+
} & { [K_164 in Exclude<keyof I_1["stream_data"]["stream"], keyof Stream>]: never; }) | undefined;
|
|
4281
4312
|
sender?: ({
|
|
4282
4313
|
user_id?: string | undefined;
|
|
4283
4314
|
session_id?: string | undefined;
|
|
@@ -4290,10 +4321,10 @@ export declare const Envelope: {
|
|
|
4290
4321
|
username?: string | undefined;
|
|
4291
4322
|
persistence?: boolean | undefined;
|
|
4292
4323
|
status?: string | undefined;
|
|
4293
|
-
} & { [
|
|
4324
|
+
} & { [K_165 in Exclude<keyof I_1["stream_data"]["sender"], keyof UserPresence>]: never; }) | undefined;
|
|
4294
4325
|
data?: string | undefined;
|
|
4295
4326
|
reliable?: boolean | undefined;
|
|
4296
|
-
} & { [
|
|
4327
|
+
} & { [K_166 in Exclude<keyof I_1["stream_data"], keyof StreamData>]: never; }) | undefined;
|
|
4297
4328
|
stream_presence_event?: ({
|
|
4298
4329
|
stream?: {
|
|
4299
4330
|
mode?: number | undefined;
|
|
@@ -4326,7 +4357,7 @@ export declare const Envelope: {
|
|
|
4326
4357
|
channel_id?: string | undefined;
|
|
4327
4358
|
clan_id?: string | undefined;
|
|
4328
4359
|
label?: string | undefined;
|
|
4329
|
-
} & { [
|
|
4360
|
+
} & { [K_167 in Exclude<keyof I_1["stream_presence_event"]["stream"], keyof Stream>]: never; }) | undefined;
|
|
4330
4361
|
joins?: ({
|
|
4331
4362
|
user_id?: string | undefined;
|
|
4332
4363
|
session_id?: string | undefined;
|
|
@@ -4345,7 +4376,7 @@ export declare const Envelope: {
|
|
|
4345
4376
|
username?: string | undefined;
|
|
4346
4377
|
persistence?: boolean | undefined;
|
|
4347
4378
|
status?: string | undefined;
|
|
4348
|
-
} & { [
|
|
4379
|
+
} & { [K_168 in Exclude<keyof I_1["stream_presence_event"]["joins"][number], keyof UserPresence>]: never; })[] & { [K_169 in Exclude<keyof I_1["stream_presence_event"]["joins"], keyof {
|
|
4349
4380
|
user_id?: string | undefined;
|
|
4350
4381
|
session_id?: string | undefined;
|
|
4351
4382
|
username?: string | undefined;
|
|
@@ -4370,16 +4401,16 @@ export declare const Envelope: {
|
|
|
4370
4401
|
username?: string | undefined;
|
|
4371
4402
|
persistence?: boolean | undefined;
|
|
4372
4403
|
status?: string | undefined;
|
|
4373
|
-
} & { [
|
|
4404
|
+
} & { [K_170 in Exclude<keyof I_1["stream_presence_event"]["leaves"][number], keyof UserPresence>]: never; })[] & { [K_171 in Exclude<keyof I_1["stream_presence_event"]["leaves"], keyof {
|
|
4374
4405
|
user_id?: string | undefined;
|
|
4375
4406
|
session_id?: string | undefined;
|
|
4376
4407
|
username?: string | undefined;
|
|
4377
4408
|
persistence?: boolean | undefined;
|
|
4378
4409
|
status?: string | undefined;
|
|
4379
4410
|
}[]>]: never; }) | undefined;
|
|
4380
|
-
} & { [
|
|
4381
|
-
ping?: ({} & {} & { [
|
|
4382
|
-
pong?: ({} & {} & { [
|
|
4411
|
+
} & { [K_172 in Exclude<keyof I_1["stream_presence_event"], keyof StreamPresenceEvent>]: never; }) | undefined;
|
|
4412
|
+
ping?: ({} & {} & { [K_173 in Exclude<keyof I_1["ping"], never>]: never; }) | undefined;
|
|
4413
|
+
pong?: ({} & {} & { [K_174 in Exclude<keyof I_1["pong"], never>]: never; }) | undefined;
|
|
4383
4414
|
message_typing_event?: ({
|
|
4384
4415
|
clan_id?: string | undefined;
|
|
4385
4416
|
channel_id?: string | undefined;
|
|
@@ -4390,7 +4421,7 @@ export declare const Envelope: {
|
|
|
4390
4421
|
channel_id?: string | undefined;
|
|
4391
4422
|
sender_id?: string | undefined;
|
|
4392
4423
|
mode?: number | undefined;
|
|
4393
|
-
} & { [
|
|
4424
|
+
} & { [K_175 in Exclude<keyof I_1["message_typing_event"], keyof MessageTypingEvent>]: never; }) | undefined;
|
|
4394
4425
|
last_seen_message_event?: ({
|
|
4395
4426
|
channel_id?: string | undefined;
|
|
4396
4427
|
message_id?: string | undefined;
|
|
@@ -4401,7 +4432,7 @@ export declare const Envelope: {
|
|
|
4401
4432
|
message_id?: string | undefined;
|
|
4402
4433
|
mode?: number | undefined;
|
|
4403
4434
|
timestamp_seconds?: number | undefined;
|
|
4404
|
-
} & { [
|
|
4435
|
+
} & { [K_176 in Exclude<keyof I_1["last_seen_message_event"], keyof LastSeenMessageEvent>]: never; }) | undefined;
|
|
4405
4436
|
message_reaction_event?: ({
|
|
4406
4437
|
id?: string | undefined;
|
|
4407
4438
|
emoji_id?: string | undefined;
|
|
@@ -4430,7 +4461,7 @@ export declare const Envelope: {
|
|
|
4430
4461
|
clan_id?: string | undefined;
|
|
4431
4462
|
mode?: number | undefined;
|
|
4432
4463
|
message_sender_id?: string | undefined;
|
|
4433
|
-
} & { [
|
|
4464
|
+
} & { [K_177 in Exclude<keyof I_1["message_reaction_event"], keyof MessageReaction>]: never; }) | undefined;
|
|
4434
4465
|
voice_joined_event?: ({
|
|
4435
4466
|
clan_id?: string | undefined;
|
|
4436
4467
|
clan_name?: string | undefined;
|
|
@@ -4449,7 +4480,7 @@ export declare const Envelope: {
|
|
|
4449
4480
|
voice_channel_label?: string | undefined;
|
|
4450
4481
|
voice_channel_id?: string | undefined;
|
|
4451
4482
|
last_screenshot?: string | undefined;
|
|
4452
|
-
} & { [
|
|
4483
|
+
} & { [K_178 in Exclude<keyof I_1["voice_joined_event"], keyof VoiceJoinedEvent>]: never; }) | undefined;
|
|
4453
4484
|
voice_leaved_event?: ({
|
|
4454
4485
|
id?: string | undefined;
|
|
4455
4486
|
clan_id?: string | undefined;
|
|
@@ -4460,7 +4491,7 @@ export declare const Envelope: {
|
|
|
4460
4491
|
clan_id?: string | undefined;
|
|
4461
4492
|
voice_channel_id?: string | undefined;
|
|
4462
4493
|
voice_user_id?: string | undefined;
|
|
4463
|
-
} & { [
|
|
4494
|
+
} & { [K_179 in Exclude<keyof I_1["voice_leaved_event"], keyof VoiceLeavedEvent>]: never; }) | undefined;
|
|
4464
4495
|
voice_started_event?: ({
|
|
4465
4496
|
id?: string | undefined;
|
|
4466
4497
|
clan_id?: string | undefined;
|
|
@@ -4469,7 +4500,7 @@ export declare const Envelope: {
|
|
|
4469
4500
|
id?: string | undefined;
|
|
4470
4501
|
clan_id?: string | undefined;
|
|
4471
4502
|
voice_channel_id?: string | undefined;
|
|
4472
|
-
} & { [
|
|
4503
|
+
} & { [K_180 in Exclude<keyof I_1["voice_started_event"], keyof VoiceStartedEvent>]: never; }) | undefined;
|
|
4473
4504
|
voice_ended_event?: ({
|
|
4474
4505
|
id?: string | undefined;
|
|
4475
4506
|
clan_id?: string | undefined;
|
|
@@ -4478,7 +4509,7 @@ export declare const Envelope: {
|
|
|
4478
4509
|
id?: string | undefined;
|
|
4479
4510
|
clan_id?: string | undefined;
|
|
4480
4511
|
voice_channel_id?: string | undefined;
|
|
4481
|
-
} & { [
|
|
4512
|
+
} & { [K_181 in Exclude<keyof I_1["voice_ended_event"], keyof VoiceEndedEvent>]: never; }) | undefined;
|
|
4482
4513
|
channel_created_event?: ({
|
|
4483
4514
|
clan_id?: string | undefined;
|
|
4484
4515
|
category_id?: string | undefined;
|
|
@@ -4499,7 +4530,7 @@ export declare const Envelope: {
|
|
|
4499
4530
|
channel_private?: number | undefined;
|
|
4500
4531
|
channel_type?: number | undefined;
|
|
4501
4532
|
status?: number | undefined;
|
|
4502
|
-
} & { [
|
|
4533
|
+
} & { [K_182 in Exclude<keyof I_1["channel_created_event"], keyof ChannelCreatedEvent>]: never; }) | undefined;
|
|
4503
4534
|
channel_deleted_event?: ({
|
|
4504
4535
|
clan_id?: string | undefined;
|
|
4505
4536
|
category_id?: string | undefined;
|
|
@@ -4512,7 +4543,7 @@ export declare const Envelope: {
|
|
|
4512
4543
|
parrent_id?: string | undefined;
|
|
4513
4544
|
channel_id?: string | undefined;
|
|
4514
4545
|
deletor?: string | undefined;
|
|
4515
|
-
} & { [
|
|
4546
|
+
} & { [K_183 in Exclude<keyof I_1["channel_deleted_event"], keyof ChannelDeletedEvent>]: never; }) | undefined;
|
|
4516
4547
|
channel_updated_event?: ({
|
|
4517
4548
|
clan_id?: string | undefined;
|
|
4518
4549
|
category_id?: string | undefined;
|
|
@@ -4533,7 +4564,7 @@ export declare const Envelope: {
|
|
|
4533
4564
|
channel_type?: number | undefined;
|
|
4534
4565
|
status?: number | undefined;
|
|
4535
4566
|
meeting_code?: string | undefined;
|
|
4536
|
-
} & { [
|
|
4567
|
+
} & { [K_184 in Exclude<keyof I_1["channel_updated_event"], keyof ChannelUpdatedEvent>]: never; }) | undefined;
|
|
4537
4568
|
last_pin_message_event?: ({
|
|
4538
4569
|
clan_id?: string | undefined;
|
|
4539
4570
|
channel_id?: string | undefined;
|
|
@@ -4550,7 +4581,7 @@ export declare const Envelope: {
|
|
|
4550
4581
|
user_id?: string | undefined;
|
|
4551
4582
|
timestamp_seconds?: number | undefined;
|
|
4552
4583
|
operation?: number | undefined;
|
|
4553
|
-
} & { [
|
|
4584
|
+
} & { [K_185 in Exclude<keyof I_1["last_pin_message_event"], keyof LastPinMessageEvent>]: never; }) | undefined;
|
|
4554
4585
|
custom_status_event?: ({
|
|
4555
4586
|
clan_id?: string | undefined;
|
|
4556
4587
|
user_id?: string | undefined;
|
|
@@ -4561,7 +4592,7 @@ export declare const Envelope: {
|
|
|
4561
4592
|
user_id?: string | undefined;
|
|
4562
4593
|
username?: string | undefined;
|
|
4563
4594
|
status?: string | undefined;
|
|
4564
|
-
} & { [
|
|
4595
|
+
} & { [K_186 in Exclude<keyof I_1["custom_status_event"], keyof CustomStatusEvent>]: never; }) | undefined;
|
|
4565
4596
|
user_channel_added_event?: ({
|
|
4566
4597
|
channel_id?: string | undefined;
|
|
4567
4598
|
users?: {
|
|
@@ -4586,7 +4617,7 @@ export declare const Envelope: {
|
|
|
4586
4617
|
user_id?: string | undefined;
|
|
4587
4618
|
avatar?: string | undefined;
|
|
4588
4619
|
username?: string | undefined;
|
|
4589
|
-
} & { [
|
|
4620
|
+
} & { [K_187 in Exclude<keyof I_1["user_channel_added_event"]["users"][number], keyof AddUsers>]: never; })[] & { [K_188 in Exclude<keyof I_1["user_channel_added_event"]["users"], keyof {
|
|
4590
4621
|
user_id?: string | undefined;
|
|
4591
4622
|
avatar?: string | undefined;
|
|
4592
4623
|
username?: string | undefined;
|
|
@@ -4594,23 +4625,23 @@ export declare const Envelope: {
|
|
|
4594
4625
|
status?: string | undefined;
|
|
4595
4626
|
clan_id?: string | undefined;
|
|
4596
4627
|
channel_type?: number | undefined;
|
|
4597
|
-
} & { [
|
|
4628
|
+
} & { [K_189 in Exclude<keyof I_1["user_channel_added_event"], keyof UserChannelAdded>]: never; }) | undefined;
|
|
4598
4629
|
user_channel_removed_event?: ({
|
|
4599
4630
|
channel_id?: string | undefined;
|
|
4600
4631
|
user_ids?: string[] | undefined;
|
|
4601
4632
|
channel_type?: number | undefined;
|
|
4602
4633
|
} & {
|
|
4603
4634
|
channel_id?: string | undefined;
|
|
4604
|
-
user_ids?: (string[] & string[] & { [
|
|
4635
|
+
user_ids?: (string[] & string[] & { [K_190 in Exclude<keyof I_1["user_channel_removed_event"]["user_ids"], keyof string[]>]: never; }) | undefined;
|
|
4605
4636
|
channel_type?: number | undefined;
|
|
4606
|
-
} & { [
|
|
4637
|
+
} & { [K_191 in Exclude<keyof I_1["user_channel_removed_event"], keyof UserChannelRemoved>]: never; }) | undefined;
|
|
4607
4638
|
user_clan_removed_event?: ({
|
|
4608
4639
|
clan_id?: string | undefined;
|
|
4609
4640
|
user_ids?: string[] | undefined;
|
|
4610
4641
|
} & {
|
|
4611
4642
|
clan_id?: string | undefined;
|
|
4612
|
-
user_ids?: (string[] & string[] & { [
|
|
4613
|
-
} & { [
|
|
4643
|
+
user_ids?: (string[] & string[] & { [K_192 in Exclude<keyof I_1["user_clan_removed_event"]["user_ids"], keyof string[]>]: never; }) | undefined;
|
|
4644
|
+
} & { [K_193 in Exclude<keyof I_1["user_clan_removed_event"], keyof UserClanRemoved>]: never; }) | undefined;
|
|
4614
4645
|
clan_updated_event?: ({
|
|
4615
4646
|
clan_id?: string | undefined;
|
|
4616
4647
|
clan_name?: string | undefined;
|
|
@@ -4619,7 +4650,7 @@ export declare const Envelope: {
|
|
|
4619
4650
|
clan_id?: string | undefined;
|
|
4620
4651
|
clan_name?: string | undefined;
|
|
4621
4652
|
clan_logo?: string | undefined;
|
|
4622
|
-
} & { [
|
|
4653
|
+
} & { [K_194 in Exclude<keyof I_1["clan_updated_event"], keyof ClanUpdatedEvent>]: never; }) | undefined;
|
|
4623
4654
|
clan_profile_updated_event?: ({
|
|
4624
4655
|
user_id?: string | undefined;
|
|
4625
4656
|
clan_nick?: string | undefined;
|
|
@@ -4630,14 +4661,14 @@ export declare const Envelope: {
|
|
|
4630
4661
|
clan_nick?: string | undefined;
|
|
4631
4662
|
clan_avatar?: string | undefined;
|
|
4632
4663
|
clan_id?: string | undefined;
|
|
4633
|
-
} & { [
|
|
4664
|
+
} & { [K_195 in Exclude<keyof I_1["clan_profile_updated_event"], keyof ClanProfileUpdatedEvent>]: never; }) | undefined;
|
|
4634
4665
|
clan_name_existed_event?: ({
|
|
4635
4666
|
clan_name?: string | undefined;
|
|
4636
4667
|
exist?: boolean | undefined;
|
|
4637
4668
|
} & {
|
|
4638
4669
|
clan_name?: string | undefined;
|
|
4639
4670
|
exist?: boolean | undefined;
|
|
4640
|
-
} & { [
|
|
4671
|
+
} & { [K_196 in Exclude<keyof I_1["clan_name_existed_event"], keyof ClanNameExistedEvent>]: never; }) | undefined;
|
|
4641
4672
|
user_profile_updated_event?: ({
|
|
4642
4673
|
user_id?: string | undefined;
|
|
4643
4674
|
display_name?: string | undefined;
|
|
@@ -4652,7 +4683,7 @@ export declare const Envelope: {
|
|
|
4652
4683
|
about_me?: string | undefined;
|
|
4653
4684
|
channel_id?: string | undefined;
|
|
4654
4685
|
clan_id?: string | undefined;
|
|
4655
|
-
} & { [
|
|
4686
|
+
} & { [K_197 in Exclude<keyof I_1["user_profile_updated_event"], keyof UserProfileUpdatedEvent>]: never; }) | undefined;
|
|
4656
4687
|
emojis_listed_event?: ({
|
|
4657
4688
|
clan_id?: string | undefined;
|
|
4658
4689
|
emoji_list?: {
|
|
@@ -4682,14 +4713,14 @@ export declare const Envelope: {
|
|
|
4682
4713
|
shortname?: string | undefined;
|
|
4683
4714
|
category?: string | undefined;
|
|
4684
4715
|
creator_id?: string | undefined;
|
|
4685
|
-
} & { [
|
|
4716
|
+
} & { [K_198 in Exclude<keyof I_1["emojis_listed_event"]["emoji_list"][number], keyof ClanEmoji>]: never; })[] & { [K_199 in Exclude<keyof I_1["emojis_listed_event"]["emoji_list"], keyof {
|
|
4686
4717
|
id?: string | undefined;
|
|
4687
4718
|
src?: string | undefined;
|
|
4688
4719
|
shortname?: string | undefined;
|
|
4689
4720
|
category?: string | undefined;
|
|
4690
4721
|
creator_id?: string | undefined;
|
|
4691
4722
|
}[]>]: never; }) | undefined;
|
|
4692
|
-
} & { [
|
|
4723
|
+
} & { [K_200 in Exclude<keyof I_1["emojis_listed_event"], keyof EmojiListedEvent>]: never; }) | undefined;
|
|
4693
4724
|
sticker_listed_event?: ({
|
|
4694
4725
|
clan_id?: string | undefined;
|
|
4695
4726
|
stickers?: {
|
|
@@ -4727,7 +4758,7 @@ export declare const Envelope: {
|
|
|
4727
4758
|
creator_id?: string | undefined;
|
|
4728
4759
|
create_time?: Date | undefined;
|
|
4729
4760
|
clan_id?: string | undefined;
|
|
4730
|
-
} & { [
|
|
4761
|
+
} & { [K_201 in Exclude<keyof I_1["sticker_listed_event"]["stickers"][number], keyof ClanSticker>]: never; })[] & { [K_202 in Exclude<keyof I_1["sticker_listed_event"]["stickers"], keyof {
|
|
4731
4762
|
id?: string | undefined;
|
|
4732
4763
|
source?: string | undefined;
|
|
4733
4764
|
shortname?: string | undefined;
|
|
@@ -4736,7 +4767,7 @@ export declare const Envelope: {
|
|
|
4736
4767
|
create_time?: Date | undefined;
|
|
4737
4768
|
clan_id?: string | undefined;
|
|
4738
4769
|
}[]>]: never; }) | undefined;
|
|
4739
|
-
} & { [
|
|
4770
|
+
} & { [K_203 in Exclude<keyof I_1["sticker_listed_event"], keyof StrickerListedEvent>]: never; }) | undefined;
|
|
4740
4771
|
channel_desc_list_event?: ({
|
|
4741
4772
|
channeldesc?: {
|
|
4742
4773
|
clan_id?: string | undefined;
|
|
@@ -4824,8 +4855,8 @@ export declare const Envelope: {
|
|
|
4824
4855
|
referece?: string | undefined;
|
|
4825
4856
|
mention?: string | undefined;
|
|
4826
4857
|
reaction?: string | undefined;
|
|
4827
|
-
} & { [
|
|
4828
|
-
} & { [
|
|
4858
|
+
} & { [K_204 in Exclude<keyof I_1["channel_desc_list_event"]["channeldesc"][number]["last_sent_message"], keyof ChannelMessageHeader>]: never; }) | undefined;
|
|
4859
|
+
} & { [K_205 in Exclude<keyof I_1["channel_desc_list_event"]["channeldesc"][number], keyof ChannelDescription>]: never; })[] & { [K_206 in Exclude<keyof I_1["channel_desc_list_event"]["channeldesc"], keyof {
|
|
4829
4860
|
clan_id?: string | undefined;
|
|
4830
4861
|
channel_id?: string | undefined;
|
|
4831
4862
|
type?: number | undefined;
|
|
@@ -4845,7 +4876,7 @@ export declare const Envelope: {
|
|
|
4845
4876
|
reaction?: string | undefined;
|
|
4846
4877
|
} | undefined;
|
|
4847
4878
|
}[]>]: never; }) | undefined;
|
|
4848
|
-
} & { [
|
|
4879
|
+
} & { [K_207 in Exclude<keyof I_1["channel_desc_list_event"], "channeldesc">]: never; }) | undefined;
|
|
4849
4880
|
hashtag_dm_list_event?: ({
|
|
4850
4881
|
user_id?: string[] | undefined;
|
|
4851
4882
|
limit?: number | undefined;
|
|
@@ -4860,7 +4891,7 @@ export declare const Envelope: {
|
|
|
4860
4891
|
parrent_id?: string | undefined;
|
|
4861
4892
|
}[] | undefined;
|
|
4862
4893
|
} & {
|
|
4863
|
-
user_id?: (string[] & string[] & { [
|
|
4894
|
+
user_id?: (string[] & string[] & { [K_208 in Exclude<keyof I_1["hashtag_dm_list_event"]["user_id"], keyof string[]>]: never; }) | undefined;
|
|
4864
4895
|
limit?: number | undefined;
|
|
4865
4896
|
hashtag_dm?: ({
|
|
4866
4897
|
channel_id?: string | undefined;
|
|
@@ -4889,7 +4920,7 @@ export declare const Envelope: {
|
|
|
4889
4920
|
type?: number | undefined;
|
|
4890
4921
|
channel_private?: number | undefined;
|
|
4891
4922
|
parrent_id?: string | undefined;
|
|
4892
|
-
} & { [
|
|
4923
|
+
} & { [K_209 in Exclude<keyof I_1["hashtag_dm_list_event"]["hashtag_dm"][number], keyof HashtagDm>]: never; })[] & { [K_210 in Exclude<keyof I_1["hashtag_dm_list_event"]["hashtag_dm"], keyof {
|
|
4893
4924
|
channel_id?: string | undefined;
|
|
4894
4925
|
channel_label?: string | undefined;
|
|
4895
4926
|
clan_id?: string | undefined;
|
|
@@ -4899,7 +4930,7 @@ export declare const Envelope: {
|
|
|
4899
4930
|
channel_private?: number | undefined;
|
|
4900
4931
|
parrent_id?: string | undefined;
|
|
4901
4932
|
}[]>]: never; }) | undefined;
|
|
4902
|
-
} & { [
|
|
4933
|
+
} & { [K_211 in Exclude<keyof I_1["hashtag_dm_list_event"], keyof HashtagDmListEvent>]: never; }) | undefined;
|
|
4903
4934
|
notification_channel_setting_event?: ({
|
|
4904
4935
|
channel_id?: string | undefined;
|
|
4905
4936
|
notification_user_channel?: {
|
|
@@ -4920,8 +4951,8 @@ export declare const Envelope: {
|
|
|
4920
4951
|
notification_setting_type?: number | undefined;
|
|
4921
4952
|
time_mute?: Date | undefined;
|
|
4922
4953
|
active?: number | undefined;
|
|
4923
|
-
} & { [
|
|
4924
|
-
} & { [
|
|
4954
|
+
} & { [K_212 in Exclude<keyof I_1["notification_channel_setting_event"]["notification_user_channel"], keyof NotificationUserChannel>]: never; }) | undefined;
|
|
4955
|
+
} & { [K_213 in Exclude<keyof I_1["notification_channel_setting_event"], keyof NotificationChannelSettingEvent>]: never; }) | undefined;
|
|
4925
4956
|
notification_category_setting_event?: ({
|
|
4926
4957
|
category_id?: string | undefined;
|
|
4927
4958
|
notification_user_channel?: {
|
|
@@ -4942,8 +4973,8 @@ export declare const Envelope: {
|
|
|
4942
4973
|
notification_setting_type?: number | undefined;
|
|
4943
4974
|
time_mute?: Date | undefined;
|
|
4944
4975
|
active?: number | undefined;
|
|
4945
|
-
} & { [
|
|
4946
|
-
} & { [
|
|
4976
|
+
} & { [K_214 in Exclude<keyof I_1["notification_category_setting_event"]["notification_user_channel"], keyof NotificationUserChannel>]: never; }) | undefined;
|
|
4977
|
+
} & { [K_215 in Exclude<keyof I_1["notification_category_setting_event"], keyof NotificationCategorySettingEvent>]: never; }) | undefined;
|
|
4947
4978
|
notification_clan_setting_event?: ({
|
|
4948
4979
|
clan_id?: string | undefined;
|
|
4949
4980
|
notification_setting?: {
|
|
@@ -4958,8 +4989,8 @@ export declare const Envelope: {
|
|
|
4958
4989
|
} & {
|
|
4959
4990
|
id?: string | undefined;
|
|
4960
4991
|
notification_setting_type?: number | undefined;
|
|
4961
|
-
} & { [
|
|
4962
|
-
} & { [
|
|
4992
|
+
} & { [K_216 in Exclude<keyof I_1["notification_clan_setting_event"]["notification_setting"], keyof NotificationSetting>]: never; }) | undefined;
|
|
4993
|
+
} & { [K_217 in Exclude<keyof I_1["notification_clan_setting_event"], keyof NotificationClanSettingEvent>]: never; }) | undefined;
|
|
4963
4994
|
notifi_react_message_event?: ({
|
|
4964
4995
|
channel_id?: string | undefined;
|
|
4965
4996
|
notifi_react_message?: {
|
|
@@ -4977,8 +5008,8 @@ export declare const Envelope: {
|
|
|
4977
5008
|
id?: string | undefined;
|
|
4978
5009
|
user_id?: string | undefined;
|
|
4979
5010
|
channel_id?: string | undefined;
|
|
4980
|
-
} & { [
|
|
4981
|
-
} & { [
|
|
5011
|
+
} & { [K_218 in Exclude<keyof I_1["notifi_react_message_event"]["notifi_react_message"], keyof NotifiReactMessage>]: never; }) | undefined;
|
|
5012
|
+
} & { [K_219 in Exclude<keyof I_1["notifi_react_message_event"], keyof NotifiReactMessageEvent>]: never; }) | undefined;
|
|
4982
5013
|
permission_role_channel_list_event?: ({
|
|
4983
5014
|
role_id?: string | undefined;
|
|
4984
5015
|
channel_id?: string | undefined;
|
|
@@ -4998,11 +5029,11 @@ export declare const Envelope: {
|
|
|
4998
5029
|
} & {
|
|
4999
5030
|
permission_id?: string | undefined;
|
|
5000
5031
|
active?: boolean | undefined;
|
|
5001
|
-
} & { [
|
|
5032
|
+
} & { [K_220 in Exclude<keyof I_1["permission_role_channel_list_event"]["permission_role_channel"][number], keyof PermissionRoleChannel>]: never; })[] & { [K_221 in Exclude<keyof I_1["permission_role_channel_list_event"]["permission_role_channel"], keyof {
|
|
5002
5033
|
permission_id?: string | undefined;
|
|
5003
5034
|
active?: boolean | undefined;
|
|
5004
5035
|
}[]>]: never; }) | undefined;
|
|
5005
|
-
} & { [
|
|
5036
|
+
} & { [K_222 in Exclude<keyof I_1["permission_role_channel_list_event"], keyof PermissionRoleChannelListEvent>]: never; }) | undefined;
|
|
5006
5037
|
notification_channel_category_setting_event?: ({
|
|
5007
5038
|
clan_id?: string | undefined;
|
|
5008
5039
|
notification_channel_category_settings_list?: {
|
|
@@ -5028,13 +5059,13 @@ export declare const Envelope: {
|
|
|
5028
5059
|
channel_category_label?: string | undefined;
|
|
5029
5060
|
notification_setting_type?: number | undefined;
|
|
5030
5061
|
channel_category_title?: string | undefined;
|
|
5031
|
-
} & { [
|
|
5062
|
+
} & { [K_223 in Exclude<keyof I_1["notification_channel_category_setting_event"]["notification_channel_category_settings_list"][number], keyof NotificationChannelCategorySetting>]: never; })[] & { [K_224 in Exclude<keyof I_1["notification_channel_category_setting_event"]["notification_channel_category_settings_list"], keyof {
|
|
5032
5063
|
id?: string | undefined;
|
|
5033
5064
|
channel_category_label?: string | undefined;
|
|
5034
5065
|
notification_setting_type?: number | undefined;
|
|
5035
5066
|
channel_category_title?: string | undefined;
|
|
5036
5067
|
}[]>]: never; }) | undefined;
|
|
5037
|
-
} & { [
|
|
5068
|
+
} & { [K_225 in Exclude<keyof I_1["notification_channel_category_setting_event"], keyof NotificationChannelCategorySettingEvent>]: never; }) | undefined;
|
|
5038
5069
|
add_clan_user_event?: ({
|
|
5039
5070
|
clan_id?: string | undefined;
|
|
5040
5071
|
user?: {
|
|
@@ -5052,8 +5083,8 @@ export declare const Envelope: {
|
|
|
5052
5083
|
user_id?: string | undefined;
|
|
5053
5084
|
avatar?: string | undefined;
|
|
5054
5085
|
username?: string | undefined;
|
|
5055
|
-
} & { [
|
|
5056
|
-
} & { [
|
|
5086
|
+
} & { [K_226 in Exclude<keyof I_1["add_clan_user_event"]["user"], keyof AddUsers>]: never; }) | undefined;
|
|
5087
|
+
} & { [K_227 in Exclude<keyof I_1["add_clan_user_event"], keyof AddClanUserEvent>]: never; }) | undefined;
|
|
5057
5088
|
all_user_clans?: ({
|
|
5058
5089
|
user?: {
|
|
5059
5090
|
id?: string | undefined;
|
|
@@ -5137,7 +5168,7 @@ export declare const Envelope: {
|
|
|
5137
5168
|
apple_id?: string | undefined;
|
|
5138
5169
|
about_me?: string | undefined;
|
|
5139
5170
|
join_time?: Date | undefined;
|
|
5140
|
-
} & { [
|
|
5171
|
+
} & { [K_228 in Exclude<keyof I_1["all_user_clans"]["user"][number], keyof User>]: never; })[] & { [K_229 in Exclude<keyof I_1["all_user_clans"]["user"], keyof {
|
|
5141
5172
|
id?: string | undefined;
|
|
5142
5173
|
username?: string | undefined;
|
|
5143
5174
|
display_name?: string | undefined;
|
|
@@ -5158,7 +5189,7 @@ export declare const Envelope: {
|
|
|
5158
5189
|
about_me?: string | undefined;
|
|
5159
5190
|
join_time?: Date | undefined;
|
|
5160
5191
|
}[]>]: never; }) | undefined;
|
|
5161
|
-
} & { [
|
|
5192
|
+
} & { [K_230 in Exclude<keyof I_1["all_user_clans"], "user">]: never; }) | undefined;
|
|
5162
5193
|
clan_event_created?: ({
|
|
5163
5194
|
title?: string | undefined;
|
|
5164
5195
|
logo?: string | undefined;
|
|
@@ -5177,8 +5208,19 @@ export declare const Envelope: {
|
|
|
5177
5208
|
address?: string | undefined;
|
|
5178
5209
|
start_time?: Date | undefined;
|
|
5179
5210
|
end_time?: Date | undefined;
|
|
5180
|
-
} & { [
|
|
5181
|
-
|
|
5211
|
+
} & { [K_231 in Exclude<keyof I_1["clan_event_created"], keyof CreateEventRequest>]: never; }) | undefined;
|
|
5212
|
+
event_status_notification_event?: ({
|
|
5213
|
+
clan_id?: string | undefined;
|
|
5214
|
+
event_id?: string | undefined;
|
|
5215
|
+
event_status?: string | undefined;
|
|
5216
|
+
message?: string | undefined;
|
|
5217
|
+
} & {
|
|
5218
|
+
clan_id?: string | undefined;
|
|
5219
|
+
event_id?: string | undefined;
|
|
5220
|
+
event_status?: string | undefined;
|
|
5221
|
+
message?: string | undefined;
|
|
5222
|
+
} & { [K_232 in Exclude<keyof I_1["event_status_notification_event"], keyof EventStatusNotificationEvent>]: never; }) | undefined;
|
|
5223
|
+
} & { [K_233 in Exclude<keyof I_1, keyof Envelope>]: never; }>(object: I_1): Envelope;
|
|
5182
5224
|
};
|
|
5183
5225
|
export declare const AllUserClans: {
|
|
5184
5226
|
encode(message: AllUserClans, writer?: _m0.Writer): _m0.Writer;
|
|
@@ -9062,6 +9104,34 @@ export declare const NotificationChannelCategorySettingEvent: {
|
|
|
9062
9104
|
}[]>]: never; }) | undefined;
|
|
9063
9105
|
} & { [K_5 in Exclude<keyof I_1, keyof NotificationChannelCategorySettingEvent>]: never; }>(object: I_1): NotificationChannelCategorySettingEvent;
|
|
9064
9106
|
};
|
|
9107
|
+
export declare const EventStatusNotificationEvent: {
|
|
9108
|
+
encode(message: EventStatusNotificationEvent, writer?: _m0.Writer): _m0.Writer;
|
|
9109
|
+
decode(input: _m0.Reader | Uint8Array, length?: number): EventStatusNotificationEvent;
|
|
9110
|
+
fromJSON(object: any): EventStatusNotificationEvent;
|
|
9111
|
+
toJSON(message: EventStatusNotificationEvent): unknown;
|
|
9112
|
+
create<I extends {
|
|
9113
|
+
clan_id?: string | undefined;
|
|
9114
|
+
event_id?: string | undefined;
|
|
9115
|
+
event_status?: string | undefined;
|
|
9116
|
+
message?: string | undefined;
|
|
9117
|
+
} & {
|
|
9118
|
+
clan_id?: string | undefined;
|
|
9119
|
+
event_id?: string | undefined;
|
|
9120
|
+
event_status?: string | undefined;
|
|
9121
|
+
message?: string | undefined;
|
|
9122
|
+
} & { [K in Exclude<keyof I, keyof EventStatusNotificationEvent>]: never; }>(base?: I | undefined): EventStatusNotificationEvent;
|
|
9123
|
+
fromPartial<I_1 extends {
|
|
9124
|
+
clan_id?: string | undefined;
|
|
9125
|
+
event_id?: string | undefined;
|
|
9126
|
+
event_status?: string | undefined;
|
|
9127
|
+
message?: string | undefined;
|
|
9128
|
+
} & {
|
|
9129
|
+
clan_id?: string | undefined;
|
|
9130
|
+
event_id?: string | undefined;
|
|
9131
|
+
event_status?: string | undefined;
|
|
9132
|
+
message?: string | undefined;
|
|
9133
|
+
} & { [K_1 in Exclude<keyof I_1, keyof EventStatusNotificationEvent>]: never; }>(object: I_1): EventStatusNotificationEvent;
|
|
9134
|
+
};
|
|
9065
9135
|
type Builtin = Date | Function | Uint8Array | string | number | boolean | undefined;
|
|
9066
9136
|
export type DeepPartial<T> = T extends Builtin ? T : T extends Array<infer U> ? Array<DeepPartial<U>> : T extends ReadonlyArray<infer U> ? ReadonlyArray<DeepPartial<U>> : T extends {} ? {
|
|
9067
9137
|
[K in keyof T]?: DeepPartial<T[K]>;
|
|
@@ -4113,7 +4113,8 @@ function createBaseEnvelope() {
|
|
|
4113
4113
|
notification_channel_category_setting_event: void 0,
|
|
4114
4114
|
add_clan_user_event: void 0,
|
|
4115
4115
|
all_user_clans: void 0,
|
|
4116
|
-
clan_event_created: void 0
|
|
4116
|
+
clan_event_created: void 0,
|
|
4117
|
+
event_status_notification_event: void 0
|
|
4117
4118
|
};
|
|
4118
4119
|
}
|
|
4119
4120
|
var Envelope = {
|
|
@@ -4286,6 +4287,9 @@ var Envelope = {
|
|
|
4286
4287
|
if (message.clan_event_created !== void 0) {
|
|
4287
4288
|
CreateEventRequest.encode(message.clan_event_created, writer.uint32(442).fork()).ldelim();
|
|
4288
4289
|
}
|
|
4290
|
+
if (message.event_status_notification_event !== void 0) {
|
|
4291
|
+
EventStatusNotificationEvent.encode(message.event_status_notification_event, writer.uint32(450).fork()).ldelim();
|
|
4292
|
+
}
|
|
4289
4293
|
return writer;
|
|
4290
4294
|
},
|
|
4291
4295
|
decode(input, length) {
|
|
@@ -4466,6 +4470,9 @@ var Envelope = {
|
|
|
4466
4470
|
case 55:
|
|
4467
4471
|
message.clan_event_created = CreateEventRequest.decode(reader, reader.uint32());
|
|
4468
4472
|
break;
|
|
4473
|
+
case 56:
|
|
4474
|
+
message.event_status_notification_event = EventStatusNotificationEvent.decode(reader, reader.uint32());
|
|
4475
|
+
break;
|
|
4469
4476
|
default:
|
|
4470
4477
|
reader.skipType(tag & 7);
|
|
4471
4478
|
break;
|
|
@@ -4529,7 +4536,8 @@ var Envelope = {
|
|
|
4529
4536
|
notification_channel_category_setting_event: isSet4(object.notification_channel_category_setting_event) ? NotificationChannelCategorySettingEvent.fromJSON(object.notification_channel_category_setting_event) : void 0,
|
|
4530
4537
|
add_clan_user_event: isSet4(object.add_clan_user_event) ? AddClanUserEvent.fromJSON(object.add_clan_user_event) : void 0,
|
|
4531
4538
|
all_user_clans: isSet4(object.all_user_clans) ? AllUserClans.fromJSON(object.all_user_clans) : void 0,
|
|
4532
|
-
clan_event_created: isSet4(object.clan_event_created) ? CreateEventRequest.fromJSON(object.clan_event_created) : void 0
|
|
4539
|
+
clan_event_created: isSet4(object.clan_event_created) ? CreateEventRequest.fromJSON(object.clan_event_created) : void 0,
|
|
4540
|
+
event_status_notification_event: isSet4(object.event_status_notification_event) ? EventStatusNotificationEvent.fromJSON(object.event_status_notification_event) : void 0
|
|
4533
4541
|
};
|
|
4534
4542
|
},
|
|
4535
4543
|
toJSON(message) {
|
|
@@ -4589,6 +4597,7 @@ var Envelope = {
|
|
|
4589
4597
|
message.add_clan_user_event !== void 0 && (obj.add_clan_user_event = message.add_clan_user_event ? AddClanUserEvent.toJSON(message.add_clan_user_event) : void 0);
|
|
4590
4598
|
message.all_user_clans !== void 0 && (obj.all_user_clans = message.all_user_clans ? AllUserClans.toJSON(message.all_user_clans) : void 0);
|
|
4591
4599
|
message.clan_event_created !== void 0 && (obj.clan_event_created = message.clan_event_created ? CreateEventRequest.toJSON(message.clan_event_created) : void 0);
|
|
4600
|
+
message.event_status_notification_event !== void 0 && (obj.event_status_notification_event = message.event_status_notification_event ? EventStatusNotificationEvent.toJSON(message.event_status_notification_event) : void 0);
|
|
4592
4601
|
return obj;
|
|
4593
4602
|
},
|
|
4594
4603
|
create(base) {
|
|
@@ -4652,6 +4661,7 @@ var Envelope = {
|
|
|
4652
4661
|
message.add_clan_user_event = object.add_clan_user_event !== void 0 && object.add_clan_user_event !== null ? AddClanUserEvent.fromPartial(object.add_clan_user_event) : void 0;
|
|
4653
4662
|
message.all_user_clans = object.all_user_clans !== void 0 && object.all_user_clans !== null ? AllUserClans.fromPartial(object.all_user_clans) : void 0;
|
|
4654
4663
|
message.clan_event_created = object.clan_event_created !== void 0 && object.clan_event_created !== null ? CreateEventRequest.fromPartial(object.clan_event_created) : void 0;
|
|
4664
|
+
message.event_status_notification_event = object.event_status_notification_event !== void 0 && object.event_status_notification_event !== null ? EventStatusNotificationEvent.fromPartial(object.event_status_notification_event) : void 0;
|
|
4655
4665
|
return message;
|
|
4656
4666
|
}
|
|
4657
4667
|
};
|
|
@@ -9365,6 +9375,80 @@ var NotificationChannelCategorySettingEvent = {
|
|
|
9365
9375
|
return message;
|
|
9366
9376
|
}
|
|
9367
9377
|
};
|
|
9378
|
+
function createBaseEventStatusNotificationEvent() {
|
|
9379
|
+
return { clan_id: "", event_id: "", event_status: "", message: "" };
|
|
9380
|
+
}
|
|
9381
|
+
var EventStatusNotificationEvent = {
|
|
9382
|
+
encode(message, writer = import_minimal5.default.Writer.create()) {
|
|
9383
|
+
if (message.clan_id !== "") {
|
|
9384
|
+
writer.uint32(10).string(message.clan_id);
|
|
9385
|
+
}
|
|
9386
|
+
if (message.event_id !== "") {
|
|
9387
|
+
writer.uint32(18).string(message.event_id);
|
|
9388
|
+
}
|
|
9389
|
+
if (message.event_status !== "") {
|
|
9390
|
+
writer.uint32(26).string(message.event_status);
|
|
9391
|
+
}
|
|
9392
|
+
if (message.message !== "") {
|
|
9393
|
+
writer.uint32(34).string(message.message);
|
|
9394
|
+
}
|
|
9395
|
+
return writer;
|
|
9396
|
+
},
|
|
9397
|
+
decode(input, length) {
|
|
9398
|
+
const reader = input instanceof import_minimal5.default.Reader ? input : new import_minimal5.default.Reader(input);
|
|
9399
|
+
let end = length === void 0 ? reader.len : reader.pos + length;
|
|
9400
|
+
const message = createBaseEventStatusNotificationEvent();
|
|
9401
|
+
while (reader.pos < end) {
|
|
9402
|
+
const tag = reader.uint32();
|
|
9403
|
+
switch (tag >>> 3) {
|
|
9404
|
+
case 1:
|
|
9405
|
+
message.clan_id = reader.string();
|
|
9406
|
+
break;
|
|
9407
|
+
case 2:
|
|
9408
|
+
message.event_id = reader.string();
|
|
9409
|
+
break;
|
|
9410
|
+
case 3:
|
|
9411
|
+
message.event_status = reader.string();
|
|
9412
|
+
break;
|
|
9413
|
+
case 4:
|
|
9414
|
+
message.message = reader.string();
|
|
9415
|
+
break;
|
|
9416
|
+
default:
|
|
9417
|
+
reader.skipType(tag & 7);
|
|
9418
|
+
break;
|
|
9419
|
+
}
|
|
9420
|
+
}
|
|
9421
|
+
return message;
|
|
9422
|
+
},
|
|
9423
|
+
fromJSON(object) {
|
|
9424
|
+
return {
|
|
9425
|
+
clan_id: isSet4(object.clan_id) ? String(object.clan_id) : "",
|
|
9426
|
+
event_id: isSet4(object.event_id) ? String(object.event_id) : "",
|
|
9427
|
+
event_status: isSet4(object.event_status) ? String(object.event_status) : "",
|
|
9428
|
+
message: isSet4(object.message) ? String(object.message) : ""
|
|
9429
|
+
};
|
|
9430
|
+
},
|
|
9431
|
+
toJSON(message) {
|
|
9432
|
+
const obj = {};
|
|
9433
|
+
message.clan_id !== void 0 && (obj.clan_id = message.clan_id);
|
|
9434
|
+
message.event_id !== void 0 && (obj.event_id = message.event_id);
|
|
9435
|
+
message.event_status !== void 0 && (obj.event_status = message.event_status);
|
|
9436
|
+
message.message !== void 0 && (obj.message = message.message);
|
|
9437
|
+
return obj;
|
|
9438
|
+
},
|
|
9439
|
+
create(base) {
|
|
9440
|
+
return EventStatusNotificationEvent.fromPartial(base != null ? base : {});
|
|
9441
|
+
},
|
|
9442
|
+
fromPartial(object) {
|
|
9443
|
+
var _a, _b, _c, _d;
|
|
9444
|
+
const message = createBaseEventStatusNotificationEvent();
|
|
9445
|
+
message.clan_id = (_a = object.clan_id) != null ? _a : "";
|
|
9446
|
+
message.event_id = (_b = object.event_id) != null ? _b : "";
|
|
9447
|
+
message.event_status = (_c = object.event_status) != null ? _c : "";
|
|
9448
|
+
message.message = (_d = object.message) != null ? _d : "";
|
|
9449
|
+
return message;
|
|
9450
|
+
}
|
|
9451
|
+
};
|
|
9368
9452
|
function toTimestamp2(date) {
|
|
9369
9453
|
const seconds = date.getTime() / 1e3;
|
|
9370
9454
|
const nanos = date.getTime() % 1e3 * 1e6;
|
|
@@ -4100,7 +4100,8 @@ function createBaseEnvelope() {
|
|
|
4100
4100
|
notification_channel_category_setting_event: void 0,
|
|
4101
4101
|
add_clan_user_event: void 0,
|
|
4102
4102
|
all_user_clans: void 0,
|
|
4103
|
-
clan_event_created: void 0
|
|
4103
|
+
clan_event_created: void 0,
|
|
4104
|
+
event_status_notification_event: void 0
|
|
4104
4105
|
};
|
|
4105
4106
|
}
|
|
4106
4107
|
var Envelope = {
|
|
@@ -4273,6 +4274,9 @@ var Envelope = {
|
|
|
4273
4274
|
if (message.clan_event_created !== void 0) {
|
|
4274
4275
|
CreateEventRequest.encode(message.clan_event_created, writer.uint32(442).fork()).ldelim();
|
|
4275
4276
|
}
|
|
4277
|
+
if (message.event_status_notification_event !== void 0) {
|
|
4278
|
+
EventStatusNotificationEvent.encode(message.event_status_notification_event, writer.uint32(450).fork()).ldelim();
|
|
4279
|
+
}
|
|
4276
4280
|
return writer;
|
|
4277
4281
|
},
|
|
4278
4282
|
decode(input, length) {
|
|
@@ -4453,6 +4457,9 @@ var Envelope = {
|
|
|
4453
4457
|
case 55:
|
|
4454
4458
|
message.clan_event_created = CreateEventRequest.decode(reader, reader.uint32());
|
|
4455
4459
|
break;
|
|
4460
|
+
case 56:
|
|
4461
|
+
message.event_status_notification_event = EventStatusNotificationEvent.decode(reader, reader.uint32());
|
|
4462
|
+
break;
|
|
4456
4463
|
default:
|
|
4457
4464
|
reader.skipType(tag & 7);
|
|
4458
4465
|
break;
|
|
@@ -4516,7 +4523,8 @@ var Envelope = {
|
|
|
4516
4523
|
notification_channel_category_setting_event: isSet4(object.notification_channel_category_setting_event) ? NotificationChannelCategorySettingEvent.fromJSON(object.notification_channel_category_setting_event) : void 0,
|
|
4517
4524
|
add_clan_user_event: isSet4(object.add_clan_user_event) ? AddClanUserEvent.fromJSON(object.add_clan_user_event) : void 0,
|
|
4518
4525
|
all_user_clans: isSet4(object.all_user_clans) ? AllUserClans.fromJSON(object.all_user_clans) : void 0,
|
|
4519
|
-
clan_event_created: isSet4(object.clan_event_created) ? CreateEventRequest.fromJSON(object.clan_event_created) : void 0
|
|
4526
|
+
clan_event_created: isSet4(object.clan_event_created) ? CreateEventRequest.fromJSON(object.clan_event_created) : void 0,
|
|
4527
|
+
event_status_notification_event: isSet4(object.event_status_notification_event) ? EventStatusNotificationEvent.fromJSON(object.event_status_notification_event) : void 0
|
|
4520
4528
|
};
|
|
4521
4529
|
},
|
|
4522
4530
|
toJSON(message) {
|
|
@@ -4576,6 +4584,7 @@ var Envelope = {
|
|
|
4576
4584
|
message.add_clan_user_event !== void 0 && (obj.add_clan_user_event = message.add_clan_user_event ? AddClanUserEvent.toJSON(message.add_clan_user_event) : void 0);
|
|
4577
4585
|
message.all_user_clans !== void 0 && (obj.all_user_clans = message.all_user_clans ? AllUserClans.toJSON(message.all_user_clans) : void 0);
|
|
4578
4586
|
message.clan_event_created !== void 0 && (obj.clan_event_created = message.clan_event_created ? CreateEventRequest.toJSON(message.clan_event_created) : void 0);
|
|
4587
|
+
message.event_status_notification_event !== void 0 && (obj.event_status_notification_event = message.event_status_notification_event ? EventStatusNotificationEvent.toJSON(message.event_status_notification_event) : void 0);
|
|
4579
4588
|
return obj;
|
|
4580
4589
|
},
|
|
4581
4590
|
create(base) {
|
|
@@ -4639,6 +4648,7 @@ var Envelope = {
|
|
|
4639
4648
|
message.add_clan_user_event = object.add_clan_user_event !== void 0 && object.add_clan_user_event !== null ? AddClanUserEvent.fromPartial(object.add_clan_user_event) : void 0;
|
|
4640
4649
|
message.all_user_clans = object.all_user_clans !== void 0 && object.all_user_clans !== null ? AllUserClans.fromPartial(object.all_user_clans) : void 0;
|
|
4641
4650
|
message.clan_event_created = object.clan_event_created !== void 0 && object.clan_event_created !== null ? CreateEventRequest.fromPartial(object.clan_event_created) : void 0;
|
|
4651
|
+
message.event_status_notification_event = object.event_status_notification_event !== void 0 && object.event_status_notification_event !== null ? EventStatusNotificationEvent.fromPartial(object.event_status_notification_event) : void 0;
|
|
4642
4652
|
return message;
|
|
4643
4653
|
}
|
|
4644
4654
|
};
|
|
@@ -9352,6 +9362,80 @@ var NotificationChannelCategorySettingEvent = {
|
|
|
9352
9362
|
return message;
|
|
9353
9363
|
}
|
|
9354
9364
|
};
|
|
9365
|
+
function createBaseEventStatusNotificationEvent() {
|
|
9366
|
+
return { clan_id: "", event_id: "", event_status: "", message: "" };
|
|
9367
|
+
}
|
|
9368
|
+
var EventStatusNotificationEvent = {
|
|
9369
|
+
encode(message, writer = import_minimal5.default.Writer.create()) {
|
|
9370
|
+
if (message.clan_id !== "") {
|
|
9371
|
+
writer.uint32(10).string(message.clan_id);
|
|
9372
|
+
}
|
|
9373
|
+
if (message.event_id !== "") {
|
|
9374
|
+
writer.uint32(18).string(message.event_id);
|
|
9375
|
+
}
|
|
9376
|
+
if (message.event_status !== "") {
|
|
9377
|
+
writer.uint32(26).string(message.event_status);
|
|
9378
|
+
}
|
|
9379
|
+
if (message.message !== "") {
|
|
9380
|
+
writer.uint32(34).string(message.message);
|
|
9381
|
+
}
|
|
9382
|
+
return writer;
|
|
9383
|
+
},
|
|
9384
|
+
decode(input, length) {
|
|
9385
|
+
const reader = input instanceof import_minimal5.default.Reader ? input : new import_minimal5.default.Reader(input);
|
|
9386
|
+
let end = length === void 0 ? reader.len : reader.pos + length;
|
|
9387
|
+
const message = createBaseEventStatusNotificationEvent();
|
|
9388
|
+
while (reader.pos < end) {
|
|
9389
|
+
const tag = reader.uint32();
|
|
9390
|
+
switch (tag >>> 3) {
|
|
9391
|
+
case 1:
|
|
9392
|
+
message.clan_id = reader.string();
|
|
9393
|
+
break;
|
|
9394
|
+
case 2:
|
|
9395
|
+
message.event_id = reader.string();
|
|
9396
|
+
break;
|
|
9397
|
+
case 3:
|
|
9398
|
+
message.event_status = reader.string();
|
|
9399
|
+
break;
|
|
9400
|
+
case 4:
|
|
9401
|
+
message.message = reader.string();
|
|
9402
|
+
break;
|
|
9403
|
+
default:
|
|
9404
|
+
reader.skipType(tag & 7);
|
|
9405
|
+
break;
|
|
9406
|
+
}
|
|
9407
|
+
}
|
|
9408
|
+
return message;
|
|
9409
|
+
},
|
|
9410
|
+
fromJSON(object) {
|
|
9411
|
+
return {
|
|
9412
|
+
clan_id: isSet4(object.clan_id) ? String(object.clan_id) : "",
|
|
9413
|
+
event_id: isSet4(object.event_id) ? String(object.event_id) : "",
|
|
9414
|
+
event_status: isSet4(object.event_status) ? String(object.event_status) : "",
|
|
9415
|
+
message: isSet4(object.message) ? String(object.message) : ""
|
|
9416
|
+
};
|
|
9417
|
+
},
|
|
9418
|
+
toJSON(message) {
|
|
9419
|
+
const obj = {};
|
|
9420
|
+
message.clan_id !== void 0 && (obj.clan_id = message.clan_id);
|
|
9421
|
+
message.event_id !== void 0 && (obj.event_id = message.event_id);
|
|
9422
|
+
message.event_status !== void 0 && (obj.event_status = message.event_status);
|
|
9423
|
+
message.message !== void 0 && (obj.message = message.message);
|
|
9424
|
+
return obj;
|
|
9425
|
+
},
|
|
9426
|
+
create(base) {
|
|
9427
|
+
return EventStatusNotificationEvent.fromPartial(base != null ? base : {});
|
|
9428
|
+
},
|
|
9429
|
+
fromPartial(object) {
|
|
9430
|
+
var _a, _b, _c, _d;
|
|
9431
|
+
const message = createBaseEventStatusNotificationEvent();
|
|
9432
|
+
message.clan_id = (_a = object.clan_id) != null ? _a : "";
|
|
9433
|
+
message.event_id = (_b = object.event_id) != null ? _b : "";
|
|
9434
|
+
message.event_status = (_c = object.event_status) != null ? _c : "";
|
|
9435
|
+
message.message = (_d = object.message) != null ? _d : "";
|
|
9436
|
+
return message;
|
|
9437
|
+
}
|
|
9438
|
+
};
|
|
9355
9439
|
function toTimestamp2(date) {
|
|
9356
9440
|
const seconds = date.getTime() / 1e3;
|
|
9357
9441
|
const nanos = date.getTime() % 1e3 * 1e6;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "mezon-js-protobuf",
|
|
3
|
-
"version": "1.5.
|
|
3
|
+
"version": "1.5.32",
|
|
4
4
|
"description": "Websocket adapter adding protocol buffer support to the Mezon Javascript client.",
|
|
5
5
|
"main": "dist/mezon-js-protobuf.cjs.js",
|
|
6
6
|
"module": "dist/mezon-js-protobuf.esm.mjs",
|
package/rtapi/realtime.ts
CHANGED
|
@@ -235,7 +235,11 @@ export interface Envelope {
|
|
|
235
235
|
| AllUserClans
|
|
236
236
|
| undefined;
|
|
237
237
|
/** */
|
|
238
|
-
clan_event_created?:
|
|
238
|
+
clan_event_created?:
|
|
239
|
+
| CreateEventRequest
|
|
240
|
+
| undefined;
|
|
241
|
+
/** notification time for event */
|
|
242
|
+
event_status_notification_event?: EventStatusNotificationEvent | undefined;
|
|
239
243
|
}
|
|
240
244
|
|
|
241
245
|
export interface AllUserClans {
|
|
@@ -1047,6 +1051,13 @@ export interface NotificationChannelCategorySettingEvent {
|
|
|
1047
1051
|
notification_channel_category_settings_list: NotificationChannelCategorySetting[];
|
|
1048
1052
|
}
|
|
1049
1053
|
|
|
1054
|
+
export interface EventStatusNotificationEvent {
|
|
1055
|
+
clan_id: string;
|
|
1056
|
+
event_id: string;
|
|
1057
|
+
event_status: string;
|
|
1058
|
+
message: string;
|
|
1059
|
+
}
|
|
1060
|
+
|
|
1050
1061
|
function createBaseEnvelope(): Envelope {
|
|
1051
1062
|
return {
|
|
1052
1063
|
cid: "",
|
|
@@ -1104,6 +1115,7 @@ function createBaseEnvelope(): Envelope {
|
|
|
1104
1115
|
add_clan_user_event: undefined,
|
|
1105
1116
|
all_user_clans: undefined,
|
|
1106
1117
|
clan_event_created: undefined,
|
|
1118
|
+
event_status_notification_event: undefined,
|
|
1107
1119
|
};
|
|
1108
1120
|
}
|
|
1109
1121
|
|
|
@@ -1280,6 +1292,9 @@ export const Envelope = {
|
|
|
1280
1292
|
if (message.clan_event_created !== undefined) {
|
|
1281
1293
|
CreateEventRequest.encode(message.clan_event_created, writer.uint32(442).fork()).ldelim();
|
|
1282
1294
|
}
|
|
1295
|
+
if (message.event_status_notification_event !== undefined) {
|
|
1296
|
+
EventStatusNotificationEvent.encode(message.event_status_notification_event, writer.uint32(450).fork()).ldelim();
|
|
1297
|
+
}
|
|
1283
1298
|
return writer;
|
|
1284
1299
|
},
|
|
1285
1300
|
|
|
@@ -1461,6 +1476,9 @@ export const Envelope = {
|
|
|
1461
1476
|
case 55:
|
|
1462
1477
|
message.clan_event_created = CreateEventRequest.decode(reader, reader.uint32());
|
|
1463
1478
|
break;
|
|
1479
|
+
case 56:
|
|
1480
|
+
message.event_status_notification_event = EventStatusNotificationEvent.decode(reader, reader.uint32());
|
|
1481
|
+
break;
|
|
1464
1482
|
default:
|
|
1465
1483
|
reader.skipType(tag & 7);
|
|
1466
1484
|
break;
|
|
@@ -1602,6 +1620,9 @@ export const Envelope = {
|
|
|
1602
1620
|
clan_event_created: isSet(object.clan_event_created)
|
|
1603
1621
|
? CreateEventRequest.fromJSON(object.clan_event_created)
|
|
1604
1622
|
: undefined,
|
|
1623
|
+
event_status_notification_event: isSet(object.event_status_notification_event)
|
|
1624
|
+
? EventStatusNotificationEvent.fromJSON(object.event_status_notification_event)
|
|
1625
|
+
: undefined,
|
|
1605
1626
|
};
|
|
1606
1627
|
},
|
|
1607
1628
|
|
|
@@ -1758,6 +1779,10 @@ export const Envelope = {
|
|
|
1758
1779
|
message.clan_event_created !== undefined && (obj.clan_event_created = message.clan_event_created
|
|
1759
1780
|
? CreateEventRequest.toJSON(message.clan_event_created)
|
|
1760
1781
|
: undefined);
|
|
1782
|
+
message.event_status_notification_event !== undefined &&
|
|
1783
|
+
(obj.event_status_notification_event = message.event_status_notification_event
|
|
1784
|
+
? EventStatusNotificationEvent.toJSON(message.event_status_notification_event)
|
|
1785
|
+
: undefined);
|
|
1761
1786
|
return obj;
|
|
1762
1787
|
},
|
|
1763
1788
|
|
|
@@ -1948,6 +1973,10 @@ export const Envelope = {
|
|
|
1948
1973
|
message.clan_event_created = (object.clan_event_created !== undefined && object.clan_event_created !== null)
|
|
1949
1974
|
? CreateEventRequest.fromPartial(object.clan_event_created)
|
|
1950
1975
|
: undefined;
|
|
1976
|
+
message.event_status_notification_event =
|
|
1977
|
+
(object.event_status_notification_event !== undefined && object.event_status_notification_event !== null)
|
|
1978
|
+
? EventStatusNotificationEvent.fromPartial(object.event_status_notification_event)
|
|
1979
|
+
: undefined;
|
|
1951
1980
|
return message;
|
|
1952
1981
|
},
|
|
1953
1982
|
};
|
|
@@ -7274,6 +7303,86 @@ export const NotificationChannelCategorySettingEvent = {
|
|
|
7274
7303
|
},
|
|
7275
7304
|
};
|
|
7276
7305
|
|
|
7306
|
+
function createBaseEventStatusNotificationEvent(): EventStatusNotificationEvent {
|
|
7307
|
+
return { clan_id: "", event_id: "", event_status: "", message: "" };
|
|
7308
|
+
}
|
|
7309
|
+
|
|
7310
|
+
export const EventStatusNotificationEvent = {
|
|
7311
|
+
encode(message: EventStatusNotificationEvent, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer {
|
|
7312
|
+
if (message.clan_id !== "") {
|
|
7313
|
+
writer.uint32(10).string(message.clan_id);
|
|
7314
|
+
}
|
|
7315
|
+
if (message.event_id !== "") {
|
|
7316
|
+
writer.uint32(18).string(message.event_id);
|
|
7317
|
+
}
|
|
7318
|
+
if (message.event_status !== "") {
|
|
7319
|
+
writer.uint32(26).string(message.event_status);
|
|
7320
|
+
}
|
|
7321
|
+
if (message.message !== "") {
|
|
7322
|
+
writer.uint32(34).string(message.message);
|
|
7323
|
+
}
|
|
7324
|
+
return writer;
|
|
7325
|
+
},
|
|
7326
|
+
|
|
7327
|
+
decode(input: _m0.Reader | Uint8Array, length?: number): EventStatusNotificationEvent {
|
|
7328
|
+
const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input);
|
|
7329
|
+
let end = length === undefined ? reader.len : reader.pos + length;
|
|
7330
|
+
const message = createBaseEventStatusNotificationEvent();
|
|
7331
|
+
while (reader.pos < end) {
|
|
7332
|
+
const tag = reader.uint32();
|
|
7333
|
+
switch (tag >>> 3) {
|
|
7334
|
+
case 1:
|
|
7335
|
+
message.clan_id = reader.string();
|
|
7336
|
+
break;
|
|
7337
|
+
case 2:
|
|
7338
|
+
message.event_id = reader.string();
|
|
7339
|
+
break;
|
|
7340
|
+
case 3:
|
|
7341
|
+
message.event_status = reader.string();
|
|
7342
|
+
break;
|
|
7343
|
+
case 4:
|
|
7344
|
+
message.message = reader.string();
|
|
7345
|
+
break;
|
|
7346
|
+
default:
|
|
7347
|
+
reader.skipType(tag & 7);
|
|
7348
|
+
break;
|
|
7349
|
+
}
|
|
7350
|
+
}
|
|
7351
|
+
return message;
|
|
7352
|
+
},
|
|
7353
|
+
|
|
7354
|
+
fromJSON(object: any): EventStatusNotificationEvent {
|
|
7355
|
+
return {
|
|
7356
|
+
clan_id: isSet(object.clan_id) ? String(object.clan_id) : "",
|
|
7357
|
+
event_id: isSet(object.event_id) ? String(object.event_id) : "",
|
|
7358
|
+
event_status: isSet(object.event_status) ? String(object.event_status) : "",
|
|
7359
|
+
message: isSet(object.message) ? String(object.message) : "",
|
|
7360
|
+
};
|
|
7361
|
+
},
|
|
7362
|
+
|
|
7363
|
+
toJSON(message: EventStatusNotificationEvent): unknown {
|
|
7364
|
+
const obj: any = {};
|
|
7365
|
+
message.clan_id !== undefined && (obj.clan_id = message.clan_id);
|
|
7366
|
+
message.event_id !== undefined && (obj.event_id = message.event_id);
|
|
7367
|
+
message.event_status !== undefined && (obj.event_status = message.event_status);
|
|
7368
|
+
message.message !== undefined && (obj.message = message.message);
|
|
7369
|
+
return obj;
|
|
7370
|
+
},
|
|
7371
|
+
|
|
7372
|
+
create<I extends Exact<DeepPartial<EventStatusNotificationEvent>, I>>(base?: I): EventStatusNotificationEvent {
|
|
7373
|
+
return EventStatusNotificationEvent.fromPartial(base ?? {});
|
|
7374
|
+
},
|
|
7375
|
+
|
|
7376
|
+
fromPartial<I extends Exact<DeepPartial<EventStatusNotificationEvent>, I>>(object: I): EventStatusNotificationEvent {
|
|
7377
|
+
const message = createBaseEventStatusNotificationEvent();
|
|
7378
|
+
message.clan_id = object.clan_id ?? "";
|
|
7379
|
+
message.event_id = object.event_id ?? "";
|
|
7380
|
+
message.event_status = object.event_status ?? "";
|
|
7381
|
+
message.message = object.message ?? "";
|
|
7382
|
+
return message;
|
|
7383
|
+
},
|
|
7384
|
+
};
|
|
7385
|
+
|
|
7277
7386
|
type Builtin = Date | Function | Uint8Array | string | number | boolean | undefined;
|
|
7278
7387
|
|
|
7279
7388
|
export type DeepPartial<T> = T extends Builtin ? T
|