discord-protos 1.2.376 → 1.2.378

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.
@@ -358,7 +358,6 @@ message Experiment {
358
358
  Type type = 1;
359
359
  repeated Filter filters = 2;
360
360
  optional Override override = 3;
361
- bool is_sunset_rule = 4;
362
361
  Subtype subtype = 5;
363
362
  string hash = 6;
364
363
  optional google.protobuf.StringValue title = 7;
@@ -384,6 +383,7 @@ message Experiment {
384
383
  SURFACE_AV_WORKER = 6;
385
384
  SURFACE_SEO = 7;
386
385
  SURFACE_MARKETING = 8;
386
+ SURFACE_DESIGN_DOCS = 9;
387
387
  }
388
388
 
389
389
  enum ExposureTracking {
@@ -627,6 +627,10 @@ message PremiumMarketingComponentProperties {
627
627
  DISMISSIBLE_CONTENT_SHOP_TAB_TOOLTIP = 850;
628
628
  DISMISSIBLE_CONTENT_CODE_BLURPLE_TEASER_TOOLTIP = 851;
629
629
  DISMISSIBLE_CONTENT_SLAYER_STOREFRONT_GAME_EXIT_PROMO_RUST = 852;
630
+ DISMISSIBLE_CONTENT_REFERRAL_PROGRAM_POPOVER_RECURRING_REMINDER = 853;
631
+ DISMISSIBLE_CONTENT_MOBILE_REFERRAL_PROGRAM_BOTTOM_SHEET_RECURRING_REMINDER = 854;
632
+ DISMISSIBLE_CONTENT_GIFTED_SUBSCRIPTIONS_DESKTOP_COACHMARK = 855;
633
+ DISMISSIBLE_CONTENT_DEFAULT_EMOJIS_POPOVER = 856;
630
634
  }
631
635
 
632
636
  message MobileBottomSheet {
@@ -990,10 +990,6 @@ export interface Experiment_Rule {
990
990
  * @generated from protobuf field: optional discord_protos.discord_experimentation.v1.Experiment.Override override = 3
991
991
  */
992
992
  override?: Experiment_Override;
993
- /**
994
- * @generated from protobuf field: bool is_sunset_rule = 4
995
- */
996
- isSunsetRule: boolean;
997
993
  /**
998
994
  * @generated from protobuf field: discord_protos.discord_experimentation.v1.Experiment.Subtype subtype = 5
999
995
  */
@@ -1290,7 +1286,11 @@ export declare enum Experiment_Surface {
1290
1286
  /**
1291
1287
  * @generated from protobuf enum value: SURFACE_MARKETING = 8;
1292
1288
  */
1293
- MARKETING = 8
1289
+ MARKETING = 8,
1290
+ /**
1291
+ * @generated from protobuf enum value: SURFACE_DESIGN_DOCS = 9;
1292
+ */
1293
+ DESIGN_DOCS = 9
1294
1294
  }
1295
1295
  /**
1296
1296
  * @generated from protobuf enum discord_protos.discord_experimentation.v1.Experiment.ExposureTracking
@@ -179,6 +179,10 @@ var Experiment_Surface;
179
179
  * @generated from protobuf enum value: SURFACE_MARKETING = 8;
180
180
  */
181
181
  Experiment_Surface[Experiment_Surface["MARKETING"] = 8] = "MARKETING";
182
+ /**
183
+ * @generated from protobuf enum value: SURFACE_DESIGN_DOCS = 9;
184
+ */
185
+ Experiment_Surface[Experiment_Surface["DESIGN_DOCS"] = 9] = "DESIGN_DOCS";
182
186
  })(Experiment_Surface || (exports.Experiment_Surface = Experiment_Surface = {}));
183
187
  /**
184
188
  * @generated from protobuf enum discord_protos.discord_experimentation.v1.Experiment.ExposureTracking
@@ -3625,7 +3629,6 @@ class Experiment_Rule$Type extends runtime_4.MessageType {
3625
3629
  { no: 1, name: "type", kind: "enum", T: () => ["discord_protos.discord_experimentation.v1.Experiment.Type", Experiment_Type, "TYPE_"] },
3626
3630
  { no: 2, name: "filters", kind: "message", repeat: 2 /*RepeatType.UNPACKED*/, T: () => exports.Experiment_Filter },
3627
3631
  { no: 3, name: "override", kind: "message", T: () => exports.Experiment_Override },
3628
- { no: 4, name: "is_sunset_rule", kind: "scalar", T: 8 /*ScalarType.BOOL*/ },
3629
3632
  { no: 5, name: "subtype", kind: "enum", T: () => ["discord_protos.discord_experimentation.v1.Experiment.Subtype", Experiment_Subtype, "SUBTYPE_"] },
3630
3633
  { no: 6, name: "hash", kind: "scalar", T: 9 /*ScalarType.STRING*/ },
3631
3634
  { no: 7, name: "title", kind: "message", T: () => wrappers_4.StringValue }
@@ -3635,7 +3638,6 @@ class Experiment_Rule$Type extends runtime_4.MessageType {
3635
3638
  const message = globalThis.Object.create((this.messagePrototype));
3636
3639
  message.type = 0;
3637
3640
  message.filters = [];
3638
- message.isSunsetRule = false;
3639
3641
  message.subtype = 0;
3640
3642
  message.hash = "";
3641
3643
  if (value !== undefined)
@@ -3656,9 +3658,6 @@ class Experiment_Rule$Type extends runtime_4.MessageType {
3656
3658
  case /* optional discord_protos.discord_experimentation.v1.Experiment.Override override */ 3:
3657
3659
  message.override = exports.Experiment_Override.internalBinaryRead(reader, reader.uint32(), options, message.override);
3658
3660
  break;
3659
- case /* bool is_sunset_rule */ 4:
3660
- message.isSunsetRule = reader.bool();
3661
- break;
3662
3661
  case /* discord_protos.discord_experimentation.v1.Experiment.Subtype subtype */ 5:
3663
3662
  message.subtype = reader.int32();
3664
3663
  break;
@@ -3689,9 +3688,6 @@ class Experiment_Rule$Type extends runtime_4.MessageType {
3689
3688
  /* optional discord_protos.discord_experimentation.v1.Experiment.Override override = 3; */
3690
3689
  if (message.override)
3691
3690
  exports.Experiment_Override.internalBinaryWrite(message.override, writer.tag(3, runtime_2.WireType.LengthDelimited).fork(), options).join();
3692
- /* bool is_sunset_rule = 4; */
3693
- if (message.isSunsetRule !== false)
3694
- writer.tag(4, runtime_2.WireType.Varint).bool(message.isSunsetRule);
3695
3691
  /* discord_protos.discord_experimentation.v1.Experiment.Subtype subtype = 5; */
3696
3692
  if (message.subtype !== 0)
3697
3693
  writer.tag(5, runtime_2.WireType.Varint).int32(message.subtype);
@@ -3324,7 +3324,23 @@ export declare enum PremiumMarketingComponentProperties_DismissibleContent {
3324
3324
  /**
3325
3325
  * @generated from protobuf enum value: DISMISSIBLE_CONTENT_SLAYER_STOREFRONT_GAME_EXIT_PROMO_RUST = 852;
3326
3326
  */
3327
- SLAYER_STOREFRONT_GAME_EXIT_PROMO_RUST = 852
3327
+ SLAYER_STOREFRONT_GAME_EXIT_PROMO_RUST = 852,
3328
+ /**
3329
+ * @generated from protobuf enum value: DISMISSIBLE_CONTENT_REFERRAL_PROGRAM_POPOVER_RECURRING_REMINDER = 853;
3330
+ */
3331
+ REFERRAL_PROGRAM_POPOVER_RECURRING_REMINDER = 853,
3332
+ /**
3333
+ * @generated from protobuf enum value: DISMISSIBLE_CONTENT_MOBILE_REFERRAL_PROGRAM_BOTTOM_SHEET_RECURRING_REMINDER = 854;
3334
+ */
3335
+ MOBILE_REFERRAL_PROGRAM_BOTTOM_SHEET_RECURRING_REMINDER = 854,
3336
+ /**
3337
+ * @generated from protobuf enum value: DISMISSIBLE_CONTENT_GIFTED_SUBSCRIPTIONS_DESKTOP_COACHMARK = 855;
3338
+ */
3339
+ GIFTED_SUBSCRIPTIONS_DESKTOP_COACHMARK = 855,
3340
+ /**
3341
+ * @generated from protobuf enum value: DISMISSIBLE_CONTENT_DEFAULT_EMOJIS_POPOVER = 856;
3342
+ */
3343
+ DEFAULT_EMOJIS_POPOVER = 856
3328
3344
  }
3329
3345
  /**
3330
3346
  * @generated from protobuf enum discord_protos.premium_marketing.v1.PremiumMarketingComponentProperties.AssetVariant
@@ -2083,6 +2083,22 @@ var PremiumMarketingComponentProperties_DismissibleContent;
2083
2083
  * @generated from protobuf enum value: DISMISSIBLE_CONTENT_SLAYER_STOREFRONT_GAME_EXIT_PROMO_RUST = 852;
2084
2084
  */
2085
2085
  PremiumMarketingComponentProperties_DismissibleContent[PremiumMarketingComponentProperties_DismissibleContent["SLAYER_STOREFRONT_GAME_EXIT_PROMO_RUST"] = 852] = "SLAYER_STOREFRONT_GAME_EXIT_PROMO_RUST";
2086
+ /**
2087
+ * @generated from protobuf enum value: DISMISSIBLE_CONTENT_REFERRAL_PROGRAM_POPOVER_RECURRING_REMINDER = 853;
2088
+ */
2089
+ PremiumMarketingComponentProperties_DismissibleContent[PremiumMarketingComponentProperties_DismissibleContent["REFERRAL_PROGRAM_POPOVER_RECURRING_REMINDER"] = 853] = "REFERRAL_PROGRAM_POPOVER_RECURRING_REMINDER";
2090
+ /**
2091
+ * @generated from protobuf enum value: DISMISSIBLE_CONTENT_MOBILE_REFERRAL_PROGRAM_BOTTOM_SHEET_RECURRING_REMINDER = 854;
2092
+ */
2093
+ PremiumMarketingComponentProperties_DismissibleContent[PremiumMarketingComponentProperties_DismissibleContent["MOBILE_REFERRAL_PROGRAM_BOTTOM_SHEET_RECURRING_REMINDER"] = 854] = "MOBILE_REFERRAL_PROGRAM_BOTTOM_SHEET_RECURRING_REMINDER";
2094
+ /**
2095
+ * @generated from protobuf enum value: DISMISSIBLE_CONTENT_GIFTED_SUBSCRIPTIONS_DESKTOP_COACHMARK = 855;
2096
+ */
2097
+ PremiumMarketingComponentProperties_DismissibleContent[PremiumMarketingComponentProperties_DismissibleContent["GIFTED_SUBSCRIPTIONS_DESKTOP_COACHMARK"] = 855] = "GIFTED_SUBSCRIPTIONS_DESKTOP_COACHMARK";
2098
+ /**
2099
+ * @generated from protobuf enum value: DISMISSIBLE_CONTENT_DEFAULT_EMOJIS_POPOVER = 856;
2100
+ */
2101
+ PremiumMarketingComponentProperties_DismissibleContent[PremiumMarketingComponentProperties_DismissibleContent["DEFAULT_EMOJIS_POPOVER"] = 856] = "DEFAULT_EMOJIS_POPOVER";
2086
2102
  })(PremiumMarketingComponentProperties_DismissibleContent || (exports.PremiumMarketingComponentProperties_DismissibleContent = PremiumMarketingComponentProperties_DismissibleContent = {}));
2087
2103
  /**
2088
2104
  * @generated from protobuf enum discord_protos.premium_marketing.v1.PremiumMarketingComponentProperties.AssetVariant
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "discord-protos",
3
- "version": "1.2.376",
3
+ "version": "1.2.378",
4
4
  "description": "A parser for Discord's protobufs",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",