taxtank-core 1.0.71 → 1.0.72
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/README.md +5 -5
- package/common/src/services/auth/auth.service.d.ts +2 -2
- package/fesm2022/taxtank-core-common.mjs +9 -10
- package/fesm2022/taxtank-core-common.mjs.map +1 -1
- package/fesm2022/taxtank-core.mjs +22 -0
- package/fesm2022/taxtank-core.mjs.map +1 -1
- package/package.json +1 -1
- package/src/lib/db/Models/user/user.d.ts +1 -0
- package/src/lib/services/http/user/user-messages.enum.d.ts +7 -1
- package/src/lib/services/http/user/user.service.d.ts +6 -0
package/package.json
CHANGED
@@ -2,5 +2,11 @@ export declare enum UserMessagesEnum {
|
|
2
2
|
PHOTO_UPDATED = "Profile photo updated",
|
3
3
|
USER_DATA_UPDATED = "Data was successfully updated!",
|
4
4
|
CLIENT_DETAILS_UPDATED = "Client details updated",
|
5
|
-
DELETE = "Closing your account will mean you won't be able to access this account again. It will also revoke consent for all banks and delete all transaction data. This can not be undone."
|
5
|
+
DELETE = "Closing your account will mean you won't be able to access this account again. It will also revoke consent for all banks and delete all transaction data. This can not be undone.",
|
6
|
+
PASSWORD_UPDATED = "Password changed successfully!",
|
7
|
+
PASSWORD_MISMATCH = "Your current password is wrong",
|
8
|
+
PASSWORD_ERROR = "Can not change password. Try again later",
|
9
|
+
MFA_CREATED = "2fa added successfully",
|
10
|
+
MFA_DELETED = "2fa deleted",
|
11
|
+
MFA_CONFIRM_DELETE = "Are you sure?"
|
6
12
|
}
|
@@ -33,6 +33,12 @@ export declare class UserService extends RestService<UserBase, User, Collection<
|
|
33
33
|
deactivate(user: User): Observable<User>;
|
34
34
|
updatePhoto(photo: FormData): Observable<void>;
|
35
35
|
createBasiq(): Observable<string>;
|
36
|
+
getGoogleMfa(): Observable<{
|
37
|
+
secret: string;
|
38
|
+
qr: string;
|
39
|
+
}>;
|
40
|
+
postGoogleMfa(secret: string, otp: string): Observable<void>;
|
41
|
+
deleteGoogleMfa(): Observable<void>;
|
36
42
|
skipSetupItem(item: AccountSetupItem): Observable<User>;
|
37
43
|
restoreSetupItem(item: AccountSetupItem): Observable<User>;
|
38
44
|
/**
|