taxtank-core 2.0.96 → 2.0.98

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
@@ -3,7 +3,7 @@ import { PipeTransform, EventEmitter, NgZone, Type, InjectionToken } from '@angu
3
3
  import * as i1 from '@angular/common';
4
4
  import { CurrencyPipe, PercentPipe, DatePipe } from '@angular/common';
5
5
  import { DomSanitizer, SafeResourceUrl } from '@angular/platform-browser';
6
- import { UserRolesEnum, JwtService, MixpanelService } from 'taxtank-core/common';
6
+ import { UserRolesEnum as UserRolesEnum$1, JwtService, MixpanelService } from 'taxtank-core/common';
7
7
  import { TreeNode } from 'primeng/api';
8
8
  import { unitOfTime } from 'moment';
9
9
  import { EventInput } from '@fullcalendar/core';
@@ -1756,7 +1756,7 @@ declare class Occupation extends Occupation$1 {
1756
1756
  * role hierarchy
1757
1757
  */
1758
1758
  declare const USER_ROLES: {
1759
- [key: string]: UserRolesEnum[];
1759
+ [key: string]: UserRolesEnum$1[];
1760
1760
  };
1761
1761
 
1762
1762
  /**
@@ -2091,7 +2091,7 @@ declare enum ServiceProductStatusEnum {
2091
2091
  declare class ServiceProduct$1 extends AbstractModel {
2092
2092
  stripeId?: string;
2093
2093
  title?: string;
2094
- role?: UserRolesEnum;
2094
+ role?: UserRolesEnum$1;
2095
2095
  description?: string;
2096
2096
  deletedAt?: Date;
2097
2097
  createdAt?: Date;
@@ -2138,7 +2138,7 @@ declare class ServiceSubscription$1 extends ObservableModel {
2138
2138
  promoCode?: ServicePromoCode;
2139
2139
  items?: ServiceSubscriptionItem$1[];
2140
2140
  payments?: ServicePayment$1[];
2141
- roles?: UserRolesEnum[];
2141
+ roles?: UserRolesEnum$1[];
2142
2142
  }
2143
2143
 
2144
2144
  declare class ServicePayment$1 extends AbstractModel {
@@ -2332,7 +2332,7 @@ declare enum ServiceProductIconsEnum {
2332
2332
  /**
2333
2333
  * List of user roles related to tanks (subscription products)
2334
2334
  */
2335
- declare const SERVICE_PRODUCT_ROLES: UserRolesEnum[];
2335
+ declare const SERVICE_PRODUCT_ROLES: UserRolesEnum$1[];
2336
2336
 
2337
2337
  declare class SetupItem extends AbstractModel {
2338
2338
  type?: SetupItemTypeEnum;
@@ -2343,7 +2343,7 @@ declare class SetupItem extends AbstractModel {
2343
2343
  isRequired?: boolean;
2344
2344
  order?: number;
2345
2345
  score?: number;
2346
- roles?: UserRolesEnum;
2346
+ roles?: UserRolesEnum$1;
2347
2347
  get typeLabel(): string;
2348
2348
  }
2349
2349
 
@@ -2421,11 +2421,11 @@ declare class User$1 extends User {
2421
2421
  *
2422
2422
  */
2423
2423
  get position(): string;
2424
- addRoles(roles?: UserRolesEnum[]): void;
2424
+ addRoles(roles?: UserRolesEnum$1[]): void;
2425
2425
  /**
2426
2426
  * search roles including hierarchy
2427
2427
  */
2428
- hasRoles(roles: UserRolesEnum | UserRolesEnum[]): boolean;
2428
+ hasRoles(roles: UserRolesEnum$1 | UserRolesEnum$1[]): boolean;
2429
2429
  getTankTypes(): TankTypeEnum[];
2430
2430
  isOnboarding(): boolean;
2431
2431
  isInactive(): boolean;
@@ -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
  /**
@@ -3652,14 +3652,14 @@ declare class MoneyCalendarEventCollection extends CalendarEventCollection<Money
3652
3652
  get expenses(): MoneyCalendarEventCollection;
3653
3653
  get incomes(): MoneyCalendarEventCollection;
3654
3654
  filterByDate(dateFrom?: Date, dateTo?: Date): MoneyCalendarEventCollection;
3655
- getByMonth(index: number): CalendarEventCollection;
3655
+ getByMonth(index: number): MoneyCalendarEventCollection;
3656
3656
  }
3657
3657
 
3658
3658
  declare class BudgetRuleCollection extends Collection<BudgetRule> implements CalendarEventProvider {
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
3664
  getByChartAccountsName(name: string): BudgetRuleCollection;
3665
3665
  }
@@ -4304,7 +4304,7 @@ declare class BudgetRule extends BudgetRule$1 implements CalendarEventProvider {
4304
4304
  /**
4305
4305
  * creates recurring calendar events based on frequency
4306
4306
  */
4307
- get calendarEvents(): MoneyCalendarEventCollection;
4307
+ getCalendarEvents(inCalendar?: boolean): MoneyCalendarEventCollection;
4308
4308
  inMonth(month: number): boolean;
4309
4309
  }
4310
4310
 
@@ -5652,7 +5652,7 @@ declare class FinancialGoal extends ObservableModel implements FinancialGoalInte
5652
5652
  /**
5653
5653
  * creates recurring calendar events based on paymentFrequency
5654
5654
  */
5655
- get calendarEvents(): MoneyCalendarEventCollection;
5655
+ getCalendarEvents(inCalendar?: boolean): MoneyCalendarEventCollection;
5656
5656
  }
5657
5657
 
5658
5658
  declare class TaxReturnCategory extends TaxReturnCategory$1 {
@@ -5918,7 +5918,7 @@ declare abstract class RestService$1<BaseModel, Model extends AbstractModel, Col
5918
5918
  * @TODO make true by default when all services refactored
5919
5919
  */
5920
5920
  protected orderByDesc: boolean;
5921
- roles: UserRolesEnum[];
5921
+ roles: UserRolesEnum$1[];
5922
5922
  mercureTopic: string;
5923
5923
  /**
5924
5924
  * flag to use error messages from api or default ones
@@ -6067,7 +6067,7 @@ declare class BankAccountService extends RestService$1<BankAccount, BankAccount$
6067
6067
  modelClass: typeof BankAccount$1;
6068
6068
  collectionClass: typeof BankAccountCollection;
6069
6069
  disabledMethods: RestMethod[];
6070
- roles: UserRolesEnum[];
6070
+ roles: UserRolesEnum$1[];
6071
6071
  constructor(http: HttpClient, eventDispatcherService: EventDispatcherService, sseService: SseService, environment: any);
6072
6072
  getActive(): Observable<BankAccountCollection>;
6073
6073
  /**
@@ -6310,11 +6310,30 @@ declare class BankService extends RestService$1<Bank$1, Bank, Collection<Bank>>
6310
6310
  static ɵprov: i0.ɵɵInjectableDeclaration<BankService>;
6311
6311
  }
6312
6312
 
6313
+ declare enum UserRolesEnum {
6314
+ FIRM_OWNER = "ROLE_FIRM_OWNER",
6315
+ FIRM_MANAGER = "ROLE_FIRM_MANAGER",
6316
+ FIRM_TOP_MANAGER = "ROLE_FIRM_TOP_MANAGER",
6317
+ CLIENT = "ROLE_CLIENT",
6318
+ EMPLOYEE = "ROLE_EMPLOYEE",
6319
+ ACCOUNTANT = "ROLE_ACCOUNTANT",
6320
+ ADVISOR = "ROLE_ADVISOR",
6321
+ USER = "ROLE_USER",
6322
+ SUBSCRIPTION = "ROLE_USER_SUBSCRIPTION",
6323
+ WORK_TANK = "ROLE_USER_WORK",
6324
+ PROPERTY_TANK = "ROLE_USER_PROPERTY",
6325
+ SOLE_TANK = "ROLE_USER_SOLE",
6326
+ HOLDING_TANK = "ROLE_USER_HOLDING",
6327
+ MONEY_TANK = "ROLE_USER_MONEY",
6328
+ SWITCH_USER = "IS_IMPERSONATOR"
6329
+ }
6330
+
6313
6331
  declare class BudgetService extends RestService$1<Budget$1, Budget, BudgetCollection> {
6314
6332
  modelClass: typeof Budget;
6315
6333
  collectionClass: typeof BudgetCollection;
6316
6334
  endpointUri: string;
6317
6335
  disabledMethods: RestMethod[];
6336
+ roles: UserRolesEnum[];
6318
6337
  static ɵfac: i0.ɵɵFactoryDeclaration<BudgetService, never>;
6319
6338
  static ɵprov: i0.ɵɵInjectableDeclaration<BudgetService>;
6320
6339
  }
@@ -6331,6 +6350,7 @@ declare class BudgetRuleService extends RestService$1<BudgetRule$1, BudgetRule,
6331
6350
  collectionClass: typeof BudgetRuleCollection;
6332
6351
  endpointUri: string;
6333
6352
  disabledMethods: RestMethod[];
6353
+ roles: UserRolesEnum[];
6334
6354
  static ɵfac: i0.ɵɵFactoryDeclaration<BudgetRuleService, never>;
6335
6355
  static ɵprov: i0.ɵɵInjectableDeclaration<BudgetRuleService>;
6336
6356
  }
@@ -6341,6 +6361,7 @@ declare class FinancialGoalService extends RestService$1<FinancialGoalInterface,
6341
6361
  endpointUri: string;
6342
6362
  disabledMethods: RestMethod[];
6343
6363
  useBackendError: boolean;
6364
+ roles: UserRolesEnum[];
6344
6365
  pause(goal: FinancialGoal): Observable<FinancialGoal>;
6345
6366
  resume(goal: FinancialGoal): Observable<FinancialGoal>;
6346
6367
  complete(goal: FinancialGoal): Observable<FinancialGoal>;
@@ -6761,7 +6782,7 @@ declare class EmployeeService extends RestService$1<User, User$1, EmployeeCollec
6761
6782
  collectionClass: typeof EmployeeCollection;
6762
6783
  disabledMethods: RestMethod[];
6763
6784
  messages: typeof EmployeeMessagesEnum;
6764
- roles: UserRolesEnum[];
6785
+ roles: UserRolesEnum$1[];
6765
6786
  activateEmployee(employee: User$1): Observable<User$1>;
6766
6787
  deactivateEmployee(employee: User$1): Observable<User$1>;
6767
6788
  toggleManagerRole(employee: User$1): Observable<User$1>;
@@ -6790,7 +6811,7 @@ declare class EmployeeInviteService extends RestService$1<EmployeeInvite$1, Empl
6790
6811
  protected endpointUri: string;
6791
6812
  collectionClass: typeof EmployeeInviteCollection;
6792
6813
  modelClass: typeof EmployeeInvite;
6793
- roles: UserRolesEnum[];
6814
+ roles: UserRolesEnum$1[];
6794
6815
  /**
6795
6816
  * Import employees for firm from CSV file
6796
6817
  * @param file
@@ -6881,7 +6902,7 @@ declare abstract class RestService<BaseModel, Model extends BaseModel> {
6881
6902
  messageUpdatedBatch: string;
6882
6903
  messageDeleted: string;
6883
6904
  messageDeletedBatch: string;
6884
- roles: UserRolesEnum[];
6905
+ roles: UserRolesEnum$1[];
6885
6906
  constructor(environment: any);
6886
6907
  protected get apiUrl(): string;
6887
6908
  /**
@@ -7235,7 +7256,7 @@ declare class PropertySaleService extends RestService$1<PropertySale, PropertySa
7235
7256
  collectionClass: typeof PropertySaleCollection;
7236
7257
  endpointUri: string;
7237
7258
  disabledMethods: RestMethod[];
7238
- roles: UserRolesEnum[];
7259
+ roles: UserRolesEnum$1[];
7239
7260
  static ɵfac: i0.ɵɵFactoryDeclaration<PropertySaleService, never>;
7240
7261
  static ɵprov: i0.ɵɵInjectableDeclaration<PropertySaleService>;
7241
7262
  }
@@ -7246,7 +7267,7 @@ declare class PropertyShareService extends RestService$1<PropertyShare$1, Proper
7246
7267
  modelClass: typeof PropertyShare;
7247
7268
  collectionClass: typeof PropertyShareCollection;
7248
7269
  disabledMethods: RestMethod[];
7249
- roles: UserRolesEnum[];
7270
+ roles: UserRolesEnum$1[];
7250
7271
  constructor(environment: any);
7251
7272
  /**
7252
7273
  * Listen to Event Dispatcher events
@@ -7367,7 +7388,7 @@ declare class SoleBusinessService extends RestService$1<SoleBusiness$1, SoleBusi
7367
7388
  modelClass: typeof SoleBusiness;
7368
7389
  collectionClass: typeof Collection;
7369
7390
  endpointUri: string;
7370
- roles: UserRolesEnum[];
7391
+ roles: UserRolesEnum$1[];
7371
7392
  static ɵfac: i0.ɵɵFactoryDeclaration<SoleBusinessService, never>;
7372
7393
  static ɵprov: i0.ɵɵInjectableDeclaration<SoleBusinessService>;
7373
7394
  }
@@ -7385,7 +7406,7 @@ declare class SoleBusinessLossService extends RestService$1<SoleBusinessLoss$1,
7385
7406
  collectionClass: typeof SoleBusinessLossCollection;
7386
7407
  endpointUri: string;
7387
7408
  disabledMethods: RestMethod[];
7388
- roles: UserRolesEnum[];
7409
+ roles: UserRolesEnum$1[];
7389
7410
  constructor(environment: any);
7390
7411
  listenEvents(): void;
7391
7412
  /**
@@ -7441,7 +7462,7 @@ declare class SoleDetailsService extends RestService$1<SoleDetails$1, SoleDetail
7441
7462
  collectionClass: typeof Collection;
7442
7463
  endpointUri: string;
7443
7464
  disabledMethods: RestMethod[];
7444
- roles: UserRolesEnum[];
7465
+ roles: UserRolesEnum$1[];
7445
7466
  get(): Observable<Collection<SoleDetails>>;
7446
7467
  static ɵfac: i0.ɵɵFactoryDeclaration<SoleDetailsService, never>;
7447
7468
  static ɵprov: i0.ɵɵInjectableDeclaration<SoleDetailsService>;
@@ -7452,7 +7473,7 @@ declare class SoleInvoiceService extends RestService$1<SoleInvoice$1, SoleInvoic
7452
7473
  endpointUri: string;
7453
7474
  modelClass: typeof SoleInvoice;
7454
7475
  collectionClass: typeof SoleInvoiceCollection;
7455
- roles: UserRolesEnum[];
7476
+ roles: UserRolesEnum$1[];
7456
7477
  constructor(environment: any);
7457
7478
  updateStatus(invoice: SoleInvoice, status: SoleInvoiceStatusesEnum): Observable<SoleInvoice>;
7458
7479
  send(invoice: SoleInvoice, file: File): Observable<Object>;
@@ -7979,7 +8000,7 @@ declare class PriorTransactionService extends RestService$1<Transaction$1, Trans
7979
8000
  modelClass: typeof Transaction;
7980
8001
  collectionClass: typeof TransactionCollection;
7981
8002
  disabledMethods: RestMethod[];
7982
- roles: UserRolesEnum[];
8003
+ roles: UserRolesEnum$1[];
7983
8004
  get(): Observable<TransactionCollection>;
7984
8005
  static ɵfac: i0.ɵɵFactoryDeclaration<PriorTransactionService, never>;
7985
8006
  static ɵprov: i0.ɵɵInjectableDeclaration<PriorTransactionService>;
@@ -8040,7 +8061,7 @@ declare class VehicleClaimService extends RestService$1<VehicleClaim$1, VehicleC
8040
8061
  protected endpointUri: string;
8041
8062
  modelClass: typeof VehicleClaim;
8042
8063
  collectionClass: typeof VehicleClaimCollection;
8043
- roles: UserRolesEnum[];
8064
+ roles: UserRolesEnum$1[];
8044
8065
  constructor(environment: any);
8045
8066
  listenEvents(): void;
8046
8067
  static ɵfac: i0.ɵɵFactoryDeclaration<VehicleClaimService, never>;
@@ -8269,7 +8290,7 @@ declare class HoldingTradeService extends RestService$1<HoldingTrade, HoldingTra
8269
8290
  collectionClass: typeof HoldingTradeCollection;
8270
8291
  endpointUri: string;
8271
8292
  disabledMethods: RestMethod[];
8272
- roles: UserRolesEnum[];
8293
+ roles: UserRolesEnum$1[];
8273
8294
  constructor(environment: any);
8274
8295
  listenEvents(): void;
8275
8296
  private listenNotifications;
@@ -8283,7 +8304,7 @@ declare class HoldingTypeService extends RestService$1<HoldingType, HoldingType$
8283
8304
  collectionClass: typeof HoldingTypeCollection;
8284
8305
  endpointUri: string;
8285
8306
  disabledMethods: RestMethod[];
8286
- roles: UserRolesEnum[];
8307
+ roles: UserRolesEnum$1[];
8287
8308
  constructor(environment: any);
8288
8309
  search(query: string, category?: HoldingTypeCategoryEnum): Observable<HoldingTypeCollection>;
8289
8310
  listenEvents(): void;
@@ -8297,7 +8318,7 @@ declare class HoldingSaleService extends RestService$1<HoldingSale, HoldingSale$
8297
8318
  collectionClass: typeof HoldingSaleCollection;
8298
8319
  endpointUri: string;
8299
8320
  disabledMethods: RestMethod[];
8300
- roles: UserRolesEnum[];
8321
+ roles: UserRolesEnum$1[];
8301
8322
  static ɵfac: i0.ɵɵFactoryDeclaration<HoldingSaleService, never>;
8302
8323
  static ɵprov: i0.ɵɵInjectableDeclaration<HoldingSaleService>;
8303
8324
  }
@@ -8385,7 +8406,7 @@ declare class HoldingTradeImportService extends RestService$1<HoldingTradeImport
8385
8406
  collectionClass: typeof Collection<HoldingTradeImport$1>;
8386
8407
  endpointUri: string;
8387
8408
  disabledMethods: RestMethod[];
8388
- roles: UserRolesEnum[];
8409
+ roles: UserRolesEnum$1[];
8389
8410
  import(file: File, exchangeId: number, isTaxFree: boolean): Observable<HoldingTradeImport$1>;
8390
8411
  static ɵfac: i0.ɵɵFactoryDeclaration<HoldingTradeImportService, never>;
8391
8412
  static ɵprov: i0.ɵɵInjectableDeclaration<HoldingTradeImportService>;
@@ -8428,7 +8449,7 @@ declare class HomeOfficeClaimService extends RestService$1<HomeOfficeClaimInterf
8428
8449
  modelClass: typeof HomeOfficeClaim;
8429
8450
  collectionClass: typeof HomeOfficeClaimCollection;
8430
8451
  disabledMethods: RestMethod[];
8431
- roles: UserRolesEnum[];
8452
+ roles: UserRolesEnum$1[];
8432
8453
  static ɵfac: i0.ɵɵFactoryDeclaration<HomeOfficeClaimService, never>;
8433
8454
  static ɵprov: i0.ɵɵInjectableDeclaration<HomeOfficeClaimService>;
8434
8455
  }
@@ -10133,7 +10154,7 @@ interface IReport {
10133
10154
  };
10134
10155
  }
10135
10156
 
10136
- declare const REPORTS: Partial<Record<UserRolesEnum, IReport[]>>;
10157
+ declare const REPORTS: Partial<Record<UserRolesEnum$1, IReport[]>>;
10137
10158
 
10138
10159
  declare class TransactionReportItem {
10139
10160
  category: ChartAccountsCategoryEnum;
@@ -10150,13 +10171,17 @@ declare class BudgetRuleItem {
10150
10171
  tankType: string;
10151
10172
  category: string;
10152
10173
  frequency: string;
10174
+ isGross: boolean;
10175
+ forecast: number;
10176
+ transactions: TransactionCollection;
10153
10177
  actual: number;
10154
10178
  variance: number;
10155
10179
  variancePercent: number;
10156
- constructor(rule: BudgetRule, transactions: TransactionCollection, isGross?: boolean);
10180
+ constructor(rule: BudgetRule, transactions: TransactionCollection, dateFrom: Date, dateTo: Date, isGross?: boolean);
10157
10181
  getSource(): string;
10158
10182
  isIncome(): boolean;
10159
10183
  onTrack(): boolean;
10184
+ getName(): string;
10160
10185
  }
10161
10186
 
10162
10187
  declare class MyTaxBusinessIncomeOrLossesForm extends AbstractForm<object> {
@@ -10933,7 +10958,7 @@ declare class User extends ObservableModel {
10933
10958
  rewardfulReferralKey?: string;
10934
10959
  stripeId?: string;
10935
10960
  basiqId?: string;
10936
- roles?: UserRolesEnum[];
10961
+ roles?: UserRolesEnum$1[];
10937
10962
  financialYear?: number;
10938
10963
  dateOfBirth?: Date;
10939
10964
  lastSeen?: Date;
@@ -11383,12 +11408,27 @@ declare class TransactionReportItemCollection extends Collection<TransactionRepo
11383
11408
  }
11384
11409
 
11385
11410
  declare class BudgetRuleItemCollection extends Collection<BudgetRuleItem> {
11386
- static create(rules: BudgetRuleCollection, transactions: TransactionCollection, isGross?: boolean): BudgetRuleItemCollection;
11411
+ isGross: boolean;
11412
+ static create(rules: BudgetRuleCollection, transactions: TransactionCollection, dateFrom?: Date, dateTo?: Date, isGross?: boolean): BudgetRuleItemCollection;
11387
11413
  get incomes(): BudgetRuleItemCollection;
11388
11414
  get expenses(): BudgetRuleItemCollection;
11389
11415
  isIncome(): boolean;
11390
- get variancePercent(): number;
11416
+ get transactions(): TransactionCollection;
11417
+ get rules(): BudgetRuleCollection;
11418
+ getCalendarEvents(inCalendar?: boolean): MoneyCalendarEventCollection;
11391
11419
  onTrack(): boolean;
11420
+ /**
11421
+ * @TODO move to property to avoid recalculations?
11422
+ */
11423
+ getActualByMonth(month: number): number;
11424
+ /**
11425
+ * @TODO move to property to avoid recalculations?
11426
+ */
11427
+ getForecastByMonth(month: number): number;
11428
+ /**
11429
+ * @TODO move to property to avoid recalculations?
11430
+ */
11431
+ get variancePercent(): number;
11392
11432
  }
11393
11433
 
11394
11434
  declare class ServiceProductCollection extends Collection<ServiceProduct> {
@@ -11426,11 +11466,11 @@ declare class ServiceSubscriptionCollection extends Collection<ServiceSubscripti
11426
11466
  getExpiredTrials(): this;
11427
11467
  getExpiredAfter(date?: Date): this;
11428
11468
  getPaid(): this;
11429
- getRoles(): UserRolesEnum[];
11469
+ getRoles(): UserRolesEnum$1[];
11430
11470
  /**
11431
11471
  * search roles including hierarchy
11432
11472
  */
11433
- hasRoles(roles: UserRolesEnum | UserRolesEnum[]): boolean;
11473
+ hasRoles(roles: UserRolesEnum$1 | UserRolesEnum$1[]): boolean;
11434
11474
  getActivePaid(): ServiceSubscription;
11435
11475
  /**
11436
11476
  * @TODO vik remove trials replaced by paid item
@@ -11439,9 +11479,9 @@ declare class ServiceSubscriptionCollection extends Collection<ServiceSubscripti
11439
11479
  groupByProduct(products: Collection<ServiceProduct>): Dictionary<ServiceSubscription>;
11440
11480
  findByProduct(product: ServiceProduct): ServiceSubscription;
11441
11481
  filterByProduct(product: ServiceProduct): this;
11442
- filterByRole(role: UserRolesEnum): this;
11443
- filterByRoles(roles: UserRolesEnum[]): this;
11444
- findByRole(role: UserRolesEnum): ServiceSubscription;
11482
+ filterByRole(role: UserRolesEnum$1): this;
11483
+ filterByRoles(roles: UserRolesEnum$1[]): this;
11484
+ findByRole(role: UserRolesEnum$1): ServiceSubscription;
11445
11485
  hasPropertyTank(): boolean;
11446
11486
  }
11447
11487
 
@@ -11648,7 +11688,7 @@ declare class FinancialGoalCollection extends Collection<FinancialGoal> implemen
11648
11688
  getActive(): this;
11649
11689
  getPropertiesByGoal(properties: PropertyCollection): CollectionDictionary<PropertyCollection>;
11650
11690
  getBankAccountsByGoal(bankAccounts: BankAccountCollection): CollectionDictionary<BankAccountCollection>;
11651
- get calendarEvents(): MoneyCalendarEventCollection;
11691
+ getCalendarEvents(inCalendar?: boolean): MoneyCalendarEventCollection;
11652
11692
  }
11653
11693
 
11654
11694
  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.96",
3
+ "version": "2.0.98",
4
4
  "private": false,
5
5
  "peerDependencies": {
6
6
  "@angular/common": "^20.1.3",