@headspace/protos-events 1.652.0 → 1.654.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
@@ -51454,6 +51454,9 @@ export interface IOrganizationIdentifier {
51454
51454
 
51455
51455
  /** OrganizationIdentifier gingerOrgId */
51456
51456
  gingerOrgId?: (string|null);
51457
+
51458
+ /** OrganizationIdentifier eligibilityCollectiveUuid */
51459
+ eligibilityCollectiveUuid?: (string|null);
51457
51460
  }
51458
51461
 
51459
51462
  /** Represents an OrganizationIdentifier. */
@@ -51474,6 +51477,9 @@ export class OrganizationIdentifier implements IOrganizationIdentifier {
51474
51477
  /** OrganizationIdentifier gingerOrgId. */
51475
51478
  public gingerOrgId: string;
51476
51479
 
51480
+ /** OrganizationIdentifier eligibilityCollectiveUuid. */
51481
+ public eligibilityCollectiveUuid: string;
51482
+
51477
51483
  /**
51478
51484
  * Creates a new OrganizationIdentifier instance using the specified properties.
51479
51485
  * @param [properties] Properties to set
@@ -53264,7 +53270,7 @@ export interface IGympassProperties {
53264
53270
  countryCode?: (string|null);
53265
53271
 
53266
53272
  /** GympassProperties planId */
53267
- planId?: (number|null);
53273
+ planId?: (string|null);
53268
53274
  }
53269
53275
 
53270
53276
  /** Represents a GympassProperties. */
@@ -53280,7 +53286,7 @@ export class GympassProperties implements IGympassProperties {
53280
53286
  public countryCode: string;
53281
53287
 
53282
53288
  /** GympassProperties planId. */
53283
- public planId: number;
53289
+ public planId: string;
53284
53290
 
53285
53291
  /**
53286
53292
  * Creates a new GympassProperties instance using the specified properties.
package/lib/index.js CHANGED
@@ -142061,6 +142061,7 @@ $root.OrganizationIdentifier = (function() {
142061
142061
  * @property {string|null} [headspaceHealthOrgId] OrganizationIdentifier headspaceHealthOrgId
142062
142062
  * @property {string|null} [b2bOrgId] OrganizationIdentifier b2bOrgId
142063
142063
  * @property {string|null} [gingerOrgId] OrganizationIdentifier gingerOrgId
142064
+ * @property {string|null} [eligibilityCollectiveUuid] OrganizationIdentifier eligibilityCollectiveUuid
142064
142065
  */
142065
142066
 
142066
142067
  /**
@@ -142102,6 +142103,14 @@ $root.OrganizationIdentifier = (function() {
142102
142103
  */
142103
142104
  OrganizationIdentifier.prototype.gingerOrgId = "";
142104
142105
 
142106
+ /**
142107
+ * OrganizationIdentifier eligibilityCollectiveUuid.
142108
+ * @member {string} eligibilityCollectiveUuid
142109
+ * @memberof OrganizationIdentifier
142110
+ * @instance
142111
+ */
142112
+ OrganizationIdentifier.prototype.eligibilityCollectiveUuid = "";
142113
+
142105
142114
  /**
142106
142115
  * Creates a new OrganizationIdentifier instance using the specified properties.
142107
142116
  * @function create
@@ -142132,6 +142141,8 @@ $root.OrganizationIdentifier = (function() {
142132
142141
  writer.uint32(/* id 2, wireType 2 =*/18).string(message.b2bOrgId);
142133
142142
  if (message.gingerOrgId != null && message.hasOwnProperty("gingerOrgId"))
142134
142143
  writer.uint32(/* id 3, wireType 2 =*/26).string(message.gingerOrgId);
142144
+ if (message.eligibilityCollectiveUuid != null && message.hasOwnProperty("eligibilityCollectiveUuid"))
142145
+ writer.uint32(/* id 4, wireType 2 =*/34).string(message.eligibilityCollectiveUuid);
142135
142146
  return writer;
142136
142147
  };
142137
142148
 
@@ -142175,6 +142186,9 @@ $root.OrganizationIdentifier = (function() {
142175
142186
  case 3:
142176
142187
  message.gingerOrgId = reader.string();
142177
142188
  break;
142189
+ case 4:
142190
+ message.eligibilityCollectiveUuid = reader.string();
142191
+ break;
142178
142192
  default:
142179
142193
  reader.skipType(tag & 7);
142180
142194
  break;
@@ -142219,6 +142233,9 @@ $root.OrganizationIdentifier = (function() {
142219
142233
  if (message.gingerOrgId != null && message.hasOwnProperty("gingerOrgId"))
142220
142234
  if (!$util.isString(message.gingerOrgId))
142221
142235
  return "gingerOrgId: string expected";
142236
+ if (message.eligibilityCollectiveUuid != null && message.hasOwnProperty("eligibilityCollectiveUuid"))
142237
+ if (!$util.isString(message.eligibilityCollectiveUuid))
142238
+ return "eligibilityCollectiveUuid: string expected";
142222
142239
  return null;
142223
142240
  };
142224
142241
 
@@ -142240,6 +142257,8 @@ $root.OrganizationIdentifier = (function() {
142240
142257
  message.b2bOrgId = String(object.b2bOrgId);
142241
142258
  if (object.gingerOrgId != null)
142242
142259
  message.gingerOrgId = String(object.gingerOrgId);
142260
+ if (object.eligibilityCollectiveUuid != null)
142261
+ message.eligibilityCollectiveUuid = String(object.eligibilityCollectiveUuid);
142243
142262
  return message;
142244
142263
  };
142245
142264
 
@@ -142260,6 +142279,7 @@ $root.OrganizationIdentifier = (function() {
142260
142279
  object.headspaceHealthOrgId = "";
142261
142280
  object.b2bOrgId = "";
142262
142281
  object.gingerOrgId = "";
142282
+ object.eligibilityCollectiveUuid = "";
142263
142283
  }
142264
142284
  if (message.headspaceHealthOrgId != null && message.hasOwnProperty("headspaceHealthOrgId"))
142265
142285
  object.headspaceHealthOrgId = message.headspaceHealthOrgId;
@@ -142267,6 +142287,8 @@ $root.OrganizationIdentifier = (function() {
142267
142287
  object.b2bOrgId = message.b2bOrgId;
142268
142288
  if (message.gingerOrgId != null && message.hasOwnProperty("gingerOrgId"))
142269
142289
  object.gingerOrgId = message.gingerOrgId;
142290
+ if (message.eligibilityCollectiveUuid != null && message.hasOwnProperty("eligibilityCollectiveUuid"))
142291
+ object.eligibilityCollectiveUuid = message.eligibilityCollectiveUuid;
142270
142292
  return object;
142271
142293
  };
142272
142294
 
@@ -147411,7 +147433,7 @@ $root.GympassProperties = (function() {
147411
147433
  * @name IGympassProperties
147412
147434
  * @interface IGympassProperties
147413
147435
  * @property {string|null} [countryCode] GympassProperties countryCode
147414
- * @property {number|null} [planId] GympassProperties planId
147436
+ * @property {string|null} [planId] GympassProperties planId
147415
147437
  */
147416
147438
 
147417
147439
  /**
@@ -147439,11 +147461,11 @@ $root.GympassProperties = (function() {
147439
147461
 
147440
147462
  /**
147441
147463
  * GympassProperties planId.
147442
- * @member {number} planId
147464
+ * @member {string} planId
147443
147465
  * @memberof GympassProperties
147444
147466
  * @instance
147445
147467
  */
147446
- GympassProperties.prototype.planId = 0;
147468
+ GympassProperties.prototype.planId = "";
147447
147469
 
147448
147470
  /**
147449
147471
  * Creates a new GympassProperties instance using the specified properties.
@@ -147472,7 +147494,7 @@ $root.GympassProperties = (function() {
147472
147494
  if (message.countryCode != null && message.hasOwnProperty("countryCode"))
147473
147495
  writer.uint32(/* id 1, wireType 2 =*/10).string(message.countryCode);
147474
147496
  if (message.planId != null && message.hasOwnProperty("planId"))
147475
- writer.uint32(/* id 2, wireType 0 =*/16).uint32(message.planId);
147497
+ writer.uint32(/* id 2, wireType 2 =*/18).string(message.planId);
147476
147498
  return writer;
147477
147499
  };
147478
147500
 
@@ -147511,7 +147533,7 @@ $root.GympassProperties = (function() {
147511
147533
  message.countryCode = reader.string();
147512
147534
  break;
147513
147535
  case 2:
147514
- message.planId = reader.uint32();
147536
+ message.planId = reader.string();
147515
147537
  break;
147516
147538
  default:
147517
147539
  reader.skipType(tag & 7);
@@ -147552,8 +147574,8 @@ $root.GympassProperties = (function() {
147552
147574
  if (!$util.isString(message.countryCode))
147553
147575
  return "countryCode: string expected";
147554
147576
  if (message.planId != null && message.hasOwnProperty("planId"))
147555
- if (!$util.isInteger(message.planId))
147556
- return "planId: integer expected";
147577
+ if (!$util.isString(message.planId))
147578
+ return "planId: string expected";
147557
147579
  return null;
147558
147580
  };
147559
147581
 
@@ -147572,7 +147594,7 @@ $root.GympassProperties = (function() {
147572
147594
  if (object.countryCode != null)
147573
147595
  message.countryCode = String(object.countryCode);
147574
147596
  if (object.planId != null)
147575
- message.planId = object.planId >>> 0;
147597
+ message.planId = String(object.planId);
147576
147598
  return message;
147577
147599
  };
147578
147600
 
@@ -147591,7 +147613,7 @@ $root.GympassProperties = (function() {
147591
147613
  var object = {};
147592
147614
  if (options.defaults) {
147593
147615
  object.countryCode = "";
147594
- object.planId = 0;
147616
+ object.planId = "";
147595
147617
  }
147596
147618
  if (message.countryCode != null && message.hasOwnProperty("countryCode"))
147597
147619
  object.countryCode = message.countryCode;
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.652.0"
19
+ "version": "1.654.0"
20
20
  }