@automateinc/fleet-types 1.0.65 → 1.0.67-dev.f589a17

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.
@@ -0,0 +1,4 @@
1
+ export interface IAIMessage {
2
+ role: "user" | "assistant" | "system";
3
+ content: string;
4
+ }
@@ -0,0 +1,11 @@
1
+ import { IAIMessage } from "./ai-message";
2
+
3
+ export interface IAISession {
4
+ id: string;
5
+ createdAt: string;
6
+ updatedAt?: string;
7
+ deletedAt?: string;
8
+ userId: string;
9
+ title: string;
10
+ messages: IAIMessage[];
11
+ }
@@ -33,6 +33,8 @@ export type PaginatedResponse<T> = {
33
33
  totalPages: number;
34
34
  };
35
35
 
36
+ export * from "./ai-message";
37
+ export * from "./ai-session";
36
38
  export * from "./api-key";
37
39
  export * from "./asset";
38
40
  export * from "./asset-category";
@@ -9,6 +9,7 @@ export interface IScheduleDraft {
9
9
 
10
10
  date: string;
11
11
 
12
+ acceptedBy?: "EMPLOYEE" | "SYSTEM";
12
13
  status: "DRAFT" | "PENDING" | "ACCEPTED" | "REJECTED";
13
14
 
14
15
  scheduleId: string;
package/package.json CHANGED
@@ -52,5 +52,5 @@
52
52
  "test": "echo \"Error: no test specified\" && exit 1"
53
53
  },
54
54
  "types": "dist/types/index.d.ts",
55
- "version": "1.0.65"
55
+ "version": "1.0.67-dev.f589a17"
56
56
  }