taxtank-core 0.28.4 → 0.28.5

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 (25) hide show
  1. package/bundles/taxtank-core.umd.js +232 -11
  2. package/bundles/taxtank-core.umd.js.map +1 -1
  3. package/esm2015/lib/forms/index.js +2 -1
  4. package/esm2015/lib/forms/property/index.js +2 -0
  5. package/esm2015/lib/forms/property/property-sale/index.js +4 -0
  6. package/esm2015/lib/forms/property/property-sale/property-sale-cost-base.form.js +39 -0
  7. package/esm2015/lib/forms/property/property-sale/property-sale-cost-sale.form.js +74 -0
  8. package/esm2015/lib/forms/property/property-sale/property-sale-exemptions.form.js +75 -0
  9. package/esm2015/lib/models/endpoint/endpoints.const.js +2 -1
  10. package/esm2015/lib/models/property/property-sale/index.js +6 -0
  11. package/esm2015/lib/models/property/property-sale/property-sale-cost-base.js +20 -0
  12. package/esm2015/lib/services/http/transaction/transaction.service.js +8 -4
  13. package/esm2015/public-api.js +2 -5
  14. package/fesm2015/taxtank-core.js +202 -7
  15. package/fesm2015/taxtank-core.js.map +1 -1
  16. package/lib/forms/index.d.ts +1 -0
  17. package/lib/forms/property/index.d.ts +1 -0
  18. package/lib/forms/property/property-sale/index.d.ts +3 -0
  19. package/lib/forms/property/property-sale/property-sale-cost-base.form.d.ts +14 -0
  20. package/lib/forms/property/property-sale/property-sale-cost-sale.form.d.ts +25 -0
  21. package/lib/forms/property/property-sale/property-sale-exemptions.form.d.ts +26 -0
  22. package/lib/models/property/property-sale/index.d.ts +5 -0
  23. package/lib/models/property/property-sale/property-sale-cost-base.d.ts +12 -0
  24. package/package.json +1 -1
  25. package/public-api.d.ts +1 -4
@@ -698,6 +698,7 @@ const ENDPOINTS = {
698
698
  SOLE_INVOICE_TEMPLATES_POST: new Endpoint('POST', '\\/sole-invoice-templates'),
699
699
  SOLE_INVOICE_TEMPLATES_PUT: new Endpoint('PUT', '\\/sole-invoice-templates\\/\\d+'),
700
700
  SOLE_INVOICE_TEMPLATES_DELETE: new Endpoint('DELETE', '\\/sole-invoice-templates\\/\\d+'),
701
+ TAX_EXEMPTIONS_GET: new Endpoint('GET', '\\/tax-exemptions'),
701
702
  TAX_CALCULATION_POST: new Endpoint('POST', '\\/tax-calculation'),
702
703
  TAX_REVIEWS_GET: new Endpoint('GET', '\\/tax-reviews'),
703
704
  TAX_REVIEWS_DELETE: new Endpoint('DELETE', '\\/tax-reviews\\/\\d+'),
@@ -8253,6 +8254,26 @@ __decorate([
8253
8254
  Type(() => PropertySaleTaxExemptionMetadata$1)
8254
8255
  ], PropertySale.prototype, "taxExemptionMetadata", void 0);
8255
8256
 
8257
+ /**
8258
+ * @Todo TT-2143 should be removed when PropertySaleCostBaseForm refactored (cut property to separated form)
8259
+ */
8260
+ class PropertySaleCostBase {
8261
+ static createFrom(property, propertySale, depreciations, holdingCosts) {
8262
+ var _a, _b, _c;
8263
+ return plainToClass(PropertySaleCostBase, {
8264
+ property: plainToClass(Property, property),
8265
+ sale: plainToClass(PropertySale, Object.assign({}, propertySale, {
8266
+ holdingCosts: (_a = propertySale.holdingCosts) !== null && _a !== void 0 ? _a : Math.abs(holdingCosts.sumBy('amount')),
8267
+ structuralImprovementsWDV: (_b = propertySale.structuralImprovementsWDV) !== null && _b !== void 0 ? _b : depreciations.getWithCapitalProject().getCloseBalanceByYear(),
8268
+ buildingAtCostClaimed: (_c = propertySale.buildingAtCostClaimed) !== null && _c !== void 0 ? _c : depreciations.getWithoutCapitalProject().getClaimedAmountByYear(),
8269
+ })),
8270
+ });
8271
+ }
8272
+ }
8273
+
8274
+ class PropertySaleTaxExemptionMetadata extends PropertySaleTaxExemptionMetadata$1 {
8275
+ }
8276
+
8256
8277
  class TaxExemption$1 extends AbstractModel {
8257
8278
  }
8258
8279
 
@@ -8265,9 +8286,6 @@ class TaxExemptionMetadata$1 extends AbstractModel {
8265
8286
  class TaxExemptionMetadata extends TaxExemptionMetadata$1 {
8266
8287
  }
8267
8288
 
8268
- class PropertySaleTaxExemptionMetadata extends PropertySaleTaxExemptionMetadata$1 {
8269
- }
8270
-
8271
8289
  /**
8272
8290
  * @Todo waiting for the Sole tank implementation
8273
8291
  */
@@ -10476,9 +10494,12 @@ class TransactionService extends RestService {
10476
10494
  * Get list of property holding costs (transactions related to vacant land property)
10477
10495
  */
10478
10496
  getPropertyHoldingCosts(propertyId) {
10479
- return this.http.get(`${this.environment.apiV2}/${this.url}?propertyId=${propertyId}&propertyCategoryId=${PropertyCategoryListEnum.VACANT_LAND}`)
10480
- .pipe(map((transactionsBase) => {
10481
- return transactionsBase.map((transactionBase) => plainToClass(Transaction, transactionBase));
10497
+ return this.get()
10498
+ .pipe(map((transactions) => {
10499
+ return new TransactionCollection(transactions)
10500
+ .filterBy('property.id', propertyId)
10501
+ .filterBy('property.category.id', PropertyCategoryListEnum.VACANT_LAND)
10502
+ .toArray();
10482
10503
  }));
10483
10504
  }
10484
10505
  /**
@@ -14871,6 +14892,180 @@ class UserInviteForm extends AbstractForm {
14871
14892
  }
14872
14893
  }
14873
14894
 
14895
+ /**
14896
+ * @Todo TT-2143 remove Property stuff and use this form just for PropertySale
14897
+ * @Todo TT-2143 create and extend from abstract PropertySale form
14898
+ */
14899
+ class PropertySaleCostBaseForm extends AbstractForm {
14900
+ constructor(propertySaleCostBase) {
14901
+ super({
14902
+ property: new FormGroup({
14903
+ purchasePrice: new FormControl(propertySaleCostBase.property.purchasePrice, Validators.required),
14904
+ contractDate: new FormControl(propertySaleCostBase.property.contractDate, Validators.required),
14905
+ stampDuty: new FormControl(propertySaleCostBase.property.stampDuty, Validators.required),
14906
+ legalFees: new FormControl(propertySaleCostBase.property.legalFees, Validators.required),
14907
+ otherCapitalCosts: new FormControl(propertySaleCostBase.property.otherCapitalCosts, Validators.required),
14908
+ }),
14909
+ sale: new FormGroup({
14910
+ holdingCosts: new FormControl(propertySaleCostBase.sale.holdingCosts),
14911
+ structuralImprovementsWDV: new FormControl(propertySaleCostBase.sale.structuralImprovementsWDV),
14912
+ buildingAtCostClaimed: new FormControl(propertySaleCostBase.sale.buildingAtCostClaimed)
14913
+ })
14914
+ }, propertySaleCostBase);
14915
+ this.propertySaleCostBase = propertySaleCostBase;
14916
+ }
14917
+ getProperty() {
14918
+ return plainToClass(Property, Object.assign({}, this.propertySaleCostBase.property, this.get('property').value));
14919
+ }
14920
+ getPropertySale() {
14921
+ return plainToClass(PropertySale, Object.assign({}, this.propertySaleCostBase.sale, this.get('sale').value));
14922
+ }
14923
+ submit(data = {}) {
14924
+ Object.assign(data, { property: plainToClass(Property, Object.assign({}, this.propertySaleCostBase.property, this.get('property').value)) }, { sale: plainToClass(PropertySale, Object.assign({}, this.propertySaleCostBase.sale, this.get('sale').value)) });
14925
+ return super.submit(data);
14926
+ }
14927
+ }
14928
+
14929
+ /**
14930
+ * @Todo TT-2143 Create and extend from abstract PropertySale form
14931
+ */
14932
+ class PropertySaleCostSaleForm extends AbstractForm {
14933
+ constructor(propertySale, property) {
14934
+ super({
14935
+ price: new FormControl(propertySale.price, Validators.required),
14936
+ contractDate: new FormControl(propertySale.contractDate, Validators.required),
14937
+ settlementDate: new FormControl(propertySale.settlementDate, Validators.required),
14938
+ commission: new FormControl(propertySale.commission || 0, Validators.required),
14939
+ legalFees: new FormControl(propertySale.legalFees || 0, Validators.required),
14940
+ otherCost: new FormControl(propertySale.otherCost || 0, Validators.required),
14941
+ capitalLoss: new FormControl(propertySale.capitalLoss || 0, Validators.required),
14942
+ // capital gain tax
14943
+ grossCGT: new FormControl({ value: propertySale.grossCGT, disabled: true }, Validators.required),
14944
+ }, propertySale);
14945
+ this.propertySale = propertySale;
14946
+ this.property = property;
14947
+ this.updateGrossCGT();
14948
+ this.listenEvents();
14949
+ }
14950
+ listenEvents() {
14951
+ this.listenCommissionUpdated();
14952
+ this.listenLegalFeesUpdated();
14953
+ this.listenOtherCostUpdated();
14954
+ this.listenPriceUpdated();
14955
+ this.listenCapitalLossUpdated();
14956
+ }
14957
+ /**
14958
+ * Get property instance based on provided property and form value to get actual form calculations
14959
+ * @Todo TT-2143 Move to parent abstract PropertySale form
14960
+ */
14961
+ getPropertySale() {
14962
+ return plainToClass(PropertySale, Object.assign({}, this.propertySale, this.getRawValue()));
14963
+ }
14964
+ submit(data = {}) {
14965
+ // 'grossCGT' field is always disabled, but we need it to submit result
14966
+ Object.assign(data, { grossCGT: this.get('grossCGT').value });
14967
+ return super.submit(data);
14968
+ }
14969
+ updateGrossCGT() {
14970
+ this.get('grossCGT').setValue(Math.round(this.property.calculateCGT(this.getPropertySale())).toFixed());
14971
+ }
14972
+ listenCommissionUpdated() {
14973
+ this.get('commission').valueChanges.subscribe(() => {
14974
+ this.updateGrossCGT();
14975
+ });
14976
+ }
14977
+ listenLegalFeesUpdated() {
14978
+ this.get('legalFees').valueChanges.subscribe(() => {
14979
+ this.updateGrossCGT();
14980
+ });
14981
+ }
14982
+ listenOtherCostUpdated() {
14983
+ this.get('otherCost').valueChanges.subscribe(() => {
14984
+ this.updateGrossCGT();
14985
+ });
14986
+ }
14987
+ listenPriceUpdated() {
14988
+ this.get('price').valueChanges.subscribe(() => {
14989
+ this.updateGrossCGT();
14990
+ });
14991
+ }
14992
+ listenCapitalLossUpdated() {
14993
+ this.get('capitalLoss').valueChanges.subscribe(() => {
14994
+ this.updateGrossCGT();
14995
+ });
14996
+ }
14997
+ }
14998
+
14999
+ /**
15000
+ * @Todo TT-2143 Create and extend from abstract PropertySale form
15001
+ */
15002
+ class PropertySaleExemptionsForm extends AbstractForm {
15003
+ constructor(propertySale, property, taxExemptions) {
15004
+ var _a, _b;
15005
+ super({
15006
+ taxExemption: new FormControl(taxExemptions.findBy('id', (_b = (_a = propertySale.taxExemption) === null || _a === void 0 ? void 0 : _a.id) !== null && _b !== void 0 ? _b : property.getCGTExemption(propertySale))),
15007
+ taxExemptionMetadata: new FormArray([]),
15008
+ netCGT: new FormControl(propertySale.netCGT)
15009
+ }, propertySale);
15010
+ this.propertySale = propertySale;
15011
+ this.property = property;
15012
+ this.taxExemptions = taxExemptions;
15013
+ if (propertySale.taxExemption) {
15014
+ this.setFormMetadataControls();
15015
+ }
15016
+ this.updateNetCGT();
15017
+ this.listenEvents();
15018
+ }
15019
+ listenEvents() {
15020
+ this.listenTaxExemptionUpdated();
15021
+ }
15022
+ /**
15023
+ * @Todo TT-2143 Move to parent abstract PropertySale form
15024
+ */
15025
+ getPropertySale() {
15026
+ return plainToClass(PropertySale, Object.assign({}, this.propertySale, this.getRawValue()));
15027
+ }
15028
+ updateNetCGT() {
15029
+ this.get('netCGT').setValue(this.property.calculateNetCGT(this.getPropertySale()));
15030
+ }
15031
+ listenTaxExemptionUpdated() {
15032
+ this.get('taxExemption').valueChanges.subscribe((taxExemption) => {
15033
+ this.updateNetCGT();
15034
+ this.setFormMetadataControls(taxExemption);
15035
+ });
15036
+ }
15037
+ /**
15038
+ * show metadata related to passed tax exemption or existing property sale metadata
15039
+ */
15040
+ setFormMetadataControls(taxExemption) {
15041
+ // use property sale tax exemption if it exists to preselect data
15042
+ const currentTaxExemption = this.propertySale.taxExemption ?
15043
+ this.taxExemptions.findBy('id', this.propertySale.taxExemption.id) :
15044
+ taxExemption;
15045
+ const formArray = this.get('taxExemptionMetadata');
15046
+ // clean up
15047
+ formArray.clear();
15048
+ // show all tax exemption metadata fields
15049
+ currentTaxExemption.metadata.forEach((metadata) => {
15050
+ // use property sale tax exemption metadata value if it exists
15051
+ const metadataValue = this.propertySale.taxExemption ?
15052
+ this.propertySale.taxExemptionMetadata
15053
+ .find((saleMetadata) => saleMetadata.metadata.id === metadata.id).value :
15054
+ null;
15055
+ const validators = [
15056
+ // claim percent is optional
15057
+ metadata.id !== TaxExemptionMetadataEnum.CLAIM_PERCENT && Validators.required,
15058
+ // ppr days can't be more than ownership days
15059
+ metadata.id === TaxExemptionMetadataEnum.PPR_DAYS && Validators.max(this.property.getOwnershipDuration(this.propertySale))
15060
+ ].filter(Boolean);
15061
+ formArray.push(new FormGroup({
15062
+ metadata: new FormControl(metadata),
15063
+ value: new FormControl(metadataValue, validators)
15064
+ }));
15065
+ });
15066
+ }
15067
+ }
15068
+
14874
15069
  /**
14875
15070
  * @Todo waiting for the Sole tank implementation
14876
15071
  */
@@ -15370,5 +15565,5 @@ VehicleLogbookForm.maxDescriptionLength = 60;
15370
15565
  * Generated bundle index. Do not edit.
15371
15566
  */
15372
15567
 
15373
- export { AbstractForm, AbstractModel, AccountSetupItem, AccountSetupItemCollection, AccountSetupService, Address, 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, BankLoginData, BankLoginForm, BankService, BankTransaction, BankTransactionCalculationService, BankTransactionChartData, BankTransactionCollection, BankTransactionService, BankTransactionSummaryFieldsEnum, BankTransactionTypeEnum, BasiqConfig, BasiqJob, BasiqService, BasiqToken, 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, 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, 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, PhoneTypeEnum, PreloaderService, Property, PropertyCalculationService, PropertyCategory, PropertyCategoryListEnum, PropertyCategoryMovement, PropertyCategoryMovementService, PropertyCategoryService, PropertyCollection, PropertyDepreciationCalculationEnum, PropertyDocument, PropertyDocumentService, PropertyEquityChartData, PropertyEquityChartItem, PropertyForecast, PropertyReportItem, PropertyReportItemCollection, PropertyReportItemDepreciationCollection, PropertyReportItemTransaction, PropertyReportItemTransactionCollection, PropertySale, PropertySaleCollection, PropertySaleService, PropertySaleTaxExemptionMetadata, 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, SoleBusinessService, SoleContact, SoleContactForm, SoleContactService, SoleDepreciationMethod, SoleDepreciationMethodEnum, SoleDepreciationMethodForm, SoleDepreciationMethodService, SoleDetails, SoleDetailsForm, SoleDetailsService, SoleForecast, SoleForecastService, SoleInvoice, SoleInvoiceCollection, SoleInvoiceForm, SoleInvoiceItem, SoleInvoiceItemForm, SoleInvoiceService, SoleInvoiceStatusesEnum, 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, 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 };
15568
+ export { AbstractForm, AbstractModel, AccountSetupItem, AccountSetupItemCollection, AccountSetupService, Address, 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, BankLoginData, BankLoginForm, BankService, BankTransaction, BankTransactionCalculationService, BankTransactionChartData, BankTransactionCollection, BankTransactionService, BankTransactionSummaryFieldsEnum, BankTransactionTypeEnum, BasiqConfig, BasiqJob, BasiqService, BasiqToken, 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, 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, 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, PhoneTypeEnum, PreloaderService, Property, PropertyCalculationService, PropertyCategory, PropertyCategoryListEnum, PropertyCategoryMovement, PropertyCategoryMovementService, PropertyCategoryService, PropertyCollection, PropertyDepreciationCalculationEnum, PropertyDocument, PropertyDocumentService, PropertyEquityChartData, PropertyEquityChartItem, PropertyForecast, PropertyReportItem, PropertyReportItemCollection, PropertyReportItemDepreciationCollection, PropertyReportItemTransaction, PropertyReportItemTransactionCollection, PropertySale, PropertySaleCollection, PropertySaleCostBase, PropertySaleCostBaseForm, PropertySaleCostSaleForm, PropertySaleExemptionsForm, PropertySaleService, PropertySaleTaxExemptionMetadata, 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, SoleBusinessService, SoleContact, SoleContactForm, SoleContactService, SoleDepreciationMethod, SoleDepreciationMethodEnum, SoleDepreciationMethodForm, SoleDepreciationMethodService, SoleDetails, SoleDetailsForm, SoleDetailsService, SoleForecast, SoleForecastService, SoleInvoice, SoleInvoiceCollection, SoleInvoiceForm, SoleInvoiceItem, SoleInvoiceItemForm, SoleInvoiceService, SoleInvoiceStatusesEnum, 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, 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 };
15374
15569
  //# sourceMappingURL=taxtank-core.js.map