@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
|
@@ -2576,6 +2576,7 @@ class CreateWidgetRequest {
|
|
|
2576
2576
|
customGreetingMessage;
|
|
2577
2577
|
enableGreetingMessage;
|
|
2578
2578
|
widgetType;
|
|
2579
|
+
assistantId;
|
|
2579
2580
|
static fromProto(proto) {
|
|
2580
2581
|
let m = new CreateWidgetRequest();
|
|
2581
2582
|
m = Object.assign(m, proto);
|
|
@@ -2649,6 +2650,9 @@ class CreateWidgetRequest {
|
|
|
2649
2650
|
if (typeof this.widgetType !== 'undefined') {
|
|
2650
2651
|
toReturn['widgetType'] = this.widgetType;
|
|
2651
2652
|
}
|
|
2653
|
+
if (typeof this.assistantId !== 'undefined') {
|
|
2654
|
+
toReturn['assistantId'] = this.assistantId;
|
|
2655
|
+
}
|
|
2652
2656
|
return toReturn;
|
|
2653
2657
|
}
|
|
2654
2658
|
}
|
|
@@ -5509,6 +5513,7 @@ class SendMessageRequest {
|
|
|
5509
5513
|
class SendMessageResponse {
|
|
5510
5514
|
workflowId;
|
|
5511
5515
|
messageId;
|
|
5516
|
+
conversationId;
|
|
5512
5517
|
static fromProto(proto) {
|
|
5513
5518
|
let m = new SendMessageResponse();
|
|
5514
5519
|
m = Object.assign(m, proto);
|
|
@@ -5528,6 +5533,9 @@ class SendMessageResponse {
|
|
|
5528
5533
|
if (typeof this.messageId !== 'undefined') {
|
|
5529
5534
|
toReturn['messageId'] = this.messageId;
|
|
5530
5535
|
}
|
|
5536
|
+
if (typeof this.conversationId !== 'undefined') {
|
|
5537
|
+
toReturn['conversationId'] = this.conversationId;
|
|
5538
|
+
}
|
|
5531
5539
|
return toReturn;
|
|
5532
5540
|
}
|
|
5533
5541
|
}
|
|
@@ -5874,6 +5882,7 @@ class UpdateWidgetRequest {
|
|
|
5874
5882
|
customGreetingMessage;
|
|
5875
5883
|
enableGreetingMessage;
|
|
5876
5884
|
fieldMask;
|
|
5885
|
+
assistantId;
|
|
5877
5886
|
static fromProto(proto) {
|
|
5878
5887
|
let m = new UpdateWidgetRequest();
|
|
5879
5888
|
m = Object.assign(m, proto);
|
|
@@ -5947,6 +5956,9 @@ class UpdateWidgetRequest {
|
|
|
5947
5956
|
if (typeof this.fieldMask !== 'undefined' && this.fieldMask !== null) {
|
|
5948
5957
|
toReturn['fieldMask'] = 'toApiJson' in this.fieldMask ? this.fieldMask.toApiJson() : this.fieldMask;
|
|
5949
5958
|
}
|
|
5959
|
+
if (typeof this.assistantId !== 'undefined') {
|
|
5960
|
+
toReturn['assistantId'] = this.assistantId;
|
|
5961
|
+
}
|
|
5950
5962
|
return toReturn;
|
|
5951
5963
|
}
|
|
5952
5964
|
}
|