@vendasta/conversation 0.57.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.
@@ -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,12 +955,15 @@ 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
  }
961
+ if (typeof this.accentColor !== 'undefined') {
962
+ toReturn['accentColor'] = this.accentColor;
963
+ }
964
+ if (typeof this.accentTextColor !== 'undefined') {
965
+ toReturn['accentTextColor'] = this.accentTextColor;
966
+ }
973
967
  return toReturn;
974
968
  }
975
969
  }
@@ -1452,6 +1446,12 @@ class CreateWidgetRequest {
1452
1446
  if (typeof this.textColor !== 'undefined') {
1453
1447
  toReturn['textColor'] = this.textColor;
1454
1448
  }
1449
+ if (typeof this.accentColor !== 'undefined') {
1450
+ toReturn['accentColor'] = this.accentColor;
1451
+ }
1452
+ if (typeof this.accentTextColor !== 'undefined') {
1453
+ toReturn['accentTextColor'] = this.accentTextColor;
1454
+ }
1455
1455
  return toReturn;
1456
1456
  }
1457
1457
  }
@@ -2304,6 +2304,12 @@ class GetWidgetConfigResponse {
2304
2304
  if (typeof this.textColor !== 'undefined') {
2305
2305
  toReturn['textColor'] = this.textColor;
2306
2306
  }
2307
+ if (typeof this.accentColor !== 'undefined') {
2308
+ toReturn['accentColor'] = this.accentColor;
2309
+ }
2310
+ if (typeof this.accentTextColor !== 'undefined') {
2311
+ toReturn['accentTextColor'] = this.accentTextColor;
2312
+ }
2307
2313
  return toReturn;
2308
2314
  }
2309
2315
  }
@@ -3304,9 +3310,6 @@ class UpdateWidgetRequest {
3304
3310
  if (proto.fieldMask) {
3305
3311
  m.fieldMask = FieldMask.fromProto(proto.fieldMask);
3306
3312
  }
3307
- if (proto.dataSources) {
3308
- m.dataSources = DataSources.fromProto(proto.dataSources);
3309
- }
3310
3313
  return m;
3311
3314
  }
3312
3315
  constructor(kwargs) {
@@ -3338,12 +3341,15 @@ class UpdateWidgetRequest {
3338
3341
  if (typeof this.fieldMask !== 'undefined' && this.fieldMask !== null) {
3339
3342
  toReturn['fieldMask'] = 'toApiJson' in this.fieldMask ? this.fieldMask.toApiJson() : this.fieldMask;
3340
3343
  }
3341
- if (typeof this.dataSources !== 'undefined' && this.dataSources !== null) {
3342
- toReturn['dataSources'] = 'toApiJson' in this.dataSources ? this.dataSources.toApiJson() : this.dataSources;
3343
- }
3344
3344
  if (typeof this.textColor !== 'undefined') {
3345
3345
  toReturn['textColor'] = this.textColor;
3346
3346
  }
3347
+ if (typeof this.accentColor !== 'undefined') {
3348
+ toReturn['accentColor'] = this.accentColor;
3349
+ }
3350
+ if (typeof this.accentTextColor !== 'undefined') {
3351
+ toReturn['accentTextColor'] = this.accentTextColor;
3352
+ }
3347
3353
  return toReturn;
3348
3354
  }
3349
3355
  }