discord-protos 1.2.84 → 1.2.85
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/__init__.py +1 -1
- package/discord_protos/premium_marketing/v1/PremiumMarketingComponentProperties.proto +6 -0
- package/discord_protos/premium_marketing/v1/PremiumMarketingComponentProperties_pb2.py +14 -12
- package/dist/discord_protos/discord_users/v1/PreloadedUserSettings.d.ts +4 -0
- package/dist/discord_protos/discord_users/v1/PreloadedUserSettings.js +8 -1
- package/package.json +1 -1
|
@@ -58,11 +58,17 @@ message PremiumMarketingComponentProperties {
|
|
|
58
58
|
string acknowledged_badge_label = 2;
|
|
59
59
|
}
|
|
60
60
|
|
|
61
|
+
message MarketingPageBannerButton {
|
|
62
|
+
string copy = 1;
|
|
63
|
+
ButtonAction button_action = 2;
|
|
64
|
+
}
|
|
65
|
+
|
|
61
66
|
message MarketingPageBanner {
|
|
62
67
|
string asset_url = 1;
|
|
63
68
|
string header = 2;
|
|
64
69
|
string body = 3;
|
|
65
70
|
string help_article_id = 4;
|
|
71
|
+
optional MarketingPageBannerButton button = 5;
|
|
66
72
|
}
|
|
67
73
|
|
|
68
74
|
message PaymentModalBanner {
|
|
@@ -24,7 +24,7 @@ _sym_db = _symbol_database.Default()
|
|
|
24
24
|
|
|
25
25
|
|
|
26
26
|
|
|
27
|
-
DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n>premium_marketing/v1/PremiumMarketingComponentProperties.proto\x12#discord_protos.premium_marketing.v1\"\
|
|
27
|
+
DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n>premium_marketing/v1/PremiumMarketingComponentProperties.proto\x12#discord_protos.premium_marketing.v1\"\x9e\x1c\n#PremiumMarketingComponentProperties\x12\x1a\n\x12\x63ontent_identifier\x18\x03 \x01(\t\x12\x15\n\x0bplaceholder\x18\x01 \x01(\tH\x00\x12\x94\x01\n\x1c\x61nnouncement_modal_variant_1\x18\x02 \x01(\x0b\x32l.discord_protos.premium_marketing.v1.PremiumMarketingComponentProperties.AnnouncementModalVariant1PropertiesH\x00\x12j\n\x0bpremium_tab\x18\x04 \x01(\x0b\x32S.discord_protos.premium_marketing.v1.PremiumMarketingComponentProperties.PremiumTabH\x00\x12}\n\x15marketing_page_banner\x18\x05 \x01(\x0b\x32\\.discord_protos.premium_marketing.v1.PremiumMarketingComponentProperties.MarketingPageBannerH\x00\x12{\n\x14payment_modal_banner\x18\x06 \x01(\x0b\x32[.discord_protos.premium_marketing.v1.PremiumMarketingComponentProperties.PaymentModalBannerH\x00\x12y\n\x13mobile_bottom_sheet\x18\x07 \x01(\x0b\x32Z.discord_protos.premium_marketing.v1.PremiumMarketingComponentProperties.MobileBottomSheetH\x00\x1am\n\x0b\x46\x65\x61tureCard\x12\x0e\n\x06header\x18\x01 \x01(\t\x12\x0c\n\x04pill\x18\x02 \x01(\t\x12\x0c\n\x04\x62ody\x18\x03 \x01(\t\x12\x12\n\nimage_link\x18\x04 \x01(\t\x12\x1e\n\x16image_link_light_theme\x18\x05 \x01(\t\x1a\x90\x01\n\x12SubscriptionButton\x12\x0c\n\x04\x63opy\x18\x01 \x01(\t\x12l\n\rbutton_action\x18\x02 \x01(\x0e\x32U.discord_protos.premium_marketing.v1.PremiumMarketingComponentProperties.ButtonAction\x1a<\n\x08Subtitle\x12\x0c\n\x04link\x18\x01 \x01(\t\x12\x0e\n\x06locale\x18\x02 \x01(\t\x12\x12\n\nis_default\x18\x03 \x01(\x08\x1a\xff\x05\n\x0fVariant1Storage\x12\xb5\x01\n)hero_art_localized_video_links_dark_theme\x18\x01 \x03(\x0b\x32\x81\x01.discord_protos.premium_marketing.v1.PremiumMarketingComponentProperties.Variant1Storage.HeroArtLocalizedVideoLinksDarkThemeEntry\x12\xb7\x01\n*hero_art_localized_video_links_light_theme\x18\x02 \x03(\x0b\x32\x82\x01.discord_protos.premium_marketing.v1.PremiumMarketingComponentProperties.Variant1Storage.HeroArtLocalizedVideoLinksLightThemeEntry\x12\x9e\x01\n\x1dhero_art_video_subtitle_links\x18\x03 \x03(\x0b\x32w.discord_protos.premium_marketing.v1.PremiumMarketingComponentProperties.Variant1Storage.HeroArtVideoSubtitleLinksEntry\x1aJ\n(HeroArtLocalizedVideoLinksDarkThemeEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\t:\x02\x38\x01\x1aK\n)HeroArtLocalizedVideoLinksLightThemeEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\t:\x02\x38\x01\x1a@\n\x1eHeroArtVideoSubtitleLinksEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\t:\x02\x38\x01\x1a\x85\x06\n#AnnouncementModalVariant1Properties\x12\x0e\n\x06header\x18\x01 \x01(\t\x12\x11\n\tsubheader\x18\x02 \x01(\t\x12\x12\n\nvideo_link\x18\x03 \x01(\t\x12\x17\n\x0fhelp_article_id\x18\x04 \x01(\t\x12k\n\rfeature_cards\x18\x05 \x03(\x0b\x32T.discord_protos.premium_marketing.v1.PremiumMarketingComponentProperties.FeatureCard\x12p\n\x06\x62utton\x18\x06 \x01(\x0b\x32[.discord_protos.premium_marketing.v1.PremiumMarketingComponentProperties.SubscriptionButtonH\x00\x88\x01\x01\x12\x13\n\x0b\x64ismiss_key\x18\x07 \x01(\t\x12\'\n\x1fhero_art_video_link_light_theme\x18\x08 \x01(\t\x12&\n\x1ehero_art_image_link_dark_theme\x18\t \x01(\t\x12\'\n\x1fhero_art_image_link_light_theme\x18\n \x01(\t\x12\x16\n\x0emodal_top_pill\x18\x0b \x01(\t\x12\x0c\n\x04\x62ody\x18\x0c \x01(\t\x12s\n\x18hero_art_video_subtitles\x18\r \x03(\x0b\x32Q.discord_protos.premium_marketing.v1.PremiumMarketingComponentProperties.Subtitle\x12n\n\x07storage\x18\x0e \x01(\x0b\x32X.discord_protos.premium_marketing.v1.PremiumMarketingComponentProperties.Variant1StorageH\x01\x88\x01\x01\x42\t\n\x07_buttonB\n\n\x08_storage\x1a\x43\n\nPremiumTab\x12\x13\n\x0b\x62\x61\x64ge_label\x18\x01 \x01(\t\x12 \n\x18\x61\x63knowledged_badge_label\x18\x02 \x01(\t\x1a\x97\x01\n\x19MarketingPageBannerButton\x12\x0c\n\x04\x63opy\x18\x01 \x01(\t\x12l\n\rbutton_action\x18\x02 \x01(\x0e\x32U.discord_protos.premium_marketing.v1.PremiumMarketingComponentProperties.ButtonAction\x1a\xe3\x01\n\x13MarketingPageBanner\x12\x11\n\tasset_url\x18\x01 \x01(\t\x12\x0e\n\x06header\x18\x02 \x01(\t\x12\x0c\n\x04\x62ody\x18\x03 \x01(\t\x12\x17\n\x0fhelp_article_id\x18\x04 \x01(\t\x12w\n\x06\x62utton\x18\x05 \x01(\x0b\x32\x62.discord_protos.premium_marketing.v1.PremiumMarketingComponentProperties.MarketingPageBannerButtonH\x00\x88\x01\x01\x42\t\n\x07_button\x1a\x45\n\x12PaymentModalBanner\x12\x11\n\tasset_url\x18\x01 \x01(\t\x12\x0e\n\x06header\x18\x02 \x01(\t\x12\x0c\n\x04\x62ody\x18\x03 \x01(\t\x1a\x19\n\tCTAButton\x12\x0c\n\x04\x63opy\x18\x01 \x01(\t\x1a\xd1\x01\n\x11MobileBottomSheet\x12\x11\n\tasset_url\x18\x01 \x01(\t\x12\x0e\n\x06header\x18\x02 \x01(\t\x12\x0c\n\x04\x62ody\x18\x03 \x01(\t\x12\x17\n\x0fhelp_article_id\x18\x04 \x01(\t\x12g\n\x06\x62utton\x18\x05 \x01(\x0b\x32R.discord_protos.premium_marketing.v1.PremiumMarketingComponentProperties.CTAButtonH\x00\x88\x01\x01\x42\t\n\x07_button\"\xf6\x01\n\x0c\x42uttonAction\x12\x1d\n\x19\x42UTTON_ACTION_UNSPECIFIED\x10\x00\x12%\n!BUTTON_ACTION_OPEN_MARKETING_PAGE\x10\x01\x12+\n\'BUTTON_ACTION_OPEN_TIER_2_PAYMENT_MODAL\x10\x02\x12+\n\'BUTTON_ACTION_OPEN_TIER_1_PAYMENT_MODAL\x10\x03\x12\x46\nBBUTTON_ACTION_OPEN_TIER_2_PAYMENT_MODAL_CUSTOM_CONFIRMATION_FOOTER\x10\x04\x42\x0c\n\npropertiesb\x06proto3')
|
|
28
28
|
|
|
29
29
|
_globals = globals()
|
|
30
30
|
_builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals)
|
|
@@ -38,7 +38,7 @@ if not _descriptor._USE_C_DESCRIPTORS:
|
|
|
38
38
|
_globals['_PREMIUMMARKETINGCOMPONENTPROPERTIES_VARIANT1STORAGE_HEROARTVIDEOSUBTITLELINKSENTRY']._loaded_options = None
|
|
39
39
|
_globals['_PREMIUMMARKETINGCOMPONENTPROPERTIES_VARIANT1STORAGE_HEROARTVIDEOSUBTITLELINKSENTRY']._serialized_options = b'8\001'
|
|
40
40
|
_globals['_PREMIUMMARKETINGCOMPONENTPROPERTIES']._serialized_start=104
|
|
41
|
-
_globals['_PREMIUMMARKETINGCOMPONENTPROPERTIES']._serialized_end=
|
|
41
|
+
_globals['_PREMIUMMARKETINGCOMPONENTPROPERTIES']._serialized_end=3718
|
|
42
42
|
_globals['_PREMIUMMARKETINGCOMPONENTPROPERTIES_FEATURECARD']._serialized_start=828
|
|
43
43
|
_globals['_PREMIUMMARKETINGCOMPONENTPROPERTIES_FEATURECARD']._serialized_end=937
|
|
44
44
|
_globals['_PREMIUMMARKETINGCOMPONENTPROPERTIES_SUBSCRIPTIONBUTTON']._serialized_start=940
|
|
@@ -57,14 +57,16 @@ if not _descriptor._USE_C_DESCRIPTORS:
|
|
|
57
57
|
_globals['_PREMIUMMARKETINGCOMPONENTPROPERTIES_ANNOUNCEMENTMODALVARIANT1PROPERTIES']._serialized_end=2692
|
|
58
58
|
_globals['_PREMIUMMARKETINGCOMPONENTPROPERTIES_PREMIUMTAB']._serialized_start=2694
|
|
59
59
|
_globals['_PREMIUMMARKETINGCOMPONENTPROPERTIES_PREMIUMTAB']._serialized_end=2761
|
|
60
|
-
_globals['
|
|
61
|
-
_globals['
|
|
62
|
-
_globals['
|
|
63
|
-
_globals['
|
|
64
|
-
_globals['
|
|
65
|
-
_globals['
|
|
66
|
-
_globals['
|
|
67
|
-
_globals['
|
|
68
|
-
_globals['
|
|
69
|
-
_globals['
|
|
60
|
+
_globals['_PREMIUMMARKETINGCOMPONENTPROPERTIES_MARKETINGPAGEBANNERBUTTON']._serialized_start=2764
|
|
61
|
+
_globals['_PREMIUMMARKETINGCOMPONENTPROPERTIES_MARKETINGPAGEBANNERBUTTON']._serialized_end=2915
|
|
62
|
+
_globals['_PREMIUMMARKETINGCOMPONENTPROPERTIES_MARKETINGPAGEBANNER']._serialized_start=2918
|
|
63
|
+
_globals['_PREMIUMMARKETINGCOMPONENTPROPERTIES_MARKETINGPAGEBANNER']._serialized_end=3145
|
|
64
|
+
_globals['_PREMIUMMARKETINGCOMPONENTPROPERTIES_PAYMENTMODALBANNER']._serialized_start=3147
|
|
65
|
+
_globals['_PREMIUMMARKETINGCOMPONENTPROPERTIES_PAYMENTMODALBANNER']._serialized_end=3216
|
|
66
|
+
_globals['_PREMIUMMARKETINGCOMPONENTPROPERTIES_CTABUTTON']._serialized_start=3218
|
|
67
|
+
_globals['_PREMIUMMARKETINGCOMPONENTPROPERTIES_CTABUTTON']._serialized_end=3243
|
|
68
|
+
_globals['_PREMIUMMARKETINGCOMPONENTPROPERTIES_MOBILEBOTTOMSHEET']._serialized_start=3246
|
|
69
|
+
_globals['_PREMIUMMARKETINGCOMPONENTPROPERTIES_MOBILEBOTTOMSHEET']._serialized_end=3455
|
|
70
|
+
_globals['_PREMIUMMARKETINGCOMPONENTPROPERTIES_BUTTONACTION']._serialized_start=3458
|
|
71
|
+
_globals['_PREMIUMMARKETINGCOMPONENTPROPERTIES_BUTTONACTION']._serialized_end=3704
|
|
70
72
|
# @@protoc_insertion_point(module_scope)
|
|
@@ -743,6 +743,10 @@ export interface PreloadedUserSettings_NotificationSettings {
|
|
|
743
743
|
* @generated from protobuf field: optional google.protobuf.BoolValue enable_user_resurrection_notifications = 13
|
|
744
744
|
*/
|
|
745
745
|
enableUserResurrectionNotifications?: BoolValue;
|
|
746
|
+
/**
|
|
747
|
+
* @generated from protobuf field: optional google.protobuf.BoolValue enable_friend_anniversary_notifications = 14
|
|
748
|
+
*/
|
|
749
|
+
enableFriendAnniversaryNotifications?: BoolValue;
|
|
746
750
|
}
|
|
747
751
|
/**
|
|
748
752
|
* @generated from protobuf message discord_protos.discord_users.v1.PreloadedUserSettings.PrivacySettings
|
|
@@ -2400,7 +2400,8 @@ class PreloadedUserSettings_NotificationSettings$Type extends runtime_4.MessageT
|
|
|
2400
2400
|
{ no: 10, name: "game_activity_exclude_steam_notifications", kind: "message", T: () => wrappers_5.BoolValue },
|
|
2401
2401
|
{ no: 11, name: "enable_voice_activity_notifications", kind: "message", T: () => wrappers_5.BoolValue },
|
|
2402
2402
|
{ no: 12, name: "enable_friend_online_notifications", kind: "message", T: () => wrappers_5.BoolValue },
|
|
2403
|
-
{ no: 13, name: "enable_user_resurrection_notifications", kind: "message", T: () => wrappers_5.BoolValue }
|
|
2403
|
+
{ no: 13, name: "enable_user_resurrection_notifications", kind: "message", T: () => wrappers_5.BoolValue },
|
|
2404
|
+
{ no: 14, name: "enable_friend_anniversary_notifications", kind: "message", T: () => wrappers_5.BoolValue }
|
|
2404
2405
|
]);
|
|
2405
2406
|
}
|
|
2406
2407
|
create(value) {
|
|
@@ -2458,6 +2459,9 @@ class PreloadedUserSettings_NotificationSettings$Type extends runtime_4.MessageT
|
|
|
2458
2459
|
case /* optional google.protobuf.BoolValue enable_user_resurrection_notifications */ 13:
|
|
2459
2460
|
message.enableUserResurrectionNotifications = wrappers_5.BoolValue.internalBinaryRead(reader, reader.uint32(), options, message.enableUserResurrectionNotifications);
|
|
2460
2461
|
break;
|
|
2462
|
+
case /* optional google.protobuf.BoolValue enable_friend_anniversary_notifications */ 14:
|
|
2463
|
+
message.enableFriendAnniversaryNotifications = wrappers_5.BoolValue.internalBinaryRead(reader, reader.uint32(), options, message.enableFriendAnniversaryNotifications);
|
|
2464
|
+
break;
|
|
2461
2465
|
default:
|
|
2462
2466
|
let u = options.readUnknownField;
|
|
2463
2467
|
if (u === "throw")
|
|
@@ -2509,6 +2513,9 @@ class PreloadedUserSettings_NotificationSettings$Type extends runtime_4.MessageT
|
|
|
2509
2513
|
/* optional google.protobuf.BoolValue enable_user_resurrection_notifications = 13; */
|
|
2510
2514
|
if (message.enableUserResurrectionNotifications)
|
|
2511
2515
|
wrappers_5.BoolValue.internalBinaryWrite(message.enableUserResurrectionNotifications, writer.tag(13, runtime_1.WireType.LengthDelimited).fork(), options).join();
|
|
2516
|
+
/* optional google.protobuf.BoolValue enable_friend_anniversary_notifications = 14; */
|
|
2517
|
+
if (message.enableFriendAnniversaryNotifications)
|
|
2518
|
+
wrappers_5.BoolValue.internalBinaryWrite(message.enableFriendAnniversaryNotifications, writer.tag(14, runtime_1.WireType.LengthDelimited).fork(), options).join();
|
|
2512
2519
|
let u = options.writeUnknownFields;
|
|
2513
2520
|
if (u !== false)
|
|
2514
2521
|
(u == true ? runtime_2.UnknownFieldHandler.onWrite : u)(this.typeName, message, writer);
|