@vendasta/conversation 0.58.0 → 0.60.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.
@@ -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
  }
@@ -1660,6 +1648,9 @@ class GetMultiConversationDetailsResponseDetailedConversation {
1660
1648
  if (typeof this.participants !== 'undefined' && this.participants !== null) {
1661
1649
  toReturn['participants'] = 'toApiJson' in this.participants ? this.participants.toApiJson() : this.participants;
1662
1650
  }
1651
+ if (typeof this.summary !== 'undefined') {
1652
+ toReturn['summary'] = this.summary;
1653
+ }
1663
1654
  return toReturn;
1664
1655
  }
1665
1656
  }
@@ -1989,6 +1980,9 @@ class GetMultiConversationDetailsRequest {
1989
1980
  static fromProto(proto) {
1990
1981
  let m = new GetMultiConversationDetailsRequest();
1991
1982
  m = Object.assign(m, proto);
1983
+ if (proto.options) {
1984
+ m.options = FieldMask.fromProto(proto.options);
1985
+ }
1992
1986
  return m;
1993
1987
  }
1994
1988
  constructor(kwargs) {
@@ -2002,6 +1996,9 @@ class GetMultiConversationDetailsRequest {
2002
1996
  if (typeof this.conversationIds !== 'undefined') {
2003
1997
  toReturn['conversationIds'] = this.conversationIds;
2004
1998
  }
1999
+ if (typeof this.options !== 'undefined' && this.options !== null) {
2000
+ toReturn['options'] = 'toApiJson' in this.options ? this.options.toApiJson() : this.options;
2001
+ }
2005
2002
  return toReturn;
2006
2003
  }
2007
2004
  }
@@ -3322,9 +3319,6 @@ class UpdateWidgetRequest {
3322
3319
  if (proto.fieldMask) {
3323
3320
  m.fieldMask = FieldMask.fromProto(proto.fieldMask);
3324
3321
  }
3325
- if (proto.dataSources) {
3326
- m.dataSources = DataSources.fromProto(proto.dataSources);
3327
- }
3328
3322
  return m;
3329
3323
  }
3330
3324
  constructor(kwargs) {
@@ -3356,9 +3350,6 @@ class UpdateWidgetRequest {
3356
3350
  if (typeof this.fieldMask !== 'undefined' && this.fieldMask !== null) {
3357
3351
  toReturn['fieldMask'] = 'toApiJson' in this.fieldMask ? this.fieldMask.toApiJson() : this.fieldMask;
3358
3352
  }
3359
- if (typeof this.dataSources !== 'undefined' && this.dataSources !== null) {
3360
- toReturn['dataSources'] = 'toApiJson' in this.dataSources ? this.dataSources.toApiJson() : this.dataSources;
3361
- }
3362
3353
  if (typeof this.textColor !== 'undefined') {
3363
3354
  toReturn['textColor'] = this.textColor;
3364
3355
  }