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