@headspace/protos-events 1.52.0 → 1.53.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
@@ -2358,6 +2358,12 @@ export interface IMessageSent {
2358
2358
 
2359
2359
  /** MessageSent imageUrl */
2360
2360
  imageUrl?: (string|null);
2361
+
2362
+ /** MessageSent messageText */
2363
+ messageText?: (string|null);
2364
+
2365
+ /** MessageSent messageTitle */
2366
+ messageTitle?: (string|null);
2361
2367
  }
2362
2368
 
2363
2369
  /** Represents a MessageSent. */
@@ -2390,6 +2396,12 @@ export class MessageSent implements IMessageSent {
2390
2396
  /** MessageSent imageUrl. */
2391
2397
  public imageUrl: string;
2392
2398
 
2399
+ /** MessageSent messageText. */
2400
+ public messageText: string;
2401
+
2402
+ /** MessageSent messageTitle. */
2403
+ public messageTitle: string;
2404
+
2393
2405
  /**
2394
2406
  * Creates a new MessageSent instance using the specified properties.
2395
2407
  * @param [properties] Properties to set
package/lib/index.js CHANGED
@@ -5549,6 +5549,8 @@ $root.MessageSent = (function() {
5549
5549
  * @property {string|null} [deepLink] MessageSent deepLink
5550
5550
  * @property {string|null} [nudgeId] MessageSent nudgeId
5551
5551
  * @property {string|null} [imageUrl] MessageSent imageUrl
5552
+ * @property {string|null} [messageText] MessageSent messageText
5553
+ * @property {string|null} [messageTitle] MessageSent messageTitle
5552
5554
  */
5553
5555
 
5554
5556
  /**
@@ -5622,6 +5624,22 @@ $root.MessageSent = (function() {
5622
5624
  */
5623
5625
  MessageSent.prototype.imageUrl = "";
5624
5626
 
5627
+ /**
5628
+ * MessageSent messageText.
5629
+ * @member {string} messageText
5630
+ * @memberof MessageSent
5631
+ * @instance
5632
+ */
5633
+ MessageSent.prototype.messageText = "";
5634
+
5635
+ /**
5636
+ * MessageSent messageTitle.
5637
+ * @member {string} messageTitle
5638
+ * @memberof MessageSent
5639
+ * @instance
5640
+ */
5641
+ MessageSent.prototype.messageTitle = "";
5642
+
5625
5643
  /**
5626
5644
  * Creates a new MessageSent instance using the specified properties.
5627
5645
  * @function create
@@ -5660,6 +5678,10 @@ $root.MessageSent = (function() {
5660
5678
  writer.uint32(/* id 6, wireType 2 =*/50).string(message.nudgeId);
5661
5679
  if (message.imageUrl != null && message.hasOwnProperty("imageUrl"))
5662
5680
  writer.uint32(/* id 7, wireType 2 =*/58).string(message.imageUrl);
5681
+ if (message.messageText != null && message.hasOwnProperty("messageText"))
5682
+ writer.uint32(/* id 8, wireType 2 =*/66).string(message.messageText);
5683
+ if (message.messageTitle != null && message.hasOwnProperty("messageTitle"))
5684
+ writer.uint32(/* id 9, wireType 2 =*/74).string(message.messageTitle);
5663
5685
  return writer;
5664
5686
  };
5665
5687
 
@@ -5715,6 +5737,12 @@ $root.MessageSent = (function() {
5715
5737
  case 7:
5716
5738
  message.imageUrl = reader.string();
5717
5739
  break;
5740
+ case 8:
5741
+ message.messageText = reader.string();
5742
+ break;
5743
+ case 9:
5744
+ message.messageTitle = reader.string();
5745
+ break;
5718
5746
  default:
5719
5747
  reader.skipType(tag & 7);
5720
5748
  break;
@@ -5771,6 +5799,12 @@ $root.MessageSent = (function() {
5771
5799
  if (message.imageUrl != null && message.hasOwnProperty("imageUrl"))
5772
5800
  if (!$util.isString(message.imageUrl))
5773
5801
  return "imageUrl: string expected";
5802
+ if (message.messageText != null && message.hasOwnProperty("messageText"))
5803
+ if (!$util.isString(message.messageText))
5804
+ return "messageText: string expected";
5805
+ if (message.messageTitle != null && message.hasOwnProperty("messageTitle"))
5806
+ if (!$util.isString(message.messageTitle))
5807
+ return "messageTitle: string expected";
5774
5808
  return null;
5775
5809
  };
5776
5810
 
@@ -5800,6 +5834,10 @@ $root.MessageSent = (function() {
5800
5834
  message.nudgeId = String(object.nudgeId);
5801
5835
  if (object.imageUrl != null)
5802
5836
  message.imageUrl = String(object.imageUrl);
5837
+ if (object.messageText != null)
5838
+ message.messageText = String(object.messageText);
5839
+ if (object.messageTitle != null)
5840
+ message.messageTitle = String(object.messageTitle);
5803
5841
  return message;
5804
5842
  };
5805
5843
 
@@ -5824,6 +5862,8 @@ $root.MessageSent = (function() {
5824
5862
  object.deepLink = "";
5825
5863
  object.nudgeId = "";
5826
5864
  object.imageUrl = "";
5865
+ object.messageText = "";
5866
+ object.messageTitle = "";
5827
5867
  }
5828
5868
  if (message.recipientUserId != null && message.hasOwnProperty("recipientUserId"))
5829
5869
  object.recipientUserId = message.recipientUserId;
@@ -5839,6 +5879,10 @@ $root.MessageSent = (function() {
5839
5879
  object.nudgeId = message.nudgeId;
5840
5880
  if (message.imageUrl != null && message.hasOwnProperty("imageUrl"))
5841
5881
  object.imageUrl = message.imageUrl;
5882
+ if (message.messageText != null && message.hasOwnProperty("messageText"))
5883
+ object.messageText = message.messageText;
5884
+ if (message.messageTitle != null && message.hasOwnProperty("messageTitle"))
5885
+ object.messageTitle = message.messageTitle;
5842
5886
  return object;
5843
5887
  };
5844
5888
 
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.52.0"
19
+ "version": "1.53.0"
20
20
  }