@headspace/protos-events 1.37.0 → 1.38.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/lib/index.d.ts CHANGED
@@ -2101,6 +2101,9 @@ export interface ICompletedActivity {
2101
2101
  /** CompletedActivity activityId */
2102
2102
  activityId?: (number|null);
2103
2103
 
2104
+ /** CompletedActivity activityVariationId */
2105
+ activityVariationId?: (number|null);
2106
+
2104
2107
  /** CompletedActivity completedAt */
2105
2108
  completedAt?: (string|null);
2106
2109
  }
@@ -2123,6 +2126,9 @@ export class CompletedActivity implements ICompletedActivity {
2123
2126
  /** CompletedActivity activityId. */
2124
2127
  public activityId: number;
2125
2128
 
2129
+ /** CompletedActivity activityVariationId. */
2130
+ public activityVariationId: number;
2131
+
2126
2132
  /** CompletedActivity completedAt. */
2127
2133
  public completedAt: string;
2128
2134
 
package/lib/index.js CHANGED
@@ -4739,6 +4739,7 @@ $root.CompletedActivity = (function() {
4739
4739
  * @property {string|null} [userId] CompletedActivity userId
4740
4740
  * @property {number|null} [duration] CompletedActivity duration
4741
4741
  * @property {number|null} [activityId] CompletedActivity activityId
4742
+ * @property {number|null} [activityVariationId] CompletedActivity activityVariationId
4742
4743
  * @property {string|null} [completedAt] CompletedActivity completedAt
4743
4744
  */
4744
4745
 
@@ -4781,6 +4782,14 @@ $root.CompletedActivity = (function() {
4781
4782
  */
4782
4783
  CompletedActivity.prototype.activityId = 0;
4783
4784
 
4785
+ /**
4786
+ * CompletedActivity activityVariationId.
4787
+ * @member {number} activityVariationId
4788
+ * @memberof CompletedActivity
4789
+ * @instance
4790
+ */
4791
+ CompletedActivity.prototype.activityVariationId = 0;
4792
+
4784
4793
  /**
4785
4794
  * CompletedActivity completedAt.
4786
4795
  * @member {string} completedAt
@@ -4819,8 +4828,10 @@ $root.CompletedActivity = (function() {
4819
4828
  writer.uint32(/* id 2, wireType 0 =*/16).uint32(message.duration);
4820
4829
  if (message.activityId != null && message.hasOwnProperty("activityId"))
4821
4830
  writer.uint32(/* id 3, wireType 0 =*/24).uint32(message.activityId);
4831
+ if (message.activityVariationId != null && message.hasOwnProperty("activityVariationId"))
4832
+ writer.uint32(/* id 4, wireType 0 =*/32).uint32(message.activityVariationId);
4822
4833
  if (message.completedAt != null && message.hasOwnProperty("completedAt"))
4823
- writer.uint32(/* id 4, wireType 2 =*/34).string(message.completedAt);
4834
+ writer.uint32(/* id 5, wireType 2 =*/42).string(message.completedAt);
4824
4835
  return writer;
4825
4836
  };
4826
4837
 
@@ -4865,6 +4876,9 @@ $root.CompletedActivity = (function() {
4865
4876
  message.activityId = reader.uint32();
4866
4877
  break;
4867
4878
  case 4:
4879
+ message.activityVariationId = reader.uint32();
4880
+ break;
4881
+ case 5:
4868
4882
  message.completedAt = reader.string();
4869
4883
  break;
4870
4884
  default:
@@ -4911,6 +4925,9 @@ $root.CompletedActivity = (function() {
4911
4925
  if (message.activityId != null && message.hasOwnProperty("activityId"))
4912
4926
  if (!$util.isInteger(message.activityId))
4913
4927
  return "activityId: integer expected";
4928
+ if (message.activityVariationId != null && message.hasOwnProperty("activityVariationId"))
4929
+ if (!$util.isInteger(message.activityVariationId))
4930
+ return "activityVariationId: integer expected";
4914
4931
  if (message.completedAt != null && message.hasOwnProperty("completedAt"))
4915
4932
  if (!$util.isString(message.completedAt))
4916
4933
  return "completedAt: string expected";
@@ -4935,6 +4952,8 @@ $root.CompletedActivity = (function() {
4935
4952
  message.duration = object.duration >>> 0;
4936
4953
  if (object.activityId != null)
4937
4954
  message.activityId = object.activityId >>> 0;
4955
+ if (object.activityVariationId != null)
4956
+ message.activityVariationId = object.activityVariationId >>> 0;
4938
4957
  if (object.completedAt != null)
4939
4958
  message.completedAt = String(object.completedAt);
4940
4959
  return message;
@@ -4957,6 +4976,7 @@ $root.CompletedActivity = (function() {
4957
4976
  object.userId = "";
4958
4977
  object.duration = 0;
4959
4978
  object.activityId = 0;
4979
+ object.activityVariationId = 0;
4960
4980
  object.completedAt = "";
4961
4981
  }
4962
4982
  if (message.userId != null && message.hasOwnProperty("userId"))
@@ -4965,6 +4985,8 @@ $root.CompletedActivity = (function() {
4965
4985
  object.duration = message.duration;
4966
4986
  if (message.activityId != null && message.hasOwnProperty("activityId"))
4967
4987
  object.activityId = message.activityId;
4988
+ if (message.activityVariationId != null && message.hasOwnProperty("activityVariationId"))
4989
+ object.activityVariationId = message.activityVariationId;
4968
4990
  if (message.completedAt != null && message.hasOwnProperty("completedAt"))
4969
4991
  object.completedAt = message.completedAt;
4970
4992
  return object;
package/package.json CHANGED
@@ -16,5 +16,5 @@
16
16
  "main": "lib/index.js",
17
17
  "name": "@headspace/protos-events",
18
18
  "typings": "lib/index.d.ts",
19
- "version": "1.37.0"
19
+ "version": "1.38.0"
20
20
  }