@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.
- package/esm2020/lib/_internal/interfaces/api.interface.mjs +1 -1
- 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/api.mjs +7 -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 +18 -0
- package/fesm2015/vendasta-ai-assistants.mjs.map +1 -1
- package/fesm2020/vendasta-ai-assistants.mjs +18 -0
- package/fesm2020/vendasta-ai-assistants.mjs.map +1 -1
- package/lib/_internal/interfaces/api.interface.d.ts +1 -0
- 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/api.d.ts +1 -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
|
}
|
|
@@ -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
|
}
|