taxtank-core 2.1.34 → 2.1.35
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/fesm2022/taxtank-core.mjs +7 -6
- package/fesm2022/taxtank-core.mjs.map +1 -1
- package/index.d.ts +1 -1
- package/index.d.ts.map +1 -0
- package/package.json +1 -1
|
@@ -4,8 +4,8 @@ import * as i1$1 from '@angular/common';
|
|
|
4
4
|
import { formatDate, DatePipe, CurrencyPipe, CommonModule as CommonModule$1 } from '@angular/common';
|
|
5
5
|
import * as i1 from '@angular/common/http';
|
|
6
6
|
import { HttpClient, HttpErrorResponse, HTTP_INTERCEPTORS, HttpHeaders, HttpParams } from '@angular/common/http';
|
|
7
|
-
import { map, filter, catchError, finalize, switchMap, first as first$1, take, tap, mergeMap, startWith, debounceTime, distinctUntilChanged } from 'rxjs/operators';
|
|
8
|
-
import { ReplaySubject, Subject, Observable, shareReplay, of, forkJoin, throwError, BehaviorSubject, concatMap, combineLatest, from, merge as merge$1 } from 'rxjs';
|
|
7
|
+
import { map, filter, catchError, finalize, switchMap, first as first$1, take, tap as tap$1, mergeMap, startWith, debounceTime, distinctUntilChanged } from 'rxjs/operators';
|
|
8
|
+
import { ReplaySubject, Subject, Observable, shareReplay, of, forkJoin, throwError, BehaviorSubject, tap, concatMap, combineLatest, from, merge as merge$1 } from 'rxjs';
|
|
9
9
|
import { instanceToInstance, plainToClass, Type, Transform, Exclude, Expose, classToPlain } from 'class-transformer';
|
|
10
10
|
import get from 'lodash/get';
|
|
11
11
|
import 'reflect-metadata';
|
|
@@ -13653,7 +13653,7 @@ var BasiqMessagesEnum;
|
|
|
13653
13653
|
(function (BasiqMessagesEnum) {
|
|
13654
13654
|
BasiqMessagesEnum["REVOKE_CONFIRM_TITLE"] = "Are you sure you want to revoke consent for bank feeds?";
|
|
13655
13655
|
BasiqMessagesEnum["REVOKE_CONFIRM_MESSAGE"] = "Revoking consent will stop live feeds and delete all historic bank feed data in TaxTank. This will impede the functionality of both bank feeds and equity graphs. This cannot be undone.";
|
|
13656
|
-
BasiqMessagesEnum["REVOKE_SUCCESS"] = "
|
|
13656
|
+
BasiqMessagesEnum["REVOKE_SUCCESS"] = "Your bank consent has been revoked. You can reconnect at any time. Transaction data will be removed during the next overnight sync.";
|
|
13657
13657
|
})(BasiqMessagesEnum || (BasiqMessagesEnum = {}));
|
|
13658
13658
|
|
|
13659
13659
|
/**
|
|
@@ -14037,7 +14037,8 @@ class BasiqUserService extends RestService$1 {
|
|
|
14037
14037
|
static { this.basiqApiUrl = 'https://au-api.basiq.io'; }
|
|
14038
14038
|
static { this.basiqConsentUrl = 'https://consent.basiq.io/home'; }
|
|
14039
14039
|
revokeConsent() {
|
|
14040
|
-
return this.http.put(`${this.environment.apiV2}/basiq-users/consents/revoke`, {})
|
|
14040
|
+
return this.http.put(`${this.environment.apiV2}/basiq-users/consents/revoke`, {})
|
|
14041
|
+
.pipe(tap(() => this.refreshCache()));
|
|
14041
14042
|
}
|
|
14042
14043
|
post(basiqUser = new BasiqUser()) {
|
|
14043
14044
|
return super.post(basiqUser);
|
|
@@ -18759,7 +18760,7 @@ class HoldingTradeImportService extends RestService$1 {
|
|
|
18759
18760
|
formData.append('file', file);
|
|
18760
18761
|
formData.append('exchangeId', exchangeId.toString());
|
|
18761
18762
|
formData.append('isTaxFree', (isTaxFree ? 1 : 0).toString());
|
|
18762
|
-
return this.importFile(formData).pipe(tap(() => this.toastService.success(HoldingTradeImportMessagesEnum.CREATED)));
|
|
18763
|
+
return this.importFile(formData).pipe(tap$1(() => this.toastService.success(HoldingTradeImportMessagesEnum.CREATED)));
|
|
18763
18764
|
}
|
|
18764
18765
|
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.10", ngImport: i0, type: HoldingTradeImportService, deps: null, target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
18765
18766
|
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.3.10", ngImport: i0, type: HoldingTradeImportService, providedIn: 'root' }); }
|
|
@@ -22494,7 +22495,7 @@ const ENDPOINTS = {
|
|
|
22494
22495
|
BASIQ_TOKENS_GET: new Endpoint('GET', '\\/basiq-users\\/tokens'),
|
|
22495
22496
|
BASIQ_TOKEN_GET: new Endpoint('GET', '\\/basiq-users/\\d+\\/tokens'),
|
|
22496
22497
|
BASIQ_DELETE: new Endpoint('PUT', '\\/bank-connections/\\d+\\/remove-basiq'),
|
|
22497
|
-
BASIQ_CONSENT_REVOKE: new Endpoint('PUT', '\\/basiq-users
|
|
22498
|
+
BASIQ_CONSENT_REVOKE: new Endpoint('PUT', '\\/basiq-users\\/consents\\/revoke'),
|
|
22498
22499
|
BASIQ_USERS_GET: new Endpoint('GET', '\\/basiq-users'),
|
|
22499
22500
|
BASIQ_USERS_POST: new Endpoint('POST', '\\/basiq-users'),
|
|
22500
22501
|
BASIQ_USERS_PUT: new Endpoint('PUT', '\\/basiq-users\\/\\d+'),
|