mezon-js-protobuf 1.7.9 → 1.7.13
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 +39348 -39208
- package/dist/mezon-js-protobuf/api/api.d.ts +51 -0
- package/dist/mezon-js-protobuf/rtapi/realtime.d.ts +277 -159
- package/dist/mezon-js-protobuf.cjs.js +180 -14
- package/dist/mezon-js-protobuf.esm.mjs +180 -14
- 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 +11714 -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 {
|
|
@@ -3198,6 +3202,11 @@ export interface MezonOauthClient {
|
|
|
3198
3202
|
export interface MezonOauthClientList {
|
|
3199
3203
|
listMezonOauthClient: MezonOauthClient[];
|
|
3200
3204
|
}
|
|
3205
|
+
export interface SearchThreadRequest {
|
|
3206
|
+
clan_id: string;
|
|
3207
|
+
channel_id: string;
|
|
3208
|
+
label: string;
|
|
3209
|
+
}
|
|
3201
3210
|
export declare const Account: {
|
|
3202
3211
|
encode(message: Account, writer?: _m0.Writer): _m0.Writer;
|
|
3203
3212
|
decode(input: _m0.Reader | Uint8Array, length?: number): Account;
|
|
@@ -10886,6 +10895,7 @@ export declare const ClanDesc: {
|
|
|
10886
10895
|
status?: number | undefined;
|
|
10887
10896
|
badge_count?: number | undefined;
|
|
10888
10897
|
is_onboarding?: boolean | undefined;
|
|
10898
|
+
welcome_channel_id?: string | undefined;
|
|
10889
10899
|
} & {
|
|
10890
10900
|
creator_id?: string | undefined;
|
|
10891
10901
|
clan_name?: string | undefined;
|
|
@@ -10895,6 +10905,7 @@ export declare const ClanDesc: {
|
|
|
10895
10905
|
status?: number | undefined;
|
|
10896
10906
|
badge_count?: number | undefined;
|
|
10897
10907
|
is_onboarding?: boolean | undefined;
|
|
10908
|
+
welcome_channel_id?: string | undefined;
|
|
10898
10909
|
} & { [K in Exclude<keyof I, keyof ClanDesc>]: never; }>(base?: I | undefined): ClanDesc;
|
|
10899
10910
|
fromPartial<I_1 extends {
|
|
10900
10911
|
creator_id?: string | undefined;
|
|
@@ -10905,6 +10916,7 @@ export declare const ClanDesc: {
|
|
|
10905
10916
|
status?: number | undefined;
|
|
10906
10917
|
badge_count?: number | undefined;
|
|
10907
10918
|
is_onboarding?: boolean | undefined;
|
|
10919
|
+
welcome_channel_id?: string | undefined;
|
|
10908
10920
|
} & {
|
|
10909
10921
|
creator_id?: string | undefined;
|
|
10910
10922
|
clan_name?: string | undefined;
|
|
@@ -10914,6 +10926,7 @@ export declare const ClanDesc: {
|
|
|
10914
10926
|
status?: number | undefined;
|
|
10915
10927
|
badge_count?: number | undefined;
|
|
10916
10928
|
is_onboarding?: boolean | undefined;
|
|
10929
|
+
welcome_channel_id?: string | undefined;
|
|
10917
10930
|
} & { [K_1 in Exclude<keyof I_1, keyof ClanDesc>]: never; }>(object: I_1): ClanDesc;
|
|
10918
10931
|
};
|
|
10919
10932
|
export declare const CreateClanDescRequest: {
|
|
@@ -10952,6 +10965,7 @@ export declare const UpdateClanDescRequest: {
|
|
|
10952
10965
|
banner?: string | undefined;
|
|
10953
10966
|
status?: number | undefined;
|
|
10954
10967
|
is_onboarding?: boolean | undefined;
|
|
10968
|
+
welcome_channel_id?: string | undefined;
|
|
10955
10969
|
} & {
|
|
10956
10970
|
clan_id?: string | undefined;
|
|
10957
10971
|
clan_name?: string | undefined;
|
|
@@ -10959,6 +10973,7 @@ export declare const UpdateClanDescRequest: {
|
|
|
10959
10973
|
banner?: string | undefined;
|
|
10960
10974
|
status?: number | undefined;
|
|
10961
10975
|
is_onboarding?: boolean | undefined;
|
|
10976
|
+
welcome_channel_id?: string | undefined;
|
|
10962
10977
|
} & { [K in Exclude<keyof I, keyof UpdateClanDescRequest>]: never; }>(base?: I | undefined): UpdateClanDescRequest;
|
|
10963
10978
|
fromPartial<I_1 extends {
|
|
10964
10979
|
clan_id?: string | undefined;
|
|
@@ -10967,6 +10982,7 @@ export declare const UpdateClanDescRequest: {
|
|
|
10967
10982
|
banner?: string | undefined;
|
|
10968
10983
|
status?: number | undefined;
|
|
10969
10984
|
is_onboarding?: boolean | undefined;
|
|
10985
|
+
welcome_channel_id?: string | undefined;
|
|
10970
10986
|
} & {
|
|
10971
10987
|
clan_id?: string | undefined;
|
|
10972
10988
|
clan_name?: string | undefined;
|
|
@@ -10974,6 +10990,7 @@ export declare const UpdateClanDescRequest: {
|
|
|
10974
10990
|
banner?: string | undefined;
|
|
10975
10991
|
status?: number | undefined;
|
|
10976
10992
|
is_onboarding?: boolean | undefined;
|
|
10993
|
+
welcome_channel_id?: string | undefined;
|
|
10977
10994
|
} & { [K_1 in Exclude<keyof I_1, keyof UpdateClanDescRequest>]: never; }>(object: I_1): UpdateClanDescRequest;
|
|
10978
10995
|
};
|
|
10979
10996
|
export declare const DeleteClanDescRequest: {
|
|
@@ -11031,6 +11048,7 @@ export declare const ClanDescList: {
|
|
|
11031
11048
|
status?: number | undefined;
|
|
11032
11049
|
badge_count?: number | undefined;
|
|
11033
11050
|
is_onboarding?: boolean | undefined;
|
|
11051
|
+
welcome_channel_id?: string | undefined;
|
|
11034
11052
|
}[] | undefined;
|
|
11035
11053
|
} & {
|
|
11036
11054
|
clandesc?: ({
|
|
@@ -11042,6 +11060,7 @@ export declare const ClanDescList: {
|
|
|
11042
11060
|
status?: number | undefined;
|
|
11043
11061
|
badge_count?: number | undefined;
|
|
11044
11062
|
is_onboarding?: boolean | undefined;
|
|
11063
|
+
welcome_channel_id?: string | undefined;
|
|
11045
11064
|
}[] & ({
|
|
11046
11065
|
creator_id?: string | undefined;
|
|
11047
11066
|
clan_name?: string | undefined;
|
|
@@ -11051,6 +11070,7 @@ export declare const ClanDescList: {
|
|
|
11051
11070
|
status?: number | undefined;
|
|
11052
11071
|
badge_count?: number | undefined;
|
|
11053
11072
|
is_onboarding?: boolean | undefined;
|
|
11073
|
+
welcome_channel_id?: string | undefined;
|
|
11054
11074
|
} & {
|
|
11055
11075
|
creator_id?: string | undefined;
|
|
11056
11076
|
clan_name?: string | undefined;
|
|
@@ -11060,6 +11080,7 @@ export declare const ClanDescList: {
|
|
|
11060
11080
|
status?: number | undefined;
|
|
11061
11081
|
badge_count?: number | undefined;
|
|
11062
11082
|
is_onboarding?: boolean | undefined;
|
|
11083
|
+
welcome_channel_id?: string | undefined;
|
|
11063
11084
|
} & { [K in Exclude<keyof I["clandesc"][number], keyof ClanDesc>]: never; })[] & { [K_1 in Exclude<keyof I["clandesc"], keyof {
|
|
11064
11085
|
creator_id?: string | undefined;
|
|
11065
11086
|
clan_name?: string | undefined;
|
|
@@ -11069,6 +11090,7 @@ export declare const ClanDescList: {
|
|
|
11069
11090
|
status?: number | undefined;
|
|
11070
11091
|
badge_count?: number | undefined;
|
|
11071
11092
|
is_onboarding?: boolean | undefined;
|
|
11093
|
+
welcome_channel_id?: string | undefined;
|
|
11072
11094
|
}[]>]: never; }) | undefined;
|
|
11073
11095
|
} & { [K_2 in Exclude<keyof I, "clandesc">]: never; }>(base?: I | undefined): ClanDescList;
|
|
11074
11096
|
fromPartial<I_1 extends {
|
|
@@ -11081,6 +11103,7 @@ export declare const ClanDescList: {
|
|
|
11081
11103
|
status?: number | undefined;
|
|
11082
11104
|
badge_count?: number | undefined;
|
|
11083
11105
|
is_onboarding?: boolean | undefined;
|
|
11106
|
+
welcome_channel_id?: string | undefined;
|
|
11084
11107
|
}[] | undefined;
|
|
11085
11108
|
} & {
|
|
11086
11109
|
clandesc?: ({
|
|
@@ -11092,6 +11115,7 @@ export declare const ClanDescList: {
|
|
|
11092
11115
|
status?: number | undefined;
|
|
11093
11116
|
badge_count?: number | undefined;
|
|
11094
11117
|
is_onboarding?: boolean | undefined;
|
|
11118
|
+
welcome_channel_id?: string | undefined;
|
|
11095
11119
|
}[] & ({
|
|
11096
11120
|
creator_id?: string | undefined;
|
|
11097
11121
|
clan_name?: string | undefined;
|
|
@@ -11101,6 +11125,7 @@ export declare const ClanDescList: {
|
|
|
11101
11125
|
status?: number | undefined;
|
|
11102
11126
|
badge_count?: number | undefined;
|
|
11103
11127
|
is_onboarding?: boolean | undefined;
|
|
11128
|
+
welcome_channel_id?: string | undefined;
|
|
11104
11129
|
} & {
|
|
11105
11130
|
creator_id?: string | undefined;
|
|
11106
11131
|
clan_name?: string | undefined;
|
|
@@ -11110,6 +11135,7 @@ export declare const ClanDescList: {
|
|
|
11110
11135
|
status?: number | undefined;
|
|
11111
11136
|
badge_count?: number | undefined;
|
|
11112
11137
|
is_onboarding?: boolean | undefined;
|
|
11138
|
+
welcome_channel_id?: string | undefined;
|
|
11113
11139
|
} & { [K_3 in Exclude<keyof I_1["clandesc"][number], keyof ClanDesc>]: never; })[] & { [K_4 in Exclude<keyof I_1["clandesc"], keyof {
|
|
11114
11140
|
creator_id?: string | undefined;
|
|
11115
11141
|
clan_name?: string | undefined;
|
|
@@ -11119,6 +11145,7 @@ export declare const ClanDescList: {
|
|
|
11119
11145
|
status?: number | undefined;
|
|
11120
11146
|
badge_count?: number | undefined;
|
|
11121
11147
|
is_onboarding?: boolean | undefined;
|
|
11148
|
+
welcome_channel_id?: string | undefined;
|
|
11122
11149
|
}[]>]: never; }) | undefined;
|
|
11123
11150
|
} & { [K_5 in Exclude<keyof I_1, "clandesc">]: never; }>(object: I_1): ClanDescList;
|
|
11124
11151
|
};
|
|
@@ -24884,6 +24911,30 @@ export declare const MezonOauthClientList: {
|
|
|
24884
24911
|
}[]>]: never; }) | undefined;
|
|
24885
24912
|
} & { [K_23 in Exclude<keyof I_1, "listMezonOauthClient">]: never; }>(object: I_1): MezonOauthClientList;
|
|
24886
24913
|
};
|
|
24914
|
+
export declare const SearchThreadRequest: {
|
|
24915
|
+
encode(message: SearchThreadRequest, writer?: _m0.Writer): _m0.Writer;
|
|
24916
|
+
decode(input: _m0.Reader | Uint8Array, length?: number): SearchThreadRequest;
|
|
24917
|
+
fromJSON(object: any): SearchThreadRequest;
|
|
24918
|
+
toJSON(message: SearchThreadRequest): unknown;
|
|
24919
|
+
create<I extends {
|
|
24920
|
+
clan_id?: string | undefined;
|
|
24921
|
+
channel_id?: string | undefined;
|
|
24922
|
+
label?: string | undefined;
|
|
24923
|
+
} & {
|
|
24924
|
+
clan_id?: string | undefined;
|
|
24925
|
+
channel_id?: string | undefined;
|
|
24926
|
+
label?: string | undefined;
|
|
24927
|
+
} & { [K in Exclude<keyof I, keyof SearchThreadRequest>]: never; }>(base?: I | undefined): SearchThreadRequest;
|
|
24928
|
+
fromPartial<I_1 extends {
|
|
24929
|
+
clan_id?: string | undefined;
|
|
24930
|
+
channel_id?: string | undefined;
|
|
24931
|
+
label?: string | undefined;
|
|
24932
|
+
} & {
|
|
24933
|
+
clan_id?: string | undefined;
|
|
24934
|
+
channel_id?: string | undefined;
|
|
24935
|
+
label?: string | undefined;
|
|
24936
|
+
} & { [K_1 in Exclude<keyof I_1, keyof SearchThreadRequest>]: never; }>(object: I_1): SearchThreadRequest;
|
|
24937
|
+
};
|
|
24887
24938
|
type Builtin = Date | Function | Uint8Array | string | number | boolean | undefined;
|
|
24888
24939
|
export type DeepPartial<T> = T extends Builtin ? T : T extends globalThis.Array<infer U> ? globalThis.Array<DeepPartial<U>> : T extends ReadonlyArray<infer U> ? ReadonlyArray<DeepPartial<U>> : T extends {} ? {
|
|
24889
24940
|
[K in keyof T]?: DeepPartial<T[K]>;
|