placementt-core 1.400.682 → 1.400.684

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.
@@ -2283,6 +2283,7 @@ export type EmailMessage = {
2283
2283
  body: string;
2284
2284
  timestamp: string;
2285
2285
  direction: "inbound" | "outbound";
2286
+ uid: string;
2286
2287
  };
2287
2288
  export type Communication = {
2288
2289
  title: string;
@@ -2303,6 +2304,18 @@ export type Communication = {
2303
2304
  uid?: string;
2304
2305
  emailMessages?: EmailMessage[];
2305
2306
  };
2307
+ export type SupportTask = {
2308
+ uid: string;
2309
+ oId?: string;
2310
+ email: string;
2311
+ title: string;
2312
+ description?: string;
2313
+ createdAt: string;
2314
+ resolved: boolean;
2315
+ resolvedAt?: string;
2316
+ assignee: string;
2317
+ commId?: string;
2318
+ };
2306
2319
  export type CommSchemaItem = {
2307
2320
  name: string;
2308
2321
  label: 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.682",
5
+ "version": "1.400.684",
6
6
  "main": "lib/index.js",
7
7
  "types": "lib/index.d.ts",
8
8
  "scripts": {
@@ -2242,6 +2242,7 @@ export type EmailMessage = {
2242
2242
  body: string; // plain text or HTML body
2243
2243
  timestamp: string; // ISO string
2244
2244
  direction: "inbound" | "outbound";
2245
+ uid: string; // Which staff member is associated with this message?
2245
2246
  };
2246
2247
 
2247
2248
  export type Communication = {
@@ -2262,6 +2263,19 @@ export type Communication = {
2262
2263
  emailMessages?: EmailMessage[];
2263
2264
  };
2264
2265
 
2266
+ export type SupportTask = {
2267
+ uid: string; // user ID the task relates to
2268
+ oId?: string; // organisation ID, if the user has one
2269
+ email: string; // email address associated with the task
2270
+ title: string;
2271
+ description?: string;
2272
+ createdAt: string; // ISO string
2273
+ resolved: boolean;
2274
+ resolvedAt?: string; // ISO string
2275
+ assignee: string; // uid of the assigned team member
2276
+ commId?: string; // optional link to a Communication doc
2277
+ };
2278
+
2265
2279
  export type CommSchemaItem = {
2266
2280
  name: string;
2267
2281
  label: string;