taxtank-core 0.28.42 → 0.28.44

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.
@@ -5807,6 +5807,64 @@ class VehicleLogbookCollection extends Collection {
5807
5807
  }
5808
5808
  }
5809
5809
 
5810
+ /**
5811
+ * List of objects grouped by passed property
5812
+ */
5813
+ class Dictionary {
5814
+ constructor(items, path = 'id') {
5815
+ this.items = {};
5816
+ if (!items.length) {
5817
+ return;
5818
+ }
5819
+ // Do nothing if provided path was not found in the 1st item
5820
+ if (!hasIn(items[0], path.split('.')[0])) {
5821
+ return;
5822
+ }
5823
+ this.groupItems(items, path);
5824
+ }
5825
+ add(key, value) {
5826
+ this.items[key] = value;
5827
+ }
5828
+ get(key) {
5829
+ return this.items[key] !== undefined ? this.items[key] : null;
5830
+ }
5831
+ groupItems(items, path) {
5832
+ items.forEach((item) => {
5833
+ let key = get(item, path);
5834
+ // if object does not have property for grouping it will be grouped as 'other'
5835
+ if (key === undefined) {
5836
+ key = 'other';
5837
+ }
5838
+ this.items[key] = item;
5839
+ });
5840
+ }
5841
+ }
5842
+
5843
+ class SoleBusinessLossesCollection extends Collection {
5844
+ /**
5845
+ * Calculate business losses applied to the current year
5846
+ */
5847
+ calculateBusinessLossApplied(transactions) {
5848
+ const transactionsByBusinessIds = new CollectionDictionary(transactions, 'business.id');
5849
+ // Dictionary with pairs key = business id, value = business claim amount
5850
+ const claimAmountsByBusinessId = new Dictionary([]);
5851
+ transactionsByBusinessIds.keys.forEach((businessId) => {
5852
+ const businessClaimAmount = transactionsByBusinessIds
5853
+ .get(businessId)
5854
+ .getClaimAmountByBusinessId(+businessId);
5855
+ // only businesses with positive income are included in the calculation
5856
+ if (businessClaimAmount > 0) {
5857
+ claimAmountsByBusinessId.add(businessId, businessClaimAmount);
5858
+ }
5859
+ });
5860
+ return Object.keys(claimAmountsByBusinessId.items).reduce((sum, businessId) => {
5861
+ var _a;
5862
+ const lossOpenBalance = ((_a = this.findBy('business.id', +businessId)) === null || _a === void 0 ? void 0 : _a.openBalance) || 0;
5863
+ return sum + Math.min(lossOpenBalance, claimAmountsByBusinessId.get(businessId));
5864
+ }, 0);
5865
+ }
5866
+ }
5867
+
5810
5868
  class SoleInvoiceCollection extends Collection {
5811
5869
  getOverdue() {
5812
5870
  return this.filter((invoice) => invoice.isOverdue());
@@ -6228,8 +6286,14 @@ class TransactionAllocationCollection extends Collection {
6228
6286
  }
6229
6287
 
6230
6288
  class TransactionBaseCollection extends Collection {
6231
- getClaimAmountByBusiness(business) {
6232
- return +this.filterBy('business.id', business.id).items.map((transaction) => transaction instanceof Depreciation ? -transaction.claimAmount : transaction['claimAmount']).reduce((sum, claimAmount) => sum + claimAmount, 0).toFixed(2);
6289
+ getClaimAmountByBusinessId(businessId) {
6290
+ return +this.filterBy('business.id', businessId).items.map((transaction) => transaction instanceof Depreciation ? -transaction.claimAmount : transaction['claimAmount']).reduce((sum, claimAmount) => sum + claimAmount, 0).toFixed(2);
6291
+ }
6292
+ /**
6293
+ * Get business related transactions
6294
+ */
6295
+ getWithBusiness() {
6296
+ return this.filter((transaction) => !!transaction.business);
6233
6297
  }
6234
6298
  }
6235
6299
 
@@ -6401,39 +6465,6 @@ class MessageCollection extends Collection {
6401
6465
  }
6402
6466
  }
6403
6467
 
6404
- /**
6405
- * List of objects grouped by passed property
6406
- */
6407
- class Dictionary {
6408
- constructor(items, path = 'id') {
6409
- this.items = {};
6410
- if (!items.length) {
6411
- return;
6412
- }
6413
- // Do nothing if provided path was not found in the 1st item
6414
- if (!hasIn(items[0], path.split('.')[0])) {
6415
- return;
6416
- }
6417
- this.groupItems(items, path);
6418
- }
6419
- add(key, value) {
6420
- this.items[key] = value;
6421
- }
6422
- get(key) {
6423
- return this.items[key] !== undefined ? this.items[key] : null;
6424
- }
6425
- groupItems(items, path) {
6426
- items.forEach((item) => {
6427
- let key = get(item, path);
6428
- // if object does not have property for grouping it will be grouped as 'other'
6429
- if (key === undefined) {
6430
- key = 'other';
6431
- }
6432
- this.items[key] = item;
6433
- });
6434
- }
6435
- }
6436
-
6437
6468
  var ChatStatusEnum;
6438
6469
  (function (ChatStatusEnum) {
6439
6470
  ChatStatusEnum[ChatStatusEnum["ACTIVE"] = 1] = "ACTIVE";
@@ -6995,6 +7026,18 @@ class ReportItemCollection extends Collection {
6995
7026
  }
6996
7027
  return this.create(result);
6997
7028
  }
7029
+ getByCategory(categoryId) {
7030
+ let result = [];
7031
+ for (let reportItem of this.items) {
7032
+ if (reportItem.taxReturnCategory.id === categoryId) {
7033
+ result.push(reportItem);
7034
+ }
7035
+ else if (reportItem.items && reportItem.items.getByCategory(categoryId).length) {
7036
+ result.push(...reportItem.items.getByCategory(categoryId));
7037
+ }
7038
+ }
7039
+ return result;
7040
+ }
6998
7041
  /**
6999
7042
  * Recursively find report item by Tax Return Category ID
7000
7043
  */
@@ -7014,17 +7057,35 @@ class ReportItemCollection extends Collection {
7014
7057
  return result;
7015
7058
  }
7016
7059
  /**
7017
- * Get Collection of report items by Tax Return Categories IDs
7060
+ * get Collection of report items by Tax Return Categories IDs (one item per category)
7018
7061
  */
7019
- getByCategories(categories) {
7062
+ findByCategories(categories) {
7020
7063
  return this.create(compact(categories.map((category) => this.findByCategory(category))));
7021
7064
  }
7065
+ /**
7066
+ * Get Collection of report items by Tax Return Categories IDs (all items per category)
7067
+ */
7068
+ getByCategories(categories) {
7069
+ const reportItems = [];
7070
+ categories.forEach((category) => {
7071
+ reportItems.push(...this.getByCategory(category));
7072
+ });
7073
+ return this.create(reportItems);
7074
+ }
7022
7075
  /**
7023
7076
  * A short call to a chain of methods that we often use.
7024
7077
  * Get total amount of report items by Tax Return categories and Tax Summary Section.
7025
7078
  */
7026
7079
  sumByCategoriesAndSection(categories, section) {
7027
- return this.getByCategories(categories).getBySection(section).sumBy('amount');
7080
+ return this.findByCategories(categories).getBySection(section).sumBy('amount');
7081
+ }
7082
+ /**
7083
+ * @TODO vik refactor once Nicole approved
7084
+ * unlike sumByCategoriesAndSection, which find just one reportItem per category,
7085
+ * this method will search for recursively for all matches
7086
+ */
7087
+ sumByCategories(categories) {
7088
+ return this.getByCategories(categories).sumBy('amount');
7028
7089
  }
7029
7090
  /**
7030
7091
  * Get collection of all report item details related to passed income source
@@ -7105,6 +7166,9 @@ var TaxReturnCategoryListEnum;
7105
7166
  TaxReturnCategoryListEnum[TaxReturnCategoryListEnum["TAX_OFFSETS_MIDDLE"] = 62] = "TAX_OFFSETS_MIDDLE";
7106
7167
  TaxReturnCategoryListEnum[TaxReturnCategoryListEnum["TAX_OFFSETS_SOLE"] = 63] = "TAX_OFFSETS_SOLE";
7107
7168
  TaxReturnCategoryListEnum[TaxReturnCategoryListEnum["TAX_PAYABLE"] = 28] = "TAX_PAYABLE";
7169
+ TaxReturnCategoryListEnum[TaxReturnCategoryListEnum["BUSINESS_INCOME_OR_LOSS"] = 59] = "BUSINESS_INCOME_OR_LOSS";
7170
+ TaxReturnCategoryListEnum[TaxReturnCategoryListEnum["DEFERRED_BUSINESS_LOSSES_FROM_PRIOR_YEAR"] = 64] = "DEFERRED_BUSINESS_LOSSES_FROM_PRIOR_YEAR";
7171
+ TaxReturnCategoryListEnum[TaxReturnCategoryListEnum["DEFERRED_BUSINESS_LOSSES"] = 60] = "DEFERRED_BUSINESS_LOSSES";
7108
7172
  })(TaxReturnCategoryListEnum || (TaxReturnCategoryListEnum = {}));
7109
7173
 
7110
7174
  const TAX_RETURN_CATEGORIES = {
@@ -7190,10 +7254,15 @@ const TAX_RETURN_CATEGORIES = {
7190
7254
  TaxReturnCategoryListEnum.RENT_EXPENSES,
7191
7255
  TaxReturnCategoryListEnum.INTEREST_EXPENSES_WITHIN_AUSTRALIA,
7192
7256
  TaxReturnCategoryListEnum.INTEREST_EXPENSES_OVERSEAS,
7193
- TaxReturnCategoryListEnum.DEPRECIATION_EXPENSES,
7194
7257
  TaxReturnCategoryListEnum.MOTOR_VEHICLE_EXPENSES,
7195
7258
  TaxReturnCategoryListEnum.ALL_OTHER_EXPENSES
7196
7259
  ],
7260
+ depreciation: [
7261
+ TaxReturnCategoryListEnum.DEPRECIATION_EXPENSES,
7262
+ ],
7263
+ loss: [
7264
+ TaxReturnCategoryListEnum.DEFERRED_BUSINESS_LOSSES_FROM_PRIOR_YEAR,
7265
+ ],
7197
7266
  taxOffsets: [
7198
7267
  TaxReturnCategoryListEnum.TAX_OFFSETS_SOLE
7199
7268
  ],
@@ -9155,11 +9224,15 @@ class MyTaxInterest {
9155
9224
  }
9156
9225
 
9157
9226
  /**
9158
- * @Todo waiting for Sole tank implementation
9227
+ * Sole business losses report
9228
+ * https://taxtank.atlassian.net/wiki/spaces/TAXTANK/pages/4644110466/Tax+Return+MyTax+-+Online+Form ("Losses" section)
9159
9229
  */
9160
9230
  class MyTaxLosses {
9161
- constructor(transactions) {
9162
- this.transactions = transactions.filterBy('chartAccounts.id', ChartAccountsListEnum.DIVIDENDS);
9231
+ constructor(transactions, businessLosses) {
9232
+ this.transactions = transactions;
9233
+ this.businessLosses = businessLosses;
9234
+ this.businessLossDeferred = businessLosses.sumBy('openBalance');
9235
+ this.businessLossApplied = businessLosses.calculateBusinessLossApplied(transactions);
9163
9236
  }
9164
9237
  }
9165
9238
 
@@ -9563,16 +9636,18 @@ class TaxSummary {
9563
9636
  get soleNetCash() {
9564
9637
  const income = this.sole.items.sumByCategoriesAndSection(TAX_RETURN_CATEGORIES.sole.income, TaxSummarySectionEnum.SOLE_TANK);
9565
9638
  const expenses = this.sole.items.sumByCategoriesAndSection(TAX_RETURN_CATEGORIES.sole.expenses, TaxSummarySectionEnum.SOLE_TANK);
9566
- return income - Math.abs(expenses);
9639
+ return income + expenses;
9567
9640
  }
9568
9641
  /**
9569
9642
  * Sole Net Total = Gross income - expenses
9570
9643
  * https://taxtank.atlassian.net/wiki/spaces/TAXTANK/pages/217677990/Dashboard+Main
9571
9644
  */
9572
9645
  get soleNetTotal() {
9573
- const income = this.sole.items.sumByCategoriesAndSection(TAX_RETURN_CATEGORIES.sole.income, TaxSummarySectionEnum.SOLE_TANK);
9574
- const expenses = this.sole.items.sumByCategoriesAndSection(TAX_RETURN_CATEGORIES.sole.expenses, TaxSummarySectionEnum.SOLE_TANK);
9575
- return income - Math.abs(expenses);
9646
+ const income = this.sole.items.sumByCategories(TAX_RETURN_CATEGORIES.sole.income);
9647
+ const expenses = this.sole.items.sumByCategories(TAX_RETURN_CATEGORIES.sole.expenses);
9648
+ const depreciation = this.sole.items.sumByCategories(TAX_RETURN_CATEGORIES.sole.expenses);
9649
+ const loss = this.sole.items.sumByCategories(TAX_RETURN_CATEGORIES.sole.loss);
9650
+ return income + expenses + depreciation - loss;
9576
9651
  }
9577
9652
  }
9578
9653
  __decorate([
@@ -9923,8 +9998,9 @@ class SoleInvoiceService extends RestService {
9923
9998
  this.isHydra = true;
9924
9999
  }
9925
10000
  updateStatus(invoice, status) {
10001
+ const updatedInvoice = Object.assign({}, invoice, { status });
9926
10002
  // use id only to avoid unexpected changes
9927
- return this.update(plainToClass(SoleInvoice, merge({}, { id: invoice.id }, { status })));
10003
+ return this.update(updatedInvoice);
9928
10004
  }
9929
10005
  publish(invoice, document) {
9930
10006
  // use id only to avoid unexpected changes
@@ -16249,12 +16325,12 @@ class MyTaxInterestForm extends AbstractForm {
16249
16325
  }
16250
16326
  }
16251
16327
 
16252
- /**
16253
- * @Todo waiting for Sole tank implementation
16254
- */
16255
16328
  class MyTaxLossesForm extends AbstractForm {
16256
16329
  constructor(losses) {
16257
- super({});
16330
+ super({
16331
+ businessLossDeferred: new FormControl(losses.businessLossDeferred),
16332
+ businessLossApplied: new FormControl(losses.businessLossApplied)
16333
+ });
16258
16334
  }
16259
16335
  }
16260
16336
 
@@ -16497,5 +16573,5 @@ VehicleLogbookForm.maxDescriptionLength = 60;
16497
16573
  * Generated bundle index. Do not edit.
16498
16574
  */
16499
16575
 
16500
- export { AbstractForm, AbstractModel, AccountSetupItem, AccountSetupItemCollection, AccountSetupService, Address, AddressForm, AddressService, AddressTypeEnum, AlphabetColorsEnum, AppEvent, AppEventTypeEnum, AssetEntityTypeEnum, AssetTypeEnum, AssetsService, AuthService, BANK_ACCOUNT_TYPES, Badge, BadgeColorEnum, Bank, BankAccount, BankAccountAddManualForm, BankAccountAllocationForm, BankAccountCalculationService, BankAccountChartData, BankAccountCollection, BankAccountImportForm, BankAccountPropertiesForm, BankAccountProperty, BankAccountService, BankAccountStatusEnum, BankAccountTypeEnum, BankAccountsImportForm, BankConnection, BankConnectionService, BankConnectionStatusEnum, BankExternalStats, BankLoginData, BankLoginForm, BankService, BankTransaction, BankTransactionCalculationService, BankTransactionChartData, BankTransactionCollection, BankTransactionService, BankTransactionSummaryFieldsEnum, BankTransactionTypeEnum, BasiqConfig, BasiqJob, BasiqJobResponse, BasiqJobStep, BasiqService, BasiqToken, BasiqTokenService, BorrowingExpense, BorrowingExpenseLoan, BorrowingExpenseService, CAPITAL_COSTS_ITEMS, CHART_ACCOUNTS_CATEGORIES, CalculationFormItem, CalculationFormTypeEnum, CgtExemptionAndRolloverCodeEnum, ChartAccounts, ChartAccountsCategoryECollection, ChartAccountsCategoryEnum, ChartAccountsCollection, ChartAccountsDepreciation, ChartAccountsDepreciationService, ChartAccountsEtpEnum, ChartAccountsHeading, ChartAccountsHeadingListEnum, ChartAccountsHeadingTaxDeductibleEnum, ChartAccountsHeadingTaxableEnum, ChartAccountsHeadingVehicleListEnum, ChartAccountsListEnum, ChartAccountsMetadata, ChartAccountsMetadataListEnum, ChartAccountsMetadataTypeEnum, 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, DepreciationGroup, DepreciationGroupEnum, DepreciationGroupItem, DepreciationLvpAssetTypeEnum, 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, FinancialYear, Firm, FirmService, FirmTypeEnum, HeaderTitleService, IconsFileEnum, IncomeAmountTypeEnum, IncomePosition, IncomeSource, IncomeSourceChartData, IncomeSourceCollection, IncomeSourceForecast, IncomeSourceForecastService, IncomeSourceForecastTrustTypeEnum, IncomeSourceService, IncomeSourceType, IncomeSourceTypeEnum, IncomeSourceTypeListOtherEnum, IncomeSourceTypeListSoleEnum, IncomeSourceTypeListWorkEnum, InterceptorsModule, IntercomService, InviteStatusEnum, JwtService, KompassifyService, Loan, LoanBankTypeEnum, LoanCollection, LoanForm, LoanFrequencyEnum, LoanInterestTypeEnum, LoanMaxNumberOfPaymentsEnum, LoanPayment, LoanPaymentCollection, LoanPayout, LoanPayoutTypeEnum, LoanRepaymentFrequencyEnum, LoanRepaymentTypeEnum, LoanService, LoanTypeEnum, LoanVehicleTypeEnum, LogbookBestPeriodService, LogbookPeriod, LoginForm, MODULE_URL_LIST, MONTHS, Message, MessageCollection, MessageDocument, MessageDocumentCollection, MessageDocumentService, MessageService, MonthNameShortEnum, MonthNumberEnum, MyAccountHistory, MyAccountHistoryInitiatedByEnum, MyAccountHistoryStatusEnum, MyAccountHistoryTypeEnum, MyTaxBusinessOrLosses, MyTaxBusinessOrLossesForm, MyTaxCgt, MyTaxCgtForm, MyTaxDeductions, MyTaxDeductionsForm, MyTaxDividends, MyTaxDividendsForm, MyTaxEmployeeShareSchemes, MyTaxEmployeeShareSchemesForm, 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, PdfOrientationEnum, PdfSettings, Phone, PhoneForm, PhoneTypeEnum, PreloaderService, Property, PropertyCalculationService, PropertyCategory, PropertyCategoryListEnum, PropertyCategoryMovement, PropertyCategoryMovementCollection, PropertyCategoryMovementService, PropertyCategoryService, PropertyCollection, PropertyDepreciationCalculationEnum, PropertyDocument, PropertyDocumentService, PropertyEquityChartData, PropertyEquityChartItem, PropertyForecast, PropertyReportItem, PropertyReportItemCollection, PropertyReportItemDepreciation, PropertyReportItemDepreciationCollection, PropertyReportItemTransaction, PropertyReportItemTransactionCollection, PropertySale, PropertySaleCollection, PropertySaleCostBase, PropertySaleCostBaseForm, PropertySaleCostSaleForm, PropertySaleExemptionsForm, PropertySaleService, PropertySaleTaxExemptionMetadata, PropertySaleTaxExemptionMetadataCollection, PropertyService, PropertyShare, PropertyShareAccessEnum, PropertyShareService, PropertyShareStatusEnum, PropertySubscription, PropertyTransactionReportService, PropertyValuation, RegisterClientForm, RegisterFirmForm, RegistrationInvite, RegistrationInviteStatusEnum, ReportItem, ReportItemCollection, ReportItemDetails, ResetPasswordForm, RewardfulService, SUBSCRIPTION_DESCRIPTION, SUBSCRIPTION_TITLE, SalaryForecast, SalaryForecastFrequencyEnum, SalaryForecastService, ServiceNotificationService, ServiceNotificationStatusEnum, ServiceNotificationTypeEnum, ServicePayment, ServicePaymentStatusEnum, ServicePrice, ServicePriceRecurringIntervalEnum, ServicePriceService, ServicePriceTypeEnum, ServiceProduct, ServiceProductIdEnum, ServiceProductStatusEnum, ServiceSubscription, ServiceSubscriptionCollection, ServiceSubscriptionItem, ServiceSubscriptionStatusEnum, ShareFilterOptionsEnum, SoleBusiness, SoleBusinessActivity, SoleBusinessActivityService, SoleBusinessAllocation, SoleBusinessAllocationsForm, SoleBusinessForm, SoleBusinessLoss, SoleBusinessLossForm, SoleBusinessLossOffsetRule, SoleBusinessLossOffsetRuleService, SoleBusinessLossReport, SoleBusinessLossService, SoleBusinessService, SoleContact, SoleContactForm, SoleContactService, SoleDepreciationMethod, SoleDepreciationMethodEnum, SoleDepreciationMethodForm, SoleDepreciationMethodService, SoleDetails, SoleDetailsForm, SoleDetailsService, SoleForecast, SoleForecastService, SoleInvoice, SoleInvoiceCollection, SoleInvoiceForm, SoleInvoiceItem, SoleInvoiceItemForm, SoleInvoiceService, SoleInvoiceStatusesEnum, SoleInvoiceTaxTypeEnum, SoleInvoiceTemplate, SoleInvoiceTemplateForm, SoleInvoiceTemplateService, SoleInvoiceTemplateTaxTypeEnum, SpareDocumentSpareTypeEnum, SseService, SubscriptionService, SubscriptionTypeEnum, TAX_RETURN_CATEGORIES, TYPE_LOAN, TankTypeEnum, TaxCalculationMedicareExemptionEnum, TaxCalculationTypeEnum, TaxExemption, TaxExemptionEnum, TaxExemptionMetadata, TaxExemptionMetadataEnum, 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, TransactionBaseCollection, TransactionCalculationService, TransactionCategoryEnum, TransactionCollection, TransactionMetadata, TransactionOperationEnum, TransactionReceipt, TransactionService, TransactionSourceEnum, TransactionTypeEnum, TtCoreModule, TutorialVideoService, USER_ROLES, USER_WORK_POSITION, User, UserEventSetting, UserEventSettingCollection, UserEventSettingFieldEnum, UserEventSettingService, UserEventStatusEnum, UserEventType, UserEventTypeCategory, UserEventTypeClientTypeEnum, 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, XlsxService, atLeastOneCheckedValidator, atoLinks, autocompleteValidator, cloneDeep, compare, compareMatOptions, conditionalValidator, createDate, displayMatOptions, enumToList, fieldsSumValidator, getDocIcon, minDateValidator, passwordMatchValidator, passwordValidator, replace, roundTo, sort, sortDeep, taxReviewFilterPredicate };
16576
+ export { AbstractForm, AbstractModel, AccountSetupItem, AccountSetupItemCollection, AccountSetupService, Address, AddressForm, AddressService, AddressTypeEnum, AlphabetColorsEnum, AppEvent, AppEventTypeEnum, AssetEntityTypeEnum, AssetTypeEnum, AssetsService, AuthService, BANK_ACCOUNT_TYPES, Badge, BadgeColorEnum, Bank, BankAccount, BankAccountAddManualForm, BankAccountAllocationForm, BankAccountCalculationService, BankAccountChartData, BankAccountCollection, BankAccountImportForm, BankAccountPropertiesForm, BankAccountProperty, BankAccountService, BankAccountStatusEnum, BankAccountTypeEnum, BankAccountsImportForm, BankConnection, BankConnectionService, BankConnectionStatusEnum, BankExternalStats, BankLoginData, BankLoginForm, BankService, BankTransaction, BankTransactionCalculationService, BankTransactionChartData, BankTransactionCollection, BankTransactionService, BankTransactionSummaryFieldsEnum, BankTransactionTypeEnum, BasiqConfig, BasiqJob, BasiqJobResponse, BasiqJobStep, BasiqService, BasiqToken, BasiqTokenService, BorrowingExpense, BorrowingExpenseLoan, BorrowingExpenseService, CAPITAL_COSTS_ITEMS, CHART_ACCOUNTS_CATEGORIES, CalculationFormItem, CalculationFormTypeEnum, CgtExemptionAndRolloverCodeEnum, ChartAccounts, ChartAccountsCategoryECollection, ChartAccountsCategoryEnum, ChartAccountsCollection, ChartAccountsDepreciation, ChartAccountsDepreciationService, ChartAccountsEtpEnum, ChartAccountsHeading, ChartAccountsHeadingListEnum, ChartAccountsHeadingTaxDeductibleEnum, ChartAccountsHeadingTaxableEnum, ChartAccountsHeadingVehicleListEnum, ChartAccountsListEnum, ChartAccountsMetadata, ChartAccountsMetadataListEnum, ChartAccountsMetadataTypeEnum, 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, DepreciationGroup, DepreciationGroupEnum, DepreciationGroupItem, DepreciationLvpAssetTypeEnum, 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, FinancialYear, Firm, FirmService, FirmTypeEnum, HeaderTitleService, IconsFileEnum, IncomeAmountTypeEnum, IncomePosition, IncomeSource, IncomeSourceChartData, IncomeSourceCollection, IncomeSourceForecast, IncomeSourceForecastService, IncomeSourceForecastTrustTypeEnum, IncomeSourceService, IncomeSourceType, IncomeSourceTypeEnum, IncomeSourceTypeListOtherEnum, IncomeSourceTypeListSoleEnum, IncomeSourceTypeListWorkEnum, InterceptorsModule, IntercomService, InviteStatusEnum, JwtService, KompassifyService, Loan, LoanBankTypeEnum, LoanCollection, LoanForm, LoanFrequencyEnum, LoanInterestTypeEnum, LoanMaxNumberOfPaymentsEnum, LoanPayment, LoanPaymentCollection, LoanPayout, LoanPayoutTypeEnum, LoanRepaymentFrequencyEnum, LoanRepaymentTypeEnum, LoanService, LoanTypeEnum, LoanVehicleTypeEnum, LogbookBestPeriodService, LogbookPeriod, LoginForm, MODULE_URL_LIST, MONTHS, Message, MessageCollection, MessageDocument, MessageDocumentCollection, MessageDocumentService, MessageService, MonthNameShortEnum, MonthNumberEnum, MyAccountHistory, MyAccountHistoryInitiatedByEnum, MyAccountHistoryStatusEnum, MyAccountHistoryTypeEnum, MyTaxBusinessOrLosses, MyTaxBusinessOrLossesForm, MyTaxCgt, MyTaxCgtForm, MyTaxDeductions, MyTaxDeductionsForm, MyTaxDividends, MyTaxDividendsForm, MyTaxEmployeeShareSchemes, MyTaxEmployeeShareSchemesForm, 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, PdfOrientationEnum, PdfSettings, Phone, PhoneForm, PhoneTypeEnum, PreloaderService, Property, PropertyCalculationService, PropertyCategory, PropertyCategoryListEnum, PropertyCategoryMovement, PropertyCategoryMovementCollection, PropertyCategoryMovementService, PropertyCategoryService, PropertyCollection, PropertyDepreciationCalculationEnum, PropertyDocument, PropertyDocumentService, PropertyEquityChartData, PropertyEquityChartItem, PropertyForecast, PropertyReportItem, PropertyReportItemCollection, PropertyReportItemDepreciation, PropertyReportItemDepreciationCollection, PropertyReportItemTransaction, PropertyReportItemTransactionCollection, PropertySale, PropertySaleCollection, PropertySaleCostBase, PropertySaleCostBaseForm, PropertySaleCostSaleForm, PropertySaleExemptionsForm, PropertySaleService, PropertySaleTaxExemptionMetadata, PropertySaleTaxExemptionMetadataCollection, PropertyService, PropertyShare, PropertyShareAccessEnum, PropertyShareService, PropertyShareStatusEnum, PropertySubscription, PropertyTransactionReportService, PropertyValuation, RegisterClientForm, RegisterFirmForm, RegistrationInvite, RegistrationInviteStatusEnum, ReportItem, ReportItemCollection, ReportItemDetails, ResetPasswordForm, RewardfulService, SUBSCRIPTION_DESCRIPTION, SUBSCRIPTION_TITLE, SalaryForecast, SalaryForecastFrequencyEnum, SalaryForecastService, ServiceNotificationService, ServiceNotificationStatusEnum, ServiceNotificationTypeEnum, ServicePayment, ServicePaymentStatusEnum, ServicePrice, ServicePriceRecurringIntervalEnum, ServicePriceService, ServicePriceTypeEnum, ServiceProduct, ServiceProductIdEnum, ServiceProductStatusEnum, 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, SoleInvoiceItemForm, SoleInvoiceService, SoleInvoiceStatusesEnum, SoleInvoiceTaxTypeEnum, SoleInvoiceTemplate, SoleInvoiceTemplateForm, SoleInvoiceTemplateService, SoleInvoiceTemplateTaxTypeEnum, SpareDocumentSpareTypeEnum, SseService, SubscriptionService, SubscriptionTypeEnum, TAX_RETURN_CATEGORIES, TYPE_LOAN, TankTypeEnum, TaxCalculationMedicareExemptionEnum, TaxCalculationTypeEnum, TaxExemption, TaxExemptionEnum, TaxExemptionMetadata, TaxExemptionMetadataEnum, 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, TransactionBaseCollection, TransactionCalculationService, TransactionCategoryEnum, TransactionCollection, TransactionMetadata, TransactionOperationEnum, TransactionReceipt, TransactionService, TransactionSourceEnum, TransactionTypeEnum, TtCoreModule, TutorialVideoService, USER_ROLES, USER_WORK_POSITION, User, UserEventSetting, UserEventSettingCollection, UserEventSettingFieldEnum, UserEventSettingService, UserEventStatusEnum, UserEventType, UserEventTypeCategory, UserEventTypeClientTypeEnum, 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, XlsxService, atLeastOneCheckedValidator, atoLinks, autocompleteValidator, cloneDeep, compare, compareMatOptions, conditionalValidator, createDate, displayMatOptions, enumToList, fieldsSumValidator, getDocIcon, minDateValidator, passwordMatchValidator, passwordValidator, replace, roundTo, sort, sortDeep, taxReviewFilterPredicate };
16501
16577
  //# sourceMappingURL=taxtank-core.js.map