@headspace/protos-events 1.576.0 → 1.577.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
@@ -43308,8 +43308,8 @@ export namespace InteractiveJournalingMessage {
43308
43308
  /** CustomAttributes disableTextInput */
43309
43309
  disableTextInput?: (boolean|null);
43310
43310
 
43311
- /** CustomAttributes isContentSuggestion */
43312
- isContentSuggestion?: (boolean|null);
43311
+ /** CustomAttributes suggestedContentId */
43312
+ suggestedContentId?: (number|null);
43313
43313
 
43314
43314
  /** CustomAttributes isLifelineWidget */
43315
43315
  isLifelineWidget?: (boolean|null);
@@ -43330,8 +43330,8 @@ export namespace InteractiveJournalingMessage {
43330
43330
  /** CustomAttributes disableTextInput. */
43331
43331
  public disableTextInput: boolean;
43332
43332
 
43333
- /** CustomAttributes isContentSuggestion. */
43334
- public isContentSuggestion: boolean;
43333
+ /** CustomAttributes suggestedContentId. */
43334
+ public suggestedContentId: number;
43335
43335
 
43336
43336
  /** CustomAttributes isLifelineWidget. */
43337
43337
  public isLifelineWidget: boolean;
@@ -43507,97 +43507,97 @@ export namespace InteractiveJournalingMessage {
43507
43507
  }
43508
43508
  }
43509
43509
 
43510
- /** Properties of a ConversationalChatMessageCreated. */
43511
- export interface IConversationalChatMessageCreated {
43510
+ /** Properties of an InteractiveJournalingMessageCreated. */
43511
+ export interface IInteractiveJournalingMessageCreated {
43512
43512
 
43513
- /** ConversationalChatMessageCreated newMessage */
43513
+ /** InteractiveJournalingMessageCreated newMessage */
43514
43514
  newMessage?: (IInteractiveJournalingMessage|null);
43515
43515
 
43516
- /** ConversationalChatMessageCreated timestamp */
43516
+ /** InteractiveJournalingMessageCreated timestamp */
43517
43517
  timestamp?: (number|Long|null);
43518
43518
  }
43519
43519
 
43520
- /** Represents a ConversationalChatMessageCreated. */
43521
- export class ConversationalChatMessageCreated implements IConversationalChatMessageCreated {
43520
+ /** Represents an InteractiveJournalingMessageCreated. */
43521
+ export class InteractiveJournalingMessageCreated implements IInteractiveJournalingMessageCreated {
43522
43522
 
43523
43523
  /**
43524
- * Constructs a new ConversationalChatMessageCreated.
43524
+ * Constructs a new InteractiveJournalingMessageCreated.
43525
43525
  * @param [properties] Properties to set
43526
43526
  */
43527
- constructor(properties?: IConversationalChatMessageCreated);
43527
+ constructor(properties?: IInteractiveJournalingMessageCreated);
43528
43528
 
43529
- /** ConversationalChatMessageCreated newMessage. */
43529
+ /** InteractiveJournalingMessageCreated newMessage. */
43530
43530
  public newMessage?: (IInteractiveJournalingMessage|null);
43531
43531
 
43532
- /** ConversationalChatMessageCreated timestamp. */
43532
+ /** InteractiveJournalingMessageCreated timestamp. */
43533
43533
  public timestamp: (number|Long);
43534
43534
 
43535
43535
  /**
43536
- * Creates a new ConversationalChatMessageCreated instance using the specified properties.
43536
+ * Creates a new InteractiveJournalingMessageCreated instance using the specified properties.
43537
43537
  * @param [properties] Properties to set
43538
- * @returns ConversationalChatMessageCreated instance
43538
+ * @returns InteractiveJournalingMessageCreated instance
43539
43539
  */
43540
- public static create(properties?: IConversationalChatMessageCreated): ConversationalChatMessageCreated;
43540
+ public static create(properties?: IInteractiveJournalingMessageCreated): InteractiveJournalingMessageCreated;
43541
43541
 
43542
43542
  /**
43543
- * Encodes the specified ConversationalChatMessageCreated message. Does not implicitly {@link ConversationalChatMessageCreated.verify|verify} messages.
43544
- * @param message ConversationalChatMessageCreated message or plain object to encode
43543
+ * Encodes the specified InteractiveJournalingMessageCreated message. Does not implicitly {@link InteractiveJournalingMessageCreated.verify|verify} messages.
43544
+ * @param message InteractiveJournalingMessageCreated message or plain object to encode
43545
43545
  * @param [writer] Writer to encode to
43546
43546
  * @returns Writer
43547
43547
  */
43548
- public static encode(message: IConversationalChatMessageCreated, writer?: $protobuf.Writer): $protobuf.Writer;
43548
+ public static encode(message: IInteractiveJournalingMessageCreated, writer?: $protobuf.Writer): $protobuf.Writer;
43549
43549
 
43550
43550
  /**
43551
- * Encodes the specified ConversationalChatMessageCreated message, length delimited. Does not implicitly {@link ConversationalChatMessageCreated.verify|verify} messages.
43552
- * @param message ConversationalChatMessageCreated message or plain object to encode
43551
+ * Encodes the specified InteractiveJournalingMessageCreated message, length delimited. Does not implicitly {@link InteractiveJournalingMessageCreated.verify|verify} messages.
43552
+ * @param message InteractiveJournalingMessageCreated message or plain object to encode
43553
43553
  * @param [writer] Writer to encode to
43554
43554
  * @returns Writer
43555
43555
  */
43556
- public static encodeDelimited(message: IConversationalChatMessageCreated, writer?: $protobuf.Writer): $protobuf.Writer;
43556
+ public static encodeDelimited(message: IInteractiveJournalingMessageCreated, writer?: $protobuf.Writer): $protobuf.Writer;
43557
43557
 
43558
43558
  /**
43559
- * Decodes a ConversationalChatMessageCreated message from the specified reader or buffer.
43559
+ * Decodes an InteractiveJournalingMessageCreated message from the specified reader or buffer.
43560
43560
  * @param reader Reader or buffer to decode from
43561
43561
  * @param [length] Message length if known beforehand
43562
- * @returns ConversationalChatMessageCreated
43562
+ * @returns InteractiveJournalingMessageCreated
43563
43563
  * @throws {Error} If the payload is not a reader or valid buffer
43564
43564
  * @throws {$protobuf.util.ProtocolError} If required fields are missing
43565
43565
  */
43566
- public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): ConversationalChatMessageCreated;
43566
+ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): InteractiveJournalingMessageCreated;
43567
43567
 
43568
43568
  /**
43569
- * Decodes a ConversationalChatMessageCreated message from the specified reader or buffer, length delimited.
43569
+ * Decodes an InteractiveJournalingMessageCreated message from the specified reader or buffer, length delimited.
43570
43570
  * @param reader Reader or buffer to decode from
43571
- * @returns ConversationalChatMessageCreated
43571
+ * @returns InteractiveJournalingMessageCreated
43572
43572
  * @throws {Error} If the payload is not a reader or valid buffer
43573
43573
  * @throws {$protobuf.util.ProtocolError} If required fields are missing
43574
43574
  */
43575
- public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): ConversationalChatMessageCreated;
43575
+ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): InteractiveJournalingMessageCreated;
43576
43576
 
43577
43577
  /**
43578
- * Verifies a ConversationalChatMessageCreated message.
43578
+ * Verifies an InteractiveJournalingMessageCreated message.
43579
43579
  * @param message Plain object to verify
43580
43580
  * @returns `null` if valid, otherwise the reason why it is not
43581
43581
  */
43582
43582
  public static verify(message: { [k: string]: any }): (string|null);
43583
43583
 
43584
43584
  /**
43585
- * Creates a ConversationalChatMessageCreated message from a plain object. Also converts values to their respective internal types.
43585
+ * Creates an InteractiveJournalingMessageCreated message from a plain object. Also converts values to their respective internal types.
43586
43586
  * @param object Plain object
43587
- * @returns ConversationalChatMessageCreated
43587
+ * @returns InteractiveJournalingMessageCreated
43588
43588
  */
43589
- public static fromObject(object: { [k: string]: any }): ConversationalChatMessageCreated;
43589
+ public static fromObject(object: { [k: string]: any }): InteractiveJournalingMessageCreated;
43590
43590
 
43591
43591
  /**
43592
- * Creates a plain object from a ConversationalChatMessageCreated message. Also converts values to other types if specified.
43593
- * @param message ConversationalChatMessageCreated
43592
+ * Creates a plain object from an InteractiveJournalingMessageCreated message. Also converts values to other types if specified.
43593
+ * @param message InteractiveJournalingMessageCreated
43594
43594
  * @param [options] Conversion options
43595
43595
  * @returns Plain object
43596
43596
  */
43597
- public static toObject(message: ConversationalChatMessageCreated, options?: $protobuf.IConversionOptions): { [k: string]: any };
43597
+ public static toObject(message: InteractiveJournalingMessageCreated, options?: $protobuf.IConversionOptions): { [k: string]: any };
43598
43598
 
43599
43599
  /**
43600
- * Converts this ConversationalChatMessageCreated to JSON.
43600
+ * Converts this InteractiveJournalingMessageCreated to JSON.
43601
43601
  * @returns JSON object
43602
43602
  */
43603
43603
  public toJSON(): { [k: string]: any };
package/lib/index.js CHANGED
@@ -123168,7 +123168,7 @@ $root.InteractiveJournalingMessage = (function() {
123168
123168
  * @memberof InteractiveJournalingMessage
123169
123169
  * @interface ICustomAttributes
123170
123170
  * @property {boolean|null} [disableTextInput] CustomAttributes disableTextInput
123171
- * @property {boolean|null} [isContentSuggestion] CustomAttributes isContentSuggestion
123171
+ * @property {number|null} [suggestedContentId] CustomAttributes suggestedContentId
123172
123172
  * @property {boolean|null} [isLifelineWidget] CustomAttributes isLifelineWidget
123173
123173
  * @property {boolean|null} [isEndOfConversation] CustomAttributes isEndOfConversation
123174
123174
  */
@@ -123197,12 +123197,12 @@ $root.InteractiveJournalingMessage = (function() {
123197
123197
  CustomAttributes.prototype.disableTextInput = false;
123198
123198
 
123199
123199
  /**
123200
- * CustomAttributes isContentSuggestion.
123201
- * @member {boolean} isContentSuggestion
123200
+ * CustomAttributes suggestedContentId.
123201
+ * @member {number} suggestedContentId
123202
123202
  * @memberof InteractiveJournalingMessage.CustomAttributes
123203
123203
  * @instance
123204
123204
  */
123205
- CustomAttributes.prototype.isContentSuggestion = false;
123205
+ CustomAttributes.prototype.suggestedContentId = 0;
123206
123206
 
123207
123207
  /**
123208
123208
  * CustomAttributes isLifelineWidget.
@@ -123246,8 +123246,8 @@ $root.InteractiveJournalingMessage = (function() {
123246
123246
  writer = $Writer.create();
123247
123247
  if (message.disableTextInput != null && message.hasOwnProperty("disableTextInput"))
123248
123248
  writer.uint32(/* id 1, wireType 0 =*/8).bool(message.disableTextInput);
123249
- if (message.isContentSuggestion != null && message.hasOwnProperty("isContentSuggestion"))
123250
- writer.uint32(/* id 2, wireType 0 =*/16).bool(message.isContentSuggestion);
123249
+ if (message.suggestedContentId != null && message.hasOwnProperty("suggestedContentId"))
123250
+ writer.uint32(/* id 2, wireType 0 =*/16).int32(message.suggestedContentId);
123251
123251
  if (message.isLifelineWidget != null && message.hasOwnProperty("isLifelineWidget"))
123252
123252
  writer.uint32(/* id 3, wireType 0 =*/24).bool(message.isLifelineWidget);
123253
123253
  if (message.isEndOfConversation != null && message.hasOwnProperty("isEndOfConversation"))
@@ -123290,7 +123290,7 @@ $root.InteractiveJournalingMessage = (function() {
123290
123290
  message.disableTextInput = reader.bool();
123291
123291
  break;
123292
123292
  case 2:
123293
- message.isContentSuggestion = reader.bool();
123293
+ message.suggestedContentId = reader.int32();
123294
123294
  break;
123295
123295
  case 3:
123296
123296
  message.isLifelineWidget = reader.bool();
@@ -123336,9 +123336,9 @@ $root.InteractiveJournalingMessage = (function() {
123336
123336
  if (message.disableTextInput != null && message.hasOwnProperty("disableTextInput"))
123337
123337
  if (typeof message.disableTextInput !== "boolean")
123338
123338
  return "disableTextInput: boolean expected";
123339
- if (message.isContentSuggestion != null && message.hasOwnProperty("isContentSuggestion"))
123340
- if (typeof message.isContentSuggestion !== "boolean")
123341
- return "isContentSuggestion: boolean expected";
123339
+ if (message.suggestedContentId != null && message.hasOwnProperty("suggestedContentId"))
123340
+ if (!$util.isInteger(message.suggestedContentId))
123341
+ return "suggestedContentId: integer expected";
123342
123342
  if (message.isLifelineWidget != null && message.hasOwnProperty("isLifelineWidget"))
123343
123343
  if (typeof message.isLifelineWidget !== "boolean")
123344
123344
  return "isLifelineWidget: boolean expected";
@@ -123362,8 +123362,8 @@ $root.InteractiveJournalingMessage = (function() {
123362
123362
  var message = new $root.InteractiveJournalingMessage.CustomAttributes();
123363
123363
  if (object.disableTextInput != null)
123364
123364
  message.disableTextInput = Boolean(object.disableTextInput);
123365
- if (object.isContentSuggestion != null)
123366
- message.isContentSuggestion = Boolean(object.isContentSuggestion);
123365
+ if (object.suggestedContentId != null)
123366
+ message.suggestedContentId = object.suggestedContentId | 0;
123367
123367
  if (object.isLifelineWidget != null)
123368
123368
  message.isLifelineWidget = Boolean(object.isLifelineWidget);
123369
123369
  if (object.isEndOfConversation != null)
@@ -123386,14 +123386,14 @@ $root.InteractiveJournalingMessage = (function() {
123386
123386
  var object = {};
123387
123387
  if (options.defaults) {
123388
123388
  object.disableTextInput = false;
123389
- object.isContentSuggestion = false;
123389
+ object.suggestedContentId = 0;
123390
123390
  object.isLifelineWidget = false;
123391
123391
  object.isEndOfConversation = false;
123392
123392
  }
123393
123393
  if (message.disableTextInput != null && message.hasOwnProperty("disableTextInput"))
123394
123394
  object.disableTextInput = message.disableTextInput;
123395
- if (message.isContentSuggestion != null && message.hasOwnProperty("isContentSuggestion"))
123396
- object.isContentSuggestion = message.isContentSuggestion;
123395
+ if (message.suggestedContentId != null && message.hasOwnProperty("suggestedContentId"))
123396
+ object.suggestedContentId = message.suggestedContentId;
123397
123397
  if (message.isLifelineWidget != null && message.hasOwnProperty("isLifelineWidget"))
123398
123398
  object.isLifelineWidget = message.isLifelineWidget;
123399
123399
  if (message.isEndOfConversation != null && message.hasOwnProperty("isEndOfConversation"))
@@ -123628,25 +123628,25 @@ $root.InteractiveJournalingMessage = (function() {
123628
123628
  return InteractiveJournalingMessage;
123629
123629
  })();
123630
123630
 
123631
- $root.ConversationalChatMessageCreated = (function() {
123631
+ $root.InteractiveJournalingMessageCreated = (function() {
123632
123632
 
123633
123633
  /**
123634
- * Properties of a ConversationalChatMessageCreated.
123635
- * @name IConversationalChatMessageCreated
123636
- * @interface IConversationalChatMessageCreated
123637
- * @property {IInteractiveJournalingMessage|null} [newMessage] ConversationalChatMessageCreated newMessage
123638
- * @property {number|Long|null} [timestamp] ConversationalChatMessageCreated timestamp
123634
+ * Properties of an InteractiveJournalingMessageCreated.
123635
+ * @name IInteractiveJournalingMessageCreated
123636
+ * @interface IInteractiveJournalingMessageCreated
123637
+ * @property {IInteractiveJournalingMessage|null} [newMessage] InteractiveJournalingMessageCreated newMessage
123638
+ * @property {number|Long|null} [timestamp] InteractiveJournalingMessageCreated timestamp
123639
123639
  */
123640
123640
 
123641
123641
  /**
123642
- * Constructs a new ConversationalChatMessageCreated.
123643
- * @name ConversationalChatMessageCreated
123644
- * @classdesc Represents a ConversationalChatMessageCreated.
123645
- * @implements IConversationalChatMessageCreated
123642
+ * Constructs a new InteractiveJournalingMessageCreated.
123643
+ * @name InteractiveJournalingMessageCreated
123644
+ * @classdesc Represents an InteractiveJournalingMessageCreated.
123645
+ * @implements IInteractiveJournalingMessageCreated
123646
123646
  * @constructor
123647
- * @param {IConversationalChatMessageCreated=} [properties] Properties to set
123647
+ * @param {IInteractiveJournalingMessageCreated=} [properties] Properties to set
123648
123648
  */
123649
- function ConversationalChatMessageCreated(properties) {
123649
+ function InteractiveJournalingMessageCreated(properties) {
123650
123650
  if (properties)
123651
123651
  for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i)
123652
123652
  if (properties[keys[i]] != null)
@@ -123654,43 +123654,43 @@ $root.ConversationalChatMessageCreated = (function() {
123654
123654
  }
123655
123655
 
123656
123656
  /**
123657
- * ConversationalChatMessageCreated newMessage.
123657
+ * InteractiveJournalingMessageCreated newMessage.
123658
123658
  * @member {IInteractiveJournalingMessage|null|undefined} newMessage
123659
- * @memberof ConversationalChatMessageCreated
123659
+ * @memberof InteractiveJournalingMessageCreated
123660
123660
  * @instance
123661
123661
  */
123662
- ConversationalChatMessageCreated.prototype.newMessage = null;
123662
+ InteractiveJournalingMessageCreated.prototype.newMessage = null;
123663
123663
 
123664
123664
  /**
123665
- * ConversationalChatMessageCreated timestamp.
123665
+ * InteractiveJournalingMessageCreated timestamp.
123666
123666
  * @member {number|Long} timestamp
123667
- * @memberof ConversationalChatMessageCreated
123667
+ * @memberof InteractiveJournalingMessageCreated
123668
123668
  * @instance
123669
123669
  */
123670
- ConversationalChatMessageCreated.prototype.timestamp = $util.Long ? $util.Long.fromBits(0,0,true) : 0;
123670
+ InteractiveJournalingMessageCreated.prototype.timestamp = $util.Long ? $util.Long.fromBits(0,0,true) : 0;
123671
123671
 
123672
123672
  /**
123673
- * Creates a new ConversationalChatMessageCreated instance using the specified properties.
123673
+ * Creates a new InteractiveJournalingMessageCreated instance using the specified properties.
123674
123674
  * @function create
123675
- * @memberof ConversationalChatMessageCreated
123675
+ * @memberof InteractiveJournalingMessageCreated
123676
123676
  * @static
123677
- * @param {IConversationalChatMessageCreated=} [properties] Properties to set
123678
- * @returns {ConversationalChatMessageCreated} ConversationalChatMessageCreated instance
123677
+ * @param {IInteractiveJournalingMessageCreated=} [properties] Properties to set
123678
+ * @returns {InteractiveJournalingMessageCreated} InteractiveJournalingMessageCreated instance
123679
123679
  */
123680
- ConversationalChatMessageCreated.create = function create(properties) {
123681
- return new ConversationalChatMessageCreated(properties);
123680
+ InteractiveJournalingMessageCreated.create = function create(properties) {
123681
+ return new InteractiveJournalingMessageCreated(properties);
123682
123682
  };
123683
123683
 
123684
123684
  /**
123685
- * Encodes the specified ConversationalChatMessageCreated message. Does not implicitly {@link ConversationalChatMessageCreated.verify|verify} messages.
123685
+ * Encodes the specified InteractiveJournalingMessageCreated message. Does not implicitly {@link InteractiveJournalingMessageCreated.verify|verify} messages.
123686
123686
  * @function encode
123687
- * @memberof ConversationalChatMessageCreated
123687
+ * @memberof InteractiveJournalingMessageCreated
123688
123688
  * @static
123689
- * @param {IConversationalChatMessageCreated} message ConversationalChatMessageCreated message or plain object to encode
123689
+ * @param {IInteractiveJournalingMessageCreated} message InteractiveJournalingMessageCreated message or plain object to encode
123690
123690
  * @param {$protobuf.Writer} [writer] Writer to encode to
123691
123691
  * @returns {$protobuf.Writer} Writer
123692
123692
  */
123693
- ConversationalChatMessageCreated.encode = function encode(message, writer) {
123693
+ InteractiveJournalingMessageCreated.encode = function encode(message, writer) {
123694
123694
  if (!writer)
123695
123695
  writer = $Writer.create();
123696
123696
  if (message.newMessage != null && message.hasOwnProperty("newMessage"))
@@ -123701,33 +123701,33 @@ $root.ConversationalChatMessageCreated = (function() {
123701
123701
  };
123702
123702
 
123703
123703
  /**
123704
- * Encodes the specified ConversationalChatMessageCreated message, length delimited. Does not implicitly {@link ConversationalChatMessageCreated.verify|verify} messages.
123704
+ * Encodes the specified InteractiveJournalingMessageCreated message, length delimited. Does not implicitly {@link InteractiveJournalingMessageCreated.verify|verify} messages.
123705
123705
  * @function encodeDelimited
123706
- * @memberof ConversationalChatMessageCreated
123706
+ * @memberof InteractiveJournalingMessageCreated
123707
123707
  * @static
123708
- * @param {IConversationalChatMessageCreated} message ConversationalChatMessageCreated message or plain object to encode
123708
+ * @param {IInteractiveJournalingMessageCreated} message InteractiveJournalingMessageCreated message or plain object to encode
123709
123709
  * @param {$protobuf.Writer} [writer] Writer to encode to
123710
123710
  * @returns {$protobuf.Writer} Writer
123711
123711
  */
123712
- ConversationalChatMessageCreated.encodeDelimited = function encodeDelimited(message, writer) {
123712
+ InteractiveJournalingMessageCreated.encodeDelimited = function encodeDelimited(message, writer) {
123713
123713
  return this.encode(message, writer).ldelim();
123714
123714
  };
123715
123715
 
123716
123716
  /**
123717
- * Decodes a ConversationalChatMessageCreated message from the specified reader or buffer.
123717
+ * Decodes an InteractiveJournalingMessageCreated message from the specified reader or buffer.
123718
123718
  * @function decode
123719
- * @memberof ConversationalChatMessageCreated
123719
+ * @memberof InteractiveJournalingMessageCreated
123720
123720
  * @static
123721
123721
  * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from
123722
123722
  * @param {number} [length] Message length if known beforehand
123723
- * @returns {ConversationalChatMessageCreated} ConversationalChatMessageCreated
123723
+ * @returns {InteractiveJournalingMessageCreated} InteractiveJournalingMessageCreated
123724
123724
  * @throws {Error} If the payload is not a reader or valid buffer
123725
123725
  * @throws {$protobuf.util.ProtocolError} If required fields are missing
123726
123726
  */
123727
- ConversationalChatMessageCreated.decode = function decode(reader, length) {
123727
+ InteractiveJournalingMessageCreated.decode = function decode(reader, length) {
123728
123728
  if (!(reader instanceof $Reader))
123729
123729
  reader = $Reader.create(reader);
123730
- var end = length === undefined ? reader.len : reader.pos + length, message = new $root.ConversationalChatMessageCreated();
123730
+ var end = length === undefined ? reader.len : reader.pos + length, message = new $root.InteractiveJournalingMessageCreated();
123731
123731
  while (reader.pos < end) {
123732
123732
  var tag = reader.uint32();
123733
123733
  switch (tag >>> 3) {
@@ -123746,30 +123746,30 @@ $root.ConversationalChatMessageCreated = (function() {
123746
123746
  };
123747
123747
 
123748
123748
  /**
123749
- * Decodes a ConversationalChatMessageCreated message from the specified reader or buffer, length delimited.
123749
+ * Decodes an InteractiveJournalingMessageCreated message from the specified reader or buffer, length delimited.
123750
123750
  * @function decodeDelimited
123751
- * @memberof ConversationalChatMessageCreated
123751
+ * @memberof InteractiveJournalingMessageCreated
123752
123752
  * @static
123753
123753
  * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from
123754
- * @returns {ConversationalChatMessageCreated} ConversationalChatMessageCreated
123754
+ * @returns {InteractiveJournalingMessageCreated} InteractiveJournalingMessageCreated
123755
123755
  * @throws {Error} If the payload is not a reader or valid buffer
123756
123756
  * @throws {$protobuf.util.ProtocolError} If required fields are missing
123757
123757
  */
123758
- ConversationalChatMessageCreated.decodeDelimited = function decodeDelimited(reader) {
123758
+ InteractiveJournalingMessageCreated.decodeDelimited = function decodeDelimited(reader) {
123759
123759
  if (!(reader instanceof $Reader))
123760
123760
  reader = new $Reader(reader);
123761
123761
  return this.decode(reader, reader.uint32());
123762
123762
  };
123763
123763
 
123764
123764
  /**
123765
- * Verifies a ConversationalChatMessageCreated message.
123765
+ * Verifies an InteractiveJournalingMessageCreated message.
123766
123766
  * @function verify
123767
- * @memberof ConversationalChatMessageCreated
123767
+ * @memberof InteractiveJournalingMessageCreated
123768
123768
  * @static
123769
123769
  * @param {Object.<string,*>} message Plain object to verify
123770
123770
  * @returns {string|null} `null` if valid, otherwise the reason why it is not
123771
123771
  */
123772
- ConversationalChatMessageCreated.verify = function verify(message) {
123772
+ InteractiveJournalingMessageCreated.verify = function verify(message) {
123773
123773
  if (typeof message !== "object" || message === null)
123774
123774
  return "object expected";
123775
123775
  if (message.newMessage != null && message.hasOwnProperty("newMessage")) {
@@ -123784,20 +123784,20 @@ $root.ConversationalChatMessageCreated = (function() {
123784
123784
  };
123785
123785
 
123786
123786
  /**
123787
- * Creates a ConversationalChatMessageCreated message from a plain object. Also converts values to their respective internal types.
123787
+ * Creates an InteractiveJournalingMessageCreated message from a plain object. Also converts values to their respective internal types.
123788
123788
  * @function fromObject
123789
- * @memberof ConversationalChatMessageCreated
123789
+ * @memberof InteractiveJournalingMessageCreated
123790
123790
  * @static
123791
123791
  * @param {Object.<string,*>} object Plain object
123792
- * @returns {ConversationalChatMessageCreated} ConversationalChatMessageCreated
123792
+ * @returns {InteractiveJournalingMessageCreated} InteractiveJournalingMessageCreated
123793
123793
  */
123794
- ConversationalChatMessageCreated.fromObject = function fromObject(object) {
123795
- if (object instanceof $root.ConversationalChatMessageCreated)
123794
+ InteractiveJournalingMessageCreated.fromObject = function fromObject(object) {
123795
+ if (object instanceof $root.InteractiveJournalingMessageCreated)
123796
123796
  return object;
123797
- var message = new $root.ConversationalChatMessageCreated();
123797
+ var message = new $root.InteractiveJournalingMessageCreated();
123798
123798
  if (object.newMessage != null) {
123799
123799
  if (typeof object.newMessage !== "object")
123800
- throw TypeError(".ConversationalChatMessageCreated.newMessage: object expected");
123800
+ throw TypeError(".InteractiveJournalingMessageCreated.newMessage: object expected");
123801
123801
  message.newMessage = $root.InteractiveJournalingMessage.fromObject(object.newMessage);
123802
123802
  }
123803
123803
  if (object.timestamp != null)
@@ -123813,15 +123813,15 @@ $root.ConversationalChatMessageCreated = (function() {
123813
123813
  };
123814
123814
 
123815
123815
  /**
123816
- * Creates a plain object from a ConversationalChatMessageCreated message. Also converts values to other types if specified.
123816
+ * Creates a plain object from an InteractiveJournalingMessageCreated message. Also converts values to other types if specified.
123817
123817
  * @function toObject
123818
- * @memberof ConversationalChatMessageCreated
123818
+ * @memberof InteractiveJournalingMessageCreated
123819
123819
  * @static
123820
- * @param {ConversationalChatMessageCreated} message ConversationalChatMessageCreated
123820
+ * @param {InteractiveJournalingMessageCreated} message InteractiveJournalingMessageCreated
123821
123821
  * @param {$protobuf.IConversionOptions} [options] Conversion options
123822
123822
  * @returns {Object.<string,*>} Plain object
123823
123823
  */
123824
- ConversationalChatMessageCreated.toObject = function toObject(message, options) {
123824
+ InteractiveJournalingMessageCreated.toObject = function toObject(message, options) {
123825
123825
  if (!options)
123826
123826
  options = {};
123827
123827
  var object = {};
@@ -123844,17 +123844,17 @@ $root.ConversationalChatMessageCreated = (function() {
123844
123844
  };
123845
123845
 
123846
123846
  /**
123847
- * Converts this ConversationalChatMessageCreated to JSON.
123847
+ * Converts this InteractiveJournalingMessageCreated to JSON.
123848
123848
  * @function toJSON
123849
- * @memberof ConversationalChatMessageCreated
123849
+ * @memberof InteractiveJournalingMessageCreated
123850
123850
  * @instance
123851
123851
  * @returns {Object.<string,*>} JSON object
123852
123852
  */
123853
- ConversationalChatMessageCreated.prototype.toJSON = function toJSON() {
123853
+ InteractiveJournalingMessageCreated.prototype.toJSON = function toJSON() {
123854
123854
  return this.constructor.toObject(this, $protobuf.util.toJSONOptions);
123855
123855
  };
123856
123856
 
123857
- return ConversationalChatMessageCreated;
123857
+ return InteractiveJournalingMessageCreated;
123858
123858
  })();
123859
123859
 
123860
123860
  $root.LayoutCreated = (function() {
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.576.0"
19
+ "version": "1.577.0"
20
20
  }