@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.
- package/esm2022/lib/_internal/enums/common.enum.mjs +2 -1
- package/esm2022/lib/_internal/enums/conversation.enum.mjs +2 -1
- package/esm2022/lib/_internal/enums/event.enum.mjs +2 -1
- package/esm2022/lib/_internal/enums/participant.enum.mjs +2 -1
- package/esm2022/lib/_internal/interfaces/api.interface.mjs +1 -1
- package/esm2022/lib/_internal/interfaces/conversation.interface.mjs +1 -1
- package/esm2022/lib/_internal/objects/api.mjs +5 -1
- package/esm2022/lib/_internal/objects/conversation.mjs +5 -1
- package/fesm2022/vendasta-conversation.mjs +12 -0
- package/fesm2022/vendasta-conversation.mjs.map +1 -1
- package/lib/_internal/enums/common.enum.d.ts +2 -1
- package/lib/_internal/enums/conversation.enum.d.ts +2 -1
- package/lib/_internal/enums/event.enum.d.ts +2 -1
- package/lib/_internal/enums/participant.enum.d.ts +2 -1
- package/lib/_internal/interfaces/api.interface.d.ts +1 -0
- package/lib/_internal/interfaces/conversation.interface.d.ts +1 -0
- package/lib/_internal/objects/api.d.ts +1 -0
- package/lib/_internal/objects/conversation.d.ts +1 -0
- package/package.json +1 -1
|
@@ -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,
|
|
@@ -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;
|