@vendasta/ai-assistants 0.40.0 → 0.43.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
  }
@@ -2693,6 +2705,9 @@ class ListFunctionRequestFilters {
2693
2705
  if (proto.namespace) {
2694
2706
  m.namespace = Namespace.fromProto(proto.namespace);
2695
2707
  }
2708
+ if (proto.namespaces) {
2709
+ m.namespaces = proto.namespaces.map(Namespace.fromProto);
2710
+ }
2696
2711
  return m;
2697
2712
  }
2698
2713
  constructor(kwargs) {
@@ -2706,6 +2721,9 @@ class ListFunctionRequestFilters {
2706
2721
  if (typeof this.namespace !== 'undefined' && this.namespace !== null) {
2707
2722
  toReturn['namespace'] = 'toApiJson' in this.namespace ? this.namespace.toApiJson() : this.namespace;
2708
2723
  }
2724
+ if (typeof this.namespaces !== 'undefined' && this.namespaces !== null) {
2725
+ toReturn['namespaces'] = 'toApiJson' in this.namespaces ? this.namespaces.toApiJson() : this.namespaces;
2726
+ }
2709
2727
  return toReturn;
2710
2728
  }
2711
2729
  }