@headspace/protos-events 1.263.0 → 1.265.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
@@ -11294,9 +11294,6 @@ export namespace userdomain {
11294
11294
 
11295
11295
  /** User tags */
11296
11296
  tags?: (userdomain.users.UserTag[]|null);
11297
-
11298
- /** User isAnonymousUser */
11299
- isAnonymousUser?: (boolean|null);
11300
11297
  }
11301
11298
 
11302
11299
  /** Represents a User. */
@@ -11362,9 +11359,6 @@ export namespace userdomain {
11362
11359
  /** User tags. */
11363
11360
  public tags: userdomain.users.UserTag[];
11364
11361
 
11365
- /** User isAnonymousUser. */
11366
- public isAnonymousUser: boolean;
11367
-
11368
11362
  /**
11369
11363
  * Creates a new User instance using the specified properties.
11370
11364
  * @param [properties] Properties to set
@@ -21788,7 +21782,8 @@ export enum ContentType {
21788
21782
  CONTENT_TYPE_INTERVIEW = 13,
21789
21783
  CONTENT_TYPE_TECHNIQUE = 14,
21790
21784
  CONTENT_TYPE_COURSE_ACTIVITY = 15,
21791
- CONTENT_TYPE_INTEGRATED_AUDIO = 16
21785
+ CONTENT_TYPE_INTEGRATED_AUDIO = 16,
21786
+ CONTENT_TYPE_ACTIVITY = 17
21792
21787
  }
21793
21788
 
21794
21789
  /** Mode enum. */
@@ -21833,7 +21828,8 @@ export enum ContentTypeDisplayValue {
21833
21828
  CONTENT_TYPE_DISPLAY_VALUE_UNGUIDED = 20,
21834
21829
  CONTENT_TYPE_DISPLAY_VALUE_JOURNAL = 21,
21835
21830
  CONTENT_TYPE_DISPLAY_VALUE_STRETCH = 22,
21836
- CONTENT_TYPE_DISPLAY_VALUE_THE_WIND_DOWN = 23
21831
+ CONTENT_TYPE_DISPLAY_VALUE_THE_WIND_DOWN = 23,
21832
+ CONTENT_TYPE_DISPLAY_VALUE_SESSION = 24
21837
21833
  }
21838
21834
 
21839
21835
  /** Properties of a ContentPlayedMetadata. */
package/lib/index.js CHANGED
@@ -27096,7 +27096,6 @@ $root.userdomain = (function() {
27096
27096
  * @property {boolean|null} [isHeadspaceStaff] User isHeadspaceStaff
27097
27097
  * @property {boolean|null} [isTestUser] User isTestUser
27098
27098
  * @property {Array.<userdomain.users.UserTag>|null} [tags] User tags
27099
- * @property {boolean|null} [isAnonymousUser] User isAnonymousUser
27100
27099
  */
27101
27100
 
27102
27101
  /**
@@ -27259,14 +27258,6 @@ $root.userdomain = (function() {
27259
27258
  */
27260
27259
  User.prototype.tags = $util.emptyArray;
27261
27260
 
27262
- /**
27263
- * User isAnonymousUser.
27264
- * @member {boolean} isAnonymousUser
27265
- * @memberof userdomain.users.User
27266
- * @instance
27267
- */
27268
- User.prototype.isAnonymousUser = false;
27269
-
27270
27261
  /**
27271
27262
  * Creates a new User instance using the specified properties.
27272
27263
  * @function create
@@ -27331,8 +27322,6 @@ $root.userdomain = (function() {
27331
27322
  writer.int32(message.tags[i]);
27332
27323
  writer.ldelim();
27333
27324
  }
27334
- if (message.isAnonymousUser != null && message.hasOwnProperty("isAnonymousUser"))
27335
- writer.uint32(/* id 19, wireType 0 =*/152).bool(message.isAnonymousUser);
27336
27325
  return writer;
27337
27326
  };
27338
27327
 
@@ -27428,9 +27417,6 @@ $root.userdomain = (function() {
27428
27417
  } else
27429
27418
  message.tags.push(reader.int32());
27430
27419
  break;
27431
- case 19:
27432
- message.isAnonymousUser = reader.bool();
27433
- break;
27434
27420
  default:
27435
27421
  reader.skipType(tag & 7);
27436
27422
  break;
@@ -27548,9 +27534,6 @@ $root.userdomain = (function() {
27548
27534
  break;
27549
27535
  }
27550
27536
  }
27551
- if (message.isAnonymousUser != null && message.hasOwnProperty("isAnonymousUser"))
27552
- if (typeof message.isAnonymousUser !== "boolean")
27553
- return "isAnonymousUser: boolean expected";
27554
27537
  return null;
27555
27538
  };
27556
27539
 
@@ -27669,8 +27652,6 @@ $root.userdomain = (function() {
27669
27652
  break;
27670
27653
  }
27671
27654
  }
27672
- if (object.isAnonymousUser != null)
27673
- message.isAnonymousUser = Boolean(object.isAnonymousUser);
27674
27655
  return message;
27675
27656
  };
27676
27657
 
@@ -27707,7 +27688,6 @@ $root.userdomain = (function() {
27707
27688
  object.emailNormalizedSha256 = "";
27708
27689
  object.isHeadspaceStaff = false;
27709
27690
  object.isTestUser = false;
27710
- object.isAnonymousUser = false;
27711
27691
  }
27712
27692
  if (message.hsId != null && message.hasOwnProperty("hsId"))
27713
27693
  object.hsId = message.hsId;
@@ -27748,8 +27728,6 @@ $root.userdomain = (function() {
27748
27728
  for (var j = 0; j < message.tags.length; ++j)
27749
27729
  object.tags[j] = options.enums === String ? $root.userdomain.users.UserTag[message.tags[j]] : message.tags[j];
27750
27730
  }
27751
- if (message.isAnonymousUser != null && message.hasOwnProperty("isAnonymousUser"))
27752
- object.isAnonymousUser = message.isAnonymousUser;
27753
27731
  return object;
27754
27732
  };
27755
27733
 
@@ -58242,6 +58220,7 @@ $root.ContentPlayed = (function() {
58242
58220
  case 14:
58243
58221
  case 15:
58244
58222
  case 16:
58223
+ case 17:
58245
58224
  break;
58246
58225
  }
58247
58226
  if (message.mode != null && message.hasOwnProperty("mode"))
@@ -58358,6 +58337,10 @@ $root.ContentPlayed = (function() {
58358
58337
  case 16:
58359
58338
  message.contentType = 16;
58360
58339
  break;
58340
+ case "CONTENT_TYPE_ACTIVITY":
58341
+ case 17:
58342
+ message.contentType = 17;
58343
+ break;
58361
58344
  }
58362
58345
  switch (object.mode) {
58363
58346
  case "MODE_UNRECOGNIZED":
@@ -58702,6 +58685,7 @@ $root.ContentPlayedBatch = (function() {
58702
58685
  * @property {number} CONTENT_TYPE_TECHNIQUE=14 CONTENT_TYPE_TECHNIQUE value
58703
58686
  * @property {number} CONTENT_TYPE_COURSE_ACTIVITY=15 CONTENT_TYPE_COURSE_ACTIVITY value
58704
58687
  * @property {number} CONTENT_TYPE_INTEGRATED_AUDIO=16 CONTENT_TYPE_INTEGRATED_AUDIO value
58688
+ * @property {number} CONTENT_TYPE_ACTIVITY=17 CONTENT_TYPE_ACTIVITY value
58705
58689
  */
58706
58690
  $root.ContentType = (function() {
58707
58691
  var valuesById = {}, values = Object.create(valuesById);
@@ -58722,6 +58706,7 @@ $root.ContentType = (function() {
58722
58706
  values[valuesById[14] = "CONTENT_TYPE_TECHNIQUE"] = 14;
58723
58707
  values[valuesById[15] = "CONTENT_TYPE_COURSE_ACTIVITY"] = 15;
58724
58708
  values[valuesById[16] = "CONTENT_TYPE_INTEGRATED_AUDIO"] = 16;
58709
+ values[valuesById[17] = "CONTENT_TYPE_ACTIVITY"] = 17;
58725
58710
  return values;
58726
58711
  })();
58727
58712
 
@@ -58791,6 +58776,7 @@ $root.ColorTheme = (function() {
58791
58776
  * @property {number} CONTENT_TYPE_DISPLAY_VALUE_JOURNAL=21 CONTENT_TYPE_DISPLAY_VALUE_JOURNAL value
58792
58777
  * @property {number} CONTENT_TYPE_DISPLAY_VALUE_STRETCH=22 CONTENT_TYPE_DISPLAY_VALUE_STRETCH value
58793
58778
  * @property {number} CONTENT_TYPE_DISPLAY_VALUE_THE_WIND_DOWN=23 CONTENT_TYPE_DISPLAY_VALUE_THE_WIND_DOWN value
58779
+ * @property {number} CONTENT_TYPE_DISPLAY_VALUE_SESSION=24 CONTENT_TYPE_DISPLAY_VALUE_SESSION value
58794
58780
  */
58795
58781
  $root.ContentTypeDisplayValue = (function() {
58796
58782
  var valuesById = {}, values = Object.create(valuesById);
@@ -58818,6 +58804,7 @@ $root.ContentTypeDisplayValue = (function() {
58818
58804
  values[valuesById[21] = "CONTENT_TYPE_DISPLAY_VALUE_JOURNAL"] = 21;
58819
58805
  values[valuesById[22] = "CONTENT_TYPE_DISPLAY_VALUE_STRETCH"] = 22;
58820
58806
  values[valuesById[23] = "CONTENT_TYPE_DISPLAY_VALUE_THE_WIND_DOWN"] = 23;
58807
+ values[valuesById[24] = "CONTENT_TYPE_DISPLAY_VALUE_SESSION"] = 24;
58821
58808
  return values;
58822
58809
  })();
58823
58810
 
@@ -59397,6 +59384,7 @@ $root.ContentEntityCreated = (function() {
59397
59384
  case 14:
59398
59385
  case 15:
59399
59386
  case 16:
59387
+ case 17:
59400
59388
  break;
59401
59389
  }
59402
59390
  if (message.colorTheme != null && message.hasOwnProperty("colorTheme"))
@@ -59445,6 +59433,7 @@ $root.ContentEntityCreated = (function() {
59445
59433
  case 21:
59446
59434
  case 22:
59447
59435
  case 23:
59436
+ case 24:
59448
59437
  break;
59449
59438
  }
59450
59439
  if (message.contentInfoScreenTheme != null && message.hasOwnProperty("contentInfoScreenTheme"))
@@ -59557,6 +59546,10 @@ $root.ContentEntityCreated = (function() {
59557
59546
  case 16:
59558
59547
  message.contentType = 16;
59559
59548
  break;
59549
+ case "CONTENT_TYPE_ACTIVITY":
59550
+ case 17:
59551
+ message.contentType = 17;
59552
+ break;
59560
59553
  }
59561
59554
  switch (object.colorTheme) {
59562
59555
  case "COLOR_THEME_UNRECOGNIZED":
@@ -59675,6 +59668,10 @@ $root.ContentEntityCreated = (function() {
59675
59668
  case 23:
59676
59669
  message.contentTypeDisplayValue = 23;
59677
59670
  break;
59671
+ case "CONTENT_TYPE_DISPLAY_VALUE_SESSION":
59672
+ case 24:
59673
+ message.contentTypeDisplayValue = 24;
59674
+ break;
59678
59675
  }
59679
59676
  switch (object.contentInfoScreenTheme) {
59680
59677
  case "COLOR_THEME_UNRECOGNIZED":
@@ -60124,6 +60121,7 @@ $root.ContentEntityUpdated = (function() {
60124
60121
  case 14:
60125
60122
  case 15:
60126
60123
  case 16:
60124
+ case 17:
60127
60125
  break;
60128
60126
  }
60129
60127
  if (message.colorTheme != null && message.hasOwnProperty("colorTheme"))
@@ -60172,6 +60170,7 @@ $root.ContentEntityUpdated = (function() {
60172
60170
  case 21:
60173
60171
  case 22:
60174
60172
  case 23:
60173
+ case 24:
60175
60174
  break;
60176
60175
  }
60177
60176
  if (message.contentInfoScreenTheme != null && message.hasOwnProperty("contentInfoScreenTheme"))
@@ -60284,6 +60283,10 @@ $root.ContentEntityUpdated = (function() {
60284
60283
  case 16:
60285
60284
  message.contentType = 16;
60286
60285
  break;
60286
+ case "CONTENT_TYPE_ACTIVITY":
60287
+ case 17:
60288
+ message.contentType = 17;
60289
+ break;
60287
60290
  }
60288
60291
  switch (object.colorTheme) {
60289
60292
  case "COLOR_THEME_UNRECOGNIZED":
@@ -60402,6 +60405,10 @@ $root.ContentEntityUpdated = (function() {
60402
60405
  case 23:
60403
60406
  message.contentTypeDisplayValue = 23;
60404
60407
  break;
60408
+ case "CONTENT_TYPE_DISPLAY_VALUE_SESSION":
60409
+ case 24:
60410
+ message.contentTypeDisplayValue = 24;
60411
+ break;
60405
60412
  }
60406
60413
  switch (object.contentInfoScreenTheme) {
60407
60414
  case "COLOR_THEME_UNRECOGNIZED":
@@ -60851,6 +60858,7 @@ $root.ContentEntityDeleted = (function() {
60851
60858
  case 14:
60852
60859
  case 15:
60853
60860
  case 16:
60861
+ case 17:
60854
60862
  break;
60855
60863
  }
60856
60864
  if (message.colorTheme != null && message.hasOwnProperty("colorTheme"))
@@ -60899,6 +60907,7 @@ $root.ContentEntityDeleted = (function() {
60899
60907
  case 21:
60900
60908
  case 22:
60901
60909
  case 23:
60910
+ case 24:
60902
60911
  break;
60903
60912
  }
60904
60913
  if (message.contentInfoScreenTheme != null && message.hasOwnProperty("contentInfoScreenTheme"))
@@ -61011,6 +61020,10 @@ $root.ContentEntityDeleted = (function() {
61011
61020
  case 16:
61012
61021
  message.contentType = 16;
61013
61022
  break;
61023
+ case "CONTENT_TYPE_ACTIVITY":
61024
+ case 17:
61025
+ message.contentType = 17;
61026
+ break;
61014
61027
  }
61015
61028
  switch (object.colorTheme) {
61016
61029
  case "COLOR_THEME_UNRECOGNIZED":
@@ -61129,6 +61142,10 @@ $root.ContentEntityDeleted = (function() {
61129
61142
  case 23:
61130
61143
  message.contentTypeDisplayValue = 23;
61131
61144
  break;
61145
+ case "CONTENT_TYPE_DISPLAY_VALUE_SESSION":
61146
+ case 24:
61147
+ message.contentTypeDisplayValue = 24;
61148
+ break;
61132
61149
  }
61133
61150
  switch (object.contentInfoScreenTheme) {
61134
61151
  case "COLOR_THEME_UNRECOGNIZED":
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.263.0"
19
+ "version": "1.265.0"
20
20
  }