taxtank-core 0.32.126 → 0.32.128

Sign up to get free protection for your applications and to get access to all the features.
Files changed (28) hide show
  1. package/esm2022/lib/db/Models/incomeSource/income-source-forecast.mjs +1 -1
  2. package/esm2022/lib/db/Models/incomeSource/salary-forecast.mjs +1 -1
  3. package/esm2022/lib/db/Models/property/property-forecast.mjs +1 -1
  4. package/esm2022/lib/db/Models/sole/sole-business-loss.mjs +1 -1
  5. package/esm2022/lib/db/Models/sole/sole-forecast.mjs +1 -1
  6. package/esm2022/lib/db/Models/vehicle/vehicle-claim-details.mjs +1 -1
  7. package/esm2022/lib/models/client/capital-loss.interface.mjs +1 -1
  8. package/esm2022/lib/models/client/capital-loss.mjs +1 -5
  9. package/esm2022/lib/models/income-source/salary-forecast.mjs +1 -5
  10. package/esm2022/lib/models/income-source/sole-forecast.mjs +1 -5
  11. package/esm2022/lib/models/property/property-forecast.mjs +2 -6
  12. package/esm2022/lib/models/property/property.mjs +4 -2
  13. package/esm2022/lib/models/sole/sole-business-loss.mjs +1 -5
  14. package/fesm2022/taxtank-core.mjs +1079 -1093
  15. package/fesm2022/taxtank-core.mjs.map +1 -1
  16. package/lib/db/Models/incomeSource/income-source-forecast.d.ts +1 -1
  17. package/lib/db/Models/incomeSource/salary-forecast.d.ts +1 -2
  18. package/lib/db/Models/property/property-forecast.d.ts +1 -2
  19. package/lib/db/Models/sole/sole-business-loss.d.ts +1 -2
  20. package/lib/db/Models/sole/sole-forecast.d.ts +1 -2
  21. package/lib/db/Models/vehicle/vehicle-claim-details.d.ts +1 -1
  22. package/lib/models/client/capital-loss.d.ts +0 -2
  23. package/lib/models/client/capital-loss.interface.d.ts +1 -1
  24. package/lib/models/income-source/salary-forecast.d.ts +0 -2
  25. package/lib/models/income-source/sole-forecast.d.ts +0 -2
  26. package/lib/models/property/property-forecast.d.ts +0 -2
  27. package/lib/models/sole/sole-business-loss.d.ts +0 -2
  28. package/package.json +1 -1
@@ -1,4 +1,4 @@
1
- import { IncomeSourceForecastTrustTypeEnum } from '../../Enums/income-source/income-source-forecast-trust-type.enum';
1
+ import { IncomeSourceForecastTrustTypeEnum } from '../../Enums/income-source';
2
2
  import { IncomeSource } from './income-source';
3
3
  import { IncomeSourceType } from './income-source-type';
4
4
  import { AbstractModel } from '../abstract-model';
@@ -1,7 +1,6 @@
1
1
  import { SalaryForecastFrequencyEnum } from '../../Enums/salary-forecast-frequency.enum';
2
2
  import { IncomeSource } from './income-source';
3
3
  import { AbstractModel } from '../abstract-model';
4
- import { User } from '../user/user';
5
4
  export declare class SalaryForecast extends AbstractModel {
6
5
  financialYear?: number;
7
6
  paygIncome?: number;
@@ -13,5 +12,5 @@ export declare class SalaryForecast extends AbstractModel {
13
12
  createdAt?: Date;
14
13
  updatedAt?: Date;
15
14
  incomeSource?: IncomeSource;
16
- updatedBy?: User;
15
+ isManual?: boolean;
17
16
  }
@@ -1,6 +1,5 @@
1
1
  import { Property } from './property';
2
2
  import { AbstractModel } from '../abstract-model';
3
- import { User } from '../user/user';
4
3
  export declare class PropertyForecast extends AbstractModel {
5
4
  financialYear?: number;
6
5
  marketValue?: number;
@@ -13,5 +12,5 @@ export declare class PropertyForecast extends AbstractModel {
13
12
  updatedAt?: Date;
14
13
  property?: Property;
15
14
  claimPercent?: number;
16
- updatedBy?: User;
15
+ isManual?: boolean;
17
16
  }
@@ -1,11 +1,10 @@
1
1
  import { SoleBusiness } from './sole-business';
2
2
  import { SoleBusinessLossOffsetRule } from './sole-business-loss-offset-rule';
3
3
  import { AbstractModel } from '../abstract-model';
4
- import { User } from '../user/user';
5
4
  export declare class SoleBusinessLoss extends AbstractModel {
6
5
  openBalance?: number;
7
6
  financialYear?: number;
8
7
  business?: SoleBusiness;
9
8
  offsetRule?: SoleBusinessLossOffsetRule;
10
- updatedBy?: User;
9
+ isManual?: boolean;
11
10
  }
@@ -1,10 +1,9 @@
1
1
  import { IncomeSource } from '../incomeSource/income-source';
2
2
  import { AbstractModel } from '../abstract-model';
3
- import { User } from '../user/user';
4
3
  export declare class SoleForecast extends AbstractModel {
5
4
  financialYear?: number;
6
5
  amount?: number;
7
6
  taxInstalments?: number;
8
7
  incomeSource?: IncomeSource;
9
- updatedBy?: User;
8
+ isManual?: boolean;
10
9
  }
@@ -4,6 +4,6 @@ import { AbstractModel } from '../abstract-model';
4
4
  export declare class VehicleClaimDetails extends AbstractModel {
5
5
  financialYear?: number;
6
6
  method?: VehicleClaimDetailsMethodEnum;
7
- isManual?: boolean;
8
7
  user?: User;
8
+ isManual?: boolean;
9
9
  }
@@ -1,10 +1,8 @@
1
1
  import { CapitalLossInterface } from './capital-loss.interface';
2
2
  import { ClientDetails } from './client-details';
3
3
  import { AbstractModel } from '../../db/Models';
4
- import { User } from '../user';
5
4
  export declare class CapitalLoss extends AbstractModel implements CapitalLossInterface {
6
5
  clientDetails: ClientDetails;
7
- updatedBy: User;
8
6
  financialYear: number;
9
7
  balance: number;
10
8
  isManual: boolean;
@@ -2,5 +2,5 @@ export interface CapitalLossInterface {
2
2
  clientDetails: object;
3
3
  financialYear: number;
4
4
  balance: number;
5
- updatedBy: object;
5
+ isManual: boolean;
6
6
  }
@@ -1,13 +1,11 @@
1
1
  import { SalaryForecast as SalaryForecastBase } from '../../db/Models/incomeSource/salary-forecast';
2
2
  import { IncomeSource } from './income-source';
3
3
  import { IIncomeSourceForecast } from '../../interfaces';
4
- import { User } from '../user';
5
4
  export declare class SalaryForecast extends SalaryForecastBase implements IIncomeSourceForecast {
6
5
  tax: number;
7
6
  netPay: number;
8
7
  get grossAmount(): number;
9
8
  incomeSource: IncomeSource;
10
- updatedBy: User;
11
9
  get taxWithheld(): number;
12
10
  get monthlyAmount(): number;
13
11
  }
@@ -1,9 +1,7 @@
1
1
  import { IncomeSource } from './income-source';
2
2
  import { SoleForecast as SoleForecastBase } from '../../db/Models/sole/sole-forecast';
3
3
  import { IIncomeSourceForecast } from '../../interfaces';
4
- import { User } from '../user';
5
4
  export declare class SoleForecast extends SoleForecastBase implements IIncomeSourceForecast {
6
5
  incomeSource: IncomeSource;
7
- updatedBy: User;
8
6
  get netPay(): number;
9
7
  }
@@ -1,5 +1,4 @@
1
1
  import { PropertyForecast as PropertyForecastBase } from '../../db/Models/property/property-forecast';
2
- import { User } from '../user';
3
2
  export declare class PropertyForecast extends PropertyForecastBase {
4
3
  income: number;
5
4
  expense: number;
@@ -7,7 +6,6 @@ export declare class PropertyForecast extends PropertyForecastBase {
7
6
  depreciation: number;
8
7
  loanBalance: number;
9
8
  marketValue: number;
10
- updatedBy: User;
11
9
  financialYear: number;
12
10
  /**
13
11
  * Get cash position
@@ -1,7 +1,6 @@
1
1
  import { SoleBusinessLoss as SoleBusinessLossBase } from '../../db/Models/sole/sole-business-loss';
2
2
  import { SoleBusiness } from './sole-business';
3
3
  import { SoleBusinessLossOffsetRule } from './sole-business-loss-offset-rule';
4
- import { User } from '../user';
5
4
  /**
6
5
  * If a sole trader business makes a tax loss in a current year, you can generally carry forward that loss and offset profit in future years.
7
6
  * https://taxtank.atlassian.net/wiki/spaces/TAXTANK/pages/4641357930/Rules+when+a+business+makes+a+loss+Tax+Summary#Offsetting-current-year-business-losses
@@ -9,7 +8,6 @@ import { User } from '../user';
9
8
  export declare class SoleBusinessLoss extends SoleBusinessLossBase {
10
9
  business: SoleBusiness;
11
10
  offsetRule: SoleBusinessLossOffsetRule;
12
- updatedBy: User;
13
11
  openBalance: number;
14
12
  financialYear: number;
15
13
  get hasOffset(): boolean;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "taxtank-core",
3
- "version": "0.32.126",
3
+ "version": "0.32.128",
4
4
  "private": false,
5
5
  "peerDependencies": {
6
6
  "@angular/compiler": "^16.2.12",