@headspace/protos-events 1.551.0 → 1.552.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
@@ -38954,7 +38954,7 @@ export interface IGingerMemberUpgraded {
38954
38954
  headspaceHealthOrgId?: (string|null);
38955
38955
 
38956
38956
  /** GingerMemberUpgraded b2bOrgId */
38957
- b2bOrgId?: (string|null);
38957
+ b2bOrgId?: (number|null);
38958
38958
 
38959
38959
  /** GingerMemberUpgraded gingerOrgId */
38960
38960
  gingerOrgId?: (string|null);
@@ -38992,7 +38992,7 @@ export class GingerMemberUpgraded implements IGingerMemberUpgraded {
38992
38992
  public headspaceHealthOrgId: string;
38993
38993
 
38994
38994
  /** GingerMemberUpgraded b2bOrgId. */
38995
- public b2bOrgId: string;
38995
+ public b2bOrgId: number;
38996
38996
 
38997
38997
  /** GingerMemberUpgraded gingerOrgId. */
38998
38998
  public gingerOrgId: string;
@@ -39093,7 +39093,7 @@ export interface IGingerDependentUpgraded {
39093
39093
  b2bOrgId?: (number|null);
39094
39094
 
39095
39095
  /** The organization's ID in the ginger system */
39096
- gingerOrgId?: (number|null);
39096
+ gingerOrgId?: (string|null);
39097
39097
 
39098
39098
  /** The primary member's HSUSER_* ID */
39099
39099
  primaryHsUserId?: (string|null);
@@ -39128,7 +39128,7 @@ export class GingerDependentUpgraded implements IGingerDependentUpgraded {
39128
39128
  public b2bOrgId: number;
39129
39129
 
39130
39130
  /** The organization's ID in the ginger system */
39131
- public gingerOrgId: number;
39131
+ public gingerOrgId: string;
39132
39132
 
39133
39133
  /** The primary member's HSUSER_* ID */
39134
39134
  public primaryHsUserId: string;
package/lib/index.js CHANGED
@@ -110053,7 +110053,7 @@ $root.GingerMemberUpgraded = (function() {
110053
110053
  * @name IGingerMemberUpgraded
110054
110054
  * @interface IGingerMemberUpgraded
110055
110055
  * @property {string|null} [headspaceHealthOrgId] GingerMemberUpgraded headspaceHealthOrgId
110056
- * @property {string|null} [b2bOrgId] GingerMemberUpgraded b2bOrgId
110056
+ * @property {number|null} [b2bOrgId] GingerMemberUpgraded b2bOrgId
110057
110057
  * @property {string|null} [gingerOrgId] GingerMemberUpgraded gingerOrgId
110058
110058
  * @property {string|null} [workEmail] GingerMemberUpgraded workEmail
110059
110059
  * @property {string|null} [workId] GingerMemberUpgraded workId
@@ -110089,11 +110089,11 @@ $root.GingerMemberUpgraded = (function() {
110089
110089
 
110090
110090
  /**
110091
110091
  * GingerMemberUpgraded b2bOrgId.
110092
- * @member {string} b2bOrgId
110092
+ * @member {number} b2bOrgId
110093
110093
  * @memberof GingerMemberUpgraded
110094
110094
  * @instance
110095
110095
  */
110096
- GingerMemberUpgraded.prototype.b2bOrgId = "";
110096
+ GingerMemberUpgraded.prototype.b2bOrgId = 0;
110097
110097
 
110098
110098
  /**
110099
110099
  * GingerMemberUpgraded gingerOrgId.
@@ -110170,7 +110170,7 @@ $root.GingerMemberUpgraded = (function() {
110170
110170
  if (message.headspaceHealthOrgId != null && message.hasOwnProperty("headspaceHealthOrgId"))
110171
110171
  writer.uint32(/* id 1, wireType 2 =*/10).string(message.headspaceHealthOrgId);
110172
110172
  if (message.b2bOrgId != null && message.hasOwnProperty("b2bOrgId"))
110173
- writer.uint32(/* id 2, wireType 2 =*/18).string(message.b2bOrgId);
110173
+ writer.uint32(/* id 2, wireType 0 =*/16).uint32(message.b2bOrgId);
110174
110174
  if (message.gingerOrgId != null && message.hasOwnProperty("gingerOrgId"))
110175
110175
  writer.uint32(/* id 3, wireType 2 =*/26).string(message.gingerOrgId);
110176
110176
  if (message.workEmail != null && message.hasOwnProperty("workEmail"))
@@ -110221,7 +110221,7 @@ $root.GingerMemberUpgraded = (function() {
110221
110221
  message.headspaceHealthOrgId = reader.string();
110222
110222
  break;
110223
110223
  case 2:
110224
- message.b2bOrgId = reader.string();
110224
+ message.b2bOrgId = reader.uint32();
110225
110225
  break;
110226
110226
  case 3:
110227
110227
  message.gingerOrgId = reader.string();
@@ -110280,8 +110280,8 @@ $root.GingerMemberUpgraded = (function() {
110280
110280
  if (!$util.isString(message.headspaceHealthOrgId))
110281
110281
  return "headspaceHealthOrgId: string expected";
110282
110282
  if (message.b2bOrgId != null && message.hasOwnProperty("b2bOrgId"))
110283
- if (!$util.isString(message.b2bOrgId))
110284
- return "b2bOrgId: string expected";
110283
+ if (!$util.isInteger(message.b2bOrgId))
110284
+ return "b2bOrgId: integer expected";
110285
110285
  if (message.gingerOrgId != null && message.hasOwnProperty("gingerOrgId"))
110286
110286
  if (!$util.isString(message.gingerOrgId))
110287
110287
  return "gingerOrgId: string expected";
@@ -110318,7 +110318,7 @@ $root.GingerMemberUpgraded = (function() {
110318
110318
  if (object.headspaceHealthOrgId != null)
110319
110319
  message.headspaceHealthOrgId = String(object.headspaceHealthOrgId);
110320
110320
  if (object.b2bOrgId != null)
110321
- message.b2bOrgId = String(object.b2bOrgId);
110321
+ message.b2bOrgId = object.b2bOrgId >>> 0;
110322
110322
  if (object.gingerOrgId != null)
110323
110323
  message.gingerOrgId = String(object.gingerOrgId);
110324
110324
  if (object.workEmail != null)
@@ -110349,7 +110349,7 @@ $root.GingerMemberUpgraded = (function() {
110349
110349
  var object = {};
110350
110350
  if (options.defaults) {
110351
110351
  object.headspaceHealthOrgId = "";
110352
- object.b2bOrgId = "";
110352
+ object.b2bOrgId = 0;
110353
110353
  object.gingerOrgId = "";
110354
110354
  object.workEmail = "";
110355
110355
  object.workId = "";
@@ -110398,7 +110398,7 @@ $root.GingerDependentUpgraded = (function() {
110398
110398
  * @interface IGingerDependentUpgraded
110399
110399
  * @property {string|null} [headspaceHealthOrgId] The organization's UUID v4, which is shared between b2b and ginger systems
110400
110400
  * @property {number|null} [b2bOrgId] The organization's ID in the b2b system
110401
- * @property {number|null} [gingerOrgId] The organization's ID in the ginger system
110401
+ * @property {string|null} [gingerOrgId] The organization's ID in the ginger system
110402
110402
  * @property {string|null} [primaryHsUserId] The primary member's HSUSER_* ID
110403
110403
  * @property {string|null} [hsUserId] The dependent's HSUSER_* ID
110404
110404
  * @property {string|null} [firstName] GingerDependentUpgraded firstName
@@ -110440,11 +110440,11 @@ $root.GingerDependentUpgraded = (function() {
110440
110440
 
110441
110441
  /**
110442
110442
  * The organization's ID in the ginger system
110443
- * @member {number} gingerOrgId
110443
+ * @member {string} gingerOrgId
110444
110444
  * @memberof GingerDependentUpgraded
110445
110445
  * @instance
110446
110446
  */
110447
- GingerDependentUpgraded.prototype.gingerOrgId = 0;
110447
+ GingerDependentUpgraded.prototype.gingerOrgId = "";
110448
110448
 
110449
110449
  /**
110450
110450
  * The primary member's HSUSER_* ID
@@ -110507,7 +110507,7 @@ $root.GingerDependentUpgraded = (function() {
110507
110507
  if (message.b2bOrgId != null && message.hasOwnProperty("b2bOrgId"))
110508
110508
  writer.uint32(/* id 2, wireType 0 =*/16).uint32(message.b2bOrgId);
110509
110509
  if (message.gingerOrgId != null && message.hasOwnProperty("gingerOrgId"))
110510
- writer.uint32(/* id 3, wireType 0 =*/24).uint32(message.gingerOrgId);
110510
+ writer.uint32(/* id 3, wireType 2 =*/26).string(message.gingerOrgId);
110511
110511
  if (message.primaryHsUserId != null && message.hasOwnProperty("primaryHsUserId"))
110512
110512
  writer.uint32(/* id 4, wireType 2 =*/34).string(message.primaryHsUserId);
110513
110513
  if (message.hsUserId != null && message.hasOwnProperty("hsUserId"))
@@ -110557,7 +110557,7 @@ $root.GingerDependentUpgraded = (function() {
110557
110557
  message.b2bOrgId = reader.uint32();
110558
110558
  break;
110559
110559
  case 3:
110560
- message.gingerOrgId = reader.uint32();
110560
+ message.gingerOrgId = reader.string();
110561
110561
  break;
110562
110562
  case 4:
110563
110563
  message.primaryHsUserId = reader.string();
@@ -110613,8 +110613,8 @@ $root.GingerDependentUpgraded = (function() {
110613
110613
  if (!$util.isInteger(message.b2bOrgId))
110614
110614
  return "b2bOrgId: integer expected";
110615
110615
  if (message.gingerOrgId != null && message.hasOwnProperty("gingerOrgId"))
110616
- if (!$util.isInteger(message.gingerOrgId))
110617
- return "gingerOrgId: integer expected";
110616
+ if (!$util.isString(message.gingerOrgId))
110617
+ return "gingerOrgId: string expected";
110618
110618
  if (message.primaryHsUserId != null && message.hasOwnProperty("primaryHsUserId"))
110619
110619
  if (!$util.isString(message.primaryHsUserId))
110620
110620
  return "primaryHsUserId: string expected";
@@ -110647,7 +110647,7 @@ $root.GingerDependentUpgraded = (function() {
110647
110647
  if (object.b2bOrgId != null)
110648
110648
  message.b2bOrgId = object.b2bOrgId >>> 0;
110649
110649
  if (object.gingerOrgId != null)
110650
- message.gingerOrgId = object.gingerOrgId >>> 0;
110650
+ message.gingerOrgId = String(object.gingerOrgId);
110651
110651
  if (object.primaryHsUserId != null)
110652
110652
  message.primaryHsUserId = String(object.primaryHsUserId);
110653
110653
  if (object.hsUserId != null)
@@ -110675,7 +110675,7 @@ $root.GingerDependentUpgraded = (function() {
110675
110675
  if (options.defaults) {
110676
110676
  object.headspaceHealthOrgId = "";
110677
110677
  object.b2bOrgId = 0;
110678
- object.gingerOrgId = 0;
110678
+ object.gingerOrgId = "";
110679
110679
  object.primaryHsUserId = "";
110680
110680
  object.hsUserId = "";
110681
110681
  object.firstName = "";
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.551.0"
19
+ "version": "1.552.0"
20
20
  }