Add conversation package client types
This commit is contained in:
@@ -437,6 +437,51 @@ export type MindSpaceUpload = {
|
||||
reservedBytes: number;
|
||||
};
|
||||
|
||||
export type MindSpaceConversationArtifactKind =
|
||||
| 'input_image'
|
||||
| 'input_file'
|
||||
| 'generated_image'
|
||||
| 'generated_file'
|
||||
| 'page'
|
||||
| 'public_html'
|
||||
| 'long_image'
|
||||
| 'thumbnail'
|
||||
| 'docx'
|
||||
| 'pdf';
|
||||
|
||||
export type MindSpaceConversationArtifact = {
|
||||
artifactId: string;
|
||||
kind: MindSpaceConversationArtifactKind;
|
||||
role?: string;
|
||||
assetId?: string;
|
||||
pageId?: string;
|
||||
publicationId?: string;
|
||||
agentRunId?: string;
|
||||
messageId?: string;
|
||||
displayName?: string;
|
||||
mimeType?: string;
|
||||
sizeBytes?: number;
|
||||
storageKey?: string;
|
||||
canonicalUrl?: string;
|
||||
sortOrder: number;
|
||||
createdAt: number;
|
||||
};
|
||||
|
||||
export type MindSpaceConversationPackage = {
|
||||
schemaVersion: number;
|
||||
packageId: string;
|
||||
userId: string;
|
||||
sessionId: string;
|
||||
uri: string;
|
||||
title: string | null;
|
||||
status: string;
|
||||
storagePrefix: string;
|
||||
manifestAssetId: string | null;
|
||||
createdAt: number;
|
||||
updatedAt: number;
|
||||
artifacts: MindSpaceConversationArtifact[];
|
||||
};
|
||||
|
||||
export type MindSpacePageVersion = {
|
||||
id: string;
|
||||
versionNo: number;
|
||||
|
||||
Reference in New Issue
Block a user