@headspace/protos-events 1.447.0 → 1.448.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
@@ -37916,6 +37916,12 @@ export interface IModerationActionPerformed {
37916
37916
 
37917
37917
  /** ModerationActionPerformed moderationSource */
37918
37918
  moderationSource?: (ModerationActionPerformed.ModerationSource|null);
37919
+
37920
+ /** ModerationActionPerformed contentId */
37921
+ contentId?: (string|null);
37922
+
37923
+ /** ModerationActionPerformed contentAuthorId */
37924
+ contentAuthorId?: (string|null);
37919
37925
  }
37920
37926
 
37921
37927
  /** Represents a ModerationActionPerformed. */
@@ -37948,6 +37954,12 @@ export class ModerationActionPerformed implements IModerationActionPerformed {
37948
37954
  /** ModerationActionPerformed moderationSource. */
37949
37955
  public moderationSource: ModerationActionPerformed.ModerationSource;
37950
37956
 
37957
+ /** ModerationActionPerformed contentId. */
37958
+ public contentId: string;
37959
+
37960
+ /** ModerationActionPerformed contentAuthorId. */
37961
+ public contentAuthorId: string;
37962
+
37951
37963
  /**
37952
37964
  * Creates a new ModerationActionPerformed instance using the specified properties.
37953
37965
  * @param [properties] Properties to set
package/lib/index.js CHANGED
@@ -106422,6 +106422,8 @@ $root.ModerationActionPerformed = (function() {
106422
106422
  * @property {Array.<ModerationActionPerformed.ReportCategory>|null} [proposedReportCategories] ModerationActionPerformed proposedReportCategories
106423
106423
  * @property {number|Long|null} [createdAt] ModerationActionPerformed createdAt
106424
106424
  * @property {ModerationActionPerformed.ModerationSource|null} [moderationSource] ModerationActionPerformed moderationSource
106425
+ * @property {string|null} [contentId] ModerationActionPerformed contentId
106426
+ * @property {string|null} [contentAuthorId] ModerationActionPerformed contentAuthorId
106425
106427
  */
106426
106428
 
106427
106429
  /**
@@ -106496,6 +106498,22 @@ $root.ModerationActionPerformed = (function() {
106496
106498
  */
106497
106499
  ModerationActionPerformed.prototype.moderationSource = 0;
106498
106500
 
106501
+ /**
106502
+ * ModerationActionPerformed contentId.
106503
+ * @member {string} contentId
106504
+ * @memberof ModerationActionPerformed
106505
+ * @instance
106506
+ */
106507
+ ModerationActionPerformed.prototype.contentId = "";
106508
+
106509
+ /**
106510
+ * ModerationActionPerformed contentAuthorId.
106511
+ * @member {string} contentAuthorId
106512
+ * @memberof ModerationActionPerformed
106513
+ * @instance
106514
+ */
106515
+ ModerationActionPerformed.prototype.contentAuthorId = "";
106516
+
106499
106517
  /**
106500
106518
  * Creates a new ModerationActionPerformed instance using the specified properties.
106501
106519
  * @function create
@@ -106538,6 +106556,10 @@ $root.ModerationActionPerformed = (function() {
106538
106556
  writer.uint32(/* id 6, wireType 0 =*/48).uint64(message.createdAt);
106539
106557
  if (message.moderationSource != null && message.hasOwnProperty("moderationSource"))
106540
106558
  writer.uint32(/* id 7, wireType 0 =*/56).int32(message.moderationSource);
106559
+ if (message.contentId != null && message.hasOwnProperty("contentId"))
106560
+ writer.uint32(/* id 8, wireType 2 =*/66).string(message.contentId);
106561
+ if (message.contentAuthorId != null && message.hasOwnProperty("contentAuthorId"))
106562
+ writer.uint32(/* id 9, wireType 2 =*/74).string(message.contentAuthorId);
106541
106563
  return writer;
106542
106564
  };
106543
106565
 
@@ -106600,6 +106622,12 @@ $root.ModerationActionPerformed = (function() {
106600
106622
  case 7:
106601
106623
  message.moderationSource = reader.int32();
106602
106624
  break;
106625
+ case 8:
106626
+ message.contentId = reader.string();
106627
+ break;
106628
+ case 9:
106629
+ message.contentAuthorId = reader.string();
106630
+ break;
106603
106631
  default:
106604
106632
  reader.skipType(tag & 7);
106605
106633
  break;
@@ -106690,6 +106718,12 @@ $root.ModerationActionPerformed = (function() {
106690
106718
  case 2:
106691
106719
  break;
106692
106720
  }
106721
+ if (message.contentId != null && message.hasOwnProperty("contentId"))
106722
+ if (!$util.isString(message.contentId))
106723
+ return "contentId: string expected";
106724
+ if (message.contentAuthorId != null && message.hasOwnProperty("contentAuthorId"))
106725
+ if (!$util.isString(message.contentAuthorId))
106726
+ return "contentAuthorId: string expected";
106693
106727
  return null;
106694
106728
  };
106695
106729
 
@@ -106817,6 +106851,10 @@ $root.ModerationActionPerformed = (function() {
106817
106851
  message.moderationSource = 2;
106818
106852
  break;
106819
106853
  }
106854
+ if (object.contentId != null)
106855
+ message.contentId = String(object.contentId);
106856
+ if (object.contentAuthorId != null)
106857
+ message.contentAuthorId = String(object.contentAuthorId);
106820
106858
  return message;
106821
106859
  };
106822
106860
 
@@ -106846,6 +106884,8 @@ $root.ModerationActionPerformed = (function() {
106846
106884
  } else
106847
106885
  object.createdAt = options.longs === String ? "0" : 0;
106848
106886
  object.moderationSource = options.enums === String ? "MODERATION_SOURCE_UNKNOWN" : 0;
106887
+ object.contentId = "";
106888
+ object.contentAuthorId = "";
106849
106889
  }
106850
106890
  if (message.reportId != null && message.hasOwnProperty("reportId"))
106851
106891
  object.reportId = message.reportId;
@@ -106867,6 +106907,10 @@ $root.ModerationActionPerformed = (function() {
106867
106907
  object.createdAt = options.longs === String ? $util.Long.prototype.toString.call(message.createdAt) : options.longs === Number ? new $util.LongBits(message.createdAt.low >>> 0, message.createdAt.high >>> 0).toNumber(true) : message.createdAt;
106868
106908
  if (message.moderationSource != null && message.hasOwnProperty("moderationSource"))
106869
106909
  object.moderationSource = options.enums === String ? $root.ModerationActionPerformed.ModerationSource[message.moderationSource] : message.moderationSource;
106910
+ if (message.contentId != null && message.hasOwnProperty("contentId"))
106911
+ object.contentId = message.contentId;
106912
+ if (message.contentAuthorId != null && message.hasOwnProperty("contentAuthorId"))
106913
+ object.contentAuthorId = message.contentAuthorId;
106870
106914
  return object;
106871
106915
  };
106872
106916
 
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.447.0"
19
+ "version": "1.448.0"
20
20
  }