@vendasta/ai-assistants 0.33.0 → 0.35.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.
@@ -56,6 +56,7 @@ var GoalChannel;
56
56
  GoalChannel[GoalChannel["GOAL_CHANNEL_INSTAGRAM"] = 7] = "GOAL_CHANNEL_INSTAGRAM";
57
57
  GoalChannel[GoalChannel["GOAL_CHANNEL_FACEBOOK"] = 8] = "GOAL_CHANNEL_FACEBOOK";
58
58
  GoalChannel[GoalChannel["GOAL_CHANNEL_AUTOMATION"] = 9] = "GOAL_CHANNEL_AUTOMATION";
59
+ GoalChannel[GoalChannel["GOAL_CHANNEL_SNAPSHOT"] = 10] = "GOAL_CHANNEL_SNAPSHOT";
59
60
  })(GoalChannel || (GoalChannel = {}));
60
61
  var GoalType;
61
62
  (function (GoalType) {
@@ -2266,6 +2267,9 @@ class ListGoalsRequestFilters {
2266
2267
  if (proto.supportedChannels) {
2267
2268
  m.supportedChannels = proto.supportedChannels.map((v) => enumStringToValue(GoalChannel, v));
2268
2269
  }
2270
+ if (proto.namespaces) {
2271
+ m.namespaces = proto.namespaces.map(Namespace.fromProto);
2272
+ }
2269
2273
  return m;
2270
2274
  }
2271
2275
  constructor(kwargs) {
@@ -2285,6 +2289,9 @@ class ListGoalsRequestFilters {
2285
2289
  if (typeof this.supportedChannels !== 'undefined') {
2286
2290
  toReturn['supportedChannels'] = this.supportedChannels;
2287
2291
  }
2292
+ if (typeof this.namespaces !== 'undefined' && this.namespaces !== null) {
2293
+ toReturn['namespaces'] = 'toApiJson' in this.namespaces ? this.namespaces.toApiJson() : this.namespaces;
2294
+ }
2288
2295
  return toReturn;
2289
2296
  }
2290
2297
  }