@csmart/ngc-smart-victim 1.14.42 → 1.18.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (67) hide show
  1. package/{esm2020 → esm2022}/csmart-ngc-smart-victim.mjs +4 -4
  2. package/esm2022/lib/caseNote/caseNote.component.mjs +194 -0
  3. package/esm2022/lib/common-dialog/common-dialog.component.mjs +23 -0
  4. package/{esm2020 → esm2022}/lib/common-dialog/common-dialog.module.mjs +34 -34
  5. package/{esm2020 → esm2022}/lib/common-dialog/common-dialog.service.mjs +33 -33
  6. package/esm2022/lib/contact/contact.component.mjs +140 -0
  7. package/{esm2020 → esm2022}/lib/email.services.mjs +29 -29
  8. package/esm2022/lib/intake.service.mjs +57 -0
  9. package/{esm2020 → esm2022}/lib/safetyPlan/serviceProvider.component.mjs +62 -62
  10. package/esm2022/lib/safetyPlan/victimSafetyPlan.component.mjs +116 -0
  11. package/esm2022/lib/safetyPlan/victimSafetyPlanDetail.component.mjs +340 -0
  12. package/{esm2020 → esm2022}/lib/shared/app.shared.module.mjs +215 -215
  13. package/esm2022/lib/shared/validators/date.validator.mjs +59 -0
  14. package/{esm2020 → esm2022}/lib/shared/validators/index.mjs +1 -1
  15. package/esm2022/lib/smart-victim-delete-confirm.component.mjs +44 -0
  16. package/esm2022/lib/smart-victim-detail/smart-victim-detail.component.mjs +1104 -0
  17. package/esm2022/lib/smart-victim.component.mjs +314 -0
  18. package/{esm2020 → esm2022}/lib/smart-victim.model.mjs +132 -132
  19. package/{esm2020 → esm2022}/lib/smart-victim.module.mjs +128 -128
  20. package/esm2022/lib/smart-victim.service.mjs +352 -0
  21. package/{esm2020 → esm2022}/lib/victim-routing.module.mjs +41 -41
  22. package/{esm2020 → esm2022}/lib/victimSearch/VictimSearchFilter.mjs +2 -2
  23. package/esm2022/lib/victimSearch/victimSearchForm.component.mjs +38 -0
  24. package/{esm2020 → esm2022}/public-api.mjs +10 -10
  25. package/fesm2022/csmart-ngc-smart-victim.mjs +3261 -0
  26. package/fesm2022/csmart-ngc-smart-victim.mjs.map +1 -0
  27. package/index.d.ts +5 -5
  28. package/lib/caseNote/caseNote.component.d.ts +51 -51
  29. package/lib/common-dialog/common-dialog.component.d.ts +14 -14
  30. package/lib/common-dialog/common-dialog.module.d.ts +8 -8
  31. package/lib/common-dialog/common-dialog.service.d.ts +11 -11
  32. package/lib/contact/contact.component.d.ts +40 -40
  33. package/lib/email.services.d.ts +11 -11
  34. package/lib/intake.service.d.ts +57 -57
  35. package/lib/safetyPlan/serviceProvider.component.d.ts +19 -19
  36. package/lib/safetyPlan/victimSafetyPlan.component.d.ts +54 -54
  37. package/lib/safetyPlan/victimSafetyPlanDetail.component.d.ts +62 -62
  38. package/lib/shared/app.shared.module.d.ts +33 -33
  39. package/lib/shared/validators/date.validator.d.ts +9 -9
  40. package/lib/shared/validators/index.d.ts +1 -1
  41. package/lib/smart-victim-delete-confirm.component.d.ts +12 -12
  42. package/lib/smart-victim-detail/smart-victim-detail.component.d.ts +129 -129
  43. package/lib/smart-victim.component.d.ts +68 -68
  44. package/lib/smart-victim.model.d.ts +205 -205
  45. package/lib/smart-victim.module.d.ts +49 -49
  46. package/lib/smart-victim.service.d.ts +71 -71
  47. package/lib/victim-routing.module.d.ts +7 -7
  48. package/lib/victimSearch/VictimSearchFilter.d.ts +7 -7
  49. package/lib/victimSearch/victimSearchForm.component.d.ts +14 -14
  50. package/package.json +5 -11
  51. package/public-api.d.ts +7 -7
  52. package/esm2020/lib/caseNote/caseNote.component.mjs +0 -194
  53. package/esm2020/lib/common-dialog/common-dialog.component.mjs +0 -23
  54. package/esm2020/lib/contact/contact.component.mjs +0 -140
  55. package/esm2020/lib/intake.service.mjs +0 -57
  56. package/esm2020/lib/safetyPlan/victimSafetyPlan.component.mjs +0 -116
  57. package/esm2020/lib/safetyPlan/victimSafetyPlanDetail.component.mjs +0 -340
  58. package/esm2020/lib/shared/validators/date.validator.mjs +0 -59
  59. package/esm2020/lib/smart-victim-delete-confirm.component.mjs +0 -44
  60. package/esm2020/lib/smart-victim-detail/smart-victim-detail.component.mjs +0 -1104
  61. package/esm2020/lib/smart-victim.component.mjs +0 -314
  62. package/esm2020/lib/smart-victim.service.mjs +0 -352
  63. package/esm2020/lib/victimSearch/victimSearchForm.component.mjs +0 -38
  64. package/fesm2015/csmart-ngc-smart-victim.mjs +0 -3273
  65. package/fesm2015/csmart-ngc-smart-victim.mjs.map +0 -1
  66. package/fesm2020/csmart-ngc-smart-victim.mjs +0 -3261
  67. package/fesm2020/csmart-ngc-smart-victim.mjs.map +0 -1
@@ -1,68 +1,68 @@
1
- import { OnInit, OnChanges, AfterViewInit } from '@angular/core';
2
- import { ActivatedRoute, Router } from '@angular/router';
3
- import { MatTableDataSource } from '@angular/material/table';
4
- import { MatSort } from '@angular/material/sort';
5
- import { MatDialog } from '@angular/material/dialog';
6
- import { SmartAccessControlConfig } from "@csmart/ngc-smart-core";
7
- import { NgcSmartVictimService } from './smart-victim.service';
8
- import { VictimListFilter, Victim } from './smart-victim.model';
9
- import { IntakeServicesComponent } from './intake.service';
10
- import { MatPaginator } from '@angular/material/paginator';
11
- import { MatSnackBar } from '@angular/material/snack-bar';
12
- import * as i0 from "@angular/core";
13
- export declare class NgcSmartVictimComponent implements OnInit, OnChanges, AfterViewInit {
14
- private dialog;
15
- private victimService;
16
- private router;
17
- private route;
18
- private snackBar;
19
- private intakeService;
20
- private smartWarrantUrl;
21
- private document;
22
- offenderId: number;
23
- staffId: number;
24
- staffRole: string;
25
- showCaseNote: string;
26
- showSafetyPlan: string;
27
- showAdd: boolean;
28
- showEdit: string;
29
- showRelationshipColumn: boolean;
30
- showOffenderNameColumn: boolean;
31
- showOffenderPhoneColumn: boolean;
32
- showSearchForm: boolean;
33
- accessByModule: string;
34
- intakeFlag: string;
35
- appModuleId: string;
36
- activatedRoute: ActivatedRoute;
37
- paginator: MatPaginator;
38
- sort: MatSort;
39
- displayedColumns: string[];
40
- victims: Victim[];
41
- victimDetail: Victim;
42
- showDetail: boolean;
43
- victimListFilter: VictimListFilter;
44
- victimListDataSource: MatTableDataSource<unknown>;
45
- doSpin: boolean;
46
- showListFlag: boolean;
47
- msg: string;
48
- isIntake: boolean;
49
- updateAccessControlConfig: SmartAccessControlConfig;
50
- createAccessControlConfig: SmartAccessControlConfig;
51
- deleteAccessControlConfig: SmartAccessControlConfig;
52
- constructor(dialog: MatDialog, victimService: NgcSmartVictimService, router: Router, route: ActivatedRoute, snackBar: MatSnackBar, intakeService: IntakeServicesComponent, smartWarrantUrl: string, document: any);
53
- applyFilter(filterValue: string): void;
54
- addRecord(): void;
55
- editVictimDetail(record: any): void;
56
- save(detail: Victim): void;
57
- cancel(): void;
58
- ngAfterViewInit(): void;
59
- ngOnChanges(): void;
60
- ngOnInit(): void;
61
- formatPhoneNumber(phoneNumberString: any): string;
62
- saveIntake(): void;
63
- goToCaseNote(victimId: number): void;
64
- goToSaftyPlan(victimId: number): void;
65
- getVictimList(filter: VictimListFilter): void;
66
- static ɵfac: i0.ɵɵFactoryDeclaration<NgcSmartVictimComponent, never>;
67
- static ɵcmp: i0.ɵɵComponentDeclaration<NgcSmartVictimComponent, "csmart-victim", never, { "offenderId": "offenderId"; "staffId": "staffId"; "staffRole": "staffRole"; "showCaseNote": "showCaseNote"; "showSafetyPlan": "showSafetyPlan"; "showAdd": "showAdd"; "showEdit": "showEdit"; "showRelationshipColumn": "showRelationshipColumn"; "showOffenderNameColumn": "showOffenderNameColumn"; "showOffenderPhoneColumn": "showOffenderPhoneColumn"; "showSearchForm": "showSearchForm"; "accessByModule": "accessByModule"; "intakeFlag": "intakeFlag"; "appModuleId": "appModuleId"; "activatedRoute": "activatedRoute"; }, {}, never, never, false>;
68
- }
1
+ import { OnInit, OnChanges, AfterViewInit } from '@angular/core';
2
+ import { ActivatedRoute, Router } from '@angular/router';
3
+ import { MatTableDataSource } from '@angular/material/table';
4
+ import { MatSort } from '@angular/material/sort';
5
+ import { MatDialog } from '@angular/material/dialog';
6
+ import { SmartAccessControlConfig } from "@csmart/ngc-smart-core";
7
+ import { NgcSmartVictimService } from './smart-victim.service';
8
+ import { VictimListFilter, Victim } from './smart-victim.model';
9
+ import { IntakeServicesComponent } from './intake.service';
10
+ import { MatPaginator } from '@angular/material/paginator';
11
+ import { MatSnackBar } from '@angular/material/snack-bar';
12
+ import * as i0 from "@angular/core";
13
+ export declare class NgcSmartVictimComponent implements OnInit, OnChanges, AfterViewInit {
14
+ private dialog;
15
+ private victimService;
16
+ private router;
17
+ private route;
18
+ private snackBar;
19
+ private intakeService;
20
+ private smartWarrantUrl;
21
+ private document;
22
+ offenderId: number;
23
+ staffId: number;
24
+ staffRole: string;
25
+ showCaseNote: string;
26
+ showSafetyPlan: string;
27
+ showAdd: boolean;
28
+ showEdit: string;
29
+ showRelationshipColumn: boolean;
30
+ showOffenderNameColumn: boolean;
31
+ showOffenderPhoneColumn: boolean;
32
+ showSearchForm: boolean;
33
+ accessByModule: string;
34
+ intakeFlag: string;
35
+ appModuleId: string;
36
+ activatedRoute: ActivatedRoute;
37
+ paginator: MatPaginator;
38
+ sort: MatSort;
39
+ displayedColumns: string[];
40
+ victims: Victim[];
41
+ victimDetail: Victim;
42
+ showDetail: boolean;
43
+ victimListFilter: VictimListFilter;
44
+ victimListDataSource: MatTableDataSource<unknown, MatPaginator>;
45
+ doSpin: boolean;
46
+ showListFlag: boolean;
47
+ msg: string;
48
+ isIntake: boolean;
49
+ updateAccessControlConfig: SmartAccessControlConfig;
50
+ createAccessControlConfig: SmartAccessControlConfig;
51
+ deleteAccessControlConfig: SmartAccessControlConfig;
52
+ constructor(dialog: MatDialog, victimService: NgcSmartVictimService, router: Router, route: ActivatedRoute, snackBar: MatSnackBar, intakeService: IntakeServicesComponent, smartWarrantUrl: string, document: any);
53
+ applyFilter(filterValue: string): void;
54
+ addRecord(): void;
55
+ editVictimDetail(record: any): void;
56
+ save(detail: Victim): void;
57
+ cancel(): void;
58
+ ngAfterViewInit(): void;
59
+ ngOnChanges(): void;
60
+ ngOnInit(): void;
61
+ formatPhoneNumber(phoneNumberString: any): string;
62
+ saveIntake(): void;
63
+ goToCaseNote(victimId: number): void;
64
+ goToSaftyPlan(victimId: number): void;
65
+ getVictimList(filter: VictimListFilter): void;
66
+ static ɵfac: i0.ɵɵFactoryDeclaration<NgcSmartVictimComponent, never>;
67
+ static ɵcmp: i0.ɵɵComponentDeclaration<NgcSmartVictimComponent, "csmart-victim", never, { "offenderId": { "alias": "offenderId"; "required": false; }; "staffId": { "alias": "staffId"; "required": false; }; "staffRole": { "alias": "staffRole"; "required": false; }; "showCaseNote": { "alias": "showCaseNote"; "required": false; }; "showSafetyPlan": { "alias": "showSafetyPlan"; "required": false; }; "showAdd": { "alias": "showAdd"; "required": false; }; "showEdit": { "alias": "showEdit"; "required": false; }; "showRelationshipColumn": { "alias": "showRelationshipColumn"; "required": false; }; "showOffenderNameColumn": { "alias": "showOffenderNameColumn"; "required": false; }; "showOffenderPhoneColumn": { "alias": "showOffenderPhoneColumn"; "required": false; }; "showSearchForm": { "alias": "showSearchForm"; "required": false; }; "accessByModule": { "alias": "accessByModule"; "required": false; }; "intakeFlag": { "alias": "intakeFlag"; "required": false; }; "appModuleId": { "alias": "appModuleId"; "required": false; }; "activatedRoute": { "alias": "activatedRoute"; "required": false; }; }, {}, never, never, false, never>;
68
+ }
@@ -1,205 +1,205 @@
1
- import { InjectionToken } from '@angular/core';
2
- export declare const SMART_OFFENDER_SERVICE_URL: InjectionToken<string>;
3
- export declare const SMART_LOOKUP_SERVICE_URL: InjectionToken<string>;
4
- export declare const SMART_VICTIM_SERVICE_URL: InjectionToken<string>;
5
- export declare const SMART_WARRANT_URL: InjectionToken<string>;
6
- export interface ElementsVictim {
7
- victimId: string;
8
- victimType: string;
9
- victimProvider: string;
10
- victimPolicyHolder: string;
11
- startDate: string;
12
- endDate: string;
13
- isActive: boolean;
14
- }
15
- export declare class VictimListFilter {
16
- offenderId: number;
17
- lastName: string;
18
- firstName: string;
19
- pdid: string;
20
- birthDate: Date;
21
- }
22
- export declare class VictimAdvocate {
23
- victimAdvocateId: number;
24
- lastName: string;
25
- firstName: string;
26
- prefixId: string;
27
- suffixId: string;
28
- addressId: number;
29
- noPhoneFlag: boolean;
30
- homePhone: string;
31
- workPhone: string;
32
- cellPhone: string;
33
- email: string;
34
- modifiedBy: number;
35
- constructor(victimAdvocateId: number, lastName: string, firstName: string, prefixId: string, suffixId: string, addressId: number, noPhoneFlag: boolean, homePhone: string, workPhone: string, cellPhone: string, email: string, modifiedBy: number);
36
- }
37
- export declare class VictimWeaponUse {
38
- victimId: number;
39
- weaponTypeId: string;
40
- otherWeapon: string;
41
- modifiedBy: number;
42
- constructor(victimId: number, weaponTypeId: string, otherWeapon: string, modifiedBy: number);
43
- }
44
- export declare class VictimDrugUse {
45
- victimId: number;
46
- drugTypeId: string;
47
- otherDrug: string;
48
- modifiedBy: number;
49
- constructor(victimId: number, drugTypeId: string, otherDrug: string, modifiedBy: number);
50
- }
51
- export declare class VictimSupport {
52
- victimId: number;
53
- victimSupportTypeId: string;
54
- modifiedBy: number;
55
- constructor(victimId: number, victimSupportTypeId: string, modifiedBy: number);
56
- }
57
- export declare class VictimGuardian {
58
- victimGuardianId: number;
59
- lastName: string;
60
- firstName: string;
61
- prefixId: string;
62
- suffixId: string;
63
- birthDate: string;
64
- addressId: number;
65
- noPhoneFlag: boolean;
66
- homePhone: string;
67
- workPhone: string;
68
- cellPhone: string;
69
- email: string;
70
- modifiedBy: number;
71
- constructor(victimGuardianId: number, lastName: string, firstName: string, prefixId: string, suffixId: string, birthDate: string, addressId: number, noPhoneFlag: boolean, homePhone: string, workPhone: string, cellPhone: string, email: string, modifiedBy: number);
72
- }
73
- export interface CaseNote {
74
- victimId: number;
75
- victimCaseNoteId: number;
76
- caseNoteDate: Date;
77
- contactTypeId: string;
78
- contactType: string;
79
- victimContactPurposeId: string;
80
- victimContactPurpose: string;
81
- comment: string;
82
- modifiedBy: number;
83
- victimFirstName: string;
84
- victimLastName: string;
85
- }
86
- export interface Contact {
87
- victimId: number;
88
- victimContactId: number;
89
- contactDate: Date;
90
- victimContactMethodId: string;
91
- contactMethod: string;
92
- contactedBy: number;
93
- contactedByName: string;
94
- nextContactDate: Date;
95
- comment: string;
96
- modifiedBy: number;
97
- }
98
- export interface VictimSafetyPlan {
99
- victimId: number;
100
- fullName: string;
101
- victimServiceId: number;
102
- goal: string;
103
- comment: string;
104
- modifiedBy: number;
105
- victimServiceStatusId: string;
106
- status: string;
107
- startDate: Date;
108
- vVictimServiceDetails: VictimServiceDetail[];
109
- victimName: String;
110
- }
111
- export interface VictimServiceDetail {
112
- victimServiceId: number;
113
- victimServiceDetailId: number;
114
- victimServiceTypeId: string;
115
- victimProgramProviderId: string;
116
- victimProgramProvider: string;
117
- modifiedBy: number;
118
- }
119
- export interface VictimServiceStatusHistory {
120
- victimServiceStatusHistoryId: number;
121
- victimServiceId: string;
122
- victimServiceStatusId: string;
123
- startDate: Date;
124
- comment: string;
125
- modifiedBy: number;
126
- }
127
- export interface VictimServiceTypeProgramProviderModel {
128
- victimServiceTypeProgramProviderId: number;
129
- victimServiceType: string;
130
- victimProgramProviderId: string;
131
- victimServiceTypeId: string;
132
- victimProgramProvider: string;
133
- }
134
- export interface ProviderListCollectionModel {
135
- groupId: string;
136
- isDisplay: boolean;
137
- collection: VictimServiceTypeProgramProviderModel[];
138
- }
139
- export interface ProvidersDialogData {
140
- serviceType: any;
141
- serviceTypeId: any;
142
- providerCollections: [];
143
- }
144
- export declare class Victim {
145
- victimId: number;
146
- offenderId: number;
147
- underSupervisionFlag: string;
148
- victimOffenderRelationshipTypeId: string;
149
- lastName: string;
150
- firstName: string;
151
- middleName: string;
152
- prefixId: string | null;
153
- suffixId: string | null;
154
- birthDate: string;
155
- genderCode: string;
156
- homePhone: string | null;
157
- workPhone: string | null;
158
- cellPhone: string | null;
159
- email: string;
160
- addressId: number;
161
- minorFlag: boolean;
162
- victimAdvocateFlag: string;
163
- guardianFirstName: string;
164
- guardianLastName: string;
165
- guardianPrefixId: string;
166
- guardianSuffixId: string;
167
- guardianNoPhoneFlag: boolean;
168
- guardianHomePhone: string | null;
169
- guardianWorkPhone: string | null;
170
- guardianCellPhone: string | null;
171
- guardianEmail: string;
172
- guardianAddressId: number;
173
- guardianBirthDate: string;
174
- advocateFirstName: string;
175
- advocateLastName: string;
176
- advocatePrefixId: string;
177
- advocateSuffixId: string;
178
- advocateNoPhoneFlag: boolean;
179
- advocateHomePhone: string | null;
180
- advocateWorkPhone: string | null;
181
- advocateCellPhone: string | null;
182
- advocateEmail: string;
183
- advocateAddressId: number;
184
- emergencyContact: string;
185
- emergencyContactPhone: string | null;
186
- commonChildrenFlag: boolean;
187
- commonChildrenNumber: number;
188
- cpoExpirationFlag: boolean;
189
- cpoExpirationDate: string;
190
- supportInPlaceFlag: boolean;
191
- weaponInvolvedFlag: boolean;
192
- drugUseFlag: boolean;
193
- alcoholUseFlag: boolean;
194
- accessRisk: string;
195
- modifiedBy: number;
196
- relationship: string;
197
- vVictimAdvocate: VictimAdvocate;
198
- vVictimGuardian: VictimGuardian;
199
- victimSupports: VictimSupport[];
200
- victimWeaponUses: VictimWeaponUse[];
201
- victimDrugUses: VictimDrugUse[];
202
- allowCsosaContactFlag: boolean;
203
- liveWithOffenderFlag: boolean;
204
- constructor(victimId: number, offenderId: number, underSupervisionFlag: string, victimOffenderRelationshipTypeId: string, lastName: string, firstName: string, middleName: string, prefixId: string | null, suffixId: string | null, birthDate: string, genderCode: string, homePhone: string | null, workPhone: string | null, cellPhone: string | null, email: string, addressId: number, minorFlag: boolean, victimAdvocateFlag: string, guardianFirstName: string, guardianLastName: string, guardianPrefixId: string, guardianSuffixId: string, guardianNoPhoneFlag: boolean, guardianHomePhone: string | null, guardianWorkPhone: string | null, guardianCellPhone: string | null, guardianEmail: string, guardianAddressId: number, guardianBirthDate: string, advocateFirstName: string, advocateLastName: string, advocatePrefixId: string, advocateSuffixId: string, advocateNoPhoneFlag: boolean, advocateHomePhone: string | null, advocateWorkPhone: string | null, advocateCellPhone: string | null, advocateEmail: string, advocateAddressId: number, emergencyContact: string, emergencyContactPhone: string | null, commonChildrenFlag: boolean, commonChildrenNumber: number, cpoExpirationFlag: boolean, cpoExpirationDate: string, supportInPlaceFlag: boolean, weaponInvolvedFlag: boolean, drugUseFlag: boolean, alcoholUseFlag: boolean, accessRisk: string, modifiedBy: number, relationship: string, vVictimAdvocate: VictimAdvocate, vVictimGuardian: VictimGuardian, victimSupports: VictimSupport[], victimWeaponUses: VictimWeaponUse[], victimDrugUses: VictimDrugUse[], allowCsosaContactFlag: boolean, liveWithOffenderFlag: boolean);
205
- }
1
+ import { InjectionToken } from '@angular/core';
2
+ export declare const SMART_OFFENDER_SERVICE_URL: InjectionToken<string>;
3
+ export declare const SMART_LOOKUP_SERVICE_URL: InjectionToken<string>;
4
+ export declare const SMART_VICTIM_SERVICE_URL: InjectionToken<string>;
5
+ export declare const SMART_WARRANT_URL: InjectionToken<string>;
6
+ export interface ElementsVictim {
7
+ victimId: string;
8
+ victimType: string;
9
+ victimProvider: string;
10
+ victimPolicyHolder: string;
11
+ startDate: string;
12
+ endDate: string;
13
+ isActive: boolean;
14
+ }
15
+ export declare class VictimListFilter {
16
+ offenderId: number;
17
+ lastName: string;
18
+ firstName: string;
19
+ pdid: string;
20
+ birthDate: Date;
21
+ }
22
+ export declare class VictimAdvocate {
23
+ victimAdvocateId: number;
24
+ lastName: string;
25
+ firstName: string;
26
+ prefixId: string;
27
+ suffixId: string;
28
+ addressId: number;
29
+ noPhoneFlag: boolean;
30
+ homePhone: string;
31
+ workPhone: string;
32
+ cellPhone: string;
33
+ email: string;
34
+ modifiedBy: number;
35
+ constructor(victimAdvocateId: number, lastName: string, firstName: string, prefixId: string, suffixId: string, addressId: number, noPhoneFlag: boolean, homePhone: string, workPhone: string, cellPhone: string, email: string, modifiedBy: number);
36
+ }
37
+ export declare class VictimWeaponUse {
38
+ victimId: number;
39
+ weaponTypeId: string;
40
+ otherWeapon: string;
41
+ modifiedBy: number;
42
+ constructor(victimId: number, weaponTypeId: string, otherWeapon: string, modifiedBy: number);
43
+ }
44
+ export declare class VictimDrugUse {
45
+ victimId: number;
46
+ drugTypeId: string;
47
+ otherDrug: string;
48
+ modifiedBy: number;
49
+ constructor(victimId: number, drugTypeId: string, otherDrug: string, modifiedBy: number);
50
+ }
51
+ export declare class VictimSupport {
52
+ victimId: number;
53
+ victimSupportTypeId: string;
54
+ modifiedBy: number;
55
+ constructor(victimId: number, victimSupportTypeId: string, modifiedBy: number);
56
+ }
57
+ export declare class VictimGuardian {
58
+ victimGuardianId: number;
59
+ lastName: string;
60
+ firstName: string;
61
+ prefixId: string;
62
+ suffixId: string;
63
+ birthDate: string;
64
+ addressId: number;
65
+ noPhoneFlag: boolean;
66
+ homePhone: string;
67
+ workPhone: string;
68
+ cellPhone: string;
69
+ email: string;
70
+ modifiedBy: number;
71
+ constructor(victimGuardianId: number, lastName: string, firstName: string, prefixId: string, suffixId: string, birthDate: string, addressId: number, noPhoneFlag: boolean, homePhone: string, workPhone: string, cellPhone: string, email: string, modifiedBy: number);
72
+ }
73
+ export interface CaseNote {
74
+ victimId: number;
75
+ victimCaseNoteId: number;
76
+ caseNoteDate: Date;
77
+ contactTypeId: string;
78
+ contactType: string;
79
+ victimContactPurposeId: string;
80
+ victimContactPurpose: string;
81
+ comment: string;
82
+ modifiedBy: number;
83
+ victimFirstName: string;
84
+ victimLastName: string;
85
+ }
86
+ export interface Contact {
87
+ victimId: number;
88
+ victimContactId: number;
89
+ contactDate: Date;
90
+ victimContactMethodId: string;
91
+ contactMethod: string;
92
+ contactedBy: number;
93
+ contactedByName: string;
94
+ nextContactDate: Date;
95
+ comment: string;
96
+ modifiedBy: number;
97
+ }
98
+ export interface VictimSafetyPlan {
99
+ victimId: number;
100
+ fullName: string;
101
+ victimServiceId: number;
102
+ goal: string;
103
+ comment: string;
104
+ modifiedBy: number;
105
+ victimServiceStatusId: string;
106
+ status: string;
107
+ startDate: Date;
108
+ vVictimServiceDetails: VictimServiceDetail[];
109
+ victimName: String;
110
+ }
111
+ export interface VictimServiceDetail {
112
+ victimServiceId: number;
113
+ victimServiceDetailId: number;
114
+ victimServiceTypeId: string;
115
+ victimProgramProviderId: string;
116
+ victimProgramProvider: string;
117
+ modifiedBy: number;
118
+ }
119
+ export interface VictimServiceStatusHistory {
120
+ victimServiceStatusHistoryId: number;
121
+ victimServiceId: string;
122
+ victimServiceStatusId: string;
123
+ startDate: Date;
124
+ comment: string;
125
+ modifiedBy: number;
126
+ }
127
+ export interface VictimServiceTypeProgramProviderModel {
128
+ victimServiceTypeProgramProviderId: number;
129
+ victimServiceType: string;
130
+ victimProgramProviderId: string;
131
+ victimServiceTypeId: string;
132
+ victimProgramProvider: string;
133
+ }
134
+ export interface ProviderListCollectionModel {
135
+ groupId: string;
136
+ isDisplay: boolean;
137
+ collection: VictimServiceTypeProgramProviderModel[];
138
+ }
139
+ export interface ProvidersDialogData {
140
+ serviceType: any;
141
+ serviceTypeId: any;
142
+ providerCollections: [];
143
+ }
144
+ export declare class Victim {
145
+ victimId: number;
146
+ offenderId: number;
147
+ underSupervisionFlag: string;
148
+ victimOffenderRelationshipTypeId: string;
149
+ lastName: string;
150
+ firstName: string;
151
+ middleName: string;
152
+ prefixId: string | null;
153
+ suffixId: string | null;
154
+ birthDate: string;
155
+ genderCode: string;
156
+ homePhone: string | null;
157
+ workPhone: string | null;
158
+ cellPhone: string | null;
159
+ email: string;
160
+ addressId: number;
161
+ minorFlag: boolean;
162
+ victimAdvocateFlag: string;
163
+ guardianFirstName: string;
164
+ guardianLastName: string;
165
+ guardianPrefixId: string;
166
+ guardianSuffixId: string;
167
+ guardianNoPhoneFlag: boolean;
168
+ guardianHomePhone: string | null;
169
+ guardianWorkPhone: string | null;
170
+ guardianCellPhone: string | null;
171
+ guardianEmail: string;
172
+ guardianAddressId: number;
173
+ guardianBirthDate: string;
174
+ advocateFirstName: string;
175
+ advocateLastName: string;
176
+ advocatePrefixId: string;
177
+ advocateSuffixId: string;
178
+ advocateNoPhoneFlag: boolean;
179
+ advocateHomePhone: string | null;
180
+ advocateWorkPhone: string | null;
181
+ advocateCellPhone: string | null;
182
+ advocateEmail: string;
183
+ advocateAddressId: number;
184
+ emergencyContact: string;
185
+ emergencyContactPhone: string | null;
186
+ commonChildrenFlag: boolean;
187
+ commonChildrenNumber: number;
188
+ cpoExpirationFlag: boolean;
189
+ cpoExpirationDate: string;
190
+ supportInPlaceFlag: boolean;
191
+ weaponInvolvedFlag: boolean;
192
+ drugUseFlag: boolean;
193
+ alcoholUseFlag: boolean;
194
+ accessRisk: string;
195
+ modifiedBy: number;
196
+ relationship: string;
197
+ vVictimAdvocate: VictimAdvocate;
198
+ vVictimGuardian: VictimGuardian;
199
+ victimSupports: VictimSupport[];
200
+ victimWeaponUses: VictimWeaponUse[];
201
+ victimDrugUses: VictimDrugUse[];
202
+ allowCsosaContactFlag: boolean;
203
+ liveWithOffenderFlag: boolean;
204
+ constructor(victimId: number, offenderId: number, underSupervisionFlag: string, victimOffenderRelationshipTypeId: string, lastName: string, firstName: string, middleName: string, prefixId: string | null, suffixId: string | null, birthDate: string, genderCode: string, homePhone: string | null, workPhone: string | null, cellPhone: string | null, email: string, addressId: number, minorFlag: boolean, victimAdvocateFlag: string, guardianFirstName: string, guardianLastName: string, guardianPrefixId: string, guardianSuffixId: string, guardianNoPhoneFlag: boolean, guardianHomePhone: string | null, guardianWorkPhone: string | null, guardianCellPhone: string | null, guardianEmail: string, guardianAddressId: number, guardianBirthDate: string, advocateFirstName: string, advocateLastName: string, advocatePrefixId: string, advocateSuffixId: string, advocateNoPhoneFlag: boolean, advocateHomePhone: string | null, advocateWorkPhone: string | null, advocateCellPhone: string | null, advocateEmail: string, advocateAddressId: number, emergencyContact: string, emergencyContactPhone: string | null, commonChildrenFlag: boolean, commonChildrenNumber: number, cpoExpirationFlag: boolean, cpoExpirationDate: string, supportInPlaceFlag: boolean, weaponInvolvedFlag: boolean, drugUseFlag: boolean, alcoholUseFlag: boolean, accessRisk: string, modifiedBy: number, relationship: string, vVictimAdvocate: VictimAdvocate, vVictimGuardian: VictimGuardian, victimSupports: VictimSupport[], victimWeaponUses: VictimWeaponUse[], victimDrugUses: VictimDrugUse[], allowCsosaContactFlag: boolean, liveWithOffenderFlag: boolean);
205
+ }