@veruna/api-contracts 20.4.0 → 20.5.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.
- package/build/tsconfig.tsbuildinfo +1 -1
- package/build/v1/chat/commands/create-reg-chat.command.d.ts +44 -1
- package/build/v1/chat/commands/create-unreg-chat.command.d.ts +44 -1
- package/build/v1/chat/commands/update-chat-title.command.d.ts +44 -1
- package/build/v1/chat/commands/update-chat.command.d.ts +44 -1
- package/build/v1/chat/queries/get-last-active-chat.query.d.ts +44 -1
- package/build/v1/chat/queries/get-reg-chat.query.d.ts +44 -1
- package/build/v1/chat/queries/get-unreg-chat.query.d.ts +44 -1
- package/build/v1/chat/schemas/chat-with-messages-response.schema.d.ts +44 -1
- package/build/v1/client-file/ai-file-policy.constants.d.ts +8 -0
- package/build/v1/client-file/ai-file-policy.constants.js +20 -0
- package/build/v1/client-file/ai-file-policy.constants.js.map +1 -0
- package/build/v1/client-file/index.d.ts +1 -0
- package/build/v1/client-file/index.js +1 -0
- package/build/v1/client-file/index.js.map +1 -1
- package/build/v1/client-file/schemas/client-file-mime-types.js +4 -3
- package/build/v1/client-file/schemas/client-file-mime-types.js.map +1 -1
- package/build/v1/client-file/upload-magic-bytes.js +2 -0
- package/build/v1/client-file/upload-magic-bytes.js.map +1 -1
- package/build/v1/message/commands/create-message.command.d.ts +6 -0
- package/build/v1/message/queries/get-message-stream-reg.query.d.ts +3 -0
- package/build/v1/message/queries/get-message-stream-unreg.query.d.ts +3 -0
- package/build/v1/message/schemas/index.d.ts +3 -1
- package/build/v1/message/schemas/index.js +19 -2
- package/build/v1/message/schemas/index.js.map +1 -1
- package/build/v1/message/schemas/message-response.schema.d.ts +44 -1
- package/build/v1/message/schemas/message-step-response.schema.d.ts +133 -4
- package/build/v1/message/schemas/message-step-response.schema.js +7 -3
- package/build/v1/message/schemas/message-step-response.schema.js.map +1 -1
- package/build/v1/message/schemas/search-file-step-content.schema.d.ts +40 -0
- package/build/v1/message/schemas/search-file-step-content.schema.js +14 -0
- package/build/v1/message/schemas/search-file-step-content.schema.js.map +1 -0
- package/build/v1/message/schemas/send-file-step-content.schema.d.ts +11 -0
- package/build/v1/message/schemas/send-file-step-content.schema.js +14 -0
- package/build/v1/message/schemas/send-file-step-content.schema.js.map +1 -0
- package/build/v1/message/schemas/step-metadata.schema.d.ts +7 -0
- package/build/v1/message/schemas/step-metadata.schema.js +7 -1
- package/build/v1/message/schemas/step-metadata.schema.js.map +1 -1
- package/build/v1/message/schemas/stream-events.schema.d.ts +6 -0
- package/build/v1/s2s/queries/check-client-file-quota.query.d.ts +1 -0
- package/build/v1/s2s/schemas/s2s-check-client-file-quota-response.schema.d.ts +1 -0
- package/build/v1/s2s/schemas/s2s-check-client-file-quota-response.schema.js +1 -0
- package/build/v1/s2s/schemas/s2s-check-client-file-quota-response.schema.js.map +1 -1
- package/build/v1/tool/sandbox/sandbox.errors.d.ts +2 -0
- package/build/v1/tool/sandbox/sandbox.errors.js +6 -0
- package/build/v1/tool/sandbox/sandbox.errors.js.map +1 -1
- package/build-esm/.tsbuildinfo +1 -1
- package/build-esm/v1/client-file/ai-file-policy.constants.js +17 -0
- package/build-esm/v1/client-file/ai-file-policy.constants.js.map +1 -0
- package/build-esm/v1/client-file/index.js +1 -0
- package/build-esm/v1/client-file/index.js.map +1 -1
- package/build-esm/v1/client-file/schemas/client-file-mime-types.js +4 -3
- package/build-esm/v1/client-file/schemas/client-file-mime-types.js.map +1 -1
- package/build-esm/v1/client-file/upload-magic-bytes.js +2 -0
- package/build-esm/v1/client-file/upload-magic-bytes.js.map +1 -1
- package/build-esm/v1/message/schemas/index.js +3 -1
- package/build-esm/v1/message/schemas/index.js.map +1 -1
- package/build-esm/v1/message/schemas/message-step-response.schema.js +7 -3
- package/build-esm/v1/message/schemas/message-step-response.schema.js.map +1 -1
- package/build-esm/v1/message/schemas/search-file-step-content.schema.js +11 -0
- package/build-esm/v1/message/schemas/search-file-step-content.schema.js.map +1 -0
- package/build-esm/v1/message/schemas/send-file-step-content.schema.js +11 -0
- package/build-esm/v1/message/schemas/send-file-step-content.schema.js.map +1 -0
- package/build-esm/v1/message/schemas/step-metadata.schema.js +6 -0
- package/build-esm/v1/message/schemas/step-metadata.schema.js.map +1 -1
- package/build-esm/v1/s2s/schemas/s2s-check-client-file-quota-response.schema.js +1 -0
- package/build-esm/v1/s2s/schemas/s2s-check-client-file-quota-response.schema.js.map +1 -1
- package/build-esm/v1/tool/sandbox/sandbox.errors.js +6 -0
- package/build-esm/v1/tool/sandbox/sandbox.errors.js.map +1 -1
- package/package.json +10 -1
|
@@ -32,7 +32,50 @@ export declare namespace CreateRegChatCommand {
|
|
|
32
32
|
type: z.ZodEnum<typeof import("../..").GenerationStepType>;
|
|
33
33
|
status: z.ZodEnum<typeof import("../..").MessageStepStatus>;
|
|
34
34
|
modelUuid: z.ZodNullable<z.ZodString>;
|
|
35
|
-
content: z.ZodNullable<z.ZodUnion<readonly [z.
|
|
35
|
+
content: z.ZodNullable<z.ZodUnion<readonly [z.ZodObject<{
|
|
36
|
+
path: z.ZodOptional<z.ZodString>;
|
|
37
|
+
sandboxPath: z.ZodString;
|
|
38
|
+
filename: z.ZodString;
|
|
39
|
+
mimeType: z.ZodOptional<z.ZodString>;
|
|
40
|
+
size: z.ZodOptional<z.ZodNumber>;
|
|
41
|
+
url: z.ZodOptional<z.ZodString>;
|
|
42
|
+
}, z.core.$strip>, z.ZodPipe<z.ZodObject<{
|
|
43
|
+
queries: z.ZodArray<z.ZodString>;
|
|
44
|
+
hitCount: z.ZodOptional<z.ZodNumber>;
|
|
45
|
+
files: z.ZodArray<z.ZodObject<{
|
|
46
|
+
attachment_id: z.ZodString;
|
|
47
|
+
name: z.ZodString;
|
|
48
|
+
}, z.core.$strip>>;
|
|
49
|
+
hits: z.ZodArray<z.ZodObject<{
|
|
50
|
+
attachment_id: z.ZodString;
|
|
51
|
+
page: z.ZodNumber;
|
|
52
|
+
score: z.ZodNumber;
|
|
53
|
+
}, z.core.$strip>>;
|
|
54
|
+
}, z.core.$strip>, z.ZodTransform<{
|
|
55
|
+
hitCount: number;
|
|
56
|
+
queries: string[];
|
|
57
|
+
files: {
|
|
58
|
+
attachment_id: string;
|
|
59
|
+
name: string;
|
|
60
|
+
}[];
|
|
61
|
+
hits: {
|
|
62
|
+
attachment_id: string;
|
|
63
|
+
page: number;
|
|
64
|
+
score: number;
|
|
65
|
+
}[];
|
|
66
|
+
}, {
|
|
67
|
+
queries: string[];
|
|
68
|
+
files: {
|
|
69
|
+
attachment_id: string;
|
|
70
|
+
name: string;
|
|
71
|
+
}[];
|
|
72
|
+
hits: {
|
|
73
|
+
attachment_id: string;
|
|
74
|
+
page: number;
|
|
75
|
+
score: number;
|
|
76
|
+
}[];
|
|
77
|
+
hitCount?: number | undefined;
|
|
78
|
+
}>>, z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
36
79
|
cta: z.ZodEnum<typeof import("../..").CardCta>;
|
|
37
80
|
messageKey: z.ZodOptional<z.ZodEnum<typeof import("../..").CardMessageKey>>;
|
|
38
81
|
kind: z.ZodLiteral<import("../..").BudgetPromoKind.DISCOUNT_APPLIED>;
|
|
@@ -32,7 +32,50 @@ export declare namespace CreateUnregChatCommand {
|
|
|
32
32
|
type: z.ZodEnum<typeof import("../..").GenerationStepType>;
|
|
33
33
|
status: z.ZodEnum<typeof import("../..").MessageStepStatus>;
|
|
34
34
|
modelUuid: z.ZodNullable<z.ZodString>;
|
|
35
|
-
content: z.ZodNullable<z.ZodUnion<readonly [z.
|
|
35
|
+
content: z.ZodNullable<z.ZodUnion<readonly [z.ZodObject<{
|
|
36
|
+
path: z.ZodOptional<z.ZodString>;
|
|
37
|
+
sandboxPath: z.ZodString;
|
|
38
|
+
filename: z.ZodString;
|
|
39
|
+
mimeType: z.ZodOptional<z.ZodString>;
|
|
40
|
+
size: z.ZodOptional<z.ZodNumber>;
|
|
41
|
+
url: z.ZodOptional<z.ZodString>;
|
|
42
|
+
}, z.core.$strip>, z.ZodPipe<z.ZodObject<{
|
|
43
|
+
queries: z.ZodArray<z.ZodString>;
|
|
44
|
+
hitCount: z.ZodOptional<z.ZodNumber>;
|
|
45
|
+
files: z.ZodArray<z.ZodObject<{
|
|
46
|
+
attachment_id: z.ZodString;
|
|
47
|
+
name: z.ZodString;
|
|
48
|
+
}, z.core.$strip>>;
|
|
49
|
+
hits: z.ZodArray<z.ZodObject<{
|
|
50
|
+
attachment_id: z.ZodString;
|
|
51
|
+
page: z.ZodNumber;
|
|
52
|
+
score: z.ZodNumber;
|
|
53
|
+
}, z.core.$strip>>;
|
|
54
|
+
}, z.core.$strip>, z.ZodTransform<{
|
|
55
|
+
hitCount: number;
|
|
56
|
+
queries: string[];
|
|
57
|
+
files: {
|
|
58
|
+
attachment_id: string;
|
|
59
|
+
name: string;
|
|
60
|
+
}[];
|
|
61
|
+
hits: {
|
|
62
|
+
attachment_id: string;
|
|
63
|
+
page: number;
|
|
64
|
+
score: number;
|
|
65
|
+
}[];
|
|
66
|
+
}, {
|
|
67
|
+
queries: string[];
|
|
68
|
+
files: {
|
|
69
|
+
attachment_id: string;
|
|
70
|
+
name: string;
|
|
71
|
+
}[];
|
|
72
|
+
hits: {
|
|
73
|
+
attachment_id: string;
|
|
74
|
+
page: number;
|
|
75
|
+
score: number;
|
|
76
|
+
}[];
|
|
77
|
+
hitCount?: number | undefined;
|
|
78
|
+
}>>, z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
36
79
|
cta: z.ZodEnum<typeof import("../..").CardCta>;
|
|
37
80
|
messageKey: z.ZodOptional<z.ZodEnum<typeof import("../..").CardMessageKey>>;
|
|
38
81
|
kind: z.ZodLiteral<import("../..").BudgetPromoKind.DISCOUNT_APPLIED>;
|
|
@@ -31,7 +31,50 @@ export declare namespace UpdateChatTitleCommand {
|
|
|
31
31
|
type: z.ZodEnum<typeof import("../..").GenerationStepType>;
|
|
32
32
|
status: z.ZodEnum<typeof import("../..").MessageStepStatus>;
|
|
33
33
|
modelUuid: z.ZodNullable<z.ZodString>;
|
|
34
|
-
content: z.ZodNullable<z.ZodUnion<readonly [z.
|
|
34
|
+
content: z.ZodNullable<z.ZodUnion<readonly [z.ZodObject<{
|
|
35
|
+
path: z.ZodOptional<z.ZodString>;
|
|
36
|
+
sandboxPath: z.ZodString;
|
|
37
|
+
filename: z.ZodString;
|
|
38
|
+
mimeType: z.ZodOptional<z.ZodString>;
|
|
39
|
+
size: z.ZodOptional<z.ZodNumber>;
|
|
40
|
+
url: z.ZodOptional<z.ZodString>;
|
|
41
|
+
}, z.core.$strip>, z.ZodPipe<z.ZodObject<{
|
|
42
|
+
queries: z.ZodArray<z.ZodString>;
|
|
43
|
+
hitCount: z.ZodOptional<z.ZodNumber>;
|
|
44
|
+
files: z.ZodArray<z.ZodObject<{
|
|
45
|
+
attachment_id: z.ZodString;
|
|
46
|
+
name: z.ZodString;
|
|
47
|
+
}, z.core.$strip>>;
|
|
48
|
+
hits: z.ZodArray<z.ZodObject<{
|
|
49
|
+
attachment_id: z.ZodString;
|
|
50
|
+
page: z.ZodNumber;
|
|
51
|
+
score: z.ZodNumber;
|
|
52
|
+
}, z.core.$strip>>;
|
|
53
|
+
}, z.core.$strip>, z.ZodTransform<{
|
|
54
|
+
hitCount: number;
|
|
55
|
+
queries: string[];
|
|
56
|
+
files: {
|
|
57
|
+
attachment_id: string;
|
|
58
|
+
name: string;
|
|
59
|
+
}[];
|
|
60
|
+
hits: {
|
|
61
|
+
attachment_id: string;
|
|
62
|
+
page: number;
|
|
63
|
+
score: number;
|
|
64
|
+
}[];
|
|
65
|
+
}, {
|
|
66
|
+
queries: string[];
|
|
67
|
+
files: {
|
|
68
|
+
attachment_id: string;
|
|
69
|
+
name: string;
|
|
70
|
+
}[];
|
|
71
|
+
hits: {
|
|
72
|
+
attachment_id: string;
|
|
73
|
+
page: number;
|
|
74
|
+
score: number;
|
|
75
|
+
}[];
|
|
76
|
+
hitCount?: number | undefined;
|
|
77
|
+
}>>, z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
35
78
|
cta: z.ZodEnum<typeof import("../..").CardCta>;
|
|
36
79
|
messageKey: z.ZodOptional<z.ZodEnum<typeof import("../..").CardMessageKey>>;
|
|
37
80
|
kind: z.ZodLiteral<import("../..").BudgetPromoKind.DISCOUNT_APPLIED>;
|
|
@@ -33,7 +33,50 @@ export declare namespace UpdateChatCommand {
|
|
|
33
33
|
type: z.ZodEnum<typeof import("../..").GenerationStepType>;
|
|
34
34
|
status: z.ZodEnum<typeof import("../..").MessageStepStatus>;
|
|
35
35
|
modelUuid: z.ZodNullable<z.ZodString>;
|
|
36
|
-
content: z.ZodNullable<z.ZodUnion<readonly [z.
|
|
36
|
+
content: z.ZodNullable<z.ZodUnion<readonly [z.ZodObject<{
|
|
37
|
+
path: z.ZodOptional<z.ZodString>;
|
|
38
|
+
sandboxPath: z.ZodString;
|
|
39
|
+
filename: z.ZodString;
|
|
40
|
+
mimeType: z.ZodOptional<z.ZodString>;
|
|
41
|
+
size: z.ZodOptional<z.ZodNumber>;
|
|
42
|
+
url: z.ZodOptional<z.ZodString>;
|
|
43
|
+
}, z.core.$strip>, z.ZodPipe<z.ZodObject<{
|
|
44
|
+
queries: z.ZodArray<z.ZodString>;
|
|
45
|
+
hitCount: z.ZodOptional<z.ZodNumber>;
|
|
46
|
+
files: z.ZodArray<z.ZodObject<{
|
|
47
|
+
attachment_id: z.ZodString;
|
|
48
|
+
name: z.ZodString;
|
|
49
|
+
}, z.core.$strip>>;
|
|
50
|
+
hits: z.ZodArray<z.ZodObject<{
|
|
51
|
+
attachment_id: z.ZodString;
|
|
52
|
+
page: z.ZodNumber;
|
|
53
|
+
score: z.ZodNumber;
|
|
54
|
+
}, z.core.$strip>>;
|
|
55
|
+
}, z.core.$strip>, z.ZodTransform<{
|
|
56
|
+
hitCount: number;
|
|
57
|
+
queries: string[];
|
|
58
|
+
files: {
|
|
59
|
+
attachment_id: string;
|
|
60
|
+
name: string;
|
|
61
|
+
}[];
|
|
62
|
+
hits: {
|
|
63
|
+
attachment_id: string;
|
|
64
|
+
page: number;
|
|
65
|
+
score: number;
|
|
66
|
+
}[];
|
|
67
|
+
}, {
|
|
68
|
+
queries: string[];
|
|
69
|
+
files: {
|
|
70
|
+
attachment_id: string;
|
|
71
|
+
name: string;
|
|
72
|
+
}[];
|
|
73
|
+
hits: {
|
|
74
|
+
attachment_id: string;
|
|
75
|
+
page: number;
|
|
76
|
+
score: number;
|
|
77
|
+
}[];
|
|
78
|
+
hitCount?: number | undefined;
|
|
79
|
+
}>>, z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
37
80
|
cta: z.ZodEnum<typeof import("../..").CardCta>;
|
|
38
81
|
messageKey: z.ZodOptional<z.ZodEnum<typeof import("../..").CardMessageKey>>;
|
|
39
82
|
kind: z.ZodLiteral<import("../..").BudgetPromoKind.DISCOUNT_APPLIED>;
|
|
@@ -29,7 +29,50 @@ export declare namespace GetLastActiveChatQuery {
|
|
|
29
29
|
type: z.ZodEnum<typeof import("../..").GenerationStepType>;
|
|
30
30
|
status: z.ZodEnum<typeof import("../..").MessageStepStatus>;
|
|
31
31
|
modelUuid: z.ZodNullable<z.ZodString>;
|
|
32
|
-
content: z.ZodNullable<z.ZodUnion<readonly [z.
|
|
32
|
+
content: z.ZodNullable<z.ZodUnion<readonly [z.ZodObject<{
|
|
33
|
+
path: z.ZodOptional<z.ZodString>;
|
|
34
|
+
sandboxPath: z.ZodString;
|
|
35
|
+
filename: z.ZodString;
|
|
36
|
+
mimeType: z.ZodOptional<z.ZodString>;
|
|
37
|
+
size: z.ZodOptional<z.ZodNumber>;
|
|
38
|
+
url: z.ZodOptional<z.ZodString>;
|
|
39
|
+
}, z.core.$strip>, z.ZodPipe<z.ZodObject<{
|
|
40
|
+
queries: z.ZodArray<z.ZodString>;
|
|
41
|
+
hitCount: z.ZodOptional<z.ZodNumber>;
|
|
42
|
+
files: z.ZodArray<z.ZodObject<{
|
|
43
|
+
attachment_id: z.ZodString;
|
|
44
|
+
name: z.ZodString;
|
|
45
|
+
}, z.core.$strip>>;
|
|
46
|
+
hits: z.ZodArray<z.ZodObject<{
|
|
47
|
+
attachment_id: z.ZodString;
|
|
48
|
+
page: z.ZodNumber;
|
|
49
|
+
score: z.ZodNumber;
|
|
50
|
+
}, z.core.$strip>>;
|
|
51
|
+
}, z.core.$strip>, z.ZodTransform<{
|
|
52
|
+
hitCount: number;
|
|
53
|
+
queries: string[];
|
|
54
|
+
files: {
|
|
55
|
+
attachment_id: string;
|
|
56
|
+
name: string;
|
|
57
|
+
}[];
|
|
58
|
+
hits: {
|
|
59
|
+
attachment_id: string;
|
|
60
|
+
page: number;
|
|
61
|
+
score: number;
|
|
62
|
+
}[];
|
|
63
|
+
}, {
|
|
64
|
+
queries: string[];
|
|
65
|
+
files: {
|
|
66
|
+
attachment_id: string;
|
|
67
|
+
name: string;
|
|
68
|
+
}[];
|
|
69
|
+
hits: {
|
|
70
|
+
attachment_id: string;
|
|
71
|
+
page: number;
|
|
72
|
+
score: number;
|
|
73
|
+
}[];
|
|
74
|
+
hitCount?: number | undefined;
|
|
75
|
+
}>>, z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
33
76
|
cta: z.ZodEnum<typeof import("../..").CardCta>;
|
|
34
77
|
messageKey: z.ZodOptional<z.ZodEnum<typeof import("../..").CardMessageKey>>;
|
|
35
78
|
kind: z.ZodLiteral<import("../..").BudgetPromoKind.DISCOUNT_APPLIED>;
|
|
@@ -29,7 +29,50 @@ export declare namespace GetRegChatQuery {
|
|
|
29
29
|
type: z.ZodEnum<typeof import("../..").GenerationStepType>;
|
|
30
30
|
status: z.ZodEnum<typeof import("../..").MessageStepStatus>;
|
|
31
31
|
modelUuid: z.ZodNullable<z.ZodString>;
|
|
32
|
-
content: z.ZodNullable<z.ZodUnion<readonly [z.
|
|
32
|
+
content: z.ZodNullable<z.ZodUnion<readonly [z.ZodObject<{
|
|
33
|
+
path: z.ZodOptional<z.ZodString>;
|
|
34
|
+
sandboxPath: z.ZodString;
|
|
35
|
+
filename: z.ZodString;
|
|
36
|
+
mimeType: z.ZodOptional<z.ZodString>;
|
|
37
|
+
size: z.ZodOptional<z.ZodNumber>;
|
|
38
|
+
url: z.ZodOptional<z.ZodString>;
|
|
39
|
+
}, z.core.$strip>, z.ZodPipe<z.ZodObject<{
|
|
40
|
+
queries: z.ZodArray<z.ZodString>;
|
|
41
|
+
hitCount: z.ZodOptional<z.ZodNumber>;
|
|
42
|
+
files: z.ZodArray<z.ZodObject<{
|
|
43
|
+
attachment_id: z.ZodString;
|
|
44
|
+
name: z.ZodString;
|
|
45
|
+
}, z.core.$strip>>;
|
|
46
|
+
hits: z.ZodArray<z.ZodObject<{
|
|
47
|
+
attachment_id: z.ZodString;
|
|
48
|
+
page: z.ZodNumber;
|
|
49
|
+
score: z.ZodNumber;
|
|
50
|
+
}, z.core.$strip>>;
|
|
51
|
+
}, z.core.$strip>, z.ZodTransform<{
|
|
52
|
+
hitCount: number;
|
|
53
|
+
queries: string[];
|
|
54
|
+
files: {
|
|
55
|
+
attachment_id: string;
|
|
56
|
+
name: string;
|
|
57
|
+
}[];
|
|
58
|
+
hits: {
|
|
59
|
+
attachment_id: string;
|
|
60
|
+
page: number;
|
|
61
|
+
score: number;
|
|
62
|
+
}[];
|
|
63
|
+
}, {
|
|
64
|
+
queries: string[];
|
|
65
|
+
files: {
|
|
66
|
+
attachment_id: string;
|
|
67
|
+
name: string;
|
|
68
|
+
}[];
|
|
69
|
+
hits: {
|
|
70
|
+
attachment_id: string;
|
|
71
|
+
page: number;
|
|
72
|
+
score: number;
|
|
73
|
+
}[];
|
|
74
|
+
hitCount?: number | undefined;
|
|
75
|
+
}>>, z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
33
76
|
cta: z.ZodEnum<typeof import("../..").CardCta>;
|
|
34
77
|
messageKey: z.ZodOptional<z.ZodEnum<typeof import("../..").CardMessageKey>>;
|
|
35
78
|
kind: z.ZodLiteral<import("../..").BudgetPromoKind.DISCOUNT_APPLIED>;
|
|
@@ -29,7 +29,50 @@ export declare namespace GetUnregChatQuery {
|
|
|
29
29
|
type: z.ZodEnum<typeof import("../..").GenerationStepType>;
|
|
30
30
|
status: z.ZodEnum<typeof import("../..").MessageStepStatus>;
|
|
31
31
|
modelUuid: z.ZodNullable<z.ZodString>;
|
|
32
|
-
content: z.ZodNullable<z.ZodUnion<readonly [z.
|
|
32
|
+
content: z.ZodNullable<z.ZodUnion<readonly [z.ZodObject<{
|
|
33
|
+
path: z.ZodOptional<z.ZodString>;
|
|
34
|
+
sandboxPath: z.ZodString;
|
|
35
|
+
filename: z.ZodString;
|
|
36
|
+
mimeType: z.ZodOptional<z.ZodString>;
|
|
37
|
+
size: z.ZodOptional<z.ZodNumber>;
|
|
38
|
+
url: z.ZodOptional<z.ZodString>;
|
|
39
|
+
}, z.core.$strip>, z.ZodPipe<z.ZodObject<{
|
|
40
|
+
queries: z.ZodArray<z.ZodString>;
|
|
41
|
+
hitCount: z.ZodOptional<z.ZodNumber>;
|
|
42
|
+
files: z.ZodArray<z.ZodObject<{
|
|
43
|
+
attachment_id: z.ZodString;
|
|
44
|
+
name: z.ZodString;
|
|
45
|
+
}, z.core.$strip>>;
|
|
46
|
+
hits: z.ZodArray<z.ZodObject<{
|
|
47
|
+
attachment_id: z.ZodString;
|
|
48
|
+
page: z.ZodNumber;
|
|
49
|
+
score: z.ZodNumber;
|
|
50
|
+
}, z.core.$strip>>;
|
|
51
|
+
}, z.core.$strip>, z.ZodTransform<{
|
|
52
|
+
hitCount: number;
|
|
53
|
+
queries: string[];
|
|
54
|
+
files: {
|
|
55
|
+
attachment_id: string;
|
|
56
|
+
name: string;
|
|
57
|
+
}[];
|
|
58
|
+
hits: {
|
|
59
|
+
attachment_id: string;
|
|
60
|
+
page: number;
|
|
61
|
+
score: number;
|
|
62
|
+
}[];
|
|
63
|
+
}, {
|
|
64
|
+
queries: string[];
|
|
65
|
+
files: {
|
|
66
|
+
attachment_id: string;
|
|
67
|
+
name: string;
|
|
68
|
+
}[];
|
|
69
|
+
hits: {
|
|
70
|
+
attachment_id: string;
|
|
71
|
+
page: number;
|
|
72
|
+
score: number;
|
|
73
|
+
}[];
|
|
74
|
+
hitCount?: number | undefined;
|
|
75
|
+
}>>, z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
33
76
|
cta: z.ZodEnum<typeof import("../..").CardCta>;
|
|
34
77
|
messageKey: z.ZodOptional<z.ZodEnum<typeof import("../..").CardMessageKey>>;
|
|
35
78
|
kind: z.ZodLiteral<import("../..").BudgetPromoKind.DISCOUNT_APPLIED>;
|
|
@@ -23,7 +23,50 @@ export declare const ChatWithMessagesResponseSchema: z.ZodObject<{
|
|
|
23
23
|
type: z.ZodEnum<typeof import("../..").GenerationStepType>;
|
|
24
24
|
status: z.ZodEnum<typeof import("../..").MessageStepStatus>;
|
|
25
25
|
modelUuid: z.ZodNullable<z.ZodString>;
|
|
26
|
-
content: z.ZodNullable<z.ZodUnion<readonly [z.
|
|
26
|
+
content: z.ZodNullable<z.ZodUnion<readonly [z.ZodObject<{
|
|
27
|
+
path: z.ZodOptional<z.ZodString>;
|
|
28
|
+
sandboxPath: z.ZodString;
|
|
29
|
+
filename: z.ZodString;
|
|
30
|
+
mimeType: z.ZodOptional<z.ZodString>;
|
|
31
|
+
size: z.ZodOptional<z.ZodNumber>;
|
|
32
|
+
url: z.ZodOptional<z.ZodString>;
|
|
33
|
+
}, z.core.$strip>, z.ZodPipe<z.ZodObject<{
|
|
34
|
+
queries: z.ZodArray<z.ZodString>;
|
|
35
|
+
hitCount: z.ZodOptional<z.ZodNumber>;
|
|
36
|
+
files: z.ZodArray<z.ZodObject<{
|
|
37
|
+
attachment_id: z.ZodString;
|
|
38
|
+
name: z.ZodString;
|
|
39
|
+
}, z.core.$strip>>;
|
|
40
|
+
hits: z.ZodArray<z.ZodObject<{
|
|
41
|
+
attachment_id: z.ZodString;
|
|
42
|
+
page: z.ZodNumber;
|
|
43
|
+
score: z.ZodNumber;
|
|
44
|
+
}, z.core.$strip>>;
|
|
45
|
+
}, z.core.$strip>, z.ZodTransform<{
|
|
46
|
+
hitCount: number;
|
|
47
|
+
queries: string[];
|
|
48
|
+
files: {
|
|
49
|
+
attachment_id: string;
|
|
50
|
+
name: string;
|
|
51
|
+
}[];
|
|
52
|
+
hits: {
|
|
53
|
+
attachment_id: string;
|
|
54
|
+
page: number;
|
|
55
|
+
score: number;
|
|
56
|
+
}[];
|
|
57
|
+
}, {
|
|
58
|
+
queries: string[];
|
|
59
|
+
files: {
|
|
60
|
+
attachment_id: string;
|
|
61
|
+
name: string;
|
|
62
|
+
}[];
|
|
63
|
+
hits: {
|
|
64
|
+
attachment_id: string;
|
|
65
|
+
page: number;
|
|
66
|
+
score: number;
|
|
67
|
+
}[];
|
|
68
|
+
hitCount?: number | undefined;
|
|
69
|
+
}>>, z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
27
70
|
cta: z.ZodEnum<typeof import("../..").CardCta>;
|
|
28
71
|
messageKey: z.ZodOptional<z.ZodEnum<typeof import("../..").CardMessageKey>>;
|
|
29
72
|
kind: z.ZodLiteral<import("../..").BudgetPromoKind.DISCOUNT_APPLIED>;
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
/** Formats which cannot be safely delivered as generated Office documents. */
|
|
2
|
+
export declare const AI_UNSUPPORTED_EXTENSIONS: ReadonlySet<string>;
|
|
3
|
+
export declare const AI_UNSUPPORTED_FORMAT_HINT = "Convert to PDF/PNG/modern Office; encrypted Office, legacy Office, ODF and RTF are not accepted.";
|
|
4
|
+
export declare const AI_OFFICE_MIME_TYPES: {
|
|
5
|
+
readonly docx: "application/vnd.openxmlformats-officedocument.wordprocessingml.document";
|
|
6
|
+
readonly xlsx: "application/vnd.openxmlformats-officedocument.spreadsheetml.sheet";
|
|
7
|
+
readonly pptx: "application/vnd.openxmlformats-officedocument.presentationml.presentation";
|
|
8
|
+
};
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.AI_OFFICE_MIME_TYPES = exports.AI_UNSUPPORTED_FORMAT_HINT = exports.AI_UNSUPPORTED_EXTENSIONS = void 0;
|
|
4
|
+
/** Formats which cannot be safely delivered as generated Office documents. */
|
|
5
|
+
exports.AI_UNSUPPORTED_EXTENSIONS = new Set([
|
|
6
|
+
'doc',
|
|
7
|
+
'xls',
|
|
8
|
+
'ppt',
|
|
9
|
+
'odt',
|
|
10
|
+
'ods',
|
|
11
|
+
'odp',
|
|
12
|
+
'rtf',
|
|
13
|
+
]);
|
|
14
|
+
exports.AI_UNSUPPORTED_FORMAT_HINT = 'Convert to PDF/PNG/modern Office; encrypted Office, legacy Office, ODF and RTF are not accepted.';
|
|
15
|
+
exports.AI_OFFICE_MIME_TYPES = {
|
|
16
|
+
docx: 'application/vnd.openxmlformats-officedocument.wordprocessingml.document',
|
|
17
|
+
xlsx: 'application/vnd.openxmlformats-officedocument.spreadsheetml.sheet',
|
|
18
|
+
pptx: 'application/vnd.openxmlformats-officedocument.presentationml.presentation',
|
|
19
|
+
};
|
|
20
|
+
//# sourceMappingURL=ai-file-policy.constants.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"ai-file-policy.constants.js","sourceRoot":"","sources":["../../../v1/client-file/ai-file-policy.constants.ts"],"names":[],"mappings":";;;AAAA,8EAA8E;AACjE,QAAA,yBAAyB,GAAwB,IAAI,GAAG,CAAC;IAClE,KAAK;IACL,KAAK;IACL,KAAK;IACL,KAAK;IACL,KAAK;IACL,KAAK;IACL,KAAK;CACR,CAAC,CAAC;AACU,QAAA,0BAA0B,GACnC,kGAAkG,CAAC;AAC1F,QAAA,oBAAoB,GAAG;IAChC,IAAI,EAAE,yEAAyE;IAC/E,IAAI,EAAE,mEAAmE;IACzE,IAAI,EAAE,2EAA2E;CAC3E,CAAC"}
|
|
@@ -22,4 +22,5 @@ __exportStar(require("./upload-magic-bytes"), exports);
|
|
|
22
22
|
__exportStar(require("./attachment-coverage"), exports);
|
|
23
23
|
__exportStar(require("./attachment-coverage.types"), exports);
|
|
24
24
|
__exportStar(require("./client-file-content-kind"), exports);
|
|
25
|
+
__exportStar(require("./ai-file-policy.constants"), exports);
|
|
25
26
|
//# sourceMappingURL=index.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../v1/client-file/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,4CAA0B;AAC1B,6CAA2B;AAC3B,4CAA0B;AAC1B,8DAA4C;AAC5C,uDAAqC;AACrC,wDAAsC;AACtC,8DAA4C;AAC5C,6DAA2C"}
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../v1/client-file/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,4CAA0B;AAC1B,6CAA2B;AAC3B,4CAA0B;AAC1B,8DAA4C;AAC5C,uDAAqC;AACrC,wDAAsC;AACtC,8DAA4C;AAC5C,6DAA2C;AAE3C,6DAA2C"}
|
|
@@ -2,6 +2,7 @@
|
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.CANONICAL_EXTENSION_BY_VISUAL_DOC_MIME = 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.isClientFileVisualDocMimeType = isClientFileVisualDocMimeType;
|
|
5
|
+
const ai_file_policy_constants_1 = require("../ai-file-policy.constants");
|
|
5
6
|
// Image MIME types
|
|
6
7
|
exports.CLIENT_FILE_IMAGE_MIME_TYPES = ['image/jpeg', 'image/png', 'image/webp'];
|
|
7
8
|
/**
|
|
@@ -98,11 +99,11 @@ exports.CANONICAL_EXTENSION_BY_VISUAL_DOC_MIME = {
|
|
|
98
99
|
'application/vnd.oasis.opendocument.text': 'odt',
|
|
99
100
|
'application/vnd.oasis.opendocument.presentation': 'odp',
|
|
100
101
|
'application/vnd.oasis.opendocument.spreadsheet': 'ods',
|
|
101
|
-
|
|
102
|
+
[ai_file_policy_constants_1.AI_OFFICE_MIME_TYPES.docx]: 'docx',
|
|
102
103
|
'application/vnd.ms-excel': 'xls',
|
|
103
|
-
|
|
104
|
+
[ai_file_policy_constants_1.AI_OFFICE_MIME_TYPES.xlsx]: 'xlsx',
|
|
104
105
|
'application/vnd.ms-powerpoint': 'ppt',
|
|
105
|
-
|
|
106
|
+
[ai_file_policy_constants_1.AI_OFFICE_MIME_TYPES.pptx]: 'pptx',
|
|
106
107
|
};
|
|
107
108
|
const VISUAL_DOC_MIME_TYPE_SET = new Set(exports.CLIENT_FILE_VISUAL_DOC_MIME_TYPES);
|
|
108
109
|
function isClientFileVisualDocMimeType(value) {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"client-file-mime-types.js","sourceRoot":"","sources":["../../../../v1/client-file/schemas/client-file-mime-types.ts"],"names":[],"mappings":";;;
|
|
1
|
+
{"version":3,"file":"client-file-mime-types.js","sourceRoot":"","sources":["../../../../v1/client-file/schemas/client-file-mime-types.ts"],"names":[],"mappings":";;;AAkHA,sEAEC;AApHD,0EAAmE;AACnE,mBAAmB;AACN,QAAA,4BAA4B,GAAG,CAAC,YAAY,EAAE,WAAW,EAAE,YAAY,CAAU,CAAC;AAE/F;;;;;;;GAOG;AACU,QAAA,kCAAkC,GAAG;IAC9C,OAAO;IACP,YAAY;IACZ,WAAW;IACX,2BAA2B;IAC3B,eAAe;IACf,UAAU;IACV,kBAAkB;IAClB,WAAW;IACX,oBAAoB;IACpB,UAAU;IACV,wBAAwB;IACxB,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;AAEX;;;;;;;GAOG;AACU,QAAA,iCAAiC,GAAG;IAC7C,oBAAoB;IACpB,iBAAiB;IACjB,UAAU;IACV,yCAAyC;IACzC,iDAAiD;IACjD,gDAAgD;IAChD,yEAAyE;IACzE,0BAA0B;IAC1B,mEAAmE;IACnE,+BAA+B;IAC/B,2EAA2E;CACrE,CAAC;AAEX;;;;GAIG;AACU,QAAA,0BAA0B,GAAG;IACtC,iBAAiB;IACjB,GAAG,yCAAiC;IACpC,GAAG,0CAAkC;CAC/B,CAAC;AAEX;;;;;;;;;;;;;GAaG;AACU,QAAA,sCAAsC,GAE/C;IACA,oBAAoB,EAAE,KAAK;IAC3B,iBAAiB,EAAE,KAAK;IACxB,UAAU,EAAE,KAAK;IACjB,yCAAyC,EAAE,KAAK;IAChD,iDAAiD,EAAE,KAAK;IACxD,gDAAgD,EAAE,KAAK;IACvD,CAAC,+CAAoB,CAAC,IAAI,CAAC,EAAE,MAAM;IACnC,0BAA0B,EAAE,KAAK;IACjC,CAAC,+CAAoB,CAAC,IAAI,CAAC,EAAE,MAAM;IACnC,+BAA+B,EAAE,KAAK;IACtC,CAAC,+CAAoB,CAAC,IAAI,CAAC,EAAE,MAAM;CACtC,CAAC;AAEF,MAAM,wBAAwB,GAAwB,IAAI,GAAG,CACzD,yCAAiC,CACpC,CAAC;AAEF,SAAgB,6BAA6B,CAAC,KAAa;IACvD,OAAO,wBAAwB,CAAC,GAAG,CAAC,KAAK,CAAC,CAAC;AAC/C,CAAC"}
|
|
@@ -106,6 +106,8 @@ function detectUploadMagicType(bytes) {
|
|
|
106
106
|
* is expected and fine.
|
|
107
107
|
*/
|
|
108
108
|
exports.EXPECTED_MAGIC_BY_CONTENT_TYPE = {
|
|
109
|
+
// Generated ZIP downloads are opaque; only their container signature is checked.
|
|
110
|
+
'application/zip': [UploadMagicType.ZIP],
|
|
109
111
|
'image/png': [UploadMagicType.PNG],
|
|
110
112
|
'image/jpeg': [UploadMagicType.JPEG],
|
|
111
113
|
'image/webp': [UploadMagicType.WEBP],
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"upload-magic-bytes.js","sourceRoot":"","sources":["../../../v1/client-file/upload-magic-bytes.ts"],"names":[],"mappings":";;;AAuFA,sDAYC;
|
|
1
|
+
{"version":3,"file":"upload-magic-bytes.js","sourceRoot":"","sources":["../../../v1/client-file/upload-magic-bytes.ts"],"names":[],"mappings":";;;AAuFA,sDAYC;AA4ED,8DAWC;AAmBD,8DA0BC;AAvOD;;;;;;;;;;;;;;;GAeG;AACH,IAAY,eAeX;AAfD,WAAY,eAAe;IACvB,8BAAW,CAAA;IACX,gCAAa,CAAA;IACb,8BAAW,CAAA;IACX,gCAAa,CAAA;IACb,8BAAW,CAAA;IACX,mEAAmE;IACnE,8BAAW,CAAA;IACX,kDAAkD;IAClD,gCAAa,CAAA;IACb,8BAAW,CAAA;IACX,sEAAsE;IACtE,4CAAyB,CAAA;IACzB,qFAAqF;IACrF,sCAAmB,CAAA;AACvB,CAAC,EAfW,eAAe,+BAAf,eAAe,QAe1B;AAED,yEAAyE;AAC5D,QAAA,wBAAwB,GAAG,EAAE,CAAC;AAE3C,SAAS,UAAU,CAAC,KAAiB,EAAE,SAA4B;IAC/D,IAAI,KAAK,CAAC,MAAM,GAAG,SAAS,CAAC,MAAM,EAAE,CAAC;QAClC,OAAO,KAAK,CAAC;IACjB,CAAC;IACD,OAAO,SAAS,CAAC,KAAK,CAAC,CAAC,IAAI,EAAE,KAAK,EAAE,EAAE,CAAC,KAAK,CAAC,KAAK,CAAC,KAAK,IAAI,CAAC,CAAC;AACnE,CAAC;AAED,MAAM,UAAU,GAAuE;IACnF,EAAE,IAAI,EAAE,eAAe,CAAC,GAAG,EAAE,KAAK,EAAE,CAAC,IAAI,EAAE,IAAI,EAAE,IAAI,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MAAM,QAAQ,GAAG,MAAM,CAAC,MAAM,CAAC,sCAA8B,EAAE,GAAG,CAAC;QAC/D,CAAC,CAAC,sCAA8B,CAAC,GAAG,CAAC;QACrC,CAAC,CAAC,SAAS,CAAC;IAEhB,IAAI,QAAQ,KAAK,SAAS,EAAE,CAAC;QACzB,uEAAuE;QACvE,yDAAyD;QACzD,OAAO,QAAQ,KAAK,eAAe,CAAC,OAAO,CAAC,CAAC,CAAC,YAAY,CAAC,EAAE,CAAC,CAAC,CAAC,YAAY,CAAC,QAAQ,CAAC;IAC1F,CAAC;IAED,OAAO,QAAQ,CAAC,QAAQ,CAAC,QAAQ,CAAC,CAAC,CAAC,CAAC,YAAY,CAAC,EAAE,CAAC,CAAC,CAAC,YAAY,CAAC,QAAQ,CAAC;AACjF,CAAC"}
|
|
@@ -82,6 +82,9 @@ export declare namespace CreateMessageCommand {
|
|
|
82
82
|
stepIndex: z.ZodNumber;
|
|
83
83
|
modelUuid: z.ZodDefault<z.ZodNullable<z.ZodString>>;
|
|
84
84
|
metadata: z.ZodOptional<z.ZodUnion<readonly [z.ZodObject<{
|
|
85
|
+
path: z.ZodString;
|
|
86
|
+
filename: z.ZodString;
|
|
87
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
85
88
|
queries: z.ZodArray<z.ZodString>;
|
|
86
89
|
}, z.core.$strip>, z.ZodObject<{
|
|
87
90
|
query: z.ZodString;
|
|
@@ -272,6 +275,9 @@ export declare namespace CreateMessageCommand {
|
|
|
272
275
|
stepIndex: z.ZodNumber;
|
|
273
276
|
modelUuid: z.ZodDefault<z.ZodNullable<z.ZodString>>;
|
|
274
277
|
metadata: z.ZodOptional<z.ZodUnion<readonly [z.ZodObject<{
|
|
278
|
+
path: z.ZodString;
|
|
279
|
+
filename: z.ZodString;
|
|
280
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
275
281
|
queries: z.ZodArray<z.ZodString>;
|
|
276
282
|
}, z.core.$strip>, z.ZodObject<{
|
|
277
283
|
query: z.ZodString;
|
|
@@ -23,6 +23,9 @@ export declare namespace GetMessageStreamRegQuery {
|
|
|
23
23
|
stepIndex: z.ZodNumber;
|
|
24
24
|
modelUuid: z.ZodDefault<z.ZodNullable<z.ZodString>>;
|
|
25
25
|
metadata: z.ZodOptional<z.ZodUnion<readonly [z.ZodObject<{
|
|
26
|
+
path: z.ZodString;
|
|
27
|
+
filename: z.ZodString;
|
|
28
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
26
29
|
queries: z.ZodArray<z.ZodString>;
|
|
27
30
|
}, z.core.$strip>, z.ZodObject<{
|
|
28
31
|
query: z.ZodString;
|
|
@@ -23,6 +23,9 @@ export declare namespace GetMessageStreamUnregQuery {
|
|
|
23
23
|
stepIndex: z.ZodNumber;
|
|
24
24
|
modelUuid: z.ZodDefault<z.ZodNullable<z.ZodString>>;
|
|
25
25
|
metadata: z.ZodOptional<z.ZodUnion<readonly [z.ZodObject<{
|
|
26
|
+
path: z.ZodString;
|
|
27
|
+
filename: z.ZodString;
|
|
28
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
26
29
|
queries: z.ZodArray<z.ZodString>;
|
|
27
30
|
}, z.core.$strip>, z.ZodObject<{
|
|
28
31
|
query: z.ZodString;
|
|
@@ -1,3 +1,5 @@
|
|
|
1
|
+
export * from './send-file-step-content.schema';
|
|
2
|
+
export * from './search-file-step-content.schema';
|
|
1
3
|
export { MessageRole } from './message-role.enum';
|
|
2
4
|
export { MessageStatus } from './message-status.enum';
|
|
3
5
|
export { UserRating } from './user-rating.enum';
|
|
@@ -14,7 +16,7 @@ export { StreamEventType } from './stream-event-type.enum';
|
|
|
14
16
|
export { StreamEventSchema, StreamGenerationStatusEventSchema, StreamStepStartEventSchema, StreamStepChunkEventSchema, StreamStepErrorEventSchema, StreamStepDoneEventSchema, StreamStepBilledEventSchema, StreamBillingEstimateEventSchema, StreamImageEventSchema, StreamImageGenerationErrorEventSchema, StreamCitationsEventSchema, StreamHeartbeatEventSchema, StreamDoneEventSchema, StreamCancelledEventSchema, StreamErrorEventSchema, StreamCancellationReason, } from './stream-events.schema';
|
|
15
17
|
export { CitationStatus } from './citation-status.enum';
|
|
16
18
|
export { CitationSchema, type Citation } from './citation.schema';
|
|
17
|
-
export { StepStartMetadataSchema, StepDoneMetadataSchema, WebSearchStepStartMetadataSchema, ConversationSearchStepStartMetadataSchema, ImageEditStepStartMetadataSchema, VideoAnalysisStepStartMetadataSchema, CodeExecutionStepStartMetadataSchema, ConnectorToolStepStartMetadataSchema, UploadStepDoneMetadataSchema, StepStartMetadataByType, StepDoneMetadataByType, } from './step-metadata.schema';
|
|
19
|
+
export { SendFileStepStartMetadataSchema, StepStartMetadataSchema, StepDoneMetadataSchema, WebSearchStepStartMetadataSchema, ConversationSearchStepStartMetadataSchema, ImageEditStepStartMetadataSchema, VideoAnalysisStepStartMetadataSchema, CodeExecutionStepStartMetadataSchema, ConnectorToolStepStartMetadataSchema, UploadStepDoneMetadataSchema, StepStartMetadataByType, StepDoneMetadataByType, } from './step-metadata.schema';
|
|
18
20
|
export type { WebSearchStepStartMetadata, ConversationSearchStepStartMetadata, ImageEditStepStartMetadata, VideoAnalysisStepStartMetadata, CodeExecutionStepStartMetadata, ConnectorToolStepStartMetadata, UploadStepDoneMetadata, StepStartMetadata, StepDoneMetadata, } from './step-metadata.schema';
|
|
19
21
|
export { StepChunkKind } from './step-chunk-kind.enum';
|
|
20
22
|
export { BashChunkStream } from './bash-chunk-stream.enum';
|