taxtank-core 0.30.142 → 0.30.143

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.
@@ -11,5 +11,5 @@ export declare enum UserRolesEnum {
11
11
  PROPERTY_TANK = "ROLE_USER_PROPERTY",
12
12
  SOLE_TANK = "ROLE_USER_SOLE",
13
13
  HOLDING_TANK = "ROLE_USER_HOLDING",
14
- SWITCH_USER = "ROLE_PREVIOUS_ADMIN"
14
+ SWITCH_USER = "IS_IMPERSONATOR"
15
15
  }
@@ -4,9 +4,12 @@ import { BorrowingReport } from '../../models';
4
4
  * https://taxtank.atlassian.net/wiki/spaces/TAXTANK/pages/4717608961/Borrowing+Power+Report+-+Property+Tank
5
5
  */
6
6
  export declare class BorrowingReportForm extends AbstractForm<BorrowingReport> {
7
- constructor(report: BorrowingReport);
8
7
  /**
9
- * some fields are auto-calculated, shouldn't be updated until changedby user
8
+ * extra params are auto-calculated numbers used if user didn't specify manual numbers
9
+ */
10
+ constructor(report?: BorrowingReport, netSalary?: number, spouseNetSalary?: number);
11
+ /**
12
+ * some fields are auto-calculated, shouldn't be updated until changed by user
10
13
  */
11
14
  submit(data?: object, includeDisabledFields?: boolean): BorrowingReport;
12
15
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "taxtank-core",
3
- "version": "0.30.142",
3
+ "version": "0.30.143",
4
4
  "private": false,
5
5
  "peerDependencies": {
6
6
  "@angular/compiler": "^15.1.5",