@eloquentai/chat-sdk 0.16.5-dev → 0.17.0
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.
@@ -1,5 +1,5 @@
|
|
1
1
|
import { Message } from '../../type';
|
2
|
-
import {
|
2
|
+
import { BootResponse, EloquentAiApiClient } from '../../lib/eloquent-ai-api-client';
|
3
3
|
export interface UseSdkInitializationProps {
|
4
4
|
environment: "test" | "live";
|
5
5
|
appId: string;
|
@@ -10,16 +10,16 @@ export declare const conversationResponseApiSchema: z.ZodObject<{
|
|
10
10
|
type: z.ZodString;
|
11
11
|
content: z.ZodString;
|
12
12
|
}, "strip", z.ZodTypeAny, {
|
13
|
-
content: string;
|
14
13
|
type: string;
|
15
|
-
}, {
|
16
14
|
content: string;
|
15
|
+
}, {
|
17
16
|
type: string;
|
17
|
+
content: string;
|
18
18
|
}>;
|
19
19
|
}, "strip", z.ZodTypeAny, {
|
20
20
|
data: {
|
21
|
-
content: string;
|
22
21
|
type: string;
|
22
|
+
content: string;
|
23
23
|
};
|
24
24
|
message_id: string;
|
25
25
|
message_number: number;
|
@@ -29,8 +29,8 @@ export declare const conversationResponseApiSchema: z.ZodObject<{
|
|
29
29
|
created_at: string;
|
30
30
|
}, {
|
31
31
|
data: {
|
32
|
-
content: string;
|
33
32
|
type: string;
|
33
|
+
content: string;
|
34
34
|
};
|
35
35
|
message_id: string;
|
36
36
|
message_number: number;
|
@@ -49,28 +49,28 @@ export declare const conversationResponseSchema: z.ZodObject<{
|
|
49
49
|
content: z.ZodString;
|
50
50
|
}, "strip", z.ZodTypeAny, {
|
51
51
|
id: string;
|
52
|
-
content: string;
|
53
52
|
type: string;
|
53
|
+
content: string;
|
54
54
|
}, {
|
55
55
|
id: string;
|
56
|
-
content: string;
|
57
56
|
type: string;
|
57
|
+
content: string;
|
58
58
|
}>;
|
59
59
|
}, "strip", z.ZodTypeAny, {
|
60
|
+
message_id: string;
|
61
|
+
message_number: number;
|
60
62
|
response: {
|
61
63
|
id: string;
|
62
|
-
content: string;
|
63
64
|
type: string;
|
65
|
+
content: string;
|
64
66
|
};
|
67
|
+
}, {
|
65
68
|
message_id: string;
|
66
69
|
message_number: number;
|
67
|
-
}, {
|
68
70
|
response: {
|
69
71
|
id: string;
|
70
|
-
content: string;
|
71
72
|
type: string;
|
73
|
+
content: string;
|
72
74
|
};
|
73
|
-
message_id: string;
|
74
|
-
message_number: number;
|
75
75
|
}>;
|
76
76
|
export type ConversationResponse = z.infer<typeof conversationResponseSchema>;
|