@vendasta/ai-assistants 0.33.0 → 0.34.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
|
@@ -2266,6 +2266,9 @@ class ListGoalsRequestFilters {
|
|
|
2266
2266
|
if (proto.supportedChannels) {
|
|
2267
2267
|
m.supportedChannels = proto.supportedChannels.map((v) => enumStringToValue(GoalChannel, v));
|
|
2268
2268
|
}
|
|
2269
|
+
if (proto.namespaces) {
|
|
2270
|
+
m.namespaces = proto.namespaces.map(Namespace.fromProto);
|
|
2271
|
+
}
|
|
2269
2272
|
return m;
|
|
2270
2273
|
}
|
|
2271
2274
|
constructor(kwargs) {
|
|
@@ -2285,6 +2288,9 @@ class ListGoalsRequestFilters {
|
|
|
2285
2288
|
if (typeof this.supportedChannels !== 'undefined') {
|
|
2286
2289
|
toReturn['supportedChannels'] = this.supportedChannels;
|
|
2287
2290
|
}
|
|
2291
|
+
if (typeof this.namespaces !== 'undefined' && this.namespaces !== null) {
|
|
2292
|
+
toReturn['namespaces'] = 'toApiJson' in this.namespaces ? this.namespaces.toApiJson() : this.namespaces;
|
|
2293
|
+
}
|
|
2288
2294
|
return toReturn;
|
|
2289
2295
|
}
|
|
2290
2296
|
}
|