@headspace/protos-events 1.653.0 → 1.655.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
@@ -60117,6 +60123,9 @@ export interface IOrgCoverageProfile {
60117
60123
 
60118
60124
  /** OrgCoverageProfile headspaceHealthOrgId */
60119
60125
  headspaceHealthOrgId?: (string|null);
60126
+
60127
+ /** OrgCoverageProfile enrollmentFlow */
60128
+ enrollmentFlow?: (b2b.EnrollmentFlow|null);
60120
60129
  }
60121
60130
 
60122
60131
  /** Represents an OrgCoverageProfile. */
@@ -60149,6 +60158,9 @@ export class OrgCoverageProfile implements IOrgCoverageProfile {
60149
60158
  /** OrgCoverageProfile headspaceHealthOrgId. */
60150
60159
  public headspaceHealthOrgId: string;
60151
60160
 
60161
+ /** OrgCoverageProfile enrollmentFlow. */
60162
+ public enrollmentFlow: b2b.EnrollmentFlow;
60163
+
60152
60164
  /**
60153
60165
  * Creates a new OrgCoverageProfile instance using the specified properties.
60154
60166
  * @param [properties] Properties to set
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
 
@@ -168419,6 +168441,7 @@ $root.OrgCoverageProfile = (function() {
168419
168441
  * @property {number|Long|null} [careOrgId] OrgCoverageProfile careOrgId
168420
168442
  * @property {number|Long|null} [headspaceOrgId] OrgCoverageProfile headspaceOrgId
168421
168443
  * @property {string|null} [headspaceHealthOrgId] OrgCoverageProfile headspaceHealthOrgId
168444
+ * @property {b2b.EnrollmentFlow|null} [enrollmentFlow] OrgCoverageProfile enrollmentFlow
168422
168445
  */
168423
168446
 
168424
168447
  /**
@@ -168492,6 +168515,14 @@ $root.OrgCoverageProfile = (function() {
168492
168515
  */
168493
168516
  OrgCoverageProfile.prototype.headspaceHealthOrgId = "";
168494
168517
 
168518
+ /**
168519
+ * OrgCoverageProfile enrollmentFlow.
168520
+ * @member {b2b.EnrollmentFlow} enrollmentFlow
168521
+ * @memberof OrgCoverageProfile
168522
+ * @instance
168523
+ */
168524
+ OrgCoverageProfile.prototype.enrollmentFlow = 0;
168525
+
168495
168526
  /**
168496
168527
  * Creates a new OrgCoverageProfile instance using the specified properties.
168497
168528
  * @function create
@@ -168530,6 +168561,8 @@ $root.OrgCoverageProfile = (function() {
168530
168561
  writer.uint32(/* id 7, wireType 0 =*/56).uint64(message.headspaceOrgId);
168531
168562
  if (message.headspaceHealthOrgId != null && message.hasOwnProperty("headspaceHealthOrgId"))
168532
168563
  writer.uint32(/* id 8, wireType 2 =*/66).string(message.headspaceHealthOrgId);
168564
+ if (message.enrollmentFlow != null && message.hasOwnProperty("enrollmentFlow"))
168565
+ writer.uint32(/* id 9, wireType 0 =*/72).int32(message.enrollmentFlow);
168533
168566
  return writer;
168534
168567
  };
168535
168568
 
@@ -168585,6 +168618,9 @@ $root.OrgCoverageProfile = (function() {
168585
168618
  case 8:
168586
168619
  message.headspaceHealthOrgId = reader.string();
168587
168620
  break;
168621
+ case 9:
168622
+ message.enrollmentFlow = reader.int32();
168623
+ break;
168588
168624
  default:
168589
168625
  reader.skipType(tag & 7);
168590
168626
  break;
@@ -168662,6 +168698,18 @@ $root.OrgCoverageProfile = (function() {
168662
168698
  if (message.headspaceHealthOrgId != null && message.hasOwnProperty("headspaceHealthOrgId"))
168663
168699
  if (!$util.isString(message.headspaceHealthOrgId))
168664
168700
  return "headspaceHealthOrgId: string expected";
168701
+ if (message.enrollmentFlow != null && message.hasOwnProperty("enrollmentFlow"))
168702
+ switch (message.enrollmentFlow) {
168703
+ default:
168704
+ return "enrollmentFlow: enum value expected";
168705
+ case 0:
168706
+ case 1:
168707
+ case 2:
168708
+ case 3:
168709
+ case 4:
168710
+ case 5:
168711
+ break;
168712
+ }
168665
168713
  return null;
168666
168714
  };
168667
168715
 
@@ -168760,6 +168808,32 @@ $root.OrgCoverageProfile = (function() {
168760
168808
  message.headspaceOrgId = new $util.LongBits(object.headspaceOrgId.low >>> 0, object.headspaceOrgId.high >>> 0).toNumber(true);
168761
168809
  if (object.headspaceHealthOrgId != null)
168762
168810
  message.headspaceHealthOrgId = String(object.headspaceHealthOrgId);
168811
+ switch (object.enrollmentFlow) {
168812
+ case "ENROLLMENT_FLOW_UNKNOWN":
168813
+ case 0:
168814
+ message.enrollmentFlow = 0;
168815
+ break;
168816
+ case "ENROLLMENT_FLOW_HEADSPACE":
168817
+ case 1:
168818
+ message.enrollmentFlow = 1;
168819
+ break;
168820
+ case "ENROLLMENT_FLOW_CONNECTED":
168821
+ case 2:
168822
+ message.enrollmentFlow = 2;
168823
+ break;
168824
+ case "ENROLLMENT_FLOW_UMD":
168825
+ case 3:
168826
+ message.enrollmentFlow = 3;
168827
+ break;
168828
+ case "ENROLLMENT_FLOW_FUSION":
168829
+ case 4:
168830
+ message.enrollmentFlow = 4;
168831
+ break;
168832
+ case "ENROLLMENT_FLOW_GINGER":
168833
+ case 5:
168834
+ message.enrollmentFlow = 5;
168835
+ break;
168836
+ }
168763
168837
  return message;
168764
168838
  };
168765
168839
 
@@ -168796,6 +168870,7 @@ $root.OrgCoverageProfile = (function() {
168796
168870
  } else
168797
168871
  object.headspaceOrgId = options.longs === String ? "0" : 0;
168798
168872
  object.headspaceHealthOrgId = "";
168873
+ object.enrollmentFlow = options.enums === String ? "ENROLLMENT_FLOW_UNKNOWN" : 0;
168799
168874
  }
168800
168875
  if (message.type != null && message.hasOwnProperty("type"))
168801
168876
  object.type = options.enums === String ? $root.OrgCoverageType[message.type] : message.type;
@@ -168820,6 +168895,8 @@ $root.OrgCoverageProfile = (function() {
168820
168895
  object.headspaceOrgId = options.longs === String ? $util.Long.prototype.toString.call(message.headspaceOrgId) : options.longs === Number ? new $util.LongBits(message.headspaceOrgId.low >>> 0, message.headspaceOrgId.high >>> 0).toNumber(true) : message.headspaceOrgId;
168821
168896
  if (message.headspaceHealthOrgId != null && message.hasOwnProperty("headspaceHealthOrgId"))
168822
168897
  object.headspaceHealthOrgId = message.headspaceHealthOrgId;
168898
+ if (message.enrollmentFlow != null && message.hasOwnProperty("enrollmentFlow"))
168899
+ object.enrollmentFlow = options.enums === String ? $root.b2b.EnrollmentFlow[message.enrollmentFlow] : message.enrollmentFlow;
168823
168900
  return object;
168824
168901
  };
168825
168902
 
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.653.0"
19
+ "version": "1.655.0"
20
20
  }