@headspace/protos-events 1.735.0 → 1.736.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
@@ -44516,6 +44516,186 @@ export class InteractiveJournalingRewardCreated implements IInteractiveJournalin
44516
44516
  public toJSON(): { [k: string]: any };
44517
44517
  }
44518
44518
 
44519
+ /** Properties of an InteractiveJournalingUserBlockCreated. */
44520
+ export interface IInteractiveJournalingUserBlockCreated {
44521
+
44522
+ /** InteractiveJournalingUserBlockCreated hsUserId */
44523
+ hsUserId?: (string|null);
44524
+ }
44525
+
44526
+ /** Represents an InteractiveJournalingUserBlockCreated. */
44527
+ export class InteractiveJournalingUserBlockCreated implements IInteractiveJournalingUserBlockCreated {
44528
+
44529
+ /**
44530
+ * Constructs a new InteractiveJournalingUserBlockCreated.
44531
+ * @param [properties] Properties to set
44532
+ */
44533
+ constructor(properties?: IInteractiveJournalingUserBlockCreated);
44534
+
44535
+ /** InteractiveJournalingUserBlockCreated hsUserId. */
44536
+ public hsUserId: string;
44537
+
44538
+ /**
44539
+ * Creates a new InteractiveJournalingUserBlockCreated instance using the specified properties.
44540
+ * @param [properties] Properties to set
44541
+ * @returns InteractiveJournalingUserBlockCreated instance
44542
+ */
44543
+ public static create(properties?: IInteractiveJournalingUserBlockCreated): InteractiveJournalingUserBlockCreated;
44544
+
44545
+ /**
44546
+ * Encodes the specified InteractiveJournalingUserBlockCreated message. Does not implicitly {@link InteractiveJournalingUserBlockCreated.verify|verify} messages.
44547
+ * @param message InteractiveJournalingUserBlockCreated message or plain object to encode
44548
+ * @param [writer] Writer to encode to
44549
+ * @returns Writer
44550
+ */
44551
+ public static encode(message: IInteractiveJournalingUserBlockCreated, writer?: $protobuf.Writer): $protobuf.Writer;
44552
+
44553
+ /**
44554
+ * Encodes the specified InteractiveJournalingUserBlockCreated message, length delimited. Does not implicitly {@link InteractiveJournalingUserBlockCreated.verify|verify} messages.
44555
+ * @param message InteractiveJournalingUserBlockCreated message or plain object to encode
44556
+ * @param [writer] Writer to encode to
44557
+ * @returns Writer
44558
+ */
44559
+ public static encodeDelimited(message: IInteractiveJournalingUserBlockCreated, writer?: $protobuf.Writer): $protobuf.Writer;
44560
+
44561
+ /**
44562
+ * Decodes an InteractiveJournalingUserBlockCreated message from the specified reader or buffer.
44563
+ * @param reader Reader or buffer to decode from
44564
+ * @param [length] Message length if known beforehand
44565
+ * @returns InteractiveJournalingUserBlockCreated
44566
+ * @throws {Error} If the payload is not a reader or valid buffer
44567
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
44568
+ */
44569
+ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): InteractiveJournalingUserBlockCreated;
44570
+
44571
+ /**
44572
+ * Decodes an InteractiveJournalingUserBlockCreated message from the specified reader or buffer, length delimited.
44573
+ * @param reader Reader or buffer to decode from
44574
+ * @returns InteractiveJournalingUserBlockCreated
44575
+ * @throws {Error} If the payload is not a reader or valid buffer
44576
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
44577
+ */
44578
+ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): InteractiveJournalingUserBlockCreated;
44579
+
44580
+ /**
44581
+ * Verifies an InteractiveJournalingUserBlockCreated message.
44582
+ * @param message Plain object to verify
44583
+ * @returns `null` if valid, otherwise the reason why it is not
44584
+ */
44585
+ public static verify(message: { [k: string]: any }): (string|null);
44586
+
44587
+ /**
44588
+ * Creates an InteractiveJournalingUserBlockCreated message from a plain object. Also converts values to their respective internal types.
44589
+ * @param object Plain object
44590
+ * @returns InteractiveJournalingUserBlockCreated
44591
+ */
44592
+ public static fromObject(object: { [k: string]: any }): InteractiveJournalingUserBlockCreated;
44593
+
44594
+ /**
44595
+ * Creates a plain object from an InteractiveJournalingUserBlockCreated message. Also converts values to other types if specified.
44596
+ * @param message InteractiveJournalingUserBlockCreated
44597
+ * @param [options] Conversion options
44598
+ * @returns Plain object
44599
+ */
44600
+ public static toObject(message: InteractiveJournalingUserBlockCreated, options?: $protobuf.IConversionOptions): { [k: string]: any };
44601
+
44602
+ /**
44603
+ * Converts this InteractiveJournalingUserBlockCreated to JSON.
44604
+ * @returns JSON object
44605
+ */
44606
+ public toJSON(): { [k: string]: any };
44607
+ }
44608
+
44609
+ /** Properties of an InteractiveJournalingUserBlockRemoved. */
44610
+ export interface IInteractiveJournalingUserBlockRemoved {
44611
+
44612
+ /** InteractiveJournalingUserBlockRemoved hsUserId */
44613
+ hsUserId?: (string|null);
44614
+ }
44615
+
44616
+ /** Represents an InteractiveJournalingUserBlockRemoved. */
44617
+ export class InteractiveJournalingUserBlockRemoved implements IInteractiveJournalingUserBlockRemoved {
44618
+
44619
+ /**
44620
+ * Constructs a new InteractiveJournalingUserBlockRemoved.
44621
+ * @param [properties] Properties to set
44622
+ */
44623
+ constructor(properties?: IInteractiveJournalingUserBlockRemoved);
44624
+
44625
+ /** InteractiveJournalingUserBlockRemoved hsUserId. */
44626
+ public hsUserId: string;
44627
+
44628
+ /**
44629
+ * Creates a new InteractiveJournalingUserBlockRemoved instance using the specified properties.
44630
+ * @param [properties] Properties to set
44631
+ * @returns InteractiveJournalingUserBlockRemoved instance
44632
+ */
44633
+ public static create(properties?: IInteractiveJournalingUserBlockRemoved): InteractiveJournalingUserBlockRemoved;
44634
+
44635
+ /**
44636
+ * Encodes the specified InteractiveJournalingUserBlockRemoved message. Does not implicitly {@link InteractiveJournalingUserBlockRemoved.verify|verify} messages.
44637
+ * @param message InteractiveJournalingUserBlockRemoved message or plain object to encode
44638
+ * @param [writer] Writer to encode to
44639
+ * @returns Writer
44640
+ */
44641
+ public static encode(message: IInteractiveJournalingUserBlockRemoved, writer?: $protobuf.Writer): $protobuf.Writer;
44642
+
44643
+ /**
44644
+ * Encodes the specified InteractiveJournalingUserBlockRemoved message, length delimited. Does not implicitly {@link InteractiveJournalingUserBlockRemoved.verify|verify} messages.
44645
+ * @param message InteractiveJournalingUserBlockRemoved message or plain object to encode
44646
+ * @param [writer] Writer to encode to
44647
+ * @returns Writer
44648
+ */
44649
+ public static encodeDelimited(message: IInteractiveJournalingUserBlockRemoved, writer?: $protobuf.Writer): $protobuf.Writer;
44650
+
44651
+ /**
44652
+ * Decodes an InteractiveJournalingUserBlockRemoved message from the specified reader or buffer.
44653
+ * @param reader Reader or buffer to decode from
44654
+ * @param [length] Message length if known beforehand
44655
+ * @returns InteractiveJournalingUserBlockRemoved
44656
+ * @throws {Error} If the payload is not a reader or valid buffer
44657
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
44658
+ */
44659
+ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): InteractiveJournalingUserBlockRemoved;
44660
+
44661
+ /**
44662
+ * Decodes an InteractiveJournalingUserBlockRemoved message from the specified reader or buffer, length delimited.
44663
+ * @param reader Reader or buffer to decode from
44664
+ * @returns InteractiveJournalingUserBlockRemoved
44665
+ * @throws {Error} If the payload is not a reader or valid buffer
44666
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
44667
+ */
44668
+ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): InteractiveJournalingUserBlockRemoved;
44669
+
44670
+ /**
44671
+ * Verifies an InteractiveJournalingUserBlockRemoved message.
44672
+ * @param message Plain object to verify
44673
+ * @returns `null` if valid, otherwise the reason why it is not
44674
+ */
44675
+ public static verify(message: { [k: string]: any }): (string|null);
44676
+
44677
+ /**
44678
+ * Creates an InteractiveJournalingUserBlockRemoved message from a plain object. Also converts values to their respective internal types.
44679
+ * @param object Plain object
44680
+ * @returns InteractiveJournalingUserBlockRemoved
44681
+ */
44682
+ public static fromObject(object: { [k: string]: any }): InteractiveJournalingUserBlockRemoved;
44683
+
44684
+ /**
44685
+ * Creates a plain object from an InteractiveJournalingUserBlockRemoved message. Also converts values to other types if specified.
44686
+ * @param message InteractiveJournalingUserBlockRemoved
44687
+ * @param [options] Conversion options
44688
+ * @returns Plain object
44689
+ */
44690
+ public static toObject(message: InteractiveJournalingUserBlockRemoved, options?: $protobuf.IConversionOptions): { [k: string]: any };
44691
+
44692
+ /**
44693
+ * Converts this InteractiveJournalingUserBlockRemoved to JSON.
44694
+ * @returns JSON object
44695
+ */
44696
+ public toJSON(): { [k: string]: any };
44697
+ }
44698
+
44519
44699
  /** Properties of a LayoutCreated. */
44520
44700
  export interface ILayoutCreated {
44521
44701
 
package/lib/index.js CHANGED
@@ -127436,6 +127436,380 @@ $root.InteractiveJournalingRewardCreated = (function() {
127436
127436
  return InteractiveJournalingRewardCreated;
127437
127437
  })();
127438
127438
 
127439
+ $root.InteractiveJournalingUserBlockCreated = (function() {
127440
+
127441
+ /**
127442
+ * Properties of an InteractiveJournalingUserBlockCreated.
127443
+ * @name IInteractiveJournalingUserBlockCreated
127444
+ * @interface IInteractiveJournalingUserBlockCreated
127445
+ * @property {string|null} [hsUserId] InteractiveJournalingUserBlockCreated hsUserId
127446
+ */
127447
+
127448
+ /**
127449
+ * Constructs a new InteractiveJournalingUserBlockCreated.
127450
+ * @name InteractiveJournalingUserBlockCreated
127451
+ * @classdesc Represents an InteractiveJournalingUserBlockCreated.
127452
+ * @implements IInteractiveJournalingUserBlockCreated
127453
+ * @constructor
127454
+ * @param {IInteractiveJournalingUserBlockCreated=} [properties] Properties to set
127455
+ */
127456
+ function InteractiveJournalingUserBlockCreated(properties) {
127457
+ if (properties)
127458
+ for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i)
127459
+ if (properties[keys[i]] != null)
127460
+ this[keys[i]] = properties[keys[i]];
127461
+ }
127462
+
127463
+ /**
127464
+ * InteractiveJournalingUserBlockCreated hsUserId.
127465
+ * @member {string} hsUserId
127466
+ * @memberof InteractiveJournalingUserBlockCreated
127467
+ * @instance
127468
+ */
127469
+ InteractiveJournalingUserBlockCreated.prototype.hsUserId = "";
127470
+
127471
+ /**
127472
+ * Creates a new InteractiveJournalingUserBlockCreated instance using the specified properties.
127473
+ * @function create
127474
+ * @memberof InteractiveJournalingUserBlockCreated
127475
+ * @static
127476
+ * @param {IInteractiveJournalingUserBlockCreated=} [properties] Properties to set
127477
+ * @returns {InteractiveJournalingUserBlockCreated} InteractiveJournalingUserBlockCreated instance
127478
+ */
127479
+ InteractiveJournalingUserBlockCreated.create = function create(properties) {
127480
+ return new InteractiveJournalingUserBlockCreated(properties);
127481
+ };
127482
+
127483
+ /**
127484
+ * Encodes the specified InteractiveJournalingUserBlockCreated message. Does not implicitly {@link InteractiveJournalingUserBlockCreated.verify|verify} messages.
127485
+ * @function encode
127486
+ * @memberof InteractiveJournalingUserBlockCreated
127487
+ * @static
127488
+ * @param {IInteractiveJournalingUserBlockCreated} message InteractiveJournalingUserBlockCreated message or plain object to encode
127489
+ * @param {$protobuf.Writer} [writer] Writer to encode to
127490
+ * @returns {$protobuf.Writer} Writer
127491
+ */
127492
+ InteractiveJournalingUserBlockCreated.encode = function encode(message, writer) {
127493
+ if (!writer)
127494
+ writer = $Writer.create();
127495
+ if (message.hsUserId != null && message.hasOwnProperty("hsUserId"))
127496
+ writer.uint32(/* id 1, wireType 2 =*/10).string(message.hsUserId);
127497
+ return writer;
127498
+ };
127499
+
127500
+ /**
127501
+ * Encodes the specified InteractiveJournalingUserBlockCreated message, length delimited. Does not implicitly {@link InteractiveJournalingUserBlockCreated.verify|verify} messages.
127502
+ * @function encodeDelimited
127503
+ * @memberof InteractiveJournalingUserBlockCreated
127504
+ * @static
127505
+ * @param {IInteractiveJournalingUserBlockCreated} message InteractiveJournalingUserBlockCreated message or plain object to encode
127506
+ * @param {$protobuf.Writer} [writer] Writer to encode to
127507
+ * @returns {$protobuf.Writer} Writer
127508
+ */
127509
+ InteractiveJournalingUserBlockCreated.encodeDelimited = function encodeDelimited(message, writer) {
127510
+ return this.encode(message, writer).ldelim();
127511
+ };
127512
+
127513
+ /**
127514
+ * Decodes an InteractiveJournalingUserBlockCreated message from the specified reader or buffer.
127515
+ * @function decode
127516
+ * @memberof InteractiveJournalingUserBlockCreated
127517
+ * @static
127518
+ * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from
127519
+ * @param {number} [length] Message length if known beforehand
127520
+ * @returns {InteractiveJournalingUserBlockCreated} InteractiveJournalingUserBlockCreated
127521
+ * @throws {Error} If the payload is not a reader or valid buffer
127522
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
127523
+ */
127524
+ InteractiveJournalingUserBlockCreated.decode = function decode(reader, length) {
127525
+ if (!(reader instanceof $Reader))
127526
+ reader = $Reader.create(reader);
127527
+ var end = length === undefined ? reader.len : reader.pos + length, message = new $root.InteractiveJournalingUserBlockCreated();
127528
+ while (reader.pos < end) {
127529
+ var tag = reader.uint32();
127530
+ switch (tag >>> 3) {
127531
+ case 1:
127532
+ message.hsUserId = reader.string();
127533
+ break;
127534
+ default:
127535
+ reader.skipType(tag & 7);
127536
+ break;
127537
+ }
127538
+ }
127539
+ return message;
127540
+ };
127541
+
127542
+ /**
127543
+ * Decodes an InteractiveJournalingUserBlockCreated message from the specified reader or buffer, length delimited.
127544
+ * @function decodeDelimited
127545
+ * @memberof InteractiveJournalingUserBlockCreated
127546
+ * @static
127547
+ * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from
127548
+ * @returns {InteractiveJournalingUserBlockCreated} InteractiveJournalingUserBlockCreated
127549
+ * @throws {Error} If the payload is not a reader or valid buffer
127550
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
127551
+ */
127552
+ InteractiveJournalingUserBlockCreated.decodeDelimited = function decodeDelimited(reader) {
127553
+ if (!(reader instanceof $Reader))
127554
+ reader = new $Reader(reader);
127555
+ return this.decode(reader, reader.uint32());
127556
+ };
127557
+
127558
+ /**
127559
+ * Verifies an InteractiveJournalingUserBlockCreated message.
127560
+ * @function verify
127561
+ * @memberof InteractiveJournalingUserBlockCreated
127562
+ * @static
127563
+ * @param {Object.<string,*>} message Plain object to verify
127564
+ * @returns {string|null} `null` if valid, otherwise the reason why it is not
127565
+ */
127566
+ InteractiveJournalingUserBlockCreated.verify = function verify(message) {
127567
+ if (typeof message !== "object" || message === null)
127568
+ return "object expected";
127569
+ if (message.hsUserId != null && message.hasOwnProperty("hsUserId"))
127570
+ if (!$util.isString(message.hsUserId))
127571
+ return "hsUserId: string expected";
127572
+ return null;
127573
+ };
127574
+
127575
+ /**
127576
+ * Creates an InteractiveJournalingUserBlockCreated message from a plain object. Also converts values to their respective internal types.
127577
+ * @function fromObject
127578
+ * @memberof InteractiveJournalingUserBlockCreated
127579
+ * @static
127580
+ * @param {Object.<string,*>} object Plain object
127581
+ * @returns {InteractiveJournalingUserBlockCreated} InteractiveJournalingUserBlockCreated
127582
+ */
127583
+ InteractiveJournalingUserBlockCreated.fromObject = function fromObject(object) {
127584
+ if (object instanceof $root.InteractiveJournalingUserBlockCreated)
127585
+ return object;
127586
+ var message = new $root.InteractiveJournalingUserBlockCreated();
127587
+ if (object.hsUserId != null)
127588
+ message.hsUserId = String(object.hsUserId);
127589
+ return message;
127590
+ };
127591
+
127592
+ /**
127593
+ * Creates a plain object from an InteractiveJournalingUserBlockCreated message. Also converts values to other types if specified.
127594
+ * @function toObject
127595
+ * @memberof InteractiveJournalingUserBlockCreated
127596
+ * @static
127597
+ * @param {InteractiveJournalingUserBlockCreated} message InteractiveJournalingUserBlockCreated
127598
+ * @param {$protobuf.IConversionOptions} [options] Conversion options
127599
+ * @returns {Object.<string,*>} Plain object
127600
+ */
127601
+ InteractiveJournalingUserBlockCreated.toObject = function toObject(message, options) {
127602
+ if (!options)
127603
+ options = {};
127604
+ var object = {};
127605
+ if (options.defaults)
127606
+ object.hsUserId = "";
127607
+ if (message.hsUserId != null && message.hasOwnProperty("hsUserId"))
127608
+ object.hsUserId = message.hsUserId;
127609
+ return object;
127610
+ };
127611
+
127612
+ /**
127613
+ * Converts this InteractiveJournalingUserBlockCreated to JSON.
127614
+ * @function toJSON
127615
+ * @memberof InteractiveJournalingUserBlockCreated
127616
+ * @instance
127617
+ * @returns {Object.<string,*>} JSON object
127618
+ */
127619
+ InteractiveJournalingUserBlockCreated.prototype.toJSON = function toJSON() {
127620
+ return this.constructor.toObject(this, $protobuf.util.toJSONOptions);
127621
+ };
127622
+
127623
+ return InteractiveJournalingUserBlockCreated;
127624
+ })();
127625
+
127626
+ $root.InteractiveJournalingUserBlockRemoved = (function() {
127627
+
127628
+ /**
127629
+ * Properties of an InteractiveJournalingUserBlockRemoved.
127630
+ * @name IInteractiveJournalingUserBlockRemoved
127631
+ * @interface IInteractiveJournalingUserBlockRemoved
127632
+ * @property {string|null} [hsUserId] InteractiveJournalingUserBlockRemoved hsUserId
127633
+ */
127634
+
127635
+ /**
127636
+ * Constructs a new InteractiveJournalingUserBlockRemoved.
127637
+ * @name InteractiveJournalingUserBlockRemoved
127638
+ * @classdesc Represents an InteractiveJournalingUserBlockRemoved.
127639
+ * @implements IInteractiveJournalingUserBlockRemoved
127640
+ * @constructor
127641
+ * @param {IInteractiveJournalingUserBlockRemoved=} [properties] Properties to set
127642
+ */
127643
+ function InteractiveJournalingUserBlockRemoved(properties) {
127644
+ if (properties)
127645
+ for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i)
127646
+ if (properties[keys[i]] != null)
127647
+ this[keys[i]] = properties[keys[i]];
127648
+ }
127649
+
127650
+ /**
127651
+ * InteractiveJournalingUserBlockRemoved hsUserId.
127652
+ * @member {string} hsUserId
127653
+ * @memberof InteractiveJournalingUserBlockRemoved
127654
+ * @instance
127655
+ */
127656
+ InteractiveJournalingUserBlockRemoved.prototype.hsUserId = "";
127657
+
127658
+ /**
127659
+ * Creates a new InteractiveJournalingUserBlockRemoved instance using the specified properties.
127660
+ * @function create
127661
+ * @memberof InteractiveJournalingUserBlockRemoved
127662
+ * @static
127663
+ * @param {IInteractiveJournalingUserBlockRemoved=} [properties] Properties to set
127664
+ * @returns {InteractiveJournalingUserBlockRemoved} InteractiveJournalingUserBlockRemoved instance
127665
+ */
127666
+ InteractiveJournalingUserBlockRemoved.create = function create(properties) {
127667
+ return new InteractiveJournalingUserBlockRemoved(properties);
127668
+ };
127669
+
127670
+ /**
127671
+ * Encodes the specified InteractiveJournalingUserBlockRemoved message. Does not implicitly {@link InteractiveJournalingUserBlockRemoved.verify|verify} messages.
127672
+ * @function encode
127673
+ * @memberof InteractiveJournalingUserBlockRemoved
127674
+ * @static
127675
+ * @param {IInteractiveJournalingUserBlockRemoved} message InteractiveJournalingUserBlockRemoved message or plain object to encode
127676
+ * @param {$protobuf.Writer} [writer] Writer to encode to
127677
+ * @returns {$protobuf.Writer} Writer
127678
+ */
127679
+ InteractiveJournalingUserBlockRemoved.encode = function encode(message, writer) {
127680
+ if (!writer)
127681
+ writer = $Writer.create();
127682
+ if (message.hsUserId != null && message.hasOwnProperty("hsUserId"))
127683
+ writer.uint32(/* id 1, wireType 2 =*/10).string(message.hsUserId);
127684
+ return writer;
127685
+ };
127686
+
127687
+ /**
127688
+ * Encodes the specified InteractiveJournalingUserBlockRemoved message, length delimited. Does not implicitly {@link InteractiveJournalingUserBlockRemoved.verify|verify} messages.
127689
+ * @function encodeDelimited
127690
+ * @memberof InteractiveJournalingUserBlockRemoved
127691
+ * @static
127692
+ * @param {IInteractiveJournalingUserBlockRemoved} message InteractiveJournalingUserBlockRemoved message or plain object to encode
127693
+ * @param {$protobuf.Writer} [writer] Writer to encode to
127694
+ * @returns {$protobuf.Writer} Writer
127695
+ */
127696
+ InteractiveJournalingUserBlockRemoved.encodeDelimited = function encodeDelimited(message, writer) {
127697
+ return this.encode(message, writer).ldelim();
127698
+ };
127699
+
127700
+ /**
127701
+ * Decodes an InteractiveJournalingUserBlockRemoved message from the specified reader or buffer.
127702
+ * @function decode
127703
+ * @memberof InteractiveJournalingUserBlockRemoved
127704
+ * @static
127705
+ * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from
127706
+ * @param {number} [length] Message length if known beforehand
127707
+ * @returns {InteractiveJournalingUserBlockRemoved} InteractiveJournalingUserBlockRemoved
127708
+ * @throws {Error} If the payload is not a reader or valid buffer
127709
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
127710
+ */
127711
+ InteractiveJournalingUserBlockRemoved.decode = function decode(reader, length) {
127712
+ if (!(reader instanceof $Reader))
127713
+ reader = $Reader.create(reader);
127714
+ var end = length === undefined ? reader.len : reader.pos + length, message = new $root.InteractiveJournalingUserBlockRemoved();
127715
+ while (reader.pos < end) {
127716
+ var tag = reader.uint32();
127717
+ switch (tag >>> 3) {
127718
+ case 1:
127719
+ message.hsUserId = reader.string();
127720
+ break;
127721
+ default:
127722
+ reader.skipType(tag & 7);
127723
+ break;
127724
+ }
127725
+ }
127726
+ return message;
127727
+ };
127728
+
127729
+ /**
127730
+ * Decodes an InteractiveJournalingUserBlockRemoved message from the specified reader or buffer, length delimited.
127731
+ * @function decodeDelimited
127732
+ * @memberof InteractiveJournalingUserBlockRemoved
127733
+ * @static
127734
+ * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from
127735
+ * @returns {InteractiveJournalingUserBlockRemoved} InteractiveJournalingUserBlockRemoved
127736
+ * @throws {Error} If the payload is not a reader or valid buffer
127737
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
127738
+ */
127739
+ InteractiveJournalingUserBlockRemoved.decodeDelimited = function decodeDelimited(reader) {
127740
+ if (!(reader instanceof $Reader))
127741
+ reader = new $Reader(reader);
127742
+ return this.decode(reader, reader.uint32());
127743
+ };
127744
+
127745
+ /**
127746
+ * Verifies an InteractiveJournalingUserBlockRemoved message.
127747
+ * @function verify
127748
+ * @memberof InteractiveJournalingUserBlockRemoved
127749
+ * @static
127750
+ * @param {Object.<string,*>} message Plain object to verify
127751
+ * @returns {string|null} `null` if valid, otherwise the reason why it is not
127752
+ */
127753
+ InteractiveJournalingUserBlockRemoved.verify = function verify(message) {
127754
+ if (typeof message !== "object" || message === null)
127755
+ return "object expected";
127756
+ if (message.hsUserId != null && message.hasOwnProperty("hsUserId"))
127757
+ if (!$util.isString(message.hsUserId))
127758
+ return "hsUserId: string expected";
127759
+ return null;
127760
+ };
127761
+
127762
+ /**
127763
+ * Creates an InteractiveJournalingUserBlockRemoved message from a plain object. Also converts values to their respective internal types.
127764
+ * @function fromObject
127765
+ * @memberof InteractiveJournalingUserBlockRemoved
127766
+ * @static
127767
+ * @param {Object.<string,*>} object Plain object
127768
+ * @returns {InteractiveJournalingUserBlockRemoved} InteractiveJournalingUserBlockRemoved
127769
+ */
127770
+ InteractiveJournalingUserBlockRemoved.fromObject = function fromObject(object) {
127771
+ if (object instanceof $root.InteractiveJournalingUserBlockRemoved)
127772
+ return object;
127773
+ var message = new $root.InteractiveJournalingUserBlockRemoved();
127774
+ if (object.hsUserId != null)
127775
+ message.hsUserId = String(object.hsUserId);
127776
+ return message;
127777
+ };
127778
+
127779
+ /**
127780
+ * Creates a plain object from an InteractiveJournalingUserBlockRemoved message. Also converts values to other types if specified.
127781
+ * @function toObject
127782
+ * @memberof InteractiveJournalingUserBlockRemoved
127783
+ * @static
127784
+ * @param {InteractiveJournalingUserBlockRemoved} message InteractiveJournalingUserBlockRemoved
127785
+ * @param {$protobuf.IConversionOptions} [options] Conversion options
127786
+ * @returns {Object.<string,*>} Plain object
127787
+ */
127788
+ InteractiveJournalingUserBlockRemoved.toObject = function toObject(message, options) {
127789
+ if (!options)
127790
+ options = {};
127791
+ var object = {};
127792
+ if (options.defaults)
127793
+ object.hsUserId = "";
127794
+ if (message.hsUserId != null && message.hasOwnProperty("hsUserId"))
127795
+ object.hsUserId = message.hsUserId;
127796
+ return object;
127797
+ };
127798
+
127799
+ /**
127800
+ * Converts this InteractiveJournalingUserBlockRemoved to JSON.
127801
+ * @function toJSON
127802
+ * @memberof InteractiveJournalingUserBlockRemoved
127803
+ * @instance
127804
+ * @returns {Object.<string,*>} JSON object
127805
+ */
127806
+ InteractiveJournalingUserBlockRemoved.prototype.toJSON = function toJSON() {
127807
+ return this.constructor.toObject(this, $protobuf.util.toJSONOptions);
127808
+ };
127809
+
127810
+ return InteractiveJournalingUserBlockRemoved;
127811
+ })();
127812
+
127439
127813
  $root.LayoutCreated = (function() {
127440
127814
 
127441
127815
  /**
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.736.0"
20
20
  }