@headspace/protos-events 1.735.0 → 1.737.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
@@ -38692,6 +38692,9 @@ export interface IEnterpriseUserEnrollmentCreated {
38692
38692
 
38693
38693
  /** EnterpriseUserEnrollmentCreated primaryProduct */
38694
38694
  primaryProduct?: (b2b.PrimaryProduct|null);
38695
+
38696
+ /** EnterpriseUserEnrollmentCreated eligibilityRecordUuid */
38697
+ eligibilityRecordUuid?: (string|null);
38695
38698
  }
38696
38699
 
38697
38700
  /** Represents an EnterpriseUserEnrollmentCreated. */
@@ -38847,6 +38850,9 @@ export class EnterpriseUserEnrollmentCreated implements IEnterpriseUserEnrollmen
38847
38850
  /** EnterpriseUserEnrollmentCreated primaryProduct. */
38848
38851
  public primaryProduct: b2b.PrimaryProduct;
38849
38852
 
38853
+ /** EnterpriseUserEnrollmentCreated eligibilityRecordUuid. */
38854
+ public eligibilityRecordUuid: string;
38855
+
38850
38856
  /**
38851
38857
  * Creates a new EnterpriseUserEnrollmentCreated instance using the specified properties.
38852
38858
  * @param [properties] Properties to set
@@ -44516,6 +44522,186 @@ export class InteractiveJournalingRewardCreated implements IInteractiveJournalin
44516
44522
  public toJSON(): { [k: string]: any };
44517
44523
  }
44518
44524
 
44525
+ /** Properties of an InteractiveJournalingUserBlockCreated. */
44526
+ export interface IInteractiveJournalingUserBlockCreated {
44527
+
44528
+ /** InteractiveJournalingUserBlockCreated hsUserId */
44529
+ hsUserId?: (string|null);
44530
+ }
44531
+
44532
+ /** Represents an InteractiveJournalingUserBlockCreated. */
44533
+ export class InteractiveJournalingUserBlockCreated implements IInteractiveJournalingUserBlockCreated {
44534
+
44535
+ /**
44536
+ * Constructs a new InteractiveJournalingUserBlockCreated.
44537
+ * @param [properties] Properties to set
44538
+ */
44539
+ constructor(properties?: IInteractiveJournalingUserBlockCreated);
44540
+
44541
+ /** InteractiveJournalingUserBlockCreated hsUserId. */
44542
+ public hsUserId: string;
44543
+
44544
+ /**
44545
+ * Creates a new InteractiveJournalingUserBlockCreated instance using the specified properties.
44546
+ * @param [properties] Properties to set
44547
+ * @returns InteractiveJournalingUserBlockCreated instance
44548
+ */
44549
+ public static create(properties?: IInteractiveJournalingUserBlockCreated): InteractiveJournalingUserBlockCreated;
44550
+
44551
+ /**
44552
+ * Encodes the specified InteractiveJournalingUserBlockCreated message. Does not implicitly {@link InteractiveJournalingUserBlockCreated.verify|verify} messages.
44553
+ * @param message InteractiveJournalingUserBlockCreated message or plain object to encode
44554
+ * @param [writer] Writer to encode to
44555
+ * @returns Writer
44556
+ */
44557
+ public static encode(message: IInteractiveJournalingUserBlockCreated, writer?: $protobuf.Writer): $protobuf.Writer;
44558
+
44559
+ /**
44560
+ * Encodes the specified InteractiveJournalingUserBlockCreated message, length delimited. Does not implicitly {@link InteractiveJournalingUserBlockCreated.verify|verify} messages.
44561
+ * @param message InteractiveJournalingUserBlockCreated message or plain object to encode
44562
+ * @param [writer] Writer to encode to
44563
+ * @returns Writer
44564
+ */
44565
+ public static encodeDelimited(message: IInteractiveJournalingUserBlockCreated, writer?: $protobuf.Writer): $protobuf.Writer;
44566
+
44567
+ /**
44568
+ * Decodes an InteractiveJournalingUserBlockCreated message from the specified reader or buffer.
44569
+ * @param reader Reader or buffer to decode from
44570
+ * @param [length] Message length if known beforehand
44571
+ * @returns InteractiveJournalingUserBlockCreated
44572
+ * @throws {Error} If the payload is not a reader or valid buffer
44573
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
44574
+ */
44575
+ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): InteractiveJournalingUserBlockCreated;
44576
+
44577
+ /**
44578
+ * Decodes an InteractiveJournalingUserBlockCreated message from the specified reader or buffer, length delimited.
44579
+ * @param reader Reader or buffer to decode from
44580
+ * @returns InteractiveJournalingUserBlockCreated
44581
+ * @throws {Error} If the payload is not a reader or valid buffer
44582
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
44583
+ */
44584
+ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): InteractiveJournalingUserBlockCreated;
44585
+
44586
+ /**
44587
+ * Verifies an InteractiveJournalingUserBlockCreated message.
44588
+ * @param message Plain object to verify
44589
+ * @returns `null` if valid, otherwise the reason why it is not
44590
+ */
44591
+ public static verify(message: { [k: string]: any }): (string|null);
44592
+
44593
+ /**
44594
+ * Creates an InteractiveJournalingUserBlockCreated message from a plain object. Also converts values to their respective internal types.
44595
+ * @param object Plain object
44596
+ * @returns InteractiveJournalingUserBlockCreated
44597
+ */
44598
+ public static fromObject(object: { [k: string]: any }): InteractiveJournalingUserBlockCreated;
44599
+
44600
+ /**
44601
+ * Creates a plain object from an InteractiveJournalingUserBlockCreated message. Also converts values to other types if specified.
44602
+ * @param message InteractiveJournalingUserBlockCreated
44603
+ * @param [options] Conversion options
44604
+ * @returns Plain object
44605
+ */
44606
+ public static toObject(message: InteractiveJournalingUserBlockCreated, options?: $protobuf.IConversionOptions): { [k: string]: any };
44607
+
44608
+ /**
44609
+ * Converts this InteractiveJournalingUserBlockCreated to JSON.
44610
+ * @returns JSON object
44611
+ */
44612
+ public toJSON(): { [k: string]: any };
44613
+ }
44614
+
44615
+ /** Properties of an InteractiveJournalingUserBlockRemoved. */
44616
+ export interface IInteractiveJournalingUserBlockRemoved {
44617
+
44618
+ /** InteractiveJournalingUserBlockRemoved hsUserId */
44619
+ hsUserId?: (string|null);
44620
+ }
44621
+
44622
+ /** Represents an InteractiveJournalingUserBlockRemoved. */
44623
+ export class InteractiveJournalingUserBlockRemoved implements IInteractiveJournalingUserBlockRemoved {
44624
+
44625
+ /**
44626
+ * Constructs a new InteractiveJournalingUserBlockRemoved.
44627
+ * @param [properties] Properties to set
44628
+ */
44629
+ constructor(properties?: IInteractiveJournalingUserBlockRemoved);
44630
+
44631
+ /** InteractiveJournalingUserBlockRemoved hsUserId. */
44632
+ public hsUserId: string;
44633
+
44634
+ /**
44635
+ * Creates a new InteractiveJournalingUserBlockRemoved instance using the specified properties.
44636
+ * @param [properties] Properties to set
44637
+ * @returns InteractiveJournalingUserBlockRemoved instance
44638
+ */
44639
+ public static create(properties?: IInteractiveJournalingUserBlockRemoved): InteractiveJournalingUserBlockRemoved;
44640
+
44641
+ /**
44642
+ * Encodes the specified InteractiveJournalingUserBlockRemoved message. Does not implicitly {@link InteractiveJournalingUserBlockRemoved.verify|verify} messages.
44643
+ * @param message InteractiveJournalingUserBlockRemoved message or plain object to encode
44644
+ * @param [writer] Writer to encode to
44645
+ * @returns Writer
44646
+ */
44647
+ public static encode(message: IInteractiveJournalingUserBlockRemoved, writer?: $protobuf.Writer): $protobuf.Writer;
44648
+
44649
+ /**
44650
+ * Encodes the specified InteractiveJournalingUserBlockRemoved message, length delimited. Does not implicitly {@link InteractiveJournalingUserBlockRemoved.verify|verify} messages.
44651
+ * @param message InteractiveJournalingUserBlockRemoved message or plain object to encode
44652
+ * @param [writer] Writer to encode to
44653
+ * @returns Writer
44654
+ */
44655
+ public static encodeDelimited(message: IInteractiveJournalingUserBlockRemoved, writer?: $protobuf.Writer): $protobuf.Writer;
44656
+
44657
+ /**
44658
+ * Decodes an InteractiveJournalingUserBlockRemoved message from the specified reader or buffer.
44659
+ * @param reader Reader or buffer to decode from
44660
+ * @param [length] Message length if known beforehand
44661
+ * @returns InteractiveJournalingUserBlockRemoved
44662
+ * @throws {Error} If the payload is not a reader or valid buffer
44663
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
44664
+ */
44665
+ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): InteractiveJournalingUserBlockRemoved;
44666
+
44667
+ /**
44668
+ * Decodes an InteractiveJournalingUserBlockRemoved message from the specified reader or buffer, length delimited.
44669
+ * @param reader Reader or buffer to decode from
44670
+ * @returns InteractiveJournalingUserBlockRemoved
44671
+ * @throws {Error} If the payload is not a reader or valid buffer
44672
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
44673
+ */
44674
+ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): InteractiveJournalingUserBlockRemoved;
44675
+
44676
+ /**
44677
+ * Verifies an InteractiveJournalingUserBlockRemoved message.
44678
+ * @param message Plain object to verify
44679
+ * @returns `null` if valid, otherwise the reason why it is not
44680
+ */
44681
+ public static verify(message: { [k: string]: any }): (string|null);
44682
+
44683
+ /**
44684
+ * Creates an InteractiveJournalingUserBlockRemoved message from a plain object. Also converts values to their respective internal types.
44685
+ * @param object Plain object
44686
+ * @returns InteractiveJournalingUserBlockRemoved
44687
+ */
44688
+ public static fromObject(object: { [k: string]: any }): InteractiveJournalingUserBlockRemoved;
44689
+
44690
+ /**
44691
+ * Creates a plain object from an InteractiveJournalingUserBlockRemoved message. Also converts values to other types if specified.
44692
+ * @param message InteractiveJournalingUserBlockRemoved
44693
+ * @param [options] Conversion options
44694
+ * @returns Plain object
44695
+ */
44696
+ public static toObject(message: InteractiveJournalingUserBlockRemoved, options?: $protobuf.IConversionOptions): { [k: string]: any };
44697
+
44698
+ /**
44699
+ * Converts this InteractiveJournalingUserBlockRemoved to JSON.
44700
+ * @returns JSON object
44701
+ */
44702
+ public toJSON(): { [k: string]: any };
44703
+ }
44704
+
44519
44705
  /** Properties of a LayoutCreated. */
44520
44706
  export interface ILayoutCreated {
44521
44707
 
package/lib/index.js CHANGED
@@ -108586,6 +108586,7 @@ $root.EnterpriseUserEnrollmentCreated = (function() {
108586
108586
  * @property {boolean|null} [b2bAreNonmemberCommsEnabled] EnterpriseUserEnrollmentCreated b2bAreNonmemberCommsEnabled
108587
108587
  * @property {boolean|null} [b2bAreEnrollmentCommsEnabled] EnterpriseUserEnrollmentCreated b2bAreEnrollmentCommsEnabled
108588
108588
  * @property {b2b.PrimaryProduct|null} [primaryProduct] EnterpriseUserEnrollmentCreated primaryProduct
108589
+ * @property {string|null} [eligibilityRecordUuid] EnterpriseUserEnrollmentCreated eligibilityRecordUuid
108589
108590
  */
108590
108591
 
108591
108592
  /**
@@ -108987,6 +108988,14 @@ $root.EnterpriseUserEnrollmentCreated = (function() {
108987
108988
  */
108988
108989
  EnterpriseUserEnrollmentCreated.prototype.primaryProduct = 0;
108989
108990
 
108991
+ /**
108992
+ * EnterpriseUserEnrollmentCreated eligibilityRecordUuid.
108993
+ * @member {string} eligibilityRecordUuid
108994
+ * @memberof EnterpriseUserEnrollmentCreated
108995
+ * @instance
108996
+ */
108997
+ EnterpriseUserEnrollmentCreated.prototype.eligibilityRecordUuid = "";
108998
+
108990
108999
  /**
108991
109000
  * Creates a new EnterpriseUserEnrollmentCreated instance using the specified properties.
108992
109001
  * @function create
@@ -109107,6 +109116,8 @@ $root.EnterpriseUserEnrollmentCreated = (function() {
109107
109116
  writer.uint32(/* id 52, wireType 0 =*/416).bool(message.b2bAreEnrollmentCommsEnabled);
109108
109117
  if (message.primaryProduct != null && message.hasOwnProperty("primaryProduct"))
109109
109118
  writer.uint32(/* id 53, wireType 0 =*/424).int32(message.primaryProduct);
109119
+ if (message.eligibilityRecordUuid != null && message.hasOwnProperty("eligibilityRecordUuid"))
109120
+ writer.uint32(/* id 54, wireType 2 =*/434).string(message.eligibilityRecordUuid);
109110
109121
  return writer;
109111
109122
  };
109112
109123
 
@@ -109285,6 +109296,9 @@ $root.EnterpriseUserEnrollmentCreated = (function() {
109285
109296
  case 53:
109286
109297
  message.primaryProduct = reader.int32();
109287
109298
  break;
109299
+ case 54:
109300
+ message.eligibilityRecordUuid = reader.string();
109301
+ break;
109288
109302
  default:
109289
109303
  reader.skipType(tag & 7);
109290
109304
  break;
@@ -109539,6 +109553,9 @@ $root.EnterpriseUserEnrollmentCreated = (function() {
109539
109553
  case 5:
109540
109554
  break;
109541
109555
  }
109556
+ if (message.eligibilityRecordUuid != null && message.hasOwnProperty("eligibilityRecordUuid"))
109557
+ if (!$util.isString(message.eligibilityRecordUuid))
109558
+ return "eligibilityRecordUuid: string expected";
109542
109559
  return null;
109543
109560
  };
109544
109561
 
@@ -109865,6 +109882,8 @@ $root.EnterpriseUserEnrollmentCreated = (function() {
109865
109882
  message.primaryProduct = 5;
109866
109883
  break;
109867
109884
  }
109885
+ if (object.eligibilityRecordUuid != null)
109886
+ message.eligibilityRecordUuid = String(object.eligibilityRecordUuid);
109868
109887
  return message;
109869
109888
  };
109870
109889
 
@@ -109950,6 +109969,7 @@ $root.EnterpriseUserEnrollmentCreated = (function() {
109950
109969
  object.b2bAreNonmemberCommsEnabled = false;
109951
109970
  object.b2bAreEnrollmentCommsEnabled = false;
109952
109971
  object.primaryProduct = options.enums === String ? "PRIMARY_PRODUCT_UNKNOWN" : 0;
109972
+ object.eligibilityRecordUuid = "";
109953
109973
  }
109954
109974
  if (message.userId != null && message.hasOwnProperty("userId"))
109955
109975
  object.userId = message.userId;
@@ -110062,6 +110082,8 @@ $root.EnterpriseUserEnrollmentCreated = (function() {
110062
110082
  object.b2bAreEnrollmentCommsEnabled = message.b2bAreEnrollmentCommsEnabled;
110063
110083
  if (message.primaryProduct != null && message.hasOwnProperty("primaryProduct"))
110064
110084
  object.primaryProduct = options.enums === String ? $root.b2b.PrimaryProduct[message.primaryProduct] : message.primaryProduct;
110085
+ if (message.eligibilityRecordUuid != null && message.hasOwnProperty("eligibilityRecordUuid"))
110086
+ object.eligibilityRecordUuid = message.eligibilityRecordUuid;
110065
110087
  return object;
110066
110088
  };
110067
110089
 
@@ -127436,6 +127458,380 @@ $root.InteractiveJournalingRewardCreated = (function() {
127436
127458
  return InteractiveJournalingRewardCreated;
127437
127459
  })();
127438
127460
 
127461
+ $root.InteractiveJournalingUserBlockCreated = (function() {
127462
+
127463
+ /**
127464
+ * Properties of an InteractiveJournalingUserBlockCreated.
127465
+ * @name IInteractiveJournalingUserBlockCreated
127466
+ * @interface IInteractiveJournalingUserBlockCreated
127467
+ * @property {string|null} [hsUserId] InteractiveJournalingUserBlockCreated hsUserId
127468
+ */
127469
+
127470
+ /**
127471
+ * Constructs a new InteractiveJournalingUserBlockCreated.
127472
+ * @name InteractiveJournalingUserBlockCreated
127473
+ * @classdesc Represents an InteractiveJournalingUserBlockCreated.
127474
+ * @implements IInteractiveJournalingUserBlockCreated
127475
+ * @constructor
127476
+ * @param {IInteractiveJournalingUserBlockCreated=} [properties] Properties to set
127477
+ */
127478
+ function InteractiveJournalingUserBlockCreated(properties) {
127479
+ if (properties)
127480
+ for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i)
127481
+ if (properties[keys[i]] != null)
127482
+ this[keys[i]] = properties[keys[i]];
127483
+ }
127484
+
127485
+ /**
127486
+ * InteractiveJournalingUserBlockCreated hsUserId.
127487
+ * @member {string} hsUserId
127488
+ * @memberof InteractiveJournalingUserBlockCreated
127489
+ * @instance
127490
+ */
127491
+ InteractiveJournalingUserBlockCreated.prototype.hsUserId = "";
127492
+
127493
+ /**
127494
+ * Creates a new InteractiveJournalingUserBlockCreated instance using the specified properties.
127495
+ * @function create
127496
+ * @memberof InteractiveJournalingUserBlockCreated
127497
+ * @static
127498
+ * @param {IInteractiveJournalingUserBlockCreated=} [properties] Properties to set
127499
+ * @returns {InteractiveJournalingUserBlockCreated} InteractiveJournalingUserBlockCreated instance
127500
+ */
127501
+ InteractiveJournalingUserBlockCreated.create = function create(properties) {
127502
+ return new InteractiveJournalingUserBlockCreated(properties);
127503
+ };
127504
+
127505
+ /**
127506
+ * Encodes the specified InteractiveJournalingUserBlockCreated message. Does not implicitly {@link InteractiveJournalingUserBlockCreated.verify|verify} messages.
127507
+ * @function encode
127508
+ * @memberof InteractiveJournalingUserBlockCreated
127509
+ * @static
127510
+ * @param {IInteractiveJournalingUserBlockCreated} message InteractiveJournalingUserBlockCreated message or plain object to encode
127511
+ * @param {$protobuf.Writer} [writer] Writer to encode to
127512
+ * @returns {$protobuf.Writer} Writer
127513
+ */
127514
+ InteractiveJournalingUserBlockCreated.encode = function encode(message, writer) {
127515
+ if (!writer)
127516
+ writer = $Writer.create();
127517
+ if (message.hsUserId != null && message.hasOwnProperty("hsUserId"))
127518
+ writer.uint32(/* id 1, wireType 2 =*/10).string(message.hsUserId);
127519
+ return writer;
127520
+ };
127521
+
127522
+ /**
127523
+ * Encodes the specified InteractiveJournalingUserBlockCreated message, length delimited. Does not implicitly {@link InteractiveJournalingUserBlockCreated.verify|verify} messages.
127524
+ * @function encodeDelimited
127525
+ * @memberof InteractiveJournalingUserBlockCreated
127526
+ * @static
127527
+ * @param {IInteractiveJournalingUserBlockCreated} message InteractiveJournalingUserBlockCreated message or plain object to encode
127528
+ * @param {$protobuf.Writer} [writer] Writer to encode to
127529
+ * @returns {$protobuf.Writer} Writer
127530
+ */
127531
+ InteractiveJournalingUserBlockCreated.encodeDelimited = function encodeDelimited(message, writer) {
127532
+ return this.encode(message, writer).ldelim();
127533
+ };
127534
+
127535
+ /**
127536
+ * Decodes an InteractiveJournalingUserBlockCreated message from the specified reader or buffer.
127537
+ * @function decode
127538
+ * @memberof InteractiveJournalingUserBlockCreated
127539
+ * @static
127540
+ * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from
127541
+ * @param {number} [length] Message length if known beforehand
127542
+ * @returns {InteractiveJournalingUserBlockCreated} InteractiveJournalingUserBlockCreated
127543
+ * @throws {Error} If the payload is not a reader or valid buffer
127544
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
127545
+ */
127546
+ InteractiveJournalingUserBlockCreated.decode = function decode(reader, length) {
127547
+ if (!(reader instanceof $Reader))
127548
+ reader = $Reader.create(reader);
127549
+ var end = length === undefined ? reader.len : reader.pos + length, message = new $root.InteractiveJournalingUserBlockCreated();
127550
+ while (reader.pos < end) {
127551
+ var tag = reader.uint32();
127552
+ switch (tag >>> 3) {
127553
+ case 1:
127554
+ message.hsUserId = reader.string();
127555
+ break;
127556
+ default:
127557
+ reader.skipType(tag & 7);
127558
+ break;
127559
+ }
127560
+ }
127561
+ return message;
127562
+ };
127563
+
127564
+ /**
127565
+ * Decodes an InteractiveJournalingUserBlockCreated message from the specified reader or buffer, length delimited.
127566
+ * @function decodeDelimited
127567
+ * @memberof InteractiveJournalingUserBlockCreated
127568
+ * @static
127569
+ * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from
127570
+ * @returns {InteractiveJournalingUserBlockCreated} InteractiveJournalingUserBlockCreated
127571
+ * @throws {Error} If the payload is not a reader or valid buffer
127572
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
127573
+ */
127574
+ InteractiveJournalingUserBlockCreated.decodeDelimited = function decodeDelimited(reader) {
127575
+ if (!(reader instanceof $Reader))
127576
+ reader = new $Reader(reader);
127577
+ return this.decode(reader, reader.uint32());
127578
+ };
127579
+
127580
+ /**
127581
+ * Verifies an InteractiveJournalingUserBlockCreated message.
127582
+ * @function verify
127583
+ * @memberof InteractiveJournalingUserBlockCreated
127584
+ * @static
127585
+ * @param {Object.<string,*>} message Plain object to verify
127586
+ * @returns {string|null} `null` if valid, otherwise the reason why it is not
127587
+ */
127588
+ InteractiveJournalingUserBlockCreated.verify = function verify(message) {
127589
+ if (typeof message !== "object" || message === null)
127590
+ return "object expected";
127591
+ if (message.hsUserId != null && message.hasOwnProperty("hsUserId"))
127592
+ if (!$util.isString(message.hsUserId))
127593
+ return "hsUserId: string expected";
127594
+ return null;
127595
+ };
127596
+
127597
+ /**
127598
+ * Creates an InteractiveJournalingUserBlockCreated message from a plain object. Also converts values to their respective internal types.
127599
+ * @function fromObject
127600
+ * @memberof InteractiveJournalingUserBlockCreated
127601
+ * @static
127602
+ * @param {Object.<string,*>} object Plain object
127603
+ * @returns {InteractiveJournalingUserBlockCreated} InteractiveJournalingUserBlockCreated
127604
+ */
127605
+ InteractiveJournalingUserBlockCreated.fromObject = function fromObject(object) {
127606
+ if (object instanceof $root.InteractiveJournalingUserBlockCreated)
127607
+ return object;
127608
+ var message = new $root.InteractiveJournalingUserBlockCreated();
127609
+ if (object.hsUserId != null)
127610
+ message.hsUserId = String(object.hsUserId);
127611
+ return message;
127612
+ };
127613
+
127614
+ /**
127615
+ * Creates a plain object from an InteractiveJournalingUserBlockCreated message. Also converts values to other types if specified.
127616
+ * @function toObject
127617
+ * @memberof InteractiveJournalingUserBlockCreated
127618
+ * @static
127619
+ * @param {InteractiveJournalingUserBlockCreated} message InteractiveJournalingUserBlockCreated
127620
+ * @param {$protobuf.IConversionOptions} [options] Conversion options
127621
+ * @returns {Object.<string,*>} Plain object
127622
+ */
127623
+ InteractiveJournalingUserBlockCreated.toObject = function toObject(message, options) {
127624
+ if (!options)
127625
+ options = {};
127626
+ var object = {};
127627
+ if (options.defaults)
127628
+ object.hsUserId = "";
127629
+ if (message.hsUserId != null && message.hasOwnProperty("hsUserId"))
127630
+ object.hsUserId = message.hsUserId;
127631
+ return object;
127632
+ };
127633
+
127634
+ /**
127635
+ * Converts this InteractiveJournalingUserBlockCreated to JSON.
127636
+ * @function toJSON
127637
+ * @memberof InteractiveJournalingUserBlockCreated
127638
+ * @instance
127639
+ * @returns {Object.<string,*>} JSON object
127640
+ */
127641
+ InteractiveJournalingUserBlockCreated.prototype.toJSON = function toJSON() {
127642
+ return this.constructor.toObject(this, $protobuf.util.toJSONOptions);
127643
+ };
127644
+
127645
+ return InteractiveJournalingUserBlockCreated;
127646
+ })();
127647
+
127648
+ $root.InteractiveJournalingUserBlockRemoved = (function() {
127649
+
127650
+ /**
127651
+ * Properties of an InteractiveJournalingUserBlockRemoved.
127652
+ * @name IInteractiveJournalingUserBlockRemoved
127653
+ * @interface IInteractiveJournalingUserBlockRemoved
127654
+ * @property {string|null} [hsUserId] InteractiveJournalingUserBlockRemoved hsUserId
127655
+ */
127656
+
127657
+ /**
127658
+ * Constructs a new InteractiveJournalingUserBlockRemoved.
127659
+ * @name InteractiveJournalingUserBlockRemoved
127660
+ * @classdesc Represents an InteractiveJournalingUserBlockRemoved.
127661
+ * @implements IInteractiveJournalingUserBlockRemoved
127662
+ * @constructor
127663
+ * @param {IInteractiveJournalingUserBlockRemoved=} [properties] Properties to set
127664
+ */
127665
+ function InteractiveJournalingUserBlockRemoved(properties) {
127666
+ if (properties)
127667
+ for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i)
127668
+ if (properties[keys[i]] != null)
127669
+ this[keys[i]] = properties[keys[i]];
127670
+ }
127671
+
127672
+ /**
127673
+ * InteractiveJournalingUserBlockRemoved hsUserId.
127674
+ * @member {string} hsUserId
127675
+ * @memberof InteractiveJournalingUserBlockRemoved
127676
+ * @instance
127677
+ */
127678
+ InteractiveJournalingUserBlockRemoved.prototype.hsUserId = "";
127679
+
127680
+ /**
127681
+ * Creates a new InteractiveJournalingUserBlockRemoved instance using the specified properties.
127682
+ * @function create
127683
+ * @memberof InteractiveJournalingUserBlockRemoved
127684
+ * @static
127685
+ * @param {IInteractiveJournalingUserBlockRemoved=} [properties] Properties to set
127686
+ * @returns {InteractiveJournalingUserBlockRemoved} InteractiveJournalingUserBlockRemoved instance
127687
+ */
127688
+ InteractiveJournalingUserBlockRemoved.create = function create(properties) {
127689
+ return new InteractiveJournalingUserBlockRemoved(properties);
127690
+ };
127691
+
127692
+ /**
127693
+ * Encodes the specified InteractiveJournalingUserBlockRemoved message. Does not implicitly {@link InteractiveJournalingUserBlockRemoved.verify|verify} messages.
127694
+ * @function encode
127695
+ * @memberof InteractiveJournalingUserBlockRemoved
127696
+ * @static
127697
+ * @param {IInteractiveJournalingUserBlockRemoved} message InteractiveJournalingUserBlockRemoved message or plain object to encode
127698
+ * @param {$protobuf.Writer} [writer] Writer to encode to
127699
+ * @returns {$protobuf.Writer} Writer
127700
+ */
127701
+ InteractiveJournalingUserBlockRemoved.encode = function encode(message, writer) {
127702
+ if (!writer)
127703
+ writer = $Writer.create();
127704
+ if (message.hsUserId != null && message.hasOwnProperty("hsUserId"))
127705
+ writer.uint32(/* id 1, wireType 2 =*/10).string(message.hsUserId);
127706
+ return writer;
127707
+ };
127708
+
127709
+ /**
127710
+ * Encodes the specified InteractiveJournalingUserBlockRemoved message, length delimited. Does not implicitly {@link InteractiveJournalingUserBlockRemoved.verify|verify} messages.
127711
+ * @function encodeDelimited
127712
+ * @memberof InteractiveJournalingUserBlockRemoved
127713
+ * @static
127714
+ * @param {IInteractiveJournalingUserBlockRemoved} message InteractiveJournalingUserBlockRemoved message or plain object to encode
127715
+ * @param {$protobuf.Writer} [writer] Writer to encode to
127716
+ * @returns {$protobuf.Writer} Writer
127717
+ */
127718
+ InteractiveJournalingUserBlockRemoved.encodeDelimited = function encodeDelimited(message, writer) {
127719
+ return this.encode(message, writer).ldelim();
127720
+ };
127721
+
127722
+ /**
127723
+ * Decodes an InteractiveJournalingUserBlockRemoved message from the specified reader or buffer.
127724
+ * @function decode
127725
+ * @memberof InteractiveJournalingUserBlockRemoved
127726
+ * @static
127727
+ * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from
127728
+ * @param {number} [length] Message length if known beforehand
127729
+ * @returns {InteractiveJournalingUserBlockRemoved} InteractiveJournalingUserBlockRemoved
127730
+ * @throws {Error} If the payload is not a reader or valid buffer
127731
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
127732
+ */
127733
+ InteractiveJournalingUserBlockRemoved.decode = function decode(reader, length) {
127734
+ if (!(reader instanceof $Reader))
127735
+ reader = $Reader.create(reader);
127736
+ var end = length === undefined ? reader.len : reader.pos + length, message = new $root.InteractiveJournalingUserBlockRemoved();
127737
+ while (reader.pos < end) {
127738
+ var tag = reader.uint32();
127739
+ switch (tag >>> 3) {
127740
+ case 1:
127741
+ message.hsUserId = reader.string();
127742
+ break;
127743
+ default:
127744
+ reader.skipType(tag & 7);
127745
+ break;
127746
+ }
127747
+ }
127748
+ return message;
127749
+ };
127750
+
127751
+ /**
127752
+ * Decodes an InteractiveJournalingUserBlockRemoved message from the specified reader or buffer, length delimited.
127753
+ * @function decodeDelimited
127754
+ * @memberof InteractiveJournalingUserBlockRemoved
127755
+ * @static
127756
+ * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from
127757
+ * @returns {InteractiveJournalingUserBlockRemoved} InteractiveJournalingUserBlockRemoved
127758
+ * @throws {Error} If the payload is not a reader or valid buffer
127759
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
127760
+ */
127761
+ InteractiveJournalingUserBlockRemoved.decodeDelimited = function decodeDelimited(reader) {
127762
+ if (!(reader instanceof $Reader))
127763
+ reader = new $Reader(reader);
127764
+ return this.decode(reader, reader.uint32());
127765
+ };
127766
+
127767
+ /**
127768
+ * Verifies an InteractiveJournalingUserBlockRemoved message.
127769
+ * @function verify
127770
+ * @memberof InteractiveJournalingUserBlockRemoved
127771
+ * @static
127772
+ * @param {Object.<string,*>} message Plain object to verify
127773
+ * @returns {string|null} `null` if valid, otherwise the reason why it is not
127774
+ */
127775
+ InteractiveJournalingUserBlockRemoved.verify = function verify(message) {
127776
+ if (typeof message !== "object" || message === null)
127777
+ return "object expected";
127778
+ if (message.hsUserId != null && message.hasOwnProperty("hsUserId"))
127779
+ if (!$util.isString(message.hsUserId))
127780
+ return "hsUserId: string expected";
127781
+ return null;
127782
+ };
127783
+
127784
+ /**
127785
+ * Creates an InteractiveJournalingUserBlockRemoved message from a plain object. Also converts values to their respective internal types.
127786
+ * @function fromObject
127787
+ * @memberof InteractiveJournalingUserBlockRemoved
127788
+ * @static
127789
+ * @param {Object.<string,*>} object Plain object
127790
+ * @returns {InteractiveJournalingUserBlockRemoved} InteractiveJournalingUserBlockRemoved
127791
+ */
127792
+ InteractiveJournalingUserBlockRemoved.fromObject = function fromObject(object) {
127793
+ if (object instanceof $root.InteractiveJournalingUserBlockRemoved)
127794
+ return object;
127795
+ var message = new $root.InteractiveJournalingUserBlockRemoved();
127796
+ if (object.hsUserId != null)
127797
+ message.hsUserId = String(object.hsUserId);
127798
+ return message;
127799
+ };
127800
+
127801
+ /**
127802
+ * Creates a plain object from an InteractiveJournalingUserBlockRemoved message. Also converts values to other types if specified.
127803
+ * @function toObject
127804
+ * @memberof InteractiveJournalingUserBlockRemoved
127805
+ * @static
127806
+ * @param {InteractiveJournalingUserBlockRemoved} message InteractiveJournalingUserBlockRemoved
127807
+ * @param {$protobuf.IConversionOptions} [options] Conversion options
127808
+ * @returns {Object.<string,*>} Plain object
127809
+ */
127810
+ InteractiveJournalingUserBlockRemoved.toObject = function toObject(message, options) {
127811
+ if (!options)
127812
+ options = {};
127813
+ var object = {};
127814
+ if (options.defaults)
127815
+ object.hsUserId = "";
127816
+ if (message.hsUserId != null && message.hasOwnProperty("hsUserId"))
127817
+ object.hsUserId = message.hsUserId;
127818
+ return object;
127819
+ };
127820
+
127821
+ /**
127822
+ * Converts this InteractiveJournalingUserBlockRemoved to JSON.
127823
+ * @function toJSON
127824
+ * @memberof InteractiveJournalingUserBlockRemoved
127825
+ * @instance
127826
+ * @returns {Object.<string,*>} JSON object
127827
+ */
127828
+ InteractiveJournalingUserBlockRemoved.prototype.toJSON = function toJSON() {
127829
+ return this.constructor.toObject(this, $protobuf.util.toJSONOptions);
127830
+ };
127831
+
127832
+ return InteractiveJournalingUserBlockRemoved;
127833
+ })();
127834
+
127439
127835
  $root.LayoutCreated = (function() {
127440
127836
 
127441
127837
  /**
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.735.0"
19
+ "version": "1.737.0"
20
20
  }