@headspace/protos-events 1.318.0 → 1.319.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
@@ -9012,6 +9012,9 @@ export namespace b2b {
9012
9012
 
9013
9013
  /** Organization restrictBy */
9014
9014
  restrictBy?: (b2b.OrgRestrictBy|null);
9015
+
9016
+ /** Organization gingerId */
9017
+ gingerId?: (string|null);
9015
9018
  }
9016
9019
 
9017
9020
  /** Represents an Organization. */
@@ -9050,6 +9053,9 @@ export namespace b2b {
9050
9053
  /** Organization restrictBy. */
9051
9054
  public restrictBy: b2b.OrgRestrictBy;
9052
9055
 
9056
+ /** Organization gingerId. */
9057
+ public gingerId: string;
9058
+
9053
9059
  /**
9054
9060
  * Creates a new Organization instance using the specified properties.
9055
9061
  * @param [properties] Properties to set
@@ -9268,7 +9274,9 @@ export namespace b2b {
9268
9274
  ORG_RESTRICT_BY_EMAIL_ELIGIBILITY_FILE = 4,
9269
9275
  ORG_RESTRICT_BY_ELIGIBILITY_FILE_GRACE_PERIOD = 5,
9270
9276
  ORG_RESTRICT_BY_EMPLOYEE_ID = 6,
9271
- ORG_RESTRICT_BY_SSO = 7
9277
+ ORG_RESTRICT_BY_SSO = 7,
9278
+ ORG_RESTRICT_BY_BUNDLED_EMAIL_ELIGIBILITY_FILE = 8,
9279
+ ORG_RESTRICT_BY_BUNDLED_EMPLOYEE_ID_ELIGIBILITY_FILE = 9
9272
9280
  }
9273
9281
 
9274
9282
  /** OrgType enum. */
@@ -29400,6 +29408,126 @@ export class FamilyMemberInvited implements IFamilyMemberInvited {
29400
29408
  public toJSON(): { [k: string]: any };
29401
29409
  }
29402
29410
 
29411
+ /** Properties of a FamilyMemberSynced. */
29412
+ export interface IFamilyMemberSynced {
29413
+
29414
+ /** FamilyMemberSynced timestamp */
29415
+ timestamp?: (number|Long|null);
29416
+
29417
+ /** FamilyMemberSynced userGroupEntryId */
29418
+ userGroupEntryId?: (number|null);
29419
+
29420
+ /** FamilyMemberSynced userId */
29421
+ userId?: (string|null);
29422
+
29423
+ /** FamilyMemberSynced userGroupId */
29424
+ userGroupId?: (number|null);
29425
+
29426
+ /** FamilyMemberSynced role */
29427
+ role?: (community.FamilyPlanRole|null);
29428
+
29429
+ /** FamilyMemberSynced orgId */
29430
+ orgId?: (number|null);
29431
+ }
29432
+
29433
+ /** Event published after a UserGroupEntry has it's `removedOn` field updated to match the user group's subscription. `removedOn` must be in the future */
29434
+ export class FamilyMemberSynced implements IFamilyMemberSynced {
29435
+
29436
+ /**
29437
+ * Constructs a new FamilyMemberSynced.
29438
+ * @param [properties] Properties to set
29439
+ */
29440
+ constructor(properties?: IFamilyMemberSynced);
29441
+
29442
+ /** FamilyMemberSynced timestamp. */
29443
+ public timestamp: (number|Long);
29444
+
29445
+ /** FamilyMemberSynced userGroupEntryId. */
29446
+ public userGroupEntryId: number;
29447
+
29448
+ /** FamilyMemberSynced userId. */
29449
+ public userId: string;
29450
+
29451
+ /** FamilyMemberSynced userGroupId. */
29452
+ public userGroupId: number;
29453
+
29454
+ /** FamilyMemberSynced role. */
29455
+ public role: community.FamilyPlanRole;
29456
+
29457
+ /** FamilyMemberSynced orgId. */
29458
+ public orgId: number;
29459
+
29460
+ /**
29461
+ * Creates a new FamilyMemberSynced instance using the specified properties.
29462
+ * @param [properties] Properties to set
29463
+ * @returns FamilyMemberSynced instance
29464
+ */
29465
+ public static create(properties?: IFamilyMemberSynced): FamilyMemberSynced;
29466
+
29467
+ /**
29468
+ * Encodes the specified FamilyMemberSynced message. Does not implicitly {@link FamilyMemberSynced.verify|verify} messages.
29469
+ * @param message FamilyMemberSynced message or plain object to encode
29470
+ * @param [writer] Writer to encode to
29471
+ * @returns Writer
29472
+ */
29473
+ public static encode(message: IFamilyMemberSynced, writer?: $protobuf.Writer): $protobuf.Writer;
29474
+
29475
+ /**
29476
+ * Encodes the specified FamilyMemberSynced message, length delimited. Does not implicitly {@link FamilyMemberSynced.verify|verify} messages.
29477
+ * @param message FamilyMemberSynced message or plain object to encode
29478
+ * @param [writer] Writer to encode to
29479
+ * @returns Writer
29480
+ */
29481
+ public static encodeDelimited(message: IFamilyMemberSynced, writer?: $protobuf.Writer): $protobuf.Writer;
29482
+
29483
+ /**
29484
+ * Decodes a FamilyMemberSynced message from the specified reader or buffer.
29485
+ * @param reader Reader or buffer to decode from
29486
+ * @param [length] Message length if known beforehand
29487
+ * @returns FamilyMemberSynced
29488
+ * @throws {Error} If the payload is not a reader or valid buffer
29489
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
29490
+ */
29491
+ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): FamilyMemberSynced;
29492
+
29493
+ /**
29494
+ * Decodes a FamilyMemberSynced message from the specified reader or buffer, length delimited.
29495
+ * @param reader Reader or buffer to decode from
29496
+ * @returns FamilyMemberSynced
29497
+ * @throws {Error} If the payload is not a reader or valid buffer
29498
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
29499
+ */
29500
+ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): FamilyMemberSynced;
29501
+
29502
+ /**
29503
+ * Verifies a FamilyMemberSynced message.
29504
+ * @param message Plain object to verify
29505
+ * @returns `null` if valid, otherwise the reason why it is not
29506
+ */
29507
+ public static verify(message: { [k: string]: any }): (string|null);
29508
+
29509
+ /**
29510
+ * Creates a FamilyMemberSynced message from a plain object. Also converts values to their respective internal types.
29511
+ * @param object Plain object
29512
+ * @returns FamilyMemberSynced
29513
+ */
29514
+ public static fromObject(object: { [k: string]: any }): FamilyMemberSynced;
29515
+
29516
+ /**
29517
+ * Creates a plain object from a FamilyMemberSynced message. Also converts values to other types if specified.
29518
+ * @param message FamilyMemberSynced
29519
+ * @param [options] Conversion options
29520
+ * @returns Plain object
29521
+ */
29522
+ public static toObject(message: FamilyMemberSynced, options?: $protobuf.IConversionOptions): { [k: string]: any };
29523
+
29524
+ /**
29525
+ * Converts this FamilyMemberSynced to JSON.
29526
+ * @returns JSON object
29527
+ */
29528
+ public toJSON(): { [k: string]: any };
29529
+ }
29530
+
29403
29531
  /** Properties of a FamilyMemberRejected. */
29404
29532
  export interface IFamilyMemberRejected {
29405
29533
 
@@ -30596,6 +30724,15 @@ export interface IEnterpriseUserEnrollmentCreated {
30596
30724
 
30597
30725
  /** EnterpriseUserEnrollmentCreated isSsoEnabled */
30598
30726
  isSsoEnabled?: (boolean|null);
30727
+
30728
+ /** EnterpriseUserEnrollmentCreated gingerId */
30729
+ gingerId?: (string|null);
30730
+
30731
+ /** EnterpriseUserEnrollmentCreated employeeId */
30732
+ employeeId?: (string|null);
30733
+
30734
+ /** EnterpriseUserEnrollmentCreated employeeEmailHash */
30735
+ employeeEmailHash?: (string|null);
30599
30736
  }
30600
30737
 
30601
30738
  /** Represents an EnterpriseUserEnrollmentCreated. */
@@ -30667,6 +30804,15 @@ export class EnterpriseUserEnrollmentCreated implements IEnterpriseUserEnrollmen
30667
30804
  /** EnterpriseUserEnrollmentCreated isSsoEnabled. */
30668
30805
  public isSsoEnabled: boolean;
30669
30806
 
30807
+ /** EnterpriseUserEnrollmentCreated gingerId. */
30808
+ public gingerId: string;
30809
+
30810
+ /** EnterpriseUserEnrollmentCreated employeeId. */
30811
+ public employeeId: string;
30812
+
30813
+ /** EnterpriseUserEnrollmentCreated employeeEmailHash. */
30814
+ public employeeEmailHash: string;
30815
+
30670
30816
  /**
30671
30817
  * Creates a new EnterpriseUserEnrollmentCreated instance using the specified properties.
30672
30818
  * @param [properties] Properties to set
@@ -30803,6 +30949,15 @@ export interface IEnterpriseUserEnrollmentRemoved {
30803
30949
 
30804
30950
  /** EnterpriseUserEnrollmentRemoved isSsoEnabled */
30805
30951
  isSsoEnabled?: (boolean|null);
30952
+
30953
+ /** EnterpriseUserEnrollmentRemoved gingerId */
30954
+ gingerId?: (string|null);
30955
+
30956
+ /** EnterpriseUserEnrollmentRemoved employeeId */
30957
+ employeeId?: (string|null);
30958
+
30959
+ /** EnterpriseUserEnrollmentRemoved employeeEmailHash */
30960
+ employeeEmailHash?: (string|null);
30806
30961
  }
30807
30962
 
30808
30963
  /** Represents an EnterpriseUserEnrollmentRemoved. */
@@ -30877,6 +31032,15 @@ export class EnterpriseUserEnrollmentRemoved implements IEnterpriseUserEnrollmen
30877
31032
  /** EnterpriseUserEnrollmentRemoved isSsoEnabled. */
30878
31033
  public isSsoEnabled: boolean;
30879
31034
 
31035
+ /** EnterpriseUserEnrollmentRemoved gingerId. */
31036
+ public gingerId: string;
31037
+
31038
+ /** EnterpriseUserEnrollmentRemoved employeeId. */
31039
+ public employeeId: string;
31040
+
31041
+ /** EnterpriseUserEnrollmentRemoved employeeEmailHash. */
31042
+ public employeeEmailHash: string;
31043
+
30880
31044
  /**
30881
31045
  * Creates a new EnterpriseUserEnrollmentRemoved instance using the specified properties.
30882
31046
  * @param [properties] Properties to set
@@ -31010,6 +31174,15 @@ export interface IEnterpriseUserEnrollmentAmended {
31010
31174
 
31011
31175
  /** EnterpriseUserEnrollmentAmended isSsoEnabled */
31012
31176
  isSsoEnabled?: (boolean|null);
31177
+
31178
+ /** EnterpriseUserEnrollmentAmended gingerId */
31179
+ gingerId?: (string|null);
31180
+
31181
+ /** EnterpriseUserEnrollmentAmended employeeId */
31182
+ employeeId?: (string|null);
31183
+
31184
+ /** EnterpriseUserEnrollmentAmended employeeEmailHash */
31185
+ employeeEmailHash?: (string|null);
31013
31186
  }
31014
31187
 
31015
31188
  /** Represents an EnterpriseUserEnrollmentAmended. */
@@ -31081,6 +31254,15 @@ export class EnterpriseUserEnrollmentAmended implements IEnterpriseUserEnrollmen
31081
31254
  /** EnterpriseUserEnrollmentAmended isSsoEnabled. */
31082
31255
  public isSsoEnabled: boolean;
31083
31256
 
31257
+ /** EnterpriseUserEnrollmentAmended gingerId. */
31258
+ public gingerId: string;
31259
+
31260
+ /** EnterpriseUserEnrollmentAmended employeeId. */
31261
+ public employeeId: string;
31262
+
31263
+ /** EnterpriseUserEnrollmentAmended employeeEmailHash. */
31264
+ public employeeEmailHash: string;
31265
+
31084
31266
  /**
31085
31267
  * Creates a new EnterpriseUserEnrollmentAmended instance using the specified properties.
31086
31268
  * @param [properties] Properties to set
package/lib/index.js CHANGED
@@ -21159,6 +21159,7 @@ $root.b2b = (function() {
21159
21159
  * @property {string|null} [healthHubId] Organization healthHubId
21160
21160
  * @property {string|null} [healthHubName] Organization healthHubName
21161
21161
  * @property {b2b.OrgRestrictBy|null} [restrictBy] Organization restrictBy
21162
+ * @property {string|null} [gingerId] Organization gingerId
21162
21163
  */
21163
21164
 
21164
21165
  /**
@@ -21248,6 +21249,14 @@ $root.b2b = (function() {
21248
21249
  */
21249
21250
  Organization.prototype.restrictBy = 0;
21250
21251
 
21252
+ /**
21253
+ * Organization gingerId.
21254
+ * @member {string} gingerId
21255
+ * @memberof b2b.Organization
21256
+ * @instance
21257
+ */
21258
+ Organization.prototype.gingerId = "";
21259
+
21251
21260
  /**
21252
21261
  * Creates a new Organization instance using the specified properties.
21253
21262
  * @function create
@@ -21290,6 +21299,8 @@ $root.b2b = (function() {
21290
21299
  writer.uint32(/* id 8, wireType 2 =*/66).string(message.healthHubName);
21291
21300
  if (message.restrictBy != null && message.hasOwnProperty("restrictBy"))
21292
21301
  writer.uint32(/* id 9, wireType 0 =*/72).int32(message.restrictBy);
21302
+ if (message.gingerId != null && message.hasOwnProperty("gingerId"))
21303
+ writer.uint32(/* id 10, wireType 2 =*/82).string(message.gingerId);
21293
21304
  return writer;
21294
21305
  };
21295
21306
 
@@ -21351,6 +21362,9 @@ $root.b2b = (function() {
21351
21362
  case 9:
21352
21363
  message.restrictBy = reader.int32();
21353
21364
  break;
21365
+ case 10:
21366
+ message.gingerId = reader.string();
21367
+ break;
21354
21368
  default:
21355
21369
  reader.skipType(tag & 7);
21356
21370
  break;
@@ -21432,8 +21446,13 @@ $root.b2b = (function() {
21432
21446
  case 5:
21433
21447
  case 6:
21434
21448
  case 7:
21449
+ case 8:
21450
+ case 9:
21435
21451
  break;
21436
21452
  }
21453
+ if (message.gingerId != null && message.hasOwnProperty("gingerId"))
21454
+ if (!$util.isString(message.gingerId))
21455
+ return "gingerId: string expected";
21437
21456
  return null;
21438
21457
  };
21439
21458
 
@@ -21526,7 +21545,17 @@ $root.b2b = (function() {
21526
21545
  case 7:
21527
21546
  message.restrictBy = 7;
21528
21547
  break;
21548
+ case "ORG_RESTRICT_BY_BUNDLED_EMAIL_ELIGIBILITY_FILE":
21549
+ case 8:
21550
+ message.restrictBy = 8;
21551
+ break;
21552
+ case "ORG_RESTRICT_BY_BUNDLED_EMPLOYEE_ID_ELIGIBILITY_FILE":
21553
+ case 9:
21554
+ message.restrictBy = 9;
21555
+ break;
21529
21556
  }
21557
+ if (object.gingerId != null)
21558
+ message.gingerId = String(object.gingerId);
21530
21559
  return message;
21531
21560
  };
21532
21561
 
@@ -21553,6 +21582,7 @@ $root.b2b = (function() {
21553
21582
  object.healthHubId = "";
21554
21583
  object.healthHubName = "";
21555
21584
  object.restrictBy = options.enums === String ? "ORG_RESTRICT_BY_UNKNOWN" : 0;
21585
+ object.gingerId = "";
21556
21586
  }
21557
21587
  if (message.orgId != null && message.hasOwnProperty("orgId"))
21558
21588
  object.orgId = message.orgId;
@@ -21572,6 +21602,8 @@ $root.b2b = (function() {
21572
21602
  object.healthHubName = message.healthHubName;
21573
21603
  if (message.restrictBy != null && message.hasOwnProperty("restrictBy"))
21574
21604
  object.restrictBy = options.enums === String ? $root.b2b.OrgRestrictBy[message.restrictBy] : message.restrictBy;
21605
+ if (message.gingerId != null && message.hasOwnProperty("gingerId"))
21606
+ object.gingerId = message.gingerId;
21575
21607
  return object;
21576
21608
  };
21577
21609
 
@@ -22021,6 +22053,8 @@ $root.b2b = (function() {
22021
22053
  * @property {number} ORG_RESTRICT_BY_ELIGIBILITY_FILE_GRACE_PERIOD=5 ORG_RESTRICT_BY_ELIGIBILITY_FILE_GRACE_PERIOD value
22022
22054
  * @property {number} ORG_RESTRICT_BY_EMPLOYEE_ID=6 ORG_RESTRICT_BY_EMPLOYEE_ID value
22023
22055
  * @property {number} ORG_RESTRICT_BY_SSO=7 ORG_RESTRICT_BY_SSO value
22056
+ * @property {number} ORG_RESTRICT_BY_BUNDLED_EMAIL_ELIGIBILITY_FILE=8 ORG_RESTRICT_BY_BUNDLED_EMAIL_ELIGIBILITY_FILE value
22057
+ * @property {number} ORG_RESTRICT_BY_BUNDLED_EMPLOYEE_ID_ELIGIBILITY_FILE=9 ORG_RESTRICT_BY_BUNDLED_EMPLOYEE_ID_ELIGIBILITY_FILE value
22024
22058
  */
22025
22059
  b2b.OrgRestrictBy = (function() {
22026
22060
  var valuesById = {}, values = Object.create(valuesById);
@@ -22032,6 +22066,8 @@ $root.b2b = (function() {
22032
22066
  values[valuesById[5] = "ORG_RESTRICT_BY_ELIGIBILITY_FILE_GRACE_PERIOD"] = 5;
22033
22067
  values[valuesById[6] = "ORG_RESTRICT_BY_EMPLOYEE_ID"] = 6;
22034
22068
  values[valuesById[7] = "ORG_RESTRICT_BY_SSO"] = 7;
22069
+ values[valuesById[8] = "ORG_RESTRICT_BY_BUNDLED_EMAIL_ELIGIBILITY_FILE"] = 8;
22070
+ values[valuesById[9] = "ORG_RESTRICT_BY_BUNDLED_EMPLOYEE_ID_ELIGIBILITY_FILE"] = 9;
22035
22071
  return values;
22036
22072
  })();
22037
22073
 
@@ -81478,6 +81514,336 @@ $root.FamilyMemberInvited = (function() {
81478
81514
  return FamilyMemberInvited;
81479
81515
  })();
81480
81516
 
81517
+ $root.FamilyMemberSynced = (function() {
81518
+
81519
+ /**
81520
+ * Properties of a FamilyMemberSynced.
81521
+ * @exports IFamilyMemberSynced
81522
+ * @interface IFamilyMemberSynced
81523
+ * @property {number|Long|null} [timestamp] FamilyMemberSynced timestamp
81524
+ * @property {number|null} [userGroupEntryId] FamilyMemberSynced userGroupEntryId
81525
+ * @property {string|null} [userId] FamilyMemberSynced userId
81526
+ * @property {number|null} [userGroupId] FamilyMemberSynced userGroupId
81527
+ * @property {community.FamilyPlanRole|null} [role] FamilyMemberSynced role
81528
+ * @property {number|null} [orgId] FamilyMemberSynced orgId
81529
+ */
81530
+
81531
+ /**
81532
+ * Constructs a new FamilyMemberSynced.
81533
+ * @exports FamilyMemberSynced
81534
+ * @classdesc Event published after a UserGroupEntry has it's `removedOn` field updated to match the user group's subscription. `removedOn` must be in the future
81535
+ * @implements IFamilyMemberSynced
81536
+ * @constructor
81537
+ * @param {IFamilyMemberSynced=} [properties] Properties to set
81538
+ */
81539
+ function FamilyMemberSynced(properties) {
81540
+ if (properties)
81541
+ for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i)
81542
+ if (properties[keys[i]] != null)
81543
+ this[keys[i]] = properties[keys[i]];
81544
+ }
81545
+
81546
+ /**
81547
+ * FamilyMemberSynced timestamp.
81548
+ * @member {number|Long} timestamp
81549
+ * @memberof FamilyMemberSynced
81550
+ * @instance
81551
+ */
81552
+ FamilyMemberSynced.prototype.timestamp = $util.Long ? $util.Long.fromBits(0,0,true) : 0;
81553
+
81554
+ /**
81555
+ * FamilyMemberSynced userGroupEntryId.
81556
+ * @member {number} userGroupEntryId
81557
+ * @memberof FamilyMemberSynced
81558
+ * @instance
81559
+ */
81560
+ FamilyMemberSynced.prototype.userGroupEntryId = 0;
81561
+
81562
+ /**
81563
+ * FamilyMemberSynced userId.
81564
+ * @member {string} userId
81565
+ * @memberof FamilyMemberSynced
81566
+ * @instance
81567
+ */
81568
+ FamilyMemberSynced.prototype.userId = "";
81569
+
81570
+ /**
81571
+ * FamilyMemberSynced userGroupId.
81572
+ * @member {number} userGroupId
81573
+ * @memberof FamilyMemberSynced
81574
+ * @instance
81575
+ */
81576
+ FamilyMemberSynced.prototype.userGroupId = 0;
81577
+
81578
+ /**
81579
+ * FamilyMemberSynced role.
81580
+ * @member {community.FamilyPlanRole} role
81581
+ * @memberof FamilyMemberSynced
81582
+ * @instance
81583
+ */
81584
+ FamilyMemberSynced.prototype.role = 0;
81585
+
81586
+ /**
81587
+ * FamilyMemberSynced orgId.
81588
+ * @member {number} orgId
81589
+ * @memberof FamilyMemberSynced
81590
+ * @instance
81591
+ */
81592
+ FamilyMemberSynced.prototype.orgId = 0;
81593
+
81594
+ /**
81595
+ * Creates a new FamilyMemberSynced instance using the specified properties.
81596
+ * @function create
81597
+ * @memberof FamilyMemberSynced
81598
+ * @static
81599
+ * @param {IFamilyMemberSynced=} [properties] Properties to set
81600
+ * @returns {FamilyMemberSynced} FamilyMemberSynced instance
81601
+ */
81602
+ FamilyMemberSynced.create = function create(properties) {
81603
+ return new FamilyMemberSynced(properties);
81604
+ };
81605
+
81606
+ /**
81607
+ * Encodes the specified FamilyMemberSynced message. Does not implicitly {@link FamilyMemberSynced.verify|verify} messages.
81608
+ * @function encode
81609
+ * @memberof FamilyMemberSynced
81610
+ * @static
81611
+ * @param {IFamilyMemberSynced} message FamilyMemberSynced message or plain object to encode
81612
+ * @param {$protobuf.Writer} [writer] Writer to encode to
81613
+ * @returns {$protobuf.Writer} Writer
81614
+ */
81615
+ FamilyMemberSynced.encode = function encode(message, writer) {
81616
+ if (!writer)
81617
+ writer = $Writer.create();
81618
+ if (message.timestamp != null && message.hasOwnProperty("timestamp"))
81619
+ writer.uint32(/* id 1, wireType 0 =*/8).uint64(message.timestamp);
81620
+ if (message.userGroupEntryId != null && message.hasOwnProperty("userGroupEntryId"))
81621
+ writer.uint32(/* id 2, wireType 0 =*/16).uint32(message.userGroupEntryId);
81622
+ if (message.userId != null && message.hasOwnProperty("userId"))
81623
+ writer.uint32(/* id 3, wireType 2 =*/26).string(message.userId);
81624
+ if (message.userGroupId != null && message.hasOwnProperty("userGroupId"))
81625
+ writer.uint32(/* id 4, wireType 0 =*/32).uint32(message.userGroupId);
81626
+ if (message.role != null && message.hasOwnProperty("role"))
81627
+ writer.uint32(/* id 5, wireType 0 =*/40).int32(message.role);
81628
+ if (message.orgId != null && message.hasOwnProperty("orgId"))
81629
+ writer.uint32(/* id 6, wireType 0 =*/48).uint32(message.orgId);
81630
+ return writer;
81631
+ };
81632
+
81633
+ /**
81634
+ * Encodes the specified FamilyMemberSynced message, length delimited. Does not implicitly {@link FamilyMemberSynced.verify|verify} messages.
81635
+ * @function encodeDelimited
81636
+ * @memberof FamilyMemberSynced
81637
+ * @static
81638
+ * @param {IFamilyMemberSynced} message FamilyMemberSynced message or plain object to encode
81639
+ * @param {$protobuf.Writer} [writer] Writer to encode to
81640
+ * @returns {$protobuf.Writer} Writer
81641
+ */
81642
+ FamilyMemberSynced.encodeDelimited = function encodeDelimited(message, writer) {
81643
+ return this.encode(message, writer).ldelim();
81644
+ };
81645
+
81646
+ /**
81647
+ * Decodes a FamilyMemberSynced message from the specified reader or buffer.
81648
+ * @function decode
81649
+ * @memberof FamilyMemberSynced
81650
+ * @static
81651
+ * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from
81652
+ * @param {number} [length] Message length if known beforehand
81653
+ * @returns {FamilyMemberSynced} FamilyMemberSynced
81654
+ * @throws {Error} If the payload is not a reader or valid buffer
81655
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
81656
+ */
81657
+ FamilyMemberSynced.decode = function decode(reader, length) {
81658
+ if (!(reader instanceof $Reader))
81659
+ reader = $Reader.create(reader);
81660
+ var end = length === undefined ? reader.len : reader.pos + length, message = new $root.FamilyMemberSynced();
81661
+ while (reader.pos < end) {
81662
+ var tag = reader.uint32();
81663
+ switch (tag >>> 3) {
81664
+ case 1:
81665
+ message.timestamp = reader.uint64();
81666
+ break;
81667
+ case 2:
81668
+ message.userGroupEntryId = reader.uint32();
81669
+ break;
81670
+ case 3:
81671
+ message.userId = reader.string();
81672
+ break;
81673
+ case 4:
81674
+ message.userGroupId = reader.uint32();
81675
+ break;
81676
+ case 5:
81677
+ message.role = reader.int32();
81678
+ break;
81679
+ case 6:
81680
+ message.orgId = reader.uint32();
81681
+ break;
81682
+ default:
81683
+ reader.skipType(tag & 7);
81684
+ break;
81685
+ }
81686
+ }
81687
+ return message;
81688
+ };
81689
+
81690
+ /**
81691
+ * Decodes a FamilyMemberSynced message from the specified reader or buffer, length delimited.
81692
+ * @function decodeDelimited
81693
+ * @memberof FamilyMemberSynced
81694
+ * @static
81695
+ * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from
81696
+ * @returns {FamilyMemberSynced} FamilyMemberSynced
81697
+ * @throws {Error} If the payload is not a reader or valid buffer
81698
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
81699
+ */
81700
+ FamilyMemberSynced.decodeDelimited = function decodeDelimited(reader) {
81701
+ if (!(reader instanceof $Reader))
81702
+ reader = new $Reader(reader);
81703
+ return this.decode(reader, reader.uint32());
81704
+ };
81705
+
81706
+ /**
81707
+ * Verifies a FamilyMemberSynced message.
81708
+ * @function verify
81709
+ * @memberof FamilyMemberSynced
81710
+ * @static
81711
+ * @param {Object.<string,*>} message Plain object to verify
81712
+ * @returns {string|null} `null` if valid, otherwise the reason why it is not
81713
+ */
81714
+ FamilyMemberSynced.verify = function verify(message) {
81715
+ if (typeof message !== "object" || message === null)
81716
+ return "object expected";
81717
+ if (message.timestamp != null && message.hasOwnProperty("timestamp"))
81718
+ if (!$util.isInteger(message.timestamp) && !(message.timestamp && $util.isInteger(message.timestamp.low) && $util.isInteger(message.timestamp.high)))
81719
+ return "timestamp: integer|Long expected";
81720
+ if (message.userGroupEntryId != null && message.hasOwnProperty("userGroupEntryId"))
81721
+ if (!$util.isInteger(message.userGroupEntryId))
81722
+ return "userGroupEntryId: integer expected";
81723
+ if (message.userId != null && message.hasOwnProperty("userId"))
81724
+ if (!$util.isString(message.userId))
81725
+ return "userId: string expected";
81726
+ if (message.userGroupId != null && message.hasOwnProperty("userGroupId"))
81727
+ if (!$util.isInteger(message.userGroupId))
81728
+ return "userGroupId: integer expected";
81729
+ if (message.role != null && message.hasOwnProperty("role"))
81730
+ switch (message.role) {
81731
+ default:
81732
+ return "role: enum value expected";
81733
+ case 0:
81734
+ case 1:
81735
+ case 2:
81736
+ break;
81737
+ }
81738
+ if (message.orgId != null && message.hasOwnProperty("orgId"))
81739
+ if (!$util.isInteger(message.orgId))
81740
+ return "orgId: integer expected";
81741
+ return null;
81742
+ };
81743
+
81744
+ /**
81745
+ * Creates a FamilyMemberSynced message from a plain object. Also converts values to their respective internal types.
81746
+ * @function fromObject
81747
+ * @memberof FamilyMemberSynced
81748
+ * @static
81749
+ * @param {Object.<string,*>} object Plain object
81750
+ * @returns {FamilyMemberSynced} FamilyMemberSynced
81751
+ */
81752
+ FamilyMemberSynced.fromObject = function fromObject(object) {
81753
+ if (object instanceof $root.FamilyMemberSynced)
81754
+ return object;
81755
+ var message = new $root.FamilyMemberSynced();
81756
+ if (object.timestamp != null)
81757
+ if ($util.Long)
81758
+ (message.timestamp = $util.Long.fromValue(object.timestamp)).unsigned = true;
81759
+ else if (typeof object.timestamp === "string")
81760
+ message.timestamp = parseInt(object.timestamp, 10);
81761
+ else if (typeof object.timestamp === "number")
81762
+ message.timestamp = object.timestamp;
81763
+ else if (typeof object.timestamp === "object")
81764
+ message.timestamp = new $util.LongBits(object.timestamp.low >>> 0, object.timestamp.high >>> 0).toNumber(true);
81765
+ if (object.userGroupEntryId != null)
81766
+ message.userGroupEntryId = object.userGroupEntryId >>> 0;
81767
+ if (object.userId != null)
81768
+ message.userId = String(object.userId);
81769
+ if (object.userGroupId != null)
81770
+ message.userGroupId = object.userGroupId >>> 0;
81771
+ switch (object.role) {
81772
+ case "FAMILYPLAN_UNKNOWN":
81773
+ case 0:
81774
+ message.role = 0;
81775
+ break;
81776
+ case "FAMILYPLAN_OWNER":
81777
+ case 1:
81778
+ message.role = 1;
81779
+ break;
81780
+ case "FAMILYPLAN_MEMBER":
81781
+ case 2:
81782
+ message.role = 2;
81783
+ break;
81784
+ }
81785
+ if (object.orgId != null)
81786
+ message.orgId = object.orgId >>> 0;
81787
+ return message;
81788
+ };
81789
+
81790
+ /**
81791
+ * Creates a plain object from a FamilyMemberSynced message. Also converts values to other types if specified.
81792
+ * @function toObject
81793
+ * @memberof FamilyMemberSynced
81794
+ * @static
81795
+ * @param {FamilyMemberSynced} message FamilyMemberSynced
81796
+ * @param {$protobuf.IConversionOptions} [options] Conversion options
81797
+ * @returns {Object.<string,*>} Plain object
81798
+ */
81799
+ FamilyMemberSynced.toObject = function toObject(message, options) {
81800
+ if (!options)
81801
+ options = {};
81802
+ var object = {};
81803
+ if (options.defaults) {
81804
+ if ($util.Long) {
81805
+ var long = new $util.Long(0, 0, true);
81806
+ object.timestamp = options.longs === String ? long.toString() : options.longs === Number ? long.toNumber() : long;
81807
+ } else
81808
+ object.timestamp = options.longs === String ? "0" : 0;
81809
+ object.userGroupEntryId = 0;
81810
+ object.userId = "";
81811
+ object.userGroupId = 0;
81812
+ object.role = options.enums === String ? "FAMILYPLAN_UNKNOWN" : 0;
81813
+ object.orgId = 0;
81814
+ }
81815
+ if (message.timestamp != null && message.hasOwnProperty("timestamp"))
81816
+ if (typeof message.timestamp === "number")
81817
+ object.timestamp = options.longs === String ? String(message.timestamp) : message.timestamp;
81818
+ else
81819
+ object.timestamp = options.longs === String ? $util.Long.prototype.toString.call(message.timestamp) : options.longs === Number ? new $util.LongBits(message.timestamp.low >>> 0, message.timestamp.high >>> 0).toNumber(true) : message.timestamp;
81820
+ if (message.userGroupEntryId != null && message.hasOwnProperty("userGroupEntryId"))
81821
+ object.userGroupEntryId = message.userGroupEntryId;
81822
+ if (message.userId != null && message.hasOwnProperty("userId"))
81823
+ object.userId = message.userId;
81824
+ if (message.userGroupId != null && message.hasOwnProperty("userGroupId"))
81825
+ object.userGroupId = message.userGroupId;
81826
+ if (message.role != null && message.hasOwnProperty("role"))
81827
+ object.role = options.enums === String ? $root.community.FamilyPlanRole[message.role] : message.role;
81828
+ if (message.orgId != null && message.hasOwnProperty("orgId"))
81829
+ object.orgId = message.orgId;
81830
+ return object;
81831
+ };
81832
+
81833
+ /**
81834
+ * Converts this FamilyMemberSynced to JSON.
81835
+ * @function toJSON
81836
+ * @memberof FamilyMemberSynced
81837
+ * @instance
81838
+ * @returns {Object.<string,*>} JSON object
81839
+ */
81840
+ FamilyMemberSynced.prototype.toJSON = function toJSON() {
81841
+ return this.constructor.toObject(this, $protobuf.util.toJSONOptions);
81842
+ };
81843
+
81844
+ return FamilyMemberSynced;
81845
+ })();
81846
+
81481
81847
  $root.FamilyMemberRejected = (function() {
81482
81848
 
81483
81849
  /**
@@ -84264,6 +84630,9 @@ $root.EnterpriseUserEnrollmentCreated = (function() {
84264
84630
  * @property {boolean|null} [isTelehealthEnabled] EnterpriseUserEnrollmentCreated isTelehealthEnabled
84265
84631
  * @property {b2b.SSOConnectionAction|null} [ssoConnectionAction] EnterpriseUserEnrollmentCreated ssoConnectionAction
84266
84632
  * @property {boolean|null} [isSsoEnabled] EnterpriseUserEnrollmentCreated isSsoEnabled
84633
+ * @property {string|null} [gingerId] EnterpriseUserEnrollmentCreated gingerId
84634
+ * @property {string|null} [employeeId] EnterpriseUserEnrollmentCreated employeeId
84635
+ * @property {string|null} [employeeEmailHash] EnterpriseUserEnrollmentCreated employeeEmailHash
84267
84636
  */
84268
84637
 
84269
84638
  /**
@@ -84441,6 +84810,30 @@ $root.EnterpriseUserEnrollmentCreated = (function() {
84441
84810
  */
84442
84811
  EnterpriseUserEnrollmentCreated.prototype.isSsoEnabled = false;
84443
84812
 
84813
+ /**
84814
+ * EnterpriseUserEnrollmentCreated gingerId.
84815
+ * @member {string} gingerId
84816
+ * @memberof EnterpriseUserEnrollmentCreated
84817
+ * @instance
84818
+ */
84819
+ EnterpriseUserEnrollmentCreated.prototype.gingerId = "";
84820
+
84821
+ /**
84822
+ * EnterpriseUserEnrollmentCreated employeeId.
84823
+ * @member {string} employeeId
84824
+ * @memberof EnterpriseUserEnrollmentCreated
84825
+ * @instance
84826
+ */
84827
+ EnterpriseUserEnrollmentCreated.prototype.employeeId = "";
84828
+
84829
+ /**
84830
+ * EnterpriseUserEnrollmentCreated employeeEmailHash.
84831
+ * @member {string} employeeEmailHash
84832
+ * @memberof EnterpriseUserEnrollmentCreated
84833
+ * @instance
84834
+ */
84835
+ EnterpriseUserEnrollmentCreated.prototype.employeeEmailHash = "";
84836
+
84444
84837
  /**
84445
84838
  * Creates a new EnterpriseUserEnrollmentCreated instance using the specified properties.
84446
84839
  * @function create
@@ -84505,6 +84898,12 @@ $root.EnterpriseUserEnrollmentCreated = (function() {
84505
84898
  writer.uint32(/* id 22, wireType 0 =*/176).int32(message.ssoConnectionAction);
84506
84899
  if (message.isSsoEnabled != null && message.hasOwnProperty("isSsoEnabled"))
84507
84900
  writer.uint32(/* id 23, wireType 0 =*/184).bool(message.isSsoEnabled);
84901
+ if (message.gingerId != null && message.hasOwnProperty("gingerId"))
84902
+ writer.uint32(/* id 24, wireType 2 =*/194).string(message.gingerId);
84903
+ if (message.employeeId != null && message.hasOwnProperty("employeeId"))
84904
+ writer.uint32(/* id 25, wireType 2 =*/202).string(message.employeeId);
84905
+ if (message.employeeEmailHash != null && message.hasOwnProperty("employeeEmailHash"))
84906
+ writer.uint32(/* id 26, wireType 2 =*/210).string(message.employeeEmailHash);
84508
84907
  return writer;
84509
84908
  };
84510
84909
 
@@ -84599,6 +84998,15 @@ $root.EnterpriseUserEnrollmentCreated = (function() {
84599
84998
  case 23:
84600
84999
  message.isSsoEnabled = reader.bool();
84601
85000
  break;
85001
+ case 24:
85002
+ message.gingerId = reader.string();
85003
+ break;
85004
+ case 25:
85005
+ message.employeeId = reader.string();
85006
+ break;
85007
+ case 26:
85008
+ message.employeeEmailHash = reader.string();
85009
+ break;
84602
85010
  default:
84603
85011
  reader.skipType(tag & 7);
84604
85012
  break;
@@ -84716,6 +85124,15 @@ $root.EnterpriseUserEnrollmentCreated = (function() {
84716
85124
  if (message.isSsoEnabled != null && message.hasOwnProperty("isSsoEnabled"))
84717
85125
  if (typeof message.isSsoEnabled !== "boolean")
84718
85126
  return "isSsoEnabled: boolean expected";
85127
+ if (message.gingerId != null && message.hasOwnProperty("gingerId"))
85128
+ if (!$util.isString(message.gingerId))
85129
+ return "gingerId: string expected";
85130
+ if (message.employeeId != null && message.hasOwnProperty("employeeId"))
85131
+ if (!$util.isString(message.employeeId))
85132
+ return "employeeId: string expected";
85133
+ if (message.employeeEmailHash != null && message.hasOwnProperty("employeeEmailHash"))
85134
+ if (!$util.isString(message.employeeEmailHash))
85135
+ return "employeeEmailHash: string expected";
84719
85136
  return null;
84720
85137
  };
84721
85138
 
@@ -84858,6 +85275,12 @@ $root.EnterpriseUserEnrollmentCreated = (function() {
84858
85275
  }
84859
85276
  if (object.isSsoEnabled != null)
84860
85277
  message.isSsoEnabled = Boolean(object.isSsoEnabled);
85278
+ if (object.gingerId != null)
85279
+ message.gingerId = String(object.gingerId);
85280
+ if (object.employeeId != null)
85281
+ message.employeeId = String(object.employeeId);
85282
+ if (object.employeeEmailHash != null)
85283
+ message.employeeEmailHash = String(object.employeeEmailHash);
84861
85284
  return message;
84862
85285
  };
84863
85286
 
@@ -84915,6 +85338,9 @@ $root.EnterpriseUserEnrollmentCreated = (function() {
84915
85338
  object.isTelehealthEnabled = false;
84916
85339
  object.ssoConnectionAction = options.enums === String ? "CONNECTION_NO_UPDATE" : 0;
84917
85340
  object.isSsoEnabled = false;
85341
+ object.gingerId = "";
85342
+ object.employeeId = "";
85343
+ object.employeeEmailHash = "";
84918
85344
  }
84919
85345
  if (message.userId != null && message.hasOwnProperty("userId"))
84920
85346
  object.userId = message.userId;
@@ -84971,6 +85397,12 @@ $root.EnterpriseUserEnrollmentCreated = (function() {
84971
85397
  object.ssoConnectionAction = options.enums === String ? $root.b2b.SSOConnectionAction[message.ssoConnectionAction] : message.ssoConnectionAction;
84972
85398
  if (message.isSsoEnabled != null && message.hasOwnProperty("isSsoEnabled"))
84973
85399
  object.isSsoEnabled = message.isSsoEnabled;
85400
+ if (message.gingerId != null && message.hasOwnProperty("gingerId"))
85401
+ object.gingerId = message.gingerId;
85402
+ if (message.employeeId != null && message.hasOwnProperty("employeeId"))
85403
+ object.employeeId = message.employeeId;
85404
+ if (message.employeeEmailHash != null && message.hasOwnProperty("employeeEmailHash"))
85405
+ object.employeeEmailHash = message.employeeEmailHash;
84974
85406
  return object;
84975
85407
  };
84976
85408
 
@@ -85015,6 +85447,9 @@ $root.EnterpriseUserEnrollmentRemoved = (function() {
85015
85447
  * @property {boolean|null} [isTelehealthEnabled] EnterpriseUserEnrollmentRemoved isTelehealthEnabled
85016
85448
  * @property {b2b.SSOConnectionAction|null} [ssoConnectionAction] EnterpriseUserEnrollmentRemoved ssoConnectionAction
85017
85449
  * @property {boolean|null} [isSsoEnabled] EnterpriseUserEnrollmentRemoved isSsoEnabled
85450
+ * @property {string|null} [gingerId] EnterpriseUserEnrollmentRemoved gingerId
85451
+ * @property {string|null} [employeeId] EnterpriseUserEnrollmentRemoved employeeId
85452
+ * @property {string|null} [employeeEmailHash] EnterpriseUserEnrollmentRemoved employeeEmailHash
85018
85453
  */
85019
85454
 
85020
85455
  /**
@@ -85200,6 +85635,30 @@ $root.EnterpriseUserEnrollmentRemoved = (function() {
85200
85635
  */
85201
85636
  EnterpriseUserEnrollmentRemoved.prototype.isSsoEnabled = false;
85202
85637
 
85638
+ /**
85639
+ * EnterpriseUserEnrollmentRemoved gingerId.
85640
+ * @member {string} gingerId
85641
+ * @memberof EnterpriseUserEnrollmentRemoved
85642
+ * @instance
85643
+ */
85644
+ EnterpriseUserEnrollmentRemoved.prototype.gingerId = "";
85645
+
85646
+ /**
85647
+ * EnterpriseUserEnrollmentRemoved employeeId.
85648
+ * @member {string} employeeId
85649
+ * @memberof EnterpriseUserEnrollmentRemoved
85650
+ * @instance
85651
+ */
85652
+ EnterpriseUserEnrollmentRemoved.prototype.employeeId = "";
85653
+
85654
+ /**
85655
+ * EnterpriseUserEnrollmentRemoved employeeEmailHash.
85656
+ * @member {string} employeeEmailHash
85657
+ * @memberof EnterpriseUserEnrollmentRemoved
85658
+ * @instance
85659
+ */
85660
+ EnterpriseUserEnrollmentRemoved.prototype.employeeEmailHash = "";
85661
+
85203
85662
  /**
85204
85663
  * Creates a new EnterpriseUserEnrollmentRemoved instance using the specified properties.
85205
85664
  * @function create
@@ -85266,6 +85725,12 @@ $root.EnterpriseUserEnrollmentRemoved = (function() {
85266
85725
  writer.uint32(/* id 23, wireType 0 =*/184).int32(message.ssoConnectionAction);
85267
85726
  if (message.isSsoEnabled != null && message.hasOwnProperty("isSsoEnabled"))
85268
85727
  writer.uint32(/* id 24, wireType 0 =*/192).bool(message.isSsoEnabled);
85728
+ if (message.gingerId != null && message.hasOwnProperty("gingerId"))
85729
+ writer.uint32(/* id 25, wireType 2 =*/202).string(message.gingerId);
85730
+ if (message.employeeId != null && message.hasOwnProperty("employeeId"))
85731
+ writer.uint32(/* id 26, wireType 2 =*/210).string(message.employeeId);
85732
+ if (message.employeeEmailHash != null && message.hasOwnProperty("employeeEmailHash"))
85733
+ writer.uint32(/* id 27, wireType 2 =*/218).string(message.employeeEmailHash);
85269
85734
  return writer;
85270
85735
  };
85271
85736
 
@@ -85363,6 +85828,15 @@ $root.EnterpriseUserEnrollmentRemoved = (function() {
85363
85828
  case 24:
85364
85829
  message.isSsoEnabled = reader.bool();
85365
85830
  break;
85831
+ case 25:
85832
+ message.gingerId = reader.string();
85833
+ break;
85834
+ case 26:
85835
+ message.employeeId = reader.string();
85836
+ break;
85837
+ case 27:
85838
+ message.employeeEmailHash = reader.string();
85839
+ break;
85366
85840
  default:
85367
85841
  reader.skipType(tag & 7);
85368
85842
  break;
@@ -85497,6 +85971,15 @@ $root.EnterpriseUserEnrollmentRemoved = (function() {
85497
85971
  if (message.isSsoEnabled != null && message.hasOwnProperty("isSsoEnabled"))
85498
85972
  if (typeof message.isSsoEnabled !== "boolean")
85499
85973
  return "isSsoEnabled: boolean expected";
85974
+ if (message.gingerId != null && message.hasOwnProperty("gingerId"))
85975
+ if (!$util.isString(message.gingerId))
85976
+ return "gingerId: string expected";
85977
+ if (message.employeeId != null && message.hasOwnProperty("employeeId"))
85978
+ if (!$util.isString(message.employeeId))
85979
+ return "employeeId: string expected";
85980
+ if (message.employeeEmailHash != null && message.hasOwnProperty("employeeEmailHash"))
85981
+ if (!$util.isString(message.employeeEmailHash))
85982
+ return "employeeEmailHash: string expected";
85500
85983
  return null;
85501
85984
  };
85502
85985
 
@@ -85685,6 +86168,12 @@ $root.EnterpriseUserEnrollmentRemoved = (function() {
85685
86168
  }
85686
86169
  if (object.isSsoEnabled != null)
85687
86170
  message.isSsoEnabled = Boolean(object.isSsoEnabled);
86171
+ if (object.gingerId != null)
86172
+ message.gingerId = String(object.gingerId);
86173
+ if (object.employeeId != null)
86174
+ message.employeeId = String(object.employeeId);
86175
+ if (object.employeeEmailHash != null)
86176
+ message.employeeEmailHash = String(object.employeeEmailHash);
85688
86177
  return message;
85689
86178
  };
85690
86179
 
@@ -85743,6 +86232,9 @@ $root.EnterpriseUserEnrollmentRemoved = (function() {
85743
86232
  object.isTelehealthEnabled = false;
85744
86233
  object.ssoConnectionAction = options.enums === String ? "CONNECTION_NO_UPDATE" : 0;
85745
86234
  object.isSsoEnabled = false;
86235
+ object.gingerId = "";
86236
+ object.employeeId = "";
86237
+ object.employeeEmailHash = "";
85746
86238
  }
85747
86239
  if (message.userId != null && message.hasOwnProperty("userId"))
85748
86240
  object.userId = message.userId;
@@ -85801,6 +86293,12 @@ $root.EnterpriseUserEnrollmentRemoved = (function() {
85801
86293
  object.ssoConnectionAction = options.enums === String ? $root.b2b.SSOConnectionAction[message.ssoConnectionAction] : message.ssoConnectionAction;
85802
86294
  if (message.isSsoEnabled != null && message.hasOwnProperty("isSsoEnabled"))
85803
86295
  object.isSsoEnabled = message.isSsoEnabled;
86296
+ if (message.gingerId != null && message.hasOwnProperty("gingerId"))
86297
+ object.gingerId = message.gingerId;
86298
+ if (message.employeeId != null && message.hasOwnProperty("employeeId"))
86299
+ object.employeeId = message.employeeId;
86300
+ if (message.employeeEmailHash != null && message.hasOwnProperty("employeeEmailHash"))
86301
+ object.employeeEmailHash = message.employeeEmailHash;
85804
86302
  return object;
85805
86303
  };
85806
86304
 
@@ -85844,6 +86342,9 @@ $root.EnterpriseUserEnrollmentAmended = (function() {
85844
86342
  * @property {boolean|null} [isTelehealthEnabled] EnterpriseUserEnrollmentAmended isTelehealthEnabled
85845
86343
  * @property {b2b.SSOConnectionAction|null} [ssoConnectionAction] EnterpriseUserEnrollmentAmended ssoConnectionAction
85846
86344
  * @property {boolean|null} [isSsoEnabled] EnterpriseUserEnrollmentAmended isSsoEnabled
86345
+ * @property {string|null} [gingerId] EnterpriseUserEnrollmentAmended gingerId
86346
+ * @property {string|null} [employeeId] EnterpriseUserEnrollmentAmended employeeId
86347
+ * @property {string|null} [employeeEmailHash] EnterpriseUserEnrollmentAmended employeeEmailHash
85847
86348
  */
85848
86349
 
85849
86350
  /**
@@ -86021,6 +86522,30 @@ $root.EnterpriseUserEnrollmentAmended = (function() {
86021
86522
  */
86022
86523
  EnterpriseUserEnrollmentAmended.prototype.isSsoEnabled = false;
86023
86524
 
86525
+ /**
86526
+ * EnterpriseUserEnrollmentAmended gingerId.
86527
+ * @member {string} gingerId
86528
+ * @memberof EnterpriseUserEnrollmentAmended
86529
+ * @instance
86530
+ */
86531
+ EnterpriseUserEnrollmentAmended.prototype.gingerId = "";
86532
+
86533
+ /**
86534
+ * EnterpriseUserEnrollmentAmended employeeId.
86535
+ * @member {string} employeeId
86536
+ * @memberof EnterpriseUserEnrollmentAmended
86537
+ * @instance
86538
+ */
86539
+ EnterpriseUserEnrollmentAmended.prototype.employeeId = "";
86540
+
86541
+ /**
86542
+ * EnterpriseUserEnrollmentAmended employeeEmailHash.
86543
+ * @member {string} employeeEmailHash
86544
+ * @memberof EnterpriseUserEnrollmentAmended
86545
+ * @instance
86546
+ */
86547
+ EnterpriseUserEnrollmentAmended.prototype.employeeEmailHash = "";
86548
+
86024
86549
  /**
86025
86550
  * Creates a new EnterpriseUserEnrollmentAmended instance using the specified properties.
86026
86551
  * @function create
@@ -86085,6 +86610,12 @@ $root.EnterpriseUserEnrollmentAmended = (function() {
86085
86610
  writer.uint32(/* id 22, wireType 0 =*/176).int32(message.ssoConnectionAction);
86086
86611
  if (message.isSsoEnabled != null && message.hasOwnProperty("isSsoEnabled"))
86087
86612
  writer.uint32(/* id 23, wireType 0 =*/184).bool(message.isSsoEnabled);
86613
+ if (message.gingerId != null && message.hasOwnProperty("gingerId"))
86614
+ writer.uint32(/* id 24, wireType 2 =*/194).string(message.gingerId);
86615
+ if (message.employeeId != null && message.hasOwnProperty("employeeId"))
86616
+ writer.uint32(/* id 25, wireType 2 =*/202).string(message.employeeId);
86617
+ if (message.employeeEmailHash != null && message.hasOwnProperty("employeeEmailHash"))
86618
+ writer.uint32(/* id 26, wireType 2 =*/210).string(message.employeeEmailHash);
86088
86619
  return writer;
86089
86620
  };
86090
86621
 
@@ -86179,6 +86710,15 @@ $root.EnterpriseUserEnrollmentAmended = (function() {
86179
86710
  case 23:
86180
86711
  message.isSsoEnabled = reader.bool();
86181
86712
  break;
86713
+ case 24:
86714
+ message.gingerId = reader.string();
86715
+ break;
86716
+ case 25:
86717
+ message.employeeId = reader.string();
86718
+ break;
86719
+ case 26:
86720
+ message.employeeEmailHash = reader.string();
86721
+ break;
86182
86722
  default:
86183
86723
  reader.skipType(tag & 7);
86184
86724
  break;
@@ -86296,6 +86836,15 @@ $root.EnterpriseUserEnrollmentAmended = (function() {
86296
86836
  if (message.isSsoEnabled != null && message.hasOwnProperty("isSsoEnabled"))
86297
86837
  if (typeof message.isSsoEnabled !== "boolean")
86298
86838
  return "isSsoEnabled: boolean expected";
86839
+ if (message.gingerId != null && message.hasOwnProperty("gingerId"))
86840
+ if (!$util.isString(message.gingerId))
86841
+ return "gingerId: string expected";
86842
+ if (message.employeeId != null && message.hasOwnProperty("employeeId"))
86843
+ if (!$util.isString(message.employeeId))
86844
+ return "employeeId: string expected";
86845
+ if (message.employeeEmailHash != null && message.hasOwnProperty("employeeEmailHash"))
86846
+ if (!$util.isString(message.employeeEmailHash))
86847
+ return "employeeEmailHash: string expected";
86299
86848
  return null;
86300
86849
  };
86301
86850
 
@@ -86438,6 +86987,12 @@ $root.EnterpriseUserEnrollmentAmended = (function() {
86438
86987
  }
86439
86988
  if (object.isSsoEnabled != null)
86440
86989
  message.isSsoEnabled = Boolean(object.isSsoEnabled);
86990
+ if (object.gingerId != null)
86991
+ message.gingerId = String(object.gingerId);
86992
+ if (object.employeeId != null)
86993
+ message.employeeId = String(object.employeeId);
86994
+ if (object.employeeEmailHash != null)
86995
+ message.employeeEmailHash = String(object.employeeEmailHash);
86441
86996
  return message;
86442
86997
  };
86443
86998
 
@@ -86495,6 +87050,9 @@ $root.EnterpriseUserEnrollmentAmended = (function() {
86495
87050
  object.isTelehealthEnabled = false;
86496
87051
  object.ssoConnectionAction = options.enums === String ? "CONNECTION_NO_UPDATE" : 0;
86497
87052
  object.isSsoEnabled = false;
87053
+ object.gingerId = "";
87054
+ object.employeeId = "";
87055
+ object.employeeEmailHash = "";
86498
87056
  }
86499
87057
  if (message.userId != null && message.hasOwnProperty("userId"))
86500
87058
  object.userId = message.userId;
@@ -86551,6 +87109,12 @@ $root.EnterpriseUserEnrollmentAmended = (function() {
86551
87109
  object.ssoConnectionAction = options.enums === String ? $root.b2b.SSOConnectionAction[message.ssoConnectionAction] : message.ssoConnectionAction;
86552
87110
  if (message.isSsoEnabled != null && message.hasOwnProperty("isSsoEnabled"))
86553
87111
  object.isSsoEnabled = message.isSsoEnabled;
87112
+ if (message.gingerId != null && message.hasOwnProperty("gingerId"))
87113
+ object.gingerId = message.gingerId;
87114
+ if (message.employeeId != null && message.hasOwnProperty("employeeId"))
87115
+ object.employeeId = message.employeeId;
87116
+ if (message.employeeEmailHash != null && message.hasOwnProperty("employeeEmailHash"))
87117
+ object.employeeEmailHash = message.employeeEmailHash;
86554
87118
  return object;
86555
87119
  };
86556
87120
 
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.318.0"
19
+ "version": "1.319.0"
20
20
  }