@headspace/protos-events 1.237.0 → 1.239.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
@@ -5523,6 +5523,9 @@ export namespace scim {
5523
5523
 
5524
5524
  /** SCIMUser isActive */
5525
5525
  isActive?: (boolean|null);
5526
+
5527
+ /** SCIMUser oldWorkEmail */
5528
+ oldWorkEmail?: (string|null);
5526
5529
  }
5527
5530
 
5528
5531
  /** Represents a SCIMUser. */
@@ -5549,6 +5552,9 @@ export namespace scim {
5549
5552
  /** SCIMUser isActive. */
5550
5553
  public isActive: boolean;
5551
5554
 
5555
+ /** SCIMUser oldWorkEmail. */
5556
+ public oldWorkEmail: string;
5557
+
5552
5558
  /**
5553
5559
  * Creates a new SCIMUser instance using the specified properties.
5554
5560
  * @param [properties] Properties to set
@@ -28989,6 +28995,108 @@ export class UserConsentUpdated implements IUserConsentUpdated {
28989
28995
  public toJSON(): { [k: string]: any };
28990
28996
  }
28991
28997
 
28998
+ /** Properties of a UserOnboardingStepCompleted. */
28999
+ export interface IUserOnboardingStepCompleted {
29000
+
29001
+ /** UserOnboardingStepCompleted userId */
29002
+ userId?: (string|null);
29003
+
29004
+ /** UserOnboardingStepCompleted pushMessageBody */
29005
+ pushMessageBody?: (string|null);
29006
+
29007
+ /** UserOnboardingStepCompleted pushScheduledAt */
29008
+ pushScheduledAt?: (number|Long|null);
29009
+ }
29010
+
29011
+ /** Represents a UserOnboardingStepCompleted. */
29012
+ export class UserOnboardingStepCompleted implements IUserOnboardingStepCompleted {
29013
+
29014
+ /**
29015
+ * Constructs a new UserOnboardingStepCompleted.
29016
+ * @param [properties] Properties to set
29017
+ */
29018
+ constructor(properties?: IUserOnboardingStepCompleted);
29019
+
29020
+ /** UserOnboardingStepCompleted userId. */
29021
+ public userId: string;
29022
+
29023
+ /** UserOnboardingStepCompleted pushMessageBody. */
29024
+ public pushMessageBody: string;
29025
+
29026
+ /** UserOnboardingStepCompleted pushScheduledAt. */
29027
+ public pushScheduledAt: (number|Long);
29028
+
29029
+ /**
29030
+ * Creates a new UserOnboardingStepCompleted instance using the specified properties.
29031
+ * @param [properties] Properties to set
29032
+ * @returns UserOnboardingStepCompleted instance
29033
+ */
29034
+ public static create(properties?: IUserOnboardingStepCompleted): UserOnboardingStepCompleted;
29035
+
29036
+ /**
29037
+ * Encodes the specified UserOnboardingStepCompleted message. Does not implicitly {@link UserOnboardingStepCompleted.verify|verify} messages.
29038
+ * @param message UserOnboardingStepCompleted message or plain object to encode
29039
+ * @param [writer] Writer to encode to
29040
+ * @returns Writer
29041
+ */
29042
+ public static encode(message: IUserOnboardingStepCompleted, writer?: $protobuf.Writer): $protobuf.Writer;
29043
+
29044
+ /**
29045
+ * Encodes the specified UserOnboardingStepCompleted message, length delimited. Does not implicitly {@link UserOnboardingStepCompleted.verify|verify} messages.
29046
+ * @param message UserOnboardingStepCompleted message or plain object to encode
29047
+ * @param [writer] Writer to encode to
29048
+ * @returns Writer
29049
+ */
29050
+ public static encodeDelimited(message: IUserOnboardingStepCompleted, writer?: $protobuf.Writer): $protobuf.Writer;
29051
+
29052
+ /**
29053
+ * Decodes a UserOnboardingStepCompleted message from the specified reader or buffer.
29054
+ * @param reader Reader or buffer to decode from
29055
+ * @param [length] Message length if known beforehand
29056
+ * @returns UserOnboardingStepCompleted
29057
+ * @throws {Error} If the payload is not a reader or valid buffer
29058
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
29059
+ */
29060
+ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): UserOnboardingStepCompleted;
29061
+
29062
+ /**
29063
+ * Decodes a UserOnboardingStepCompleted message from the specified reader or buffer, length delimited.
29064
+ * @param reader Reader or buffer to decode from
29065
+ * @returns UserOnboardingStepCompleted
29066
+ * @throws {Error} If the payload is not a reader or valid buffer
29067
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
29068
+ */
29069
+ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): UserOnboardingStepCompleted;
29070
+
29071
+ /**
29072
+ * Verifies a UserOnboardingStepCompleted message.
29073
+ * @param message Plain object to verify
29074
+ * @returns `null` if valid, otherwise the reason why it is not
29075
+ */
29076
+ public static verify(message: { [k: string]: any }): (string|null);
29077
+
29078
+ /**
29079
+ * Creates a UserOnboardingStepCompleted message from a plain object. Also converts values to their respective internal types.
29080
+ * @param object Plain object
29081
+ * @returns UserOnboardingStepCompleted
29082
+ */
29083
+ public static fromObject(object: { [k: string]: any }): UserOnboardingStepCompleted;
29084
+
29085
+ /**
29086
+ * Creates a plain object from a UserOnboardingStepCompleted message. Also converts values to other types if specified.
29087
+ * @param message UserOnboardingStepCompleted
29088
+ * @param [options] Conversion options
29089
+ * @returns Plain object
29090
+ */
29091
+ public static toObject(message: UserOnboardingStepCompleted, options?: $protobuf.IConversionOptions): { [k: string]: any };
29092
+
29093
+ /**
29094
+ * Converts this UserOnboardingStepCompleted to JSON.
29095
+ * @returns JSON object
29096
+ */
29097
+ public toJSON(): { [k: string]: any };
29098
+ }
29099
+
28992
29100
  /** Properties of a VirginPulseAccountLinked. */
28993
29101
  export interface IVirginPulseAccountLinked {
28994
29102
 
package/lib/index.js CHANGED
@@ -13420,6 +13420,7 @@ $root.scim = (function() {
13420
13420
  * @property {string|null} [lastName] SCIMUser lastName
13421
13421
  * @property {string|null} [workEmail] SCIMUser workEmail
13422
13422
  * @property {boolean|null} [isActive] SCIMUser isActive
13423
+ * @property {string|null} [oldWorkEmail] SCIMUser oldWorkEmail
13423
13424
  */
13424
13425
 
13425
13426
  /**
@@ -13477,6 +13478,14 @@ $root.scim = (function() {
13477
13478
  */
13478
13479
  SCIMUser.prototype.isActive = false;
13479
13480
 
13481
+ /**
13482
+ * SCIMUser oldWorkEmail.
13483
+ * @member {string} oldWorkEmail
13484
+ * @memberof scim.SCIMUser
13485
+ * @instance
13486
+ */
13487
+ SCIMUser.prototype.oldWorkEmail = "";
13488
+
13480
13489
  /**
13481
13490
  * Creates a new SCIMUser instance using the specified properties.
13482
13491
  * @function create
@@ -13511,6 +13520,8 @@ $root.scim = (function() {
13511
13520
  writer.uint32(/* id 4, wireType 2 =*/34).string(message.workEmail);
13512
13521
  if (message.isActive != null && message.hasOwnProperty("isActive"))
13513
13522
  writer.uint32(/* id 5, wireType 0 =*/40).bool(message.isActive);
13523
+ if (message.oldWorkEmail != null && message.hasOwnProperty("oldWorkEmail"))
13524
+ writer.uint32(/* id 6, wireType 2 =*/50).string(message.oldWorkEmail);
13514
13525
  return writer;
13515
13526
  };
13516
13527
 
@@ -13560,6 +13571,9 @@ $root.scim = (function() {
13560
13571
  case 5:
13561
13572
  message.isActive = reader.bool();
13562
13573
  break;
13574
+ case 6:
13575
+ message.oldWorkEmail = reader.string();
13576
+ break;
13563
13577
  default:
13564
13578
  reader.skipType(tag & 7);
13565
13579
  break;
@@ -13610,6 +13624,9 @@ $root.scim = (function() {
13610
13624
  if (message.isActive != null && message.hasOwnProperty("isActive"))
13611
13625
  if (typeof message.isActive !== "boolean")
13612
13626
  return "isActive: boolean expected";
13627
+ if (message.oldWorkEmail != null && message.hasOwnProperty("oldWorkEmail"))
13628
+ if (!$util.isString(message.oldWorkEmail))
13629
+ return "oldWorkEmail: string expected";
13613
13630
  return null;
13614
13631
  };
13615
13632
 
@@ -13635,6 +13652,8 @@ $root.scim = (function() {
13635
13652
  message.workEmail = String(object.workEmail);
13636
13653
  if (object.isActive != null)
13637
13654
  message.isActive = Boolean(object.isActive);
13655
+ if (object.oldWorkEmail != null)
13656
+ message.oldWorkEmail = String(object.oldWorkEmail);
13638
13657
  return message;
13639
13658
  };
13640
13659
 
@@ -13657,6 +13676,7 @@ $root.scim = (function() {
13657
13676
  object.lastName = "";
13658
13677
  object.workEmail = "";
13659
13678
  object.isActive = false;
13679
+ object.oldWorkEmail = "";
13660
13680
  }
13661
13681
  if (message.orgId != null && message.hasOwnProperty("orgId"))
13662
13682
  object.orgId = message.orgId;
@@ -13668,6 +13688,8 @@ $root.scim = (function() {
13668
13688
  object.workEmail = message.workEmail;
13669
13689
  if (message.isActive != null && message.hasOwnProperty("isActive"))
13670
13690
  object.isActive = message.isActive;
13691
+ if (message.oldWorkEmail != null && message.hasOwnProperty("oldWorkEmail"))
13692
+ object.oldWorkEmail = message.oldWorkEmail;
13671
13693
  return object;
13672
13694
  };
13673
13695
 
@@ -82515,6 +82537,252 @@ $root.UserConsentUpdated = (function() {
82515
82537
  return UserConsentUpdated;
82516
82538
  })();
82517
82539
 
82540
+ $root.UserOnboardingStepCompleted = (function() {
82541
+
82542
+ /**
82543
+ * Properties of a UserOnboardingStepCompleted.
82544
+ * @exports IUserOnboardingStepCompleted
82545
+ * @interface IUserOnboardingStepCompleted
82546
+ * @property {string|null} [userId] UserOnboardingStepCompleted userId
82547
+ * @property {string|null} [pushMessageBody] UserOnboardingStepCompleted pushMessageBody
82548
+ * @property {number|Long|null} [pushScheduledAt] UserOnboardingStepCompleted pushScheduledAt
82549
+ */
82550
+
82551
+ /**
82552
+ * Constructs a new UserOnboardingStepCompleted.
82553
+ * @exports UserOnboardingStepCompleted
82554
+ * @classdesc Represents a UserOnboardingStepCompleted.
82555
+ * @implements IUserOnboardingStepCompleted
82556
+ * @constructor
82557
+ * @param {IUserOnboardingStepCompleted=} [properties] Properties to set
82558
+ */
82559
+ function UserOnboardingStepCompleted(properties) {
82560
+ if (properties)
82561
+ for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i)
82562
+ if (properties[keys[i]] != null)
82563
+ this[keys[i]] = properties[keys[i]];
82564
+ }
82565
+
82566
+ /**
82567
+ * UserOnboardingStepCompleted userId.
82568
+ * @member {string} userId
82569
+ * @memberof UserOnboardingStepCompleted
82570
+ * @instance
82571
+ */
82572
+ UserOnboardingStepCompleted.prototype.userId = "";
82573
+
82574
+ /**
82575
+ * UserOnboardingStepCompleted pushMessageBody.
82576
+ * @member {string} pushMessageBody
82577
+ * @memberof UserOnboardingStepCompleted
82578
+ * @instance
82579
+ */
82580
+ UserOnboardingStepCompleted.prototype.pushMessageBody = "";
82581
+
82582
+ /**
82583
+ * UserOnboardingStepCompleted pushScheduledAt.
82584
+ * @member {number|Long} pushScheduledAt
82585
+ * @memberof UserOnboardingStepCompleted
82586
+ * @instance
82587
+ */
82588
+ UserOnboardingStepCompleted.prototype.pushScheduledAt = $util.Long ? $util.Long.fromBits(0,0,true) : 0;
82589
+
82590
+ /**
82591
+ * Creates a new UserOnboardingStepCompleted instance using the specified properties.
82592
+ * @function create
82593
+ * @memberof UserOnboardingStepCompleted
82594
+ * @static
82595
+ * @param {IUserOnboardingStepCompleted=} [properties] Properties to set
82596
+ * @returns {UserOnboardingStepCompleted} UserOnboardingStepCompleted instance
82597
+ */
82598
+ UserOnboardingStepCompleted.create = function create(properties) {
82599
+ return new UserOnboardingStepCompleted(properties);
82600
+ };
82601
+
82602
+ /**
82603
+ * Encodes the specified UserOnboardingStepCompleted message. Does not implicitly {@link UserOnboardingStepCompleted.verify|verify} messages.
82604
+ * @function encode
82605
+ * @memberof UserOnboardingStepCompleted
82606
+ * @static
82607
+ * @param {IUserOnboardingStepCompleted} message UserOnboardingStepCompleted message or plain object to encode
82608
+ * @param {$protobuf.Writer} [writer] Writer to encode to
82609
+ * @returns {$protobuf.Writer} Writer
82610
+ */
82611
+ UserOnboardingStepCompleted.encode = function encode(message, writer) {
82612
+ if (!writer)
82613
+ writer = $Writer.create();
82614
+ if (message.userId != null && message.hasOwnProperty("userId"))
82615
+ writer.uint32(/* id 1, wireType 2 =*/10).string(message.userId);
82616
+ if (message.pushMessageBody != null && message.hasOwnProperty("pushMessageBody"))
82617
+ writer.uint32(/* id 2, wireType 2 =*/18).string(message.pushMessageBody);
82618
+ if (message.pushScheduledAt != null && message.hasOwnProperty("pushScheduledAt"))
82619
+ writer.uint32(/* id 3, wireType 0 =*/24).uint64(message.pushScheduledAt);
82620
+ return writer;
82621
+ };
82622
+
82623
+ /**
82624
+ * Encodes the specified UserOnboardingStepCompleted message, length delimited. Does not implicitly {@link UserOnboardingStepCompleted.verify|verify} messages.
82625
+ * @function encodeDelimited
82626
+ * @memberof UserOnboardingStepCompleted
82627
+ * @static
82628
+ * @param {IUserOnboardingStepCompleted} message UserOnboardingStepCompleted message or plain object to encode
82629
+ * @param {$protobuf.Writer} [writer] Writer to encode to
82630
+ * @returns {$protobuf.Writer} Writer
82631
+ */
82632
+ UserOnboardingStepCompleted.encodeDelimited = function encodeDelimited(message, writer) {
82633
+ return this.encode(message, writer).ldelim();
82634
+ };
82635
+
82636
+ /**
82637
+ * Decodes a UserOnboardingStepCompleted message from the specified reader or buffer.
82638
+ * @function decode
82639
+ * @memberof UserOnboardingStepCompleted
82640
+ * @static
82641
+ * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from
82642
+ * @param {number} [length] Message length if known beforehand
82643
+ * @returns {UserOnboardingStepCompleted} UserOnboardingStepCompleted
82644
+ * @throws {Error} If the payload is not a reader or valid buffer
82645
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
82646
+ */
82647
+ UserOnboardingStepCompleted.decode = function decode(reader, length) {
82648
+ if (!(reader instanceof $Reader))
82649
+ reader = $Reader.create(reader);
82650
+ var end = length === undefined ? reader.len : reader.pos + length, message = new $root.UserOnboardingStepCompleted();
82651
+ while (reader.pos < end) {
82652
+ var tag = reader.uint32();
82653
+ switch (tag >>> 3) {
82654
+ case 1:
82655
+ message.userId = reader.string();
82656
+ break;
82657
+ case 2:
82658
+ message.pushMessageBody = reader.string();
82659
+ break;
82660
+ case 3:
82661
+ message.pushScheduledAt = reader.uint64();
82662
+ break;
82663
+ default:
82664
+ reader.skipType(tag & 7);
82665
+ break;
82666
+ }
82667
+ }
82668
+ return message;
82669
+ };
82670
+
82671
+ /**
82672
+ * Decodes a UserOnboardingStepCompleted message from the specified reader or buffer, length delimited.
82673
+ * @function decodeDelimited
82674
+ * @memberof UserOnboardingStepCompleted
82675
+ * @static
82676
+ * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from
82677
+ * @returns {UserOnboardingStepCompleted} UserOnboardingStepCompleted
82678
+ * @throws {Error} If the payload is not a reader or valid buffer
82679
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
82680
+ */
82681
+ UserOnboardingStepCompleted.decodeDelimited = function decodeDelimited(reader) {
82682
+ if (!(reader instanceof $Reader))
82683
+ reader = new $Reader(reader);
82684
+ return this.decode(reader, reader.uint32());
82685
+ };
82686
+
82687
+ /**
82688
+ * Verifies a UserOnboardingStepCompleted message.
82689
+ * @function verify
82690
+ * @memberof UserOnboardingStepCompleted
82691
+ * @static
82692
+ * @param {Object.<string,*>} message Plain object to verify
82693
+ * @returns {string|null} `null` if valid, otherwise the reason why it is not
82694
+ */
82695
+ UserOnboardingStepCompleted.verify = function verify(message) {
82696
+ if (typeof message !== "object" || message === null)
82697
+ return "object expected";
82698
+ if (message.userId != null && message.hasOwnProperty("userId"))
82699
+ if (!$util.isString(message.userId))
82700
+ return "userId: string expected";
82701
+ if (message.pushMessageBody != null && message.hasOwnProperty("pushMessageBody"))
82702
+ if (!$util.isString(message.pushMessageBody))
82703
+ return "pushMessageBody: string expected";
82704
+ if (message.pushScheduledAt != null && message.hasOwnProperty("pushScheduledAt"))
82705
+ if (!$util.isInteger(message.pushScheduledAt) && !(message.pushScheduledAt && $util.isInteger(message.pushScheduledAt.low) && $util.isInteger(message.pushScheduledAt.high)))
82706
+ return "pushScheduledAt: integer|Long expected";
82707
+ return null;
82708
+ };
82709
+
82710
+ /**
82711
+ * Creates a UserOnboardingStepCompleted message from a plain object. Also converts values to their respective internal types.
82712
+ * @function fromObject
82713
+ * @memberof UserOnboardingStepCompleted
82714
+ * @static
82715
+ * @param {Object.<string,*>} object Plain object
82716
+ * @returns {UserOnboardingStepCompleted} UserOnboardingStepCompleted
82717
+ */
82718
+ UserOnboardingStepCompleted.fromObject = function fromObject(object) {
82719
+ if (object instanceof $root.UserOnboardingStepCompleted)
82720
+ return object;
82721
+ var message = new $root.UserOnboardingStepCompleted();
82722
+ if (object.userId != null)
82723
+ message.userId = String(object.userId);
82724
+ if (object.pushMessageBody != null)
82725
+ message.pushMessageBody = String(object.pushMessageBody);
82726
+ if (object.pushScheduledAt != null)
82727
+ if ($util.Long)
82728
+ (message.pushScheduledAt = $util.Long.fromValue(object.pushScheduledAt)).unsigned = true;
82729
+ else if (typeof object.pushScheduledAt === "string")
82730
+ message.pushScheduledAt = parseInt(object.pushScheduledAt, 10);
82731
+ else if (typeof object.pushScheduledAt === "number")
82732
+ message.pushScheduledAt = object.pushScheduledAt;
82733
+ else if (typeof object.pushScheduledAt === "object")
82734
+ message.pushScheduledAt = new $util.LongBits(object.pushScheduledAt.low >>> 0, object.pushScheduledAt.high >>> 0).toNumber(true);
82735
+ return message;
82736
+ };
82737
+
82738
+ /**
82739
+ * Creates a plain object from a UserOnboardingStepCompleted message. Also converts values to other types if specified.
82740
+ * @function toObject
82741
+ * @memberof UserOnboardingStepCompleted
82742
+ * @static
82743
+ * @param {UserOnboardingStepCompleted} message UserOnboardingStepCompleted
82744
+ * @param {$protobuf.IConversionOptions} [options] Conversion options
82745
+ * @returns {Object.<string,*>} Plain object
82746
+ */
82747
+ UserOnboardingStepCompleted.toObject = function toObject(message, options) {
82748
+ if (!options)
82749
+ options = {};
82750
+ var object = {};
82751
+ if (options.defaults) {
82752
+ object.userId = "";
82753
+ object.pushMessageBody = "";
82754
+ if ($util.Long) {
82755
+ var long = new $util.Long(0, 0, true);
82756
+ object.pushScheduledAt = options.longs === String ? long.toString() : options.longs === Number ? long.toNumber() : long;
82757
+ } else
82758
+ object.pushScheduledAt = options.longs === String ? "0" : 0;
82759
+ }
82760
+ if (message.userId != null && message.hasOwnProperty("userId"))
82761
+ object.userId = message.userId;
82762
+ if (message.pushMessageBody != null && message.hasOwnProperty("pushMessageBody"))
82763
+ object.pushMessageBody = message.pushMessageBody;
82764
+ if (message.pushScheduledAt != null && message.hasOwnProperty("pushScheduledAt"))
82765
+ if (typeof message.pushScheduledAt === "number")
82766
+ object.pushScheduledAt = options.longs === String ? String(message.pushScheduledAt) : message.pushScheduledAt;
82767
+ else
82768
+ object.pushScheduledAt = options.longs === String ? $util.Long.prototype.toString.call(message.pushScheduledAt) : options.longs === Number ? new $util.LongBits(message.pushScheduledAt.low >>> 0, message.pushScheduledAt.high >>> 0).toNumber(true) : message.pushScheduledAt;
82769
+ return object;
82770
+ };
82771
+
82772
+ /**
82773
+ * Converts this UserOnboardingStepCompleted to JSON.
82774
+ * @function toJSON
82775
+ * @memberof UserOnboardingStepCompleted
82776
+ * @instance
82777
+ * @returns {Object.<string,*>} JSON object
82778
+ */
82779
+ UserOnboardingStepCompleted.prototype.toJSON = function toJSON() {
82780
+ return this.constructor.toObject(this, $protobuf.util.toJSONOptions);
82781
+ };
82782
+
82783
+ return UserOnboardingStepCompleted;
82784
+ })();
82785
+
82518
82786
  $root.VirginPulseAccountLinked = (function() {
82519
82787
 
82520
82788
  /**
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.237.0"
19
+ "version": "1.239.0"
20
20
  }