nb-js-client 0.0.56 → 0.0.57
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.
|
@@ -68,5 +68,6 @@ export interface RequestUserListParams extends RequestBaseParams {
|
|
|
68
68
|
export interface UserPhone {
|
|
69
69
|
code_ttl: number;
|
|
70
70
|
masked_phone: string;
|
|
71
|
+
tfa_attempts: number;
|
|
71
72
|
}
|
|
72
73
|
export type CreateUserParams = Pick<User, 'first_name' | 'last_name' | 'middle_name' | 'email' | 'home_path' | 'password' | 'role_id'>;
|
package/dist/index.d.ts
CHANGED
|
@@ -345,6 +345,7 @@ interface User {
|
|
|
345
345
|
status: UserStatus;
|
|
346
346
|
type: UserType;
|
|
347
347
|
role_id: number | null;
|
|
348
|
+
phone?: string;
|
|
348
349
|
}
|
|
349
350
|
type UserLabel = Pick<User, 'login' | 'email' | 'first_name' | 'middle_name' | 'last_name' | 'avatar_path'>;
|
|
350
351
|
declare enum UserAuthType {
|
|
@@ -1118,6 +1119,7 @@ interface QueryInitResponse {
|
|
|
1118
1119
|
open_in_desktop_settings: {
|
|
1119
1120
|
open_in_desktop_enabled: boolean;
|
|
1120
1121
|
};
|
|
1122
|
+
two_factor_auth_enabled: boolean;
|
|
1121
1123
|
inject_scripts?: string[];
|
|
1122
1124
|
}
|
|
1123
1125
|
declare enum QueryInitViewType {
|
|
@@ -1347,6 +1349,7 @@ interface RequestUserListParams extends RequestBaseParams {
|
|
|
1347
1349
|
interface UserPhone {
|
|
1348
1350
|
code_ttl: number;
|
|
1349
1351
|
masked_phone: string;
|
|
1352
|
+
tfa_attempts: number;
|
|
1350
1353
|
}
|
|
1351
1354
|
type CreateUserParams = Pick<User, 'first_name' | 'last_name' | 'middle_name' | 'email' | 'home_path' | 'password' | 'role_id'>;
|
|
1352
1355
|
|
package/dist/types/user.d.ts
CHANGED
|
@@ -15,6 +15,7 @@ export interface User {
|
|
|
15
15
|
status: UserStatus;
|
|
16
16
|
type: UserType;
|
|
17
17
|
role_id: number | null;
|
|
18
|
+
phone?: string;
|
|
18
19
|
}
|
|
19
20
|
export type UserLabel = Pick<User, 'login' | 'email' | 'first_name' | 'middle_name' | 'last_name' | 'avatar_path'>;
|
|
20
21
|
export declare enum UserAuthType {
|