discord-protos 1.2.215 → 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 +9 -6
- package/dist/discord_protos/premium_marketing/v1/PremiumMarketingComponentProperties.d.ts +13 -1
- package/dist/discord_protos/premium_marketing/v1/PremiumMarketingComponentProperties.js +21 -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 {
|
|
@@ -832,6 +834,7 @@ message PremiumMarketingComponentProperties {
|
|
|
832
834
|
}
|
|
833
835
|
|
|
834
836
|
string content_identifier = 3;
|
|
837
|
+
bool is_default_base = 18;
|
|
835
838
|
oneof properties {
|
|
836
839
|
string placeholder = 1;
|
|
837
840
|
AnnouncementModalVariant1Properties announcement_modal_variant_1 = 2;
|
|
@@ -12,6 +12,10 @@ export interface PremiumMarketingComponentProperties {
|
|
|
12
12
|
* @generated from protobuf field: string content_identifier = 3
|
|
13
13
|
*/
|
|
14
14
|
contentIdentifier: string;
|
|
15
|
+
/**
|
|
16
|
+
* @generated from protobuf field: bool is_default_base = 18
|
|
17
|
+
*/
|
|
18
|
+
isDefaultBase: boolean;
|
|
15
19
|
/**
|
|
16
20
|
* @generated from protobuf oneof: properties
|
|
17
21
|
*/
|
|
@@ -669,6 +673,10 @@ export interface PremiumMarketingComponentProperties_GiftPlanSelectionCardBanner
|
|
|
669
673
|
* @generated from protobuf field: optional discord_protos.premium_marketing.v1.PremiumMarketingComponentProperties.LocalizedString mobile_body_localized = 15
|
|
670
674
|
*/
|
|
671
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;
|
|
672
680
|
}
|
|
673
681
|
/**
|
|
674
682
|
* @generated from protobuf message discord_protos.premium_marketing.v1.PremiumMarketingComponentProperties.GiftCustomizationBanner
|
|
@@ -3206,7 +3214,11 @@ export declare enum PremiumMarketingComponentProperties_DismissibleContent {
|
|
|
3206
3214
|
/**
|
|
3207
3215
|
* @generated from protobuf enum value: DISMISSIBLE_CONTENT_APP_WIDGET_V2_PROFILE_UPSELL_SUGGESTED = 763;
|
|
3208
3216
|
*/
|
|
3209
|
-
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
|
|
3210
3222
|
}
|
|
3211
3223
|
/**
|
|
3212
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
|
|
@@ -2308,6 +2312,7 @@ class PremiumMarketingComponentProperties$Type extends runtime_4.MessageType {
|
|
|
2308
2312
|
constructor() {
|
|
2309
2313
|
super("discord_protos.premium_marketing.v1.PremiumMarketingComponentProperties", [
|
|
2310
2314
|
{ no: 3, name: "content_identifier", kind: "scalar", T: 9 /*ScalarType.STRING*/ },
|
|
2315
|
+
{ no: 18, name: "is_default_base", kind: "scalar", T: 8 /*ScalarType.BOOL*/ },
|
|
2311
2316
|
{ no: 1, name: "placeholder", kind: "scalar", oneof: "properties", T: 9 /*ScalarType.STRING*/ },
|
|
2312
2317
|
{ no: 2, name: "announcement_modal_variant_1", kind: "message", oneof: "properties", T: () => exports.PremiumMarketingComponentProperties_AnnouncementModalVariant1Properties },
|
|
2313
2318
|
{ no: 4, name: "premium_tab", kind: "message", oneof: "properties", T: () => exports.PremiumMarketingComponentProperties_PremiumTab },
|
|
@@ -2329,6 +2334,7 @@ class PremiumMarketingComponentProperties$Type extends runtime_4.MessageType {
|
|
|
2329
2334
|
create(value) {
|
|
2330
2335
|
const message = globalThis.Object.create((this.messagePrototype));
|
|
2331
2336
|
message.contentIdentifier = "";
|
|
2337
|
+
message.isDefaultBase = false;
|
|
2332
2338
|
message.properties = { oneofKind: undefined };
|
|
2333
2339
|
if (value !== undefined)
|
|
2334
2340
|
(0, runtime_3.reflectionMergePartial)(this, message, value);
|
|
@@ -2342,6 +2348,9 @@ class PremiumMarketingComponentProperties$Type extends runtime_4.MessageType {
|
|
|
2342
2348
|
case /* string content_identifier */ 3:
|
|
2343
2349
|
message.contentIdentifier = reader.string();
|
|
2344
2350
|
break;
|
|
2351
|
+
case /* bool is_default_base */ 18:
|
|
2352
|
+
message.isDefaultBase = reader.bool();
|
|
2353
|
+
break;
|
|
2345
2354
|
case /* string placeholder */ 1:
|
|
2346
2355
|
message.properties = {
|
|
2347
2356
|
oneofKind: "placeholder",
|
|
@@ -2501,6 +2510,9 @@ class PremiumMarketingComponentProperties$Type extends runtime_4.MessageType {
|
|
|
2501
2510
|
/* discord_protos.premium_marketing.v1.PremiumMarketingComponentProperties.Nagbar nagbar = 17; */
|
|
2502
2511
|
if (message.properties.oneofKind === "nagbar")
|
|
2503
2512
|
exports.PremiumMarketingComponentProperties_Nagbar.internalBinaryWrite(message.properties.nagbar, writer.tag(17, runtime_1.WireType.LengthDelimited).fork(), options).join();
|
|
2513
|
+
/* bool is_default_base = 18; */
|
|
2514
|
+
if (message.isDefaultBase !== false)
|
|
2515
|
+
writer.tag(18, runtime_1.WireType.Varint).bool(message.isDefaultBase);
|
|
2504
2516
|
let u = options.writeUnknownFields;
|
|
2505
2517
|
if (u !== false)
|
|
2506
2518
|
(u == true ? runtime_2.UnknownFieldHandler.onWrite : u)(this.typeName, message, writer);
|
|
@@ -4046,7 +4058,8 @@ class PremiumMarketingComponentProperties_GiftPlanSelectionCardBanner$Type exten
|
|
|
4046
4058
|
{ no: 12, name: "mobile_banner_asset", kind: "message", T: () => exports.PremiumMarketingComponentProperties_ThemeAwareAsset },
|
|
4047
4059
|
{ no: 13, name: "header_localized", kind: "message", T: () => exports.PremiumMarketingComponentProperties_LocalizedString },
|
|
4048
4060
|
{ no: 14, name: "desktop_body_localized", kind: "message", T: () => exports.PremiumMarketingComponentProperties_LocalizedString },
|
|
4049
|
-
{ 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_"] }
|
|
4050
4063
|
]);
|
|
4051
4064
|
}
|
|
4052
4065
|
create(value) {
|
|
@@ -4057,6 +4070,7 @@ class PremiumMarketingComponentProperties_GiftPlanSelectionCardBanner$Type exten
|
|
|
4057
4070
|
message.bannerAssetUrl = "";
|
|
4058
4071
|
message.backgroundAssetUrl = "";
|
|
4059
4072
|
message.cardAssetUrl = "";
|
|
4073
|
+
message.assetVariant = 0;
|
|
4060
4074
|
if (value !== undefined)
|
|
4061
4075
|
(0, runtime_3.reflectionMergePartial)(this, message, value);
|
|
4062
4076
|
return message;
|
|
@@ -4111,6 +4125,9 @@ class PremiumMarketingComponentProperties_GiftPlanSelectionCardBanner$Type exten
|
|
|
4111
4125
|
case /* optional discord_protos.premium_marketing.v1.PremiumMarketingComponentProperties.LocalizedString mobile_body_localized */ 15:
|
|
4112
4126
|
message.mobileBodyLocalized = exports.PremiumMarketingComponentProperties_LocalizedString.internalBinaryRead(reader, reader.uint32(), options, message.mobileBodyLocalized);
|
|
4113
4127
|
break;
|
|
4128
|
+
case /* discord_protos.premium_marketing.v1.PremiumMarketingComponentProperties.AssetVariant asset_variant */ 16:
|
|
4129
|
+
message.assetVariant = reader.int32();
|
|
4130
|
+
break;
|
|
4114
4131
|
default:
|
|
4115
4132
|
let u = options.readUnknownField;
|
|
4116
4133
|
if (u === "throw")
|
|
@@ -4168,6 +4185,9 @@ class PremiumMarketingComponentProperties_GiftPlanSelectionCardBanner$Type exten
|
|
|
4168
4185
|
/* optional discord_protos.premium_marketing.v1.PremiumMarketingComponentProperties.LocalizedString mobile_body_localized = 15; */
|
|
4169
4186
|
if (message.mobileBodyLocalized)
|
|
4170
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);
|
|
4171
4191
|
let u = options.writeUnknownFields;
|
|
4172
4192
|
if (u !== false)
|
|
4173
4193
|
(u == true ? runtime_2.UnknownFieldHandler.onWrite : u)(this.typeName, message, writer);
|