@vendasta/conversation 0.119.0 → 0.120.0

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.
@@ -1,6 +1,6 @@
1
1
  export { GlobalParticipantType, SortDirection, } from './common.enum';
2
2
  export { ConversationChannel, PlatformLocation, } from './conversation.enum';
3
- export { MessageStatus, MessageType, UIComponentType, } from './message.enum';
3
+ export { AIStatus, MessageStatus, MessageType, UIComponentType, } from './message.enum';
4
4
  export { ParticipantType, } from './participant.enum';
5
5
  export { ViewType, } from './conversation-view.enum';
6
6
  export { WidgetPosition, } from './widget.enum';
@@ -1,3 +1,11 @@
1
+ export declare enum AIStatus {
2
+ AI_INVALID = 0,
3
+ AI_RECEIVED = 1,
4
+ AI_THINKING = 2,
5
+ AI_THOUGHT = 3,
6
+ AI_CANCELLED = 4,
7
+ AI_ERROR = 5
8
+ }
1
9
  export declare enum MessageStatus {
2
10
  MESSAGE_STATUS_NOT_READ = 0,
3
11
  MESSAGE_STATUS_READ = 1,
@@ -21,6 +21,7 @@ export interface MessageInterface {
21
21
  uiComponents?: UIComponentInterface[];
22
22
  aiThoughts?: AIThoughtInterface[];
23
23
  aiThinkingDuration?: string;
24
+ aiStatus?: e.AIStatus;
24
25
  }
25
26
  export interface ParticipantMessageStatusInterface {
26
27
  participantId?: string;
@@ -23,6 +23,7 @@ export declare class Message implements i.MessageInterface {
23
23
  uiComponents: UIComponent[];
24
24
  aiThoughts: AIThought[];
25
25
  aiThinkingDuration: string;
26
+ aiStatus: e.AIStatus;
26
27
  static fromProto(proto: any): Message;
27
28
  constructor(kwargs?: i.MessageInterface);
28
29
  toApiJson(): object;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@vendasta/conversation",
3
- "version": "0.119.0",
3
+ "version": "0.120.0",
4
4
  "peerDependencies": {
5
5
  "@angular/common": "^17.3.0",
6
6
  "@angular/core": "^17.3.0"