@csmart/ngc-smart-victim 1.13.9 → 1.13.11

Sign up to get free protection for your applications and to get access to all the features.
@@ -8,6 +8,7 @@ import { Router, ActivatedRoute } from '@angular/router';
8
8
  import { CaseNote } from '../smart-victim.model';
9
9
  import { SmartAuthService } from '@csmart/ngc-smart-core';
10
10
  import { MatTableDataSource } from '@angular/material/table';
11
+ import { EmailService } from '../email.services';
11
12
  import * as i0 from "@angular/core";
12
13
  export declare class CaseNoteComponent implements OnInit, AfterViewInit {
13
14
  private formBuilder;
@@ -17,6 +18,7 @@ export declare class CaseNoteComponent implements OnInit, AfterViewInit {
17
18
  private route;
18
19
  private router;
19
20
  private smartAuthService;
21
+ private emailService;
20
22
  offenderId: number;
21
23
  loginStaff: LoginStaff;
22
24
  hiddenDetailFlag: boolean;
@@ -35,7 +37,7 @@ export declare class CaseNoteComponent implements OnInit, AfterViewInit {
35
37
  addDisableFlag: boolean;
36
38
  hiddenAddNewFlag: boolean;
37
39
  caseNoteForm: FormGroup;
38
- constructor(formBuilder: FormBuilder, _victimServicesComponent: NgcSmartVictimService, commonDialogService: CommonDialogService, snackBar: MatSnackBar, route: ActivatedRoute, router: Router, smartAuthService: SmartAuthService);
40
+ constructor(formBuilder: FormBuilder, _victimServicesComponent: NgcSmartVictimService, commonDialogService: CommonDialogService, snackBar: MatSnackBar, route: ActivatedRoute, router: Router, smartAuthService: SmartAuthService, emailService: EmailService);
39
41
  private initForm;
40
42
  ngAfterViewInit(): void;
41
43
  ngOnInit(): void;
@@ -0,0 +1,11 @@
1
+ import { Apollo } from 'apollo-angular';
2
+ import { Observable } from 'rxjs';
3
+ import * as i0 from "@angular/core";
4
+ export declare class EmailService {
5
+ private apollo;
6
+ constructor(apollo: Apollo);
7
+ createCaseNoteEmail(templateId: string, offenderId: number, modifiedBy: number): Observable<any>;
8
+ createEmail(emailTemplateId: string, parameters: string, modifiedBy: number): Observable<any>;
9
+ static ɵfac: i0.ɵɵFactoryDeclaration<EmailService, never>;
10
+ static ɵprov: i0.ɵɵInjectableDeclaration<EmailService>;
11
+ }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@csmart/ngc-smart-victim",
3
- "version": "1.13.9",
3
+ "version": "1.13.11",
4
4
  "peerDependencies": {
5
5
  "@angular/common": "^13.2.5",
6
6
  "@angular/core": "^13.2.5",