placementt-core 1.300.75 → 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.
@@ -659,8 +659,21 @@ export type InstituteData = {
659
659
  externalProviderUploads?: boolean;
660
660
  discount?: string;
661
661
  package: string;
662
- careersHubLinks?: string[];
663
- careersHubRequests?: string[];
662
+ careersHubLinks?: {
663
+ [oId: string]: {
664
+ exists: boolean;
665
+ invited: string;
666
+ status: "invited" | "approved" | "declined";
667
+ emailsSent?: {
668
+ sent?: Timestamp;
669
+ log: {
670
+ [k: string]: string;
671
+ };
672
+ topInteraction: "sent" | "bounced" | "delivered" | "opened" | "clicked";
673
+ messageId?: string;
674
+ }[];
675
+ };
676
+ };
664
677
  emailDomain: string;
665
678
  splitBilling?: boolean;
666
679
  adminBillingContactId?: string;
@@ -1348,3 +1361,20 @@ export type ExternalEventStudent = {
1348
1361
  [key: string]: unknown;
1349
1362
  };
1350
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.75",
5
+ "version": "1.300.78",
6
6
  "main": "lib/index.js",
7
7
  "types": "lib/index.d.ts",
8
8
  "scripts": {
@@ -672,8 +672,19 @@ export type InstituteData = {
672
672
  externalProviderUploads?: boolean,
673
673
  discount?: string,
674
674
  package: string,
675
- careersHubLinks?: string[],
676
- careersHubRequests?: string[],
675
+ careersHubLinks?: {[oId: string]: {
676
+ exists: boolean,
677
+ invited: string,
678
+ status: "invited"|"approved"|"declined",
679
+ emailsSent?: {
680
+ sent?: Timestamp,
681
+ log: {
682
+ [k: string]: string // dateTimeString : eventType
683
+ }
684
+ topInteraction: "sent"|"bounced"|"delivered"|"opened"|"clicked",
685
+ messageId?: string,
686
+ }[]
687
+ }},
677
688
  emailDomain: string,
678
689
  splitBilling?: boolean,
679
690
  adminBillingContactId?: string,
@@ -1336,4 +1347,22 @@ export type ExternalEventStudent = {
1336
1347
  linkedEmployerId?: string,
1337
1348
  attended?: boolean,
1338
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
+ }[]
1339
1368
  }