@headspace/protos-events 1.309.0 → 1.310.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.
Files changed (3) hide show
  1. package/lib/index.d.ts +60 -132
  2. package/lib/index.js +220 -374
  3. package/package.json +1 -1
package/lib/index.d.ts CHANGED
@@ -9011,6 +9011,9 @@ export namespace b2b {
9011
9011
 
9012
9012
  /** Organization restrictBy */
9013
9013
  restrictBy?: (b2b.OrgRestrictBy|null);
9014
+
9015
+ /** Organization gingerId */
9016
+ gingerId?: (string|null);
9014
9017
  }
9015
9018
 
9016
9019
  /** Represents an Organization. */
@@ -9049,6 +9052,9 @@ export namespace b2b {
9049
9052
  /** Organization restrictBy. */
9050
9053
  public restrictBy: b2b.OrgRestrictBy;
9051
9054
 
9055
+ /** Organization gingerId. */
9056
+ public gingerId: string;
9057
+
9052
9058
  /**
9053
9059
  * Creates a new Organization instance using the specified properties.
9054
9060
  * @param [properties] Properties to set
@@ -29399,138 +29405,6 @@ export class FamilyMemberInvited implements IFamilyMemberInvited {
29399
29405
  public toJSON(): { [k: string]: any };
29400
29406
  }
29401
29407
 
29402
- /** Properties of a FamilyMemberActivated. */
29403
- export interface IFamilyMemberActivated {
29404
-
29405
- /** FamilyMemberActivated timestamp */
29406
- timestamp?: (number|Long|null);
29407
-
29408
- /** FamilyMemberActivated userGroupEntryId */
29409
- userGroupEntryId?: (number|null);
29410
-
29411
- /** FamilyMemberActivated userId */
29412
- userId?: (string|null);
29413
-
29414
- /** FamilyMemberActivated userGroupId */
29415
- userGroupId?: (number|null);
29416
-
29417
- /** FamilyMemberActivated email */
29418
- email?: (string|null);
29419
-
29420
- /** FamilyMemberActivated token */
29421
- token?: (string|null);
29422
-
29423
- /** FamilyMemberActivated role */
29424
- role?: (community.FamilyPlanRole|null);
29425
-
29426
- /** FamilyMemberActivated orgId */
29427
- orgId?: (number|null);
29428
- }
29429
-
29430
- /** Represents a FamilyMemberActivated. */
29431
- export class FamilyMemberActivated implements IFamilyMemberActivated {
29432
-
29433
- /**
29434
- * Constructs a new FamilyMemberActivated.
29435
- * @param [properties] Properties to set
29436
- */
29437
- constructor(properties?: IFamilyMemberActivated);
29438
-
29439
- /** FamilyMemberActivated timestamp. */
29440
- public timestamp: (number|Long);
29441
-
29442
- /** FamilyMemberActivated userGroupEntryId. */
29443
- public userGroupEntryId: number;
29444
-
29445
- /** FamilyMemberActivated userId. */
29446
- public userId: string;
29447
-
29448
- /** FamilyMemberActivated userGroupId. */
29449
- public userGroupId: number;
29450
-
29451
- /** FamilyMemberActivated email. */
29452
- public email: string;
29453
-
29454
- /** FamilyMemberActivated token. */
29455
- public token: string;
29456
-
29457
- /** FamilyMemberActivated role. */
29458
- public role: community.FamilyPlanRole;
29459
-
29460
- /** FamilyMemberActivated orgId. */
29461
- public orgId: number;
29462
-
29463
- /**
29464
- * Creates a new FamilyMemberActivated instance using the specified properties.
29465
- * @param [properties] Properties to set
29466
- * @returns FamilyMemberActivated instance
29467
- */
29468
- public static create(properties?: IFamilyMemberActivated): FamilyMemberActivated;
29469
-
29470
- /**
29471
- * Encodes the specified FamilyMemberActivated message. Does not implicitly {@link FamilyMemberActivated.verify|verify} messages.
29472
- * @param message FamilyMemberActivated message or plain object to encode
29473
- * @param [writer] Writer to encode to
29474
- * @returns Writer
29475
- */
29476
- public static encode(message: IFamilyMemberActivated, writer?: $protobuf.Writer): $protobuf.Writer;
29477
-
29478
- /**
29479
- * Encodes the specified FamilyMemberActivated message, length delimited. Does not implicitly {@link FamilyMemberActivated.verify|verify} messages.
29480
- * @param message FamilyMemberActivated message or plain object to encode
29481
- * @param [writer] Writer to encode to
29482
- * @returns Writer
29483
- */
29484
- public static encodeDelimited(message: IFamilyMemberActivated, writer?: $protobuf.Writer): $protobuf.Writer;
29485
-
29486
- /**
29487
- * Decodes a FamilyMemberActivated message from the specified reader or buffer.
29488
- * @param reader Reader or buffer to decode from
29489
- * @param [length] Message length if known beforehand
29490
- * @returns FamilyMemberActivated
29491
- * @throws {Error} If the payload is not a reader or valid buffer
29492
- * @throws {$protobuf.util.ProtocolError} If required fields are missing
29493
- */
29494
- public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): FamilyMemberActivated;
29495
-
29496
- /**
29497
- * Decodes a FamilyMemberActivated message from the specified reader or buffer, length delimited.
29498
- * @param reader Reader or buffer to decode from
29499
- * @returns FamilyMemberActivated
29500
- * @throws {Error} If the payload is not a reader or valid buffer
29501
- * @throws {$protobuf.util.ProtocolError} If required fields are missing
29502
- */
29503
- public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): FamilyMemberActivated;
29504
-
29505
- /**
29506
- * Verifies a FamilyMemberActivated message.
29507
- * @param message Plain object to verify
29508
- * @returns `null` if valid, otherwise the reason why it is not
29509
- */
29510
- public static verify(message: { [k: string]: any }): (string|null);
29511
-
29512
- /**
29513
- * Creates a FamilyMemberActivated message from a plain object. Also converts values to their respective internal types.
29514
- * @param object Plain object
29515
- * @returns FamilyMemberActivated
29516
- */
29517
- public static fromObject(object: { [k: string]: any }): FamilyMemberActivated;
29518
-
29519
- /**
29520
- * Creates a plain object from a FamilyMemberActivated message. Also converts values to other types if specified.
29521
- * @param message FamilyMemberActivated
29522
- * @param [options] Conversion options
29523
- * @returns Plain object
29524
- */
29525
- public static toObject(message: FamilyMemberActivated, options?: $protobuf.IConversionOptions): { [k: string]: any };
29526
-
29527
- /**
29528
- * Converts this FamilyMemberActivated to JSON.
29529
- * @returns JSON object
29530
- */
29531
- public toJSON(): { [k: string]: any };
29532
- }
29533
-
29534
29408
  /** Properties of a FamilyMemberRejected. */
29535
29409
  export interface IFamilyMemberRejected {
29536
29410
 
@@ -30727,6 +30601,15 @@ export interface IEnterpriseUserEnrollmentCreated {
30727
30601
 
30728
30602
  /** EnterpriseUserEnrollmentCreated isSsoEnabled */
30729
30603
  isSsoEnabled?: (boolean|null);
30604
+
30605
+ /** EnterpriseUserEnrollmentCreated gingerId */
30606
+ gingerId?: (string|null);
30607
+
30608
+ /** EnterpriseUserEnrollmentCreated employeeId */
30609
+ employeeId?: (string|null);
30610
+
30611
+ /** EnterpriseUserEnrollmentCreated employeeEmailHash */
30612
+ employeeEmailHash?: (string|null);
30730
30613
  }
30731
30614
 
30732
30615
  /** Represents an EnterpriseUserEnrollmentCreated. */
@@ -30798,6 +30681,15 @@ export class EnterpriseUserEnrollmentCreated implements IEnterpriseUserEnrollmen
30798
30681
  /** EnterpriseUserEnrollmentCreated isSsoEnabled. */
30799
30682
  public isSsoEnabled: boolean;
30800
30683
 
30684
+ /** EnterpriseUserEnrollmentCreated gingerId. */
30685
+ public gingerId: string;
30686
+
30687
+ /** EnterpriseUserEnrollmentCreated employeeId. */
30688
+ public employeeId: string;
30689
+
30690
+ /** EnterpriseUserEnrollmentCreated employeeEmailHash. */
30691
+ public employeeEmailHash: string;
30692
+
30801
30693
  /**
30802
30694
  * Creates a new EnterpriseUserEnrollmentCreated instance using the specified properties.
30803
30695
  * @param [properties] Properties to set
@@ -30934,6 +30826,15 @@ export interface IEnterpriseUserEnrollmentRemoved {
30934
30826
 
30935
30827
  /** EnterpriseUserEnrollmentRemoved isSsoEnabled */
30936
30828
  isSsoEnabled?: (boolean|null);
30829
+
30830
+ /** EnterpriseUserEnrollmentRemoved gingerId */
30831
+ gingerId?: (string|null);
30832
+
30833
+ /** EnterpriseUserEnrollmentRemoved employeeId */
30834
+ employeeId?: (string|null);
30835
+
30836
+ /** EnterpriseUserEnrollmentRemoved employeeEmailHash */
30837
+ employeeEmailHash?: (string|null);
30937
30838
  }
30938
30839
 
30939
30840
  /** Represents an EnterpriseUserEnrollmentRemoved. */
@@ -31008,6 +30909,15 @@ export class EnterpriseUserEnrollmentRemoved implements IEnterpriseUserEnrollmen
31008
30909
  /** EnterpriseUserEnrollmentRemoved isSsoEnabled. */
31009
30910
  public isSsoEnabled: boolean;
31010
30911
 
30912
+ /** EnterpriseUserEnrollmentRemoved gingerId. */
30913
+ public gingerId: string;
30914
+
30915
+ /** EnterpriseUserEnrollmentRemoved employeeId. */
30916
+ public employeeId: string;
30917
+
30918
+ /** EnterpriseUserEnrollmentRemoved employeeEmailHash. */
30919
+ public employeeEmailHash: string;
30920
+
31011
30921
  /**
31012
30922
  * Creates a new EnterpriseUserEnrollmentRemoved instance using the specified properties.
31013
30923
  * @param [properties] Properties to set
@@ -31141,6 +31051,15 @@ export interface IEnterpriseUserEnrollmentAmended {
31141
31051
 
31142
31052
  /** EnterpriseUserEnrollmentAmended isSsoEnabled */
31143
31053
  isSsoEnabled?: (boolean|null);
31054
+
31055
+ /** EnterpriseUserEnrollmentAmended gingerId */
31056
+ gingerId?: (string|null);
31057
+
31058
+ /** EnterpriseUserEnrollmentAmended employeeId */
31059
+ employeeId?: (string|null);
31060
+
31061
+ /** EnterpriseUserEnrollmentAmended employeeEmailHash */
31062
+ employeeEmailHash?: (string|null);
31144
31063
  }
31145
31064
 
31146
31065
  /** Represents an EnterpriseUserEnrollmentAmended. */
@@ -31212,6 +31131,15 @@ export class EnterpriseUserEnrollmentAmended implements IEnterpriseUserEnrollmen
31212
31131
  /** EnterpriseUserEnrollmentAmended isSsoEnabled. */
31213
31132
  public isSsoEnabled: boolean;
31214
31133
 
31134
+ /** EnterpriseUserEnrollmentAmended gingerId. */
31135
+ public gingerId: string;
31136
+
31137
+ /** EnterpriseUserEnrollmentAmended employeeId. */
31138
+ public employeeId: string;
31139
+
31140
+ /** EnterpriseUserEnrollmentAmended employeeEmailHash. */
31141
+ public employeeEmailHash: string;
31142
+
31215
31143
  /**
31216
31144
  * Creates a new EnterpriseUserEnrollmentAmended instance using the specified properties.
31217
31145
  * @param [properties] Properties to set
package/lib/index.js CHANGED
@@ -21157,6 +21157,7 @@ $root.b2b = (function() {
21157
21157
  * @property {string|null} [healthHubId] Organization healthHubId
21158
21158
  * @property {string|null} [healthHubName] Organization healthHubName
21159
21159
  * @property {b2b.OrgRestrictBy|null} [restrictBy] Organization restrictBy
21160
+ * @property {string|null} [gingerId] Organization gingerId
21160
21161
  */
21161
21162
 
21162
21163
  /**
@@ -21246,6 +21247,14 @@ $root.b2b = (function() {
21246
21247
  */
21247
21248
  Organization.prototype.restrictBy = 0;
21248
21249
 
21250
+ /**
21251
+ * Organization gingerId.
21252
+ * @member {string} gingerId
21253
+ * @memberof b2b.Organization
21254
+ * @instance
21255
+ */
21256
+ Organization.prototype.gingerId = "";
21257
+
21249
21258
  /**
21250
21259
  * Creates a new Organization instance using the specified properties.
21251
21260
  * @function create
@@ -21288,6 +21297,8 @@ $root.b2b = (function() {
21288
21297
  writer.uint32(/* id 8, wireType 2 =*/66).string(message.healthHubName);
21289
21298
  if (message.restrictBy != null && message.hasOwnProperty("restrictBy"))
21290
21299
  writer.uint32(/* id 9, wireType 0 =*/72).int32(message.restrictBy);
21300
+ if (message.gingerId != null && message.hasOwnProperty("gingerId"))
21301
+ writer.uint32(/* id 10, wireType 2 =*/82).string(message.gingerId);
21291
21302
  return writer;
21292
21303
  };
21293
21304
 
@@ -21349,6 +21360,9 @@ $root.b2b = (function() {
21349
21360
  case 9:
21350
21361
  message.restrictBy = reader.int32();
21351
21362
  break;
21363
+ case 10:
21364
+ message.gingerId = reader.string();
21365
+ break;
21352
21366
  default:
21353
21367
  reader.skipType(tag & 7);
21354
21368
  break;
@@ -21432,6 +21446,9 @@ $root.b2b = (function() {
21432
21446
  case 7:
21433
21447
  break;
21434
21448
  }
21449
+ if (message.gingerId != null && message.hasOwnProperty("gingerId"))
21450
+ if (!$util.isString(message.gingerId))
21451
+ return "gingerId: string expected";
21435
21452
  return null;
21436
21453
  };
21437
21454
 
@@ -21525,6 +21542,8 @@ $root.b2b = (function() {
21525
21542
  message.restrictBy = 7;
21526
21543
  break;
21527
21544
  }
21545
+ if (object.gingerId != null)
21546
+ message.gingerId = String(object.gingerId);
21528
21547
  return message;
21529
21548
  };
21530
21549
 
@@ -21551,6 +21570,7 @@ $root.b2b = (function() {
21551
21570
  object.healthHubId = "";
21552
21571
  object.healthHubName = "";
21553
21572
  object.restrictBy = options.enums === String ? "ORG_RESTRICT_BY_UNKNOWN" : 0;
21573
+ object.gingerId = "";
21554
21574
  }
21555
21575
  if (message.orgId != null && message.hasOwnProperty("orgId"))
21556
21576
  object.orgId = message.orgId;
@@ -21570,6 +21590,8 @@ $root.b2b = (function() {
21570
21590
  object.healthHubName = message.healthHubName;
21571
21591
  if (message.restrictBy != null && message.hasOwnProperty("restrictBy"))
21572
21592
  object.restrictBy = options.enums === String ? $root.b2b.OrgRestrictBy[message.restrictBy] : message.restrictBy;
21593
+ if (message.gingerId != null && message.hasOwnProperty("gingerId"))
21594
+ object.gingerId = message.gingerId;
21573
21595
  return object;
21574
21596
  };
21575
21597
 
@@ -81461,380 +81483,6 @@ $root.FamilyMemberInvited = (function() {
81461
81483
  return FamilyMemberInvited;
81462
81484
  })();
81463
81485
 
81464
- $root.FamilyMemberActivated = (function() {
81465
-
81466
- /**
81467
- * Properties of a FamilyMemberActivated.
81468
- * @exports IFamilyMemberActivated
81469
- * @interface IFamilyMemberActivated
81470
- * @property {number|Long|null} [timestamp] FamilyMemberActivated timestamp
81471
- * @property {number|null} [userGroupEntryId] FamilyMemberActivated userGroupEntryId
81472
- * @property {string|null} [userId] FamilyMemberActivated userId
81473
- * @property {number|null} [userGroupId] FamilyMemberActivated userGroupId
81474
- * @property {string|null} [email] FamilyMemberActivated email
81475
- * @property {string|null} [token] FamilyMemberActivated token
81476
- * @property {community.FamilyPlanRole|null} [role] FamilyMemberActivated role
81477
- * @property {number|null} [orgId] FamilyMemberActivated orgId
81478
- */
81479
-
81480
- /**
81481
- * Constructs a new FamilyMemberActivated.
81482
- * @exports FamilyMemberActivated
81483
- * @classdesc Represents a FamilyMemberActivated.
81484
- * @implements IFamilyMemberActivated
81485
- * @constructor
81486
- * @param {IFamilyMemberActivated=} [properties] Properties to set
81487
- */
81488
- function FamilyMemberActivated(properties) {
81489
- if (properties)
81490
- for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i)
81491
- if (properties[keys[i]] != null)
81492
- this[keys[i]] = properties[keys[i]];
81493
- }
81494
-
81495
- /**
81496
- * FamilyMemberActivated timestamp.
81497
- * @member {number|Long} timestamp
81498
- * @memberof FamilyMemberActivated
81499
- * @instance
81500
- */
81501
- FamilyMemberActivated.prototype.timestamp = $util.Long ? $util.Long.fromBits(0,0,true) : 0;
81502
-
81503
- /**
81504
- * FamilyMemberActivated userGroupEntryId.
81505
- * @member {number} userGroupEntryId
81506
- * @memberof FamilyMemberActivated
81507
- * @instance
81508
- */
81509
- FamilyMemberActivated.prototype.userGroupEntryId = 0;
81510
-
81511
- /**
81512
- * FamilyMemberActivated userId.
81513
- * @member {string} userId
81514
- * @memberof FamilyMemberActivated
81515
- * @instance
81516
- */
81517
- FamilyMemberActivated.prototype.userId = "";
81518
-
81519
- /**
81520
- * FamilyMemberActivated userGroupId.
81521
- * @member {number} userGroupId
81522
- * @memberof FamilyMemberActivated
81523
- * @instance
81524
- */
81525
- FamilyMemberActivated.prototype.userGroupId = 0;
81526
-
81527
- /**
81528
- * FamilyMemberActivated email.
81529
- * @member {string} email
81530
- * @memberof FamilyMemberActivated
81531
- * @instance
81532
- */
81533
- FamilyMemberActivated.prototype.email = "";
81534
-
81535
- /**
81536
- * FamilyMemberActivated token.
81537
- * @member {string} token
81538
- * @memberof FamilyMemberActivated
81539
- * @instance
81540
- */
81541
- FamilyMemberActivated.prototype.token = "";
81542
-
81543
- /**
81544
- * FamilyMemberActivated role.
81545
- * @member {community.FamilyPlanRole} role
81546
- * @memberof FamilyMemberActivated
81547
- * @instance
81548
- */
81549
- FamilyMemberActivated.prototype.role = 0;
81550
-
81551
- /**
81552
- * FamilyMemberActivated orgId.
81553
- * @member {number} orgId
81554
- * @memberof FamilyMemberActivated
81555
- * @instance
81556
- */
81557
- FamilyMemberActivated.prototype.orgId = 0;
81558
-
81559
- /**
81560
- * Creates a new FamilyMemberActivated instance using the specified properties.
81561
- * @function create
81562
- * @memberof FamilyMemberActivated
81563
- * @static
81564
- * @param {IFamilyMemberActivated=} [properties] Properties to set
81565
- * @returns {FamilyMemberActivated} FamilyMemberActivated instance
81566
- */
81567
- FamilyMemberActivated.create = function create(properties) {
81568
- return new FamilyMemberActivated(properties);
81569
- };
81570
-
81571
- /**
81572
- * Encodes the specified FamilyMemberActivated message. Does not implicitly {@link FamilyMemberActivated.verify|verify} messages.
81573
- * @function encode
81574
- * @memberof FamilyMemberActivated
81575
- * @static
81576
- * @param {IFamilyMemberActivated} message FamilyMemberActivated message or plain object to encode
81577
- * @param {$protobuf.Writer} [writer] Writer to encode to
81578
- * @returns {$protobuf.Writer} Writer
81579
- */
81580
- FamilyMemberActivated.encode = function encode(message, writer) {
81581
- if (!writer)
81582
- writer = $Writer.create();
81583
- if (message.timestamp != null && message.hasOwnProperty("timestamp"))
81584
- writer.uint32(/* id 1, wireType 0 =*/8).uint64(message.timestamp);
81585
- if (message.userGroupEntryId != null && message.hasOwnProperty("userGroupEntryId"))
81586
- writer.uint32(/* id 2, wireType 0 =*/16).uint32(message.userGroupEntryId);
81587
- if (message.userId != null && message.hasOwnProperty("userId"))
81588
- writer.uint32(/* id 3, wireType 2 =*/26).string(message.userId);
81589
- if (message.userGroupId != null && message.hasOwnProperty("userGroupId"))
81590
- writer.uint32(/* id 4, wireType 0 =*/32).uint32(message.userGroupId);
81591
- if (message.email != null && message.hasOwnProperty("email"))
81592
- writer.uint32(/* id 5, wireType 2 =*/42).string(message.email);
81593
- if (message.token != null && message.hasOwnProperty("token"))
81594
- writer.uint32(/* id 6, wireType 2 =*/50).string(message.token);
81595
- if (message.role != null && message.hasOwnProperty("role"))
81596
- writer.uint32(/* id 7, wireType 0 =*/56).int32(message.role);
81597
- if (message.orgId != null && message.hasOwnProperty("orgId"))
81598
- writer.uint32(/* id 8, wireType 0 =*/64).int32(message.orgId);
81599
- return writer;
81600
- };
81601
-
81602
- /**
81603
- * Encodes the specified FamilyMemberActivated message, length delimited. Does not implicitly {@link FamilyMemberActivated.verify|verify} messages.
81604
- * @function encodeDelimited
81605
- * @memberof FamilyMemberActivated
81606
- * @static
81607
- * @param {IFamilyMemberActivated} message FamilyMemberActivated message or plain object to encode
81608
- * @param {$protobuf.Writer} [writer] Writer to encode to
81609
- * @returns {$protobuf.Writer} Writer
81610
- */
81611
- FamilyMemberActivated.encodeDelimited = function encodeDelimited(message, writer) {
81612
- return this.encode(message, writer).ldelim();
81613
- };
81614
-
81615
- /**
81616
- * Decodes a FamilyMemberActivated message from the specified reader or buffer.
81617
- * @function decode
81618
- * @memberof FamilyMemberActivated
81619
- * @static
81620
- * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from
81621
- * @param {number} [length] Message length if known beforehand
81622
- * @returns {FamilyMemberActivated} FamilyMemberActivated
81623
- * @throws {Error} If the payload is not a reader or valid buffer
81624
- * @throws {$protobuf.util.ProtocolError} If required fields are missing
81625
- */
81626
- FamilyMemberActivated.decode = function decode(reader, length) {
81627
- if (!(reader instanceof $Reader))
81628
- reader = $Reader.create(reader);
81629
- var end = length === undefined ? reader.len : reader.pos + length, message = new $root.FamilyMemberActivated();
81630
- while (reader.pos < end) {
81631
- var tag = reader.uint32();
81632
- switch (tag >>> 3) {
81633
- case 1:
81634
- message.timestamp = reader.uint64();
81635
- break;
81636
- case 2:
81637
- message.userGroupEntryId = reader.uint32();
81638
- break;
81639
- case 3:
81640
- message.userId = reader.string();
81641
- break;
81642
- case 4:
81643
- message.userGroupId = reader.uint32();
81644
- break;
81645
- case 5:
81646
- message.email = reader.string();
81647
- break;
81648
- case 6:
81649
- message.token = reader.string();
81650
- break;
81651
- case 7:
81652
- message.role = reader.int32();
81653
- break;
81654
- case 8:
81655
- message.orgId = reader.int32();
81656
- break;
81657
- default:
81658
- reader.skipType(tag & 7);
81659
- break;
81660
- }
81661
- }
81662
- return message;
81663
- };
81664
-
81665
- /**
81666
- * Decodes a FamilyMemberActivated message from the specified reader or buffer, length delimited.
81667
- * @function decodeDelimited
81668
- * @memberof FamilyMemberActivated
81669
- * @static
81670
- * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from
81671
- * @returns {FamilyMemberActivated} FamilyMemberActivated
81672
- * @throws {Error} If the payload is not a reader or valid buffer
81673
- * @throws {$protobuf.util.ProtocolError} If required fields are missing
81674
- */
81675
- FamilyMemberActivated.decodeDelimited = function decodeDelimited(reader) {
81676
- if (!(reader instanceof $Reader))
81677
- reader = new $Reader(reader);
81678
- return this.decode(reader, reader.uint32());
81679
- };
81680
-
81681
- /**
81682
- * Verifies a FamilyMemberActivated message.
81683
- * @function verify
81684
- * @memberof FamilyMemberActivated
81685
- * @static
81686
- * @param {Object.<string,*>} message Plain object to verify
81687
- * @returns {string|null} `null` if valid, otherwise the reason why it is not
81688
- */
81689
- FamilyMemberActivated.verify = function verify(message) {
81690
- if (typeof message !== "object" || message === null)
81691
- return "object expected";
81692
- if (message.timestamp != null && message.hasOwnProperty("timestamp"))
81693
- if (!$util.isInteger(message.timestamp) && !(message.timestamp && $util.isInteger(message.timestamp.low) && $util.isInteger(message.timestamp.high)))
81694
- return "timestamp: integer|Long expected";
81695
- if (message.userGroupEntryId != null && message.hasOwnProperty("userGroupEntryId"))
81696
- if (!$util.isInteger(message.userGroupEntryId))
81697
- return "userGroupEntryId: integer expected";
81698
- if (message.userId != null && message.hasOwnProperty("userId"))
81699
- if (!$util.isString(message.userId))
81700
- return "userId: string expected";
81701
- if (message.userGroupId != null && message.hasOwnProperty("userGroupId"))
81702
- if (!$util.isInteger(message.userGroupId))
81703
- return "userGroupId: integer expected";
81704
- if (message.email != null && message.hasOwnProperty("email"))
81705
- if (!$util.isString(message.email))
81706
- return "email: string expected";
81707
- if (message.token != null && message.hasOwnProperty("token"))
81708
- if (!$util.isString(message.token))
81709
- return "token: string expected";
81710
- if (message.role != null && message.hasOwnProperty("role"))
81711
- switch (message.role) {
81712
- default:
81713
- return "role: enum value expected";
81714
- case 0:
81715
- case 1:
81716
- case 2:
81717
- break;
81718
- }
81719
- if (message.orgId != null && message.hasOwnProperty("orgId"))
81720
- if (!$util.isInteger(message.orgId))
81721
- return "orgId: integer expected";
81722
- return null;
81723
- };
81724
-
81725
- /**
81726
- * Creates a FamilyMemberActivated message from a plain object. Also converts values to their respective internal types.
81727
- * @function fromObject
81728
- * @memberof FamilyMemberActivated
81729
- * @static
81730
- * @param {Object.<string,*>} object Plain object
81731
- * @returns {FamilyMemberActivated} FamilyMemberActivated
81732
- */
81733
- FamilyMemberActivated.fromObject = function fromObject(object) {
81734
- if (object instanceof $root.FamilyMemberActivated)
81735
- return object;
81736
- var message = new $root.FamilyMemberActivated();
81737
- if (object.timestamp != null)
81738
- if ($util.Long)
81739
- (message.timestamp = $util.Long.fromValue(object.timestamp)).unsigned = true;
81740
- else if (typeof object.timestamp === "string")
81741
- message.timestamp = parseInt(object.timestamp, 10);
81742
- else if (typeof object.timestamp === "number")
81743
- message.timestamp = object.timestamp;
81744
- else if (typeof object.timestamp === "object")
81745
- message.timestamp = new $util.LongBits(object.timestamp.low >>> 0, object.timestamp.high >>> 0).toNumber(true);
81746
- if (object.userGroupEntryId != null)
81747
- message.userGroupEntryId = object.userGroupEntryId >>> 0;
81748
- if (object.userId != null)
81749
- message.userId = String(object.userId);
81750
- if (object.userGroupId != null)
81751
- message.userGroupId = object.userGroupId >>> 0;
81752
- if (object.email != null)
81753
- message.email = String(object.email);
81754
- if (object.token != null)
81755
- message.token = String(object.token);
81756
- switch (object.role) {
81757
- case "FAMILYPLAN_UNKNOWN":
81758
- case 0:
81759
- message.role = 0;
81760
- break;
81761
- case "FAMILYPLAN_OWNER":
81762
- case 1:
81763
- message.role = 1;
81764
- break;
81765
- case "FAMILYPLAN_MEMBER":
81766
- case 2:
81767
- message.role = 2;
81768
- break;
81769
- }
81770
- if (object.orgId != null)
81771
- message.orgId = object.orgId | 0;
81772
- return message;
81773
- };
81774
-
81775
- /**
81776
- * Creates a plain object from a FamilyMemberActivated message. Also converts values to other types if specified.
81777
- * @function toObject
81778
- * @memberof FamilyMemberActivated
81779
- * @static
81780
- * @param {FamilyMemberActivated} message FamilyMemberActivated
81781
- * @param {$protobuf.IConversionOptions} [options] Conversion options
81782
- * @returns {Object.<string,*>} Plain object
81783
- */
81784
- FamilyMemberActivated.toObject = function toObject(message, options) {
81785
- if (!options)
81786
- options = {};
81787
- var object = {};
81788
- if (options.defaults) {
81789
- if ($util.Long) {
81790
- var long = new $util.Long(0, 0, true);
81791
- object.timestamp = options.longs === String ? long.toString() : options.longs === Number ? long.toNumber() : long;
81792
- } else
81793
- object.timestamp = options.longs === String ? "0" : 0;
81794
- object.userGroupEntryId = 0;
81795
- object.userId = "";
81796
- object.userGroupId = 0;
81797
- object.email = "";
81798
- object.token = "";
81799
- object.role = options.enums === String ? "FAMILYPLAN_UNKNOWN" : 0;
81800
- object.orgId = 0;
81801
- }
81802
- if (message.timestamp != null && message.hasOwnProperty("timestamp"))
81803
- if (typeof message.timestamp === "number")
81804
- object.timestamp = options.longs === String ? String(message.timestamp) : message.timestamp;
81805
- else
81806
- 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;
81807
- if (message.userGroupEntryId != null && message.hasOwnProperty("userGroupEntryId"))
81808
- object.userGroupEntryId = message.userGroupEntryId;
81809
- if (message.userId != null && message.hasOwnProperty("userId"))
81810
- object.userId = message.userId;
81811
- if (message.userGroupId != null && message.hasOwnProperty("userGroupId"))
81812
- object.userGroupId = message.userGroupId;
81813
- if (message.email != null && message.hasOwnProperty("email"))
81814
- object.email = message.email;
81815
- if (message.token != null && message.hasOwnProperty("token"))
81816
- object.token = message.token;
81817
- if (message.role != null && message.hasOwnProperty("role"))
81818
- object.role = options.enums === String ? $root.community.FamilyPlanRole[message.role] : message.role;
81819
- if (message.orgId != null && message.hasOwnProperty("orgId"))
81820
- object.orgId = message.orgId;
81821
- return object;
81822
- };
81823
-
81824
- /**
81825
- * Converts this FamilyMemberActivated to JSON.
81826
- * @function toJSON
81827
- * @memberof FamilyMemberActivated
81828
- * @instance
81829
- * @returns {Object.<string,*>} JSON object
81830
- */
81831
- FamilyMemberActivated.prototype.toJSON = function toJSON() {
81832
- return this.constructor.toObject(this, $protobuf.util.toJSONOptions);
81833
- };
81834
-
81835
- return FamilyMemberActivated;
81836
- })();
81837
-
81838
81486
  $root.FamilyMemberRejected = (function() {
81839
81487
 
81840
81488
  /**
@@ -84621,6 +84269,9 @@ $root.EnterpriseUserEnrollmentCreated = (function() {
84621
84269
  * @property {boolean|null} [isTelehealthEnabled] EnterpriseUserEnrollmentCreated isTelehealthEnabled
84622
84270
  * @property {b2b.SSOConnectionAction|null} [ssoConnectionAction] EnterpriseUserEnrollmentCreated ssoConnectionAction
84623
84271
  * @property {boolean|null} [isSsoEnabled] EnterpriseUserEnrollmentCreated isSsoEnabled
84272
+ * @property {string|null} [gingerId] EnterpriseUserEnrollmentCreated gingerId
84273
+ * @property {string|null} [employeeId] EnterpriseUserEnrollmentCreated employeeId
84274
+ * @property {string|null} [employeeEmailHash] EnterpriseUserEnrollmentCreated employeeEmailHash
84624
84275
  */
84625
84276
 
84626
84277
  /**
@@ -84798,6 +84449,30 @@ $root.EnterpriseUserEnrollmentCreated = (function() {
84798
84449
  */
84799
84450
  EnterpriseUserEnrollmentCreated.prototype.isSsoEnabled = false;
84800
84451
 
84452
+ /**
84453
+ * EnterpriseUserEnrollmentCreated gingerId.
84454
+ * @member {string} gingerId
84455
+ * @memberof EnterpriseUserEnrollmentCreated
84456
+ * @instance
84457
+ */
84458
+ EnterpriseUserEnrollmentCreated.prototype.gingerId = "";
84459
+
84460
+ /**
84461
+ * EnterpriseUserEnrollmentCreated employeeId.
84462
+ * @member {string} employeeId
84463
+ * @memberof EnterpriseUserEnrollmentCreated
84464
+ * @instance
84465
+ */
84466
+ EnterpriseUserEnrollmentCreated.prototype.employeeId = "";
84467
+
84468
+ /**
84469
+ * EnterpriseUserEnrollmentCreated employeeEmailHash.
84470
+ * @member {string} employeeEmailHash
84471
+ * @memberof EnterpriseUserEnrollmentCreated
84472
+ * @instance
84473
+ */
84474
+ EnterpriseUserEnrollmentCreated.prototype.employeeEmailHash = "";
84475
+
84801
84476
  /**
84802
84477
  * Creates a new EnterpriseUserEnrollmentCreated instance using the specified properties.
84803
84478
  * @function create
@@ -84862,6 +84537,12 @@ $root.EnterpriseUserEnrollmentCreated = (function() {
84862
84537
  writer.uint32(/* id 22, wireType 0 =*/176).int32(message.ssoConnectionAction);
84863
84538
  if (message.isSsoEnabled != null && message.hasOwnProperty("isSsoEnabled"))
84864
84539
  writer.uint32(/* id 23, wireType 0 =*/184).bool(message.isSsoEnabled);
84540
+ if (message.gingerId != null && message.hasOwnProperty("gingerId"))
84541
+ writer.uint32(/* id 24, wireType 2 =*/194).string(message.gingerId);
84542
+ if (message.employeeId != null && message.hasOwnProperty("employeeId"))
84543
+ writer.uint32(/* id 25, wireType 2 =*/202).string(message.employeeId);
84544
+ if (message.employeeEmailHash != null && message.hasOwnProperty("employeeEmailHash"))
84545
+ writer.uint32(/* id 26, wireType 2 =*/210).string(message.employeeEmailHash);
84865
84546
  return writer;
84866
84547
  };
84867
84548
 
@@ -84956,6 +84637,15 @@ $root.EnterpriseUserEnrollmentCreated = (function() {
84956
84637
  case 23:
84957
84638
  message.isSsoEnabled = reader.bool();
84958
84639
  break;
84640
+ case 24:
84641
+ message.gingerId = reader.string();
84642
+ break;
84643
+ case 25:
84644
+ message.employeeId = reader.string();
84645
+ break;
84646
+ case 26:
84647
+ message.employeeEmailHash = reader.string();
84648
+ break;
84959
84649
  default:
84960
84650
  reader.skipType(tag & 7);
84961
84651
  break;
@@ -85073,6 +84763,15 @@ $root.EnterpriseUserEnrollmentCreated = (function() {
85073
84763
  if (message.isSsoEnabled != null && message.hasOwnProperty("isSsoEnabled"))
85074
84764
  if (typeof message.isSsoEnabled !== "boolean")
85075
84765
  return "isSsoEnabled: boolean expected";
84766
+ if (message.gingerId != null && message.hasOwnProperty("gingerId"))
84767
+ if (!$util.isString(message.gingerId))
84768
+ return "gingerId: string expected";
84769
+ if (message.employeeId != null && message.hasOwnProperty("employeeId"))
84770
+ if (!$util.isString(message.employeeId))
84771
+ return "employeeId: string expected";
84772
+ if (message.employeeEmailHash != null && message.hasOwnProperty("employeeEmailHash"))
84773
+ if (!$util.isString(message.employeeEmailHash))
84774
+ return "employeeEmailHash: string expected";
85076
84775
  return null;
85077
84776
  };
85078
84777
 
@@ -85215,6 +84914,12 @@ $root.EnterpriseUserEnrollmentCreated = (function() {
85215
84914
  }
85216
84915
  if (object.isSsoEnabled != null)
85217
84916
  message.isSsoEnabled = Boolean(object.isSsoEnabled);
84917
+ if (object.gingerId != null)
84918
+ message.gingerId = String(object.gingerId);
84919
+ if (object.employeeId != null)
84920
+ message.employeeId = String(object.employeeId);
84921
+ if (object.employeeEmailHash != null)
84922
+ message.employeeEmailHash = String(object.employeeEmailHash);
85218
84923
  return message;
85219
84924
  };
85220
84925
 
@@ -85272,6 +84977,9 @@ $root.EnterpriseUserEnrollmentCreated = (function() {
85272
84977
  object.isTelehealthEnabled = false;
85273
84978
  object.ssoConnectionAction = options.enums === String ? "CONNECTION_NO_UPDATE" : 0;
85274
84979
  object.isSsoEnabled = false;
84980
+ object.gingerId = "";
84981
+ object.employeeId = "";
84982
+ object.employeeEmailHash = "";
85275
84983
  }
85276
84984
  if (message.userId != null && message.hasOwnProperty("userId"))
85277
84985
  object.userId = message.userId;
@@ -85328,6 +85036,12 @@ $root.EnterpriseUserEnrollmentCreated = (function() {
85328
85036
  object.ssoConnectionAction = options.enums === String ? $root.b2b.SSOConnectionAction[message.ssoConnectionAction] : message.ssoConnectionAction;
85329
85037
  if (message.isSsoEnabled != null && message.hasOwnProperty("isSsoEnabled"))
85330
85038
  object.isSsoEnabled = message.isSsoEnabled;
85039
+ if (message.gingerId != null && message.hasOwnProperty("gingerId"))
85040
+ object.gingerId = message.gingerId;
85041
+ if (message.employeeId != null && message.hasOwnProperty("employeeId"))
85042
+ object.employeeId = message.employeeId;
85043
+ if (message.employeeEmailHash != null && message.hasOwnProperty("employeeEmailHash"))
85044
+ object.employeeEmailHash = message.employeeEmailHash;
85331
85045
  return object;
85332
85046
  };
85333
85047
 
@@ -85372,6 +85086,9 @@ $root.EnterpriseUserEnrollmentRemoved = (function() {
85372
85086
  * @property {boolean|null} [isTelehealthEnabled] EnterpriseUserEnrollmentRemoved isTelehealthEnabled
85373
85087
  * @property {b2b.SSOConnectionAction|null} [ssoConnectionAction] EnterpriseUserEnrollmentRemoved ssoConnectionAction
85374
85088
  * @property {boolean|null} [isSsoEnabled] EnterpriseUserEnrollmentRemoved isSsoEnabled
85089
+ * @property {string|null} [gingerId] EnterpriseUserEnrollmentRemoved gingerId
85090
+ * @property {string|null} [employeeId] EnterpriseUserEnrollmentRemoved employeeId
85091
+ * @property {string|null} [employeeEmailHash] EnterpriseUserEnrollmentRemoved employeeEmailHash
85375
85092
  */
85376
85093
 
85377
85094
  /**
@@ -85557,6 +85274,30 @@ $root.EnterpriseUserEnrollmentRemoved = (function() {
85557
85274
  */
85558
85275
  EnterpriseUserEnrollmentRemoved.prototype.isSsoEnabled = false;
85559
85276
 
85277
+ /**
85278
+ * EnterpriseUserEnrollmentRemoved gingerId.
85279
+ * @member {string} gingerId
85280
+ * @memberof EnterpriseUserEnrollmentRemoved
85281
+ * @instance
85282
+ */
85283
+ EnterpriseUserEnrollmentRemoved.prototype.gingerId = "";
85284
+
85285
+ /**
85286
+ * EnterpriseUserEnrollmentRemoved employeeId.
85287
+ * @member {string} employeeId
85288
+ * @memberof EnterpriseUserEnrollmentRemoved
85289
+ * @instance
85290
+ */
85291
+ EnterpriseUserEnrollmentRemoved.prototype.employeeId = "";
85292
+
85293
+ /**
85294
+ * EnterpriseUserEnrollmentRemoved employeeEmailHash.
85295
+ * @member {string} employeeEmailHash
85296
+ * @memberof EnterpriseUserEnrollmentRemoved
85297
+ * @instance
85298
+ */
85299
+ EnterpriseUserEnrollmentRemoved.prototype.employeeEmailHash = "";
85300
+
85560
85301
  /**
85561
85302
  * Creates a new EnterpriseUserEnrollmentRemoved instance using the specified properties.
85562
85303
  * @function create
@@ -85623,6 +85364,12 @@ $root.EnterpriseUserEnrollmentRemoved = (function() {
85623
85364
  writer.uint32(/* id 23, wireType 0 =*/184).int32(message.ssoConnectionAction);
85624
85365
  if (message.isSsoEnabled != null && message.hasOwnProperty("isSsoEnabled"))
85625
85366
  writer.uint32(/* id 24, wireType 0 =*/192).bool(message.isSsoEnabled);
85367
+ if (message.gingerId != null && message.hasOwnProperty("gingerId"))
85368
+ writer.uint32(/* id 25, wireType 2 =*/202).string(message.gingerId);
85369
+ if (message.employeeId != null && message.hasOwnProperty("employeeId"))
85370
+ writer.uint32(/* id 26, wireType 2 =*/210).string(message.employeeId);
85371
+ if (message.employeeEmailHash != null && message.hasOwnProperty("employeeEmailHash"))
85372
+ writer.uint32(/* id 27, wireType 2 =*/218).string(message.employeeEmailHash);
85626
85373
  return writer;
85627
85374
  };
85628
85375
 
@@ -85720,6 +85467,15 @@ $root.EnterpriseUserEnrollmentRemoved = (function() {
85720
85467
  case 24:
85721
85468
  message.isSsoEnabled = reader.bool();
85722
85469
  break;
85470
+ case 25:
85471
+ message.gingerId = reader.string();
85472
+ break;
85473
+ case 26:
85474
+ message.employeeId = reader.string();
85475
+ break;
85476
+ case 27:
85477
+ message.employeeEmailHash = reader.string();
85478
+ break;
85723
85479
  default:
85724
85480
  reader.skipType(tag & 7);
85725
85481
  break;
@@ -85854,6 +85610,15 @@ $root.EnterpriseUserEnrollmentRemoved = (function() {
85854
85610
  if (message.isSsoEnabled != null && message.hasOwnProperty("isSsoEnabled"))
85855
85611
  if (typeof message.isSsoEnabled !== "boolean")
85856
85612
  return "isSsoEnabled: boolean expected";
85613
+ if (message.gingerId != null && message.hasOwnProperty("gingerId"))
85614
+ if (!$util.isString(message.gingerId))
85615
+ return "gingerId: string expected";
85616
+ if (message.employeeId != null && message.hasOwnProperty("employeeId"))
85617
+ if (!$util.isString(message.employeeId))
85618
+ return "employeeId: string expected";
85619
+ if (message.employeeEmailHash != null && message.hasOwnProperty("employeeEmailHash"))
85620
+ if (!$util.isString(message.employeeEmailHash))
85621
+ return "employeeEmailHash: string expected";
85857
85622
  return null;
85858
85623
  };
85859
85624
 
@@ -86042,6 +85807,12 @@ $root.EnterpriseUserEnrollmentRemoved = (function() {
86042
85807
  }
86043
85808
  if (object.isSsoEnabled != null)
86044
85809
  message.isSsoEnabled = Boolean(object.isSsoEnabled);
85810
+ if (object.gingerId != null)
85811
+ message.gingerId = String(object.gingerId);
85812
+ if (object.employeeId != null)
85813
+ message.employeeId = String(object.employeeId);
85814
+ if (object.employeeEmailHash != null)
85815
+ message.employeeEmailHash = String(object.employeeEmailHash);
86045
85816
  return message;
86046
85817
  };
86047
85818
 
@@ -86100,6 +85871,9 @@ $root.EnterpriseUserEnrollmentRemoved = (function() {
86100
85871
  object.isTelehealthEnabled = false;
86101
85872
  object.ssoConnectionAction = options.enums === String ? "CONNECTION_NO_UPDATE" : 0;
86102
85873
  object.isSsoEnabled = false;
85874
+ object.gingerId = "";
85875
+ object.employeeId = "";
85876
+ object.employeeEmailHash = "";
86103
85877
  }
86104
85878
  if (message.userId != null && message.hasOwnProperty("userId"))
86105
85879
  object.userId = message.userId;
@@ -86158,6 +85932,12 @@ $root.EnterpriseUserEnrollmentRemoved = (function() {
86158
85932
  object.ssoConnectionAction = options.enums === String ? $root.b2b.SSOConnectionAction[message.ssoConnectionAction] : message.ssoConnectionAction;
86159
85933
  if (message.isSsoEnabled != null && message.hasOwnProperty("isSsoEnabled"))
86160
85934
  object.isSsoEnabled = message.isSsoEnabled;
85935
+ if (message.gingerId != null && message.hasOwnProperty("gingerId"))
85936
+ object.gingerId = message.gingerId;
85937
+ if (message.employeeId != null && message.hasOwnProperty("employeeId"))
85938
+ object.employeeId = message.employeeId;
85939
+ if (message.employeeEmailHash != null && message.hasOwnProperty("employeeEmailHash"))
85940
+ object.employeeEmailHash = message.employeeEmailHash;
86161
85941
  return object;
86162
85942
  };
86163
85943
 
@@ -86201,6 +85981,9 @@ $root.EnterpriseUserEnrollmentAmended = (function() {
86201
85981
  * @property {boolean|null} [isTelehealthEnabled] EnterpriseUserEnrollmentAmended isTelehealthEnabled
86202
85982
  * @property {b2b.SSOConnectionAction|null} [ssoConnectionAction] EnterpriseUserEnrollmentAmended ssoConnectionAction
86203
85983
  * @property {boolean|null} [isSsoEnabled] EnterpriseUserEnrollmentAmended isSsoEnabled
85984
+ * @property {string|null} [gingerId] EnterpriseUserEnrollmentAmended gingerId
85985
+ * @property {string|null} [employeeId] EnterpriseUserEnrollmentAmended employeeId
85986
+ * @property {string|null} [employeeEmailHash] EnterpriseUserEnrollmentAmended employeeEmailHash
86204
85987
  */
86205
85988
 
86206
85989
  /**
@@ -86378,6 +86161,30 @@ $root.EnterpriseUserEnrollmentAmended = (function() {
86378
86161
  */
86379
86162
  EnterpriseUserEnrollmentAmended.prototype.isSsoEnabled = false;
86380
86163
 
86164
+ /**
86165
+ * EnterpriseUserEnrollmentAmended gingerId.
86166
+ * @member {string} gingerId
86167
+ * @memberof EnterpriseUserEnrollmentAmended
86168
+ * @instance
86169
+ */
86170
+ EnterpriseUserEnrollmentAmended.prototype.gingerId = "";
86171
+
86172
+ /**
86173
+ * EnterpriseUserEnrollmentAmended employeeId.
86174
+ * @member {string} employeeId
86175
+ * @memberof EnterpriseUserEnrollmentAmended
86176
+ * @instance
86177
+ */
86178
+ EnterpriseUserEnrollmentAmended.prototype.employeeId = "";
86179
+
86180
+ /**
86181
+ * EnterpriseUserEnrollmentAmended employeeEmailHash.
86182
+ * @member {string} employeeEmailHash
86183
+ * @memberof EnterpriseUserEnrollmentAmended
86184
+ * @instance
86185
+ */
86186
+ EnterpriseUserEnrollmentAmended.prototype.employeeEmailHash = "";
86187
+
86381
86188
  /**
86382
86189
  * Creates a new EnterpriseUserEnrollmentAmended instance using the specified properties.
86383
86190
  * @function create
@@ -86442,6 +86249,12 @@ $root.EnterpriseUserEnrollmentAmended = (function() {
86442
86249
  writer.uint32(/* id 22, wireType 0 =*/176).int32(message.ssoConnectionAction);
86443
86250
  if (message.isSsoEnabled != null && message.hasOwnProperty("isSsoEnabled"))
86444
86251
  writer.uint32(/* id 23, wireType 0 =*/184).bool(message.isSsoEnabled);
86252
+ if (message.gingerId != null && message.hasOwnProperty("gingerId"))
86253
+ writer.uint32(/* id 24, wireType 2 =*/194).string(message.gingerId);
86254
+ if (message.employeeId != null && message.hasOwnProperty("employeeId"))
86255
+ writer.uint32(/* id 25, wireType 2 =*/202).string(message.employeeId);
86256
+ if (message.employeeEmailHash != null && message.hasOwnProperty("employeeEmailHash"))
86257
+ writer.uint32(/* id 26, wireType 2 =*/210).string(message.employeeEmailHash);
86445
86258
  return writer;
86446
86259
  };
86447
86260
 
@@ -86536,6 +86349,15 @@ $root.EnterpriseUserEnrollmentAmended = (function() {
86536
86349
  case 23:
86537
86350
  message.isSsoEnabled = reader.bool();
86538
86351
  break;
86352
+ case 24:
86353
+ message.gingerId = reader.string();
86354
+ break;
86355
+ case 25:
86356
+ message.employeeId = reader.string();
86357
+ break;
86358
+ case 26:
86359
+ message.employeeEmailHash = reader.string();
86360
+ break;
86539
86361
  default:
86540
86362
  reader.skipType(tag & 7);
86541
86363
  break;
@@ -86653,6 +86475,15 @@ $root.EnterpriseUserEnrollmentAmended = (function() {
86653
86475
  if (message.isSsoEnabled != null && message.hasOwnProperty("isSsoEnabled"))
86654
86476
  if (typeof message.isSsoEnabled !== "boolean")
86655
86477
  return "isSsoEnabled: boolean expected";
86478
+ if (message.gingerId != null && message.hasOwnProperty("gingerId"))
86479
+ if (!$util.isString(message.gingerId))
86480
+ return "gingerId: string expected";
86481
+ if (message.employeeId != null && message.hasOwnProperty("employeeId"))
86482
+ if (!$util.isString(message.employeeId))
86483
+ return "employeeId: string expected";
86484
+ if (message.employeeEmailHash != null && message.hasOwnProperty("employeeEmailHash"))
86485
+ if (!$util.isString(message.employeeEmailHash))
86486
+ return "employeeEmailHash: string expected";
86656
86487
  return null;
86657
86488
  };
86658
86489
 
@@ -86795,6 +86626,12 @@ $root.EnterpriseUserEnrollmentAmended = (function() {
86795
86626
  }
86796
86627
  if (object.isSsoEnabled != null)
86797
86628
  message.isSsoEnabled = Boolean(object.isSsoEnabled);
86629
+ if (object.gingerId != null)
86630
+ message.gingerId = String(object.gingerId);
86631
+ if (object.employeeId != null)
86632
+ message.employeeId = String(object.employeeId);
86633
+ if (object.employeeEmailHash != null)
86634
+ message.employeeEmailHash = String(object.employeeEmailHash);
86798
86635
  return message;
86799
86636
  };
86800
86637
 
@@ -86852,6 +86689,9 @@ $root.EnterpriseUserEnrollmentAmended = (function() {
86852
86689
  object.isTelehealthEnabled = false;
86853
86690
  object.ssoConnectionAction = options.enums === String ? "CONNECTION_NO_UPDATE" : 0;
86854
86691
  object.isSsoEnabled = false;
86692
+ object.gingerId = "";
86693
+ object.employeeId = "";
86694
+ object.employeeEmailHash = "";
86855
86695
  }
86856
86696
  if (message.userId != null && message.hasOwnProperty("userId"))
86857
86697
  object.userId = message.userId;
@@ -86908,6 +86748,12 @@ $root.EnterpriseUserEnrollmentAmended = (function() {
86908
86748
  object.ssoConnectionAction = options.enums === String ? $root.b2b.SSOConnectionAction[message.ssoConnectionAction] : message.ssoConnectionAction;
86909
86749
  if (message.isSsoEnabled != null && message.hasOwnProperty("isSsoEnabled"))
86910
86750
  object.isSsoEnabled = message.isSsoEnabled;
86751
+ if (message.gingerId != null && message.hasOwnProperty("gingerId"))
86752
+ object.gingerId = message.gingerId;
86753
+ if (message.employeeId != null && message.hasOwnProperty("employeeId"))
86754
+ object.employeeId = message.employeeId;
86755
+ if (message.employeeEmailHash != null && message.hasOwnProperty("employeeEmailHash"))
86756
+ object.employeeEmailHash = message.employeeEmailHash;
86911
86757
  return object;
86912
86758
  };
86913
86759
 
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.309.0"
19
+ "version": "1.310.0"
20
20
  }