taxtank-core 2.0.107 → 2.0.109

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,9 +3,9 @@ import { Inject, Injectable, inject, NgModule, EventEmitter, InjectionToken, Pip
3
3
  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
- import { HttpClient, HttpErrorResponse, HTTP_INTERCEPTORS, HttpParams } from '@angular/common/http';
6
+ import { HttpClient, HttpErrorResponse, HttpHeaders, HTTP_INTERCEPTORS, HttpParams } from '@angular/common/http';
7
7
  import { map, filter, catchError, finalize, switchMap, first as first$1, take, mergeMap, startWith, debounceTime, distinctUntilChanged } from 'rxjs/operators';
8
- import { ReplaySubject, Subject, Observable, shareReplay, of, forkJoin, throwError, BehaviorSubject, combineLatest, from, merge as merge$1 } from 'rxjs';
8
+ import { ReplaySubject, Subject, Observable, shareReplay, of, forkJoin, throwError, concatMap, BehaviorSubject, combineLatest, from, merge as merge$1 } from 'rxjs';
9
9
  import { plainToClass, Type, Transform, Exclude, Expose, classToPlain } from 'class-transformer';
10
10
  import get from 'lodash/get';
11
11
  import 'reflect-metadata';
@@ -754,6 +754,31 @@ class BasiqToken extends AbstractModel {
754
754
  }
755
755
  }
756
756
 
757
+ class BasiqUser extends AbstractModel {
758
+ constructor() {
759
+ super(...arguments);
760
+ this.name = 'Profile1';
761
+ }
762
+ /**
763
+ * reminder to sign basiq consent after x days before the expiration
764
+ */
765
+ static { this.consentExpiryReminderDays = 30; }
766
+ isBasiqConsentExpiring() {
767
+ if (!this.consentExpiryDate || this.isBasiqConsentExpired()) {
768
+ return false;
769
+ }
770
+ const reminderDate = new Date(this.consentExpiryDate);
771
+ reminderDate.setDate(this.consentExpiryDate.getDate() - BasiqUser.consentExpiryReminderDays);
772
+ return new Date() >= reminderDate;
773
+ }
774
+ isBasiqConsentExpired() {
775
+ return this.consentExpiryDate && new Date() >= this.consentExpiryDate;
776
+ }
777
+ }
778
+ __decorate([
779
+ Type(() => Date)
780
+ ], BasiqUser.prototype, "consentExpiryDate", void 0);
781
+
757
782
  var TransactionOperationEnum;
758
783
  (function (TransactionOperationEnum) {
759
784
  TransactionOperationEnum[TransactionOperationEnum["ALLOCATE"] = 1] = "ALLOCATE";
@@ -4447,31 +4472,13 @@ var UserStatusEnum;
4447
4472
  })(UserStatusEnum || (UserStatusEnum = {}));
4448
4473
 
4449
4474
  class ClientDetails extends ClientDetails$1 {
4450
- /**
4451
- * reminder to sign basiq consent after x days before the expiration
4452
- */
4453
- static { this.consentExpiryReminderDays = 30; }
4454
4475
  get taxFileNumberMasked() {
4455
4476
  const maskedLength = this.taxFileNumber.length - 4;
4456
4477
  const maskedPart = '*'.repeat(maskedLength);
4457
4478
  const lastFour = this.taxFileNumber.slice(-4);
4458
4479
  return maskedPart + lastFour;
4459
4480
  }
4460
- isBasiqConsentExpiring() {
4461
- if (!this.basiqConsentExpiryDate || this.isBasiqConsentExpired()) {
4462
- return false;
4463
- }
4464
- const reminderDate = new Date(this.basiqConsentExpiryDate);
4465
- reminderDate.setDate(this.basiqConsentExpiryDate.getDate() - ClientDetails.consentExpiryReminderDays);
4466
- return new Date() >= reminderDate;
4467
- }
4468
- isBasiqConsentExpired() {
4469
- return this.basiqConsentExpiryDate && new Date() >= this.basiqConsentExpiryDate;
4470
- }
4471
4481
  }
4472
- __decorate([
4473
- Type(() => Date)
4474
- ], ClientDetails.prototype, "basiqConsentExpiryDate", void 0);
4475
4482
 
4476
4483
  class AnnualClientDetails extends AbstractModel {
4477
4484
  constructor() {
@@ -9842,6 +9849,12 @@ class BankTransactionCollection extends Collection {
9842
9849
  }
9843
9850
  }
9844
9851
 
9852
+ class BankConnectionCollection extends Collection {
9853
+ getBanks() {
9854
+ return new Collection(this.mapBy('bank'));
9855
+ }
9856
+ }
9857
+
9845
9858
  class ChartAccountsCollection extends Collection {
9846
9859
  constructor(items = []) {
9847
9860
  super(items);
@@ -12570,6 +12583,9 @@ let RestService$1 = class RestService extends DataService {
12570
12583
  }
12571
12584
  return this.getCacheSubjectObservable();
12572
12585
  }
12586
+ findBy(path, values) {
12587
+ return this.get().pipe(map((projects) => projects.findBy(path, values)));
12588
+ }
12573
12589
  getBy(path, values) {
12574
12590
  return this.get().pipe(map((projects) => projects.filterBy(path, values)));
12575
12591
  }
@@ -13014,7 +13030,7 @@ class BankConnectionService extends RestService$1 {
13014
13030
  super(environment);
13015
13031
  this.environment = environment;
13016
13032
  this.modelClass = BankConnection;
13017
- this.collectionClass = Collection;
13033
+ this.collectionClass = BankConnectionCollection;
13018
13034
  this.endpointUri = 'bank-connections';
13019
13035
  this.disabledMethods = ['postBatch', 'putBatch', 'delete', 'deleteBatch'];
13020
13036
  this.listenEvents();
@@ -13162,11 +13178,12 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.10", ngImpo
13162
13178
  class BasiqTokenService extends RestService$1 {
13163
13179
  constructor() {
13164
13180
  super(...arguments);
13165
- this.endpointUri = 'basiq/tokens';
13181
+ this.endpointUri = 'basiq-users/tokens';
13166
13182
  this.modelClass = BasiqToken;
13167
13183
  this.collectionClass = Collection;
13168
13184
  this.disabledMethods = ['post', 'postBatch', 'put', 'putBatch', 'delete', 'deleteBatch'];
13169
13185
  }
13186
+ static { this.basiqConsentUrl = 'https://consent.basiq.io/home'; }
13170
13187
  /**
13171
13188
  * Access token to use basiq flow
13172
13189
  */
@@ -13176,6 +13193,10 @@ class BasiqTokenService extends RestService$1 {
13176
13193
  }
13177
13194
  return super.get();
13178
13195
  }
13196
+ getOne(basiqUserId) {
13197
+ const now = new Date().getTime();
13198
+ return this.http.get(`${this.environment.apiV2}/basiq-users/${basiqUserId}/tokens`).pipe(map(tokenResponse => new BasiqToken(tokenResponse['access_token'], new Date(now + tokenResponse['expires_in'] * 1000))));
13199
+ }
13179
13200
  createModelInstance(tokenResponse) {
13180
13201
  const now = new Date().getTime();
13181
13202
  return new BasiqToken(tokenResponse['access_token'], new Date(now + tokenResponse['expires_in'] * 1000));
@@ -13196,25 +13217,14 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.10", ngImpo
13196
13217
  * service is responsible for fetching bank related information
13197
13218
  */
13198
13219
  class BasiqService extends RestService$1 {
13199
- static { this.basiqApiUrl = 'https://au-api.basiq.io'; }
13200
- static { this.basiqConsentUrl = 'https://consent.basiq.io/home'; }
13201
- /**
13202
- * Basiq does not provide a hook, so we have to check job status manually every x seconds
13203
- */
13204
- static { this.retrieveAccountsCheckInterval = 3000; }
13205
- /**
13206
- * How long we will wait accounts retrieving, break after timeout if not retireved
13207
- */
13208
- static { this.retrieveAccountsTimeout = 20000; }
13209
- constructor(http, eventDispatcherService, environment,
13210
- // this inject required to init bank connection service and listen basiq login event
13211
- bankConnectionService) {
13220
+ constructor(environment) {
13212
13221
  super(environment);
13213
- this.http = http;
13214
- this.eventDispatcherService = eventDispatcherService;
13215
13222
  this.environment = environment;
13216
- this.bankConnectionService = bankConnectionService;
13217
13223
  this.endpointUri = 'basiq/accounts';
13224
+ this.http = inject(HttpClient);
13225
+ this.eventDispatcherService = inject(EventDispatcherService);
13226
+ // required to init bank connection service and listen basiq login event
13227
+ this.bankConnectionService = inject(BankConnectionService);
13218
13228
  this.collectionClass = BankAccountCollection;
13219
13229
  this.modelClass = BankAccount;
13220
13230
  this.disabledMethods = ['post', 'postBatch', 'put', 'putBatch', 'delete', 'deleteBatch'];
@@ -13237,84 +13247,6 @@ class BasiqService extends RestService$1 {
13237
13247
  // this.redirectToBasiqConsent(token.value, connection.bank.externalId, true);
13238
13248
  ));
13239
13249
  }
13240
- revokeConsent() {
13241
- return this.http.delete(`${this.environment.apiV2}/basiq/consent`);
13242
- }
13243
- /**
13244
- * Open basiq consent ui to allow user to log in to bank
13245
- * @param token User's basiq token
13246
- * @param bankId External id of selected bank
13247
- * @param consentExist
13248
- */
13249
- redirectToBasiqConsent(token, bankId, consentExist = false) {
13250
- // keep bank id because we need it after redirect from basiq
13251
- localStorage.setItem('basiqBankId', bankId);
13252
- window.location.replace(`${BasiqService.basiqConsentUrl}?token=${token}&institutionId=${bankId}${consentExist ? '&action=connect' : ''}`);
13253
- }
13254
- /**
13255
- * redirect to basiq extend consent date to prolong it
13256
- */
13257
- extendConsent(token) {
13258
- window.location.replace(`${BasiqService.basiqConsentUrl}?token=${token}&action=extend`);
13259
- }
13260
- /**
13261
- * redirect to basiq extend connection date to prolong it
13262
- */
13263
- reauthoriseConnection(token, connection) {
13264
- let url = `${BasiqService.basiqConsentUrl}?token=${token}&action=reauthorise`;
13265
- if (connection.isExpiring()) {
13266
- url += `&connectionId=${connection.externalId}`;
13267
- }
13268
- window.location.replace(url);
13269
- }
13270
- /**
13271
- * Open basiq consent ui to allow user to manage basiq access to his bank data
13272
- * @param token User's basiq token
13273
- */
13274
- redirectToBasiqRevoke(token) {
13275
- window.location.replace(`${BasiqService.basiqConsentUrl}?token=${token}&action=manage`);
13276
- }
13277
- /**
13278
- * Get Basiq job result
13279
- */
13280
- retrieveJob(jobId) {
13281
- return this.http.get(`${BasiqService.basiqApiUrl}/jobs/${jobId}`)
13282
- .pipe(map((response) => plainToClass(BasiqJobResponse, response)));
13283
- }
13284
- /**
13285
- * @TODO not used, remove?
13286
- * Recoursive method, watch basiq job retrieve accounts status
13287
- * @param jobId id of basiq job to check
13288
- * @returns observable boolean. True - accounts retrieved, false - accounts not retrieved (time is out)
13289
- */
13290
- watchBankAccountsRetrieved(jobId) {
13291
- // init timeout for the first iteration of recoursion
13292
- if (!this.retrieveAccountsTimer) {
13293
- this.isRetrieveAccountsTimeOut = false;
13294
- this.retrieveAccountsTimer = setTimeout(() => {
13295
- this.isRetrieveAccountsTimeOut = true;
13296
- }, BasiqService.retrieveAccountsTimeout);
13297
- }
13298
- return this.retrieveJob(jobId)
13299
- .pipe(
13300
- // continue when time is out or when accounts retireved successfully
13301
- filter((response) => {
13302
- // stop watcher when accounts retrieved successfully or time is out
13303
- if (this.isRetrieveAccountsTimeOut || response.getRetrieveAccountsStep().isSuccess()) {
13304
- clearTimeout(this.retrieveAccountsTimer);
13305
- return true;
13306
- }
13307
- // continue watch retrieve accounts status
13308
- setTimeout(() => {
13309
- this.watchBankAccountsRetrieved(jobId);
13310
- }, BasiqService.retrieveAccountsCheckInterval);
13311
- return false;
13312
- }), map((response) => {
13313
- // no need to keep bank id anymore
13314
- localStorage.removeItem('basiqBankId');
13315
- return response.getRetrieveAccountsStep().isSuccess();
13316
- }));
13317
- }
13318
13250
  /**
13319
13251
  * listen to notifications to update basiq accounts list
13320
13252
  */
@@ -13325,7 +13257,7 @@ class BasiqService extends RestService$1 {
13325
13257
  }
13326
13258
  });
13327
13259
  }
13328
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.10", ngImport: i0, type: BasiqService, deps: [{ token: i1.HttpClient }, { token: EventDispatcherService }, { token: 'environment' }, { token: BankConnectionService }], target: i0.ɵɵFactoryTarget.Injectable }); }
13260
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.10", ngImport: i0, type: BasiqService, deps: [{ token: 'environment' }], target: i0.ɵɵFactoryTarget.Injectable }); }
13329
13261
  static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.3.10", ngImport: i0, type: BasiqService, providedIn: 'root' }); }
13330
13262
  }
13331
13263
  i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.10", ngImport: i0, type: BasiqService, decorators: [{
@@ -13333,10 +13265,10 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.10", ngImpo
13333
13265
  args: [{
13334
13266
  providedIn: 'root'
13335
13267
  }]
13336
- }], ctorParameters: () => [{ type: i1.HttpClient }, { type: EventDispatcherService }, { type: undefined, decorators: [{
13268
+ }], ctorParameters: () => [{ type: undefined, decorators: [{
13337
13269
  type: Inject,
13338
13270
  args: ['environment']
13339
- }] }, { type: BankConnectionService }] });
13271
+ }] }] });
13340
13272
 
13341
13273
  var BasiqMessagesEnum;
13342
13274
  (function (BasiqMessagesEnum) {
@@ -13345,6 +13277,87 @@ var BasiqMessagesEnum;
13345
13277
  BasiqMessagesEnum["REVOKE_SUCCESS"] = "Consent to bank feeds has been revoked.";
13346
13278
  })(BasiqMessagesEnum || (BasiqMessagesEnum = {}));
13347
13279
 
13280
+ class BasiqUserService extends RestService$1 {
13281
+ constructor() {
13282
+ super(...arguments);
13283
+ this.endpointUri = 'basiq-users';
13284
+ this.modelClass = BasiqUser;
13285
+ this.collectionClass = Collection;
13286
+ this.disabledMethods = ['postBatch', 'put', 'putBatch', 'delete', 'deleteBatch'];
13287
+ this.basiqTokenService = inject(BasiqTokenService);
13288
+ }
13289
+ static { this.basiqApiUrl = 'https://au-api.basiq.io'; }
13290
+ static { this.basiqConsentUrl = 'https://consent.basiq.io/home'; }
13291
+ revokeConsent() {
13292
+ return this.http.put(`${this.environment.apiV2}/basiq-users/consents/revoke`, {});
13293
+ }
13294
+ post(basiqUser = new BasiqUser()) {
13295
+ return super.post(basiqUser);
13296
+ }
13297
+ getWithToken(basiqUserId) {
13298
+ return this.findBy('id', basiqUserId).pipe(concatMap(user => this.basiqTokenService.getOne(user.id).pipe(map(token => ({ user, token: token.value })))));
13299
+ }
13300
+ retrieveJob(jobId, basiqUserId) {
13301
+ return this.basiqTokenService.getOne(basiqUserId).pipe(concatMap(token => {
13302
+ const headers = new HttpHeaders({ Authorization: 'Bearer ' + token.value });
13303
+ return this.http.get(`${BasiqUserService.basiqApiUrl}/jobs/${jobId}`, { headers })
13304
+ .pipe(map((response) => plainToClass(BasiqJobResponse, response)));
13305
+ }));
13306
+ }
13307
+ /**
13308
+ * Open basiq consent ui to allow user to log in to bank
13309
+ */
13310
+ redirectToBasiqConsent(bankId, basiqUserId) {
13311
+ const user$ = basiqUserId ? this.findBy('id', basiqUserId) : this.post();
13312
+ return user$.pipe(filter(user => !!user), concatMap(user => this.basiqTokenService.getOne(user.id).pipe(map(token => ({ user, token: token.value })))), map(({ user, token }) => {
13313
+ const url = new URL(BasiqUserService.basiqConsentUrl);
13314
+ url.searchParams.set('token', token);
13315
+ url.searchParams.set('institutionId', bankId);
13316
+ url.searchParams.set('state', user.id);
13317
+ if (user.consentId) {
13318
+ url.searchParams.set('action', 'connect');
13319
+ }
13320
+ window.location.replace(url.toString());
13321
+ }));
13322
+ }
13323
+ /**
13324
+ * Open basiq consent ui to allow user to manage basiq access to his bank data
13325
+ */
13326
+ redirectToBasiqRevoke(basiqUserId) {
13327
+ return this.basiqTokenService.getOne(basiqUserId).pipe(map(token => {
13328
+ window.location.replace(`${BasiqUserService.basiqConsentUrl}?token=${token.value}&action=manage`);
13329
+ }));
13330
+ }
13331
+ /**
13332
+ * redirect to basiq extend consent date to prolong it
13333
+ */
13334
+ extendConsent(basiqUserId) {
13335
+ return this.basiqTokenService.getOne(basiqUserId).pipe(map(token => {
13336
+ window.location.replace(`${BasiqUserService.basiqConsentUrl}?token=${token}&action=extend`);
13337
+ }));
13338
+ }
13339
+ /**
13340
+ * redirect to basiq extend connection date to prolong it
13341
+ */
13342
+ reauthoriseConnection(connection) {
13343
+ return this.basiqTokenService.getOne(connection.basiqUser.id).pipe(map(token => {
13344
+ let url = `${BasiqUserService.basiqConsentUrl}?token=${token}&action=reauthorise`;
13345
+ if (connection.isExpiring()) {
13346
+ url += `&connectionId=${connection.externalId}`;
13347
+ }
13348
+ window.location.replace(url);
13349
+ }));
13350
+ }
13351
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.10", ngImport: i0, type: BasiqUserService, deps: null, target: i0.ɵɵFactoryTarget.Injectable }); }
13352
+ static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.3.10", ngImport: i0, type: BasiqUserService, providedIn: 'root' }); }
13353
+ }
13354
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.10", ngImport: i0, type: BasiqUserService, decorators: [{
13355
+ type: Injectable,
13356
+ args: [{
13357
+ providedIn: 'root'
13358
+ }]
13359
+ }] });
13360
+
13348
13361
  /**
13349
13362
  * Service that handling banks logic
13350
13363
  */
@@ -18048,13 +18061,6 @@ class UserService extends RestService$1 {
18048
18061
  this.setCache([Object.assign(this.getCacheFirst(), { photo: photoUrl })], true);
18049
18062
  }));
18050
18063
  }
18051
- createBasiq() {
18052
- return this.http.post(`${this.environment.apiV2}/basiq/user`, {})
18053
- .pipe(map((basiqId) => {
18054
- this.setCache([Object.assign(this.getCacheFirst(), { basiqId })], true);
18055
- return basiqId;
18056
- }));
18057
- }
18058
18064
  skipSetupItem(item) {
18059
18065
  const user = clone(this.getCacheFirst());
18060
18066
  user.blacklistSetupItems.push(item);
@@ -22021,9 +22027,13 @@ const ENDPOINTS = {
22021
22027
  BANK_TRANSACTION_COMMENT_PUT: new Endpoint('PUT', '\\/bank-transaction-comments\\/\\d+'),
22022
22028
  BANK_TRANSACTION_COMMENT_DELETE: new Endpoint('DELETE', '\\/bank-transaction-comments\\/\\d+'),
22023
22029
  BASIQ_ACCOUNTS_GET: new Endpoint('GET', '\\/basiq\\/accounts'),
22024
- BASIQ_TOKEN_GET: new Endpoint('GET', '\\/basiq\\/tokens'),
22030
+ BASIQ_TOKENS_GET: new Endpoint('GET', '\\/basiq-users\\/tokens'),
22031
+ BASIQ_TOKEN_GET: new Endpoint('GET', '\\/basiq-users/\\d+\\/tokens'),
22025
22032
  BASIQ_DELETE: new Endpoint('PUT', '\\/bank-connections/\\d+\\/remove-basiq'),
22026
- BASIQ_USER_POST: new Endpoint('POST', '\\/basiq\\/user'),
22033
+ BASIQ_USERS_GET: new Endpoint('GET', '\\/basiq-users'),
22034
+ BASIQ_USERS_POST: new Endpoint('POST', '\\/basiq-users'),
22035
+ BASIQ_USERS_PUT: new Endpoint('PUT', '\\/basiq-users\\/\\d+'),
22036
+ BASIQ_USERS_DELETE: new Endpoint('DELETE', '\\/basiq-users\\/\\d+'),
22027
22037
  BUDGETS_GET: new Endpoint('GET', '\\/budgets'),
22028
22038
  BUDGETS_POST: new Endpoint('POST', '\\/budgets'),
22029
22039
  BUDGETS_PUT: new Endpoint('PUT', '\\/budgets\\/\\d+'),
@@ -22325,60 +22335,6 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.10", ngImpo
22325
22335
  type: Injectable
22326
22336
  }], ctorParameters: () => [{ type: PreloaderService }] });
22327
22337
 
22328
- /**
22329
- * Interceptor which adds user's basiq token to any http request to basiq api
22330
- */
22331
- class BasiqTokenInterceptor {
22332
- constructor(basiqTokenService) {
22333
- this.basiqTokenService = basiqTokenService;
22334
- }
22335
- intercept(request, next) {
22336
- // skip non-basiq requests
22337
- if (!request.url.includes(BasiqService.basiqApiUrl)) {
22338
- return next.handle(request);
22339
- }
22340
- return this.basiqTokenService.getFirst().pipe(mergeMap((token) => next.handle(this.addToken(request, token))));
22341
- }
22342
- addToken(request, token) {
22343
- return request.clone({
22344
- setHeaders: {
22345
- Authorization: 'Bearer ' + token.value
22346
- }
22347
- });
22348
- }
22349
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.10", ngImport: i0, type: BasiqTokenInterceptor, deps: [{ token: BasiqTokenService }], target: i0.ɵɵFactoryTarget.Injectable }); }
22350
- static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.3.10", ngImport: i0, type: BasiqTokenInterceptor }); }
22351
- }
22352
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.10", ngImport: i0, type: BasiqTokenInterceptor, decorators: [{
22353
- type: Injectable
22354
- }], ctorParameters: () => [{ type: BasiqTokenService }] });
22355
-
22356
- /**
22357
- * Interceptor which check if client's basiq id exist and request it if not
22358
- */
22359
- class BasiqClientIdInterceptor {
22360
- constructor(userService) {
22361
- this.userService = userService;
22362
- }
22363
- intercept(request, next) {
22364
- // Check if 'client id' URL segment contains null instead of id
22365
- if (!request.url.startsWith(`${BasiqService.basiqApiUrl}/users/null`)) {
22366
- return next.handle(request);
22367
- }
22368
- return this.userService.createBasiq().pipe(mergeMap((basiqClientId) => next.handle(this.addId(request, basiqClientId))));
22369
- }
22370
- addId(request, basiqClientId) {
22371
- return request.clone({
22372
- url: request.url.replace('null', basiqClientId)
22373
- });
22374
- }
22375
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.10", ngImport: i0, type: BasiqClientIdInterceptor, deps: [{ token: UserService }], target: i0.ɵɵFactoryTarget.Injectable }); }
22376
- static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.3.10", ngImport: i0, type: BasiqClientIdInterceptor }); }
22377
- }
22378
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.10", ngImport: i0, type: BasiqClientIdInterceptor, decorators: [{
22379
- type: Injectable
22380
- }], ctorParameters: () => [{ type: UserService }] });
22381
-
22382
22338
  /**
22383
22339
  * add rewardful params to registration endpoints
22384
22340
  * https://developers.rewardful.com/javascript-api/overview#preloading-a-referral-id
@@ -22453,13 +22409,13 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.10", ngImpo
22453
22409
  }] }] });
22454
22410
 
22455
22411
  const ADBLOCK_ERROR_HTML = new InjectionToken('ADBLOCK_ERROR_HTML');
22456
- const ADBLOCK_ERROR_HTML_VALUE = `
22457
- <div class="text-center">
22458
- <strong>Action needed - Your adblocker is blocking CoreLogic</strong>
22459
- To add a property in TaxTank we need to fetch data from CoreLogic — but your ad blocker is getting in the way.
22460
- Please disable your adblocker or whitelist TaxTank to continue.
22461
- <a class="btn" target="_blank" href="https://support.taxtank.com.au/en/articles/10505609-how-to-ensure-seamless-functionality-while-using-ad-blockers-with-taxtank">Learn more</a>
22462
- </div>
22412
+ const ADBLOCK_ERROR_HTML_VALUE = `
22413
+ <div class="text-center">
22414
+ <strong>Action needed - Your adblocker is blocking CoreLogic</strong>
22415
+ To add a property in TaxTank we need to fetch data from CoreLogic — but your ad blocker is getting in the way.
22416
+ Please disable your adblocker or whitelist TaxTank to continue.
22417
+ <a class="btn" target="_blank" href="https://support.taxtank.com.au/en/articles/10505609-how-to-ensure-seamless-functionality-while-using-ad-blockers-with-taxtank">Learn more</a>
22418
+ </div>
22463
22419
  `;
22464
22420
 
22465
22421
  /**
@@ -22532,16 +22488,6 @@ class InterceptorsModule {
22532
22488
  useClass: PreloaderInterceptor,
22533
22489
  multi: true
22534
22490
  },
22535
- {
22536
- provide: HTTP_INTERCEPTORS,
22537
- useClass: BasiqTokenInterceptor,
22538
- multi: true
22539
- },
22540
- {
22541
- provide: HTTP_INTERCEPTORS,
22542
- useClass: BasiqClientIdInterceptor,
22543
- multi: true
22544
- },
22545
22491
  {
22546
22492
  provide: HTTP_INTERCEPTORS,
22547
22493
  useClass: AdBlockErrorInterceptor,
@@ -22588,16 +22534,6 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.10", ngImpo
22588
22534
  useClass: PreloaderInterceptor,
22589
22535
  multi: true
22590
22536
  },
22591
- {
22592
- provide: HTTP_INTERCEPTORS,
22593
- useClass: BasiqTokenInterceptor,
22594
- multi: true
22595
- },
22596
- {
22597
- provide: HTTP_INTERCEPTORS,
22598
- useClass: BasiqClientIdInterceptor,
22599
- multi: true
22600
- },
22601
22537
  {
22602
22538
  provide: HTTP_INTERCEPTORS,
22603
22539
  useClass: AdBlockErrorInterceptor,
@@ -27616,5 +27552,5 @@ var MessagesEnum;
27616
27552
  * Generated bundle index. Do not edit.
27617
27553
  */
27618
27554
 
27619
- export { ADBLOCK_ERROR_HTML, ADBLOCK_ERROR_HTML_VALUE, AbstractForm, AbstractModel, AccountSetupItem, AccountSetupItemCollection, AccountSetupItemStatusEnum, AccountSetupItemsEnum, AccountSetupService, AdblockDetectorService, Address, AddressForm, AddressService, AddressTypeEnum, AllocationGroup, AllocationGroupCollection, AllocationRule, AllocationRuleCollection, AllocationRuleConditionComparisonOperatorEnum, AllocationRuleConditionFieldEnum, AllocationRuleConditionOperatorEnum, AllocationRuleForm, AllocationRuleService, AllocationRuleTransaction, AllocationRuleTransactionMetaField, AllocationRuleTypeEnum, AlphabetColorsEnum, AnnualClientDetails, AnnualClientDetailsForm, AnnualClientDetailsService, AnnualFrequencyEnum, AppCurrencyPipe, AppEvent, AppEvent2, AppEventTypeEnum, AppFile, AppPercentPipe, AssetEntityTypeEnum, AssetSale, AssetSaleCollection, AssetTypeEnum, AssetsService, AussieAppointment, AussieAppointmentForm, AussieBroker, AussieConfirmationForm, AussieService, AussieStore, AussieStoreForm, Badge, BadgeColorEnum, Bank, BankAccount, BankAccountAddManualForm, BankAccountAllocationForm, BankAccountCalculationService, BankAccountChartData, BankAccountCollection, BankAccountImportForm, BankAccountPropertiesForm, BankAccountProperty, BankAccountService, BankAccountStatusEnum, BankAccountTypeEnum, BankAccountsImportForm, BankConnection, BankConnectionMessagesEnum, BankConnectionService, BankConnectionStatusEnum, BankExternalStats, BankPopularEnum, BankProviderEnum, BankService, BankTransaction, BankTransactionChartData, BankTransactionCollection, BankTransactionComment, BankTransactionCommentForm, BankTransactionCommentMessagesEnum, BankTransactionCommentService, BankTransactionService, BankTransactionSummaryFieldsEnum, BankTransactionTypeEnum, BasReport, BasReportForm, BasReportMessagesEnum, BasReportService, BasiqConfig, BasiqJob, BasiqJobResponse, BasiqJobStep, BasiqMessagesEnum, BasiqService, BasiqToken, BasiqTokenService, BestVehicleLogbookCollection, BorrowingExpense, BorrowingExpenseLoan, BorrowingExpenseService, BorrowingReport, BorrowingReportForm, BorrowingReportMessagesEnum, BorrowingReportService, Budget, BudgetCollection, BudgetForm, BudgetMessagesEnum, BudgetMetadataInterface, BudgetRule, BudgetRuleCollection, BudgetRuleForm, BudgetRuleItem, BudgetRuleItemCollection, BudgetRuleService, BudgetService, BudgetTypeEnum, BusinessChartAccountsEnum, BusinessResolver, BusinessTypeEnum, CAPITAL_COSTS_ITEMS, CHART_ACCOUNTS_CATEGORIES, CalculationFormItem, CalculationFormTypeEnum, CalendarEvent, CalendarEventCollection, CalendarEventTypeEnum, CapitalLoss, CapitalLossForm, CapitalLossMessagesEnum, CapitalLossService, CgtExemptionAndRolloverCodeEnum, ChartAccounts, ChartAccountsAdjustmentIncludedListEnum, ChartAccountsCategoryECollection, ChartAccountsCategoryEnum, ChartAccountsCollection, ChartAccountsDepreciation, ChartAccountsDepreciationService, ChartAccountsEtpEnum, ChartAccountsForm, ChartAccountsHeading, ChartAccountsHeadingListEnum, ChartAccountsHeadingTaxDeductibleEnum, ChartAccountsHeadingTaxableEnum, ChartAccountsHeadingVehicleListEnum, ChartAccountsHoldingUntaxedIncomeListEnum, ChartAccountsKeepSign, ChartAccountsListEnum, ChartAccountsMessagesEnum, ChartAccountsMetaField, ChartAccountsMetaFieldListEnum, ChartAccountsMetaFieldTypeEnum, ChartAccountsPropertyAdjustmentsListEnum, ChartAccountsSalaryAdjustmentsListEnum, ChartAccountsService, ChartAccountsTaxLabelsEnum, ChartAccountsTypeEnum, ChartAccountsValue, ChartAccountsValueCollection, ChartAccountsValueService, ChartData, ChartSerie, Chat, ChatCollection, ChatFilterForm, ChatService, ChatStatusEnum, ChatViewTypeEnum, ClientCollection, ClientCouponService, ClientDetails, ClientDetailsForm, ClientDetailsMedicareExemptionEnum, ClientDetailsWorkDepreciationCalculationEnum, ClientDetailsWorkingHolidayMakerEnum, ClientInvite, ClientInviteCollection, ClientInviteForm, ClientInviteMessages, ClientInvitePutForm, ClientInviteService, ClientInviteStatusEnum, ClientInviteTypeEnum, ClientMovement, ClientMovementCollection, ClientMovementForm, ClientMovementMessagesEnum, ClientMovementService, ClientPortfolioChartData, ClientPortfolioReport, ClientPortfolioReportCollection, ClientPortfolioReportService, Collection, CollectionDictionary, CollectionForm, CoreModule, CorelogicMessagesEnum, CorelogicService, CorelogicSuggestion, Country, CurrentFirmBranchService, DEDUCTION_CATEGORIES, DEPRECIATION_GROUPS, DOCUMENT_FILE_TYPES, DailyFrequencyEnum, DateFormatsEnum, DateRange, DeductionClothingTypeEnum, DeductionSelfEducationTypeEnum, Depreciation, DepreciationCalculationEnum, DepreciationCalculationPercentEnum, DepreciationCapitalProject, DepreciationCapitalProjectService, DepreciationCollection, DepreciationForecast, DepreciationForecastCollection, DepreciationForm, DepreciationGroup, DepreciationGroupEnum, DepreciationGroupItem, DepreciationLvpAssetTypeEnum, DepreciationLvpRateEnum, DepreciationLvpReportItem, DepreciationLvpReportItemCollection, DepreciationReportItem, DepreciationReportItemCollection, DepreciationService, DepreciationTypeEnum, DepreciationWriteOffAmountEnum, Dictionary, Document, DocumentApiUrlPrefixEnum, DocumentFolder, DocumentFolderCollection, DocumentFolderForm, DocumentFolderMessagesEnum, DocumentFolderService, DocumentForm, DocumentMessagesEnum, DocumentService, DocumentTypeEnum, ENDPOINTS, EXPENSE_CATEGORY_BY_TYPE, EmployeeCollection, EmployeeDetails, EmployeeDetailsForm, EmployeeInvite, EmployeeInviteCollection, EmployeeInviteForm, EmployeeInviteRoleEnum, EmployeeInviteService, EmployeeMessagesEnum, EmployeeService, Endpoint, EquityPositionChartService, EventDispatcherService, ExportDataTable, ExportFormatEnum, ExportFormatterService, ExportableCollection, FacebookService, FileService, FileValidator, FinancialGoal, FinancialGoalCollection, FinancialGoalFilterForm, FinancialGoalForm, FinancialGoalMessagesEnum, FinancialGoalService, FinancialGoalStatusEnum, FinancialGoalTypeEnum, FinancialYear, FinancialYearService, Firm, FirmBranch, FirmBranchForm, FirmBranchMessagesEnum, FirmBranchService, FirmForm, FirmInviteForm, FirmMessagesEnum, FirmService, FirmTypeEnum, FormValidationsEnum, GenderEnum, GoogleService, HTTP_ERROR_MESSAGES, HeaderTitleService, Holding, HoldingCollection, HoldingExpenseForm, HoldingIncomeForm, HoldingReinvest, HoldingReinvestForm, HoldingSale, HoldingSaleCollection, HoldingSaleService, HoldingTrade, HoldingTradeCollection, HoldingTradeFilterForm, HoldingTradeForm, HoldingTradeImport, HoldingTradeImportForm, HoldingTradeImportMessagesEnum, HoldingTradeImportService, HoldingTradeMessagesEnum, HoldingTradeReportItem, HoldingTradeService, HoldingTradeTypeEnum, HoldingType, HoldingTypeCategoryEnum, HoldingTypeCollection, HoldingTypeExchange, HoldingTypeExchangeListEnum, HoldingTypeExchangeService, HoldingTypeForm, HoldingTypeMessagesEnum, HoldingTypeService, HomeOfficeCalculatorForm, HomeOfficeClaim, HomeOfficeClaimCollection, HomeOfficeClaimForm, HomeOfficeClaimMessagesEnum, HomeOfficeClaimMethodEnum, HomeOfficeClaimService, HomeOfficeLog, HomeOfficeLogForm, HomeOfficeLogMessagesEnum, HomeOfficeLogService, INCOME_CATEGORY_BY_TYPE, IconsFileEnum, IncomeAmountTypeEnum, IncomePosition, IncomeSource, IncomeSourceChartData, IncomeSourceCollection, IncomeSourceForecast, IncomeSourceForecastCollection, IncomeSourceForecastService, IncomeSourceForecastTrustTypeEnum, IncomeSourceMessagesEnum, IncomeSourceService, IncomeSourceType, IncomeSourceTypeEnum, IncomeSourceTypeListHoldingEnum, IncomeSourceTypeListOtherEnum, IncomeSourceTypeListSoleEnum, IncomeSourceTypeListWorkEnum, IncomeSourceTypeService, InterceptorsModule, IntercomService, InviteStatusEnum, InvoicePaymentForm, InvoiceTransactionsService, JsPdf, Loan, LoanBankTypeEnum, LoanCollection, LoanForm, LoanInterestTypeEnum, LoanInterestTypeLabelEnum, LoanMaxNumberOfPaymentsEnum, LoanMessagesEnum, LoanPayment, LoanPaymentCollection, LoanPayout, LoanPayoutTypeEnum, LoanRepaymentTypeEnum, LoanRepaymentTypeLabelEnum, LoanService, LoanTypeEnum, LoanVehicleTypeEnum, LoginForm, LossTypeEnum, MODULE_URL_LIST, MONTHS, Message, MessageCollection, MessageDocument, MessageDocumentCollection, MessageDocumentService, MessageService, MessagesEnum, MfaDetails, MfaDetailsForm, MfaDetailsMessagesEnum, MfaDetailsService, MoneyCalendarEvent, MoneyCalendarEventCollection, MoneyScheduleFilterForm, MonthNameShortEnum, MonthNumberEnum, MyAccountHistory, MyAccountHistoryInitiatedByEnum, MyAccountHistoryStatusEnum, MyAccountHistoryTypeEnum, MyTaxBusinessDetails, MyTaxBusinessDetailsForm, MyTaxBusinessIncome, MyTaxBusinessIncomeForm, MyTaxBusinessIncomeOrLossesForm, MyTaxBusinessLosses, MyTaxBusinessLossesForm, MyTaxCgt, MyTaxCgtForm, MyTaxDeductions, MyTaxDeductionsForm, MyTaxDividends, MyTaxDividendsForm, MyTaxEstimate, MyTaxIncomeStatements, MyTaxIncomeStatementsForm, MyTaxIncomeTests, MyTaxIncomeTestsForm, MyTaxInterest, MyTaxInterestForm, MyTaxLosses, MyTaxLossesForm, MyTaxMedicareForm, MyTaxOffsets, MyTaxOffsetsForm, MyTaxOtherIncome, MyTaxOtherIncomeForm, MyTaxPartnershipsAndTrusts, MyTaxPartnershipsAndTrustsForm, MyTaxRent, MyTaxRentForm, Notification, Occupation, OccupationService, PASSWORD_REGEXPS, PasswordForm, PdfFromDataTableService, PdfFromDomElementService, PdfFromHtmlTableService, PdfFromTableService, PdfOrientationEnum, PdfService, PdfSettings, Phone, PhoneForm, PhoneTypeEnum, PreloaderService, PriorTransactionService, Property, PropertyAddForm, PropertyCalculationService, PropertyCategory, PropertyCategoryListEnum, PropertyCategoryMovement, PropertyCategoryMovementCollection, PropertyCategoryMovementForm, PropertyCategoryMovementService, PropertyCategoryService, PropertyCollection, PropertyDepreciationCalculationEnum, PropertyEditForm, PropertyEquityChartData, PropertyEquityChartItem, PropertyEquityChartTypeEnum, PropertyForecast, PropertyForecastForm, PropertyMessagesEnum, PropertyReportItem, PropertyReportItemCollection, PropertyReportItemDepreciation, PropertyReportItemDepreciationCollection, PropertyReportItemTransaction, PropertyReportItemTransactionCollection, PropertySale, PropertySaleCollection, PropertySaleCostBase, PropertySaleCostBaseForm, PropertySaleCostSaleForm, PropertySaleExemptionsForm, PropertySaleService, PropertySaleTaxExemptionMetaField, PropertySaleTaxExemptionMetaFieldCollection, PropertyService, PropertyShare, PropertyShareAccessEnum, PropertyShareCollection, PropertyShareForm, PropertyShareService, PropertyShareStatusEnum, PropertySubscription, PropertyTransactionReportService, PropertyValuation, PropertyValuationCollection, PropertyValuationForm, PropertyValuationMessages, PropertyValuationService, REPORTS, RegisterClientForm, RegisterFirmForm, RegistrationInvite, RegistrationInviteStatusEnum, RelativeDatePipe, ReportItem, ReportItemCollection, ReportItemDetails, ResetPasswordForm, RestMessagesEnum, RestService$1 as RestService, SERVICE_PRODUCT_ROLES, SafeUrlPipe, SalaryForecast, SalaryForecastService, ServiceNotificationService, ServiceNotificationStatusEnum, ServiceNotificationTypeEnum, ServicePayment, ServicePaymentMethod, ServicePaymentMethodService, ServicePaymentService, ServicePaymentStatusEnum, ServicePrice, ServicePriceCollection, ServicePriceIdEnum, ServicePriceListEnum, ServicePriceRecurringIntervalEnum, ServicePriceService, ServicePriceTypeEnum, ServiceProduct, ServiceProductCollection, ServiceProductIconsEnum, ServiceProductIdEnum, ServiceProductService, ServiceProductStatusEnum, ServicePromoCode, ServiceSubscription, ServiceSubscriptionCollection, ServiceSubscriptionItem, ServiceSubscriptionStatusEnum, SetupItemTypeEnum, SharesightDetails, SharesightDetailsMessagesEnum, SharesightDetailsService, SharesightPortfolio, SharesightPortfolioMessages, SharesightPortfolioService, SoleBusiness, SoleBusinessActivity, SoleBusinessActivityService, SoleBusinessAllocation, SoleBusinessAllocationsForm, SoleBusinessForm, SoleBusinessLoss, SoleBusinessLossCollection, SoleBusinessLossForm, SoleBusinessLossOffsetRule, SoleBusinessLossOffsetRuleService, SoleBusinessLossReport, SoleBusinessLossService, SoleBusinessMessagesEnum, SoleBusinessService, SoleContact, SoleContactForm, SoleContactService, SoleDepreciationMethod, SoleDepreciationMethodEnum, SoleDepreciationMethodForm, SoleDepreciationMethodService, SoleDetails, SoleDetailsForm, SoleDetailsResolver, SoleDetailsService, SoleForecast, SoleForecastService, SoleIncomeForm, SoleInvoice, SoleInvoiceCollection, SoleInvoiceForm, SoleInvoiceItem, SoleInvoiceItemCollection, SoleInvoiceItemForm, SoleInvoiceService, SoleInvoiceStateEnum, SoleInvoiceStatusesEnum, SoleInvoiceTaxTypeEnum, SoleInvoiceTemplate, SoleInvoiceTemplateForm, SoleInvoiceTemplateService, SoleInvoiceTemplateTaxTypeEnum, SpareDocumentSpareTypeEnum, SseService, StatesEnum, SubscriptionItemCollection, SubscriptionMessagesEnum, SubscriptionService, TAX_RETURN_CATEGORIES, TYPE_LOAN, TankTypeEnum, TaxCalculationMedicareExemptionEnum, TaxCalculationTypeEnum, TaxExemption, TaxExemptionCollection, TaxExemptionEnum, TaxExemptionMetaField, TaxExemptionMetaFieldEnum, TaxExemptionService, TaxReturn, TaxReturnCategory, TaxReturnCategoryListEnum, TaxReturnCategorySectionEnum, TaxReturnItem, TaxReturnItemEnum, TaxReturnItemService, TaxReview, TaxReviewCollection, TaxReviewFilterForm, TaxReviewFilterStatusEnum, TaxReviewHistoryService, TaxReviewMessagesEnum, TaxReviewService, TaxReviewStatusEnum, TaxSummary, TaxSummaryListEnum, TaxSummarySection, TaxSummarySectionEnum, TaxSummaryService, TaxSummaryTaxSummaryEnum, TaxSummaryTypeEnum, TicketFeedbackEnum, TicketStatusEnum, TicketTypesEnum, TimezoneEnum, Toast, ToastService, ToastTypeEnum, Transaction, TransactionAllocation, TransactionAllocationCollection, TransactionAllocationService, TransactionBase, TransactionBaseCollection, TransactionBaseFilter, TransactionBaseFilterForm, TransactionBaseForm, TransactionCategoryEnum, TransactionCollection, TransactionForm, TransactionMetaField, TransactionOperationEnum, TransactionReportItem, TransactionReportItemCollection, TransactionService, TransactionSourceEnum, TransactionTypeEnum, TreeNodeData, USER_ROLES, USER_WORK_POSITION, UniqueEmailValidator, User, UserCollection, UserEventSetting, UserEventSettingCollection, UserEventSettingFieldEnum, UserEventSettingService, UserEventStatusEnum, UserEventType, UserEventTypeCategory, UserEventTypeClientTypeEnum, UserEventTypeCollection, UserEventTypeEmployeeTypeEnum, UserEventTypeFrequencyEnum, UserEventTypeService, UserEventTypeUserTypeEnum, UserForm, UserInviteForm, UserMedicareExemptionEnum, UserMessagesEnum, UserService, UserStatusEnum, UserSwitcherService, UserTitleEnum, UserToRegister, UserWorkDepreciationCalculationEnum, UserWorkingHolidayMakerEnum, UsersInviteService, Vehicle, VehicleClaim, VehicleClaimCollection, VehicleClaimDetails, VehicleClaimDetailsForm, VehicleClaimDetailsMethodEnum, VehicleClaimDetailsService, VehicleClaimForm, VehicleClaimService, VehicleExpense, VehicleExpenseCollection, VehicleForm, VehicleLogbook, VehicleLogbookCollection, VehicleLogbookForm, VehicleLogbookMessages, VehicleLogbookPurposeEnum, VehicleLogbookService, VehicleMessagesEnum, VehicleService, WorkExpenseForm, WorkIncomeForm, XlsxService, YoutubeService, YoutubeVideosEnum, atLeastOneCheckedValidator, atLeastOneEnabledValidator, atoLinks, autocompleteValidator, cloneDeep, compare, compareMatOptions, compareWithControlValidator, conditionalValidator, createDate, currentFinYearValidator, dateRangeValidator, displayMatOptions, enumToList, fieldsSumValidator, getDocIcon, greaterThanValidator, matchSumValidator, maxDateValidator, minDateValidator, nameValidator, passwordMatchValidator, passwordValidator, recurringDates, replace, sort, sortDeep, toArray };
27555
+ export { ADBLOCK_ERROR_HTML, ADBLOCK_ERROR_HTML_VALUE, AbstractForm, AbstractModel, AccountSetupItem, AccountSetupItemCollection, AccountSetupItemStatusEnum, AccountSetupItemsEnum, AccountSetupService, AdblockDetectorService, Address, AddressForm, AddressService, AddressTypeEnum, AllocationGroup, AllocationGroupCollection, AllocationRule, AllocationRuleCollection, AllocationRuleConditionComparisonOperatorEnum, AllocationRuleConditionFieldEnum, AllocationRuleConditionOperatorEnum, AllocationRuleForm, AllocationRuleService, AllocationRuleTransaction, AllocationRuleTransactionMetaField, AllocationRuleTypeEnum, AlphabetColorsEnum, AnnualClientDetails, AnnualClientDetailsForm, AnnualClientDetailsService, AnnualFrequencyEnum, AppCurrencyPipe, AppEvent, AppEvent2, AppEventTypeEnum, AppFile, AppPercentPipe, AssetEntityTypeEnum, AssetSale, AssetSaleCollection, AssetTypeEnum, AssetsService, AussieAppointment, AussieAppointmentForm, AussieBroker, AussieConfirmationForm, AussieService, AussieStore, AussieStoreForm, Badge, BadgeColorEnum, Bank, BankAccount, BankAccountAddManualForm, BankAccountAllocationForm, BankAccountCalculationService, BankAccountChartData, BankAccountCollection, BankAccountImportForm, BankAccountPropertiesForm, BankAccountProperty, BankAccountService, BankAccountStatusEnum, BankAccountTypeEnum, BankAccountsImportForm, BankConnection, BankConnectionCollection, BankConnectionMessagesEnum, BankConnectionService, BankConnectionStatusEnum, BankExternalStats, BankPopularEnum, BankProviderEnum, BankService, BankTransaction, BankTransactionChartData, BankTransactionCollection, BankTransactionComment, BankTransactionCommentForm, BankTransactionCommentMessagesEnum, BankTransactionCommentService, BankTransactionService, BankTransactionSummaryFieldsEnum, BankTransactionTypeEnum, BasReport, BasReportForm, BasReportMessagesEnum, BasReportService, BasiqConfig, BasiqJob, BasiqJobResponse, BasiqJobStep, BasiqMessagesEnum, BasiqService, BasiqToken, BasiqTokenService, BasiqUser, BasiqUserService, BestVehicleLogbookCollection, BorrowingExpense, BorrowingExpenseLoan, BorrowingExpenseService, BorrowingReport, BorrowingReportForm, BorrowingReportMessagesEnum, BorrowingReportService, Budget, BudgetCollection, BudgetForm, BudgetMessagesEnum, BudgetMetadataInterface, BudgetRule, BudgetRuleCollection, BudgetRuleForm, BudgetRuleItem, BudgetRuleItemCollection, BudgetRuleService, BudgetService, BudgetTypeEnum, BusinessChartAccountsEnum, BusinessResolver, BusinessTypeEnum, CAPITAL_COSTS_ITEMS, CHART_ACCOUNTS_CATEGORIES, CalculationFormItem, CalculationFormTypeEnum, CalendarEvent, CalendarEventCollection, CalendarEventTypeEnum, CapitalLoss, CapitalLossForm, CapitalLossMessagesEnum, CapitalLossService, CgtExemptionAndRolloverCodeEnum, ChartAccounts, ChartAccountsAdjustmentIncludedListEnum, ChartAccountsCategoryECollection, ChartAccountsCategoryEnum, ChartAccountsCollection, ChartAccountsDepreciation, ChartAccountsDepreciationService, ChartAccountsEtpEnum, ChartAccountsForm, ChartAccountsHeading, ChartAccountsHeadingListEnum, ChartAccountsHeadingTaxDeductibleEnum, ChartAccountsHeadingTaxableEnum, ChartAccountsHeadingVehicleListEnum, ChartAccountsHoldingUntaxedIncomeListEnum, ChartAccountsKeepSign, ChartAccountsListEnum, ChartAccountsMessagesEnum, ChartAccountsMetaField, ChartAccountsMetaFieldListEnum, ChartAccountsMetaFieldTypeEnum, ChartAccountsPropertyAdjustmentsListEnum, ChartAccountsSalaryAdjustmentsListEnum, ChartAccountsService, ChartAccountsTaxLabelsEnum, ChartAccountsTypeEnum, ChartAccountsValue, ChartAccountsValueCollection, ChartAccountsValueService, ChartData, ChartSerie, Chat, ChatCollection, ChatFilterForm, ChatService, ChatStatusEnum, ChatViewTypeEnum, ClientCollection, ClientCouponService, ClientDetails, ClientDetailsForm, ClientDetailsMedicareExemptionEnum, ClientDetailsWorkDepreciationCalculationEnum, ClientDetailsWorkingHolidayMakerEnum, ClientInvite, ClientInviteCollection, ClientInviteForm, ClientInviteMessages, ClientInvitePutForm, ClientInviteService, ClientInviteStatusEnum, ClientInviteTypeEnum, ClientMovement, ClientMovementCollection, ClientMovementForm, ClientMovementMessagesEnum, ClientMovementService, ClientPortfolioChartData, ClientPortfolioReport, ClientPortfolioReportCollection, ClientPortfolioReportService, Collection, CollectionDictionary, CollectionForm, CoreModule, CorelogicMessagesEnum, CorelogicService, CorelogicSuggestion, Country, CurrentFirmBranchService, DEDUCTION_CATEGORIES, DEPRECIATION_GROUPS, DOCUMENT_FILE_TYPES, DailyFrequencyEnum, DateFormatsEnum, DateRange, DeductionClothingTypeEnum, DeductionSelfEducationTypeEnum, Depreciation, DepreciationCalculationEnum, DepreciationCalculationPercentEnum, DepreciationCapitalProject, DepreciationCapitalProjectService, DepreciationCollection, DepreciationForecast, DepreciationForecastCollection, DepreciationForm, DepreciationGroup, DepreciationGroupEnum, DepreciationGroupItem, DepreciationLvpAssetTypeEnum, DepreciationLvpRateEnum, DepreciationLvpReportItem, DepreciationLvpReportItemCollection, DepreciationReportItem, DepreciationReportItemCollection, DepreciationService, DepreciationTypeEnum, DepreciationWriteOffAmountEnum, Dictionary, Document, DocumentApiUrlPrefixEnum, DocumentFolder, DocumentFolderCollection, DocumentFolderForm, DocumentFolderMessagesEnum, DocumentFolderService, DocumentForm, DocumentMessagesEnum, DocumentService, DocumentTypeEnum, ENDPOINTS, EXPENSE_CATEGORY_BY_TYPE, EmployeeCollection, EmployeeDetails, EmployeeDetailsForm, EmployeeInvite, EmployeeInviteCollection, EmployeeInviteForm, EmployeeInviteRoleEnum, EmployeeInviteService, EmployeeMessagesEnum, EmployeeService, Endpoint, EquityPositionChartService, EventDispatcherService, ExportDataTable, ExportFormatEnum, ExportFormatterService, ExportableCollection, FacebookService, FileService, FileValidator, FinancialGoal, FinancialGoalCollection, FinancialGoalFilterForm, FinancialGoalForm, FinancialGoalMessagesEnum, FinancialGoalService, FinancialGoalStatusEnum, FinancialGoalTypeEnum, FinancialYear, FinancialYearService, Firm, FirmBranch, FirmBranchForm, FirmBranchMessagesEnum, FirmBranchService, FirmForm, FirmInviteForm, FirmMessagesEnum, FirmService, FirmTypeEnum, FormValidationsEnum, GenderEnum, GoogleService, HTTP_ERROR_MESSAGES, HeaderTitleService, Holding, HoldingCollection, HoldingExpenseForm, HoldingIncomeForm, HoldingReinvest, HoldingReinvestForm, HoldingSale, HoldingSaleCollection, HoldingSaleService, HoldingTrade, HoldingTradeCollection, HoldingTradeFilterForm, HoldingTradeForm, HoldingTradeImport, HoldingTradeImportForm, HoldingTradeImportMessagesEnum, HoldingTradeImportService, HoldingTradeMessagesEnum, HoldingTradeReportItem, HoldingTradeService, HoldingTradeTypeEnum, HoldingType, HoldingTypeCategoryEnum, HoldingTypeCollection, HoldingTypeExchange, HoldingTypeExchangeListEnum, HoldingTypeExchangeService, HoldingTypeForm, HoldingTypeMessagesEnum, HoldingTypeService, HomeOfficeCalculatorForm, HomeOfficeClaim, HomeOfficeClaimCollection, HomeOfficeClaimForm, HomeOfficeClaimMessagesEnum, HomeOfficeClaimMethodEnum, HomeOfficeClaimService, HomeOfficeLog, HomeOfficeLogForm, HomeOfficeLogMessagesEnum, HomeOfficeLogService, INCOME_CATEGORY_BY_TYPE, IconsFileEnum, IncomeAmountTypeEnum, IncomePosition, IncomeSource, IncomeSourceChartData, IncomeSourceCollection, IncomeSourceForecast, IncomeSourceForecastCollection, IncomeSourceForecastService, IncomeSourceForecastTrustTypeEnum, IncomeSourceMessagesEnum, IncomeSourceService, IncomeSourceType, IncomeSourceTypeEnum, IncomeSourceTypeListHoldingEnum, IncomeSourceTypeListOtherEnum, IncomeSourceTypeListSoleEnum, IncomeSourceTypeListWorkEnum, IncomeSourceTypeService, InterceptorsModule, IntercomService, InviteStatusEnum, InvoicePaymentForm, InvoiceTransactionsService, JsPdf, Loan, LoanBankTypeEnum, LoanCollection, LoanForm, LoanInterestTypeEnum, LoanInterestTypeLabelEnum, LoanMaxNumberOfPaymentsEnum, LoanMessagesEnum, LoanPayment, LoanPaymentCollection, LoanPayout, LoanPayoutTypeEnum, LoanRepaymentTypeEnum, LoanRepaymentTypeLabelEnum, LoanService, LoanTypeEnum, LoanVehicleTypeEnum, LoginForm, LossTypeEnum, MODULE_URL_LIST, MONTHS, Message, MessageCollection, MessageDocument, MessageDocumentCollection, MessageDocumentService, MessageService, MessagesEnum, MfaDetails, MfaDetailsForm, MfaDetailsMessagesEnum, MfaDetailsService, MoneyCalendarEvent, MoneyCalendarEventCollection, MoneyScheduleFilterForm, MonthNameShortEnum, MonthNumberEnum, MyAccountHistory, MyAccountHistoryInitiatedByEnum, MyAccountHistoryStatusEnum, MyAccountHistoryTypeEnum, MyTaxBusinessDetails, MyTaxBusinessDetailsForm, MyTaxBusinessIncome, MyTaxBusinessIncomeForm, MyTaxBusinessIncomeOrLossesForm, MyTaxBusinessLosses, MyTaxBusinessLossesForm, MyTaxCgt, MyTaxCgtForm, MyTaxDeductions, MyTaxDeductionsForm, MyTaxDividends, MyTaxDividendsForm, MyTaxEstimate, MyTaxIncomeStatements, MyTaxIncomeStatementsForm, MyTaxIncomeTests, MyTaxIncomeTestsForm, MyTaxInterest, MyTaxInterestForm, MyTaxLosses, MyTaxLossesForm, MyTaxMedicareForm, MyTaxOffsets, MyTaxOffsetsForm, MyTaxOtherIncome, MyTaxOtherIncomeForm, MyTaxPartnershipsAndTrusts, MyTaxPartnershipsAndTrustsForm, MyTaxRent, MyTaxRentForm, Notification, Occupation, OccupationService, PASSWORD_REGEXPS, PasswordForm, PdfFromDataTableService, PdfFromDomElementService, PdfFromHtmlTableService, PdfFromTableService, PdfOrientationEnum, PdfService, PdfSettings, Phone, PhoneForm, PhoneTypeEnum, PreloaderService, PriorTransactionService, Property, PropertyAddForm, PropertyCalculationService, PropertyCategory, PropertyCategoryListEnum, PropertyCategoryMovement, PropertyCategoryMovementCollection, PropertyCategoryMovementForm, PropertyCategoryMovementService, PropertyCategoryService, PropertyCollection, PropertyDepreciationCalculationEnum, PropertyEditForm, PropertyEquityChartData, PropertyEquityChartItem, PropertyEquityChartTypeEnum, PropertyForecast, PropertyForecastForm, PropertyMessagesEnum, PropertyReportItem, PropertyReportItemCollection, PropertyReportItemDepreciation, PropertyReportItemDepreciationCollection, PropertyReportItemTransaction, PropertyReportItemTransactionCollection, PropertySale, PropertySaleCollection, PropertySaleCostBase, PropertySaleCostBaseForm, PropertySaleCostSaleForm, PropertySaleExemptionsForm, PropertySaleService, PropertySaleTaxExemptionMetaField, PropertySaleTaxExemptionMetaFieldCollection, PropertyService, PropertyShare, PropertyShareAccessEnum, PropertyShareCollection, PropertyShareForm, PropertyShareService, PropertyShareStatusEnum, PropertySubscription, PropertyTransactionReportService, PropertyValuation, PropertyValuationCollection, PropertyValuationForm, PropertyValuationMessages, PropertyValuationService, REPORTS, RegisterClientForm, RegisterFirmForm, RegistrationInvite, RegistrationInviteStatusEnum, RelativeDatePipe, ReportItem, ReportItemCollection, ReportItemDetails, ResetPasswordForm, RestMessagesEnum, RestService$1 as RestService, SERVICE_PRODUCT_ROLES, SafeUrlPipe, SalaryForecast, SalaryForecastService, ServiceNotificationService, ServiceNotificationStatusEnum, ServiceNotificationTypeEnum, ServicePayment, ServicePaymentMethod, ServicePaymentMethodService, ServicePaymentService, ServicePaymentStatusEnum, ServicePrice, ServicePriceCollection, ServicePriceIdEnum, ServicePriceListEnum, ServicePriceRecurringIntervalEnum, ServicePriceService, ServicePriceTypeEnum, ServiceProduct, ServiceProductCollection, ServiceProductIconsEnum, ServiceProductIdEnum, ServiceProductService, ServiceProductStatusEnum, ServicePromoCode, ServiceSubscription, ServiceSubscriptionCollection, ServiceSubscriptionItem, ServiceSubscriptionStatusEnum, SetupItemTypeEnum, SharesightDetails, SharesightDetailsMessagesEnum, SharesightDetailsService, SharesightPortfolio, SharesightPortfolioMessages, SharesightPortfolioService, SoleBusiness, SoleBusinessActivity, SoleBusinessActivityService, SoleBusinessAllocation, SoleBusinessAllocationsForm, SoleBusinessForm, SoleBusinessLoss, SoleBusinessLossCollection, SoleBusinessLossForm, SoleBusinessLossOffsetRule, SoleBusinessLossOffsetRuleService, SoleBusinessLossReport, SoleBusinessLossService, SoleBusinessMessagesEnum, SoleBusinessService, SoleContact, SoleContactForm, SoleContactService, SoleDepreciationMethod, SoleDepreciationMethodEnum, SoleDepreciationMethodForm, SoleDepreciationMethodService, SoleDetails, SoleDetailsForm, SoleDetailsResolver, SoleDetailsService, SoleForecast, SoleForecastService, SoleIncomeForm, SoleInvoice, SoleInvoiceCollection, SoleInvoiceForm, SoleInvoiceItem, SoleInvoiceItemCollection, SoleInvoiceItemForm, SoleInvoiceService, SoleInvoiceStateEnum, SoleInvoiceStatusesEnum, SoleInvoiceTaxTypeEnum, SoleInvoiceTemplate, SoleInvoiceTemplateForm, SoleInvoiceTemplateService, SoleInvoiceTemplateTaxTypeEnum, SpareDocumentSpareTypeEnum, SseService, StatesEnum, SubscriptionItemCollection, SubscriptionMessagesEnum, SubscriptionService, TAX_RETURN_CATEGORIES, TYPE_LOAN, TankTypeEnum, TaxCalculationMedicareExemptionEnum, TaxCalculationTypeEnum, TaxExemption, TaxExemptionCollection, TaxExemptionEnum, TaxExemptionMetaField, TaxExemptionMetaFieldEnum, TaxExemptionService, TaxReturn, TaxReturnCategory, TaxReturnCategoryListEnum, TaxReturnCategorySectionEnum, TaxReturnItem, TaxReturnItemEnum, TaxReturnItemService, TaxReview, TaxReviewCollection, TaxReviewFilterForm, TaxReviewFilterStatusEnum, TaxReviewHistoryService, TaxReviewMessagesEnum, TaxReviewService, TaxReviewStatusEnum, TaxSummary, TaxSummaryListEnum, TaxSummarySection, TaxSummarySectionEnum, TaxSummaryService, TaxSummaryTaxSummaryEnum, TaxSummaryTypeEnum, TicketFeedbackEnum, TicketStatusEnum, TicketTypesEnum, TimezoneEnum, Toast, ToastService, ToastTypeEnum, Transaction, TransactionAllocation, TransactionAllocationCollection, TransactionAllocationService, TransactionBase, TransactionBaseCollection, TransactionBaseFilter, TransactionBaseFilterForm, TransactionBaseForm, TransactionCategoryEnum, TransactionCollection, TransactionForm, TransactionMetaField, TransactionOperationEnum, TransactionReportItem, TransactionReportItemCollection, TransactionService, TransactionSourceEnum, TransactionTypeEnum, TreeNodeData, USER_ROLES, USER_WORK_POSITION, UniqueEmailValidator, User, UserCollection, UserEventSetting, UserEventSettingCollection, UserEventSettingFieldEnum, UserEventSettingService, UserEventStatusEnum, UserEventType, UserEventTypeCategory, UserEventTypeClientTypeEnum, UserEventTypeCollection, UserEventTypeEmployeeTypeEnum, UserEventTypeFrequencyEnum, UserEventTypeService, UserEventTypeUserTypeEnum, UserForm, UserInviteForm, UserMedicareExemptionEnum, UserMessagesEnum, UserService, UserStatusEnum, UserSwitcherService, UserTitleEnum, UserToRegister, UserWorkDepreciationCalculationEnum, UserWorkingHolidayMakerEnum, UsersInviteService, Vehicle, VehicleClaim, VehicleClaimCollection, VehicleClaimDetails, VehicleClaimDetailsForm, VehicleClaimDetailsMethodEnum, VehicleClaimDetailsService, VehicleClaimForm, VehicleClaimService, VehicleExpense, VehicleExpenseCollection, VehicleForm, VehicleLogbook, VehicleLogbookCollection, VehicleLogbookForm, VehicleLogbookMessages, VehicleLogbookPurposeEnum, VehicleLogbookService, VehicleMessagesEnum, VehicleService, WorkExpenseForm, WorkIncomeForm, XlsxService, YoutubeService, YoutubeVideosEnum, atLeastOneCheckedValidator, atLeastOneEnabledValidator, atoLinks, autocompleteValidator, cloneDeep, compare, compareMatOptions, compareWithControlValidator, conditionalValidator, createDate, currentFinYearValidator, dateRangeValidator, displayMatOptions, enumToList, fieldsSumValidator, getDocIcon, greaterThanValidator, matchSumValidator, maxDateValidator, minDateValidator, nameValidator, passwordMatchValidator, passwordValidator, recurringDates, replace, sort, sortDeep, toArray };
27620
27556
  //# sourceMappingURL=taxtank-core.mjs.map