@headspace/protos-events 1.822.0 → 1.823.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
@@ -22491,6 +22491,9 @@ export namespace coaching {
22491
22491
  /** ScheduledCoachingSession coachCancelled. */
22492
22492
  coachCancelled: boolean;
22493
22493
 
22494
+ /** ScheduledCoachingSession scheduledDuration. */
22495
+ scheduledDuration?: (number|null);
22496
+
22494
22497
  /**
22495
22498
  * Creates a new ScheduledCoachingSession instance using the specified properties.
22496
22499
  * @param [properties] Properties to set
@@ -22643,6 +22646,9 @@ export namespace coaching {
22643
22646
  /** ScheduledCoachingSession coachCancelled */
22644
22647
  coachCancelled?: (boolean|null);
22645
22648
 
22649
+ /** ScheduledCoachingSession scheduledDuration */
22650
+ scheduledDuration?: (number|null);
22651
+
22646
22652
  /** Unknown fields preserved while decoding */
22647
22653
  $unknowns?: Uint8Array[];
22648
22654
  }
@@ -25984,6 +25990,21 @@ export class CoachingSessionCompleted {
25984
25990
  /** CoachingSessionCompleted endTimestampIso. */
25985
25991
  endTimestampIso?: (string|null);
25986
25992
 
25993
+ /** CoachingSessionCompleted scheduledStartTimestamp. */
25994
+ scheduledStartTimestamp?: (number|Long|null);
25995
+
25996
+ /** CoachingSessionCompleted scheduledStartTimestampIso. */
25997
+ scheduledStartTimestampIso?: (string|null);
25998
+
25999
+ /** CoachingSessionCompleted scheduledEndTimestamp. */
26000
+ scheduledEndTimestamp?: (number|Long|null);
26001
+
26002
+ /** CoachingSessionCompleted scheduledEndTimestampIso. */
26003
+ scheduledEndTimestampIso?: (string|null);
26004
+
26005
+ /** CoachingSessionCompleted scheduledDuration. */
26006
+ scheduledDuration?: (number|null);
26007
+
25987
26008
  /**
25988
26009
  * Creates a new CoachingSessionCompleted instance using the specified properties.
25989
26010
  * @param [properties] Properties to set
@@ -26098,6 +26119,21 @@ export namespace CoachingSessionCompleted {
26098
26119
  /** CoachingSessionCompleted endTimestampIso */
26099
26120
  endTimestampIso?: (string|null);
26100
26121
 
26122
+ /** CoachingSessionCompleted scheduledStartTimestamp */
26123
+ scheduledStartTimestamp?: (number|Long|null);
26124
+
26125
+ /** CoachingSessionCompleted scheduledStartTimestampIso */
26126
+ scheduledStartTimestampIso?: (string|null);
26127
+
26128
+ /** CoachingSessionCompleted scheduledEndTimestamp */
26129
+ scheduledEndTimestamp?: (number|Long|null);
26130
+
26131
+ /** CoachingSessionCompleted scheduledEndTimestampIso */
26132
+ scheduledEndTimestampIso?: (string|null);
26133
+
26134
+ /** CoachingSessionCompleted scheduledDuration */
26135
+ scheduledDuration?: (number|null);
26136
+
26101
26137
  /** Unknown fields preserved while decoding */
26102
26138
  $unknowns?: Uint8Array[];
26103
26139
  }
package/lib/index.js CHANGED
@@ -67959,6 +67959,7 @@ $root.coaching = (function() {
67959
67959
  * @property {boolean|null} [memberCancelled] ScheduledCoachingSession memberCancelled
67960
67960
  * @property {number|Long|null} [coachEngagedAt] ScheduledCoachingSession coachEngagedAt
67961
67961
  * @property {boolean|null} [coachCancelled] ScheduledCoachingSession coachCancelled
67962
+ * @property {number|null} [scheduledDuration] ScheduledCoachingSession scheduledDuration
67962
67963
  * @property {Array.<Uint8Array>} [$unknowns] Unknown fields preserved while decoding
67963
67964
  */
67964
67965
 
@@ -68157,6 +68158,23 @@ $root.coaching = (function() {
68157
68158
  */
68158
68159
  ScheduledCoachingSession.prototype.coachCancelled = false;
68159
68160
 
68161
+ /**
68162
+ * ScheduledCoachingSession scheduledDuration.
68163
+ * @member {number|null|undefined} scheduledDuration
68164
+ * @memberof coaching.ScheduledCoachingSession
68165
+ * @instance
68166
+ */
68167
+ ScheduledCoachingSession.prototype.scheduledDuration = null;
68168
+
68169
+ // OneOf field names bound to virtual getters and setters
68170
+ var $oneOfFields;
68171
+
68172
+ // Virtual OneOf for proto3 optional field
68173
+ Object.defineProperty(ScheduledCoachingSession.prototype, "_scheduledDuration", {
68174
+ get: $util.oneOfGetter($oneOfFields = ["scheduledDuration"]),
68175
+ set: $util.oneOfSetter($oneOfFields)
68176
+ });
68177
+
68160
68178
  /**
68161
68179
  * Creates a new ScheduledCoachingSession instance using the specified properties.
68162
68180
  * @function create
@@ -68223,6 +68241,8 @@ $root.coaching = (function() {
68223
68241
  writer.uint32(/* id 18, wireType 0 =*/144).uint64(message.coachEngagedAt);
68224
68242
  if (message.coachCancelled != null && Object.hasOwnProperty.call(message, "coachCancelled"))
68225
68243
  writer.uint32(/* id 19, wireType 0 =*/152).bool(message.coachCancelled);
68244
+ if (message.scheduledDuration != null && Object.hasOwnProperty.call(message, "scheduledDuration"))
68245
+ writer.uint32(/* id 20, wireType 0 =*/160).uint32(message.scheduledDuration);
68226
68246
  if (message.$unknowns != null && Object.hasOwnProperty.call(message, "$unknowns"))
68227
68247
  for (var i = 0; i < message.$unknowns.length; ++i)
68228
68248
  writer.raw(message.$unknowns[i]);
@@ -68441,6 +68461,13 @@ $root.coaching = (function() {
68441
68461
  delete message.coachCancelled;
68442
68462
  continue;
68443
68463
  }
68464
+ case 20: {
68465
+ if (wireType !== 0)
68466
+ break;
68467
+ message.scheduledDuration = reader.uint32();
68468
+ message._scheduledDuration = "scheduledDuration";
68469
+ continue;
68470
+ }
68444
68471
  }
68445
68472
  reader.skipType(wireType, _depth, tag);
68446
68473
  $util.makeProp(message, "$unknowns", false);
@@ -68482,6 +68509,7 @@ $root.coaching = (function() {
68482
68509
  _depth = 0;
68483
68510
  if (_depth > $util.recursionLimit)
68484
68511
  return "max depth exceeded";
68512
+ var properties = {};
68485
68513
  if (message.id != null && message.hasOwnProperty("id"))
68486
68514
  if (!$util.isString(message.id))
68487
68515
  return "id: string expected";
@@ -68552,6 +68580,11 @@ $root.coaching = (function() {
68552
68580
  if (message.coachCancelled != null && message.hasOwnProperty("coachCancelled"))
68553
68581
  if (typeof message.coachCancelled !== "boolean")
68554
68582
  return "coachCancelled: boolean expected";
68583
+ if (message.scheduledDuration != null && message.hasOwnProperty("scheduledDuration")) {
68584
+ properties._scheduledDuration = 1;
68585
+ if (!$util.isInteger(message.scheduledDuration))
68586
+ return "scheduledDuration: integer expected";
68587
+ }
68555
68588
  return null;
68556
68589
  };
68557
68590
 
@@ -68724,6 +68757,8 @@ $root.coaching = (function() {
68724
68757
  if (object.coachCancelled != null)
68725
68758
  if (object.coachCancelled)
68726
68759
  message.coachCancelled = Boolean(object.coachCancelled);
68760
+ if (object.scheduledDuration != null)
68761
+ message.scheduledDuration = object.scheduledDuration >>> 0;
68727
68762
  return message;
68728
68763
  };
68729
68764
 
@@ -68871,6 +68906,11 @@ $root.coaching = (function() {
68871
68906
  object.coachEngagedAt = options.longs === String ? $util.Long.prototype.toString.call(message.coachEngagedAt) : options.longs === Number ? new $util.LongBits(message.coachEngagedAt.low >>> 0, message.coachEngagedAt.high >>> 0).toNumber(true) : message.coachEngagedAt;
68872
68907
  if (message.coachCancelled != null && message.hasOwnProperty("coachCancelled"))
68873
68908
  object.coachCancelled = message.coachCancelled;
68909
+ if (message.scheduledDuration != null && message.hasOwnProperty("scheduledDuration")) {
68910
+ object.scheduledDuration = message.scheduledDuration;
68911
+ if (options.oneofs)
68912
+ object._scheduledDuration = "scheduledDuration";
68913
+ }
68874
68914
  return object;
68875
68915
  };
68876
68916
 
@@ -77664,6 +77704,11 @@ $root.CoachingSessionCompleted = (function() {
77664
77704
  * @property {string|null} [engagementTimestampIso] CoachingSessionCompleted engagementTimestampIso
77665
77705
  * @property {number|Long|null} [endTimestamp] CoachingSessionCompleted endTimestamp
77666
77706
  * @property {string|null} [endTimestampIso] CoachingSessionCompleted endTimestampIso
77707
+ * @property {number|Long|null} [scheduledStartTimestamp] CoachingSessionCompleted scheduledStartTimestamp
77708
+ * @property {string|null} [scheduledStartTimestampIso] CoachingSessionCompleted scheduledStartTimestampIso
77709
+ * @property {number|Long|null} [scheduledEndTimestamp] CoachingSessionCompleted scheduledEndTimestamp
77710
+ * @property {string|null} [scheduledEndTimestampIso] CoachingSessionCompleted scheduledEndTimestampIso
77711
+ * @property {number|null} [scheduledDuration] CoachingSessionCompleted scheduledDuration
77667
77712
  * @property {Array.<Uint8Array>} [$unknowns] Unknown fields preserved while decoding
77668
77713
  */
77669
77714
 
@@ -77775,6 +77820,46 @@ $root.CoachingSessionCompleted = (function() {
77775
77820
  */
77776
77821
  CoachingSessionCompleted.prototype.endTimestampIso = null;
77777
77822
 
77823
+ /**
77824
+ * CoachingSessionCompleted scheduledStartTimestamp.
77825
+ * @member {number|Long|null|undefined} scheduledStartTimestamp
77826
+ * @memberof CoachingSessionCompleted
77827
+ * @instance
77828
+ */
77829
+ CoachingSessionCompleted.prototype.scheduledStartTimestamp = null;
77830
+
77831
+ /**
77832
+ * CoachingSessionCompleted scheduledStartTimestampIso.
77833
+ * @member {string|null|undefined} scheduledStartTimestampIso
77834
+ * @memberof CoachingSessionCompleted
77835
+ * @instance
77836
+ */
77837
+ CoachingSessionCompleted.prototype.scheduledStartTimestampIso = null;
77838
+
77839
+ /**
77840
+ * CoachingSessionCompleted scheduledEndTimestamp.
77841
+ * @member {number|Long|null|undefined} scheduledEndTimestamp
77842
+ * @memberof CoachingSessionCompleted
77843
+ * @instance
77844
+ */
77845
+ CoachingSessionCompleted.prototype.scheduledEndTimestamp = null;
77846
+
77847
+ /**
77848
+ * CoachingSessionCompleted scheduledEndTimestampIso.
77849
+ * @member {string|null|undefined} scheduledEndTimestampIso
77850
+ * @memberof CoachingSessionCompleted
77851
+ * @instance
77852
+ */
77853
+ CoachingSessionCompleted.prototype.scheduledEndTimestampIso = null;
77854
+
77855
+ /**
77856
+ * CoachingSessionCompleted scheduledDuration.
77857
+ * @member {number|null|undefined} scheduledDuration
77858
+ * @memberof CoachingSessionCompleted
77859
+ * @instance
77860
+ */
77861
+ CoachingSessionCompleted.prototype.scheduledDuration = null;
77862
+
77778
77863
  // OneOf field names bound to virtual getters and setters
77779
77864
  var $oneOfFields;
77780
77865
 
@@ -77820,6 +77905,36 @@ $root.CoachingSessionCompleted = (function() {
77820
77905
  set: $util.oneOfSetter($oneOfFields)
77821
77906
  });
77822
77907
 
77908
+ // Virtual OneOf for proto3 optional field
77909
+ Object.defineProperty(CoachingSessionCompleted.prototype, "_scheduledStartTimestamp", {
77910
+ get: $util.oneOfGetter($oneOfFields = ["scheduledStartTimestamp"]),
77911
+ set: $util.oneOfSetter($oneOfFields)
77912
+ });
77913
+
77914
+ // Virtual OneOf for proto3 optional field
77915
+ Object.defineProperty(CoachingSessionCompleted.prototype, "_scheduledStartTimestampIso", {
77916
+ get: $util.oneOfGetter($oneOfFields = ["scheduledStartTimestampIso"]),
77917
+ set: $util.oneOfSetter($oneOfFields)
77918
+ });
77919
+
77920
+ // Virtual OneOf for proto3 optional field
77921
+ Object.defineProperty(CoachingSessionCompleted.prototype, "_scheduledEndTimestamp", {
77922
+ get: $util.oneOfGetter($oneOfFields = ["scheduledEndTimestamp"]),
77923
+ set: $util.oneOfSetter($oneOfFields)
77924
+ });
77925
+
77926
+ // Virtual OneOf for proto3 optional field
77927
+ Object.defineProperty(CoachingSessionCompleted.prototype, "_scheduledEndTimestampIso", {
77928
+ get: $util.oneOfGetter($oneOfFields = ["scheduledEndTimestampIso"]),
77929
+ set: $util.oneOfSetter($oneOfFields)
77930
+ });
77931
+
77932
+ // Virtual OneOf for proto3 optional field
77933
+ Object.defineProperty(CoachingSessionCompleted.prototype, "_scheduledDuration", {
77934
+ get: $util.oneOfGetter($oneOfFields = ["scheduledDuration"]),
77935
+ set: $util.oneOfSetter($oneOfFields)
77936
+ });
77937
+
77823
77938
  /**
77824
77939
  * Creates a new CoachingSessionCompleted instance using the specified properties.
77825
77940
  * @function create
@@ -77868,6 +77983,16 @@ $root.CoachingSessionCompleted = (function() {
77868
77983
  writer.uint32(/* id 9, wireType 0 =*/72).uint64(message.endTimestamp);
77869
77984
  if (message.endTimestampIso != null && Object.hasOwnProperty.call(message, "endTimestampIso"))
77870
77985
  writer.uint32(/* id 10, wireType 2 =*/82).string(message.endTimestampIso);
77986
+ if (message.scheduledStartTimestamp != null && Object.hasOwnProperty.call(message, "scheduledStartTimestamp"))
77987
+ writer.uint32(/* id 11, wireType 0 =*/88).uint64(message.scheduledStartTimestamp);
77988
+ if (message.scheduledStartTimestampIso != null && Object.hasOwnProperty.call(message, "scheduledStartTimestampIso"))
77989
+ writer.uint32(/* id 12, wireType 2 =*/98).string(message.scheduledStartTimestampIso);
77990
+ if (message.scheduledEndTimestamp != null && Object.hasOwnProperty.call(message, "scheduledEndTimestamp"))
77991
+ writer.uint32(/* id 13, wireType 0 =*/104).uint64(message.scheduledEndTimestamp);
77992
+ if (message.scheduledEndTimestampIso != null && Object.hasOwnProperty.call(message, "scheduledEndTimestampIso"))
77993
+ writer.uint32(/* id 14, wireType 2 =*/114).string(message.scheduledEndTimestampIso);
77994
+ if (message.scheduledDuration != null && Object.hasOwnProperty.call(message, "scheduledDuration"))
77995
+ writer.uint32(/* id 15, wireType 0 =*/120).uint32(message.scheduledDuration);
77871
77996
  if (message.$unknowns != null && Object.hasOwnProperty.call(message, "$unknowns"))
77872
77997
  for (var i = 0; i < message.$unknowns.length; ++i)
77873
77998
  writer.raw(message.$unknowns[i]);
@@ -77988,6 +78113,41 @@ $root.CoachingSessionCompleted = (function() {
77988
78113
  message._endTimestampIso = "endTimestampIso";
77989
78114
  continue;
77990
78115
  }
78116
+ case 11: {
78117
+ if (wireType !== 0)
78118
+ break;
78119
+ message.scheduledStartTimestamp = reader.uint64();
78120
+ message._scheduledStartTimestamp = "scheduledStartTimestamp";
78121
+ continue;
78122
+ }
78123
+ case 12: {
78124
+ if (wireType !== 2)
78125
+ break;
78126
+ message.scheduledStartTimestampIso = reader.string();
78127
+ message._scheduledStartTimestampIso = "scheduledStartTimestampIso";
78128
+ continue;
78129
+ }
78130
+ case 13: {
78131
+ if (wireType !== 0)
78132
+ break;
78133
+ message.scheduledEndTimestamp = reader.uint64();
78134
+ message._scheduledEndTimestamp = "scheduledEndTimestamp";
78135
+ continue;
78136
+ }
78137
+ case 14: {
78138
+ if (wireType !== 2)
78139
+ break;
78140
+ message.scheduledEndTimestampIso = reader.string();
78141
+ message._scheduledEndTimestampIso = "scheduledEndTimestampIso";
78142
+ continue;
78143
+ }
78144
+ case 15: {
78145
+ if (wireType !== 0)
78146
+ break;
78147
+ message.scheduledDuration = reader.uint32();
78148
+ message._scheduledDuration = "scheduledDuration";
78149
+ continue;
78150
+ }
77991
78151
  }
77992
78152
  reader.skipType(wireType, _depth, tag);
77993
78153
  $util.makeProp(message, "$unknowns", false);
@@ -78082,6 +78242,31 @@ $root.CoachingSessionCompleted = (function() {
78082
78242
  if (!$util.isString(message.endTimestampIso))
78083
78243
  return "endTimestampIso: string expected";
78084
78244
  }
78245
+ if (message.scheduledStartTimestamp != null && message.hasOwnProperty("scheduledStartTimestamp")) {
78246
+ properties._scheduledStartTimestamp = 1;
78247
+ if (!$util.isInteger(message.scheduledStartTimestamp) && !(message.scheduledStartTimestamp && $util.isInteger(message.scheduledStartTimestamp.low) && $util.isInteger(message.scheduledStartTimestamp.high)))
78248
+ return "scheduledStartTimestamp: integer|Long expected";
78249
+ }
78250
+ if (message.scheduledStartTimestampIso != null && message.hasOwnProperty("scheduledStartTimestampIso")) {
78251
+ properties._scheduledStartTimestampIso = 1;
78252
+ if (!$util.isString(message.scheduledStartTimestampIso))
78253
+ return "scheduledStartTimestampIso: string expected";
78254
+ }
78255
+ if (message.scheduledEndTimestamp != null && message.hasOwnProperty("scheduledEndTimestamp")) {
78256
+ properties._scheduledEndTimestamp = 1;
78257
+ if (!$util.isInteger(message.scheduledEndTimestamp) && !(message.scheduledEndTimestamp && $util.isInteger(message.scheduledEndTimestamp.low) && $util.isInteger(message.scheduledEndTimestamp.high)))
78258
+ return "scheduledEndTimestamp: integer|Long expected";
78259
+ }
78260
+ if (message.scheduledEndTimestampIso != null && message.hasOwnProperty("scheduledEndTimestampIso")) {
78261
+ properties._scheduledEndTimestampIso = 1;
78262
+ if (!$util.isString(message.scheduledEndTimestampIso))
78263
+ return "scheduledEndTimestampIso: string expected";
78264
+ }
78265
+ if (message.scheduledDuration != null && message.hasOwnProperty("scheduledDuration")) {
78266
+ properties._scheduledDuration = 1;
78267
+ if (!$util.isInteger(message.scheduledDuration))
78268
+ return "scheduledDuration: integer expected";
78269
+ }
78085
78270
  return null;
78086
78271
  };
78087
78272
 
@@ -78165,6 +78350,30 @@ $root.CoachingSessionCompleted = (function() {
78165
78350
  message.endTimestamp = new $util.LongBits(object.endTimestamp.low >>> 0, object.endTimestamp.high >>> 0).toNumber(true);
78166
78351
  if (object.endTimestampIso != null)
78167
78352
  message.endTimestampIso = String(object.endTimestampIso);
78353
+ if (object.scheduledStartTimestamp != null)
78354
+ if ($util.Long)
78355
+ (message.scheduledStartTimestamp = $util.Long.fromValue(object.scheduledStartTimestamp)).unsigned = true;
78356
+ else if (typeof object.scheduledStartTimestamp === "string")
78357
+ message.scheduledStartTimestamp = parseInt(object.scheduledStartTimestamp, 10);
78358
+ else if (typeof object.scheduledStartTimestamp === "number")
78359
+ message.scheduledStartTimestamp = object.scheduledStartTimestamp;
78360
+ else if (typeof object.scheduledStartTimestamp === "object")
78361
+ message.scheduledStartTimestamp = new $util.LongBits(object.scheduledStartTimestamp.low >>> 0, object.scheduledStartTimestamp.high >>> 0).toNumber(true);
78362
+ if (object.scheduledStartTimestampIso != null)
78363
+ message.scheduledStartTimestampIso = String(object.scheduledStartTimestampIso);
78364
+ if (object.scheduledEndTimestamp != null)
78365
+ if ($util.Long)
78366
+ (message.scheduledEndTimestamp = $util.Long.fromValue(object.scheduledEndTimestamp)).unsigned = true;
78367
+ else if (typeof object.scheduledEndTimestamp === "string")
78368
+ message.scheduledEndTimestamp = parseInt(object.scheduledEndTimestamp, 10);
78369
+ else if (typeof object.scheduledEndTimestamp === "number")
78370
+ message.scheduledEndTimestamp = object.scheduledEndTimestamp;
78371
+ else if (typeof object.scheduledEndTimestamp === "object")
78372
+ message.scheduledEndTimestamp = new $util.LongBits(object.scheduledEndTimestamp.low >>> 0, object.scheduledEndTimestamp.high >>> 0).toNumber(true);
78373
+ if (object.scheduledEndTimestampIso != null)
78374
+ message.scheduledEndTimestampIso = String(object.scheduledEndTimestampIso);
78375
+ if (object.scheduledDuration != null)
78376
+ message.scheduledDuration = object.scheduledDuration >>> 0;
78168
78377
  return message;
78169
78378
  };
78170
78379
 
@@ -78242,6 +78451,41 @@ $root.CoachingSessionCompleted = (function() {
78242
78451
  if (options.oneofs)
78243
78452
  object._endTimestampIso = "endTimestampIso";
78244
78453
  }
78454
+ if (message.scheduledStartTimestamp != null && message.hasOwnProperty("scheduledStartTimestamp")) {
78455
+ if (typeof BigInt !== "undefined" && options.longs === BigInt)
78456
+ object.scheduledStartTimestamp = typeof message.scheduledStartTimestamp === "number" ? BigInt(message.scheduledStartTimestamp) : $util.Long.fromBits(message.scheduledStartTimestamp.low >>> 0, message.scheduledStartTimestamp.high >>> 0, true).toBigInt();
78457
+ else if (typeof message.scheduledStartTimestamp === "number")
78458
+ object.scheduledStartTimestamp = options.longs === String ? String(message.scheduledStartTimestamp) : message.scheduledStartTimestamp;
78459
+ else
78460
+ object.scheduledStartTimestamp = options.longs === String ? $util.Long.prototype.toString.call(message.scheduledStartTimestamp) : options.longs === Number ? new $util.LongBits(message.scheduledStartTimestamp.low >>> 0, message.scheduledStartTimestamp.high >>> 0).toNumber(true) : message.scheduledStartTimestamp;
78461
+ if (options.oneofs)
78462
+ object._scheduledStartTimestamp = "scheduledStartTimestamp";
78463
+ }
78464
+ if (message.scheduledStartTimestampIso != null && message.hasOwnProperty("scheduledStartTimestampIso")) {
78465
+ object.scheduledStartTimestampIso = message.scheduledStartTimestampIso;
78466
+ if (options.oneofs)
78467
+ object._scheduledStartTimestampIso = "scheduledStartTimestampIso";
78468
+ }
78469
+ if (message.scheduledEndTimestamp != null && message.hasOwnProperty("scheduledEndTimestamp")) {
78470
+ if (typeof BigInt !== "undefined" && options.longs === BigInt)
78471
+ object.scheduledEndTimestamp = typeof message.scheduledEndTimestamp === "number" ? BigInt(message.scheduledEndTimestamp) : $util.Long.fromBits(message.scheduledEndTimestamp.low >>> 0, message.scheduledEndTimestamp.high >>> 0, true).toBigInt();
78472
+ else if (typeof message.scheduledEndTimestamp === "number")
78473
+ object.scheduledEndTimestamp = options.longs === String ? String(message.scheduledEndTimestamp) : message.scheduledEndTimestamp;
78474
+ else
78475
+ object.scheduledEndTimestamp = options.longs === String ? $util.Long.prototype.toString.call(message.scheduledEndTimestamp) : options.longs === Number ? new $util.LongBits(message.scheduledEndTimestamp.low >>> 0, message.scheduledEndTimestamp.high >>> 0).toNumber(true) : message.scheduledEndTimestamp;
78476
+ if (options.oneofs)
78477
+ object._scheduledEndTimestamp = "scheduledEndTimestamp";
78478
+ }
78479
+ if (message.scheduledEndTimestampIso != null && message.hasOwnProperty("scheduledEndTimestampIso")) {
78480
+ object.scheduledEndTimestampIso = message.scheduledEndTimestampIso;
78481
+ if (options.oneofs)
78482
+ object._scheduledEndTimestampIso = "scheduledEndTimestampIso";
78483
+ }
78484
+ if (message.scheduledDuration != null && message.hasOwnProperty("scheduledDuration")) {
78485
+ object.scheduledDuration = message.scheduledDuration;
78486
+ if (options.oneofs)
78487
+ object._scheduledDuration = "scheduledDuration";
78488
+ }
78245
78489
  return object;
78246
78490
  };
78247
78491
 
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.822.0"
19
+ "version": "1.823.0"
20
20
  }