discord-protos 1.2.377 → 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.
- package/discord_protos/discord_experimentation/v1/Experiment.proto +0 -1
- package/discord_protos/premium_marketing/v1/PremiumMarketingComponentProperties.proto +4 -0
- package/dist/discord_protos/discord_experimentation/v1/Experiment.d.ts +0 -4
- package/dist/discord_protos/discord_experimentation/v1/Experiment.js +0 -8
- package/dist/discord_protos/premium_marketing/v1/PremiumMarketingComponentProperties.d.ts +17 -1
- package/dist/discord_protos/premium_marketing/v1/PremiumMarketingComponentProperties.js +16 -0
- package/package.json +1 -1
|
@@ -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
|
*/
|
|
@@ -3629,7 +3629,6 @@ class Experiment_Rule$Type extends runtime_4.MessageType {
|
|
|
3629
3629
|
{ no: 1, name: "type", kind: "enum", T: () => ["discord_protos.discord_experimentation.v1.Experiment.Type", Experiment_Type, "TYPE_"] },
|
|
3630
3630
|
{ no: 2, name: "filters", kind: "message", repeat: 2 /*RepeatType.UNPACKED*/, T: () => exports.Experiment_Filter },
|
|
3631
3631
|
{ no: 3, name: "override", kind: "message", T: () => exports.Experiment_Override },
|
|
3632
|
-
{ no: 4, name: "is_sunset_rule", kind: "scalar", T: 8 /*ScalarType.BOOL*/ },
|
|
3633
3632
|
{ no: 5, name: "subtype", kind: "enum", T: () => ["discord_protos.discord_experimentation.v1.Experiment.Subtype", Experiment_Subtype, "SUBTYPE_"] },
|
|
3634
3633
|
{ no: 6, name: "hash", kind: "scalar", T: 9 /*ScalarType.STRING*/ },
|
|
3635
3634
|
{ no: 7, name: "title", kind: "message", T: () => wrappers_4.StringValue }
|
|
@@ -3639,7 +3638,6 @@ class Experiment_Rule$Type extends runtime_4.MessageType {
|
|
|
3639
3638
|
const message = globalThis.Object.create((this.messagePrototype));
|
|
3640
3639
|
message.type = 0;
|
|
3641
3640
|
message.filters = [];
|
|
3642
|
-
message.isSunsetRule = false;
|
|
3643
3641
|
message.subtype = 0;
|
|
3644
3642
|
message.hash = "";
|
|
3645
3643
|
if (value !== undefined)
|
|
@@ -3660,9 +3658,6 @@ class Experiment_Rule$Type extends runtime_4.MessageType {
|
|
|
3660
3658
|
case /* optional discord_protos.discord_experimentation.v1.Experiment.Override override */ 3:
|
|
3661
3659
|
message.override = exports.Experiment_Override.internalBinaryRead(reader, reader.uint32(), options, message.override);
|
|
3662
3660
|
break;
|
|
3663
|
-
case /* bool is_sunset_rule */ 4:
|
|
3664
|
-
message.isSunsetRule = reader.bool();
|
|
3665
|
-
break;
|
|
3666
3661
|
case /* discord_protos.discord_experimentation.v1.Experiment.Subtype subtype */ 5:
|
|
3667
3662
|
message.subtype = reader.int32();
|
|
3668
3663
|
break;
|
|
@@ -3693,9 +3688,6 @@ class Experiment_Rule$Type extends runtime_4.MessageType {
|
|
|
3693
3688
|
/* optional discord_protos.discord_experimentation.v1.Experiment.Override override = 3; */
|
|
3694
3689
|
if (message.override)
|
|
3695
3690
|
exports.Experiment_Override.internalBinaryWrite(message.override, writer.tag(3, runtime_2.WireType.LengthDelimited).fork(), options).join();
|
|
3696
|
-
/* bool is_sunset_rule = 4; */
|
|
3697
|
-
if (message.isSunsetRule !== false)
|
|
3698
|
-
writer.tag(4, runtime_2.WireType.Varint).bool(message.isSunsetRule);
|
|
3699
3691
|
/* discord_protos.discord_experimentation.v1.Experiment.Subtype subtype = 5; */
|
|
3700
3692
|
if (message.subtype !== 0)
|
|
3701
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
|