@headspace/protos-events 1.583.0 → 1.584.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
@@ -10427,6 +10427,9 @@ export namespace b2b {
10427
10427
 
10428
10428
  /** B2BSubscriptionManagement elfDependentsEnabled */
10429
10429
  elfDependentsEnabled?: (boolean|null);
10430
+
10431
+ /** B2BSubscriptionManagement eapType */
10432
+ eapType?: (b2b.EapType|null);
10430
10433
  }
10431
10434
 
10432
10435
  /** Represents a B2BSubscriptionManagement. */
@@ -10474,6 +10477,9 @@ export namespace b2b {
10474
10477
  /** B2BSubscriptionManagement elfDependentsEnabled. */
10475
10478
  public elfDependentsEnabled: boolean;
10476
10479
 
10480
+ /** B2BSubscriptionManagement eapType. */
10481
+ public eapType: b2b.EapType;
10482
+
10477
10483
  /**
10478
10484
  * Creates a new B2BSubscriptionManagement instance using the specified properties.
10479
10485
  * @param [properties] Properties to set
@@ -10771,6 +10777,13 @@ export namespace b2b {
10771
10777
  EAP_SERVICE_TYPE_THERAPY = 2,
10772
10778
  EAP_SERVICE_TYPE_PSYCHIATRY_THERAPY = 3
10773
10779
  }
10780
+
10781
+ /** EapType enum. */
10782
+ enum EapType {
10783
+ EAP_TYPE_UNKNOWN = 0,
10784
+ EAP_TYPE_NONE = 1,
10785
+ EAP_TYPE_EAP_V2 = 2
10786
+ }
10774
10787
  }
10775
10788
 
10776
10789
  /** Namespace community. */
package/lib/index.js CHANGED
@@ -25244,6 +25244,7 @@ $root.b2b = (function() {
25244
25244
  * @property {Array.<b2b.SubscriptionOffering>|null} [offerings] B2BSubscriptionManagement offerings
25245
25245
  * @property {b2b.EnrollmentFlow|null} [enrollmentFlow] B2BSubscriptionManagement enrollmentFlow
25246
25246
  * @property {boolean|null} [elfDependentsEnabled] B2BSubscriptionManagement elfDependentsEnabled
25247
+ * @property {b2b.EapType|null} [eapType] B2BSubscriptionManagement eapType
25247
25248
  */
25248
25249
 
25249
25250
  /**
@@ -25358,6 +25359,14 @@ $root.b2b = (function() {
25358
25359
  */
25359
25360
  B2BSubscriptionManagement.prototype.elfDependentsEnabled = false;
25360
25361
 
25362
+ /**
25363
+ * B2BSubscriptionManagement eapType.
25364
+ * @member {b2b.EapType} eapType
25365
+ * @memberof b2b.B2BSubscriptionManagement
25366
+ * @instance
25367
+ */
25368
+ B2BSubscriptionManagement.prototype.eapType = 0;
25369
+
25361
25370
  /**
25362
25371
  * Creates a new B2BSubscriptionManagement instance using the specified properties.
25363
25372
  * @function create
@@ -25410,6 +25419,8 @@ $root.b2b = (function() {
25410
25419
  writer.uint32(/* id 12, wireType 0 =*/96).int32(message.enrollmentFlow);
25411
25420
  if (message.elfDependentsEnabled != null && message.hasOwnProperty("elfDependentsEnabled"))
25412
25421
  writer.uint32(/* id 13, wireType 0 =*/104).bool(message.elfDependentsEnabled);
25422
+ if (message.eapType != null && message.hasOwnProperty("eapType"))
25423
+ writer.uint32(/* id 14, wireType 0 =*/112).int32(message.eapType);
25413
25424
  return writer;
25414
25425
  };
25415
25426
 
@@ -25487,6 +25498,9 @@ $root.b2b = (function() {
25487
25498
  case 13:
25488
25499
  message.elfDependentsEnabled = reader.bool();
25489
25500
  break;
25501
+ case 14:
25502
+ message.eapType = reader.int32();
25503
+ break;
25490
25504
  default:
25491
25505
  reader.skipType(tag & 7);
25492
25506
  break;
@@ -25577,6 +25591,15 @@ $root.b2b = (function() {
25577
25591
  if (message.elfDependentsEnabled != null && message.hasOwnProperty("elfDependentsEnabled"))
25578
25592
  if (typeof message.elfDependentsEnabled !== "boolean")
25579
25593
  return "elfDependentsEnabled: boolean expected";
25594
+ if (message.eapType != null && message.hasOwnProperty("eapType"))
25595
+ switch (message.eapType) {
25596
+ default:
25597
+ return "eapType: enum value expected";
25598
+ case 0:
25599
+ case 1:
25600
+ case 2:
25601
+ break;
25602
+ }
25580
25603
  return null;
25581
25604
  };
25582
25605
 
@@ -25687,6 +25710,20 @@ $root.b2b = (function() {
25687
25710
  }
25688
25711
  if (object.elfDependentsEnabled != null)
25689
25712
  message.elfDependentsEnabled = Boolean(object.elfDependentsEnabled);
25713
+ switch (object.eapType) {
25714
+ case "EAP_TYPE_UNKNOWN":
25715
+ case 0:
25716
+ message.eapType = 0;
25717
+ break;
25718
+ case "EAP_TYPE_NONE":
25719
+ case 1:
25720
+ message.eapType = 1;
25721
+ break;
25722
+ case "EAP_TYPE_EAP_V2":
25723
+ case 2:
25724
+ message.eapType = 2;
25725
+ break;
25726
+ }
25690
25727
  return message;
25691
25728
  };
25692
25729
 
@@ -25733,6 +25770,7 @@ $root.b2b = (function() {
25733
25770
  object.dependentSeats = options.longs === String ? "0" : 0;
25734
25771
  object.enrollmentFlow = options.enums === String ? "ENROLLMENT_FLOW_UNKNOWN" : 0;
25735
25772
  object.elfDependentsEnabled = false;
25773
+ object.eapType = options.enums === String ? "EAP_TYPE_UNKNOWN" : 0;
25736
25774
  }
25737
25775
  if (message.salesforceOpportunityId != null && message.hasOwnProperty("salesforceOpportunityId"))
25738
25776
  object.salesforceOpportunityId = message.salesforceOpportunityId;
@@ -25773,6 +25811,8 @@ $root.b2b = (function() {
25773
25811
  object.enrollmentFlow = options.enums === String ? $root.b2b.EnrollmentFlow[message.enrollmentFlow] : message.enrollmentFlow;
25774
25812
  if (message.elfDependentsEnabled != null && message.hasOwnProperty("elfDependentsEnabled"))
25775
25813
  object.elfDependentsEnabled = message.elfDependentsEnabled;
25814
+ if (message.eapType != null && message.hasOwnProperty("eapType"))
25815
+ object.eapType = options.enums === String ? $root.b2b.EapType[message.eapType] : message.eapType;
25776
25816
  return object;
25777
25817
  };
25778
25818
 
@@ -26341,6 +26381,22 @@ $root.b2b = (function() {
26341
26381
  return values;
26342
26382
  })();
26343
26383
 
26384
+ /**
26385
+ * EapType enum.
26386
+ * @name b2b.EapType
26387
+ * @enum {string}
26388
+ * @property {number} EAP_TYPE_UNKNOWN=0 EAP_TYPE_UNKNOWN value
26389
+ * @property {number} EAP_TYPE_NONE=1 EAP_TYPE_NONE value
26390
+ * @property {number} EAP_TYPE_EAP_V2=2 EAP_TYPE_EAP_V2 value
26391
+ */
26392
+ b2b.EapType = (function() {
26393
+ var valuesById = {}, values = Object.create(valuesById);
26394
+ values[valuesById[0] = "EAP_TYPE_UNKNOWN"] = 0;
26395
+ values[valuesById[1] = "EAP_TYPE_NONE"] = 1;
26396
+ values[valuesById[2] = "EAP_TYPE_EAP_V2"] = 2;
26397
+ return values;
26398
+ })();
26399
+
26344
26400
  return b2b;
26345
26401
  })();
26346
26402
 
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.583.0"
19
+ "version": "1.584.0"
20
20
  }