placementt-core 1.300.75 → 1.300.77

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;
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.77",
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,