placementt-core 1.300.77 → 1.300.78

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.
@@ -1361,3 +1361,20 @@ export type ExternalEventStudent = {
1361
1361
  [key: string]: unknown;
1362
1362
  };
1363
1363
  };
1364
+ export type CareersHubInvite = {
1365
+ careersHub: string;
1366
+ email: string;
1367
+ forename: string;
1368
+ surname: string;
1369
+ schoolName: string;
1370
+ invited: string;
1371
+ status: "invited" | "approved" | "declined";
1372
+ emailsSent?: {
1373
+ sent?: Timestamp;
1374
+ log: {
1375
+ [k: string]: string;
1376
+ };
1377
+ topInteraction: "sent" | "bounced" | "delivered" | "opened" | "clicked";
1378
+ messageId?: string;
1379
+ }[];
1380
+ };
package/package.json CHANGED
@@ -2,7 +2,7 @@
2
2
  "private": false,
3
3
  "name": "placementt-core",
4
4
  "author": "Placementt",
5
- "version": "1.300.77",
5
+ "version": "1.300.78",
6
6
  "main": "lib/index.js",
7
7
  "types": "lib/index.d.ts",
8
8
  "scripts": {
@@ -1347,4 +1347,22 @@ export type ExternalEventStudent = {
1347
1347
  linkedEmployerId?: string,
1348
1348
  attended?: boolean,
1349
1349
  feedback: {[key: string]: unknown}
1350
+ }
1351
+
1352
+ export type CareersHubInvite = {
1353
+ careersHub: string,
1354
+ email: string,
1355
+ forename: string,
1356
+ surname: string,
1357
+ schoolName: string,
1358
+ invited: string,
1359
+ status: "invited"|"approved"|"declined",
1360
+ emailsSent?: {
1361
+ sent?: Timestamp,
1362
+ log: {
1363
+ [k: string]: string // dateTimeString : eventType
1364
+ }
1365
+ topInteraction: "sent"|"bounced"|"delivered"|"opened"|"clicked",
1366
+ messageId?: string,
1367
+ }[]
1350
1368
  }