mezon-js-protobuf 1.7.22 → 1.7.24

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.
@@ -304,10 +304,20 @@ export interface AuthenticateGameCenterRequest {
304
304
  /** Set the username on the account at register. Must be unique. */
305
305
  username: string;
306
306
  }
307
- /** AuthenticateGoogleRedirectRequest */
308
- export interface AuthenticateGoogleRedirectRequest {
309
- /** The code */
310
- code: string;
307
+ /** MezonAuthenticatedRequest */
308
+ export interface MezonAuthenticatedRequest {
309
+ /** The email */
310
+ email: string;
311
+ secret: string;
312
+ }
313
+ /** MezonAuthenticatedResponse */
314
+ export interface MezonAuthenticatedResponse {
315
+ /** The status */
316
+ authenticated: boolean;
317
+ userId: string;
318
+ username: string;
319
+ display_name: string;
320
+ avatar: string;
311
321
  }
312
322
  /** Authenticate against the server with Google. */
313
323
  export interface AuthenticateGoogleRequest {
@@ -932,7 +942,7 @@ export interface ListNotificationsRequest {
932
942
  clan_id: string;
933
943
  /** The current notification Id. */
934
944
  notification_id: string;
935
- /** The category (0: for you, 1: mentions, 2: mesages). */
945
+ /** The category (1: mentions, 2: mesages, 3: for you). */
936
946
  category: number;
937
947
  /** True if listing should be older notifications to newer, false if reverse. */
938
948
  direction: number | undefined;
@@ -1197,6 +1207,8 @@ export interface ClanDesc {
1197
1207
  is_onboarding: boolean;
1198
1208
  /** Welcome channel id. */
1199
1209
  welcome_channel_id: string;
1210
+ /** Onboarding_banner. */
1211
+ onboarding_banner: string;
1200
1212
  }
1201
1213
  /** Clan information */
1202
1214
  export interface CreateClanDescRequest {
@@ -1222,6 +1234,8 @@ export interface UpdateClanDescRequest {
1222
1234
  is_onboarding: boolean | undefined;
1223
1235
  /** Welcome channel id. */
1224
1236
  welcome_channel_id: string;
1237
+ /** Onboarding_banner. */
1238
+ onboarding_banner: string;
1225
1239
  }
1226
1240
  /** Delete a clan the user has access to. */
1227
1241
  export interface DeleteClanDescRequest {
@@ -3214,6 +3228,7 @@ export interface MezonOauthClientList {
3214
3228
  }
3215
3229
  export interface GetMezonOauthClientRequest {
3216
3230
  client_id: string;
3231
+ client_name: string;
3217
3232
  }
3218
3233
  export interface SearchThreadRequest {
3219
3234
  clan_id: string;
@@ -4521,21 +4536,57 @@ export declare const AuthenticateGameCenterRequest: {
4521
4536
  username?: string | undefined;
4522
4537
  } & { [K_5 in Exclude<keyof I_1, keyof AuthenticateGameCenterRequest>]: never; }>(object: I_1): AuthenticateGameCenterRequest;
4523
4538
  };
4524
- export declare const AuthenticateGoogleRedirectRequest: {
4525
- encode(message: AuthenticateGoogleRedirectRequest, writer?: _m0.Writer): _m0.Writer;
4526
- decode(input: _m0.Reader | Uint8Array, length?: number): AuthenticateGoogleRedirectRequest;
4527
- fromJSON(object: any): AuthenticateGoogleRedirectRequest;
4528
- toJSON(message: AuthenticateGoogleRedirectRequest): unknown;
4539
+ export declare const MezonAuthenticatedRequest: {
4540
+ encode(message: MezonAuthenticatedRequest, writer?: _m0.Writer): _m0.Writer;
4541
+ decode(input: _m0.Reader | Uint8Array, length?: number): MezonAuthenticatedRequest;
4542
+ fromJSON(object: any): MezonAuthenticatedRequest;
4543
+ toJSON(message: MezonAuthenticatedRequest): unknown;
4529
4544
  create<I extends {
4530
- code?: string | undefined;
4545
+ email?: string | undefined;
4546
+ secret?: string | undefined;
4531
4547
  } & {
4532
- code?: string | undefined;
4533
- } & { [K in Exclude<keyof I, "code">]: never; }>(base?: I | undefined): AuthenticateGoogleRedirectRequest;
4548
+ email?: string | undefined;
4549
+ secret?: string | undefined;
4550
+ } & { [K in Exclude<keyof I, keyof MezonAuthenticatedRequest>]: never; }>(base?: I | undefined): MezonAuthenticatedRequest;
4534
4551
  fromPartial<I_1 extends {
4535
- code?: string | undefined;
4552
+ email?: string | undefined;
4553
+ secret?: string | undefined;
4536
4554
  } & {
4537
- code?: string | undefined;
4538
- } & { [K_1 in Exclude<keyof I_1, "code">]: never; }>(object: I_1): AuthenticateGoogleRedirectRequest;
4555
+ email?: string | undefined;
4556
+ secret?: string | undefined;
4557
+ } & { [K_1 in Exclude<keyof I_1, keyof MezonAuthenticatedRequest>]: never; }>(object: I_1): MezonAuthenticatedRequest;
4558
+ };
4559
+ export declare const MezonAuthenticatedResponse: {
4560
+ encode(message: MezonAuthenticatedResponse, writer?: _m0.Writer): _m0.Writer;
4561
+ decode(input: _m0.Reader | Uint8Array, length?: number): MezonAuthenticatedResponse;
4562
+ fromJSON(object: any): MezonAuthenticatedResponse;
4563
+ toJSON(message: MezonAuthenticatedResponse): unknown;
4564
+ create<I extends {
4565
+ authenticated?: boolean | undefined;
4566
+ userId?: string | undefined;
4567
+ username?: string | undefined;
4568
+ display_name?: string | undefined;
4569
+ avatar?: string | undefined;
4570
+ } & {
4571
+ authenticated?: boolean | undefined;
4572
+ userId?: string | undefined;
4573
+ username?: string | undefined;
4574
+ display_name?: string | undefined;
4575
+ avatar?: string | undefined;
4576
+ } & { [K in Exclude<keyof I, keyof MezonAuthenticatedResponse>]: never; }>(base?: I | undefined): MezonAuthenticatedResponse;
4577
+ fromPartial<I_1 extends {
4578
+ authenticated?: boolean | undefined;
4579
+ userId?: string | undefined;
4580
+ username?: string | undefined;
4581
+ display_name?: string | undefined;
4582
+ avatar?: string | undefined;
4583
+ } & {
4584
+ authenticated?: boolean | undefined;
4585
+ userId?: string | undefined;
4586
+ username?: string | undefined;
4587
+ display_name?: string | undefined;
4588
+ avatar?: string | undefined;
4589
+ } & { [K_1 in Exclude<keyof I_1, keyof MezonAuthenticatedResponse>]: never; }>(object: I_1): MezonAuthenticatedResponse;
4539
4590
  };
4540
4591
  export declare const AuthenticateGoogleRequest: {
4541
4592
  encode(message: AuthenticateGoogleRequest, writer?: _m0.Writer): _m0.Writer;
@@ -10952,6 +11003,7 @@ export declare const ClanDesc: {
10952
11003
  badge_count?: number | undefined;
10953
11004
  is_onboarding?: boolean | undefined;
10954
11005
  welcome_channel_id?: string | undefined;
11006
+ onboarding_banner?: string | undefined;
10955
11007
  } & {
10956
11008
  creator_id?: string | undefined;
10957
11009
  clan_name?: string | undefined;
@@ -10962,6 +11014,7 @@ export declare const ClanDesc: {
10962
11014
  badge_count?: number | undefined;
10963
11015
  is_onboarding?: boolean | undefined;
10964
11016
  welcome_channel_id?: string | undefined;
11017
+ onboarding_banner?: string | undefined;
10965
11018
  } & { [K in Exclude<keyof I, keyof ClanDesc>]: never; }>(base?: I | undefined): ClanDesc;
10966
11019
  fromPartial<I_1 extends {
10967
11020
  creator_id?: string | undefined;
@@ -10973,6 +11026,7 @@ export declare const ClanDesc: {
10973
11026
  badge_count?: number | undefined;
10974
11027
  is_onboarding?: boolean | undefined;
10975
11028
  welcome_channel_id?: string | undefined;
11029
+ onboarding_banner?: string | undefined;
10976
11030
  } & {
10977
11031
  creator_id?: string | undefined;
10978
11032
  clan_name?: string | undefined;
@@ -10983,6 +11037,7 @@ export declare const ClanDesc: {
10983
11037
  badge_count?: number | undefined;
10984
11038
  is_onboarding?: boolean | undefined;
10985
11039
  welcome_channel_id?: string | undefined;
11040
+ onboarding_banner?: string | undefined;
10986
11041
  } & { [K_1 in Exclude<keyof I_1, keyof ClanDesc>]: never; }>(object: I_1): ClanDesc;
10987
11042
  };
10988
11043
  export declare const CreateClanDescRequest: {
@@ -11022,6 +11077,7 @@ export declare const UpdateClanDescRequest: {
11022
11077
  status?: number | undefined;
11023
11078
  is_onboarding?: boolean | undefined;
11024
11079
  welcome_channel_id?: string | undefined;
11080
+ onboarding_banner?: string | undefined;
11025
11081
  } & {
11026
11082
  clan_id?: string | undefined;
11027
11083
  clan_name?: string | undefined;
@@ -11030,6 +11086,7 @@ export declare const UpdateClanDescRequest: {
11030
11086
  status?: number | undefined;
11031
11087
  is_onboarding?: boolean | undefined;
11032
11088
  welcome_channel_id?: string | undefined;
11089
+ onboarding_banner?: string | undefined;
11033
11090
  } & { [K in Exclude<keyof I, keyof UpdateClanDescRequest>]: never; }>(base?: I | undefined): UpdateClanDescRequest;
11034
11091
  fromPartial<I_1 extends {
11035
11092
  clan_id?: string | undefined;
@@ -11039,6 +11096,7 @@ export declare const UpdateClanDescRequest: {
11039
11096
  status?: number | undefined;
11040
11097
  is_onboarding?: boolean | undefined;
11041
11098
  welcome_channel_id?: string | undefined;
11099
+ onboarding_banner?: string | undefined;
11042
11100
  } & {
11043
11101
  clan_id?: string | undefined;
11044
11102
  clan_name?: string | undefined;
@@ -11047,6 +11105,7 @@ export declare const UpdateClanDescRequest: {
11047
11105
  status?: number | undefined;
11048
11106
  is_onboarding?: boolean | undefined;
11049
11107
  welcome_channel_id?: string | undefined;
11108
+ onboarding_banner?: string | undefined;
11050
11109
  } & { [K_1 in Exclude<keyof I_1, keyof UpdateClanDescRequest>]: never; }>(object: I_1): UpdateClanDescRequest;
11051
11110
  };
11052
11111
  export declare const DeleteClanDescRequest: {
@@ -11105,6 +11164,7 @@ export declare const ClanDescList: {
11105
11164
  badge_count?: number | undefined;
11106
11165
  is_onboarding?: boolean | undefined;
11107
11166
  welcome_channel_id?: string | undefined;
11167
+ onboarding_banner?: string | undefined;
11108
11168
  }[] | undefined;
11109
11169
  } & {
11110
11170
  clandesc?: ({
@@ -11117,6 +11177,7 @@ export declare const ClanDescList: {
11117
11177
  badge_count?: number | undefined;
11118
11178
  is_onboarding?: boolean | undefined;
11119
11179
  welcome_channel_id?: string | undefined;
11180
+ onboarding_banner?: string | undefined;
11120
11181
  }[] & ({
11121
11182
  creator_id?: string | undefined;
11122
11183
  clan_name?: string | undefined;
@@ -11127,6 +11188,7 @@ export declare const ClanDescList: {
11127
11188
  badge_count?: number | undefined;
11128
11189
  is_onboarding?: boolean | undefined;
11129
11190
  welcome_channel_id?: string | undefined;
11191
+ onboarding_banner?: string | undefined;
11130
11192
  } & {
11131
11193
  creator_id?: string | undefined;
11132
11194
  clan_name?: string | undefined;
@@ -11137,6 +11199,7 @@ export declare const ClanDescList: {
11137
11199
  badge_count?: number | undefined;
11138
11200
  is_onboarding?: boolean | undefined;
11139
11201
  welcome_channel_id?: string | undefined;
11202
+ onboarding_banner?: string | undefined;
11140
11203
  } & { [K in Exclude<keyof I["clandesc"][number], keyof ClanDesc>]: never; })[] & { [K_1 in Exclude<keyof I["clandesc"], keyof {
11141
11204
  creator_id?: string | undefined;
11142
11205
  clan_name?: string | undefined;
@@ -11147,6 +11210,7 @@ export declare const ClanDescList: {
11147
11210
  badge_count?: number | undefined;
11148
11211
  is_onboarding?: boolean | undefined;
11149
11212
  welcome_channel_id?: string | undefined;
11213
+ onboarding_banner?: string | undefined;
11150
11214
  }[]>]: never; }) | undefined;
11151
11215
  } & { [K_2 in Exclude<keyof I, "clandesc">]: never; }>(base?: I | undefined): ClanDescList;
11152
11216
  fromPartial<I_1 extends {
@@ -11160,6 +11224,7 @@ export declare const ClanDescList: {
11160
11224
  badge_count?: number | undefined;
11161
11225
  is_onboarding?: boolean | undefined;
11162
11226
  welcome_channel_id?: string | undefined;
11227
+ onboarding_banner?: string | undefined;
11163
11228
  }[] | undefined;
11164
11229
  } & {
11165
11230
  clandesc?: ({
@@ -11172,6 +11237,7 @@ export declare const ClanDescList: {
11172
11237
  badge_count?: number | undefined;
11173
11238
  is_onboarding?: boolean | undefined;
11174
11239
  welcome_channel_id?: string | undefined;
11240
+ onboarding_banner?: string | undefined;
11175
11241
  }[] & ({
11176
11242
  creator_id?: string | undefined;
11177
11243
  clan_name?: string | undefined;
@@ -11182,6 +11248,7 @@ export declare const ClanDescList: {
11182
11248
  badge_count?: number | undefined;
11183
11249
  is_onboarding?: boolean | undefined;
11184
11250
  welcome_channel_id?: string | undefined;
11251
+ onboarding_banner?: string | undefined;
11185
11252
  } & {
11186
11253
  creator_id?: string | undefined;
11187
11254
  clan_name?: string | undefined;
@@ -11192,6 +11259,7 @@ export declare const ClanDescList: {
11192
11259
  badge_count?: number | undefined;
11193
11260
  is_onboarding?: boolean | undefined;
11194
11261
  welcome_channel_id?: string | undefined;
11262
+ onboarding_banner?: string | undefined;
11195
11263
  } & { [K_3 in Exclude<keyof I_1["clandesc"][number], keyof ClanDesc>]: never; })[] & { [K_4 in Exclude<keyof I_1["clandesc"], keyof {
11196
11264
  creator_id?: string | undefined;
11197
11265
  clan_name?: string | undefined;
@@ -11202,6 +11270,7 @@ export declare const ClanDescList: {
11202
11270
  badge_count?: number | undefined;
11203
11271
  is_onboarding?: boolean | undefined;
11204
11272
  welcome_channel_id?: string | undefined;
11273
+ onboarding_banner?: string | undefined;
11205
11274
  }[]>]: never; }) | undefined;
11206
11275
  } & { [K_5 in Exclude<keyof I_1, "clandesc">]: never; }>(object: I_1): ClanDescList;
11207
11276
  };
@@ -24978,14 +25047,18 @@ export declare const GetMezonOauthClientRequest: {
24978
25047
  toJSON(message: GetMezonOauthClientRequest): unknown;
24979
25048
  create<I extends {
24980
25049
  client_id?: string | undefined;
25050
+ client_name?: string | undefined;
24981
25051
  } & {
24982
25052
  client_id?: string | undefined;
24983
- } & { [K in Exclude<keyof I, "client_id">]: never; }>(base?: I | undefined): GetMezonOauthClientRequest;
25053
+ client_name?: string | undefined;
25054
+ } & { [K in Exclude<keyof I, keyof GetMezonOauthClientRequest>]: never; }>(base?: I | undefined): GetMezonOauthClientRequest;
24984
25055
  fromPartial<I_1 extends {
24985
25056
  client_id?: string | undefined;
25057
+ client_name?: string | undefined;
24986
25058
  } & {
24987
25059
  client_id?: string | undefined;
24988
- } & { [K_1 in Exclude<keyof I_1, "client_id">]: never; }>(object: I_1): GetMezonOauthClientRequest;
25060
+ client_name?: string | undefined;
25061
+ } & { [K_1 in Exclude<keyof I_1, keyof GetMezonOauthClientRequest>]: never; }>(object: I_1): GetMezonOauthClientRequest;
24989
25062
  };
24990
25063
  export declare const SearchThreadRequest: {
24991
25064
  encode(message: SearchThreadRequest, writer?: _m0.Writer): _m0.Writer;