placementt-core 1.400.679 → 1.400.681

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.
@@ -778,6 +778,7 @@ export type InstituteData = {
778
778
  employerEvents?: boolean;
779
779
  workExperience?: boolean;
780
780
  docCheck?: boolean;
781
+ adminLastCheckedDocs?: string;
781
782
  alumniManagement?: boolean;
782
783
  authorisedMISSystem?: {
783
784
  name: "arbor";
@@ -2277,6 +2278,12 @@ export type Lead = {
2277
2278
  stageData?: LeadStageData;
2278
2279
  };
2279
2280
  export type CommMeetingType = "default" | "demo" | "onboarding" | "email";
2281
+ export type EmailMessage = {
2282
+ from: string;
2283
+ body: string;
2284
+ timestamp: string;
2285
+ direction: "inbound" | "outbound";
2286
+ };
2280
2287
  export type Communication = {
2281
2288
  title: string;
2282
2289
  date: string;
@@ -2294,6 +2301,7 @@ export type Communication = {
2294
2301
  linkedCommId?: string;
2295
2302
  parentCommId?: string;
2296
2303
  uid?: string;
2304
+ emailMessages?: EmailMessage[];
2297
2305
  };
2298
2306
  export type CommSchemaItem = {
2299
2307
  name: 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.679",
5
+ "version": "1.400.681",
6
6
  "main": "lib/index.js",
7
7
  "types": "lib/index.d.ts",
8
8
  "scripts": {
@@ -776,6 +776,7 @@ export type InstituteData = {
776
776
  employerEvents?: boolean,
777
777
  workExperience?: boolean,
778
778
  docCheck?: boolean,
779
+ adminLastCheckedDocs?: string,
779
780
  alumniManagement?: boolean,
780
781
  // ------------------------
781
782
  authorisedMISSystem?: {
@@ -2236,10 +2237,17 @@ export type Lead = {
2236
2237
 
2237
2238
  export type CommMeetingType = "default" | "demo" | "onboarding" | "email";
2238
2239
 
2240
+ export type EmailMessage = {
2241
+ from: string; // email address of sender
2242
+ body: string; // plain text or HTML body
2243
+ timestamp: string; // ISO string
2244
+ direction: "inbound" | "outbound";
2245
+ };
2246
+
2239
2247
  export type Communication = {
2240
- title: string,
2241
- date: string; // ISO string
2242
- contactedBy: string; // uid
2248
+ title: string, // subject line for email comms
2249
+ date: string; // ISO string
2250
+ contactedBy: string; // uid
2243
2251
  contactMethod: "email" | "phone" | "in-person" | "other" | "video";
2244
2252
  gotReply: boolean;
2245
2253
  meetingType: CommMeetingType;
@@ -2247,10 +2255,11 @@ export type Communication = {
2247
2255
  lastUpdated: string,
2248
2256
  changes?: string[],
2249
2257
  completed?: boolean,
2250
- completedOn?: string // ISO date
2258
+ completedOn?: string // ISO date
2251
2259
  linkedCommId?: string,
2252
2260
  parentCommId?: string,
2253
- uid?: string
2261
+ uid?: string,
2262
+ emailMessages?: EmailMessage[];
2254
2263
  };
2255
2264
 
2256
2265
  export type CommSchemaItem = {