@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.
@@ -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
  }