mezon-js-protobuf 1.6.78 → 1.6.79
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 +20 -20
- package/dist/mezon-js-protobuf/api/api.d.ts +12 -12
- package/package.json +1 -1
package/api/api.ts
CHANGED
|
@@ -191,8 +191,8 @@ export interface Account {
|
|
|
191
191
|
logo: string;
|
|
192
192
|
/** Splash screen url */
|
|
193
193
|
splash_screen: string;
|
|
194
|
-
/** E2ee
|
|
195
|
-
|
|
194
|
+
/** E2ee encrypt private key */
|
|
195
|
+
encrypt_private_key: string;
|
|
196
196
|
}
|
|
197
197
|
|
|
198
198
|
/** Obtain a new authentication token using a refresh token. */
|
|
@@ -1409,8 +1409,8 @@ export interface UpdateAccountRequest {
|
|
|
1409
1409
|
logo: string;
|
|
1410
1410
|
/** splash screen */
|
|
1411
1411
|
splash_screen: string;
|
|
1412
|
-
/** e2ee
|
|
1413
|
-
|
|
1412
|
+
/** e2ee encrypt private key */
|
|
1413
|
+
encrypt_private_key: string;
|
|
1414
1414
|
}
|
|
1415
1415
|
|
|
1416
1416
|
/** Update fields in a given group. */
|
|
@@ -3852,7 +3852,7 @@ function createBaseAccount(): Account {
|
|
|
3852
3852
|
disable_time: undefined,
|
|
3853
3853
|
logo: "",
|
|
3854
3854
|
splash_screen: "",
|
|
3855
|
-
|
|
3855
|
+
encrypt_private_key: "",
|
|
3856
3856
|
};
|
|
3857
3857
|
}
|
|
3858
3858
|
|
|
@@ -3885,8 +3885,8 @@ export const Account = {
|
|
|
3885
3885
|
if (message.splash_screen !== "") {
|
|
3886
3886
|
writer.uint32(74).string(message.splash_screen);
|
|
3887
3887
|
}
|
|
3888
|
-
if (message.
|
|
3889
|
-
writer.uint32(82).string(message.
|
|
3888
|
+
if (message.encrypt_private_key !== "") {
|
|
3889
|
+
writer.uint32(82).string(message.encrypt_private_key);
|
|
3890
3890
|
}
|
|
3891
3891
|
return writer;
|
|
3892
3892
|
},
|
|
@@ -3966,7 +3966,7 @@ case 10:
|
|
|
3966
3966
|
break;
|
|
3967
3967
|
}
|
|
3968
3968
|
|
|
3969
|
-
message.
|
|
3969
|
+
message.encrypt_private_key = reader.string();
|
|
3970
3970
|
continue;
|
|
3971
3971
|
}
|
|
3972
3972
|
if ((tag & 7) === 4 || tag === 0) {
|
|
@@ -3990,7 +3990,7 @@ case 10:
|
|
|
3990
3990
|
disable_time: isSet(object.disable_time) ? fromJsonTimestamp(object.disable_time) : undefined,
|
|
3991
3991
|
logo: isSet(object.logo) ? globalThis.String(object.logo) : "",
|
|
3992
3992
|
splash_screen: isSet(object.splash_screen) ? globalThis.String(object.splash_screen) : "",
|
|
3993
|
-
|
|
3993
|
+
encrypt_private_key: isSet(object.encrypt_private_key) ? globalThis.String(object.encrypt_private_key) : "",
|
|
3994
3994
|
};
|
|
3995
3995
|
},
|
|
3996
3996
|
|
|
@@ -4023,8 +4023,8 @@ case 10:
|
|
|
4023
4023
|
if (message.splash_screen !== "") {
|
|
4024
4024
|
obj.splash_screen = message.splash_screen;
|
|
4025
4025
|
}
|
|
4026
|
-
if (message.
|
|
4027
|
-
obj.
|
|
4026
|
+
if (message.encrypt_private_key !== "") {
|
|
4027
|
+
obj.encrypt_private_key = message.encrypt_private_key;
|
|
4028
4028
|
}
|
|
4029
4029
|
return obj;
|
|
4030
4030
|
},
|
|
@@ -4043,7 +4043,7 @@ case 10:
|
|
|
4043
4043
|
message.disable_time = object.disable_time ?? undefined;
|
|
4044
4044
|
message.logo = object.logo ?? "";
|
|
4045
4045
|
message.splash_screen = object.splash_screen ?? "";
|
|
4046
|
-
message.
|
|
4046
|
+
message.encrypt_private_key = object.encrypt_private_key ?? "";
|
|
4047
4047
|
return message;
|
|
4048
4048
|
},
|
|
4049
4049
|
};
|
|
@@ -13294,7 +13294,7 @@ function createBaseUpdateAccountRequest(): UpdateAccountRequest {
|
|
|
13294
13294
|
dob: undefined,
|
|
13295
13295
|
logo: "",
|
|
13296
13296
|
splash_screen: "",
|
|
13297
|
-
|
|
13297
|
+
encrypt_private_key: "",
|
|
13298
13298
|
};
|
|
13299
13299
|
}
|
|
13300
13300
|
|
|
@@ -13330,8 +13330,8 @@ export const UpdateAccountRequest = {
|
|
|
13330
13330
|
if (message.splash_screen !== "") {
|
|
13331
13331
|
writer.uint32(82).string(message.splash_screen);
|
|
13332
13332
|
}
|
|
13333
|
-
if (message.
|
|
13334
|
-
writer.uint32(90).string(message.
|
|
13333
|
+
if (message.encrypt_private_key !== "") {
|
|
13334
|
+
writer.uint32(90).string(message.encrypt_private_key);
|
|
13335
13335
|
}
|
|
13336
13336
|
return writer;
|
|
13337
13337
|
},
|
|
@@ -13418,7 +13418,7 @@ case 11:
|
|
|
13418
13418
|
break;
|
|
13419
13419
|
}
|
|
13420
13420
|
|
|
13421
|
-
message.
|
|
13421
|
+
message.encrypt_private_key = reader.string();
|
|
13422
13422
|
continue;
|
|
13423
13423
|
}
|
|
13424
13424
|
if ((tag & 7) === 4 || tag === 0) {
|
|
@@ -13441,7 +13441,7 @@ case 11:
|
|
|
13441
13441
|
dob: isSet(object.dob) ? fromJsonTimestamp(object.dob) : undefined,
|
|
13442
13442
|
logo: isSet(object.logo) ? globalThis.String(object.logo) : "",
|
|
13443
13443
|
splash_screen: isSet(object.splash_screen) ? globalThis.String(object.splash_screen) : "",
|
|
13444
|
-
|
|
13444
|
+
encrypt_private_key: isSet(object.encrypt_private_key) ? globalThis.String(object.encrypt_private_key) : "",
|
|
13445
13445
|
};
|
|
13446
13446
|
},
|
|
13447
13447
|
|
|
@@ -13477,8 +13477,8 @@ case 11:
|
|
|
13477
13477
|
if (message.splash_screen !== "") {
|
|
13478
13478
|
obj.splash_screen = message.splash_screen;
|
|
13479
13479
|
}
|
|
13480
|
-
if (message.
|
|
13481
|
-
obj.
|
|
13480
|
+
if (message.encrypt_private_key !== "") {
|
|
13481
|
+
obj.encrypt_private_key = message.encrypt_private_key;
|
|
13482
13482
|
}
|
|
13483
13483
|
return obj;
|
|
13484
13484
|
},
|
|
@@ -13498,7 +13498,7 @@ case 11:
|
|
|
13498
13498
|
message.dob = object.dob ?? undefined;
|
|
13499
13499
|
message.logo = object.logo ?? "";
|
|
13500
13500
|
message.splash_screen = object.splash_screen ?? "";
|
|
13501
|
-
message.
|
|
13501
|
+
message.encrypt_private_key = object.encrypt_private_key ?? "";
|
|
13502
13502
|
return message;
|
|
13503
13503
|
},
|
|
13504
13504
|
};
|
|
@@ -63,8 +63,8 @@ export interface Account {
|
|
|
63
63
|
logo: string;
|
|
64
64
|
/** Splash screen url */
|
|
65
65
|
splash_screen: string;
|
|
66
|
-
/** E2ee
|
|
67
|
-
|
|
66
|
+
/** E2ee encrypt private key */
|
|
67
|
+
encrypt_private_key: string;
|
|
68
68
|
}
|
|
69
69
|
/** Obtain a new authentication token using a refresh token. */
|
|
70
70
|
export interface AccountRefresh {
|
|
@@ -1026,8 +1026,8 @@ export interface UpdateAccountRequest {
|
|
|
1026
1026
|
logo: string;
|
|
1027
1027
|
/** splash screen */
|
|
1028
1028
|
splash_screen: string;
|
|
1029
|
-
/** e2ee
|
|
1030
|
-
|
|
1029
|
+
/** e2ee encrypt private key */
|
|
1030
|
+
encrypt_private_key: string;
|
|
1031
1031
|
}
|
|
1032
1032
|
/** Update fields in a given group. */
|
|
1033
1033
|
export interface UpdateGroupRequest {
|
|
@@ -3132,7 +3132,7 @@ export declare const Account: {
|
|
|
3132
3132
|
disable_time?: Date | undefined;
|
|
3133
3133
|
logo?: string | undefined;
|
|
3134
3134
|
splash_screen?: string | undefined;
|
|
3135
|
-
|
|
3135
|
+
encrypt_private_key?: string | undefined;
|
|
3136
3136
|
} & {
|
|
3137
3137
|
user?: ({
|
|
3138
3138
|
id?: string | undefined;
|
|
@@ -3209,7 +3209,7 @@ export declare const Account: {
|
|
|
3209
3209
|
disable_time?: Date | undefined;
|
|
3210
3210
|
logo?: string | undefined;
|
|
3211
3211
|
splash_screen?: string | undefined;
|
|
3212
|
-
|
|
3212
|
+
encrypt_private_key?: string | undefined;
|
|
3213
3213
|
} & { [K_4 in Exclude<keyof I, keyof Account>]: never; }>(base?: I | undefined): Account;
|
|
3214
3214
|
fromPartial<I_1 extends {
|
|
3215
3215
|
user?: {
|
|
@@ -3248,7 +3248,7 @@ export declare const Account: {
|
|
|
3248
3248
|
disable_time?: Date | undefined;
|
|
3249
3249
|
logo?: string | undefined;
|
|
3250
3250
|
splash_screen?: string | undefined;
|
|
3251
|
-
|
|
3251
|
+
encrypt_private_key?: string | undefined;
|
|
3252
3252
|
} & {
|
|
3253
3253
|
user?: ({
|
|
3254
3254
|
id?: string | undefined;
|
|
@@ -3325,7 +3325,7 @@ export declare const Account: {
|
|
|
3325
3325
|
disable_time?: Date | undefined;
|
|
3326
3326
|
logo?: string | undefined;
|
|
3327
3327
|
splash_screen?: string | undefined;
|
|
3328
|
-
|
|
3328
|
+
encrypt_private_key?: string | undefined;
|
|
3329
3329
|
} & { [K_9 in Exclude<keyof I_1, keyof Account>]: never; }>(object: I_1): Account;
|
|
3330
3330
|
};
|
|
3331
3331
|
export declare const AccountRefresh: {
|
|
@@ -8530,7 +8530,7 @@ export declare const UpdateAccountRequest: {
|
|
|
8530
8530
|
dob?: Date | undefined;
|
|
8531
8531
|
logo?: string | undefined;
|
|
8532
8532
|
splash_screen?: string | undefined;
|
|
8533
|
-
|
|
8533
|
+
encrypt_private_key?: string | undefined;
|
|
8534
8534
|
} & {
|
|
8535
8535
|
username?: string | undefined;
|
|
8536
8536
|
display_name?: string | undefined;
|
|
@@ -8542,7 +8542,7 @@ export declare const UpdateAccountRequest: {
|
|
|
8542
8542
|
dob?: Date | undefined;
|
|
8543
8543
|
logo?: string | undefined;
|
|
8544
8544
|
splash_screen?: string | undefined;
|
|
8545
|
-
|
|
8545
|
+
encrypt_private_key?: string | undefined;
|
|
8546
8546
|
} & { [K in Exclude<keyof I, keyof UpdateAccountRequest>]: never; }>(base?: I | undefined): UpdateAccountRequest;
|
|
8547
8547
|
fromPartial<I_1 extends {
|
|
8548
8548
|
username?: string | undefined;
|
|
@@ -8555,7 +8555,7 @@ export declare const UpdateAccountRequest: {
|
|
|
8555
8555
|
dob?: Date | undefined;
|
|
8556
8556
|
logo?: string | undefined;
|
|
8557
8557
|
splash_screen?: string | undefined;
|
|
8558
|
-
|
|
8558
|
+
encrypt_private_key?: string | undefined;
|
|
8559
8559
|
} & {
|
|
8560
8560
|
username?: string | undefined;
|
|
8561
8561
|
display_name?: string | undefined;
|
|
@@ -8567,7 +8567,7 @@ export declare const UpdateAccountRequest: {
|
|
|
8567
8567
|
dob?: Date | undefined;
|
|
8568
8568
|
logo?: string | undefined;
|
|
8569
8569
|
splash_screen?: string | undefined;
|
|
8570
|
-
|
|
8570
|
+
encrypt_private_key?: string | undefined;
|
|
8571
8571
|
} & { [K_1 in Exclude<keyof I_1, keyof UpdateAccountRequest>]: never; }>(object: I_1): UpdateAccountRequest;
|
|
8572
8572
|
};
|
|
8573
8573
|
export declare const UpdateGroupRequest: {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "mezon-js-protobuf",
|
|
3
|
-
"version": "1.6.
|
|
3
|
+
"version": "1.6.79",
|
|
4
4
|
"description": "Websocket adapter adding protocol buffer support to the Mezon Javascript client.",
|
|
5
5
|
"main": "dist/mezon-js-protobuf.cjs.js",
|
|
6
6
|
"module": "dist/mezon-js-protobuf.esm.mjs",
|