placementt-core 1.400.1193 → 1.400.1194

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.
@@ -1083,6 +1083,7 @@ export type ProviderContactData = {
1083
1083
  groups?: string[];
1084
1084
  /** Who the employer wants to work with. Written by the employer only. */
1085
1085
  sharing?: EmployerSharing;
1086
+ linkedVia?: "eventAvailability";
1086
1087
  additionalData?: {
1087
1088
  [key: string]: unknown;
1088
1089
  };
@@ -1092,6 +1093,17 @@ export type ProviderContactData = {
1092
1093
  status: "uploaded" | "approved" | "rejected" | "providerReviewed" | "blocked";
1093
1094
  };
1094
1095
  };
1096
+ /** Schools this employer offered to attend an event for, where the school only knows them
1097
+ * through its careers hub. Kept out of savedBy so the school never sees them: savedBy[school]
1098
+ * lifts the hub's contact withholding and adds them to the school's own database. Read by
1099
+ * the employer's own network view. */
1100
+ hubEventSchools?: {
1101
+ [schoolOId: string]: {
1102
+ hubId: string;
1103
+ eventId: string;
1104
+ linked: string;
1105
+ };
1106
+ };
1095
1107
  } & Address;
1096
1108
  export type RiskAssessmentFieldDef = {
1097
1109
  label: string;
@@ -1 +1 @@
1
- {"version":3,"file":"typeDefinitions.js","sourceRoot":"","sources":["../src/typeDefinitions.ts"],"names":[],"mappings":";;;AA6sIA,sDASC;AAeD,oDAKC;AAaD,0CAEC;AA/pED;;;;;kFAKkF;AACrE,QAAA,qBAAqB,GAAG,SAAS,CAAC;AAClC,QAAA,iBAAiB,GAAG,OAAO,CAAC;AA2kEzC;yEACyE;AAC5D,QAAA,0BAA0B,GAA2C;IAC9E,gBAAgB,EAAE,2BAA2B;IAC7C,mBAAmB,EAAE,sBAAsB;IAC3C,cAAc,EAAE,iBAAiB;IACjC,kBAAkB,EAAE,qBAAqB;IACzC,UAAU,EAAE,oCAAoC;IAChD,aAAa,EAAE,yBAAyB;IACxC,aAAa,EAAE,wBAAwB;IACvC,KAAK,EAAE,OAAO;CACjB,CAAC;AAEW,QAAA,0BA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K,EAAE,OAAO;CACjB,CAAC;AAEW,QAAA,0BAA0B,GAA+C;IAClF,QAAQ,EAAE,WAAW;IACrB,KAAK,EAAE,YAAY;IACnB,KAAK,EAAE,OAAO;CACjB,CAAC;AAEF;;;;;;;;;;;;;GAaG;AACH,SAAgB,qBAAqB,CAAC,SAAsC;IACxE,QAAQ,SAAS,EAAE,CAAC;QACpB,KAAK,MAAM,CAAC,CAAC,OAAO,OAAO,CAAC;QAC5B,KAAK,OAAO,CAAC,CAAC,OAAO,OAAO,CAAC;QAC7B,KAAK,WAAW,CAAC;QACjB,KAAK,OAAO,CAAC;QACb,KAAK,OAAO,CAAC;QACb,OAAO,CAAC,CAAC,OAAO,UAAU,CAAC;IAC3B,CAAC;AACL,CAAC;AAED;;;;;;;;;;;;GAYG;AACH,SAAgB,oBAAoB,CAChC,IAAwC,EACxC,MAA6C;IAE7C,OAAO,IAAI,EAAE,WAAW,IAAI,MAAM,EAAE,YAAY,IAAI,KAAK,CAAC;AAC9D,CAAC;AAED;;;;;;;;;;GAUG;AACH,SAAgB,eAAe,CAAC,KAA6D;IACzF,OAAO,GAAG,KAAK,CAAC,cAAc,IAAI,EAAE,IAAI,KAAK,CAAC,aAAa,IAAI,EAAE,EAAE,CAAC,IAAI,EAAE,CAAC;AAC/E,CAAC"}
package/package.json CHANGED
@@ -2,7 +2,7 @@
2
2
  "private": false,
3
3
  "name": "placementt-core",
4
4
  "author": "Placementt",
5
- "version": "1.400.1193",
5
+ "version": "1.400.1194",
6
6
  "main": "lib/index.js",
7
7
  "types": "lib/index.d.ts",
8
8
  "scripts": {
@@ -1130,10 +1130,21 @@ export type ProviderContactData = {
1130
1130
  groups?: string[],
1131
1131
  /** Who the employer wants to work with. Written by the employer only. */
1132
1132
  sharing?: EmployerSharing,
1133
+ // Set when the employer joined this network by offering to attend one of its events.
1134
+ linkedVia?: "eventAvailability",
1133
1135
  additionalData?: {[key: string]: unknown},
1134
1136
  // This school's KCSIE outcomes, so new placements pick them up.
1135
1137
  kcsie?: {[personId: string]: Pick<NonNullable<StudentPlacementData["kcsiePeople"]>[string], "status"|"reviewed"|"reviewedBy"|"reviewedByName"|"note"|"previousSurnames">},
1136
1138
  status: "uploaded"|"approved"|"rejected"|"providerReviewed"|"blocked"}},
1139
+ /** Schools this employer offered to attend an event for, where the school only knows them
1140
+ * through its careers hub. Kept out of savedBy so the school never sees them: savedBy[school]
1141
+ * lifts the hub's contact withholding and adds them to the school's own database. Read by
1142
+ * the employer's own network view. */
1143
+ hubEventSchools?: {[schoolOId: string]: {
1144
+ hubId: string,
1145
+ eventId: string,
1146
+ linked: string,
1147
+ }},
1137
1148
  }&Address
1138
1149
 
1139
1150
  export type RiskAssessmentFieldDef = {