@vendasta/conversation 0.21.0 → 0.23.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.
@@ -8,5 +8,6 @@ export declare enum MessageStatus {
8
8
  }
9
9
  export declare enum MessageType {
10
10
  MESSAGE_TYPE_MESSAGE = 0,
11
- MESSAGE_TYPE_MEDIA = 1
11
+ MESSAGE_TYPE_MEDIA = 1,
12
+ MESSAGE_TYPE_SYSTEM = 2
12
13
  }
@@ -6,7 +6,8 @@ export declare enum GlobalParticipantType {
6
6
  GLOBAL_PARTICIPANT_TYPE_PARTNER = 4,
7
7
  GLOBAL_PARTICIPANT_TYPE_IAM_TEMPORARY_SUBJECT = 5,
8
8
  GLOBAL_PARTICIPANT_TYPE_DIGITAL_AGENT = 6,
9
- GLOBAL_PARTICIPANT_TYPE_VENDOR = 7
9
+ GLOBAL_PARTICIPANT_TYPE_VENDOR = 7,
10
+ GLOBAL_PARTICIPANT_TYPE_OPENAI_BOT = 8
10
11
  }
11
12
  export declare enum ParticipantType {
12
13
  PARTICIPANT_TYPE_UNDEFINED = 0,
@@ -16,5 +17,6 @@ export declare enum ParticipantType {
16
17
  PARTICIPANT_TYPE_PARTNER = 4,
17
18
  PARTICIPANT_TYPE_IAM_TEMPORARY_SUBJECT = 5,
18
19
  PARTICIPANT_TYPE_DIGITAL_AGENT = 6,
19
- PARTICIPANT_TYPE_VENDOR = 7
20
+ PARTICIPANT_TYPE_VENDOR = 7,
21
+ PARTICIPANT_TYPE_OPENAI_BOT = 8
20
22
  }
@@ -176,6 +176,7 @@ export interface SendMessageRequestInterface {
176
176
  type?: e.MessageType;
177
177
  body?: string;
178
178
  metadata?: MetadataInterface[];
179
+ originLocation?: e.PlatformLocation;
179
180
  }
180
181
  export interface SendMessageResponseInterface {
181
182
  workflowId?: string;
@@ -289,6 +289,7 @@ export declare class SendMessageRequest implements i.SendMessageRequestInterface
289
289
  type: e.MessageType;
290
290
  body: string;
291
291
  metadata: Metadata[];
292
+ originLocation: e.PlatformLocation;
292
293
  static fromProto(proto: any): SendMessageRequest;
293
294
  constructor(kwargs?: i.SendMessageRequestInterface);
294
295
  toApiJson(): object;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@vendasta/conversation",
3
- "version": "0.21.0",
3
+ "version": "0.23.0",
4
4
  "peerDependencies": {
5
5
  "@angular/common": "^13.0.0",
6
6
  "@angular/core": "^13.0.0"