taxtank-core 2.0.97 → 2.0.99

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/index.d.ts CHANGED
@@ -3078,7 +3078,7 @@ interface IAsset {
3078
3078
  }
3079
3079
 
3080
3080
  interface CalendarEventProvider {
3081
- get calendarEvents(): CalendarEventCollection;
3081
+ getCalendarEvents(inCalendar: boolean): CalendarEventCollection;
3082
3082
  }
3083
3083
 
3084
3084
  /**
@@ -3651,7 +3651,7 @@ declare class MoneyCalendarEventCollection extends CalendarEventCollection<Money
3651
3651
  get amount(): number;
3652
3652
  get expenses(): MoneyCalendarEventCollection;
3653
3653
  get incomes(): MoneyCalendarEventCollection;
3654
- filterByDate(dateFrom?: Date, dateTo?: Date): MoneyCalendarEventCollection;
3654
+ filterByDate(dateFrom: Date, dateTo: Date): MoneyCalendarEventCollection;
3655
3655
  getByMonth(index: number): MoneyCalendarEventCollection;
3656
3656
  }
3657
3657
 
@@ -3659,8 +3659,9 @@ declare class BudgetRuleCollection extends Collection<BudgetRule> implements Cal
3659
3659
  get expenses(): BudgetRuleCollection;
3660
3660
  get incomes(): BudgetRuleCollection;
3661
3661
  filterByProperties(properties: Property$1[]): BudgetRuleCollection;
3662
- get calendarEvents(): MoneyCalendarEventCollection;
3662
+ getCalendarEvents(inCalendar?: boolean): MoneyCalendarEventCollection;
3663
3663
  getByMonth(index: number): BudgetRuleCollection;
3664
+ getByDate(dateFrom: Date, dateTo: Date): BudgetRuleCollection;
3664
3665
  getByChartAccountsName(name: string): BudgetRuleCollection;
3665
3666
  }
3666
3667
 
@@ -4304,7 +4305,7 @@ declare class BudgetRule extends BudgetRule$1 implements CalendarEventProvider {
4304
4305
  /**
4305
4306
  * creates recurring calendar events based on frequency
4306
4307
  */
4307
- get calendarEvents(): MoneyCalendarEventCollection;
4308
+ getCalendarEvents(inCalendar?: boolean): MoneyCalendarEventCollection;
4308
4309
  inMonth(month: number): boolean;
4309
4310
  }
4310
4311
 
@@ -5652,7 +5653,7 @@ declare class FinancialGoal extends ObservableModel implements FinancialGoalInte
5652
5653
  /**
5653
5654
  * creates recurring calendar events based on paymentFrequency
5654
5655
  */
5655
- get calendarEvents(): MoneyCalendarEventCollection;
5656
+ getCalendarEvents(inCalendar?: boolean): MoneyCalendarEventCollection;
5656
5657
  }
5657
5658
 
5658
5659
  declare class TaxReturnCategory extends TaxReturnCategory$1 {
@@ -11415,7 +11416,7 @@ declare class BudgetRuleItemCollection extends Collection<BudgetRuleItem> {
11415
11416
  isIncome(): boolean;
11416
11417
  get transactions(): TransactionCollection;
11417
11418
  get rules(): BudgetRuleCollection;
11418
- get calendarEvents(): MoneyCalendarEventCollection;
11419
+ getCalendarEvents(inCalendar?: boolean): MoneyCalendarEventCollection;
11419
11420
  onTrack(): boolean;
11420
11421
  /**
11421
11422
  * @TODO move to property to avoid recalculations?
@@ -11688,7 +11689,7 @@ declare class FinancialGoalCollection extends Collection<FinancialGoal> implemen
11688
11689
  getActive(): this;
11689
11690
  getPropertiesByGoal(properties: PropertyCollection): CollectionDictionary<PropertyCollection>;
11690
11691
  getBankAccountsByGoal(bankAccounts: BankAccountCollection): CollectionDictionary<BankAccountCollection>;
11691
- get calendarEvents(): MoneyCalendarEventCollection;
11692
+ getCalendarEvents(inCalendar?: boolean): MoneyCalendarEventCollection;
11692
11693
  }
11693
11694
 
11694
11695
  declare class IncomeSourceForecastCollection extends Collection<IncomeSourceForecast> {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "taxtank-core",
3
- "version": "2.0.97",
3
+ "version": "2.0.99",
4
4
  "private": false,
5
5
  "peerDependencies": {
6
6
  "@angular/common": "^20.1.3",