@turndown/library 0.0.28 → 0.0.30
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.
|
@@ -3,8 +3,22 @@ export interface User extends MetaData {
|
|
|
3
3
|
id: string;
|
|
4
4
|
firstName: string;
|
|
5
5
|
lastName?: string | null;
|
|
6
|
+
mi?: string | null;
|
|
7
|
+
username?: string | null;
|
|
6
8
|
email: string;
|
|
9
|
+
profilePhoto: string | null;
|
|
10
|
+
passwordHash?: string;
|
|
11
|
+
signinAttempts?: number;
|
|
12
|
+
locked?: boolean;
|
|
13
|
+
passwordLastReset?: string;
|
|
14
|
+
passwordResetRequired?: boolean;
|
|
15
|
+
lastSignin?: string | null;
|
|
7
16
|
accountType: AccountType;
|
|
17
|
+
status: AccountStatus;
|
|
18
|
+
phoneNumber?: string | null;
|
|
19
|
+
phoneFormat?: string | null;
|
|
20
|
+
preferredLanguage?: Language;
|
|
21
|
+
biometrics?: string | null;
|
|
8
22
|
}
|
|
9
23
|
export declare const ACCOUNT_TYPE: {
|
|
10
24
|
readonly TURNDOWN_ADMIN: "TURNDOWN_ADMIN";
|
|
@@ -15,6 +29,13 @@ export declare const ACCOUNT_TYPE: {
|
|
|
15
29
|
readonly GUEST: "GUEST";
|
|
16
30
|
};
|
|
17
31
|
export type AccountType = ObjectValues<typeof ACCOUNT_TYPE>;
|
|
32
|
+
export declare const ACCOUNT_STATUS: {
|
|
33
|
+
readonly ACTIVE: "ACTIVE";
|
|
34
|
+
readonly INACTIVE: "INACTIVE";
|
|
35
|
+
readonly SUSPENDED: "SUSPENDED";
|
|
36
|
+
readonly PENDING: "PENDING";
|
|
37
|
+
};
|
|
38
|
+
export type AccountStatus = ObjectValues<typeof ACCOUNT_STATUS>;
|
|
18
39
|
export declare const LANGUAGE: {
|
|
19
40
|
readonly ENGLISH: "ENGLISH";
|
|
20
41
|
readonly FRENCH: "FRENCH";
|
package/dist/types/user/index.js
CHANGED
|
@@ -6,6 +6,12 @@ export const ACCOUNT_TYPE = {
|
|
|
6
6
|
CLEANER: "CLEANER",
|
|
7
7
|
GUEST: "GUEST",
|
|
8
8
|
};
|
|
9
|
+
export const ACCOUNT_STATUS = {
|
|
10
|
+
ACTIVE: "ACTIVE",
|
|
11
|
+
INACTIVE: "INACTIVE",
|
|
12
|
+
SUSPENDED: "SUSPENDED",
|
|
13
|
+
PENDING: "PENDING",
|
|
14
|
+
};
|
|
9
15
|
export const LANGUAGE = {
|
|
10
16
|
ENGLISH: "ENGLISH",
|
|
11
17
|
FRENCH: "FRENCH",
|