discord-protos 1.2.144 → 1.2.146

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.
@@ -607,6 +607,7 @@ message PremiumMarketingComponentProperties {
607
607
  DISMISSIBLE_CONTENT_GAME_SERVER_HOSTING_BATCH_RELEASE_V3_COACHMARK = 722;
608
608
  DISMISSIBLE_CONTENT_ML_REVERSE_TRIAL_UPSELL_MODAL = 723;
609
609
  DISMISSIBLE_CONTENT_ML_REVERSE_TRIAL_FOLLOWUP_UPSELL_MODAL = 724;
610
+ DISMISSIBLE_CONTENT_GAME_SHOP_NEW_DROP_POPOVER = 725;
610
611
  }
611
612
 
612
613
  message MobileBottomSheet {
@@ -709,6 +710,7 @@ message PremiumMarketingComponentProperties {
709
710
  string body = 2;
710
711
  optional ThemeAwareAsset asset = 3;
711
712
  optional PremiumTabPopoverCTAButton button = 4;
713
+ string help_article_id = 5;
712
714
  }
713
715
 
714
716
  message Nagbar {
@@ -651,6 +651,10 @@ export interface PremiumMarketingComponentProperties_PremiumTabPopover {
651
651
  * @generated from protobuf field: optional discord_protos.premium_marketing.v1.PremiumMarketingComponentProperties.PremiumTabPopoverCTAButton button = 4
652
652
  */
653
653
  button?: PremiumMarketingComponentProperties_PremiumTabPopoverCTAButton;
654
+ /**
655
+ * @generated from protobuf field: string help_article_id = 5
656
+ */
657
+ helpArticleId: string;
654
658
  }
655
659
  /**
656
660
  * @generated from protobuf message discord_protos.premium_marketing.v1.PremiumMarketingComponentProperties.Nagbar
@@ -2793,7 +2797,11 @@ export declare enum PremiumMarketingComponentProperties_DismissibleContent {
2793
2797
  /**
2794
2798
  * @generated from protobuf enum value: DISMISSIBLE_CONTENT_ML_REVERSE_TRIAL_FOLLOWUP_UPSELL_MODAL = 724;
2795
2799
  */
2796
- ML_REVERSE_TRIAL_FOLLOWUP_UPSELL_MODAL = 724
2800
+ ML_REVERSE_TRIAL_FOLLOWUP_UPSELL_MODAL = 724,
2801
+ /**
2802
+ * @generated from protobuf enum value: DISMISSIBLE_CONTENT_GAME_SHOP_NEW_DROP_POPOVER = 725;
2803
+ */
2804
+ GAME_SHOP_NEW_DROP_POPOVER = 725
2797
2805
  }
2798
2806
  declare class PremiumMarketingComponentProperties$Type extends MessageType<PremiumMarketingComponentProperties> {
2799
2807
  constructor();
@@ -2132,6 +2132,10 @@ var PremiumMarketingComponentProperties_DismissibleContent;
2132
2132
  * @generated from protobuf enum value: DISMISSIBLE_CONTENT_ML_REVERSE_TRIAL_FOLLOWUP_UPSELL_MODAL = 724;
2133
2133
  */
2134
2134
  PremiumMarketingComponentProperties_DismissibleContent[PremiumMarketingComponentProperties_DismissibleContent["ML_REVERSE_TRIAL_FOLLOWUP_UPSELL_MODAL"] = 724] = "ML_REVERSE_TRIAL_FOLLOWUP_UPSELL_MODAL";
2135
+ /**
2136
+ * @generated from protobuf enum value: DISMISSIBLE_CONTENT_GAME_SHOP_NEW_DROP_POPOVER = 725;
2137
+ */
2138
+ PremiumMarketingComponentProperties_DismissibleContent[PremiumMarketingComponentProperties_DismissibleContent["GAME_SHOP_NEW_DROP_POPOVER"] = 725] = "GAME_SHOP_NEW_DROP_POPOVER";
2135
2139
  })(PremiumMarketingComponentProperties_DismissibleContent || (exports.PremiumMarketingComponentProperties_DismissibleContent = PremiumMarketingComponentProperties_DismissibleContent = {}));
2136
2140
  // @generated message type with reflection information, may provide speed optimized methods
2137
2141
  class PremiumMarketingComponentProperties$Type extends runtime_4.MessageType {
@@ -4033,13 +4037,15 @@ class PremiumMarketingComponentProperties_PremiumTabPopover$Type extends runtime
4033
4037
  { no: 1, name: "header", kind: "scalar", T: 9 /*ScalarType.STRING*/ },
4034
4038
  { no: 2, name: "body", kind: "scalar", T: 9 /*ScalarType.STRING*/ },
4035
4039
  { no: 3, name: "asset", kind: "message", T: () => exports.PremiumMarketingComponentProperties_ThemeAwareAsset },
4036
- { no: 4, name: "button", kind: "message", T: () => exports.PremiumMarketingComponentProperties_PremiumTabPopoverCTAButton }
4040
+ { no: 4, name: "button", kind: "message", T: () => exports.PremiumMarketingComponentProperties_PremiumTabPopoverCTAButton },
4041
+ { no: 5, name: "help_article_id", kind: "scalar", T: 9 /*ScalarType.STRING*/ }
4037
4042
  ]);
4038
4043
  }
4039
4044
  create(value) {
4040
4045
  const message = globalThis.Object.create((this.messagePrototype));
4041
4046
  message.header = "";
4042
4047
  message.body = "";
4048
+ message.helpArticleId = "";
4043
4049
  if (value !== undefined)
4044
4050
  (0, runtime_3.reflectionMergePartial)(this, message, value);
4045
4051
  return message;
@@ -4061,6 +4067,9 @@ class PremiumMarketingComponentProperties_PremiumTabPopover$Type extends runtime
4061
4067
  case /* optional discord_protos.premium_marketing.v1.PremiumMarketingComponentProperties.PremiumTabPopoverCTAButton button */ 4:
4062
4068
  message.button = exports.PremiumMarketingComponentProperties_PremiumTabPopoverCTAButton.internalBinaryRead(reader, reader.uint32(), options, message.button);
4063
4069
  break;
4070
+ case /* string help_article_id */ 5:
4071
+ message.helpArticleId = reader.string();
4072
+ break;
4064
4073
  default:
4065
4074
  let u = options.readUnknownField;
4066
4075
  if (u === "throw")
@@ -4085,6 +4094,9 @@ class PremiumMarketingComponentProperties_PremiumTabPopover$Type extends runtime
4085
4094
  /* optional discord_protos.premium_marketing.v1.PremiumMarketingComponentProperties.PremiumTabPopoverCTAButton button = 4; */
4086
4095
  if (message.button)
4087
4096
  exports.PremiumMarketingComponentProperties_PremiumTabPopoverCTAButton.internalBinaryWrite(message.button, writer.tag(4, runtime_1.WireType.LengthDelimited).fork(), options).join();
4097
+ /* string help_article_id = 5; */
4098
+ if (message.helpArticleId !== "")
4099
+ writer.tag(5, runtime_1.WireType.LengthDelimited).string(message.helpArticleId);
4088
4100
  let u = options.writeUnknownFields;
4089
4101
  if (u !== false)
4090
4102
  (u == true ? runtime_2.UnknownFieldHandler.onWrite : u)(this.typeName, message, writer);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "discord-protos",
3
- "version": "1.2.144",
3
+ "version": "1.2.146",
4
4
  "description": "A parser for Discord's protobufs",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",