mezon-js-protobuf 1.7.23 → 1.7.25
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/api/api.ts +39855 -39642
- package/dist/mezon-js-protobuf/api/api.d.ts +96 -18
- package/dist/mezon-js-protobuf/rtapi/realtime.d.ts +68 -0
- package/dist/mezon-js-protobuf.cjs.js +44 -6
- package/dist/mezon-js-protobuf.esm.mjs +44 -6
- package/google/protobuf/struct.ts +554 -554
- package/google/protobuf/timestamp.ts +223 -223
- package/google/protobuf/wrappers.ts +670 -670
- package/package.json +1 -1
- package/rtapi/realtime.ts +12207 -12163
|
@@ -871,6 +871,8 @@ export interface ClanUpdatedEvent {
|
|
|
871
871
|
is_onboarding: boolean;
|
|
872
872
|
/** welcome channel id */
|
|
873
873
|
welcome_channel_id: string;
|
|
874
|
+
/** onboarding_banner. */
|
|
875
|
+
onboarding_banner: string;
|
|
874
876
|
}
|
|
875
877
|
/** clan profile updated event */
|
|
876
878
|
export interface ClanProfileUpdatedEvent {
|
|
@@ -926,6 +928,8 @@ export interface UserProfileRedis {
|
|
|
926
928
|
is_disabled: boolean;
|
|
927
929
|
/** clans */
|
|
928
930
|
joined_clans: string[];
|
|
931
|
+
/** public key */
|
|
932
|
+
pubkey: string;
|
|
929
933
|
}
|
|
930
934
|
export interface FCMTokens {
|
|
931
935
|
/** deviceID to follow. */
|
|
@@ -1584,6 +1588,7 @@ export declare const Envelope: {
|
|
|
1584
1588
|
metadata?: string | undefined;
|
|
1585
1589
|
is_disabled?: boolean | undefined;
|
|
1586
1590
|
joined_clans?: string[] | undefined;
|
|
1591
|
+
pubkey?: string | undefined;
|
|
1587
1592
|
}[] | undefined;
|
|
1588
1593
|
status?: string | undefined;
|
|
1589
1594
|
clan_id?: string | undefined;
|
|
@@ -1604,6 +1609,7 @@ export declare const Envelope: {
|
|
|
1604
1609
|
metadata?: string | undefined;
|
|
1605
1610
|
is_disabled?: boolean | undefined;
|
|
1606
1611
|
joined_clans?: string[] | undefined;
|
|
1612
|
+
pubkey?: string | undefined;
|
|
1607
1613
|
} | undefined;
|
|
1608
1614
|
create_time_second?: number | undefined;
|
|
1609
1615
|
active?: number | undefined;
|
|
@@ -1626,6 +1632,7 @@ export declare const Envelope: {
|
|
|
1626
1632
|
status?: number | undefined;
|
|
1627
1633
|
is_onboarding?: boolean | undefined;
|
|
1628
1634
|
welcome_channel_id?: string | undefined;
|
|
1635
|
+
onboarding_banner?: string | undefined;
|
|
1629
1636
|
} | undefined;
|
|
1630
1637
|
clan_profile_updated_event?: {
|
|
1631
1638
|
user_id?: string | undefined;
|
|
@@ -1667,6 +1674,7 @@ export declare const Envelope: {
|
|
|
1667
1674
|
metadata?: string | undefined;
|
|
1668
1675
|
is_disabled?: boolean | undefined;
|
|
1669
1676
|
joined_clans?: string[] | undefined;
|
|
1677
|
+
pubkey?: string | undefined;
|
|
1670
1678
|
} | undefined;
|
|
1671
1679
|
} | undefined;
|
|
1672
1680
|
clan_event_created?: {
|
|
@@ -3584,6 +3592,7 @@ export declare const Envelope: {
|
|
|
3584
3592
|
metadata?: string | undefined;
|
|
3585
3593
|
is_disabled?: boolean | undefined;
|
|
3586
3594
|
joined_clans?: string[] | undefined;
|
|
3595
|
+
pubkey?: string | undefined;
|
|
3587
3596
|
}[] | undefined;
|
|
3588
3597
|
status?: string | undefined;
|
|
3589
3598
|
clan_id?: string | undefined;
|
|
@@ -3604,6 +3613,7 @@ export declare const Envelope: {
|
|
|
3604
3613
|
metadata?: string | undefined;
|
|
3605
3614
|
is_disabled?: boolean | undefined;
|
|
3606
3615
|
joined_clans?: string[] | undefined;
|
|
3616
|
+
pubkey?: string | undefined;
|
|
3607
3617
|
} | undefined;
|
|
3608
3618
|
create_time_second?: number | undefined;
|
|
3609
3619
|
active?: number | undefined;
|
|
@@ -3750,6 +3760,7 @@ export declare const Envelope: {
|
|
|
3750
3760
|
metadata?: string | undefined;
|
|
3751
3761
|
is_disabled?: boolean | undefined;
|
|
3752
3762
|
joined_clans?: string[] | undefined;
|
|
3763
|
+
pubkey?: string | undefined;
|
|
3753
3764
|
}[] & ({
|
|
3754
3765
|
user_id?: string | undefined;
|
|
3755
3766
|
username?: string | undefined;
|
|
@@ -3767,6 +3778,7 @@ export declare const Envelope: {
|
|
|
3767
3778
|
metadata?: string | undefined;
|
|
3768
3779
|
is_disabled?: boolean | undefined;
|
|
3769
3780
|
joined_clans?: string[] | undefined;
|
|
3781
|
+
pubkey?: string | undefined;
|
|
3770
3782
|
} & {
|
|
3771
3783
|
user_id?: string | undefined;
|
|
3772
3784
|
username?: string | undefined;
|
|
@@ -3796,6 +3808,7 @@ export declare const Envelope: {
|
|
|
3796
3808
|
metadata?: string | undefined;
|
|
3797
3809
|
is_disabled?: boolean | undefined;
|
|
3798
3810
|
joined_clans?: (string[] & string[] & { [K_96 in Exclude<keyof I["user_channel_added_event"]["users"][number]["joined_clans"], keyof string[]>]: never; }) | undefined;
|
|
3811
|
+
pubkey?: string | undefined;
|
|
3799
3812
|
} & { [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 {
|
|
3800
3813
|
user_id?: string | undefined;
|
|
3801
3814
|
username?: string | undefined;
|
|
@@ -3813,6 +3826,7 @@ export declare const Envelope: {
|
|
|
3813
3826
|
metadata?: string | undefined;
|
|
3814
3827
|
is_disabled?: boolean | undefined;
|
|
3815
3828
|
joined_clans?: string[] | undefined;
|
|
3829
|
+
pubkey?: string | undefined;
|
|
3816
3830
|
}[]>]: never; }) | undefined;
|
|
3817
3831
|
status?: string | undefined;
|
|
3818
3832
|
clan_id?: string | undefined;
|
|
@@ -3833,6 +3847,7 @@ export declare const Envelope: {
|
|
|
3833
3847
|
metadata?: string | undefined;
|
|
3834
3848
|
is_disabled?: boolean | undefined;
|
|
3835
3849
|
joined_clans?: string[] | undefined;
|
|
3850
|
+
pubkey?: string | undefined;
|
|
3836
3851
|
} & {
|
|
3837
3852
|
user_id?: string | undefined;
|
|
3838
3853
|
username?: string | undefined;
|
|
@@ -3862,6 +3877,7 @@ export declare const Envelope: {
|
|
|
3862
3877
|
metadata?: string | undefined;
|
|
3863
3878
|
is_disabled?: boolean | undefined;
|
|
3864
3879
|
joined_clans?: (string[] & string[] & { [K_101 in Exclude<keyof I["user_channel_added_event"]["caller"]["joined_clans"], keyof string[]>]: never; }) | undefined;
|
|
3880
|
+
pubkey?: string | undefined;
|
|
3865
3881
|
} & { [K_102 in Exclude<keyof I["user_channel_added_event"]["caller"], keyof UserProfileRedis>]: never; }) | undefined;
|
|
3866
3882
|
create_time_second?: number | undefined;
|
|
3867
3883
|
active?: number | undefined;
|
|
@@ -3892,6 +3908,7 @@ export declare const Envelope: {
|
|
|
3892
3908
|
status?: number | undefined;
|
|
3893
3909
|
is_onboarding?: boolean | undefined;
|
|
3894
3910
|
welcome_channel_id?: string | undefined;
|
|
3911
|
+
onboarding_banner?: string | undefined;
|
|
3895
3912
|
} & {
|
|
3896
3913
|
clan_id?: string | undefined;
|
|
3897
3914
|
clan_name?: string | undefined;
|
|
@@ -3900,6 +3917,7 @@ export declare const Envelope: {
|
|
|
3900
3917
|
status?: number | undefined;
|
|
3901
3918
|
is_onboarding?: boolean | undefined;
|
|
3902
3919
|
welcome_channel_id?: string | undefined;
|
|
3920
|
+
onboarding_banner?: string | undefined;
|
|
3903
3921
|
} & { [K_108 in Exclude<keyof I["clan_updated_event"], keyof ClanUpdatedEvent>]: never; }) | undefined;
|
|
3904
3922
|
clan_profile_updated_event?: ({
|
|
3905
3923
|
user_id?: string | undefined;
|
|
@@ -3959,6 +3977,7 @@ export declare const Envelope: {
|
|
|
3959
3977
|
metadata?: string | undefined;
|
|
3960
3978
|
is_disabled?: boolean | undefined;
|
|
3961
3979
|
joined_clans?: string[] | undefined;
|
|
3980
|
+
pubkey?: string | undefined;
|
|
3962
3981
|
} | undefined;
|
|
3963
3982
|
} & {
|
|
3964
3983
|
clan_id?: string | undefined;
|
|
@@ -3979,6 +3998,7 @@ export declare const Envelope: {
|
|
|
3979
3998
|
metadata?: string | undefined;
|
|
3980
3999
|
is_disabled?: boolean | undefined;
|
|
3981
4000
|
joined_clans?: string[] | undefined;
|
|
4001
|
+
pubkey?: string | undefined;
|
|
3982
4002
|
} & {
|
|
3983
4003
|
user_id?: string | undefined;
|
|
3984
4004
|
username?: string | undefined;
|
|
@@ -4008,6 +4028,7 @@ export declare const Envelope: {
|
|
|
4008
4028
|
metadata?: string | undefined;
|
|
4009
4029
|
is_disabled?: boolean | undefined;
|
|
4010
4030
|
joined_clans?: (string[] & string[] & { [K_114 in Exclude<keyof I["add_clan_user_event"]["user"]["joined_clans"], keyof string[]>]: never; }) | undefined;
|
|
4031
|
+
pubkey?: string | undefined;
|
|
4011
4032
|
} & { [K_115 in Exclude<keyof I["add_clan_user_event"]["user"], keyof UserProfileRedis>]: never; }) | undefined;
|
|
4012
4033
|
} & { [K_116 in Exclude<keyof I["add_clan_user_event"], keyof AddClanUserEvent>]: never; }) | undefined;
|
|
4013
4034
|
clan_event_created?: ({
|
|
@@ -5387,6 +5408,7 @@ export declare const Envelope: {
|
|
|
5387
5408
|
metadata?: string | undefined;
|
|
5388
5409
|
is_disabled?: boolean | undefined;
|
|
5389
5410
|
joined_clans?: string[] | undefined;
|
|
5411
|
+
pubkey?: string | undefined;
|
|
5390
5412
|
}[] | undefined;
|
|
5391
5413
|
status?: string | undefined;
|
|
5392
5414
|
clan_id?: string | undefined;
|
|
@@ -5407,6 +5429,7 @@ export declare const Envelope: {
|
|
|
5407
5429
|
metadata?: string | undefined;
|
|
5408
5430
|
is_disabled?: boolean | undefined;
|
|
5409
5431
|
joined_clans?: string[] | undefined;
|
|
5432
|
+
pubkey?: string | undefined;
|
|
5410
5433
|
} | undefined;
|
|
5411
5434
|
create_time_second?: number | undefined;
|
|
5412
5435
|
active?: number | undefined;
|
|
@@ -5429,6 +5452,7 @@ export declare const Envelope: {
|
|
|
5429
5452
|
status?: number | undefined;
|
|
5430
5453
|
is_onboarding?: boolean | undefined;
|
|
5431
5454
|
welcome_channel_id?: string | undefined;
|
|
5455
|
+
onboarding_banner?: string | undefined;
|
|
5432
5456
|
} | undefined;
|
|
5433
5457
|
clan_profile_updated_event?: {
|
|
5434
5458
|
user_id?: string | undefined;
|
|
@@ -5470,6 +5494,7 @@ export declare const Envelope: {
|
|
|
5470
5494
|
metadata?: string | undefined;
|
|
5471
5495
|
is_disabled?: boolean | undefined;
|
|
5472
5496
|
joined_clans?: string[] | undefined;
|
|
5497
|
+
pubkey?: string | undefined;
|
|
5473
5498
|
} | undefined;
|
|
5474
5499
|
} | undefined;
|
|
5475
5500
|
clan_event_created?: {
|
|
@@ -7387,6 +7412,7 @@ export declare const Envelope: {
|
|
|
7387
7412
|
metadata?: string | undefined;
|
|
7388
7413
|
is_disabled?: boolean | undefined;
|
|
7389
7414
|
joined_clans?: string[] | undefined;
|
|
7415
|
+
pubkey?: string | undefined;
|
|
7390
7416
|
}[] | undefined;
|
|
7391
7417
|
status?: string | undefined;
|
|
7392
7418
|
clan_id?: string | undefined;
|
|
@@ -7407,6 +7433,7 @@ export declare const Envelope: {
|
|
|
7407
7433
|
metadata?: string | undefined;
|
|
7408
7434
|
is_disabled?: boolean | undefined;
|
|
7409
7435
|
joined_clans?: string[] | undefined;
|
|
7436
|
+
pubkey?: string | undefined;
|
|
7410
7437
|
} | undefined;
|
|
7411
7438
|
create_time_second?: number | undefined;
|
|
7412
7439
|
active?: number | undefined;
|
|
@@ -7553,6 +7580,7 @@ export declare const Envelope: {
|
|
|
7553
7580
|
metadata?: string | undefined;
|
|
7554
7581
|
is_disabled?: boolean | undefined;
|
|
7555
7582
|
joined_clans?: string[] | undefined;
|
|
7583
|
+
pubkey?: string | undefined;
|
|
7556
7584
|
}[] & ({
|
|
7557
7585
|
user_id?: string | undefined;
|
|
7558
7586
|
username?: string | undefined;
|
|
@@ -7570,6 +7598,7 @@ export declare const Envelope: {
|
|
|
7570
7598
|
metadata?: string | undefined;
|
|
7571
7599
|
is_disabled?: boolean | undefined;
|
|
7572
7600
|
joined_clans?: string[] | undefined;
|
|
7601
|
+
pubkey?: string | undefined;
|
|
7573
7602
|
} & {
|
|
7574
7603
|
user_id?: string | undefined;
|
|
7575
7604
|
username?: string | undefined;
|
|
@@ -7599,6 +7628,7 @@ export declare const Envelope: {
|
|
|
7599
7628
|
metadata?: string | undefined;
|
|
7600
7629
|
is_disabled?: boolean | undefined;
|
|
7601
7630
|
joined_clans?: (string[] & string[] & { [K_274 in Exclude<keyof I_1["user_channel_added_event"]["users"][number]["joined_clans"], keyof string[]>]: never; }) | undefined;
|
|
7631
|
+
pubkey?: string | undefined;
|
|
7602
7632
|
} & { [K_275 in Exclude<keyof I_1["user_channel_added_event"]["users"][number], keyof UserProfileRedis>]: never; })[] & { [K_276 in Exclude<keyof I_1["user_channel_added_event"]["users"], keyof {
|
|
7603
7633
|
user_id?: string | undefined;
|
|
7604
7634
|
username?: string | undefined;
|
|
@@ -7616,6 +7646,7 @@ export declare const Envelope: {
|
|
|
7616
7646
|
metadata?: string | undefined;
|
|
7617
7647
|
is_disabled?: boolean | undefined;
|
|
7618
7648
|
joined_clans?: string[] | undefined;
|
|
7649
|
+
pubkey?: string | undefined;
|
|
7619
7650
|
}[]>]: never; }) | undefined;
|
|
7620
7651
|
status?: string | undefined;
|
|
7621
7652
|
clan_id?: string | undefined;
|
|
@@ -7636,6 +7667,7 @@ export declare const Envelope: {
|
|
|
7636
7667
|
metadata?: string | undefined;
|
|
7637
7668
|
is_disabled?: boolean | undefined;
|
|
7638
7669
|
joined_clans?: string[] | undefined;
|
|
7670
|
+
pubkey?: string | undefined;
|
|
7639
7671
|
} & {
|
|
7640
7672
|
user_id?: string | undefined;
|
|
7641
7673
|
username?: string | undefined;
|
|
@@ -7665,6 +7697,7 @@ export declare const Envelope: {
|
|
|
7665
7697
|
metadata?: string | undefined;
|
|
7666
7698
|
is_disabled?: boolean | undefined;
|
|
7667
7699
|
joined_clans?: (string[] & string[] & { [K_279 in Exclude<keyof I_1["user_channel_added_event"]["caller"]["joined_clans"], keyof string[]>]: never; }) | undefined;
|
|
7700
|
+
pubkey?: string | undefined;
|
|
7668
7701
|
} & { [K_280 in Exclude<keyof I_1["user_channel_added_event"]["caller"], keyof UserProfileRedis>]: never; }) | undefined;
|
|
7669
7702
|
create_time_second?: number | undefined;
|
|
7670
7703
|
active?: number | undefined;
|
|
@@ -7695,6 +7728,7 @@ export declare const Envelope: {
|
|
|
7695
7728
|
status?: number | undefined;
|
|
7696
7729
|
is_onboarding?: boolean | undefined;
|
|
7697
7730
|
welcome_channel_id?: string | undefined;
|
|
7731
|
+
onboarding_banner?: string | undefined;
|
|
7698
7732
|
} & {
|
|
7699
7733
|
clan_id?: string | undefined;
|
|
7700
7734
|
clan_name?: string | undefined;
|
|
@@ -7703,6 +7737,7 @@ export declare const Envelope: {
|
|
|
7703
7737
|
status?: number | undefined;
|
|
7704
7738
|
is_onboarding?: boolean | undefined;
|
|
7705
7739
|
welcome_channel_id?: string | undefined;
|
|
7740
|
+
onboarding_banner?: string | undefined;
|
|
7706
7741
|
} & { [K_286 in Exclude<keyof I_1["clan_updated_event"], keyof ClanUpdatedEvent>]: never; }) | undefined;
|
|
7707
7742
|
clan_profile_updated_event?: ({
|
|
7708
7743
|
user_id?: string | undefined;
|
|
@@ -7762,6 +7797,7 @@ export declare const Envelope: {
|
|
|
7762
7797
|
metadata?: string | undefined;
|
|
7763
7798
|
is_disabled?: boolean | undefined;
|
|
7764
7799
|
joined_clans?: string[] | undefined;
|
|
7800
|
+
pubkey?: string | undefined;
|
|
7765
7801
|
} | undefined;
|
|
7766
7802
|
} & {
|
|
7767
7803
|
clan_id?: string | undefined;
|
|
@@ -7782,6 +7818,7 @@ export declare const Envelope: {
|
|
|
7782
7818
|
metadata?: string | undefined;
|
|
7783
7819
|
is_disabled?: boolean | undefined;
|
|
7784
7820
|
joined_clans?: string[] | undefined;
|
|
7821
|
+
pubkey?: string | undefined;
|
|
7785
7822
|
} & {
|
|
7786
7823
|
user_id?: string | undefined;
|
|
7787
7824
|
username?: string | undefined;
|
|
@@ -7811,6 +7848,7 @@ export declare const Envelope: {
|
|
|
7811
7848
|
metadata?: string | undefined;
|
|
7812
7849
|
is_disabled?: boolean | undefined;
|
|
7813
7850
|
joined_clans?: (string[] & string[] & { [K_292 in Exclude<keyof I_1["add_clan_user_event"]["user"]["joined_clans"], keyof string[]>]: never; }) | undefined;
|
|
7851
|
+
pubkey?: string | undefined;
|
|
7814
7852
|
} & { [K_293 in Exclude<keyof I_1["add_clan_user_event"]["user"], keyof UserProfileRedis>]: never; }) | undefined;
|
|
7815
7853
|
} & { [K_294 in Exclude<keyof I_1["add_clan_user_event"], keyof AddClanUserEvent>]: never; }) | undefined;
|
|
7816
7854
|
clan_event_created?: ({
|
|
@@ -8821,6 +8859,7 @@ export declare const AddClanUserEvent: {
|
|
|
8821
8859
|
metadata?: string | undefined;
|
|
8822
8860
|
is_disabled?: boolean | undefined;
|
|
8823
8861
|
joined_clans?: string[] | undefined;
|
|
8862
|
+
pubkey?: string | undefined;
|
|
8824
8863
|
} | undefined;
|
|
8825
8864
|
} & {
|
|
8826
8865
|
clan_id?: string | undefined;
|
|
@@ -8841,6 +8880,7 @@ export declare const AddClanUserEvent: {
|
|
|
8841
8880
|
metadata?: string | undefined;
|
|
8842
8881
|
is_disabled?: boolean | undefined;
|
|
8843
8882
|
joined_clans?: string[] | undefined;
|
|
8883
|
+
pubkey?: string | undefined;
|
|
8844
8884
|
} & {
|
|
8845
8885
|
user_id?: string | undefined;
|
|
8846
8886
|
username?: string | undefined;
|
|
@@ -8870,6 +8910,7 @@ export declare const AddClanUserEvent: {
|
|
|
8870
8910
|
metadata?: string | undefined;
|
|
8871
8911
|
is_disabled?: boolean | undefined;
|
|
8872
8912
|
joined_clans?: (string[] & string[] & { [K_2 in Exclude<keyof I["user"]["joined_clans"], keyof string[]>]: never; }) | undefined;
|
|
8913
|
+
pubkey?: string | undefined;
|
|
8873
8914
|
} & { [K_3 in Exclude<keyof I["user"], keyof UserProfileRedis>]: never; }) | undefined;
|
|
8874
8915
|
} & { [K_4 in Exclude<keyof I, keyof AddClanUserEvent>]: never; }>(base?: I | undefined): AddClanUserEvent;
|
|
8875
8916
|
fromPartial<I_1 extends {
|
|
@@ -8891,6 +8932,7 @@ export declare const AddClanUserEvent: {
|
|
|
8891
8932
|
metadata?: string | undefined;
|
|
8892
8933
|
is_disabled?: boolean | undefined;
|
|
8893
8934
|
joined_clans?: string[] | undefined;
|
|
8935
|
+
pubkey?: string | undefined;
|
|
8894
8936
|
} | undefined;
|
|
8895
8937
|
} & {
|
|
8896
8938
|
clan_id?: string | undefined;
|
|
@@ -8911,6 +8953,7 @@ export declare const AddClanUserEvent: {
|
|
|
8911
8953
|
metadata?: string | undefined;
|
|
8912
8954
|
is_disabled?: boolean | undefined;
|
|
8913
8955
|
joined_clans?: string[] | undefined;
|
|
8956
|
+
pubkey?: string | undefined;
|
|
8914
8957
|
} & {
|
|
8915
8958
|
user_id?: string | undefined;
|
|
8916
8959
|
username?: string | undefined;
|
|
@@ -8940,6 +8983,7 @@ export declare const AddClanUserEvent: {
|
|
|
8940
8983
|
metadata?: string | undefined;
|
|
8941
8984
|
is_disabled?: boolean | undefined;
|
|
8942
8985
|
joined_clans?: (string[] & string[] & { [K_7 in Exclude<keyof I_1["user"]["joined_clans"], keyof string[]>]: never; }) | undefined;
|
|
8986
|
+
pubkey?: string | undefined;
|
|
8943
8987
|
} & { [K_8 in Exclude<keyof I_1["user"], keyof UserProfileRedis>]: never; }) | undefined;
|
|
8944
8988
|
} & { [K_9 in Exclude<keyof I_1, keyof AddClanUserEvent>]: never; }>(object: I_1): AddClanUserEvent;
|
|
8945
8989
|
};
|
|
@@ -13029,6 +13073,7 @@ export declare const UserChannelAdded: {
|
|
|
13029
13073
|
metadata?: string | undefined;
|
|
13030
13074
|
is_disabled?: boolean | undefined;
|
|
13031
13075
|
joined_clans?: string[] | undefined;
|
|
13076
|
+
pubkey?: string | undefined;
|
|
13032
13077
|
}[] | undefined;
|
|
13033
13078
|
status?: string | undefined;
|
|
13034
13079
|
clan_id?: string | undefined;
|
|
@@ -13049,6 +13094,7 @@ export declare const UserChannelAdded: {
|
|
|
13049
13094
|
metadata?: string | undefined;
|
|
13050
13095
|
is_disabled?: boolean | undefined;
|
|
13051
13096
|
joined_clans?: string[] | undefined;
|
|
13097
|
+
pubkey?: string | undefined;
|
|
13052
13098
|
} | undefined;
|
|
13053
13099
|
create_time_second?: number | undefined;
|
|
13054
13100
|
active?: number | undefined;
|
|
@@ -13195,6 +13241,7 @@ export declare const UserChannelAdded: {
|
|
|
13195
13241
|
metadata?: string | undefined;
|
|
13196
13242
|
is_disabled?: boolean | undefined;
|
|
13197
13243
|
joined_clans?: string[] | undefined;
|
|
13244
|
+
pubkey?: string | undefined;
|
|
13198
13245
|
}[] & ({
|
|
13199
13246
|
user_id?: string | undefined;
|
|
13200
13247
|
username?: string | undefined;
|
|
@@ -13212,6 +13259,7 @@ export declare const UserChannelAdded: {
|
|
|
13212
13259
|
metadata?: string | undefined;
|
|
13213
13260
|
is_disabled?: boolean | undefined;
|
|
13214
13261
|
joined_clans?: string[] | undefined;
|
|
13262
|
+
pubkey?: string | undefined;
|
|
13215
13263
|
} & {
|
|
13216
13264
|
user_id?: string | undefined;
|
|
13217
13265
|
username?: string | undefined;
|
|
@@ -13241,6 +13289,7 @@ export declare const UserChannelAdded: {
|
|
|
13241
13289
|
metadata?: string | undefined;
|
|
13242
13290
|
is_disabled?: boolean | undefined;
|
|
13243
13291
|
joined_clans?: (string[] & string[] & { [K_14 in Exclude<keyof I["users"][number]["joined_clans"], keyof string[]>]: never; }) | undefined;
|
|
13292
|
+
pubkey?: string | undefined;
|
|
13244
13293
|
} & { [K_15 in Exclude<keyof I["users"][number], keyof UserProfileRedis>]: never; })[] & { [K_16 in Exclude<keyof I["users"], keyof {
|
|
13245
13294
|
user_id?: string | undefined;
|
|
13246
13295
|
username?: string | undefined;
|
|
@@ -13258,6 +13307,7 @@ export declare const UserChannelAdded: {
|
|
|
13258
13307
|
metadata?: string | undefined;
|
|
13259
13308
|
is_disabled?: boolean | undefined;
|
|
13260
13309
|
joined_clans?: string[] | undefined;
|
|
13310
|
+
pubkey?: string | undefined;
|
|
13261
13311
|
}[]>]: never; }) | undefined;
|
|
13262
13312
|
status?: string | undefined;
|
|
13263
13313
|
clan_id?: string | undefined;
|
|
@@ -13278,6 +13328,7 @@ export declare const UserChannelAdded: {
|
|
|
13278
13328
|
metadata?: string | undefined;
|
|
13279
13329
|
is_disabled?: boolean | undefined;
|
|
13280
13330
|
joined_clans?: string[] | undefined;
|
|
13331
|
+
pubkey?: string | undefined;
|
|
13281
13332
|
} & {
|
|
13282
13333
|
user_id?: string | undefined;
|
|
13283
13334
|
username?: string | undefined;
|
|
@@ -13307,6 +13358,7 @@ export declare const UserChannelAdded: {
|
|
|
13307
13358
|
metadata?: string | undefined;
|
|
13308
13359
|
is_disabled?: boolean | undefined;
|
|
13309
13360
|
joined_clans?: (string[] & string[] & { [K_19 in Exclude<keyof I["caller"]["joined_clans"], keyof string[]>]: never; }) | undefined;
|
|
13361
|
+
pubkey?: string | undefined;
|
|
13310
13362
|
} & { [K_20 in Exclude<keyof I["caller"], keyof UserProfileRedis>]: never; }) | undefined;
|
|
13311
13363
|
create_time_second?: number | undefined;
|
|
13312
13364
|
active?: number | undefined;
|
|
@@ -13382,6 +13434,7 @@ export declare const UserChannelAdded: {
|
|
|
13382
13434
|
metadata?: string | undefined;
|
|
13383
13435
|
is_disabled?: boolean | undefined;
|
|
13384
13436
|
joined_clans?: string[] | undefined;
|
|
13437
|
+
pubkey?: string | undefined;
|
|
13385
13438
|
}[] | undefined;
|
|
13386
13439
|
status?: string | undefined;
|
|
13387
13440
|
clan_id?: string | undefined;
|
|
@@ -13402,6 +13455,7 @@ export declare const UserChannelAdded: {
|
|
|
13402
13455
|
metadata?: string | undefined;
|
|
13403
13456
|
is_disabled?: boolean | undefined;
|
|
13404
13457
|
joined_clans?: string[] | undefined;
|
|
13458
|
+
pubkey?: string | undefined;
|
|
13405
13459
|
} | undefined;
|
|
13406
13460
|
create_time_second?: number | undefined;
|
|
13407
13461
|
active?: number | undefined;
|
|
@@ -13548,6 +13602,7 @@ export declare const UserChannelAdded: {
|
|
|
13548
13602
|
metadata?: string | undefined;
|
|
13549
13603
|
is_disabled?: boolean | undefined;
|
|
13550
13604
|
joined_clans?: string[] | undefined;
|
|
13605
|
+
pubkey?: string | undefined;
|
|
13551
13606
|
}[] & ({
|
|
13552
13607
|
user_id?: string | undefined;
|
|
13553
13608
|
username?: string | undefined;
|
|
@@ -13565,6 +13620,7 @@ export declare const UserChannelAdded: {
|
|
|
13565
13620
|
metadata?: string | undefined;
|
|
13566
13621
|
is_disabled?: boolean | undefined;
|
|
13567
13622
|
joined_clans?: string[] | undefined;
|
|
13623
|
+
pubkey?: string | undefined;
|
|
13568
13624
|
} & {
|
|
13569
13625
|
user_id?: string | undefined;
|
|
13570
13626
|
username?: string | undefined;
|
|
@@ -13594,6 +13650,7 @@ export declare const UserChannelAdded: {
|
|
|
13594
13650
|
metadata?: string | undefined;
|
|
13595
13651
|
is_disabled?: boolean | undefined;
|
|
13596
13652
|
joined_clans?: (string[] & string[] & { [K_36 in Exclude<keyof I_1["users"][number]["joined_clans"], keyof string[]>]: never; }) | undefined;
|
|
13653
|
+
pubkey?: string | undefined;
|
|
13597
13654
|
} & { [K_37 in Exclude<keyof I_1["users"][number], keyof UserProfileRedis>]: never; })[] & { [K_38 in Exclude<keyof I_1["users"], keyof {
|
|
13598
13655
|
user_id?: string | undefined;
|
|
13599
13656
|
username?: string | undefined;
|
|
@@ -13611,6 +13668,7 @@ export declare const UserChannelAdded: {
|
|
|
13611
13668
|
metadata?: string | undefined;
|
|
13612
13669
|
is_disabled?: boolean | undefined;
|
|
13613
13670
|
joined_clans?: string[] | undefined;
|
|
13671
|
+
pubkey?: string | undefined;
|
|
13614
13672
|
}[]>]: never; }) | undefined;
|
|
13615
13673
|
status?: string | undefined;
|
|
13616
13674
|
clan_id?: string | undefined;
|
|
@@ -13631,6 +13689,7 @@ export declare const UserChannelAdded: {
|
|
|
13631
13689
|
metadata?: string | undefined;
|
|
13632
13690
|
is_disabled?: boolean | undefined;
|
|
13633
13691
|
joined_clans?: string[] | undefined;
|
|
13692
|
+
pubkey?: string | undefined;
|
|
13634
13693
|
} & {
|
|
13635
13694
|
user_id?: string | undefined;
|
|
13636
13695
|
username?: string | undefined;
|
|
@@ -13660,6 +13719,7 @@ export declare const UserChannelAdded: {
|
|
|
13660
13719
|
metadata?: string | undefined;
|
|
13661
13720
|
is_disabled?: boolean | undefined;
|
|
13662
13721
|
joined_clans?: (string[] & string[] & { [K_41 in Exclude<keyof I_1["caller"]["joined_clans"], keyof string[]>]: never; }) | undefined;
|
|
13722
|
+
pubkey?: string | undefined;
|
|
13663
13723
|
} & { [K_42 in Exclude<keyof I_1["caller"], keyof UserProfileRedis>]: never; }) | undefined;
|
|
13664
13724
|
create_time_second?: number | undefined;
|
|
13665
13725
|
active?: number | undefined;
|
|
@@ -13726,6 +13786,7 @@ export declare const ClanUpdatedEvent: {
|
|
|
13726
13786
|
status?: number | undefined;
|
|
13727
13787
|
is_onboarding?: boolean | undefined;
|
|
13728
13788
|
welcome_channel_id?: string | undefined;
|
|
13789
|
+
onboarding_banner?: string | undefined;
|
|
13729
13790
|
} & {
|
|
13730
13791
|
clan_id?: string | undefined;
|
|
13731
13792
|
clan_name?: string | undefined;
|
|
@@ -13734,6 +13795,7 @@ export declare const ClanUpdatedEvent: {
|
|
|
13734
13795
|
status?: number | undefined;
|
|
13735
13796
|
is_onboarding?: boolean | undefined;
|
|
13736
13797
|
welcome_channel_id?: string | undefined;
|
|
13798
|
+
onboarding_banner?: string | undefined;
|
|
13737
13799
|
} & { [K in Exclude<keyof I, keyof ClanUpdatedEvent>]: never; }>(base?: I | undefined): ClanUpdatedEvent;
|
|
13738
13800
|
fromPartial<I_1 extends {
|
|
13739
13801
|
clan_id?: string | undefined;
|
|
@@ -13743,6 +13805,7 @@ export declare const ClanUpdatedEvent: {
|
|
|
13743
13805
|
status?: number | undefined;
|
|
13744
13806
|
is_onboarding?: boolean | undefined;
|
|
13745
13807
|
welcome_channel_id?: string | undefined;
|
|
13808
|
+
onboarding_banner?: string | undefined;
|
|
13746
13809
|
} & {
|
|
13747
13810
|
clan_id?: string | undefined;
|
|
13748
13811
|
clan_name?: string | undefined;
|
|
@@ -13751,6 +13814,7 @@ export declare const ClanUpdatedEvent: {
|
|
|
13751
13814
|
status?: number | undefined;
|
|
13752
13815
|
is_onboarding?: boolean | undefined;
|
|
13753
13816
|
welcome_channel_id?: string | undefined;
|
|
13817
|
+
onboarding_banner?: string | undefined;
|
|
13754
13818
|
} & { [K_1 in Exclude<keyof I_1, keyof ClanUpdatedEvent>]: never; }>(object: I_1): ClanUpdatedEvent;
|
|
13755
13819
|
};
|
|
13756
13820
|
export declare const ClanProfileUpdatedEvent: {
|
|
@@ -13843,6 +13907,7 @@ export declare const UserProfileRedis: {
|
|
|
13843
13907
|
metadata?: string | undefined;
|
|
13844
13908
|
is_disabled?: boolean | undefined;
|
|
13845
13909
|
joined_clans?: string[] | undefined;
|
|
13910
|
+
pubkey?: string | undefined;
|
|
13846
13911
|
} & {
|
|
13847
13912
|
user_id?: string | undefined;
|
|
13848
13913
|
username?: string | undefined;
|
|
@@ -13872,6 +13937,7 @@ export declare const UserProfileRedis: {
|
|
|
13872
13937
|
metadata?: string | undefined;
|
|
13873
13938
|
is_disabled?: boolean | undefined;
|
|
13874
13939
|
joined_clans?: (string[] & string[] & { [K_2 in Exclude<keyof I["joined_clans"], keyof string[]>]: never; }) | undefined;
|
|
13940
|
+
pubkey?: string | undefined;
|
|
13875
13941
|
} & { [K_3 in Exclude<keyof I, keyof UserProfileRedis>]: never; }>(base?: I | undefined): UserProfileRedis;
|
|
13876
13942
|
fromPartial<I_1 extends {
|
|
13877
13943
|
user_id?: string | undefined;
|
|
@@ -13890,6 +13956,7 @@ export declare const UserProfileRedis: {
|
|
|
13890
13956
|
metadata?: string | undefined;
|
|
13891
13957
|
is_disabled?: boolean | undefined;
|
|
13892
13958
|
joined_clans?: string[] | undefined;
|
|
13959
|
+
pubkey?: string | undefined;
|
|
13893
13960
|
} & {
|
|
13894
13961
|
user_id?: string | undefined;
|
|
13895
13962
|
username?: string | undefined;
|
|
@@ -13919,6 +13986,7 @@ export declare const UserProfileRedis: {
|
|
|
13919
13986
|
metadata?: string | undefined;
|
|
13920
13987
|
is_disabled?: boolean | undefined;
|
|
13921
13988
|
joined_clans?: (string[] & string[] & { [K_6 in Exclude<keyof I_1["joined_clans"], keyof string[]>]: never; }) | undefined;
|
|
13989
|
+
pubkey?: string | undefined;
|
|
13922
13990
|
} & { [K_7 in Exclude<keyof I_1, keyof UserProfileRedis>]: never; }>(object: I_1): UserProfileRedis;
|
|
13923
13991
|
};
|
|
13924
13992
|
export declare const FCMTokens: {
|
|
@@ -13279,7 +13279,16 @@ var UserClanRemoved = {
|
|
|
13279
13279
|
}
|
|
13280
13280
|
};
|
|
13281
13281
|
function createBaseClanUpdatedEvent() {
|
|
13282
|
-
return {
|
|
13282
|
+
return {
|
|
13283
|
+
clan_id: "",
|
|
13284
|
+
clan_name: "",
|
|
13285
|
+
logo: "",
|
|
13286
|
+
banner: "",
|
|
13287
|
+
status: 0,
|
|
13288
|
+
is_onboarding: false,
|
|
13289
|
+
welcome_channel_id: "",
|
|
13290
|
+
onboarding_banner: ""
|
|
13291
|
+
};
|
|
13283
13292
|
}
|
|
13284
13293
|
var ClanUpdatedEvent = {
|
|
13285
13294
|
encode(message, writer = import_minimal5.default.Writer.create()) {
|
|
@@ -13304,6 +13313,9 @@ var ClanUpdatedEvent = {
|
|
|
13304
13313
|
if (message.welcome_channel_id !== "") {
|
|
13305
13314
|
writer.uint32(58).string(message.welcome_channel_id);
|
|
13306
13315
|
}
|
|
13316
|
+
if (message.onboarding_banner !== "") {
|
|
13317
|
+
writer.uint32(66).string(message.onboarding_banner);
|
|
13318
|
+
}
|
|
13307
13319
|
return writer;
|
|
13308
13320
|
},
|
|
13309
13321
|
decode(input, length) {
|
|
@@ -13355,6 +13367,12 @@ var ClanUpdatedEvent = {
|
|
|
13355
13367
|
}
|
|
13356
13368
|
message.welcome_channel_id = reader.string();
|
|
13357
13369
|
continue;
|
|
13370
|
+
case 8:
|
|
13371
|
+
if (tag !== 66) {
|
|
13372
|
+
break;
|
|
13373
|
+
}
|
|
13374
|
+
message.onboarding_banner = reader.string();
|
|
13375
|
+
continue;
|
|
13358
13376
|
}
|
|
13359
13377
|
if ((tag & 7) === 4 || tag === 0) {
|
|
13360
13378
|
break;
|
|
@@ -13371,7 +13389,8 @@ var ClanUpdatedEvent = {
|
|
|
13371
13389
|
banner: isSet4(object.banner) ? globalThis.String(object.banner) : "",
|
|
13372
13390
|
status: isSet4(object.status) ? globalThis.Number(object.status) : 0,
|
|
13373
13391
|
is_onboarding: isSet4(object.is_onboarding) ? globalThis.Boolean(object.is_onboarding) : false,
|
|
13374
|
-
welcome_channel_id: isSet4(object.welcome_channel_id) ? globalThis.String(object.welcome_channel_id) : ""
|
|
13392
|
+
welcome_channel_id: isSet4(object.welcome_channel_id) ? globalThis.String(object.welcome_channel_id) : "",
|
|
13393
|
+
onboarding_banner: isSet4(object.onboarding_banner) ? globalThis.String(object.onboarding_banner) : ""
|
|
13375
13394
|
};
|
|
13376
13395
|
},
|
|
13377
13396
|
toJSON(message) {
|
|
@@ -13397,13 +13416,16 @@ var ClanUpdatedEvent = {
|
|
|
13397
13416
|
if (message.welcome_channel_id !== "") {
|
|
13398
13417
|
obj.welcome_channel_id = message.welcome_channel_id;
|
|
13399
13418
|
}
|
|
13419
|
+
if (message.onboarding_banner !== "") {
|
|
13420
|
+
obj.onboarding_banner = message.onboarding_banner;
|
|
13421
|
+
}
|
|
13400
13422
|
return obj;
|
|
13401
13423
|
},
|
|
13402
13424
|
create(base) {
|
|
13403
13425
|
return ClanUpdatedEvent.fromPartial(base != null ? base : {});
|
|
13404
13426
|
},
|
|
13405
13427
|
fromPartial(object) {
|
|
13406
|
-
var _a, _b, _c, _d, _e, _f, _g;
|
|
13428
|
+
var _a, _b, _c, _d, _e, _f, _g, _h;
|
|
13407
13429
|
const message = createBaseClanUpdatedEvent();
|
|
13408
13430
|
message.clan_id = (_a = object.clan_id) != null ? _a : "";
|
|
13409
13431
|
message.clan_name = (_b = object.clan_name) != null ? _b : "";
|
|
@@ -13412,6 +13434,7 @@ var ClanUpdatedEvent = {
|
|
|
13412
13434
|
message.status = (_e = object.status) != null ? _e : 0;
|
|
13413
13435
|
message.is_onboarding = (_f = object.is_onboarding) != null ? _f : false;
|
|
13414
13436
|
message.welcome_channel_id = (_g = object.welcome_channel_id) != null ? _g : "";
|
|
13437
|
+
message.onboarding_banner = (_h = object.onboarding_banner) != null ? _h : "";
|
|
13415
13438
|
return message;
|
|
13416
13439
|
}
|
|
13417
13440
|
};
|
|
@@ -13668,7 +13691,8 @@ function createBaseUserProfileRedis() {
|
|
|
13668
13691
|
online: false,
|
|
13669
13692
|
metadata: "",
|
|
13670
13693
|
is_disabled: false,
|
|
13671
|
-
joined_clans: []
|
|
13694
|
+
joined_clans: [],
|
|
13695
|
+
pubkey: ""
|
|
13672
13696
|
};
|
|
13673
13697
|
}
|
|
13674
13698
|
var UserProfileRedis = {
|
|
@@ -13709,6 +13733,9 @@ var UserProfileRedis = {
|
|
|
13709
13733
|
for (const v of message.joined_clans) {
|
|
13710
13734
|
writer.uint32(98).string(v);
|
|
13711
13735
|
}
|
|
13736
|
+
if (message.pubkey !== "") {
|
|
13737
|
+
writer.uint32(106).string(message.pubkey);
|
|
13738
|
+
}
|
|
13712
13739
|
return writer;
|
|
13713
13740
|
},
|
|
13714
13741
|
decode(input, length) {
|
|
@@ -13790,6 +13817,12 @@ var UserProfileRedis = {
|
|
|
13790
13817
|
}
|
|
13791
13818
|
message.joined_clans.push(reader.string());
|
|
13792
13819
|
continue;
|
|
13820
|
+
case 13:
|
|
13821
|
+
if (tag !== 106) {
|
|
13822
|
+
break;
|
|
13823
|
+
}
|
|
13824
|
+
message.pubkey = reader.string();
|
|
13825
|
+
continue;
|
|
13793
13826
|
}
|
|
13794
13827
|
if ((tag & 7) === 4 || tag === 0) {
|
|
13795
13828
|
break;
|
|
@@ -13811,7 +13844,8 @@ var UserProfileRedis = {
|
|
|
13811
13844
|
online: isSet4(object.online) ? globalThis.Boolean(object.online) : false,
|
|
13812
13845
|
metadata: isSet4(object.metadata) ? globalThis.String(object.metadata) : "",
|
|
13813
13846
|
is_disabled: isSet4(object.is_disabled) ? globalThis.Boolean(object.is_disabled) : false,
|
|
13814
|
-
joined_clans: globalThis.Array.isArray(object == null ? void 0 : object.joined_clans) ? object.joined_clans.map((e) => globalThis.String(e)) : []
|
|
13847
|
+
joined_clans: globalThis.Array.isArray(object == null ? void 0 : object.joined_clans) ? object.joined_clans.map((e) => globalThis.String(e)) : [],
|
|
13848
|
+
pubkey: isSet4(object.pubkey) ? globalThis.String(object.pubkey) : ""
|
|
13815
13849
|
};
|
|
13816
13850
|
},
|
|
13817
13851
|
toJSON(message) {
|
|
@@ -13853,13 +13887,16 @@ var UserProfileRedis = {
|
|
|
13853
13887
|
if ((_b = message.joined_clans) == null ? void 0 : _b.length) {
|
|
13854
13888
|
obj.joined_clans = message.joined_clans;
|
|
13855
13889
|
}
|
|
13890
|
+
if (message.pubkey !== "") {
|
|
13891
|
+
obj.pubkey = message.pubkey;
|
|
13892
|
+
}
|
|
13856
13893
|
return obj;
|
|
13857
13894
|
},
|
|
13858
13895
|
create(base) {
|
|
13859
13896
|
return UserProfileRedis.fromPartial(base != null ? base : {});
|
|
13860
13897
|
},
|
|
13861
13898
|
fromPartial(object) {
|
|
13862
|
-
var _a, _b, _c, _d, _e, _f, _g, _h, _i, _j, _k, _l;
|
|
13899
|
+
var _a, _b, _c, _d, _e, _f, _g, _h, _i, _j, _k, _l, _m;
|
|
13863
13900
|
const message = createBaseUserProfileRedis();
|
|
13864
13901
|
message.user_id = (_a = object.user_id) != null ? _a : "";
|
|
13865
13902
|
message.username = (_b = object.username) != null ? _b : "";
|
|
@@ -13873,6 +13910,7 @@ var UserProfileRedis = {
|
|
|
13873
13910
|
message.metadata = (_j = object.metadata) != null ? _j : "";
|
|
13874
13911
|
message.is_disabled = (_k = object.is_disabled) != null ? _k : false;
|
|
13875
13912
|
message.joined_clans = ((_l = object.joined_clans) == null ? void 0 : _l.map((e) => e)) || [];
|
|
13913
|
+
message.pubkey = (_m = object.pubkey) != null ? _m : "";
|
|
13876
13914
|
return message;
|
|
13877
13915
|
}
|
|
13878
13916
|
};
|