taxtank-core 2.0.111 → 2.0.113
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 +147 -130
- package/fesm2022/taxtank-core.mjs.map +1 -1
- package/index.d.ts +29 -19
- package/package.json +1 -1
|
@@ -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,
|
|
6
|
+
import { HttpClient, HttpErrorResponse, HTTP_INTERCEPTORS, HttpHeaders, 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,
|
|
8
|
+
import { ReplaySubject, Subject, Observable, shareReplay, of, forkJoin, throwError, BehaviorSubject, concatMap, 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';
|
|
@@ -7235,13 +7235,13 @@ class Depreciation extends Depreciation$1 {
|
|
|
7235
7235
|
*/
|
|
7236
7236
|
toTransaction(params = {}) {
|
|
7237
7237
|
const claimPercent = this.currentYearForecast?.claimPercent || 0;
|
|
7238
|
-
return plainToClass(Transaction, Object.assign(
|
|
7238
|
+
return plainToClass(Transaction, Object.assign({}, this, {
|
|
7239
7239
|
amount: -this.currentYearForecast?.amount || 0,
|
|
7240
7240
|
claimAmount: -this.currentYearForecast?.claimAmount || 0,
|
|
7241
7241
|
claimPercent: claimPercent,
|
|
7242
7242
|
date: this.currentYearForecast?.fromDate ?? this.date,
|
|
7243
7243
|
sharedClaimPercent: claimPercent,
|
|
7244
|
-
}));
|
|
7244
|
+
}, params));
|
|
7245
7245
|
}
|
|
7246
7246
|
/**
|
|
7247
7247
|
* @TODO Michael: remove and check everywhere in reports
|
|
@@ -12917,7 +12917,7 @@ class BankAccountService extends RestService$1 {
|
|
|
12917
12917
|
this.modelClass = BankAccount;
|
|
12918
12918
|
this.collectionClass = BankAccountCollection;
|
|
12919
12919
|
this.disabledMethods = ['post', 'putBatch', 'delete', 'deleteBatch'];
|
|
12920
|
-
this.roles = [UserRolesEnum$1.
|
|
12920
|
+
this.roles = [UserRolesEnum$1.SUBSCRIPTION];
|
|
12921
12921
|
this.listenEvents();
|
|
12922
12922
|
}
|
|
12923
12923
|
getActive() {
|
|
@@ -12995,12 +12995,16 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.10", ngImpo
|
|
|
12995
12995
|
|
|
12996
12996
|
var BankConnectionMessagesEnum;
|
|
12997
12997
|
(function (BankConnectionMessagesEnum) {
|
|
12998
|
+
BankConnectionMessagesEnum["UPDATED"] = "Bank connection updated";
|
|
12998
12999
|
BankConnectionMessagesEnum["ACTIVATE"] = "Live bank feeds are deactivated, activate to start receiving daily bank transactions";
|
|
12999
13000
|
BankConnectionMessagesEnum["ACTIVATED"] = "Bank transactions will be delivered daily";
|
|
13000
13001
|
BankConnectionMessagesEnum["DEACTIVATE"] = "Deactivate to stop receiving daily bank transactions";
|
|
13001
13002
|
BankConnectionMessagesEnum["CONFIRM_DEACTIVATE"] = "We are unable to deliver daily bank transactions to deactivated banks";
|
|
13002
13003
|
BankConnectionMessagesEnum["DEACTIVATED"] = "Your live bank feeds are deactivated";
|
|
13004
|
+
BankConnectionMessagesEnum["CONFIRM_DELETE"] = "Are you sure?";
|
|
13005
|
+
BankConnectionMessagesEnum["DELETED"] = "Bank connection deleted";
|
|
13003
13006
|
BankConnectionMessagesEnum["RECONNECT"] = "There has been an issue with your bank connection. Please reconnect to continue receiving bank transactions";
|
|
13007
|
+
BankConnectionMessagesEnum["DISCONNECTED"] = "Bank connection disconnected";
|
|
13004
13008
|
BankConnectionMessagesEnum["INVALID"] = "There has been an issue with your bank connection. Please reconnect to continue receiving bank transactions";
|
|
13005
13009
|
BankConnectionMessagesEnum["INACTIVE"] = "This bank is no longer available via Open Banking (commonly due to a merger). Please contact your bank or TaxTank Support for further information.";
|
|
13006
13010
|
BankConnectionMessagesEnum["UPGRADE"] = "Upgrade needed from traditional feeds to an Open Banking connection to continue receiving bank transactions";
|
|
@@ -13031,7 +13035,7 @@ class BankConnectionService extends RestService$1 {
|
|
|
13031
13035
|
this.modelClass = BankConnection;
|
|
13032
13036
|
this.collectionClass = BankConnectionCollection;
|
|
13033
13037
|
this.endpointUri = 'bank-connections';
|
|
13034
|
-
this.disabledMethods = ['postBatch', 'putBatch', '
|
|
13038
|
+
this.disabledMethods = ['postBatch', 'putBatch', 'deleteBatch'];
|
|
13035
13039
|
this.listenEvents();
|
|
13036
13040
|
}
|
|
13037
13041
|
listenEvents() {
|
|
@@ -13278,128 +13282,6 @@ var BasiqMessagesEnum;
|
|
|
13278
13282
|
BasiqMessagesEnum["REVOKE_SUCCESS"] = "Consent to bank feeds has been revoked.";
|
|
13279
13283
|
})(BasiqMessagesEnum || (BasiqMessagesEnum = {}));
|
|
13280
13284
|
|
|
13281
|
-
class BasiqUserService extends RestService$1 {
|
|
13282
|
-
constructor() {
|
|
13283
|
-
super(...arguments);
|
|
13284
|
-
this.endpointUri = 'basiq-users';
|
|
13285
|
-
this.modelClass = BasiqUser;
|
|
13286
|
-
this.collectionClass = Collection;
|
|
13287
|
-
this.disabledMethods = ['postBatch', 'put', 'putBatch', 'delete', 'deleteBatch'];
|
|
13288
|
-
this.basiqTokenService = inject(BasiqTokenService);
|
|
13289
|
-
}
|
|
13290
|
-
static { this.basiqApiUrl = 'https://au-api.basiq.io'; }
|
|
13291
|
-
static { this.basiqConsentUrl = 'https://consent.basiq.io/home'; }
|
|
13292
|
-
revokeConsent() {
|
|
13293
|
-
return this.http.put(`${this.environment.apiV2}/basiq-users/consents/revoke`, {});
|
|
13294
|
-
}
|
|
13295
|
-
post(basiqUser = new BasiqUser()) {
|
|
13296
|
-
return super.post(basiqUser);
|
|
13297
|
-
}
|
|
13298
|
-
retrieveJob(jobId, basiqUserId) {
|
|
13299
|
-
return this.basiqTokenService.getOne(basiqUserId).pipe(concatMap(token => {
|
|
13300
|
-
const headers = new HttpHeaders({ Authorization: 'Bearer ' + token.value });
|
|
13301
|
-
return this.http.get(`${BasiqUserService.basiqApiUrl}/jobs/${jobId}`, { headers })
|
|
13302
|
-
.pipe(map((response) => plainToClass(BasiqJobResponse, response)));
|
|
13303
|
-
}));
|
|
13304
|
-
}
|
|
13305
|
-
/**
|
|
13306
|
-
* Open basiq consent ui to allow user to log in to bank
|
|
13307
|
-
*/
|
|
13308
|
-
redirectToBasiqConsent(bankId, basiqUserId) {
|
|
13309
|
-
const user$ = basiqUserId ? this.findBy('id', basiqUserId) : this.post();
|
|
13310
|
-
return user$.pipe(filter(user => !!user), concatMap(user => this.basiqTokenService.getOne(user.id).pipe(map(token => ({ user, token: token })))), map(({ user, token }) => {
|
|
13311
|
-
const url = new URL(BasiqUserService.basiqConsentUrl);
|
|
13312
|
-
url.searchParams.set('token', token.value);
|
|
13313
|
-
url.searchParams.set('institutionId', bankId);
|
|
13314
|
-
// @TODO TT-4883 vik state not coming from basiq
|
|
13315
|
-
localStorage.setItem('basiqUserId', user.id);
|
|
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
|
-
* redirect to basiq extend consent date to prolong it
|
|
13325
|
-
*/
|
|
13326
|
-
extendConsent(basiqUserId) {
|
|
13327
|
-
return this.basiqTokenService.getOne(basiqUserId).pipe(map(token => {
|
|
13328
|
-
window.location.replace(`${BasiqUserService.basiqConsentUrl}?token=${token.value}&action=extend`);
|
|
13329
|
-
}));
|
|
13330
|
-
}
|
|
13331
|
-
/**
|
|
13332
|
-
* redirect to basiq extend connection date to prolong it
|
|
13333
|
-
*/
|
|
13334
|
-
reauthoriseConnection(connection) {
|
|
13335
|
-
return this.basiqTokenService.getOne(connection.basiqUser.id).pipe(map(token => {
|
|
13336
|
-
let url = `${BasiqUserService.basiqConsentUrl}?token=${token.value}&action=reauthorise`;
|
|
13337
|
-
if (connection.isExpiring()) {
|
|
13338
|
-
url += `&connectionId=${connection.externalId}`;
|
|
13339
|
-
}
|
|
13340
|
-
window.location.replace(url);
|
|
13341
|
-
}));
|
|
13342
|
-
}
|
|
13343
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.10", ngImport: i0, type: BasiqUserService, deps: null, target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
13344
|
-
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.3.10", ngImport: i0, type: BasiqUserService, providedIn: 'root' }); }
|
|
13345
|
-
}
|
|
13346
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.10", ngImport: i0, type: BasiqUserService, decorators: [{
|
|
13347
|
-
type: Injectable,
|
|
13348
|
-
args: [{
|
|
13349
|
-
providedIn: 'root'
|
|
13350
|
-
}]
|
|
13351
|
-
}] });
|
|
13352
|
-
|
|
13353
|
-
/**
|
|
13354
|
-
* Service that handling banks logic
|
|
13355
|
-
*/
|
|
13356
|
-
class BankTransactionCommentService extends RestService$1 {
|
|
13357
|
-
constructor() {
|
|
13358
|
-
super(...arguments);
|
|
13359
|
-
this.modelClass = BankTransactionComment;
|
|
13360
|
-
this.collectionClass = Collection;
|
|
13361
|
-
this.endpointUri = 'bank-transaction-comments';
|
|
13362
|
-
this.disabledMethods = ['postBatch', 'putBatch', 'deleteBatch'];
|
|
13363
|
-
}
|
|
13364
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.10", ngImport: i0, type: BankTransactionCommentService, deps: null, target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
13365
|
-
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.3.10", ngImport: i0, type: BankTransactionCommentService, providedIn: 'root' }); }
|
|
13366
|
-
}
|
|
13367
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.10", ngImport: i0, type: BankTransactionCommentService, decorators: [{
|
|
13368
|
-
type: Injectable,
|
|
13369
|
-
args: [{
|
|
13370
|
-
providedIn: 'root'
|
|
13371
|
-
}]
|
|
13372
|
-
}] });
|
|
13373
|
-
|
|
13374
|
-
var BankTransactionCommentMessagesEnum;
|
|
13375
|
-
(function (BankTransactionCommentMessagesEnum) {
|
|
13376
|
-
BankTransactionCommentMessagesEnum["CREATED"] = "Note created";
|
|
13377
|
-
BankTransactionCommentMessagesEnum["UPDATED"] = "Note updated";
|
|
13378
|
-
BankTransactionCommentMessagesEnum["DELETED"] = "Note deleted";
|
|
13379
|
-
BankTransactionCommentMessagesEnum["CONFIRM_DELETE"] = "Are you sure you want to delete this note?";
|
|
13380
|
-
})(BankTransactionCommentMessagesEnum || (BankTransactionCommentMessagesEnum = {}));
|
|
13381
|
-
|
|
13382
|
-
/**
|
|
13383
|
-
* Service that handling banks logic
|
|
13384
|
-
*/
|
|
13385
|
-
class BankService extends RestService$1 {
|
|
13386
|
-
constructor() {
|
|
13387
|
-
super(...arguments);
|
|
13388
|
-
this.modelClass = Bank;
|
|
13389
|
-
this.collectionClass = Collection;
|
|
13390
|
-
this.endpointUri = 'banks';
|
|
13391
|
-
this.disabledMethods = ['post', 'postBatch', 'put', 'putBatch', 'delete', 'deleteBatch'];
|
|
13392
|
-
}
|
|
13393
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.10", ngImport: i0, type: BankService, deps: null, target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
13394
|
-
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.3.10", ngImport: i0, type: BankService, providedIn: 'root' }); }
|
|
13395
|
-
}
|
|
13396
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.10", ngImport: i0, type: BankService, decorators: [{
|
|
13397
|
-
type: Injectable,
|
|
13398
|
-
args: [{
|
|
13399
|
-
providedIn: 'root'
|
|
13400
|
-
}]
|
|
13401
|
-
}] });
|
|
13402
|
-
|
|
13403
13285
|
/**
|
|
13404
13286
|
* Service to work with mixpanel https://docs.mixpanel.com/docs/tracking/reference/javascript
|
|
13405
13287
|
*/
|
|
@@ -13766,6 +13648,129 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.10", ngImpo
|
|
|
13766
13648
|
}]
|
|
13767
13649
|
}] });
|
|
13768
13650
|
|
|
13651
|
+
class BasiqUserService extends RestService$1 {
|
|
13652
|
+
constructor() {
|
|
13653
|
+
super(...arguments);
|
|
13654
|
+
this.endpointUri = 'basiq-users';
|
|
13655
|
+
this.modelClass = BasiqUser;
|
|
13656
|
+
this.collectionClass = Collection;
|
|
13657
|
+
this.disabledMethods = ['postBatch', 'put', 'putBatch', 'delete', 'deleteBatch'];
|
|
13658
|
+
this.roles = [UserRolesEnum.SUBSCRIPTION];
|
|
13659
|
+
this.basiqTokenService = inject(BasiqTokenService);
|
|
13660
|
+
}
|
|
13661
|
+
static { this.basiqApiUrl = 'https://au-api.basiq.io'; }
|
|
13662
|
+
static { this.basiqConsentUrl = 'https://consent.basiq.io/home'; }
|
|
13663
|
+
revokeConsent() {
|
|
13664
|
+
return this.http.put(`${this.environment.apiV2}/basiq-users/consents/revoke`, {});
|
|
13665
|
+
}
|
|
13666
|
+
post(basiqUser = new BasiqUser()) {
|
|
13667
|
+
return super.post(basiqUser);
|
|
13668
|
+
}
|
|
13669
|
+
retrieveJob(jobId, basiqUserId) {
|
|
13670
|
+
return this.basiqTokenService.getOne(basiqUserId).pipe(concatMap(token => {
|
|
13671
|
+
const headers = new HttpHeaders({ Authorization: 'Bearer ' + token.value });
|
|
13672
|
+
return this.http.get(`${BasiqUserService.basiqApiUrl}/jobs/${jobId}`, { headers })
|
|
13673
|
+
.pipe(map((response) => plainToClass(BasiqJobResponse, response)));
|
|
13674
|
+
}));
|
|
13675
|
+
}
|
|
13676
|
+
/**
|
|
13677
|
+
* Open basiq consent ui to allow user to log in to bank
|
|
13678
|
+
*/
|
|
13679
|
+
redirectToBasiqConsent(bankId, basiqUserId) {
|
|
13680
|
+
const user$ = basiqUserId ? this.findBy('id', basiqUserId) : this.post();
|
|
13681
|
+
return user$.pipe(filter(user => !!user), concatMap(user => this.basiqTokenService.getOne(user.id).pipe(map(token => ({ user, token: token })))), map(({ user, token }) => {
|
|
13682
|
+
const url = new URL(BasiqUserService.basiqConsentUrl);
|
|
13683
|
+
url.searchParams.set('token', token.value);
|
|
13684
|
+
url.searchParams.set('institutionId', bankId);
|
|
13685
|
+
// @TODO TT-4883 vik state not coming from basiq
|
|
13686
|
+
localStorage.setItem('basiqUserId', user.id);
|
|
13687
|
+
// url.searchParams.set('state', user.id);
|
|
13688
|
+
if (user.consentId) {
|
|
13689
|
+
url.searchParams.set('action', 'connect');
|
|
13690
|
+
}
|
|
13691
|
+
window.location.replace(url.toString());
|
|
13692
|
+
}));
|
|
13693
|
+
}
|
|
13694
|
+
/**
|
|
13695
|
+
* redirect to basiq extend consent date to prolong it
|
|
13696
|
+
*/
|
|
13697
|
+
extendConsent(basiqUserId) {
|
|
13698
|
+
return this.basiqTokenService.getOne(basiqUserId).pipe(map(token => {
|
|
13699
|
+
window.location.replace(`${BasiqUserService.basiqConsentUrl}?token=${token.value}&action=extend`);
|
|
13700
|
+
}));
|
|
13701
|
+
}
|
|
13702
|
+
/**
|
|
13703
|
+
* redirect to basiq extend connection date to prolong it
|
|
13704
|
+
*/
|
|
13705
|
+
reauthoriseConnection(connection) {
|
|
13706
|
+
return this.basiqTokenService.getOne(connection.basiqUser.id).pipe(map(token => {
|
|
13707
|
+
let url = `${BasiqUserService.basiqConsentUrl}?token=${token.value}&action=reauthorise`;
|
|
13708
|
+
if (connection.isExpiring()) {
|
|
13709
|
+
url += `&connectionId=${connection.externalId}`;
|
|
13710
|
+
}
|
|
13711
|
+
window.location.replace(url);
|
|
13712
|
+
}));
|
|
13713
|
+
}
|
|
13714
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.10", ngImport: i0, type: BasiqUserService, deps: null, target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
13715
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.3.10", ngImport: i0, type: BasiqUserService, providedIn: 'root' }); }
|
|
13716
|
+
}
|
|
13717
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.10", ngImport: i0, type: BasiqUserService, decorators: [{
|
|
13718
|
+
type: Injectable,
|
|
13719
|
+
args: [{
|
|
13720
|
+
providedIn: 'root'
|
|
13721
|
+
}]
|
|
13722
|
+
}] });
|
|
13723
|
+
|
|
13724
|
+
/**
|
|
13725
|
+
* Service that handling banks logic
|
|
13726
|
+
*/
|
|
13727
|
+
class BankTransactionCommentService extends RestService$1 {
|
|
13728
|
+
constructor() {
|
|
13729
|
+
super(...arguments);
|
|
13730
|
+
this.modelClass = BankTransactionComment;
|
|
13731
|
+
this.collectionClass = Collection;
|
|
13732
|
+
this.endpointUri = 'bank-transaction-comments';
|
|
13733
|
+
this.disabledMethods = ['postBatch', 'putBatch', 'deleteBatch'];
|
|
13734
|
+
}
|
|
13735
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.10", ngImport: i0, type: BankTransactionCommentService, deps: null, target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
13736
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.3.10", ngImport: i0, type: BankTransactionCommentService, providedIn: 'root' }); }
|
|
13737
|
+
}
|
|
13738
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.10", ngImport: i0, type: BankTransactionCommentService, decorators: [{
|
|
13739
|
+
type: Injectable,
|
|
13740
|
+
args: [{
|
|
13741
|
+
providedIn: 'root'
|
|
13742
|
+
}]
|
|
13743
|
+
}] });
|
|
13744
|
+
|
|
13745
|
+
var BankTransactionCommentMessagesEnum;
|
|
13746
|
+
(function (BankTransactionCommentMessagesEnum) {
|
|
13747
|
+
BankTransactionCommentMessagesEnum["CREATED"] = "Note created";
|
|
13748
|
+
BankTransactionCommentMessagesEnum["UPDATED"] = "Note updated";
|
|
13749
|
+
BankTransactionCommentMessagesEnum["DELETED"] = "Note deleted";
|
|
13750
|
+
BankTransactionCommentMessagesEnum["CONFIRM_DELETE"] = "Are you sure you want to delete this note?";
|
|
13751
|
+
})(BankTransactionCommentMessagesEnum || (BankTransactionCommentMessagesEnum = {}));
|
|
13752
|
+
|
|
13753
|
+
/**
|
|
13754
|
+
* Service that handling banks logic
|
|
13755
|
+
*/
|
|
13756
|
+
class BankService extends RestService$1 {
|
|
13757
|
+
constructor() {
|
|
13758
|
+
super(...arguments);
|
|
13759
|
+
this.modelClass = Bank;
|
|
13760
|
+
this.collectionClass = Collection;
|
|
13761
|
+
this.endpointUri = 'banks';
|
|
13762
|
+
this.disabledMethods = ['post', 'postBatch', 'put', 'putBatch', 'delete', 'deleteBatch'];
|
|
13763
|
+
}
|
|
13764
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.10", ngImport: i0, type: BankService, deps: null, target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
13765
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.3.10", ngImport: i0, type: BankService, providedIn: 'root' }); }
|
|
13766
|
+
}
|
|
13767
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.10", ngImport: i0, type: BankService, decorators: [{
|
|
13768
|
+
type: Injectable,
|
|
13769
|
+
args: [{
|
|
13770
|
+
providedIn: 'root'
|
|
13771
|
+
}]
|
|
13772
|
+
}] });
|
|
13773
|
+
|
|
13769
13774
|
class BudgetService extends RestService$1 {
|
|
13770
13775
|
constructor() {
|
|
13771
13776
|
super(...arguments);
|
|
@@ -22010,6 +22015,7 @@ const ENDPOINTS = {
|
|
|
22010
22015
|
BANK_ACCOUNTS_POST: new Endpoint('POST', '\\/bank-accounts'),
|
|
22011
22016
|
BANK_ACCOUNTS_PUT: new Endpoint('PUT', '\\/bank-accounts\\/\\d+'),
|
|
22012
22017
|
BANK_CONNECTION_POST: new Endpoint('POST', '\\/bank-connections'),
|
|
22018
|
+
BANK_CONNECTION_PUT: new Endpoint('PUT', '\\/bank-connections\\/\\d+'),
|
|
22013
22019
|
BANK_CONNECTIONS_GET: new Endpoint('GET', '\\/bank-connections'),
|
|
22014
22020
|
BANK_TRANSACTIONS_GET: new Endpoint('GET', '\\/bank-transactions'),
|
|
22015
22021
|
BANK_TRANSACTIONS_DELETE: new Endpoint('DELETE', '\\/bank-transactions\\/\\d+'),
|
|
@@ -24290,6 +24296,15 @@ class FirmInviteForm extends AbstractForm {
|
|
|
24290
24296
|
}
|
|
24291
24297
|
}
|
|
24292
24298
|
|
|
24299
|
+
class BankConnectionForm extends AbstractForm {
|
|
24300
|
+
constructor(connection = plainToClass(BankConnection, {})) {
|
|
24301
|
+
super({
|
|
24302
|
+
name: new FormControl(connection.name, [Validators.required, Validators.maxLength(255)]),
|
|
24303
|
+
}, connection);
|
|
24304
|
+
this.connection = connection;
|
|
24305
|
+
}
|
|
24306
|
+
}
|
|
24307
|
+
|
|
24293
24308
|
class BankTransactionCommentForm extends AbstractForm {
|
|
24294
24309
|
constructor(comment = plainToClass(BankTransactionComment, {})) {
|
|
24295
24310
|
super({
|
|
@@ -24751,7 +24766,9 @@ class BasReportForm extends AbstractForm {
|
|
|
24751
24766
|
const filteredTransactions = transactions.filterByRange('date', dateFrom, dateTo);
|
|
24752
24767
|
const filteredDepreciations = depreciations.filterByRange('date', dateFrom, dateTo);
|
|
24753
24768
|
const incomeTransactions = filteredTransactions.getIncomeTransactions();
|
|
24754
|
-
const
|
|
24769
|
+
const depreciationTransactions = filteredDepreciations.map(depreciation => depreciation.toTransaction({ amount: -depreciation.amount }));
|
|
24770
|
+
const expenseTransactions = new TransactionCollection(filteredTransactions.getExpenseTransactions().toArray());
|
|
24771
|
+
expenseTransactions.push(...depreciationTransactions);
|
|
24755
24772
|
// all sole income claimed as 100%
|
|
24756
24773
|
// @TODO temp fix, waiting for TT-3503/TT-3495 breaking changes
|
|
24757
24774
|
this.patchField('income', incomeTransactions.sumBy('amountWithGst'));
|
|
@@ -27545,5 +27562,5 @@ var MessagesEnum;
|
|
|
27545
27562
|
* Generated bundle index. Do not edit.
|
|
27546
27563
|
*/
|
|
27547
27564
|
|
|
27548
|
-
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 };
|
|
27565
|
+
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, BankConnectionForm, 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 };
|
|
27549
27566
|
//# sourceMappingURL=taxtank-core.mjs.map
|