@vendasta/conversation 0.99.0 → 0.101.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.
@@ -9,7 +9,8 @@ export declare enum GlobalParticipantType {
9
9
  GLOBAL_PARTICIPANT_TYPE_VENDOR = 7,
10
10
  GLOBAL_PARTICIPANT_TYPE_OPENAI_BOT = 8,
11
11
  GLOBAL_PARTICIPANT_TYPE_ANONYMOUS = 9,
12
- GLOBAL_PARTICIPANT_TYPE_GROUP = 10
12
+ GLOBAL_PARTICIPANT_TYPE_GROUP = 10,
13
+ GLOBAL_PARTICIPANT_TYPE_AI_ASSISTANT = 11
13
14
  }
14
15
  export declare enum SortDirection {
15
16
  SORT_DIRECTION_DESCENDING = 0,
@@ -9,7 +9,8 @@ export declare enum ConversationChannel {
9
9
  CONVERSATION_CHANNEL_GOOGLE_BUSINESS_COMMUNICATIONS = 7,
10
10
  CONVERSATION_CHANNEL_WEB_CHAT = 8,
11
11
  CONVERSATION_CHANNEL_INSTAGRAM = 9,
12
- CONVERSATION_CHANNEL_WHATSAPP = 10
12
+ CONVERSATION_CHANNEL_WHATSAPP = 10,
13
+ CONVERSATION_CHANNEL_AI_ASSISTANT = 11
13
14
  }
14
15
  export declare enum PlatformLocation {
15
16
  PLATFORM_LOCATION_UNDEFINED = 0,
@@ -4,5 +4,6 @@ export declare enum EventType {
4
4
  EVENT_TYPE_CAMPAIGN = 3,
5
5
  EVENT_TYPE_REVIEW_REQUEST = 4,
6
6
  EVENT_TYPE_FORM_SUBMISSION = 5,
7
- EVENT_TYPE_PHONE_CALL = 6
7
+ EVENT_TYPE_PHONE_CALL = 6,
8
+ EVENT_TYPE_SMS_SUBSCRIBED = 7
8
9
  }
@@ -9,5 +9,6 @@ export declare enum ParticipantType {
9
9
  PARTICIPANT_TYPE_VENDOR = 7,
10
10
  PARTICIPANT_TYPE_OPENAI_BOT = 8,
11
11
  PARTICIPANT_TYPE_ANONYMOUS = 9,
12
- PARTICIPANT_TYPE_GROUP = 10
12
+ PARTICIPANT_TYPE_GROUP = 10,
13
+ PARTICIPANT_TYPE_AI_ASSISTANT = 11
13
14
  }
@@ -57,6 +57,7 @@ export interface CreateConversationRequestInterface {
57
57
  updated?: Date;
58
58
  originLocation?: e.PlatformLocation;
59
59
  originLocationExternalId?: string;
60
+ instanceId?: string;
60
61
  }
61
62
  export interface CreateConversationResponseInterface {
62
63
  conversation?: ConversationInterface;
@@ -25,6 +25,7 @@ export interface ConversationInterface {
25
25
  subjectParticipantKey?: SubjectParticipantKeyInterface;
26
26
  latestRelevantActivityTime?: Date;
27
27
  metadata?: KeyValuePairInterface[];
28
+ instanceId?: string;
28
29
  }
29
30
  export interface ConversationKeyInterface {
30
31
  subjectParticipants?: SubjectParticipantInterface[];
@@ -86,6 +86,7 @@ export declare class CreateConversationRequest implements i.CreateConversationRe
86
86
  updated: Date;
87
87
  originLocation: e.PlatformLocation;
88
88
  originLocationExternalId: string;
89
+ instanceId: string;
89
90
  static fromProto(proto: any): CreateConversationRequest;
90
91
  constructor(kwargs?: i.CreateConversationRequestInterface);
91
92
  toApiJson(): object;
@@ -30,6 +30,7 @@ export declare class Conversation implements i.ConversationInterface {
30
30
  subjectParticipantKey: SubjectParticipantKey;
31
31
  latestRelevantActivityTime: Date;
32
32
  metadata: KeyValuePair[];
33
+ instanceId: string;
33
34
  static fromProto(proto: any): Conversation;
34
35
  constructor(kwargs?: i.ConversationInterface);
35
36
  toApiJson(): object;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@vendasta/conversation",
3
- "version": "0.99.0",
3
+ "version": "0.101.0",
4
4
  "peerDependencies": {
5
5
  "@angular/common": "^17.3.0",
6
6
  "@angular/core": "^17.3.0"