@ragbits/api-client 1.4.0-dev.202512050236 → 1.4.0-dev.202512090236

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.
@@ -231,6 +231,12 @@ export interface TodoItemContent {
231
231
  export interface ConfirmationRequestContent {
232
232
  confirmation_request: ConfirmationRequest;
233
233
  }
234
+ /**
235
+ * Error content wrapper for displaying error messages to users.
236
+ */
237
+ export interface ErrorContent {
238
+ message: string;
239
+ }
234
240
  /**
235
241
  * Customization for the header section of the UI.
236
242
  */
@@ -512,6 +518,10 @@ export interface ConfirmationRequestChatResponse {
512
518
  type: 'confirmation_request';
513
519
  content: ConfirmationRequestContent;
514
520
  }
521
+ export interface ErrorChatResponse {
522
+ type: 'error';
523
+ content: ErrorContent;
524
+ }
515
525
  export interface ChunkedChatResponse {
516
526
  type: 'chunked_content';
517
527
  content: ChunkedContent;
@@ -519,4 +529,4 @@ export interface ChunkedChatResponse {
519
529
  /**
520
530
  * Typed chat response union
521
531
  */
522
- export type ChatResponse = TextChatResponse | ReferenceChatResponse | MessageIdChatResponse | ConversationIdChatResponse | StateUpdateChatResponse | LiveUpdateChatResponse | FollowupMessagesChatResponse | ImageChatResponse | MessageUsageChatResponse | ClearMessageChatResponse | TodoItemChatResonse | ConversationSummaryResponse | ConfirmationRequestChatResponse;
532
+ export type ChatResponse = TextChatResponse | ReferenceChatResponse | MessageIdChatResponse | ConversationIdChatResponse | StateUpdateChatResponse | LiveUpdateChatResponse | FollowupMessagesChatResponse | ImageChatResponse | MessageUsageChatResponse | ClearMessageChatResponse | TodoItemChatResonse | ConversationSummaryResponse | ConfirmationRequestChatResponse | ErrorChatResponse;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@ragbits/api-client",
3
- "version": "1.4.0-dev.202512050236",
3
+ "version": "1.4.0-dev.202512090236",
4
4
  "description": "JavaScript client for the Ragbits API",
5
5
  "repository": {
6
6
  "type": "git",