@automateinc/fleet-types 1.0.89 → 1.0.90
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/dist/types/ai.d.ts +40 -0
- package/dist/types/index.d.ts +1 -0
- package/package.json +1 -1
|
@@ -0,0 +1,40 @@
|
|
|
1
|
+
export type AiModule = "GENERIC" | "PAYROLL";
|
|
2
|
+
export type AiClientPlatform = "mobile-user" | "web";
|
|
3
|
+
|
|
4
|
+
export interface IAiConversation<TContext = unknown, TMessage = unknown> {
|
|
5
|
+
context: TContext;
|
|
6
|
+
createdAt: Date;
|
|
7
|
+
id: string;
|
|
8
|
+
isGenerating: boolean;
|
|
9
|
+
messages: TMessage[];
|
|
10
|
+
module: AiModule;
|
|
11
|
+
regionId: string;
|
|
12
|
+
title: string;
|
|
13
|
+
updatedAt?: Date | null;
|
|
14
|
+
userId: string;
|
|
15
|
+
version: number;
|
|
16
|
+
}
|
|
17
|
+
|
|
18
|
+
export interface IAiArtifact {
|
|
19
|
+
createdAt: Date;
|
|
20
|
+
fileName: string;
|
|
21
|
+
id: string;
|
|
22
|
+
regionId: string;
|
|
23
|
+
updatedAt?: Date | null;
|
|
24
|
+
userId: string;
|
|
25
|
+
}
|
|
26
|
+
|
|
27
|
+
export interface IAiResolvedRoute {
|
|
28
|
+
description: string;
|
|
29
|
+
pathParams: string[];
|
|
30
|
+
platforms: AiClientPlatform[];
|
|
31
|
+
queryParams: string[];
|
|
32
|
+
route: string;
|
|
33
|
+
}
|
|
34
|
+
|
|
35
|
+
export interface IAiResolvedLink {
|
|
36
|
+
href: string | null;
|
|
37
|
+
matches: IAiResolvedRoute[];
|
|
38
|
+
platform: AiClientPlatform;
|
|
39
|
+
route: IAiResolvedRoute | null;
|
|
40
|
+
}
|
package/dist/types/index.d.ts
CHANGED
package/package.json
CHANGED