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.
@@ -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;
@@ -3226,6 +3241,7 @@ export interface GenerateHashChannelAppsRequest {
3226
3241
  export interface GenerateHashChannelAppsResponse {
3227
3242
  hash: string;
3228
3243
  user_id: string;
3244
+ auth_date: string;
3229
3245
  }
3230
3246
  export declare const Account: {
3231
3247
  encode(message: Account, writer?: _m0.Writer): _m0.Writer;
@@ -4521,21 +4537,57 @@ export declare const AuthenticateGameCenterRequest: {
4521
4537
  username?: string | undefined;
4522
4538
  } & { [K_5 in Exclude<keyof I_1, keyof AuthenticateGameCenterRequest>]: never; }>(object: I_1): AuthenticateGameCenterRequest;
4523
4539
  };
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;
4540
+ export declare const MezonAuthenticatedRequest: {
4541
+ encode(message: MezonAuthenticatedRequest, writer?: _m0.Writer): _m0.Writer;
4542
+ decode(input: _m0.Reader | Uint8Array, length?: number): MezonAuthenticatedRequest;
4543
+ fromJSON(object: any): MezonAuthenticatedRequest;
4544
+ toJSON(message: MezonAuthenticatedRequest): unknown;
4529
4545
  create<I extends {
4530
- code?: string | undefined;
4546
+ email?: string | undefined;
4547
+ secret?: string | undefined;
4531
4548
  } & {
4532
- code?: string | undefined;
4533
- } & { [K in Exclude<keyof I, "code">]: never; }>(base?: I | undefined): AuthenticateGoogleRedirectRequest;
4549
+ email?: string | undefined;
4550
+ secret?: string | undefined;
4551
+ } & { [K in Exclude<keyof I, keyof MezonAuthenticatedRequest>]: never; }>(base?: I | undefined): MezonAuthenticatedRequest;
4534
4552
  fromPartial<I_1 extends {
4535
- code?: string | undefined;
4553
+ email?: string | undefined;
4554
+ secret?: string | undefined;
4536
4555
  } & {
4537
- code?: string | undefined;
4538
- } & { [K_1 in Exclude<keyof I_1, "code">]: never; }>(object: I_1): AuthenticateGoogleRedirectRequest;
4556
+ email?: string | undefined;
4557
+ secret?: string | undefined;
4558
+ } & { [K_1 in Exclude<keyof I_1, keyof MezonAuthenticatedRequest>]: never; }>(object: I_1): MezonAuthenticatedRequest;
4559
+ };
4560
+ export declare const MezonAuthenticatedResponse: {
4561
+ encode(message: MezonAuthenticatedResponse, writer?: _m0.Writer): _m0.Writer;
4562
+ decode(input: _m0.Reader | Uint8Array, length?: number): MezonAuthenticatedResponse;
4563
+ fromJSON(object: any): MezonAuthenticatedResponse;
4564
+ toJSON(message: MezonAuthenticatedResponse): unknown;
4565
+ create<I extends {
4566
+ authenticated?: boolean | undefined;
4567
+ userId?: string | undefined;
4568
+ username?: string | undefined;
4569
+ display_name?: string | undefined;
4570
+ avatar?: string | undefined;
4571
+ } & {
4572
+ authenticated?: boolean | undefined;
4573
+ userId?: string | undefined;
4574
+ username?: string | undefined;
4575
+ display_name?: string | undefined;
4576
+ avatar?: string | undefined;
4577
+ } & { [K in Exclude<keyof I, keyof MezonAuthenticatedResponse>]: never; }>(base?: I | undefined): MezonAuthenticatedResponse;
4578
+ fromPartial<I_1 extends {
4579
+ authenticated?: boolean | undefined;
4580
+ userId?: string | undefined;
4581
+ username?: string | undefined;
4582
+ display_name?: string | undefined;
4583
+ avatar?: string | undefined;
4584
+ } & {
4585
+ authenticated?: boolean | undefined;
4586
+ userId?: string | undefined;
4587
+ username?: string | undefined;
4588
+ display_name?: string | undefined;
4589
+ avatar?: string | undefined;
4590
+ } & { [K_1 in Exclude<keyof I_1, keyof MezonAuthenticatedResponse>]: never; }>(object: I_1): MezonAuthenticatedResponse;
4539
4591
  };
4540
4592
  export declare const AuthenticateGoogleRequest: {
4541
4593
  encode(message: AuthenticateGoogleRequest, writer?: _m0.Writer): _m0.Writer;
@@ -10952,6 +11004,7 @@ export declare const ClanDesc: {
10952
11004
  badge_count?: number | undefined;
10953
11005
  is_onboarding?: boolean | undefined;
10954
11006
  welcome_channel_id?: string | undefined;
11007
+ onboarding_banner?: string | undefined;
10955
11008
  } & {
10956
11009
  creator_id?: string | undefined;
10957
11010
  clan_name?: string | undefined;
@@ -10962,6 +11015,7 @@ export declare const ClanDesc: {
10962
11015
  badge_count?: number | undefined;
10963
11016
  is_onboarding?: boolean | undefined;
10964
11017
  welcome_channel_id?: string | undefined;
11018
+ onboarding_banner?: string | undefined;
10965
11019
  } & { [K in Exclude<keyof I, keyof ClanDesc>]: never; }>(base?: I | undefined): ClanDesc;
10966
11020
  fromPartial<I_1 extends {
10967
11021
  creator_id?: string | undefined;
@@ -10973,6 +11027,7 @@ export declare const ClanDesc: {
10973
11027
  badge_count?: number | undefined;
10974
11028
  is_onboarding?: boolean | undefined;
10975
11029
  welcome_channel_id?: string | undefined;
11030
+ onboarding_banner?: string | undefined;
10976
11031
  } & {
10977
11032
  creator_id?: string | undefined;
10978
11033
  clan_name?: string | undefined;
@@ -10983,6 +11038,7 @@ export declare const ClanDesc: {
10983
11038
  badge_count?: number | undefined;
10984
11039
  is_onboarding?: boolean | undefined;
10985
11040
  welcome_channel_id?: string | undefined;
11041
+ onboarding_banner?: string | undefined;
10986
11042
  } & { [K_1 in Exclude<keyof I_1, keyof ClanDesc>]: never; }>(object: I_1): ClanDesc;
10987
11043
  };
10988
11044
  export declare const CreateClanDescRequest: {
@@ -11022,6 +11078,7 @@ export declare const UpdateClanDescRequest: {
11022
11078
  status?: number | undefined;
11023
11079
  is_onboarding?: boolean | undefined;
11024
11080
  welcome_channel_id?: string | undefined;
11081
+ onboarding_banner?: string | undefined;
11025
11082
  } & {
11026
11083
  clan_id?: string | undefined;
11027
11084
  clan_name?: string | undefined;
@@ -11030,6 +11087,7 @@ export declare const UpdateClanDescRequest: {
11030
11087
  status?: number | undefined;
11031
11088
  is_onboarding?: boolean | undefined;
11032
11089
  welcome_channel_id?: string | undefined;
11090
+ onboarding_banner?: string | undefined;
11033
11091
  } & { [K in Exclude<keyof I, keyof UpdateClanDescRequest>]: never; }>(base?: I | undefined): UpdateClanDescRequest;
11034
11092
  fromPartial<I_1 extends {
11035
11093
  clan_id?: string | undefined;
@@ -11039,6 +11097,7 @@ export declare const UpdateClanDescRequest: {
11039
11097
  status?: number | undefined;
11040
11098
  is_onboarding?: boolean | undefined;
11041
11099
  welcome_channel_id?: string | undefined;
11100
+ onboarding_banner?: string | undefined;
11042
11101
  } & {
11043
11102
  clan_id?: string | undefined;
11044
11103
  clan_name?: string | undefined;
@@ -11047,6 +11106,7 @@ export declare const UpdateClanDescRequest: {
11047
11106
  status?: number | undefined;
11048
11107
  is_onboarding?: boolean | undefined;
11049
11108
  welcome_channel_id?: string | undefined;
11109
+ onboarding_banner?: string | undefined;
11050
11110
  } & { [K_1 in Exclude<keyof I_1, keyof UpdateClanDescRequest>]: never; }>(object: I_1): UpdateClanDescRequest;
11051
11111
  };
11052
11112
  export declare const DeleteClanDescRequest: {
@@ -11105,6 +11165,7 @@ export declare const ClanDescList: {
11105
11165
  badge_count?: number | undefined;
11106
11166
  is_onboarding?: boolean | undefined;
11107
11167
  welcome_channel_id?: string | undefined;
11168
+ onboarding_banner?: string | undefined;
11108
11169
  }[] | undefined;
11109
11170
  } & {
11110
11171
  clandesc?: ({
@@ -11117,6 +11178,7 @@ export declare const ClanDescList: {
11117
11178
  badge_count?: number | undefined;
11118
11179
  is_onboarding?: boolean | undefined;
11119
11180
  welcome_channel_id?: string | undefined;
11181
+ onboarding_banner?: string | undefined;
11120
11182
  }[] & ({
11121
11183
  creator_id?: string | undefined;
11122
11184
  clan_name?: string | undefined;
@@ -11127,6 +11189,7 @@ export declare const ClanDescList: {
11127
11189
  badge_count?: number | undefined;
11128
11190
  is_onboarding?: boolean | undefined;
11129
11191
  welcome_channel_id?: string | undefined;
11192
+ onboarding_banner?: string | undefined;
11130
11193
  } & {
11131
11194
  creator_id?: string | undefined;
11132
11195
  clan_name?: string | undefined;
@@ -11137,6 +11200,7 @@ export declare const ClanDescList: {
11137
11200
  badge_count?: number | undefined;
11138
11201
  is_onboarding?: boolean | undefined;
11139
11202
  welcome_channel_id?: string | undefined;
11203
+ onboarding_banner?: string | undefined;
11140
11204
  } & { [K in Exclude<keyof I["clandesc"][number], keyof ClanDesc>]: never; })[] & { [K_1 in Exclude<keyof I["clandesc"], keyof {
11141
11205
  creator_id?: string | undefined;
11142
11206
  clan_name?: string | undefined;
@@ -11147,6 +11211,7 @@ export declare const ClanDescList: {
11147
11211
  badge_count?: number | undefined;
11148
11212
  is_onboarding?: boolean | undefined;
11149
11213
  welcome_channel_id?: string | undefined;
11214
+ onboarding_banner?: string | undefined;
11150
11215
  }[]>]: never; }) | undefined;
11151
11216
  } & { [K_2 in Exclude<keyof I, "clandesc">]: never; }>(base?: I | undefined): ClanDescList;
11152
11217
  fromPartial<I_1 extends {
@@ -11160,6 +11225,7 @@ export declare const ClanDescList: {
11160
11225
  badge_count?: number | undefined;
11161
11226
  is_onboarding?: boolean | undefined;
11162
11227
  welcome_channel_id?: string | undefined;
11228
+ onboarding_banner?: string | undefined;
11163
11229
  }[] | undefined;
11164
11230
  } & {
11165
11231
  clandesc?: ({
@@ -11172,6 +11238,7 @@ export declare const ClanDescList: {
11172
11238
  badge_count?: number | undefined;
11173
11239
  is_onboarding?: boolean | undefined;
11174
11240
  welcome_channel_id?: string | undefined;
11241
+ onboarding_banner?: string | undefined;
11175
11242
  }[] & ({
11176
11243
  creator_id?: string | undefined;
11177
11244
  clan_name?: string | undefined;
@@ -11182,6 +11249,7 @@ export declare const ClanDescList: {
11182
11249
  badge_count?: number | undefined;
11183
11250
  is_onboarding?: boolean | undefined;
11184
11251
  welcome_channel_id?: string | undefined;
11252
+ onboarding_banner?: string | undefined;
11185
11253
  } & {
11186
11254
  creator_id?: string | undefined;
11187
11255
  clan_name?: string | undefined;
@@ -11192,6 +11260,7 @@ export declare const ClanDescList: {
11192
11260
  badge_count?: number | undefined;
11193
11261
  is_onboarding?: boolean | undefined;
11194
11262
  welcome_channel_id?: string | undefined;
11263
+ onboarding_banner?: string | undefined;
11195
11264
  } & { [K_3 in Exclude<keyof I_1["clandesc"][number], keyof ClanDesc>]: never; })[] & { [K_4 in Exclude<keyof I_1["clandesc"], keyof {
11196
11265
  creator_id?: string | undefined;
11197
11266
  clan_name?: string | undefined;
@@ -11202,6 +11271,7 @@ export declare const ClanDescList: {
11202
11271
  badge_count?: number | undefined;
11203
11272
  is_onboarding?: boolean | undefined;
11204
11273
  welcome_channel_id?: string | undefined;
11274
+ onboarding_banner?: string | undefined;
11205
11275
  }[]>]: never; }) | undefined;
11206
11276
  } & { [K_5 in Exclude<keyof I_1, "clandesc">]: never; }>(object: I_1): ClanDescList;
11207
11277
  };
@@ -24978,14 +25048,18 @@ export declare const GetMezonOauthClientRequest: {
24978
25048
  toJSON(message: GetMezonOauthClientRequest): unknown;
24979
25049
  create<I extends {
24980
25050
  client_id?: string | undefined;
25051
+ client_name?: string | undefined;
24981
25052
  } & {
24982
25053
  client_id?: string | undefined;
24983
- } & { [K in Exclude<keyof I, "client_id">]: never; }>(base?: I | undefined): GetMezonOauthClientRequest;
25054
+ client_name?: string | undefined;
25055
+ } & { [K in Exclude<keyof I, keyof GetMezonOauthClientRequest>]: never; }>(base?: I | undefined): GetMezonOauthClientRequest;
24984
25056
  fromPartial<I_1 extends {
24985
25057
  client_id?: string | undefined;
25058
+ client_name?: string | undefined;
24986
25059
  } & {
24987
25060
  client_id?: string | undefined;
24988
- } & { [K_1 in Exclude<keyof I_1, "client_id">]: never; }>(object: I_1): GetMezonOauthClientRequest;
25061
+ client_name?: string | undefined;
25062
+ } & { [K_1 in Exclude<keyof I_1, keyof GetMezonOauthClientRequest>]: never; }>(object: I_1): GetMezonOauthClientRequest;
24989
25063
  };
24990
25064
  export declare const SearchThreadRequest: {
24991
25065
  encode(message: SearchThreadRequest, writer?: _m0.Writer): _m0.Writer;
@@ -25035,16 +25109,20 @@ export declare const GenerateHashChannelAppsResponse: {
25035
25109
  create<I extends {
25036
25110
  hash?: string | undefined;
25037
25111
  user_id?: string | undefined;
25112
+ auth_date?: string | undefined;
25038
25113
  } & {
25039
25114
  hash?: string | undefined;
25040
25115
  user_id?: string | undefined;
25116
+ auth_date?: string | undefined;
25041
25117
  } & { [K in Exclude<keyof I, keyof GenerateHashChannelAppsResponse>]: never; }>(base?: I | undefined): GenerateHashChannelAppsResponse;
25042
25118
  fromPartial<I_1 extends {
25043
25119
  hash?: string | undefined;
25044
25120
  user_id?: string | undefined;
25121
+ auth_date?: string | undefined;
25045
25122
  } & {
25046
25123
  hash?: string | undefined;
25047
25124
  user_id?: string | undefined;
25125
+ auth_date?: string | undefined;
25048
25126
  } & { [K_1 in Exclude<keyof I_1, keyof GenerateHashChannelAppsResponse>]: never; }>(object: I_1): GenerateHashChannelAppsResponse;
25049
25127
  };
25050
25128
  type Builtin = Date | Function | Uint8Array | string | number | boolean | undefined;