@headspace/protos-events 1.855.0 → 1.857.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
@@ -95312,6 +95312,9 @@ export class PartnerSignalStateAssigned {
95312
95312
  */
95313
95313
  bundleIdentifier?: (string|null);
95314
95314
 
95315
+ /** Category of the assigned signal (e.g. sleep, activity, stress). */
95316
+ dataType: string;
95317
+
95315
95318
  /**
95316
95319
  * Creates a new PartnerSignalStateAssigned instance using the specified properties.
95317
95320
  * @param [properties] Properties to set
@@ -95432,6 +95435,9 @@ export namespace PartnerSignalStateAssigned {
95432
95435
  */
95433
95436
  bundleIdentifier?: (string|null);
95434
95437
 
95438
+ /** Category of the assigned signal (e.g. sleep, activity, stress). */
95439
+ dataType?: (string|null);
95440
+
95435
95441
  /** Unknown fields preserved while decoding */
95436
95442
  $unknowns?: Uint8Array[];
95437
95443
  }
package/lib/index.js CHANGED
@@ -280067,6 +280067,7 @@ $root.PartnerSignalStateAssigned = (function() {
280067
280067
  * Only populated when source is apple_health.
280068
280068
  * @property {string|null} [bundleIdentifier] Bundle identifier of the HealthKit data source (e.g. com.apple.health, com.autosleep.app).
280069
280069
  * Only populated for apple_health push payloads.
280070
+ * @property {string|null} [dataType] Category of the assigned signal (e.g. sleep, activity, stress).
280070
280071
  * @property {Array.<Uint8Array>} [$unknowns] Unknown fields preserved while decoding
280071
280072
  */
280072
280073
 
@@ -280173,6 +280174,14 @@ $root.PartnerSignalStateAssigned = (function() {
280173
280174
  */
280174
280175
  PartnerSignalStateAssigned.prototype.bundleIdentifier = null;
280175
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
+
280176
280185
  // OneOf field names bound to virtual getters and setters
280177
280186
  var $oneOfFields;
280178
280187
 
@@ -280246,6 +280255,8 @@ $root.PartnerSignalStateAssigned = (function() {
280246
280255
  writer.uint32(/* id 8, wireType 2 =*/66).string(message.coldStartStatus);
280247
280256
  if (message.bundleIdentifier != null && Object.hasOwnProperty.call(message, "bundleIdentifier"))
280248
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);
280249
280260
  if (message.$unknowns != null && Object.hasOwnProperty.call(message, "$unknowns"))
280250
280261
  for (var i = 0; i < message.$unknowns.length; ++i)
280251
280262
  writer.raw(message.$unknowns[i]);
@@ -280366,6 +280377,15 @@ $root.PartnerSignalStateAssigned = (function() {
280366
280377
  message._bundleIdentifier = "bundleIdentifier";
280367
280378
  continue;
280368
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
+ }
280369
280389
  }
280370
280390
  reader.skipType(wireType, _depth, tag);
280371
280391
  $util.makeProp(message, "$unknowns", false);
@@ -280443,6 +280463,9 @@ $root.PartnerSignalStateAssigned = (function() {
280443
280463
  if (!$util.isString(message.bundleIdentifier))
280444
280464
  return "bundleIdentifier: string expected";
280445
280465
  }
280466
+ if (message.dataType != null && message.hasOwnProperty("dataType"))
280467
+ if (!$util.isString(message.dataType))
280468
+ return "dataType: string expected";
280446
280469
  return null;
280447
280470
  };
280448
280471
 
@@ -280492,6 +280515,9 @@ $root.PartnerSignalStateAssigned = (function() {
280492
280515
  message.coldStartStatus = String(object.coldStartStatus);
280493
280516
  if (object.bundleIdentifier != null)
280494
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);
280495
280521
  return message;
280496
280522
  };
280497
280523
 
@@ -280518,6 +280544,7 @@ $root.PartnerSignalStateAssigned = (function() {
280518
280544
  } else
280519
280545
  object.createdAtTimestamp = options.longs === String ? "0" : typeof BigInt !== "undefined" && options.longs === BigInt ? BigInt("0") : 0;
280520
280546
  object.fidelityTier = "";
280547
+ object.dataType = "";
280521
280548
  }
280522
280549
  if (message.partnerId != null && message.hasOwnProperty("partnerId")) {
280523
280550
  object.partnerId = message.partnerId;
@@ -280554,6 +280581,8 @@ $root.PartnerSignalStateAssigned = (function() {
280554
280581
  if (options.oneofs)
280555
280582
  object._bundleIdentifier = "bundleIdentifier";
280556
280583
  }
280584
+ if (message.dataType != null && message.hasOwnProperty("dataType"))
280585
+ object.dataType = message.dataType;
280557
280586
  return object;
280558
280587
  };
280559
280588