@veruna/api-contracts 1.1.25 → 1.1.27
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/build/rest-api.d.ts +1 -0
- package/build/rest-api.js +1 -0
- package/build/rest-api.js.map +1 -1
- package/build/routes/s2s.routes.d.ts +1 -0
- package/build/routes/s2s.routes.js +1 -0
- package/build/routes/s2s.routes.js.map +1 -1
- package/build/tsconfig.tsbuildinfo +1 -1
- package/build/v1/ai/tool-id.enum.d.ts +2 -1
- package/build/v1/ai/tool-id.enum.js +1 -0
- package/build/v1/ai/tool-id.enum.js.map +1 -1
- package/build/v1/chat/commands/create-reg-chat.command.d.ts +17 -0
- package/build/v1/chat/commands/create-unreg-chat.command.d.ts +17 -0
- package/build/v1/chat/commands/update-chat-title.command.d.ts +17 -0
- package/build/v1/chat/commands/update-chat.command.d.ts +17 -0
- package/build/v1/chat/queries/get-last-active-chat.query.d.ts +17 -0
- package/build/v1/chat/queries/get-reg-chat.query.d.ts +17 -0
- package/build/v1/chat/queries/get-unreg-chat.query.d.ts +17 -0
- package/build/v1/chat/schemas/chat-with-messages-response.schema.d.ts +17 -0
- package/build/v1/client-file/commands/client-file-attach.command.d.ts +4 -0
- package/build/v1/client-file/schemas/client-file-attach-response.schema.d.ts +8 -0
- package/build/v1/client-file/schemas/client-file-attach-response.schema.js +4 -0
- package/build/v1/client-file/schemas/client-file-attach-response.schema.js.map +1 -1
- package/build/v1/client-file/schemas/client-file-mime-types.d.ts +5 -1
- package/build/v1/client-file/schemas/client-file-mime-types.js +17 -11
- package/build/v1/client-file/schemas/client-file-mime-types.js.map +1 -1
- package/build/v1/client-file/schemas/index.d.ts +1 -0
- package/build/v1/client-file/schemas/index.js +1 -0
- package/build/v1/client-file/schemas/index.js.map +1 -1
- package/build/v1/client-file/schemas/processing-category.enum.d.ts +6 -0
- package/build/v1/client-file/schemas/processing-category.enum.js +11 -0
- package/build/v1/client-file/schemas/processing-category.enum.js.map +1 -0
- package/build/v1/message/commands/create-message.command.d.ts +4 -0
- package/build/v1/message/queries/get-message-stream-reg.query.d.ts +2 -0
- package/build/v1/message/queries/get-message-stream-unreg.query.d.ts +2 -0
- package/build/v1/message/schemas/generation-step.schema.d.ts +2 -1
- package/build/v1/message/schemas/generation-step.schema.js +1 -0
- package/build/v1/message/schemas/generation-step.schema.js.map +1 -1
- package/build/v1/message/schemas/index.d.ts +2 -2
- package/build/v1/message/schemas/index.js +3 -2
- package/build/v1/message/schemas/index.js.map +1 -1
- package/build/v1/message/schemas/message-response.schema.d.ts +17 -0
- package/build/v1/message/schemas/message-step-response.schema.d.ts +70 -0
- package/build/v1/message/schemas/message-step-response.schema.js +22 -1
- package/build/v1/message/schemas/message-step-response.schema.js.map +1 -1
- package/build/v1/message/schemas/stream-events.schema.d.ts +4 -0
- package/build/v1/message/schemas/stream-events.schema.js +2 -0
- package/build/v1/message/schemas/stream-events.schema.js.map +1 -1
- package/build/v1/s2s/commands/index.d.ts +1 -0
- package/build/v1/s2s/commands/index.js +1 -0
- package/build/v1/s2s/commands/index.js.map +1 -1
- package/build/v1/s2s/commands/upload-ai-file.command.d.ts +24 -0
- package/build/v1/s2s/commands/upload-ai-file.command.js +14 -0
- package/build/v1/s2s/commands/upload-ai-file.command.js.map +1 -0
- package/build/v1/s2s/schemas/index.d.ts +2 -0
- package/build/v1/s2s/schemas/index.js +2 -0
- package/build/v1/s2s/schemas/index.js.map +1 -1
- package/build/v1/s2s/schemas/s2s-upload-ai-file-request.schema.d.ts +17 -0
- package/build/v1/s2s/schemas/s2s-upload-ai-file-request.schema.js +22 -0
- package/build/v1/s2s/schemas/s2s-upload-ai-file-request.schema.js.map +1 -0
- package/build/v1/s2s/schemas/s2s-upload-ai-file-response.schema.d.ts +8 -0
- package/build/v1/s2s/schemas/s2s-upload-ai-file-response.schema.js +11 -0
- package/build/v1/s2s/schemas/s2s-upload-ai-file-response.schema.js.map +1 -0
- package/build/v1/tool/code-execution/code-execution-chunk-type.enum.d.ts +7 -0
- package/build/v1/tool/code-execution/code-execution-chunk-type.enum.js +12 -0
- package/build/v1/tool/code-execution/code-execution-chunk-type.enum.js.map +1 -0
- package/build/v1/tool/code-execution/code-execution-language.enum.d.ts +4 -0
- package/build/v1/tool/code-execution/code-execution-language.enum.js +9 -0
- package/build/v1/tool/code-execution/code-execution-language.enum.js.map +1 -0
- package/build/v1/tool/code-execution/code-execution-outcome-kind.enum.d.ts +5 -0
- package/build/v1/tool/code-execution/code-execution-outcome-kind.enum.js +10 -0
- package/build/v1/tool/code-execution/code-execution-outcome-kind.enum.js.map +1 -0
- package/build/v1/tool/code-execution/code-execution.errors.d.ts +9 -0
- package/build/v1/tool/code-execution/code-execution.errors.js +34 -0
- package/build/v1/tool/code-execution/code-execution.errors.js.map +1 -0
- package/build/v1/tool/code-execution/index.d.ts +4 -0
- package/build/v1/tool/code-execution/index.js +21 -0
- package/build/v1/tool/code-execution/index.js.map +1 -0
- package/build/v1/tool/index.d.ts +1 -0
- package/build/v1/tool/index.js +1 -0
- package/build/v1/tool/index.js.map +1 -1
- package/package.json +1 -1
|
@@ -8,5 +8,6 @@ var ToolId;
|
|
|
8
8
|
ToolId["WEB_SEARCH"] = "webSearch";
|
|
9
9
|
ToolId["YOUTUBE_VIDEO_ANALYSIS"] = "youtubeVideoAnalysis";
|
|
10
10
|
ToolId["HTML_VISUALIZATION"] = "htmlVisualization";
|
|
11
|
+
ToolId["CODE_EXECUTION"] = "codeExecution";
|
|
11
12
|
})(ToolId || (exports.ToolId = ToolId = {}));
|
|
12
13
|
//# sourceMappingURL=tool-id.enum.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"tool-id.enum.js","sourceRoot":"","sources":["../../../v1/ai/tool-id.enum.ts"],"names":[],"mappings":";;;AAIA,IAAY,
|
|
1
|
+
{"version":3,"file":"tool-id.enum.js","sourceRoot":"","sources":["../../../v1/ai/tool-id.enum.ts"],"names":[],"mappings":";;;AAIA,IAAY,MAOX;AAPD,WAAY,MAAM;IACd,gCAAsB,CAAA;IACtB,kCAAwB,CAAA;IACxB,kCAAwB,CAAA;IACxB,yDAA+C,CAAA;IAC/C,kDAAwC,CAAA;IACxC,0CAAgC,CAAA;AACpC,CAAC,EAPW,MAAM,sBAAN,MAAM,QAOjB"}
|
|
@@ -36,6 +36,23 @@ export declare namespace CreateRegChatCommand {
|
|
|
36
36
|
}, z.core.$strip>>;
|
|
37
37
|
}, z.core.$strip>, z.ZodNull, z.ZodObject<{
|
|
38
38
|
urls: z.ZodArray<z.ZodString>;
|
|
39
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
40
|
+
code: z.ZodString;
|
|
41
|
+
language: z.ZodString;
|
|
42
|
+
stdout: z.ZodString;
|
|
43
|
+
stderr: z.ZodString;
|
|
44
|
+
textResult: z.ZodNullable<z.ZodString>;
|
|
45
|
+
error: z.ZodNullable<z.ZodObject<{
|
|
46
|
+
name: z.ZodString;
|
|
47
|
+
value: z.ZodString;
|
|
48
|
+
traceback: z.ZodString;
|
|
49
|
+
}, z.core.$strip>>;
|
|
50
|
+
mountedFiles: z.ZodArray<z.ZodObject<{
|
|
51
|
+
filename: z.ZodString;
|
|
52
|
+
path: z.ZodString;
|
|
53
|
+
}, z.core.$strip>>;
|
|
54
|
+
sessionReused: z.ZodBoolean;
|
|
55
|
+
timedOut: z.ZodBoolean;
|
|
39
56
|
}, z.core.$strip>]>>;
|
|
40
57
|
showInUi: z.ZodBoolean;
|
|
41
58
|
startedAt: z.ZodNullable<z.ZodString>;
|
|
@@ -36,6 +36,23 @@ export declare namespace CreateUnregChatCommand {
|
|
|
36
36
|
}, z.core.$strip>>;
|
|
37
37
|
}, z.core.$strip>, z.ZodNull, z.ZodObject<{
|
|
38
38
|
urls: z.ZodArray<z.ZodString>;
|
|
39
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
40
|
+
code: z.ZodString;
|
|
41
|
+
language: z.ZodString;
|
|
42
|
+
stdout: z.ZodString;
|
|
43
|
+
stderr: z.ZodString;
|
|
44
|
+
textResult: z.ZodNullable<z.ZodString>;
|
|
45
|
+
error: z.ZodNullable<z.ZodObject<{
|
|
46
|
+
name: z.ZodString;
|
|
47
|
+
value: z.ZodString;
|
|
48
|
+
traceback: z.ZodString;
|
|
49
|
+
}, z.core.$strip>>;
|
|
50
|
+
mountedFiles: z.ZodArray<z.ZodObject<{
|
|
51
|
+
filename: z.ZodString;
|
|
52
|
+
path: z.ZodString;
|
|
53
|
+
}, z.core.$strip>>;
|
|
54
|
+
sessionReused: z.ZodBoolean;
|
|
55
|
+
timedOut: z.ZodBoolean;
|
|
39
56
|
}, z.core.$strip>]>>;
|
|
40
57
|
showInUi: z.ZodBoolean;
|
|
41
58
|
startedAt: z.ZodNullable<z.ZodString>;
|
|
@@ -35,6 +35,23 @@ export declare namespace UpdateChatTitleCommand {
|
|
|
35
35
|
}, z.core.$strip>>;
|
|
36
36
|
}, z.core.$strip>, z.ZodNull, z.ZodObject<{
|
|
37
37
|
urls: z.ZodArray<z.ZodString>;
|
|
38
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
39
|
+
code: z.ZodString;
|
|
40
|
+
language: z.ZodString;
|
|
41
|
+
stdout: z.ZodString;
|
|
42
|
+
stderr: z.ZodString;
|
|
43
|
+
textResult: z.ZodNullable<z.ZodString>;
|
|
44
|
+
error: z.ZodNullable<z.ZodObject<{
|
|
45
|
+
name: z.ZodString;
|
|
46
|
+
value: z.ZodString;
|
|
47
|
+
traceback: z.ZodString;
|
|
48
|
+
}, z.core.$strip>>;
|
|
49
|
+
mountedFiles: z.ZodArray<z.ZodObject<{
|
|
50
|
+
filename: z.ZodString;
|
|
51
|
+
path: z.ZodString;
|
|
52
|
+
}, z.core.$strip>>;
|
|
53
|
+
sessionReused: z.ZodBoolean;
|
|
54
|
+
timedOut: z.ZodBoolean;
|
|
38
55
|
}, z.core.$strip>]>>;
|
|
39
56
|
showInUi: z.ZodBoolean;
|
|
40
57
|
startedAt: z.ZodNullable<z.ZodString>;
|
|
@@ -37,6 +37,23 @@ export declare namespace UpdateChatCommand {
|
|
|
37
37
|
}, z.core.$strip>>;
|
|
38
38
|
}, z.core.$strip>, z.ZodNull, z.ZodObject<{
|
|
39
39
|
urls: z.ZodArray<z.ZodString>;
|
|
40
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
41
|
+
code: z.ZodString;
|
|
42
|
+
language: z.ZodString;
|
|
43
|
+
stdout: z.ZodString;
|
|
44
|
+
stderr: z.ZodString;
|
|
45
|
+
textResult: z.ZodNullable<z.ZodString>;
|
|
46
|
+
error: z.ZodNullable<z.ZodObject<{
|
|
47
|
+
name: z.ZodString;
|
|
48
|
+
value: z.ZodString;
|
|
49
|
+
traceback: z.ZodString;
|
|
50
|
+
}, z.core.$strip>>;
|
|
51
|
+
mountedFiles: z.ZodArray<z.ZodObject<{
|
|
52
|
+
filename: z.ZodString;
|
|
53
|
+
path: z.ZodString;
|
|
54
|
+
}, z.core.$strip>>;
|
|
55
|
+
sessionReused: z.ZodBoolean;
|
|
56
|
+
timedOut: z.ZodBoolean;
|
|
40
57
|
}, z.core.$strip>]>>;
|
|
41
58
|
showInUi: z.ZodBoolean;
|
|
42
59
|
startedAt: z.ZodNullable<z.ZodString>;
|
|
@@ -33,6 +33,23 @@ export declare namespace GetLastActiveChatQuery {
|
|
|
33
33
|
}, z.core.$strip>>;
|
|
34
34
|
}, z.core.$strip>, z.ZodNull, z.ZodObject<{
|
|
35
35
|
urls: z.ZodArray<z.ZodString>;
|
|
36
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
37
|
+
code: z.ZodString;
|
|
38
|
+
language: z.ZodString;
|
|
39
|
+
stdout: z.ZodString;
|
|
40
|
+
stderr: z.ZodString;
|
|
41
|
+
textResult: z.ZodNullable<z.ZodString>;
|
|
42
|
+
error: z.ZodNullable<z.ZodObject<{
|
|
43
|
+
name: z.ZodString;
|
|
44
|
+
value: z.ZodString;
|
|
45
|
+
traceback: z.ZodString;
|
|
46
|
+
}, z.core.$strip>>;
|
|
47
|
+
mountedFiles: z.ZodArray<z.ZodObject<{
|
|
48
|
+
filename: z.ZodString;
|
|
49
|
+
path: z.ZodString;
|
|
50
|
+
}, z.core.$strip>>;
|
|
51
|
+
sessionReused: z.ZodBoolean;
|
|
52
|
+
timedOut: z.ZodBoolean;
|
|
36
53
|
}, z.core.$strip>]>>;
|
|
37
54
|
showInUi: z.ZodBoolean;
|
|
38
55
|
startedAt: z.ZodNullable<z.ZodString>;
|
|
@@ -33,6 +33,23 @@ export declare namespace GetRegChatQuery {
|
|
|
33
33
|
}, z.core.$strip>>;
|
|
34
34
|
}, z.core.$strip>, z.ZodNull, z.ZodObject<{
|
|
35
35
|
urls: z.ZodArray<z.ZodString>;
|
|
36
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
37
|
+
code: z.ZodString;
|
|
38
|
+
language: z.ZodString;
|
|
39
|
+
stdout: z.ZodString;
|
|
40
|
+
stderr: z.ZodString;
|
|
41
|
+
textResult: z.ZodNullable<z.ZodString>;
|
|
42
|
+
error: z.ZodNullable<z.ZodObject<{
|
|
43
|
+
name: z.ZodString;
|
|
44
|
+
value: z.ZodString;
|
|
45
|
+
traceback: z.ZodString;
|
|
46
|
+
}, z.core.$strip>>;
|
|
47
|
+
mountedFiles: z.ZodArray<z.ZodObject<{
|
|
48
|
+
filename: z.ZodString;
|
|
49
|
+
path: z.ZodString;
|
|
50
|
+
}, z.core.$strip>>;
|
|
51
|
+
sessionReused: z.ZodBoolean;
|
|
52
|
+
timedOut: z.ZodBoolean;
|
|
36
53
|
}, z.core.$strip>]>>;
|
|
37
54
|
showInUi: z.ZodBoolean;
|
|
38
55
|
startedAt: z.ZodNullable<z.ZodString>;
|
|
@@ -33,6 +33,23 @@ export declare namespace GetUnregChatQuery {
|
|
|
33
33
|
}, z.core.$strip>>;
|
|
34
34
|
}, z.core.$strip>, z.ZodNull, z.ZodObject<{
|
|
35
35
|
urls: z.ZodArray<z.ZodString>;
|
|
36
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
37
|
+
code: z.ZodString;
|
|
38
|
+
language: z.ZodString;
|
|
39
|
+
stdout: z.ZodString;
|
|
40
|
+
stderr: z.ZodString;
|
|
41
|
+
textResult: z.ZodNullable<z.ZodString>;
|
|
42
|
+
error: z.ZodNullable<z.ZodObject<{
|
|
43
|
+
name: z.ZodString;
|
|
44
|
+
value: z.ZodString;
|
|
45
|
+
traceback: z.ZodString;
|
|
46
|
+
}, z.core.$strip>>;
|
|
47
|
+
mountedFiles: z.ZodArray<z.ZodObject<{
|
|
48
|
+
filename: z.ZodString;
|
|
49
|
+
path: z.ZodString;
|
|
50
|
+
}, z.core.$strip>>;
|
|
51
|
+
sessionReused: z.ZodBoolean;
|
|
52
|
+
timedOut: z.ZodBoolean;
|
|
36
53
|
}, z.core.$strip>]>>;
|
|
37
54
|
showInUi: z.ZodBoolean;
|
|
38
55
|
startedAt: z.ZodNullable<z.ZodString>;
|
|
@@ -31,6 +31,23 @@ export declare const ChatWithMessagesResponseSchema: z.ZodObject<{
|
|
|
31
31
|
}, z.core.$strip>>;
|
|
32
32
|
}, z.core.$strip>, z.ZodNull, z.ZodObject<{
|
|
33
33
|
urls: z.ZodArray<z.ZodString>;
|
|
34
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
35
|
+
code: z.ZodString;
|
|
36
|
+
language: z.ZodString;
|
|
37
|
+
stdout: z.ZodString;
|
|
38
|
+
stderr: z.ZodString;
|
|
39
|
+
textResult: z.ZodNullable<z.ZodString>;
|
|
40
|
+
error: z.ZodNullable<z.ZodObject<{
|
|
41
|
+
name: z.ZodString;
|
|
42
|
+
value: z.ZodString;
|
|
43
|
+
traceback: z.ZodString;
|
|
44
|
+
}, z.core.$strip>>;
|
|
45
|
+
mountedFiles: z.ZodArray<z.ZodObject<{
|
|
46
|
+
filename: z.ZodString;
|
|
47
|
+
path: z.ZodString;
|
|
48
|
+
}, z.core.$strip>>;
|
|
49
|
+
sessionReused: z.ZodBoolean;
|
|
50
|
+
timedOut: z.ZodBoolean;
|
|
34
51
|
}, z.core.$strip>]>>;
|
|
35
52
|
showInUi: z.ZodBoolean;
|
|
36
53
|
startedAt: z.ZodNullable<z.ZodString>;
|
|
@@ -20,6 +20,10 @@ export declare namespace ClientFileAttachCommand {
|
|
|
20
20
|
originalFilename: z.ZodString;
|
|
21
21
|
originalContentType: z.ZodString;
|
|
22
22
|
originalSize: z.ZodNumber;
|
|
23
|
+
originalKey: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
24
|
+
processingCategory: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
25
|
+
extractedTokenCount: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
26
|
+
textPreview: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
23
27
|
}, z.core.$strip>>;
|
|
24
28
|
}, z.core.$strip>;
|
|
25
29
|
const URL: (chatId: string) => string;
|
|
@@ -11,6 +11,10 @@ export declare const ClientFileAttachmentItemSchema: z.ZodObject<{
|
|
|
11
11
|
originalFilename: z.ZodString;
|
|
12
12
|
originalContentType: z.ZodString;
|
|
13
13
|
originalSize: z.ZodNumber;
|
|
14
|
+
originalKey: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
15
|
+
processingCategory: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
16
|
+
extractedTokenCount: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
17
|
+
textPreview: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
14
18
|
}, z.core.$strip>;
|
|
15
19
|
export declare const ClientFileAttachResponseSchema: z.ZodObject<{
|
|
16
20
|
items: z.ZodArray<z.ZodObject<{
|
|
@@ -24,6 +28,10 @@ export declare const ClientFileAttachResponseSchema: z.ZodObject<{
|
|
|
24
28
|
originalFilename: z.ZodString;
|
|
25
29
|
originalContentType: z.ZodString;
|
|
26
30
|
originalSize: z.ZodNumber;
|
|
31
|
+
originalKey: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
32
|
+
processingCategory: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
33
|
+
extractedTokenCount: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
34
|
+
textPreview: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
27
35
|
}, z.core.$strip>>;
|
|
28
36
|
}, z.core.$strip>;
|
|
29
37
|
export type ClientFileAttachResponseDto = z.infer<typeof ClientFileAttachResponseSchema>;
|
|
@@ -15,6 +15,10 @@ exports.ClientFileAttachmentItemSchema = zod_1.z.object({
|
|
|
15
15
|
originalFilename: zod_1.z.string().min(1),
|
|
16
16
|
originalContentType: zod_1.z.string().min(1),
|
|
17
17
|
originalSize: zod_1.z.number().int().nonnegative(),
|
|
18
|
+
originalKey: zod_1.z.string().nullable().optional(),
|
|
19
|
+
processingCategory: zod_1.z.string().nullable().optional(),
|
|
20
|
+
extractedTokenCount: zod_1.z.number().int().nullable().optional(),
|
|
21
|
+
textPreview: zod_1.z.string().nullable().optional(),
|
|
18
22
|
});
|
|
19
23
|
exports.ClientFileAttachResponseSchema = zod_1.z.object({
|
|
20
24
|
items: zod_1.z.array(exports.ClientFileAttachmentItemSchema),
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"client-file-attach-response.schema.js","sourceRoot":"","sources":["../../../../v1/client-file/schemas/client-file-attach-response.schema.ts"],"names":[],"mappings":";;;AAAA,6BAAwB;AACxB,4CAA6C;AAC7C,mEAAyD;AAE5C,QAAA,8BAA8B,GAAG,OAAC,CAAC,MAAM,CAAC;IACnD,IAAI,EAAE,OAAC,CAAC,MAAM,EAAE,CAAC,KAAK,CAAC,mBAAU,CAAC;IAClC,IAAI,EAAE,OAAC,CAAC,UAAU,CAAC,sCAAc,CAAC;IAClC,KAAK,EAAE,OAAC,CAAC,MAAM,EAAE,CAAC,GAAG,EAAE;IACvB,MAAM,EAAE,OAAC,CAAC,MAAM,EAAE,CAAC,GAAG,CAAC,CAAC,CAAC;IACzB,GAAG,EAAE,OAAC,CAAC,MAAM,EAAE,CAAC,GAAG,CAAC,CAAC,CAAC;IACtB,WAAW,EAAE,OAAC,CAAC,MAAM,EAAE,CAAC,GAAG,CAAC,CAAC,CAAC;IAC9B,IAAI,EAAE,OAAC,CAAC,MAAM,EAAE,CAAC,GAAG,EAAE,CAAC,WAAW,EAAE;IACpC,gBAAgB,EAAE,OAAC,CAAC,MAAM,EAAE,CAAC,GAAG,CAAC,CAAC,CAAC;IACnC,mBAAmB,EAAE,OAAC,CAAC,MAAM,EAAE,CAAC,GAAG,CAAC,CAAC,CAAC;IACtC,YAAY,EAAE,OAAC,CAAC,MAAM,EAAE,CAAC,GAAG,EAAE,CAAC,WAAW,EAAE;
|
|
1
|
+
{"version":3,"file":"client-file-attach-response.schema.js","sourceRoot":"","sources":["../../../../v1/client-file/schemas/client-file-attach-response.schema.ts"],"names":[],"mappings":";;;AAAA,6BAAwB;AACxB,4CAA6C;AAC7C,mEAAyD;AAE5C,QAAA,8BAA8B,GAAG,OAAC,CAAC,MAAM,CAAC;IACnD,IAAI,EAAE,OAAC,CAAC,MAAM,EAAE,CAAC,KAAK,CAAC,mBAAU,CAAC;IAClC,IAAI,EAAE,OAAC,CAAC,UAAU,CAAC,sCAAc,CAAC;IAClC,KAAK,EAAE,OAAC,CAAC,MAAM,EAAE,CAAC,GAAG,EAAE;IACvB,MAAM,EAAE,OAAC,CAAC,MAAM,EAAE,CAAC,GAAG,CAAC,CAAC,CAAC;IACzB,GAAG,EAAE,OAAC,CAAC,MAAM,EAAE,CAAC,GAAG,CAAC,CAAC,CAAC;IACtB,WAAW,EAAE,OAAC,CAAC,MAAM,EAAE,CAAC,GAAG,CAAC,CAAC,CAAC;IAC9B,IAAI,EAAE,OAAC,CAAC,MAAM,EAAE,CAAC,GAAG,EAAE,CAAC,WAAW,EAAE;IACpC,gBAAgB,EAAE,OAAC,CAAC,MAAM,EAAE,CAAC,GAAG,CAAC,CAAC,CAAC;IACnC,mBAAmB,EAAE,OAAC,CAAC,MAAM,EAAE,CAAC,GAAG,CAAC,CAAC,CAAC;IACtC,YAAY,EAAE,OAAC,CAAC,MAAM,EAAE,CAAC,GAAG,EAAE,CAAC,WAAW,EAAE;IAE5C,WAAW,EAAE,OAAC,CAAC,MAAM,EAAE,CAAC,QAAQ,EAAE,CAAC,QAAQ,EAAE;IAE7C,kBAAkB,EAAE,OAAC,CAAC,MAAM,EAAE,CAAC,QAAQ,EAAE,CAAC,QAAQ,EAAE;IAEpD,mBAAmB,EAAE,OAAC,CAAC,MAAM,EAAE,CAAC,GAAG,EAAE,CAAC,QAAQ,EAAE,CAAC,QAAQ,EAAE;IAE3D,WAAW,EAAE,OAAC,CAAC,MAAM,EAAE,CAAC,QAAQ,EAAE,CAAC,QAAQ,EAAE;CAChD,CAAC,CAAC;AAEU,QAAA,8BAA8B,GAAG,OAAC,CAAC,MAAM,CAAC;IACnD,KAAK,EAAE,OAAC,CAAC,KAAK,CAAC,sCAA8B,CAAC;CACjD,CAAC,CAAC"}
|
|
@@ -1,4 +1,8 @@
|
|
|
1
1
|
export declare const CLIENT_FILE_IMAGE_MIME_TYPES: readonly ["image/jpeg", "image/png", "image/webp"];
|
|
2
|
-
export declare const
|
|
2
|
+
export declare const CLIENT_FILE_TEXT_NATIVE_MIME_TYPES: readonly ["text/plain", "text/markdown", "text/csv", "text/xml", "application/json", "application/xml", "text/yaml", "application/x-yaml", "text/css", "text/javascript", "application/javascript", "text/x-python", "application/x-python-code", "text/x-java-source", "text/x-c", "text/x-c++src", "text/x-csharp", "text/x-go", "text/x-rust", "text/x-ruby", "text/x-php", "application/x-php", "text/x-swift", "text/x-kotlin", "text/x-scala", "text/x-sql", "text/x-shellscript", "application/x-sh", "text/x-typescript", "application/typescript"];
|
|
3
|
+
export declare const CLIENT_FILE_VISUAL_DOC_MIME_TYPES: readonly ["application/msword", "application/vnd.openxmlformats-officedocument.wordprocessingml.document", "application/vnd.ms-excel", "application/vnd.openxmlformats-officedocument.spreadsheetml.sheet", "application/vnd.ms-powerpoint", "application/vnd.openxmlformats-officedocument.presentationml.presentation", "text/html"];
|
|
4
|
+
export declare const CLIENT_FILE_DOC_MIME_TYPES: readonly ["application/pdf", "application/msword", "application/vnd.openxmlformats-officedocument.wordprocessingml.document", "application/vnd.ms-excel", "application/vnd.openxmlformats-officedocument.spreadsheetml.sheet", "application/vnd.ms-powerpoint", "application/vnd.openxmlformats-officedocument.presentationml.presentation", "text/html", "text/plain", "text/markdown", "text/csv", "text/xml", "application/json", "application/xml", "text/yaml", "application/x-yaml", "text/css", "text/javascript", "application/javascript", "text/x-python", "application/x-python-code", "text/x-java-source", "text/x-c", "text/x-c++src", "text/x-csharp", "text/x-go", "text/x-rust", "text/x-ruby", "text/x-php", "application/x-php", "text/x-swift", "text/x-kotlin", "text/x-scala", "text/x-sql", "text/x-shellscript", "application/x-sh", "text/x-typescript", "application/typescript"];
|
|
3
5
|
export type ClientFileImageMimeType = (typeof CLIENT_FILE_IMAGE_MIME_TYPES)[number];
|
|
4
6
|
export type ClientFileDocMimeType = (typeof CLIENT_FILE_DOC_MIME_TYPES)[number];
|
|
7
|
+
export type ClientFileTextNativeMimeType = (typeof CLIENT_FILE_TEXT_NATIVE_MIME_TYPES)[number];
|
|
8
|
+
export type ClientFileVisualDocMimeType = (typeof CLIENT_FILE_VISUAL_DOC_MIME_TYPES)[number];
|
|
@@ -1,29 +1,21 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.CLIENT_FILE_DOC_MIME_TYPES = exports.CLIENT_FILE_IMAGE_MIME_TYPES = void 0;
|
|
3
|
+
exports.CLIENT_FILE_DOC_MIME_TYPES = exports.CLIENT_FILE_VISUAL_DOC_MIME_TYPES = exports.CLIENT_FILE_TEXT_NATIVE_MIME_TYPES = exports.CLIENT_FILE_IMAGE_MIME_TYPES = void 0;
|
|
4
4
|
exports.CLIENT_FILE_IMAGE_MIME_TYPES = [
|
|
5
5
|
'image/jpeg',
|
|
6
6
|
'image/png',
|
|
7
7
|
'image/webp',
|
|
8
8
|
];
|
|
9
|
-
exports.
|
|
10
|
-
'application/pdf',
|
|
11
|
-
'application/msword',
|
|
12
|
-
'application/vnd.openxmlformats-officedocument.wordprocessingml.document',
|
|
13
|
-
'application/vnd.ms-excel',
|
|
14
|
-
'application/vnd.openxmlformats-officedocument.spreadsheetml.sheet',
|
|
15
|
-
'application/vnd.ms-powerpoint',
|
|
16
|
-
'application/vnd.openxmlformats-officedocument.presentationml.presentation',
|
|
9
|
+
exports.CLIENT_FILE_TEXT_NATIVE_MIME_TYPES = [
|
|
17
10
|
'text/plain',
|
|
18
11
|
'text/markdown',
|
|
19
12
|
'text/csv',
|
|
20
|
-
'text/html',
|
|
21
|
-
'text/css',
|
|
22
13
|
'text/xml',
|
|
23
14
|
'application/json',
|
|
24
15
|
'application/xml',
|
|
25
16
|
'text/yaml',
|
|
26
17
|
'application/x-yaml',
|
|
18
|
+
'text/css',
|
|
27
19
|
'text/javascript',
|
|
28
20
|
'application/javascript',
|
|
29
21
|
'text/x-python',
|
|
@@ -46,4 +38,18 @@ exports.CLIENT_FILE_DOC_MIME_TYPES = [
|
|
|
46
38
|
'text/x-typescript',
|
|
47
39
|
'application/typescript',
|
|
48
40
|
];
|
|
41
|
+
exports.CLIENT_FILE_VISUAL_DOC_MIME_TYPES = [
|
|
42
|
+
'application/msword',
|
|
43
|
+
'application/vnd.openxmlformats-officedocument.wordprocessingml.document',
|
|
44
|
+
'application/vnd.ms-excel',
|
|
45
|
+
'application/vnd.openxmlformats-officedocument.spreadsheetml.sheet',
|
|
46
|
+
'application/vnd.ms-powerpoint',
|
|
47
|
+
'application/vnd.openxmlformats-officedocument.presentationml.presentation',
|
|
48
|
+
'text/html',
|
|
49
|
+
];
|
|
50
|
+
exports.CLIENT_FILE_DOC_MIME_TYPES = [
|
|
51
|
+
'application/pdf',
|
|
52
|
+
...exports.CLIENT_FILE_VISUAL_DOC_MIME_TYPES,
|
|
53
|
+
...exports.CLIENT_FILE_TEXT_NATIVE_MIME_TYPES,
|
|
54
|
+
];
|
|
49
55
|
//# sourceMappingURL=client-file-mime-types.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"client-file-mime-types.js","sourceRoot":"","sources":["../../../../v1/client-file/schemas/client-file-mime-types.ts"],"names":[],"mappings":";;;AACa,QAAA,4BAA4B,GAAG;IACxC,YAAY;IACZ,WAAW;IACX,YAAY;CACN,CAAC;
|
|
1
|
+
{"version":3,"file":"client-file-mime-types.js","sourceRoot":"","sources":["../../../../v1/client-file/schemas/client-file-mime-types.ts"],"names":[],"mappings":";;;AACa,QAAA,4BAA4B,GAAG;IACxC,YAAY;IACZ,WAAW;IACX,YAAY;CACN,CAAC;AAUE,QAAA,kCAAkC,GAAG;IAE9C,YAAY;IACZ,eAAe;IACf,UAAU;IACV,UAAU;IACV,kBAAkB;IAClB,iBAAiB;IACjB,WAAW;IACX,oBAAoB;IACpB,UAAU;IAEV,iBAAiB;IACjB,wBAAwB;IACxB,eAAe;IACf,2BAA2B;IAC3B,oBAAoB;IACpB,UAAU;IACV,eAAe;IACf,eAAe;IACf,WAAW;IACX,aAAa;IACb,aAAa;IACb,YAAY;IACZ,mBAAmB;IACnB,cAAc;IACd,eAAe;IACf,cAAc;IACd,YAAY;IACZ,oBAAoB;IACpB,kBAAkB;IAClB,mBAAmB;IACnB,wBAAwB;CAClB,CAAC;AAOE,QAAA,iCAAiC,GAAG;IAC7C,oBAAoB;IACpB,yEAAyE;IACzE,0BAA0B;IAC1B,mEAAmE;IACnE,+BAA+B;IAC/B,2EAA2E;IAC3E,WAAW;CACL,CAAC;AAOE,QAAA,0BAA0B,GAAG;IACtC,iBAAiB;IACjB,GAAG,yCAAiC;IACpC,GAAG,0CAAkC;CAC/B,CAAC"}
|
|
@@ -25,4 +25,5 @@ __exportStar(require("./client-file-delete-response.schema"), exports);
|
|
|
25
25
|
__exportStar(require("./client-file-attach-request.schema"), exports);
|
|
26
26
|
__exportStar(require("./client-file-attach-response.schema"), exports);
|
|
27
27
|
__exportStar(require("./client-file-mime-types"), exports);
|
|
28
|
+
__exportStar(require("./processing-category.enum"), exports);
|
|
28
29
|
//# sourceMappingURL=index.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../v1/client-file/schemas/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,0DAAwC;AACxC,gEAA8C;AAC9C,mEAAiD;AACjD,oEAAkD;AAClD,qEAAmD;AACnD,qEAAmD;AACnD,uEAAqD;AACrD,uEAAqD;AACrD,sEAAoD;AACpD,uEAAqD;AACrD,2DAAyC"}
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../v1/client-file/schemas/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,0DAAwC;AACxC,gEAA8C;AAC9C,mEAAiD;AACjD,oEAAkD;AAClD,qEAAmD;AACnD,qEAAmD;AACnD,uEAAqD;AACrD,uEAAqD;AACrD,sEAAoD;AACpD,uEAAqD;AACrD,2DAAyC;AACzC,6DAA2C"}
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.FileProcessingCategory = void 0;
|
|
4
|
+
var FileProcessingCategory;
|
|
5
|
+
(function (FileProcessingCategory) {
|
|
6
|
+
FileProcessingCategory["TEXT_NATIVE"] = "text_native";
|
|
7
|
+
FileProcessingCategory["VISUAL_DOC"] = "visual_doc";
|
|
8
|
+
FileProcessingCategory["PDF"] = "pdf";
|
|
9
|
+
FileProcessingCategory["IMAGE"] = "image";
|
|
10
|
+
})(FileProcessingCategory || (exports.FileProcessingCategory = FileProcessingCategory = {}));
|
|
11
|
+
//# sourceMappingURL=processing-category.enum.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"processing-category.enum.js","sourceRoot":"","sources":["../../../../v1/client-file/schemas/processing-category.enum.ts"],"names":[],"mappings":";;;AAKA,IAAY,sBASX;AATD,WAAY,sBAAsB;IAE9B,qDAA2B,CAAA;IAE3B,mDAAyB,CAAA;IAEzB,qCAAW,CAAA;IAEX,yCAAe,CAAA;AACnB,CAAC,EATW,sBAAsB,sCAAtB,sBAAsB,QASjC"}
|
|
@@ -49,6 +49,7 @@ export declare namespace CreateMessageCommand {
|
|
|
49
49
|
stepType: z.ZodEnum<typeof import("../schemas").GenerationStepType>;
|
|
50
50
|
stepId: z.ZodString;
|
|
51
51
|
chunk: z.ZodString;
|
|
52
|
+
metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
52
53
|
}, z.core.$strip>, z.ZodObject<{
|
|
53
54
|
id: z.ZodNumber;
|
|
54
55
|
chatId: z.ZodString;
|
|
@@ -68,6 +69,7 @@ export declare namespace CreateMessageCommand {
|
|
|
68
69
|
stepId: z.ZodString;
|
|
69
70
|
stepIndex: z.ZodNumber;
|
|
70
71
|
fullContent: z.ZodOptional<z.ZodString>;
|
|
72
|
+
structuredContent: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
71
73
|
metadata: z.ZodOptional<z.ZodUnion<readonly [z.ZodObject<{
|
|
72
74
|
imageUrl: z.ZodString;
|
|
73
75
|
}, z.core.$strip>, z.ZodObject<{
|
|
@@ -142,6 +144,7 @@ export declare namespace CreateMessageCommand {
|
|
|
142
144
|
stepType: z.ZodEnum<typeof import("../schemas").GenerationStepType>;
|
|
143
145
|
stepId: z.ZodString;
|
|
144
146
|
chunk: z.ZodString;
|
|
147
|
+
metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
145
148
|
}, z.core.$strip>;
|
|
146
149
|
const StepErrorEvent: z.ZodObject<{
|
|
147
150
|
id: z.ZodNumber;
|
|
@@ -163,6 +166,7 @@ export declare namespace CreateMessageCommand {
|
|
|
163
166
|
stepId: z.ZodString;
|
|
164
167
|
stepIndex: z.ZodNumber;
|
|
165
168
|
fullContent: z.ZodOptional<z.ZodString>;
|
|
169
|
+
structuredContent: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
166
170
|
metadata: z.ZodOptional<z.ZodUnion<readonly [z.ZodObject<{
|
|
167
171
|
imageUrl: z.ZodString;
|
|
168
172
|
}, z.core.$strip>, z.ZodObject<{
|
|
@@ -26,6 +26,7 @@ export declare namespace GetMessageStreamRegQuery {
|
|
|
26
26
|
stepType: z.ZodEnum<typeof import("../schemas").GenerationStepType>;
|
|
27
27
|
stepId: z.ZodString;
|
|
28
28
|
chunk: z.ZodString;
|
|
29
|
+
metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
29
30
|
}, z.core.$strip>, z.ZodObject<{
|
|
30
31
|
id: z.ZodNumber;
|
|
31
32
|
chatId: z.ZodString;
|
|
@@ -45,6 +46,7 @@ export declare namespace GetMessageStreamRegQuery {
|
|
|
45
46
|
stepId: z.ZodString;
|
|
46
47
|
stepIndex: z.ZodNumber;
|
|
47
48
|
fullContent: z.ZodOptional<z.ZodString>;
|
|
49
|
+
structuredContent: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
48
50
|
metadata: z.ZodOptional<z.ZodUnion<readonly [z.ZodObject<{
|
|
49
51
|
imageUrl: z.ZodString;
|
|
50
52
|
}, z.core.$strip>, z.ZodObject<{
|
|
@@ -26,6 +26,7 @@ export declare namespace GetMessageStreamUnregQuery {
|
|
|
26
26
|
stepType: z.ZodEnum<typeof import("../schemas").GenerationStepType>;
|
|
27
27
|
stepId: z.ZodString;
|
|
28
28
|
chunk: z.ZodString;
|
|
29
|
+
metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
29
30
|
}, z.core.$strip>, z.ZodObject<{
|
|
30
31
|
id: z.ZodNumber;
|
|
31
32
|
chatId: z.ZodString;
|
|
@@ -45,6 +46,7 @@ export declare namespace GetMessageStreamUnregQuery {
|
|
|
45
46
|
stepId: z.ZodString;
|
|
46
47
|
stepIndex: z.ZodNumber;
|
|
47
48
|
fullContent: z.ZodOptional<z.ZodString>;
|
|
49
|
+
structuredContent: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
48
50
|
metadata: z.ZodOptional<z.ZodUnion<readonly [z.ZodObject<{
|
|
49
51
|
imageUrl: z.ZodString;
|
|
50
52
|
}, z.core.$strip>, z.ZodObject<{
|
|
@@ -17,7 +17,8 @@ export declare enum GenerationStepType {
|
|
|
17
17
|
UPLOAD = "upload",
|
|
18
18
|
WEB_SEARCH = "web_search",
|
|
19
19
|
VIDEO_ANALYSIS = "video_analysis",
|
|
20
|
-
HTML_VISUALIZATION = "html_visualization"
|
|
20
|
+
HTML_VISUALIZATION = "html_visualization",
|
|
21
|
+
CODE_EXECUTION = "code_execution"
|
|
21
22
|
}
|
|
22
23
|
export declare const GenerationStepSchema: z.ZodObject<{
|
|
23
24
|
type: z.ZodEnum<typeof GenerationStepType>;
|
|
@@ -23,6 +23,7 @@ var GenerationStepType;
|
|
|
23
23
|
GenerationStepType["WEB_SEARCH"] = "web_search";
|
|
24
24
|
GenerationStepType["VIDEO_ANALYSIS"] = "video_analysis";
|
|
25
25
|
GenerationStepType["HTML_VISUALIZATION"] = "html_visualization";
|
|
26
|
+
GenerationStepType["CODE_EXECUTION"] = "code_execution";
|
|
26
27
|
})(GenerationStepType || (exports.GenerationStepType = GenerationStepType = {}));
|
|
27
28
|
exports.GenerationStepSchema = zod_1.z.object({
|
|
28
29
|
type: zod_1.z.nativeEnum(GenerationStepType),
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"generation-step.schema.js","sourceRoot":"","sources":["../../../../v1/message/schemas/generation-step.schema.ts"],"names":[],"mappings":";;;AAAA,6BAAwB;AAKxB,IAAY,iBAOX;AAPD,WAAY,iBAAiB;IACzB,wCAAmB,CAAA;IACnB,wCAAmB,CAAA;IACnB,4CAAuB,CAAA;IACvB,wCAAmB,CAAA;IACnB,sCAAiB,CAAA;IACjB,4CAAuB,CAAA;AAC3B,CAAC,EAPW,iBAAiB,iCAAjB,iBAAiB,QAO5B;AAKD,IAAY,
|
|
1
|
+
{"version":3,"file":"generation-step.schema.js","sourceRoot":"","sources":["../../../../v1/message/schemas/generation-step.schema.ts"],"names":[],"mappings":";;;AAAA,6BAAwB;AAKxB,IAAY,iBAOX;AAPD,WAAY,iBAAiB;IACzB,wCAAmB,CAAA;IACnB,wCAAmB,CAAA;IACnB,4CAAuB,CAAA;IACvB,wCAAmB,CAAA;IACnB,sCAAiB,CAAA;IACjB,4CAAuB,CAAA;AAC3B,CAAC,EAPW,iBAAiB,iCAAjB,iBAAiB,QAO5B;AAKD,IAAY,kBAuBX;AAvBD,WAAY,kBAAkB;IAE1B,6CAAuB,CAAA;IAEvB,6DAAuC,CAAA;IAEvC,uEAAiD,CAAA;IAEjD,yDAAmC,CAAA;IAEnC,2DAAqC,CAAA;IAErC,+CAAyB,CAAA;IAEzB,uCAAiB,CAAA;IAEjB,+CAAyB,CAAA;IAEzB,uDAAiC,CAAA;IAEjC,+DAAyC,CAAA;IAEzC,uDAAiC,CAAA;AACrC,CAAC,EAvBW,kBAAkB,kCAAlB,kBAAkB,QAuB7B;AAKY,QAAA,oBAAoB,GAAG,OAAC,CAAC,MAAM,CAAC;IAEzC,IAAI,EAAE,OAAC,CAAC,UAAU,CAAC,kBAAkB,CAAC;IAEtC,OAAO,EAAE,OAAC,CAAC,MAAM,EAAE;IAEnB,OAAO,EAAE,OAAC,CAAC,MAAM,EAAE,CAAC,IAAI,EAAE,CAAC,QAAQ,EAAE;IAErC,UAAU,EAAE,OAAC,CAAC,MAAM,EAAE,CAAC,QAAQ,EAAE;IAEjC,gBAAgB,EAAE,OAAC,CAAC,OAAO,EAAE,CAAC,OAAO,CAAC,KAAK,CAAC;IAE5C,SAAS,EAAE,OAAC,CAAC,MAAM,EAAE,CAAC,QAAQ,EAAE;IAEhC,WAAW,EAAE,OAAC,CAAC,MAAM,EAAE,CAAC,QAAQ,EAAE;CACrC,CAAC,CAAC"}
|
|
@@ -4,8 +4,8 @@ export { UserRating } from './user-rating.enum';
|
|
|
4
4
|
export { CreateMessageRequestSchema } from './create-message-request.schema';
|
|
5
5
|
export { CreateMessageResponseSchema } from './create-message-response.schema';
|
|
6
6
|
export { MessageResponseSchema } from './message-response.schema';
|
|
7
|
-
export { MessageStepResponseSchema, MessageStepsResponseSchema, StepContentResponseSchema, TextStepContentSchema, WebSearchCitationSchema, WebSearchStepContentSchema, ImageGenStepContentSchema, UploadStepContentSchema, } from './message-step-response.schema';
|
|
8
|
-
export type { MessageStepResponse, MessageStepsResponse, StepContentResponse, TextStepContent, WebSearchCitation, WebSearchStepContent, ImageGenStepContent, UploadStepContent, } from './message-step-response.schema';
|
|
7
|
+
export { MessageStepResponseSchema, MessageStepsResponseSchema, StepContentResponseSchema, TextStepContentSchema, WebSearchCitationSchema, WebSearchStepContentSchema, ImageGenStepContentSchema, UploadStepContentSchema, CodeExecutionStepContentResponseSchema, } from './message-step-response.schema';
|
|
8
|
+
export type { MessageStepResponse, MessageStepsResponse, StepContentResponse, TextStepContent, WebSearchCitation, WebSearchStepContent, ImageGenStepContent, UploadStepContent, CodeExecutionStepContentResponse, } from './message-step-response.schema';
|
|
9
9
|
export { MessageAttachmentResponseSchema, MessageAttachmentsResponseSchema, AttachmentMetaResponseSchema, } from './message-attachment-response.schema';
|
|
10
10
|
export type { MessageAttachmentResponse, MessageAttachmentsResponse, AttachmentMetaResponse, } from './message-attachment-response.schema';
|
|
11
11
|
export { MessageCitationResponseSchema, MessageCitationsResponseSchema, } from './message-citation-response.schema';
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.
|
|
4
|
-
exports.CancelStreamResponseSchema = exports.DeleteMessageResponseSchema = exports.DeleteMessageParamsSchema = exports.RateMessageParamsSchema = exports.RateMessageResponseSchema = exports.RateMessageRequestSchema = void 0;
|
|
3
|
+
exports.GenerationStepType = exports.GenerationStepSchema = exports.AttachmentsSchema = exports.AttachmentSchema = exports.AttachmentStatus = exports.AttachmentType = exports.AttachmentSource = exports.StepDoneMetadataByType = exports.StepStartMetadataByType = exports.UploadStepDoneMetadataSchema = exports.VideoAnalysisStepStartMetadataSchema = exports.ImageEditStepStartMetadataSchema = exports.WebSearchStepStartMetadataSchema = exports.StepDoneMetadataSchema = exports.StepStartMetadataSchema = exports.CitationStatus = exports.CitationSchema = exports.StreamErrorEventSchema = exports.StreamCancelledEventSchema = exports.StreamDoneEventSchema = exports.StreamHeartbeatEventSchema = exports.StreamCitationsEventSchema = exports.StreamImageGenerationErrorEventSchema = exports.StreamImageEventSchema = exports.StreamStepDoneEventSchema = exports.StreamStepErrorEventSchema = exports.StreamStepChunkEventSchema = exports.StreamStepStartEventSchema = exports.StreamEventSchema = exports.StreamEventType = exports.MessageCitationsResponseSchema = exports.MessageCitationResponseSchema = exports.AttachmentMetaResponseSchema = exports.MessageAttachmentsResponseSchema = exports.MessageAttachmentResponseSchema = exports.CodeExecutionStepContentResponseSchema = exports.UploadStepContentSchema = exports.ImageGenStepContentSchema = exports.WebSearchStepContentSchema = exports.WebSearchCitationSchema = exports.TextStepContentSchema = exports.StepContentResponseSchema = exports.MessageStepsResponseSchema = exports.MessageStepResponseSchema = exports.MessageResponseSchema = exports.CreateMessageResponseSchema = exports.CreateMessageRequestSchema = exports.UserRating = exports.MessageStatus = exports.MessageRole = void 0;
|
|
4
|
+
exports.CancelStreamResponseSchema = exports.DeleteMessageResponseSchema = exports.DeleteMessageParamsSchema = exports.RateMessageParamsSchema = exports.RateMessageResponseSchema = exports.RateMessageRequestSchema = exports.MessageStepStatus = void 0;
|
|
5
5
|
var message_role_enum_1 = require("./message-role.enum");
|
|
6
6
|
Object.defineProperty(exports, "MessageRole", { enumerable: true, get: function () { return message_role_enum_1.MessageRole; } });
|
|
7
7
|
var message_status_enum_1 = require("./message-status.enum");
|
|
@@ -23,6 +23,7 @@ Object.defineProperty(exports, "WebSearchCitationSchema", { enumerable: true, ge
|
|
|
23
23
|
Object.defineProperty(exports, "WebSearchStepContentSchema", { enumerable: true, get: function () { return message_step_response_schema_1.WebSearchStepContentSchema; } });
|
|
24
24
|
Object.defineProperty(exports, "ImageGenStepContentSchema", { enumerable: true, get: function () { return message_step_response_schema_1.ImageGenStepContentSchema; } });
|
|
25
25
|
Object.defineProperty(exports, "UploadStepContentSchema", { enumerable: true, get: function () { return message_step_response_schema_1.UploadStepContentSchema; } });
|
|
26
|
+
Object.defineProperty(exports, "CodeExecutionStepContentResponseSchema", { enumerable: true, get: function () { return message_step_response_schema_1.CodeExecutionStepContentResponseSchema; } });
|
|
26
27
|
var message_attachment_response_schema_1 = require("./message-attachment-response.schema");
|
|
27
28
|
Object.defineProperty(exports, "MessageAttachmentResponseSchema", { enumerable: true, get: function () { return message_attachment_response_schema_1.MessageAttachmentResponseSchema; } });
|
|
28
29
|
Object.defineProperty(exports, "MessageAttachmentsResponseSchema", { enumerable: true, get: function () { return message_attachment_response_schema_1.MessageAttachmentsResponseSchema; } });
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../v1/message/schemas/index.ts"],"names":[],"mappings":";;;;AAAA,yDAAkD;AAAzC,gHAAA,WAAW,OAAA;AACpB,6DAAsD;AAA7C,oHAAA,aAAa,OAAA;AACtB,uDAAgD;AAAvC,8GAAA,UAAU,OAAA;AACnB,iFAA6E;AAApE,2IAAA,0BAA0B,OAAA;AACnC,mFAA+E;AAAtE,6IAAA,2BAA2B,OAAA;AACpC,qEAAkE;AAAzD,gIAAA,qBAAqB,OAAA;AAC9B,+
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../v1/message/schemas/index.ts"],"names":[],"mappings":";;;;AAAA,yDAAkD;AAAzC,gHAAA,WAAW,OAAA;AACpB,6DAAsD;AAA7C,oHAAA,aAAa,OAAA;AACtB,uDAAgD;AAAvC,8GAAA,UAAU,OAAA;AACnB,iFAA6E;AAApE,2IAAA,0BAA0B,OAAA;AACnC,mFAA+E;AAAtE,6IAAA,2BAA2B,OAAA;AACpC,qEAAkE;AAAzD,gIAAA,qBAAqB,OAAA;AAC9B,+EAUwC;AATpC,yIAAA,yBAAyB,OAAA;AACzB,0IAAA,0BAA0B,OAAA;AAC1B,yIAAA,yBAAyB,OAAA;AACzB,qIAAA,qBAAqB,OAAA;AACrB,uIAAA,uBAAuB,OAAA;AACvB,0IAAA,0BAA0B,OAAA;AAC1B,yIAAA,yBAAyB,OAAA;AACzB,uIAAA,uBAAuB,OAAA;AACvB,sJAAA,sCAAsC,OAAA;AAa1C,2FAI8C;AAH1C,qJAAA,+BAA+B,OAAA;AAC/B,sJAAA,gCAAgC,OAAA;AAChC,kJAAA,4BAA4B,OAAA;AAOhC,uFAG4C;AAFxC,iJAAA,6BAA6B,OAAA;AAC7B,kJAAA,8BAA8B,OAAA;AAMlC,+DAcgC;AAb5B,uHAAA,eAAe,OAAA;AACf,yHAAA,iBAAiB,OAAA;AACjB,kIAAA,0BAA0B,OAAA;AAC1B,kIAAA,0BAA0B,OAAA;AAC1B,kIAAA,0BAA0B,OAAA;AAC1B,iIAAA,yBAAyB,OAAA;AACzB,8HAAA,sBAAsB,OAAA;AACtB,6IAAA,qCAAqC,OAAA;AACrC,kIAAA,0BAA0B,OAAA;AAC1B,kIAAA,0BAA0B,OAAA;AAC1B,6HAAA,qBAAqB,OAAA;AACrB,kIAAA,0BAA0B,OAAA;AAC1B,8HAAA,sBAAsB,OAAA;AAE1B,qDAAkF;AAAzE,iHAAA,cAAc,OAAA;AAAE,iHAAA,cAAc,OAAA;AACvC,+DASgC;AAR5B,+HAAA,uBAAuB,OAAA;AACvB,8HAAA,sBAAsB,OAAA;AACtB,wIAAA,gCAAgC,OAAA;AAChC,wIAAA,gCAAgC,OAAA;AAChC,4IAAA,oCAAoC,OAAA;AACpC,oIAAA,4BAA4B,OAAA;AAC5B,+HAAA,uBAAuB,OAAA;AACvB,8HAAA,sBAAsB,OAAA;AAQ1B,yEAMqC;AALjC,6HAAA,gBAAgB,OAAA;AAChB,2HAAA,cAAc,OAAA;AACd,6HAAA,gBAAgB,OAAA;AAChB,6HAAA,gBAAgB,OAAA;AAChB,8HAAA,iBAAiB,OAAA;AAGrB,mEAIkC;AAH9B,8HAAA,oBAAoB,OAAA;AACpB,4HAAA,kBAAkB,OAAA;AAClB,2HAAA,iBAAiB,OAAA;AAGrB,6DAI+B;AAH3B,+HAAA,wBAAwB,OAAA;AACxB,gIAAA,yBAAyB,OAAA;AACzB,8HAAA,uBAAuB,OAAA;AAO3B,iEAAiG;AAAxF,kIAAA,yBAAyB,OAAA;AAAE,oIAAA,2BAA2B,OAAA;AAE/D,iFAA6E;AAApE,2IAAA,0BAA0B,OAAA"}
|
|
@@ -25,6 +25,23 @@ export declare const MessageResponseSchema: z.ZodObject<{
|
|
|
25
25
|
}, z.core.$strip>>;
|
|
26
26
|
}, z.core.$strip>, z.ZodNull, z.ZodObject<{
|
|
27
27
|
urls: z.ZodArray<z.ZodString>;
|
|
28
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
29
|
+
code: z.ZodString;
|
|
30
|
+
language: z.ZodString;
|
|
31
|
+
stdout: z.ZodString;
|
|
32
|
+
stderr: z.ZodString;
|
|
33
|
+
textResult: z.ZodNullable<z.ZodString>;
|
|
34
|
+
error: z.ZodNullable<z.ZodObject<{
|
|
35
|
+
name: z.ZodString;
|
|
36
|
+
value: z.ZodString;
|
|
37
|
+
traceback: z.ZodString;
|
|
38
|
+
}, z.core.$strip>>;
|
|
39
|
+
mountedFiles: z.ZodArray<z.ZodObject<{
|
|
40
|
+
filename: z.ZodString;
|
|
41
|
+
path: z.ZodString;
|
|
42
|
+
}, z.core.$strip>>;
|
|
43
|
+
sessionReused: z.ZodBoolean;
|
|
44
|
+
timedOut: z.ZodBoolean;
|
|
28
45
|
}, z.core.$strip>]>>;
|
|
29
46
|
showInUi: z.ZodBoolean;
|
|
30
47
|
startedAt: z.ZodNullable<z.ZodString>;
|