placementt-core 1.400.930 → 1.400.932

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.
@@ -2144,6 +2144,8 @@ export type AspirationRequest = {
2144
2144
  completedAt?: string;
2145
2145
  lastResentAt?: string;
2146
2146
  response?: AspirationEntry;
2147
+ completedByStaff?: boolean;
2148
+ completedByStaffId?: string;
2147
2149
  };
2148
2150
  /**
2149
2151
  * Form B payload — what the student actually submits in the Leaver Transition form.
@@ -2235,10 +2237,12 @@ export type LeaverRequest = Omit<AspirationRequest, "cycleId" | "response"> & {
2235
2237
  resultsCompleted?: boolean;
2236
2238
  resultsCompletedAt?: string;
2237
2239
  resultsResponse?: LeaverCheckpointResponse;
2240
+ resultsCompletedByStaff?: boolean;
2238
2241
  christmasStatus?: "pending" | "sent" | "completed" | "bounced";
2239
2242
  christmasCompleted?: boolean;
2240
2243
  christmasCompletedAt?: string;
2241
2244
  christmasResponse?: LeaverCheckpointResponse;
2245
+ christmasCompletedByStaff?: boolean;
2242
2246
  };
2243
2247
  export type Alumni = {
2244
2248
  forename: 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.400.930",
5
+ "version": "1.400.932",
6
6
  "main": "lib/index.js",
7
7
  "types": "lib/index.d.ts",
8
8
  "scripts": {
@@ -2033,6 +2033,8 @@ export type AspirationRequest = {
2033
2033
  completedAt?: string,
2034
2034
  lastResentAt?: string, // ISO — staff manual resend guard (1 resend/hour)
2035
2035
  response?: AspirationEntry,
2036
+ completedByStaff?: boolean, // true when a staff member submitted the form on the student's behalf
2037
+ completedByStaffId?: string, // uid of the staff member who submitted
2036
2038
  }
2037
2039
 
2038
2040
  /**
@@ -2145,12 +2147,14 @@ export type LeaverRequest = Omit<AspirationRequest, "cycleId"|"response"> & {
2145
2147
  resultsCompleted?: boolean, // denormalised for compound queries
2146
2148
  resultsCompletedAt?: string,
2147
2149
  resultsResponse?: LeaverCheckpointResponse,
2150
+ resultsCompletedByStaff?: boolean, // true when a staff member submitted this checkpoint on the student's behalf
2148
2151
 
2149
2152
  // ── Checkpoint 3 — Christmas ──
2150
2153
  christmasStatus?: "pending"|"sent"|"completed"|"bounced",
2151
2154
  christmasCompleted?: boolean,
2152
2155
  christmasCompletedAt?: string,
2153
2156
  christmasResponse?: LeaverCheckpointResponse,
2157
+ christmasCompletedByStaff?: boolean, // true when a staff member submitted this checkpoint on the student's behalf
2154
2158
  }
2155
2159
 
2156
2160
  export type Alumni = {