discord-protos 1.2.89 → 1.2.91
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/discord_experimentation/v1/Experiment.proto +2 -1
- package/discord_protos/discord_experimentation/v1/Experiment_pb2.py +35 -35
- package/discord_protos/discord_users/v1/PreloadedUserSettings.proto +1 -0
- package/discord_protos/discord_users/v1/PreloadedUserSettings_pb2.py +105 -105
- package/discord_protos/premium_marketing/v1/PremiumMarketingComponentProperties.proto +69 -0
- package/discord_protos/premium_marketing/v1/PremiumMarketingComponentProperties_pb2.py +52 -32
- package/dist/discord_protos/discord_experimentation/v1/Experiment.d.ts +8 -0
- package/dist/discord_protos/discord_experimentation/v1/Experiment.js +16 -1
- package/dist/discord_protos/premium_marketing/v1/PremiumMarketingComponentProperties.d.ts +317 -0
- package/dist/discord_protos/premium_marketing/v1/PremiumMarketingComponentProperties.js +698 -2
- package/package.json +1 -1
|
@@ -89,6 +89,68 @@ message PremiumMarketingComponentProperties {
|
|
|
89
89
|
optional CTAButton button = 5;
|
|
90
90
|
}
|
|
91
91
|
|
|
92
|
+
message Gradient {
|
|
93
|
+
repeated string colors = 1 [packed = false];
|
|
94
|
+
float angle = 2;
|
|
95
|
+
}
|
|
96
|
+
|
|
97
|
+
message GiftIcon {
|
|
98
|
+
string box_animation_url = 1;
|
|
99
|
+
string trinket_animation_url = 2;
|
|
100
|
+
string trinket_glow_animation_url = 3;
|
|
101
|
+
optional Gradient gradient = 4;
|
|
102
|
+
}
|
|
103
|
+
|
|
104
|
+
message GiftIconCoachmark {
|
|
105
|
+
string header = 1;
|
|
106
|
+
string body = 2;
|
|
107
|
+
string asset_url = 3;
|
|
108
|
+
}
|
|
109
|
+
|
|
110
|
+
message ThemeAwareAsset {
|
|
111
|
+
string light_url = 1;
|
|
112
|
+
string dark_url = 2;
|
|
113
|
+
}
|
|
114
|
+
|
|
115
|
+
message GiftPlanSelectionCardBanner {
|
|
116
|
+
string header = 1;
|
|
117
|
+
string desktop_body = 2;
|
|
118
|
+
string mobile_body = 3;
|
|
119
|
+
optional ThemeAwareAsset avatar_asset = 4;
|
|
120
|
+
string banner_asset_url = 5;
|
|
121
|
+
string background_asset_url = 6;
|
|
122
|
+
string card_asset_url = 7;
|
|
123
|
+
optional Gradient gradient = 8;
|
|
124
|
+
}
|
|
125
|
+
|
|
126
|
+
message GiftCustomizationBanner {
|
|
127
|
+
string asset_url = 1;
|
|
128
|
+
string desktop_body = 2;
|
|
129
|
+
string mobile_body = 3;
|
|
130
|
+
optional Gradient gradient = 4;
|
|
131
|
+
string background_asset_url = 5;
|
|
132
|
+
}
|
|
133
|
+
|
|
134
|
+
message BillingSettingsNitroGiftBanner {
|
|
135
|
+
string asset_url = 1;
|
|
136
|
+
string header = 2;
|
|
137
|
+
string body = 3;
|
|
138
|
+
string background_asset_url = 4;
|
|
139
|
+
optional Gradient gradient = 5;
|
|
140
|
+
string text_color = 6;
|
|
141
|
+
string additional_terms = 7;
|
|
142
|
+
}
|
|
143
|
+
|
|
144
|
+
message GiftReminderNagbar {
|
|
145
|
+
string body = 1;
|
|
146
|
+
}
|
|
147
|
+
|
|
148
|
+
message GiftReminderCoachmark {
|
|
149
|
+
string header = 1;
|
|
150
|
+
string body = 2;
|
|
151
|
+
string asset_url = 3;
|
|
152
|
+
}
|
|
153
|
+
|
|
92
154
|
string content_identifier = 3;
|
|
93
155
|
oneof properties {
|
|
94
156
|
string placeholder = 1;
|
|
@@ -97,6 +159,13 @@ message PremiumMarketingComponentProperties {
|
|
|
97
159
|
MarketingPageBanner marketing_page_banner = 5;
|
|
98
160
|
PaymentModalBanner payment_modal_banner = 6;
|
|
99
161
|
MobileBottomSheet mobile_bottom_sheet = 7;
|
|
162
|
+
GiftIcon gift_icon = 8;
|
|
163
|
+
GiftIconCoachmark gift_icon_coachmark = 9;
|
|
164
|
+
GiftPlanSelectionCardBanner gift_plan_selection_card_banner = 10;
|
|
165
|
+
GiftCustomizationBanner gift_customization_banner = 11;
|
|
166
|
+
BillingSettingsNitroGiftBanner billing_settings_nitro_gift_banner = 12;
|
|
167
|
+
GiftReminderNagbar gift_reminder_nagbar = 13;
|
|
168
|
+
GiftReminderCoachmark gift_reminder_coachmark = 14;
|
|
100
169
|
}
|
|
101
170
|
|
|
102
171
|
}
|
|
@@ -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\"\xdf.\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\x12\x66\n\tgift_icon\x18\x08 \x01(\x0b\x32Q.discord_protos.premium_marketing.v1.PremiumMarketingComponentProperties.GiftIconH\x00\x12y\n\x13gift_icon_coachmark\x18\t \x01(\x0b\x32Z.discord_protos.premium_marketing.v1.PremiumMarketingComponentProperties.GiftIconCoachmarkH\x00\x12\x8f\x01\n\x1fgift_plan_selection_card_banner\x18\n \x01(\x0b\x32\x64.discord_protos.premium_marketing.v1.PremiumMarketingComponentProperties.GiftPlanSelectionCardBannerH\x00\x12\x85\x01\n\x19gift_customization_banner\x18\x0b \x01(\x0b\x32`.discord_protos.premium_marketing.v1.PremiumMarketingComponentProperties.GiftCustomizationBannerH\x00\x12\x95\x01\n\"billing_settings_nitro_gift_banner\x18\x0c \x01(\x0b\x32g.discord_protos.premium_marketing.v1.PremiumMarketingComponentProperties.BillingSettingsNitroGiftBannerH\x00\x12{\n\x14gift_reminder_nagbar\x18\r \x01(\x0b\x32[.discord_protos.premium_marketing.v1.PremiumMarketingComponentProperties.GiftReminderNagbarH\x00\x12\x81\x01\n\x17gift_reminder_coachmark\x18\x0e \x01(\x0b\x32^.discord_protos.premium_marketing.v1.PremiumMarketingComponentProperties.GiftReminderCoachmarkH\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\x1a-\n\x08Gradient\x12\x12\n\x06\x63olors\x18\x01 \x03(\tB\x02\x10\x00\x12\r\n\x05\x61ngle\x18\x02 \x01(\x02\x1a\xdf\x01\n\x08GiftIcon\x12\x19\n\x11\x62ox_animation_url\x18\x01 \x01(\t\x12\x1d\n\x15trinket_animation_url\x18\x02 \x01(\t\x12\"\n\x1atrinket_glow_animation_url\x18\x03 \x01(\t\x12h\n\x08gradient\x18\x04 \x01(\x0b\x32Q.discord_protos.premium_marketing.v1.PremiumMarketingComponentProperties.GradientH\x00\x88\x01\x01\x42\x0b\n\t_gradient\x1a\x44\n\x11GiftIconCoachmark\x12\x0e\n\x06header\x18\x01 \x01(\t\x12\x0c\n\x04\x62ody\x18\x02 \x01(\t\x12\x11\n\tasset_url\x18\x03 \x01(\t\x1a\x36\n\x0fThemeAwareAsset\x12\x11\n\tlight_url\x18\x01 \x01(\t\x12\x10\n\x08\x64\x61rk_url\x18\x02 \x01(\t\x1a\xa5\x03\n\x1bGiftPlanSelectionCardBanner\x12\x0e\n\x06header\x18\x01 \x01(\t\x12\x14\n\x0c\x64\x65sktop_body\x18\x02 \x01(\t\x12\x13\n\x0bmobile_body\x18\x03 \x01(\t\x12s\n\x0c\x61vatar_asset\x18\x04 \x01(\x0b\x32X.discord_protos.premium_marketing.v1.PremiumMarketingComponentProperties.ThemeAwareAssetH\x00\x88\x01\x01\x12\x18\n\x10\x62\x61nner_asset_url\x18\x05 \x01(\t\x12\x1c\n\x14\x62\x61\x63kground_asset_url\x18\x06 \x01(\t\x12\x16\n\x0e\x63\x61rd_asset_url\x18\x07 \x01(\t\x12h\n\x08gradient\x18\x08 \x01(\x0b\x32Q.discord_protos.premium_marketing.v1.PremiumMarketingComponentProperties.GradientH\x01\x88\x01\x01\x42\x0f\n\r_avatar_assetB\x0b\n\t_gradient\x1a\xec\x01\n\x17GiftCustomizationBanner\x12\x11\n\tasset_url\x18\x01 \x01(\t\x12\x14\n\x0c\x64\x65sktop_body\x18\x02 \x01(\t\x12\x13\n\x0bmobile_body\x18\x03 \x01(\t\x12h\n\x08gradient\x18\x04 \x01(\x0b\x32Q.discord_protos.premium_marketing.v1.PremiumMarketingComponentProperties.GradientH\x00\x88\x01\x01\x12\x1c\n\x14\x62\x61\x63kground_asset_url\x18\x05 \x01(\tB\x0b\n\t_gradient\x1a\x94\x02\n\x1e\x42illingSettingsNitroGiftBanner\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\x1c\n\x14\x62\x61\x63kground_asset_url\x18\x04 \x01(\t\x12h\n\x08gradient\x18\x05 \x01(\x0b\x32Q.discord_protos.premium_marketing.v1.PremiumMarketingComponentProperties.GradientH\x00\x88\x01\x01\x12\x12\n\ntext_color\x18\x06 \x01(\t\x12\x18\n\x10\x61\x64\x64itional_terms\x18\x07 \x01(\tB\x0b\n\t_gradient\x1a\"\n\x12GiftReminderNagbar\x12\x0c\n\x04\x62ody\x18\x01 \x01(\t\x1aH\n\x15GiftReminderCoachmark\x12\x0e\n\x06header\x18\x01 \x01(\t\x12\x0c\n\x04\x62ody\x18\x02 \x01(\t\x12\x11\n\tasset_url\x18\x03 \x01(\t\"\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)
|
|
@@ -37,36 +37,56 @@ if not _descriptor._USE_C_DESCRIPTORS:
|
|
|
37
37
|
_globals['_PREMIUMMARKETINGCOMPONENTPROPERTIES_VARIANT1STORAGE_HEROARTLOCALIZEDVIDEOLINKSLIGHTTHEMEENTRY']._serialized_options = b'8\001'
|
|
38
38
|
_globals['_PREMIUMMARKETINGCOMPONENTPROPERTIES_VARIANT1STORAGE_HEROARTVIDEOSUBTITLELINKSENTRY']._loaded_options = None
|
|
39
39
|
_globals['_PREMIUMMARKETINGCOMPONENTPROPERTIES_VARIANT1STORAGE_HEROARTVIDEOSUBTITLELINKSENTRY']._serialized_options = b'8\001'
|
|
40
|
+
_globals['_PREMIUMMARKETINGCOMPONENTPROPERTIES_GRADIENT'].fields_by_name['colors']._loaded_options = None
|
|
41
|
+
_globals['_PREMIUMMARKETINGCOMPONENTPROPERTIES_GRADIENT'].fields_by_name['colors']._serialized_options = b'\020\000'
|
|
40
42
|
_globals['_PREMIUMMARKETINGCOMPONENTPROPERTIES']._serialized_start=104
|
|
41
|
-
_globals['_PREMIUMMARKETINGCOMPONENTPROPERTIES']._serialized_end=
|
|
42
|
-
_globals['_PREMIUMMARKETINGCOMPONENTPROPERTIES_FEATURECARD']._serialized_start=
|
|
43
|
-
_globals['_PREMIUMMARKETINGCOMPONENTPROPERTIES_FEATURECARD']._serialized_end=
|
|
44
|
-
_globals['_PREMIUMMARKETINGCOMPONENTPROPERTIES_SUBSCRIPTIONBUTTON']._serialized_start=
|
|
45
|
-
_globals['_PREMIUMMARKETINGCOMPONENTPROPERTIES_SUBSCRIPTIONBUTTON']._serialized_end=
|
|
46
|
-
_globals['_PREMIUMMARKETINGCOMPONENTPROPERTIES_SUBTITLE']._serialized_start=
|
|
47
|
-
_globals['_PREMIUMMARKETINGCOMPONENTPROPERTIES_SUBTITLE']._serialized_end=
|
|
48
|
-
_globals['_PREMIUMMARKETINGCOMPONENTPROPERTIES_VARIANT1STORAGE']._serialized_start=
|
|
49
|
-
_globals['_PREMIUMMARKETINGCOMPONENTPROPERTIES_VARIANT1STORAGE']._serialized_end=
|
|
50
|
-
_globals['_PREMIUMMARKETINGCOMPONENTPROPERTIES_VARIANT1STORAGE_HEROARTLOCALIZEDVIDEOLINKSDARKTHEMEENTRY']._serialized_start=
|
|
51
|
-
_globals['_PREMIUMMARKETINGCOMPONENTPROPERTIES_VARIANT1STORAGE_HEROARTLOCALIZEDVIDEOLINKSDARKTHEMEENTRY']._serialized_end=
|
|
52
|
-
_globals['_PREMIUMMARKETINGCOMPONENTPROPERTIES_VARIANT1STORAGE_HEROARTLOCALIZEDVIDEOLINKSLIGHTTHEMEENTRY']._serialized_start=
|
|
53
|
-
_globals['_PREMIUMMARKETINGCOMPONENTPROPERTIES_VARIANT1STORAGE_HEROARTLOCALIZEDVIDEOLINKSLIGHTTHEMEENTRY']._serialized_end=
|
|
54
|
-
_globals['_PREMIUMMARKETINGCOMPONENTPROPERTIES_VARIANT1STORAGE_HEROARTVIDEOSUBTITLELINKSENTRY']._serialized_start=
|
|
55
|
-
_globals['_PREMIUMMARKETINGCOMPONENTPROPERTIES_VARIANT1STORAGE_HEROARTVIDEOSUBTITLELINKSENTRY']._serialized_end=
|
|
56
|
-
_globals['_PREMIUMMARKETINGCOMPONENTPROPERTIES_ANNOUNCEMENTMODALVARIANT1PROPERTIES']._serialized_start=
|
|
57
|
-
_globals['_PREMIUMMARKETINGCOMPONENTPROPERTIES_ANNOUNCEMENTMODALVARIANT1PROPERTIES']._serialized_end=
|
|
58
|
-
_globals['_PREMIUMMARKETINGCOMPONENTPROPERTIES_PREMIUMTAB']._serialized_start=
|
|
59
|
-
_globals['_PREMIUMMARKETINGCOMPONENTPROPERTIES_PREMIUMTAB']._serialized_end=
|
|
60
|
-
_globals['_PREMIUMMARKETINGCOMPONENTPROPERTIES_MARKETINGPAGEBANNERBUTTON']._serialized_start=
|
|
61
|
-
_globals['_PREMIUMMARKETINGCOMPONENTPROPERTIES_MARKETINGPAGEBANNERBUTTON']._serialized_end=
|
|
62
|
-
_globals['_PREMIUMMARKETINGCOMPONENTPROPERTIES_MARKETINGPAGEBANNER']._serialized_start=
|
|
63
|
-
_globals['_PREMIUMMARKETINGCOMPONENTPROPERTIES_MARKETINGPAGEBANNER']._serialized_end=
|
|
64
|
-
_globals['_PREMIUMMARKETINGCOMPONENTPROPERTIES_PAYMENTMODALBANNER']._serialized_start=
|
|
65
|
-
_globals['_PREMIUMMARKETINGCOMPONENTPROPERTIES_PAYMENTMODALBANNER']._serialized_end=
|
|
66
|
-
_globals['_PREMIUMMARKETINGCOMPONENTPROPERTIES_CTABUTTON']._serialized_start=
|
|
67
|
-
_globals['_PREMIUMMARKETINGCOMPONENTPROPERTIES_CTABUTTON']._serialized_end=
|
|
68
|
-
_globals['_PREMIUMMARKETINGCOMPONENTPROPERTIES_MOBILEBOTTOMSHEET']._serialized_start=
|
|
69
|
-
_globals['_PREMIUMMARKETINGCOMPONENTPROPERTIES_MOBILEBOTTOMSHEET']._serialized_end=
|
|
70
|
-
_globals['
|
|
71
|
-
_globals['
|
|
43
|
+
_globals['_PREMIUMMARKETINGCOMPONENTPROPERTIES']._serialized_end=6087
|
|
44
|
+
_globals['_PREMIUMMARKETINGCOMPONENTPROPERTIES_FEATURECARD']._serialized_start=1746
|
|
45
|
+
_globals['_PREMIUMMARKETINGCOMPONENTPROPERTIES_FEATURECARD']._serialized_end=1855
|
|
46
|
+
_globals['_PREMIUMMARKETINGCOMPONENTPROPERTIES_SUBSCRIPTIONBUTTON']._serialized_start=1858
|
|
47
|
+
_globals['_PREMIUMMARKETINGCOMPONENTPROPERTIES_SUBSCRIPTIONBUTTON']._serialized_end=2002
|
|
48
|
+
_globals['_PREMIUMMARKETINGCOMPONENTPROPERTIES_SUBTITLE']._serialized_start=2004
|
|
49
|
+
_globals['_PREMIUMMARKETINGCOMPONENTPROPERTIES_SUBTITLE']._serialized_end=2064
|
|
50
|
+
_globals['_PREMIUMMARKETINGCOMPONENTPROPERTIES_VARIANT1STORAGE']._serialized_start=2067
|
|
51
|
+
_globals['_PREMIUMMARKETINGCOMPONENTPROPERTIES_VARIANT1STORAGE']._serialized_end=2834
|
|
52
|
+
_globals['_PREMIUMMARKETINGCOMPONENTPROPERTIES_VARIANT1STORAGE_HEROARTLOCALIZEDVIDEOLINKSDARKTHEMEENTRY']._serialized_start=2617
|
|
53
|
+
_globals['_PREMIUMMARKETINGCOMPONENTPROPERTIES_VARIANT1STORAGE_HEROARTLOCALIZEDVIDEOLINKSDARKTHEMEENTRY']._serialized_end=2691
|
|
54
|
+
_globals['_PREMIUMMARKETINGCOMPONENTPROPERTIES_VARIANT1STORAGE_HEROARTLOCALIZEDVIDEOLINKSLIGHTTHEMEENTRY']._serialized_start=2693
|
|
55
|
+
_globals['_PREMIUMMARKETINGCOMPONENTPROPERTIES_VARIANT1STORAGE_HEROARTLOCALIZEDVIDEOLINKSLIGHTTHEMEENTRY']._serialized_end=2768
|
|
56
|
+
_globals['_PREMIUMMARKETINGCOMPONENTPROPERTIES_VARIANT1STORAGE_HEROARTVIDEOSUBTITLELINKSENTRY']._serialized_start=2770
|
|
57
|
+
_globals['_PREMIUMMARKETINGCOMPONENTPROPERTIES_VARIANT1STORAGE_HEROARTVIDEOSUBTITLELINKSENTRY']._serialized_end=2834
|
|
58
|
+
_globals['_PREMIUMMARKETINGCOMPONENTPROPERTIES_ANNOUNCEMENTMODALVARIANT1PROPERTIES']._serialized_start=2837
|
|
59
|
+
_globals['_PREMIUMMARKETINGCOMPONENTPROPERTIES_ANNOUNCEMENTMODALVARIANT1PROPERTIES']._serialized_end=3610
|
|
60
|
+
_globals['_PREMIUMMARKETINGCOMPONENTPROPERTIES_PREMIUMTAB']._serialized_start=3612
|
|
61
|
+
_globals['_PREMIUMMARKETINGCOMPONENTPROPERTIES_PREMIUMTAB']._serialized_end=3679
|
|
62
|
+
_globals['_PREMIUMMARKETINGCOMPONENTPROPERTIES_MARKETINGPAGEBANNERBUTTON']._serialized_start=3682
|
|
63
|
+
_globals['_PREMIUMMARKETINGCOMPONENTPROPERTIES_MARKETINGPAGEBANNERBUTTON']._serialized_end=3833
|
|
64
|
+
_globals['_PREMIUMMARKETINGCOMPONENTPROPERTIES_MARKETINGPAGEBANNER']._serialized_start=3836
|
|
65
|
+
_globals['_PREMIUMMARKETINGCOMPONENTPROPERTIES_MARKETINGPAGEBANNER']._serialized_end=4063
|
|
66
|
+
_globals['_PREMIUMMARKETINGCOMPONENTPROPERTIES_PAYMENTMODALBANNER']._serialized_start=4065
|
|
67
|
+
_globals['_PREMIUMMARKETINGCOMPONENTPROPERTIES_PAYMENTMODALBANNER']._serialized_end=4134
|
|
68
|
+
_globals['_PREMIUMMARKETINGCOMPONENTPROPERTIES_CTABUTTON']._serialized_start=4136
|
|
69
|
+
_globals['_PREMIUMMARKETINGCOMPONENTPROPERTIES_CTABUTTON']._serialized_end=4161
|
|
70
|
+
_globals['_PREMIUMMARKETINGCOMPONENTPROPERTIES_MOBILEBOTTOMSHEET']._serialized_start=4164
|
|
71
|
+
_globals['_PREMIUMMARKETINGCOMPONENTPROPERTIES_MOBILEBOTTOMSHEET']._serialized_end=4373
|
|
72
|
+
_globals['_PREMIUMMARKETINGCOMPONENTPROPERTIES_GRADIENT']._serialized_start=4375
|
|
73
|
+
_globals['_PREMIUMMARKETINGCOMPONENTPROPERTIES_GRADIENT']._serialized_end=4420
|
|
74
|
+
_globals['_PREMIUMMARKETINGCOMPONENTPROPERTIES_GIFTICON']._serialized_start=4423
|
|
75
|
+
_globals['_PREMIUMMARKETINGCOMPONENTPROPERTIES_GIFTICON']._serialized_end=4646
|
|
76
|
+
_globals['_PREMIUMMARKETINGCOMPONENTPROPERTIES_GIFTICONCOACHMARK']._serialized_start=4648
|
|
77
|
+
_globals['_PREMIUMMARKETINGCOMPONENTPROPERTIES_GIFTICONCOACHMARK']._serialized_end=4716
|
|
78
|
+
_globals['_PREMIUMMARKETINGCOMPONENTPROPERTIES_THEMEAWAREASSET']._serialized_start=4718
|
|
79
|
+
_globals['_PREMIUMMARKETINGCOMPONENTPROPERTIES_THEMEAWAREASSET']._serialized_end=4772
|
|
80
|
+
_globals['_PREMIUMMARKETINGCOMPONENTPROPERTIES_GIFTPLANSELECTIONCARDBANNER']._serialized_start=4775
|
|
81
|
+
_globals['_PREMIUMMARKETINGCOMPONENTPROPERTIES_GIFTPLANSELECTIONCARDBANNER']._serialized_end=5196
|
|
82
|
+
_globals['_PREMIUMMARKETINGCOMPONENTPROPERTIES_GIFTCUSTOMIZATIONBANNER']._serialized_start=5199
|
|
83
|
+
_globals['_PREMIUMMARKETINGCOMPONENTPROPERTIES_GIFTCUSTOMIZATIONBANNER']._serialized_end=5435
|
|
84
|
+
_globals['_PREMIUMMARKETINGCOMPONENTPROPERTIES_BILLINGSETTINGSNITROGIFTBANNER']._serialized_start=5438
|
|
85
|
+
_globals['_PREMIUMMARKETINGCOMPONENTPROPERTIES_BILLINGSETTINGSNITROGIFTBANNER']._serialized_end=5714
|
|
86
|
+
_globals['_PREMIUMMARKETINGCOMPONENTPROPERTIES_GIFTREMINDERNAGBAR']._serialized_start=5716
|
|
87
|
+
_globals['_PREMIUMMARKETINGCOMPONENTPROPERTIES_GIFTREMINDERNAGBAR']._serialized_end=5750
|
|
88
|
+
_globals['_PREMIUMMARKETINGCOMPONENTPROPERTIES_GIFTREMINDERCOACHMARK']._serialized_start=5752
|
|
89
|
+
_globals['_PREMIUMMARKETINGCOMPONENTPROPERTIES_GIFTREMINDERCOACHMARK']._serialized_end=5824
|
|
90
|
+
_globals['_PREMIUMMARKETINGCOMPONENTPROPERTIES_BUTTONACTION']._serialized_start=5827
|
|
91
|
+
_globals['_PREMIUMMARKETINGCOMPONENTPROPERTIES_BUTTONACTION']._serialized_end=6073
|
|
72
92
|
# @@protoc_insertion_point(module_scope)
|
|
@@ -108,6 +108,10 @@ export interface Experiment {
|
|
|
108
108
|
* @generated from protobuf field: int32 winning_variation_id = 24
|
|
109
109
|
*/
|
|
110
110
|
winningVariationId: number;
|
|
111
|
+
/**
|
|
112
|
+
* @generated from protobuf field: string extra_outcome_context = 34
|
|
113
|
+
*/
|
|
114
|
+
extraOutcomeContext: string;
|
|
111
115
|
/**
|
|
112
116
|
* @generated from protobuf field: discord_protos.discord_experimentation.v1.Experiment.Type type = 26
|
|
113
117
|
*/
|
|
@@ -136,6 +140,10 @@ export interface Experiment {
|
|
|
136
140
|
* @generated from protobuf field: bool is_automated_change = 32
|
|
137
141
|
*/
|
|
138
142
|
isAutomatedChange: boolean;
|
|
143
|
+
/**
|
|
144
|
+
* @generated from protobuf field: optional google.protobuf.Timestamp archive_at = 33
|
|
145
|
+
*/
|
|
146
|
+
archiveAt?: Timestamp;
|
|
139
147
|
}
|
|
140
148
|
/**
|
|
141
149
|
* @generated from protobuf message discord_protos.discord_experimentation.v1.Experiment.Bucket
|
|
@@ -169,13 +169,15 @@ class Experiment$Type extends runtime_4.MessageType {
|
|
|
169
169
|
{ no: 25, name: "assignment_mode", kind: "enum", T: () => ["discord_protos.discord_experimentation.v1.Experiment.AssignmentMode", Experiment_AssignmentMode, "ASSIGNMENT_MODE_"] },
|
|
170
170
|
{ no: 23, name: "enable_edit_raw_json_ui", kind: "scalar", T: 8 /*ScalarType.BOOL*/ },
|
|
171
171
|
{ no: 24, name: "winning_variation_id", kind: "scalar", T: 5 /*ScalarType.INT32*/ },
|
|
172
|
+
{ no: 34, name: "extra_outcome_context", kind: "scalar", T: 9 /*ScalarType.STRING*/ },
|
|
172
173
|
{ no: 26, name: "type", kind: "enum", T: () => ["discord_protos.discord_experimentation.v1.Experiment.Type", Experiment_Type, "TYPE_"] },
|
|
173
174
|
{ no: 27, name: "is_template", kind: "scalar", T: 8 /*ScalarType.BOOL*/ },
|
|
174
175
|
{ no: 28, name: "field_numbers_to_copy", kind: "scalar", repeat: 1 /*RepeatType.PACKED*/, T: 5 /*ScalarType.INT32*/ },
|
|
175
176
|
{ no: 29, name: "engine_feature_flags", kind: "scalar", repeat: 2 /*RepeatType.UNPACKED*/, T: 9 /*ScalarType.STRING*/ },
|
|
176
177
|
{ no: 30, name: "debug_config", kind: "message", T: () => exports.Experiment_DebugConfig },
|
|
177
178
|
{ no: 31, name: "expected_end_date", kind: "message", T: () => timestamp_1.Timestamp },
|
|
178
|
-
{ no: 32, name: "is_automated_change", kind: "scalar", T: 8 /*ScalarType.BOOL*/ }
|
|
179
|
+
{ no: 32, name: "is_automated_change", kind: "scalar", T: 8 /*ScalarType.BOOL*/ },
|
|
180
|
+
{ no: 33, name: "archive_at", kind: "message", T: () => timestamp_1.Timestamp }
|
|
179
181
|
]);
|
|
180
182
|
}
|
|
181
183
|
create(value) {
|
|
@@ -200,6 +202,7 @@ class Experiment$Type extends runtime_4.MessageType {
|
|
|
200
202
|
message.assignmentMode = 0;
|
|
201
203
|
message.enableEditRawJsonUi = false;
|
|
202
204
|
message.winningVariationId = 0;
|
|
205
|
+
message.extraOutcomeContext = "";
|
|
203
206
|
message.type = 0;
|
|
204
207
|
message.isTemplate = false;
|
|
205
208
|
message.fieldNumbersToCopy = [];
|
|
@@ -290,6 +293,9 @@ class Experiment$Type extends runtime_4.MessageType {
|
|
|
290
293
|
case /* int32 winning_variation_id */ 24:
|
|
291
294
|
message.winningVariationId = reader.int32();
|
|
292
295
|
break;
|
|
296
|
+
case /* string extra_outcome_context */ 34:
|
|
297
|
+
message.extraOutcomeContext = reader.string();
|
|
298
|
+
break;
|
|
293
299
|
case /* discord_protos.discord_experimentation.v1.Experiment.Type type */ 26:
|
|
294
300
|
message.type = reader.int32();
|
|
295
301
|
break;
|
|
@@ -315,6 +321,9 @@ class Experiment$Type extends runtime_4.MessageType {
|
|
|
315
321
|
case /* bool is_automated_change */ 32:
|
|
316
322
|
message.isAutomatedChange = reader.bool();
|
|
317
323
|
break;
|
|
324
|
+
case /* optional google.protobuf.Timestamp archive_at */ 33:
|
|
325
|
+
message.archiveAt = timestamp_1.Timestamp.internalBinaryRead(reader, reader.uint32(), options, message.archiveAt);
|
|
326
|
+
break;
|
|
318
327
|
default:
|
|
319
328
|
let u = options.readUnknownField;
|
|
320
329
|
if (u === "throw")
|
|
@@ -428,6 +437,12 @@ class Experiment$Type extends runtime_4.MessageType {
|
|
|
428
437
|
/* bool is_automated_change = 32; */
|
|
429
438
|
if (message.isAutomatedChange !== false)
|
|
430
439
|
writer.tag(32, runtime_2.WireType.Varint).bool(message.isAutomatedChange);
|
|
440
|
+
/* optional google.protobuf.Timestamp archive_at = 33; */
|
|
441
|
+
if (message.archiveAt)
|
|
442
|
+
timestamp_1.Timestamp.internalBinaryWrite(message.archiveAt, writer.tag(33, runtime_2.WireType.LengthDelimited).fork(), options).join();
|
|
443
|
+
/* string extra_outcome_context = 34; */
|
|
444
|
+
if (message.extraOutcomeContext !== "")
|
|
445
|
+
writer.tag(34, runtime_2.WireType.LengthDelimited).string(message.extraOutcomeContext);
|
|
431
446
|
let u = options.writeUnknownFields;
|
|
432
447
|
if (u !== false)
|
|
433
448
|
(u == true ? runtime_1.UnknownFieldHandler.onWrite : u)(this.typeName, message, writer);
|
|
@@ -51,6 +51,48 @@ export interface PremiumMarketingComponentProperties {
|
|
|
51
51
|
* @generated from protobuf field: discord_protos.premium_marketing.v1.PremiumMarketingComponentProperties.MobileBottomSheet mobile_bottom_sheet = 7
|
|
52
52
|
*/
|
|
53
53
|
mobileBottomSheet: PremiumMarketingComponentProperties_MobileBottomSheet;
|
|
54
|
+
} | {
|
|
55
|
+
oneofKind: "giftIcon";
|
|
56
|
+
/**
|
|
57
|
+
* @generated from protobuf field: discord_protos.premium_marketing.v1.PremiumMarketingComponentProperties.GiftIcon gift_icon = 8
|
|
58
|
+
*/
|
|
59
|
+
giftIcon: PremiumMarketingComponentProperties_GiftIcon;
|
|
60
|
+
} | {
|
|
61
|
+
oneofKind: "giftIconCoachmark";
|
|
62
|
+
/**
|
|
63
|
+
* @generated from protobuf field: discord_protos.premium_marketing.v1.PremiumMarketingComponentProperties.GiftIconCoachmark gift_icon_coachmark = 9
|
|
64
|
+
*/
|
|
65
|
+
giftIconCoachmark: PremiumMarketingComponentProperties_GiftIconCoachmark;
|
|
66
|
+
} | {
|
|
67
|
+
oneofKind: "giftPlanSelectionCardBanner";
|
|
68
|
+
/**
|
|
69
|
+
* @generated from protobuf field: discord_protos.premium_marketing.v1.PremiumMarketingComponentProperties.GiftPlanSelectionCardBanner gift_plan_selection_card_banner = 10
|
|
70
|
+
*/
|
|
71
|
+
giftPlanSelectionCardBanner: PremiumMarketingComponentProperties_GiftPlanSelectionCardBanner;
|
|
72
|
+
} | {
|
|
73
|
+
oneofKind: "giftCustomizationBanner";
|
|
74
|
+
/**
|
|
75
|
+
* @generated from protobuf field: discord_protos.premium_marketing.v1.PremiumMarketingComponentProperties.GiftCustomizationBanner gift_customization_banner = 11
|
|
76
|
+
*/
|
|
77
|
+
giftCustomizationBanner: PremiumMarketingComponentProperties_GiftCustomizationBanner;
|
|
78
|
+
} | {
|
|
79
|
+
oneofKind: "billingSettingsNitroGiftBanner";
|
|
80
|
+
/**
|
|
81
|
+
* @generated from protobuf field: discord_protos.premium_marketing.v1.PremiumMarketingComponentProperties.BillingSettingsNitroGiftBanner billing_settings_nitro_gift_banner = 12
|
|
82
|
+
*/
|
|
83
|
+
billingSettingsNitroGiftBanner: PremiumMarketingComponentProperties_BillingSettingsNitroGiftBanner;
|
|
84
|
+
} | {
|
|
85
|
+
oneofKind: "giftReminderNagbar";
|
|
86
|
+
/**
|
|
87
|
+
* @generated from protobuf field: discord_protos.premium_marketing.v1.PremiumMarketingComponentProperties.GiftReminderNagbar gift_reminder_nagbar = 13
|
|
88
|
+
*/
|
|
89
|
+
giftReminderNagbar: PremiumMarketingComponentProperties_GiftReminderNagbar;
|
|
90
|
+
} | {
|
|
91
|
+
oneofKind: "giftReminderCoachmark";
|
|
92
|
+
/**
|
|
93
|
+
* @generated from protobuf field: discord_protos.premium_marketing.v1.PremiumMarketingComponentProperties.GiftReminderCoachmark gift_reminder_coachmark = 14
|
|
94
|
+
*/
|
|
95
|
+
giftReminderCoachmark: PremiumMarketingComponentProperties_GiftReminderCoachmark;
|
|
54
96
|
} | {
|
|
55
97
|
oneofKind: undefined;
|
|
56
98
|
};
|
|
@@ -296,6 +338,191 @@ export interface PremiumMarketingComponentProperties_MobileBottomSheet {
|
|
|
296
338
|
*/
|
|
297
339
|
button?: PremiumMarketingComponentProperties_CTAButton;
|
|
298
340
|
}
|
|
341
|
+
/**
|
|
342
|
+
* @generated from protobuf message discord_protos.premium_marketing.v1.PremiumMarketingComponentProperties.Gradient
|
|
343
|
+
*/
|
|
344
|
+
export interface PremiumMarketingComponentProperties_Gradient {
|
|
345
|
+
/**
|
|
346
|
+
* @generated from protobuf field: repeated string colors = 1 [packed = false]
|
|
347
|
+
*/
|
|
348
|
+
colors: string[];
|
|
349
|
+
/**
|
|
350
|
+
* @generated from protobuf field: float angle = 2
|
|
351
|
+
*/
|
|
352
|
+
angle: number;
|
|
353
|
+
}
|
|
354
|
+
/**
|
|
355
|
+
* @generated from protobuf message discord_protos.premium_marketing.v1.PremiumMarketingComponentProperties.GiftIcon
|
|
356
|
+
*/
|
|
357
|
+
export interface PremiumMarketingComponentProperties_GiftIcon {
|
|
358
|
+
/**
|
|
359
|
+
* @generated from protobuf field: string box_animation_url = 1
|
|
360
|
+
*/
|
|
361
|
+
boxAnimationUrl: string;
|
|
362
|
+
/**
|
|
363
|
+
* @generated from protobuf field: string trinket_animation_url = 2
|
|
364
|
+
*/
|
|
365
|
+
trinketAnimationUrl: string;
|
|
366
|
+
/**
|
|
367
|
+
* @generated from protobuf field: string trinket_glow_animation_url = 3
|
|
368
|
+
*/
|
|
369
|
+
trinketGlowAnimationUrl: string;
|
|
370
|
+
/**
|
|
371
|
+
* @generated from protobuf field: optional discord_protos.premium_marketing.v1.PremiumMarketingComponentProperties.Gradient gradient = 4
|
|
372
|
+
*/
|
|
373
|
+
gradient?: PremiumMarketingComponentProperties_Gradient;
|
|
374
|
+
}
|
|
375
|
+
/**
|
|
376
|
+
* @generated from protobuf message discord_protos.premium_marketing.v1.PremiumMarketingComponentProperties.GiftIconCoachmark
|
|
377
|
+
*/
|
|
378
|
+
export interface PremiumMarketingComponentProperties_GiftIconCoachmark {
|
|
379
|
+
/**
|
|
380
|
+
* @generated from protobuf field: string header_key = 1
|
|
381
|
+
*/
|
|
382
|
+
headerKey: string;
|
|
383
|
+
/**
|
|
384
|
+
* @generated from protobuf field: string body_key = 2
|
|
385
|
+
*/
|
|
386
|
+
bodyKey: string;
|
|
387
|
+
/**
|
|
388
|
+
* @generated from protobuf field: string asset_url = 3
|
|
389
|
+
*/
|
|
390
|
+
assetUrl: string;
|
|
391
|
+
}
|
|
392
|
+
/**
|
|
393
|
+
* @generated from protobuf message discord_protos.premium_marketing.v1.PremiumMarketingComponentProperties.ThemeAwareAsset
|
|
394
|
+
*/
|
|
395
|
+
export interface PremiumMarketingComponentProperties_ThemeAwareAsset {
|
|
396
|
+
/**
|
|
397
|
+
* @generated from protobuf field: string light_url = 1
|
|
398
|
+
*/
|
|
399
|
+
lightUrl: string;
|
|
400
|
+
/**
|
|
401
|
+
* @generated from protobuf field: string dark_url = 2
|
|
402
|
+
*/
|
|
403
|
+
darkUrl: string;
|
|
404
|
+
}
|
|
405
|
+
/**
|
|
406
|
+
* @generated from protobuf message discord_protos.premium_marketing.v1.PremiumMarketingComponentProperties.GiftPlanSelectionCardBanner
|
|
407
|
+
*/
|
|
408
|
+
export interface PremiumMarketingComponentProperties_GiftPlanSelectionCardBanner {
|
|
409
|
+
/**
|
|
410
|
+
* @generated from protobuf field: string header_key = 1
|
|
411
|
+
*/
|
|
412
|
+
headerKey: string;
|
|
413
|
+
/**
|
|
414
|
+
* @generated from protobuf field: string desktop_body_key = 2
|
|
415
|
+
*/
|
|
416
|
+
desktopBodyKey: string;
|
|
417
|
+
/**
|
|
418
|
+
* @generated from protobuf field: string mobile_body_key = 3
|
|
419
|
+
*/
|
|
420
|
+
mobileBodyKey: string;
|
|
421
|
+
/**
|
|
422
|
+
* @generated from protobuf field: optional discord_protos.premium_marketing.v1.PremiumMarketingComponentProperties.ThemeAwareAsset avatar_asset = 4
|
|
423
|
+
*/
|
|
424
|
+
avatarAsset?: PremiumMarketingComponentProperties_ThemeAwareAsset;
|
|
425
|
+
/**
|
|
426
|
+
* @generated from protobuf field: string banner_asset_url = 5
|
|
427
|
+
*/
|
|
428
|
+
bannerAssetUrl: string;
|
|
429
|
+
/**
|
|
430
|
+
* @generated from protobuf field: string background_asset_url = 6
|
|
431
|
+
*/
|
|
432
|
+
backgroundAssetUrl: string;
|
|
433
|
+
/**
|
|
434
|
+
* @generated from protobuf field: string card_asset_url = 7
|
|
435
|
+
*/
|
|
436
|
+
cardAssetUrl: string;
|
|
437
|
+
/**
|
|
438
|
+
* @generated from protobuf field: optional discord_protos.premium_marketing.v1.PremiumMarketingComponentProperties.Gradient gradient = 8
|
|
439
|
+
*/
|
|
440
|
+
gradient?: PremiumMarketingComponentProperties_Gradient;
|
|
441
|
+
}
|
|
442
|
+
/**
|
|
443
|
+
* @generated from protobuf message discord_protos.premium_marketing.v1.PremiumMarketingComponentProperties.GiftCustomizationBanner
|
|
444
|
+
*/
|
|
445
|
+
export interface PremiumMarketingComponentProperties_GiftCustomizationBanner {
|
|
446
|
+
/**
|
|
447
|
+
* @generated from protobuf field: string asset_url = 1
|
|
448
|
+
*/
|
|
449
|
+
assetUrl: string;
|
|
450
|
+
/**
|
|
451
|
+
* @generated from protobuf field: string desktop_body_key = 2
|
|
452
|
+
*/
|
|
453
|
+
desktopBodyKey: string;
|
|
454
|
+
/**
|
|
455
|
+
* @generated from protobuf field: string mobile_body_key = 3
|
|
456
|
+
*/
|
|
457
|
+
mobileBodyKey: string;
|
|
458
|
+
/**
|
|
459
|
+
* @generated from protobuf field: optional discord_protos.premium_marketing.v1.PremiumMarketingComponentProperties.Gradient gradient = 4
|
|
460
|
+
*/
|
|
461
|
+
gradient?: PremiumMarketingComponentProperties_Gradient;
|
|
462
|
+
/**
|
|
463
|
+
* @generated from protobuf field: string background_asset_url = 5
|
|
464
|
+
*/
|
|
465
|
+
backgroundAssetUrl: string;
|
|
466
|
+
}
|
|
467
|
+
/**
|
|
468
|
+
* @generated from protobuf message discord_protos.premium_marketing.v1.PremiumMarketingComponentProperties.BillingSettingsNitroGiftBanner
|
|
469
|
+
*/
|
|
470
|
+
export interface PremiumMarketingComponentProperties_BillingSettingsNitroGiftBanner {
|
|
471
|
+
/**
|
|
472
|
+
* @generated from protobuf field: string asset_url = 1
|
|
473
|
+
*/
|
|
474
|
+
assetUrl: string;
|
|
475
|
+
/**
|
|
476
|
+
* @generated from protobuf field: string header_key = 2
|
|
477
|
+
*/
|
|
478
|
+
headerKey: string;
|
|
479
|
+
/**
|
|
480
|
+
* @generated from protobuf field: string body_key = 3
|
|
481
|
+
*/
|
|
482
|
+
bodyKey: string;
|
|
483
|
+
/**
|
|
484
|
+
* @generated from protobuf field: string background_asset_url = 4
|
|
485
|
+
*/
|
|
486
|
+
backgroundAssetUrl: string;
|
|
487
|
+
/**
|
|
488
|
+
* @generated from protobuf field: optional discord_protos.premium_marketing.v1.PremiumMarketingComponentProperties.Gradient gradient = 5
|
|
489
|
+
*/
|
|
490
|
+
gradient?: PremiumMarketingComponentProperties_Gradient;
|
|
491
|
+
/**
|
|
492
|
+
* @generated from protobuf field: string text_color = 6
|
|
493
|
+
*/
|
|
494
|
+
textColor: string;
|
|
495
|
+
/**
|
|
496
|
+
* @generated from protobuf field: string additional_terms_key = 7
|
|
497
|
+
*/
|
|
498
|
+
additionalTermsKey: string;
|
|
499
|
+
}
|
|
500
|
+
/**
|
|
501
|
+
* @generated from protobuf message discord_protos.premium_marketing.v1.PremiumMarketingComponentProperties.GiftReminderNagbar
|
|
502
|
+
*/
|
|
503
|
+
export interface PremiumMarketingComponentProperties_GiftReminderNagbar {
|
|
504
|
+
/**
|
|
505
|
+
* @generated from protobuf field: string body_key = 1
|
|
506
|
+
*/
|
|
507
|
+
bodyKey: string;
|
|
508
|
+
}
|
|
509
|
+
/**
|
|
510
|
+
* @generated from protobuf message discord_protos.premium_marketing.v1.PremiumMarketingComponentProperties.GiftReminderCoachmark
|
|
511
|
+
*/
|
|
512
|
+
export interface PremiumMarketingComponentProperties_GiftReminderCoachmark {
|
|
513
|
+
/**
|
|
514
|
+
* @generated from protobuf field: string header_key = 1
|
|
515
|
+
*/
|
|
516
|
+
headerKey: string;
|
|
517
|
+
/**
|
|
518
|
+
* @generated from protobuf field: string body_key = 2
|
|
519
|
+
*/
|
|
520
|
+
bodyKey: string;
|
|
521
|
+
/**
|
|
522
|
+
* @generated from protobuf field: string asset_url = 3
|
|
523
|
+
*/
|
|
524
|
+
assetUrl: string;
|
|
525
|
+
}
|
|
299
526
|
/**
|
|
300
527
|
* @generated from protobuf enum discord_protos.premium_marketing.v1.PremiumMarketingComponentProperties.ButtonAction
|
|
301
528
|
*/
|
|
@@ -444,4 +671,94 @@ declare class PremiumMarketingComponentProperties_MobileBottomSheet$Type extends
|
|
|
444
671
|
* @generated MessageType for protobuf message discord_protos.premium_marketing.v1.PremiumMarketingComponentProperties.MobileBottomSheet
|
|
445
672
|
*/
|
|
446
673
|
export declare const PremiumMarketingComponentProperties_MobileBottomSheet: PremiumMarketingComponentProperties_MobileBottomSheet$Type;
|
|
674
|
+
declare class PremiumMarketingComponentProperties_Gradient$Type extends MessageType<PremiumMarketingComponentProperties_Gradient> {
|
|
675
|
+
constructor();
|
|
676
|
+
create(value?: PartialMessage<PremiumMarketingComponentProperties_Gradient>): PremiumMarketingComponentProperties_Gradient;
|
|
677
|
+
internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: PremiumMarketingComponentProperties_Gradient): PremiumMarketingComponentProperties_Gradient;
|
|
678
|
+
internalBinaryWrite(message: PremiumMarketingComponentProperties_Gradient, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter;
|
|
679
|
+
}
|
|
680
|
+
/**
|
|
681
|
+
* @generated MessageType for protobuf message discord_protos.premium_marketing.v1.PremiumMarketingComponentProperties.Gradient
|
|
682
|
+
*/
|
|
683
|
+
export declare const PremiumMarketingComponentProperties_Gradient: PremiumMarketingComponentProperties_Gradient$Type;
|
|
684
|
+
declare class PremiumMarketingComponentProperties_GiftIcon$Type extends MessageType<PremiumMarketingComponentProperties_GiftIcon> {
|
|
685
|
+
constructor();
|
|
686
|
+
create(value?: PartialMessage<PremiumMarketingComponentProperties_GiftIcon>): PremiumMarketingComponentProperties_GiftIcon;
|
|
687
|
+
internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: PremiumMarketingComponentProperties_GiftIcon): PremiumMarketingComponentProperties_GiftIcon;
|
|
688
|
+
internalBinaryWrite(message: PremiumMarketingComponentProperties_GiftIcon, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter;
|
|
689
|
+
}
|
|
690
|
+
/**
|
|
691
|
+
* @generated MessageType for protobuf message discord_protos.premium_marketing.v1.PremiumMarketingComponentProperties.GiftIcon
|
|
692
|
+
*/
|
|
693
|
+
export declare const PremiumMarketingComponentProperties_GiftIcon: PremiumMarketingComponentProperties_GiftIcon$Type;
|
|
694
|
+
declare class PremiumMarketingComponentProperties_GiftIconCoachmark$Type extends MessageType<PremiumMarketingComponentProperties_GiftIconCoachmark> {
|
|
695
|
+
constructor();
|
|
696
|
+
create(value?: PartialMessage<PremiumMarketingComponentProperties_GiftIconCoachmark>): PremiumMarketingComponentProperties_GiftIconCoachmark;
|
|
697
|
+
internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: PremiumMarketingComponentProperties_GiftIconCoachmark): PremiumMarketingComponentProperties_GiftIconCoachmark;
|
|
698
|
+
internalBinaryWrite(message: PremiumMarketingComponentProperties_GiftIconCoachmark, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter;
|
|
699
|
+
}
|
|
700
|
+
/**
|
|
701
|
+
* @generated MessageType for protobuf message discord_protos.premium_marketing.v1.PremiumMarketingComponentProperties.GiftIconCoachmark
|
|
702
|
+
*/
|
|
703
|
+
export declare const PremiumMarketingComponentProperties_GiftIconCoachmark: PremiumMarketingComponentProperties_GiftIconCoachmark$Type;
|
|
704
|
+
declare class PremiumMarketingComponentProperties_ThemeAwareAsset$Type extends MessageType<PremiumMarketingComponentProperties_ThemeAwareAsset> {
|
|
705
|
+
constructor();
|
|
706
|
+
create(value?: PartialMessage<PremiumMarketingComponentProperties_ThemeAwareAsset>): PremiumMarketingComponentProperties_ThemeAwareAsset;
|
|
707
|
+
internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: PremiumMarketingComponentProperties_ThemeAwareAsset): PremiumMarketingComponentProperties_ThemeAwareAsset;
|
|
708
|
+
internalBinaryWrite(message: PremiumMarketingComponentProperties_ThemeAwareAsset, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter;
|
|
709
|
+
}
|
|
710
|
+
/**
|
|
711
|
+
* @generated MessageType for protobuf message discord_protos.premium_marketing.v1.PremiumMarketingComponentProperties.ThemeAwareAsset
|
|
712
|
+
*/
|
|
713
|
+
export declare const PremiumMarketingComponentProperties_ThemeAwareAsset: PremiumMarketingComponentProperties_ThemeAwareAsset$Type;
|
|
714
|
+
declare class PremiumMarketingComponentProperties_GiftPlanSelectionCardBanner$Type extends MessageType<PremiumMarketingComponentProperties_GiftPlanSelectionCardBanner> {
|
|
715
|
+
constructor();
|
|
716
|
+
create(value?: PartialMessage<PremiumMarketingComponentProperties_GiftPlanSelectionCardBanner>): PremiumMarketingComponentProperties_GiftPlanSelectionCardBanner;
|
|
717
|
+
internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: PremiumMarketingComponentProperties_GiftPlanSelectionCardBanner): PremiumMarketingComponentProperties_GiftPlanSelectionCardBanner;
|
|
718
|
+
internalBinaryWrite(message: PremiumMarketingComponentProperties_GiftPlanSelectionCardBanner, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter;
|
|
719
|
+
}
|
|
720
|
+
/**
|
|
721
|
+
* @generated MessageType for protobuf message discord_protos.premium_marketing.v1.PremiumMarketingComponentProperties.GiftPlanSelectionCardBanner
|
|
722
|
+
*/
|
|
723
|
+
export declare const PremiumMarketingComponentProperties_GiftPlanSelectionCardBanner: PremiumMarketingComponentProperties_GiftPlanSelectionCardBanner$Type;
|
|
724
|
+
declare class PremiumMarketingComponentProperties_GiftCustomizationBanner$Type extends MessageType<PremiumMarketingComponentProperties_GiftCustomizationBanner> {
|
|
725
|
+
constructor();
|
|
726
|
+
create(value?: PartialMessage<PremiumMarketingComponentProperties_GiftCustomizationBanner>): PremiumMarketingComponentProperties_GiftCustomizationBanner;
|
|
727
|
+
internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: PremiumMarketingComponentProperties_GiftCustomizationBanner): PremiumMarketingComponentProperties_GiftCustomizationBanner;
|
|
728
|
+
internalBinaryWrite(message: PremiumMarketingComponentProperties_GiftCustomizationBanner, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter;
|
|
729
|
+
}
|
|
730
|
+
/**
|
|
731
|
+
* @generated MessageType for protobuf message discord_protos.premium_marketing.v1.PremiumMarketingComponentProperties.GiftCustomizationBanner
|
|
732
|
+
*/
|
|
733
|
+
export declare const PremiumMarketingComponentProperties_GiftCustomizationBanner: PremiumMarketingComponentProperties_GiftCustomizationBanner$Type;
|
|
734
|
+
declare class PremiumMarketingComponentProperties_BillingSettingsNitroGiftBanner$Type extends MessageType<PremiumMarketingComponentProperties_BillingSettingsNitroGiftBanner> {
|
|
735
|
+
constructor();
|
|
736
|
+
create(value?: PartialMessage<PremiumMarketingComponentProperties_BillingSettingsNitroGiftBanner>): PremiumMarketingComponentProperties_BillingSettingsNitroGiftBanner;
|
|
737
|
+
internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: PremiumMarketingComponentProperties_BillingSettingsNitroGiftBanner): PremiumMarketingComponentProperties_BillingSettingsNitroGiftBanner;
|
|
738
|
+
internalBinaryWrite(message: PremiumMarketingComponentProperties_BillingSettingsNitroGiftBanner, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter;
|
|
739
|
+
}
|
|
740
|
+
/**
|
|
741
|
+
* @generated MessageType for protobuf message discord_protos.premium_marketing.v1.PremiumMarketingComponentProperties.BillingSettingsNitroGiftBanner
|
|
742
|
+
*/
|
|
743
|
+
export declare const PremiumMarketingComponentProperties_BillingSettingsNitroGiftBanner: PremiumMarketingComponentProperties_BillingSettingsNitroGiftBanner$Type;
|
|
744
|
+
declare class PremiumMarketingComponentProperties_GiftReminderNagbar$Type extends MessageType<PremiumMarketingComponentProperties_GiftReminderNagbar> {
|
|
745
|
+
constructor();
|
|
746
|
+
create(value?: PartialMessage<PremiumMarketingComponentProperties_GiftReminderNagbar>): PremiumMarketingComponentProperties_GiftReminderNagbar;
|
|
747
|
+
internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: PremiumMarketingComponentProperties_GiftReminderNagbar): PremiumMarketingComponentProperties_GiftReminderNagbar;
|
|
748
|
+
internalBinaryWrite(message: PremiumMarketingComponentProperties_GiftReminderNagbar, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter;
|
|
749
|
+
}
|
|
750
|
+
/**
|
|
751
|
+
* @generated MessageType for protobuf message discord_protos.premium_marketing.v1.PremiumMarketingComponentProperties.GiftReminderNagbar
|
|
752
|
+
*/
|
|
753
|
+
export declare const PremiumMarketingComponentProperties_GiftReminderNagbar: PremiumMarketingComponentProperties_GiftReminderNagbar$Type;
|
|
754
|
+
declare class PremiumMarketingComponentProperties_GiftReminderCoachmark$Type extends MessageType<PremiumMarketingComponentProperties_GiftReminderCoachmark> {
|
|
755
|
+
constructor();
|
|
756
|
+
create(value?: PartialMessage<PremiumMarketingComponentProperties_GiftReminderCoachmark>): PremiumMarketingComponentProperties_GiftReminderCoachmark;
|
|
757
|
+
internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: PremiumMarketingComponentProperties_GiftReminderCoachmark): PremiumMarketingComponentProperties_GiftReminderCoachmark;
|
|
758
|
+
internalBinaryWrite(message: PremiumMarketingComponentProperties_GiftReminderCoachmark, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter;
|
|
759
|
+
}
|
|
760
|
+
/**
|
|
761
|
+
* @generated MessageType for protobuf message discord_protos.premium_marketing.v1.PremiumMarketingComponentProperties.GiftReminderCoachmark
|
|
762
|
+
*/
|
|
763
|
+
export declare const PremiumMarketingComponentProperties_GiftReminderCoachmark: PremiumMarketingComponentProperties_GiftReminderCoachmark$Type;
|
|
447
764
|
export {};
|