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.
- package/api/api.ts +227 -30
- package/dist/mezon-js-protobuf/api/api.d.ts +91 -18
- package/dist/mezon-js-protobuf/rtapi/realtime.d.ts +67 -55
- package/dist/mezon-js-protobuf.cjs.js +2116 -2116
- package/dist/mezon-js-protobuf.esm.mjs +2116 -2116
- package/package.json +1 -1
- package/rtapi/realtime.ts +35 -37
package/api/api.ts
CHANGED
|
@@ -466,10 +466,21 @@ export interface AuthenticateGameCenterRequest {
|
|
|
466
466
|
username: string;
|
|
467
467
|
}
|
|
468
468
|
|
|
469
|
-
/**
|
|
470
|
-
export interface
|
|
471
|
-
/** The
|
|
472
|
-
|
|
469
|
+
/** MezonAuthenticatedRequest */
|
|
470
|
+
export interface MezonAuthenticatedRequest {
|
|
471
|
+
/** The email */
|
|
472
|
+
email: string;
|
|
473
|
+
secret: string;
|
|
474
|
+
}
|
|
475
|
+
|
|
476
|
+
/** MezonAuthenticatedResponse */
|
|
477
|
+
export interface MezonAuthenticatedResponse {
|
|
478
|
+
/** The status */
|
|
479
|
+
authenticated: boolean;
|
|
480
|
+
userId: string;
|
|
481
|
+
username: string;
|
|
482
|
+
display_name: string;
|
|
483
|
+
avatar: string;
|
|
473
484
|
}
|
|
474
485
|
|
|
475
486
|
/** Authenticate against the server with Google. */
|
|
@@ -1285,7 +1296,7 @@ export interface ListNotificationsRequest {
|
|
|
1285
1296
|
clan_id: string;
|
|
1286
1297
|
/** The current notification Id. */
|
|
1287
1298
|
notification_id: string;
|
|
1288
|
-
/** The category (
|
|
1299
|
+
/** The category (1: mentions, 2: mesages, 3: for you). */
|
|
1289
1300
|
category: number;
|
|
1290
1301
|
/** True if listing should be older notifications to newer, false if reverse. */
|
|
1291
1302
|
direction: number | undefined;
|
|
@@ -1642,6 +1653,8 @@ export interface ClanDesc {
|
|
|
1642
1653
|
is_onboarding: boolean;
|
|
1643
1654
|
/** Welcome channel id. */
|
|
1644
1655
|
welcome_channel_id: string;
|
|
1656
|
+
/** Onboarding_banner. */
|
|
1657
|
+
onboarding_banner: string;
|
|
1645
1658
|
}
|
|
1646
1659
|
|
|
1647
1660
|
/** Clan information */
|
|
@@ -1671,6 +1684,8 @@ export interface UpdateClanDescRequest {
|
|
|
1671
1684
|
| undefined;
|
|
1672
1685
|
/** Welcome channel id. */
|
|
1673
1686
|
welcome_channel_id: string;
|
|
1687
|
+
/** Onboarding_banner. */
|
|
1688
|
+
onboarding_banner: string;
|
|
1674
1689
|
}
|
|
1675
1690
|
|
|
1676
1691
|
/** Delete a clan the user has access to. */
|
|
@@ -3977,6 +3992,7 @@ export interface MezonOauthClientList {
|
|
|
3977
3992
|
|
|
3978
3993
|
export interface GetMezonOauthClientRequest {
|
|
3979
3994
|
client_id: string;
|
|
3995
|
+
client_name: string;
|
|
3980
3996
|
}
|
|
3981
3997
|
|
|
3982
3998
|
export interface SearchThreadRequest {
|
|
@@ -6970,22 +6986,25 @@ export const AuthenticateGameCenterRequest = {
|
|
|
6970
6986
|
},
|
|
6971
6987
|
};
|
|
6972
6988
|
|
|
6973
|
-
function
|
|
6974
|
-
return {
|
|
6989
|
+
function createBaseMezonAuthenticatedRequest(): MezonAuthenticatedRequest {
|
|
6990
|
+
return { email: "", secret: "" };
|
|
6975
6991
|
}
|
|
6976
6992
|
|
|
6977
|
-
export const
|
|
6978
|
-
encode(message:
|
|
6979
|
-
if (message.
|
|
6980
|
-
writer.uint32(10).string(message.
|
|
6993
|
+
export const MezonAuthenticatedRequest = {
|
|
6994
|
+
encode(message: MezonAuthenticatedRequest, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer {
|
|
6995
|
+
if (message.email !== "") {
|
|
6996
|
+
writer.uint32(10).string(message.email);
|
|
6997
|
+
}
|
|
6998
|
+
if (message.secret !== "") {
|
|
6999
|
+
writer.uint32(18).string(message.secret);
|
|
6981
7000
|
}
|
|
6982
7001
|
return writer;
|
|
6983
7002
|
},
|
|
6984
7003
|
|
|
6985
|
-
decode(input: _m0.Reader | Uint8Array, length?: number):
|
|
7004
|
+
decode(input: _m0.Reader | Uint8Array, length?: number): MezonAuthenticatedRequest {
|
|
6986
7005
|
const reader = input instanceof _m0.Reader ? input : _m0.Reader.create(input);
|
|
6987
7006
|
let end = length === undefined ? reader.len : reader.pos + length;
|
|
6988
|
-
const message =
|
|
7007
|
+
const message = createBaseMezonAuthenticatedRequest();
|
|
6989
7008
|
while (reader.pos < end) {
|
|
6990
7009
|
const tag = reader.uint32();
|
|
6991
7010
|
switch (tag >>> 3) {
|
|
@@ -6994,7 +7013,14 @@ export const AuthenticateGoogleRedirectRequest = {
|
|
|
6994
7013
|
break;
|
|
6995
7014
|
}
|
|
6996
7015
|
|
|
6997
|
-
message.
|
|
7016
|
+
message.email = reader.string();
|
|
7017
|
+
continue;
|
|
7018
|
+
case 2:
|
|
7019
|
+
if (tag !== 18) {
|
|
7020
|
+
break;
|
|
7021
|
+
}
|
|
7022
|
+
|
|
7023
|
+
message.secret = reader.string();
|
|
6998
7024
|
continue;
|
|
6999
7025
|
}
|
|
7000
7026
|
if ((tag & 7) === 4 || tag === 0) {
|
|
@@ -7005,28 +7031,150 @@ export const AuthenticateGoogleRedirectRequest = {
|
|
|
7005
7031
|
return message;
|
|
7006
7032
|
},
|
|
7007
7033
|
|
|
7008
|
-
fromJSON(object: any):
|
|
7009
|
-
return {
|
|
7034
|
+
fromJSON(object: any): MezonAuthenticatedRequest {
|
|
7035
|
+
return {
|
|
7036
|
+
email: isSet(object.email) ? globalThis.String(object.email) : "",
|
|
7037
|
+
secret: isSet(object.secret) ? globalThis.String(object.secret) : "",
|
|
7038
|
+
};
|
|
7010
7039
|
},
|
|
7011
7040
|
|
|
7012
|
-
toJSON(message:
|
|
7041
|
+
toJSON(message: MezonAuthenticatedRequest): unknown {
|
|
7013
7042
|
const obj: any = {};
|
|
7014
|
-
if (message.
|
|
7015
|
-
obj.
|
|
7043
|
+
if (message.email !== "") {
|
|
7044
|
+
obj.email = message.email;
|
|
7045
|
+
}
|
|
7046
|
+
if (message.secret !== "") {
|
|
7047
|
+
obj.secret = message.secret;
|
|
7016
7048
|
}
|
|
7017
7049
|
return obj;
|
|
7018
7050
|
},
|
|
7019
7051
|
|
|
7020
|
-
create<I extends Exact<DeepPartial<
|
|
7021
|
-
base
|
|
7022
|
-
): AuthenticateGoogleRedirectRequest {
|
|
7023
|
-
return AuthenticateGoogleRedirectRequest.fromPartial(base ?? ({} as any));
|
|
7052
|
+
create<I extends Exact<DeepPartial<MezonAuthenticatedRequest>, I>>(base?: I): MezonAuthenticatedRequest {
|
|
7053
|
+
return MezonAuthenticatedRequest.fromPartial(base ?? ({} as any));
|
|
7024
7054
|
},
|
|
7025
|
-
fromPartial<I extends Exact<DeepPartial<
|
|
7026
|
-
|
|
7027
|
-
|
|
7028
|
-
|
|
7029
|
-
message
|
|
7055
|
+
fromPartial<I extends Exact<DeepPartial<MezonAuthenticatedRequest>, I>>(object: I): MezonAuthenticatedRequest {
|
|
7056
|
+
const message = createBaseMezonAuthenticatedRequest();
|
|
7057
|
+
message.email = object.email ?? "";
|
|
7058
|
+
message.secret = object.secret ?? "";
|
|
7059
|
+
return message;
|
|
7060
|
+
},
|
|
7061
|
+
};
|
|
7062
|
+
|
|
7063
|
+
function createBaseMezonAuthenticatedResponse(): MezonAuthenticatedResponse {
|
|
7064
|
+
return { authenticated: false, userId: "", username: "", display_name: "", avatar: "" };
|
|
7065
|
+
}
|
|
7066
|
+
|
|
7067
|
+
export const MezonAuthenticatedResponse = {
|
|
7068
|
+
encode(message: MezonAuthenticatedResponse, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer {
|
|
7069
|
+
if (message.authenticated !== false) {
|
|
7070
|
+
writer.uint32(8).bool(message.authenticated);
|
|
7071
|
+
}
|
|
7072
|
+
if (message.userId !== "") {
|
|
7073
|
+
writer.uint32(18).string(message.userId);
|
|
7074
|
+
}
|
|
7075
|
+
if (message.username !== "") {
|
|
7076
|
+
writer.uint32(26).string(message.username);
|
|
7077
|
+
}
|
|
7078
|
+
if (message.display_name !== "") {
|
|
7079
|
+
writer.uint32(34).string(message.display_name);
|
|
7080
|
+
}
|
|
7081
|
+
if (message.avatar !== "") {
|
|
7082
|
+
writer.uint32(42).string(message.avatar);
|
|
7083
|
+
}
|
|
7084
|
+
return writer;
|
|
7085
|
+
},
|
|
7086
|
+
|
|
7087
|
+
decode(input: _m0.Reader | Uint8Array, length?: number): MezonAuthenticatedResponse {
|
|
7088
|
+
const reader = input instanceof _m0.Reader ? input : _m0.Reader.create(input);
|
|
7089
|
+
let end = length === undefined ? reader.len : reader.pos + length;
|
|
7090
|
+
const message = createBaseMezonAuthenticatedResponse();
|
|
7091
|
+
while (reader.pos < end) {
|
|
7092
|
+
const tag = reader.uint32();
|
|
7093
|
+
switch (tag >>> 3) {
|
|
7094
|
+
case 1:
|
|
7095
|
+
if (tag !== 8) {
|
|
7096
|
+
break;
|
|
7097
|
+
}
|
|
7098
|
+
|
|
7099
|
+
message.authenticated = reader.bool();
|
|
7100
|
+
continue;
|
|
7101
|
+
case 2:
|
|
7102
|
+
if (tag !== 18) {
|
|
7103
|
+
break;
|
|
7104
|
+
}
|
|
7105
|
+
|
|
7106
|
+
message.userId = reader.string();
|
|
7107
|
+
continue;
|
|
7108
|
+
case 3:
|
|
7109
|
+
if (tag !== 26) {
|
|
7110
|
+
break;
|
|
7111
|
+
}
|
|
7112
|
+
|
|
7113
|
+
message.username = reader.string();
|
|
7114
|
+
continue;
|
|
7115
|
+
case 4:
|
|
7116
|
+
if (tag !== 34) {
|
|
7117
|
+
break;
|
|
7118
|
+
}
|
|
7119
|
+
|
|
7120
|
+
message.display_name = reader.string();
|
|
7121
|
+
continue;
|
|
7122
|
+
case 5:
|
|
7123
|
+
if (tag !== 42) {
|
|
7124
|
+
break;
|
|
7125
|
+
}
|
|
7126
|
+
|
|
7127
|
+
message.avatar = reader.string();
|
|
7128
|
+
continue;
|
|
7129
|
+
}
|
|
7130
|
+
if ((tag & 7) === 4 || tag === 0) {
|
|
7131
|
+
break;
|
|
7132
|
+
}
|
|
7133
|
+
reader.skipType(tag & 7);
|
|
7134
|
+
}
|
|
7135
|
+
return message;
|
|
7136
|
+
},
|
|
7137
|
+
|
|
7138
|
+
fromJSON(object: any): MezonAuthenticatedResponse {
|
|
7139
|
+
return {
|
|
7140
|
+
authenticated: isSet(object.authenticated) ? globalThis.Boolean(object.authenticated) : false,
|
|
7141
|
+
userId: isSet(object.userId) ? globalThis.String(object.userId) : "",
|
|
7142
|
+
username: isSet(object.username) ? globalThis.String(object.username) : "",
|
|
7143
|
+
display_name: isSet(object.display_name) ? globalThis.String(object.display_name) : "",
|
|
7144
|
+
avatar: isSet(object.avatar) ? globalThis.String(object.avatar) : "",
|
|
7145
|
+
};
|
|
7146
|
+
},
|
|
7147
|
+
|
|
7148
|
+
toJSON(message: MezonAuthenticatedResponse): unknown {
|
|
7149
|
+
const obj: any = {};
|
|
7150
|
+
if (message.authenticated !== false) {
|
|
7151
|
+
obj.authenticated = message.authenticated;
|
|
7152
|
+
}
|
|
7153
|
+
if (message.userId !== "") {
|
|
7154
|
+
obj.userId = message.userId;
|
|
7155
|
+
}
|
|
7156
|
+
if (message.username !== "") {
|
|
7157
|
+
obj.username = message.username;
|
|
7158
|
+
}
|
|
7159
|
+
if (message.display_name !== "") {
|
|
7160
|
+
obj.display_name = message.display_name;
|
|
7161
|
+
}
|
|
7162
|
+
if (message.avatar !== "") {
|
|
7163
|
+
obj.avatar = message.avatar;
|
|
7164
|
+
}
|
|
7165
|
+
return obj;
|
|
7166
|
+
},
|
|
7167
|
+
|
|
7168
|
+
create<I extends Exact<DeepPartial<MezonAuthenticatedResponse>, I>>(base?: I): MezonAuthenticatedResponse {
|
|
7169
|
+
return MezonAuthenticatedResponse.fromPartial(base ?? ({} as any));
|
|
7170
|
+
},
|
|
7171
|
+
fromPartial<I extends Exact<DeepPartial<MezonAuthenticatedResponse>, I>>(object: I): MezonAuthenticatedResponse {
|
|
7172
|
+
const message = createBaseMezonAuthenticatedResponse();
|
|
7173
|
+
message.authenticated = object.authenticated ?? false;
|
|
7174
|
+
message.userId = object.userId ?? "";
|
|
7175
|
+
message.username = object.username ?? "";
|
|
7176
|
+
message.display_name = object.display_name ?? "";
|
|
7177
|
+
message.avatar = object.avatar ?? "";
|
|
7030
7178
|
return message;
|
|
7031
7179
|
},
|
|
7032
7180
|
};
|
|
@@ -14927,6 +15075,7 @@ function createBaseClanDesc(): ClanDesc {
|
|
|
14927
15075
|
badge_count: 0,
|
|
14928
15076
|
is_onboarding: false,
|
|
14929
15077
|
welcome_channel_id: "",
|
|
15078
|
+
onboarding_banner: "",
|
|
14930
15079
|
};
|
|
14931
15080
|
}
|
|
14932
15081
|
|
|
@@ -14959,6 +15108,9 @@ export const ClanDesc = {
|
|
|
14959
15108
|
if (message.welcome_channel_id !== "") {
|
|
14960
15109
|
writer.uint32(74).string(message.welcome_channel_id);
|
|
14961
15110
|
}
|
|
15111
|
+
if (message.onboarding_banner !== "") {
|
|
15112
|
+
writer.uint32(82).string(message.onboarding_banner);
|
|
15113
|
+
}
|
|
14962
15114
|
return writer;
|
|
14963
15115
|
},
|
|
14964
15116
|
|
|
@@ -15032,6 +15184,13 @@ export const ClanDesc = {
|
|
|
15032
15184
|
|
|
15033
15185
|
message.welcome_channel_id = reader.string();
|
|
15034
15186
|
continue;
|
|
15187
|
+
case 10:
|
|
15188
|
+
if (tag !== 82) {
|
|
15189
|
+
break;
|
|
15190
|
+
}
|
|
15191
|
+
|
|
15192
|
+
message.onboarding_banner = reader.string();
|
|
15193
|
+
continue;
|
|
15035
15194
|
}
|
|
15036
15195
|
if ((tag & 7) === 4 || tag === 0) {
|
|
15037
15196
|
break;
|
|
@@ -15052,6 +15211,7 @@ export const ClanDesc = {
|
|
|
15052
15211
|
badge_count: isSet(object.badge_count) ? globalThis.Number(object.badge_count) : 0,
|
|
15053
15212
|
is_onboarding: isSet(object.is_onboarding) ? globalThis.Boolean(object.is_onboarding) : false,
|
|
15054
15213
|
welcome_channel_id: isSet(object.welcome_channel_id) ? globalThis.String(object.welcome_channel_id) : "",
|
|
15214
|
+
onboarding_banner: isSet(object.onboarding_banner) ? globalThis.String(object.onboarding_banner) : "",
|
|
15055
15215
|
};
|
|
15056
15216
|
},
|
|
15057
15217
|
|
|
@@ -15084,6 +15244,9 @@ export const ClanDesc = {
|
|
|
15084
15244
|
if (message.welcome_channel_id !== "") {
|
|
15085
15245
|
obj.welcome_channel_id = message.welcome_channel_id;
|
|
15086
15246
|
}
|
|
15247
|
+
if (message.onboarding_banner !== "") {
|
|
15248
|
+
obj.onboarding_banner = message.onboarding_banner;
|
|
15249
|
+
}
|
|
15087
15250
|
return obj;
|
|
15088
15251
|
},
|
|
15089
15252
|
|
|
@@ -15101,6 +15264,7 @@ export const ClanDesc = {
|
|
|
15101
15264
|
message.badge_count = object.badge_count ?? 0;
|
|
15102
15265
|
message.is_onboarding = object.is_onboarding ?? false;
|
|
15103
15266
|
message.welcome_channel_id = object.welcome_channel_id ?? "";
|
|
15267
|
+
message.onboarding_banner = object.onboarding_banner ?? "";
|
|
15104
15268
|
return message;
|
|
15105
15269
|
},
|
|
15106
15270
|
};
|
|
@@ -15203,6 +15367,7 @@ function createBaseUpdateClanDescRequest(): UpdateClanDescRequest {
|
|
|
15203
15367
|
status: 0,
|
|
15204
15368
|
is_onboarding: undefined,
|
|
15205
15369
|
welcome_channel_id: "",
|
|
15370
|
+
onboarding_banner: "",
|
|
15206
15371
|
};
|
|
15207
15372
|
}
|
|
15208
15373
|
|
|
@@ -15229,6 +15394,9 @@ export const UpdateClanDescRequest = {
|
|
|
15229
15394
|
if (message.welcome_channel_id !== "") {
|
|
15230
15395
|
writer.uint32(58).string(message.welcome_channel_id);
|
|
15231
15396
|
}
|
|
15397
|
+
if (message.onboarding_banner !== "") {
|
|
15398
|
+
writer.uint32(66).string(message.onboarding_banner);
|
|
15399
|
+
}
|
|
15232
15400
|
return writer;
|
|
15233
15401
|
},
|
|
15234
15402
|
|
|
@@ -15288,6 +15456,13 @@ export const UpdateClanDescRequest = {
|
|
|
15288
15456
|
|
|
15289
15457
|
message.welcome_channel_id = reader.string();
|
|
15290
15458
|
continue;
|
|
15459
|
+
case 8:
|
|
15460
|
+
if (tag !== 66) {
|
|
15461
|
+
break;
|
|
15462
|
+
}
|
|
15463
|
+
|
|
15464
|
+
message.onboarding_banner = reader.string();
|
|
15465
|
+
continue;
|
|
15291
15466
|
}
|
|
15292
15467
|
if ((tag & 7) === 4 || tag === 0) {
|
|
15293
15468
|
break;
|
|
@@ -15306,6 +15481,7 @@ export const UpdateClanDescRequest = {
|
|
|
15306
15481
|
status: isSet(object.status) ? globalThis.Number(object.status) : 0,
|
|
15307
15482
|
is_onboarding: isSet(object.is_onboarding) ? Boolean(object.is_onboarding) : undefined,
|
|
15308
15483
|
welcome_channel_id: isSet(object.welcome_channel_id) ? globalThis.String(object.welcome_channel_id) : "",
|
|
15484
|
+
onboarding_banner: isSet(object.onboarding_banner) ? globalThis.String(object.onboarding_banner) : "",
|
|
15309
15485
|
};
|
|
15310
15486
|
},
|
|
15311
15487
|
|
|
@@ -15332,6 +15508,9 @@ export const UpdateClanDescRequest = {
|
|
|
15332
15508
|
if (message.welcome_channel_id !== "") {
|
|
15333
15509
|
obj.welcome_channel_id = message.welcome_channel_id;
|
|
15334
15510
|
}
|
|
15511
|
+
if (message.onboarding_banner !== "") {
|
|
15512
|
+
obj.onboarding_banner = message.onboarding_banner;
|
|
15513
|
+
}
|
|
15335
15514
|
return obj;
|
|
15336
15515
|
},
|
|
15337
15516
|
|
|
@@ -15347,6 +15526,7 @@ export const UpdateClanDescRequest = {
|
|
|
15347
15526
|
message.status = object.status ?? 0;
|
|
15348
15527
|
message.is_onboarding = object.is_onboarding ?? undefined;
|
|
15349
15528
|
message.welcome_channel_id = object.welcome_channel_id ?? "";
|
|
15529
|
+
message.onboarding_banner = object.onboarding_banner ?? "";
|
|
15350
15530
|
return message;
|
|
15351
15531
|
},
|
|
15352
15532
|
};
|
|
@@ -39279,7 +39459,7 @@ export const MezonOauthClientList = {
|
|
|
39279
39459
|
};
|
|
39280
39460
|
|
|
39281
39461
|
function createBaseGetMezonOauthClientRequest(): GetMezonOauthClientRequest {
|
|
39282
|
-
return { client_id: "" };
|
|
39462
|
+
return { client_id: "", client_name: "" };
|
|
39283
39463
|
}
|
|
39284
39464
|
|
|
39285
39465
|
export const GetMezonOauthClientRequest = {
|
|
@@ -39287,6 +39467,9 @@ export const GetMezonOauthClientRequest = {
|
|
|
39287
39467
|
if (message.client_id !== "") {
|
|
39288
39468
|
writer.uint32(10).string(message.client_id);
|
|
39289
39469
|
}
|
|
39470
|
+
if (message.client_name !== "") {
|
|
39471
|
+
writer.uint32(18).string(message.client_name);
|
|
39472
|
+
}
|
|
39290
39473
|
return writer;
|
|
39291
39474
|
},
|
|
39292
39475
|
|
|
@@ -39304,6 +39487,13 @@ export const GetMezonOauthClientRequest = {
|
|
|
39304
39487
|
|
|
39305
39488
|
message.client_id = reader.string();
|
|
39306
39489
|
continue;
|
|
39490
|
+
case 2:
|
|
39491
|
+
if (tag !== 18) {
|
|
39492
|
+
break;
|
|
39493
|
+
}
|
|
39494
|
+
|
|
39495
|
+
message.client_name = reader.string();
|
|
39496
|
+
continue;
|
|
39307
39497
|
}
|
|
39308
39498
|
if ((tag & 7) === 4 || tag === 0) {
|
|
39309
39499
|
break;
|
|
@@ -39314,7 +39504,10 @@ export const GetMezonOauthClientRequest = {
|
|
|
39314
39504
|
},
|
|
39315
39505
|
|
|
39316
39506
|
fromJSON(object: any): GetMezonOauthClientRequest {
|
|
39317
|
-
return {
|
|
39507
|
+
return {
|
|
39508
|
+
client_id: isSet(object.client_id) ? globalThis.String(object.client_id) : "",
|
|
39509
|
+
client_name: isSet(object.client_name) ? globalThis.String(object.client_name) : "",
|
|
39510
|
+
};
|
|
39318
39511
|
},
|
|
39319
39512
|
|
|
39320
39513
|
toJSON(message: GetMezonOauthClientRequest): unknown {
|
|
@@ -39322,6 +39515,9 @@ export const GetMezonOauthClientRequest = {
|
|
|
39322
39515
|
if (message.client_id !== "") {
|
|
39323
39516
|
obj.client_id = message.client_id;
|
|
39324
39517
|
}
|
|
39518
|
+
if (message.client_name !== "") {
|
|
39519
|
+
obj.client_name = message.client_name;
|
|
39520
|
+
}
|
|
39325
39521
|
return obj;
|
|
39326
39522
|
},
|
|
39327
39523
|
|
|
@@ -39331,6 +39527,7 @@ export const GetMezonOauthClientRequest = {
|
|
|
39331
39527
|
fromPartial<I extends Exact<DeepPartial<GetMezonOauthClientRequest>, I>>(object: I): GetMezonOauthClientRequest {
|
|
39332
39528
|
const message = createBaseGetMezonOauthClientRequest();
|
|
39333
39529
|
message.client_id = object.client_id ?? "";
|
|
39530
|
+
message.client_name = object.client_name ?? "";
|
|
39334
39531
|
return message;
|
|
39335
39532
|
},
|
|
39336
39533
|
};
|