discord-protos 1.2.291 → 1.2.293

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.
@@ -728,6 +728,8 @@ message PremiumMarketingComponentProperties {
728
728
  DISMISSIBLE_CONTENT_BADGE_CUSTOMIZATION_COACHMARK = 806;
729
729
  DISMISSIBLE_CONTENT_FAVORITES_GUILD_SUGGESTIONS = 807;
730
730
  DISMISSIBLE_CONTENT_USER_PROFILE_PERSONAL_WIDGET_COACHMARK = 808;
731
+ DISMISSIBLE_CONTENT_GAME_SERVER_HOSTING_IN_SHOP_DETECTION_COACHMARK = 809;
732
+ DISMISSIBLE_CONTENT_GAME_SERVER_HOSTING_IN_SHOP_DETECTION_NEW_BADGE = 810;
731
733
  }
732
734
 
733
735
  message MobileBottomSheet {
@@ -905,6 +907,7 @@ message PremiumMarketingComponentProperties {
905
907
  string asset_field = 6;
906
908
  optional ThemeAwareAsset themed_asset_field = 7;
907
909
  optional HelpArticle help_article_field = 8;
910
+ optional CTAButton cta_field = 9;
908
911
  }
909
912
 
910
913
  string content_identifier = 3;
@@ -1039,6 +1039,10 @@ export interface PremiumMarketingComponentProperties_AdminEditorTestComponent {
1039
1039
  * @generated from protobuf field: optional discord_protos.premium_marketing.v1.PremiumMarketingComponentProperties.HelpArticle help_article_field = 8
1040
1040
  */
1041
1041
  helpArticleField?: PremiumMarketingComponentProperties_HelpArticle;
1042
+ /**
1043
+ * @generated from protobuf field: optional discord_protos.premium_marketing.v1.PremiumMarketingComponentProperties.CTAButton cta_field = 9
1044
+ */
1045
+ ctaField?: PremiumMarketingComponentProperties_CTAButton;
1042
1046
  }
1043
1047
  /**
1044
1048
  * @generated from protobuf enum discord_protos.premium_marketing.v1.PremiumMarketingComponentProperties.ButtonAction
@@ -3517,7 +3521,15 @@ export declare enum PremiumMarketingComponentProperties_DismissibleContent {
3517
3521
  /**
3518
3522
  * @generated from protobuf enum value: DISMISSIBLE_CONTENT_USER_PROFILE_PERSONAL_WIDGET_COACHMARK = 808;
3519
3523
  */
3520
- USER_PROFILE_PERSONAL_WIDGET_COACHMARK = 808
3524
+ USER_PROFILE_PERSONAL_WIDGET_COACHMARK = 808,
3525
+ /**
3526
+ * @generated from protobuf enum value: DISMISSIBLE_CONTENT_GAME_SERVER_HOSTING_IN_SHOP_DETECTION_COACHMARK = 809;
3527
+ */
3528
+ GAME_SERVER_HOSTING_IN_SHOP_DETECTION_COACHMARK = 809,
3529
+ /**
3530
+ * @generated from protobuf enum value: DISMISSIBLE_CONTENT_GAME_SERVER_HOSTING_IN_SHOP_DETECTION_NEW_BADGE = 810;
3531
+ */
3532
+ GAME_SERVER_HOSTING_IN_SHOP_DETECTION_NEW_BADGE = 810
3521
3533
  }
3522
3534
  /**
3523
3535
  * @generated from protobuf enum discord_protos.premium_marketing.v1.PremiumMarketingComponentProperties.AssetVariant
@@ -2487,6 +2487,14 @@ var PremiumMarketingComponentProperties_DismissibleContent;
2487
2487
  * @generated from protobuf enum value: DISMISSIBLE_CONTENT_USER_PROFILE_PERSONAL_WIDGET_COACHMARK = 808;
2488
2488
  */
2489
2489
  PremiumMarketingComponentProperties_DismissibleContent[PremiumMarketingComponentProperties_DismissibleContent["USER_PROFILE_PERSONAL_WIDGET_COACHMARK"] = 808] = "USER_PROFILE_PERSONAL_WIDGET_COACHMARK";
2490
+ /**
2491
+ * @generated from protobuf enum value: DISMISSIBLE_CONTENT_GAME_SERVER_HOSTING_IN_SHOP_DETECTION_COACHMARK = 809;
2492
+ */
2493
+ PremiumMarketingComponentProperties_DismissibleContent[PremiumMarketingComponentProperties_DismissibleContent["GAME_SERVER_HOSTING_IN_SHOP_DETECTION_COACHMARK"] = 809] = "GAME_SERVER_HOSTING_IN_SHOP_DETECTION_COACHMARK";
2494
+ /**
2495
+ * @generated from protobuf enum value: DISMISSIBLE_CONTENT_GAME_SERVER_HOSTING_IN_SHOP_DETECTION_NEW_BADGE = 810;
2496
+ */
2497
+ PremiumMarketingComponentProperties_DismissibleContent[PremiumMarketingComponentProperties_DismissibleContent["GAME_SERVER_HOSTING_IN_SHOP_DETECTION_NEW_BADGE"] = 810] = "GAME_SERVER_HOSTING_IN_SHOP_DETECTION_NEW_BADGE";
2490
2498
  })(PremiumMarketingComponentProperties_DismissibleContent || (exports.PremiumMarketingComponentProperties_DismissibleContent = PremiumMarketingComponentProperties_DismissibleContent = {}));
2491
2499
  /**
2492
2500
  * @generated from protobuf enum discord_protos.premium_marketing.v1.PremiumMarketingComponentProperties.AssetVariant
@@ -5241,7 +5249,8 @@ class PremiumMarketingComponentProperties_AdminEditorTestComponent$Type extends
5241
5249
  { no: 5, name: "checkbox_field", kind: "scalar", T: 8 /*ScalarType.BOOL*/ },
5242
5250
  { no: 6, name: "asset_field", kind: "scalar", T: 9 /*ScalarType.STRING*/ },
5243
5251
  { no: 7, name: "themed_asset_field", kind: "message", T: () => exports.PremiumMarketingComponentProperties_ThemeAwareAsset },
5244
- { no: 8, name: "help_article_field", kind: "message", T: () => exports.PremiumMarketingComponentProperties_HelpArticle }
5252
+ { no: 8, name: "help_article_field", kind: "message", T: () => exports.PremiumMarketingComponentProperties_HelpArticle },
5253
+ { no: 9, name: "cta_field", kind: "message", T: () => exports.PremiumMarketingComponentProperties_CTAButton }
5245
5254
  ]);
5246
5255
  }
5247
5256
  create(value) {
@@ -5283,6 +5292,9 @@ class PremiumMarketingComponentProperties_AdminEditorTestComponent$Type extends
5283
5292
  case /* optional discord_protos.premium_marketing.v1.PremiumMarketingComponentProperties.HelpArticle help_article_field */ 8:
5284
5293
  message.helpArticleField = exports.PremiumMarketingComponentProperties_HelpArticle.internalBinaryRead(reader, reader.uint32(), options, message.helpArticleField);
5285
5294
  break;
5295
+ case /* optional discord_protos.premium_marketing.v1.PremiumMarketingComponentProperties.CTAButton cta_field */ 9:
5296
+ message.ctaField = exports.PremiumMarketingComponentProperties_CTAButton.internalBinaryRead(reader, reader.uint32(), options, message.ctaField);
5297
+ break;
5286
5298
  default:
5287
5299
  let u = options.readUnknownField;
5288
5300
  if (u === "throw")
@@ -5319,6 +5331,9 @@ class PremiumMarketingComponentProperties_AdminEditorTestComponent$Type extends
5319
5331
  /* optional discord_protos.premium_marketing.v1.PremiumMarketingComponentProperties.HelpArticle help_article_field = 8; */
5320
5332
  if (message.helpArticleField)
5321
5333
  exports.PremiumMarketingComponentProperties_HelpArticle.internalBinaryWrite(message.helpArticleField, writer.tag(8, runtime_1.WireType.LengthDelimited).fork(), options).join();
5334
+ /* optional discord_protos.premium_marketing.v1.PremiumMarketingComponentProperties.CTAButton cta_field = 9; */
5335
+ if (message.ctaField)
5336
+ exports.PremiumMarketingComponentProperties_CTAButton.internalBinaryWrite(message.ctaField, writer.tag(9, runtime_1.WireType.LengthDelimited).fork(), options).join();
5322
5337
  let u = options.writeUnknownFields;
5323
5338
  if (u !== false)
5324
5339
  (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.291",
3
+ "version": "1.2.293",
4
4
  "description": "A parser for Discord's protobufs",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",