@vendasta/ai-assistants 0.41.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/objects/api.mjs +7 -1
- package/fesm2015/vendasta-ai-assistants.mjs +6 -0
- package/fesm2015/vendasta-ai-assistants.mjs.map +1 -1
- package/fesm2020/vendasta-ai-assistants.mjs +6 -0
- package/fesm2020/vendasta-ai-assistants.mjs.map +1 -1
- package/lib/_internal/interfaces/api.interface.d.ts +1 -0
- package/lib/_internal/objects/api.d.ts +1 -0
- package/package.json +1 -1
|
@@ -2705,6 +2705,9 @@ class ListFunctionRequestFilters {
|
|
|
2705
2705
|
if (proto.namespace) {
|
|
2706
2706
|
m.namespace = Namespace.fromProto(proto.namespace);
|
|
2707
2707
|
}
|
|
2708
|
+
if (proto.namespaces) {
|
|
2709
|
+
m.namespaces = proto.namespaces.map(Namespace.fromProto);
|
|
2710
|
+
}
|
|
2708
2711
|
return m;
|
|
2709
2712
|
}
|
|
2710
2713
|
constructor(kwargs) {
|
|
@@ -2718,6 +2721,9 @@ class ListFunctionRequestFilters {
|
|
|
2718
2721
|
if (typeof this.namespace !== 'undefined' && this.namespace !== null) {
|
|
2719
2722
|
toReturn['namespace'] = 'toApiJson' in this.namespace ? this.namespace.toApiJson() : this.namespace;
|
|
2720
2723
|
}
|
|
2724
|
+
if (typeof this.namespaces !== 'undefined' && this.namespaces !== null) {
|
|
2725
|
+
toReturn['namespaces'] = 'toApiJson' in this.namespaces ? this.namespaces.toApiJson() : this.namespaces;
|
|
2726
|
+
}
|
|
2721
2727
|
return toReturn;
|
|
2722
2728
|
}
|
|
2723
2729
|
}
|