@headspace/protos-events 1.569.0 → 1.571.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
@@ -25460,7 +25460,8 @@ export enum ContentType {
25460
25460
  CONTENT_TYPE_INTEGRATED_AUDIO = 16,
25461
25461
  CONTENT_TYPE_ACTIVITY = 17,
25462
25462
  CONTENT_TYPE_COLLECTION = 18,
25463
- CONTENT_TYPE_GUIDED_PROGRAM = 19
25463
+ CONTENT_TYPE_GUIDED_PROGRAM = 19,
25464
+ CONTENT_TYPE_SURVEY = 20
25464
25465
  }
25465
25466
 
25466
25467
  /** Mode enum. */
@@ -25512,7 +25513,8 @@ export enum ContentTypeDisplayValue {
25512
25513
  CONTENT_TYPE_DISPLAY_VALUE_GUIDED_PROGRAM_SESSION = 27,
25513
25514
  CONTENT_TYPE_DISPLAY_VALUE_GUIDED_PROGRAM_REQUIRED_CONTENT = 28,
25514
25515
  CONTENT_TYPE_DISPLAY_VALUE_GUIDED_PROGRAM_BONUS_CONTENT = 29,
25515
- CONTENT_TYPE_DISPLAY_VALUE_GUIDED_PROGRAM = 30
25516
+ CONTENT_TYPE_DISPLAY_VALUE_GUIDED_PROGRAM = 30,
25517
+ CONTENT_TYPE_DISPLAY_VALUE_SURVEY = 31
25516
25518
  }
25517
25519
 
25518
25520
  /** Properties of a ContentPlayedMetadata. */
@@ -38533,7 +38535,7 @@ export interface IEnterpriseUserEnrollmentCreated {
38533
38535
  medicalPlan?: (string|null);
38534
38536
 
38535
38537
  /** EnterpriseUserEnrollmentCreated eapCoverageTotal */
38536
- eapCoverageTotal?: (number|Long|null);
38538
+ eapCoverageTotal?: (number|null);
38537
38539
 
38538
38540
  /** EnterpriseUserEnrollmentCreated eapServiceType */
38539
38541
  eapServiceType?: (b2b.EapServiceType|null);
@@ -38651,7 +38653,7 @@ export class EnterpriseUserEnrollmentCreated implements IEnterpriseUserEnrollmen
38651
38653
  public medicalPlan: string;
38652
38654
 
38653
38655
  /** EnterpriseUserEnrollmentCreated eapCoverageTotal. */
38654
- public eapCoverageTotal: (number|Long);
38656
+ public eapCoverageTotal: number;
38655
38657
 
38656
38658
  /** EnterpriseUserEnrollmentCreated eapServiceType. */
38657
38659
  public eapServiceType: b2b.EapServiceType;
@@ -38822,6 +38824,12 @@ export interface IEnterpriseUserEnrollmentRemoved {
38822
38824
 
38823
38825
  /** EnterpriseUserEnrollmentRemoved eapCoverage */
38824
38826
  eapCoverage?: (b2b.EapCoverage|null);
38827
+
38828
+ /** EnterpriseUserEnrollmentRemoved eapCoverageTotal */
38829
+ eapCoverageTotal?: (number|null);
38830
+
38831
+ /** EnterpriseUserEnrollmentRemoved eapServiceType */
38832
+ eapServiceType?: (b2b.EapServiceType|null);
38825
38833
  }
38826
38834
 
38827
38835
  /** Represents an EnterpriseUserEnrollmentRemoved. */
@@ -38926,6 +38934,12 @@ export class EnterpriseUserEnrollmentRemoved implements IEnterpriseUserEnrollmen
38926
38934
  /** EnterpriseUserEnrollmentRemoved eapCoverage. */
38927
38935
  public eapCoverage: b2b.EapCoverage;
38928
38936
 
38937
+ /** EnterpriseUserEnrollmentRemoved eapCoverageTotal. */
38938
+ public eapCoverageTotal: number;
38939
+
38940
+ /** EnterpriseUserEnrollmentRemoved eapServiceType. */
38941
+ public eapServiceType: b2b.EapServiceType;
38942
+
38929
38943
  /**
38930
38944
  * Creates a new EnterpriseUserEnrollmentRemoved instance using the specified properties.
38931
38945
  * @param [properties] Properties to set
@@ -39098,6 +39112,12 @@ export interface IEnterpriseUserEnrollmentAmended {
39098
39112
 
39099
39113
  /** EnterpriseUserEnrollmentAmended medicalPlan */
39100
39114
  medicalPlan?: (string|null);
39115
+
39116
+ /** EnterpriseUserEnrollmentAmended eapCoverageTotal */
39117
+ eapCoverageTotal?: (number|null);
39118
+
39119
+ /** EnterpriseUserEnrollmentAmended eapServiceType */
39120
+ eapServiceType?: (b2b.EapServiceType|null);
39101
39121
  }
39102
39122
 
39103
39123
  /** Represents an EnterpriseUserEnrollmentAmended. */
@@ -39208,6 +39228,12 @@ export class EnterpriseUserEnrollmentAmended implements IEnterpriseUserEnrollmen
39208
39228
  /** EnterpriseUserEnrollmentAmended medicalPlan. */
39209
39229
  public medicalPlan: string;
39210
39230
 
39231
+ /** EnterpriseUserEnrollmentAmended eapCoverageTotal. */
39232
+ public eapCoverageTotal: number;
39233
+
39234
+ /** EnterpriseUserEnrollmentAmended eapServiceType. */
39235
+ public eapServiceType: b2b.EapServiceType;
39236
+
39211
39237
  /**
39212
39238
  * Creates a new EnterpriseUserEnrollmentAmended instance using the specified properties.
39213
39239
  * @param [properties] Properties to set
package/lib/index.js CHANGED
@@ -69484,6 +69484,7 @@ $root.ContentPlayed = (function() {
69484
69484
  case 17:
69485
69485
  case 18:
69486
69486
  case 19:
69487
+ case 20:
69487
69488
  break;
69488
69489
  }
69489
69490
  if (message.mode != null && message.hasOwnProperty("mode"))
@@ -69612,6 +69613,10 @@ $root.ContentPlayed = (function() {
69612
69613
  case 19:
69613
69614
  message.contentType = 19;
69614
69615
  break;
69616
+ case "CONTENT_TYPE_SURVEY":
69617
+ case 20:
69618
+ message.contentType = 20;
69619
+ break;
69615
69620
  }
69616
69621
  switch (object.mode) {
69617
69622
  case "MODE_UNRECOGNIZED":
@@ -69959,6 +69964,7 @@ $root.ContentPlayedBatch = (function() {
69959
69964
  * @property {number} CONTENT_TYPE_ACTIVITY=17 CONTENT_TYPE_ACTIVITY value
69960
69965
  * @property {number} CONTENT_TYPE_COLLECTION=18 CONTENT_TYPE_COLLECTION value
69961
69966
  * @property {number} CONTENT_TYPE_GUIDED_PROGRAM=19 CONTENT_TYPE_GUIDED_PROGRAM value
69967
+ * @property {number} CONTENT_TYPE_SURVEY=20 CONTENT_TYPE_SURVEY value
69962
69968
  */
69963
69969
  $root.ContentType = (function() {
69964
69970
  var valuesById = {}, values = Object.create(valuesById);
@@ -69982,6 +69988,7 @@ $root.ContentType = (function() {
69982
69988
  values[valuesById[17] = "CONTENT_TYPE_ACTIVITY"] = 17;
69983
69989
  values[valuesById[18] = "CONTENT_TYPE_COLLECTION"] = 18;
69984
69990
  values[valuesById[19] = "CONTENT_TYPE_GUIDED_PROGRAM"] = 19;
69991
+ values[valuesById[20] = "CONTENT_TYPE_SURVEY"] = 20;
69985
69992
  return values;
69986
69993
  })();
69987
69994
 
@@ -70058,6 +70065,7 @@ $root.ColorTheme = (function() {
70058
70065
  * @property {number} CONTENT_TYPE_DISPLAY_VALUE_GUIDED_PROGRAM_REQUIRED_CONTENT=28 CONTENT_TYPE_DISPLAY_VALUE_GUIDED_PROGRAM_REQUIRED_CONTENT value
70059
70066
  * @property {number} CONTENT_TYPE_DISPLAY_VALUE_GUIDED_PROGRAM_BONUS_CONTENT=29 CONTENT_TYPE_DISPLAY_VALUE_GUIDED_PROGRAM_BONUS_CONTENT value
70060
70067
  * @property {number} CONTENT_TYPE_DISPLAY_VALUE_GUIDED_PROGRAM=30 CONTENT_TYPE_DISPLAY_VALUE_GUIDED_PROGRAM value
70068
+ * @property {number} CONTENT_TYPE_DISPLAY_VALUE_SURVEY=31 CONTENT_TYPE_DISPLAY_VALUE_SURVEY value
70061
70069
  */
70062
70070
  $root.ContentTypeDisplayValue = (function() {
70063
70071
  var valuesById = {}, values = Object.create(valuesById);
@@ -70092,6 +70100,7 @@ $root.ContentTypeDisplayValue = (function() {
70092
70100
  values[valuesById[28] = "CONTENT_TYPE_DISPLAY_VALUE_GUIDED_PROGRAM_REQUIRED_CONTENT"] = 28;
70093
70101
  values[valuesById[29] = "CONTENT_TYPE_DISPLAY_VALUE_GUIDED_PROGRAM_BONUS_CONTENT"] = 29;
70094
70102
  values[valuesById[30] = "CONTENT_TYPE_DISPLAY_VALUE_GUIDED_PROGRAM"] = 30;
70103
+ values[valuesById[31] = "CONTENT_TYPE_DISPLAY_VALUE_SURVEY"] = 31;
70095
70104
  return values;
70096
70105
  })();
70097
70106
 
@@ -72181,6 +72190,7 @@ $root.ContentEntityCreated = (function() {
72181
72190
  case 17:
72182
72191
  case 18:
72183
72192
  case 19:
72193
+ case 20:
72184
72194
  break;
72185
72195
  }
72186
72196
  if (message.colorTheme != null && message.hasOwnProperty("colorTheme"))
@@ -72236,6 +72246,7 @@ $root.ContentEntityCreated = (function() {
72236
72246
  case 28:
72237
72247
  case 29:
72238
72248
  case 30:
72249
+ case 31:
72239
72250
  break;
72240
72251
  }
72241
72252
  if (message.contentInfoScreenTheme != null && message.hasOwnProperty("contentInfoScreenTheme"))
@@ -72403,6 +72414,10 @@ $root.ContentEntityCreated = (function() {
72403
72414
  case 19:
72404
72415
  message.contentType = 19;
72405
72416
  break;
72417
+ case "CONTENT_TYPE_SURVEY":
72418
+ case 20:
72419
+ message.contentType = 20;
72420
+ break;
72406
72421
  }
72407
72422
  switch (object.colorTheme) {
72408
72423
  case "COLOR_THEME_UNRECOGNIZED":
@@ -72549,6 +72564,10 @@ $root.ContentEntityCreated = (function() {
72549
72564
  case 30:
72550
72565
  message.contentTypeDisplayValue = 30;
72551
72566
  break;
72567
+ case "CONTENT_TYPE_DISPLAY_VALUE_SURVEY":
72568
+ case 31:
72569
+ message.contentTypeDisplayValue = 31;
72570
+ break;
72552
72571
  }
72553
72572
  switch (object.contentInfoScreenTheme) {
72554
72573
  case "COLOR_THEME_UNRECOGNIZED":
@@ -73251,6 +73270,7 @@ $root.ContentEntityUpdated = (function() {
73251
73270
  case 17:
73252
73271
  case 18:
73253
73272
  case 19:
73273
+ case 20:
73254
73274
  break;
73255
73275
  }
73256
73276
  if (message.colorTheme != null && message.hasOwnProperty("colorTheme"))
@@ -73306,6 +73326,7 @@ $root.ContentEntityUpdated = (function() {
73306
73326
  case 28:
73307
73327
  case 29:
73308
73328
  case 30:
73329
+ case 31:
73309
73330
  break;
73310
73331
  }
73311
73332
  if (message.contentInfoScreenTheme != null && message.hasOwnProperty("contentInfoScreenTheme"))
@@ -73473,6 +73494,10 @@ $root.ContentEntityUpdated = (function() {
73473
73494
  case 19:
73474
73495
  message.contentType = 19;
73475
73496
  break;
73497
+ case "CONTENT_TYPE_SURVEY":
73498
+ case 20:
73499
+ message.contentType = 20;
73500
+ break;
73476
73501
  }
73477
73502
  switch (object.colorTheme) {
73478
73503
  case "COLOR_THEME_UNRECOGNIZED":
@@ -73619,6 +73644,10 @@ $root.ContentEntityUpdated = (function() {
73619
73644
  case 30:
73620
73645
  message.contentTypeDisplayValue = 30;
73621
73646
  break;
73647
+ case "CONTENT_TYPE_DISPLAY_VALUE_SURVEY":
73648
+ case 31:
73649
+ message.contentTypeDisplayValue = 31;
73650
+ break;
73622
73651
  }
73623
73652
  switch (object.contentInfoScreenTheme) {
73624
73653
  case "COLOR_THEME_UNRECOGNIZED":
@@ -74321,6 +74350,7 @@ $root.ContentEntityDeleted = (function() {
74321
74350
  case 17:
74322
74351
  case 18:
74323
74352
  case 19:
74353
+ case 20:
74324
74354
  break;
74325
74355
  }
74326
74356
  if (message.colorTheme != null && message.hasOwnProperty("colorTheme"))
@@ -74376,6 +74406,7 @@ $root.ContentEntityDeleted = (function() {
74376
74406
  case 28:
74377
74407
  case 29:
74378
74408
  case 30:
74409
+ case 31:
74379
74410
  break;
74380
74411
  }
74381
74412
  if (message.contentInfoScreenTheme != null && message.hasOwnProperty("contentInfoScreenTheme"))
@@ -74543,6 +74574,10 @@ $root.ContentEntityDeleted = (function() {
74543
74574
  case 19:
74544
74575
  message.contentType = 19;
74545
74576
  break;
74577
+ case "CONTENT_TYPE_SURVEY":
74578
+ case 20:
74579
+ message.contentType = 20;
74580
+ break;
74546
74581
  }
74547
74582
  switch (object.colorTheme) {
74548
74583
  case "COLOR_THEME_UNRECOGNIZED":
@@ -74689,6 +74724,10 @@ $root.ContentEntityDeleted = (function() {
74689
74724
  case 30:
74690
74725
  message.contentTypeDisplayValue = 30;
74691
74726
  break;
74727
+ case "CONTENT_TYPE_DISPLAY_VALUE_SURVEY":
74728
+ case 31:
74729
+ message.contentTypeDisplayValue = 31;
74730
+ break;
74692
74731
  }
74693
74732
  switch (object.contentInfoScreenTheme) {
74694
74733
  case "COLOR_THEME_UNRECOGNIZED":
@@ -107733,7 +107772,7 @@ $root.EnterpriseUserEnrollmentCreated = (function() {
107733
107772
  * @property {string|null} [partnerUserId] EnterpriseUserEnrollmentCreated partnerUserId
107734
107773
  * @property {string|null} [partnerSubscriberUserId] EnterpriseUserEnrollmentCreated partnerSubscriberUserId
107735
107774
  * @property {string|null} [medicalPlan] EnterpriseUserEnrollmentCreated medicalPlan
107736
- * @property {number|Long|null} [eapCoverageTotal] EnterpriseUserEnrollmentCreated eapCoverageTotal
107775
+ * @property {number|null} [eapCoverageTotal] EnterpriseUserEnrollmentCreated eapCoverageTotal
107737
107776
  * @property {b2b.EapServiceType|null} [eapServiceType] EnterpriseUserEnrollmentCreated eapServiceType
107738
107777
  */
107739
107778
 
@@ -108026,11 +108065,11 @@ $root.EnterpriseUserEnrollmentCreated = (function() {
108026
108065
 
108027
108066
  /**
108028
108067
  * EnterpriseUserEnrollmentCreated eapCoverageTotal.
108029
- * @member {number|Long} eapCoverageTotal
108068
+ * @member {number} eapCoverageTotal
108030
108069
  * @memberof EnterpriseUserEnrollmentCreated
108031
108070
  * @instance
108032
108071
  */
108033
- EnterpriseUserEnrollmentCreated.prototype.eapCoverageTotal = $util.Long ? $util.Long.fromBits(0,0,true) : 0;
108072
+ EnterpriseUserEnrollmentCreated.prototype.eapCoverageTotal = 0;
108034
108073
 
108035
108074
  /**
108036
108075
  * EnterpriseUserEnrollmentCreated eapServiceType.
@@ -108133,7 +108172,7 @@ $root.EnterpriseUserEnrollmentCreated = (function() {
108133
108172
  if (message.medicalPlan != null && message.hasOwnProperty("medicalPlan"))
108134
108173
  writer.uint32(/* id 39, wireType 2 =*/314).string(message.medicalPlan);
108135
108174
  if (message.eapCoverageTotal != null && message.hasOwnProperty("eapCoverageTotal"))
108136
- writer.uint32(/* id 40, wireType 0 =*/320).uint64(message.eapCoverageTotal);
108175
+ writer.uint32(/* id 40, wireType 0 =*/320).uint32(message.eapCoverageTotal);
108137
108176
  if (message.eapServiceType != null && message.hasOwnProperty("eapServiceType"))
108138
108177
  writer.uint32(/* id 41, wireType 0 =*/328).int32(message.eapServiceType);
108139
108178
  return writer;
@@ -108273,7 +108312,7 @@ $root.EnterpriseUserEnrollmentCreated = (function() {
108273
108312
  message.medicalPlan = reader.string();
108274
108313
  break;
108275
108314
  case 40:
108276
- message.eapCoverageTotal = reader.uint64();
108315
+ message.eapCoverageTotal = reader.uint32();
108277
108316
  break;
108278
108317
  case 41:
108279
108318
  message.eapServiceType = reader.int32();
@@ -108454,8 +108493,8 @@ $root.EnterpriseUserEnrollmentCreated = (function() {
108454
108493
  if (!$util.isString(message.medicalPlan))
108455
108494
  return "medicalPlan: string expected";
108456
108495
  if (message.eapCoverageTotal != null && message.hasOwnProperty("eapCoverageTotal"))
108457
- if (!$util.isInteger(message.eapCoverageTotal) && !(message.eapCoverageTotal && $util.isInteger(message.eapCoverageTotal.low) && $util.isInteger(message.eapCoverageTotal.high)))
108458
- return "eapCoverageTotal: integer|Long expected";
108496
+ if (!$util.isInteger(message.eapCoverageTotal))
108497
+ return "eapCoverageTotal: integer expected";
108459
108498
  if (message.eapServiceType != null && message.hasOwnProperty("eapServiceType"))
108460
108499
  switch (message.eapServiceType) {
108461
108500
  default:
@@ -108677,14 +108716,7 @@ $root.EnterpriseUserEnrollmentCreated = (function() {
108677
108716
  if (object.medicalPlan != null)
108678
108717
  message.medicalPlan = String(object.medicalPlan);
108679
108718
  if (object.eapCoverageTotal != null)
108680
- if ($util.Long)
108681
- (message.eapCoverageTotal = $util.Long.fromValue(object.eapCoverageTotal)).unsigned = true;
108682
- else if (typeof object.eapCoverageTotal === "string")
108683
- message.eapCoverageTotal = parseInt(object.eapCoverageTotal, 10);
108684
- else if (typeof object.eapCoverageTotal === "number")
108685
- message.eapCoverageTotal = object.eapCoverageTotal;
108686
- else if (typeof object.eapCoverageTotal === "object")
108687
- message.eapCoverageTotal = new $util.LongBits(object.eapCoverageTotal.low >>> 0, object.eapCoverageTotal.high >>> 0).toNumber(true);
108719
+ message.eapCoverageTotal = object.eapCoverageTotal >>> 0;
108688
108720
  switch (object.eapServiceType) {
108689
108721
  case "EAP_SERVICE_TYPE_UNKNOWN":
108690
108722
  case 0:
@@ -108774,11 +108806,7 @@ $root.EnterpriseUserEnrollmentCreated = (function() {
108774
108806
  object.partnerUserId = "";
108775
108807
  object.partnerSubscriberUserId = "";
108776
108808
  object.medicalPlan = "";
108777
- if ($util.Long) {
108778
- var long = new $util.Long(0, 0, true);
108779
- object.eapCoverageTotal = options.longs === String ? long.toString() : options.longs === Number ? long.toNumber() : long;
108780
- } else
108781
- object.eapCoverageTotal = options.longs === String ? "0" : 0;
108809
+ object.eapCoverageTotal = 0;
108782
108810
  object.eapServiceType = options.enums === String ? "EAP_SERVICE_TYPE_UNKNOWN" : 0;
108783
108811
  }
108784
108812
  if (message.userId != null && message.hasOwnProperty("userId"))
@@ -108865,10 +108893,7 @@ $root.EnterpriseUserEnrollmentCreated = (function() {
108865
108893
  if (message.medicalPlan != null && message.hasOwnProperty("medicalPlan"))
108866
108894
  object.medicalPlan = message.medicalPlan;
108867
108895
  if (message.eapCoverageTotal != null && message.hasOwnProperty("eapCoverageTotal"))
108868
- if (typeof message.eapCoverageTotal === "number")
108869
- object.eapCoverageTotal = options.longs === String ? String(message.eapCoverageTotal) : message.eapCoverageTotal;
108870
- else
108871
- object.eapCoverageTotal = options.longs === String ? $util.Long.prototype.toString.call(message.eapCoverageTotal) : options.longs === Number ? new $util.LongBits(message.eapCoverageTotal.low >>> 0, message.eapCoverageTotal.high >>> 0).toNumber(true) : message.eapCoverageTotal;
108896
+ object.eapCoverageTotal = message.eapCoverageTotal;
108872
108897
  if (message.eapServiceType != null && message.hasOwnProperty("eapServiceType"))
108873
108898
  object.eapServiceType = options.enums === String ? $root.b2b.EapServiceType[message.eapServiceType] : message.eapServiceType;
108874
108899
  return object;
@@ -108925,6 +108950,8 @@ $root.EnterpriseUserEnrollmentRemoved = (function() {
108925
108950
  * @property {string|null} [languagePreference] EnterpriseUserEnrollmentRemoved languagePreference
108926
108951
  * @property {string|null} [dependentOf] EnterpriseUserEnrollmentRemoved dependentOf
108927
108952
  * @property {b2b.EapCoverage|null} [eapCoverage] EnterpriseUserEnrollmentRemoved eapCoverage
108953
+ * @property {number|null} [eapCoverageTotal] EnterpriseUserEnrollmentRemoved eapCoverageTotal
108954
+ * @property {b2b.EapServiceType|null} [eapServiceType] EnterpriseUserEnrollmentRemoved eapServiceType
108928
108955
  */
108929
108956
 
108930
108957
  /**
@@ -109190,6 +109217,22 @@ $root.EnterpriseUserEnrollmentRemoved = (function() {
109190
109217
  */
109191
109218
  EnterpriseUserEnrollmentRemoved.prototype.eapCoverage = 0;
109192
109219
 
109220
+ /**
109221
+ * EnterpriseUserEnrollmentRemoved eapCoverageTotal.
109222
+ * @member {number} eapCoverageTotal
109223
+ * @memberof EnterpriseUserEnrollmentRemoved
109224
+ * @instance
109225
+ */
109226
+ EnterpriseUserEnrollmentRemoved.prototype.eapCoverageTotal = 0;
109227
+
109228
+ /**
109229
+ * EnterpriseUserEnrollmentRemoved eapServiceType.
109230
+ * @member {b2b.EapServiceType} eapServiceType
109231
+ * @memberof EnterpriseUserEnrollmentRemoved
109232
+ * @instance
109233
+ */
109234
+ EnterpriseUserEnrollmentRemoved.prototype.eapServiceType = 0;
109235
+
109193
109236
  /**
109194
109237
  * Creates a new EnterpriseUserEnrollmentRemoved instance using the specified properties.
109195
109238
  * @function create
@@ -109276,6 +109319,10 @@ $root.EnterpriseUserEnrollmentRemoved = (function() {
109276
109319
  writer.uint32(/* id 35, wireType 2 =*/282).string(message.dependentOf);
109277
109320
  if (message.eapCoverage != null && message.hasOwnProperty("eapCoverage"))
109278
109321
  writer.uint32(/* id 36, wireType 0 =*/288).int32(message.eapCoverage);
109322
+ if (message.eapCoverageTotal != null && message.hasOwnProperty("eapCoverageTotal"))
109323
+ writer.uint32(/* id 37, wireType 0 =*/296).uint32(message.eapCoverageTotal);
109324
+ if (message.eapServiceType != null && message.hasOwnProperty("eapServiceType"))
109325
+ writer.uint32(/* id 38, wireType 0 =*/304).int32(message.eapServiceType);
109279
109326
  return writer;
109280
109327
  };
109281
109328
 
@@ -109403,6 +109450,12 @@ $root.EnterpriseUserEnrollmentRemoved = (function() {
109403
109450
  case 36:
109404
109451
  message.eapCoverage = reader.int32();
109405
109452
  break;
109453
+ case 37:
109454
+ message.eapCoverageTotal = reader.uint32();
109455
+ break;
109456
+ case 38:
109457
+ message.eapServiceType = reader.int32();
109458
+ break;
109406
109459
  default:
109407
109460
  reader.skipType(tag & 7);
109408
109461
  break;
@@ -109584,6 +109637,19 @@ $root.EnterpriseUserEnrollmentRemoved = (function() {
109584
109637
  case 3:
109585
109638
  break;
109586
109639
  }
109640
+ if (message.eapCoverageTotal != null && message.hasOwnProperty("eapCoverageTotal"))
109641
+ if (!$util.isInteger(message.eapCoverageTotal))
109642
+ return "eapCoverageTotal: integer expected";
109643
+ if (message.eapServiceType != null && message.hasOwnProperty("eapServiceType"))
109644
+ switch (message.eapServiceType) {
109645
+ default:
109646
+ return "eapServiceType: enum value expected";
109647
+ case 0:
109648
+ case 1:
109649
+ case 2:
109650
+ case 3:
109651
+ break;
109652
+ }
109587
109653
  return null;
109588
109654
  };
109589
109655
 
@@ -109836,6 +109902,26 @@ $root.EnterpriseUserEnrollmentRemoved = (function() {
109836
109902
  message.eapCoverage = 3;
109837
109903
  break;
109838
109904
  }
109905
+ if (object.eapCoverageTotal != null)
109906
+ message.eapCoverageTotal = object.eapCoverageTotal >>> 0;
109907
+ switch (object.eapServiceType) {
109908
+ case "EAP_SERVICE_TYPE_UNKNOWN":
109909
+ case 0:
109910
+ message.eapServiceType = 0;
109911
+ break;
109912
+ case "EAP_SERVICE_TYPE_PSYCHIATRY":
109913
+ case 1:
109914
+ message.eapServiceType = 1;
109915
+ break;
109916
+ case "EAP_SERVICE_TYPE_THERAPY":
109917
+ case 2:
109918
+ message.eapServiceType = 2;
109919
+ break;
109920
+ case "EAP_SERVICE_TYPE_PSYCHIATRY_THERAPY":
109921
+ case 3:
109922
+ message.eapServiceType = 3;
109923
+ break;
109924
+ }
109839
109925
  return message;
109840
109926
  };
109841
109927
 
@@ -109904,6 +109990,8 @@ $root.EnterpriseUserEnrollmentRemoved = (function() {
109904
109990
  object.languagePreference = "";
109905
109991
  object.dependentOf = "";
109906
109992
  object.eapCoverage = options.enums === String ? "EAP_COVERAGE_UNKNOWN" : 0;
109993
+ object.eapCoverageTotal = 0;
109994
+ object.eapServiceType = options.enums === String ? "EAP_SERVICE_TYPE_UNKNOWN" : 0;
109907
109995
  }
109908
109996
  if (message.userId != null && message.hasOwnProperty("userId"))
109909
109997
  object.userId = message.userId;
@@ -109982,6 +110070,10 @@ $root.EnterpriseUserEnrollmentRemoved = (function() {
109982
110070
  object.dependentOf = message.dependentOf;
109983
110071
  if (message.eapCoverage != null && message.hasOwnProperty("eapCoverage"))
109984
110072
  object.eapCoverage = options.enums === String ? $root.b2b.EapCoverage[message.eapCoverage] : message.eapCoverage;
110073
+ if (message.eapCoverageTotal != null && message.hasOwnProperty("eapCoverageTotal"))
110074
+ object.eapCoverageTotal = message.eapCoverageTotal;
110075
+ if (message.eapServiceType != null && message.hasOwnProperty("eapServiceType"))
110076
+ object.eapServiceType = options.enums === String ? $root.b2b.EapServiceType[message.eapServiceType] : message.eapServiceType;
109985
110077
  return object;
109986
110078
  };
109987
110079
 
@@ -110038,6 +110130,8 @@ $root.EnterpriseUserEnrollmentAmended = (function() {
110038
110130
  * @property {string|null} [partnerUserId] EnterpriseUserEnrollmentAmended partnerUserId
110039
110131
  * @property {string|null} [partnerSubscriberUserId] EnterpriseUserEnrollmentAmended partnerSubscriberUserId
110040
110132
  * @property {string|null} [medicalPlan] EnterpriseUserEnrollmentAmended medicalPlan
110133
+ * @property {number|null} [eapCoverageTotal] EnterpriseUserEnrollmentAmended eapCoverageTotal
110134
+ * @property {b2b.EapServiceType|null} [eapServiceType] EnterpriseUserEnrollmentAmended eapServiceType
110041
110135
  */
110042
110136
 
110043
110137
  /**
@@ -110319,6 +110413,22 @@ $root.EnterpriseUserEnrollmentAmended = (function() {
110319
110413
  */
110320
110414
  EnterpriseUserEnrollmentAmended.prototype.medicalPlan = "";
110321
110415
 
110416
+ /**
110417
+ * EnterpriseUserEnrollmentAmended eapCoverageTotal.
110418
+ * @member {number} eapCoverageTotal
110419
+ * @memberof EnterpriseUserEnrollmentAmended
110420
+ * @instance
110421
+ */
110422
+ EnterpriseUserEnrollmentAmended.prototype.eapCoverageTotal = 0;
110423
+
110424
+ /**
110425
+ * EnterpriseUserEnrollmentAmended eapServiceType.
110426
+ * @member {b2b.EapServiceType} eapServiceType
110427
+ * @memberof EnterpriseUserEnrollmentAmended
110428
+ * @instance
110429
+ */
110430
+ EnterpriseUserEnrollmentAmended.prototype.eapServiceType = 0;
110431
+
110322
110432
  /**
110323
110433
  * Creates a new EnterpriseUserEnrollmentAmended instance using the specified properties.
110324
110434
  * @function create
@@ -110409,6 +110519,10 @@ $root.EnterpriseUserEnrollmentAmended = (function() {
110409
110519
  writer.uint32(/* id 38, wireType 2 =*/306).string(message.partnerSubscriberUserId);
110410
110520
  if (message.medicalPlan != null && message.hasOwnProperty("medicalPlan"))
110411
110521
  writer.uint32(/* id 39, wireType 2 =*/314).string(message.medicalPlan);
110522
+ if (message.eapCoverageTotal != null && message.hasOwnProperty("eapCoverageTotal"))
110523
+ writer.uint32(/* id 40, wireType 0 =*/320).uint32(message.eapCoverageTotal);
110524
+ if (message.eapServiceType != null && message.hasOwnProperty("eapServiceType"))
110525
+ writer.uint32(/* id 41, wireType 0 =*/328).int32(message.eapServiceType);
110412
110526
  return writer;
110413
110527
  };
110414
110528
 
@@ -110542,6 +110656,12 @@ $root.EnterpriseUserEnrollmentAmended = (function() {
110542
110656
  case 39:
110543
110657
  message.medicalPlan = reader.string();
110544
110658
  break;
110659
+ case 40:
110660
+ message.eapCoverageTotal = reader.uint32();
110661
+ break;
110662
+ case 41:
110663
+ message.eapServiceType = reader.int32();
110664
+ break;
110545
110665
  default:
110546
110666
  reader.skipType(tag & 7);
110547
110667
  break;
@@ -110714,6 +110834,19 @@ $root.EnterpriseUserEnrollmentAmended = (function() {
110714
110834
  if (message.medicalPlan != null && message.hasOwnProperty("medicalPlan"))
110715
110835
  if (!$util.isString(message.medicalPlan))
110716
110836
  return "medicalPlan: string expected";
110837
+ if (message.eapCoverageTotal != null && message.hasOwnProperty("eapCoverageTotal"))
110838
+ if (!$util.isInteger(message.eapCoverageTotal))
110839
+ return "eapCoverageTotal: integer expected";
110840
+ if (message.eapServiceType != null && message.hasOwnProperty("eapServiceType"))
110841
+ switch (message.eapServiceType) {
110842
+ default:
110843
+ return "eapServiceType: enum value expected";
110844
+ case 0:
110845
+ case 1:
110846
+ case 2:
110847
+ case 3:
110848
+ break;
110849
+ }
110717
110850
  return null;
110718
110851
  };
110719
110852
 
@@ -110922,6 +111055,26 @@ $root.EnterpriseUserEnrollmentAmended = (function() {
110922
111055
  message.partnerSubscriberUserId = String(object.partnerSubscriberUserId);
110923
111056
  if (object.medicalPlan != null)
110924
111057
  message.medicalPlan = String(object.medicalPlan);
111058
+ if (object.eapCoverageTotal != null)
111059
+ message.eapCoverageTotal = object.eapCoverageTotal >>> 0;
111060
+ switch (object.eapServiceType) {
111061
+ case "EAP_SERVICE_TYPE_UNKNOWN":
111062
+ case 0:
111063
+ message.eapServiceType = 0;
111064
+ break;
111065
+ case "EAP_SERVICE_TYPE_PSYCHIATRY":
111066
+ case 1:
111067
+ message.eapServiceType = 1;
111068
+ break;
111069
+ case "EAP_SERVICE_TYPE_THERAPY":
111070
+ case 2:
111071
+ message.eapServiceType = 2;
111072
+ break;
111073
+ case "EAP_SERVICE_TYPE_PSYCHIATRY_THERAPY":
111074
+ case 3:
111075
+ message.eapServiceType = 3;
111076
+ break;
111077
+ }
110925
111078
  return message;
110926
111079
  };
110927
111080
 
@@ -110992,6 +111145,8 @@ $root.EnterpriseUserEnrollmentAmended = (function() {
110992
111145
  object.partnerUserId = "";
110993
111146
  object.partnerSubscriberUserId = "";
110994
111147
  object.medicalPlan = "";
111148
+ object.eapCoverageTotal = 0;
111149
+ object.eapServiceType = options.enums === String ? "EAP_SERVICE_TYPE_UNKNOWN" : 0;
110995
111150
  }
110996
111151
  if (message.userId != null && message.hasOwnProperty("userId"))
110997
111152
  object.userId = message.userId;
@@ -111074,6 +111229,10 @@ $root.EnterpriseUserEnrollmentAmended = (function() {
111074
111229
  object.partnerSubscriberUserId = message.partnerSubscriberUserId;
111075
111230
  if (message.medicalPlan != null && message.hasOwnProperty("medicalPlan"))
111076
111231
  object.medicalPlan = message.medicalPlan;
111232
+ if (message.eapCoverageTotal != null && message.hasOwnProperty("eapCoverageTotal"))
111233
+ object.eapCoverageTotal = message.eapCoverageTotal;
111234
+ if (message.eapServiceType != null && message.hasOwnProperty("eapServiceType"))
111235
+ object.eapServiceType = options.enums === String ? $root.b2b.EapServiceType[message.eapServiceType] : message.eapServiceType;
111077
111236
  return object;
111078
111237
  };
111079
111238
 
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.569.0"
19
+ "version": "1.571.0"
20
20
  }