mezon-js-protobuf 1.7.47 → 1.7.48
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.
|
@@ -203,6 +203,8 @@ export interface AddClanUserEvent {
|
|
|
203
203
|
clan_id: string;
|
|
204
204
|
/** the user */
|
|
205
205
|
user: UserProfileRedis | undefined;
|
|
206
|
+
/** inviter */
|
|
207
|
+
invitor: string;
|
|
206
208
|
}
|
|
207
209
|
/** On role assign */
|
|
208
210
|
export interface RoleAssignedEvent {
|
|
@@ -962,6 +964,8 @@ export interface UserProfileRedis {
|
|
|
962
964
|
app_token: string;
|
|
963
965
|
/** app url */
|
|
964
966
|
app_url: string;
|
|
967
|
+
/** is bot */
|
|
968
|
+
is_bot: boolean;
|
|
965
969
|
}
|
|
966
970
|
export interface FCMTokens {
|
|
967
971
|
/** deviceID to follow. */
|
|
@@ -1645,6 +1649,7 @@ export declare const Envelope: {
|
|
|
1645
1649
|
mezon_id?: string | undefined;
|
|
1646
1650
|
app_token?: string | undefined;
|
|
1647
1651
|
app_url?: string | undefined;
|
|
1652
|
+
is_bot?: boolean | undefined;
|
|
1648
1653
|
}[] | undefined;
|
|
1649
1654
|
status?: string | undefined;
|
|
1650
1655
|
clan_id?: string | undefined;
|
|
@@ -1669,6 +1674,7 @@ export declare const Envelope: {
|
|
|
1669
1674
|
mezon_id?: string | undefined;
|
|
1670
1675
|
app_token?: string | undefined;
|
|
1671
1676
|
app_url?: string | undefined;
|
|
1677
|
+
is_bot?: boolean | undefined;
|
|
1672
1678
|
} | undefined;
|
|
1673
1679
|
create_time_second?: number | undefined;
|
|
1674
1680
|
active?: number | undefined;
|
|
@@ -1737,7 +1743,9 @@ export declare const Envelope: {
|
|
|
1737
1743
|
mezon_id?: string | undefined;
|
|
1738
1744
|
app_token?: string | undefined;
|
|
1739
1745
|
app_url?: string | undefined;
|
|
1746
|
+
is_bot?: boolean | undefined;
|
|
1740
1747
|
} | undefined;
|
|
1748
|
+
invitor?: string | undefined;
|
|
1741
1749
|
} | undefined;
|
|
1742
1750
|
clan_event_created?: {
|
|
1743
1751
|
title?: string | undefined;
|
|
@@ -3704,6 +3712,7 @@ export declare const Envelope: {
|
|
|
3704
3712
|
mezon_id?: string | undefined;
|
|
3705
3713
|
app_token?: string | undefined;
|
|
3706
3714
|
app_url?: string | undefined;
|
|
3715
|
+
is_bot?: boolean | undefined;
|
|
3707
3716
|
}[] | undefined;
|
|
3708
3717
|
status?: string | undefined;
|
|
3709
3718
|
clan_id?: string | undefined;
|
|
@@ -3728,6 +3737,7 @@ export declare const Envelope: {
|
|
|
3728
3737
|
mezon_id?: string | undefined;
|
|
3729
3738
|
app_token?: string | undefined;
|
|
3730
3739
|
app_url?: string | undefined;
|
|
3740
|
+
is_bot?: boolean | undefined;
|
|
3731
3741
|
} | undefined;
|
|
3732
3742
|
create_time_second?: number | undefined;
|
|
3733
3743
|
active?: number | undefined;
|
|
@@ -3878,6 +3888,7 @@ export declare const Envelope: {
|
|
|
3878
3888
|
mezon_id?: string | undefined;
|
|
3879
3889
|
app_token?: string | undefined;
|
|
3880
3890
|
app_url?: string | undefined;
|
|
3891
|
+
is_bot?: boolean | undefined;
|
|
3881
3892
|
}[] & ({
|
|
3882
3893
|
user_id?: string | undefined;
|
|
3883
3894
|
username?: string | undefined;
|
|
@@ -3899,6 +3910,7 @@ export declare const Envelope: {
|
|
|
3899
3910
|
mezon_id?: string | undefined;
|
|
3900
3911
|
app_token?: string | undefined;
|
|
3901
3912
|
app_url?: string | undefined;
|
|
3913
|
+
is_bot?: boolean | undefined;
|
|
3902
3914
|
} & {
|
|
3903
3915
|
user_id?: string | undefined;
|
|
3904
3916
|
username?: string | undefined;
|
|
@@ -3932,6 +3944,7 @@ export declare const Envelope: {
|
|
|
3932
3944
|
mezon_id?: string | undefined;
|
|
3933
3945
|
app_token?: string | undefined;
|
|
3934
3946
|
app_url?: string | undefined;
|
|
3947
|
+
is_bot?: boolean | undefined;
|
|
3935
3948
|
} & { [K_97 in Exclude<keyof I["user_channel_added_event"]["users"][number], keyof UserProfileRedis>]: never; })[] & { [K_98 in Exclude<keyof I["user_channel_added_event"]["users"], keyof {
|
|
3936
3949
|
user_id?: string | undefined;
|
|
3937
3950
|
username?: string | undefined;
|
|
@@ -3953,6 +3966,7 @@ export declare const Envelope: {
|
|
|
3953
3966
|
mezon_id?: string | undefined;
|
|
3954
3967
|
app_token?: string | undefined;
|
|
3955
3968
|
app_url?: string | undefined;
|
|
3969
|
+
is_bot?: boolean | undefined;
|
|
3956
3970
|
}[]>]: never; }) | undefined;
|
|
3957
3971
|
status?: string | undefined;
|
|
3958
3972
|
clan_id?: string | undefined;
|
|
@@ -3977,6 +3991,7 @@ export declare const Envelope: {
|
|
|
3977
3991
|
mezon_id?: string | undefined;
|
|
3978
3992
|
app_token?: string | undefined;
|
|
3979
3993
|
app_url?: string | undefined;
|
|
3994
|
+
is_bot?: boolean | undefined;
|
|
3980
3995
|
} & {
|
|
3981
3996
|
user_id?: string | undefined;
|
|
3982
3997
|
username?: string | undefined;
|
|
@@ -4010,6 +4025,7 @@ export declare const Envelope: {
|
|
|
4010
4025
|
mezon_id?: string | undefined;
|
|
4011
4026
|
app_token?: string | undefined;
|
|
4012
4027
|
app_url?: string | undefined;
|
|
4028
|
+
is_bot?: boolean | undefined;
|
|
4013
4029
|
} & { [K_102 in Exclude<keyof I["user_channel_added_event"]["caller"], keyof UserProfileRedis>]: never; }) | undefined;
|
|
4014
4030
|
create_time_second?: number | undefined;
|
|
4015
4031
|
active?: number | undefined;
|
|
@@ -4113,7 +4129,9 @@ export declare const Envelope: {
|
|
|
4113
4129
|
mezon_id?: string | undefined;
|
|
4114
4130
|
app_token?: string | undefined;
|
|
4115
4131
|
app_url?: string | undefined;
|
|
4132
|
+
is_bot?: boolean | undefined;
|
|
4116
4133
|
} | undefined;
|
|
4134
|
+
invitor?: string | undefined;
|
|
4117
4135
|
} & {
|
|
4118
4136
|
clan_id?: string | undefined;
|
|
4119
4137
|
user?: ({
|
|
@@ -4137,6 +4155,7 @@ export declare const Envelope: {
|
|
|
4137
4155
|
mezon_id?: string | undefined;
|
|
4138
4156
|
app_token?: string | undefined;
|
|
4139
4157
|
app_url?: string | undefined;
|
|
4158
|
+
is_bot?: boolean | undefined;
|
|
4140
4159
|
} & {
|
|
4141
4160
|
user_id?: string | undefined;
|
|
4142
4161
|
username?: string | undefined;
|
|
@@ -4170,7 +4189,9 @@ export declare const Envelope: {
|
|
|
4170
4189
|
mezon_id?: string | undefined;
|
|
4171
4190
|
app_token?: string | undefined;
|
|
4172
4191
|
app_url?: string | undefined;
|
|
4192
|
+
is_bot?: boolean | undefined;
|
|
4173
4193
|
} & { [K_115 in Exclude<keyof I["add_clan_user_event"]["user"], keyof UserProfileRedis>]: never; }) | undefined;
|
|
4194
|
+
invitor?: string | undefined;
|
|
4174
4195
|
} & { [K_116 in Exclude<keyof I["add_clan_user_event"], keyof AddClanUserEvent>]: never; }) | undefined;
|
|
4175
4196
|
clan_event_created?: ({
|
|
4176
4197
|
title?: string | undefined;
|
|
@@ -5616,6 +5637,7 @@ export declare const Envelope: {
|
|
|
5616
5637
|
mezon_id?: string | undefined;
|
|
5617
5638
|
app_token?: string | undefined;
|
|
5618
5639
|
app_url?: string | undefined;
|
|
5640
|
+
is_bot?: boolean | undefined;
|
|
5619
5641
|
}[] | undefined;
|
|
5620
5642
|
status?: string | undefined;
|
|
5621
5643
|
clan_id?: string | undefined;
|
|
@@ -5640,6 +5662,7 @@ export declare const Envelope: {
|
|
|
5640
5662
|
mezon_id?: string | undefined;
|
|
5641
5663
|
app_token?: string | undefined;
|
|
5642
5664
|
app_url?: string | undefined;
|
|
5665
|
+
is_bot?: boolean | undefined;
|
|
5643
5666
|
} | undefined;
|
|
5644
5667
|
create_time_second?: number | undefined;
|
|
5645
5668
|
active?: number | undefined;
|
|
@@ -5708,7 +5731,9 @@ export declare const Envelope: {
|
|
|
5708
5731
|
mezon_id?: string | undefined;
|
|
5709
5732
|
app_token?: string | undefined;
|
|
5710
5733
|
app_url?: string | undefined;
|
|
5734
|
+
is_bot?: boolean | undefined;
|
|
5711
5735
|
} | undefined;
|
|
5736
|
+
invitor?: string | undefined;
|
|
5712
5737
|
} | undefined;
|
|
5713
5738
|
clan_event_created?: {
|
|
5714
5739
|
title?: string | undefined;
|
|
@@ -7675,6 +7700,7 @@ export declare const Envelope: {
|
|
|
7675
7700
|
mezon_id?: string | undefined;
|
|
7676
7701
|
app_token?: string | undefined;
|
|
7677
7702
|
app_url?: string | undefined;
|
|
7703
|
+
is_bot?: boolean | undefined;
|
|
7678
7704
|
}[] | undefined;
|
|
7679
7705
|
status?: string | undefined;
|
|
7680
7706
|
clan_id?: string | undefined;
|
|
@@ -7699,6 +7725,7 @@ export declare const Envelope: {
|
|
|
7699
7725
|
mezon_id?: string | undefined;
|
|
7700
7726
|
app_token?: string | undefined;
|
|
7701
7727
|
app_url?: string | undefined;
|
|
7728
|
+
is_bot?: boolean | undefined;
|
|
7702
7729
|
} | undefined;
|
|
7703
7730
|
create_time_second?: number | undefined;
|
|
7704
7731
|
active?: number | undefined;
|
|
@@ -7849,6 +7876,7 @@ export declare const Envelope: {
|
|
|
7849
7876
|
mezon_id?: string | undefined;
|
|
7850
7877
|
app_token?: string | undefined;
|
|
7851
7878
|
app_url?: string | undefined;
|
|
7879
|
+
is_bot?: boolean | undefined;
|
|
7852
7880
|
}[] & ({
|
|
7853
7881
|
user_id?: string | undefined;
|
|
7854
7882
|
username?: string | undefined;
|
|
@@ -7870,6 +7898,7 @@ export declare const Envelope: {
|
|
|
7870
7898
|
mezon_id?: string | undefined;
|
|
7871
7899
|
app_token?: string | undefined;
|
|
7872
7900
|
app_url?: string | undefined;
|
|
7901
|
+
is_bot?: boolean | undefined;
|
|
7873
7902
|
} & {
|
|
7874
7903
|
user_id?: string | undefined;
|
|
7875
7904
|
username?: string | undefined;
|
|
@@ -7903,6 +7932,7 @@ export declare const Envelope: {
|
|
|
7903
7932
|
mezon_id?: string | undefined;
|
|
7904
7933
|
app_token?: string | undefined;
|
|
7905
7934
|
app_url?: string | undefined;
|
|
7935
|
+
is_bot?: boolean | undefined;
|
|
7906
7936
|
} & { [K_279 in Exclude<keyof I_1["user_channel_added_event"]["users"][number], keyof UserProfileRedis>]: never; })[] & { [K_280 in Exclude<keyof I_1["user_channel_added_event"]["users"], keyof {
|
|
7907
7937
|
user_id?: string | undefined;
|
|
7908
7938
|
username?: string | undefined;
|
|
@@ -7924,6 +7954,7 @@ export declare const Envelope: {
|
|
|
7924
7954
|
mezon_id?: string | undefined;
|
|
7925
7955
|
app_token?: string | undefined;
|
|
7926
7956
|
app_url?: string | undefined;
|
|
7957
|
+
is_bot?: boolean | undefined;
|
|
7927
7958
|
}[]>]: never; }) | undefined;
|
|
7928
7959
|
status?: string | undefined;
|
|
7929
7960
|
clan_id?: string | undefined;
|
|
@@ -7948,6 +7979,7 @@ export declare const Envelope: {
|
|
|
7948
7979
|
mezon_id?: string | undefined;
|
|
7949
7980
|
app_token?: string | undefined;
|
|
7950
7981
|
app_url?: string | undefined;
|
|
7982
|
+
is_bot?: boolean | undefined;
|
|
7951
7983
|
} & {
|
|
7952
7984
|
user_id?: string | undefined;
|
|
7953
7985
|
username?: string | undefined;
|
|
@@ -7981,6 +8013,7 @@ export declare const Envelope: {
|
|
|
7981
8013
|
mezon_id?: string | undefined;
|
|
7982
8014
|
app_token?: string | undefined;
|
|
7983
8015
|
app_url?: string | undefined;
|
|
8016
|
+
is_bot?: boolean | undefined;
|
|
7984
8017
|
} & { [K_284 in Exclude<keyof I_1["user_channel_added_event"]["caller"], keyof UserProfileRedis>]: never; }) | undefined;
|
|
7985
8018
|
create_time_second?: number | undefined;
|
|
7986
8019
|
active?: number | undefined;
|
|
@@ -8084,7 +8117,9 @@ export declare const Envelope: {
|
|
|
8084
8117
|
mezon_id?: string | undefined;
|
|
8085
8118
|
app_token?: string | undefined;
|
|
8086
8119
|
app_url?: string | undefined;
|
|
8120
|
+
is_bot?: boolean | undefined;
|
|
8087
8121
|
} | undefined;
|
|
8122
|
+
invitor?: string | undefined;
|
|
8088
8123
|
} & {
|
|
8089
8124
|
clan_id?: string | undefined;
|
|
8090
8125
|
user?: ({
|
|
@@ -8108,6 +8143,7 @@ export declare const Envelope: {
|
|
|
8108
8143
|
mezon_id?: string | undefined;
|
|
8109
8144
|
app_token?: string | undefined;
|
|
8110
8145
|
app_url?: string | undefined;
|
|
8146
|
+
is_bot?: boolean | undefined;
|
|
8111
8147
|
} & {
|
|
8112
8148
|
user_id?: string | undefined;
|
|
8113
8149
|
username?: string | undefined;
|
|
@@ -8141,7 +8177,9 @@ export declare const Envelope: {
|
|
|
8141
8177
|
mezon_id?: string | undefined;
|
|
8142
8178
|
app_token?: string | undefined;
|
|
8143
8179
|
app_url?: string | undefined;
|
|
8180
|
+
is_bot?: boolean | undefined;
|
|
8144
8181
|
} & { [K_297 in Exclude<keyof I_1["add_clan_user_event"]["user"], keyof UserProfileRedis>]: never; }) | undefined;
|
|
8182
|
+
invitor?: string | undefined;
|
|
8145
8183
|
} & { [K_298 in Exclude<keyof I_1["add_clan_user_event"], keyof AddClanUserEvent>]: never; }) | undefined;
|
|
8146
8184
|
clan_event_created?: ({
|
|
8147
8185
|
title?: string | undefined;
|
|
@@ -9211,7 +9249,9 @@ export declare const AddClanUserEvent: {
|
|
|
9211
9249
|
mezon_id?: string | undefined;
|
|
9212
9250
|
app_token?: string | undefined;
|
|
9213
9251
|
app_url?: string | undefined;
|
|
9252
|
+
is_bot?: boolean | undefined;
|
|
9214
9253
|
} | undefined;
|
|
9254
|
+
invitor?: string | undefined;
|
|
9215
9255
|
} & {
|
|
9216
9256
|
clan_id?: string | undefined;
|
|
9217
9257
|
user?: ({
|
|
@@ -9235,6 +9275,7 @@ export declare const AddClanUserEvent: {
|
|
|
9235
9275
|
mezon_id?: string | undefined;
|
|
9236
9276
|
app_token?: string | undefined;
|
|
9237
9277
|
app_url?: string | undefined;
|
|
9278
|
+
is_bot?: boolean | undefined;
|
|
9238
9279
|
} & {
|
|
9239
9280
|
user_id?: string | undefined;
|
|
9240
9281
|
username?: string | undefined;
|
|
@@ -9268,7 +9309,9 @@ export declare const AddClanUserEvent: {
|
|
|
9268
9309
|
mezon_id?: string | undefined;
|
|
9269
9310
|
app_token?: string | undefined;
|
|
9270
9311
|
app_url?: string | undefined;
|
|
9312
|
+
is_bot?: boolean | undefined;
|
|
9271
9313
|
} & { [K_3 in Exclude<keyof I["user"], keyof UserProfileRedis>]: never; }) | undefined;
|
|
9314
|
+
invitor?: string | undefined;
|
|
9272
9315
|
} & { [K_4 in Exclude<keyof I, keyof AddClanUserEvent>]: never; }>(base?: I | undefined): AddClanUserEvent;
|
|
9273
9316
|
fromPartial<I_1 extends {
|
|
9274
9317
|
clan_id?: string | undefined;
|
|
@@ -9293,7 +9336,9 @@ export declare const AddClanUserEvent: {
|
|
|
9293
9336
|
mezon_id?: string | undefined;
|
|
9294
9337
|
app_token?: string | undefined;
|
|
9295
9338
|
app_url?: string | undefined;
|
|
9339
|
+
is_bot?: boolean | undefined;
|
|
9296
9340
|
} | undefined;
|
|
9341
|
+
invitor?: string | undefined;
|
|
9297
9342
|
} & {
|
|
9298
9343
|
clan_id?: string | undefined;
|
|
9299
9344
|
user?: ({
|
|
@@ -9317,6 +9362,7 @@ export declare const AddClanUserEvent: {
|
|
|
9317
9362
|
mezon_id?: string | undefined;
|
|
9318
9363
|
app_token?: string | undefined;
|
|
9319
9364
|
app_url?: string | undefined;
|
|
9365
|
+
is_bot?: boolean | undefined;
|
|
9320
9366
|
} & {
|
|
9321
9367
|
user_id?: string | undefined;
|
|
9322
9368
|
username?: string | undefined;
|
|
@@ -9350,7 +9396,9 @@ export declare const AddClanUserEvent: {
|
|
|
9350
9396
|
mezon_id?: string | undefined;
|
|
9351
9397
|
app_token?: string | undefined;
|
|
9352
9398
|
app_url?: string | undefined;
|
|
9399
|
+
is_bot?: boolean | undefined;
|
|
9353
9400
|
} & { [K_8 in Exclude<keyof I_1["user"], keyof UserProfileRedis>]: never; }) | undefined;
|
|
9401
|
+
invitor?: string | undefined;
|
|
9354
9402
|
} & { [K_9 in Exclude<keyof I_1, keyof AddClanUserEvent>]: never; }>(object: I_1): AddClanUserEvent;
|
|
9355
9403
|
};
|
|
9356
9404
|
export declare const RoleAssignedEvent: {
|
|
@@ -13517,6 +13565,7 @@ export declare const UserChannelAdded: {
|
|
|
13517
13565
|
mezon_id?: string | undefined;
|
|
13518
13566
|
app_token?: string | undefined;
|
|
13519
13567
|
app_url?: string | undefined;
|
|
13568
|
+
is_bot?: boolean | undefined;
|
|
13520
13569
|
}[] | undefined;
|
|
13521
13570
|
status?: string | undefined;
|
|
13522
13571
|
clan_id?: string | undefined;
|
|
@@ -13541,6 +13590,7 @@ export declare const UserChannelAdded: {
|
|
|
13541
13590
|
mezon_id?: string | undefined;
|
|
13542
13591
|
app_token?: string | undefined;
|
|
13543
13592
|
app_url?: string | undefined;
|
|
13593
|
+
is_bot?: boolean | undefined;
|
|
13544
13594
|
} | undefined;
|
|
13545
13595
|
create_time_second?: number | undefined;
|
|
13546
13596
|
active?: number | undefined;
|
|
@@ -13691,6 +13741,7 @@ export declare const UserChannelAdded: {
|
|
|
13691
13741
|
mezon_id?: string | undefined;
|
|
13692
13742
|
app_token?: string | undefined;
|
|
13693
13743
|
app_url?: string | undefined;
|
|
13744
|
+
is_bot?: boolean | undefined;
|
|
13694
13745
|
}[] & ({
|
|
13695
13746
|
user_id?: string | undefined;
|
|
13696
13747
|
username?: string | undefined;
|
|
@@ -13712,6 +13763,7 @@ export declare const UserChannelAdded: {
|
|
|
13712
13763
|
mezon_id?: string | undefined;
|
|
13713
13764
|
app_token?: string | undefined;
|
|
13714
13765
|
app_url?: string | undefined;
|
|
13766
|
+
is_bot?: boolean | undefined;
|
|
13715
13767
|
} & {
|
|
13716
13768
|
user_id?: string | undefined;
|
|
13717
13769
|
username?: string | undefined;
|
|
@@ -13745,6 +13797,7 @@ export declare const UserChannelAdded: {
|
|
|
13745
13797
|
mezon_id?: string | undefined;
|
|
13746
13798
|
app_token?: string | undefined;
|
|
13747
13799
|
app_url?: string | undefined;
|
|
13800
|
+
is_bot?: boolean | undefined;
|
|
13748
13801
|
} & { [K_15 in Exclude<keyof I["users"][number], keyof UserProfileRedis>]: never; })[] & { [K_16 in Exclude<keyof I["users"], keyof {
|
|
13749
13802
|
user_id?: string | undefined;
|
|
13750
13803
|
username?: string | undefined;
|
|
@@ -13766,6 +13819,7 @@ export declare const UserChannelAdded: {
|
|
|
13766
13819
|
mezon_id?: string | undefined;
|
|
13767
13820
|
app_token?: string | undefined;
|
|
13768
13821
|
app_url?: string | undefined;
|
|
13822
|
+
is_bot?: boolean | undefined;
|
|
13769
13823
|
}[]>]: never; }) | undefined;
|
|
13770
13824
|
status?: string | undefined;
|
|
13771
13825
|
clan_id?: string | undefined;
|
|
@@ -13790,6 +13844,7 @@ export declare const UserChannelAdded: {
|
|
|
13790
13844
|
mezon_id?: string | undefined;
|
|
13791
13845
|
app_token?: string | undefined;
|
|
13792
13846
|
app_url?: string | undefined;
|
|
13847
|
+
is_bot?: boolean | undefined;
|
|
13793
13848
|
} & {
|
|
13794
13849
|
user_id?: string | undefined;
|
|
13795
13850
|
username?: string | undefined;
|
|
@@ -13823,6 +13878,7 @@ export declare const UserChannelAdded: {
|
|
|
13823
13878
|
mezon_id?: string | undefined;
|
|
13824
13879
|
app_token?: string | undefined;
|
|
13825
13880
|
app_url?: string | undefined;
|
|
13881
|
+
is_bot?: boolean | undefined;
|
|
13826
13882
|
} & { [K_20 in Exclude<keyof I["caller"], keyof UserProfileRedis>]: never; }) | undefined;
|
|
13827
13883
|
create_time_second?: number | undefined;
|
|
13828
13884
|
active?: number | undefined;
|
|
@@ -13902,6 +13958,7 @@ export declare const UserChannelAdded: {
|
|
|
13902
13958
|
mezon_id?: string | undefined;
|
|
13903
13959
|
app_token?: string | undefined;
|
|
13904
13960
|
app_url?: string | undefined;
|
|
13961
|
+
is_bot?: boolean | undefined;
|
|
13905
13962
|
}[] | undefined;
|
|
13906
13963
|
status?: string | undefined;
|
|
13907
13964
|
clan_id?: string | undefined;
|
|
@@ -13926,6 +13983,7 @@ export declare const UserChannelAdded: {
|
|
|
13926
13983
|
mezon_id?: string | undefined;
|
|
13927
13984
|
app_token?: string | undefined;
|
|
13928
13985
|
app_url?: string | undefined;
|
|
13986
|
+
is_bot?: boolean | undefined;
|
|
13929
13987
|
} | undefined;
|
|
13930
13988
|
create_time_second?: number | undefined;
|
|
13931
13989
|
active?: number | undefined;
|
|
@@ -14076,6 +14134,7 @@ export declare const UserChannelAdded: {
|
|
|
14076
14134
|
mezon_id?: string | undefined;
|
|
14077
14135
|
app_token?: string | undefined;
|
|
14078
14136
|
app_url?: string | undefined;
|
|
14137
|
+
is_bot?: boolean | undefined;
|
|
14079
14138
|
}[] & ({
|
|
14080
14139
|
user_id?: string | undefined;
|
|
14081
14140
|
username?: string | undefined;
|
|
@@ -14097,6 +14156,7 @@ export declare const UserChannelAdded: {
|
|
|
14097
14156
|
mezon_id?: string | undefined;
|
|
14098
14157
|
app_token?: string | undefined;
|
|
14099
14158
|
app_url?: string | undefined;
|
|
14159
|
+
is_bot?: boolean | undefined;
|
|
14100
14160
|
} & {
|
|
14101
14161
|
user_id?: string | undefined;
|
|
14102
14162
|
username?: string | undefined;
|
|
@@ -14130,6 +14190,7 @@ export declare const UserChannelAdded: {
|
|
|
14130
14190
|
mezon_id?: string | undefined;
|
|
14131
14191
|
app_token?: string | undefined;
|
|
14132
14192
|
app_url?: string | undefined;
|
|
14193
|
+
is_bot?: boolean | undefined;
|
|
14133
14194
|
} & { [K_37 in Exclude<keyof I_1["users"][number], keyof UserProfileRedis>]: never; })[] & { [K_38 in Exclude<keyof I_1["users"], keyof {
|
|
14134
14195
|
user_id?: string | undefined;
|
|
14135
14196
|
username?: string | undefined;
|
|
@@ -14151,6 +14212,7 @@ export declare const UserChannelAdded: {
|
|
|
14151
14212
|
mezon_id?: string | undefined;
|
|
14152
14213
|
app_token?: string | undefined;
|
|
14153
14214
|
app_url?: string | undefined;
|
|
14215
|
+
is_bot?: boolean | undefined;
|
|
14154
14216
|
}[]>]: never; }) | undefined;
|
|
14155
14217
|
status?: string | undefined;
|
|
14156
14218
|
clan_id?: string | undefined;
|
|
@@ -14175,6 +14237,7 @@ export declare const UserChannelAdded: {
|
|
|
14175
14237
|
mezon_id?: string | undefined;
|
|
14176
14238
|
app_token?: string | undefined;
|
|
14177
14239
|
app_url?: string | undefined;
|
|
14240
|
+
is_bot?: boolean | undefined;
|
|
14178
14241
|
} & {
|
|
14179
14242
|
user_id?: string | undefined;
|
|
14180
14243
|
username?: string | undefined;
|
|
@@ -14208,6 +14271,7 @@ export declare const UserChannelAdded: {
|
|
|
14208
14271
|
mezon_id?: string | undefined;
|
|
14209
14272
|
app_token?: string | undefined;
|
|
14210
14273
|
app_url?: string | undefined;
|
|
14274
|
+
is_bot?: boolean | undefined;
|
|
14211
14275
|
} & { [K_42 in Exclude<keyof I_1["caller"], keyof UserProfileRedis>]: never; }) | undefined;
|
|
14212
14276
|
create_time_second?: number | undefined;
|
|
14213
14277
|
active?: number | undefined;
|
|
@@ -14399,6 +14463,7 @@ export declare const UserProfileRedis: {
|
|
|
14399
14463
|
mezon_id?: string | undefined;
|
|
14400
14464
|
app_token?: string | undefined;
|
|
14401
14465
|
app_url?: string | undefined;
|
|
14466
|
+
is_bot?: boolean | undefined;
|
|
14402
14467
|
} & {
|
|
14403
14468
|
user_id?: string | undefined;
|
|
14404
14469
|
username?: string | undefined;
|
|
@@ -14432,6 +14497,7 @@ export declare const UserProfileRedis: {
|
|
|
14432
14497
|
mezon_id?: string | undefined;
|
|
14433
14498
|
app_token?: string | undefined;
|
|
14434
14499
|
app_url?: string | undefined;
|
|
14500
|
+
is_bot?: boolean | undefined;
|
|
14435
14501
|
} & { [K_3 in Exclude<keyof I, keyof UserProfileRedis>]: never; }>(base?: I | undefined): UserProfileRedis;
|
|
14436
14502
|
fromPartial<I_1 extends {
|
|
14437
14503
|
user_id?: string | undefined;
|
|
@@ -14454,6 +14520,7 @@ export declare const UserProfileRedis: {
|
|
|
14454
14520
|
mezon_id?: string | undefined;
|
|
14455
14521
|
app_token?: string | undefined;
|
|
14456
14522
|
app_url?: string | undefined;
|
|
14523
|
+
is_bot?: boolean | undefined;
|
|
14457
14524
|
} & {
|
|
14458
14525
|
user_id?: string | undefined;
|
|
14459
14526
|
username?: string | undefined;
|
|
@@ -14487,6 +14554,7 @@ export declare const UserProfileRedis: {
|
|
|
14487
14554
|
mezon_id?: string | undefined;
|
|
14488
14555
|
app_token?: string | undefined;
|
|
14489
14556
|
app_url?: string | undefined;
|
|
14557
|
+
is_bot?: boolean | undefined;
|
|
14490
14558
|
} & { [K_7 in Exclude<keyof I_1, keyof UserProfileRedis>]: never; }>(object: I_1): UserProfileRedis;
|
|
14491
14559
|
};
|
|
14492
14560
|
export declare const FCMTokens: {
|
|
@@ -8324,7 +8324,7 @@ var WebrtcSignalingFwd = {
|
|
|
8324
8324
|
}
|
|
8325
8325
|
};
|
|
8326
8326
|
function createBaseAddClanUserEvent() {
|
|
8327
|
-
return { clan_id: "", user: void 0 };
|
|
8327
|
+
return { clan_id: "", user: void 0, invitor: "" };
|
|
8328
8328
|
}
|
|
8329
8329
|
var AddClanUserEvent = {
|
|
8330
8330
|
encode(message, writer = import_minimal5.default.Writer.create()) {
|
|
@@ -8334,6 +8334,9 @@ var AddClanUserEvent = {
|
|
|
8334
8334
|
if (message.user !== void 0) {
|
|
8335
8335
|
UserProfileRedis.encode(message.user, writer.uint32(18).fork()).ldelim();
|
|
8336
8336
|
}
|
|
8337
|
+
if (message.invitor !== "") {
|
|
8338
|
+
writer.uint32(26).string(message.invitor);
|
|
8339
|
+
}
|
|
8337
8340
|
return writer;
|
|
8338
8341
|
},
|
|
8339
8342
|
decode(input, length) {
|
|
@@ -8355,6 +8358,12 @@ var AddClanUserEvent = {
|
|
|
8355
8358
|
}
|
|
8356
8359
|
message.user = UserProfileRedis.decode(reader, reader.uint32());
|
|
8357
8360
|
continue;
|
|
8361
|
+
case 3:
|
|
8362
|
+
if (tag !== 26) {
|
|
8363
|
+
break;
|
|
8364
|
+
}
|
|
8365
|
+
message.invitor = reader.string();
|
|
8366
|
+
continue;
|
|
8358
8367
|
}
|
|
8359
8368
|
if ((tag & 7) === 4 || tag === 0) {
|
|
8360
8369
|
break;
|
|
@@ -8366,7 +8375,8 @@ var AddClanUserEvent = {
|
|
|
8366
8375
|
fromJSON(object) {
|
|
8367
8376
|
return {
|
|
8368
8377
|
clan_id: isSet4(object.clan_id) ? globalThis.String(object.clan_id) : "",
|
|
8369
|
-
user: isSet4(object.user) ? UserProfileRedis.fromJSON(object.user) : void 0
|
|
8378
|
+
user: isSet4(object.user) ? UserProfileRedis.fromJSON(object.user) : void 0,
|
|
8379
|
+
invitor: isSet4(object.invitor) ? globalThis.String(object.invitor) : ""
|
|
8370
8380
|
};
|
|
8371
8381
|
},
|
|
8372
8382
|
toJSON(message) {
|
|
@@ -8377,16 +8387,20 @@ var AddClanUserEvent = {
|
|
|
8377
8387
|
if (message.user !== void 0) {
|
|
8378
8388
|
obj.user = UserProfileRedis.toJSON(message.user);
|
|
8379
8389
|
}
|
|
8390
|
+
if (message.invitor !== "") {
|
|
8391
|
+
obj.invitor = message.invitor;
|
|
8392
|
+
}
|
|
8380
8393
|
return obj;
|
|
8381
8394
|
},
|
|
8382
8395
|
create(base) {
|
|
8383
8396
|
return AddClanUserEvent.fromPartial(base != null ? base : {});
|
|
8384
8397
|
},
|
|
8385
8398
|
fromPartial(object) {
|
|
8386
|
-
var _a;
|
|
8399
|
+
var _a, _b;
|
|
8387
8400
|
const message = createBaseAddClanUserEvent();
|
|
8388
8401
|
message.clan_id = (_a = object.clan_id) != null ? _a : "";
|
|
8389
8402
|
message.user = object.user !== void 0 && object.user !== null ? UserProfileRedis.fromPartial(object.user) : void 0;
|
|
8403
|
+
message.invitor = (_b = object.invitor) != null ? _b : "";
|
|
8390
8404
|
return message;
|
|
8391
8405
|
}
|
|
8392
8406
|
};
|
|
@@ -14114,7 +14128,8 @@ function createBaseUserProfileRedis() {
|
|
|
14114
14128
|
pubkey: "",
|
|
14115
14129
|
mezon_id: "",
|
|
14116
14130
|
app_token: "",
|
|
14117
|
-
app_url: ""
|
|
14131
|
+
app_url: "",
|
|
14132
|
+
is_bot: false
|
|
14118
14133
|
};
|
|
14119
14134
|
}
|
|
14120
14135
|
var UserProfileRedis = {
|
|
@@ -14167,6 +14182,9 @@ var UserProfileRedis = {
|
|
|
14167
14182
|
if (message.app_url !== "") {
|
|
14168
14183
|
writer.uint32(130).string(message.app_url);
|
|
14169
14184
|
}
|
|
14185
|
+
if (message.is_bot !== false) {
|
|
14186
|
+
writer.uint32(136).bool(message.is_bot);
|
|
14187
|
+
}
|
|
14170
14188
|
return writer;
|
|
14171
14189
|
},
|
|
14172
14190
|
decode(input, length) {
|
|
@@ -14272,6 +14290,12 @@ var UserProfileRedis = {
|
|
|
14272
14290
|
}
|
|
14273
14291
|
message.app_url = reader.string();
|
|
14274
14292
|
continue;
|
|
14293
|
+
case 17:
|
|
14294
|
+
if (tag !== 136) {
|
|
14295
|
+
break;
|
|
14296
|
+
}
|
|
14297
|
+
message.is_bot = reader.bool();
|
|
14298
|
+
continue;
|
|
14275
14299
|
}
|
|
14276
14300
|
if ((tag & 7) === 4 || tag === 0) {
|
|
14277
14301
|
break;
|
|
@@ -14297,7 +14321,8 @@ var UserProfileRedis = {
|
|
|
14297
14321
|
pubkey: isSet4(object.pubkey) ? globalThis.String(object.pubkey) : "",
|
|
14298
14322
|
mezon_id: isSet4(object.mezon_id) ? globalThis.String(object.mezon_id) : "",
|
|
14299
14323
|
app_token: isSet4(object.app_token) ? globalThis.String(object.app_token) : "",
|
|
14300
|
-
app_url: isSet4(object.app_url) ? globalThis.String(object.app_url) : ""
|
|
14324
|
+
app_url: isSet4(object.app_url) ? globalThis.String(object.app_url) : "",
|
|
14325
|
+
is_bot: isSet4(object.is_bot) ? globalThis.Boolean(object.is_bot) : false
|
|
14301
14326
|
};
|
|
14302
14327
|
},
|
|
14303
14328
|
toJSON(message) {
|
|
@@ -14351,13 +14376,16 @@ var UserProfileRedis = {
|
|
|
14351
14376
|
if (message.app_url !== "") {
|
|
14352
14377
|
obj.app_url = message.app_url;
|
|
14353
14378
|
}
|
|
14379
|
+
if (message.is_bot !== false) {
|
|
14380
|
+
obj.is_bot = message.is_bot;
|
|
14381
|
+
}
|
|
14354
14382
|
return obj;
|
|
14355
14383
|
},
|
|
14356
14384
|
create(base) {
|
|
14357
14385
|
return UserProfileRedis.fromPartial(base != null ? base : {});
|
|
14358
14386
|
},
|
|
14359
14387
|
fromPartial(object) {
|
|
14360
|
-
var _a, _b, _c, _d, _e, _f, _g, _h, _i, _j, _k, _l, _m, _n, _o, _p;
|
|
14388
|
+
var _a, _b, _c, _d, _e, _f, _g, _h, _i, _j, _k, _l, _m, _n, _o, _p, _q;
|
|
14361
14389
|
const message = createBaseUserProfileRedis();
|
|
14362
14390
|
message.user_id = (_a = object.user_id) != null ? _a : "";
|
|
14363
14391
|
message.username = (_b = object.username) != null ? _b : "";
|
|
@@ -14375,6 +14403,7 @@ var UserProfileRedis = {
|
|
|
14375
14403
|
message.mezon_id = (_n = object.mezon_id) != null ? _n : "";
|
|
14376
14404
|
message.app_token = (_o = object.app_token) != null ? _o : "";
|
|
14377
14405
|
message.app_url = (_p = object.app_url) != null ? _p : "";
|
|
14406
|
+
message.is_bot = (_q = object.is_bot) != null ? _q : false;
|
|
14378
14407
|
return message;
|
|
14379
14408
|
}
|
|
14380
14409
|
};
|
|
@@ -8311,7 +8311,7 @@ var WebrtcSignalingFwd = {
|
|
|
8311
8311
|
}
|
|
8312
8312
|
};
|
|
8313
8313
|
function createBaseAddClanUserEvent() {
|
|
8314
|
-
return { clan_id: "", user: void 0 };
|
|
8314
|
+
return { clan_id: "", user: void 0, invitor: "" };
|
|
8315
8315
|
}
|
|
8316
8316
|
var AddClanUserEvent = {
|
|
8317
8317
|
encode(message, writer = import_minimal5.default.Writer.create()) {
|
|
@@ -8321,6 +8321,9 @@ var AddClanUserEvent = {
|
|
|
8321
8321
|
if (message.user !== void 0) {
|
|
8322
8322
|
UserProfileRedis.encode(message.user, writer.uint32(18).fork()).ldelim();
|
|
8323
8323
|
}
|
|
8324
|
+
if (message.invitor !== "") {
|
|
8325
|
+
writer.uint32(26).string(message.invitor);
|
|
8326
|
+
}
|
|
8324
8327
|
return writer;
|
|
8325
8328
|
},
|
|
8326
8329
|
decode(input, length) {
|
|
@@ -8342,6 +8345,12 @@ var AddClanUserEvent = {
|
|
|
8342
8345
|
}
|
|
8343
8346
|
message.user = UserProfileRedis.decode(reader, reader.uint32());
|
|
8344
8347
|
continue;
|
|
8348
|
+
case 3:
|
|
8349
|
+
if (tag !== 26) {
|
|
8350
|
+
break;
|
|
8351
|
+
}
|
|
8352
|
+
message.invitor = reader.string();
|
|
8353
|
+
continue;
|
|
8345
8354
|
}
|
|
8346
8355
|
if ((tag & 7) === 4 || tag === 0) {
|
|
8347
8356
|
break;
|
|
@@ -8353,7 +8362,8 @@ var AddClanUserEvent = {
|
|
|
8353
8362
|
fromJSON(object) {
|
|
8354
8363
|
return {
|
|
8355
8364
|
clan_id: isSet4(object.clan_id) ? globalThis.String(object.clan_id) : "",
|
|
8356
|
-
user: isSet4(object.user) ? UserProfileRedis.fromJSON(object.user) : void 0
|
|
8365
|
+
user: isSet4(object.user) ? UserProfileRedis.fromJSON(object.user) : void 0,
|
|
8366
|
+
invitor: isSet4(object.invitor) ? globalThis.String(object.invitor) : ""
|
|
8357
8367
|
};
|
|
8358
8368
|
},
|
|
8359
8369
|
toJSON(message) {
|
|
@@ -8364,16 +8374,20 @@ var AddClanUserEvent = {
|
|
|
8364
8374
|
if (message.user !== void 0) {
|
|
8365
8375
|
obj.user = UserProfileRedis.toJSON(message.user);
|
|
8366
8376
|
}
|
|
8377
|
+
if (message.invitor !== "") {
|
|
8378
|
+
obj.invitor = message.invitor;
|
|
8379
|
+
}
|
|
8367
8380
|
return obj;
|
|
8368
8381
|
},
|
|
8369
8382
|
create(base) {
|
|
8370
8383
|
return AddClanUserEvent.fromPartial(base != null ? base : {});
|
|
8371
8384
|
},
|
|
8372
8385
|
fromPartial(object) {
|
|
8373
|
-
var _a;
|
|
8386
|
+
var _a, _b;
|
|
8374
8387
|
const message = createBaseAddClanUserEvent();
|
|
8375
8388
|
message.clan_id = (_a = object.clan_id) != null ? _a : "";
|
|
8376
8389
|
message.user = object.user !== void 0 && object.user !== null ? UserProfileRedis.fromPartial(object.user) : void 0;
|
|
8390
|
+
message.invitor = (_b = object.invitor) != null ? _b : "";
|
|
8377
8391
|
return message;
|
|
8378
8392
|
}
|
|
8379
8393
|
};
|
|
@@ -14101,7 +14115,8 @@ function createBaseUserProfileRedis() {
|
|
|
14101
14115
|
pubkey: "",
|
|
14102
14116
|
mezon_id: "",
|
|
14103
14117
|
app_token: "",
|
|
14104
|
-
app_url: ""
|
|
14118
|
+
app_url: "",
|
|
14119
|
+
is_bot: false
|
|
14105
14120
|
};
|
|
14106
14121
|
}
|
|
14107
14122
|
var UserProfileRedis = {
|
|
@@ -14154,6 +14169,9 @@ var UserProfileRedis = {
|
|
|
14154
14169
|
if (message.app_url !== "") {
|
|
14155
14170
|
writer.uint32(130).string(message.app_url);
|
|
14156
14171
|
}
|
|
14172
|
+
if (message.is_bot !== false) {
|
|
14173
|
+
writer.uint32(136).bool(message.is_bot);
|
|
14174
|
+
}
|
|
14157
14175
|
return writer;
|
|
14158
14176
|
},
|
|
14159
14177
|
decode(input, length) {
|
|
@@ -14259,6 +14277,12 @@ var UserProfileRedis = {
|
|
|
14259
14277
|
}
|
|
14260
14278
|
message.app_url = reader.string();
|
|
14261
14279
|
continue;
|
|
14280
|
+
case 17:
|
|
14281
|
+
if (tag !== 136) {
|
|
14282
|
+
break;
|
|
14283
|
+
}
|
|
14284
|
+
message.is_bot = reader.bool();
|
|
14285
|
+
continue;
|
|
14262
14286
|
}
|
|
14263
14287
|
if ((tag & 7) === 4 || tag === 0) {
|
|
14264
14288
|
break;
|
|
@@ -14284,7 +14308,8 @@ var UserProfileRedis = {
|
|
|
14284
14308
|
pubkey: isSet4(object.pubkey) ? globalThis.String(object.pubkey) : "",
|
|
14285
14309
|
mezon_id: isSet4(object.mezon_id) ? globalThis.String(object.mezon_id) : "",
|
|
14286
14310
|
app_token: isSet4(object.app_token) ? globalThis.String(object.app_token) : "",
|
|
14287
|
-
app_url: isSet4(object.app_url) ? globalThis.String(object.app_url) : ""
|
|
14311
|
+
app_url: isSet4(object.app_url) ? globalThis.String(object.app_url) : "",
|
|
14312
|
+
is_bot: isSet4(object.is_bot) ? globalThis.Boolean(object.is_bot) : false
|
|
14288
14313
|
};
|
|
14289
14314
|
},
|
|
14290
14315
|
toJSON(message) {
|
|
@@ -14338,13 +14363,16 @@ var UserProfileRedis = {
|
|
|
14338
14363
|
if (message.app_url !== "") {
|
|
14339
14364
|
obj.app_url = message.app_url;
|
|
14340
14365
|
}
|
|
14366
|
+
if (message.is_bot !== false) {
|
|
14367
|
+
obj.is_bot = message.is_bot;
|
|
14368
|
+
}
|
|
14341
14369
|
return obj;
|
|
14342
14370
|
},
|
|
14343
14371
|
create(base) {
|
|
14344
14372
|
return UserProfileRedis.fromPartial(base != null ? base : {});
|
|
14345
14373
|
},
|
|
14346
14374
|
fromPartial(object) {
|
|
14347
|
-
var _a, _b, _c, _d, _e, _f, _g, _h, _i, _j, _k, _l, _m, _n, _o, _p;
|
|
14375
|
+
var _a, _b, _c, _d, _e, _f, _g, _h, _i, _j, _k, _l, _m, _n, _o, _p, _q;
|
|
14348
14376
|
const message = createBaseUserProfileRedis();
|
|
14349
14377
|
message.user_id = (_a = object.user_id) != null ? _a : "";
|
|
14350
14378
|
message.username = (_b = object.username) != null ? _b : "";
|
|
@@ -14362,6 +14390,7 @@ var UserProfileRedis = {
|
|
|
14362
14390
|
message.mezon_id = (_n = object.mezon_id) != null ? _n : "";
|
|
14363
14391
|
message.app_token = (_o = object.app_token) != null ? _o : "";
|
|
14364
14392
|
message.app_url = (_p = object.app_url) != null ? _p : "";
|
|
14393
|
+
message.is_bot = (_q = object.is_bot) != null ? _q : false;
|
|
14365
14394
|
return message;
|
|
14366
14395
|
}
|
|
14367
14396
|
};
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "mezon-js-protobuf",
|
|
3
|
-
"version": "1.7.
|
|
3
|
+
"version": "1.7.48",
|
|
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
|
@@ -386,7 +386,11 @@ export interface AddClanUserEvent {
|
|
|
386
386
|
/** the clan id */
|
|
387
387
|
clan_id: string;
|
|
388
388
|
/** the user */
|
|
389
|
-
user:
|
|
389
|
+
user:
|
|
390
|
+
| UserProfileRedis
|
|
391
|
+
| undefined;
|
|
392
|
+
/** inviter */
|
|
393
|
+
invitor: string;
|
|
390
394
|
}
|
|
391
395
|
|
|
392
396
|
/** On role assign */
|
|
@@ -1285,6 +1289,8 @@ export interface UserProfileRedis {
|
|
|
1285
1289
|
app_token: string;
|
|
1286
1290
|
/** app url */
|
|
1287
1291
|
app_url: string;
|
|
1292
|
+
/** is bot */
|
|
1293
|
+
is_bot: boolean;
|
|
1288
1294
|
}
|
|
1289
1295
|
|
|
1290
1296
|
export interface FCMTokens {
|
|
@@ -3561,7 +3567,7 @@ export const SFUSignalingFwd = {
|
|
|
3561
3567
|
};
|
|
3562
3568
|
|
|
3563
3569
|
function createBaseAddClanUserEvent(): AddClanUserEvent {
|
|
3564
|
-
return { clan_id: "", user: undefined };
|
|
3570
|
+
return { clan_id: "", user: undefined, invitor: "" };
|
|
3565
3571
|
}
|
|
3566
3572
|
|
|
3567
3573
|
export const AddClanUserEvent = {
|
|
@@ -3572,6 +3578,9 @@ export const AddClanUserEvent = {
|
|
|
3572
3578
|
if (message.user !== undefined) {
|
|
3573
3579
|
UserProfileRedis.encode(message.user, writer.uint32(18).fork()).ldelim();
|
|
3574
3580
|
}
|
|
3581
|
+
if (message.invitor !== "") {
|
|
3582
|
+
writer.uint32(26).string(message.invitor);
|
|
3583
|
+
}
|
|
3575
3584
|
return writer;
|
|
3576
3585
|
},
|
|
3577
3586
|
|
|
@@ -3596,6 +3605,13 @@ export const AddClanUserEvent = {
|
|
|
3596
3605
|
|
|
3597
3606
|
message.user = UserProfileRedis.decode(reader, reader.uint32());
|
|
3598
3607
|
continue;
|
|
3608
|
+
case 3:
|
|
3609
|
+
if (tag !== 26) {
|
|
3610
|
+
break;
|
|
3611
|
+
}
|
|
3612
|
+
|
|
3613
|
+
message.invitor = reader.string();
|
|
3614
|
+
continue;
|
|
3599
3615
|
}
|
|
3600
3616
|
if ((tag & 7) === 4 || tag === 0) {
|
|
3601
3617
|
break;
|
|
@@ -3609,6 +3625,7 @@ export const AddClanUserEvent = {
|
|
|
3609
3625
|
return {
|
|
3610
3626
|
clan_id: isSet(object.clan_id) ? globalThis.String(object.clan_id) : "",
|
|
3611
3627
|
user: isSet(object.user) ? UserProfileRedis.fromJSON(object.user) : undefined,
|
|
3628
|
+
invitor: isSet(object.invitor) ? globalThis.String(object.invitor) : "",
|
|
3612
3629
|
};
|
|
3613
3630
|
},
|
|
3614
3631
|
|
|
@@ -3620,6 +3637,9 @@ export const AddClanUserEvent = {
|
|
|
3620
3637
|
if (message.user !== undefined) {
|
|
3621
3638
|
obj.user = UserProfileRedis.toJSON(message.user);
|
|
3622
3639
|
}
|
|
3640
|
+
if (message.invitor !== "") {
|
|
3641
|
+
obj.invitor = message.invitor;
|
|
3642
|
+
}
|
|
3623
3643
|
return obj;
|
|
3624
3644
|
},
|
|
3625
3645
|
|
|
@@ -3632,6 +3652,7 @@ export const AddClanUserEvent = {
|
|
|
3632
3652
|
message.user = (object.user !== undefined && object.user !== null)
|
|
3633
3653
|
? UserProfileRedis.fromPartial(object.user)
|
|
3634
3654
|
: undefined;
|
|
3655
|
+
message.invitor = object.invitor ?? "";
|
|
3635
3656
|
return message;
|
|
3636
3657
|
},
|
|
3637
3658
|
};
|
|
@@ -10508,6 +10529,7 @@ function createBaseUserProfileRedis(): UserProfileRedis {
|
|
|
10508
10529
|
mezon_id: "",
|
|
10509
10530
|
app_token: "",
|
|
10510
10531
|
app_url: "",
|
|
10532
|
+
is_bot: false,
|
|
10511
10533
|
};
|
|
10512
10534
|
}
|
|
10513
10535
|
|
|
@@ -10561,6 +10583,9 @@ export const UserProfileRedis = {
|
|
|
10561
10583
|
if (message.app_url !== "") {
|
|
10562
10584
|
writer.uint32(130).string(message.app_url);
|
|
10563
10585
|
}
|
|
10586
|
+
if (message.is_bot !== false) {
|
|
10587
|
+
writer.uint32(136).bool(message.is_bot);
|
|
10588
|
+
}
|
|
10564
10589
|
return writer;
|
|
10565
10590
|
},
|
|
10566
10591
|
|
|
@@ -10683,6 +10708,13 @@ export const UserProfileRedis = {
|
|
|
10683
10708
|
|
|
10684
10709
|
message.app_url = reader.string();
|
|
10685
10710
|
continue;
|
|
10711
|
+
case 17:
|
|
10712
|
+
if (tag !== 136) {
|
|
10713
|
+
break;
|
|
10714
|
+
}
|
|
10715
|
+
|
|
10716
|
+
message.is_bot = reader.bool();
|
|
10717
|
+
continue;
|
|
10686
10718
|
}
|
|
10687
10719
|
if ((tag & 7) === 4 || tag === 0) {
|
|
10688
10720
|
break;
|
|
@@ -10714,6 +10746,7 @@ export const UserProfileRedis = {
|
|
|
10714
10746
|
mezon_id: isSet(object.mezon_id) ? globalThis.String(object.mezon_id) : "",
|
|
10715
10747
|
app_token: isSet(object.app_token) ? globalThis.String(object.app_token) : "",
|
|
10716
10748
|
app_url: isSet(object.app_url) ? globalThis.String(object.app_url) : "",
|
|
10749
|
+
is_bot: isSet(object.is_bot) ? globalThis.Boolean(object.is_bot) : false,
|
|
10717
10750
|
};
|
|
10718
10751
|
},
|
|
10719
10752
|
|
|
@@ -10767,6 +10800,9 @@ export const UserProfileRedis = {
|
|
|
10767
10800
|
if (message.app_url !== "") {
|
|
10768
10801
|
obj.app_url = message.app_url;
|
|
10769
10802
|
}
|
|
10803
|
+
if (message.is_bot !== false) {
|
|
10804
|
+
obj.is_bot = message.is_bot;
|
|
10805
|
+
}
|
|
10770
10806
|
return obj;
|
|
10771
10807
|
},
|
|
10772
10808
|
|
|
@@ -10791,6 +10827,7 @@ export const UserProfileRedis = {
|
|
|
10791
10827
|
message.mezon_id = object.mezon_id ?? "";
|
|
10792
10828
|
message.app_token = object.app_token ?? "";
|
|
10793
10829
|
message.app_url = object.app_url ?? "";
|
|
10830
|
+
message.is_bot = object.is_bot ?? false;
|
|
10794
10831
|
return message;
|
|
10795
10832
|
},
|
|
10796
10833
|
};
|