@trii/types 2.10.598 → 2.10.600

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.
@@ -0,0 +1,12 @@
1
+ export interface ICalendar {
2
+ id: string;
3
+ spaceId: string;
4
+ userId: string;
5
+ title: string;
6
+ color: string;
7
+ createdAt: Date;
8
+ updatedAt?: Date;
9
+ deletedAt?: Date;
10
+ /** List of user IDs (userId) with whom the calendar is shared */
11
+ sharedWith?: string[];
12
+ }
@@ -0,0 +1,2 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
@@ -92,7 +92,7 @@ export interface IWorkflowMessage {
92
92
  executionId?: string | null;
93
93
  }
94
94
  export interface IFlowMessageContent {
95
- type: 'message' | 'schema' | 'tool';
95
+ type: 'text' | 'image' | 'file' | 'audio' | 'agentPlan' | 'arguments' | 'tool';
96
96
  text?: string;
97
97
  /**For audio transcription or OCR processing */
98
98
  transcription?: string;
@@ -102,6 +102,7 @@ export interface IFlowMessageContent {
102
102
  file_url?: string;
103
103
  isMessageSended?: boolean | false;
104
104
  /**Tool call related information */
105
+ toolNodeId?: string | null;
105
106
  toolCallId?: string;
106
107
  toolName?: string;
107
108
  toolArguments?: string;
@@ -109,11 +110,11 @@ export interface IFlowMessageContent {
109
110
  toolStatus?: NodeStatus;
110
111
  toolTransferToOtherAgent?: boolean | false;
111
112
  toolNextNodeId?: string | null;
112
- schema?: string;
113
- isPlanOutput?: boolean | false;
113
+ arguments?: string;
114
+ planSchema?: string;
114
115
  isPlanExecution?: boolean | false;
116
+ isPlanOutput?: boolean | false;
115
117
  workersOutput?: string;
116
- isPartial?: boolean | false;
117
118
  /**related to messages module */
118
119
  messageId?: string;
119
120
  messageShardKey?: string;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@trii/types",
3
- "version": "2.10.598",
3
+ "version": "2.10.600",
4
4
  "description": "Types definitions for Trii projects - ",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",