taxtank-core 2.1.95 → 2.1.96
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/fesm2022/taxtank-core.mjs +57 -19
- package/fesm2022/taxtank-core.mjs.map +1 -1
- package/index.d.ts +36 -30
- package/package.json +1 -1
package/index.d.ts
CHANGED
|
@@ -321,8 +321,6 @@ declare enum ChartAccountsListEnum {
|
|
|
321
321
|
VEHICLE_LOAN_INTEREST = 37,
|
|
322
322
|
VEHICLE_LOAN_PRINCIPAL = 38,
|
|
323
323
|
HOME_OFFICE_HOURS = 103,
|
|
324
|
-
PARTNERSHIP_EXPENSES = 156,
|
|
325
|
-
TRUST_EXPENSES = 157,
|
|
326
324
|
INTEREST_CHARGED_BY_ATO = 278,
|
|
327
325
|
LITIGATION_COSTS = 280,
|
|
328
326
|
ACCOUNTANT_TAX_AGENT_FEES = 282,
|
|
@@ -367,7 +365,19 @@ declare enum ChartAccountsListEnum {
|
|
|
367
365
|
INTERNET = 94,
|
|
368
366
|
ELECTRICITY_AND_GAS = 234,
|
|
369
367
|
TELEPHONE = 255,
|
|
370
|
-
HOME_OFFICE_CLEANING = 11871
|
|
368
|
+
HOME_OFFICE_CLEANING = 11871,
|
|
369
|
+
PARTNERSHIP_EXPENSES = 609,
|
|
370
|
+
TRUST_EXPENSES = 610,
|
|
371
|
+
LANDCARE_EXPENSES = 1019,
|
|
372
|
+
OTHER_DEDUCTIONS = 1020,
|
|
373
|
+
LANDCARE_WATER = 1023,
|
|
374
|
+
OTHER_DEDUCTIONS_PRIMARY = 1024,
|
|
375
|
+
OVERSEAS_WORK_EXPENSES = 1034,
|
|
376
|
+
FOREIGN_TAX_WITHHELD_WORK = 1035,
|
|
377
|
+
OTHER_OVERSEAS_EXPENSES = 1045,
|
|
378
|
+
FOREIGN_PENSION_EXPENSES = 1054,
|
|
379
|
+
ANNUITY_PURCHASE_PRICE = 1055,
|
|
380
|
+
FOREIGN_TAX_WITHHELD_PENSION = 1056
|
|
371
381
|
}
|
|
372
382
|
|
|
373
383
|
declare enum BusinessChartAccountsEnum {
|
|
@@ -3367,6 +3377,7 @@ declare class ChartAccounts extends ChartAccounts$1 {
|
|
|
3367
3377
|
isWorkExpense(): boolean;
|
|
3368
3378
|
isSoleExpense(): boolean;
|
|
3369
3379
|
isHoldingExpense(): boolean;
|
|
3380
|
+
isHoldingIncome(): boolean;
|
|
3370
3381
|
/**
|
|
3371
3382
|
* Check if chart accounts is property expense
|
|
3372
3383
|
*/
|
|
@@ -3430,6 +3441,7 @@ declare class ChartAccounts extends ChartAccounts$1 {
|
|
|
3430
3441
|
isHoldingTank(): boolean;
|
|
3431
3442
|
isOtherTank(): boolean;
|
|
3432
3443
|
isPersonalTank(): boolean;
|
|
3444
|
+
hasWorkExpensePayer(): boolean;
|
|
3433
3445
|
}
|
|
3434
3446
|
|
|
3435
3447
|
/**
|
|
@@ -10494,33 +10506,9 @@ declare class MyTaxOtherIncome {
|
|
|
10494
10506
|
constructor(transactions: TransactionCollection);
|
|
10495
10507
|
}
|
|
10496
10508
|
|
|
10497
|
-
/**
|
|
10498
|
-
* Collection of income sources
|
|
10499
|
-
*/
|
|
10500
|
-
declare class IncomeSourceCollection extends Collection<IncomeSource> {
|
|
10501
|
-
filterByTank(tank: TankTypeEnum): IncomeSource[];
|
|
10502
|
-
/**
|
|
10503
|
-
* Filter income sources by provided types
|
|
10504
|
-
* @param types
|
|
10505
|
-
*/
|
|
10506
|
-
filterByTypes(types: IncomeSourceTypeEnum[]): IncomeSource[];
|
|
10507
|
-
getSalary(): IncomeSource[];
|
|
10508
|
-
getOther(): IncomeSource[];
|
|
10509
|
-
/**
|
|
10510
|
-
* Get income sources list of forecasts
|
|
10511
|
-
*/
|
|
10512
|
-
get forecasts(): IIncomeSourceForecast[];
|
|
10513
|
-
get salaryForecasts(): SalaryForecast[];
|
|
10514
|
-
get incomeSourceForecasts(): IncomeSourceForecast[];
|
|
10515
|
-
}
|
|
10516
|
-
|
|
10517
10509
|
declare class MyTaxPartnershipsAndTrusts {
|
|
10518
10510
|
transactions: TransactionCollection;
|
|
10519
10511
|
incomeSources: IncomeSourceCollection;
|
|
10520
|
-
partnershipsIncomes: TransactionCollection;
|
|
10521
|
-
partnershipsExpenses: TransactionCollection;
|
|
10522
|
-
trustsIncomes: TransactionCollection;
|
|
10523
|
-
trustsExpenses: TransactionCollection;
|
|
10524
10512
|
partnershipsIncomeTotalAmount: number;
|
|
10525
10513
|
partnershipsExpenseTotalAmount: number;
|
|
10526
10514
|
trustsIncomeTotalTax: number;
|
|
@@ -11111,9 +11099,7 @@ declare class WorkIncomeForm extends WorkTransactionForm implements IEventListen
|
|
|
11111
11099
|
|
|
11112
11100
|
declare class WorkExpenseForm extends WorkTransactionForm implements IEventListener {
|
|
11113
11101
|
private homeOfficeClaim;
|
|
11114
|
-
constructor(transaction: Transaction, registeredForGst: boolean, allocations: TransactionAllocation[], homeOfficeClaim: HomeOfficeClaim
|
|
11115
|
-
[key: string]: AbstractControl;
|
|
11116
|
-
});
|
|
11102
|
+
constructor(transaction: Transaction, registeredForGst: boolean, allocations: TransactionAllocation[], homeOfficeClaim: HomeOfficeClaim);
|
|
11117
11103
|
listenEvents(): void;
|
|
11118
11104
|
watchChartAccountsMetaFields(): void;
|
|
11119
11105
|
watchChartAccounts(): void;
|
|
@@ -12241,6 +12227,26 @@ declare class FinancialGoalCollection extends Collection<FinancialGoal> implemen
|
|
|
12241
12227
|
getCalendarEvents(inCalendar?: boolean): MoneyCalendarEventCollection;
|
|
12242
12228
|
}
|
|
12243
12229
|
|
|
12230
|
+
/**
|
|
12231
|
+
* Collection of income sources
|
|
12232
|
+
*/
|
|
12233
|
+
declare class IncomeSourceCollection extends Collection<IncomeSource> {
|
|
12234
|
+
filterByTank(tank: TankTypeEnum): IncomeSource[];
|
|
12235
|
+
/**
|
|
12236
|
+
* Filter income sources by provided types
|
|
12237
|
+
* @param types
|
|
12238
|
+
*/
|
|
12239
|
+
filterByTypes(types: IncomeSourceTypeEnum[]): IncomeSource[];
|
|
12240
|
+
getSalary(): IncomeSource[];
|
|
12241
|
+
getOther(): IncomeSource[];
|
|
12242
|
+
/**
|
|
12243
|
+
* Get income sources list of forecasts
|
|
12244
|
+
*/
|
|
12245
|
+
get forecasts(): IIncomeSourceForecast[];
|
|
12246
|
+
get salaryForecasts(): SalaryForecast[];
|
|
12247
|
+
get incomeSourceForecasts(): IncomeSourceForecast[];
|
|
12248
|
+
}
|
|
12249
|
+
|
|
12244
12250
|
declare class IncomeSourceForecastCollection extends Collection<IncomeSourceForecast> {
|
|
12245
12251
|
get bonuses(): this;
|
|
12246
12252
|
get monthlyAmount(): number;
|