placementt-core 1.300.659 → 1.300.660

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.
@@ -306,16 +306,22 @@ export type Address = {
306
306
  what3Words?: string;
307
307
  };
308
308
  export type FlagCodes = "inactive" | "noParentEmailWarning" | "noParentEmailError" | "overdue" | "noInsurance" | "providerRejection" | "nearingStart" | "awaitingInsurance" | "noRiskAssessment" | "awaitingRiskAssessment" | "parentEmailFailed" | "providerEmailFailed" | "userEmailFailed" | "noDbsCheck" | "awaitingDbsCheck" | "completeOnboarding" | "reviewOnboarding" | "requestedVisibleAddresses" | "requestedVisiblePlacementListings" | "addOnboarding" | "studentNotAccepted" | "insuranceEarlyExpiry" | "reminder" | "insuranceExpired" | "latePlacementStage" | "stagnantPlacementStage";
309
+ export type WondeParentContact = {
310
+ forename: string;
311
+ surname: string;
312
+ relationship: string;
313
+ email: string;
314
+ };
309
315
  export type UserData = {
310
316
  details: {
311
317
  forename: string;
312
318
  surname: string;
313
319
  pronouns?: string;
314
320
  parentEmail?: string;
315
- parentEmails?: string[];
316
321
  year?: string;
317
322
  [key: string]: any;
318
323
  };
324
+ parentEmails?: WondeParentContact[];
319
325
  wonde?: {
320
326
  upi: string;
321
327
  id: 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.659",
5
+ "version": "1.300.660",
6
6
  "main": "lib/index.js",
7
7
  "types": "lib/index.d.ts",
8
8
  "scripts": {
@@ -330,6 +330,12 @@ export type FlagCodes =
330
330
  "latePlacementStage"|
331
331
  "stagnantPlacementStage"
332
332
 
333
+ export type WondeParentContact = {
334
+ forename: string,
335
+ surname: string,
336
+ relationship: string,
337
+ email: string,
338
+ };
333
339
 
334
340
  export type UserData = {
335
341
  details: {
@@ -337,10 +343,10 @@ export type UserData = {
337
343
  surname: string,
338
344
  pronouns?: string,
339
345
  parentEmail?: string,
340
- parentEmails?: string[],
341
346
  year?: string
342
347
  [key: string]: any
343
348
  },
349
+ parentEmails?: WondeParentContact[],
344
350
  wonde?: {
345
351
  upi: string,
346
352
  id: string,