@headspace/protos-events 1.854.0 → 1.856.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
@@ -72499,6 +72499,9 @@ export class CmsAccessAlignmentCompleted {
72499
72499
  /** CmsAccessAlignmentCompleted submittedAt. */
72500
72500
  submittedAt: (number|Long);
72501
72501
 
72502
+ /** CmsAccessAlignmentCompleted clinicalTrack. */
72503
+ clinicalTrack: string;
72504
+
72502
72505
  /**
72503
72506
  * Creates a new CmsAccessAlignmentCompleted instance using the specified properties.
72504
72507
  * @param [properties] Properties to set
@@ -72607,6 +72610,9 @@ export namespace CmsAccessAlignmentCompleted {
72607
72610
  /** CmsAccessAlignmentCompleted submittedAt */
72608
72611
  submittedAt?: (number|Long|null);
72609
72612
 
72613
+ /** CmsAccessAlignmentCompleted clinicalTrack */
72614
+ clinicalTrack?: (string|null);
72615
+
72610
72616
  /** Unknown fields preserved while decoding */
72611
72617
  $unknowns?: Uint8Array[];
72612
72618
  }
@@ -95306,6 +95312,9 @@ export class PartnerSignalStateAssigned {
95306
95312
  */
95307
95313
  bundleIdentifier?: (string|null);
95308
95314
 
95315
+ /** Category of the assigned signal (e.g. sleep, activity, stress). */
95316
+ dataType: string;
95317
+
95309
95318
  /**
95310
95319
  * Creates a new PartnerSignalStateAssigned instance using the specified properties.
95311
95320
  * @param [properties] Properties to set
@@ -95426,6 +95435,9 @@ export namespace PartnerSignalStateAssigned {
95426
95435
  */
95427
95436
  bundleIdentifier?: (string|null);
95428
95437
 
95438
+ /** Category of the assigned signal (e.g. sleep, activity, stress). */
95439
+ dataType?: (string|null);
95440
+
95429
95441
  /** Unknown fields preserved while decoding */
95430
95442
  $unknowns?: Uint8Array[];
95431
95443
  }
package/lib/index.js CHANGED
@@ -210860,6 +210860,7 @@ $root.CmsAccessAlignmentCompleted = (function() {
210860
210860
  * @property {number|Long|null} [alignedAt] CmsAccessAlignmentCompleted alignedAt
210861
210861
  * @property {number|Long|null} [carePeriodEndsAt] CmsAccessAlignmentCompleted carePeriodEndsAt
210862
210862
  * @property {number|Long|null} [submittedAt] CmsAccessAlignmentCompleted submittedAt
210863
+ * @property {string|null} [clinicalTrack] CmsAccessAlignmentCompleted clinicalTrack
210863
210864
  * @property {Array.<Uint8Array>} [$unknowns] Unknown fields preserved while decoding
210864
210865
  */
210865
210866
 
@@ -210958,6 +210959,14 @@ $root.CmsAccessAlignmentCompleted = (function() {
210958
210959
  */
210959
210960
  CmsAccessAlignmentCompleted.prototype.submittedAt = $util.Long ? $util.Long.fromBits(0,0,true) : 0;
210960
210961
 
210962
+ /**
210963
+ * CmsAccessAlignmentCompleted clinicalTrack.
210964
+ * @member {string} clinicalTrack
210965
+ * @memberof CmsAccessAlignmentCompleted
210966
+ * @instance
210967
+ */
210968
+ CmsAccessAlignmentCompleted.prototype.clinicalTrack = "";
210969
+
210961
210970
  /**
210962
210971
  * Creates a new CmsAccessAlignmentCompleted instance using the specified properties.
210963
210972
  * @function create
@@ -211002,6 +211011,8 @@ $root.CmsAccessAlignmentCompleted = (function() {
211002
211011
  writer.uint32(/* id 7, wireType 0 =*/56).uint64(message.carePeriodEndsAt);
211003
211012
  if (message.submittedAt != null && Object.hasOwnProperty.call(message, "submittedAt"))
211004
211013
  writer.uint32(/* id 8, wireType 0 =*/64).uint64(message.submittedAt);
211014
+ if (message.clinicalTrack != null && Object.hasOwnProperty.call(message, "clinicalTrack"))
211015
+ writer.uint32(/* id 9, wireType 2 =*/74).string(message.clinicalTrack);
211005
211016
  if (message.$unknowns != null && Object.hasOwnProperty.call(message, "$unknowns"))
211006
211017
  for (var i = 0; i < message.$unknowns.length; ++i)
211007
211018
  writer.raw(message.$unknowns[i]);
@@ -211121,6 +211132,15 @@ $root.CmsAccessAlignmentCompleted = (function() {
211121
211132
  delete message.submittedAt;
211122
211133
  continue;
211123
211134
  }
211135
+ case 9: {
211136
+ if (wireType !== 2)
211137
+ break;
211138
+ if ((value = reader.string()).length)
211139
+ message.clinicalTrack = value;
211140
+ else
211141
+ delete message.clinicalTrack;
211142
+ continue;
211143
+ }
211124
211144
  }
211125
211145
  reader.skipType(wireType, _depth, tag);
211126
211146
  $util.makeProp(message, "$unknowns", false);
@@ -211200,6 +211220,9 @@ $root.CmsAccessAlignmentCompleted = (function() {
211200
211220
  if (message.submittedAt != null && message.hasOwnProperty("submittedAt"))
211201
211221
  if (!$util.isInteger(message.submittedAt) && !(message.submittedAt && $util.isInteger(message.submittedAt.low) && $util.isInteger(message.submittedAt.high)))
211202
211222
  return "submittedAt: integer|Long expected";
211223
+ if (message.clinicalTrack != null && message.hasOwnProperty("clinicalTrack"))
211224
+ if (!$util.isString(message.clinicalTrack))
211225
+ return "clinicalTrack: string expected";
211203
211226
  return null;
211204
211227
  };
211205
211228
 
@@ -211321,6 +211344,9 @@ $root.CmsAccessAlignmentCompleted = (function() {
211321
211344
  message.submittedAt = object.submittedAt;
211322
211345
  else if (typeof object.submittedAt === "object")
211323
211346
  message.submittedAt = new $util.LongBits(object.submittedAt.low >>> 0, object.submittedAt.high >>> 0).toNumber(true);
211347
+ if (object.clinicalTrack != null)
211348
+ if (typeof object.clinicalTrack !== "string" || object.clinicalTrack.length)
211349
+ message.clinicalTrack = String(object.clinicalTrack);
211324
211350
  return message;
211325
211351
  };
211326
211352
 
@@ -211362,6 +211388,7 @@ $root.CmsAccessAlignmentCompleted = (function() {
211362
211388
  object.submittedAt = options.longs === String ? long.toString() : options.longs === Number ? long.toNumber() : typeof BigInt !== "undefined" && options.longs === BigInt ? long.toBigInt() : long;
211363
211389
  } else
211364
211390
  object.submittedAt = options.longs === String ? "0" : typeof BigInt !== "undefined" && options.longs === BigInt ? BigInt("0") : 0;
211391
+ object.clinicalTrack = "";
211365
211392
  }
211366
211393
  if (message.timestamp != null && message.hasOwnProperty("timestamp"))
211367
211394
  if (typeof BigInt !== "undefined" && options.longs === BigInt)
@@ -211399,6 +211426,8 @@ $root.CmsAccessAlignmentCompleted = (function() {
211399
211426
  object.submittedAt = options.longs === String ? String(message.submittedAt) : message.submittedAt;
211400
211427
  else
211401
211428
  object.submittedAt = options.longs === String ? $util.Long.prototype.toString.call(message.submittedAt) : options.longs === Number ? new $util.LongBits(message.submittedAt.low >>> 0, message.submittedAt.high >>> 0).toNumber(true) : message.submittedAt;
211429
+ if (message.clinicalTrack != null && message.hasOwnProperty("clinicalTrack"))
211430
+ object.clinicalTrack = message.clinicalTrack;
211402
211431
  return object;
211403
211432
  };
211404
211433
 
@@ -280038,6 +280067,7 @@ $root.PartnerSignalStateAssigned = (function() {
280038
280067
  * Only populated when source is apple_health.
280039
280068
  * @property {string|null} [bundleIdentifier] Bundle identifier of the HealthKit data source (e.g. com.apple.health, com.autosleep.app).
280040
280069
  * Only populated for apple_health push payloads.
280070
+ * @property {string|null} [dataType] Category of the assigned signal (e.g. sleep, activity, stress).
280041
280071
  * @property {Array.<Uint8Array>} [$unknowns] Unknown fields preserved while decoding
280042
280072
  */
280043
280073
 
@@ -280144,6 +280174,14 @@ $root.PartnerSignalStateAssigned = (function() {
280144
280174
  */
280145
280175
  PartnerSignalStateAssigned.prototype.bundleIdentifier = null;
280146
280176
 
280177
+ /**
280178
+ * Category of the assigned signal (e.g. sleep, activity, stress).
280179
+ * @member {string} dataType
280180
+ * @memberof PartnerSignalStateAssigned
280181
+ * @instance
280182
+ */
280183
+ PartnerSignalStateAssigned.prototype.dataType = "";
280184
+
280147
280185
  // OneOf field names bound to virtual getters and setters
280148
280186
  var $oneOfFields;
280149
280187
 
@@ -280217,6 +280255,8 @@ $root.PartnerSignalStateAssigned = (function() {
280217
280255
  writer.uint32(/* id 8, wireType 2 =*/66).string(message.coldStartStatus);
280218
280256
  if (message.bundleIdentifier != null && Object.hasOwnProperty.call(message, "bundleIdentifier"))
280219
280257
  writer.uint32(/* id 9, wireType 2 =*/74).string(message.bundleIdentifier);
280258
+ if (message.dataType != null && Object.hasOwnProperty.call(message, "dataType"))
280259
+ writer.uint32(/* id 10, wireType 2 =*/82).string(message.dataType);
280220
280260
  if (message.$unknowns != null && Object.hasOwnProperty.call(message, "$unknowns"))
280221
280261
  for (var i = 0; i < message.$unknowns.length; ++i)
280222
280262
  writer.raw(message.$unknowns[i]);
@@ -280337,6 +280377,15 @@ $root.PartnerSignalStateAssigned = (function() {
280337
280377
  message._bundleIdentifier = "bundleIdentifier";
280338
280378
  continue;
280339
280379
  }
280380
+ case 10: {
280381
+ if (wireType !== 2)
280382
+ break;
280383
+ if ((value = reader.string()).length)
280384
+ message.dataType = value;
280385
+ else
280386
+ delete message.dataType;
280387
+ continue;
280388
+ }
280340
280389
  }
280341
280390
  reader.skipType(wireType, _depth, tag);
280342
280391
  $util.makeProp(message, "$unknowns", false);
@@ -280414,6 +280463,9 @@ $root.PartnerSignalStateAssigned = (function() {
280414
280463
  if (!$util.isString(message.bundleIdentifier))
280415
280464
  return "bundleIdentifier: string expected";
280416
280465
  }
280466
+ if (message.dataType != null && message.hasOwnProperty("dataType"))
280467
+ if (!$util.isString(message.dataType))
280468
+ return "dataType: string expected";
280417
280469
  return null;
280418
280470
  };
280419
280471
 
@@ -280463,6 +280515,9 @@ $root.PartnerSignalStateAssigned = (function() {
280463
280515
  message.coldStartStatus = String(object.coldStartStatus);
280464
280516
  if (object.bundleIdentifier != null)
280465
280517
  message.bundleIdentifier = String(object.bundleIdentifier);
280518
+ if (object.dataType != null)
280519
+ if (typeof object.dataType !== "string" || object.dataType.length)
280520
+ message.dataType = String(object.dataType);
280466
280521
  return message;
280467
280522
  };
280468
280523
 
@@ -280489,6 +280544,7 @@ $root.PartnerSignalStateAssigned = (function() {
280489
280544
  } else
280490
280545
  object.createdAtTimestamp = options.longs === String ? "0" : typeof BigInt !== "undefined" && options.longs === BigInt ? BigInt("0") : 0;
280491
280546
  object.fidelityTier = "";
280547
+ object.dataType = "";
280492
280548
  }
280493
280549
  if (message.partnerId != null && message.hasOwnProperty("partnerId")) {
280494
280550
  object.partnerId = message.partnerId;
@@ -280525,6 +280581,8 @@ $root.PartnerSignalStateAssigned = (function() {
280525
280581
  if (options.oneofs)
280526
280582
  object._bundleIdentifier = "bundleIdentifier";
280527
280583
  }
280584
+ if (message.dataType != null && message.hasOwnProperty("dataType"))
280585
+ object.dataType = message.dataType;
280528
280586
  return object;
280529
280587
  };
280530
280588
 
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.854.0"
19
+ "version": "1.856.0"
20
20
  }