taxtank-core 0.16.10 → 0.16.11

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.
@@ -13,6 +13,7 @@ export declare class IncomeSourceCollection extends Collection<IncomeSource> {
13
13
  * @param types
14
14
  */
15
15
  filterByTypes(types: IncomeSourceTypeEnum[]): IncomeSource[];
16
+ getSalary(): IncomeSource[];
16
17
  /**
17
18
  * Get income sources list of forecasts
18
19
  */
@@ -1,4 +1,5 @@
1
1
  export declare enum IncomeSourceTypeListWorkEnum {
2
+ BONUSES = 1,
2
3
  DIRECTOR_FEES = 2,
3
4
  DIVIDENDS = 3,
4
5
  INTEREST = 4,
@@ -1,6 +1,5 @@
1
1
  export declare enum IncomeSourceTypeEnum {
2
- SALARY = 1,
3
- WORK = 2,
4
- OTHER = 3,
5
- SOLE = 4
2
+ WORK = 1,
3
+ SOLE = 2,
4
+ OTHER = 3
6
5
  }
@@ -1,7 +1,7 @@
1
1
  import { IncomeSourceType as IncomeSourceTypeBase } from '../../db/Models/incomeSource/income-source-type';
2
2
  import { IncomeSourceTypeEnum } from '../../db/Enums/income-source-type.enum';
3
3
  export declare class IncomeSourceType extends IncomeSourceTypeBase {
4
- isSalary(): boolean;
4
+ isBonuses(): boolean;
5
5
  isWork(): boolean;
6
6
  isOther(): boolean;
7
7
  isSole(): boolean;
@@ -44,9 +44,10 @@ export declare class AccountSetupService {
44
44
  */
45
45
  private createBatch;
46
46
  /**
47
- * @TODO work with collection when services refactored
47
+ * @TODO Alex: work with collection when services refactored
48
+ * @TODO Vik: waiting for income sources refactoring
48
49
  */
49
- private getIncomeSourcesByType;
50
+ private getIncomeSources;
50
51
  /**
51
52
  * Show logbook item when user has at least 1 vehicle transaction
52
53
  */
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "taxtank-core",
3
- "version": "0.16.10",
3
+ "version": "0.16.11",
4
4
  "private": false,
5
5
  "peerDependencies": {
6
6
  "@angular/common": "^12.2.3 || ~13.0.0",
@@ -1,5 +0,0 @@
1
- export var IncomeSourceTypeListSalaryEnum;
2
- (function (IncomeSourceTypeListSalaryEnum) {
3
- IncomeSourceTypeListSalaryEnum[IncomeSourceTypeListSalaryEnum["BONUSES"] = 1] = "BONUSES";
4
- })(IncomeSourceTypeListSalaryEnum || (IncomeSourceTypeListSalaryEnum = {}));
5
- //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiaW5jb21lLXNvdXJjZS10eXBlLWxpc3Qtc2FsYXJ5LmVudW0uanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi8uLi8uLi9wcm9qZWN0cy90dC1jb3JlL3NyYy9saWIvZGIvRW51bXMvaW5jb21lLXNvdXJjZS10eXBlLWxpc3Qtc2FsYXJ5LmVudW0udHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBQUEsTUFBTSxDQUFOLElBQVksOEJBRVg7QUFGRCxXQUFZLDhCQUE4QjtJQUN4Qyx5RkFBVyxDQUFBO0FBQ2IsQ0FBQyxFQUZXLDhCQUE4QixLQUE5Qiw4QkFBOEIsUUFFekMiLCJzb3VyY2VzQ29udGVudCI6WyJleHBvcnQgZW51bSBJbmNvbWVTb3VyY2VUeXBlTGlzdFNhbGFyeUVudW0ge1xuICBCT05VU0VTID0gMSxcbn1cbiJdfQ==
@@ -1,3 +0,0 @@
1
- export declare enum IncomeSourceTypeListSalaryEnum {
2
- BONUSES = 1
3
- }