discord-protos 1.2.216 → 1.2.217
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/premium_marketing/v1/PremiumMarketingComponentProperties.proto +8 -6
- package/dist/discord_protos/premium_marketing/v1/PremiumMarketingComponentProperties.d.ts +9 -1
- package/dist/discord_protos/premium_marketing/v1/PremiumMarketingComponentProperties.js +13 -1
- package/package.json +1 -1
|
@@ -686,6 +686,7 @@ message PremiumMarketingComponentProperties {
|
|
|
686
686
|
DISMISSIBLE_CONTENT_APP_WIDGET_V2_PROFILE_UPSELL_COACHMARK = 761;
|
|
687
687
|
DISMISSIBLE_CONTENT_PARENTAL_CONSENT_GRACE_WARNING = 762;
|
|
688
688
|
DISMISSIBLE_CONTENT_APP_WIDGET_V2_PROFILE_UPSELL_SUGGESTED = 763;
|
|
689
|
+
DISMISSIBLE_CONTENT_GUILD_THEME_NUX_FOLLOWUP = 764;
|
|
689
690
|
}
|
|
690
691
|
|
|
691
692
|
message MobileBottomSheet {
|
|
@@ -728,6 +729,12 @@ message PremiumMarketingComponentProperties {
|
|
|
728
729
|
optional LocalizedString body_localized = 6;
|
|
729
730
|
}
|
|
730
731
|
|
|
732
|
+
enum AssetVariant {
|
|
733
|
+
ASSET_VARIANT_UNSPECIFIED = 0;
|
|
734
|
+
ASSET_VARIANT_NORMAL = 1;
|
|
735
|
+
ASSET_VARIANT_LARGE_TILTED = 2;
|
|
736
|
+
}
|
|
737
|
+
|
|
731
738
|
message GiftPlanSelectionCardBanner {
|
|
732
739
|
string header = 1;
|
|
733
740
|
string desktop_body = 2;
|
|
@@ -744,12 +751,7 @@ message PremiumMarketingComponentProperties {
|
|
|
744
751
|
optional LocalizedString header_localized = 13;
|
|
745
752
|
optional LocalizedString desktop_body_localized = 14;
|
|
746
753
|
optional LocalizedString mobile_body_localized = 15;
|
|
747
|
-
|
|
748
|
-
|
|
749
|
-
enum AssetVariant {
|
|
750
|
-
ASSET_VARIANT_UNSPECIFIED = 0;
|
|
751
|
-
ASSET_VARIANT_NORMAL = 1;
|
|
752
|
-
ASSET_VARIANT_LARGE_TILTED = 2;
|
|
754
|
+
AssetVariant asset_variant = 16;
|
|
753
755
|
}
|
|
754
756
|
|
|
755
757
|
message GiftCustomizationBanner {
|
|
@@ -673,6 +673,10 @@ export interface PremiumMarketingComponentProperties_GiftPlanSelectionCardBanner
|
|
|
673
673
|
* @generated from protobuf field: optional discord_protos.premium_marketing.v1.PremiumMarketingComponentProperties.LocalizedString mobile_body_localized = 15
|
|
674
674
|
*/
|
|
675
675
|
mobileBodyLocalized?: PremiumMarketingComponentProperties_LocalizedString;
|
|
676
|
+
/**
|
|
677
|
+
* @generated from protobuf field: discord_protos.premium_marketing.v1.PremiumMarketingComponentProperties.AssetVariant asset_variant = 16
|
|
678
|
+
*/
|
|
679
|
+
assetVariant: PremiumMarketingComponentProperties_AssetVariant;
|
|
676
680
|
}
|
|
677
681
|
/**
|
|
678
682
|
* @generated from protobuf message discord_protos.premium_marketing.v1.PremiumMarketingComponentProperties.GiftCustomizationBanner
|
|
@@ -3210,7 +3214,11 @@ export declare enum PremiumMarketingComponentProperties_DismissibleContent {
|
|
|
3210
3214
|
/**
|
|
3211
3215
|
* @generated from protobuf enum value: DISMISSIBLE_CONTENT_APP_WIDGET_V2_PROFILE_UPSELL_SUGGESTED = 763;
|
|
3212
3216
|
*/
|
|
3213
|
-
APP_WIDGET_V2_PROFILE_UPSELL_SUGGESTED = 763
|
|
3217
|
+
APP_WIDGET_V2_PROFILE_UPSELL_SUGGESTED = 763,
|
|
3218
|
+
/**
|
|
3219
|
+
* @generated from protobuf enum value: DISMISSIBLE_CONTENT_GUILD_THEME_NUX_FOLLOWUP = 764;
|
|
3220
|
+
*/
|
|
3221
|
+
GUILD_THEME_NUX_FOLLOWUP = 764
|
|
3214
3222
|
}
|
|
3215
3223
|
/**
|
|
3216
3224
|
* @generated from protobuf enum discord_protos.premium_marketing.v1.PremiumMarketingComponentProperties.AssetVariant
|
|
@@ -2284,6 +2284,10 @@ var PremiumMarketingComponentProperties_DismissibleContent;
|
|
|
2284
2284
|
* @generated from protobuf enum value: DISMISSIBLE_CONTENT_APP_WIDGET_V2_PROFILE_UPSELL_SUGGESTED = 763;
|
|
2285
2285
|
*/
|
|
2286
2286
|
PremiumMarketingComponentProperties_DismissibleContent[PremiumMarketingComponentProperties_DismissibleContent["APP_WIDGET_V2_PROFILE_UPSELL_SUGGESTED"] = 763] = "APP_WIDGET_V2_PROFILE_UPSELL_SUGGESTED";
|
|
2287
|
+
/**
|
|
2288
|
+
* @generated from protobuf enum value: DISMISSIBLE_CONTENT_GUILD_THEME_NUX_FOLLOWUP = 764;
|
|
2289
|
+
*/
|
|
2290
|
+
PremiumMarketingComponentProperties_DismissibleContent[PremiumMarketingComponentProperties_DismissibleContent["GUILD_THEME_NUX_FOLLOWUP"] = 764] = "GUILD_THEME_NUX_FOLLOWUP";
|
|
2287
2291
|
})(PremiumMarketingComponentProperties_DismissibleContent || (exports.PremiumMarketingComponentProperties_DismissibleContent = PremiumMarketingComponentProperties_DismissibleContent = {}));
|
|
2288
2292
|
/**
|
|
2289
2293
|
* @generated from protobuf enum discord_protos.premium_marketing.v1.PremiumMarketingComponentProperties.AssetVariant
|
|
@@ -4054,7 +4058,8 @@ class PremiumMarketingComponentProperties_GiftPlanSelectionCardBanner$Type exten
|
|
|
4054
4058
|
{ no: 12, name: "mobile_banner_asset", kind: "message", T: () => exports.PremiumMarketingComponentProperties_ThemeAwareAsset },
|
|
4055
4059
|
{ no: 13, name: "header_localized", kind: "message", T: () => exports.PremiumMarketingComponentProperties_LocalizedString },
|
|
4056
4060
|
{ no: 14, name: "desktop_body_localized", kind: "message", T: () => exports.PremiumMarketingComponentProperties_LocalizedString },
|
|
4057
|
-
{ no: 15, name: "mobile_body_localized", kind: "message", T: () => exports.PremiumMarketingComponentProperties_LocalizedString }
|
|
4061
|
+
{ no: 15, name: "mobile_body_localized", kind: "message", T: () => exports.PremiumMarketingComponentProperties_LocalizedString },
|
|
4062
|
+
{ no: 16, name: "asset_variant", kind: "enum", T: () => ["discord_protos.premium_marketing.v1.PremiumMarketingComponentProperties.AssetVariant", PremiumMarketingComponentProperties_AssetVariant, "ASSET_VARIANT_"] }
|
|
4058
4063
|
]);
|
|
4059
4064
|
}
|
|
4060
4065
|
create(value) {
|
|
@@ -4065,6 +4070,7 @@ class PremiumMarketingComponentProperties_GiftPlanSelectionCardBanner$Type exten
|
|
|
4065
4070
|
message.bannerAssetUrl = "";
|
|
4066
4071
|
message.backgroundAssetUrl = "";
|
|
4067
4072
|
message.cardAssetUrl = "";
|
|
4073
|
+
message.assetVariant = 0;
|
|
4068
4074
|
if (value !== undefined)
|
|
4069
4075
|
(0, runtime_3.reflectionMergePartial)(this, message, value);
|
|
4070
4076
|
return message;
|
|
@@ -4119,6 +4125,9 @@ class PremiumMarketingComponentProperties_GiftPlanSelectionCardBanner$Type exten
|
|
|
4119
4125
|
case /* optional discord_protos.premium_marketing.v1.PremiumMarketingComponentProperties.LocalizedString mobile_body_localized */ 15:
|
|
4120
4126
|
message.mobileBodyLocalized = exports.PremiumMarketingComponentProperties_LocalizedString.internalBinaryRead(reader, reader.uint32(), options, message.mobileBodyLocalized);
|
|
4121
4127
|
break;
|
|
4128
|
+
case /* discord_protos.premium_marketing.v1.PremiumMarketingComponentProperties.AssetVariant asset_variant */ 16:
|
|
4129
|
+
message.assetVariant = reader.int32();
|
|
4130
|
+
break;
|
|
4122
4131
|
default:
|
|
4123
4132
|
let u = options.readUnknownField;
|
|
4124
4133
|
if (u === "throw")
|
|
@@ -4176,6 +4185,9 @@ class PremiumMarketingComponentProperties_GiftPlanSelectionCardBanner$Type exten
|
|
|
4176
4185
|
/* optional discord_protos.premium_marketing.v1.PremiumMarketingComponentProperties.LocalizedString mobile_body_localized = 15; */
|
|
4177
4186
|
if (message.mobileBodyLocalized)
|
|
4178
4187
|
exports.PremiumMarketingComponentProperties_LocalizedString.internalBinaryWrite(message.mobileBodyLocalized, writer.tag(15, runtime_1.WireType.LengthDelimited).fork(), options).join();
|
|
4188
|
+
/* discord_protos.premium_marketing.v1.PremiumMarketingComponentProperties.AssetVariant asset_variant = 16; */
|
|
4189
|
+
if (message.assetVariant !== 0)
|
|
4190
|
+
writer.tag(16, runtime_1.WireType.Varint).int32(message.assetVariant);
|
|
4179
4191
|
let u = options.writeUnknownFields;
|
|
4180
4192
|
if (u !== false)
|
|
4181
4193
|
(u == true ? runtime_2.UnknownFieldHandler.onWrite : u)(this.typeName, message, writer);
|