taxtank-core 0.32.58 → 0.32.59

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.
@@ -1,16 +1,17 @@
1
- import { RestMethod, RestService } from '../../rest';
1
+ import { RestService } from '../../rest';
2
2
  import { User as UserBase } from '../../../../db/Models/user/user';
3
3
  import { Observable } from 'rxjs';
4
4
  import { User } from '../../../../models';
5
5
  import { EmployeeMessagesEnum } from './employee-messages.enum';
6
6
  import { Collection } from '../../../../collections';
7
+ import { UserRolesEnum } from '../../../../db/Enums/user-roles.enum';
7
8
  import * as i0 from "@angular/core";
8
9
  export declare class EmployeeService extends RestService<UserBase, User, Collection<User>> {
9
10
  protected endpointUri: string;
10
11
  modelClass: typeof User;
11
12
  collectionClass: typeof Collection<User>;
12
- disabledMethods: RestMethod[];
13
13
  messages: typeof EmployeeMessagesEnum;
14
+ roles: UserRolesEnum[];
14
15
  activateEmployee(employee: User): Observable<User>;
15
16
  deactivateEmployee(employee: User): Observable<User>;
16
17
  static ɵfac: i0.ɵɵFactoryDeclaration<EmployeeService, never>;
@@ -1,11 +1,16 @@
1
1
  import { EmployeeInvite as EmployeeInviteBase } from '../../../../db/Models/firm/employee-invite';
2
2
  import { Observable } from 'rxjs';
3
3
  import { EmployeeInvite } from '../../../../models/employee/employee-invite';
4
- import { RestService } from '../../rest/rest-old.service';
4
+ import { RestMethod, RestService } from '../../rest';
5
+ import { UserRolesEnum } from '../../../../db/Enums/user-roles.enum';
6
+ import { Collection } from '../../../../collections';
5
7
  import * as i0 from "@angular/core";
6
- export declare class EmployeeInviteService extends RestService<EmployeeInviteBase, EmployeeInvite> {
7
- url: string;
8
+ export declare class EmployeeInviteService extends RestService<EmployeeInviteBase, EmployeeInvite, Collection<EmployeeInvite>> {
9
+ protected endpointUri: string;
10
+ collectionClass: typeof Collection<EmployeeInvite>;
11
+ disabledMethods: RestMethod[];
8
12
  modelClass: typeof EmployeeInvite;
13
+ roles: UserRolesEnum[];
9
14
  /**
10
15
  * Import employees for firm from CSV file
11
16
  * @param file
@@ -1,6 +1,7 @@
1
1
  import { HttpClient } from '@angular/common/http';
2
2
  import { Observable } from 'rxjs';
3
3
  import { YoutubeVideoInterface } from './youtube-video.interface';
4
+ import { User } from '../../../models/user';
4
5
  import * as i0 from "@angular/core";
5
6
  export declare class YoutubeService {
6
7
  private http;
@@ -8,7 +9,7 @@ export declare class YoutubeService {
8
9
  static googleUrl: string;
9
10
  static maxResults: number;
10
11
  constructor(http: HttpClient, environment: any);
11
- getTutorials(): Observable<YoutubeVideoInterface[]>;
12
+ getTutorials(user: User): Observable<YoutubeVideoInterface[]>;
12
13
  static ɵfac: i0.ɵɵFactoryDeclaration<YoutubeService, never>;
13
14
  static ɵprov: i0.ɵɵInjectableDeclaration<YoutubeService>;
14
15
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "taxtank-core",
3
- "version": "0.32.58",
3
+ "version": "0.32.59",
4
4
  "private": false,
5
5
  "peerDependencies": {
6
6
  "@angular/compiler": "^16.2.12",