@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.
- package/esm2020/lib/_internal/interfaces/goal.interface.mjs +1 -1
- package/esm2020/lib/_internal/interfaces/integration-tests.interface.mjs +1 -1
- package/esm2020/lib/_internal/objects/goal.mjs +7 -1
- package/esm2020/lib/_internal/objects/integration-tests.mjs +7 -1
- package/fesm2015/vendasta-ai-assistants.mjs +12 -0
- package/fesm2015/vendasta-ai-assistants.mjs.map +1 -1
- package/fesm2020/vendasta-ai-assistants.mjs +12 -0
- package/fesm2020/vendasta-ai-assistants.mjs.map +1 -1
- package/lib/_internal/interfaces/goal.interface.d.ts +1 -0
- package/lib/_internal/interfaces/integration-tests.interface.d.ts +2 -0
- package/lib/_internal/objects/goal.d.ts +1 -0
- package/lib/_internal/objects/integration-tests.d.ts +2 -0
- package/package.json +1 -1
|
@@ -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
|
}
|