discord-protos 1.2.84 → 1.2.86
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 +1 -0
- package/discord_protos/discord_experimentation/v1/Experiment_pb2.py +92 -92
- 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/dist/discord_protos/premium_marketing/v1/PremiumMarketingComponentProperties.d.ts +27 -0
- package/dist/discord_protos/premium_marketing/v1/PremiumMarketingComponentProperties.js +64 -2
- package/package.json +1 -1
|
@@ -26,7 +26,7 @@ from google.protobuf import wrappers_pb2 as google_dot_protobuf_dot_wrappers__pb
|
|
|
26
26
|
from google.protobuf import timestamp_pb2 as google_dot_protobuf_dot_timestamp__pb2
|
|
27
27
|
|
|
28
28
|
|
|
29
|
-
DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n+discord_experimentation/v1/Experiment.proto\x12)discord_protos.discord_experimentation.v1\x1a\x1egoogle/protobuf/wrappers.proto\x1a\x1fgoogle/protobuf/timestamp.proto\"\x85J\n\nExperiment\x12\n\n\x02id\x18\x01 \x01(\x06\x12\x0c\n\x04name\x18\x02 \x01(\t\x12\x33\n\ncreated_at\x18\x03 \x01(\x0b\x32\x1a.google.protobuf.TimestampH\x00\x88\x01\x01\x12\x12\n\ncreator_id\x18\x04 \x01(\x06\x12\x0f\n\x07version\x18\x05 \x01(\x05\x12\x32\n\tedited_at\x18\x06 \x01(\x0b\x32\x1a.google.protobuf.TimestampH\x01\x88\x01\x01\x12\x11\n\teditor_id\x18\x07 \x01(\x06\x12\r\n\x05title\x18\x08 \x01(\t\x12\x13\n\x0b\x64\x65scription\x18\t \x01(\t\x12\x35\n\nhypothesis\x18\n \x01(\x0b\x32\x1c.google.protobuf.StringValueH\x02\x88\x01\x01\x12\x39\n\x0etech_spec_link\x18\x0b \x01(\x0b\x32\x1c.google.protobuf.StringValueH\x03\x88\x01\x01\x12\x10\n\x08revision\x18\x0c \x01(\x05\x12\x10\n\x08hash_key\x18\r \x01(\t\x12Q\n\tunit_type\x18\x0e \x01(\x0e\x32>.discord_protos.discord_experimentation.v1.Experiment.UnitType\x12S\n\nvariations\x18\x0f \x03(\x0b\x32?.discord_protos.discord_experimentation.v1.Experiment.Variation\x12I\n\x05rules\x18\x10 \x03(\x0b\x32:.discord_protos.discord_experimentation.v1.Experiment.Rule\x12J\n\x05phase\x18\x12 \x01(\x0e\x32;.discord_protos.discord_experimentation.v1.Experiment.Phase\x12O\n\x08surfaces\x18\x13 \x03(\x0e\x32=.discord_protos.discord_experimentation.v1.Experiment.Surface\x12\x16\n\x0eowning_team_id\x18\x14 \x01(\t\x12&\n\x1e\x63\x61\x63hed_notification_channel_id\x18\x15 \x01(\x06\x12\x61\n\x11\x65xposure_tracking\x18\x16 \x01(\x0e\x32\x46.discord_protos.discord_experimentation.v1.Experiment.ExposureTracking\x12]\n\x0f\x61ssignment_mode\x18\x19 \x01(\x0e\x32\x44.discord_protos.discord_experimentation.v1.Experiment.AssignmentMode\x12\x1f\n\x17\x65nable_edit_raw_json_ui\x18\x17 \x01(\x08\x12\x1c\n\x14winning_variation_id\x18\x18 \x01(\x05\x12H\n\x04type\x18\x1a \x01(\x0e\x32:.discord_protos.discord_experimentation.v1.Experiment.Type\x12\x13\n\x0bis_template\x18\x1b \x01(\x08\x12\x1d\n\x15\x66ield_numbers_to_copy\x18\x1c \x03(\x05\x12 \n\x14\x65ngine_feature_flags\x18\x1d \x03(\tB\x02\x10\x00\x12\\\n\x0c\x64\x65\x62ug_config\x18\x1e \x01(\x0b\x32\x41.discord_protos.discord_experimentation.v1.Experiment.DebugConfigH\x04\x88\x01\x01\x12:\n\x11\x65xpected_end_date\x18\x1f \x01(\x0b\x32\x1a.google.protobuf.TimestampH\x05\x88\x01\x01\x1ao\n\x06\x42ucket\x12\r\n\x05start\x18\x01 \x01(\x05\x12\x0c\n\x04stop\x18\x02 \x01(\x05\x12H\n\x04type\x18\x03 \x01(\x0e\x32:.discord_protos.discord_experimentation.v1.Experiment.Type\x1a\xa6\x02\n\tVariation\x12\n\n\x02id\x18\x01 \x01(\x05\x12\r\n\x05label\x18\x02 \x01(\t\x12\x19\n\x11target_allocation\x18\x03 \x01(\x05\x12M\n\x07\x62uckets\x18\x04 \x03(\x0b\x32<.discord_protos.discord_experimentation.v1.Experiment.Bucket\x12H\n\x04type\x18\x05 \x01(\x0e\x32:.discord_protos.discord_experimentation.v1.Experiment.Type\x12\x38\n\rconfiguration\x18\x06 \x01(\x0b\x32\x1c.google.protobuf.StringValueH\x00\x88\x01\x01\x42\x10\n\x0e_configuration\x1a\xa1\x01\n\x18PlatformVersionSpecifier\x12\r\n\x05major\x18\x01 \x01(\r\x12\x30\n\x05minor\x18\x02 \x01(\x0b\x32\x1c.google.protobuf.UInt32ValueH\x00\x88\x01\x01\x12\x30\n\x05\x62uild\x18\x03 \x01(\x0b\x32\x1c.google.protobuf.UInt64ValueH\x01\x88\x01\x01\x42\x08\n\x06_minorB\x08\n\x06_build\x1a\xa0\x01\n\x19PlatformVersionRangeBound\x12\x64\n\x07version\x18\x01 \x01(\x0b\x32N.discord_protos.discord_experimentation.v1.Experiment.PlatformVersionSpecifierH\x00\x88\x01\x01\x12\x11\n\tinclusive\x18\x02 \x01(\x08\x42\n\n\x08_version\x1a\x8c\x02\n\x14PlatformVersionRange\x12i\n\x0blower_bound\x18\x01 \x01(\x0b\x32O.discord_protos.discord_experimentation.v1.Experiment.PlatformVersionRangeBoundH\x00\x88\x01\x01\x12i\n\x0bupper_bound\x18\x02 \x01(\x0b\x32O.discord_protos.discord_experimentation.v1.Experiment.PlatformVersionRangeBoundH\x01\x88\x01\x01\x42\x0e\n\x0c_lower_boundB\x0e\n\x0c_upper_bound\x1a\x8c\x01\n\x0fPlatformVersion\x12Z\n\x06ranges\x18\x01 \x03(\x0b\x32J.discord_protos.discord_experimentation.v1.Experiment.PlatformVersionRange\x12\x1d\n\x15work_around_pyoto_bug\x18\x02 \x01(\x08\x1a\x46\n\x15\x43lientRequiredChanges\x12\x19\n\rcommit_hashes\x18\x01 \x03(\tB\x02\x10\x00\x12\x12\n\npr_numbers\x18\x02 \x03(\x05\x1a\x8f\x05\n\x0e\x43lientPlatform\x12_\n\x0bios_version\x18\x01 \x01(\x0b\x32\x45.discord_protos.discord_experimentation.v1.Experiment.PlatformVersionH\x00\x88\x01\x01\x12\x63\n\x0f\x61ndroid_version\x18\x02 \x01(\x0b\x32\x45.discord_protos.discord_experimentation.v1.Experiment.PlatformVersionH\x01\x88\x01\x01\x12_\n\x0bweb_version\x18\x03 \x01(\x0b\x32\x45.discord_protos.discord_experimentation.v1.Experiment.PlatformVersionH\x02\x88\x01\x01\x12\x62\n\x0enative_version\x18\x04 \x01(\x0b\x32\x45.discord_protos.discord_experimentation.v1.Experiment.PlatformVersionH\x03\x88\x01\x01\x12\x1c\n\x14\x61llow_non_native_web\x18\x06 \x01(\x08\x12q\n\x17\x63lient_required_changes\x18\x05 \x01(\x0b\x32K.discord_protos.discord_experimentation.v1.Experiment.ClientRequiredChangesH\x04\x88\x01\x01\x42\x0e\n\x0c_ios_versionB\x12\n\x10_android_versionB\x0e\n\x0c_web_versionB\x11\n\x0f_native_versionB\x1a\n\x18_client_required_changes\x1a&\n\x13SDKVersionSpecifier\x12\x0f\n\x07version\x18\x01 \x01(\x05\x1a\x96\x01\n\x14SDKVersionRangeBound\x12_\n\x07version\x18\x01 \x01(\x0b\x32I.discord_protos.discord_experimentation.v1.Experiment.SDKVersionSpecifierH\x00\x88\x01\x01\x12\x11\n\tinclusive\x18\x02 \x01(\x08\x42\n\n\x08_version\x1a\xfd\x01\n\x0fSDKVersionRange\x12\x64\n\x0blower_bound\x18\x01 \x01(\x0b\x32J.discord_protos.discord_experimentation.v1.Experiment.SDKVersionRangeBoundH\x00\x88\x01\x01\x12\x64\n\x0bupper_bound\x18\x02 \x01(\x0b\x32J.discord_protos.discord_experimentation.v1.Experiment.SDKVersionRangeBoundH\x01\x88\x01\x01\x42\x0e\n\x0c_lower_boundB\x0e\n\x0c_upper_bound\x1a\x82\x01\n\nSDKVersion\x12U\n\x06ranges\x18\x01 \x03(\x0b\x32\x45.discord_protos.discord_experimentation.v1.Experiment.SDKVersionRange\x12\x1d\n\x15work_around_pyoto_bug\x18\x02 \x01(\x08\x1a\xb5\x06\n\x15\x43lientOperatingSystem\x12Z\n\x0bios_version\x18\x01 \x01(\x0b\x32@.discord_protos.discord_experimentation.v1.Experiment.SDKVersionH\x00\x88\x01\x01\x12^\n\x0f\x61ndroid_version\x18\x02 \x01(\x0b\x32@.discord_protos.discord_experimentation.v1.Experiment.SDKVersionH\x01\x88\x01\x01\x12\\\n\rmacos_version\x18\x03 \x01(\x0b\x32@.discord_protos.discord_experimentation.v1.Experiment.SDKVersionH\x02\x88\x01\x01\x12^\n\x0fwindows_version\x18\x04 \x01(\x0b\x32@.discord_protos.discord_experimentation.v1.Experiment.SDKVersionH\x03\x88\x01\x01\x12\x62\n\x13playstation_version\x18\x05 \x01(\x0b\x32@.discord_protos.discord_experimentation.v1.Experiment.SDKVersionH\x04\x88\x01\x01\x12[\n\x0cxbox_version\x18\x06 \x01(\x0b\x32@.discord_protos.discord_experimentation.v1.Experiment.SDKVersionH\x05\x88\x01\x01\x12\\\n\rlinux_version\x18\x07 \x01(\x0b\x32@.discord_protos.discord_experimentation.v1.Experiment.SDKVersionH\x06\x88\x01\x01\x42\x0e\n\x0c_ios_versionB\x12\n\x10_android_versionB\x10\n\x0e_macos_versionB\x12\n\x10_windows_versionB\x16\n\x14_playstation_versionB\x0f\n\r_xbox_versionB\x10\n\x0e_linux_version\x1a>\n\nStaffUsers\x12\x15\n\rwork_accounts\x18\x01 \x01(\x08\x12\x19\n\x11personal_accounts\x18\x02 \x01(\x08\x1a \n\x0bUserInGuild\x12\x11\n\tguild_ids\x18\x01 \x03(\x06\x1a\x1b\n\x07UserIds\x12\x10\n\x08user_ids\x18\x01 \x03(\x06\x1a#\n\x0c\x43lientLocale\x12\x13\n\x07locales\x18\x01 \x03(\tB\x02\x10\x00\x1a\x39\n\tISORegion\x12\x13\n\x0biso_country\x18\x01 \x01(\t\x12\x17\n\x0fiso_subdivision\x18\x02 \x01(\t\x1a;\n\x05Place\x12\x0c\n\x04\x63ity\x18\x01 \x01(\t\x12\x13\n\x0bsubdivision\x18\x02 \x01(\t\x12\x0f\n\x07\x63ountry\x18\x03 \x01(\t\x1a\xcc\x01\n\x08Location\x12U\n\niso_region\x18\x01 \x01(\x0b\x32?.discord_protos.discord_experimentation.v1.Experiment.ISORegionH\x00\x12\x0f\n\x05is_eu\x18\x02 \x01(\x08H\x00\x12L\n\x05place\x18\x03 \x01(\x0b\x32;.discord_protos.discord_experimentation.v1.Experiment.PlaceH\x00\x42\n\n\x08location\x1a\x63\n\x0e\x43lientLocation\x12Q\n\tlocations\x18\x01 \x03(\x0b\x32>.discord_protos.discord_experimentation.v1.Experiment.Location\x1a\x1e\n\x08\x43lientIP\x12\x12\n\x06\x62locks\x18\x01 \x03(\tB\x02\x10\x00\x1a!\n\nUserLocale\x12\x13\n\x07locales\x18\x01 \x03(\tB\x02\x10\x00\x1a\x1b\n\tUserIsBot\x12\x0e\n\x06is_bot\x18\x01 \x01(\x08\x1a\xa6\x01\n\x0cUserAgeRange\x12\x38\n\rmin_age_years\x18\x01 \x01(\x0b\x32\x1c.google.protobuf.UInt32ValueH\x00\x88\x01\x01\x12\x38\n\rmax_age_years\x18\x02 \x01(\x0b\x32\x1c.google.protobuf.UInt32ValueH\x01\x88\x01\x01\x42\x10\n\x0e_min_age_yearsB\x10\n\x0e_max_age_years\x1a\x1d\n\x0c\x46ixed64Value\x12\r\n\x05value\x18\x01 \x01(\x06\x1a\xd5\x01\n\x0bUserIDRange\x12W\n\x06min_id\x18\x01 \x01(\x0b\x32\x42.discord_protos.discord_experimentation.v1.Experiment.Fixed64ValueH\x00\x88\x01\x01\x12W\n\x06max_id\x18\x02 \x01(\x0b\x32\x42.discord_protos.discord_experimentation.v1.Experiment.Fixed64ValueH\x01\x88\x01\x01\x42\t\n\x07_min_idB\t\n\x07_max_id\x1a\x1b\n\x0bUserHasFlag\x12\x0c\n\x04mask\x18\x01 \x01(\x06\x1a\x37\n\x13UnitIdInRangeByHash\x12\x10\n\x08hash_key\x18\x01 \x01(\t\x12\x0e\n\x06target\x18\x02 \x01(\r\x1a\x34\n\x14\x43lientReleaseChannel\x12\x1c\n\x10release_channels\x18\x01 \x03(\tB\x02\x10\x00\x1a\x17\n\x06\x41lways\x12\r\n\x05value\x18\x01 \x01(\x08\x1a)\n\x12\x43lientSystemLocale\x12\x13\n\x07locales\x18\x01 \x03(\tB\x02\x10\x00\x1a\x42\n\x12UnitIdInExperiment\x12\x15\n\rexperiment_id\x18\x01 \x01(\x06\x12\x15\n\rvariation_ids\x18\x02 \x03(\x05\x1a(\n\x0fUserPremiumType\x12\x15\n\rpremium_types\x18\x01 \x03(\x05\x1aY\n\x1bUnitIdMatchesFilterSnapshot\x12\x1c\n\x14\x66ilter_snapshot_name\x18\x01 \x01(\t\x12\x1c\n\x14target_filter_values\x18\x02 \x03(\x06\x1a\x8c\x0f\n\x06\x46ilter\x12^\n\x0e\x63lient_version\x18\x02 \x01(\x0b\x32\x44.discord_protos.discord_experimentation.v1.Experiment.ClientPlatformH\x00\x12`\n\tclient_os\x18\x03 \x01(\x0b\x32K.discord_protos.discord_experimentation.v1.Experiment.ClientOperatingSystemH\x00\x12Q\n\x05staff\x18\x04 \x01(\x0b\x32@.discord_protos.discord_experimentation.v1.Experiment.StaffUsersH\x00\x12Z\n\ruser_in_guild\x18\x05 \x01(\x0b\x32\x41.discord_protos.discord_experimentation.v1.Experiment.UserInGuildH\x00\x12Q\n\x08user_ids\x18\x06 \x01(\x0b\x32=.discord_protos.discord_experimentation.v1.Experiment.UserIdsH\x00\x12[\n\rclient_locale\x18\x07 \x01(\x0b\x32\x42.discord_protos.discord_experimentation.v1.Experiment.ClientLocaleH\x00\x12_\n\x0f\x63lient_location\x18\x08 \x01(\x0b\x32\x44.discord_protos.discord_experimentation.v1.Experiment.ClientLocationH\x00\x12S\n\tclient_ip\x18\t \x01(\x0b\x32>.discord_protos.discord_experimentation.v1.Experiment.ClientIPH\x00\x12W\n\x0buser_locale\x18\n \x01(\x0b\x32@.discord_protos.discord_experimentation.v1.Experiment.UserLocaleH\x00\x12N\n\x03\x62ot\x18\x0b \x01(\x0b\x32?.discord_protos.discord_experimentation.v1.Experiment.UserIsBotH\x00\x12\\\n\x0euser_age_range\x18\x0c \x01(\x0b\x32\x42.discord_protos.discord_experimentation.v1.Experiment.UserAgeRangeH\x00\x12Z\n\ruser_id_range\x18\r \x01(\x0b\x32\x41.discord_protos.discord_experimentation.v1.Experiment.UserIDRangeH\x00\x12Z\n\ruser_has_flag\x18\x0e \x01(\x0b\x32\x41.discord_protos.discord_experimentation.v1.Experiment.UserHasFlagH\x00\x12m\n\x18unit_id_in_range_by_hash\x18\x0f \x01(\x0b\x32I.discord_protos.discord_experimentation.v1.Experiment.UnitIdInRangeByHashH\x00\x12l\n\x16\x63lient_release_channel\x18\x10 \x01(\x0b\x32J.discord_protos.discord_experimentation.v1.Experiment.ClientReleaseChannelH\x00\x12N\n\x06\x61lways\x18\x11 \x01(\x0b\x32<.discord_protos.discord_experimentation.v1.Experiment.AlwaysH\x00\x12h\n\x14\x63lient_system_locale\x18\x12 \x01(\x0b\x32H.discord_protos.discord_experimentation.v1.Experiment.ClientSystemLocaleH\x00\x12i\n\x15unit_id_in_experiment\x18\x13 \x01(\x0b\x32H.discord_protos.discord_experimentation.v1.Experiment.UnitIdInExperimentH\x00\x12\x62\n\x11user_premium_type\x18\x14 \x01(\x0b\x32\x45.discord_protos.discord_experimentation.v1.Experiment.UserPremiumTypeH\x00\x12|\n\x1funit_id_matches_filter_snapshot\x18\x15 \x01(\x0b\x32Q.discord_protos.discord_experimentation.v1.Experiment.UnitIdMatchesFilterSnapshotH\x00\x42\x08\n\x06\x66ilter\x1a \n\x08Override\x12\x14\n\x0cvariation_id\x18\x01 \x01(\x05\x1a\x9b\x02\n\x04Rule\x12H\n\x04type\x18\x01 \x01(\x0e\x32:.discord_protos.discord_experimentation.v1.Experiment.Type\x12M\n\x07\x66ilters\x18\x02 \x03(\x0b\x32<.discord_protos.discord_experimentation.v1.Experiment.Filter\x12U\n\x08override\x18\x03 \x01(\x0b\x32>.discord_protos.discord_experimentation.v1.Experiment.OverrideH\x00\x88\x01\x01\x12\x16\n\x0eis_sunset_rule\x18\x04 \x01(\x08\x42\x0b\n\t_override\x1a\xc2\x01\n\x0b\x44\x65\x62ugConfig\x12\x1f\n\x17\x65nable_decision_logging\x18\x01 \x01(\x08\x12\x1b\n\x13metrics_sample_rate\x18\x02 \x01(\x01\x12\x1e\n\x16log_context_on_failure\x18\x03 \x01(\x08\x12\x17\n\x0flog_raw_headers\x18\x04 \x01(\x08\x12\x1a\n\x12tag_filter_metrics\x18\x05 \x01(\x08\x12 \n\x18\x64\x65\x63ision_log_sample_rate\x18\x06 \x01(\x01\"9\n\x08UnitType\x12\x19\n\x15UNIT_TYPE_UNSPECIFIED\x10\x00\x12\x12\n\x0eUNIT_TYPE_USER\x10\x01\"O\n\x04Type\x12\x14\n\x10TYPE_UNSPECIFIED\x10\x00\x12\x0f\n\x0bTYPE_ACTIVE\x10\x01\x12\x0f\n\x0bTYPE_UNUSED\x10\x02\x12\x0f\n\x0bTYPE_BURNED\x10\x03\"\xb7\x01\n\x05Phase\x12\x15\n\x11PHASE_UNSPECIFIED\x10\x00\x12\x0f\n\x0bPHASE_DRAFT\x10\x01\x12\x15\n\x11PHASE_MEASUREMENT\x10\x02\x12\x1b\n\x17PHASE_MEASUREMENT_ENDED\x10\x03\x12\x15\n\x11PHASE_ROLLING_OUT\x10\x04\x12\x14\n\x10PHASE_ROLLED_OUT\x10\x05\x12\x12\n\x0ePHASE_ARCHIVED\x10\x06\x12\x11\n\rPHASE_AA_MODE\x10\x07\"\x96\x01\n\x07Surface\x12\x17\n\x13SURFACE_UNSPECIFIED\x10\x00\x12\x0f\n\x0bSURFACE_API\x10\x01\x12\x0f\n\x0bSURFACE_APP\x10\x02\x12\x1c\n\x18SURFACE_DEVELOPER_PORTAL\x10\x03\x12\x17\n\x13SURFACE_ADMIN_PANEL\x10\x04\x12\x19\n\x15SURFACE_ADS_BUDGET_AB\x10\x05\"Q\n\x10\x45xposureTracking\x12\x1d\n\x19\x45XPOSURE_TRACKING_ENABLED\x10\x00\x12\x1e\n\x1a\x45XPOSURE_TRACKING_DISABLED\x10\x01\"\x8a\x01\n\x0e\x41ssignmentMode\x12\x18\n\x14\x41SSIGNMENT_MODE_FULL\x10\x00\x12!\n\x1d\x41SSIGNMENT_MODE_FORCE_CONTROL\x10\x03\x12\"\n\x1e\x41SSIGNMENT_MODE_OVERRIDES_ONLY\x10\x04\x12\x17\n\x13\x41SSIGNMENT_MODE_OFF\x10\x05\x42\r\n\x0b_created_atB\x0c\n\n_edited_atB\r\n\x0b_hypothesisB\x11\n\x0f_tech_spec_linkB\x0f\n\r_debug_configB\x14\n\x12_expected_end_dateb\x06proto3')
|
|
29
|
+
DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n+discord_experimentation/v1/Experiment.proto\x12)discord_protos.discord_experimentation.v1\x1a\x1egoogle/protobuf/wrappers.proto\x1a\x1fgoogle/protobuf/timestamp.proto\"\xa2J\n\nExperiment\x12\n\n\x02id\x18\x01 \x01(\x06\x12\x0c\n\x04name\x18\x02 \x01(\t\x12\x33\n\ncreated_at\x18\x03 \x01(\x0b\x32\x1a.google.protobuf.TimestampH\x00\x88\x01\x01\x12\x12\n\ncreator_id\x18\x04 \x01(\x06\x12\x0f\n\x07version\x18\x05 \x01(\x05\x12\x32\n\tedited_at\x18\x06 \x01(\x0b\x32\x1a.google.protobuf.TimestampH\x01\x88\x01\x01\x12\x11\n\teditor_id\x18\x07 \x01(\x06\x12\r\n\x05title\x18\x08 \x01(\t\x12\x13\n\x0b\x64\x65scription\x18\t \x01(\t\x12\x35\n\nhypothesis\x18\n \x01(\x0b\x32\x1c.google.protobuf.StringValueH\x02\x88\x01\x01\x12\x39\n\x0etech_spec_link\x18\x0b \x01(\x0b\x32\x1c.google.protobuf.StringValueH\x03\x88\x01\x01\x12\x10\n\x08revision\x18\x0c \x01(\x05\x12\x10\n\x08hash_key\x18\r \x01(\t\x12Q\n\tunit_type\x18\x0e \x01(\x0e\x32>.discord_protos.discord_experimentation.v1.Experiment.UnitType\x12S\n\nvariations\x18\x0f \x03(\x0b\x32?.discord_protos.discord_experimentation.v1.Experiment.Variation\x12I\n\x05rules\x18\x10 \x03(\x0b\x32:.discord_protos.discord_experimentation.v1.Experiment.Rule\x12J\n\x05phase\x18\x12 \x01(\x0e\x32;.discord_protos.discord_experimentation.v1.Experiment.Phase\x12O\n\x08surfaces\x18\x13 \x03(\x0e\x32=.discord_protos.discord_experimentation.v1.Experiment.Surface\x12\x16\n\x0eowning_team_id\x18\x14 \x01(\t\x12&\n\x1e\x63\x61\x63hed_notification_channel_id\x18\x15 \x01(\x06\x12\x61\n\x11\x65xposure_tracking\x18\x16 \x01(\x0e\x32\x46.discord_protos.discord_experimentation.v1.Experiment.ExposureTracking\x12]\n\x0f\x61ssignment_mode\x18\x19 \x01(\x0e\x32\x44.discord_protos.discord_experimentation.v1.Experiment.AssignmentMode\x12\x1f\n\x17\x65nable_edit_raw_json_ui\x18\x17 \x01(\x08\x12\x1c\n\x14winning_variation_id\x18\x18 \x01(\x05\x12H\n\x04type\x18\x1a \x01(\x0e\x32:.discord_protos.discord_experimentation.v1.Experiment.Type\x12\x13\n\x0bis_template\x18\x1b \x01(\x08\x12\x1d\n\x15\x66ield_numbers_to_copy\x18\x1c \x03(\x05\x12 \n\x14\x65ngine_feature_flags\x18\x1d \x03(\tB\x02\x10\x00\x12\\\n\x0c\x64\x65\x62ug_config\x18\x1e \x01(\x0b\x32\x41.discord_protos.discord_experimentation.v1.Experiment.DebugConfigH\x04\x88\x01\x01\x12:\n\x11\x65xpected_end_date\x18\x1f \x01(\x0b\x32\x1a.google.protobuf.TimestampH\x05\x88\x01\x01\x12\x1b\n\x13is_automated_change\x18 \x01(\x08\x1ao\n\x06\x42ucket\x12\r\n\x05start\x18\x01 \x01(\x05\x12\x0c\n\x04stop\x18\x02 \x01(\x05\x12H\n\x04type\x18\x03 \x01(\x0e\x32:.discord_protos.discord_experimentation.v1.Experiment.Type\x1a\xa6\x02\n\tVariation\x12\n\n\x02id\x18\x01 \x01(\x05\x12\r\n\x05label\x18\x02 \x01(\t\x12\x19\n\x11target_allocation\x18\x03 \x01(\x05\x12M\n\x07\x62uckets\x18\x04 \x03(\x0b\x32<.discord_protos.discord_experimentation.v1.Experiment.Bucket\x12H\n\x04type\x18\x05 \x01(\x0e\x32:.discord_protos.discord_experimentation.v1.Experiment.Type\x12\x38\n\rconfiguration\x18\x06 \x01(\x0b\x32\x1c.google.protobuf.StringValueH\x00\x88\x01\x01\x42\x10\n\x0e_configuration\x1a\xa1\x01\n\x18PlatformVersionSpecifier\x12\r\n\x05major\x18\x01 \x01(\r\x12\x30\n\x05minor\x18\x02 \x01(\x0b\x32\x1c.google.protobuf.UInt32ValueH\x00\x88\x01\x01\x12\x30\n\x05\x62uild\x18\x03 \x01(\x0b\x32\x1c.google.protobuf.UInt64ValueH\x01\x88\x01\x01\x42\x08\n\x06_minorB\x08\n\x06_build\x1a\xa0\x01\n\x19PlatformVersionRangeBound\x12\x64\n\x07version\x18\x01 \x01(\x0b\x32N.discord_protos.discord_experimentation.v1.Experiment.PlatformVersionSpecifierH\x00\x88\x01\x01\x12\x11\n\tinclusive\x18\x02 \x01(\x08\x42\n\n\x08_version\x1a\x8c\x02\n\x14PlatformVersionRange\x12i\n\x0blower_bound\x18\x01 \x01(\x0b\x32O.discord_protos.discord_experimentation.v1.Experiment.PlatformVersionRangeBoundH\x00\x88\x01\x01\x12i\n\x0bupper_bound\x18\x02 \x01(\x0b\x32O.discord_protos.discord_experimentation.v1.Experiment.PlatformVersionRangeBoundH\x01\x88\x01\x01\x42\x0e\n\x0c_lower_boundB\x0e\n\x0c_upper_bound\x1a\x8c\x01\n\x0fPlatformVersion\x12Z\n\x06ranges\x18\x01 \x03(\x0b\x32J.discord_protos.discord_experimentation.v1.Experiment.PlatformVersionRange\x12\x1d\n\x15work_around_pyoto_bug\x18\x02 \x01(\x08\x1a\x46\n\x15\x43lientRequiredChanges\x12\x19\n\rcommit_hashes\x18\x01 \x03(\tB\x02\x10\x00\x12\x12\n\npr_numbers\x18\x02 \x03(\x05\x1a\x8f\x05\n\x0e\x43lientPlatform\x12_\n\x0bios_version\x18\x01 \x01(\x0b\x32\x45.discord_protos.discord_experimentation.v1.Experiment.PlatformVersionH\x00\x88\x01\x01\x12\x63\n\x0f\x61ndroid_version\x18\x02 \x01(\x0b\x32\x45.discord_protos.discord_experimentation.v1.Experiment.PlatformVersionH\x01\x88\x01\x01\x12_\n\x0bweb_version\x18\x03 \x01(\x0b\x32\x45.discord_protos.discord_experimentation.v1.Experiment.PlatformVersionH\x02\x88\x01\x01\x12\x62\n\x0enative_version\x18\x04 \x01(\x0b\x32\x45.discord_protos.discord_experimentation.v1.Experiment.PlatformVersionH\x03\x88\x01\x01\x12\x1c\n\x14\x61llow_non_native_web\x18\x06 \x01(\x08\x12q\n\x17\x63lient_required_changes\x18\x05 \x01(\x0b\x32K.discord_protos.discord_experimentation.v1.Experiment.ClientRequiredChangesH\x04\x88\x01\x01\x42\x0e\n\x0c_ios_versionB\x12\n\x10_android_versionB\x0e\n\x0c_web_versionB\x11\n\x0f_native_versionB\x1a\n\x18_client_required_changes\x1a&\n\x13SDKVersionSpecifier\x12\x0f\n\x07version\x18\x01 \x01(\x05\x1a\x96\x01\n\x14SDKVersionRangeBound\x12_\n\x07version\x18\x01 \x01(\x0b\x32I.discord_protos.discord_experimentation.v1.Experiment.SDKVersionSpecifierH\x00\x88\x01\x01\x12\x11\n\tinclusive\x18\x02 \x01(\x08\x42\n\n\x08_version\x1a\xfd\x01\n\x0fSDKVersionRange\x12\x64\n\x0blower_bound\x18\x01 \x01(\x0b\x32J.discord_protos.discord_experimentation.v1.Experiment.SDKVersionRangeBoundH\x00\x88\x01\x01\x12\x64\n\x0bupper_bound\x18\x02 \x01(\x0b\x32J.discord_protos.discord_experimentation.v1.Experiment.SDKVersionRangeBoundH\x01\x88\x01\x01\x42\x0e\n\x0c_lower_boundB\x0e\n\x0c_upper_bound\x1a\x82\x01\n\nSDKVersion\x12U\n\x06ranges\x18\x01 \x03(\x0b\x32\x45.discord_protos.discord_experimentation.v1.Experiment.SDKVersionRange\x12\x1d\n\x15work_around_pyoto_bug\x18\x02 \x01(\x08\x1a\xb5\x06\n\x15\x43lientOperatingSystem\x12Z\n\x0bios_version\x18\x01 \x01(\x0b\x32@.discord_protos.discord_experimentation.v1.Experiment.SDKVersionH\x00\x88\x01\x01\x12^\n\x0f\x61ndroid_version\x18\x02 \x01(\x0b\x32@.discord_protos.discord_experimentation.v1.Experiment.SDKVersionH\x01\x88\x01\x01\x12\\\n\rmacos_version\x18\x03 \x01(\x0b\x32@.discord_protos.discord_experimentation.v1.Experiment.SDKVersionH\x02\x88\x01\x01\x12^\n\x0fwindows_version\x18\x04 \x01(\x0b\x32@.discord_protos.discord_experimentation.v1.Experiment.SDKVersionH\x03\x88\x01\x01\x12\x62\n\x13playstation_version\x18\x05 \x01(\x0b\x32@.discord_protos.discord_experimentation.v1.Experiment.SDKVersionH\x04\x88\x01\x01\x12[\n\x0cxbox_version\x18\x06 \x01(\x0b\x32@.discord_protos.discord_experimentation.v1.Experiment.SDKVersionH\x05\x88\x01\x01\x12\\\n\rlinux_version\x18\x07 \x01(\x0b\x32@.discord_protos.discord_experimentation.v1.Experiment.SDKVersionH\x06\x88\x01\x01\x42\x0e\n\x0c_ios_versionB\x12\n\x10_android_versionB\x10\n\x0e_macos_versionB\x12\n\x10_windows_versionB\x16\n\x14_playstation_versionB\x0f\n\r_xbox_versionB\x10\n\x0e_linux_version\x1a>\n\nStaffUsers\x12\x15\n\rwork_accounts\x18\x01 \x01(\x08\x12\x19\n\x11personal_accounts\x18\x02 \x01(\x08\x1a \n\x0bUserInGuild\x12\x11\n\tguild_ids\x18\x01 \x03(\x06\x1a\x1b\n\x07UserIds\x12\x10\n\x08user_ids\x18\x01 \x03(\x06\x1a#\n\x0c\x43lientLocale\x12\x13\n\x07locales\x18\x01 \x03(\tB\x02\x10\x00\x1a\x39\n\tISORegion\x12\x13\n\x0biso_country\x18\x01 \x01(\t\x12\x17\n\x0fiso_subdivision\x18\x02 \x01(\t\x1a;\n\x05Place\x12\x0c\n\x04\x63ity\x18\x01 \x01(\t\x12\x13\n\x0bsubdivision\x18\x02 \x01(\t\x12\x0f\n\x07\x63ountry\x18\x03 \x01(\t\x1a\xcc\x01\n\x08Location\x12U\n\niso_region\x18\x01 \x01(\x0b\x32?.discord_protos.discord_experimentation.v1.Experiment.ISORegionH\x00\x12\x0f\n\x05is_eu\x18\x02 \x01(\x08H\x00\x12L\n\x05place\x18\x03 \x01(\x0b\x32;.discord_protos.discord_experimentation.v1.Experiment.PlaceH\x00\x42\n\n\x08location\x1a\x63\n\x0e\x43lientLocation\x12Q\n\tlocations\x18\x01 \x03(\x0b\x32>.discord_protos.discord_experimentation.v1.Experiment.Location\x1a\x1e\n\x08\x43lientIP\x12\x12\n\x06\x62locks\x18\x01 \x03(\tB\x02\x10\x00\x1a!\n\nUserLocale\x12\x13\n\x07locales\x18\x01 \x03(\tB\x02\x10\x00\x1a\x1b\n\tUserIsBot\x12\x0e\n\x06is_bot\x18\x01 \x01(\x08\x1a\xa6\x01\n\x0cUserAgeRange\x12\x38\n\rmin_age_years\x18\x01 \x01(\x0b\x32\x1c.google.protobuf.UInt32ValueH\x00\x88\x01\x01\x12\x38\n\rmax_age_years\x18\x02 \x01(\x0b\x32\x1c.google.protobuf.UInt32ValueH\x01\x88\x01\x01\x42\x10\n\x0e_min_age_yearsB\x10\n\x0e_max_age_years\x1a\x1d\n\x0c\x46ixed64Value\x12\r\n\x05value\x18\x01 \x01(\x06\x1a\xd5\x01\n\x0bUserIDRange\x12W\n\x06min_id\x18\x01 \x01(\x0b\x32\x42.discord_protos.discord_experimentation.v1.Experiment.Fixed64ValueH\x00\x88\x01\x01\x12W\n\x06max_id\x18\x02 \x01(\x0b\x32\x42.discord_protos.discord_experimentation.v1.Experiment.Fixed64ValueH\x01\x88\x01\x01\x42\t\n\x07_min_idB\t\n\x07_max_id\x1a\x1b\n\x0bUserHasFlag\x12\x0c\n\x04mask\x18\x01 \x01(\x06\x1a\x37\n\x13UnitIdInRangeByHash\x12\x10\n\x08hash_key\x18\x01 \x01(\t\x12\x0e\n\x06target\x18\x02 \x01(\r\x1a\x34\n\x14\x43lientReleaseChannel\x12\x1c\n\x10release_channels\x18\x01 \x03(\tB\x02\x10\x00\x1a\x17\n\x06\x41lways\x12\r\n\x05value\x18\x01 \x01(\x08\x1a)\n\x12\x43lientSystemLocale\x12\x13\n\x07locales\x18\x01 \x03(\tB\x02\x10\x00\x1a\x42\n\x12UnitIdInExperiment\x12\x15\n\rexperiment_id\x18\x01 \x01(\x06\x12\x15\n\rvariation_ids\x18\x02 \x03(\x05\x1a(\n\x0fUserPremiumType\x12\x15\n\rpremium_types\x18\x01 \x03(\x05\x1aY\n\x1bUnitIdMatchesFilterSnapshot\x12\x1c\n\x14\x66ilter_snapshot_name\x18\x01 \x01(\t\x12\x1c\n\x14target_filter_values\x18\x02 \x03(\x06\x1a\x8c\x0f\n\x06\x46ilter\x12^\n\x0e\x63lient_version\x18\x02 \x01(\x0b\x32\x44.discord_protos.discord_experimentation.v1.Experiment.ClientPlatformH\x00\x12`\n\tclient_os\x18\x03 \x01(\x0b\x32K.discord_protos.discord_experimentation.v1.Experiment.ClientOperatingSystemH\x00\x12Q\n\x05staff\x18\x04 \x01(\x0b\x32@.discord_protos.discord_experimentation.v1.Experiment.StaffUsersH\x00\x12Z\n\ruser_in_guild\x18\x05 \x01(\x0b\x32\x41.discord_protos.discord_experimentation.v1.Experiment.UserInGuildH\x00\x12Q\n\x08user_ids\x18\x06 \x01(\x0b\x32=.discord_protos.discord_experimentation.v1.Experiment.UserIdsH\x00\x12[\n\rclient_locale\x18\x07 \x01(\x0b\x32\x42.discord_protos.discord_experimentation.v1.Experiment.ClientLocaleH\x00\x12_\n\x0f\x63lient_location\x18\x08 \x01(\x0b\x32\x44.discord_protos.discord_experimentation.v1.Experiment.ClientLocationH\x00\x12S\n\tclient_ip\x18\t \x01(\x0b\x32>.discord_protos.discord_experimentation.v1.Experiment.ClientIPH\x00\x12W\n\x0buser_locale\x18\n \x01(\x0b\x32@.discord_protos.discord_experimentation.v1.Experiment.UserLocaleH\x00\x12N\n\x03\x62ot\x18\x0b \x01(\x0b\x32?.discord_protos.discord_experimentation.v1.Experiment.UserIsBotH\x00\x12\\\n\x0euser_age_range\x18\x0c \x01(\x0b\x32\x42.discord_protos.discord_experimentation.v1.Experiment.UserAgeRangeH\x00\x12Z\n\ruser_id_range\x18\r \x01(\x0b\x32\x41.discord_protos.discord_experimentation.v1.Experiment.UserIDRangeH\x00\x12Z\n\ruser_has_flag\x18\x0e \x01(\x0b\x32\x41.discord_protos.discord_experimentation.v1.Experiment.UserHasFlagH\x00\x12m\n\x18unit_id_in_range_by_hash\x18\x0f \x01(\x0b\x32I.discord_protos.discord_experimentation.v1.Experiment.UnitIdInRangeByHashH\x00\x12l\n\x16\x63lient_release_channel\x18\x10 \x01(\x0b\x32J.discord_protos.discord_experimentation.v1.Experiment.ClientReleaseChannelH\x00\x12N\n\x06\x61lways\x18\x11 \x01(\x0b\x32<.discord_protos.discord_experimentation.v1.Experiment.AlwaysH\x00\x12h\n\x14\x63lient_system_locale\x18\x12 \x01(\x0b\x32H.discord_protos.discord_experimentation.v1.Experiment.ClientSystemLocaleH\x00\x12i\n\x15unit_id_in_experiment\x18\x13 \x01(\x0b\x32H.discord_protos.discord_experimentation.v1.Experiment.UnitIdInExperimentH\x00\x12\x62\n\x11user_premium_type\x18\x14 \x01(\x0b\x32\x45.discord_protos.discord_experimentation.v1.Experiment.UserPremiumTypeH\x00\x12|\n\x1funit_id_matches_filter_snapshot\x18\x15 \x01(\x0b\x32Q.discord_protos.discord_experimentation.v1.Experiment.UnitIdMatchesFilterSnapshotH\x00\x42\x08\n\x06\x66ilter\x1a \n\x08Override\x12\x14\n\x0cvariation_id\x18\x01 \x01(\x05\x1a\x9b\x02\n\x04Rule\x12H\n\x04type\x18\x01 \x01(\x0e\x32:.discord_protos.discord_experimentation.v1.Experiment.Type\x12M\n\x07\x66ilters\x18\x02 \x03(\x0b\x32<.discord_protos.discord_experimentation.v1.Experiment.Filter\x12U\n\x08override\x18\x03 \x01(\x0b\x32>.discord_protos.discord_experimentation.v1.Experiment.OverrideH\x00\x88\x01\x01\x12\x16\n\x0eis_sunset_rule\x18\x04 \x01(\x08\x42\x0b\n\t_override\x1a\xc2\x01\n\x0b\x44\x65\x62ugConfig\x12\x1f\n\x17\x65nable_decision_logging\x18\x01 \x01(\x08\x12\x1b\n\x13metrics_sample_rate\x18\x02 \x01(\x01\x12\x1e\n\x16log_context_on_failure\x18\x03 \x01(\x08\x12\x17\n\x0flog_raw_headers\x18\x04 \x01(\x08\x12\x1a\n\x12tag_filter_metrics\x18\x05 \x01(\x08\x12 \n\x18\x64\x65\x63ision_log_sample_rate\x18\x06 \x01(\x01\"9\n\x08UnitType\x12\x19\n\x15UNIT_TYPE_UNSPECIFIED\x10\x00\x12\x12\n\x0eUNIT_TYPE_USER\x10\x01\"O\n\x04Type\x12\x14\n\x10TYPE_UNSPECIFIED\x10\x00\x12\x0f\n\x0bTYPE_ACTIVE\x10\x01\x12\x0f\n\x0bTYPE_UNUSED\x10\x02\x12\x0f\n\x0bTYPE_BURNED\x10\x03\"\xb7\x01\n\x05Phase\x12\x15\n\x11PHASE_UNSPECIFIED\x10\x00\x12\x0f\n\x0bPHASE_DRAFT\x10\x01\x12\x15\n\x11PHASE_MEASUREMENT\x10\x02\x12\x1b\n\x17PHASE_MEASUREMENT_ENDED\x10\x03\x12\x15\n\x11PHASE_ROLLING_OUT\x10\x04\x12\x14\n\x10PHASE_ROLLED_OUT\x10\x05\x12\x12\n\x0ePHASE_ARCHIVED\x10\x06\x12\x11\n\rPHASE_AA_MODE\x10\x07\"\x96\x01\n\x07Surface\x12\x17\n\x13SURFACE_UNSPECIFIED\x10\x00\x12\x0f\n\x0bSURFACE_API\x10\x01\x12\x0f\n\x0bSURFACE_APP\x10\x02\x12\x1c\n\x18SURFACE_DEVELOPER_PORTAL\x10\x03\x12\x17\n\x13SURFACE_ADMIN_PANEL\x10\x04\x12\x19\n\x15SURFACE_ADS_BUDGET_AB\x10\x05\"Q\n\x10\x45xposureTracking\x12\x1d\n\x19\x45XPOSURE_TRACKING_ENABLED\x10\x00\x12\x1e\n\x1a\x45XPOSURE_TRACKING_DISABLED\x10\x01\"\x8a\x01\n\x0e\x41ssignmentMode\x12\x18\n\x14\x41SSIGNMENT_MODE_FULL\x10\x00\x12!\n\x1d\x41SSIGNMENT_MODE_FORCE_CONTROL\x10\x03\x12\"\n\x1e\x41SSIGNMENT_MODE_OVERRIDES_ONLY\x10\x04\x12\x17\n\x13\x41SSIGNMENT_MODE_OFF\x10\x05\x42\r\n\x0b_created_atB\x0c\n\n_edited_atB\r\n\x0b_hypothesisB\x11\n\x0f_tech_spec_linkB\x0f\n\r_debug_configB\x14\n\x12_expected_end_dateb\x06proto3')
|
|
30
30
|
|
|
31
31
|
_globals = globals()
|
|
32
32
|
_builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals)
|
|
@@ -48,95 +48,95 @@ if not _descriptor._USE_C_DESCRIPTORS:
|
|
|
48
48
|
_globals['_EXPERIMENT'].fields_by_name['engine_feature_flags']._loaded_options = None
|
|
49
49
|
_globals['_EXPERIMENT'].fields_by_name['engine_feature_flags']._serialized_options = b'\020\000'
|
|
50
50
|
_globals['_EXPERIMENT']._serialized_start=156
|
|
51
|
-
_globals['_EXPERIMENT']._serialized_end=
|
|
52
|
-
_globals['_EXPERIMENT_BUCKET']._serialized_start=
|
|
53
|
-
_globals['_EXPERIMENT_BUCKET']._serialized_end=
|
|
54
|
-
_globals['_EXPERIMENT_VARIATION']._serialized_start=
|
|
55
|
-
_globals['_EXPERIMENT_VARIATION']._serialized_end=
|
|
56
|
-
_globals['_EXPERIMENT_PLATFORMVERSIONSPECIFIER']._serialized_start=
|
|
57
|
-
_globals['_EXPERIMENT_PLATFORMVERSIONSPECIFIER']._serialized_end=
|
|
58
|
-
_globals['_EXPERIMENT_PLATFORMVERSIONRANGEBOUND']._serialized_start=
|
|
59
|
-
_globals['_EXPERIMENT_PLATFORMVERSIONRANGEBOUND']._serialized_end=
|
|
60
|
-
_globals['_EXPERIMENT_PLATFORMVERSIONRANGE']._serialized_start=
|
|
61
|
-
_globals['_EXPERIMENT_PLATFORMVERSIONRANGE']._serialized_end=
|
|
62
|
-
_globals['_EXPERIMENT_PLATFORMVERSION']._serialized_start=
|
|
63
|
-
_globals['_EXPERIMENT_PLATFORMVERSION']._serialized_end=
|
|
64
|
-
_globals['_EXPERIMENT_CLIENTREQUIREDCHANGES']._serialized_start=
|
|
65
|
-
_globals['_EXPERIMENT_CLIENTREQUIREDCHANGES']._serialized_end=
|
|
66
|
-
_globals['_EXPERIMENT_CLIENTPLATFORM']._serialized_start=
|
|
67
|
-
_globals['_EXPERIMENT_CLIENTPLATFORM']._serialized_end=
|
|
68
|
-
_globals['_EXPERIMENT_SDKVERSIONSPECIFIER']._serialized_start=
|
|
69
|
-
_globals['_EXPERIMENT_SDKVERSIONSPECIFIER']._serialized_end=
|
|
70
|
-
_globals['_EXPERIMENT_SDKVERSIONRANGEBOUND']._serialized_start=
|
|
71
|
-
_globals['_EXPERIMENT_SDKVERSIONRANGEBOUND']._serialized_end=
|
|
72
|
-
_globals['_EXPERIMENT_SDKVERSIONRANGE']._serialized_start=
|
|
73
|
-
_globals['_EXPERIMENT_SDKVERSIONRANGE']._serialized_end=
|
|
74
|
-
_globals['_EXPERIMENT_SDKVERSION']._serialized_start=
|
|
75
|
-
_globals['_EXPERIMENT_SDKVERSION']._serialized_end=
|
|
76
|
-
_globals['_EXPERIMENT_CLIENTOPERATINGSYSTEM']._serialized_start=
|
|
77
|
-
_globals['_EXPERIMENT_CLIENTOPERATINGSYSTEM']._serialized_end=
|
|
78
|
-
_globals['_EXPERIMENT_STAFFUSERS']._serialized_start=
|
|
79
|
-
_globals['_EXPERIMENT_STAFFUSERS']._serialized_end=
|
|
80
|
-
_globals['_EXPERIMENT_USERINGUILD']._serialized_start=
|
|
81
|
-
_globals['_EXPERIMENT_USERINGUILD']._serialized_end=
|
|
82
|
-
_globals['_EXPERIMENT_USERIDS']._serialized_start=
|
|
83
|
-
_globals['_EXPERIMENT_USERIDS']._serialized_end=
|
|
84
|
-
_globals['_EXPERIMENT_CLIENTLOCALE']._serialized_start=
|
|
85
|
-
_globals['_EXPERIMENT_CLIENTLOCALE']._serialized_end=
|
|
86
|
-
_globals['_EXPERIMENT_ISOREGION']._serialized_start=
|
|
87
|
-
_globals['_EXPERIMENT_ISOREGION']._serialized_end=
|
|
88
|
-
_globals['_EXPERIMENT_PLACE']._serialized_start=
|
|
89
|
-
_globals['_EXPERIMENT_PLACE']._serialized_end=
|
|
90
|
-
_globals['_EXPERIMENT_LOCATION']._serialized_start=
|
|
91
|
-
_globals['_EXPERIMENT_LOCATION']._serialized_end=
|
|
92
|
-
_globals['_EXPERIMENT_CLIENTLOCATION']._serialized_start=
|
|
93
|
-
_globals['_EXPERIMENT_CLIENTLOCATION']._serialized_end=
|
|
94
|
-
_globals['_EXPERIMENT_CLIENTIP']._serialized_start=
|
|
95
|
-
_globals['_EXPERIMENT_CLIENTIP']._serialized_end=
|
|
96
|
-
_globals['_EXPERIMENT_USERLOCALE']._serialized_start=
|
|
97
|
-
_globals['_EXPERIMENT_USERLOCALE']._serialized_end=
|
|
98
|
-
_globals['_EXPERIMENT_USERISBOT']._serialized_start=
|
|
99
|
-
_globals['_EXPERIMENT_USERISBOT']._serialized_end=
|
|
100
|
-
_globals['_EXPERIMENT_USERAGERANGE']._serialized_start=
|
|
101
|
-
_globals['_EXPERIMENT_USERAGERANGE']._serialized_end=
|
|
102
|
-
_globals['_EXPERIMENT_FIXED64VALUE']._serialized_start=
|
|
103
|
-
_globals['_EXPERIMENT_FIXED64VALUE']._serialized_end=
|
|
104
|
-
_globals['_EXPERIMENT_USERIDRANGE']._serialized_start=
|
|
105
|
-
_globals['_EXPERIMENT_USERIDRANGE']._serialized_end=
|
|
106
|
-
_globals['_EXPERIMENT_USERHASFLAG']._serialized_start=
|
|
107
|
-
_globals['_EXPERIMENT_USERHASFLAG']._serialized_end=
|
|
108
|
-
_globals['_EXPERIMENT_UNITIDINRANGEBYHASH']._serialized_start=
|
|
109
|
-
_globals['_EXPERIMENT_UNITIDINRANGEBYHASH']._serialized_end=
|
|
110
|
-
_globals['_EXPERIMENT_CLIENTRELEASECHANNEL']._serialized_start=
|
|
111
|
-
_globals['_EXPERIMENT_CLIENTRELEASECHANNEL']._serialized_end=
|
|
112
|
-
_globals['_EXPERIMENT_ALWAYS']._serialized_start=
|
|
113
|
-
_globals['_EXPERIMENT_ALWAYS']._serialized_end=
|
|
114
|
-
_globals['_EXPERIMENT_CLIENTSYSTEMLOCALE']._serialized_start=
|
|
115
|
-
_globals['_EXPERIMENT_CLIENTSYSTEMLOCALE']._serialized_end=
|
|
116
|
-
_globals['_EXPERIMENT_UNITIDINEXPERIMENT']._serialized_start=
|
|
117
|
-
_globals['_EXPERIMENT_UNITIDINEXPERIMENT']._serialized_end=
|
|
118
|
-
_globals['_EXPERIMENT_USERPREMIUMTYPE']._serialized_start=
|
|
119
|
-
_globals['_EXPERIMENT_USERPREMIUMTYPE']._serialized_end=
|
|
120
|
-
_globals['_EXPERIMENT_UNITIDMATCHESFILTERSNAPSHOT']._serialized_start=
|
|
121
|
-
_globals['_EXPERIMENT_UNITIDMATCHESFILTERSNAPSHOT']._serialized_end=
|
|
122
|
-
_globals['_EXPERIMENT_FILTER']._serialized_start=
|
|
123
|
-
_globals['_EXPERIMENT_FILTER']._serialized_end=
|
|
124
|
-
_globals['_EXPERIMENT_OVERRIDE']._serialized_start=
|
|
125
|
-
_globals['_EXPERIMENT_OVERRIDE']._serialized_end=
|
|
126
|
-
_globals['_EXPERIMENT_RULE']._serialized_start=
|
|
127
|
-
_globals['_EXPERIMENT_RULE']._serialized_end=
|
|
128
|
-
_globals['_EXPERIMENT_DEBUGCONFIG']._serialized_start=
|
|
129
|
-
_globals['_EXPERIMENT_DEBUGCONFIG']._serialized_end=
|
|
130
|
-
_globals['_EXPERIMENT_UNITTYPE']._serialized_start=
|
|
131
|
-
_globals['_EXPERIMENT_UNITTYPE']._serialized_end=
|
|
132
|
-
_globals['_EXPERIMENT_TYPE']._serialized_start=
|
|
133
|
-
_globals['_EXPERIMENT_TYPE']._serialized_end=
|
|
134
|
-
_globals['_EXPERIMENT_PHASE']._serialized_start=
|
|
135
|
-
_globals['_EXPERIMENT_PHASE']._serialized_end=
|
|
136
|
-
_globals['_EXPERIMENT_SURFACE']._serialized_start=
|
|
137
|
-
_globals['_EXPERIMENT_SURFACE']._serialized_end=
|
|
138
|
-
_globals['_EXPERIMENT_EXPOSURETRACKING']._serialized_start=
|
|
139
|
-
_globals['_EXPERIMENT_EXPOSURETRACKING']._serialized_end=
|
|
140
|
-
_globals['_EXPERIMENT_ASSIGNMENTMODE']._serialized_start=
|
|
141
|
-
_globals['_EXPERIMENT_ASSIGNMENTMODE']._serialized_end=
|
|
51
|
+
_globals['_EXPERIMENT']._serialized_end=9662
|
|
52
|
+
_globals['_EXPERIMENT_BUCKET']._serialized_start=1607
|
|
53
|
+
_globals['_EXPERIMENT_BUCKET']._serialized_end=1718
|
|
54
|
+
_globals['_EXPERIMENT_VARIATION']._serialized_start=1721
|
|
55
|
+
_globals['_EXPERIMENT_VARIATION']._serialized_end=2015
|
|
56
|
+
_globals['_EXPERIMENT_PLATFORMVERSIONSPECIFIER']._serialized_start=2018
|
|
57
|
+
_globals['_EXPERIMENT_PLATFORMVERSIONSPECIFIER']._serialized_end=2179
|
|
58
|
+
_globals['_EXPERIMENT_PLATFORMVERSIONRANGEBOUND']._serialized_start=2182
|
|
59
|
+
_globals['_EXPERIMENT_PLATFORMVERSIONRANGEBOUND']._serialized_end=2342
|
|
60
|
+
_globals['_EXPERIMENT_PLATFORMVERSIONRANGE']._serialized_start=2345
|
|
61
|
+
_globals['_EXPERIMENT_PLATFORMVERSIONRANGE']._serialized_end=2613
|
|
62
|
+
_globals['_EXPERIMENT_PLATFORMVERSION']._serialized_start=2616
|
|
63
|
+
_globals['_EXPERIMENT_PLATFORMVERSION']._serialized_end=2756
|
|
64
|
+
_globals['_EXPERIMENT_CLIENTREQUIREDCHANGES']._serialized_start=2758
|
|
65
|
+
_globals['_EXPERIMENT_CLIENTREQUIREDCHANGES']._serialized_end=2828
|
|
66
|
+
_globals['_EXPERIMENT_CLIENTPLATFORM']._serialized_start=2831
|
|
67
|
+
_globals['_EXPERIMENT_CLIENTPLATFORM']._serialized_end=3486
|
|
68
|
+
_globals['_EXPERIMENT_SDKVERSIONSPECIFIER']._serialized_start=3488
|
|
69
|
+
_globals['_EXPERIMENT_SDKVERSIONSPECIFIER']._serialized_end=3526
|
|
70
|
+
_globals['_EXPERIMENT_SDKVERSIONRANGEBOUND']._serialized_start=3529
|
|
71
|
+
_globals['_EXPERIMENT_SDKVERSIONRANGEBOUND']._serialized_end=3679
|
|
72
|
+
_globals['_EXPERIMENT_SDKVERSIONRANGE']._serialized_start=3682
|
|
73
|
+
_globals['_EXPERIMENT_SDKVERSIONRANGE']._serialized_end=3935
|
|
74
|
+
_globals['_EXPERIMENT_SDKVERSION']._serialized_start=3938
|
|
75
|
+
_globals['_EXPERIMENT_SDKVERSION']._serialized_end=4068
|
|
76
|
+
_globals['_EXPERIMENT_CLIENTOPERATINGSYSTEM']._serialized_start=4071
|
|
77
|
+
_globals['_EXPERIMENT_CLIENTOPERATINGSYSTEM']._serialized_end=4892
|
|
78
|
+
_globals['_EXPERIMENT_STAFFUSERS']._serialized_start=4894
|
|
79
|
+
_globals['_EXPERIMENT_STAFFUSERS']._serialized_end=4956
|
|
80
|
+
_globals['_EXPERIMENT_USERINGUILD']._serialized_start=4958
|
|
81
|
+
_globals['_EXPERIMENT_USERINGUILD']._serialized_end=4990
|
|
82
|
+
_globals['_EXPERIMENT_USERIDS']._serialized_start=4992
|
|
83
|
+
_globals['_EXPERIMENT_USERIDS']._serialized_end=5019
|
|
84
|
+
_globals['_EXPERIMENT_CLIENTLOCALE']._serialized_start=5021
|
|
85
|
+
_globals['_EXPERIMENT_CLIENTLOCALE']._serialized_end=5056
|
|
86
|
+
_globals['_EXPERIMENT_ISOREGION']._serialized_start=5058
|
|
87
|
+
_globals['_EXPERIMENT_ISOREGION']._serialized_end=5115
|
|
88
|
+
_globals['_EXPERIMENT_PLACE']._serialized_start=5117
|
|
89
|
+
_globals['_EXPERIMENT_PLACE']._serialized_end=5176
|
|
90
|
+
_globals['_EXPERIMENT_LOCATION']._serialized_start=5179
|
|
91
|
+
_globals['_EXPERIMENT_LOCATION']._serialized_end=5383
|
|
92
|
+
_globals['_EXPERIMENT_CLIENTLOCATION']._serialized_start=5385
|
|
93
|
+
_globals['_EXPERIMENT_CLIENTLOCATION']._serialized_end=5484
|
|
94
|
+
_globals['_EXPERIMENT_CLIENTIP']._serialized_start=5486
|
|
95
|
+
_globals['_EXPERIMENT_CLIENTIP']._serialized_end=5516
|
|
96
|
+
_globals['_EXPERIMENT_USERLOCALE']._serialized_start=5518
|
|
97
|
+
_globals['_EXPERIMENT_USERLOCALE']._serialized_end=5551
|
|
98
|
+
_globals['_EXPERIMENT_USERISBOT']._serialized_start=5553
|
|
99
|
+
_globals['_EXPERIMENT_USERISBOT']._serialized_end=5580
|
|
100
|
+
_globals['_EXPERIMENT_USERAGERANGE']._serialized_start=5583
|
|
101
|
+
_globals['_EXPERIMENT_USERAGERANGE']._serialized_end=5749
|
|
102
|
+
_globals['_EXPERIMENT_FIXED64VALUE']._serialized_start=5751
|
|
103
|
+
_globals['_EXPERIMENT_FIXED64VALUE']._serialized_end=5780
|
|
104
|
+
_globals['_EXPERIMENT_USERIDRANGE']._serialized_start=5783
|
|
105
|
+
_globals['_EXPERIMENT_USERIDRANGE']._serialized_end=5996
|
|
106
|
+
_globals['_EXPERIMENT_USERHASFLAG']._serialized_start=5998
|
|
107
|
+
_globals['_EXPERIMENT_USERHASFLAG']._serialized_end=6025
|
|
108
|
+
_globals['_EXPERIMENT_UNITIDINRANGEBYHASH']._serialized_start=6027
|
|
109
|
+
_globals['_EXPERIMENT_UNITIDINRANGEBYHASH']._serialized_end=6082
|
|
110
|
+
_globals['_EXPERIMENT_CLIENTRELEASECHANNEL']._serialized_start=6084
|
|
111
|
+
_globals['_EXPERIMENT_CLIENTRELEASECHANNEL']._serialized_end=6136
|
|
112
|
+
_globals['_EXPERIMENT_ALWAYS']._serialized_start=6138
|
|
113
|
+
_globals['_EXPERIMENT_ALWAYS']._serialized_end=6161
|
|
114
|
+
_globals['_EXPERIMENT_CLIENTSYSTEMLOCALE']._serialized_start=6163
|
|
115
|
+
_globals['_EXPERIMENT_CLIENTSYSTEMLOCALE']._serialized_end=6204
|
|
116
|
+
_globals['_EXPERIMENT_UNITIDINEXPERIMENT']._serialized_start=6206
|
|
117
|
+
_globals['_EXPERIMENT_UNITIDINEXPERIMENT']._serialized_end=6272
|
|
118
|
+
_globals['_EXPERIMENT_USERPREMIUMTYPE']._serialized_start=6274
|
|
119
|
+
_globals['_EXPERIMENT_USERPREMIUMTYPE']._serialized_end=6314
|
|
120
|
+
_globals['_EXPERIMENT_UNITIDMATCHESFILTERSNAPSHOT']._serialized_start=6316
|
|
121
|
+
_globals['_EXPERIMENT_UNITIDMATCHESFILTERSNAPSHOT']._serialized_end=6405
|
|
122
|
+
_globals['_EXPERIMENT_FILTER']._serialized_start=6408
|
|
123
|
+
_globals['_EXPERIMENT_FILTER']._serialized_end=8340
|
|
124
|
+
_globals['_EXPERIMENT_OVERRIDE']._serialized_start=8342
|
|
125
|
+
_globals['_EXPERIMENT_OVERRIDE']._serialized_end=8374
|
|
126
|
+
_globals['_EXPERIMENT_RULE']._serialized_start=8377
|
|
127
|
+
_globals['_EXPERIMENT_RULE']._serialized_end=8660
|
|
128
|
+
_globals['_EXPERIMENT_DEBUGCONFIG']._serialized_start=8663
|
|
129
|
+
_globals['_EXPERIMENT_DEBUGCONFIG']._serialized_end=8857
|
|
130
|
+
_globals['_EXPERIMENT_UNITTYPE']._serialized_start=8859
|
|
131
|
+
_globals['_EXPERIMENT_UNITTYPE']._serialized_end=8916
|
|
132
|
+
_globals['_EXPERIMENT_TYPE']._serialized_start=8918
|
|
133
|
+
_globals['_EXPERIMENT_TYPE']._serialized_end=8997
|
|
134
|
+
_globals['_EXPERIMENT_PHASE']._serialized_start=9000
|
|
135
|
+
_globals['_EXPERIMENT_PHASE']._serialized_end=9183
|
|
136
|
+
_globals['_EXPERIMENT_SURFACE']._serialized_start=9186
|
|
137
|
+
_globals['_EXPERIMENT_SURFACE']._serialized_end=9336
|
|
138
|
+
_globals['_EXPERIMENT_EXPOSURETRACKING']._serialized_start=9338
|
|
139
|
+
_globals['_EXPERIMENT_EXPOSURETRACKING']._serialized_end=9419
|
|
140
|
+
_globals['_EXPERIMENT_ASSIGNMENTMODE']._serialized_start=9422
|
|
141
|
+
_globals['_EXPERIMENT_ASSIGNMENTMODE']._serialized_end=9560
|
|
142
142
|
# @@protoc_insertion_point(module_scope)
|
|
@@ -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);
|
|
@@ -207,6 +207,19 @@ export interface PremiumMarketingComponentProperties_PremiumTab {
|
|
|
207
207
|
*/
|
|
208
208
|
acknowledgedBadgeLabel: string;
|
|
209
209
|
}
|
|
210
|
+
/**
|
|
211
|
+
* @generated from protobuf message discord_protos.premium_marketing.v1.PremiumMarketingComponentProperties.MarketingPageBannerButton
|
|
212
|
+
*/
|
|
213
|
+
export interface PremiumMarketingComponentProperties_MarketingPageBannerButton {
|
|
214
|
+
/**
|
|
215
|
+
* @generated from protobuf field: string copy = 1
|
|
216
|
+
*/
|
|
217
|
+
copy: string;
|
|
218
|
+
/**
|
|
219
|
+
* @generated from protobuf field: discord_protos.premium_marketing.v1.PremiumMarketingComponentProperties.ButtonAction button_action = 2
|
|
220
|
+
*/
|
|
221
|
+
buttonAction: PremiumMarketingComponentProperties_ButtonAction;
|
|
222
|
+
}
|
|
210
223
|
/**
|
|
211
224
|
* @generated from protobuf message discord_protos.premium_marketing.v1.PremiumMarketingComponentProperties.MarketingPageBanner
|
|
212
225
|
*/
|
|
@@ -227,6 +240,10 @@ export interface PremiumMarketingComponentProperties_MarketingPageBanner {
|
|
|
227
240
|
* @generated from protobuf field: string help_article_id = 4
|
|
228
241
|
*/
|
|
229
242
|
helpArticleId: string;
|
|
243
|
+
/**
|
|
244
|
+
* @generated from protobuf field: optional discord_protos.premium_marketing.v1.PremiumMarketingComponentProperties.MarketingPageBannerButton button = 5
|
|
245
|
+
*/
|
|
246
|
+
button?: PremiumMarketingComponentProperties_MarketingPageBannerButton;
|
|
230
247
|
}
|
|
231
248
|
/**
|
|
232
249
|
* @generated from protobuf message discord_protos.premium_marketing.v1.PremiumMarketingComponentProperties.PaymentModalBanner
|
|
@@ -377,6 +394,16 @@ declare class PremiumMarketingComponentProperties_PremiumTab$Type extends Messag
|
|
|
377
394
|
* @generated MessageType for protobuf message discord_protos.premium_marketing.v1.PremiumMarketingComponentProperties.PremiumTab
|
|
378
395
|
*/
|
|
379
396
|
export declare const PremiumMarketingComponentProperties_PremiumTab: PremiumMarketingComponentProperties_PremiumTab$Type;
|
|
397
|
+
declare class PremiumMarketingComponentProperties_MarketingPageBannerButton$Type extends MessageType<PremiumMarketingComponentProperties_MarketingPageBannerButton> {
|
|
398
|
+
constructor();
|
|
399
|
+
create(value?: PartialMessage<PremiumMarketingComponentProperties_MarketingPageBannerButton>): PremiumMarketingComponentProperties_MarketingPageBannerButton;
|
|
400
|
+
internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: PremiumMarketingComponentProperties_MarketingPageBannerButton): PremiumMarketingComponentProperties_MarketingPageBannerButton;
|
|
401
|
+
internalBinaryWrite(message: PremiumMarketingComponentProperties_MarketingPageBannerButton, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter;
|
|
402
|
+
}
|
|
403
|
+
/**
|
|
404
|
+
* @generated MessageType for protobuf message discord_protos.premium_marketing.v1.PremiumMarketingComponentProperties.MarketingPageBannerButton
|
|
405
|
+
*/
|
|
406
|
+
export declare const PremiumMarketingComponentProperties_MarketingPageBannerButton: PremiumMarketingComponentProperties_MarketingPageBannerButton$Type;
|
|
380
407
|
declare class PremiumMarketingComponentProperties_MarketingPageBanner$Type extends MessageType<PremiumMarketingComponentProperties_MarketingPageBanner> {
|
|
381
408
|
constructor();
|
|
382
409
|
create(value?: PartialMessage<PremiumMarketingComponentProperties_MarketingPageBanner>): PremiumMarketingComponentProperties_MarketingPageBanner;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.PremiumMarketingComponentProperties_MobileBottomSheet = exports.PremiumMarketingComponentProperties_CTAButton = exports.PremiumMarketingComponentProperties_PaymentModalBanner = exports.PremiumMarketingComponentProperties_MarketingPageBanner = exports.PremiumMarketingComponentProperties_PremiumTab = exports.PremiumMarketingComponentProperties_AnnouncementModalVariant1Properties = exports.PremiumMarketingComponentProperties_Variant1Storage = exports.PremiumMarketingComponentProperties_Subtitle = exports.PremiumMarketingComponentProperties_SubscriptionButton = exports.PremiumMarketingComponentProperties_FeatureCard = exports.PremiumMarketingComponentProperties = exports.PremiumMarketingComponentProperties_ButtonAction = void 0;
|
|
3
|
+
exports.PremiumMarketingComponentProperties_MobileBottomSheet = exports.PremiumMarketingComponentProperties_CTAButton = exports.PremiumMarketingComponentProperties_PaymentModalBanner = exports.PremiumMarketingComponentProperties_MarketingPageBanner = exports.PremiumMarketingComponentProperties_MarketingPageBannerButton = exports.PremiumMarketingComponentProperties_PremiumTab = exports.PremiumMarketingComponentProperties_AnnouncementModalVariant1Properties = exports.PremiumMarketingComponentProperties_Variant1Storage = exports.PremiumMarketingComponentProperties_Subtitle = exports.PremiumMarketingComponentProperties_SubscriptionButton = exports.PremiumMarketingComponentProperties_FeatureCard = exports.PremiumMarketingComponentProperties = exports.PremiumMarketingComponentProperties_ButtonAction = void 0;
|
|
4
4
|
const runtime_1 = require("@protobuf-ts/runtime");
|
|
5
5
|
const runtime_2 = require("@protobuf-ts/runtime");
|
|
6
6
|
const runtime_3 = require("@protobuf-ts/runtime");
|
|
@@ -652,13 +652,69 @@ class PremiumMarketingComponentProperties_PremiumTab$Type extends runtime_4.Mess
|
|
|
652
652
|
*/
|
|
653
653
|
exports.PremiumMarketingComponentProperties_PremiumTab = new PremiumMarketingComponentProperties_PremiumTab$Type();
|
|
654
654
|
// @generated message type with reflection information, may provide speed optimized methods
|
|
655
|
+
class PremiumMarketingComponentProperties_MarketingPageBannerButton$Type extends runtime_4.MessageType {
|
|
656
|
+
constructor() {
|
|
657
|
+
super("discord_protos.premium_marketing.v1.PremiumMarketingComponentProperties.MarketingPageBannerButton", [
|
|
658
|
+
{ no: 1, name: "copy", kind: "scalar", T: 9 /*ScalarType.STRING*/ },
|
|
659
|
+
{ no: 2, name: "button_action", kind: "enum", T: () => ["discord_protos.premium_marketing.v1.PremiumMarketingComponentProperties.ButtonAction", PremiumMarketingComponentProperties_ButtonAction, "BUTTON_ACTION_"] }
|
|
660
|
+
]);
|
|
661
|
+
}
|
|
662
|
+
create(value) {
|
|
663
|
+
const message = globalThis.Object.create((this.messagePrototype));
|
|
664
|
+
message.copy = "";
|
|
665
|
+
message.buttonAction = 0;
|
|
666
|
+
if (value !== undefined)
|
|
667
|
+
(0, runtime_3.reflectionMergePartial)(this, message, value);
|
|
668
|
+
return message;
|
|
669
|
+
}
|
|
670
|
+
internalBinaryRead(reader, length, options, target) {
|
|
671
|
+
let message = target ?? this.create(), end = reader.pos + length;
|
|
672
|
+
while (reader.pos < end) {
|
|
673
|
+
let [fieldNo, wireType] = reader.tag();
|
|
674
|
+
switch (fieldNo) {
|
|
675
|
+
case /* string copy */ 1:
|
|
676
|
+
message.copy = reader.string();
|
|
677
|
+
break;
|
|
678
|
+
case /* discord_protos.premium_marketing.v1.PremiumMarketingComponentProperties.ButtonAction button_action */ 2:
|
|
679
|
+
message.buttonAction = reader.int32();
|
|
680
|
+
break;
|
|
681
|
+
default:
|
|
682
|
+
let u = options.readUnknownField;
|
|
683
|
+
if (u === "throw")
|
|
684
|
+
throw new globalThis.Error(`Unknown field ${fieldNo} (wire type ${wireType}) for ${this.typeName}`);
|
|
685
|
+
let d = reader.skip(wireType);
|
|
686
|
+
if (u !== false)
|
|
687
|
+
(u === true ? runtime_2.UnknownFieldHandler.onRead : u)(this.typeName, message, fieldNo, wireType, d);
|
|
688
|
+
}
|
|
689
|
+
}
|
|
690
|
+
return message;
|
|
691
|
+
}
|
|
692
|
+
internalBinaryWrite(message, writer, options) {
|
|
693
|
+
/* string copy = 1; */
|
|
694
|
+
if (message.copy !== "")
|
|
695
|
+
writer.tag(1, runtime_1.WireType.LengthDelimited).string(message.copy);
|
|
696
|
+
/* discord_protos.premium_marketing.v1.PremiumMarketingComponentProperties.ButtonAction button_action = 2; */
|
|
697
|
+
if (message.buttonAction !== 0)
|
|
698
|
+
writer.tag(2, runtime_1.WireType.Varint).int32(message.buttonAction);
|
|
699
|
+
let u = options.writeUnknownFields;
|
|
700
|
+
if (u !== false)
|
|
701
|
+
(u == true ? runtime_2.UnknownFieldHandler.onWrite : u)(this.typeName, message, writer);
|
|
702
|
+
return writer;
|
|
703
|
+
}
|
|
704
|
+
}
|
|
705
|
+
/**
|
|
706
|
+
* @generated MessageType for protobuf message discord_protos.premium_marketing.v1.PremiumMarketingComponentProperties.MarketingPageBannerButton
|
|
707
|
+
*/
|
|
708
|
+
exports.PremiumMarketingComponentProperties_MarketingPageBannerButton = new PremiumMarketingComponentProperties_MarketingPageBannerButton$Type();
|
|
709
|
+
// @generated message type with reflection information, may provide speed optimized methods
|
|
655
710
|
class PremiumMarketingComponentProperties_MarketingPageBanner$Type extends runtime_4.MessageType {
|
|
656
711
|
constructor() {
|
|
657
712
|
super("discord_protos.premium_marketing.v1.PremiumMarketingComponentProperties.MarketingPageBanner", [
|
|
658
713
|
{ no: 1, name: "asset_url", kind: "scalar", T: 9 /*ScalarType.STRING*/ },
|
|
659
714
|
{ no: 2, name: "header", kind: "scalar", T: 9 /*ScalarType.STRING*/ },
|
|
660
715
|
{ no: 3, name: "body", kind: "scalar", T: 9 /*ScalarType.STRING*/ },
|
|
661
|
-
{ no: 4, name: "help_article_id", kind: "scalar", T: 9 /*ScalarType.STRING*/ }
|
|
716
|
+
{ no: 4, name: "help_article_id", kind: "scalar", T: 9 /*ScalarType.STRING*/ },
|
|
717
|
+
{ no: 5, name: "button", kind: "message", T: () => exports.PremiumMarketingComponentProperties_MarketingPageBannerButton }
|
|
662
718
|
]);
|
|
663
719
|
}
|
|
664
720
|
create(value) {
|
|
@@ -688,6 +744,9 @@ class PremiumMarketingComponentProperties_MarketingPageBanner$Type extends runti
|
|
|
688
744
|
case /* string help_article_id */ 4:
|
|
689
745
|
message.helpArticleId = reader.string();
|
|
690
746
|
break;
|
|
747
|
+
case /* optional discord_protos.premium_marketing.v1.PremiumMarketingComponentProperties.MarketingPageBannerButton button */ 5:
|
|
748
|
+
message.button = exports.PremiumMarketingComponentProperties_MarketingPageBannerButton.internalBinaryRead(reader, reader.uint32(), options, message.button);
|
|
749
|
+
break;
|
|
691
750
|
default:
|
|
692
751
|
let u = options.readUnknownField;
|
|
693
752
|
if (u === "throw")
|
|
@@ -712,6 +771,9 @@ class PremiumMarketingComponentProperties_MarketingPageBanner$Type extends runti
|
|
|
712
771
|
/* string help_article_id = 4; */
|
|
713
772
|
if (message.helpArticleId !== "")
|
|
714
773
|
writer.tag(4, runtime_1.WireType.LengthDelimited).string(message.helpArticleId);
|
|
774
|
+
/* optional discord_protos.premium_marketing.v1.PremiumMarketingComponentProperties.MarketingPageBannerButton button = 5; */
|
|
775
|
+
if (message.button)
|
|
776
|
+
exports.PremiumMarketingComponentProperties_MarketingPageBannerButton.internalBinaryWrite(message.button, writer.tag(5, runtime_1.WireType.LengthDelimited).fork(), options).join();
|
|
715
777
|
let u = options.writeUnknownFields;
|
|
716
778
|
if (u !== false)
|
|
717
779
|
(u == true ? runtime_2.UnknownFieldHandler.onWrite : u)(this.typeName, message, writer);
|