@headspace/protos-events 1.852.0 → 1.854.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
@@ -49519,6 +49519,12 @@ export class ContentPlayed {
49519
49519
  /** ContentPlayed metadata. */
49520
49520
  metadata?: (ContentPlayedMetadata.$Properties|null);
49521
49521
 
49522
+ /** ContentPlayed passportId. */
49523
+ passportId: string;
49524
+
49525
+ /** ContentPlayed universe. */
49526
+ universe: string;
49527
+
49522
49528
  /**
49523
49529
  * Creates a new ContentPlayed instance using the specified properties.
49524
49530
  * @param [properties] Properties to set
@@ -49621,6 +49627,12 @@ export namespace ContentPlayed {
49621
49627
  /** ContentPlayed metadata */
49622
49628
  metadata?: (ContentPlayedMetadata.$Properties|null);
49623
49629
 
49630
+ /** ContentPlayed passportId */
49631
+ passportId?: (string|null);
49632
+
49633
+ /** ContentPlayed universe */
49634
+ universe?: (string|null);
49635
+
49624
49636
  /** Unknown fields preserved while decoding */
49625
49637
  $unknowns?: Uint8Array[];
49626
49638
  }
@@ -73953,6 +73965,12 @@ export class CmsAccessCareTeam {
73953
73965
  /** CmsAccessCareTeam referringClinicianNpi. */
73954
73966
  referringClinicianNpi: string;
73955
73967
 
73968
+ /** CmsAccessCareTeam pcpCity. */
73969
+ pcpCity: string;
73970
+
73971
+ /** CmsAccessCareTeam pcpState. */
73972
+ pcpState: string;
73973
+
73956
73974
  /**
73957
73975
  * Creates a new CmsAccessCareTeam instance using the specified properties.
73958
73976
  * @param [properties] Properties to set
@@ -74055,6 +74073,12 @@ export namespace CmsAccessCareTeam {
74055
74073
  /** CmsAccessCareTeam referringClinicianNpi */
74056
74074
  referringClinicianNpi?: (string|null);
74057
74075
 
74076
+ /** CmsAccessCareTeam pcpCity */
74077
+ pcpCity?: (string|null);
74078
+
74079
+ /** CmsAccessCareTeam pcpState */
74080
+ pcpState?: (string|null);
74081
+
74058
74082
  /** Unknown fields preserved while decoding */
74059
74083
  $unknowns?: Uint8Array[];
74060
74084
  }
package/lib/index.js CHANGED
@@ -147331,6 +147331,8 @@ $root.ContentPlayed = (function() {
147331
147331
  * @property {ContentType|null} [contentType] ContentPlayed contentType
147332
147332
  * @property {Mode|null} [mode] ContentPlayed mode
147333
147333
  * @property {ContentPlayedMetadata.$Properties|null} [metadata] ContentPlayed metadata
147334
+ * @property {string|null} [passportId] ContentPlayed passportId
147335
+ * @property {string|null} [universe] ContentPlayed universe
147334
147336
  * @property {Array.<Uint8Array>} [$unknowns] Unknown fields preserved while decoding
147335
147337
  */
147336
147338
 
@@ -147410,6 +147412,22 @@ $root.ContentPlayed = (function() {
147410
147412
  */
147411
147413
  ContentPlayed.prototype.metadata = null;
147412
147414
 
147415
+ /**
147416
+ * ContentPlayed passportId.
147417
+ * @member {string} passportId
147418
+ * @memberof ContentPlayed
147419
+ * @instance
147420
+ */
147421
+ ContentPlayed.prototype.passportId = "";
147422
+
147423
+ /**
147424
+ * ContentPlayed universe.
147425
+ * @member {string} universe
147426
+ * @memberof ContentPlayed
147427
+ * @instance
147428
+ */
147429
+ ContentPlayed.prototype.universe = "";
147430
+
147413
147431
  /**
147414
147432
  * Creates a new ContentPlayed instance using the specified properties.
147415
147433
  * @function create
@@ -147450,6 +147468,10 @@ $root.ContentPlayed = (function() {
147450
147468
  writer.uint32(/* id 5, wireType 0 =*/40).int32(message.mode);
147451
147469
  if (message.metadata != null && Object.hasOwnProperty.call(message, "metadata"))
147452
147470
  $root.ContentPlayedMetadata.encode(message.metadata, writer.uint32(/* id 6, wireType 2 =*/50).fork()).ldelim();
147471
+ if (message.passportId != null && Object.hasOwnProperty.call(message, "passportId"))
147472
+ writer.uint32(/* id 7, wireType 2 =*/58).string(message.passportId);
147473
+ if (message.universe != null && Object.hasOwnProperty.call(message, "universe"))
147474
+ writer.uint32(/* id 8, wireType 2 =*/66).string(message.universe);
147453
147475
  if (message.$unknowns != null && Object.hasOwnProperty.call(message, "$unknowns"))
147454
147476
  for (var i = 0; i < message.$unknowns.length; ++i)
147455
147477
  writer.raw(message.$unknowns[i]);
@@ -147548,6 +147570,24 @@ $root.ContentPlayed = (function() {
147548
147570
  message.metadata = $root.ContentPlayedMetadata.decode(reader, reader.uint32(), undefined, _depth + 1, message.metadata);
147549
147571
  continue;
147550
147572
  }
147573
+ case 7: {
147574
+ if (wireType !== 2)
147575
+ break;
147576
+ if ((value = reader.string()).length)
147577
+ message.passportId = value;
147578
+ else
147579
+ delete message.passportId;
147580
+ continue;
147581
+ }
147582
+ case 8: {
147583
+ if (wireType !== 2)
147584
+ break;
147585
+ if ((value = reader.string()).length)
147586
+ message.universe = value;
147587
+ else
147588
+ delete message.universe;
147589
+ continue;
147590
+ }
147551
147591
  }
147552
147592
  reader.skipType(wireType, _depth, tag);
147553
147593
  $util.makeProp(message, "$unknowns", false);
@@ -147643,6 +147683,12 @@ $root.ContentPlayed = (function() {
147643
147683
  if (error)
147644
147684
  return "metadata." + error;
147645
147685
  }
147686
+ if (message.passportId != null && message.hasOwnProperty("passportId"))
147687
+ if (!$util.isString(message.passportId))
147688
+ return "passportId: string expected";
147689
+ if (message.universe != null && message.hasOwnProperty("universe"))
147690
+ if (!$util.isString(message.universe))
147691
+ return "universe: string expected";
147646
147692
  return null;
147647
147693
  };
147648
147694
 
@@ -147813,6 +147859,12 @@ $root.ContentPlayed = (function() {
147813
147859
  throw TypeError(".ContentPlayed.metadata: object expected");
147814
147860
  message.metadata = $root.ContentPlayedMetadata.fromObject(object.metadata, _depth + 1);
147815
147861
  }
147862
+ if (object.passportId != null)
147863
+ if (typeof object.passportId !== "string" || object.passportId.length)
147864
+ message.passportId = String(object.passportId);
147865
+ if (object.universe != null)
147866
+ if (typeof object.universe !== "string" || object.universe.length)
147867
+ message.universe = String(object.universe);
147816
147868
  return message;
147817
147869
  };
147818
147870
 
@@ -147840,6 +147892,8 @@ $root.ContentPlayed = (function() {
147840
147892
  object.contentType = options.enums === String ? "CONTENT_TYPE_UNRECOGNIZED" : 0;
147841
147893
  object.mode = options.enums === String ? "MODE_UNRECOGNIZED" : 0;
147842
147894
  object.metadata = null;
147895
+ object.passportId = "";
147896
+ object.universe = "";
147843
147897
  }
147844
147898
  if (message.timestamp != null && message.hasOwnProperty("timestamp"))
147845
147899
  if (typeof BigInt !== "undefined" && options.longs === BigInt)
@@ -147858,6 +147912,10 @@ $root.ContentPlayed = (function() {
147858
147912
  object.mode = options.enums === String ? $root.Mode[message.mode] === undefined ? message.mode : $root.Mode[message.mode] : message.mode;
147859
147913
  if (message.metadata != null && message.hasOwnProperty("metadata"))
147860
147914
  object.metadata = $root.ContentPlayedMetadata.toObject(message.metadata, options);
147915
+ if (message.passportId != null && message.hasOwnProperty("passportId"))
147916
+ object.passportId = message.passportId;
147917
+ if (message.universe != null && message.hasOwnProperty("universe"))
147918
+ object.universe = message.universe;
147861
147919
  return object;
147862
147920
  };
147863
147921
 
@@ -215109,6 +215167,8 @@ $root.CmsAccessCareTeam = (function() {
215109
215167
  * @property {string|null} [referringClinicianName] CmsAccessCareTeam referringClinicianName
215110
215168
  * @property {string|null} [referringClinicianPhone] CmsAccessCareTeam referringClinicianPhone
215111
215169
  * @property {string|null} [referringClinicianNpi] CmsAccessCareTeam referringClinicianNpi
215170
+ * @property {string|null} [pcpCity] CmsAccessCareTeam pcpCity
215171
+ * @property {string|null} [pcpState] CmsAccessCareTeam pcpState
215112
215172
  * @property {Array.<Uint8Array>} [$unknowns] Unknown fields preserved while decoding
215113
215173
  */
215114
215174
 
@@ -215188,6 +215248,22 @@ $root.CmsAccessCareTeam = (function() {
215188
215248
  */
215189
215249
  CmsAccessCareTeam.prototype.referringClinicianNpi = "";
215190
215250
 
215251
+ /**
215252
+ * CmsAccessCareTeam pcpCity.
215253
+ * @member {string} pcpCity
215254
+ * @memberof CmsAccessCareTeam
215255
+ * @instance
215256
+ */
215257
+ CmsAccessCareTeam.prototype.pcpCity = "";
215258
+
215259
+ /**
215260
+ * CmsAccessCareTeam pcpState.
215261
+ * @member {string} pcpState
215262
+ * @memberof CmsAccessCareTeam
215263
+ * @instance
215264
+ */
215265
+ CmsAccessCareTeam.prototype.pcpState = "";
215266
+
215191
215267
  /**
215192
215268
  * Creates a new CmsAccessCareTeam instance using the specified properties.
215193
215269
  * @function create
@@ -215228,6 +215304,10 @@ $root.CmsAccessCareTeam = (function() {
215228
215304
  writer.uint32(/* id 5, wireType 2 =*/42).string(message.referringClinicianPhone);
215229
215305
  if (message.referringClinicianNpi != null && Object.hasOwnProperty.call(message, "referringClinicianNpi"))
215230
215306
  writer.uint32(/* id 6, wireType 2 =*/50).string(message.referringClinicianNpi);
215307
+ if (message.pcpCity != null && Object.hasOwnProperty.call(message, "pcpCity"))
215308
+ writer.uint32(/* id 7, wireType 2 =*/58).string(message.pcpCity);
215309
+ if (message.pcpState != null && Object.hasOwnProperty.call(message, "pcpState"))
215310
+ writer.uint32(/* id 8, wireType 2 =*/66).string(message.pcpState);
215231
215311
  if (message.$unknowns != null && Object.hasOwnProperty.call(message, "$unknowns"))
215232
215312
  for (var i = 0; i < message.$unknowns.length; ++i)
215233
215313
  writer.raw(message.$unknowns[i]);
@@ -215329,6 +215409,24 @@ $root.CmsAccessCareTeam = (function() {
215329
215409
  delete message.referringClinicianNpi;
215330
215410
  continue;
215331
215411
  }
215412
+ case 7: {
215413
+ if (wireType !== 2)
215414
+ break;
215415
+ if ((value = reader.string()).length)
215416
+ message.pcpCity = value;
215417
+ else
215418
+ delete message.pcpCity;
215419
+ continue;
215420
+ }
215421
+ case 8: {
215422
+ if (wireType !== 2)
215423
+ break;
215424
+ if ((value = reader.string()).length)
215425
+ message.pcpState = value;
215426
+ else
215427
+ delete message.pcpState;
215428
+ continue;
215429
+ }
215332
215430
  }
215333
215431
  reader.skipType(wireType, _depth, tag);
215334
215432
  $util.makeProp(message, "$unknowns", false);
@@ -215388,6 +215486,12 @@ $root.CmsAccessCareTeam = (function() {
215388
215486
  if (message.referringClinicianNpi != null && message.hasOwnProperty("referringClinicianNpi"))
215389
215487
  if (!$util.isString(message.referringClinicianNpi))
215390
215488
  return "referringClinicianNpi: string expected";
215489
+ if (message.pcpCity != null && message.hasOwnProperty("pcpCity"))
215490
+ if (!$util.isString(message.pcpCity))
215491
+ return "pcpCity: string expected";
215492
+ if (message.pcpState != null && message.hasOwnProperty("pcpState"))
215493
+ if (!$util.isString(message.pcpState))
215494
+ return "pcpState: string expected";
215391
215495
  return null;
215392
215496
  };
215393
215497
 
@@ -215425,6 +215529,12 @@ $root.CmsAccessCareTeam = (function() {
215425
215529
  if (object.referringClinicianNpi != null)
215426
215530
  if (typeof object.referringClinicianNpi !== "string" || object.referringClinicianNpi.length)
215427
215531
  message.referringClinicianNpi = String(object.referringClinicianNpi);
215532
+ if (object.pcpCity != null)
215533
+ if (typeof object.pcpCity !== "string" || object.pcpCity.length)
215534
+ message.pcpCity = String(object.pcpCity);
215535
+ if (object.pcpState != null)
215536
+ if (typeof object.pcpState !== "string" || object.pcpState.length)
215537
+ message.pcpState = String(object.pcpState);
215428
215538
  return message;
215429
215539
  };
215430
215540
 
@@ -215448,6 +215558,8 @@ $root.CmsAccessCareTeam = (function() {
215448
215558
  object.referringClinicianName = "";
215449
215559
  object.referringClinicianPhone = "";
215450
215560
  object.referringClinicianNpi = "";
215561
+ object.pcpCity = "";
215562
+ object.pcpState = "";
215451
215563
  }
215452
215564
  if (message.pcpName != null && message.hasOwnProperty("pcpName"))
215453
215565
  object.pcpName = message.pcpName;
@@ -215461,6 +215573,10 @@ $root.CmsAccessCareTeam = (function() {
215461
215573
  object.referringClinicianPhone = message.referringClinicianPhone;
215462
215574
  if (message.referringClinicianNpi != null && message.hasOwnProperty("referringClinicianNpi"))
215463
215575
  object.referringClinicianNpi = message.referringClinicianNpi;
215576
+ if (message.pcpCity != null && message.hasOwnProperty("pcpCity"))
215577
+ object.pcpCity = message.pcpCity;
215578
+ if (message.pcpState != null && message.hasOwnProperty("pcpState"))
215579
+ object.pcpState = message.pcpState;
215464
215580
  return object;
215465
215581
  };
215466
215582
 
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.852.0"
19
+ "version": "1.854.0"
20
20
  }