placementt-core 1.400.1194 → 1.400.1196

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,7 +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
+ linkedVia?: "eventConfirmed";
1087
1087
  additionalData?: {
1088
1088
  [key: string]: unknown;
1089
1089
  };
@@ -1093,7 +1093,7 @@ export type ProviderContactData = {
1093
1093
  status: "uploaded" | "approved" | "rejected" | "providerReviewed" | "blocked";
1094
1094
  };
1095
1095
  };
1096
- /** Schools this employer offered to attend an event for, where the school only knows them
1096
+ /** Schools that confirmed this employer for an event, where the school only knows them
1097
1097
  * through its careers hub. Kept out of savedBy so the school never sees them: savedBy[school]
1098
1098
  * lifts the hub's contact withholding and adds them to the school's own database. Read by
1099
1099
  * the employer's own network view. */
@@ -3453,7 +3453,7 @@ export type ExternalEventCareersSchool = {
3453
3453
  staffName?: string;
3454
3454
  };
3455
3455
  eventId: string;
3456
- status: "invited" | "available" | "finalConfirmationSent" | "confirmed" | "feedbackSent" | "declined" | "visibleTo" | "creator";
3456
+ status: "invited" | "available" | "finalConfirmationSent" | "confirmed" | "feedbackSent" | "declined" | "removed" | "visibleTo" | "creator";
3457
3457
  slots?: {
3458
3458
  [slotId: string]: number;
3459
3459
  };
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.1194",
5
+ "version": "1.400.1196",
6
6
  "main": "lib/index.js",
7
7
  "types": "lib/index.d.ts",
8
8
  "scripts": {
@@ -1130,13 +1130,13 @@ 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
+ // Set when the employer joined this network by being confirmed for one of its events.
1134
+ linkedVia?: "eventConfirmed",
1135
1135
  additionalData?: {[key: string]: unknown},
1136
1136
  // This school's KCSIE outcomes, so new placements pick them up.
1137
1137
  kcsie?: {[personId: string]: Pick<NonNullable<StudentPlacementData["kcsiePeople"]>[string], "status"|"reviewed"|"reviewedBy"|"reviewedByName"|"note"|"previousSurnames">},
1138
1138
  status: "uploaded"|"approved"|"rejected"|"providerReviewed"|"blocked"}},
1139
- /** Schools this employer offered to attend an event for, where the school only knows them
1139
+ /** Schools that confirmed this employer for an event, where the school only knows them
1140
1140
  * through its careers hub. Kept out of savedBy so the school never sees them: savedBy[school]
1141
1141
  * lifts the hub's contact withholding and adds them to the school's own database. Read by
1142
1142
  * the employer's own network view. */
@@ -3442,7 +3442,7 @@ export type ExternalEventCareersSchool = {
3442
3442
  staffName?: string,
3443
3443
  },
3444
3444
  eventId: string,
3445
- status: "invited"|"available"|"finalConfirmationSent"|"confirmed"|"feedbackSent"|"declined"|"visibleTo"|"creator",
3445
+ status: "invited"|"available"|"finalConfirmationSent"|"confirmed"|"feedbackSent"|"declined"|"removed"|"visibleTo"|"creator", // "removed": taken off the event by the hub. Hidden from the school, kept for the hub.
3446
3446
  slots?: {[slotId: string]: number}, // Timed slot bookings, with students per slot (1 when the event counts schools)
3447
3447
  employers?: {[key: string]: {
3448
3448
  dates?: {