@headspace/protos-events 1.326.0 → 1.327.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
@@ -28561,6 +28561,9 @@ export interface IEligibilityFileProcessed {
28561
28561
 
28562
28562
  /** EligibilityFileProcessed dashboardUserId */
28563
28563
  dashboardUserId?: (number|null);
28564
+
28565
+ /** EligibilityFileProcessed orgRestrictBy */
28566
+ orgRestrictBy?: (b2b.OrgRestrictBy|null);
28564
28567
  }
28565
28568
 
28566
28569
  /** Represents an EligibilityFileProcessed. */
@@ -28608,6 +28611,9 @@ export class EligibilityFileProcessed implements IEligibilityFileProcessed {
28608
28611
  /** EligibilityFileProcessed dashboardUserId. */
28609
28612
  public dashboardUserId: number;
28610
28613
 
28614
+ /** EligibilityFileProcessed orgRestrictBy. */
28615
+ public orgRestrictBy: b2b.OrgRestrictBy;
28616
+
28611
28617
  /**
28612
28618
  * Creates a new EligibilityFileProcessed instance using the specified properties.
28613
28619
  * @param [properties] Properties to set
package/lib/index.js CHANGED
@@ -79113,6 +79113,7 @@ $root.EligibilityFileProcessed = (function() {
79113
79113
  * @property {Object.<string,number>|null} [numMembers] EligibilityFileProcessed numMembers
79114
79114
  * @property {number|null} [numMembersProcessed] EligibilityFileProcessed numMembersProcessed
79115
79115
  * @property {number|null} [dashboardUserId] EligibilityFileProcessed dashboardUserId
79116
+ * @property {b2b.OrgRestrictBy|null} [orgRestrictBy] EligibilityFileProcessed orgRestrictBy
79116
79117
  */
79117
79118
 
79118
79119
  /**
@@ -79227,6 +79228,14 @@ $root.EligibilityFileProcessed = (function() {
79227
79228
  */
79228
79229
  EligibilityFileProcessed.prototype.dashboardUserId = 0;
79229
79230
 
79231
+ /**
79232
+ * EligibilityFileProcessed orgRestrictBy.
79233
+ * @member {b2b.OrgRestrictBy} orgRestrictBy
79234
+ * @memberof EligibilityFileProcessed
79235
+ * @instance
79236
+ */
79237
+ EligibilityFileProcessed.prototype.orgRestrictBy = 0;
79238
+
79230
79239
  /**
79231
79240
  * Creates a new EligibilityFileProcessed instance using the specified properties.
79232
79241
  * @function create
@@ -79276,6 +79285,8 @@ $root.EligibilityFileProcessed = (function() {
79276
79285
  writer.uint32(/* id 11, wireType 0 =*/88).uint32(message.numMembersProcessed);
79277
79286
  if (message.dashboardUserId != null && message.hasOwnProperty("dashboardUserId"))
79278
79287
  writer.uint32(/* id 12, wireType 0 =*/96).uint32(message.dashboardUserId);
79288
+ if (message.orgRestrictBy != null && message.hasOwnProperty("orgRestrictBy"))
79289
+ writer.uint32(/* id 13, wireType 0 =*/104).int32(message.orgRestrictBy);
79279
79290
  return writer;
79280
79291
  };
79281
79292
 
@@ -79351,6 +79362,9 @@ $root.EligibilityFileProcessed = (function() {
79351
79362
  case 12:
79352
79363
  message.dashboardUserId = reader.uint32();
79353
79364
  break;
79365
+ case 13:
79366
+ message.orgRestrictBy = reader.int32();
79367
+ break;
79354
79368
  default:
79355
79369
  reader.skipType(tag & 7);
79356
79370
  break;
@@ -79429,6 +79443,22 @@ $root.EligibilityFileProcessed = (function() {
79429
79443
  if (message.dashboardUserId != null && message.hasOwnProperty("dashboardUserId"))
79430
79444
  if (!$util.isInteger(message.dashboardUserId))
79431
79445
  return "dashboardUserId: integer expected";
79446
+ if (message.orgRestrictBy != null && message.hasOwnProperty("orgRestrictBy"))
79447
+ switch (message.orgRestrictBy) {
79448
+ default:
79449
+ return "orgRestrictBy: enum value expected";
79450
+ case 0:
79451
+ case 1:
79452
+ case 2:
79453
+ case 3:
79454
+ case 4:
79455
+ case 5:
79456
+ case 6:
79457
+ case 7:
79458
+ case 8:
79459
+ case 9:
79460
+ break;
79461
+ }
79432
79462
  return null;
79433
79463
  };
79434
79464
 
@@ -79483,6 +79513,48 @@ $root.EligibilityFileProcessed = (function() {
79483
79513
  message.numMembersProcessed = object.numMembersProcessed >>> 0;
79484
79514
  if (object.dashboardUserId != null)
79485
79515
  message.dashboardUserId = object.dashboardUserId >>> 0;
79516
+ switch (object.orgRestrictBy) {
79517
+ case "ORG_RESTRICT_BY_UNKNOWN":
79518
+ case 0:
79519
+ message.orgRestrictBy = 0;
79520
+ break;
79521
+ case "ORG_RESTRICT_BY_UNRESTRICTED":
79522
+ case 1:
79523
+ message.orgRestrictBy = 1;
79524
+ break;
79525
+ case "ORG_RESTRICT_BY_EMAIL_DOMAIN":
79526
+ case 2:
79527
+ message.orgRestrictBy = 2;
79528
+ break;
79529
+ case "ORG_RESTRICT_BY_EMAIL_ADDRESS":
79530
+ case 3:
79531
+ message.orgRestrictBy = 3;
79532
+ break;
79533
+ case "ORG_RESTRICT_BY_EMAIL_ELIGIBILITY_FILE":
79534
+ case 4:
79535
+ message.orgRestrictBy = 4;
79536
+ break;
79537
+ case "ORG_RESTRICT_BY_ELIGIBILITY_FILE_GRACE_PERIOD":
79538
+ case 5:
79539
+ message.orgRestrictBy = 5;
79540
+ break;
79541
+ case "ORG_RESTRICT_BY_EMPLOYEE_ID":
79542
+ case 6:
79543
+ message.orgRestrictBy = 6;
79544
+ break;
79545
+ case "ORG_RESTRICT_BY_SSO":
79546
+ case 7:
79547
+ message.orgRestrictBy = 7;
79548
+ break;
79549
+ case "ORG_RESTRICT_BY_BUNDLED_EMAIL_ELIGIBILITY_FILE":
79550
+ case 8:
79551
+ message.orgRestrictBy = 8;
79552
+ break;
79553
+ case "ORG_RESTRICT_BY_BUNDLED_EMPLOYEE_ID_ELIGIBILITY_FILE":
79554
+ case 9:
79555
+ message.orgRestrictBy = 9;
79556
+ break;
79557
+ }
79486
79558
  return message;
79487
79559
  };
79488
79560
 
@@ -79517,6 +79589,7 @@ $root.EligibilityFileProcessed = (function() {
79517
79589
  object.orgId = 0;
79518
79590
  object.numMembersProcessed = 0;
79519
79591
  object.dashboardUserId = 0;
79592
+ object.orgRestrictBy = options.enums === String ? "ORG_RESTRICT_BY_UNKNOWN" : 0;
79520
79593
  }
79521
79594
  if (message.email != null && message.hasOwnProperty("email"))
79522
79595
  object.email = $root.Email.toObject(message.email, options);
@@ -79549,6 +79622,8 @@ $root.EligibilityFileProcessed = (function() {
79549
79622
  object.numMembersProcessed = message.numMembersProcessed;
79550
79623
  if (message.dashboardUserId != null && message.hasOwnProperty("dashboardUserId"))
79551
79624
  object.dashboardUserId = message.dashboardUserId;
79625
+ if (message.orgRestrictBy != null && message.hasOwnProperty("orgRestrictBy"))
79626
+ object.orgRestrictBy = options.enums === String ? $root.b2b.OrgRestrictBy[message.orgRestrictBy] : message.orgRestrictBy;
79552
79627
  return object;
79553
79628
  };
79554
79629
 
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.326.0"
19
+ "version": "1.327.0"
20
20
  }