placementt-core 1.300.83 → 1.300.85

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.
@@ -1264,7 +1264,7 @@ export type ExternalEvent = {
1264
1264
  fileType: string;
1265
1265
  }[];
1266
1266
  };
1267
- completedStages: ("basicDetails" | "selectEmployers" | "employerInviteForms" | "sendEmployerInvites" | "setupStudentInvites" | "review" | "created")[];
1267
+ completedStages: ("basicDetails" | "selectEmployers" | "employerInviteForms" | "sendEmployerInvites" | "setupStudentInvites" | "setupSchoolInvites" | "review" | "created")[];
1268
1268
  } & Address;
1269
1269
  export type Alumni = {
1270
1270
  forename: string;
@@ -1363,6 +1363,36 @@ export type ExternalEventAttendee = {
1363
1363
  [key: string]: unknown;
1364
1364
  };
1365
1365
  };
1366
+ export type ExternalEventCareersSchool = {
1367
+ oId: string;
1368
+ instituteId: string;
1369
+ eventId: string;
1370
+ status: "invited" | "available" | "finalConfirmationSent" | "confirmed" | "feedbackSent";
1371
+ emails: {
1372
+ [k in "invited" | "finalConfirmationSent" | "feedbackSent"]: {
1373
+ sent: number;
1374
+ reconciled: string | boolean;
1375
+ log: {
1376
+ [k: string]: string;
1377
+ };
1378
+ topInteraction: "sent" | "bounced" | "delivered" | "opened" | "clicked";
1379
+ messageId?: string;
1380
+ };
1381
+ };
1382
+ initialJobId?: string;
1383
+ emailTemplates?: {
1384
+ invited?: string;
1385
+ finalConfirmationSent?: string;
1386
+ feedbackSent?: string;
1387
+ };
1388
+ inviteDocs?: {
1389
+ [key: string]: unknown;
1390
+ };
1391
+ attended?: boolean;
1392
+ feedbackDocs?: {
1393
+ [key: string]: unknown;
1394
+ };
1395
+ };
1366
1396
  export type ExternalEventStudent = {
1367
1397
  oId: string;
1368
1398
  uid: 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.83",
5
+ "version": "1.300.85",
6
6
  "main": "lib/index.js",
7
7
  "types": "lib/index.d.ts",
8
8
  "scripts": {
@@ -1249,7 +1249,7 @@ export type ExternalEvent = {
1249
1249
  fileType: string
1250
1250
  }[],
1251
1251
  }
1252
- completedStages: ("basicDetails"|"selectEmployers"|"employerInviteForms"|"sendEmployerInvites"|"setupStudentInvites"|"review"|"created")[]
1252
+ completedStages: ("basicDetails"|"selectEmployers"|"employerInviteForms"|"sendEmployerInvites"|"setupStudentInvites"|"setupSchoolInvites"|"review"|"created")[]
1253
1253
  }&Address
1254
1254
 
1255
1255
 
@@ -1353,6 +1353,35 @@ export type ExternalEventAttendee = {
1353
1353
  }
1354
1354
 
1355
1355
 
1356
+
1357
+ export type ExternalEventCareersSchool = {
1358
+ oId: string,
1359
+ instituteId: string,
1360
+ eventId: string,
1361
+ status: "invited"|"available"|"finalConfirmationSent"|"confirmed"|"feedbackSent"
1362
+ emails: {
1363
+ [k in "invited"|"finalConfirmationSent"|"feedbackSent"]: {
1364
+ sent: number, // If below 3, keep sending reminders.
1365
+ reconciled: string|boolean, // When did the step get finished, such as employers responding to invites
1366
+ log: {
1367
+ [k: string]: string // dateTimeString : eventType
1368
+ }
1369
+ topInteraction: "sent"|"bounced"|"delivered"|"opened"|"clicked",
1370
+ messageId?: string,
1371
+ }
1372
+ }
1373
+ initialJobId?: string,
1374
+ emailTemplates?: {
1375
+ invited?: string,
1376
+ finalConfirmationSent?: string,
1377
+ feedbackSent?: string,
1378
+ }
1379
+ inviteDocs?: {[key: string]: unknown}
1380
+ attended?: boolean,
1381
+ feedbackDocs?: {[key: string]: unknown}
1382
+ }
1383
+
1384
+
1356
1385
  export type ExternalEventStudent = {
1357
1386
  oId: string,
1358
1387
  uid: string,