placementt-core 1.400.1231 → 1.400.1232
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.
- package/lib/typeDefinitions.d.ts +11 -0
- package/package.json +1 -1
- package/src/typeDefinitions.ts +14 -0
package/lib/typeDefinitions.d.ts
CHANGED
|
@@ -4376,6 +4376,15 @@ export type Communication = {
|
|
|
4376
4376
|
oId?: string;
|
|
4377
4377
|
emailMessages?: EmailMessage[];
|
|
4378
4378
|
lastMessageDirection?: "inbound" | "outbound";
|
|
4379
|
+
actions?: CommAction[];
|
|
4380
|
+
aiCheckedNotes?: string;
|
|
4381
|
+
};
|
|
4382
|
+
export type AiTaskKind = "task" | "chase";
|
|
4383
|
+
export type CommAction = {
|
|
4384
|
+
title: string;
|
|
4385
|
+
dueAt: string;
|
|
4386
|
+
taskId?: string;
|
|
4387
|
+
aiSuggested?: AiTaskKind;
|
|
4379
4388
|
};
|
|
4380
4389
|
export type SupportTask = {
|
|
4381
4390
|
uid?: string;
|
|
@@ -4395,6 +4404,8 @@ export type SupportTask = {
|
|
|
4395
4404
|
messageId?: string;
|
|
4396
4405
|
checklist?: ChecklistItem[];
|
|
4397
4406
|
taskTag?: string;
|
|
4407
|
+
aiSuggested?: AiTaskKind;
|
|
4408
|
+
dismissed?: boolean;
|
|
4398
4409
|
};
|
|
4399
4410
|
export type SupportInbox = "oneDay" | "threeDay" | "oneWeek";
|
|
4400
4411
|
export type CustomerProductType = "careersHub" | "careersHubSchool" | "workExperience" | "trust" | "employerEvents";
|
package/package.json
CHANGED
package/src/typeDefinitions.ts
CHANGED
|
@@ -4538,6 +4538,18 @@ export type Communication = {
|
|
|
4538
4538
|
oId?: string,
|
|
4539
4539
|
emailMessages?: EmailMessage[];
|
|
4540
4540
|
lastMessageDirection?: "inbound" | "outbound"
|
|
4541
|
+
actions?: CommAction[];
|
|
4542
|
+
aiCheckedNotes?: string; // notes text the AI last pulled tasks from, so unchanged notes aren't re-checked
|
|
4543
|
+
};
|
|
4544
|
+
|
|
4545
|
+
// "task" is something to do, "chase" is checking the other person did what they said.
|
|
4546
|
+
export type AiTaskKind = "task" | "chase";
|
|
4547
|
+
|
|
4548
|
+
export type CommAction = {
|
|
4549
|
+
title: string;
|
|
4550
|
+
dueAt: string; // dbstring
|
|
4551
|
+
taskId?: string;
|
|
4552
|
+
aiSuggested?: AiTaskKind; // absent for actions added by hand
|
|
4541
4553
|
};
|
|
4542
4554
|
|
|
4543
4555
|
export type SupportTask = {
|
|
@@ -4558,6 +4570,8 @@ export type SupportTask = {
|
|
|
4558
4570
|
messageId?: string; // Graph message ID — used to prevent duplicates
|
|
4559
4571
|
checklist?: ChecklistItem[]; // school checklist for seasonalTask
|
|
4560
4572
|
taskTag?: string; // deduplication key, e.g. "christmasCards_2026"
|
|
4573
|
+
aiSuggested?: AiTaskKind; // created by the AI from meeting notes
|
|
4574
|
+
dismissed?: boolean; // resolved as "Not needed" rather than done
|
|
4561
4575
|
};
|
|
4562
4576
|
|
|
4563
4577
|
export type SupportInbox = "oneDay" | "threeDay" | "oneWeek";
|