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