taxtank-core 0.33.29 → 0.33.31
Sign up to get free protection for your applications and to get access to all the features.
- package/esm2022/src/lib/models/user/user.mjs +3 -2
- package/esm2022/src/lib/services/http/loan/index.mjs +2 -1
- package/esm2022/src/lib/services/http/loan/loan-messages.enum.mjs +8 -0
- package/esm2022/src/lib/services/http/loan/loan.service.mjs +5 -2
- package/esm2022/src/lib/services/http/rest/rest.service.mjs +3 -3
- package/esm2022/src/lib/services/http/user/user-messages.enum.mjs +2 -1
- package/esm2022/src/lib/services/http/user/user.service.mjs +8 -1
- package/fesm2022/taxtank-core.mjs +25 -5
- package/fesm2022/taxtank-core.mjs.map +1 -1
- package/package.json +1 -1
- package/src/lib/services/http/loan/index.d.ts +1 -0
- package/src/lib/services/http/loan/loan-messages.enum.d.ts +6 -0
- package/src/lib/services/http/loan/loan.service.d.ts +1 -0
- package/src/lib/services/http/rest/rest.service.d.ts +1 -1
- package/src/lib/services/http/user/user-messages.enum.d.ts +2 -1
- package/src/lib/services/http/user/user.service.d.ts +1 -0
package/package.json
CHANGED
@@ -42,6 +42,7 @@ export declare class LoanService extends RestService<LoanBase, Loan, LoanCollect
|
|
42
42
|
* @TODO Alex: move to separated service
|
43
43
|
*/
|
44
44
|
updatePayoutLoan(loan: Loan, paidOutLoan: LoanPayout): Observable<any>;
|
45
|
+
delete(loan: Loan): Observable<void>;
|
45
46
|
static ɵfac: i0.ɵɵFactoryDeclaration<LoanService, never>;
|
46
47
|
static ɵprov: i0.ɵɵInjectableDeclaration<LoanService>;
|
47
48
|
}
|
@@ -83,7 +83,7 @@ export declare abstract class RestService<BaseModel, Model extends AbstractModel
|
|
83
83
|
/**
|
84
84
|
* Remove a Model instance from database
|
85
85
|
*/
|
86
|
-
delete(model: Model): Observable<void>;
|
86
|
+
delete(model: Model, path?: string): Observable<void>;
|
87
87
|
/**
|
88
88
|
* Remove multiple Model instances from database
|
89
89
|
*/
|
@@ -1,5 +1,6 @@
|
|
1
1
|
export declare enum UserMessagesEnum {
|
2
2
|
PHOTO_UPDATED = "Profile photo updated",
|
3
3
|
USER_DATA_UPDATED = "Data was successfully updated!",
|
4
|
-
CLIENT_DETAILS_UPDATED = "Client details updated"
|
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
6
|
}
|
@@ -31,6 +31,7 @@ export declare class UserService extends RestService<UserBase, User, Collection<
|
|
31
31
|
*/
|
32
32
|
search(email: string): Observable<User>;
|
33
33
|
finishOnboarding(user: User): Observable<User>;
|
34
|
+
deactivate(user: User): Observable<User>;
|
34
35
|
updatePhoto(photo: FormData): Observable<void>;
|
35
36
|
createBasiq(): Observable<string>;
|
36
37
|
skipSetupItem(item: AccountSetupItem): Observable<User>;
|