@vendasta/conversation 0.58.0 → 0.59.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/esm2020/lib/_internal/interfaces/api.interface.mjs +1 -1
- package/esm2020/lib/_internal/interfaces/widget.interface.mjs +1 -1
- package/esm2020/lib/_internal/objects/api.mjs +1 -7
- package/esm2020/lib/_internal/objects/widget.mjs +1 -13
- package/fesm2015/vendasta-conversation.mjs +0 -18
- package/fesm2015/vendasta-conversation.mjs.map +1 -1
- package/fesm2020/vendasta-conversation.mjs +0 -18
- package/fesm2020/vendasta-conversation.mjs.map +1 -1
- package/lib/_internal/interfaces/api.interface.d.ts +0 -1
- package/lib/_internal/interfaces/widget.interface.d.ts +0 -3
- package/lib/_internal/objects/api.d.ts +0 -1
- package/lib/_internal/objects/widget.d.ts +0 -3
- package/package.json +1 -1
|
@@ -899,12 +899,6 @@ class DataSources {
|
|
|
899
899
|
if (typeof this.businessProfile !== 'undefined') {
|
|
900
900
|
toReturn['businessProfile'] = this.businessProfile;
|
|
901
901
|
}
|
|
902
|
-
if (typeof this.website !== 'undefined') {
|
|
903
|
-
toReturn['website'] = this.website;
|
|
904
|
-
}
|
|
905
|
-
if (typeof this.userInput !== 'undefined') {
|
|
906
|
-
toReturn['userInput'] = this.userInput;
|
|
907
|
-
}
|
|
908
902
|
return toReturn;
|
|
909
903
|
}
|
|
910
904
|
}
|
|
@@ -921,9 +915,6 @@ class Widget {
|
|
|
921
915
|
if (proto.updated) {
|
|
922
916
|
m.updated = new Date(proto.updated);
|
|
923
917
|
}
|
|
924
|
-
if (proto.dataSources) {
|
|
925
|
-
m.dataSources = DataSources.fromProto(proto.dataSources);
|
|
926
|
-
}
|
|
927
918
|
return m;
|
|
928
919
|
}
|
|
929
920
|
constructor(kwargs) {
|
|
@@ -964,9 +955,6 @@ class Widget {
|
|
|
964
955
|
if (typeof this.welcomeMessage !== 'undefined') {
|
|
965
956
|
toReturn['welcomeMessage'] = this.welcomeMessage;
|
|
966
957
|
}
|
|
967
|
-
if (typeof this.dataSources !== 'undefined' && this.dataSources !== null) {
|
|
968
|
-
toReturn['dataSources'] = 'toApiJson' in this.dataSources ? this.dataSources.toApiJson() : this.dataSources;
|
|
969
|
-
}
|
|
970
958
|
if (typeof this.textColor !== 'undefined') {
|
|
971
959
|
toReturn['textColor'] = this.textColor;
|
|
972
960
|
}
|
|
@@ -3322,9 +3310,6 @@ class UpdateWidgetRequest {
|
|
|
3322
3310
|
if (proto.fieldMask) {
|
|
3323
3311
|
m.fieldMask = FieldMask.fromProto(proto.fieldMask);
|
|
3324
3312
|
}
|
|
3325
|
-
if (proto.dataSources) {
|
|
3326
|
-
m.dataSources = DataSources.fromProto(proto.dataSources);
|
|
3327
|
-
}
|
|
3328
3313
|
return m;
|
|
3329
3314
|
}
|
|
3330
3315
|
constructor(kwargs) {
|
|
@@ -3356,9 +3341,6 @@ class UpdateWidgetRequest {
|
|
|
3356
3341
|
if (typeof this.fieldMask !== 'undefined' && this.fieldMask !== null) {
|
|
3357
3342
|
toReturn['fieldMask'] = 'toApiJson' in this.fieldMask ? this.fieldMask.toApiJson() : this.fieldMask;
|
|
3358
3343
|
}
|
|
3359
|
-
if (typeof this.dataSources !== 'undefined' && this.dataSources !== null) {
|
|
3360
|
-
toReturn['dataSources'] = 'toApiJson' in this.dataSources ? this.dataSources.toApiJson() : this.dataSources;
|
|
3361
|
-
}
|
|
3362
3344
|
if (typeof this.textColor !== 'undefined') {
|
|
3363
3345
|
toReturn['textColor'] = this.textColor;
|
|
3364
3346
|
}
|