placementt-core 1.400.1012 → 1.400.1013
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 +10 -0
- package/package.json +1 -1
- package/src/typeDefinitions.ts +10 -0
package/lib/typeDefinitions.d.ts
CHANGED
|
@@ -974,6 +974,12 @@ export type InstituteData = {
|
|
|
974
974
|
employerSharingScope: "membership" | "unrestricted";
|
|
975
975
|
};
|
|
976
976
|
emailDomain: string;
|
|
977
|
+
/** Kill switch for all outbound email associated with this institute. When true the
|
|
978
|
+
* backend drops every email it sends on the institute's behalf — students, parents,
|
|
979
|
+
* employers, linked hubs/trusts and the public — before it reaches Brevo. The only
|
|
980
|
+
* exception is mail to the institute's own staff, so the account stays usable while
|
|
981
|
+
* the block is on. Set from Organisation > Overview. */
|
|
982
|
+
blockAllEmails?: boolean;
|
|
977
983
|
splitBilling?: boolean;
|
|
978
984
|
adminBillingContactId?: string;
|
|
979
985
|
employerEvents?: boolean;
|
|
@@ -3045,6 +3051,10 @@ export type EmailInteraction = {
|
|
|
3045
3051
|
recipientEmail: string;
|
|
3046
3052
|
recipientForename: string;
|
|
3047
3053
|
recipientSurname: string;
|
|
3054
|
+
/** The institute this email was sent on behalf of. Written on every send that
|
|
3055
|
+
* knows its institute, so a reminder resent weeks later can still resolve the
|
|
3056
|
+
* institute's email settings (e.g. `blockAllEmails`) without the original context. */
|
|
3057
|
+
oId?: string;
|
|
3048
3058
|
messageType?: MessageTypes;
|
|
3049
3059
|
reminderNumber?: number;
|
|
3050
3060
|
sendReminders?: boolean;
|
package/package.json
CHANGED
package/src/typeDefinitions.ts
CHANGED
|
@@ -982,6 +982,12 @@ export type InstituteData = {
|
|
|
982
982
|
employerSharingScope: "membership"|"unrestricted",
|
|
983
983
|
},
|
|
984
984
|
emailDomain: string,
|
|
985
|
+
/** Kill switch for all outbound email associated with this institute. When true the
|
|
986
|
+
* backend drops every email it sends on the institute's behalf — students, parents,
|
|
987
|
+
* employers, linked hubs/trusts and the public — before it reaches Brevo. The only
|
|
988
|
+
* exception is mail to the institute's own staff, so the account stays usable while
|
|
989
|
+
* the block is on. Set from Organisation > Overview. */
|
|
990
|
+
blockAllEmails?: boolean,
|
|
985
991
|
splitBilling?: boolean,
|
|
986
992
|
adminBillingContactId?: string,
|
|
987
993
|
// Packages institutes can be signed up to
|
|
@@ -2993,6 +2999,10 @@ export type EmailInteraction = {
|
|
|
2993
2999
|
recipientEmail: string,
|
|
2994
3000
|
recipientForename: string,
|
|
2995
3001
|
recipientSurname: string,
|
|
3002
|
+
/** The institute this email was sent on behalf of. Written on every send that
|
|
3003
|
+
* knows its institute, so a reminder resent weeks later can still resolve the
|
|
3004
|
+
* institute's email settings (e.g. `blockAllEmails`) without the original context. */
|
|
3005
|
+
oId?: string,
|
|
2996
3006
|
// Email reminders values
|
|
2997
3007
|
messageType?: MessageTypes, // This will be used to determine which test is necessary to decide to send a reminder
|
|
2998
3008
|
reminderNumber?: number, // Which of the reminders is this?
|