taxtank-core 0.33.116 → 0.33.117

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "taxtank-core",
3
- "version": "0.33.116",
3
+ "version": "0.33.117",
4
4
  "private": false,
5
5
  "peerDependencies": {
6
6
  "@angular/common": "^17.0.0",
@@ -1,6 +1,8 @@
1
+ import { SetupItemTypeEnum } from '../Enums/setup-item-type.enum';
1
2
  import { UserRolesEnum } from 'taxtank-core/common';
2
3
  import { AbstractModel } from './abstract-model';
3
4
  export declare class SetupItem extends AbstractModel {
5
+ type?: SetupItemTypeEnum;
4
6
  title?: string;
5
7
  description?: string;
6
8
  url?: string;
@@ -2,6 +2,7 @@ import { BankAccountService, ClientInviteService, ClientMovementService, Employe
2
2
  import { User } from '../../models';
3
3
  import { AccountSetupItemCollection } from '../../collections';
4
4
  import { Observable } from 'rxjs';
5
+ import { SetupItemTypeEnum } from '../../db/Enums/setup-item-type.enum';
5
6
  import { SetupItemService } from '../http/setup-item/setup-item.service';
6
7
  import * as i0 from "@angular/core";
7
8
  /**
@@ -30,8 +31,9 @@ export declare class AccountSetupService {
30
31
  /**
31
32
  * Get list of account setup items for current user/firm
32
33
  */
33
- get(): Observable<AccountSetupItemCollection>;
34
- getItems$(): Observable<AccountSetupItemCollection>;
34
+ get(type: SetupItemTypeEnum): Observable<AccountSetupItemCollection>;
35
+ getClientItems$(): Observable<AccountSetupItemCollection>;
36
+ getFirmItems$(): Observable<AccountSetupItemCollection>;
35
37
  /**
36
38
  * Check and update isCompleted flag for passed item
37
39
  */