@vendasta/conversation 0.87.0 → 0.89.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/interfaces/api.interface.mjs +1 -1
- package/esm2022/lib/_internal/interfaces/widget.interface.mjs +1 -1
- package/esm2022/lib/_internal/objects/api.mjs +21 -1
- package/esm2022/lib/_internal/objects/widget.mjs +5 -1
- package/fesm2022/vendasta-conversation.mjs +24 -0
- package/fesm2022/vendasta-conversation.mjs.map +1 -1
- package/lib/_internal/interfaces/api.interface.d.ts +5 -0
- package/lib/_internal/interfaces/widget.interface.d.ts +1 -0
- package/lib/_internal/objects/api.d.ts +5 -0
- package/lib/_internal/objects/widget.d.ts +1 -0
- package/package.json +1 -1
|
@@ -75,10 +75,12 @@ export interface CreateMultiMessagesRequestInterface {
|
|
|
75
75
|
export interface CreateWidgetConversationRequestInterface {
|
|
76
76
|
widgetId?: string;
|
|
77
77
|
chatSourceUrl?: string;
|
|
78
|
+
greetingMessage?: string;
|
|
78
79
|
}
|
|
79
80
|
export interface CreateWidgetConversationResponseInterface {
|
|
80
81
|
widgetParticipantToken?: string;
|
|
81
82
|
conversation?: ConversationInterface;
|
|
83
|
+
greetingMessageId?: string;
|
|
82
84
|
}
|
|
83
85
|
export interface CreateWidgetRequestInterface {
|
|
84
86
|
name?: string;
|
|
@@ -96,6 +98,7 @@ export interface CreateWidgetRequestInterface {
|
|
|
96
98
|
assistantAvatarUrl?: string;
|
|
97
99
|
position?: e.WidgetPosition;
|
|
98
100
|
hideMobileCta?: boolean;
|
|
101
|
+
customGreetingMessage?: string;
|
|
99
102
|
}
|
|
100
103
|
export interface CreateWidgetResponseInterface {
|
|
101
104
|
widget?: WidgetInterface;
|
|
@@ -265,6 +268,7 @@ export interface GetWidgetConfigResponseInterface {
|
|
|
265
268
|
assistantAvatarUrl?: string;
|
|
266
269
|
position?: e.WidgetPosition;
|
|
267
270
|
hideMobileCta?: boolean;
|
|
271
|
+
customGreetingMessage?: string;
|
|
268
272
|
}
|
|
269
273
|
export interface GetWidgetConversationResponseInterface {
|
|
270
274
|
conversation?: ConversationInterface;
|
|
@@ -491,6 +495,7 @@ export interface UpdateWidgetRequestInterface {
|
|
|
491
495
|
assistantAvatarUrl?: string;
|
|
492
496
|
position?: e.WidgetPosition;
|
|
493
497
|
hideMobileCta?: boolean;
|
|
498
|
+
customGreetingMessage?: string;
|
|
494
499
|
fieldMask?: FieldMaskInterface;
|
|
495
500
|
}
|
|
496
501
|
export interface UpdateWidgetResponseInterface {
|
|
@@ -119,6 +119,7 @@ export declare class CreateMultiMessagesRequest implements i.CreateMultiMessages
|
|
|
119
119
|
export declare class CreateWidgetConversationRequest implements i.CreateWidgetConversationRequestInterface {
|
|
120
120
|
widgetId: string;
|
|
121
121
|
chatSourceUrl: string;
|
|
122
|
+
greetingMessage: string;
|
|
122
123
|
static fromProto(proto: any): CreateWidgetConversationRequest;
|
|
123
124
|
constructor(kwargs?: i.CreateWidgetConversationRequestInterface);
|
|
124
125
|
toApiJson(): object;
|
|
@@ -126,6 +127,7 @@ export declare class CreateWidgetConversationRequest implements i.CreateWidgetCo
|
|
|
126
127
|
export declare class CreateWidgetConversationResponse implements i.CreateWidgetConversationResponseInterface {
|
|
127
128
|
widgetParticipantToken: string;
|
|
128
129
|
conversation: Conversation;
|
|
130
|
+
greetingMessageId: string;
|
|
129
131
|
static fromProto(proto: any): CreateWidgetConversationResponse;
|
|
130
132
|
constructor(kwargs?: i.CreateWidgetConversationResponseInterface);
|
|
131
133
|
toApiJson(): object;
|
|
@@ -146,6 +148,7 @@ export declare class CreateWidgetRequest implements i.CreateWidgetRequestInterfa
|
|
|
146
148
|
assistantAvatarUrl: string;
|
|
147
149
|
position: e.WidgetPosition;
|
|
148
150
|
hideMobileCta: boolean;
|
|
151
|
+
customGreetingMessage: string;
|
|
149
152
|
static fromProto(proto: any): CreateWidgetRequest;
|
|
150
153
|
constructor(kwargs?: i.CreateWidgetRequestInterface);
|
|
151
154
|
toApiJson(): object;
|
|
@@ -450,6 +453,7 @@ export declare class GetWidgetConfigResponse implements i.GetWidgetConfigRespons
|
|
|
450
453
|
assistantAvatarUrl: string;
|
|
451
454
|
position: e.WidgetPosition;
|
|
452
455
|
hideMobileCta: boolean;
|
|
456
|
+
customGreetingMessage: string;
|
|
453
457
|
static fromProto(proto: any): GetWidgetConfigResponse;
|
|
454
458
|
constructor(kwargs?: i.GetWidgetConfigResponseInterface);
|
|
455
459
|
toApiJson(): object;
|
|
@@ -802,6 +806,7 @@ export declare class UpdateWidgetRequest implements i.UpdateWidgetRequestInterfa
|
|
|
802
806
|
assistantAvatarUrl: string;
|
|
803
807
|
position: e.WidgetPosition;
|
|
804
808
|
hideMobileCta: boolean;
|
|
809
|
+
customGreetingMessage: string;
|
|
805
810
|
fieldMask: FieldMask;
|
|
806
811
|
static fromProto(proto: any): UpdateWidgetRequest;
|
|
807
812
|
constructor(kwargs?: i.UpdateWidgetRequestInterface);
|
|
@@ -28,6 +28,7 @@ export declare class Widget implements i.WidgetInterface {
|
|
|
28
28
|
assistantAvatarUrl: string;
|
|
29
29
|
embedHistory: string[];
|
|
30
30
|
hideMobileCta: boolean;
|
|
31
|
+
customGreetingMessage: string;
|
|
31
32
|
static fromProto(proto: any): Widget;
|
|
32
33
|
constructor(kwargs?: i.WidgetInterface);
|
|
33
34
|
toApiJson(): object;
|