taxtank-core 0.30.99 → 0.30.101

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.
Files changed (33) hide show
  1. package/esm2020/lib/collections/bank-transaction.collection.mjs +3 -2
  2. package/esm2020/lib/collections/collection.mjs +3 -2
  3. package/esm2020/lib/collections/depreciation.collection.mjs +4 -2
  4. package/esm2020/lib/collections/transaction/transaction.collection.mjs +1 -1
  5. package/esm2020/lib/collections/vehicle/vehicle-logbook.collection.mjs +3 -2
  6. package/esm2020/lib/db/Models/transaction/transaction-base.mjs +4 -3
  7. package/esm2020/lib/forms/sole/sole-business-loss.form.mjs +3 -2
  8. package/esm2020/lib/forms/transaction/transaction-base.form.mjs +4 -3
  9. package/esm2020/lib/forms/transaction/work/work-expense.form.mjs +3 -2
  10. package/esm2020/lib/models/property/property.mjs +3 -2
  11. package/esm2020/lib/models/report/my-tax/my-tax-rent/my-tax-rent.mjs +3 -2
  12. package/esm2020/lib/models/report/property/property-report-item.mjs +4 -3
  13. package/esm2020/lib/models/report/vehicle-expense/vehicle-expense.mjs +4 -3
  14. package/esm2020/lib/models/sole/sole-invoice.mjs +4 -3
  15. package/esm2020/lib/models/transaction/transaction.mjs +2 -2
  16. package/esm2020/lib/models/vehicle/logbook-period.mjs +4 -3
  17. package/esm2020/lib/models/vehicle/vehicle-claim.mjs +4 -3
  18. package/esm2020/public-api.mjs +1 -2
  19. package/fesm2015/taxtank-core.mjs +63 -72
  20. package/fesm2015/taxtank-core.mjs.map +1 -1
  21. package/fesm2020/taxtank-core.mjs +63 -72
  22. package/fesm2020/taxtank-core.mjs.map +1 -1
  23. package/lib/collections/bank-transaction.collection.d.ts +1 -1
  24. package/lib/collections/depreciation.collection.d.ts +2 -2
  25. package/lib/forms/transaction/transaction-base.form.d.ts +1 -1
  26. package/lib/models/report/my-tax/my-tax-rent/my-tax-rent.d.ts +1 -1
  27. package/lib/models/report/property/property-report-item.d.ts +2 -2
  28. package/lib/models/report/vehicle-expense/vehicle-expense.d.ts +1 -1
  29. package/lib/models/transaction/transaction.d.ts +1 -1
  30. package/package.json +1 -1
  31. package/public-api.d.ts +0 -1
  32. package/esm2020/lib/functions/round-to.mjs +0 -10
  33. package/lib/functions/round-to.d.ts +0 -6
@@ -10,6 +10,7 @@ import { plainToClass, Type, Transform, Exclude, Expose, classToPlain } from 'cl
10
10
  import { JwtHelperService } from '@auth0/angular-jwt';
11
11
  import { __decorate } from 'tslib';
12
12
  import get from 'lodash/get';
13
+ import round from 'lodash/round';
13
14
  import flatten from 'lodash/flatten';
14
15
  import hasIn from 'lodash/hasIn';
15
16
  import first from 'lodash/first';
@@ -37,7 +38,6 @@ import html2pdf from 'html2pdf.js';
37
38
  import isEqual from 'lodash/isEqual';
38
39
  import * as xlsx from 'xlsx';
39
40
  import * as FileSaver from 'file-saver';
40
- import round from 'lodash/round';
41
41
 
42
42
  /**
43
43
  * https://api-uat.corelogic.asia/property/au/v2/suggest.json
@@ -433,10 +433,10 @@ class TransactionBase extends ObservableModel {
433
433
  return !this.isPropertyTank() && !this.isSoleTank();
434
434
  }
435
435
  get amountWithGst() {
436
- return this.isGST ? this.amount * ChartAccounts.GSTCoefficient : this.amount;
436
+ return this.isGST ? round(this.amount * ChartAccounts.GSTCoefficient, 2) : this.amount;
437
437
  }
438
438
  get gstAmount() {
439
- return +(this.amountWithGst - this.amount);
439
+ return round(this.amountWithGst - this.amount, 2);
440
440
  }
441
441
  get gstClaimAmount() {
442
442
  return this.gstAmount * this.claimRatio;
@@ -1650,7 +1650,7 @@ class Collection {
1650
1650
  return this.items.reduce((prev, current) => (get(prev, path) > get(current, path) ? prev : current));
1651
1651
  }
1652
1652
  reduce(callback, init = 0) {
1653
- return this.items.reduce(callback, init);
1653
+ return round(this.items.reduce(callback, init), 2);
1654
1654
  }
1655
1655
  slice(from, to) {
1656
1656
  this.items.slice(from, to);
@@ -4271,6 +4271,48 @@ class TransactionReceipt extends TransactionReceipt$1 {
4271
4271
  }
4272
4272
  }
4273
4273
 
4274
+ /**
4275
+ * Income sources chart data
4276
+ */
4277
+ class IncomeSourceChartData {
4278
+ constructor(forecastedIncomeAmount, transactions) {
4279
+ this.forecastedIncomeAmount = forecastedIncomeAmount;
4280
+ this.transactions = transactions;
4281
+ }
4282
+ /**
4283
+ * Get prepared data for income sources chart
4284
+ */
4285
+ get() {
4286
+ const chartData = [{
4287
+ id: 'actualIncome',
4288
+ name: 'Actual Income',
4289
+ data: [],
4290
+ // display future actual incomes with dash line and past actual incomes with solid line
4291
+ zones: [{
4292
+ // line style after current month
4293
+ value: new FinancialYear().getMonthDate(new Date().getMonth()).getTime(),
4294
+ dashStyle: 'Solid'
4295
+ }, {
4296
+ // default line style
4297
+ dashStyle: 'Dash'
4298
+ }]
4299
+ }, {
4300
+ id: 'forecastedIncome',
4301
+ name: 'Forecasted Income',
4302
+ data: [],
4303
+ }];
4304
+ for (const key in MonthNameShortEnum) {
4305
+ if (MonthNameShortEnum.hasOwnProperty(key)) {
4306
+ // transaction collection for provided month
4307
+ const monthTransactionCollection = this.transactions.getByMonth(+MonthNumberEnum[key]);
4308
+ chartData[0].data.push([new FinancialYear().getMonthDate(+MonthNumberEnum[key]).getTime(), monthTransactionCollection.amount]);
4309
+ chartData[1].data.push([new FinancialYear().getMonthDate(+MonthNumberEnum[key]).getTime(), this.forecastedIncomeAmount / 12]);
4310
+ }
4311
+ }
4312
+ return chartData;
4313
+ }
4314
+ }
4315
+
4274
4316
  class TransactionMetaField extends TransactionMetaField$1 {
4275
4317
  }
4276
4318
  __decorate([
@@ -4674,13 +4716,13 @@ class SoleInvoice extends SoleInvoice$1 {
4674
4716
  */
4675
4717
  get inclusiveGSTAmount() {
4676
4718
  const gstPrice = this.itemsCollection.gstPrice;
4677
- return gstPrice - (gstPrice / (1 + ChartAccounts.GSTRatio));
4719
+ return round(gstPrice - (gstPrice / (1 + ChartAccounts.GSTRatio)), 2);
4678
4720
  }
4679
4721
  /**
4680
4722
  * When tax exclusive, GST amount should be added additionally to total price
4681
4723
  */
4682
4724
  get exclusiveGSTAmount() {
4683
- return this.itemsCollection.gstPrice * ChartAccounts.GSTRatio;
4725
+ return round(this.itemsCollection.gstPrice * ChartAccounts.GSTRatio, 2);
4684
4726
  }
4685
4727
  isDraft() {
4686
4728
  return this.status === SoleInvoiceStatusesEnum.DRAFT;
@@ -4796,7 +4838,7 @@ class LogbookPeriod {
4796
4838
  }
4797
4839
  getWorkUsageByClaim(claim) {
4798
4840
  const claimKilometers = this.logbooks.getByVehicleClaim(claim).getClaimableLogbooks().kilometers;
4799
- return this.workUsage * (claimKilometers / this.kilometers);
4841
+ return round(this.workUsage * (claimKilometers / this.kilometers), 2);
4800
4842
  }
4801
4843
  }
4802
4844
  __decorate([
@@ -4895,7 +4937,7 @@ class VehicleClaim extends VehicleClaim$1 {
4895
4937
  * Claim amount for KMs method. Exists only for KMs method.
4896
4938
  */
4897
4939
  getKMSClaimAmount(vehicleClaimRate) {
4898
- return this.kilometers * vehicleClaimRate;
4940
+ return round(this.kilometers * vehicleClaimRate, 2);
4899
4941
  }
4900
4942
  /**
4901
4943
  * Get logbook claim amount. Exists only for logbook method.
@@ -5745,7 +5787,8 @@ class DepreciationCollection extends Collection {
5745
5787
  return this.items.reduce((sum, depreciation) => sum + depreciation.currentYearForecast.claimAmount, 0);
5746
5788
  }
5747
5789
  getClaimedAmountByYear(year = +localStorage.getItem('financialYear')) {
5748
- return this.amount - this.items.reduce((sum, depreciation) => sum + depreciation.getCloseBalanceByYear(year), 0);
5790
+ const closeBalance = this.items.reduce((sum, depreciation) => sum + depreciation.getCloseBalanceByYear(year), 0);
5791
+ return round(this.amount - closeBalance, 2);
5749
5792
  }
5750
5793
  getClaimAmountByYear(year = +localStorage.getItem('financialYear')) {
5751
5794
  return this.items.reduce((sum, depreciation) => sum + depreciation.getClaimAmountByYear(year), 0);
@@ -5893,7 +5936,7 @@ class PropertyReportItem extends AbstractModel {
5893
5936
  this.description = chartAccounts.name;
5894
5937
  }
5895
5938
  get claimAmount() {
5896
- return +(this.amount * (this.claimPercent / 100)).toFixed(2);
5939
+ return round(this.amount * (this.claimPercent / 100), 2);
5897
5940
  }
5898
5941
  get shareClaimAmount() {
5899
5942
  return this.claimAmount * (this.sharePercent / 100);
@@ -5996,7 +6039,7 @@ class VehicleExpense extends AbstractModel {
5996
6039
  this.description = description;
5997
6040
  }
5998
6041
  getClaimAmount() {
5999
- return +(this.amount * (this.claimPercent / 100)).toFixed(2);
6042
+ return round(this.amount * (this.claimPercent / 100), 2);
6000
6043
  }
6001
6044
  }
6002
6045
 
@@ -6597,7 +6640,7 @@ class VehicleLogbookCollection extends Collection {
6597
6640
  */
6598
6641
  getWorkUsage() {
6599
6642
  const workKilometers = this.getClaimableLogbooks().kilometers;
6600
- return workKilometers / this.kilometers * 100;
6643
+ return round(workKilometers / this.kilometers * 100, 2);
6601
6644
  }
6602
6645
  /**
6603
6646
  * Get list of logbooks related to passed vehicle claim
@@ -6790,7 +6833,7 @@ class BankTransactionCollection extends Collection {
6790
6833
  * Difference between total bank transactions amount and sum of allocations for passed bank transactions
6791
6834
  */
6792
6835
  getUnallocatedAmount(allocations) {
6793
- return this.getAmount() - allocations.getByBankTransactionsIds(this.getIds()).amount;
6836
+ return round(this.getAmount() - allocations.getByBankTransactionsIds(this.getIds()).amount, 2);
6794
6837
  }
6795
6838
  /**
6796
6839
  * get date of the last transaction
@@ -7693,7 +7736,7 @@ class Property extends Property$1 {
7693
7736
  return this.purchasePrice + this.capitalCostsTotalAmount + sale.holdingCosts + sale.structuralImprovementsWDV - sale.buildingAtCostClaimed;
7694
7737
  }
7695
7738
  calculateGrossCapitalGain(sale) {
7696
- return (sale.netPrice - this.calculateCostBase(sale)) * this.getPartialCGTExemptionRatio(sale) * this.shareRatio;
7739
+ return round((sale.netPrice - this.calculateCostBase(sale)) * this.getPartialCGTExemptionRatio(sale) * this.shareRatio, 2);
7697
7740
  }
7698
7741
  /**
7699
7742
  * net capital gain includes tax exemption
@@ -8905,48 +8948,6 @@ class ClientPortfolioChartData {
8905
8948
  class ClientPortfolioReport extends AbstractModel {
8906
8949
  }
8907
8950
 
8908
- /**
8909
- * Income sources chart data
8910
- */
8911
- class IncomeSourceChartData {
8912
- constructor(forecastedIncomeAmount, transactions) {
8913
- this.forecastedIncomeAmount = forecastedIncomeAmount;
8914
- this.transactions = transactions;
8915
- }
8916
- /**
8917
- * Get prepared data for income sources chart
8918
- */
8919
- get() {
8920
- const chartData = [{
8921
- id: 'actualIncome',
8922
- name: 'Actual Income',
8923
- data: [],
8924
- // display future actual incomes with dash line and past actual incomes with solid line
8925
- zones: [{
8926
- // line style after current month
8927
- value: new FinancialYear().getMonthDate(new Date().getMonth()).getTime(),
8928
- dashStyle: 'Solid'
8929
- }, {
8930
- // default line style
8931
- dashStyle: 'Dash'
8932
- }]
8933
- }, {
8934
- id: 'forecastedIncome',
8935
- name: 'Forecasted Income',
8936
- data: [],
8937
- }];
8938
- for (const key in MonthNameShortEnum) {
8939
- if (MonthNameShortEnum.hasOwnProperty(key)) {
8940
- // transaction collection for provided month
8941
- const monthTransactionCollection = this.transactions.getByMonth(+MonthNumberEnum[key]);
8942
- chartData[0].data.push([new FinancialYear().getMonthDate(+MonthNumberEnum[key]).getTime(), monthTransactionCollection.amount]);
8943
- chartData[1].data.push([new FinancialYear().getMonthDate(+MonthNumberEnum[key]).getTime(), this.forecastedIncomeAmount / 12]);
8944
- }
8945
- }
8946
- return chartData;
8947
- }
8948
- }
8949
-
8950
8951
  const NAME_TOKEN = 'token';
8951
8952
  const NAME_REFRESH_TOKEN = 'refreshToken';
8952
8953
  class JwtService extends JwtHelperService {
@@ -11814,7 +11815,7 @@ class MyTaxRent {
11814
11815
  .findBy('taxReturnCategory.id', TaxReturnCategoryListEnum.BORROWING_EXPENSES)?.amount || 0);
11815
11816
  const otherRentalDeductionsAmount = Math.abs(this.taxSummaryPropertySection.items
11816
11817
  .findBy('taxReturnCategory.id', TaxReturnCategoryListEnum.OTHER_RENTAL_DEDUCTIONS)?.amount || 0);
11817
- return +Math.floor(plantAndEquipmentAmount + borrowingExpensesAmount + otherRentalDeductionsAmount).toFixed(2);
11818
+ return round(plantAndEquipmentAmount + borrowingExpensesAmount + otherRentalDeductionsAmount, 2);
11818
11819
  }
11819
11820
  }
11820
11821
 
@@ -17687,16 +17688,6 @@ function compare(a, b, isAsc) {
17687
17688
  return (a < b ? -1 : 1) * (isAsc ? 1 : -1);
17688
17689
  }
17689
17690
 
17690
- /**
17691
- * Function which round value to the provided decimals
17692
- * @param value to be rounded
17693
- * @param decimals: amount of decimals
17694
- */
17695
- function roundTo(value, decimals = 2) {
17696
- const multiplier = Math.pow(10, decimals);
17697
- return Math.round((value * 100) * multiplier) / multiplier;
17698
- }
17699
-
17700
17691
  /**
17701
17692
  * Filter predicate function to search inside TaxReview class fields
17702
17693
  * @param data in which query will be searched
@@ -18436,7 +18427,7 @@ class SoleBusinessLossForm extends AbstractForm {
18436
18427
  openBalance: new UntypedFormControl(loss.openBalance, [Validators.required, Validators.min(0)]),
18437
18428
  offsetRule: new UntypedFormControl(loss.offsetRule?.id),
18438
18429
  // sum of depreciations/transactions claim amount - openBalance
18439
- balance: new UntypedFormControl({ value: (profit - loss.openBalance), disabled: true }),
18430
+ balance: new UntypedFormControl({ value: round(profit - loss.openBalance, 2), disabled: true }),
18440
18431
  }, loss);
18441
18432
  this.loss = loss;
18442
18433
  this.get('openBalance').valueChanges.subscribe((openBalance) => {
@@ -20258,10 +20249,10 @@ class TransactionBaseForm extends AbstractForm {
20258
20249
  });
20259
20250
  }
20260
20251
  updateGstAmount() {
20261
- this.get('gstAmount').patchValue(this.amountWithGST - this.amount);
20252
+ this.get('gstAmount').patchValue(round(this.amountWithGST - this.amount, 2));
20262
20253
  }
20263
20254
  updateAmount() {
20264
- this.get('amount').patchValue(this.isGST ? this.amountWithGST / ChartAccounts.GSTCoefficient : this.amountWithGST);
20255
+ this.get('amount').patchValue(this.isGST ? round(this.amountWithGST / ChartAccounts.GSTCoefficient, 2) : this.amountWithGST);
20265
20256
  }
20266
20257
  isGstApplicable() {
20267
20258
  return !!this.registeredForGst && !!this.model.business;
@@ -20523,7 +20514,7 @@ class WorkExpenseForm extends WorkTransactionForm {
20523
20514
  // for home office hours expense amount is a fixed rate per hour
20524
20515
  this.get('amount').reset();
20525
20516
  this.get('amount').disable();
20526
- this.get('amount').setValue((this.get('chartAccounts').value.getCurrentYearValue().value * +hoursMetaField.value));
20517
+ this.get('amount').setValue(round(this.get('chartAccounts').value.getCurrentYearValue().value * +hoursMetaField.value, 2));
20527
20518
  });
20528
20519
  }
20529
20520
  }
@@ -20768,5 +20759,5 @@ var MessagesEnum;
20768
20759
  * Generated bundle index. Do not edit.
20769
20760
  */
20770
20761
 
20771
- export { AbstractForm, AbstractModel, AccountSetupItem, AccountSetupItemCollection, AccountSetupService, Address, AddressForm, AddressService, AddressTypeEnum, AllocationGroup, AllocationGroupCollection, AllocationRule, AllocationRuleCollection, AllocationRuleConditionComparisonOperatorEnum, AllocationRuleConditionFieldEnum, AllocationRuleConditionOperatorEnum, AllocationRuleForm, AllocationRuleService, AllocationRuleTransaction, AllocationRuleTransactionMetaField, AllocationRuleTypeEnum, AlphabetColorsEnum, AnnualClientDetails, AnnualClientDetailsForm, AnnualClientDetailsService, AnnualFrequencyEnum, AppEvent, AppEvent2, AppEventTypeEnum, AppFile, AssetEntityTypeEnum, AssetSale, AssetSaleCollection, AssetTypeEnum, AssetsService, AuthService, BANK_ACCOUNT_TYPES, 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, BankTransactionCalculationService, BankTransactionChartData, BankTransactionCollection, BankTransactionService, BankTransactionSummaryFieldsEnum, BankTransactionTypeEnum, BasReport, BasReportForm, BasReportService, BasiqConfig, BasiqJob, BasiqJobResponse, BasiqJobStep, BasiqMessagesEnum, BasiqService, BasiqToken, BasiqTokenService, BorrowingExpense, BorrowingExpenseLoan, BorrowingExpenseService, BusinessTypeEnum, CAPITAL_COSTS_ITEMS, CHART_ACCOUNTS_CATEGORIES, CalculationFormItem, CalculationFormTypeEnum, CgtExemptionAndRolloverCodeEnum, ChartAccounts, ChartAccountsCategoryECollection, ChartAccountsCategoryEnum, ChartAccountsCollection, ChartAccountsDepreciation, ChartAccountsDepreciationService, ChartAccountsEtpEnum, ChartAccountsHeading, ChartAccountsHeadingListEnum, ChartAccountsHeadingTaxDeductibleEnum, ChartAccountsHeadingTaxableEnum, ChartAccountsHeadingVehicleListEnum, ChartAccountsHoldingUntaxedIncomeListEnum, ChartAccountsInvoiceExpenseEnum, ChartAccountsKeepSign, ChartAccountsListEnum, ChartAccountsMetaField, ChartAccountsMetaFieldListEnum, ChartAccountsMetaFieldTypeEnum, ChartAccountsSalaryAdjustmentsListEnum, ChartAccountsSalaryIncludedListEnum, ChartAccountsService, ChartAccountsTaxLabelsEnum, ChartAccountsTypeEnum, ChartAccountsValue, ChartData, ChartSerie, Chat, ChatCollection, ChatService, ChatStatusEnum, ChatViewTypeEnum, ClientCollection, ClientDetails, ClientDetailsMedicareExemptionEnum, ClientDetailsWorkDepreciationCalculationEnum, ClientDetailsWorkingHolidayMakerEnum, ClientIncomeTypes, ClientIncomeTypesForm, ClientIncomeTypesService, ClientInvite, ClientInviteCollection, ClientInviteService, ClientInviteStatusEnum, ClientInviteTypeEnum, ClientMovement, ClientMovementCollection, ClientMovementService, ClientPortfolioChartData, ClientPortfolioReport, ClientPortfolioReportCollection, ClientPortfolioReportService, Collection, CollectionDictionary, CorelogicService, CorelogicSuggestion, Country, DEDUCTION_CATEGORIES, DEPRECIATION_GROUPS, DOCUMENT_FILE_TYPES, DeductionClothingTypeEnum, DeductionSelfEducationTypeEnum, Depreciation, DepreciationCalculationEnum, DepreciationCalculationPercentEnum, DepreciationCapitalProject, DepreciationCapitalProjectService, DepreciationCollection, DepreciationForecast, DepreciationForecastCollection, DepreciationForm, DepreciationGroup, DepreciationGroupEnum, DepreciationGroupItem, DepreciationLvpAssetTypeEnum, DepreciationLvpRateEnum, DepreciationLvpReportItem, DepreciationLvpReportItemCollection, DepreciationReceipt, DepreciationReceiptService, DepreciationReportItem, DepreciationReportItemCollection, DepreciationService, DepreciationTypeEnum, DepreciationWriteOffAmountEnum, Dictionary, Document, DocumentApiUrlPrefixEnum, DocumentFolder, DocumentFolderService, DocumentService, DocumentTypeEnum, ENDPOINTS, EmployeeCollection, EmployeeDetails, EmployeeInvite, EmployeeInviteService, EmployeeService, Endpoint, EquityPositionChartService, EventDispatcherService, ExportDataTable, ExportFormatEnum, ExportFormatterService, ExportableCollection, FacebookService, FileService, FileValidator, FinancialYear, Firm, FirmService, FirmTypeEnum, FormValidationsEnum, GoogleService, HeaderTitleService, Holding, HoldingCollection, HoldingForm, HoldingIncomeForm, HoldingMessagesEnum, HoldingReinvest, HoldingReinvestForm, HoldingSale, HoldingSaleCollection, HoldingSaleForm, HoldingSaleMessagesEnum, HoldingSaleService, HoldingService, HoldingType, HoldingTypeCategoryEnum, HoldingTypeCollection, HoldingTypeExchange, HoldingTypeExchangeService, HoldingTypeForm, HoldingTypeMessagesEnum, HoldingTypeService, IconsFileEnum, IncomeAmountTypeEnum, IncomePosition, IncomeSource, IncomeSourceChartData, IncomeSourceCollection, IncomeSourceForecast, IncomeSourceForecastService, IncomeSourceForecastTrustTypeEnum, IncomeSourceService, IncomeSourceType, IncomeSourceTypeEnum, IncomeSourceTypeListHoldingEnum, IncomeSourceTypeListOtherEnum, IncomeSourceTypeListSoleEnum, IncomeSourceTypeListWorkEnum, IncomeSourceTypeService, InterceptorsModule, IntercomService, InviteStatusEnum, JsPdf, JwtService, Loan, LoanBankTypeEnum, LoanCollection, LoanForm, LoanFrequencyEnum, LoanInterestTypeEnum, LoanMaxNumberOfPaymentsEnum, LoanPayment, LoanPaymentCollection, LoanPayout, LoanPayoutTypeEnum, LoanRepaymentFrequencyEnum, LoanRepaymentTypeEnum, LoanService, LoanTypeEnum, LoanVehicleTypeEnum, LogbookBestPeriodService, LogbookPeriod, LoginForm, LossTypeEnum, MODULE_URL_LIST, MONTHS, Message, MessageCollection, MessageDocument, MessageDocumentCollection, MessageDocumentService, MessageService, MessagesEnum, 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, PdfSettings, Phone, PhoneForm, PhoneTypeEnum, PreloaderService, Property, PropertyCalculationService, PropertyCategory, PropertyCategoryListEnum, PropertyCategoryMovement, PropertyCategoryMovementCollection, PropertyCategoryMovementService, PropertyCategoryService, PropertyCollection, PropertyDepreciationCalculationEnum, PropertyDocument, PropertyDocumentService, PropertyEquityChartData, PropertyEquityChartItem, PropertyEquityChartTypeEnum, PropertyForecast, PropertyReportItem, PropertyReportItemCollection, PropertyReportItemDepreciation, PropertyReportItemDepreciationCollection, PropertyReportItemTransaction, PropertyReportItemTransactionCollection, PropertySale, PropertySaleCollection, PropertySaleCostBase, PropertySaleCostBaseForm, PropertySaleCostSaleForm, PropertySaleExemptionsForm, PropertySaleService, PropertySaleTaxExemptionMetaField, PropertySaleTaxExemptionMetaFieldCollection, PropertyService, PropertyShare, PropertyShareAccessEnum, PropertyShareCollection, PropertyShareService, PropertyShareStatusEnum, PropertySubscription, PropertyTransactionReportService, PropertyValuation, ReceiptService, RegisterClientForm, RegisterFirmForm, RegistrationInvite, RegistrationInviteStatusEnum, ReportItem, ReportItemCollection, ReportItemDetails, ResetPasswordForm, RestService$1 as RestService, RewardfulService, SalaryForecast, SalaryForecastFrequencyEnum, SalaryForecastService, ServiceNotificationService, ServiceNotificationStatusEnum, ServiceNotificationTypeEnum, ServicePayment, ServicePaymentMethod, ServicePaymentMethodService, ServicePaymentService, ServicePaymentStatusEnum, ServicePrice, ServicePriceCollection, ServicePriceRecurringIntervalEnum, ServicePriceService, ServicePriceTypeEnum, ServiceProduct, ServiceProductCollection, ServiceProductIdEnum, ServiceProductService, ServiceProductStatusEnum, ServicePromoCode, ServiceSubscription, ServiceSubscriptionCollection, ServiceSubscriptionItem, ServiceSubscriptionStatusEnum, ShareFilterOptionsEnum, SoleBusiness, SoleBusinessActivity, SoleBusinessActivityService, SoleBusinessAllocation, SoleBusinessAllocationsForm, SoleBusinessForm, SoleBusinessLoss, SoleBusinessLossForm, SoleBusinessLossOffsetRule, SoleBusinessLossOffsetRuleService, SoleBusinessLossReport, SoleBusinessLossService, SoleBusinessLossesCollection, SoleBusinessService, SoleContact, SoleContactForm, SoleContactService, SoleDepreciationMethod, SoleDepreciationMethodEnum, SoleDepreciationMethodForm, SoleDepreciationMethodService, SoleDetails, SoleDetailsForm, SoleDetailsService, SoleForecast, SoleForecastService, SoleInvoice, SoleInvoiceCollection, SoleInvoiceForm, SoleInvoiceItem, SoleInvoiceItemCollection, SoleInvoiceItemForm, SoleInvoiceService, SoleInvoiceStatusesEnum, SoleInvoiceTaxTypeEnum, SoleInvoiceTemplate, SoleInvoiceTemplateForm, SoleInvoiceTemplateService, SoleInvoiceTemplateTaxTypeEnum, SpareDocumentSpareTypeEnum, SseService, StatesEnum, SubscriptionItemCollection, SubscriptionService, TAX_RETURN_CATEGORIES, TYPE_LOAN, TankTypeEnum, TaxCalculationMedicareExemptionEnum, TaxCalculationTypeEnum, TaxExemption, TaxExemptionEnum, TaxExemptionMetaField, TaxExemptionMetaFieldEnum, TaxExemptionService, TaxReturnCategoryListEnum, TaxReturnCategorySectionEnum, TaxReview, TaxReviewCollection, TaxReviewHistoryService, TaxReviewService, TaxReviewStatusEnum, TaxSummary, TaxSummaryListEnum, TaxSummarySection, TaxSummarySectionEnum, TaxSummaryService, TaxSummaryTaxSummaryEnum, TaxSummaryTypeEnum, TicketFeedbackEnum, TicketStatusEnum, TicketTypesEnum, Toast, ToastService, ToastTypeEnum, Transaction, TransactionAllocation, TransactionAllocationCollection, TransactionAllocationService, TransactionBase, TransactionBaseForm, TransactionCalculationService, TransactionCategoryEnum, TransactionCollection, TransactionForm, TransactionMetaField, TransactionOperationEnum, TransactionReceipt, TransactionReceiptService, TransactionService, TransactionSourceEnum, TransactionTypeEnum, TtCoreModule, TutorialVideoService, USER_ROLES, USER_WORK_POSITION, User, UserEventSetting, UserEventSettingCollection, UserEventSettingFieldEnum, UserEventSettingService, UserEventStatusEnum, UserEventType, UserEventTypeCategory, UserEventTypeClientTypeEnum, UserEventTypeCollection, UserEventTypeEmployeeTypeEnum, UserEventTypeFrequencyEnum, UserEventTypeService, UserEventTypeUserTypeEnum, UserInviteForm, UserMedicareExemptionEnum, UserRolesEnum, UserService, UserStatusEnum, UserSwitcherService, UserTitleEnum, UserToRegister, UserWorkDepreciationCalculationEnum, UserWorkingHolidayMakerEnum, UsersInviteService, Vehicle, VehicleClaim, VehicleClaimCollection, VehicleClaimDetails, VehicleClaimDetailsForm, VehicleClaimDetailsMethodEnum, VehicleClaimDetailsService, VehicleClaimForm, VehicleClaimService, VehicleExpense, VehicleExpenseCollection, VehicleForm, VehicleLogbook, VehicleLogbookCollection, VehicleLogbookForm, VehicleLogbookPurposeEnum, VehicleLogbookService, VehicleService, WorkExpenseForm, WorkIncomeForm, XlsxService, atLeastOneCheckedValidator, atoLinks, autocompleteValidator, cloneDeep, compare, compareMatOptions, conditionalValidator, createDate, currentFinYearValidator, displayMatOptions, enumToList, fieldsSumValidator, getDocIcon, greaterThanValidator, minDateValidator, passwordMatchValidator, passwordValidator, replace, roundTo, sort, sortDeep, taxReviewFilterPredicate, toArray };
20762
+ export { AbstractForm, AbstractModel, AccountSetupItem, AccountSetupItemCollection, AccountSetupService, Address, AddressForm, AddressService, AddressTypeEnum, AllocationGroup, AllocationGroupCollection, AllocationRule, AllocationRuleCollection, AllocationRuleConditionComparisonOperatorEnum, AllocationRuleConditionFieldEnum, AllocationRuleConditionOperatorEnum, AllocationRuleForm, AllocationRuleService, AllocationRuleTransaction, AllocationRuleTransactionMetaField, AllocationRuleTypeEnum, AlphabetColorsEnum, AnnualClientDetails, AnnualClientDetailsForm, AnnualClientDetailsService, AnnualFrequencyEnum, AppEvent, AppEvent2, AppEventTypeEnum, AppFile, AssetEntityTypeEnum, AssetSale, AssetSaleCollection, AssetTypeEnum, AssetsService, AuthService, BANK_ACCOUNT_TYPES, 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, BankTransactionCalculationService, BankTransactionChartData, BankTransactionCollection, BankTransactionService, BankTransactionSummaryFieldsEnum, BankTransactionTypeEnum, BasReport, BasReportForm, BasReportService, BasiqConfig, BasiqJob, BasiqJobResponse, BasiqJobStep, BasiqMessagesEnum, BasiqService, BasiqToken, BasiqTokenService, BorrowingExpense, BorrowingExpenseLoan, BorrowingExpenseService, BusinessTypeEnum, CAPITAL_COSTS_ITEMS, CHART_ACCOUNTS_CATEGORIES, CalculationFormItem, CalculationFormTypeEnum, CgtExemptionAndRolloverCodeEnum, ChartAccounts, ChartAccountsCategoryECollection, ChartAccountsCategoryEnum, ChartAccountsCollection, ChartAccountsDepreciation, ChartAccountsDepreciationService, ChartAccountsEtpEnum, ChartAccountsHeading, ChartAccountsHeadingListEnum, ChartAccountsHeadingTaxDeductibleEnum, ChartAccountsHeadingTaxableEnum, ChartAccountsHeadingVehicleListEnum, ChartAccountsHoldingUntaxedIncomeListEnum, ChartAccountsInvoiceExpenseEnum, ChartAccountsKeepSign, ChartAccountsListEnum, ChartAccountsMetaField, ChartAccountsMetaFieldListEnum, ChartAccountsMetaFieldTypeEnum, ChartAccountsSalaryAdjustmentsListEnum, ChartAccountsSalaryIncludedListEnum, ChartAccountsService, ChartAccountsTaxLabelsEnum, ChartAccountsTypeEnum, ChartAccountsValue, ChartData, ChartSerie, Chat, ChatCollection, ChatService, ChatStatusEnum, ChatViewTypeEnum, ClientCollection, ClientDetails, ClientDetailsMedicareExemptionEnum, ClientDetailsWorkDepreciationCalculationEnum, ClientDetailsWorkingHolidayMakerEnum, ClientIncomeTypes, ClientIncomeTypesForm, ClientIncomeTypesService, ClientInvite, ClientInviteCollection, ClientInviteService, ClientInviteStatusEnum, ClientInviteTypeEnum, ClientMovement, ClientMovementCollection, ClientMovementService, ClientPortfolioChartData, ClientPortfolioReport, ClientPortfolioReportCollection, ClientPortfolioReportService, Collection, CollectionDictionary, CorelogicService, CorelogicSuggestion, Country, DEDUCTION_CATEGORIES, DEPRECIATION_GROUPS, DOCUMENT_FILE_TYPES, DeductionClothingTypeEnum, DeductionSelfEducationTypeEnum, Depreciation, DepreciationCalculationEnum, DepreciationCalculationPercentEnum, DepreciationCapitalProject, DepreciationCapitalProjectService, DepreciationCollection, DepreciationForecast, DepreciationForecastCollection, DepreciationForm, DepreciationGroup, DepreciationGroupEnum, DepreciationGroupItem, DepreciationLvpAssetTypeEnum, DepreciationLvpRateEnum, DepreciationLvpReportItem, DepreciationLvpReportItemCollection, DepreciationReceipt, DepreciationReceiptService, DepreciationReportItem, DepreciationReportItemCollection, DepreciationService, DepreciationTypeEnum, DepreciationWriteOffAmountEnum, Dictionary, Document, DocumentApiUrlPrefixEnum, DocumentFolder, DocumentFolderService, DocumentService, DocumentTypeEnum, ENDPOINTS, EmployeeCollection, EmployeeDetails, EmployeeInvite, EmployeeInviteService, EmployeeService, Endpoint, EquityPositionChartService, EventDispatcherService, ExportDataTable, ExportFormatEnum, ExportFormatterService, ExportableCollection, FacebookService, FileService, FileValidator, FinancialYear, Firm, FirmService, FirmTypeEnum, FormValidationsEnum, GoogleService, HeaderTitleService, Holding, HoldingCollection, HoldingForm, HoldingIncomeForm, HoldingMessagesEnum, HoldingReinvest, HoldingReinvestForm, HoldingSale, HoldingSaleCollection, HoldingSaleForm, HoldingSaleMessagesEnum, HoldingSaleService, HoldingService, HoldingType, HoldingTypeCategoryEnum, HoldingTypeCollection, HoldingTypeExchange, HoldingTypeExchangeService, HoldingTypeForm, HoldingTypeMessagesEnum, HoldingTypeService, IconsFileEnum, IncomeAmountTypeEnum, IncomePosition, IncomeSource, IncomeSourceChartData, IncomeSourceCollection, IncomeSourceForecast, IncomeSourceForecastService, IncomeSourceForecastTrustTypeEnum, IncomeSourceService, IncomeSourceType, IncomeSourceTypeEnum, IncomeSourceTypeListHoldingEnum, IncomeSourceTypeListOtherEnum, IncomeSourceTypeListSoleEnum, IncomeSourceTypeListWorkEnum, IncomeSourceTypeService, InterceptorsModule, IntercomService, InviteStatusEnum, JsPdf, JwtService, Loan, LoanBankTypeEnum, LoanCollection, LoanForm, LoanFrequencyEnum, LoanInterestTypeEnum, LoanMaxNumberOfPaymentsEnum, LoanPayment, LoanPaymentCollection, LoanPayout, LoanPayoutTypeEnum, LoanRepaymentFrequencyEnum, LoanRepaymentTypeEnum, LoanService, LoanTypeEnum, LoanVehicleTypeEnum, LogbookBestPeriodService, LogbookPeriod, LoginForm, LossTypeEnum, MODULE_URL_LIST, MONTHS, Message, MessageCollection, MessageDocument, MessageDocumentCollection, MessageDocumentService, MessageService, MessagesEnum, 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, PdfSettings, Phone, PhoneForm, PhoneTypeEnum, PreloaderService, Property, PropertyCalculationService, PropertyCategory, PropertyCategoryListEnum, PropertyCategoryMovement, PropertyCategoryMovementCollection, PropertyCategoryMovementService, PropertyCategoryService, PropertyCollection, PropertyDepreciationCalculationEnum, PropertyDocument, PropertyDocumentService, PropertyEquityChartData, PropertyEquityChartItem, PropertyEquityChartTypeEnum, PropertyForecast, PropertyReportItem, PropertyReportItemCollection, PropertyReportItemDepreciation, PropertyReportItemDepreciationCollection, PropertyReportItemTransaction, PropertyReportItemTransactionCollection, PropertySale, PropertySaleCollection, PropertySaleCostBase, PropertySaleCostBaseForm, PropertySaleCostSaleForm, PropertySaleExemptionsForm, PropertySaleService, PropertySaleTaxExemptionMetaField, PropertySaleTaxExemptionMetaFieldCollection, PropertyService, PropertyShare, PropertyShareAccessEnum, PropertyShareCollection, PropertyShareService, PropertyShareStatusEnum, PropertySubscription, PropertyTransactionReportService, PropertyValuation, ReceiptService, RegisterClientForm, RegisterFirmForm, RegistrationInvite, RegistrationInviteStatusEnum, ReportItem, ReportItemCollection, ReportItemDetails, ResetPasswordForm, RestService$1 as RestService, RewardfulService, SalaryForecast, SalaryForecastFrequencyEnum, SalaryForecastService, ServiceNotificationService, ServiceNotificationStatusEnum, ServiceNotificationTypeEnum, ServicePayment, ServicePaymentMethod, ServicePaymentMethodService, ServicePaymentService, ServicePaymentStatusEnum, ServicePrice, ServicePriceCollection, ServicePriceRecurringIntervalEnum, ServicePriceService, ServicePriceTypeEnum, ServiceProduct, ServiceProductCollection, ServiceProductIdEnum, ServiceProductService, ServiceProductStatusEnum, ServicePromoCode, ServiceSubscription, ServiceSubscriptionCollection, ServiceSubscriptionItem, ServiceSubscriptionStatusEnum, ShareFilterOptionsEnum, SoleBusiness, SoleBusinessActivity, SoleBusinessActivityService, SoleBusinessAllocation, SoleBusinessAllocationsForm, SoleBusinessForm, SoleBusinessLoss, SoleBusinessLossForm, SoleBusinessLossOffsetRule, SoleBusinessLossOffsetRuleService, SoleBusinessLossReport, SoleBusinessLossService, SoleBusinessLossesCollection, SoleBusinessService, SoleContact, SoleContactForm, SoleContactService, SoleDepreciationMethod, SoleDepreciationMethodEnum, SoleDepreciationMethodForm, SoleDepreciationMethodService, SoleDetails, SoleDetailsForm, SoleDetailsService, SoleForecast, SoleForecastService, SoleInvoice, SoleInvoiceCollection, SoleInvoiceForm, SoleInvoiceItem, SoleInvoiceItemCollection, SoleInvoiceItemForm, SoleInvoiceService, SoleInvoiceStatusesEnum, SoleInvoiceTaxTypeEnum, SoleInvoiceTemplate, SoleInvoiceTemplateForm, SoleInvoiceTemplateService, SoleInvoiceTemplateTaxTypeEnum, SpareDocumentSpareTypeEnum, SseService, StatesEnum, SubscriptionItemCollection, SubscriptionService, TAX_RETURN_CATEGORIES, TYPE_LOAN, TankTypeEnum, TaxCalculationMedicareExemptionEnum, TaxCalculationTypeEnum, TaxExemption, TaxExemptionEnum, TaxExemptionMetaField, TaxExemptionMetaFieldEnum, TaxExemptionService, TaxReturnCategoryListEnum, TaxReturnCategorySectionEnum, TaxReview, TaxReviewCollection, TaxReviewHistoryService, TaxReviewService, TaxReviewStatusEnum, TaxSummary, TaxSummaryListEnum, TaxSummarySection, TaxSummarySectionEnum, TaxSummaryService, TaxSummaryTaxSummaryEnum, TaxSummaryTypeEnum, TicketFeedbackEnum, TicketStatusEnum, TicketTypesEnum, Toast, ToastService, ToastTypeEnum, Transaction, TransactionAllocation, TransactionAllocationCollection, TransactionAllocationService, TransactionBase, TransactionBaseForm, TransactionCalculationService, TransactionCategoryEnum, TransactionCollection, TransactionForm, TransactionMetaField, TransactionOperationEnum, TransactionReceipt, TransactionReceiptService, TransactionService, TransactionSourceEnum, TransactionTypeEnum, TtCoreModule, TutorialVideoService, USER_ROLES, USER_WORK_POSITION, User, UserEventSetting, UserEventSettingCollection, UserEventSettingFieldEnum, UserEventSettingService, UserEventStatusEnum, UserEventType, UserEventTypeCategory, UserEventTypeClientTypeEnum, UserEventTypeCollection, UserEventTypeEmployeeTypeEnum, UserEventTypeFrequencyEnum, UserEventTypeService, UserEventTypeUserTypeEnum, UserInviteForm, UserMedicareExemptionEnum, UserRolesEnum, UserService, UserStatusEnum, UserSwitcherService, UserTitleEnum, UserToRegister, UserWorkDepreciationCalculationEnum, UserWorkingHolidayMakerEnum, UsersInviteService, Vehicle, VehicleClaim, VehicleClaimCollection, VehicleClaimDetails, VehicleClaimDetailsForm, VehicleClaimDetailsMethodEnum, VehicleClaimDetailsService, VehicleClaimForm, VehicleClaimService, VehicleExpense, VehicleExpenseCollection, VehicleForm, VehicleLogbook, VehicleLogbookCollection, VehicleLogbookForm, VehicleLogbookPurposeEnum, VehicleLogbookService, VehicleService, WorkExpenseForm, WorkIncomeForm, XlsxService, atLeastOneCheckedValidator, atoLinks, autocompleteValidator, cloneDeep, compare, compareMatOptions, conditionalValidator, createDate, currentFinYearValidator, displayMatOptions, enumToList, fieldsSumValidator, getDocIcon, greaterThanValidator, minDateValidator, passwordMatchValidator, passwordValidator, replace, sort, sortDeep, taxReviewFilterPredicate, toArray };
20772
20763
  //# sourceMappingURL=taxtank-core.mjs.map