@erdoai/types 0.1.9 → 0.1.11

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/dist/index.d.cts CHANGED
@@ -237,15 +237,19 @@ interface SendMessageParams {
237
237
  /** A message content item from the thread API */
238
238
  interface ThreadMessageContent {
239
239
  id: string;
240
+ message_id?: string;
240
241
  content_type: string;
241
- ui_content_type?: {
242
- Valid: boolean;
243
- String: string;
244
- } | string;
242
+ /** UI content type hint (e.g., 'markdown', 'ui_generation') */
243
+ ui_content_type?: string;
244
+ /** History content type - how content is serialized for LLM context */
245
+ history_content_type?: string;
245
246
  content: unknown;
246
247
  user_visibility?: string;
247
248
  bot_visibility?: string;
248
249
  created_at?: string;
250
+ updated_at?: string;
251
+ /** The invocation ID that created this content - needed for fetching chart/table data */
252
+ created_by_invocation_id?: string;
249
253
  }
250
254
  /** A message with its contents from the thread API */
251
255
  interface ThreadMessage {
package/dist/index.d.ts CHANGED
@@ -237,15 +237,19 @@ interface SendMessageParams {
237
237
  /** A message content item from the thread API */
238
238
  interface ThreadMessageContent {
239
239
  id: string;
240
+ message_id?: string;
240
241
  content_type: string;
241
- ui_content_type?: {
242
- Valid: boolean;
243
- String: string;
244
- } | string;
242
+ /** UI content type hint (e.g., 'markdown', 'ui_generation') */
243
+ ui_content_type?: string;
244
+ /** History content type - how content is serialized for LLM context */
245
+ history_content_type?: string;
245
246
  content: unknown;
246
247
  user_visibility?: string;
247
248
  bot_visibility?: string;
248
249
  created_at?: string;
250
+ updated_at?: string;
251
+ /** The invocation ID that created this content - needed for fetching chart/table data */
252
+ created_by_invocation_id?: string;
249
253
  }
250
254
  /** A message with its contents from the thread API */
251
255
  interface ThreadMessage {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@erdoai/types",
3
- "version": "0.1.9",
3
+ "version": "0.1.11",
4
4
  "description": "Erdo SDK shared types",
5
5
  "type": "module",
6
6
  "main": "./dist/index.js",