@vendasta/conversation 0.96.0 → 0.97.1
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/interfaces/api.interface.mjs +1 -1
- package/esm2022/lib/_internal/interfaces/conversation.interface.mjs +1 -1
- package/esm2022/lib/_internal/interfaces/evaluation.interface.mjs +1 -1
- package/esm2022/lib/_internal/objects/api.mjs +18 -6
- package/esm2022/lib/_internal/objects/conversation.mjs +8 -1
- package/esm2022/lib/_internal/objects/evaluation.mjs +5 -1
- package/fesm2022/vendasta-conversation.mjs +28 -5
- package/fesm2022/vendasta-conversation.mjs.map +1 -1
- package/lib/_internal/interfaces/api.interface.d.ts +4 -1
- package/lib/_internal/interfaces/conversation.interface.d.ts +1 -0
- package/lib/_internal/interfaces/evaluation.interface.d.ts +1 -0
- package/lib/_internal/objects/api.d.ts +4 -1
- package/lib/_internal/objects/conversation.d.ts +1 -0
- package/lib/_internal/objects/evaluation.d.ts +1 -0
- package/package.json +1 -1
|
@@ -138,6 +138,9 @@ export interface EvaluateResponseRequestInterface {
|
|
|
138
138
|
messageId?: string;
|
|
139
139
|
sentiment?: e.EvaluationSentiment;
|
|
140
140
|
comment?: string;
|
|
141
|
+
evaluatedEventId?: string;
|
|
142
|
+
evaluatedMessageId?: string;
|
|
143
|
+
conversationId?: string;
|
|
141
144
|
}
|
|
142
145
|
export interface GetAvailableChannelsForConversationRequestInterface {
|
|
143
146
|
conversationId?: string;
|
|
@@ -257,7 +260,7 @@ export interface GetParticipantsByKeyResponseInterface {
|
|
|
257
260
|
}
|
|
258
261
|
export interface GetWidgetConfigRequestInterface {
|
|
259
262
|
widgetId?: string;
|
|
260
|
-
|
|
263
|
+
visitData?: WidgetVisitInterface;
|
|
261
264
|
}
|
|
262
265
|
export interface GetWidgetConfigResponseInterface {
|
|
263
266
|
name?: string;
|
|
@@ -2,6 +2,7 @@ import { SubjectParticipantInterface } from './common.interface';
|
|
|
2
2
|
import * as e from '../enums';
|
|
3
3
|
export interface AIConfigurationInterface {
|
|
4
4
|
aiResponseEnabled?: boolean;
|
|
5
|
+
willRespondAt?: Date;
|
|
5
6
|
}
|
|
6
7
|
export interface ConversationInterface {
|
|
7
8
|
conversationId?: string;
|
|
@@ -215,6 +215,9 @@ export declare class EvaluateResponseRequest implements i.EvaluateResponseReques
|
|
|
215
215
|
messageId: string;
|
|
216
216
|
sentiment: e.EvaluationSentiment;
|
|
217
217
|
comment: string;
|
|
218
|
+
evaluatedEventId: string;
|
|
219
|
+
evaluatedMessageId: string;
|
|
220
|
+
conversationId: string;
|
|
218
221
|
static fromProto(proto: any): EvaluateResponseRequest;
|
|
219
222
|
constructor(kwargs?: i.EvaluateResponseRequestInterface);
|
|
220
223
|
toApiJson(): object;
|
|
@@ -439,7 +442,7 @@ export declare class GetParticipantsByKeyResponse implements i.GetParticipantsBy
|
|
|
439
442
|
}
|
|
440
443
|
export declare class GetWidgetConfigRequest implements i.GetWidgetConfigRequestInterface {
|
|
441
444
|
widgetId: string;
|
|
442
|
-
|
|
445
|
+
visitData: WidgetVisit;
|
|
443
446
|
static fromProto(proto: any): GetWidgetConfigRequest;
|
|
444
447
|
constructor(kwargs?: i.GetWidgetConfigRequestInterface);
|
|
445
448
|
toApiJson(): object;
|
|
@@ -4,6 +4,7 @@ import * as e from '../enums';
|
|
|
4
4
|
export declare function enumStringToValue<E>(enumRef: any, value: string): E;
|
|
5
5
|
export declare class AIConfiguration implements i.AIConfigurationInterface {
|
|
6
6
|
aiResponseEnabled: boolean;
|
|
7
|
+
willRespondAt: Date;
|
|
7
8
|
static fromProto(proto: any): AIConfiguration;
|
|
8
9
|
constructor(kwargs?: i.AIConfigurationInterface);
|
|
9
10
|
toApiJson(): object;
|
|
@@ -9,6 +9,7 @@ export declare class ResponseEvaluation implements i.ResponseEvaluationInterface
|
|
|
9
9
|
comment: string;
|
|
10
10
|
createdAt: Date;
|
|
11
11
|
subjectParticipants: SubjectParticipant[];
|
|
12
|
+
eventId: string;
|
|
12
13
|
static fromProto(proto: any): ResponseEvaluation;
|
|
13
14
|
constructor(kwargs?: i.ResponseEvaluationInterface);
|
|
14
15
|
toApiJson(): object;
|