placementt-core 1.400.421 → 1.400.423
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/lib/typeDefinitions.d.ts +5 -1
- package/package.json +1 -1
- package/src/typeDefinitions.ts +16 -1
package/lib/typeDefinitions.d.ts
CHANGED
|
@@ -1551,6 +1551,8 @@ export type ExternalEventRequest = {
|
|
|
1551
1551
|
schoolGroups?: string[];
|
|
1552
1552
|
numberSharedWith?: number;
|
|
1553
1553
|
maxSchools?: number;
|
|
1554
|
+
viewedBy?: string[];
|
|
1555
|
+
downloadedBy?: string[];
|
|
1554
1556
|
};
|
|
1555
1557
|
export type Alumni = {
|
|
1556
1558
|
forename: string;
|
|
@@ -1949,6 +1951,7 @@ export type YearScoreData = {
|
|
|
1949
1951
|
campaignsClicked?: number;
|
|
1950
1952
|
campaignsFailed?: number;
|
|
1951
1953
|
};
|
|
1954
|
+
type MessageTypes = "hubOrTrustInviteSchool" | "sendPlacementActionRequired" | "sendPlacementAdditionalInformationRequired" | "sendFeedbackReminder" | "sendProviderContactInvite" | "sendProviderContactActivityInvite" | "sendActivateUserAccount" | "shareEmployerEventRequest" | "employerEventInvite" | "schoolEventInvite" | "reuploadPlacementDocument";
|
|
1952
1955
|
export type EmailInteraction = {
|
|
1953
1956
|
messageId: string;
|
|
1954
1957
|
collectionLink: string;
|
|
@@ -1967,7 +1970,7 @@ export type EmailInteraction = {
|
|
|
1967
1970
|
recipientEmail: string;
|
|
1968
1971
|
recipientForename: string;
|
|
1969
1972
|
recipientSurname: string;
|
|
1970
|
-
messageType?:
|
|
1973
|
+
messageType?: MessageTypes;
|
|
1971
1974
|
reminderNumber?: number;
|
|
1972
1975
|
sendReminders?: boolean;
|
|
1973
1976
|
sentDay: string;
|
|
@@ -1975,3 +1978,4 @@ export type EmailInteraction = {
|
|
|
1975
1978
|
[key: string]: unknown;
|
|
1976
1979
|
};
|
|
1977
1980
|
};
|
|
1981
|
+
export {};
|
package/package.json
CHANGED
package/src/typeDefinitions.ts
CHANGED
|
@@ -1503,6 +1503,8 @@ export type ExternalEventRequest = {
|
|
|
1503
1503
|
schoolGroups?: string[],
|
|
1504
1504
|
numberSharedWith?: number,
|
|
1505
1505
|
maxSchools?: number,
|
|
1506
|
+
viewedBy?: string[]
|
|
1507
|
+
downloadedBy?: string[]
|
|
1506
1508
|
}
|
|
1507
1509
|
|
|
1508
1510
|
|
|
@@ -1867,6 +1869,19 @@ export type YearScoreData = {
|
|
|
1867
1869
|
campaignsFailed?: number,
|
|
1868
1870
|
}
|
|
1869
1871
|
|
|
1872
|
+
type MessageTypes =
|
|
1873
|
+
"hubOrTrustInviteSchool" |
|
|
1874
|
+
"sendPlacementActionRequired" |
|
|
1875
|
+
"sendPlacementAdditionalInformationRequired" |
|
|
1876
|
+
"sendFeedbackReminder" |
|
|
1877
|
+
"sendProviderContactInvite" |
|
|
1878
|
+
"sendProviderContactActivityInvite" |
|
|
1879
|
+
"sendActivateUserAccount" |
|
|
1880
|
+
"shareEmployerEventRequest" |
|
|
1881
|
+
"employerEventInvite" |
|
|
1882
|
+
"schoolEventInvite" |
|
|
1883
|
+
"reuploadPlacementDocument"
|
|
1884
|
+
|
|
1870
1885
|
export type EmailInteraction = {
|
|
1871
1886
|
messageId: string,
|
|
1872
1887
|
collectionLink: string,
|
|
@@ -1886,7 +1901,7 @@ export type EmailInteraction = {
|
|
|
1886
1901
|
recipientForename: string,
|
|
1887
1902
|
recipientSurname: string,
|
|
1888
1903
|
// Email reminders values
|
|
1889
|
-
messageType?:
|
|
1904
|
+
messageType?: MessageTypes, // This will be used to determine which test is necessary to decide to send a reminder
|
|
1890
1905
|
reminderNumber?: number, // Which of the reminders is this?
|
|
1891
1906
|
sendReminders?: boolean,
|
|
1892
1907
|
sentDay: string, // Used to ensure we send >= 7 days before sent.
|