taxtank-core 0.28.50 → 0.28.52

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.
@@ -1,7 +1,8 @@
1
1
  import { TransactionCollection } from '../../../../../collections/transaction/transaction.collection';
2
2
  import { DepreciationCollection } from '../../../../../collections/depreciation.collection';
3
- import { Collection } from '../../../../../collections/collection';
4
3
  import { SoleBusinessLoss } from '../../../../sole';
4
+ import { SoleBusinessLossesCollection } from '../../../../../collections';
5
+ import { TaxSummary } from '../../../../tax-summary/tax-summary';
5
6
  /**
6
7
  * Sole business information related to expense transactions (losses)
7
8
  * https://taxtank.atlassian.net/wiki/spaces/TAXTANK/pages/4644110466/Tax+Return+MyTax+-+Online+Form (section "Business income or losses")
@@ -17,6 +18,7 @@ export declare class MyTaxBusinessLosses {
17
18
  interestExpensesAustraliaAmount: number;
18
19
  interestExpensesOverseasAmount: number;
19
20
  kmsTravelledExpensesAmount: number;
21
+ logbookExpensesAmount: number;
20
22
  otherExpensesAmount: number;
21
23
  totalNonPrimaryProductionExpensesAmount: number;
22
24
  depreciationExpensesAmount: number;
@@ -25,6 +27,6 @@ export declare class MyTaxBusinessLosses {
25
27
  priorYearsNonPrimaryLossesAmount: number;
26
28
  netNonPrimaryIncomeOrLossesAmount: number;
27
29
  currentYearNetNonPrimaryIncomeOrLossesAmount: number;
28
- constructor(transactions: TransactionCollection, depreciations: DepreciationCollection, businessLosses: Collection<SoleBusinessLoss>, currentLoss: SoleBusinessLoss);
29
- private calculatePriorYearsOpenBalance;
30
+ deferredLossesAmount: number;
31
+ constructor(transactions: TransactionCollection, depreciations: DepreciationCollection, businessLosses: SoleBusinessLossesCollection, currentLoss: SoleBusinessLoss, taxSummary: TaxSummary);
30
32
  }
@@ -0,0 +1,5 @@
1
+ export declare enum MessagesEnum {
2
+ LOGO_UPDATED = "Logo updated successfully",
3
+ LOGO_ERROR_FORMAT = "Wrong file format. Allowed extensions: jpg, img, png",
4
+ LOGO_ERROR_SIZE = "The file is too big. Maximum size is 2mb"
5
+ }
@@ -8,6 +8,7 @@ export declare class SoleBusinessService extends RestService<SoleBusinessBase, S
8
8
  url: string;
9
9
  isHydra: boolean;
10
10
  add(soleBusiness: SoleBusiness): Observable<SoleBusiness>;
11
+ uploadLogo(business: SoleBusiness, file: File): Observable<void>;
11
12
  static ɵfac: i0.ɵɵFactoryDeclaration<SoleBusinessService, never>;
12
13
  static ɵprov: i0.ɵɵInjectableDeclaration<SoleBusinessService>;
13
14
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "taxtank-core",
3
- "version": "0.28.50",
3
+ "version": "0.28.52",
4
4
  "private": false,
5
5
  "peerDependencies": {
6
6
  "@angular/common": "^12.2.3 || ~13.0.0",