taxtank-core 0.28.3 → 0.28.6
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/bundles/taxtank-core.umd.js +235 -13
- package/bundles/taxtank-core.umd.js.map +1 -1
- package/esm2015/lib/db/Models/bank/bank.js +1 -1
- package/esm2015/lib/forms/index.js +2 -1
- package/esm2015/lib/forms/property/index.js +2 -0
- package/esm2015/lib/forms/property/property-sale/index.js +4 -0
- package/esm2015/lib/forms/property/property-sale/property-sale-cost-base.form.js +39 -0
- package/esm2015/lib/forms/property/property-sale/property-sale-cost-sale.form.js +74 -0
- package/esm2015/lib/forms/property/property-sale/property-sale-exemptions.form.js +75 -0
- package/esm2015/lib/models/bank/bank-connection.js +2 -2
- package/esm2015/lib/models/endpoint/endpoints.const.js +3 -1
- package/esm2015/lib/models/property/property-sale/index.js +6 -0
- package/esm2015/lib/models/property/property-sale/property-sale-cost-base.js +20 -0
- package/esm2015/lib/services/http/bank/bank.service.js +2 -2
- package/esm2015/lib/services/http/transaction/transaction.service.js +8 -4
- package/esm2015/public-api.js +2 -5
- package/fesm2015/taxtank-core.js +205 -9
- package/fesm2015/taxtank-core.js.map +1 -1
- package/lib/db/Models/bank/bank.d.ts +1 -0
- package/lib/forms/index.d.ts +1 -0
- package/lib/forms/property/index.d.ts +1 -0
- package/lib/forms/property/property-sale/index.d.ts +3 -0
- package/lib/forms/property/property-sale/property-sale-cost-base.form.d.ts +14 -0
- package/lib/forms/property/property-sale/property-sale-cost-sale.form.d.ts +25 -0
- package/lib/forms/property/property-sale/property-sale-exemptions.form.d.ts +26 -0
- package/lib/models/property/property-sale/index.d.ts +5 -0
- package/lib/models/property/property-sale/property-sale-cost-base.d.ts +12 -0
- package/package.json +1 -1
- package/public-api.d.ts +1 -4
package/fesm2015/taxtank-core.js
CHANGED
|
@@ -589,6 +589,7 @@ const ENDPOINTS = {
|
|
|
589
589
|
BANK_TRANSACTIONS_IMPORT_POST: new Endpoint('POST', '\\/bank-transactions\\/\\d+\\/import'),
|
|
590
590
|
BASIQ_ACCOUNTS_GET: new Endpoint('GET', '\\/basiq\\/accounts'),
|
|
591
591
|
BASIQ_TOKEN_GET: new Endpoint('GET', '\\/basiq\\/tokens'),
|
|
592
|
+
BORROWING_EXPENSES_GET: new Endpoint('GET', '\\/borrowing-expenses'),
|
|
592
593
|
CHARTS_INCOME_GET: new Endpoint('GET', '\\/charts\\/\\incomes'),
|
|
593
594
|
CHARTS_EXPENSES_GET: new Endpoint('GET', '\\/charts\\/\\expenses'),
|
|
594
595
|
CHART_ACCOUNTS_GET: new Endpoint('GET', '\\/chart-accounts'),
|
|
@@ -697,6 +698,7 @@ const ENDPOINTS = {
|
|
|
697
698
|
SOLE_INVOICE_TEMPLATES_POST: new Endpoint('POST', '\\/sole-invoice-templates'),
|
|
698
699
|
SOLE_INVOICE_TEMPLATES_PUT: new Endpoint('PUT', '\\/sole-invoice-templates\\/\\d+'),
|
|
699
700
|
SOLE_INVOICE_TEMPLATES_DELETE: new Endpoint('DELETE', '\\/sole-invoice-templates\\/\\d+'),
|
|
701
|
+
TAX_EXEMPTIONS_GET: new Endpoint('GET', '\\/tax-exemptions'),
|
|
700
702
|
TAX_CALCULATION_POST: new Endpoint('POST', '\\/tax-calculation'),
|
|
701
703
|
TAX_REVIEWS_GET: new Endpoint('GET', '\\/tax-reviews'),
|
|
702
704
|
TAX_REVIEWS_DELETE: new Endpoint('DELETE', '\\/tax-reviews\\/\\d+'),
|
|
@@ -4230,7 +4232,7 @@ class BankConnection extends BankConnection$1 {
|
|
|
4230
4232
|
* login required for new or disconnected external connections
|
|
4231
4233
|
*/
|
|
4232
4234
|
isLoginRequired() {
|
|
4233
|
-
return !!(!this.id && this.bank.externalId) || this.isInvalid();
|
|
4235
|
+
return !!(!this.id && this.bank.externalId && !this.bank.isManual) || this.isInvalid();
|
|
4234
4236
|
}
|
|
4235
4237
|
setPending() {
|
|
4236
4238
|
this.status = BankConnectionStatusEnum.PENDING;
|
|
@@ -8252,6 +8254,26 @@ __decorate([
|
|
|
8252
8254
|
Type(() => PropertySaleTaxExemptionMetadata$1)
|
|
8253
8255
|
], PropertySale.prototype, "taxExemptionMetadata", void 0);
|
|
8254
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
|
+
|
|
8255
8277
|
class TaxExemption$1 extends AbstractModel {
|
|
8256
8278
|
}
|
|
8257
8279
|
|
|
@@ -8264,9 +8286,6 @@ class TaxExemptionMetadata$1 extends AbstractModel {
|
|
|
8264
8286
|
class TaxExemptionMetadata extends TaxExemptionMetadata$1 {
|
|
8265
8287
|
}
|
|
8266
8288
|
|
|
8267
|
-
class PropertySaleTaxExemptionMetadata extends PropertySaleTaxExemptionMetadata$1 {
|
|
8268
|
-
}
|
|
8269
|
-
|
|
8270
8289
|
/**
|
|
8271
8290
|
* @Todo waiting for the Sole tank implementation
|
|
8272
8291
|
*/
|
|
@@ -10475,9 +10494,12 @@ class TransactionService extends RestService {
|
|
|
10475
10494
|
* Get list of property holding costs (transactions related to vacant land property)
|
|
10476
10495
|
*/
|
|
10477
10496
|
getPropertyHoldingCosts(propertyId) {
|
|
10478
|
-
return this.
|
|
10479
|
-
.pipe(map((
|
|
10480
|
-
return
|
|
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();
|
|
10481
10503
|
}));
|
|
10482
10504
|
}
|
|
10483
10505
|
/**
|
|
@@ -10939,7 +10961,7 @@ class BankService extends RestService {
|
|
|
10939
10961
|
get() {
|
|
10940
10962
|
return super.get().pipe(map((banks) => {
|
|
10941
10963
|
// exclude basiq banks without login fields (basiq may return broken banks without loginFields)
|
|
10942
|
-
return banks.filter((bank) =>
|
|
10964
|
+
return banks.filter((bank) => bank.isManual || (bank.externalId && bank.loginFields));
|
|
10943
10965
|
}));
|
|
10944
10966
|
}
|
|
10945
10967
|
}
|
|
@@ -14870,6 +14892,180 @@ class UserInviteForm extends AbstractForm {
|
|
|
14870
14892
|
}
|
|
14871
14893
|
}
|
|
14872
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
|
+
|
|
14873
15069
|
/**
|
|
14874
15070
|
* @Todo waiting for the Sole tank implementation
|
|
14875
15071
|
*/
|
|
@@ -15369,5 +15565,5 @@ VehicleLogbookForm.maxDescriptionLength = 60;
|
|
|
15369
15565
|
* Generated bundle index. Do not edit.
|
|
15370
15566
|
*/
|
|
15371
15567
|
|
|
15372
|
-
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 };
|
|
15373
15569
|
//# sourceMappingURL=taxtank-core.js.map
|