placementt-core 1.400.680 → 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.
- package/lib/typeDefinitions.d.ts +7 -0
- package/package.json +1 -1
- package/src/typeDefinitions.ts +13 -5
package/lib/typeDefinitions.d.ts
CHANGED
|
@@ -2278,6 +2278,12 @@ export type Lead = {
|
|
|
2278
2278
|
stageData?: LeadStageData;
|
|
2279
2279
|
};
|
|
2280
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
|
+
};
|
|
2281
2287
|
export type Communication = {
|
|
2282
2288
|
title: string;
|
|
2283
2289
|
date: string;
|
|
@@ -2295,6 +2301,7 @@ export type Communication = {
|
|
|
2295
2301
|
linkedCommId?: string;
|
|
2296
2302
|
parentCommId?: string;
|
|
2297
2303
|
uid?: string;
|
|
2304
|
+
emailMessages?: EmailMessage[];
|
|
2298
2305
|
};
|
|
2299
2306
|
export type CommSchemaItem = {
|
|
2300
2307
|
name: string;
|
package/package.json
CHANGED
package/src/typeDefinitions.ts
CHANGED
|
@@ -2237,10 +2237,17 @@ export type Lead = {
|
|
|
2237
2237
|
|
|
2238
2238
|
export type CommMeetingType = "default" | "demo" | "onboarding" | "email";
|
|
2239
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
|
+
|
|
2240
2247
|
export type Communication = {
|
|
2241
|
-
title: string,
|
|
2242
|
-
date: string;
|
|
2243
|
-
contactedBy: string;
|
|
2248
|
+
title: string, // subject line for email comms
|
|
2249
|
+
date: string; // ISO string
|
|
2250
|
+
contactedBy: string; // uid
|
|
2244
2251
|
contactMethod: "email" | "phone" | "in-person" | "other" | "video";
|
|
2245
2252
|
gotReply: boolean;
|
|
2246
2253
|
meetingType: CommMeetingType;
|
|
@@ -2248,10 +2255,11 @@ export type Communication = {
|
|
|
2248
2255
|
lastUpdated: string,
|
|
2249
2256
|
changes?: string[],
|
|
2250
2257
|
completed?: boolean,
|
|
2251
|
-
completedOn?: string
|
|
2258
|
+
completedOn?: string // ISO date
|
|
2252
2259
|
linkedCommId?: string,
|
|
2253
2260
|
parentCommId?: string,
|
|
2254
|
-
uid?: string
|
|
2261
|
+
uid?: string,
|
|
2262
|
+
emailMessages?: EmailMessage[];
|
|
2255
2263
|
};
|
|
2256
2264
|
|
|
2257
2265
|
export type CommSchemaItem = {
|