@vendasta/ai-assistants 0.40.0 → 0.41.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.
@@ -755,6 +755,9 @@ class Goal {
755
755
  if (proto.supportedChannels) {
756
756
  m.supportedChannels = proto.supportedChannels.map((v) => enumStringToValue$a(GoalChannel, v));
757
757
  }
758
+ if (proto.overrideOf) {
759
+ m.overrideOf = GoalKey.fromProto(proto.overrideOf);
760
+ }
758
761
  return m;
759
762
  }
760
763
  constructor(kwargs) {
@@ -798,6 +801,9 @@ class Goal {
798
801
  if (typeof this.managed !== 'undefined') {
799
802
  toReturn['managed'] = this.managed;
800
803
  }
804
+ if (typeof this.overrideOf !== 'undefined' && this.overrideOf !== null) {
805
+ toReturn['overrideOf'] = 'toApiJson' in this.overrideOf ? this.overrideOf.toApiJson() : this.overrideOf;
806
+ }
801
807
  return toReturn;
802
808
  }
803
809
  }
@@ -1588,6 +1594,12 @@ class TestResultCitation {
1588
1594
  if (typeof this.fileUrl !== 'undefined') {
1589
1595
  toReturn['fileUrl'] = this.fileUrl;
1590
1596
  }
1597
+ if (typeof this.functionArguments !== 'undefined') {
1598
+ toReturn['functionArguments'] = this.functionArguments;
1599
+ }
1600
+ if (typeof this.functionContent !== 'undefined') {
1601
+ toReturn['functionContent'] = this.functionContent;
1602
+ }
1591
1603
  return toReturn;
1592
1604
  }
1593
1605
  }