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