@vendasta/conversation 0.116.0 → 0.117.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/objects/api.mjs +13 -1
- package/fesm2022/vendasta-conversation.mjs +12 -0
- package/fesm2022/vendasta-conversation.mjs.map +1 -1
- package/lib/_internal/interfaces/api.interface.d.ts +3 -0
- package/lib/_internal/objects/api.d.ts +3 -0
- package/package.json +1 -1
|
@@ -105,6 +105,7 @@ export interface CreateWidgetRequestInterface {
|
|
|
105
105
|
customGreetingMessage?: string;
|
|
106
106
|
enableGreetingMessage?: boolean;
|
|
107
107
|
widgetType?: string;
|
|
108
|
+
assistantId?: string;
|
|
108
109
|
}
|
|
109
110
|
export interface CreateWidgetResponseInterface {
|
|
110
111
|
widget?: WidgetInterface;
|
|
@@ -532,6 +533,7 @@ export interface SendMessageRequestInterface {
|
|
|
532
533
|
export interface SendMessageResponseInterface {
|
|
533
534
|
workflowId?: string;
|
|
534
535
|
messageId?: string;
|
|
536
|
+
conversationId?: string;
|
|
535
537
|
}
|
|
536
538
|
export interface SendWidgetMessageRequestInterface {
|
|
537
539
|
type?: e.MessageType;
|
|
@@ -597,6 +599,7 @@ export interface UpdateWidgetRequestInterface {
|
|
|
597
599
|
customGreetingMessage?: string;
|
|
598
600
|
enableGreetingMessage?: boolean;
|
|
599
601
|
fieldMask?: FieldMaskInterface;
|
|
602
|
+
assistantId?: string;
|
|
600
603
|
}
|
|
601
604
|
export interface UpdateWidgetResponseInterface {
|
|
602
605
|
widget?: WidgetInterface;
|
|
@@ -155,6 +155,7 @@ export declare class CreateWidgetRequest implements i.CreateWidgetRequestInterfa
|
|
|
155
155
|
customGreetingMessage: string;
|
|
156
156
|
enableGreetingMessage: boolean;
|
|
157
157
|
widgetType: string;
|
|
158
|
+
assistantId: string;
|
|
158
159
|
static fromProto(proto: any): CreateWidgetRequest;
|
|
159
160
|
constructor(kwargs?: i.CreateWidgetRequestInterface);
|
|
160
161
|
toApiJson(): object;
|
|
@@ -861,6 +862,7 @@ export declare class SendMessageRequest implements i.SendMessageRequestInterface
|
|
|
861
862
|
export declare class SendMessageResponse implements i.SendMessageResponseInterface {
|
|
862
863
|
workflowId: string;
|
|
863
864
|
messageId: string;
|
|
865
|
+
conversationId: string;
|
|
864
866
|
static fromProto(proto: any): SendMessageResponse;
|
|
865
867
|
constructor(kwargs?: i.SendMessageResponseInterface);
|
|
866
868
|
toApiJson(): object;
|
|
@@ -962,6 +964,7 @@ export declare class UpdateWidgetRequest implements i.UpdateWidgetRequestInterfa
|
|
|
962
964
|
customGreetingMessage: string;
|
|
963
965
|
enableGreetingMessage: boolean;
|
|
964
966
|
fieldMask: FieldMask;
|
|
967
|
+
assistantId: string;
|
|
965
968
|
static fromProto(proto: any): UpdateWidgetRequest;
|
|
966
969
|
constructor(kwargs?: i.UpdateWidgetRequestInterface);
|
|
967
970
|
toApiJson(): object;
|