-
Notifications
You must be signed in to change notification settings - Fork 14
/
Copy pathnotification.model.ts
70 lines (61 loc) · 1.64 KB
/
notification.model.ts
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
import { NotificationMessageType } from "@sims/sims-db";
import { NotificationEmailMessage } from "./gc-notify.model";
export interface SaveNotificationModel {
userId?: number;
messageType: NotificationMessageType;
messagePayload: NotificationEmailMessage;
}
export interface StudentFileUploadNotification {
firstName: string;
lastName: string;
birthDate: Date;
applicationNumber?: string;
documentPurpose: string;
userId: number;
}
export interface MinistryStudentFileUploadNotification {
firstName: string;
lastName: string;
toAddress: string;
userId: number;
}
export interface MSFAACancellationNotification {
givenNames: string;
lastName: string;
toAddress: string;
userId: number;
}
export interface ApplicationOfferingChangeRequestInProgressWithStudentNotification {
givenNames: string;
lastName: string;
toAddress: string;
userId: number;
}
export interface StudentRestrictionAddedNotification {
givenNames: string;
lastName: string;
toAddress: string;
userId: number;
}
export interface StudentNotification {
givenNames: string;
lastName: string;
toAddress: string;
userId: number;
}
export interface NotificationProcessingSummary {
notificationsProcessed: number;
notificationsSuccessfullyProcessed: number;
}
export interface ECEResponseFileProcessingNotification {
institutionCode: string;
integrationContacts: string[];
fileParsingErrors: number;
totalRecords: number;
totalDisbursements: number;
disbursementsSuccessfullyProcessed: number;
disbursementsSkipped: number;
duplicateDisbursements: number;
disbursementsFailedToProcess: number;
attachmentFileContent: string;
}