@trii/types 2.10.559 → 2.10.561

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.
@@ -4,11 +4,6 @@ export interface PostUserMessage {
4
4
  threadId: string;
5
5
  parts: ContentPart[];
6
6
  attachments?: Attachment[];
7
- params?: Record<string, unknown>;
8
- context?: {
9
- spaceId?: string;
10
- userId?: string;
11
- };
12
7
  }
13
8
  export interface PostUserMessageResponse {
14
9
  ok: boolean;
@@ -1,2 +1,7 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
+ Record; // ej. período, colecciones sugeridas
4
+ context ? : {
5
+ spaceId: string,
6
+ userId: string
7
+ };
@@ -1,8 +1,9 @@
1
1
  export interface Message {
2
2
  id: string;
3
+ spaceId?: string;
3
4
  threadId: string;
4
5
  role: Role;
5
- parts: ContentPart[];
6
+ contentParts: ContentPart[];
6
7
  toolCalls?: ToolCall[];
7
8
  toolResults?: ToolResult[];
8
9
  attachments?: Attachment[];
@@ -12,8 +13,6 @@ export interface Message {
12
13
  code: string;
13
14
  message: string;
14
15
  };
15
- tenantId?: string;
16
- spaceId?: string;
17
16
  userId?: string;
18
17
  replyToId?: string;
19
18
  metadata?: Record<string, unknown>;
@@ -41,12 +40,12 @@ export type ContentPart = {
41
40
  } | {
42
41
  type: "image";
43
42
  url: string;
44
- alt?: string;
43
+ caption?: string;
45
44
  } | {
46
45
  type: "file";
47
46
  url: string;
48
47
  name: string;
49
- mime: string;
48
+ mimeType: string;
50
49
  size?: number;
51
50
  } | {
52
51
  type: "json";
@@ -47,7 +47,6 @@ export interface ScheduledReport {
47
47
  lastSent?: Date | null;
48
48
  lastSentSuccess: boolean;
49
49
  lastSentError?: string | null;
50
- nextSent: Date;
51
50
  finished: boolean;
52
51
  summary: string;
53
52
  nextSend: Date;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@trii/types",
3
- "version": "2.10.559",
3
+ "version": "2.10.561",
4
4
  "description": "Types definitions for Trii projects - ",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",