mezon-js-protobuf 1.7.24 → 1.7.26
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 -39839
- package/dist/mezon-js-protobuf/api/api.d.ts +5 -0
- package/dist/mezon-js-protobuf/rtapi/realtime.d.ts +56 -0
- package/dist/mezon-js-protobuf.cjs.js +18 -3
- package/dist/mezon-js-protobuf.esm.mjs +18 -3
- 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 -12189
|
@@ -3241,6 +3241,7 @@ export interface GenerateHashChannelAppsRequest {
|
|
|
3241
3241
|
export interface GenerateHashChannelAppsResponse {
|
|
3242
3242
|
hash: string;
|
|
3243
3243
|
user_id: string;
|
|
3244
|
+
auth_date: string;
|
|
3244
3245
|
}
|
|
3245
3246
|
export declare const Account: {
|
|
3246
3247
|
encode(message: Account, writer?: _m0.Writer): _m0.Writer;
|
|
@@ -25108,16 +25109,20 @@ export declare const GenerateHashChannelAppsResponse: {
|
|
|
25108
25109
|
create<I extends {
|
|
25109
25110
|
hash?: string | undefined;
|
|
25110
25111
|
user_id?: string | undefined;
|
|
25112
|
+
auth_date?: string | undefined;
|
|
25111
25113
|
} & {
|
|
25112
25114
|
hash?: string | undefined;
|
|
25113
25115
|
user_id?: string | undefined;
|
|
25116
|
+
auth_date?: string | undefined;
|
|
25114
25117
|
} & { [K in Exclude<keyof I, keyof GenerateHashChannelAppsResponse>]: never; }>(base?: I | undefined): GenerateHashChannelAppsResponse;
|
|
25115
25118
|
fromPartial<I_1 extends {
|
|
25116
25119
|
hash?: string | undefined;
|
|
25117
25120
|
user_id?: string | undefined;
|
|
25121
|
+
auth_date?: string | undefined;
|
|
25118
25122
|
} & {
|
|
25119
25123
|
hash?: string | undefined;
|
|
25120
25124
|
user_id?: string | undefined;
|
|
25125
|
+
auth_date?: string | undefined;
|
|
25121
25126
|
} & { [K_1 in Exclude<keyof I_1, keyof GenerateHashChannelAppsResponse>]: never; }>(object: I_1): GenerateHashChannelAppsResponse;
|
|
25122
25127
|
};
|
|
25123
25128
|
type Builtin = Date | Function | Uint8Array | string | number | boolean | undefined;
|
|
@@ -928,6 +928,8 @@ export interface UserProfileRedis {
|
|
|
928
928
|
is_disabled: boolean;
|
|
929
929
|
/** clans */
|
|
930
930
|
joined_clans: string[];
|
|
931
|
+
/** public key */
|
|
932
|
+
pubkey: string;
|
|
931
933
|
}
|
|
932
934
|
export interface FCMTokens {
|
|
933
935
|
/** deviceID to follow. */
|
|
@@ -1586,6 +1588,7 @@ export declare const Envelope: {
|
|
|
1586
1588
|
metadata?: string | undefined;
|
|
1587
1589
|
is_disabled?: boolean | undefined;
|
|
1588
1590
|
joined_clans?: string[] | undefined;
|
|
1591
|
+
pubkey?: string | undefined;
|
|
1589
1592
|
}[] | undefined;
|
|
1590
1593
|
status?: string | undefined;
|
|
1591
1594
|
clan_id?: string | undefined;
|
|
@@ -1606,6 +1609,7 @@ export declare const Envelope: {
|
|
|
1606
1609
|
metadata?: string | undefined;
|
|
1607
1610
|
is_disabled?: boolean | undefined;
|
|
1608
1611
|
joined_clans?: string[] | undefined;
|
|
1612
|
+
pubkey?: string | undefined;
|
|
1609
1613
|
} | undefined;
|
|
1610
1614
|
create_time_second?: number | undefined;
|
|
1611
1615
|
active?: number | undefined;
|
|
@@ -1670,6 +1674,7 @@ export declare const Envelope: {
|
|
|
1670
1674
|
metadata?: string | undefined;
|
|
1671
1675
|
is_disabled?: boolean | undefined;
|
|
1672
1676
|
joined_clans?: string[] | undefined;
|
|
1677
|
+
pubkey?: string | undefined;
|
|
1673
1678
|
} | undefined;
|
|
1674
1679
|
} | undefined;
|
|
1675
1680
|
clan_event_created?: {
|
|
@@ -3587,6 +3592,7 @@ export declare const Envelope: {
|
|
|
3587
3592
|
metadata?: string | undefined;
|
|
3588
3593
|
is_disabled?: boolean | undefined;
|
|
3589
3594
|
joined_clans?: string[] | undefined;
|
|
3595
|
+
pubkey?: string | undefined;
|
|
3590
3596
|
}[] | undefined;
|
|
3591
3597
|
status?: string | undefined;
|
|
3592
3598
|
clan_id?: string | undefined;
|
|
@@ -3607,6 +3613,7 @@ export declare const Envelope: {
|
|
|
3607
3613
|
metadata?: string | undefined;
|
|
3608
3614
|
is_disabled?: boolean | undefined;
|
|
3609
3615
|
joined_clans?: string[] | undefined;
|
|
3616
|
+
pubkey?: string | undefined;
|
|
3610
3617
|
} | undefined;
|
|
3611
3618
|
create_time_second?: number | undefined;
|
|
3612
3619
|
active?: number | undefined;
|
|
@@ -3753,6 +3760,7 @@ export declare const Envelope: {
|
|
|
3753
3760
|
metadata?: string | undefined;
|
|
3754
3761
|
is_disabled?: boolean | undefined;
|
|
3755
3762
|
joined_clans?: string[] | undefined;
|
|
3763
|
+
pubkey?: string | undefined;
|
|
3756
3764
|
}[] & ({
|
|
3757
3765
|
user_id?: string | undefined;
|
|
3758
3766
|
username?: string | undefined;
|
|
@@ -3770,6 +3778,7 @@ export declare const Envelope: {
|
|
|
3770
3778
|
metadata?: string | undefined;
|
|
3771
3779
|
is_disabled?: boolean | undefined;
|
|
3772
3780
|
joined_clans?: string[] | undefined;
|
|
3781
|
+
pubkey?: string | undefined;
|
|
3773
3782
|
} & {
|
|
3774
3783
|
user_id?: string | undefined;
|
|
3775
3784
|
username?: string | undefined;
|
|
@@ -3799,6 +3808,7 @@ export declare const Envelope: {
|
|
|
3799
3808
|
metadata?: string | undefined;
|
|
3800
3809
|
is_disabled?: boolean | undefined;
|
|
3801
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;
|
|
3802
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 {
|
|
3803
3813
|
user_id?: string | undefined;
|
|
3804
3814
|
username?: string | undefined;
|
|
@@ -3816,6 +3826,7 @@ export declare const Envelope: {
|
|
|
3816
3826
|
metadata?: string | undefined;
|
|
3817
3827
|
is_disabled?: boolean | undefined;
|
|
3818
3828
|
joined_clans?: string[] | undefined;
|
|
3829
|
+
pubkey?: string | undefined;
|
|
3819
3830
|
}[]>]: never; }) | undefined;
|
|
3820
3831
|
status?: string | undefined;
|
|
3821
3832
|
clan_id?: string | undefined;
|
|
@@ -3836,6 +3847,7 @@ export declare const Envelope: {
|
|
|
3836
3847
|
metadata?: string | undefined;
|
|
3837
3848
|
is_disabled?: boolean | undefined;
|
|
3838
3849
|
joined_clans?: string[] | undefined;
|
|
3850
|
+
pubkey?: string | undefined;
|
|
3839
3851
|
} & {
|
|
3840
3852
|
user_id?: string | undefined;
|
|
3841
3853
|
username?: string | undefined;
|
|
@@ -3865,6 +3877,7 @@ export declare const Envelope: {
|
|
|
3865
3877
|
metadata?: string | undefined;
|
|
3866
3878
|
is_disabled?: boolean | undefined;
|
|
3867
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;
|
|
3868
3881
|
} & { [K_102 in Exclude<keyof I["user_channel_added_event"]["caller"], keyof UserProfileRedis>]: never; }) | undefined;
|
|
3869
3882
|
create_time_second?: number | undefined;
|
|
3870
3883
|
active?: number | undefined;
|
|
@@ -3964,6 +3977,7 @@ export declare const Envelope: {
|
|
|
3964
3977
|
metadata?: string | undefined;
|
|
3965
3978
|
is_disabled?: boolean | undefined;
|
|
3966
3979
|
joined_clans?: string[] | undefined;
|
|
3980
|
+
pubkey?: string | undefined;
|
|
3967
3981
|
} | undefined;
|
|
3968
3982
|
} & {
|
|
3969
3983
|
clan_id?: string | undefined;
|
|
@@ -3984,6 +3998,7 @@ export declare const Envelope: {
|
|
|
3984
3998
|
metadata?: string | undefined;
|
|
3985
3999
|
is_disabled?: boolean | undefined;
|
|
3986
4000
|
joined_clans?: string[] | undefined;
|
|
4001
|
+
pubkey?: string | undefined;
|
|
3987
4002
|
} & {
|
|
3988
4003
|
user_id?: string | undefined;
|
|
3989
4004
|
username?: string | undefined;
|
|
@@ -4013,6 +4028,7 @@ export declare const Envelope: {
|
|
|
4013
4028
|
metadata?: string | undefined;
|
|
4014
4029
|
is_disabled?: boolean | undefined;
|
|
4015
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;
|
|
4016
4032
|
} & { [K_115 in Exclude<keyof I["add_clan_user_event"]["user"], keyof UserProfileRedis>]: never; }) | undefined;
|
|
4017
4033
|
} & { [K_116 in Exclude<keyof I["add_clan_user_event"], keyof AddClanUserEvent>]: never; }) | undefined;
|
|
4018
4034
|
clan_event_created?: ({
|
|
@@ -5392,6 +5408,7 @@ export declare const Envelope: {
|
|
|
5392
5408
|
metadata?: string | undefined;
|
|
5393
5409
|
is_disabled?: boolean | undefined;
|
|
5394
5410
|
joined_clans?: string[] | undefined;
|
|
5411
|
+
pubkey?: string | undefined;
|
|
5395
5412
|
}[] | undefined;
|
|
5396
5413
|
status?: string | undefined;
|
|
5397
5414
|
clan_id?: string | undefined;
|
|
@@ -5412,6 +5429,7 @@ export declare const Envelope: {
|
|
|
5412
5429
|
metadata?: string | undefined;
|
|
5413
5430
|
is_disabled?: boolean | undefined;
|
|
5414
5431
|
joined_clans?: string[] | undefined;
|
|
5432
|
+
pubkey?: string | undefined;
|
|
5415
5433
|
} | undefined;
|
|
5416
5434
|
create_time_second?: number | undefined;
|
|
5417
5435
|
active?: number | undefined;
|
|
@@ -5476,6 +5494,7 @@ export declare const Envelope: {
|
|
|
5476
5494
|
metadata?: string | undefined;
|
|
5477
5495
|
is_disabled?: boolean | undefined;
|
|
5478
5496
|
joined_clans?: string[] | undefined;
|
|
5497
|
+
pubkey?: string | undefined;
|
|
5479
5498
|
} | undefined;
|
|
5480
5499
|
} | undefined;
|
|
5481
5500
|
clan_event_created?: {
|
|
@@ -7393,6 +7412,7 @@ export declare const Envelope: {
|
|
|
7393
7412
|
metadata?: string | undefined;
|
|
7394
7413
|
is_disabled?: boolean | undefined;
|
|
7395
7414
|
joined_clans?: string[] | undefined;
|
|
7415
|
+
pubkey?: string | undefined;
|
|
7396
7416
|
}[] | undefined;
|
|
7397
7417
|
status?: string | undefined;
|
|
7398
7418
|
clan_id?: string | undefined;
|
|
@@ -7413,6 +7433,7 @@ export declare const Envelope: {
|
|
|
7413
7433
|
metadata?: string | undefined;
|
|
7414
7434
|
is_disabled?: boolean | undefined;
|
|
7415
7435
|
joined_clans?: string[] | undefined;
|
|
7436
|
+
pubkey?: string | undefined;
|
|
7416
7437
|
} | undefined;
|
|
7417
7438
|
create_time_second?: number | undefined;
|
|
7418
7439
|
active?: number | undefined;
|
|
@@ -7559,6 +7580,7 @@ export declare const Envelope: {
|
|
|
7559
7580
|
metadata?: string | undefined;
|
|
7560
7581
|
is_disabled?: boolean | undefined;
|
|
7561
7582
|
joined_clans?: string[] | undefined;
|
|
7583
|
+
pubkey?: string | undefined;
|
|
7562
7584
|
}[] & ({
|
|
7563
7585
|
user_id?: string | undefined;
|
|
7564
7586
|
username?: string | undefined;
|
|
@@ -7576,6 +7598,7 @@ export declare const Envelope: {
|
|
|
7576
7598
|
metadata?: string | undefined;
|
|
7577
7599
|
is_disabled?: boolean | undefined;
|
|
7578
7600
|
joined_clans?: string[] | undefined;
|
|
7601
|
+
pubkey?: string | undefined;
|
|
7579
7602
|
} & {
|
|
7580
7603
|
user_id?: string | undefined;
|
|
7581
7604
|
username?: string | undefined;
|
|
@@ -7605,6 +7628,7 @@ export declare const Envelope: {
|
|
|
7605
7628
|
metadata?: string | undefined;
|
|
7606
7629
|
is_disabled?: boolean | undefined;
|
|
7607
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;
|
|
7608
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 {
|
|
7609
7633
|
user_id?: string | undefined;
|
|
7610
7634
|
username?: string | undefined;
|
|
@@ -7622,6 +7646,7 @@ export declare const Envelope: {
|
|
|
7622
7646
|
metadata?: string | undefined;
|
|
7623
7647
|
is_disabled?: boolean | undefined;
|
|
7624
7648
|
joined_clans?: string[] | undefined;
|
|
7649
|
+
pubkey?: string | undefined;
|
|
7625
7650
|
}[]>]: never; }) | undefined;
|
|
7626
7651
|
status?: string | undefined;
|
|
7627
7652
|
clan_id?: string | undefined;
|
|
@@ -7642,6 +7667,7 @@ export declare const Envelope: {
|
|
|
7642
7667
|
metadata?: string | undefined;
|
|
7643
7668
|
is_disabled?: boolean | undefined;
|
|
7644
7669
|
joined_clans?: string[] | undefined;
|
|
7670
|
+
pubkey?: string | undefined;
|
|
7645
7671
|
} & {
|
|
7646
7672
|
user_id?: string | undefined;
|
|
7647
7673
|
username?: string | undefined;
|
|
@@ -7671,6 +7697,7 @@ export declare const Envelope: {
|
|
|
7671
7697
|
metadata?: string | undefined;
|
|
7672
7698
|
is_disabled?: boolean | undefined;
|
|
7673
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;
|
|
7674
7701
|
} & { [K_280 in Exclude<keyof I_1["user_channel_added_event"]["caller"], keyof UserProfileRedis>]: never; }) | undefined;
|
|
7675
7702
|
create_time_second?: number | undefined;
|
|
7676
7703
|
active?: number | undefined;
|
|
@@ -7770,6 +7797,7 @@ export declare const Envelope: {
|
|
|
7770
7797
|
metadata?: string | undefined;
|
|
7771
7798
|
is_disabled?: boolean | undefined;
|
|
7772
7799
|
joined_clans?: string[] | undefined;
|
|
7800
|
+
pubkey?: string | undefined;
|
|
7773
7801
|
} | undefined;
|
|
7774
7802
|
} & {
|
|
7775
7803
|
clan_id?: string | undefined;
|
|
@@ -7790,6 +7818,7 @@ export declare const Envelope: {
|
|
|
7790
7818
|
metadata?: string | undefined;
|
|
7791
7819
|
is_disabled?: boolean | undefined;
|
|
7792
7820
|
joined_clans?: string[] | undefined;
|
|
7821
|
+
pubkey?: string | undefined;
|
|
7793
7822
|
} & {
|
|
7794
7823
|
user_id?: string | undefined;
|
|
7795
7824
|
username?: string | undefined;
|
|
@@ -7819,6 +7848,7 @@ export declare const Envelope: {
|
|
|
7819
7848
|
metadata?: string | undefined;
|
|
7820
7849
|
is_disabled?: boolean | undefined;
|
|
7821
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;
|
|
7822
7852
|
} & { [K_293 in Exclude<keyof I_1["add_clan_user_event"]["user"], keyof UserProfileRedis>]: never; }) | undefined;
|
|
7823
7853
|
} & { [K_294 in Exclude<keyof I_1["add_clan_user_event"], keyof AddClanUserEvent>]: never; }) | undefined;
|
|
7824
7854
|
clan_event_created?: ({
|
|
@@ -8829,6 +8859,7 @@ export declare const AddClanUserEvent: {
|
|
|
8829
8859
|
metadata?: string | undefined;
|
|
8830
8860
|
is_disabled?: boolean | undefined;
|
|
8831
8861
|
joined_clans?: string[] | undefined;
|
|
8862
|
+
pubkey?: string | undefined;
|
|
8832
8863
|
} | undefined;
|
|
8833
8864
|
} & {
|
|
8834
8865
|
clan_id?: string | undefined;
|
|
@@ -8849,6 +8880,7 @@ export declare const AddClanUserEvent: {
|
|
|
8849
8880
|
metadata?: string | undefined;
|
|
8850
8881
|
is_disabled?: boolean | undefined;
|
|
8851
8882
|
joined_clans?: string[] | undefined;
|
|
8883
|
+
pubkey?: string | undefined;
|
|
8852
8884
|
} & {
|
|
8853
8885
|
user_id?: string | undefined;
|
|
8854
8886
|
username?: string | undefined;
|
|
@@ -8878,6 +8910,7 @@ export declare const AddClanUserEvent: {
|
|
|
8878
8910
|
metadata?: string | undefined;
|
|
8879
8911
|
is_disabled?: boolean | undefined;
|
|
8880
8912
|
joined_clans?: (string[] & string[] & { [K_2 in Exclude<keyof I["user"]["joined_clans"], keyof string[]>]: never; }) | undefined;
|
|
8913
|
+
pubkey?: string | undefined;
|
|
8881
8914
|
} & { [K_3 in Exclude<keyof I["user"], keyof UserProfileRedis>]: never; }) | undefined;
|
|
8882
8915
|
} & { [K_4 in Exclude<keyof I, keyof AddClanUserEvent>]: never; }>(base?: I | undefined): AddClanUserEvent;
|
|
8883
8916
|
fromPartial<I_1 extends {
|
|
@@ -8899,6 +8932,7 @@ export declare const AddClanUserEvent: {
|
|
|
8899
8932
|
metadata?: string | undefined;
|
|
8900
8933
|
is_disabled?: boolean | undefined;
|
|
8901
8934
|
joined_clans?: string[] | undefined;
|
|
8935
|
+
pubkey?: string | undefined;
|
|
8902
8936
|
} | undefined;
|
|
8903
8937
|
} & {
|
|
8904
8938
|
clan_id?: string | undefined;
|
|
@@ -8919,6 +8953,7 @@ export declare const AddClanUserEvent: {
|
|
|
8919
8953
|
metadata?: string | undefined;
|
|
8920
8954
|
is_disabled?: boolean | undefined;
|
|
8921
8955
|
joined_clans?: string[] | undefined;
|
|
8956
|
+
pubkey?: string | undefined;
|
|
8922
8957
|
} & {
|
|
8923
8958
|
user_id?: string | undefined;
|
|
8924
8959
|
username?: string | undefined;
|
|
@@ -8948,6 +8983,7 @@ export declare const AddClanUserEvent: {
|
|
|
8948
8983
|
metadata?: string | undefined;
|
|
8949
8984
|
is_disabled?: boolean | undefined;
|
|
8950
8985
|
joined_clans?: (string[] & string[] & { [K_7 in Exclude<keyof I_1["user"]["joined_clans"], keyof string[]>]: never; }) | undefined;
|
|
8986
|
+
pubkey?: string | undefined;
|
|
8951
8987
|
} & { [K_8 in Exclude<keyof I_1["user"], keyof UserProfileRedis>]: never; }) | undefined;
|
|
8952
8988
|
} & { [K_9 in Exclude<keyof I_1, keyof AddClanUserEvent>]: never; }>(object: I_1): AddClanUserEvent;
|
|
8953
8989
|
};
|
|
@@ -13037,6 +13073,7 @@ export declare const UserChannelAdded: {
|
|
|
13037
13073
|
metadata?: string | undefined;
|
|
13038
13074
|
is_disabled?: boolean | undefined;
|
|
13039
13075
|
joined_clans?: string[] | undefined;
|
|
13076
|
+
pubkey?: string | undefined;
|
|
13040
13077
|
}[] | undefined;
|
|
13041
13078
|
status?: string | undefined;
|
|
13042
13079
|
clan_id?: string | undefined;
|
|
@@ -13057,6 +13094,7 @@ export declare const UserChannelAdded: {
|
|
|
13057
13094
|
metadata?: string | undefined;
|
|
13058
13095
|
is_disabled?: boolean | undefined;
|
|
13059
13096
|
joined_clans?: string[] | undefined;
|
|
13097
|
+
pubkey?: string | undefined;
|
|
13060
13098
|
} | undefined;
|
|
13061
13099
|
create_time_second?: number | undefined;
|
|
13062
13100
|
active?: number | undefined;
|
|
@@ -13203,6 +13241,7 @@ export declare const UserChannelAdded: {
|
|
|
13203
13241
|
metadata?: string | undefined;
|
|
13204
13242
|
is_disabled?: boolean | undefined;
|
|
13205
13243
|
joined_clans?: string[] | undefined;
|
|
13244
|
+
pubkey?: string | undefined;
|
|
13206
13245
|
}[] & ({
|
|
13207
13246
|
user_id?: string | undefined;
|
|
13208
13247
|
username?: string | undefined;
|
|
@@ -13220,6 +13259,7 @@ export declare const UserChannelAdded: {
|
|
|
13220
13259
|
metadata?: string | undefined;
|
|
13221
13260
|
is_disabled?: boolean | undefined;
|
|
13222
13261
|
joined_clans?: string[] | undefined;
|
|
13262
|
+
pubkey?: string | undefined;
|
|
13223
13263
|
} & {
|
|
13224
13264
|
user_id?: string | undefined;
|
|
13225
13265
|
username?: string | undefined;
|
|
@@ -13249,6 +13289,7 @@ export declare const UserChannelAdded: {
|
|
|
13249
13289
|
metadata?: string | undefined;
|
|
13250
13290
|
is_disabled?: boolean | undefined;
|
|
13251
13291
|
joined_clans?: (string[] & string[] & { [K_14 in Exclude<keyof I["users"][number]["joined_clans"], keyof string[]>]: never; }) | undefined;
|
|
13292
|
+
pubkey?: string | undefined;
|
|
13252
13293
|
} & { [K_15 in Exclude<keyof I["users"][number], keyof UserProfileRedis>]: never; })[] & { [K_16 in Exclude<keyof I["users"], keyof {
|
|
13253
13294
|
user_id?: string | undefined;
|
|
13254
13295
|
username?: string | undefined;
|
|
@@ -13266,6 +13307,7 @@ export declare const UserChannelAdded: {
|
|
|
13266
13307
|
metadata?: string | undefined;
|
|
13267
13308
|
is_disabled?: boolean | undefined;
|
|
13268
13309
|
joined_clans?: string[] | undefined;
|
|
13310
|
+
pubkey?: string | undefined;
|
|
13269
13311
|
}[]>]: never; }) | undefined;
|
|
13270
13312
|
status?: string | undefined;
|
|
13271
13313
|
clan_id?: string | undefined;
|
|
@@ -13286,6 +13328,7 @@ export declare const UserChannelAdded: {
|
|
|
13286
13328
|
metadata?: string | undefined;
|
|
13287
13329
|
is_disabled?: boolean | undefined;
|
|
13288
13330
|
joined_clans?: string[] | undefined;
|
|
13331
|
+
pubkey?: string | undefined;
|
|
13289
13332
|
} & {
|
|
13290
13333
|
user_id?: string | undefined;
|
|
13291
13334
|
username?: string | undefined;
|
|
@@ -13315,6 +13358,7 @@ export declare const UserChannelAdded: {
|
|
|
13315
13358
|
metadata?: string | undefined;
|
|
13316
13359
|
is_disabled?: boolean | undefined;
|
|
13317
13360
|
joined_clans?: (string[] & string[] & { [K_19 in Exclude<keyof I["caller"]["joined_clans"], keyof string[]>]: never; }) | undefined;
|
|
13361
|
+
pubkey?: string | undefined;
|
|
13318
13362
|
} & { [K_20 in Exclude<keyof I["caller"], keyof UserProfileRedis>]: never; }) | undefined;
|
|
13319
13363
|
create_time_second?: number | undefined;
|
|
13320
13364
|
active?: number | undefined;
|
|
@@ -13390,6 +13434,7 @@ export declare const UserChannelAdded: {
|
|
|
13390
13434
|
metadata?: string | undefined;
|
|
13391
13435
|
is_disabled?: boolean | undefined;
|
|
13392
13436
|
joined_clans?: string[] | undefined;
|
|
13437
|
+
pubkey?: string | undefined;
|
|
13393
13438
|
}[] | undefined;
|
|
13394
13439
|
status?: string | undefined;
|
|
13395
13440
|
clan_id?: string | undefined;
|
|
@@ -13410,6 +13455,7 @@ export declare const UserChannelAdded: {
|
|
|
13410
13455
|
metadata?: string | undefined;
|
|
13411
13456
|
is_disabled?: boolean | undefined;
|
|
13412
13457
|
joined_clans?: string[] | undefined;
|
|
13458
|
+
pubkey?: string | undefined;
|
|
13413
13459
|
} | undefined;
|
|
13414
13460
|
create_time_second?: number | undefined;
|
|
13415
13461
|
active?: number | undefined;
|
|
@@ -13556,6 +13602,7 @@ export declare const UserChannelAdded: {
|
|
|
13556
13602
|
metadata?: string | undefined;
|
|
13557
13603
|
is_disabled?: boolean | undefined;
|
|
13558
13604
|
joined_clans?: string[] | undefined;
|
|
13605
|
+
pubkey?: string | undefined;
|
|
13559
13606
|
}[] & ({
|
|
13560
13607
|
user_id?: string | undefined;
|
|
13561
13608
|
username?: string | undefined;
|
|
@@ -13573,6 +13620,7 @@ export declare const UserChannelAdded: {
|
|
|
13573
13620
|
metadata?: string | undefined;
|
|
13574
13621
|
is_disabled?: boolean | undefined;
|
|
13575
13622
|
joined_clans?: string[] | undefined;
|
|
13623
|
+
pubkey?: string | undefined;
|
|
13576
13624
|
} & {
|
|
13577
13625
|
user_id?: string | undefined;
|
|
13578
13626
|
username?: string | undefined;
|
|
@@ -13602,6 +13650,7 @@ export declare const UserChannelAdded: {
|
|
|
13602
13650
|
metadata?: string | undefined;
|
|
13603
13651
|
is_disabled?: boolean | undefined;
|
|
13604
13652
|
joined_clans?: (string[] & string[] & { [K_36 in Exclude<keyof I_1["users"][number]["joined_clans"], keyof string[]>]: never; }) | undefined;
|
|
13653
|
+
pubkey?: string | undefined;
|
|
13605
13654
|
} & { [K_37 in Exclude<keyof I_1["users"][number], keyof UserProfileRedis>]: never; })[] & { [K_38 in Exclude<keyof I_1["users"], keyof {
|
|
13606
13655
|
user_id?: string | undefined;
|
|
13607
13656
|
username?: string | undefined;
|
|
@@ -13619,6 +13668,7 @@ export declare const UserChannelAdded: {
|
|
|
13619
13668
|
metadata?: string | undefined;
|
|
13620
13669
|
is_disabled?: boolean | undefined;
|
|
13621
13670
|
joined_clans?: string[] | undefined;
|
|
13671
|
+
pubkey?: string | undefined;
|
|
13622
13672
|
}[]>]: never; }) | undefined;
|
|
13623
13673
|
status?: string | undefined;
|
|
13624
13674
|
clan_id?: string | undefined;
|
|
@@ -13639,6 +13689,7 @@ export declare const UserChannelAdded: {
|
|
|
13639
13689
|
metadata?: string | undefined;
|
|
13640
13690
|
is_disabled?: boolean | undefined;
|
|
13641
13691
|
joined_clans?: string[] | undefined;
|
|
13692
|
+
pubkey?: string | undefined;
|
|
13642
13693
|
} & {
|
|
13643
13694
|
user_id?: string | undefined;
|
|
13644
13695
|
username?: string | undefined;
|
|
@@ -13668,6 +13719,7 @@ export declare const UserChannelAdded: {
|
|
|
13668
13719
|
metadata?: string | undefined;
|
|
13669
13720
|
is_disabled?: boolean | undefined;
|
|
13670
13721
|
joined_clans?: (string[] & string[] & { [K_41 in Exclude<keyof I_1["caller"]["joined_clans"], keyof string[]>]: never; }) | undefined;
|
|
13722
|
+
pubkey?: string | undefined;
|
|
13671
13723
|
} & { [K_42 in Exclude<keyof I_1["caller"], keyof UserProfileRedis>]: never; }) | undefined;
|
|
13672
13724
|
create_time_second?: number | undefined;
|
|
13673
13725
|
active?: number | undefined;
|
|
@@ -13855,6 +13907,7 @@ export declare const UserProfileRedis: {
|
|
|
13855
13907
|
metadata?: string | undefined;
|
|
13856
13908
|
is_disabled?: boolean | undefined;
|
|
13857
13909
|
joined_clans?: string[] | undefined;
|
|
13910
|
+
pubkey?: string | undefined;
|
|
13858
13911
|
} & {
|
|
13859
13912
|
user_id?: string | undefined;
|
|
13860
13913
|
username?: string | undefined;
|
|
@@ -13884,6 +13937,7 @@ export declare const UserProfileRedis: {
|
|
|
13884
13937
|
metadata?: string | undefined;
|
|
13885
13938
|
is_disabled?: boolean | undefined;
|
|
13886
13939
|
joined_clans?: (string[] & string[] & { [K_2 in Exclude<keyof I["joined_clans"], keyof string[]>]: never; }) | undefined;
|
|
13940
|
+
pubkey?: string | undefined;
|
|
13887
13941
|
} & { [K_3 in Exclude<keyof I, keyof UserProfileRedis>]: never; }>(base?: I | undefined): UserProfileRedis;
|
|
13888
13942
|
fromPartial<I_1 extends {
|
|
13889
13943
|
user_id?: string | undefined;
|
|
@@ -13902,6 +13956,7 @@ export declare const UserProfileRedis: {
|
|
|
13902
13956
|
metadata?: string | undefined;
|
|
13903
13957
|
is_disabled?: boolean | undefined;
|
|
13904
13958
|
joined_clans?: string[] | undefined;
|
|
13959
|
+
pubkey?: string | undefined;
|
|
13905
13960
|
} & {
|
|
13906
13961
|
user_id?: string | undefined;
|
|
13907
13962
|
username?: string | undefined;
|
|
@@ -13931,6 +13986,7 @@ export declare const UserProfileRedis: {
|
|
|
13931
13986
|
metadata?: string | undefined;
|
|
13932
13987
|
is_disabled?: boolean | undefined;
|
|
13933
13988
|
joined_clans?: (string[] & string[] & { [K_6 in Exclude<keyof I_1["joined_clans"], keyof string[]>]: never; }) | undefined;
|
|
13989
|
+
pubkey?: string | undefined;
|
|
13934
13990
|
} & { [K_7 in Exclude<keyof I_1, keyof UserProfileRedis>]: never; }>(object: I_1): UserProfileRedis;
|
|
13935
13991
|
};
|
|
13936
13992
|
export declare const FCMTokens: {
|
|
@@ -13691,7 +13691,8 @@ function createBaseUserProfileRedis() {
|
|
|
13691
13691
|
online: false,
|
|
13692
13692
|
metadata: "",
|
|
13693
13693
|
is_disabled: false,
|
|
13694
|
-
joined_clans: []
|
|
13694
|
+
joined_clans: [],
|
|
13695
|
+
pubkey: ""
|
|
13695
13696
|
};
|
|
13696
13697
|
}
|
|
13697
13698
|
var UserProfileRedis = {
|
|
@@ -13732,6 +13733,9 @@ var UserProfileRedis = {
|
|
|
13732
13733
|
for (const v of message.joined_clans) {
|
|
13733
13734
|
writer.uint32(98).string(v);
|
|
13734
13735
|
}
|
|
13736
|
+
if (message.pubkey !== "") {
|
|
13737
|
+
writer.uint32(106).string(message.pubkey);
|
|
13738
|
+
}
|
|
13735
13739
|
return writer;
|
|
13736
13740
|
},
|
|
13737
13741
|
decode(input, length) {
|
|
@@ -13813,6 +13817,12 @@ var UserProfileRedis = {
|
|
|
13813
13817
|
}
|
|
13814
13818
|
message.joined_clans.push(reader.string());
|
|
13815
13819
|
continue;
|
|
13820
|
+
case 13:
|
|
13821
|
+
if (tag !== 106) {
|
|
13822
|
+
break;
|
|
13823
|
+
}
|
|
13824
|
+
message.pubkey = reader.string();
|
|
13825
|
+
continue;
|
|
13816
13826
|
}
|
|
13817
13827
|
if ((tag & 7) === 4 || tag === 0) {
|
|
13818
13828
|
break;
|
|
@@ -13834,7 +13844,8 @@ var UserProfileRedis = {
|
|
|
13834
13844
|
online: isSet4(object.online) ? globalThis.Boolean(object.online) : false,
|
|
13835
13845
|
metadata: isSet4(object.metadata) ? globalThis.String(object.metadata) : "",
|
|
13836
13846
|
is_disabled: isSet4(object.is_disabled) ? globalThis.Boolean(object.is_disabled) : false,
|
|
13837
|
-
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) : ""
|
|
13838
13849
|
};
|
|
13839
13850
|
},
|
|
13840
13851
|
toJSON(message) {
|
|
@@ -13876,13 +13887,16 @@ var UserProfileRedis = {
|
|
|
13876
13887
|
if ((_b = message.joined_clans) == null ? void 0 : _b.length) {
|
|
13877
13888
|
obj.joined_clans = message.joined_clans;
|
|
13878
13889
|
}
|
|
13890
|
+
if (message.pubkey !== "") {
|
|
13891
|
+
obj.pubkey = message.pubkey;
|
|
13892
|
+
}
|
|
13879
13893
|
return obj;
|
|
13880
13894
|
},
|
|
13881
13895
|
create(base) {
|
|
13882
13896
|
return UserProfileRedis.fromPartial(base != null ? base : {});
|
|
13883
13897
|
},
|
|
13884
13898
|
fromPartial(object) {
|
|
13885
|
-
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;
|
|
13886
13900
|
const message = createBaseUserProfileRedis();
|
|
13887
13901
|
message.user_id = (_a = object.user_id) != null ? _a : "";
|
|
13888
13902
|
message.username = (_b = object.username) != null ? _b : "";
|
|
@@ -13896,6 +13910,7 @@ var UserProfileRedis = {
|
|
|
13896
13910
|
message.metadata = (_j = object.metadata) != null ? _j : "";
|
|
13897
13911
|
message.is_disabled = (_k = object.is_disabled) != null ? _k : false;
|
|
13898
13912
|
message.joined_clans = ((_l = object.joined_clans) == null ? void 0 : _l.map((e) => e)) || [];
|
|
13913
|
+
message.pubkey = (_m = object.pubkey) != null ? _m : "";
|
|
13899
13914
|
return message;
|
|
13900
13915
|
}
|
|
13901
13916
|
};
|
|
@@ -13678,7 +13678,8 @@ function createBaseUserProfileRedis() {
|
|
|
13678
13678
|
online: false,
|
|
13679
13679
|
metadata: "",
|
|
13680
13680
|
is_disabled: false,
|
|
13681
|
-
joined_clans: []
|
|
13681
|
+
joined_clans: [],
|
|
13682
|
+
pubkey: ""
|
|
13682
13683
|
};
|
|
13683
13684
|
}
|
|
13684
13685
|
var UserProfileRedis = {
|
|
@@ -13719,6 +13720,9 @@ var UserProfileRedis = {
|
|
|
13719
13720
|
for (const v of message.joined_clans) {
|
|
13720
13721
|
writer.uint32(98).string(v);
|
|
13721
13722
|
}
|
|
13723
|
+
if (message.pubkey !== "") {
|
|
13724
|
+
writer.uint32(106).string(message.pubkey);
|
|
13725
|
+
}
|
|
13722
13726
|
return writer;
|
|
13723
13727
|
},
|
|
13724
13728
|
decode(input, length) {
|
|
@@ -13800,6 +13804,12 @@ var UserProfileRedis = {
|
|
|
13800
13804
|
}
|
|
13801
13805
|
message.joined_clans.push(reader.string());
|
|
13802
13806
|
continue;
|
|
13807
|
+
case 13:
|
|
13808
|
+
if (tag !== 106) {
|
|
13809
|
+
break;
|
|
13810
|
+
}
|
|
13811
|
+
message.pubkey = reader.string();
|
|
13812
|
+
continue;
|
|
13803
13813
|
}
|
|
13804
13814
|
if ((tag & 7) === 4 || tag === 0) {
|
|
13805
13815
|
break;
|
|
@@ -13821,7 +13831,8 @@ var UserProfileRedis = {
|
|
|
13821
13831
|
online: isSet4(object.online) ? globalThis.Boolean(object.online) : false,
|
|
13822
13832
|
metadata: isSet4(object.metadata) ? globalThis.String(object.metadata) : "",
|
|
13823
13833
|
is_disabled: isSet4(object.is_disabled) ? globalThis.Boolean(object.is_disabled) : false,
|
|
13824
|
-
joined_clans: globalThis.Array.isArray(object == null ? void 0 : object.joined_clans) ? object.joined_clans.map((e) => globalThis.String(e)) : []
|
|
13834
|
+
joined_clans: globalThis.Array.isArray(object == null ? void 0 : object.joined_clans) ? object.joined_clans.map((e) => globalThis.String(e)) : [],
|
|
13835
|
+
pubkey: isSet4(object.pubkey) ? globalThis.String(object.pubkey) : ""
|
|
13825
13836
|
};
|
|
13826
13837
|
},
|
|
13827
13838
|
toJSON(message) {
|
|
@@ -13863,13 +13874,16 @@ var UserProfileRedis = {
|
|
|
13863
13874
|
if ((_b = message.joined_clans) == null ? void 0 : _b.length) {
|
|
13864
13875
|
obj.joined_clans = message.joined_clans;
|
|
13865
13876
|
}
|
|
13877
|
+
if (message.pubkey !== "") {
|
|
13878
|
+
obj.pubkey = message.pubkey;
|
|
13879
|
+
}
|
|
13866
13880
|
return obj;
|
|
13867
13881
|
},
|
|
13868
13882
|
create(base) {
|
|
13869
13883
|
return UserProfileRedis.fromPartial(base != null ? base : {});
|
|
13870
13884
|
},
|
|
13871
13885
|
fromPartial(object) {
|
|
13872
|
-
var _a, _b, _c, _d, _e, _f, _g, _h, _i, _j, _k, _l;
|
|
13886
|
+
var _a, _b, _c, _d, _e, _f, _g, _h, _i, _j, _k, _l, _m;
|
|
13873
13887
|
const message = createBaseUserProfileRedis();
|
|
13874
13888
|
message.user_id = (_a = object.user_id) != null ? _a : "";
|
|
13875
13889
|
message.username = (_b = object.username) != null ? _b : "";
|
|
@@ -13883,6 +13897,7 @@ var UserProfileRedis = {
|
|
|
13883
13897
|
message.metadata = (_j = object.metadata) != null ? _j : "";
|
|
13884
13898
|
message.is_disabled = (_k = object.is_disabled) != null ? _k : false;
|
|
13885
13899
|
message.joined_clans = ((_l = object.joined_clans) == null ? void 0 : _l.map((e) => e)) || [];
|
|
13900
|
+
message.pubkey = (_m = object.pubkey) != null ? _m : "";
|
|
13886
13901
|
return message;
|
|
13887
13902
|
}
|
|
13888
13903
|
};
|