mezon-js-protobuf 1.7.9 → 1.7.11
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 +39253 -39208
- package/dist/mezon-js-protobuf/api/api.d.ts +22 -0
- package/dist/mezon-js-protobuf/rtapi/realtime.d.ts +74 -14
- package/dist/mezon-js-protobuf.cjs.js +82 -12
- package/dist/mezon-js-protobuf.esm.mjs +82 -12
- 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 +11597 -11512
|
@@ -1187,6 +1187,8 @@ export interface ClanDesc {
|
|
|
1187
1187
|
badge_count: number;
|
|
1188
1188
|
/** Is onboarding. */
|
|
1189
1189
|
is_onboarding: boolean;
|
|
1190
|
+
/** Welcome channel id. */
|
|
1191
|
+
welcome_channel_id: string;
|
|
1190
1192
|
}
|
|
1191
1193
|
/** Clan information */
|
|
1192
1194
|
export interface CreateClanDescRequest {
|
|
@@ -1210,6 +1212,8 @@ export interface UpdateClanDescRequest {
|
|
|
1210
1212
|
status: number;
|
|
1211
1213
|
/** Is onboarding. */
|
|
1212
1214
|
is_onboarding: boolean | undefined;
|
|
1215
|
+
/** Welcome channel id. */
|
|
1216
|
+
welcome_channel_id: string;
|
|
1213
1217
|
}
|
|
1214
1218
|
/** Delete a clan the user has access to. */
|
|
1215
1219
|
export interface DeleteClanDescRequest {
|
|
@@ -10886,6 +10890,7 @@ export declare const ClanDesc: {
|
|
|
10886
10890
|
status?: number | undefined;
|
|
10887
10891
|
badge_count?: number | undefined;
|
|
10888
10892
|
is_onboarding?: boolean | undefined;
|
|
10893
|
+
welcome_channel_id?: string | undefined;
|
|
10889
10894
|
} & {
|
|
10890
10895
|
creator_id?: string | undefined;
|
|
10891
10896
|
clan_name?: string | undefined;
|
|
@@ -10895,6 +10900,7 @@ export declare const ClanDesc: {
|
|
|
10895
10900
|
status?: number | undefined;
|
|
10896
10901
|
badge_count?: number | undefined;
|
|
10897
10902
|
is_onboarding?: boolean | undefined;
|
|
10903
|
+
welcome_channel_id?: string | undefined;
|
|
10898
10904
|
} & { [K in Exclude<keyof I, keyof ClanDesc>]: never; }>(base?: I | undefined): ClanDesc;
|
|
10899
10905
|
fromPartial<I_1 extends {
|
|
10900
10906
|
creator_id?: string | undefined;
|
|
@@ -10905,6 +10911,7 @@ export declare const ClanDesc: {
|
|
|
10905
10911
|
status?: number | undefined;
|
|
10906
10912
|
badge_count?: number | undefined;
|
|
10907
10913
|
is_onboarding?: boolean | undefined;
|
|
10914
|
+
welcome_channel_id?: string | undefined;
|
|
10908
10915
|
} & {
|
|
10909
10916
|
creator_id?: string | undefined;
|
|
10910
10917
|
clan_name?: string | undefined;
|
|
@@ -10914,6 +10921,7 @@ export declare const ClanDesc: {
|
|
|
10914
10921
|
status?: number | undefined;
|
|
10915
10922
|
badge_count?: number | undefined;
|
|
10916
10923
|
is_onboarding?: boolean | undefined;
|
|
10924
|
+
welcome_channel_id?: string | undefined;
|
|
10917
10925
|
} & { [K_1 in Exclude<keyof I_1, keyof ClanDesc>]: never; }>(object: I_1): ClanDesc;
|
|
10918
10926
|
};
|
|
10919
10927
|
export declare const CreateClanDescRequest: {
|
|
@@ -10952,6 +10960,7 @@ export declare const UpdateClanDescRequest: {
|
|
|
10952
10960
|
banner?: string | undefined;
|
|
10953
10961
|
status?: number | undefined;
|
|
10954
10962
|
is_onboarding?: boolean | undefined;
|
|
10963
|
+
welcome_channel_id?: string | undefined;
|
|
10955
10964
|
} & {
|
|
10956
10965
|
clan_id?: string | undefined;
|
|
10957
10966
|
clan_name?: string | undefined;
|
|
@@ -10959,6 +10968,7 @@ export declare const UpdateClanDescRequest: {
|
|
|
10959
10968
|
banner?: string | undefined;
|
|
10960
10969
|
status?: number | undefined;
|
|
10961
10970
|
is_onboarding?: boolean | undefined;
|
|
10971
|
+
welcome_channel_id?: string | undefined;
|
|
10962
10972
|
} & { [K in Exclude<keyof I, keyof UpdateClanDescRequest>]: never; }>(base?: I | undefined): UpdateClanDescRequest;
|
|
10963
10973
|
fromPartial<I_1 extends {
|
|
10964
10974
|
clan_id?: string | undefined;
|
|
@@ -10967,6 +10977,7 @@ export declare const UpdateClanDescRequest: {
|
|
|
10967
10977
|
banner?: string | undefined;
|
|
10968
10978
|
status?: number | undefined;
|
|
10969
10979
|
is_onboarding?: boolean | undefined;
|
|
10980
|
+
welcome_channel_id?: string | undefined;
|
|
10970
10981
|
} & {
|
|
10971
10982
|
clan_id?: string | undefined;
|
|
10972
10983
|
clan_name?: string | undefined;
|
|
@@ -10974,6 +10985,7 @@ export declare const UpdateClanDescRequest: {
|
|
|
10974
10985
|
banner?: string | undefined;
|
|
10975
10986
|
status?: number | undefined;
|
|
10976
10987
|
is_onboarding?: boolean | undefined;
|
|
10988
|
+
welcome_channel_id?: string | undefined;
|
|
10977
10989
|
} & { [K_1 in Exclude<keyof I_1, keyof UpdateClanDescRequest>]: never; }>(object: I_1): UpdateClanDescRequest;
|
|
10978
10990
|
};
|
|
10979
10991
|
export declare const DeleteClanDescRequest: {
|
|
@@ -11031,6 +11043,7 @@ export declare const ClanDescList: {
|
|
|
11031
11043
|
status?: number | undefined;
|
|
11032
11044
|
badge_count?: number | undefined;
|
|
11033
11045
|
is_onboarding?: boolean | undefined;
|
|
11046
|
+
welcome_channel_id?: string | undefined;
|
|
11034
11047
|
}[] | undefined;
|
|
11035
11048
|
} & {
|
|
11036
11049
|
clandesc?: ({
|
|
@@ -11042,6 +11055,7 @@ export declare const ClanDescList: {
|
|
|
11042
11055
|
status?: number | undefined;
|
|
11043
11056
|
badge_count?: number | undefined;
|
|
11044
11057
|
is_onboarding?: boolean | undefined;
|
|
11058
|
+
welcome_channel_id?: string | undefined;
|
|
11045
11059
|
}[] & ({
|
|
11046
11060
|
creator_id?: string | undefined;
|
|
11047
11061
|
clan_name?: string | undefined;
|
|
@@ -11051,6 +11065,7 @@ export declare const ClanDescList: {
|
|
|
11051
11065
|
status?: number | undefined;
|
|
11052
11066
|
badge_count?: number | undefined;
|
|
11053
11067
|
is_onboarding?: boolean | undefined;
|
|
11068
|
+
welcome_channel_id?: string | undefined;
|
|
11054
11069
|
} & {
|
|
11055
11070
|
creator_id?: string | undefined;
|
|
11056
11071
|
clan_name?: string | undefined;
|
|
@@ -11060,6 +11075,7 @@ export declare const ClanDescList: {
|
|
|
11060
11075
|
status?: number | undefined;
|
|
11061
11076
|
badge_count?: number | undefined;
|
|
11062
11077
|
is_onboarding?: boolean | undefined;
|
|
11078
|
+
welcome_channel_id?: string | undefined;
|
|
11063
11079
|
} & { [K in Exclude<keyof I["clandesc"][number], keyof ClanDesc>]: never; })[] & { [K_1 in Exclude<keyof I["clandesc"], keyof {
|
|
11064
11080
|
creator_id?: string | undefined;
|
|
11065
11081
|
clan_name?: string | undefined;
|
|
@@ -11069,6 +11085,7 @@ export declare const ClanDescList: {
|
|
|
11069
11085
|
status?: number | undefined;
|
|
11070
11086
|
badge_count?: number | undefined;
|
|
11071
11087
|
is_onboarding?: boolean | undefined;
|
|
11088
|
+
welcome_channel_id?: string | undefined;
|
|
11072
11089
|
}[]>]: never; }) | undefined;
|
|
11073
11090
|
} & { [K_2 in Exclude<keyof I, "clandesc">]: never; }>(base?: I | undefined): ClanDescList;
|
|
11074
11091
|
fromPartial<I_1 extends {
|
|
@@ -11081,6 +11098,7 @@ export declare const ClanDescList: {
|
|
|
11081
11098
|
status?: number | undefined;
|
|
11082
11099
|
badge_count?: number | undefined;
|
|
11083
11100
|
is_onboarding?: boolean | undefined;
|
|
11101
|
+
welcome_channel_id?: string | undefined;
|
|
11084
11102
|
}[] | undefined;
|
|
11085
11103
|
} & {
|
|
11086
11104
|
clandesc?: ({
|
|
@@ -11092,6 +11110,7 @@ export declare const ClanDescList: {
|
|
|
11092
11110
|
status?: number | undefined;
|
|
11093
11111
|
badge_count?: number | undefined;
|
|
11094
11112
|
is_onboarding?: boolean | undefined;
|
|
11113
|
+
welcome_channel_id?: string | undefined;
|
|
11095
11114
|
}[] & ({
|
|
11096
11115
|
creator_id?: string | undefined;
|
|
11097
11116
|
clan_name?: string | undefined;
|
|
@@ -11101,6 +11120,7 @@ export declare const ClanDescList: {
|
|
|
11101
11120
|
status?: number | undefined;
|
|
11102
11121
|
badge_count?: number | undefined;
|
|
11103
11122
|
is_onboarding?: boolean | undefined;
|
|
11123
|
+
welcome_channel_id?: string | undefined;
|
|
11104
11124
|
} & {
|
|
11105
11125
|
creator_id?: string | undefined;
|
|
11106
11126
|
clan_name?: string | undefined;
|
|
@@ -11110,6 +11130,7 @@ export declare const ClanDescList: {
|
|
|
11110
11130
|
status?: number | undefined;
|
|
11111
11131
|
badge_count?: number | undefined;
|
|
11112
11132
|
is_onboarding?: boolean | undefined;
|
|
11133
|
+
welcome_channel_id?: string | undefined;
|
|
11113
11134
|
} & { [K_3 in Exclude<keyof I_1["clandesc"][number], keyof ClanDesc>]: never; })[] & { [K_4 in Exclude<keyof I_1["clandesc"], keyof {
|
|
11114
11135
|
creator_id?: string | undefined;
|
|
11115
11136
|
clan_name?: string | undefined;
|
|
@@ -11119,6 +11140,7 @@ export declare const ClanDescList: {
|
|
|
11119
11140
|
status?: number | undefined;
|
|
11120
11141
|
badge_count?: number | undefined;
|
|
11121
11142
|
is_onboarding?: boolean | undefined;
|
|
11143
|
+
welcome_channel_id?: string | undefined;
|
|
11122
11144
|
}[]>]: never; }) | undefined;
|
|
11123
11145
|
} & { [K_5 in Exclude<keyof I_1, "clandesc">]: never; }>(object: I_1): ClanDescList;
|
|
11124
11146
|
};
|
|
@@ -820,6 +820,8 @@ export interface UserChannelRemoved {
|
|
|
820
820
|
user_ids: string[];
|
|
821
821
|
/** the channel type */
|
|
822
822
|
channel_type: number;
|
|
823
|
+
/** the clan_id */
|
|
824
|
+
clan_id: string;
|
|
823
825
|
}
|
|
824
826
|
/** */
|
|
825
827
|
export interface UserClanRemoved {
|
|
@@ -830,12 +832,20 @@ export interface UserClanRemoved {
|
|
|
830
832
|
}
|
|
831
833
|
/** clan updated event */
|
|
832
834
|
export interface ClanUpdatedEvent {
|
|
833
|
-
/**
|
|
835
|
+
/** clan id */
|
|
834
836
|
clan_id: string;
|
|
835
|
-
/**
|
|
837
|
+
/** clan name */
|
|
836
838
|
clan_name: string;
|
|
837
|
-
/**
|
|
838
|
-
|
|
839
|
+
/** logo */
|
|
840
|
+
logo: string;
|
|
841
|
+
/** banner */
|
|
842
|
+
banner: string;
|
|
843
|
+
/** status */
|
|
844
|
+
status: number;
|
|
845
|
+
/** is onboarding */
|
|
846
|
+
is_onboarding: boolean;
|
|
847
|
+
/** welcome channel id */
|
|
848
|
+
welcome_channel_id: string;
|
|
839
849
|
}
|
|
840
850
|
/** clan profile updated event */
|
|
841
851
|
export interface ClanProfileUpdatedEvent {
|
|
@@ -1556,6 +1566,7 @@ export declare const Envelope: {
|
|
|
1556
1566
|
channel_id?: string | undefined;
|
|
1557
1567
|
user_ids?: string[] | undefined;
|
|
1558
1568
|
channel_type?: number | undefined;
|
|
1569
|
+
clan_id?: string | undefined;
|
|
1559
1570
|
} | undefined;
|
|
1560
1571
|
user_clan_removed_event?: {
|
|
1561
1572
|
clan_id?: string | undefined;
|
|
@@ -1564,7 +1575,11 @@ export declare const Envelope: {
|
|
|
1564
1575
|
clan_updated_event?: {
|
|
1565
1576
|
clan_id?: string | undefined;
|
|
1566
1577
|
clan_name?: string | undefined;
|
|
1567
|
-
|
|
1578
|
+
logo?: string | undefined;
|
|
1579
|
+
banner?: string | undefined;
|
|
1580
|
+
status?: number | undefined;
|
|
1581
|
+
is_onboarding?: boolean | undefined;
|
|
1582
|
+
welcome_channel_id?: string | undefined;
|
|
1568
1583
|
} | undefined;
|
|
1569
1584
|
clan_profile_updated_event?: {
|
|
1570
1585
|
user_id?: string | undefined;
|
|
@@ -3726,10 +3741,12 @@ export declare const Envelope: {
|
|
|
3726
3741
|
channel_id?: string | undefined;
|
|
3727
3742
|
user_ids?: string[] | undefined;
|
|
3728
3743
|
channel_type?: number | undefined;
|
|
3744
|
+
clan_id?: string | undefined;
|
|
3729
3745
|
} & {
|
|
3730
3746
|
channel_id?: string | undefined;
|
|
3731
3747
|
user_ids?: (string[] & string[] & { [K_102 in Exclude<keyof I["user_channel_removed_event"]["user_ids"], keyof string[]>]: never; }) | undefined;
|
|
3732
3748
|
channel_type?: number | undefined;
|
|
3749
|
+
clan_id?: string | undefined;
|
|
3733
3750
|
} & { [K_103 in Exclude<keyof I["user_channel_removed_event"], keyof UserChannelRemoved>]: never; }) | undefined;
|
|
3734
3751
|
user_clan_removed_event?: ({
|
|
3735
3752
|
clan_id?: string | undefined;
|
|
@@ -3741,11 +3758,19 @@ export declare const Envelope: {
|
|
|
3741
3758
|
clan_updated_event?: ({
|
|
3742
3759
|
clan_id?: string | undefined;
|
|
3743
3760
|
clan_name?: string | undefined;
|
|
3744
|
-
|
|
3761
|
+
logo?: string | undefined;
|
|
3762
|
+
banner?: string | undefined;
|
|
3763
|
+
status?: number | undefined;
|
|
3764
|
+
is_onboarding?: boolean | undefined;
|
|
3765
|
+
welcome_channel_id?: string | undefined;
|
|
3745
3766
|
} & {
|
|
3746
3767
|
clan_id?: string | undefined;
|
|
3747
3768
|
clan_name?: string | undefined;
|
|
3748
|
-
|
|
3769
|
+
logo?: string | undefined;
|
|
3770
|
+
banner?: string | undefined;
|
|
3771
|
+
status?: number | undefined;
|
|
3772
|
+
is_onboarding?: boolean | undefined;
|
|
3773
|
+
welcome_channel_id?: string | undefined;
|
|
3749
3774
|
} & { [K_106 in Exclude<keyof I["clan_updated_event"], keyof ClanUpdatedEvent>]: never; }) | undefined;
|
|
3750
3775
|
clan_profile_updated_event?: ({
|
|
3751
3776
|
user_id?: string | undefined;
|
|
@@ -5094,6 +5119,7 @@ export declare const Envelope: {
|
|
|
5094
5119
|
channel_id?: string | undefined;
|
|
5095
5120
|
user_ids?: string[] | undefined;
|
|
5096
5121
|
channel_type?: number | undefined;
|
|
5122
|
+
clan_id?: string | undefined;
|
|
5097
5123
|
} | undefined;
|
|
5098
5124
|
user_clan_removed_event?: {
|
|
5099
5125
|
clan_id?: string | undefined;
|
|
@@ -5102,7 +5128,11 @@ export declare const Envelope: {
|
|
|
5102
5128
|
clan_updated_event?: {
|
|
5103
5129
|
clan_id?: string | undefined;
|
|
5104
5130
|
clan_name?: string | undefined;
|
|
5105
|
-
|
|
5131
|
+
logo?: string | undefined;
|
|
5132
|
+
banner?: string | undefined;
|
|
5133
|
+
status?: number | undefined;
|
|
5134
|
+
is_onboarding?: boolean | undefined;
|
|
5135
|
+
welcome_channel_id?: string | undefined;
|
|
5106
5136
|
} | undefined;
|
|
5107
5137
|
clan_profile_updated_event?: {
|
|
5108
5138
|
user_id?: string | undefined;
|
|
@@ -7264,10 +7294,12 @@ export declare const Envelope: {
|
|
|
7264
7294
|
channel_id?: string | undefined;
|
|
7265
7295
|
user_ids?: string[] | undefined;
|
|
7266
7296
|
channel_type?: number | undefined;
|
|
7297
|
+
clan_id?: string | undefined;
|
|
7267
7298
|
} & {
|
|
7268
7299
|
channel_id?: string | undefined;
|
|
7269
7300
|
user_ids?: (string[] & string[] & { [K_271 in Exclude<keyof I_1["user_channel_removed_event"]["user_ids"], keyof string[]>]: never; }) | undefined;
|
|
7270
7301
|
channel_type?: number | undefined;
|
|
7302
|
+
clan_id?: string | undefined;
|
|
7271
7303
|
} & { [K_272 in Exclude<keyof I_1["user_channel_removed_event"], keyof UserChannelRemoved>]: never; }) | undefined;
|
|
7272
7304
|
user_clan_removed_event?: ({
|
|
7273
7305
|
clan_id?: string | undefined;
|
|
@@ -7279,11 +7311,19 @@ export declare const Envelope: {
|
|
|
7279
7311
|
clan_updated_event?: ({
|
|
7280
7312
|
clan_id?: string | undefined;
|
|
7281
7313
|
clan_name?: string | undefined;
|
|
7282
|
-
|
|
7314
|
+
logo?: string | undefined;
|
|
7315
|
+
banner?: string | undefined;
|
|
7316
|
+
status?: number | undefined;
|
|
7317
|
+
is_onboarding?: boolean | undefined;
|
|
7318
|
+
welcome_channel_id?: string | undefined;
|
|
7283
7319
|
} & {
|
|
7284
7320
|
clan_id?: string | undefined;
|
|
7285
7321
|
clan_name?: string | undefined;
|
|
7286
|
-
|
|
7322
|
+
logo?: string | undefined;
|
|
7323
|
+
banner?: string | undefined;
|
|
7324
|
+
status?: number | undefined;
|
|
7325
|
+
is_onboarding?: boolean | undefined;
|
|
7326
|
+
welcome_channel_id?: string | undefined;
|
|
7287
7327
|
} & { [K_275 in Exclude<keyof I_1["clan_updated_event"], keyof ClanUpdatedEvent>]: never; }) | undefined;
|
|
7288
7328
|
clan_profile_updated_event?: ({
|
|
7289
7329
|
user_id?: string | undefined;
|
|
@@ -13003,19 +13043,23 @@ export declare const UserChannelRemoved: {
|
|
|
13003
13043
|
channel_id?: string | undefined;
|
|
13004
13044
|
user_ids?: string[] | undefined;
|
|
13005
13045
|
channel_type?: number | undefined;
|
|
13046
|
+
clan_id?: string | undefined;
|
|
13006
13047
|
} & {
|
|
13007
13048
|
channel_id?: string | undefined;
|
|
13008
13049
|
user_ids?: (string[] & string[] & { [K in Exclude<keyof I["user_ids"], keyof string[]>]: never; }) | undefined;
|
|
13009
13050
|
channel_type?: number | undefined;
|
|
13051
|
+
clan_id?: string | undefined;
|
|
13010
13052
|
} & { [K_1 in Exclude<keyof I, keyof UserChannelRemoved>]: never; }>(base?: I | undefined): UserChannelRemoved;
|
|
13011
13053
|
fromPartial<I_1 extends {
|
|
13012
13054
|
channel_id?: string | undefined;
|
|
13013
13055
|
user_ids?: string[] | undefined;
|
|
13014
13056
|
channel_type?: number | undefined;
|
|
13057
|
+
clan_id?: string | undefined;
|
|
13015
13058
|
} & {
|
|
13016
13059
|
channel_id?: string | undefined;
|
|
13017
13060
|
user_ids?: (string[] & string[] & { [K_2 in Exclude<keyof I_1["user_ids"], keyof string[]>]: never; }) | undefined;
|
|
13018
13061
|
channel_type?: number | undefined;
|
|
13062
|
+
clan_id?: string | undefined;
|
|
13019
13063
|
} & { [K_3 in Exclude<keyof I_1, keyof UserChannelRemoved>]: never; }>(object: I_1): UserChannelRemoved;
|
|
13020
13064
|
};
|
|
13021
13065
|
export declare const UserClanRemoved: {
|
|
@@ -13046,20 +13090,36 @@ export declare const ClanUpdatedEvent: {
|
|
|
13046
13090
|
create<I extends {
|
|
13047
13091
|
clan_id?: string | undefined;
|
|
13048
13092
|
clan_name?: string | undefined;
|
|
13049
|
-
|
|
13093
|
+
logo?: string | undefined;
|
|
13094
|
+
banner?: string | undefined;
|
|
13095
|
+
status?: number | undefined;
|
|
13096
|
+
is_onboarding?: boolean | undefined;
|
|
13097
|
+
welcome_channel_id?: string | undefined;
|
|
13050
13098
|
} & {
|
|
13051
13099
|
clan_id?: string | undefined;
|
|
13052
13100
|
clan_name?: string | undefined;
|
|
13053
|
-
|
|
13101
|
+
logo?: string | undefined;
|
|
13102
|
+
banner?: string | undefined;
|
|
13103
|
+
status?: number | undefined;
|
|
13104
|
+
is_onboarding?: boolean | undefined;
|
|
13105
|
+
welcome_channel_id?: string | undefined;
|
|
13054
13106
|
} & { [K in Exclude<keyof I, keyof ClanUpdatedEvent>]: never; }>(base?: I | undefined): ClanUpdatedEvent;
|
|
13055
13107
|
fromPartial<I_1 extends {
|
|
13056
13108
|
clan_id?: string | undefined;
|
|
13057
13109
|
clan_name?: string | undefined;
|
|
13058
|
-
|
|
13110
|
+
logo?: string | undefined;
|
|
13111
|
+
banner?: string | undefined;
|
|
13112
|
+
status?: number | undefined;
|
|
13113
|
+
is_onboarding?: boolean | undefined;
|
|
13114
|
+
welcome_channel_id?: string | undefined;
|
|
13059
13115
|
} & {
|
|
13060
13116
|
clan_id?: string | undefined;
|
|
13061
13117
|
clan_name?: string | undefined;
|
|
13062
|
-
|
|
13118
|
+
logo?: string | undefined;
|
|
13119
|
+
banner?: string | undefined;
|
|
13120
|
+
status?: number | undefined;
|
|
13121
|
+
is_onboarding?: boolean | undefined;
|
|
13122
|
+
welcome_channel_id?: string | undefined;
|
|
13063
13123
|
} & { [K_1 in Exclude<keyof I_1, keyof ClanUpdatedEvent>]: never; }>(object: I_1): ClanUpdatedEvent;
|
|
13064
13124
|
};
|
|
13065
13125
|
export declare const ClanProfileUpdatedEvent: {
|
|
@@ -12865,7 +12865,7 @@ var UserChannelAdded = {
|
|
|
12865
12865
|
}
|
|
12866
12866
|
};
|
|
12867
12867
|
function createBaseUserChannelRemoved() {
|
|
12868
|
-
return { channel_id: "", user_ids: [], channel_type: 0 };
|
|
12868
|
+
return { channel_id: "", user_ids: [], channel_type: 0, clan_id: "" };
|
|
12869
12869
|
}
|
|
12870
12870
|
var UserChannelRemoved = {
|
|
12871
12871
|
encode(message, writer = import_minimal5.default.Writer.create()) {
|
|
@@ -12878,6 +12878,9 @@ var UserChannelRemoved = {
|
|
|
12878
12878
|
if (message.channel_type !== 0) {
|
|
12879
12879
|
writer.uint32(24).int32(message.channel_type);
|
|
12880
12880
|
}
|
|
12881
|
+
if (message.clan_id !== "") {
|
|
12882
|
+
writer.uint32(34).string(message.clan_id);
|
|
12883
|
+
}
|
|
12881
12884
|
return writer;
|
|
12882
12885
|
},
|
|
12883
12886
|
decode(input, length) {
|
|
@@ -12905,6 +12908,12 @@ var UserChannelRemoved = {
|
|
|
12905
12908
|
}
|
|
12906
12909
|
message.channel_type = reader.int32();
|
|
12907
12910
|
continue;
|
|
12911
|
+
case 4:
|
|
12912
|
+
if (tag !== 34) {
|
|
12913
|
+
break;
|
|
12914
|
+
}
|
|
12915
|
+
message.clan_id = reader.string();
|
|
12916
|
+
continue;
|
|
12908
12917
|
}
|
|
12909
12918
|
if ((tag & 7) === 4 || tag === 0) {
|
|
12910
12919
|
break;
|
|
@@ -12917,7 +12926,8 @@ var UserChannelRemoved = {
|
|
|
12917
12926
|
return {
|
|
12918
12927
|
channel_id: isSet4(object.channel_id) ? globalThis.String(object.channel_id) : "",
|
|
12919
12928
|
user_ids: globalThis.Array.isArray(object == null ? void 0 : object.user_ids) ? object.user_ids.map((e) => globalThis.String(e)) : [],
|
|
12920
|
-
channel_type: isSet4(object.channel_type) ? globalThis.Number(object.channel_type) : 0
|
|
12929
|
+
channel_type: isSet4(object.channel_type) ? globalThis.Number(object.channel_type) : 0,
|
|
12930
|
+
clan_id: isSet4(object.clan_id) ? globalThis.String(object.clan_id) : ""
|
|
12921
12931
|
};
|
|
12922
12932
|
},
|
|
12923
12933
|
toJSON(message) {
|
|
@@ -12932,17 +12942,21 @@ var UserChannelRemoved = {
|
|
|
12932
12942
|
if (message.channel_type !== 0) {
|
|
12933
12943
|
obj.channel_type = Math.round(message.channel_type);
|
|
12934
12944
|
}
|
|
12945
|
+
if (message.clan_id !== "") {
|
|
12946
|
+
obj.clan_id = message.clan_id;
|
|
12947
|
+
}
|
|
12935
12948
|
return obj;
|
|
12936
12949
|
},
|
|
12937
12950
|
create(base) {
|
|
12938
12951
|
return UserChannelRemoved.fromPartial(base != null ? base : {});
|
|
12939
12952
|
},
|
|
12940
12953
|
fromPartial(object) {
|
|
12941
|
-
var _a, _b, _c;
|
|
12954
|
+
var _a, _b, _c, _d;
|
|
12942
12955
|
const message = createBaseUserChannelRemoved();
|
|
12943
12956
|
message.channel_id = (_a = object.channel_id) != null ? _a : "";
|
|
12944
12957
|
message.user_ids = ((_b = object.user_ids) == null ? void 0 : _b.map((e) => e)) || [];
|
|
12945
12958
|
message.channel_type = (_c = object.channel_type) != null ? _c : 0;
|
|
12959
|
+
message.clan_id = (_d = object.clan_id) != null ? _d : "";
|
|
12946
12960
|
return message;
|
|
12947
12961
|
}
|
|
12948
12962
|
};
|
|
@@ -13015,7 +13029,7 @@ var UserClanRemoved = {
|
|
|
13015
13029
|
}
|
|
13016
13030
|
};
|
|
13017
13031
|
function createBaseClanUpdatedEvent() {
|
|
13018
|
-
return { clan_id: "", clan_name: "",
|
|
13032
|
+
return { clan_id: "", clan_name: "", logo: "", banner: "", status: 0, is_onboarding: false, welcome_channel_id: "" };
|
|
13019
13033
|
}
|
|
13020
13034
|
var ClanUpdatedEvent = {
|
|
13021
13035
|
encode(message, writer = import_minimal5.default.Writer.create()) {
|
|
@@ -13025,8 +13039,20 @@ var ClanUpdatedEvent = {
|
|
|
13025
13039
|
if (message.clan_name !== "") {
|
|
13026
13040
|
writer.uint32(18).string(message.clan_name);
|
|
13027
13041
|
}
|
|
13028
|
-
if (message.
|
|
13029
|
-
writer.uint32(26).string(message.
|
|
13042
|
+
if (message.logo !== "") {
|
|
13043
|
+
writer.uint32(26).string(message.logo);
|
|
13044
|
+
}
|
|
13045
|
+
if (message.banner !== "") {
|
|
13046
|
+
writer.uint32(34).string(message.banner);
|
|
13047
|
+
}
|
|
13048
|
+
if (message.status !== 0) {
|
|
13049
|
+
writer.uint32(40).int32(message.status);
|
|
13050
|
+
}
|
|
13051
|
+
if (message.is_onboarding !== false) {
|
|
13052
|
+
writer.uint32(48).bool(message.is_onboarding);
|
|
13053
|
+
}
|
|
13054
|
+
if (message.welcome_channel_id !== "") {
|
|
13055
|
+
writer.uint32(58).string(message.welcome_channel_id);
|
|
13030
13056
|
}
|
|
13031
13057
|
return writer;
|
|
13032
13058
|
},
|
|
@@ -13053,7 +13079,31 @@ var ClanUpdatedEvent = {
|
|
|
13053
13079
|
if (tag !== 26) {
|
|
13054
13080
|
break;
|
|
13055
13081
|
}
|
|
13056
|
-
message.
|
|
13082
|
+
message.logo = reader.string();
|
|
13083
|
+
continue;
|
|
13084
|
+
case 4:
|
|
13085
|
+
if (tag !== 34) {
|
|
13086
|
+
break;
|
|
13087
|
+
}
|
|
13088
|
+
message.banner = reader.string();
|
|
13089
|
+
continue;
|
|
13090
|
+
case 5:
|
|
13091
|
+
if (tag !== 40) {
|
|
13092
|
+
break;
|
|
13093
|
+
}
|
|
13094
|
+
message.status = reader.int32();
|
|
13095
|
+
continue;
|
|
13096
|
+
case 6:
|
|
13097
|
+
if (tag !== 48) {
|
|
13098
|
+
break;
|
|
13099
|
+
}
|
|
13100
|
+
message.is_onboarding = reader.bool();
|
|
13101
|
+
continue;
|
|
13102
|
+
case 7:
|
|
13103
|
+
if (tag !== 58) {
|
|
13104
|
+
break;
|
|
13105
|
+
}
|
|
13106
|
+
message.welcome_channel_id = reader.string();
|
|
13057
13107
|
continue;
|
|
13058
13108
|
}
|
|
13059
13109
|
if ((tag & 7) === 4 || tag === 0) {
|
|
@@ -13067,7 +13117,11 @@ var ClanUpdatedEvent = {
|
|
|
13067
13117
|
return {
|
|
13068
13118
|
clan_id: isSet4(object.clan_id) ? globalThis.String(object.clan_id) : "",
|
|
13069
13119
|
clan_name: isSet4(object.clan_name) ? globalThis.String(object.clan_name) : "",
|
|
13070
|
-
|
|
13120
|
+
logo: isSet4(object.logo) ? globalThis.String(object.logo) : "",
|
|
13121
|
+
banner: isSet4(object.banner) ? globalThis.String(object.banner) : "",
|
|
13122
|
+
status: isSet4(object.status) ? globalThis.Number(object.status) : 0,
|
|
13123
|
+
is_onboarding: isSet4(object.is_onboarding) ? globalThis.Boolean(object.is_onboarding) : false,
|
|
13124
|
+
welcome_channel_id: isSet4(object.welcome_channel_id) ? globalThis.String(object.welcome_channel_id) : ""
|
|
13071
13125
|
};
|
|
13072
13126
|
},
|
|
13073
13127
|
toJSON(message) {
|
|
@@ -13078,8 +13132,20 @@ var ClanUpdatedEvent = {
|
|
|
13078
13132
|
if (message.clan_name !== "") {
|
|
13079
13133
|
obj.clan_name = message.clan_name;
|
|
13080
13134
|
}
|
|
13081
|
-
if (message.
|
|
13082
|
-
obj.
|
|
13135
|
+
if (message.logo !== "") {
|
|
13136
|
+
obj.logo = message.logo;
|
|
13137
|
+
}
|
|
13138
|
+
if (message.banner !== "") {
|
|
13139
|
+
obj.banner = message.banner;
|
|
13140
|
+
}
|
|
13141
|
+
if (message.status !== 0) {
|
|
13142
|
+
obj.status = Math.round(message.status);
|
|
13143
|
+
}
|
|
13144
|
+
if (message.is_onboarding !== false) {
|
|
13145
|
+
obj.is_onboarding = message.is_onboarding;
|
|
13146
|
+
}
|
|
13147
|
+
if (message.welcome_channel_id !== "") {
|
|
13148
|
+
obj.welcome_channel_id = message.welcome_channel_id;
|
|
13083
13149
|
}
|
|
13084
13150
|
return obj;
|
|
13085
13151
|
},
|
|
@@ -13087,11 +13153,15 @@ var ClanUpdatedEvent = {
|
|
|
13087
13153
|
return ClanUpdatedEvent.fromPartial(base != null ? base : {});
|
|
13088
13154
|
},
|
|
13089
13155
|
fromPartial(object) {
|
|
13090
|
-
var _a, _b, _c;
|
|
13156
|
+
var _a, _b, _c, _d, _e, _f, _g;
|
|
13091
13157
|
const message = createBaseClanUpdatedEvent();
|
|
13092
13158
|
message.clan_id = (_a = object.clan_id) != null ? _a : "";
|
|
13093
13159
|
message.clan_name = (_b = object.clan_name) != null ? _b : "";
|
|
13094
|
-
message.
|
|
13160
|
+
message.logo = (_c = object.logo) != null ? _c : "";
|
|
13161
|
+
message.banner = (_d = object.banner) != null ? _d : "";
|
|
13162
|
+
message.status = (_e = object.status) != null ? _e : 0;
|
|
13163
|
+
message.is_onboarding = (_f = object.is_onboarding) != null ? _f : false;
|
|
13164
|
+
message.welcome_channel_id = (_g = object.welcome_channel_id) != null ? _g : "";
|
|
13095
13165
|
return message;
|
|
13096
13166
|
}
|
|
13097
13167
|
};
|