mezon-js-protobuf 1.5.22 → 1.5.23
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/api/api.ts +2 -2
- package/dist/mezon-js-protobuf/rtapi/realtime.d.ts +139 -89
- package/dist/mezon-js-protobuf.cjs.js +84 -2
- package/dist/mezon-js-protobuf.esm.mjs +84 -2
- package/package.json +1 -1
- package/rtapi/realtime.ts +108 -3
package/api/api.ts
CHANGED
|
@@ -107,6 +107,14 @@ export interface Envelope {
|
|
|
107
107
|
permission_role_channel_list_event?: PermissionRoleChannelListEvent | undefined;
|
|
108
108
|
/** */
|
|
109
109
|
notification_channel_category_setting_event?: NotificationChannelCategorySettingEvent | undefined;
|
|
110
|
+
/** user join clan */
|
|
111
|
+
add_clan_user_event?: AddClanUserEvent | undefined;
|
|
112
|
+
}
|
|
113
|
+
export interface AddClanUserEvent {
|
|
114
|
+
/** the clan id */
|
|
115
|
+
clan_id: string;
|
|
116
|
+
/** the user id */
|
|
117
|
+
user_id: string;
|
|
110
118
|
}
|
|
111
119
|
/** A list of permission role channel. */
|
|
112
120
|
export interface PermissionRoleChannelListEvent {
|
|
@@ -1265,6 +1273,10 @@ export declare const Envelope: {
|
|
|
1265
1273
|
channel_category_title?: string | undefined;
|
|
1266
1274
|
}[] | undefined;
|
|
1267
1275
|
} | undefined;
|
|
1276
|
+
add_clan_user_event?: {
|
|
1277
|
+
clan_id?: string | undefined;
|
|
1278
|
+
user_id?: string | undefined;
|
|
1279
|
+
} | undefined;
|
|
1268
1280
|
} & {
|
|
1269
1281
|
cid?: string | undefined;
|
|
1270
1282
|
channel?: ({
|
|
@@ -2700,7 +2712,14 @@ export declare const Envelope: {
|
|
|
2700
2712
|
channel_category_title?: string | undefined;
|
|
2701
2713
|
}[]>]: never; }) | undefined;
|
|
2702
2714
|
} & { [K_107 in Exclude<keyof I["notification_channel_category_setting_event"], keyof NotificationChannelCategorySettingEvent>]: never; }) | undefined;
|
|
2703
|
-
|
|
2715
|
+
add_clan_user_event?: ({
|
|
2716
|
+
clan_id?: string | undefined;
|
|
2717
|
+
user_id?: string | undefined;
|
|
2718
|
+
} & {
|
|
2719
|
+
clan_id?: string | undefined;
|
|
2720
|
+
user_id?: string | undefined;
|
|
2721
|
+
} & { [K_108 in Exclude<keyof I["add_clan_user_event"], keyof AddClanUserEvent>]: never; }) | undefined;
|
|
2722
|
+
} & { [K_109 in Exclude<keyof I, keyof Envelope>]: never; }>(base?: I | undefined): Envelope;
|
|
2704
2723
|
fromPartial<I_1 extends {
|
|
2705
2724
|
cid?: string | undefined;
|
|
2706
2725
|
channel?: {
|
|
@@ -3204,6 +3223,10 @@ export declare const Envelope: {
|
|
|
3204
3223
|
channel_category_title?: string | undefined;
|
|
3205
3224
|
}[] | undefined;
|
|
3206
3225
|
} | undefined;
|
|
3226
|
+
add_clan_user_event?: {
|
|
3227
|
+
clan_id?: string | undefined;
|
|
3228
|
+
user_id?: string | undefined;
|
|
3229
|
+
} | undefined;
|
|
3207
3230
|
} & {
|
|
3208
3231
|
cid?: string | undefined;
|
|
3209
3232
|
channel?: ({
|
|
@@ -3245,7 +3268,7 @@ export declare const Envelope: {
|
|
|
3245
3268
|
username?: string | undefined;
|
|
3246
3269
|
persistence?: boolean | undefined;
|
|
3247
3270
|
status?: string | undefined;
|
|
3248
|
-
} & { [
|
|
3271
|
+
} & { [K_110 in Exclude<keyof I_1["channel"]["presences"][number], keyof UserPresence>]: never; })[] & { [K_111 in Exclude<keyof I_1["channel"]["presences"], keyof {
|
|
3249
3272
|
user_id?: string | undefined;
|
|
3250
3273
|
session_id?: string | undefined;
|
|
3251
3274
|
username?: string | undefined;
|
|
@@ -3264,16 +3287,16 @@ export declare const Envelope: {
|
|
|
3264
3287
|
username?: string | undefined;
|
|
3265
3288
|
persistence?: boolean | undefined;
|
|
3266
3289
|
status?: string | undefined;
|
|
3267
|
-
} & { [
|
|
3290
|
+
} & { [K_112 in Exclude<keyof I_1["channel"]["self"], keyof UserPresence>]: never; }) | undefined;
|
|
3268
3291
|
chanel_label?: string | undefined;
|
|
3269
3292
|
clan_logo?: string | undefined;
|
|
3270
3293
|
category_name?: string | undefined;
|
|
3271
|
-
} & { [
|
|
3294
|
+
} & { [K_113 in Exclude<keyof I_1["channel"], keyof Channel>]: never; }) | undefined;
|
|
3272
3295
|
clan_join?: ({
|
|
3273
3296
|
clan_id?: string | undefined;
|
|
3274
3297
|
} & {
|
|
3275
3298
|
clan_id?: string | undefined;
|
|
3276
|
-
} & { [
|
|
3299
|
+
} & { [K_114 in Exclude<keyof I_1["clan_join"], "clan_id">]: never; }) | undefined;
|
|
3277
3300
|
channel_join?: ({
|
|
3278
3301
|
clan_id?: string | undefined;
|
|
3279
3302
|
channel_id?: string | undefined;
|
|
@@ -3282,7 +3305,7 @@ export declare const Envelope: {
|
|
|
3282
3305
|
clan_id?: string | undefined;
|
|
3283
3306
|
channel_id?: string | undefined;
|
|
3284
3307
|
channel_type?: number | undefined;
|
|
3285
|
-
} & { [
|
|
3308
|
+
} & { [K_115 in Exclude<keyof I_1["channel_join"], keyof ChannelJoin>]: never; }) | undefined;
|
|
3286
3309
|
channel_leave?: ({
|
|
3287
3310
|
clan_id?: string | undefined;
|
|
3288
3311
|
channel_id?: string | undefined;
|
|
@@ -3291,7 +3314,7 @@ export declare const Envelope: {
|
|
|
3291
3314
|
clan_id?: string | undefined;
|
|
3292
3315
|
channel_id?: string | undefined;
|
|
3293
3316
|
channel_type?: number | undefined;
|
|
3294
|
-
} & { [
|
|
3317
|
+
} & { [K_116 in Exclude<keyof I_1["channel_leave"], keyof ChannelLeave>]: never; }) | undefined;
|
|
3295
3318
|
channel_message?: ({
|
|
3296
3319
|
clan_id?: string | undefined;
|
|
3297
3320
|
channel_id?: string | undefined;
|
|
@@ -3344,7 +3367,7 @@ export declare const Envelope: {
|
|
|
3344
3367
|
update_time_ms?: number | undefined;
|
|
3345
3368
|
mode?: number | undefined;
|
|
3346
3369
|
hide_editted?: boolean | undefined;
|
|
3347
|
-
} & { [
|
|
3370
|
+
} & { [K_117 in Exclude<keyof I_1["channel_message"], keyof ChannelMessage>]: never; }) | undefined;
|
|
3348
3371
|
channel_message_ack?: ({
|
|
3349
3372
|
channel_id?: string | undefined;
|
|
3350
3373
|
message_id?: string | undefined;
|
|
@@ -3365,7 +3388,7 @@ export declare const Envelope: {
|
|
|
3365
3388
|
persistent?: boolean | undefined;
|
|
3366
3389
|
clan_logo?: string | undefined;
|
|
3367
3390
|
category_name?: string | undefined;
|
|
3368
|
-
} & { [
|
|
3391
|
+
} & { [K_118 in Exclude<keyof I_1["channel_message_ack"], keyof ChannelMessageAck>]: never; }) | undefined;
|
|
3369
3392
|
channel_message_send?: ({
|
|
3370
3393
|
clan_id?: string | undefined;
|
|
3371
3394
|
channel_id?: string | undefined;
|
|
@@ -3435,7 +3458,7 @@ export declare const Envelope: {
|
|
|
3435
3458
|
create_time?: Date | undefined;
|
|
3436
3459
|
s?: number | undefined;
|
|
3437
3460
|
e?: number | undefined;
|
|
3438
|
-
} & { [
|
|
3461
|
+
} & { [K_119 in Exclude<keyof I_1["channel_message_send"]["mentions"][number], keyof MessageMention>]: never; })[] & { [K_120 in Exclude<keyof I_1["channel_message_send"]["mentions"], keyof {
|
|
3439
3462
|
id?: string | undefined;
|
|
3440
3463
|
user_id?: string | undefined;
|
|
3441
3464
|
username?: string | undefined;
|
|
@@ -3466,7 +3489,7 @@ export declare const Envelope: {
|
|
|
3466
3489
|
filetype?: string | undefined;
|
|
3467
3490
|
width?: number | undefined;
|
|
3468
3491
|
height?: number | undefined;
|
|
3469
|
-
} & { [
|
|
3492
|
+
} & { [K_121 in Exclude<keyof I_1["channel_message_send"]["attachments"][number], keyof MessageAttachment>]: never; })[] & { [K_122 in Exclude<keyof I_1["channel_message_send"]["attachments"], keyof {
|
|
3470
3493
|
filename?: string | undefined;
|
|
3471
3494
|
size?: number | undefined;
|
|
3472
3495
|
url?: string | undefined;
|
|
@@ -3507,7 +3530,7 @@ export declare const Envelope: {
|
|
|
3507
3530
|
mesages_sender_avatar?: string | undefined;
|
|
3508
3531
|
message_sender_clan_nick?: string | undefined;
|
|
3509
3532
|
message_sender_display_name?: string | undefined;
|
|
3510
|
-
} & { [
|
|
3533
|
+
} & { [K_123 in Exclude<keyof I_1["channel_message_send"]["references"][number], keyof MessageRef>]: never; })[] & { [K_124 in Exclude<keyof I_1["channel_message_send"]["references"], keyof {
|
|
3511
3534
|
message_id?: string | undefined;
|
|
3512
3535
|
message_ref_id?: string | undefined;
|
|
3513
3536
|
content?: string | undefined;
|
|
@@ -3523,7 +3546,7 @@ export declare const Envelope: {
|
|
|
3523
3546
|
anonymous_message?: boolean | undefined;
|
|
3524
3547
|
mention_everyone?: boolean | undefined;
|
|
3525
3548
|
avatar?: string | undefined;
|
|
3526
|
-
} & { [
|
|
3549
|
+
} & { [K_125 in Exclude<keyof I_1["channel_message_send"], keyof ChannelMessageSend>]: never; }) | undefined;
|
|
3527
3550
|
channel_message_update?: ({
|
|
3528
3551
|
clan_id?: string | undefined;
|
|
3529
3552
|
channel_id?: string | undefined;
|
|
@@ -3581,7 +3604,7 @@ export declare const Envelope: {
|
|
|
3581
3604
|
create_time?: Date | undefined;
|
|
3582
3605
|
s?: number | undefined;
|
|
3583
3606
|
e?: number | undefined;
|
|
3584
|
-
} & { [
|
|
3607
|
+
} & { [K_126 in Exclude<keyof I_1["channel_message_update"]["mentions"][number], keyof MessageMention>]: never; })[] & { [K_127 in Exclude<keyof I_1["channel_message_update"]["mentions"], keyof {
|
|
3585
3608
|
id?: string | undefined;
|
|
3586
3609
|
user_id?: string | undefined;
|
|
3587
3610
|
username?: string | undefined;
|
|
@@ -3612,7 +3635,7 @@ export declare const Envelope: {
|
|
|
3612
3635
|
filetype?: string | undefined;
|
|
3613
3636
|
width?: number | undefined;
|
|
3614
3637
|
height?: number | undefined;
|
|
3615
|
-
} & { [
|
|
3638
|
+
} & { [K_128 in Exclude<keyof I_1["channel_message_update"]["attachments"][number], keyof MessageAttachment>]: never; })[] & { [K_129 in Exclude<keyof I_1["channel_message_update"]["attachments"], keyof {
|
|
3616
3639
|
filename?: string | undefined;
|
|
3617
3640
|
size?: number | undefined;
|
|
3618
3641
|
url?: string | undefined;
|
|
@@ -3622,7 +3645,7 @@ export declare const Envelope: {
|
|
|
3622
3645
|
}[]>]: never; }) | undefined;
|
|
3623
3646
|
mode?: number | undefined;
|
|
3624
3647
|
hide_editted?: boolean | undefined;
|
|
3625
|
-
} & { [
|
|
3648
|
+
} & { [K_130 in Exclude<keyof I_1["channel_message_update"], keyof ChannelMessageUpdate>]: never; }) | undefined;
|
|
3626
3649
|
channel_message_remove?: ({
|
|
3627
3650
|
clan_id?: string | undefined;
|
|
3628
3651
|
channel_id?: string | undefined;
|
|
@@ -3633,7 +3656,7 @@ export declare const Envelope: {
|
|
|
3633
3656
|
channel_id?: string | undefined;
|
|
3634
3657
|
message_id?: string | undefined;
|
|
3635
3658
|
mode?: number | undefined;
|
|
3636
|
-
} & { [
|
|
3659
|
+
} & { [K_131 in Exclude<keyof I_1["channel_message_remove"], keyof ChannelMessageRemove>]: never; }) | undefined;
|
|
3637
3660
|
channel_presence_event?: ({
|
|
3638
3661
|
channel_id?: string | undefined;
|
|
3639
3662
|
joins?: {
|
|
@@ -3673,7 +3696,7 @@ export declare const Envelope: {
|
|
|
3673
3696
|
username?: string | undefined;
|
|
3674
3697
|
persistence?: boolean | undefined;
|
|
3675
3698
|
status?: string | undefined;
|
|
3676
|
-
} & { [
|
|
3699
|
+
} & { [K_132 in Exclude<keyof I_1["channel_presence_event"]["joins"][number], keyof UserPresence>]: never; })[] & { [K_133 in Exclude<keyof I_1["channel_presence_event"]["joins"], keyof {
|
|
3677
3700
|
user_id?: string | undefined;
|
|
3678
3701
|
session_id?: string | undefined;
|
|
3679
3702
|
username?: string | undefined;
|
|
@@ -3698,7 +3721,7 @@ export declare const Envelope: {
|
|
|
3698
3721
|
username?: string | undefined;
|
|
3699
3722
|
persistence?: boolean | undefined;
|
|
3700
3723
|
status?: string | undefined;
|
|
3701
|
-
} & { [
|
|
3724
|
+
} & { [K_134 in Exclude<keyof I_1["channel_presence_event"]["leaves"][number], keyof UserPresence>]: never; })[] & { [K_135 in Exclude<keyof I_1["channel_presence_event"]["leaves"], keyof {
|
|
3702
3725
|
user_id?: string | undefined;
|
|
3703
3726
|
session_id?: string | undefined;
|
|
3704
3727
|
username?: string | undefined;
|
|
@@ -3708,7 +3731,7 @@ export declare const Envelope: {
|
|
|
3708
3731
|
clan_logo?: string | undefined;
|
|
3709
3732
|
category_name?: string | undefined;
|
|
3710
3733
|
mode?: number | undefined;
|
|
3711
|
-
} & { [
|
|
3734
|
+
} & { [K_136 in Exclude<keyof I_1["channel_presence_event"], keyof ChannelPresenceEvent>]: never; }) | undefined;
|
|
3712
3735
|
error?: ({
|
|
3713
3736
|
code?: number | undefined;
|
|
3714
3737
|
message?: string | undefined;
|
|
@@ -3722,8 +3745,8 @@ export declare const Envelope: {
|
|
|
3722
3745
|
[x: string]: string | undefined;
|
|
3723
3746
|
} & {
|
|
3724
3747
|
[x: string]: string | undefined;
|
|
3725
|
-
} & { [
|
|
3726
|
-
} & { [
|
|
3748
|
+
} & { [K_137 in Exclude<keyof I_1["error"]["context"], string | number>]: never; }) | undefined;
|
|
3749
|
+
} & { [K_138 in Exclude<keyof I_1["error"], keyof Error>]: never; }) | undefined;
|
|
3727
3750
|
notifications?: ({
|
|
3728
3751
|
notifications?: {
|
|
3729
3752
|
id?: string | undefined;
|
|
@@ -3775,7 +3798,7 @@ export declare const Envelope: {
|
|
|
3775
3798
|
channel_id?: string | undefined;
|
|
3776
3799
|
channel_type?: number | undefined;
|
|
3777
3800
|
avatar_url?: string | undefined;
|
|
3778
|
-
} & { [
|
|
3801
|
+
} & { [K_139 in Exclude<keyof I_1["notifications"]["notifications"][number], keyof Notification>]: never; })[] & { [K_140 in Exclude<keyof I_1["notifications"]["notifications"], keyof {
|
|
3779
3802
|
id?: string | undefined;
|
|
3780
3803
|
subject?: string | undefined;
|
|
3781
3804
|
content?: string | undefined;
|
|
@@ -3788,7 +3811,7 @@ export declare const Envelope: {
|
|
|
3788
3811
|
channel_type?: number | undefined;
|
|
3789
3812
|
avatar_url?: string | undefined;
|
|
3790
3813
|
}[]>]: never; }) | undefined;
|
|
3791
|
-
} & { [
|
|
3814
|
+
} & { [K_141 in Exclude<keyof I_1["notifications"], "notifications">]: never; }) | undefined;
|
|
3792
3815
|
rpc?: ({
|
|
3793
3816
|
id?: string | undefined;
|
|
3794
3817
|
payload?: string | undefined;
|
|
@@ -3797,7 +3820,7 @@ export declare const Envelope: {
|
|
|
3797
3820
|
id?: string | undefined;
|
|
3798
3821
|
payload?: string | undefined;
|
|
3799
3822
|
http_key?: string | undefined;
|
|
3800
|
-
} & { [
|
|
3823
|
+
} & { [K_142 in Exclude<keyof I_1["rpc"], keyof Rpc>]: never; }) | undefined;
|
|
3801
3824
|
status?: ({
|
|
3802
3825
|
presences?: {
|
|
3803
3826
|
user_id?: string | undefined;
|
|
@@ -3825,21 +3848,21 @@ export declare const Envelope: {
|
|
|
3825
3848
|
username?: string | undefined;
|
|
3826
3849
|
persistence?: boolean | undefined;
|
|
3827
3850
|
status?: string | undefined;
|
|
3828
|
-
} & { [
|
|
3851
|
+
} & { [K_143 in Exclude<keyof I_1["status"]["presences"][number], keyof UserPresence>]: never; })[] & { [K_144 in Exclude<keyof I_1["status"]["presences"], keyof {
|
|
3829
3852
|
user_id?: string | undefined;
|
|
3830
3853
|
session_id?: string | undefined;
|
|
3831
3854
|
username?: string | undefined;
|
|
3832
3855
|
persistence?: boolean | undefined;
|
|
3833
3856
|
status?: string | undefined;
|
|
3834
3857
|
}[]>]: never; }) | undefined;
|
|
3835
|
-
} & { [
|
|
3858
|
+
} & { [K_145 in Exclude<keyof I_1["status"], "presences">]: never; }) | undefined;
|
|
3836
3859
|
status_follow?: ({
|
|
3837
3860
|
user_ids?: string[] | undefined;
|
|
3838
3861
|
usernames?: string[] | undefined;
|
|
3839
3862
|
} & {
|
|
3840
|
-
user_ids?: (string[] & string[] & { [
|
|
3841
|
-
usernames?: (string[] & string[] & { [
|
|
3842
|
-
} & { [
|
|
3863
|
+
user_ids?: (string[] & string[] & { [K_146 in Exclude<keyof I_1["status_follow"]["user_ids"], keyof string[]>]: never; }) | undefined;
|
|
3864
|
+
usernames?: (string[] & string[] & { [K_147 in Exclude<keyof I_1["status_follow"]["usernames"], keyof string[]>]: never; }) | undefined;
|
|
3865
|
+
} & { [K_148 in Exclude<keyof I_1["status_follow"], keyof StatusFollow>]: never; }) | undefined;
|
|
3843
3866
|
status_presence_event?: ({
|
|
3844
3867
|
joins?: {
|
|
3845
3868
|
user_id?: string | undefined;
|
|
@@ -3874,7 +3897,7 @@ export declare const Envelope: {
|
|
|
3874
3897
|
username?: string | undefined;
|
|
3875
3898
|
persistence?: boolean | undefined;
|
|
3876
3899
|
status?: string | undefined;
|
|
3877
|
-
} & { [
|
|
3900
|
+
} & { [K_149 in Exclude<keyof I_1["status_presence_event"]["joins"][number], keyof UserPresence>]: never; })[] & { [K_150 in Exclude<keyof I_1["status_presence_event"]["joins"], keyof {
|
|
3878
3901
|
user_id?: string | undefined;
|
|
3879
3902
|
session_id?: string | undefined;
|
|
3880
3903
|
username?: string | undefined;
|
|
@@ -3899,24 +3922,24 @@ export declare const Envelope: {
|
|
|
3899
3922
|
username?: string | undefined;
|
|
3900
3923
|
persistence?: boolean | undefined;
|
|
3901
3924
|
status?: string | undefined;
|
|
3902
|
-
} & { [
|
|
3925
|
+
} & { [K_151 in Exclude<keyof I_1["status_presence_event"]["leaves"][number], keyof UserPresence>]: never; })[] & { [K_152 in Exclude<keyof I_1["status_presence_event"]["leaves"], keyof {
|
|
3903
3926
|
user_id?: string | undefined;
|
|
3904
3927
|
session_id?: string | undefined;
|
|
3905
3928
|
username?: string | undefined;
|
|
3906
3929
|
persistence?: boolean | undefined;
|
|
3907
3930
|
status?: string | undefined;
|
|
3908
3931
|
}[]>]: never; }) | undefined;
|
|
3909
|
-
} & { [
|
|
3932
|
+
} & { [K_153 in Exclude<keyof I_1["status_presence_event"], keyof StatusPresenceEvent>]: never; }) | undefined;
|
|
3910
3933
|
status_unfollow?: ({
|
|
3911
3934
|
user_ids?: string[] | undefined;
|
|
3912
3935
|
} & {
|
|
3913
|
-
user_ids?: (string[] & string[] & { [
|
|
3914
|
-
} & { [
|
|
3936
|
+
user_ids?: (string[] & string[] & { [K_154 in Exclude<keyof I_1["status_unfollow"]["user_ids"], keyof string[]>]: never; }) | undefined;
|
|
3937
|
+
} & { [K_155 in Exclude<keyof I_1["status_unfollow"], "user_ids">]: never; }) | undefined;
|
|
3915
3938
|
status_update?: ({
|
|
3916
3939
|
status?: string | undefined;
|
|
3917
3940
|
} & {
|
|
3918
3941
|
status?: string | undefined;
|
|
3919
|
-
} & { [
|
|
3942
|
+
} & { [K_156 in Exclude<keyof I_1["status_update"], "status">]: never; }) | undefined;
|
|
3920
3943
|
stream_data?: ({
|
|
3921
3944
|
stream?: {
|
|
3922
3945
|
mode?: number | undefined;
|
|
@@ -3944,7 +3967,7 @@ export declare const Envelope: {
|
|
|
3944
3967
|
channel_id?: string | undefined;
|
|
3945
3968
|
clan_id?: string | undefined;
|
|
3946
3969
|
label?: string | undefined;
|
|
3947
|
-
} & { [
|
|
3970
|
+
} & { [K_157 in Exclude<keyof I_1["stream_data"]["stream"], keyof Stream>]: never; }) | undefined;
|
|
3948
3971
|
sender?: ({
|
|
3949
3972
|
user_id?: string | undefined;
|
|
3950
3973
|
session_id?: string | undefined;
|
|
@@ -3957,10 +3980,10 @@ export declare const Envelope: {
|
|
|
3957
3980
|
username?: string | undefined;
|
|
3958
3981
|
persistence?: boolean | undefined;
|
|
3959
3982
|
status?: string | undefined;
|
|
3960
|
-
} & { [
|
|
3983
|
+
} & { [K_158 in Exclude<keyof I_1["stream_data"]["sender"], keyof UserPresence>]: never; }) | undefined;
|
|
3961
3984
|
data?: string | undefined;
|
|
3962
3985
|
reliable?: boolean | undefined;
|
|
3963
|
-
} & { [
|
|
3986
|
+
} & { [K_159 in Exclude<keyof I_1["stream_data"], keyof StreamData>]: never; }) | undefined;
|
|
3964
3987
|
stream_presence_event?: ({
|
|
3965
3988
|
stream?: {
|
|
3966
3989
|
mode?: number | undefined;
|
|
@@ -3993,7 +4016,7 @@ export declare const Envelope: {
|
|
|
3993
4016
|
channel_id?: string | undefined;
|
|
3994
4017
|
clan_id?: string | undefined;
|
|
3995
4018
|
label?: string | undefined;
|
|
3996
|
-
} & { [
|
|
4019
|
+
} & { [K_160 in Exclude<keyof I_1["stream_presence_event"]["stream"], keyof Stream>]: never; }) | undefined;
|
|
3997
4020
|
joins?: ({
|
|
3998
4021
|
user_id?: string | undefined;
|
|
3999
4022
|
session_id?: string | undefined;
|
|
@@ -4012,7 +4035,7 @@ export declare const Envelope: {
|
|
|
4012
4035
|
username?: string | undefined;
|
|
4013
4036
|
persistence?: boolean | undefined;
|
|
4014
4037
|
status?: string | undefined;
|
|
4015
|
-
} & { [
|
|
4038
|
+
} & { [K_161 in Exclude<keyof I_1["stream_presence_event"]["joins"][number], keyof UserPresence>]: never; })[] & { [K_162 in Exclude<keyof I_1["stream_presence_event"]["joins"], keyof {
|
|
4016
4039
|
user_id?: string | undefined;
|
|
4017
4040
|
session_id?: string | undefined;
|
|
4018
4041
|
username?: string | undefined;
|
|
@@ -4037,16 +4060,16 @@ export declare const Envelope: {
|
|
|
4037
4060
|
username?: string | undefined;
|
|
4038
4061
|
persistence?: boolean | undefined;
|
|
4039
4062
|
status?: string | undefined;
|
|
4040
|
-
} & { [
|
|
4063
|
+
} & { [K_163 in Exclude<keyof I_1["stream_presence_event"]["leaves"][number], keyof UserPresence>]: never; })[] & { [K_164 in Exclude<keyof I_1["stream_presence_event"]["leaves"], keyof {
|
|
4041
4064
|
user_id?: string | undefined;
|
|
4042
4065
|
session_id?: string | undefined;
|
|
4043
4066
|
username?: string | undefined;
|
|
4044
4067
|
persistence?: boolean | undefined;
|
|
4045
4068
|
status?: string | undefined;
|
|
4046
4069
|
}[]>]: never; }) | undefined;
|
|
4047
|
-
} & { [
|
|
4048
|
-
ping?: ({} & {} & { [
|
|
4049
|
-
pong?: ({} & {} & { [
|
|
4070
|
+
} & { [K_165 in Exclude<keyof I_1["stream_presence_event"], keyof StreamPresenceEvent>]: never; }) | undefined;
|
|
4071
|
+
ping?: ({} & {} & { [K_166 in Exclude<keyof I_1["ping"], never>]: never; }) | undefined;
|
|
4072
|
+
pong?: ({} & {} & { [K_167 in Exclude<keyof I_1["pong"], never>]: never; }) | undefined;
|
|
4050
4073
|
message_typing_event?: ({
|
|
4051
4074
|
clan_id?: string | undefined;
|
|
4052
4075
|
channel_id?: string | undefined;
|
|
@@ -4057,7 +4080,7 @@ export declare const Envelope: {
|
|
|
4057
4080
|
channel_id?: string | undefined;
|
|
4058
4081
|
sender_id?: string | undefined;
|
|
4059
4082
|
mode?: number | undefined;
|
|
4060
|
-
} & { [
|
|
4083
|
+
} & { [K_168 in Exclude<keyof I_1["message_typing_event"], keyof MessageTypingEvent>]: never; }) | undefined;
|
|
4061
4084
|
last_seen_message_event?: ({
|
|
4062
4085
|
channel_id?: string | undefined;
|
|
4063
4086
|
message_id?: string | undefined;
|
|
@@ -4068,7 +4091,7 @@ export declare const Envelope: {
|
|
|
4068
4091
|
message_id?: string | undefined;
|
|
4069
4092
|
mode?: number | undefined;
|
|
4070
4093
|
timestamp?: string | undefined;
|
|
4071
|
-
} & { [
|
|
4094
|
+
} & { [K_169 in Exclude<keyof I_1["last_seen_message_event"], keyof LastSeenMessageEvent>]: never; }) | undefined;
|
|
4072
4095
|
message_reaction_event?: ({
|
|
4073
4096
|
id?: string | undefined;
|
|
4074
4097
|
emoji_id?: string | undefined;
|
|
@@ -4097,7 +4120,7 @@ export declare const Envelope: {
|
|
|
4097
4120
|
clan_id?: string | undefined;
|
|
4098
4121
|
mode?: number | undefined;
|
|
4099
4122
|
message_sender_id?: string | undefined;
|
|
4100
|
-
} & { [
|
|
4123
|
+
} & { [K_170 in Exclude<keyof I_1["message_reaction_event"], keyof MessageReaction>]: never; }) | undefined;
|
|
4101
4124
|
voice_joined_event?: ({
|
|
4102
4125
|
clan_id?: string | undefined;
|
|
4103
4126
|
clan_name?: string | undefined;
|
|
@@ -4116,7 +4139,7 @@ export declare const Envelope: {
|
|
|
4116
4139
|
voice_channel_label?: string | undefined;
|
|
4117
4140
|
voice_channel_id?: string | undefined;
|
|
4118
4141
|
last_screenshot?: string | undefined;
|
|
4119
|
-
} & { [
|
|
4142
|
+
} & { [K_171 in Exclude<keyof I_1["voice_joined_event"], keyof VoiceJoinedEvent>]: never; }) | undefined;
|
|
4120
4143
|
voice_leaved_event?: ({
|
|
4121
4144
|
id?: string | undefined;
|
|
4122
4145
|
clan_id?: string | undefined;
|
|
@@ -4127,7 +4150,7 @@ export declare const Envelope: {
|
|
|
4127
4150
|
clan_id?: string | undefined;
|
|
4128
4151
|
voice_channel_id?: string | undefined;
|
|
4129
4152
|
voice_user_id?: string | undefined;
|
|
4130
|
-
} & { [
|
|
4153
|
+
} & { [K_172 in Exclude<keyof I_1["voice_leaved_event"], keyof VoiceLeavedEvent>]: never; }) | undefined;
|
|
4131
4154
|
voice_started_event?: ({
|
|
4132
4155
|
id?: string | undefined;
|
|
4133
4156
|
clan_id?: string | undefined;
|
|
@@ -4136,7 +4159,7 @@ export declare const Envelope: {
|
|
|
4136
4159
|
id?: string | undefined;
|
|
4137
4160
|
clan_id?: string | undefined;
|
|
4138
4161
|
voice_channel_id?: string | undefined;
|
|
4139
|
-
} & { [
|
|
4162
|
+
} & { [K_173 in Exclude<keyof I_1["voice_started_event"], keyof VoiceStartedEvent>]: never; }) | undefined;
|
|
4140
4163
|
voice_ended_event?: ({
|
|
4141
4164
|
id?: string | undefined;
|
|
4142
4165
|
clan_id?: string | undefined;
|
|
@@ -4145,7 +4168,7 @@ export declare const Envelope: {
|
|
|
4145
4168
|
id?: string | undefined;
|
|
4146
4169
|
clan_id?: string | undefined;
|
|
4147
4170
|
voice_channel_id?: string | undefined;
|
|
4148
|
-
} & { [
|
|
4171
|
+
} & { [K_174 in Exclude<keyof I_1["voice_ended_event"], keyof VoiceEndedEvent>]: never; }) | undefined;
|
|
4149
4172
|
channel_created_event?: ({
|
|
4150
4173
|
clan_id?: string | undefined;
|
|
4151
4174
|
category_id?: string | undefined;
|
|
@@ -4166,7 +4189,7 @@ export declare const Envelope: {
|
|
|
4166
4189
|
channel_private?: number | undefined;
|
|
4167
4190
|
channel_type?: number | undefined;
|
|
4168
4191
|
status?: number | undefined;
|
|
4169
|
-
} & { [
|
|
4192
|
+
} & { [K_175 in Exclude<keyof I_1["channel_created_event"], keyof ChannelCreatedEvent>]: never; }) | undefined;
|
|
4170
4193
|
channel_deleted_event?: ({
|
|
4171
4194
|
clan_id?: string | undefined;
|
|
4172
4195
|
category_id?: string | undefined;
|
|
@@ -4179,7 +4202,7 @@ export declare const Envelope: {
|
|
|
4179
4202
|
parrent_id?: string | undefined;
|
|
4180
4203
|
channel_id?: string | undefined;
|
|
4181
4204
|
deletor?: string | undefined;
|
|
4182
|
-
} & { [
|
|
4205
|
+
} & { [K_176 in Exclude<keyof I_1["channel_deleted_event"], keyof ChannelDeletedEvent>]: never; }) | undefined;
|
|
4183
4206
|
channel_updated_event?: ({
|
|
4184
4207
|
clan_id?: string | undefined;
|
|
4185
4208
|
category_id?: string | undefined;
|
|
@@ -4198,7 +4221,7 @@ export declare const Envelope: {
|
|
|
4198
4221
|
channel_label?: string | undefined;
|
|
4199
4222
|
channel_type?: number | undefined;
|
|
4200
4223
|
status?: number | undefined;
|
|
4201
|
-
} & { [
|
|
4224
|
+
} & { [K_177 in Exclude<keyof I_1["channel_updated_event"], keyof ChannelUpdatedEvent>]: never; }) | undefined;
|
|
4202
4225
|
last_pin_message_event?: ({
|
|
4203
4226
|
clan_id?: string | undefined;
|
|
4204
4227
|
channel_id?: string | undefined;
|
|
@@ -4215,7 +4238,7 @@ export declare const Envelope: {
|
|
|
4215
4238
|
user_id?: string | undefined;
|
|
4216
4239
|
timestamp?: string | undefined;
|
|
4217
4240
|
operation?: number | undefined;
|
|
4218
|
-
} & { [
|
|
4241
|
+
} & { [K_178 in Exclude<keyof I_1["last_pin_message_event"], keyof LastPinMessageEvent>]: never; }) | undefined;
|
|
4219
4242
|
custom_status_event?: ({
|
|
4220
4243
|
clan_id?: string | undefined;
|
|
4221
4244
|
user_id?: string | undefined;
|
|
@@ -4226,7 +4249,7 @@ export declare const Envelope: {
|
|
|
4226
4249
|
user_id?: string | undefined;
|
|
4227
4250
|
username?: string | undefined;
|
|
4228
4251
|
status?: string | undefined;
|
|
4229
|
-
} & { [
|
|
4252
|
+
} & { [K_179 in Exclude<keyof I_1["custom_status_event"], keyof CustomStatusEvent>]: never; }) | undefined;
|
|
4230
4253
|
user_channel_added_event?: ({
|
|
4231
4254
|
channel_id?: string | undefined;
|
|
4232
4255
|
users?: {
|
|
@@ -4251,7 +4274,7 @@ export declare const Envelope: {
|
|
|
4251
4274
|
user_id?: string | undefined;
|
|
4252
4275
|
avatar?: string | undefined;
|
|
4253
4276
|
username?: string | undefined;
|
|
4254
|
-
} & { [
|
|
4277
|
+
} & { [K_180 in Exclude<keyof I_1["user_channel_added_event"]["users"][number], keyof AddUsers>]: never; })[] & { [K_181 in Exclude<keyof I_1["user_channel_added_event"]["users"], keyof {
|
|
4255
4278
|
user_id?: string | undefined;
|
|
4256
4279
|
avatar?: string | undefined;
|
|
4257
4280
|
username?: string | undefined;
|
|
@@ -4259,21 +4282,21 @@ export declare const Envelope: {
|
|
|
4259
4282
|
status?: string | undefined;
|
|
4260
4283
|
clan_id?: string | undefined;
|
|
4261
4284
|
channel_type?: number | undefined;
|
|
4262
|
-
} & { [
|
|
4285
|
+
} & { [K_182 in Exclude<keyof I_1["user_channel_added_event"], keyof UserChannelAdded>]: never; }) | undefined;
|
|
4263
4286
|
user_channel_removed_event?: ({
|
|
4264
4287
|
channel_id?: string | undefined;
|
|
4265
4288
|
user_ids?: string[] | undefined;
|
|
4266
4289
|
} & {
|
|
4267
4290
|
channel_id?: string | undefined;
|
|
4268
|
-
user_ids?: (string[] & string[] & { [
|
|
4269
|
-
} & { [
|
|
4291
|
+
user_ids?: (string[] & string[] & { [K_183 in Exclude<keyof I_1["user_channel_removed_event"]["user_ids"], keyof string[]>]: never; }) | undefined;
|
|
4292
|
+
} & { [K_184 in Exclude<keyof I_1["user_channel_removed_event"], keyof UserChannelRemoved>]: never; }) | undefined;
|
|
4270
4293
|
user_clan_removed_event?: ({
|
|
4271
4294
|
clan_id?: string | undefined;
|
|
4272
4295
|
user_ids?: string[] | undefined;
|
|
4273
4296
|
} & {
|
|
4274
4297
|
clan_id?: string | undefined;
|
|
4275
|
-
user_ids?: (string[] & string[] & { [
|
|
4276
|
-
} & { [
|
|
4298
|
+
user_ids?: (string[] & string[] & { [K_185 in Exclude<keyof I_1["user_clan_removed_event"]["user_ids"], keyof string[]>]: never; }) | undefined;
|
|
4299
|
+
} & { [K_186 in Exclude<keyof I_1["user_clan_removed_event"], keyof UserClanRemoved>]: never; }) | undefined;
|
|
4277
4300
|
clan_updated_event?: ({
|
|
4278
4301
|
clan_id?: string | undefined;
|
|
4279
4302
|
clan_name?: string | undefined;
|
|
@@ -4282,7 +4305,7 @@ export declare const Envelope: {
|
|
|
4282
4305
|
clan_id?: string | undefined;
|
|
4283
4306
|
clan_name?: string | undefined;
|
|
4284
4307
|
clan_logo?: string | undefined;
|
|
4285
|
-
} & { [
|
|
4308
|
+
} & { [K_187 in Exclude<keyof I_1["clan_updated_event"], keyof ClanUpdatedEvent>]: never; }) | undefined;
|
|
4286
4309
|
clan_profile_updated_event?: ({
|
|
4287
4310
|
user_id?: string | undefined;
|
|
4288
4311
|
clan_nick?: string | undefined;
|
|
@@ -4293,14 +4316,14 @@ export declare const Envelope: {
|
|
|
4293
4316
|
clan_nick?: string | undefined;
|
|
4294
4317
|
clan_avatar?: string | undefined;
|
|
4295
4318
|
clan_id?: string | undefined;
|
|
4296
|
-
} & { [
|
|
4319
|
+
} & { [K_188 in Exclude<keyof I_1["clan_profile_updated_event"], keyof ClanProfileUpdatedEvent>]: never; }) | undefined;
|
|
4297
4320
|
clan_name_existed_event?: ({
|
|
4298
4321
|
clan_name?: string | undefined;
|
|
4299
4322
|
exist?: boolean | undefined;
|
|
4300
4323
|
} & {
|
|
4301
4324
|
clan_name?: string | undefined;
|
|
4302
4325
|
exist?: boolean | undefined;
|
|
4303
|
-
} & { [
|
|
4326
|
+
} & { [K_189 in Exclude<keyof I_1["clan_name_existed_event"], keyof ClanNameExistedEvent>]: never; }) | undefined;
|
|
4304
4327
|
user_profile_updated_event?: ({
|
|
4305
4328
|
user_id?: string | undefined;
|
|
4306
4329
|
display_name?: string | undefined;
|
|
@@ -4315,7 +4338,7 @@ export declare const Envelope: {
|
|
|
4315
4338
|
about_me?: string | undefined;
|
|
4316
4339
|
channel_id?: string | undefined;
|
|
4317
4340
|
clan_id?: string | undefined;
|
|
4318
|
-
} & { [
|
|
4341
|
+
} & { [K_190 in Exclude<keyof I_1["user_profile_updated_event"], keyof UserProfileUpdatedEvent>]: never; }) | undefined;
|
|
4319
4342
|
emojis_listed_event?: ({
|
|
4320
4343
|
clan_id?: string | undefined;
|
|
4321
4344
|
emoji_list?: {
|
|
@@ -4345,14 +4368,14 @@ export declare const Envelope: {
|
|
|
4345
4368
|
shortname?: string | undefined;
|
|
4346
4369
|
category?: string | undefined;
|
|
4347
4370
|
creator_id?: string | undefined;
|
|
4348
|
-
} & { [
|
|
4371
|
+
} & { [K_191 in Exclude<keyof I_1["emojis_listed_event"]["emoji_list"][number], keyof ClanEmoji>]: never; })[] & { [K_192 in Exclude<keyof I_1["emojis_listed_event"]["emoji_list"], keyof {
|
|
4349
4372
|
id?: string | undefined;
|
|
4350
4373
|
src?: string | undefined;
|
|
4351
4374
|
shortname?: string | undefined;
|
|
4352
4375
|
category?: string | undefined;
|
|
4353
4376
|
creator_id?: string | undefined;
|
|
4354
4377
|
}[]>]: never; }) | undefined;
|
|
4355
|
-
} & { [
|
|
4378
|
+
} & { [K_193 in Exclude<keyof I_1["emojis_listed_event"], keyof EmojiListedEvent>]: never; }) | undefined;
|
|
4356
4379
|
sticker_listed_event?: ({
|
|
4357
4380
|
clan_id?: string | undefined;
|
|
4358
4381
|
stickers?: {
|
|
@@ -4390,7 +4413,7 @@ export declare const Envelope: {
|
|
|
4390
4413
|
creator_id?: string | undefined;
|
|
4391
4414
|
create_time?: Date | undefined;
|
|
4392
4415
|
clan_id?: string | undefined;
|
|
4393
|
-
} & { [
|
|
4416
|
+
} & { [K_194 in Exclude<keyof I_1["sticker_listed_event"]["stickers"][number], keyof ClanSticker>]: never; })[] & { [K_195 in Exclude<keyof I_1["sticker_listed_event"]["stickers"], keyof {
|
|
4394
4417
|
id?: string | undefined;
|
|
4395
4418
|
source?: string | undefined;
|
|
4396
4419
|
shortname?: string | undefined;
|
|
@@ -4399,7 +4422,7 @@ export declare const Envelope: {
|
|
|
4399
4422
|
create_time?: Date | undefined;
|
|
4400
4423
|
clan_id?: string | undefined;
|
|
4401
4424
|
}[]>]: never; }) | undefined;
|
|
4402
|
-
} & { [
|
|
4425
|
+
} & { [K_196 in Exclude<keyof I_1["sticker_listed_event"], keyof StrickerListedEvent>]: never; }) | undefined;
|
|
4403
4426
|
channel_desc_list_event?: ({
|
|
4404
4427
|
channeldesc?: {
|
|
4405
4428
|
clan_id?: string | undefined;
|
|
@@ -4439,7 +4462,7 @@ export declare const Envelope: {
|
|
|
4439
4462
|
meeting_code?: string | undefined;
|
|
4440
4463
|
clan_name?: string | undefined;
|
|
4441
4464
|
parrent_id?: string | undefined;
|
|
4442
|
-
} & { [
|
|
4465
|
+
} & { [K_197 in Exclude<keyof I_1["channel_desc_list_event"]["channeldesc"][number], keyof ChannelDescription>]: never; })[] & { [K_198 in Exclude<keyof I_1["channel_desc_list_event"]["channeldesc"], keyof {
|
|
4443
4466
|
clan_id?: string | undefined;
|
|
4444
4467
|
channel_id?: string | undefined;
|
|
4445
4468
|
type?: number | undefined;
|
|
@@ -4449,7 +4472,7 @@ export declare const Envelope: {
|
|
|
4449
4472
|
clan_name?: string | undefined;
|
|
4450
4473
|
parrent_id?: string | undefined;
|
|
4451
4474
|
}[]>]: never; }) | undefined;
|
|
4452
|
-
} & { [
|
|
4475
|
+
} & { [K_199 in Exclude<keyof I_1["channel_desc_list_event"], "channeldesc">]: never; }) | undefined;
|
|
4453
4476
|
hashtag_dm_list_event?: ({
|
|
4454
4477
|
user_id?: string[] | undefined;
|
|
4455
4478
|
limit?: number | undefined;
|
|
@@ -4464,7 +4487,7 @@ export declare const Envelope: {
|
|
|
4464
4487
|
parrent_id?: string | undefined;
|
|
4465
4488
|
}[] | undefined;
|
|
4466
4489
|
} & {
|
|
4467
|
-
user_id?: (string[] & string[] & { [
|
|
4490
|
+
user_id?: (string[] & string[] & { [K_200 in Exclude<keyof I_1["hashtag_dm_list_event"]["user_id"], keyof string[]>]: never; }) | undefined;
|
|
4468
4491
|
limit?: number | undefined;
|
|
4469
4492
|
hashtag_dm?: ({
|
|
4470
4493
|
channel_id?: string | undefined;
|
|
@@ -4493,7 +4516,7 @@ export declare const Envelope: {
|
|
|
4493
4516
|
type?: number | undefined;
|
|
4494
4517
|
channel_private?: number | undefined;
|
|
4495
4518
|
parrent_id?: string | undefined;
|
|
4496
|
-
} & { [
|
|
4519
|
+
} & { [K_201 in Exclude<keyof I_1["hashtag_dm_list_event"]["hashtag_dm"][number], keyof HashtagDm>]: never; })[] & { [K_202 in Exclude<keyof I_1["hashtag_dm_list_event"]["hashtag_dm"], keyof {
|
|
4497
4520
|
channel_id?: string | undefined;
|
|
4498
4521
|
channel_label?: string | undefined;
|
|
4499
4522
|
clan_id?: string | undefined;
|
|
@@ -4503,7 +4526,7 @@ export declare const Envelope: {
|
|
|
4503
4526
|
channel_private?: number | undefined;
|
|
4504
4527
|
parrent_id?: string | undefined;
|
|
4505
4528
|
}[]>]: never; }) | undefined;
|
|
4506
|
-
} & { [
|
|
4529
|
+
} & { [K_203 in Exclude<keyof I_1["hashtag_dm_list_event"], keyof HashtagDmListEvent>]: never; }) | undefined;
|
|
4507
4530
|
notification_channel_setting_event?: ({
|
|
4508
4531
|
channel_id?: string | undefined;
|
|
4509
4532
|
notification_user_channel?: {
|
|
@@ -4524,8 +4547,8 @@ export declare const Envelope: {
|
|
|
4524
4547
|
notification_setting_type?: number | undefined;
|
|
4525
4548
|
time_mute?: Date | undefined;
|
|
4526
4549
|
active?: number | undefined;
|
|
4527
|
-
} & { [
|
|
4528
|
-
} & { [
|
|
4550
|
+
} & { [K_204 in Exclude<keyof I_1["notification_channel_setting_event"]["notification_user_channel"], keyof NotificationUserChannel>]: never; }) | undefined;
|
|
4551
|
+
} & { [K_205 in Exclude<keyof I_1["notification_channel_setting_event"], keyof NotificationChannelSettingEvent>]: never; }) | undefined;
|
|
4529
4552
|
notification_category_setting_event?: ({
|
|
4530
4553
|
category_id?: string | undefined;
|
|
4531
4554
|
notification_user_channel?: {
|
|
@@ -4546,8 +4569,8 @@ export declare const Envelope: {
|
|
|
4546
4569
|
notification_setting_type?: number | undefined;
|
|
4547
4570
|
time_mute?: Date | undefined;
|
|
4548
4571
|
active?: number | undefined;
|
|
4549
|
-
} & { [
|
|
4550
|
-
} & { [
|
|
4572
|
+
} & { [K_206 in Exclude<keyof I_1["notification_category_setting_event"]["notification_user_channel"], keyof NotificationUserChannel>]: never; }) | undefined;
|
|
4573
|
+
} & { [K_207 in Exclude<keyof I_1["notification_category_setting_event"], keyof NotificationCategorySettingEvent>]: never; }) | undefined;
|
|
4551
4574
|
notification_clan_setting_event?: ({
|
|
4552
4575
|
clan_id?: string | undefined;
|
|
4553
4576
|
notification_setting?: {
|
|
@@ -4562,8 +4585,8 @@ export declare const Envelope: {
|
|
|
4562
4585
|
} & {
|
|
4563
4586
|
id?: string | undefined;
|
|
4564
4587
|
notification_setting_type?: number | undefined;
|
|
4565
|
-
} & { [
|
|
4566
|
-
} & { [
|
|
4588
|
+
} & { [K_208 in Exclude<keyof I_1["notification_clan_setting_event"]["notification_setting"], keyof NotificationSetting>]: never; }) | undefined;
|
|
4589
|
+
} & { [K_209 in Exclude<keyof I_1["notification_clan_setting_event"], keyof NotificationClanSettingEvent>]: never; }) | undefined;
|
|
4567
4590
|
notifi_react_message_event?: ({
|
|
4568
4591
|
channel_id?: string | undefined;
|
|
4569
4592
|
notifi_react_message?: {
|
|
@@ -4581,8 +4604,8 @@ export declare const Envelope: {
|
|
|
4581
4604
|
id?: string | undefined;
|
|
4582
4605
|
user_id?: string | undefined;
|
|
4583
4606
|
channel_id?: string | undefined;
|
|
4584
|
-
} & { [
|
|
4585
|
-
} & { [
|
|
4607
|
+
} & { [K_210 in Exclude<keyof I_1["notifi_react_message_event"]["notifi_react_message"], keyof NotifiReactMessage>]: never; }) | undefined;
|
|
4608
|
+
} & { [K_211 in Exclude<keyof I_1["notifi_react_message_event"], keyof NotifiReactMessageEvent>]: never; }) | undefined;
|
|
4586
4609
|
permission_role_channel_list_event?: ({
|
|
4587
4610
|
role_id?: string | undefined;
|
|
4588
4611
|
channel_id?: string | undefined;
|
|
@@ -4602,11 +4625,11 @@ export declare const Envelope: {
|
|
|
4602
4625
|
} & {
|
|
4603
4626
|
permission_id?: string | undefined;
|
|
4604
4627
|
active?: boolean | undefined;
|
|
4605
|
-
} & { [
|
|
4628
|
+
} & { [K_212 in Exclude<keyof I_1["permission_role_channel_list_event"]["permission_role_channel"][number], keyof PermissionRoleChannel>]: never; })[] & { [K_213 in Exclude<keyof I_1["permission_role_channel_list_event"]["permission_role_channel"], keyof {
|
|
4606
4629
|
permission_id?: string | undefined;
|
|
4607
4630
|
active?: boolean | undefined;
|
|
4608
4631
|
}[]>]: never; }) | undefined;
|
|
4609
|
-
} & { [
|
|
4632
|
+
} & { [K_214 in Exclude<keyof I_1["permission_role_channel_list_event"], keyof PermissionRoleChannelListEvent>]: never; }) | undefined;
|
|
4610
4633
|
notification_channel_category_setting_event?: ({
|
|
4611
4634
|
clan_id?: string | undefined;
|
|
4612
4635
|
notification_channel_category_settings_list?: {
|
|
@@ -4632,14 +4655,41 @@ export declare const Envelope: {
|
|
|
4632
4655
|
channel_category_label?: string | undefined;
|
|
4633
4656
|
notification_setting_type?: number | undefined;
|
|
4634
4657
|
channel_category_title?: string | undefined;
|
|
4635
|
-
} & { [
|
|
4658
|
+
} & { [K_215 in Exclude<keyof I_1["notification_channel_category_setting_event"]["notification_channel_category_settings_list"][number], keyof NotificationChannelCategorySetting>]: never; })[] & { [K_216 in Exclude<keyof I_1["notification_channel_category_setting_event"]["notification_channel_category_settings_list"], keyof {
|
|
4636
4659
|
id?: string | undefined;
|
|
4637
4660
|
channel_category_label?: string | undefined;
|
|
4638
4661
|
notification_setting_type?: number | undefined;
|
|
4639
4662
|
channel_category_title?: string | undefined;
|
|
4640
4663
|
}[]>]: never; }) | undefined;
|
|
4641
|
-
} & { [
|
|
4642
|
-
|
|
4664
|
+
} & { [K_217 in Exclude<keyof I_1["notification_channel_category_setting_event"], keyof NotificationChannelCategorySettingEvent>]: never; }) | undefined;
|
|
4665
|
+
add_clan_user_event?: ({
|
|
4666
|
+
clan_id?: string | undefined;
|
|
4667
|
+
user_id?: string | undefined;
|
|
4668
|
+
} & {
|
|
4669
|
+
clan_id?: string | undefined;
|
|
4670
|
+
user_id?: string | undefined;
|
|
4671
|
+
} & { [K_218 in Exclude<keyof I_1["add_clan_user_event"], keyof AddClanUserEvent>]: never; }) | undefined;
|
|
4672
|
+
} & { [K_219 in Exclude<keyof I_1, keyof Envelope>]: never; }>(object: I_1): Envelope;
|
|
4673
|
+
};
|
|
4674
|
+
export declare const AddClanUserEvent: {
|
|
4675
|
+
encode(message: AddClanUserEvent, writer?: _m0.Writer): _m0.Writer;
|
|
4676
|
+
decode(input: _m0.Reader | Uint8Array, length?: number): AddClanUserEvent;
|
|
4677
|
+
fromJSON(object: any): AddClanUserEvent;
|
|
4678
|
+
toJSON(message: AddClanUserEvent): unknown;
|
|
4679
|
+
create<I extends {
|
|
4680
|
+
clan_id?: string | undefined;
|
|
4681
|
+
user_id?: string | undefined;
|
|
4682
|
+
} & {
|
|
4683
|
+
clan_id?: string | undefined;
|
|
4684
|
+
user_id?: string | undefined;
|
|
4685
|
+
} & { [K in Exclude<keyof I, keyof AddClanUserEvent>]: never; }>(base?: I | undefined): AddClanUserEvent;
|
|
4686
|
+
fromPartial<I_1 extends {
|
|
4687
|
+
clan_id?: string | undefined;
|
|
4688
|
+
user_id?: string | undefined;
|
|
4689
|
+
} & {
|
|
4690
|
+
clan_id?: string | undefined;
|
|
4691
|
+
user_id?: string | undefined;
|
|
4692
|
+
} & { [K_1 in Exclude<keyof I_1, keyof AddClanUserEvent>]: never; }>(object: I_1): AddClanUserEvent;
|
|
4643
4693
|
};
|
|
4644
4694
|
export declare const PermissionRoleChannelListEvent: {
|
|
4645
4695
|
encode(message: PermissionRoleChannelListEvent, writer?: _m0.Writer): _m0.Writer;
|
|
@@ -4015,7 +4015,8 @@ function createBaseEnvelope() {
|
|
|
4015
4015
|
notification_clan_setting_event: void 0,
|
|
4016
4016
|
notifi_react_message_event: void 0,
|
|
4017
4017
|
permission_role_channel_list_event: void 0,
|
|
4018
|
-
notification_channel_category_setting_event: void 0
|
|
4018
|
+
notification_channel_category_setting_event: void 0,
|
|
4019
|
+
add_clan_user_event: void 0
|
|
4019
4020
|
};
|
|
4020
4021
|
}
|
|
4021
4022
|
var Envelope = {
|
|
@@ -4179,6 +4180,9 @@ var Envelope = {
|
|
|
4179
4180
|
writer.uint32(418).fork()
|
|
4180
4181
|
).ldelim();
|
|
4181
4182
|
}
|
|
4183
|
+
if (message.add_clan_user_event !== void 0) {
|
|
4184
|
+
AddClanUserEvent.encode(message.add_clan_user_event, writer.uint32(426).fork()).ldelim();
|
|
4185
|
+
}
|
|
4182
4186
|
return writer;
|
|
4183
4187
|
},
|
|
4184
4188
|
decode(input, length) {
|
|
@@ -4506,6 +4510,12 @@ var Envelope = {
|
|
|
4506
4510
|
reader.uint32()
|
|
4507
4511
|
);
|
|
4508
4512
|
continue;
|
|
4513
|
+
case 53:
|
|
4514
|
+
if (tag !== 426) {
|
|
4515
|
+
break;
|
|
4516
|
+
}
|
|
4517
|
+
message.add_clan_user_event = AddClanUserEvent.decode(reader, reader.uint32());
|
|
4518
|
+
continue;
|
|
4509
4519
|
}
|
|
4510
4520
|
if ((tag & 7) === 4 || tag === 0) {
|
|
4511
4521
|
break;
|
|
@@ -4567,7 +4577,8 @@ var Envelope = {
|
|
|
4567
4577
|
notification_clan_setting_event: isSet4(object.notification_clan_setting_event) ? NotificationClanSettingEvent.fromJSON(object.notification_clan_setting_event) : void 0,
|
|
4568
4578
|
notifi_react_message_event: isSet4(object.notifi_react_message_event) ? NotifiReactMessageEvent.fromJSON(object.notifi_react_message_event) : void 0,
|
|
4569
4579
|
permission_role_channel_list_event: isSet4(object.permission_role_channel_list_event) ? PermissionRoleChannelListEvent.fromJSON(object.permission_role_channel_list_event) : void 0,
|
|
4570
|
-
notification_channel_category_setting_event: isSet4(object.notification_channel_category_setting_event) ? NotificationChannelCategorySettingEvent.fromJSON(object.notification_channel_category_setting_event) : void 0
|
|
4580
|
+
notification_channel_category_setting_event: isSet4(object.notification_channel_category_setting_event) ? NotificationChannelCategorySettingEvent.fromJSON(object.notification_channel_category_setting_event) : void 0,
|
|
4581
|
+
add_clan_user_event: isSet4(object.add_clan_user_event) ? AddClanUserEvent.fromJSON(object.add_clan_user_event) : void 0
|
|
4571
4582
|
};
|
|
4572
4583
|
},
|
|
4573
4584
|
toJSON(message) {
|
|
@@ -4738,6 +4749,9 @@ var Envelope = {
|
|
|
4738
4749
|
message.notification_channel_category_setting_event
|
|
4739
4750
|
);
|
|
4740
4751
|
}
|
|
4752
|
+
if (message.add_clan_user_event !== void 0) {
|
|
4753
|
+
obj.add_clan_user_event = AddClanUserEvent.toJSON(message.add_clan_user_event);
|
|
4754
|
+
}
|
|
4741
4755
|
return obj;
|
|
4742
4756
|
},
|
|
4743
4757
|
create(base) {
|
|
@@ -4798,6 +4812,74 @@ var Envelope = {
|
|
|
4798
4812
|
message.notifi_react_message_event = object.notifi_react_message_event !== void 0 && object.notifi_react_message_event !== null ? NotifiReactMessageEvent.fromPartial(object.notifi_react_message_event) : void 0;
|
|
4799
4813
|
message.permission_role_channel_list_event = object.permission_role_channel_list_event !== void 0 && object.permission_role_channel_list_event !== null ? PermissionRoleChannelListEvent.fromPartial(object.permission_role_channel_list_event) : void 0;
|
|
4800
4814
|
message.notification_channel_category_setting_event = object.notification_channel_category_setting_event !== void 0 && object.notification_channel_category_setting_event !== null ? NotificationChannelCategorySettingEvent.fromPartial(object.notification_channel_category_setting_event) : void 0;
|
|
4815
|
+
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;
|
|
4816
|
+
return message;
|
|
4817
|
+
}
|
|
4818
|
+
};
|
|
4819
|
+
function createBaseAddClanUserEvent() {
|
|
4820
|
+
return { clan_id: "", user_id: "" };
|
|
4821
|
+
}
|
|
4822
|
+
var AddClanUserEvent = {
|
|
4823
|
+
encode(message, writer = import_minimal4.default.Writer.create()) {
|
|
4824
|
+
if (message.clan_id !== "") {
|
|
4825
|
+
writer.uint32(10).string(message.clan_id);
|
|
4826
|
+
}
|
|
4827
|
+
if (message.user_id !== "") {
|
|
4828
|
+
writer.uint32(18).string(message.user_id);
|
|
4829
|
+
}
|
|
4830
|
+
return writer;
|
|
4831
|
+
},
|
|
4832
|
+
decode(input, length) {
|
|
4833
|
+
const reader = input instanceof import_minimal4.default.Reader ? input : import_minimal4.default.Reader.create(input);
|
|
4834
|
+
let end = length === void 0 ? reader.len : reader.pos + length;
|
|
4835
|
+
const message = createBaseAddClanUserEvent();
|
|
4836
|
+
while (reader.pos < end) {
|
|
4837
|
+
const tag = reader.uint32();
|
|
4838
|
+
switch (tag >>> 3) {
|
|
4839
|
+
case 1:
|
|
4840
|
+
if (tag !== 10) {
|
|
4841
|
+
break;
|
|
4842
|
+
}
|
|
4843
|
+
message.clan_id = reader.string();
|
|
4844
|
+
continue;
|
|
4845
|
+
case 2:
|
|
4846
|
+
if (tag !== 18) {
|
|
4847
|
+
break;
|
|
4848
|
+
}
|
|
4849
|
+
message.user_id = reader.string();
|
|
4850
|
+
continue;
|
|
4851
|
+
}
|
|
4852
|
+
if ((tag & 7) === 4 || tag === 0) {
|
|
4853
|
+
break;
|
|
4854
|
+
}
|
|
4855
|
+
reader.skipType(tag & 7);
|
|
4856
|
+
}
|
|
4857
|
+
return message;
|
|
4858
|
+
},
|
|
4859
|
+
fromJSON(object) {
|
|
4860
|
+
return {
|
|
4861
|
+
clan_id: isSet4(object.clan_id) ? globalThis.String(object.clan_id) : "",
|
|
4862
|
+
user_id: isSet4(object.user_id) ? globalThis.String(object.user_id) : ""
|
|
4863
|
+
};
|
|
4864
|
+
},
|
|
4865
|
+
toJSON(message) {
|
|
4866
|
+
const obj = {};
|
|
4867
|
+
if (message.clan_id !== "") {
|
|
4868
|
+
obj.clan_id = message.clan_id;
|
|
4869
|
+
}
|
|
4870
|
+
if (message.user_id !== "") {
|
|
4871
|
+
obj.user_id = message.user_id;
|
|
4872
|
+
}
|
|
4873
|
+
return obj;
|
|
4874
|
+
},
|
|
4875
|
+
create(base) {
|
|
4876
|
+
return AddClanUserEvent.fromPartial(base != null ? base : {});
|
|
4877
|
+
},
|
|
4878
|
+
fromPartial(object) {
|
|
4879
|
+
var _a, _b;
|
|
4880
|
+
const message = createBaseAddClanUserEvent();
|
|
4881
|
+
message.clan_id = (_a = object.clan_id) != null ? _a : "";
|
|
4882
|
+
message.user_id = (_b = object.user_id) != null ? _b : "";
|
|
4801
4883
|
return message;
|
|
4802
4884
|
}
|
|
4803
4885
|
};
|
|
@@ -4002,7 +4002,8 @@ function createBaseEnvelope() {
|
|
|
4002
4002
|
notification_clan_setting_event: void 0,
|
|
4003
4003
|
notifi_react_message_event: void 0,
|
|
4004
4004
|
permission_role_channel_list_event: void 0,
|
|
4005
|
-
notification_channel_category_setting_event: void 0
|
|
4005
|
+
notification_channel_category_setting_event: void 0,
|
|
4006
|
+
add_clan_user_event: void 0
|
|
4006
4007
|
};
|
|
4007
4008
|
}
|
|
4008
4009
|
var Envelope = {
|
|
@@ -4166,6 +4167,9 @@ var Envelope = {
|
|
|
4166
4167
|
writer.uint32(418).fork()
|
|
4167
4168
|
).ldelim();
|
|
4168
4169
|
}
|
|
4170
|
+
if (message.add_clan_user_event !== void 0) {
|
|
4171
|
+
AddClanUserEvent.encode(message.add_clan_user_event, writer.uint32(426).fork()).ldelim();
|
|
4172
|
+
}
|
|
4169
4173
|
return writer;
|
|
4170
4174
|
},
|
|
4171
4175
|
decode(input, length) {
|
|
@@ -4493,6 +4497,12 @@ var Envelope = {
|
|
|
4493
4497
|
reader.uint32()
|
|
4494
4498
|
);
|
|
4495
4499
|
continue;
|
|
4500
|
+
case 53:
|
|
4501
|
+
if (tag !== 426) {
|
|
4502
|
+
break;
|
|
4503
|
+
}
|
|
4504
|
+
message.add_clan_user_event = AddClanUserEvent.decode(reader, reader.uint32());
|
|
4505
|
+
continue;
|
|
4496
4506
|
}
|
|
4497
4507
|
if ((tag & 7) === 4 || tag === 0) {
|
|
4498
4508
|
break;
|
|
@@ -4554,7 +4564,8 @@ var Envelope = {
|
|
|
4554
4564
|
notification_clan_setting_event: isSet4(object.notification_clan_setting_event) ? NotificationClanSettingEvent.fromJSON(object.notification_clan_setting_event) : void 0,
|
|
4555
4565
|
notifi_react_message_event: isSet4(object.notifi_react_message_event) ? NotifiReactMessageEvent.fromJSON(object.notifi_react_message_event) : void 0,
|
|
4556
4566
|
permission_role_channel_list_event: isSet4(object.permission_role_channel_list_event) ? PermissionRoleChannelListEvent.fromJSON(object.permission_role_channel_list_event) : void 0,
|
|
4557
|
-
notification_channel_category_setting_event: isSet4(object.notification_channel_category_setting_event) ? NotificationChannelCategorySettingEvent.fromJSON(object.notification_channel_category_setting_event) : void 0
|
|
4567
|
+
notification_channel_category_setting_event: isSet4(object.notification_channel_category_setting_event) ? NotificationChannelCategorySettingEvent.fromJSON(object.notification_channel_category_setting_event) : void 0,
|
|
4568
|
+
add_clan_user_event: isSet4(object.add_clan_user_event) ? AddClanUserEvent.fromJSON(object.add_clan_user_event) : void 0
|
|
4558
4569
|
};
|
|
4559
4570
|
},
|
|
4560
4571
|
toJSON(message) {
|
|
@@ -4725,6 +4736,9 @@ var Envelope = {
|
|
|
4725
4736
|
message.notification_channel_category_setting_event
|
|
4726
4737
|
);
|
|
4727
4738
|
}
|
|
4739
|
+
if (message.add_clan_user_event !== void 0) {
|
|
4740
|
+
obj.add_clan_user_event = AddClanUserEvent.toJSON(message.add_clan_user_event);
|
|
4741
|
+
}
|
|
4728
4742
|
return obj;
|
|
4729
4743
|
},
|
|
4730
4744
|
create(base) {
|
|
@@ -4785,6 +4799,74 @@ var Envelope = {
|
|
|
4785
4799
|
message.notifi_react_message_event = object.notifi_react_message_event !== void 0 && object.notifi_react_message_event !== null ? NotifiReactMessageEvent.fromPartial(object.notifi_react_message_event) : void 0;
|
|
4786
4800
|
message.permission_role_channel_list_event = object.permission_role_channel_list_event !== void 0 && object.permission_role_channel_list_event !== null ? PermissionRoleChannelListEvent.fromPartial(object.permission_role_channel_list_event) : void 0;
|
|
4787
4801
|
message.notification_channel_category_setting_event = object.notification_channel_category_setting_event !== void 0 && object.notification_channel_category_setting_event !== null ? NotificationChannelCategorySettingEvent.fromPartial(object.notification_channel_category_setting_event) : void 0;
|
|
4802
|
+
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;
|
|
4803
|
+
return message;
|
|
4804
|
+
}
|
|
4805
|
+
};
|
|
4806
|
+
function createBaseAddClanUserEvent() {
|
|
4807
|
+
return { clan_id: "", user_id: "" };
|
|
4808
|
+
}
|
|
4809
|
+
var AddClanUserEvent = {
|
|
4810
|
+
encode(message, writer = import_minimal4.default.Writer.create()) {
|
|
4811
|
+
if (message.clan_id !== "") {
|
|
4812
|
+
writer.uint32(10).string(message.clan_id);
|
|
4813
|
+
}
|
|
4814
|
+
if (message.user_id !== "") {
|
|
4815
|
+
writer.uint32(18).string(message.user_id);
|
|
4816
|
+
}
|
|
4817
|
+
return writer;
|
|
4818
|
+
},
|
|
4819
|
+
decode(input, length) {
|
|
4820
|
+
const reader = input instanceof import_minimal4.default.Reader ? input : import_minimal4.default.Reader.create(input);
|
|
4821
|
+
let end = length === void 0 ? reader.len : reader.pos + length;
|
|
4822
|
+
const message = createBaseAddClanUserEvent();
|
|
4823
|
+
while (reader.pos < end) {
|
|
4824
|
+
const tag = reader.uint32();
|
|
4825
|
+
switch (tag >>> 3) {
|
|
4826
|
+
case 1:
|
|
4827
|
+
if (tag !== 10) {
|
|
4828
|
+
break;
|
|
4829
|
+
}
|
|
4830
|
+
message.clan_id = reader.string();
|
|
4831
|
+
continue;
|
|
4832
|
+
case 2:
|
|
4833
|
+
if (tag !== 18) {
|
|
4834
|
+
break;
|
|
4835
|
+
}
|
|
4836
|
+
message.user_id = reader.string();
|
|
4837
|
+
continue;
|
|
4838
|
+
}
|
|
4839
|
+
if ((tag & 7) === 4 || tag === 0) {
|
|
4840
|
+
break;
|
|
4841
|
+
}
|
|
4842
|
+
reader.skipType(tag & 7);
|
|
4843
|
+
}
|
|
4844
|
+
return message;
|
|
4845
|
+
},
|
|
4846
|
+
fromJSON(object) {
|
|
4847
|
+
return {
|
|
4848
|
+
clan_id: isSet4(object.clan_id) ? globalThis.String(object.clan_id) : "",
|
|
4849
|
+
user_id: isSet4(object.user_id) ? globalThis.String(object.user_id) : ""
|
|
4850
|
+
};
|
|
4851
|
+
},
|
|
4852
|
+
toJSON(message) {
|
|
4853
|
+
const obj = {};
|
|
4854
|
+
if (message.clan_id !== "") {
|
|
4855
|
+
obj.clan_id = message.clan_id;
|
|
4856
|
+
}
|
|
4857
|
+
if (message.user_id !== "") {
|
|
4858
|
+
obj.user_id = message.user_id;
|
|
4859
|
+
}
|
|
4860
|
+
return obj;
|
|
4861
|
+
},
|
|
4862
|
+
create(base) {
|
|
4863
|
+
return AddClanUserEvent.fromPartial(base != null ? base : {});
|
|
4864
|
+
},
|
|
4865
|
+
fromPartial(object) {
|
|
4866
|
+
var _a, _b;
|
|
4867
|
+
const message = createBaseAddClanUserEvent();
|
|
4868
|
+
message.clan_id = (_a = object.clan_id) != null ? _a : "";
|
|
4869
|
+
message.user_id = (_b = object.user_id) != null ? _b : "";
|
|
4788
4870
|
return message;
|
|
4789
4871
|
}
|
|
4790
4872
|
};
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "mezon-js-protobuf",
|
|
3
|
-
"version": "1.5.
|
|
3
|
+
"version": "1.5.23",
|
|
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
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
// Code generated by protoc-gen-ts_proto. DO NOT EDIT.
|
|
2
2
|
// versions:
|
|
3
|
-
// protoc-gen-ts_proto v1.181.
|
|
4
|
-
// protoc v5.27.
|
|
3
|
+
// protoc-gen-ts_proto v1.181.1
|
|
4
|
+
// protoc v5.27.2
|
|
5
5
|
// source: rtapi/realtime.proto
|
|
6
6
|
|
|
7
7
|
/* eslint-disable */
|
|
@@ -226,7 +226,18 @@ export interface Envelope {
|
|
|
226
226
|
| PermissionRoleChannelListEvent
|
|
227
227
|
| undefined;
|
|
228
228
|
/** */
|
|
229
|
-
notification_channel_category_setting_event?:
|
|
229
|
+
notification_channel_category_setting_event?:
|
|
230
|
+
| NotificationChannelCategorySettingEvent
|
|
231
|
+
| undefined;
|
|
232
|
+
/** user join clan */
|
|
233
|
+
add_clan_user_event?: AddClanUserEvent | undefined;
|
|
234
|
+
}
|
|
235
|
+
|
|
236
|
+
export interface AddClanUserEvent {
|
|
237
|
+
/** the clan id */
|
|
238
|
+
clan_id: string;
|
|
239
|
+
/** the user id */
|
|
240
|
+
user_id: string;
|
|
230
241
|
}
|
|
231
242
|
|
|
232
243
|
/** A list of permission role channel. */
|
|
@@ -1075,6 +1086,7 @@ function createBaseEnvelope(): Envelope {
|
|
|
1075
1086
|
notifi_react_message_event: undefined,
|
|
1076
1087
|
permission_role_channel_list_event: undefined,
|
|
1077
1088
|
notification_channel_category_setting_event: undefined,
|
|
1089
|
+
add_clan_user_event: undefined,
|
|
1078
1090
|
};
|
|
1079
1091
|
}
|
|
1080
1092
|
|
|
@@ -1242,6 +1254,9 @@ export const Envelope = {
|
|
|
1242
1254
|
writer.uint32(418).fork(),
|
|
1243
1255
|
).ldelim();
|
|
1244
1256
|
}
|
|
1257
|
+
if (message.add_clan_user_event !== undefined) {
|
|
1258
|
+
AddClanUserEvent.encode(message.add_clan_user_event, writer.uint32(426).fork()).ldelim();
|
|
1259
|
+
}
|
|
1245
1260
|
return writer;
|
|
1246
1261
|
},
|
|
1247
1262
|
|
|
@@ -1622,6 +1637,13 @@ export const Envelope = {
|
|
|
1622
1637
|
reader.uint32(),
|
|
1623
1638
|
);
|
|
1624
1639
|
continue;
|
|
1640
|
+
case 53:
|
|
1641
|
+
if (tag !== 426) {
|
|
1642
|
+
break;
|
|
1643
|
+
}
|
|
1644
|
+
|
|
1645
|
+
message.add_clan_user_event = AddClanUserEvent.decode(reader, reader.uint32());
|
|
1646
|
+
continue;
|
|
1625
1647
|
}
|
|
1626
1648
|
if ((tag & 7) === 4 || tag === 0) {
|
|
1627
1649
|
break;
|
|
@@ -1757,6 +1779,9 @@ export const Envelope = {
|
|
|
1757
1779
|
notification_channel_category_setting_event: isSet(object.notification_channel_category_setting_event)
|
|
1758
1780
|
? NotificationChannelCategorySettingEvent.fromJSON(object.notification_channel_category_setting_event)
|
|
1759
1781
|
: undefined,
|
|
1782
|
+
add_clan_user_event: isSet(object.add_clan_user_event)
|
|
1783
|
+
? AddClanUserEvent.fromJSON(object.add_clan_user_event)
|
|
1784
|
+
: undefined,
|
|
1760
1785
|
};
|
|
1761
1786
|
},
|
|
1762
1787
|
|
|
@@ -1928,6 +1953,9 @@ export const Envelope = {
|
|
|
1928
1953
|
message.notification_channel_category_setting_event,
|
|
1929
1954
|
);
|
|
1930
1955
|
}
|
|
1956
|
+
if (message.add_clan_user_event !== undefined) {
|
|
1957
|
+
obj.add_clan_user_event = AddClanUserEvent.toJSON(message.add_clan_user_event);
|
|
1958
|
+
}
|
|
1931
1959
|
return obj;
|
|
1932
1960
|
},
|
|
1933
1961
|
|
|
@@ -2108,6 +2136,83 @@ export const Envelope = {
|
|
|
2108
2136
|
object.notification_channel_category_setting_event !== null)
|
|
2109
2137
|
? NotificationChannelCategorySettingEvent.fromPartial(object.notification_channel_category_setting_event)
|
|
2110
2138
|
: undefined;
|
|
2139
|
+
message.add_clan_user_event = (object.add_clan_user_event !== undefined && object.add_clan_user_event !== null)
|
|
2140
|
+
? AddClanUserEvent.fromPartial(object.add_clan_user_event)
|
|
2141
|
+
: undefined;
|
|
2142
|
+
return message;
|
|
2143
|
+
},
|
|
2144
|
+
};
|
|
2145
|
+
|
|
2146
|
+
function createBaseAddClanUserEvent(): AddClanUserEvent {
|
|
2147
|
+
return { clan_id: "", user_id: "" };
|
|
2148
|
+
}
|
|
2149
|
+
|
|
2150
|
+
export const AddClanUserEvent = {
|
|
2151
|
+
encode(message: AddClanUserEvent, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer {
|
|
2152
|
+
if (message.clan_id !== "") {
|
|
2153
|
+
writer.uint32(10).string(message.clan_id);
|
|
2154
|
+
}
|
|
2155
|
+
if (message.user_id !== "") {
|
|
2156
|
+
writer.uint32(18).string(message.user_id);
|
|
2157
|
+
}
|
|
2158
|
+
return writer;
|
|
2159
|
+
},
|
|
2160
|
+
|
|
2161
|
+
decode(input: _m0.Reader | Uint8Array, length?: number): AddClanUserEvent {
|
|
2162
|
+
const reader = input instanceof _m0.Reader ? input : _m0.Reader.create(input);
|
|
2163
|
+
let end = length === undefined ? reader.len : reader.pos + length;
|
|
2164
|
+
const message = createBaseAddClanUserEvent();
|
|
2165
|
+
while (reader.pos < end) {
|
|
2166
|
+
const tag = reader.uint32();
|
|
2167
|
+
switch (tag >>> 3) {
|
|
2168
|
+
case 1:
|
|
2169
|
+
if (tag !== 10) {
|
|
2170
|
+
break;
|
|
2171
|
+
}
|
|
2172
|
+
|
|
2173
|
+
message.clan_id = reader.string();
|
|
2174
|
+
continue;
|
|
2175
|
+
case 2:
|
|
2176
|
+
if (tag !== 18) {
|
|
2177
|
+
break;
|
|
2178
|
+
}
|
|
2179
|
+
|
|
2180
|
+
message.user_id = reader.string();
|
|
2181
|
+
continue;
|
|
2182
|
+
}
|
|
2183
|
+
if ((tag & 7) === 4 || tag === 0) {
|
|
2184
|
+
break;
|
|
2185
|
+
}
|
|
2186
|
+
reader.skipType(tag & 7);
|
|
2187
|
+
}
|
|
2188
|
+
return message;
|
|
2189
|
+
},
|
|
2190
|
+
|
|
2191
|
+
fromJSON(object: any): AddClanUserEvent {
|
|
2192
|
+
return {
|
|
2193
|
+
clan_id: isSet(object.clan_id) ? globalThis.String(object.clan_id) : "",
|
|
2194
|
+
user_id: isSet(object.user_id) ? globalThis.String(object.user_id) : "",
|
|
2195
|
+
};
|
|
2196
|
+
},
|
|
2197
|
+
|
|
2198
|
+
toJSON(message: AddClanUserEvent): unknown {
|
|
2199
|
+
const obj: any = {};
|
|
2200
|
+
if (message.clan_id !== "") {
|
|
2201
|
+
obj.clan_id = message.clan_id;
|
|
2202
|
+
}
|
|
2203
|
+
if (message.user_id !== "") {
|
|
2204
|
+
obj.user_id = message.user_id;
|
|
2205
|
+
}
|
|
2206
|
+
return obj;
|
|
2207
|
+
},
|
|
2208
|
+
|
|
2209
|
+
create<I extends Exact<DeepPartial<AddClanUserEvent>, I>>(base?: I): AddClanUserEvent {
|
|
2210
|
+
return AddClanUserEvent.fromPartial(base ?? ({} as any));
|
|
2211
|
+
},
|
|
2212
|
+
fromPartial<I extends Exact<DeepPartial<AddClanUserEvent>, I>>(object: I): AddClanUserEvent {
|
|
2213
|
+
const message = createBaseAddClanUserEvent();
|
|
2214
|
+
message.clan_id = object.clan_id ?? "";
|
|
2215
|
+
message.user_id = object.user_id ?? "";
|
|
2111
2216
|
return message;
|
|
2112
2217
|
},
|
|
2113
2218
|
};
|