@headspace/protos-events 1.736.0 → 1.737.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
@@ -38692,6 +38692,9 @@ export interface IEnterpriseUserEnrollmentCreated {
38692
38692
 
38693
38693
  /** EnterpriseUserEnrollmentCreated primaryProduct */
38694
38694
  primaryProduct?: (b2b.PrimaryProduct|null);
38695
+
38696
+ /** EnterpriseUserEnrollmentCreated eligibilityRecordUuid */
38697
+ eligibilityRecordUuid?: (string|null);
38695
38698
  }
38696
38699
 
38697
38700
  /** Represents an EnterpriseUserEnrollmentCreated. */
@@ -38847,6 +38850,9 @@ export class EnterpriseUserEnrollmentCreated implements IEnterpriseUserEnrollmen
38847
38850
  /** EnterpriseUserEnrollmentCreated primaryProduct. */
38848
38851
  public primaryProduct: b2b.PrimaryProduct;
38849
38852
 
38853
+ /** EnterpriseUserEnrollmentCreated eligibilityRecordUuid. */
38854
+ public eligibilityRecordUuid: string;
38855
+
38850
38856
  /**
38851
38857
  * Creates a new EnterpriseUserEnrollmentCreated instance using the specified properties.
38852
38858
  * @param [properties] Properties to set
package/lib/index.js CHANGED
@@ -108586,6 +108586,7 @@ $root.EnterpriseUserEnrollmentCreated = (function() {
108586
108586
  * @property {boolean|null} [b2bAreNonmemberCommsEnabled] EnterpriseUserEnrollmentCreated b2bAreNonmemberCommsEnabled
108587
108587
  * @property {boolean|null} [b2bAreEnrollmentCommsEnabled] EnterpriseUserEnrollmentCreated b2bAreEnrollmentCommsEnabled
108588
108588
  * @property {b2b.PrimaryProduct|null} [primaryProduct] EnterpriseUserEnrollmentCreated primaryProduct
108589
+ * @property {string|null} [eligibilityRecordUuid] EnterpriseUserEnrollmentCreated eligibilityRecordUuid
108589
108590
  */
108590
108591
 
108591
108592
  /**
@@ -108987,6 +108988,14 @@ $root.EnterpriseUserEnrollmentCreated = (function() {
108987
108988
  */
108988
108989
  EnterpriseUserEnrollmentCreated.prototype.primaryProduct = 0;
108989
108990
 
108991
+ /**
108992
+ * EnterpriseUserEnrollmentCreated eligibilityRecordUuid.
108993
+ * @member {string} eligibilityRecordUuid
108994
+ * @memberof EnterpriseUserEnrollmentCreated
108995
+ * @instance
108996
+ */
108997
+ EnterpriseUserEnrollmentCreated.prototype.eligibilityRecordUuid = "";
108998
+
108990
108999
  /**
108991
109000
  * Creates a new EnterpriseUserEnrollmentCreated instance using the specified properties.
108992
109001
  * @function create
@@ -109107,6 +109116,8 @@ $root.EnterpriseUserEnrollmentCreated = (function() {
109107
109116
  writer.uint32(/* id 52, wireType 0 =*/416).bool(message.b2bAreEnrollmentCommsEnabled);
109108
109117
  if (message.primaryProduct != null && message.hasOwnProperty("primaryProduct"))
109109
109118
  writer.uint32(/* id 53, wireType 0 =*/424).int32(message.primaryProduct);
109119
+ if (message.eligibilityRecordUuid != null && message.hasOwnProperty("eligibilityRecordUuid"))
109120
+ writer.uint32(/* id 54, wireType 2 =*/434).string(message.eligibilityRecordUuid);
109110
109121
  return writer;
109111
109122
  };
109112
109123
 
@@ -109285,6 +109296,9 @@ $root.EnterpriseUserEnrollmentCreated = (function() {
109285
109296
  case 53:
109286
109297
  message.primaryProduct = reader.int32();
109287
109298
  break;
109299
+ case 54:
109300
+ message.eligibilityRecordUuid = reader.string();
109301
+ break;
109288
109302
  default:
109289
109303
  reader.skipType(tag & 7);
109290
109304
  break;
@@ -109539,6 +109553,9 @@ $root.EnterpriseUserEnrollmentCreated = (function() {
109539
109553
  case 5:
109540
109554
  break;
109541
109555
  }
109556
+ if (message.eligibilityRecordUuid != null && message.hasOwnProperty("eligibilityRecordUuid"))
109557
+ if (!$util.isString(message.eligibilityRecordUuid))
109558
+ return "eligibilityRecordUuid: string expected";
109542
109559
  return null;
109543
109560
  };
109544
109561
 
@@ -109865,6 +109882,8 @@ $root.EnterpriseUserEnrollmentCreated = (function() {
109865
109882
  message.primaryProduct = 5;
109866
109883
  break;
109867
109884
  }
109885
+ if (object.eligibilityRecordUuid != null)
109886
+ message.eligibilityRecordUuid = String(object.eligibilityRecordUuid);
109868
109887
  return message;
109869
109888
  };
109870
109889
 
@@ -109950,6 +109969,7 @@ $root.EnterpriseUserEnrollmentCreated = (function() {
109950
109969
  object.b2bAreNonmemberCommsEnabled = false;
109951
109970
  object.b2bAreEnrollmentCommsEnabled = false;
109952
109971
  object.primaryProduct = options.enums === String ? "PRIMARY_PRODUCT_UNKNOWN" : 0;
109972
+ object.eligibilityRecordUuid = "";
109953
109973
  }
109954
109974
  if (message.userId != null && message.hasOwnProperty("userId"))
109955
109975
  object.userId = message.userId;
@@ -110062,6 +110082,8 @@ $root.EnterpriseUserEnrollmentCreated = (function() {
110062
110082
  object.b2bAreEnrollmentCommsEnabled = message.b2bAreEnrollmentCommsEnabled;
110063
110083
  if (message.primaryProduct != null && message.hasOwnProperty("primaryProduct"))
110064
110084
  object.primaryProduct = options.enums === String ? $root.b2b.PrimaryProduct[message.primaryProduct] : message.primaryProduct;
110085
+ if (message.eligibilityRecordUuid != null && message.hasOwnProperty("eligibilityRecordUuid"))
110086
+ object.eligibilityRecordUuid = message.eligibilityRecordUuid;
110065
110087
  return object;
110066
110088
  };
110067
110089
 
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.736.0"
19
+ "version": "1.737.0"
20
20
  }