taxtank-core 2.1.53 → 2.1.54
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 +1263 -1284
- package/fesm2022/taxtank-core.mjs.map +1 -1
- package/index.d.ts +0 -9
- package/package.json +1 -1
package/index.d.ts
CHANGED
|
@@ -1511,7 +1511,6 @@ declare class Loan$1 extends ObservableModel {
|
|
|
1511
1511
|
|
|
1512
1512
|
declare abstract class TransactionBase extends ObservableModel {
|
|
1513
1513
|
amount?: number;
|
|
1514
|
-
foreignAmount?: number;
|
|
1515
1514
|
file: AppFile;
|
|
1516
1515
|
property?: Property;
|
|
1517
1516
|
business?: SoleBusiness$1;
|
|
@@ -1538,7 +1537,6 @@ declare abstract class TransactionBase extends ObservableModel {
|
|
|
1538
1537
|
isOtherTank(): boolean;
|
|
1539
1538
|
isPersonalTank(): boolean;
|
|
1540
1539
|
get amountWithGst(): number;
|
|
1541
|
-
get foreignAmountWithGst(): number;
|
|
1542
1540
|
get gstAmount(): number;
|
|
1543
1541
|
get gstClaimAmount(): number;
|
|
1544
1542
|
/**
|
|
@@ -1668,9 +1666,6 @@ declare class Transaction$1 extends TransactionBase {
|
|
|
1668
1666
|
business?: SoleBusiness$1;
|
|
1669
1667
|
isGST?: boolean;
|
|
1670
1668
|
invoiceItem?: SoleInvoiceItem$1;
|
|
1671
|
-
currency?: string;
|
|
1672
|
-
foreignAmount?: number;
|
|
1673
|
-
exchangeRate?: number;
|
|
1674
1669
|
}
|
|
1675
1670
|
|
|
1676
1671
|
declare class SoleInvoiceItem$1 extends AbstractModel {
|
|
@@ -4092,7 +4087,6 @@ declare class BankAccount$1 extends BankAccount {
|
|
|
4092
4087
|
bankConnection: BankConnection$1;
|
|
4093
4088
|
migrateFrom: Date;
|
|
4094
4089
|
migrateTo: Date;
|
|
4095
|
-
currency: string;
|
|
4096
4090
|
get bank(): Bank;
|
|
4097
4091
|
get bsb(): string;
|
|
4098
4092
|
get number(): string;
|
|
@@ -4177,7 +4171,6 @@ declare class BankAccount$1 extends BankAccount {
|
|
|
4177
4171
|
*/
|
|
4178
4172
|
isLoanPaid(taxTankBalance: number): boolean;
|
|
4179
4173
|
isManual(): boolean;
|
|
4180
|
-
get isForeign(): boolean;
|
|
4181
4174
|
}
|
|
4182
4175
|
|
|
4183
4176
|
declare class SoleBusinessAllocation extends SoleBusinessAllocation$1 {
|
|
@@ -4557,7 +4550,6 @@ declare class Transaction extends Transaction$1 implements Expense {
|
|
|
4557
4550
|
operation: TransactionOperationEnum;
|
|
4558
4551
|
claimPercent: number;
|
|
4559
4552
|
amount: number;
|
|
4560
|
-
currency: string;
|
|
4561
4553
|
get invoiceId(): number;
|
|
4562
4554
|
isDebit(): boolean;
|
|
4563
4555
|
isCredit(): boolean;
|
|
@@ -4615,7 +4607,6 @@ declare class Transaction extends Transaction$1 implements Expense {
|
|
|
4615
4607
|
* ie user received 1000$ salary including 100$ tips. NetAmount=1000$, amount=900$, tips=100$
|
|
4616
4608
|
*/
|
|
4617
4609
|
get netAmount(): number;
|
|
4618
|
-
get netForeignAmount(): number;
|
|
4619
4610
|
/**
|
|
4620
4611
|
* most of the transactions could have only positive or negative amount depends on chartAccounts, so we ignore
|
|
4621
4612
|
* user's choice and transform amount, but there are exceptions like advance (negative or positive amount)
|